1 2006-03-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
4 * lyx_main.C (reconfigureUserLyXDir): run ditto
6 2006-03-12 Martin Vermeer <martin.vermeer@hut.fi>
8 * lyxtext.h: doxygen documentation fix
10 2006-03-11 Martin Vermeer <martin.vermeer@hut.fi>
12 * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
14 * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
15 rejectChange, erase; added setChangeFull):
16 * CutAndPaste.C (eraseSelectionHelper):
18 * text.C (readParToken, readParagraph, breakParagraph,
19 acceptChange, rejectChange, backspace, currentState;
21 * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
22 * lyxfind.C (findChange, findNextChange): fix bug 880: Change
23 tracked paragraphs should still allow a paragraph split (and related
24 things, i.e., multi-paragraph change tracking)
26 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
28 * BufferView_pimpl.C: fix bug 2212: First change is skipped is
29 "Merge changes..." dialog
31 2006-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
33 * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX
34 error if the class has not defined them yet (bug 2053).
36 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
39 * BufferView_pimpl.[Ch]:
43 * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
45 2006-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
47 * pch.h: fix nullstream.hpp location for boost 1.33.0
49 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
53 * support/debugstream.h: Use the correct nullstream.
55 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
57 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
59 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
61 * cursor.C (niceInsert): fix (properly) insertion of
62 fonts/decorations around selection
64 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
66 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
68 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * text3.C (mathDispatch): fix crash when selection is not empty
71 but selectionAsString is empty (bug 2321).
73 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * text.C (changeCase): avoid crash in empty paragraph or on last
76 word of the paragraph. (buf 2323)
77 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
79 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
81 * buffer.C (readHeader): also erase params.preamble in advance
82 so that an empty preamble is actually recognized (bug 2317).
84 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
86 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
88 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
90 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
100 * text3.C: Fix bug 2115: blue language lines (for default font)
101 popping up when the documnent font is different. This includes work
104 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
106 * exporter.C (Backends): Add "lyx" backend
107 * exporter.C (Export): Handle "lyx" backend
108 * graph.C (getReachable): Don't exclude "lyx"
109 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
111 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
113 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
114 for correct in-mathed positioning
116 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
118 * rowpainter.C (paintForeignMark): fix foreign blue line under
121 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
123 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
124 pit of the uno range (bug 2022).
126 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
128 * messages.C (get): Only warn once if setlocale fails (bug 2177)
130 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
132 * text2.C (setCharFont): take inset's own font settings into account
133 when defining the font to reduce to, fixes 2019
135 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
137 * bufferview_funcs.C (coordOffset): remove the check for
138 collapsed collapsables (fix for bug 2094). This is now done
139 on a more general level (cursor.C).
141 * dociterator.[Ch] (forwardPos): add an optional argument
142 bool "ignorecollapsed" (default false), which lets forwardPos
143 skip collapsed insets.
145 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
146 (fixes bug 2241 and 2094).
148 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
150 * buffer.C: change tracking (dvipost) doesn't require
153 * LaTeXFeatures.C (getPackages): no need for the color
154 option "usenames" (bug 2169).
156 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
157 * buffer_funcs.C: Trivial fix - added {} around
158 the statements to be affected by a if-test. Now
159 label in a minipage in a float looks ok on screen again.
161 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
163 * text2.C: fix bug 2015: on screen fonts in nested environments
166 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
168 * converter.C (convert): handle unknown formats
170 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * cursor.C (goUpDown): comment out some debug messages.
174 * counters.C (newCounter): make error messages more explicit
175 (these appear with some textclasses like beamer)
177 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
181 have origin set to KEYBOARD. (bug 2221)
183 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
185 * rowpainter.C (isCursorOnRow): do not exclude endpos().
187 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * cursor.C (macroModeClose): returns true if an inset actually got
190 inserted; revert faulty fix to bug 2034.
192 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * tabular.C (getLabelList): remove (not used anymore).
196 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
198 * outputparams.[Ch]: add new flag inComment
200 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * text2.C (deleteEmptyParagraphMechanism): since we delete a
203 paragraph, recordUndo should span two paragraphs (bug 2155).
205 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
207 * rowpainter.C (paintPar): always repaint the row with the
210 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
216 * vspace.h: fix syntax error
218 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
220 * text3.C (dispatch): Force refresh if typing into inset changes its
223 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
228 * rowpainter.C: Speed up rendering by only re-painting rows that
229 have changed. When selection or whole-screen update active, all rows
230 are repainted, as are all rows within insets.
232 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
234 * version.C.in: Use PACKAGE_VERSION instead of VERSION
236 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
238 * tabular.C (toggleFixedWidth): Use default layout of text class
239 instead of hardcoded "Standard"
241 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * lyxfunc.C (dispatch): do not call getStatus again to determine
244 whether a lfun is disabled (bug 2172).
246 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * cursor.C (macroModeClose): set the cursor inside the new math
249 atom if relevant (think \frac{}{}) (bug 2034)
251 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
255 * text3.C (Delete, backspace): force update when merging paragraphs
257 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
259 * BufferView.C (mouseSetCursor): clear the selection properly (bug
262 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
264 * text.C (redoParagraph): honor inset->noFontChange()
265 * rowpainter.C (paintInset): ditto
267 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
269 * lyx_main.C (priv_exec): don't initialize Math on startup
270 (initMath() has been moved to math_hullinset).
272 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
274 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
275 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
276 * paper.h: dispose dead PAPER_PACKAGES enum.
278 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
283 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
285 * exporter.C (Export): Don't try to copy a file if it does not exist
288 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
290 * text2.C (makeFontEntriesLayoutSpecific): remove.
293 * text.C (insertChar): remove bogus caching of fonts (did not do
296 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
297 ALL_SANE). (bug 2146)
299 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
301 * rowpainter.C (paintFirst): fix centering of
302 LABEL_CENTERED_TOP_ENVIRONMENT.
304 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * BufferView.C (mouseSetCursor): new method. Calls
307 deleteEmptyParagraphMechanism if necessary.
309 * lyxtext.h: make deleteEmptyParagraphMechanism public.
311 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
312 BufferView::mouseSetCursor (bug 2109).
313 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
315 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
317 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
318 do not remove it (this inset behaves differently from the others).
320 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
324 * BufferView_pimpl.C (getStatus): it is only possible to insert a
325 file in a text inset.
327 * buffer.C (readDocument): remove pit argument and code releated
328 to it; set the inset owner correctly (unrelated, but useful).
329 (readFile): get rid of pit argument.
331 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
332 textclass instead of a selection index.
333 (pasteParagraphList): new function.
334 (pasteSelection): make it a wrapper around pasteParagraphList.
336 * BufferView_pimpl.C (MenuInsertLyXFile): use
337 cap::pasteParagraphList to insert a file.
339 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
341 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
343 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
345 * exporter.C: fix typo in text message
347 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
349 * text2.C (setLayout): move recUndo call to other setLayout method
350 * tabular.C (toggleFixedWidth): new, handle cell width changes
351 * tabular.C (setColumnPWidth): move some code from insettabular.C here
352 and use toggleFixedWidth
353 * tabular.C (setMColumnPWidth): ditto
355 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
357 * paragraph.C (asString): use new inset->textString method (fix
360 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
362 * CutAndPaste.C (numberOfSelections): new helper function.
364 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
366 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
367 LyXFunc::getStatus; implement LFUN_PASTE.
369 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
371 * dociterator.[Ch]: new member realInset() that returns the cell
372 for tabulars and the inset for the rest (bug 1952).
373 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
376 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
380 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
384 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
387 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
389 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
390 line after typing ctrl-enter
392 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
394 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
395 math insets do not return a proper editable() state yet (bug 2124).
397 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
399 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
400 docs containing very large paragraphs.
402 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
404 * cursor.C (selectionBegin, selectionEnd):
405 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
406 cursor at different depths.
408 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
410 * bufferview_funcs.C (coordOffset): do not call cursorPos
411 for collapsed collapsables (fix bug 2094).
413 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
415 * paragraph.C (fontSpan): make sure that the FontSpan does not
416 span across beginOfBody (bug 1947).
418 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
422 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
424 * messages.C: fix crash and localization on MinGW/Windows platform
426 2005-11-02 Angus Leeming <leeming@lyx.org>
429 * lyxtextclass.C: trivial fixes to some MSVS warnings.
431 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
433 * text3.C (getStatus): re-enable disabled code. (bug 2081)
435 * BranchList.h (empty): constify.
437 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
439 * text3.C (getStatus):
440 * MenuBackend.C (expandBranches): take the branch list from the
441 master document (bug 2092).
443 * MenuBackend.C (expandBranches):
444 * bufferparams.C (writeFile): use BranchList type.
446 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
448 * text3.C (dispatch, getStatus):
449 * LyXAction.C (init):
450 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
452 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
456 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * text.C (insertChar): do not reset boundary (bug 2061)
460 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
462 * dociterator.C (updateInsets): new method. Updates the inset_
463 cache of all the slices of the iterator.
465 * text2.C (deleteEmptyParagraphMechanism): compare also containing
466 insets when comparing pit/pos; pass the right cursor to
467 recordUndo; when a paragraph has been deleted, compare `old.top()' to
468 the right cursor slice of `cur'; use updateInsets on cur to make
469 sure that the inset caches are correct; general cleanup.
471 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
473 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
474 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
475 containg inset. If this does not work, the same command will be
476 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
478 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
481 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
483 * lyxtextclass.C (Read): convert layout file if the format is wrong
484 * lyxtextclass.C (layout2layout): new, needed for the above
486 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * messages.C: do not forget to include <cerrno>.
490 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
492 * dociterator.h (StableDocIterator): add access to pos().
493 * undo.C (samePar): new method to check if two
494 iterators are in the same paragraph
495 * undo.C (recordUndo): check for samePar instead of cell identity
496 (which includes pos() and is too strict) (fixes bug 2097)
498 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
500 * text.C (setCursorFromCoordinates): return a bool telling whether
503 * text3.C (cursorPrevious): update if needed after
504 setCursorFromCoordinates (when dEPM triggered).
506 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
507 (otherwise the anchor may be completely wrong and make dEPM assert).
509 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
511 * buffer.C: version upgrade to 245.
512 * bufferparams.C: remove \quotes_times (bug 2090).
513 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
514 quotation marks as default.
516 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
518 * CutAndPaste.C (nrOfParagraphs): remove (unused)
519 * CutAndPaste.C (cutSelection): Remove debug message
520 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
521 undo information and only copy if this is a real cut
522 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
524 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
526 * CutAndPaste.C (eraseSelection): prevent cursor corruption
527 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
528 superflous cur.selection() setting
529 * CutAndPaste.[Ch] (grabSelection): take a const cursor
530 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
532 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
534 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
537 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
539 * BufferView_pimpl.C: comment layout change
541 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
545 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
546 by bibliography managers (bug 2071).
548 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
550 * BufferView_pimpl.C (update): choose arguments to update call so
551 that single-par update works most times
552 * text3.C (dispatch): carefully tune updating separately for
553 whole-screen and current-paragraph
554 * rowpainter.C (paintText): 1) replace painting by caching for
555 the two extra paragraphs, because we can;
556 2) suppress greying out of areas below/above drawn area in case of
558 * lyxfunc.C (dispatch): remove superfluous update
559 * LyXAction.[Ch]: introduce SingleParUpdate
561 2005-10-05 Angus Leeming <leeming@lyx.org>
563 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
564 always initialised before use.
566 * text.C (setHeightOfRow): squash warning about comparison
567 of signed and unsigned types.
569 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
571 * text.C (cursorX): two fixes involving RtL text drawing
573 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
575 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
576 items, not only large ones (part of bug 2057)
578 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
581 argument, use "newcommand".
583 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
585 * cursor.C (setSelection): do not open collapsable insets;
586 the insets do by themselves now (autoopen).
588 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
590 * buffer.C: format is up to 244.
592 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
594 * text.C (redoParagraph): fix calcultation of inset width wrt
595 leftMargin (bug 1957).
597 * text3.C (dispatch): leave inset to the right when hitting ESC
600 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
605 * messages.C: include <boost/current_function.hpp>
607 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
609 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
610 when command is internal. (bug 1941)
612 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
614 * text2.C (cursorRight): do not honor boundary when at the end of
615 a paragraph. (bug 2010 again)
617 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
619 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
621 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
623 * rowpainter.C (paintText): fix RtL space width display bug (2029)
625 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
627 * text2.C (setCursor): remove the unused 'boundary' parameter for
628 the CursorSlice version; adapt the LCursor version.
631 * paragraph_pimpl.C (markErased):
632 * cursor.C (bruteFind2, bruteFond3): fix warnings.
634 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
637 as is already done for "chapter".
639 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
642 textclass; do not record undo if nothing is changed.
644 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
646 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
648 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
650 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
652 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
654 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
655 combox, it is necessary to search for the topmost paragraph in the
656 cursor stack (bug 1926)
658 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
660 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
661 end of paragraph. (bug 2010)
663 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
665 * text.C (leftMargin): check for inInset == 0
667 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
669 * text.C (leftMargin): test for insetbase's new neverIndent()
670 bool instead of listing each and every inset that does not
671 wish par indendation.
673 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * buffer_funcs.C (setCounter): put the code to compute enum label
676 here (where it belongs).
678 * counters.C (enumLabel): move code to buffer_funcs.C.
680 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
682 * outputparams.[Ch]: store local_font instead of local_language
683 * paragraph.C (simpleTeXOnePar): adapt to the change above
685 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
688 * counters.[Ch]: clean up special code for Hebrew.
690 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
692 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
695 2005-09-08 Angus Leeming <leeming@lyx.org>
698 * lyxrc.C: correct grammar describing invocation of the
701 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
703 * text.C (read): remove unused variable.
704 (readParToken): remove static Change variable (never good in
705 recursive settings...); add it as a parameter instead.
707 * paragraph_pimpl.C (acceptChange): make debug info conditional.
709 * metricsinfo.C (PainterInfo): add new member erased_.
711 * rowpainter.C (RowPainter): add erased_ member, initialized from
713 (paintInset): pass erased_ to Inset::draw.
715 * lyxfunc.C (lookupChange): new function. Tells whether change
716 tracking is disabled at a given postion.
717 (getStatus): disable some actions when in deleted text with change
720 2005-08-03 John Levon <levon@movementarian.org>
722 * tabular.C (appendColumn, setMultiColumn): adapt to change to
725 * paragraph_pimpl.C (markErased): add bool argument and handle it.
726 Also make sure to mark insets recursively.
727 (rejectChange, erase): be recursive
729 * paragraph.C (markErased): add bool argument.
730 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
732 * lyxfind.C (findNextChange): tiny cleanup.
734 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
735 change tracking with the cursor in an inset; make sure the first
736 change is not skipped.
738 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
740 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
741 tabularStackDirty to work around bug 1919 (tabular needs
742 to know whether its own cell paste buffer or the one of
744 * CutAndPaste.C: mark tabular_stack_ clean after copy.
746 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
748 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
750 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
752 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
753 use old deleteion algorithm when changetracking is on.
755 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
757 * messages.C (get): add debug output.
759 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
761 * text.C (cursorX): fix bug 1965: cursor movement at
762 line end broken in RtL.
763 (drawSelection): fix bug 1970: drawing of single-line
764 selection broken for RtL.
766 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
770 * dociterator.h (clear, push_back, pop_back): change from
773 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
774 and changed to just return the value of the item depth; take a
775 ParIterator as argument; take the itemdepth at outer nesting level
776 in account if necessary; cleanup and comment the code.
777 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
778 and changed to just return true if reset is needed; take a
779 ParIterator as argument; cleanup and comment the code.
780 (setCounter): adapt to above changes.
782 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
784 * text3.C (dispatch): make debug message optional
786 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
788 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
791 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
793 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
795 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
797 * text.C (insertChar):
798 * text2.C (deleteEmptyParagraphMechanism): take care whether
799 a blank has been deleted (in change tracking mode) (bug 1254).
801 2005-07-20 John Levon <levon@movementarian.org>
803 * text2.C (insertStringAsLines): remove old dubious code,
806 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
808 * MenuBackend.C (expandToc): use Floating::listName() as title of
811 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
813 * toc.[Ch]: Do not use translatable strings (bug 1870).
815 2005-07-20 John Levon <levon@movementarian.org>
817 * tabular.C: fix 1748 - setting multicolumn adds
818 left line to the first cell
820 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
823 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
826 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
828 * messages.C: supress some lyxerr messages
830 2005-07-18 Juergen Vigna <jug@lyx.org>
832 * text.C (drawSelection): honor boundary when asking for cursorX.
834 2005-07-17 José Matos <jamatos@fc.up.pt>
836 * tabular.C (recalculateMulticolumns): fix handling of one column
839 2005-07-17 Juergen Vigna <jug@lyx.org>
841 * text.C (Delete, backspace): fixed so that paragraph with the
842 same layout can be merged by Delete/Backspace.
844 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
846 * text.C (readParToken): fix spelling.
848 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
850 * text2.C: fix counter update for DEPM problem reported by
853 2005-07-17 Juergen Vigna <jug@lyx.org>
855 * BufferView_pimpl.C (setBuffer): save/restore the
856 cursor/selection when switching buffers
859 * buffer.C (saveCursor): add saveDocumentIterators to save the
860 cursor when switching buffer.
862 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
865 * buffer.C: clarify message
867 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
869 * dociterator.C (DocIterator): fix initialization order
871 2005-07-17 Juergen Vigna <jug@lyx.org>
873 * text2.C (cursorHome):
874 * text.C (drawSelection, cursorX):
875 * dociterator.C (textRow): add boundary to getRow() call
877 * paragraph.C (getRow): implementation of below
879 * paragraph.h: add parameter boundary for getRow() function
881 2005-07-17 José Matos <jamatos@fc.up.pt>
885 * tex-strings.[Ch]: new file format, remove support for a4.sty,
886 a4wide.sty and a4widemargins.
888 2005-07-17 Juergen Vigna <jug@lyx.org>
890 * text2.C (cursorLeft): fix one of error
892 2005-07-17 Juergen Vigna <jug@lyx.org>
894 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
896 more fixes for boundary handling
898 * text3.C (dispatch): don't reset cursor if boundary has changed
901 2005-07-16 Juergen Vigna <jug@lyx.org>
903 * text2.C (getColumnNearX): hopefully got it right now,
904 check if we are on column 0 for special case.
906 2005-07-16 Juergen Vigna <jug@lyx.org>
908 * text2.C (getColumnNearX): handle special case Newline Inset
910 * text.C (singleWidth): Just remove bogus check
912 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
914 * funcrequest.C (split): avoid reading uninitialized char c
916 2005-07-16 José Matos <jamatos@fc.up.pt>
922 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
923 single papersize variable.
925 2005-07-16 Juergen Vigna <jug@lyx.org>
927 * text3.C (dispatch): honor boundary when checking if a cursor
928 movement has been done
930 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
931 (setCursor, setCursorIntern): fix cursor movement with boundary
933 2005-07-16 Juergen Vigna <jug@lyx.org>
935 * text.C (currentState): output the actual Boundary
937 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
939 * factory.C (createInset): fix bad logic for tabular creation
941 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
943 * lyx_main.C (init): change some reLyX reference to tex2lyx
945 2005-07-16 Juergen Vigna <jug@lyx.org>
947 * dociterator.C (DocIterator): initialize boundary
949 2005-07-16 Juergen Vigna <jug@lyx.org>
951 * text2.C (getColumnNearX): Consider rows without trailing blank.
953 2005-07-16 André Pönitz <poenitz@gmx.net>
955 * lyxfont.h: Change order of declarations to give the compiler
956 a better chance to inline things
958 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
959 questions on unsaved docs for better scritability
961 2005-07-16 André Pönitz <poenitz@gmx.net>
963 * paragraph.h (getChar): remove asserts as the same kind of security
964 can be achieved by using a suitable standard library implementation
965 and the function was in the critical path (25.9% in profiler)
967 2005-07-16 Juergen Vigna <jug@lyx.org>
969 * cursor.C (bruteFind2):
970 * bufferview_funcs.C (coordOffset):
971 * text.C (cursorX,cursorY): Handle cursor position after last char
972 in row before a inset which uses a whole row.
974 2005-07-15 José Matos <jamatos@lyx.org>
976 * output_plaintext.[Ch] (writeFileAscii): control reference title
978 (asciiParagraph): noparbreak was already deal and was incorrectly
981 2005-07-15 Juergen Vigna <jug@lyx.org>
983 * lyxfunc.C (dispatch): save and restore the cursor after a
986 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
988 * text.C (backspace): bug 806 for empty keepempty paragraphs we
989 change the layout to default before letting DEPM do its thing.
991 * paragraph_funcs.C (breakParagraph): dont reset the layout on
994 * text.C (setCursorFromCoordinates): add a debug statement
996 * text2.C (getColumnNearX): bug 1825 make sure that we don't
997 return a pos that is not on the row
999 * output_latex.C (TeXDeeper): get rid of potential dereferencing
1000 of past the end iterator
1002 2005-07-14 André Pönitz <poenitz@gmx.net>
1004 * undo.C (recordUndoFullBuffer): implement undo for
1007 2005-07-14 André Pönitz <poenitz@gmx.net>
1009 * cursor.C (setSelection): open insets when selection is set there
1010 to avoid crashs with cold coord cache
1012 2005-07-14 André Pönitz <poenitz@gmx.net>
1014 * trans_mgr.C (insert): move cursor to the right after inserting
1017 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1019 * BufferView_pimpl.C (update): dampen some of the debug blabbering
1020 * factory.C (readInset): ditto
1021 * text.C, text2.C: ditto
1023 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1025 * buffer.C: format incremented to 242. There is no file format per
1026 se, but the "frenchb" language has been removed from lib/language
1027 and has to be translated to "french" by lyx2lyx.
1029 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1031 * cursor_slice.h, dociterator.h: add some documentation
1032 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1034 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1036 * text.C (leftMargin): do not add identation to display() style
1037 insets, because they are always centered (bug 1293).
1039 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1041 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1042 formatted_time methods in support/lyxtime.
1044 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1046 * toc.[Ch]: new method getGuiName, which is used by the frontends
1047 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1049 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1051 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1052 StableDocIterator const &)
1053 * undo.C (recordUndo): use the above instead of cell.size() comparison
1054 (fixes bug 1808; instructed by Andr�.
1056 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1059 * dociterator.h: Fix the assert when copying rows/cols in math
1061 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1063 * BufferView_pimpl.C:
1065 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1067 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1068 (findInset): new functions, refactored from goto Inset that return
1069 the position of a certain inset without setting the buffer's cursor
1071 (gotoInset): rewrite to call findInset and then set the cursor
1074 2005-06-16 Angus Leeming <leeming@lyx.org>
1076 * lyxrc.C (output, read): wrap all input and output of paths with
1077 calls to os::internal_path and os::external_path, respectively.
1078 (output): wrap bind_file inside quotes.
1080 * format.C (view): enable the viewer to use the '$$s' placeholder.
1082 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1084 * LColor.[Ch] (getFromLaTeXName): new
1086 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1088 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1090 2005-06-14 Angus Leeming <leeming@lyx.org>
1092 * lyx_main.C (init): ensure that the LyX binary dir is the first
1093 element in the PATH on non-POSIX builds.
1095 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1097 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1099 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1101 * rowpainter.C (paintInset, paintHebrewComposeChar)
1102 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1103 (paintChars): use getFontSpan to reduce calls to getFont to a
1104 minimum; use Paragraph::lookupChange instead of isXXXText.
1105 (paintForeignMark): rename LyXFont argument.
1106 (paintFromPos): pass a LyXFont object to the various paintXXX
1109 * FontIterator.C (FontIterator, operator++): use
1110 Paragraph::getFontSpan
1112 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1113 version that returns the font span as a pair.
1115 2005-06-09 Angus Leeming <leeming@lyx.org>
1117 * converter.C (convert): Don't forget "outfile = real_outfile" as
1118 the final step in a conversion where the input and output file names
1119 are the same. Otherwise, future conversion steps won't work...
1121 2005-06-09 Angus Leeming <leeming@lyx.org>
1123 * lyxsocket.C: remove stub code as it isn't needed by
1124 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1126 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1128 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1129 effectively disabled -x
1131 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1133 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1134 when it actually makes sense.
1136 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1138 * BufferView_pimpl.C: revert to showCursor in connection with
1139 Lars's front-end stack
1141 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1143 * text.C (redoParagraph): move cursor right after a bibitem
1146 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1148 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1150 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1153 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1155 * BufferView.[Ch] (update):
1156 * BufferView_pimpl.[Ch] (update, metrics):
1157 * dimension.h (operator==):
1158 * lyxfunc.C (dispatch):
1159 * metricsinfo.h (ViewMetricsInfo):
1160 * rowpainter.C (paintText):
1162 * text.C (redoParagraph):
1163 * text3.C (dispatch): Make LyX only repaint current paragraph in
1164 case of character insert --> speedup. Also fix cursor draw
1167 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1169 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1170 avoid a crash (bug 1891)
1172 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1176 * text2.C (getStringToIndex): constify cur argument.
1178 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1179 argument has been given
1180 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1181 try to invoke LFUN_INSET_APPLY).
1183 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1184 if no inset was created by doInsertInset
1185 (doInsertInset): return true if an inset has been inserted.
1187 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1189 * vspace.C (asGUIName): new method. A version of the space
1190 suitable for showing on screen.
1192 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1195 * lyxrc.C: rename "ASCII" to "Plain Text"
1197 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1199 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1200 translate the labelstring.
1201 (setCounter): translate labelstring as needed.
1203 * output_docbook.C (makeCommand): fix expandLabel invokation
1205 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1207 * BufferView.C: fix dialog title
1209 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1211 * lyx_main.C (priv_exec): fix logic error with help from Angus
1212 * lyx_main.C (parse_execute): set is_gui = false and remove now
1213 obsolete comment about a segfault
1215 2005-05-18 Angus Leeming <leeming@lyx.org>
1217 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1219 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1221 * tabular.[hC]: added setCellInset to fix tabular paste.
1223 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1225 * buffer.C (save): check if destination is writable before trying
1228 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1230 * BufferView_pimpl.C (update): fix processEvents -caused update
1233 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1235 * buffer_funcs.C (setCounter): fix test for numbering of
1238 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1239 depth correctly; use optional argument when it exists
1241 * lyxtextclass.C: remove unused MaxCounterTags enum
1242 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1243 (max_toclevel, min_toclevel): new methods.
1245 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1246 the smallest depth in toc.
1248 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1249 layouts that should not appear in a table of contents.
1251 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1253 * cursor.h (undispatched, noUpdate): add comments from Andr�
1254 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1258 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1260 2005-05-07 André Pönitz <poenitz@gmx.net>
1262 * cursor.[Ch] (leaveInset): new function
1264 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1266 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1268 2005-05-04 Angus Leeming <leeming@lyx.org>
1270 * lyxfunc.C (getStatus): disable the spell checker dialog if
1271 none of USE_[AIP]SPELL are defined.
1273 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1275 * tabular.C (setWidthOfCell): remove obsolete comment
1277 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1279 * paragraph.C (bibitem):
1280 * buffer_funcs.C (setCounter):
1281 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1283 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1285 * text3.C (getStatus): immediately return after setOnOff
1287 * rowpainter.C: fix drawing of appendix start
1289 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1291 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1292 SwitchBetweenClasses and remove the unused return value.
1293 Handle character styles, too
1295 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1297 * factory.C (createInset): handle undefined character styles
1299 2005-05-02 Angus Leeming <leeming@lyx.org>
1301 * buffer.C: protect the #include of utime.h with a preprocessor
1304 2005-05-02 Angus Leeming <leeming@lyx.org>
1306 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1307 function so that auto-saving works, albeit in a blocking manner.
1309 * Makefile.am: make compilation of the client sub directory, of
1310 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1311 on conditionals set at configure time.
1313 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1314 it can be compiled in its own right but has no-op functionality.
1316 * aspell.C, pspell.C: remove preprocessor guards. The files should
1317 be compiled only if the necessary functionality exists.
1319 * lyxserver.C, lyxsocket.C: disable on Windows.
1321 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1323 * text.C (leftMargin): Fix the parindent use bug (1764)
1326 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1328 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1331 2005-04-25 Angus Leeming <leeming@lyx.org>
1339 include <config.h> in .C files, not .h ones.
1341 protect headers inside preprocessor guards.
1343 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1345 * FuncStatus.h (StatusCodes): document
1347 2005-04-21 André Pönitz <poenitz@gmx.net>
1349 * FuncStatus.h (enabled, onoff): document
1351 2005-04-19 Angus Leeming <leeming@lyx.org>
1353 * BufferView_pimpl.C (cursorToggle): no longer test whether
1354 any child processes have been reaped before calling
1355 handleCompletedProcesses().
1357 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1359 * text3.C (dispatch): fix, finally fix, the language problem in
1360 new lyxtexts, without disabling on-the-fly font changes (Helge's
1363 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1365 * text3.C (dispatch): set cursor on double/triple click events
1368 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1370 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1371 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1373 * rowpainter.C (paintFirst): simplify the code a little bit. In
1374 particular, remove the test for secnumdepth.
1375 * text.C (setHeightOfRow): only allocate space for chapter number
1376 when updateCounters provided an actual label, instead of looking
1377 at secnumdepth directly.
1379 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1381 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1382 paragraphs when secnumdepth is large enough or, for environments,
1383 when they are not the first in a sequence.
1385 2005-04-17 Angus Leeming <leeming@lyx.org>
1387 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1388 containing space and '~' characters with a call to latex_path().
1390 2005-04-17 Angus Leeming <leeming@lyx.org>
1392 * converter.C (convert): protect all args of convertDefault.sh
1395 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1397 * text3.C (dispatch): change the layout to "Caption" after inserting
1400 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1402 * text3.C (dispatch): fix language problem in newly created
1403 textinsets (and main text) in non-english docs
1405 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1407 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1408 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1409 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1411 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1415 * text2.C (getFont):
1416 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1419 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1421 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1422 output of \item arguments without trailing text.
1424 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1426 * FontIterator.C (operator*): avoid a copy of the font.
1428 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1430 * rowpainter.C (getFont): fix language bug from previous fix
1432 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1434 * rowpainter.C (RowPainter, getFont): fix font inside inset
1437 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1439 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1440 preventing inserted font, deco, delim insets jumping to start of
1443 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1445 * lyxfunc.C (dispatch): translate message before sending it to the
1448 2005-03-29 Angus Leeming <leeming@lyx.org>
1450 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1451 to LyX on the command line.
1453 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1455 * vc-backend.C: use QuoteName to protect file names wherever
1458 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1461 * BranchList.h: fix bugs 1844,1845: document settings don't
1464 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1466 * lyxrc.C (setDefaults, read, output, getDescription): add support
1467 for tex_allows_spaces.
1469 * exporter.C (Export): allows files in directory containing spaces
1470 if tex_allows_spaces is true.
1472 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1473 output it in double quotes.
1475 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1477 * rowpainter.C: use default text height for drawing change tracker
1480 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1482 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1484 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1486 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1487 directory is missing.
1489 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1491 * text2.C: fixed the fix, extended to other case.
1493 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1495 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1497 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1499 * text2.C (cursorUp): get rid of a crash
1500 * text.C (x2pos): add an assert
1502 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1504 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1508 * dociterator.C: include <boost/current_function.hpp>, which is
1509 needed when assertions are disabled.
1511 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1513 * text2.C: fix for stuck cursor when traversing two
1514 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1516 2005-02-25 Andreas Vox <avox@arcor.de>
1518 * output_docbook.C (makeParagraph): suppress trailing newline
1519 after a run of paragraphs
1521 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1523 * paragraph.C: fix for confused change tracker when pasting
1524 text that begins with a lineseparator. [bug 1827]
1525 (setChange(0, Change::INSERTED);)
1527 * paragraph_funcs.C: fix for lost changes on triple-paste
1528 in change tracking mode [bug 1827] (par.setChange()).
1530 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1532 * text2.C (updateCounters, setCounter, expandLabel): move to
1535 * buffer_funcs.C (updateCounters): turn into a free standing
1536 function and add a buffer parameter. Remove dead code for tracking
1538 (setCounter): change into a free-standing function which gets a
1539 dociterator as argument. Use this iterator to fix captions in a
1540 simple way. When no float is found above the caption, use the
1541 labelstring of the caption layout as default.
1543 * text.C (breakParagraph, backspace):
1544 * text2.C (init, setLayout, changeDepth):
1545 * text3.C (dispatch):
1546 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1549 * dociterator.C (forwardPar): make it much faster by calling
1550 forwardPos() only when really necessary.
1552 * output_docbook.C (makeCommand): adapt to expandLabel move.
1554 * cursor.C: remove unused variable
1556 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1558 * paragraph_funcs.C: fix crash when pasting insets in change
1559 tracking mode [bug 1277] (honour change type in moveItem).
1561 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1563 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1565 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1567 * BufferView.C (setCursor): change to use a DocIterator.
1568 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1569 (putSelectionAt): adapt to BufferView::setCursor change.
1571 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1572 moved here from LyXText and rewritten to use proper cursor
1573 methods. Fixes bug 1787, 616 and 835.
1575 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1576 when inside an inset (part of bug 781).
1577 (dispatch): adapt to change of BufferView::setCursor.
1578 (getStatus, dispatch): handle LFUN_GOTOERROR,
1579 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1581 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1582 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1583 * text3.C (gotoNextInset, gotoInset): removed.
1585 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1587 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1589 2005-02-15 Angus Leeming <leeming@lyx.org>
1591 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1592 can be used meaningfully in a comparison.
1594 2005-02-13 André Pönitz <poenitz@gmx.net>
1596 * bufferview_funcs.C (coordOffset): improve cursor drawing
1598 2005-02-13 André Pönitz <poenitz@gmx.net>
1600 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1601 * Cursor.C (dispatch): use fixIfBroken
1602 * lyxfunc.C (getStatus): use fixIfBroken
1604 2005-02-15 Angus Leeming <leeming@lyx.org>
1606 * lyx_main.C (error_handler):
1608 * lyxrc.C (setDefaults):
1610 #include "environment.h".
1612 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1614 2005-02-15 Angus Leeming <leeming@lyx.org>
1616 * lyxserver.C (startPipe): squash MSVC warning "local variable
1617 'fd' used without having been initialized".
1619 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1621 * BufferView_pimpl.C: revert accidental commit.
1623 2005-02-14 André Pönitz <poenitz@gmx.net>
1625 * dociterator.[Ch]: new member forwardPosNoDescent(),
1626 which doesn't enter nested insets.
1627 * text2.C (setFont): use forwardPosNoDescent() instead
1628 of ForwardPos() (fixes crash on font change).
1630 2005-02-13 Angus Leeming <leeming@lyx.org>
1632 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1633 only if lyxrc.path_prefix is not empty.
1635 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1637 * bufferparams.C (readGraphicsDriver): prevent crash
1639 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1641 * text2.C (setCounter): check for inInset() == 0
1643 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1645 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1646 but use update() to get correct screen display; use convert
1647 instead of istringstream.
1648 (getStatus): handle LFUN_GOTO_PARAGRAPH
1650 * lyxfunc.C (dispatch, getStatus): do not handle
1651 LFUN_GOTO_PARAGRAPH here.
1653 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1655 * text3.C (dispatch): size() -> depth()
1657 * text2.C: remove some debug output
1659 * paragraph.C: ws changes only
1661 * lyxfunc.C (getStatus): size() -> depth()
1663 * dociterator.h (clear, push_back, pop_back, internalData,
1664 operator[], resize, empty): new functions
1665 Make StableDocIterator and operator== be friends. Don't inherit
1666 from std::vector use a privat class variable slices_ instead.
1669 * dociterator.C: update because of not inheriting from std::vector
1670 anymore. Call explictly to slices_ instead. Use depth() instead of
1671 size() and top() instead of back()
1673 * cursor.C: chagne size() -> depth and back() -> top(). Also
1674 remove some direct operator[](i) calls in favour of foo[i]
1675 (getFont): remove some dead code
1677 * bufferview_funcs.C (coordOffset): size() -> depth()
1679 * buffer.C: ws changes only
1681 * CutAndPaste.C (eraseSelection): back() -> top()
1683 * BufferView_pimpl.C (selectionRequested): back() -> top()
1685 * BufferView.C (setCursor): size() -> depth()
1687 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1689 * text3.C (cursorPrevious): return true if depm changed something
1691 (dispatch): rename sl to oldTopSlice, remove moving use the new
1692 NoUpdate func attrib instead. Make sure that needsUpdate is set
1693 for function that have NoUpdate, but where depm might have changed
1696 * text2.C (cursorLeft): make us return true if depm changed
1698 (cursorRight): ditto
1699 (cursorUpParagraph): ditto
1700 (curosrDownParagraph): ditto
1701 (cursorUp, cursorDown): ditto, make sure to read comments in code
1702 (deleteEmptyParagraphMechanism): remove an assert, also return
1703 true if just a single char was deleted.
1705 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1706 cursor that we modify, to avoid modifying an active cursor before
1707 we call setCursor. This allows depm to run. Also return true if
1708 depm deleted something.
1710 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1711 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1712 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1713 something was changed in the buffer because of them (ie. depm run)
1715 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1716 debug messages. Make update by default be false. Make sure that
1717 the result of update is retained throught several calls down to
1720 * LyXAction.h: add a new func_attrib: NoUpdate
1722 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1723 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1724 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1726 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1728 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1730 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1731 bv_->owner(), bv_->buffer() by direct references to the private
1733 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1734 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1735 (fitCursor): center() is in BufferView::Pimpl.
1736 (getStatus, trackChanges, dispatch): no need for a temporary buf
1738 (fitCursor, workAreaDispatch): use workarea().workheight()
1740 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1742 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1744 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1746 * buffer.C: format up to 241.
1747 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1748 break if pasting into ERT
1749 * lyxfunc.C (getStatus): suppress mathpanel and
1750 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1752 2005-02-01 Angus Leeming <leeming@lyx.org>
1754 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1756 2005-02-01 Angus Leeming <leeming@lyx.org>
1758 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1759 calling fs::is_directory().
1761 2005-01-31 Angus Leeming <leeming@lyx.org>
1763 * lyx_main.C (priv_exec): specify explicitly the relative location
1764 of the top level build directory when run in-place.
1766 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1768 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1769 LyXText containing the cursor, not the top-level one.
1771 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1773 (insertStringAsLines): rename par to pit; use temporary variable
1774 par to hold a Paragraph; do not store par.layout() in a variable,
1775 since the pointer may die when breaking paragraphs; pass pars to
1776 breakParagraph() instead of Buffer::paragraphs().
1778 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1780 * lyxlex_pimpl.h: #include <fstream>.
1782 * BufferView.[Ch] (getLyXText): add a const version.
1784 * BufferView_pimpl.C: add debug aids.
1789 * paragraph_funcs.h: add commentary explaining what the class does.
1792 * coordcache.[Ch]: add lots of commentary.
1793 (startUpdating, doneUpdating): debug aids.
1794 (arrays, insets, parPos, getParPos): accessors to private data.
1796 * cursor_slice.[Ch] (text): add a const version.
1797 * dociterator.[Ch] (text, innerText): add const versions.
1799 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1802 * paragraph.C (getRow, pos2ros): add asserts.
1804 * paragraph.h: add commentary. Lots of.
1806 * paragraph.[Ch] (metrucs, draw): removed.
1809 * rowpainter.[Ch]: const-correct changes.
1811 * text.C: various obvious clean-ups. Removal of ancient cruft.
1814 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1816 * vc-backend.C (find_file): rewrite to use boost.filesystem
1819 * main.C (main): set default name check for boost.filesystem to
1822 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1825 (actOnUpdatedPrefs): ditto
1827 * lyx_main.C (init): rewrite to use boost.filesystem
1828 (queryUserLyXDir): ditto
1830 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1831 (getContentsOfAsciiFile): ditto
1833 * lastfiles.C (readFile): rewrite to use boost.filesystem
1835 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1837 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1838 (loadLyXFile): ditto
1840 * buffer.C (Buffer): adjust for destroydir
1841 (getLogName): rewrite to use boost.filesystem
1842 (setFileName): ditto
1843 (save): use fs::copy_file (from fs_extras)
1845 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1847 * LaTeX.C (run): rewrite to use boost.filesystem
1848 (scanAuxFiles): ditto
1849 (handleFoundFile): ditto
1851 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1853 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1855 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1857 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * lyxlayout.[Ch]: change some vars from float to double
1861 * buffer.C (readFile): make a local var const
1863 * Several files: use convert<> instead of atoi,strToXXX and friends
1865 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1867 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1868 holds the contents of packages.lst. New functions getAvailable
1869 and isAvailable to parse and check that list, resp.
1873 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1875 * bufferparams.[Ch]: new param output_changes.
1877 * Buffer.C: increase file format to 240.
1878 Use output_changes and isVailable.
1882 * paragraph_pimpl.C: Use output_changes and isVailable.
1884 2005-01-23 Angus Leeming <leeming@lyx.org>
1886 * output_latex.C: #include "insetbibitem.h", rather than
1887 forward declare function bibitemWidest.
1889 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1891 * lyx_main.C (init): make it compile on the Mac.
1893 2005-01-20 Angus Leeming <leeming@lyx.org>
1895 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1896 (setLyXMisc): (char string literal) != (char string literal) is
1897 performing a comparison on the addresses. Convert one operand
1898 explicitly to string to guarantee expected behaviour.
1901 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1904 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1906 * output_plaintext.C: remove unneeded #include gzstream.h.
1908 2005-01-20 Angus Leeming <leeming@lyx.org>
1910 * SpellBase.h: rename some of the elements of the Result enum.
1917 * pspell.C (check): ditto
1919 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1921 * buffer.C: add #include <fstream>.
1923 * lyx_main.C (init): Compile fix.
1925 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1927 2005-01-20 Angus Leeming <leeming@lyx.org>
1929 * mover.h: change commentary to reflect the changed meaning of
1930 the $$s placeholder.
1932 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1934 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1936 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1938 2005-01-20 Angus Leeming <leeming@lyx.org>
1940 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1941 printing diagnostic data by not dereferecing an iterator past the
1944 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1946 * buffer.C (readHeader): use "&&" rather than "and".
1948 * lyxserver.h (inPipeName, outPipeName): make these const.
1950 2005-01-19 Angus Leeming <leeming@lyx.org>
1952 * lyx_main.C (error_handler, init): protect SIGHUP with
1953 #ifdef SIGHUP guards.
1955 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1957 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1959 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1961 * text.C (setHeightOfRow): add a margin at the top and bottom of
1962 the document (bug 1761)
1964 2005-01-17 Angus Leeming <leeming@lyx.org>
1966 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1967 with "python ". Workaround for a brain-dead Windows.
1969 2005-01-16 Angus Leeming <leeming@lyx.org>
1971 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1972 for MacOSX and Windows to use prependEnvPath.
1973 Strip out the hard-coded block to add elements to the PATH for
1974 MacOSX and replace it with a call to prependEnvPath using the
1975 contents of LyXRC::path_prefix.
1976 (queryUserLyXDir): strip out the code to run reconfigure, instead
1977 returning a boolean indicating the necessity to do so.
1978 (reconfigureUserLyXDir): contains the code to reconfigure the
1979 user support directory. Is now called after the various LyXRC data
1980 files have been read.
1982 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1984 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1986 * converter.[Ch] (convert): take a new parameter try_default. Use
1987 a default converter (imagemagick) if try_default is true.
1989 2005-01-13 Angus Leeming <leeming@lyx.org>
1991 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1992 os::cygwin_path_fix.
1993 (write): output LyXRC::cygwin_path_fix as necessary.
1995 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1998 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2000 2005-01-12 Angus Leeming <leeming@lyx.org>
2002 * lyx_main.C (init): set the PATH variable to include the
2003 directory containing the LyX binary when running on Mac or Windows.
2005 2005-01-12 Angus Leeming <leeming@lyx.org>
2007 * lyx_main.C (init): remove cruft that purports to set the locale
2008 dir. It doesn't and is not needed anyway.
2010 2005-01-10 Angus Leeming <leeming@lyx.org>
2012 * Makefile.am: remove the lyx_main.C special casing.
2014 * BufferView_pimpl.C:
2020 * messages.C: use support/package.h to provide the paths to the
2021 various directories used by LyX.
2023 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2025 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2026 layout if pasting into an empty paragraph)
2028 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2030 * tex-accent.C: add <string>
2032 2005-01-06 José Matos <jamatos@lyx.org>
2034 * ParagraphParameters.C (write): put every parameter in its own line.
2035 * paragraph.C (write): reduce number of consecutive empty lines exported.
2036 * buffer.C (LYX_FORMAT): increase file format to 239.
2038 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2040 * everywhere: change support/tostr.h -> support/convert.h
2042 * tabular.C: make all write_attributes templates, tostr -> convert
2044 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2045 (emptyTag): and -> &&, and fix type for ret from getChar
2046 (getFirstWord): fix type for ret from getChar
2047 (onlyText): and -> &&
2048 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2051 * toc.C (goTo, action):
2052 * text3.C (dispatch):
2053 * text.C (currentState):
2054 * tex-accent.C (DoAccent):
2057 * lyxfunc.C (menuNew):
2058 * lyxfinc.C (replace):
2059 * counters.C (laberItem):
2060 * bufferview_funcs.C (font2string):
2061 * bufferparams.C (writeFile):
2062 * buffer.C (readFile):
2064 * MenuBackend.C: tostr -> convert
2066 * LaTeX.C (runMessage): fix format
2067 (scanAuxFiles): tostr -> convert
2069 * BufferView_pimpl.C (savePosition): fix format
2070 (restorePosition): ditto
2073 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2075 * Spacing.[Ch]: New method getValueAsString().
2079 * ParagraphParameters.C:
2082 * text3.C: store/read spacing value as string.
2084 * rowpainter.C: change float value (spacing_val) to double.
2086 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2087 broken custom document spacing).
2089 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2091 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2092 namespace, also more use of temp references and const
2094 * cursor.[Ch] (getStatus): move to lyxfunc.C
2096 * bufferparams.C: reformat slightly
2098 * bufferview_funcs.C (font2string): constify arg
2104 * buffer_funcs.C: (many funcs): constify arg on function
2105 definitions, also make more local vars const, also add ASSERTS on
2108 * buffer.C (LYX_FORMAT): put const in correct place
2109 (many funcs): constify arg on function definitions, also make
2110 more local vars const
2112 * aspell_local.h: remove "struct" from typdef setup
2114 * aspell.C (check): make word_ok const
2115 (nextMiss): simplify slightly
2118 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2120 * lyxrc.[Ch]: store all float values as strings.
2121 use int (not float) for lyxrc.dpi.
2123 2005-01-04 Angus Leeming <leeming@lyx.org>
2125 * lyx_cb.C (Reconfigure):
2126 * lyx_main.C (queryUserLyXDir):
2127 to run the <system_lyxdir>/configure correctly on Windows, prefix
2128 the path to the script with "sh " when generating the string that
2129 is passed to system().
2131 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2133 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2135 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2137 * lyxlength.C (asLatexString): get rid of setprecision
2139 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2141 * text2.C (setLayout): remove unused variable endpit.
2142 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2144 * paragraph.C (onlyText): remove unused variable style.
2146 * cursor.C (bruteFind): remove unused variables beg and end.
2148 * Makefile.am (dist_noinset_DATA): not needed anymore
2150 * cheaders/*: remove.
2152 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2154 * text3.C: fix LFUN_MATH_MODE.
2156 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2158 * buffer_funcs.C (countWords): new function. Counts words between
2161 * BufferView_pimpl.C (getStatus, dispatch): handle
2164 * LyXAction.C (init):
2165 * lfuns.h: add LFUN_WORDS_COUNT.
2167 2004-12-19 Angus Leeming <leeming@lyx.org>
2169 * buffer.C (save): s/slashify_path/internal_path/.
2171 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2173 * lyxfind.C (findChange): do not search for end of pars, because
2174 the change tracker cannot handle this (fixes bug 1719).
2176 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2178 * paragraph.[Ch] (autoBreakRows): remove
2180 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2182 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2183 avoid using the paragraph one
2185 * text2.C (LyXText, insertStringAsLines): adjust
2187 2004-12-16 Angus Leeming <leeming@lyx.org>
2191 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2193 2004-12-14 Angus Leeming <leeming@lyx.org>
2195 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2197 * bufferlist.C (emergencyWrite):
2198 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2201 2004-12-14 Angus Leeming <leeming@lyx.org>
2203 * main.C: (main): no longer pass pointers to os::init.
2205 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2207 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2208 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2210 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2213 * text3.C: remove selection_possible global flag
2215 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2217 * text2.C (getSelectionSpan): remove
2218 (changeDepth, changeDepthAllowed): adjust
2220 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2222 * Makefile.am (BOOST_LIBS): use boost variables
2224 2004-12-03 José Matos <jamatos@lyx.org>
2226 * buffer.C: format up to 238.
2228 2004-12-03 José Matos <jamatos@lyx.org>
2230 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2232 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2234 * cursor.C (goUpDown): remove call to idxUpDown2
2236 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2238 * tabular.[Ch]: use size_t-like types for cell, row and column
2241 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2243 * lyxfunc.C (getStatus): do not lose previous information when
2244 calling BufferView::getStatus; do not set a default "Command
2245 disabled" message at the beginning, but just before returning.
2247 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2249 * cursor.h (getStatus): add better comment from src/cursor.C
2251 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2253 * text3.C (getStatus): return false when the lfun is not handled
2255 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2257 * broken_headers.h: remove
2259 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2261 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2263 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2264 offset_ref accessors
2266 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2267 top_y_, merge fitcursor with update
2268 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2270 (metrics): introduce
2271 (workAreaDispatch): adapt to new coord scheme
2272 (redoCurrentBuffer): remove
2274 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2276 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2279 * coordcache.[Ch]: add paragraph cache and helpers
2281 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2284 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2285 (targetX, setTargetX): introduce
2287 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2288 baseline -> ascent, as the rest of lyx
2290 * lyxtext.h: remove redoParagraphs, updateParPositions,
2291 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2292 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2293 have ascent/descent (ascent is ascent of first par)
2295 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2298 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2300 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2302 * pariterator.C: fix infinite loop introduced in par->pit renaming
2304 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2305 in insets and LyXText, draw two off-screen paragraphs using
2306 NullPainter, and adapt to new coord scheme
2310 * text3.C: adapt lfun handlers to the new coord scheme, which
2311 means: there's only guaranteed coord information for onscreen pars
2312 plus one above and one below. This implies that one can do search
2313 from y coordinates in the range [-1,workHeight]
2315 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2317 * rename a lot of InsetOld to InsetBase
2319 2004-11-25 Angus Leeming <leeming@lyx.org>
2321 * BufferView_pimpl.C:
2323 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2325 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2327 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2328 call BufferView::getStatus if LCursor::getStatus did nothing
2329 (setStatusMessage, getStatusMessage): removed.
2331 * FuncStatus.C (message): new methods. Used to provide an error
2332 message indicating why a command is disabled.
2333 (clear, |=, FuncStatus): update for message.
2335 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2337 * lyxfunc.C (dispatch): always call sendDispatchMessage
2339 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2342 * BufferView_pimpl.C:
2347 * cursor_slice.[Ch]:
2350 * paragraph_funcs.C:
2356 * undo.C: par->pit renaming
2358 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * tabular.C (cellstruct): use initialization, store a shared_ptr
2361 to insettext instead of the insettext directly, adjust to fit.
2362 (operator=): new function
2363 (swap): new function
2364 (rowstruct): use initialization
2365 (columnstruct): use initialization
2366 (ltType): use initialization
2369 * lyxlength.h (swap): new function
2371 * LColor.[Ch] (operator=): use the common semantics
2373 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2375 * lyxfind.C (findNextChange): update the bufferview after setting
2378 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2380 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2381 number of InsetOptArgs has already been inserted.
2383 * output_latex.C (latexOptArgInsets): new method. This outputs all
2384 the optarg insets, up to the limit defined in the layout file.
2385 (optArgInset): removed
2386 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2388 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2390 * paragraph.C (isLetter): remove special spellchecker-related
2391 code; return true also for digits
2392 (isWord, isKomma): remove
2394 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2395 * lyxfind.C (MatchString()): use isLetter instead of isWord
2397 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * pariterator.h (operatir=): comment out un-implemented member
2402 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2405 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2407 * lyxfont.h: include LColor.h to satisfy concept checks.
2409 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2411 * pariterator.h: add typdefs for value_type, difference_type,
2412 pointer and reference to satisfy concept checks. Also add default
2413 constructor for same reason.
2415 * pariterator.C (operator++): add post-increment operator to
2416 satisfy concept checks.
2418 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2421 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2423 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2424 checks. Also rename base_type to BaseType to follow naming
2427 * FloatList.h: include Floating.h to satisfy concept checks.
2429 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2431 * lyxfunc.C (getStatus): when the origin of the request is menu or
2432 toolbar, and the LyXView does not have focus, do as if there was
2433 no buffer (bug 1720)
2435 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2436 FuncRequest to individual entries of LFUN_SEQUENCE
2438 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2440 * output_latex.C (TeXOnePar): override runparams.moving_arg
2441 according to the needprotect value of the current paragraph (bug
2444 * paragraph.C (simpleTeXOnePar): no need to override
2445 runparams.moving_args here
2447 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2449 * vspace.C: fix off-by-one-error, related to fix #1682
2451 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2453 * lengthcommon.C: a more general fix for bug 1682
2455 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2457 * text.C (backspace): fix crash
2459 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2461 * format.[Ch] (getFormatFromFile): new method
2462 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2464 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2466 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2468 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2470 * lyxfunc.C (dispatch): remove the verbose argument
2471 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2474 * kbmap.C (defkey): set the origin of func to KEYBOARD
2476 * MenuBackend.C (MenuItem):
2477 * ToolbarBackend.C (add): set the origin of func to UI
2479 * funcrequest.[Ch]: add origin member, which indicates which part
2480 of LyX requests an action
2482 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2484 * converter.C (move): don't lie in the error message
2485 * converter.h (isReachable, move): document
2487 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2489 * buffer.C: remove unused using lyx::support::atoi
2490 * paragraph_funcs.C: ditto
2492 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2494 * bufferlist.C (exists): use bind and equal_to instead of
2497 * lyxtextclasslist.C (NumberOfClass): ditto
2499 * cursor.C (insert): use for_each instead of explicit for loop
2501 * bufferlist.C (getFileNames): use std::transform and
2502 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2504 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2507 * buffer.C (changeLanguage): use for_each instead of explicit for
2509 (hasParWithID): implement using getParFromID
2511 * LaTeXFeatures.C: ws change only
2513 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2516 * BufferView_pimpl.C (trackChanges): use for_each instead of
2519 2004-11-04 André Pönitz <poenitz@gmx.net>
2522 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2524 * dociterator.C (asDocIterator): use hard assert again.
2526 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2528 * lyxlength.C (asLatexString): rewrite so that it does not use
2531 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2533 * text3.C (specialChar, dispatch): make sure cursor moves to the
2534 right after inserting an inset
2536 2004-11-02 José Matos <jamatos@lyx.org>
2538 * output_docbook.C (docbook):
2539 * paragraph.C (getID):
2540 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2541 garantee that the output is always legal.
2543 * tabular.C (docbook):
2544 * outputprams.[Ch]: remove mixed contents.
2546 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2548 * text2.C (setCounter): prevent endless loop
2550 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2552 * exporter.C (copyFile): use the mover instead of support::copy()
2553 * exporter.C (Export): pass format and latex name to copyFile()
2554 * exporter.h (addExternalFile): document
2555 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2557 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2559 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2561 2004-10-30 José Matos <jamatos@lyx.org>
2563 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2564 text and no inset or font change. This allows to use CDATA
2565 sections just for the whole paragraph.
2567 2004-10-30 José Matos <jamatos@lyx.org>
2569 * paragraph.C (getFirstWord): remove unused variable.
2571 2004-10-30 José Matos <jamatos@lyx.org>
2573 * paragraph.C (getFirstWord): the content should always be escaped
2575 (simpleDocBookOnePar):
2576 * output_docbook.C (makeEnvironment): replace reference to CDATA
2579 2004-10-30 José Matos <jamatos@lyx.org>
2581 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2583 2004-10-30 José Matos <jamatos@lyx.org>
2585 * output_docbook.C (makeParagraphs):
2586 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2587 standard paragraph has only a given type of content drop the wrapper.
2589 2004-10-29 José Matos <jamatos@lyx.org>
2591 * output_docbook.C (makeEnvironment):
2593 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2595 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2597 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2598 (cleanID): sanitize any id.
2600 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2602 * buffer.C, lyxlex_pimpl.C:
2603 * lyxlex_pimpl.C (setFile):
2604 s/getExtFromContents/getFormatFromContents/
2606 2004-10-28 José Matos <jamatos@lyx.org>
2608 * output_docbook.C (makeEnvironment): move id to broadest possible
2611 * sgml.C (openTag): apply substitution of <> for all attributes.
2613 2004-10-28 José Matos <jamatos@lyx.org>
2615 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2616 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2617 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2619 * sgml.[Ch]: new version for open and closeTag for paragraph and
2620 for strings. Now they handle the ids of paragraphs.
2622 2004-10-26 Angus Leeming <leeming@lyx.org>
2624 * Makefile.am: add mover.[Ch].
2626 * converter.C (convert, move): use the new Movers to move external
2627 files to the temp directory.
2629 * lyx_main.C (init): ensure that the global system_movers data
2632 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2635 * mover.[Ch]: new files, defining a Mover as a utility to move an
2636 external file between directories and, if necessary, manipulate this
2637 file using a helper script.
2639 2004-10-25 José Matos <jamatos@lyx.org>
2641 * output_docbook.C (makeCommand): merge two if's that tested the
2644 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2646 * sgml.C (escapeString): fix warning in a better way
2648 2004-10-25 José Matos <jamatos@lyx.org>
2650 * sgml.C (escapeString): import the require boosts header file for
2651 tie, and avoid a signed unsigned comparison.
2653 2004-10-25 José Matos <jamatos@lyx.org>
2655 * sgml.h: add #include <string>
2657 2004-10-25 José Matos <jamatos@lyx.org>
2659 * sgml.[Ch] (escapeString): new function to escape all the string.
2661 2004-10-24 José Matos <jamatos@lyx.org>
2663 * paragraph.[Ch] (getFirstWord): new function to get the first
2664 word. Useful for description.
2665 (simpleDocBookOnePar): remove depth argument, add another that
2666 says where to start the paragraph.
2668 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2669 use the new functions to fix cleanly the support for descriptions.
2671 2004-10-24 José Matos <jamatos@lyx.org>
2673 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2674 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2675 * output_linuxdoc.C (linuxdocParagraphs):
2676 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2677 add buffer as argument.
2679 2004-10-24 José Matos <jamatos@lyx.org>
2681 * output_docbook.C (makeEnvironment, searchEnvironment): place
2682 CDATA inside paragraphs and fix scope for listitems.
2684 2004-10-24 José Matos <jamatos@lyx.org>
2686 * output_docbook.C: remove using statement for stack.
2688 2004-10-23 José Matos <jamatos@lyx.org>
2690 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2691 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2692 docbook. The new scheme is recursive and makes use of iterators, the
2693 same as latex export works.
2694 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2695 directly with the paragraph contents. This code was moved up to
2696 output_docbook.C (docbookParagraphs).
2697 * sgml.C (openTag, closeTag): removed unneeded newlines.
2698 (closeEnvTags) removed.
2700 2004-10-23 André Pönitz <poenitz@gmx.net>
2702 * undo.C (textUndoOrRedo):
2703 * dociterator.C (asDocIterator): work around crash
2705 * cursor.C (getStatus): replace ASSERT by more verbose error message
2706 and manual correction of the problem. Should increase stability
2707 while providing more sensible information.
2709 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2711 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2713 * bufferlist.C (previous, next): new methods
2716 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2718 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2720 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2721 entities to preamble.
2723 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2725 * messages.C (Pimpl): strip off translation context information
2727 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2729 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2730 the cursor is correct (bug 1694)
2732 2004-10-13 José Matos <jamatos@lyx.org>
2734 * output_docbook.C (docbookParagraphs): fix closing tags in the
2735 end of the document.
2737 2004-10-09 José Matos <jamatos@lyx.org>
2739 * buffer.C: format up to 237.
2740 * bufferparams.C (write): use tostr to convert booleans to strings.
2742 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2744 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2746 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2748 * LaTeX.C: implement use of babel language in xindy.
2750 2004-10-05 José Matos <jamatos@lyx.org>
2752 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2753 Add new translators to help reading and writing the lyx file.
2755 2004-10-05 José Matos <jamatos@lyx.org>
2757 * ParagraphParameters.C (read):
2758 * text.C (readParToken): replace nexToken by more appropriate lex
2761 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2763 * LaTeX.C (runMakeIndex):
2764 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2765 (usually 'makeindex') configurable.
2767 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2768 with a variable rather than with a number.
2770 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2772 * output_latex.C (TeXOnePar): make sure font setting is the first
2773 thing that gets output (and the last at the end). Should fix bug
2776 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * pch.h: use proper signal include
2780 * LaTeX.h: Use preferred calling of Boost.Signal
2783 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2785 * pch.h: dont include <boost/function/function0.hpp>
2787 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2789 * paragraph_pimpl.h: remove usage of ShareContainer
2791 * paragraph_pimpl.C: remove initialization of ShareContainer.
2793 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2797 * BufferView.C (putSelectionAt): change the semantics when
2798 backwards == true: now, this just swaps cursor and anchor wrt the
2801 * BufferView.h (putSelectionAt): add some documentation
2803 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2804 make sure backwardChar is done at least once (to avoid getting
2806 (findNextChange): use putSelectionAt in the forward direction
2807 (operator()): use Paragraph::isWord
2809 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * Spacing.C (set): c_str fix
2813 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2815 * lyx_cb.C (Reconfigure): quote the name of configure script in
2816 case it contains spaces
2818 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2822 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2823 (BOOST_LIBS): use top_buildir when looking for the file
2825 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2827 * pch.h: do not use include boost/format.hpp, multiple symbols
2828 will result (gcc bug)
2831 2004-08-23 José Matos <jamatos@lyx.org>
2833 * bufferparams.C (readToken): fix reading of the author field.
2835 2004-08-20 José Matos <jamatos@lyx.org>
2837 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2839 2004-08-20 José Matos <jamatos@lyx.org>
2841 * lyxlex.[Ch] (findToken): remove function.
2843 * ParagraphParameters.C (findToken):
2844 * bufferparams.C (findToken): replace call for previous function
2845 with local copy. This local function has one more argument, the
2846 read string argument.
2848 2004-08-16 José Matos <jamatos@lyx.org>
2850 * ParagraphParameters.C (write):
2851 * Spacing.C (writeFile):
2852 * bufferparams.C (writeLaTeX):
2853 * lyx_cb.C (Reconfigure):
2854 * paragraph.C (write):
2855 * tabular.C (write): remove unnecessary space at end of line.
2858 2004-08-16 José Matos <jamatos@lyx.org>
2860 * text.C (readParagraph): remove debug message.
2862 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2864 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2867 * output_plaintext.C (asciiParagraph): set depth correctly
2869 * outputparams.h: add member depth
2871 * paragraph_funcs.C (ownerPar): remove.
2873 * text2.C (setCounter): remove first_pit; comment out some
2874 non-working code that uses ownerPar
2876 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2879 2004-08-16 José Matos <jamatos@lyx.org>
2881 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2882 For the same level of importance use the same chanel to report problems.
2883 (read): add code to deal with \begin_body and \end_body.
2886 2004-08-15 José Matos <jamatos@lyx.org>
2888 * lyxlex.C (getString): fix comment, buffer::readBody is now
2889 buffer:readDocument.
2891 * tex-strings.C (string_papersize): Default -> default,
2892 Custom -> custom, for consistency with other options.
2894 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2898 * Makefile.am: support pch
2900 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2902 * text.C (readParToken): remove the static LyXFont variable and
2903 pass it as a parameter instead. This fixes a nasty bug where an
2904 inset will be inserted with a bad font in some situations
2905 (readParagraph): adapt
2907 * text2.C (setCounter): reduce number of calls to pars_[pit]
2909 * text.C (singleWidth): add an assert, fix a test
2911 * rowpainter.C (paintText): reduce number of calls to singleWidth
2913 * paragraph.C (isHfill):
2914 (isNewline): ws only
2916 2004-08-14 André Pönitz <poenitz@gmx.net>
2921 * lyxtext.h (several functions): use a Paragraph & argument
2924 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2926 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2928 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2930 * text.C (singleWidth): remove useless test
2932 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2934 * tabular.h: remove bogus comments
2936 * tabular.C (getDescentOfRow):
2937 (isPartOfMultiColumn): add assertions
2939 * lyxlength.C (inPixels): remove #warning
2941 2004-08-14 André Pönitz <poenitz@gmx.net>
2943 * paragraph.h: inline getChar()
2945 * BufferView.h: remove unused declarations
2947 2004-08-14 José Matos <jamatos@lyx.org>
2949 * Buffer.[Ch] (readDocument): new name for old readBody.
2950 * Buffer.C: new file format, new keywords: \begin_document,
2951 \begin_header, \begin_body, \end_body.
2953 * bufferparams.C (readToken): replace all calls to lex.nextToken
2954 by lex.next(). Do the same to eatLine except where really needed.
2956 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2957 line when writing to the lyx file.
2959 * output_plaintext.C (asciiParagraph): fix Bibliography style
2962 * text.C (read): fix end of file handling.
2964 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2966 * MenuBackend.C (Menu::operator[]): new method to access
2967 individual menu items
2968 (Menu::hasFunc): new method. search for an item that corresponds
2970 (MenuBackend::specialMenu): new method
2971 (MenuBackend::expand): if a special menu has been set, skip
2972 entries whose func() appears in this menu
2974 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2976 * text3.C: use Debug::DEBUG a bit more
2978 * text.C (leftMargin): try to simplify a tiny bit change var x to
2979 l_margin. Dont output the wide margins always.
2980 (rightMargin): no margin in inner texts
2982 * rowpainter.h (nestMargin): new func
2983 (changebarMargin): new func
2984 (rightMargin): new func
2986 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2990 * factory.C (createInset): modify setDrawFrame
2992 * cursor.C: use Debug::DEBUG a bit more
2994 2004-08-14 André Pönitz <poenitz@gmx.net>
2997 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2998 cache for all insets in (at least partially) visible (top-level)
3001 * BufferView_pimpl.C: reset external coord cache before every update.
3002 This means the coord cache only contains valid entries.
3004 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3007 * BufferView_pimpl.C (getInsetByCode): move function out of class
3008 and change in to a template in anon namespace. Also fix to do what
3011 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
3014 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3016 (breakParagraph): rename par to par_offset and use a local
3017 reference. Add code to keep the language over a rebreak.
3018 (breakParagraphConservative): rename par to par_offset, use a
3020 (mergeParagraph): ditto
3022 (isFirstInSequence): ditto
3023 (outerFont): rename pit to par_offset
3025 * paragraph.C: ws change
3026 * paragraph.h: ditto
3030 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3032 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3035 * paragraph.C (simpleTeXOnePar): when we have a \item with
3036 optional argument, enclose the argument with curly brackets (in
3037 case it contains a closing square bracket)
3041 * text3.C (checkInsetHit): constify
3043 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3045 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3046 documents (bug 1629)
3048 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3050 Fix toggling of collapsable insets with the mouse (bug 1558)
3052 * lyxfunc.C (dispatch): adapt to LCursor changes
3054 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3055 make sure that dispatch is not invoked twice
3057 * cursor.C (needsUpdate): new method
3058 (dispatch): return void
3059 (result): new method, to access the DispatchResult of the cursor.
3061 2004-08-13 José Matos <jamatos@lyx.org>
3063 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3065 2004-08-13 André Pönitz <poenitz@gmx.net>
3067 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3069 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3072 2004-08-12 André Pönitz <poenitz@gmx.net>
3074 * text3.C: take out the 'cursor right' form insertInset and only
3075 do it in those places when it is really needed. Fixes crash on
3078 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3080 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3082 * BufferView_pimpl.C (setBuffer): initialize the current font of
3083 the underlying LyXText
3085 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3087 * kbsequence.C (print): use UI native formatting for menu
3090 * text.C (insertChar): call Paragraph::insertChar with a font
3093 * paragraph.C (insertInset, insertChar): the version that takes a
3094 LyXFont argument is now a wrapper around the other one (the
3095 opposite used to be true).
3097 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3098 argument. Font setting is done in Paragraph now.
3100 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3102 * outputparams.h: add new members intitle and lang.
3104 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3105 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3107 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3109 * text3.C (dispatch): remove special handling of button 4 and 5,
3110 it is now taken care of in the frontend code.
3112 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3114 * Spacing.h: add <string> (STLPort compile fix)
3116 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3118 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3120 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3122 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3125 * converter.C (showMessage): inherit from unary_function, make
3128 * buffer.C (writeFile): initialize retval
3130 * InsetList.h: rename private variable list to list_
3131 * InsetList.[Ch]: adjust accordingly.
3133 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3136 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3137 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3138 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3139 * ParagraphParameters.C, LaTeXFeatures.C: replace
3140 "support/std_sstream.h" with <sstream>
3142 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3144 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3145 * lyxsocket.C (LyXServerSocket): ditto
3146 (serverCallback): ditto
3148 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3150 * LaTeXFeatures.C: check release date when loading jurabib.
3152 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * lyxserver.C (startPipe): call register_socket_callback
3155 (endPipe): call unregister_socket_callback
3157 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3159 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3160 (LyXServerSocket): register the callback
3161 (LyXServerSocket): unregister the callback
3162 (fd): delete function
3163 (serverCallback): improve error checking and setup the callbacks.
3164 (dataCallback): change arg to fd.
3165 (writeln): new func (copied fro the client socket) used for server
3167 (LyXDataSocket): simplify
3168 (~LyXDataSocket): close ann unregiser callback
3169 (server): delete function
3170 (fd): delete function
3171 (readln): small changes, improve some std::string usage
3172 (writeln): constify a bit
3174 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3176 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3179 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3181 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3182 after it has been populated
3184 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3186 * text2.C (insertInset): move cursor when inserting inset.
3188 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3190 * kbmap.C (findbindings): a couple of new methods. returns a
3191 container of kb_sequence objects. The real work is done by the
3192 private recursive version
3193 (printbindings): uses findbindings to print out a bracketed list
3194 of bindings (renamed from findbinding).
3196 * MenuBackend.C (binding): use kb_keymap::findbindings
3198 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3200 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3202 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3204 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3206 * paragraph.C (isWord): return true on insets that report
3209 * text.C (getWord): use Paragraph::isWord to decide what is in a
3210 word and what is not; fix bug 1609.
3212 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3214 * tex-strings.C: add "none" to string_paperpackages[], fixes
3215 off-by-one-error in the paperpackage selection.
3218 * tex-strings.[Ch]: char const * string[n]
3219 -> char const * const string[]
3221 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3223 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3224 command, return early.
3226 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * debug.h: add DEBUG to enum and fix size of ANY.
3230 * debug.C: add support for Debug::DEBUG
3231 (showTags): cast errorTags.level to unsigned int
3233 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3234 (redoCurrentBuffer): ditto
3235 (updateScrollbar): ditto
3236 * cursor.C (dispatch): ditto
3237 * text2.C (setLayout): ditto
3239 (updateCounters): ditto
3241 (deleteEmptyParagraphMechanism): ditto
3243 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3246 annotations to cleanup the Makefile slightly.
3248 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3250 * lyxrc.C: do not set user_email to a default value but use empty
3251 instead. The entry used to be translated, which does not work
3252 since at the point where lyxrc is constructed there is no
3253 translation service available
3255 * messages.C (getLocaleDir): remove and use directly
3256 lyx_localedir() instead
3258 2004-06-02 Angus Leeming <leeming@lyx.org>
3260 Fix crash caused by dereferencing null pointer 'exportdata' in
3261 OutputParams by creating a new ExportData variable on the heap,
3262 storing it in a boost::shared_ptr.
3263 The crash was triggered when generating an Instant Preview
3264 of an external inset.
3266 * Makefile.am: add outputparams.C
3268 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3269 (c-tor): allocate memory to it.
3271 * exporter.C (c-tor): associated changes.
3273 2004-06-01 Angus Leeming <leeming@lyx.org>
3275 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3276 contains data before calling isInset(0). (Bug 1513.)
3278 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3280 * exporter.C (checkOverwrite): new method
3281 * exporter.C (copyFile): new method
3282 * exporter.C (Export): copy referenced files to the document dir
3283 * exporter.[Ch]: new class ExportedFile
3284 * exporter.[Ch]: new class ExportData. Contains currently the
3285 names of referenced external files
3286 * outputparams.h: add exportdata member.
3288 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3290 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3293 2004-05-19 Angus Leeming <leeming@lyx.org>
3298 * lyxfunc.C: small changes due to the introduction of namespace
3299 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3301 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3303 * text3.C (dispatch): supress update when only moving the cursor
3304 * cursor.C (selHandle): remove commented code
3306 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3308 * paragraph.C (startTeXParParams): correct column count
3309 * CutAndPaste.C (pasteSelection): remove const_cast
3310 * output_docbook.C (docbookParagraphs): remove const_cast
3311 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3312 const_cast and return ParagraphList::const_iterator
3313 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3314 * output_plaintext.C (writeFileAscii): remove const_cast
3315 * paragraph.[Ch] (simpleTeXOnePar): make const
3316 * paragraph_funcs.C (outerPar): use const iterators
3317 * paragraph_pimpl.C (validate): use const iterators
3318 * text.C (setHeightOfRow): use const iterators
3320 2004-05-17 Angus Leeming <leeming@lyx.org>
3323 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3325 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3326 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3327 if the citation engine has changed.
3329 2004-05-14 José Matos <jamatos@lyx.org>
3331 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3332 if the textclass does not provide it. Have it different for sgml and
3334 support the language of document.
3335 * output_docbook.C (docbookParagraphs):
3336 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3337 first anchor as the id of the paragraph, remove special case code.
3338 * sgml.C (escapeChar): escape only < & >.
3340 2004-05-14 Angus Leeming <leeming@lyx.org>
3342 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3343 dependencies on src/frontends/controllers/biblio.h. Define a
3344 CiteEngine_enum wrapper class to enable the enum to be forward
3347 2004-05-12 Angus Leeming <leeming@lyx.org>
3349 * buffer.C: up LYX_FORMAT to 234.
3350 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3351 use_numerical_citations with a single biblio::CiteEngine cite_engine
3353 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3355 2004-05-13 José Matos <jamatos@lyx.org>
3358 * converter.C (Converter, readFlags): add xml member.
3359 * outputparams.h: add XML flavor.
3360 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3362 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3364 * lyxfunc.C (dispatch):
3365 (getStatus): fix handling of LFUN_SEQUENCE
3367 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3369 * debug.C (showLevel): do not forget the end-of-line marker
3371 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3373 * kbmap.C (read): do not stop parsing a bind file when an error
3376 2004-04-29 Angus Leeming <leeming@lyx.org>
3381 * text2.C: wrap a bunch of #warning statements
3382 inside #ifdef WITH_WARNINGS blocks.
3384 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3386 * buffer.C: increment format to 233.
3388 2004-04-28 Angus Leeming <leeming@lyx.org>
3390 * BufferView_pimpl.C:
3393 s/updateToolbar()/updateToolbars()/
3394 s/Toolbar.h/Toolbars.h/
3396 2004-04-28 Angus Leeming <leeming@lyx.org>
3398 * BufferView.[Ch] (c-tor):
3399 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3400 No longer passes these data to the WorkArea generator.
3402 2004-04-28 Angus Leeming <leeming@lyx.org>
3404 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3406 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3408 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3410 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3412 * output_latex.C (TeXEnvironment): make sure that there is a line
3413 break before \end{foo} for the last paragraph of a document
3414 (TeXOnePar): if the paragraph is at the end of the document (or
3415 inset) and the language has to be reset, then make sure that the
3416 line break is _before_ the language command, not after (fixes bug
3417 1225); also make sure that the language reset command is the first
3418 thing after the paragraph (to ensure proper nesting of
3419 environments and thus fix bug 1404)
3421 2004-04-21 John Levon <levon@movementarian.org>
3424 * ToolbarBackend.C: make "name" be a programmatic name
3425 and a gui_name field.
3427 * lyxfunc.C: display the minibuffer on M-x
3429 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3431 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3434 2004-04-19 Angus Leeming <leeming@lyx.org>
3436 * BufferView_pimpl.C (setBuffer): changed preview interface.
3438 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3441 2004-04-19 John Levon <levon@movementarian.org>
3443 * BufferView_pimpl.C:
3444 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3446 2004-04-05 Angus Leeming <leeming@lyx.org>
3448 * text.C (redoParagraphs): add call to updateCounters(), thereby
3449 fixing the missing "Figure #:" label from the caption of a
3452 2004-04-13 Angus Leeming <leeming@lyx.org>
3454 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3455 cursor is clicked out of an inset.
3457 2004-04-13 Angus Leeming <leeming@lyx.org>
3459 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3460 than an InsetOld one.
3462 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3464 * format.[Ch]: add editor to Format
3465 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3466 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3468 2004-04-08 André Pönitz <poenitz@gmx.net>
3470 * metricsinfo.h: remove PainterInfo::width member
3472 2004-04-08 Angus Leeming <leeming@lyx.org>
3474 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3475 "\providecommand" rather than "\newcommand", thereby preventing
3476 clashes with packages that define "\boldsymbol" themselves.
3479 2004-04-08 Angus Leeming <leeming@lyx.org>
3481 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3482 thereby squashing an unnecessary warning.
3484 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3486 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3489 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3491 * BufferView.C (setCursor): call redoParagraph (some insets could
3493 (putSelectionAt): remove the 'double update' trick
3495 * BufferView_pimpl.C (fitCursor): call refreshPar
3496 (workAreaDispatch): remove an uneeded update call
3497 (dispatch): remove some manual update calls
3499 * cursor.[Ch]: remove cached_y_, updatePos
3500 (selHandle): set noUpdate when appropriate
3502 * lyxfunc.C (dispatch): track if we need an update
3504 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3506 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3507 (paintSelection): cheap optimization, do not call cursorX when not
3509 (paintPars): change signature
3512 (paintTextInset): adjust
3516 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3518 * lengthcommon.C: compilation fix: remove explicit array size from
3519 unit_name[] and friends
3521 2004-04-05 Angus Leeming <leeming@lyx.org>
3523 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3525 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3526 present only for the preferences dialog.
3527 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3529 2004-04-05 Angus Leeming <leeming@lyx.org>
3531 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3532 to enable the frontends to export changes to lyxrc correctly.
3534 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3536 2004-04-07 André Pönitz <poenitz@gmx.net>
3538 * cursor.[Ch] (selClear, adjust): remove math
3540 * cursor_slice.C: more agressive assert
3543 * BufferView_pimpl.C: rework mouse event dispatch
3550 2004-04-05 André Pönitz <poenitz@gmx.net>
3552 * cursor.[Ch] (valign, halign...): remove unneeded functions
3554 2004-04-05 Angus Leeming <leeming@lyx.org>
3556 * lyxlength.[Ch] (unit_name et al.): const-correct.
3558 2004-04-05 Angus Leeming <leeming@lyx.org>
3560 * BufferView_pimpl.C:
3569 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3571 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3573 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3575 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3577 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3578 * BufferView_pimpl.[Ch] (getStatus)
3579 * BufferView.[Ch] (getStatus): add
3580 * lyxfunc.C (getStatus): move lfuns handled in
3581 BufferView::dispatch to te function above
3582 * Cursor.C (setSelection): set selection() = true
3584 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3586 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3588 2004-03-31 Angus Leeming <leeming@lyx.org>
3590 * lyxfunc.C (dispatch): Fall through to the generic
3591 Dialogs::show("preamble").
3593 2004-03-31 Angus Leeming <leeming@lyx.org>
3595 * lyxfunc.C (dispatch): Fall through to the generic
3596 Dialogs::show("spellchecker").
3598 2004-03-31 Angus Leeming <leeming@lyx.org>
3600 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3603 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3608 * insetiterator.[Ch]:
3613 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3615 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3617 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3618 insets where we are putting the cursor.
3620 2004-03-31 Angus Leeming <leeming@lyx.org>
3623 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3625 * lyxrc.[Ch] (read, write): overloaded member functions taking
3626 a std::[io]stream arguments.
3628 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3630 2004-03-31 Angus Leeming <leeming@lyx.org>
3632 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3633 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3635 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3636 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3638 2004-03-31 Angus Leeming <leeming@lyx.org>
3640 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3641 the LFUN_ALL_INSETS_TOGGLE code.
3643 2004-03-30 Angus Leeming <leeming@lyx.org>
3645 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3646 has died. Fall through to the generic Dialogs::show("document").
3648 2004-03-30 Angus Leeming <leeming@lyx.org>
3651 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3652 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3654 * lyxfunc.C (getStatus, dispatch): define the actions for these
3655 lfuns. Little more than a cut and pste job from ControlDocument.C
3657 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3659 2004-03-30 Angus Leeming <leeming@lyx.org>
3662 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3663 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3665 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3666 open/closed state of ollapsable insets. Usage:
3668 all-inset-toggle <state> <name>, where
3669 <state> == "open" || "closed" || "toggle" and
3670 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3672 * lyxtext.h, text2.C (toggleInset): removed.
3674 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3675 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3676 now passes LFUN_INSET_TOGGLE to the found inset.
3678 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3679 is now invoked as "all-insets-toggle toggle branch".
3681 2004-03-30 Angus Leeming <leeming@lyx.org>
3685 * pariterator.[Ch]: added/corrected header blurb.
3687 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3689 * dociterator.[Ch]: add an inset_ member
3690 (backwardPos): implemented
3691 (backwardPos, forwardPos): use inset_ when the stack is empty.
3692 (doc_iterator_begin, doc_iterator_end): implemented
3693 * pariterator.[Ch]: adjust, add begin, end
3694 * insetiterator.[Ch]: adjust, add begin, end
3698 * BufferView_pimpl.C:
3699 * CutAndPaste.C: adjust
3701 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3703 * buffer.C: increment file format to 232.
3704 * LaTeXFeatures.C: add bibtopic package.
3705 * bufferparams.[Ch]: param \use_bibtopic.
3707 * lyxrc.[Ch]: add lyxrc bibtex_command
3708 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3710 * buffer.C: increment file format to 231.
3712 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3714 * dociterator.C: implement forwardPar
3715 * iterators.[Ch]: remove, replaced by
3716 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3718 * BufferView_pimpl.C:
3721 * bufferview_funcs.C:
3727 * Makefile.am: adjust
3729 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3731 * CutAndPaste.C (pasteSelection): fix 2 crashes
3732 (eraseSelection): fix a crash
3733 * paragraph_funcs.C: remove a warning
3735 2004-03-28 Angus Leeming <leeming@lyx.org>
3738 * LyXAction.C (init): new LFUN_PRINT.
3740 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3742 2004-03-27 Angus Leeming <leeming@lyx.org>
3745 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3747 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3749 2004-03-27 Angus Leeming <leeming@lyx.org>
3751 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3752 insetlist always contains non-null pointers to insets.
3754 2004-03-26 Angus Leeming <leeming@lyx.org>
3756 * src/BufferView_pimpl.C:
3757 * src/CutAndPaste.C:
3760 * src/output_plaintext.C:
3761 * src/outputparams.h:
3762 * src/paragraph_funcs.C:
3766 * src/frontends/controllers/ControlErrorList.C:
3767 * src/frontends/gtk/FileDialogPrivate.C:
3768 * src/frontends/gtk/GPainter.C:
3769 * src/frontends/gtk/GToolbar.C:
3770 * src/frontends/qt2/QRef.C:
3771 * src/mathed/math_scriptinset.C: squash compiler warnings.
3773 2004-03-26 Angus Leeming <leeming@lyx.org>
3775 * ispell.C (LaunchIspell::start):
3776 * lyx_cb.C (AutoSaveBuffer::start):
3777 invoke run(DontWait) rather than runNonBlocking().
3779 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3781 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3783 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3785 * kbsequence.C (print): adjust
3787 * kbmap.C (printKeySym): rename and change signature
3788 (printKey): use LyXKeySym::print()
3790 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3792 * undo.C: add using std::advance to compile for stlport
3794 2004-03-24 Angus Leeming <leeming@lyx.org>
3796 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3797 it leads to a crash when no buffer is present.
3799 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3800 Martin Vermeer <martin.vermeer@hut.fi>
3802 * lyxfunc.C (dispatch):
3803 * bufferparams.C (readToken): use the new LColor::setColor
3805 * LColor.[Ch] (setColor): new version that takes two strings as
3806 argument and creates a new color entry if necessary
3808 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3810 * buffer.C (makeLaTeXFile): if the main latex file that is
3811 processed is usually a subdocument of some master, then pretend
3812 for a while that it is actually the master
3814 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3816 * buffer.C (getLabelList):
3817 (getBibkeyList): use getMasterBuffer()
3818 (getMasterBuffer): new method. Returns the main document in the
3819 case where one is using included documents.
3821 2004-03-25 André Pönitz <poenitz@gmx.net>
3825 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3827 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3829 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3830 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3832 * ParameterStruct.h: merge with ParagraphParameters
3834 * lyxtext.h: remove LyXText::parOffset() and getPar()
3836 * text3.C: Remove all 'manual' update calls. We do now one per user
3837 interaction which is completely sufficient.
3841 * BufferView_pimpl.C:
3842 * FontIterator.[Ch]:
3844 * ParagraphParameters.[Ch]:
3849 * cursor_slice.[Ch]:
3856 * output_docbook.[Ch]:
3857 * output_latex.[Ch]:
3858 * output_linuxdoc.[Ch]:
3859 * output_plaintext.[Ch]:
3861 * paragraph_funcs.[Ch]:
3862 * paragraph_pimpl.[Ch]:
3870 * frontends/controllers/ControlDocument.C:
3871 * frontends/controllers/ControlErrorList.C:
3872 * frontends/controllers/ControlSpellchecker.C:
3875 * insets/insetbase.h:
3876 * insets/insetbibitem.C:
3877 * insets/insetbox.C:
3878 * insets/insetbranch.C:
3879 * insets/insetcaption.C:
3880 * insets/insetcharstyle.C:
3881 * insets/insetcharstyle.h:
3882 * insets/insetcollapsable.C:
3883 * insets/insetcollapsable.h:
3884 * insets/insetert.C:
3885 * insets/insetfloat.C:
3886 * insets/insetfoot.C:
3887 * insets/insetmarginal.C:
3888 * insets/insetnote.C:
3889 * insets/insetoptarg.C:
3890 * insets/insettabular.C:
3891 * insets/insettext.C:
3892 * insets/insettext.h:
3893 * insets/insetwrap.C:
3894 * mathed/math_mboxinset.C:
3895 * mathed/math_nestinset.C:
3896 * mathed/math_scriptinset.C:
3897 * mathed/math_scriptinset.h:
3900 2004-03-24 Angus Leeming <leeming@lyx.org>
3902 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3903 deal with any child processes that have finished but are waiting to
3904 communicate this fact to the rest of LyX.
3906 2004-03-24 Angus Leeming <leeming@lyx.org>
3908 64-bit compile fixes.
3910 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3911 (c-tor): pass lyx::pos_types rather than ints.
3913 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3916 * text.C (Delete): compile fix.
3917 (getPar): ensure that function declaration is the same as that in
3920 2004-03-23 Angus Leeming <leeming@lyx.org>
3922 * ispell.C (LaunchIspell):
3923 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3924 a boost::shred_ptr rather than a std::auto_ptr.
3926 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3928 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3929 handle LFUN_FILE_INSERT_*
3931 * lyxrc.C (setDefaults, getDescription, output, read):
3932 * lyxrc.h: remove ps_command
3934 2004-03-22 Angus Leeming <leeming@lyx.org>
3936 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3937 Ensure that error_handler is processed once only and that all data
3938 is saved before attempting to output any warning messages.
3940 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3942 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3944 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3946 2004-03-19 André Pönitz <poenitz@gmx.net>
3948 * cursor.[Ch] (reset): take main text inset as argument
3950 * BufferView: adjust
3951 * BufferView_pimpl.C: adjust
3953 * paragraph.[Ch]: fix completely broken operator=()
3955 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3957 * LColor.C (getFromLyXName): make sure that the color name is used
3960 2004-03-17 Angus Leeming <leeming@lyx.org>
3963 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3965 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3966 dialog and to kill a forked process.
3968 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3970 * text2.C (setCursorFromCoordinates): fix font problem
3972 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3974 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3975 bogus "rebuild cursor" code
3977 2004-03-11 André Pönitz <poenitz@gmx.net>
3979 * buffer.[Ch]: use InsetText instead of LyXText as container for
3982 * dociterator.[Ch]: drop the BufferView * member which is not needed
3983 anymore after the change to buffer.C
3985 * paragraph_funcs.C:
3989 * BufferView_pimpl.[Ch]:
3991 * cursor_slice.[Ch]: adjust
3993 * text3.C: fix bug in mathDispatch
3995 2004-03-08 André Pönitz <poenitz@gmx.net>
3997 * undo.[Ch]: use 'StableDocumentIterator' as base for
4000 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4003 * bufferparams.[Ch]: add jurabib support and param.
4005 * LaTeX.C: add FIXME/comment.
4007 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4009 * buffer.C: increment file format to 230.
4011 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
4013 * cursor.C (dispatch): avoid infinite loops
4015 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4017 * rowpainter.C (paintSelection): fix x coordinates
4019 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4021 * text.C (rowBreakPoint): fix breaking before displayed insets
4023 2004-03-01 André Pönitz <poenitz@gmx.net>
4025 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4027 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4031 * BufferView_pimpl.C:
4039 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4045 * BufferView_pimpl.C: rename textwidth -> maxwidth,
4046 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4048 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4050 * Bidi.[Ch] (computeTables): const correctness
4051 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4052 fill_hfill, fill_label_hfill and x from Row
4053 * lyxtext.h: prepareToPrint returns a RowMetrics
4054 * rowPainter.C: adjust
4055 * text.C (prepareToPrint): use width, not textWidth. adjust
4056 (redoParagraphInternal, cursorX): adjust
4057 * text2.C (getColumnNearX): adjust
4058 (init): put a default value to the top LyXText::width
4060 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4062 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4064 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4066 * lyxtext.h: add FontIterator class
4068 * text.C (FontIterator, operator*, operator->, operator++): add
4069 (rowBreakPoint, setRowWidth): adjust (fixing a
4072 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4074 * BufferView_pimpl.C (workAreaDispatch): allow also
4075 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4077 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4079 * text.C (rowBreakPoint): fix a bug showing with very large insets
4081 2004-02-25 André Pönitz <poenitz@gmx.net>
4084 * cursor.[Ch]: move some mathed specific code to mathed
4086 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4088 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4089 use_tempdir in preferences
4090 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4092 * lyx_main.C: ensure that tempdir is valid
4093 * lyxlex.h: correct typo
4094 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4095 * paragraph.[Ch] (isMultiLingual): make const
4096 * cursor.[Ch] (openable): make const
4098 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4100 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4102 2004-02-20 André Pönitz <poenitz@gmx.net>
4104 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4106 * cursor.[Ch]: prepare for localized getStatus()
4112 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4114 2004-02-20 André Pönitz <poenitz@gmx.net>
4116 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4118 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4120 * text2.C (setCursorFromCoordinates): switch to absolute coords
4122 (cursorDown): adjust
4123 * text3.C (dispatch): adjust
4125 2004-02-16 André Pönitz <poenitz@gmx.net>
4127 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4130 * cursor_slice.[Ch]: remove unneeded acessor function
4132 * lyxtext.h: rename rtl() to isRTL()
4140 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4142 * rowpainter.C (paintSelection): coord fix
4144 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4146 * Spacing.C: compile fix
4148 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4150 * cursor.C (dispatch): restore current_ before returning
4152 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4154 * text2.C (cursorUp, cursorDown): fix coords
4157 2004-02-12 André Pönitz <poenitz@gmx.net>
4162 * text3.C: add LCursor & parameter to most cursor movement functions
4163 remove usage of LyXText::cursorRow() and cursorPar()
4165 * cursor.[Ch]: add textRow() needed members
4168 * BufferView_pimpl.C:
4171 * BufferView_pimpl.C: adjust
4173 2004-02-11 André Pönitz <poenitz@gmx.net>
4177 * BufferView_pimpl.C: shift undo/redo handling
4179 * cursor.[Ch]: fix mathed crash
4182 * lyxtext.h: move selectionAsText to LCursor
4190 * rowpainter.C: fix excessive drawing
4192 2004-02-06 André Pönitz <poenitz@gmx.net>
4195 * BufferView_pimpl.[Ch]:
4196 * text3.C: move some text specific LFUN handling
4198 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4200 * text3.C (checkInsetHit): adjust coords
4201 * text2.C (getColumnNearX): adjust coords
4202 (edit): adjust coords
4203 * text.C (getRowNearY): add two asserts
4205 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4208 * format.C: add using std::distance to compile on gcc 2.95/stlport
4210 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4212 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4214 2004-02-04 André Pönitz <poenitz@gmx.net>
4216 * BufferView.[Ch] (insertInset):
4217 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4222 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4224 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4225 on the default clause of the switch
4226 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4227 wasn't catched by LCursor::dispatch
4229 2004-02-03 André Pönitz <poenitz@gmx.net>
4232 * cursor.[Ch]: some additional asserts
4234 * undo.[Ch]: remove LyXText dependency in interface
4238 * lyxtext.h (firstPar, lastPar): remove dead functions
4243 * paragraph.[Ch]: adjust
4245 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4247 * lyxfind.C (find): fix argument order in call to ::find
4249 2004-02-02 André Pönitz <poenitz@gmx.net>
4251 * cursor.[Ch]: remove direct access to anchor
4253 * text.C: remove findText() hack
4255 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4257 * iterators.[Ch] (lockPath): remove in favour of...
4258 * BufferView.[Ch] (setCursor): this addition
4259 * BufferView.C (putSelectionAt): adjust
4260 * undo.C (performUndoOrRedo): adjust
4261 * lyxfunc.C (dispatch): adjust
4263 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4265 * iterators.C (lockPath): add a missing slice
4266 * undo.C (performUndoOrRedo): remove redundant positioning code
4268 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4270 * vc-backend.C (scanMaster): ";" -> ';'
4272 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4275 std::binary_function
4277 * lyxtextclass.C (compare_name): rename to...
4278 (LayoutNamesEqual): ...this
4280 * lyxlex_pimpl.C (compare_tags): inherit from
4281 std::binary_function, put back into anon namespace
4283 * lyxfind.C (MatchString): inherig from std::binary_function
4284 (findChange): use empty() istead of !size()
4286 * format.C (FormatNamesEqual): new functor
4293 * converter.C (compare_Converter): rename to...
4294 (ConverterEqual): ...this, and fixup a bit.
4295 (getConverter): use it, and make function const
4296 (getNumber): use it, and make function const
4300 * bufferlist.C: add using boost::bind
4302 * MenuBackend.C (MenuNamesEqual): new functor
4303 (hasMenu): use it, and make function const
4304 (hasSubmenu): use nested bind to get rid of compare_memfun.
4306 2004-01-30 André Pönitz <poenitz@gmx.net>
4308 * BufferView_pimpl.C:
4311 * cursor_slice.[Ch]:
4314 * paragraph_funcs.C:
4315 * paragraph_funcs.h:
4319 * text3.C: move some of the edit(x,y) handling to the insets
4320 some coordinate changes.
4322 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * text.C: add using statements for std::advance and std::distance
4326 * paragraph.C: add using statement for std::distance
4328 * lyxfind.C: add using statement for std::advance
4330 * cursor.C (region): remove std:: from swap
4331 (openable): use nucleus in stead of operator->
4333 * BufferView.C: add using statements for std::distance and std::swap
4335 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * iterators.C: Remove the pimple, move the needed structures to
4338 the header file. Create accessor for the positions stack.
4339 (asPosIterator): remove function
4341 * PosIterator.C (PosIterator): move constructors to top of file
4342 (PosIterator): reimplement the constructor taking a ParIterator in
4344 (setFrom): new function
4345 (operator!=): inline it
4347 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * lyxfind.C (replaceAll): use std::advance
4351 * iterators.h: inherit from std::iterator.
4353 * PosIterator.C (advance, distance): remove
4354 * PosIterator.h: interit from std::iterator.
4356 2004-01-26 André Pönitz <poenitz@gmx.net>
4359 * BufferView_pimpl.[Ch]:
4363 * bufferview_funcs.C:
4373 * output_linuxdoc.C:
4374 * output_plaintext.C:
4376 * paragraph_funcs.[Ch]:
4377 * paragraph_pimpl.[Ch]:
4383 * text3.C: more IU: dumps most of the rest of the mathcursor
4384 implementation into cursor.[Ch]; "globalize" a bit of it.
4386 2004-01-25 Angus Leeming <leeming@lyx.org>
4388 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4390 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4392 * LaTeXFeatures.h: add nice_ and nice() const
4393 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4395 2004-01-20 André Pönitz <poenitz@gmx.net>
4398 * BufferView_pimpl.C:
4400 * bufferview_funcs.C:
4402 * cursor_slice.[Ch]:
4413 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4414 LCursor and mathcursor parts to LCursor and InsetBase.
4416 2004-01-15 André Pönitz <poenitz@gmx.net>
4418 * cursor_slice.[Ch]: add a few covienience functions
4420 * funcrequest.[Ch]: remove BufferView * member
4422 * BufferView_pimpl.C:
4429 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4431 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4433 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4434 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4436 2004-01-13 André Pönitz <poenitz@gmx.net>
4439 * lyxtext.h: hide cursor and selection anchor behind accessor function
4442 * BufferView_pimpl.[Ch]:
4444 * bufferview_funcs.C:
4454 * cursor_slice.[Ch]: some integer type changes for inset unification
4456 * lyxcursor.[hC]: remove, it's CursorSlice now.
4459 * BufferView_pimpl.[Ch]:
4460 * bufferview_funcs.C:
4466 * textcursor.[Ch]: adjust
4468 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4470 * text2.C (undoSpan): add and use
4471 * text.C (breakParagraph): use undoSpan (fix bug 578)
4474 2004-01-08 Angus Leeming <leeming@lyx.org>
4476 * BufferView_pimpl.C (MenuInsertLyXFile):
4477 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4478 * lyxfunc.C (menuNew, open, doImport):
4479 FileFilterList change to the FileDialog open and save functions.
4481 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4483 * ShareContainer.h: make isEqual and isUnique adaptable
4485 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4487 2004-01-07 Angus Leeming <leeming@lyx.org>
4490 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4492 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4494 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4495 functions replacing find, replace and replaceAll.
4497 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4498 LFUN_WORDFIND(FORWARD|BACKWARD).
4500 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4502 * text.C (breakParagraph): remove an outdated #warning
4504 2004-01-07 André Pönitz <poenitz@gmx.net>
4506 * lyxfind.C: somewhat clearer logic
4508 * text.C: prevent crash in cursorX on unitialized row cache
4510 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4512 * lyxcursor.[Ch] (operator>): add
4513 * textcursor.C (selStart, selEnd): use std::min and std::max
4515 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4517 * Chktex.C: include boost/format.hpp
4519 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4521 * InsetList.C: replace functor MathcIt with adaptable functor
4523 (insetIterator): modify accordingly
4525 * BranchList.h: move the BranchNamesEqual functor here from...
4526 * BranchList.C: ... to here
4528 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4530 (add): replace a finding loop with std::find_if.
4532 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4534 * output_docbook.C: moving LatexParam functionality into
4537 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4539 * buffer.C: increment format to 229.
4541 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4544 * lyx_sty.[Ch]: remove minipageindent_def
4550 * text3.C: remove LFUN_INSET_MINIPAGE
4552 2003-12-28 Angus Leeming <leeming@lyx.org>
4554 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4556 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4558 * text2.C (setParagraph): fix off-by-one crash
4560 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4562 * output_docbook.C: header stuff for AGU
4564 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4566 * text2.C (redoCursor): remove
4569 * BufferView_pimpl.C: remove calls to redoCursor and
4570 setCursor(cursor.par(), cursor.pos()) all around
4572 2003-12-15 Angus Leeming <leeming@lyx.org>
4574 * buffer.C: up the format to 228.
4576 2003-12-15 André Pönitz <poenitz@gmx.net>
4578 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4583 * BufferView_pimpl.C:
4592 2003-12-15 Angus Leeming <leeming@lyx.org>
4594 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4595 than getFromGUIName to manipulate the color.
4597 2003-12-14 Angus Leeming <leeming@lyx.org>
4599 * BranchList.[Ch]: minimize the API.
4600 (Branch::getBranch, getColor): now return a 'const &'.
4601 (Branch::setSelected) now returns a bool set to true if the
4602 selection status changes.
4603 (BranchList::clear, size, getColor, setColor, setSelected,
4604 allBranches, allSelected, separator): removed.
4605 (BranchList::find): new functions, returning the Branch with
4607 (BranchList::add, remove): return a bool indicating that
4608 the operation was successful.
4610 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4611 new InsetBranch::isBranchSlected member function.
4613 * LColor.[Ch]: mimimize the API.
4614 (fill): renamed as addColor and made private.
4615 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4616 versions of these functions taking a string arg have been removed.
4618 * bufferparams.C (readToken):
4619 * lyxfunc.C (dispatch):
4620 * lyxrc.C (read): changes due to the altered BranchList and
4623 * factory.C (createInset, readInset): changes due to altered
4626 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4629 * lyxfunc.C: remove insetminipage. "minipage-insert"
4630 now produces a frameless minipage box inset.
4632 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4634 * textcursor.[Ch] (selStart,selEnd): add new methods
4635 remove selection::start, end, use LyXCursor::operator<
4636 * lyxcursor.[Ch] (operator<): add
4637 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4638 * BufferView.[Ch] (unsetXSel): add
4639 * text2.C (clearSelection): use unsetXSel,adjust
4642 * rowpainter.C: adjust
4643 * bufferview_funcs.C (put_selection_at): adjust
4645 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4647 * BufferView_pimpl.C: small coord. correction
4649 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4651 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4652 dragging over the splash screen.
4654 2003-12-11 Angus Leeming <leeming@lyx.org>
4656 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4657 as it is now handled in LyXText::dispatch.
4659 * text3.C (doInsertInset): remove a level of nesting.
4661 2003-12-11 Angus Leeming <leeming@lyx.org>
4663 * factory.C (createInset): changes due to the changed interface to
4664 InsetCommandMailer::string2params.
4666 2003-12-10 Angus Leeming <leeming@lyx.org>
4668 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4669 'dialog-show-new-inset <inset name>'
4671 2003-12-10 Angus Leeming <leeming@lyx.org>
4673 * buffer.C: up the format to 227.
4675 * factory.C: the box inset is now identified simply by 'Box'.
4677 2003-12-10 Angus Leeming <leeming@lyx.org>
4679 * buffer.C: up the format to 226.
4681 * factory.C: the note inset is now identified simply by 'Note'.
4683 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4685 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4686 when a pit is enough. Standarize a couple of loops.
4688 2003-12-05 Angus Leeming <leeming@lyx.org>
4690 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4691 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4692 data to the re-worked "log" dialog.
4694 2003-12-03 André Pönitz <poenitz@gmx.net>
4700 * paragraph_funcs.C:
4702 * text2.C: use Inset::getText instead of Inset::getParagraph
4704 2003-12-03 André Pönitz <poenitz@gmx.net>
4708 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4709 InsetText::read() as LyXText::read()
4711 2003-12-02 Angus Leeming <leeming@lyx.org>
4713 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4714 type. Add a comment in the implementation that the function uses
4715 the stream's bad() function rather than fail() as the std::streams
4718 2003-12-02 André Pönitz <poenitz@gmx.net>
4720 * lyxlex.[Ch]: make interface more similar to std::stream
4722 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4724 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4726 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4728 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4730 * vspace.[Ch]: remove VSpace::NONE
4732 2003-12-01 André Pönitz <poenitz@gmx.net>
4735 * lyxtext.h: move ParagraphList member to LyXText
4736 rename LyXText::ownerParagraphs to LyXText::paragraph
4739 * bufferview_funcs.C:
4749 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4751 * undo.C: fix cursor positioning
4753 2003-12-01 John Levon <levon@movementarian.org>
4755 * BufferView_pimpl.C: fix a crash on exit with
4758 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4760 * BranchList.C: fix setSelected() method.
4762 2003-11-28 André Pönitz <poenitz@gmx.net>
4764 * ParagraphParameters.[Ch]:
4765 * ParameterStruct.h: remove space above/below from Paragraph to
4768 * BufferView_pimpl.C:
4774 * paragraph_funcs.C:
4780 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4782 * factory.C: Syntax change for CharStyles
4784 2003-11-28 André Pönitz <poenitz@gmx.net>
4789 * buffer.[Ch]: move LyXText member
4791 2003-11-28 André Pönitz <poenitz@gmx.net>
4793 * BufferView.[Ch]: make LyXText * text a private member
4795 * BufferView_pimpl.C:
4806 * output_plaintext.C: cleanup
4808 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4811 * lyxtextclass.[Ch]: parametrize SGML document header
4813 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4816 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4819 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4821 * text2.C (setFont): rework using PosIterator (no more recursive)
4822 (setCharFont): no more needed
4823 (setLayout): no more selection cursors fiddling (done by redoCursor)
4824 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4825 destroy remaining ones)
4827 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4829 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4831 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4834 * text3.C: adjust + re-allow multi par depth changes
4835 * textcursor.C: simplify a bit
4837 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4843 * src/output_docbook.C:
4844 * src/output_latex.C:
4849 * src/text2.C: Introducing a number of tags parametrizing various
4850 XML formats that we may want to support
4852 2003-11-25 André Pönitz <poenitz@gmx.net>
4854 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4856 * lyxtext.h (leftMargin/rightMargin): simplify interface
4863 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4865 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4866 master file to any child files. Fixes bug 546.
4868 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4870 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4872 2003-11-24 André Pönitz <poenitz@gmx.net>
4874 * rowpainter.C: simplification
4876 * text2.C (updateCounters): remove call to redoParagraph on
4877 changed labels as this is far too expensive.
4879 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4881 * converter.C (convert): fix a crash: this function gets
4882 called with buffer == 0 from importer code.
4884 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4886 * text3.C (cursorPrevious): make sure that we do not compare
4887 iterators form different containers.
4890 * rowpainter.C (paintSelection): make sure that we do not compare
4891 iterators from different containers.
4893 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4894 iterators from different ParagraphList containers.
4897 * text2.C (LyXText): change order of initialization slightly
4898 (operator=): new function. copy all variables except cache_par_
4899 (moveUp): make sure that we do not compare iterators from
4900 different ParagraphList constainers.
4903 * text.C (firstPar): new function
4904 (lastPar): new function
4905 (endPar): new function
4907 * lyxtext.h: move things around and group public functions, public
4908 variables, private functions, private variables
4910 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4912 * factory.C: change call to InsetERT constructor to avoid
4913 additional invocation of method status
4914 * text2.C (toggleInset): remove redundant update() call
4915 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4916 instead of a Bufferview pointer
4918 2003-11-21 André Pönitz <poenitz@gmx.net>
4920 * rowpainter.C: simplification
4922 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4924 * text3.C (dispatch): make possible to extend a word/row selection
4927 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4929 * lyxtext.h: x0_,y0_ -> xo_,yo_
4930 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4931 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4932 * rowpainter.C (paintRows): paint full paragraphs
4934 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4936 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4939 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4941 * lyxtext.h: add x0_, y0_
4942 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4943 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4945 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4947 * text2.C (setCursorIntern): move the x_target update here *
4948 * text3.C: change some bv() to true/false in calls to
4949 cursorUp/Down/Right/Left
4950 * cursor.C: use helper function.
4952 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4954 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4955 * paragraph_funcs.[Ch]: correct comment
4956 * rowpainter.C: do not paint selections away from bv->cursor()
4957 Fix a long standing selection painting bug.
4958 * text3.C: generalize mouse-selection code to LyXTexts other that
4960 * textcursor.C: do not use y coords if we can use par offsets
4962 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4964 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4965 cursor position after e.g. inset insert)
4967 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4969 * lyxfind.C (replace): adjust to locking removal + some
4972 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4974 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4977 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4980 * output_docbook.C: XML sanitation: new layout
4981 parameters InnerTag and CommandDepth
4983 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4985 * BufferView_pimpl.C:
4987 * text3.C: Fix the insertion and modification of button-style
4990 2003-11-13 André Pönitz <poenitz@gmx.net>
4992 * InsetList.[Ch]: remove deleteLyXText
4994 * paragraph.[Ch]: cache beginOfBody position
4999 * text3.C: remove superfluous update() calls
5003 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
5005 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5006 * BufferView.C (fitLockedInsetCursor): remove
5007 * cursor.[Ch] (getDim): add
5008 * text.C (getRowNearY): add faster version
5009 * text3.C: remove some update calls
5011 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
5023 * text3.C: The Character Style /XML short element patch.
5025 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
5028 * factory.C: Small step to solving 'unable to insert some insets'
5031 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
5033 * cursor.[Ch] (updatePos): new function for updating the y
5034 position of the tip inset
5035 * bufferview_funcs.C (put_selection_at):
5036 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5038 2003-11-11 André Pönitz <poenitz@gmx.net>
5040 * text.C: remove big comment on invalid Paragraph pointers as it is
5043 2003-11-11 André Pönitz <poenitz@gmx.net>
5045 * text_funcs.[Ch]: merge with ...
5053 * Makefile.am: remove text_funcs.[Ch]
5055 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5057 * cursor.C (getPos): return absolute cached y coord
5059 * BufferView_pimpl.C (fitCursor): new simplistic code
5060 (workAreaDispatch): add a fitCursor call
5062 2003-11-10 André Pönitz <poenitz@gmx.net>
5065 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5067 2003-11-10 André Pönitz <poenitz@gmx.net>
5069 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5070 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5071 indicate that the cursor needs to leave an inset
5073 * lyxtext.h: remove inset locking
5075 * cursor.[Ch]: re-implement functionality provided by inset locking
5078 * BufferView_pimpl.[Ch]:
5080 * bufferview_funcs.[Ch]:
5092 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5094 * PosIterator.[Ch]: replace the stack with a vector, add inset
5096 * iterators.[C]: adjust
5098 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5100 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5102 * paragraph_funcs.C (readParToken): put the correct id in the
5103 error item, not the id of the top paragraph
5105 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5107 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5108 * bufferview_funcs.C (put_selection_at): use the above
5110 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5112 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5114 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5116 * output_linuxdoc.h:
5117 * output_plaintext.h:
5119 * output_docbook.h: add #include statements
5121 2003-11-05 José Matos <jamatos@lyx.org>
5123 * output_docbook.[Ch]:
5124 * output_latex.[Ch]:
5125 * output_linuxdoc.[Ch]:
5126 * output_plaintext.[Ch]: New files for output formats.
5127 * output.[Ch]: New file for helper functions.
5130 * paragraph_funcs.[Ch]: output functions moved to new files.
5132 * outputparams.h: rename of latexrunparams.h
5140 * paragraph_funcs.[Ch]:
5141 * paragraph_pimpl.[Ch]:
5142 * tabular.[Ch]: rename ascii to plaintext
5143 and LatexRunParams to OutputParams.
5145 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5147 * iterators.[Ch] (text): require bv argument
5148 * undo.C (recordUndo):
5149 * lyxfunc.C (dispatch):
5150 * bufferview_funcs.C (put_selection_at): adjust
5152 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5154 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5156 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5158 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5161 2003-11-04 André Pönitz <poenitz@gmx.net>
5163 * cursor.[Ch]: restructure
5166 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5168 * iterators.[Ch] (asCursor): remove
5170 * lfuns.h: remove LFUN_INSET_EDIT
5176 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5178 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5180 * lyxfind.[Ch]: complete overhaul
5181 * BufferView_pimpl.C:
5183 * paragraph.[Ch] (insert): add
5185 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5189 * text.C: remove dead spellcheck code
5191 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5193 * dispatchresult.h: add a val setter
5195 * cursor.C (dispatch): use a tempvar for data_[i]
5197 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5199 * PosIterator.[Ch]: compile fix
5201 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5203 * text.C (cursorPar): deactivate the cursor cache
5205 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5207 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5209 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5211 * text3.C (dispatch): adjust for new DisptchResult semantics.
5213 * lyxfunc.C (dispatch): handle update when return from
5214 Cursor::dispatch, adjust for new DispatchResult semantics.
5216 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5217 DispatchResult(true) mean to not update. Add class functions for
5218 setting dispatched and update, as well as reading.
5220 * cursor.C (dispatch): don't handle update here
5222 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5224 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5225 * trans_mgr.C: adjust
5227 * paragraph_funcs.C (readParToken): exception safety
5229 * lyxvc.h: store the vcs pointer in a scoped_ptr
5232 * lyxsocket.C (serverCallback): exception safety
5234 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5236 * ispell.C (clone): make it return a auto_ptr
5238 * factory.C (createInset): exception safety
5239 (readInset): exception safety
5241 * bufferlist.C (newBuffer): exception safety
5243 * Thesaurus.C (Thesaurus): use initialization for aik_
5245 * MenuBackend.C (expandToc): exception safety.
5247 2003-11-03 André Pönitz <poenitz@gmx.net>
5251 * bufferview_funcs.C: remove getInsetFromId()
5254 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5260 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5262 * PosIterator.C (distance, advance): new
5263 * bufferview_funcs.[Ch] (put_selection_at): new
5264 * iterators.[Ch] (lockPath): new
5266 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5268 * iterators.[Ch] (asPosIterator): added
5269 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5270 * PosIterator.[Ch]: added
5272 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5276 * cursor.C (dispatch):
5277 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5279 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5280 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5281 contructor, add a class function dispatched. Remove operator>=
5283 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5285 * debug.C: only use the default constructor for debugstream
5288 * main.C (main): include debug.h and setup the lyxerr streambuf
5291 2003-10-31 José Matos <jamatos@lyx.org>
5293 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5295 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5296 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5297 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5298 * paragraph_pimpl.C (simpleTeXSpecialC):
5299 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5300 add LatexRunParams argument.
5302 * exporter.C (Export): change call accordingly.
5304 * latexrunparams.h: add new member to take care of the other backends.
5305 2003-10-30 José Matos <jamatos@lyx.org>
5307 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5308 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5309 factorise code for paragraph output.
5311 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5314 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5316 * text3.C (dispatch):
5317 * lyxfunc.C (dispatch):
5318 * cursor.C (dispatch):
5319 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5321 * dispatchresult.h: make the dispatch_result_t ctor explicit
5323 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5326 * buffer.C: small refactoring of docbook stuff
5328 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5330 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5333 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5335 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5336 operator dispatch_result_t, and operators for == != and >=
5338 * cursor.C (dispatch): adjust for operator dispatch_result_t
5339 removal. comment out call to update
5341 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5343 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5354 * dispatchresult.h: new file, DispatchResult broken out of
5357 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5359 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5361 * text.C (rowBreakPoint): put a hack inside #if 0
5363 2003-10-28 André Pönitz <poenitz@gmx.net>
5367 * paragraph_funcs.C:
5370 * text2.C: general cleanup (lots of small stuff)
5372 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5374 * text2.C (cursorEnd): simple fix to the "end key goes to one
5375 before the end on last row" bug
5377 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5379 * text.C (backspace): fix the "zombie characters"
5381 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5383 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5385 2003-10-27 André Pönitz <poenitz@gmx.net>
5387 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5389 * factory.C: handle new InsetPagebreak, InsetLine
5391 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5392 and move handling into new InsetPagebreak, InsetLine
5394 * BufferView_pimpl.C:
5396 * ParagraphParameters.C:
5397 * ParameterStruct.h:
5402 * paragraph_funcs.C:
5403 * paragraph_pimpl.C:
5409 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5412 * lyxrow_funcs.[Ch]:
5418 * text3.C: remove lastPos uses in favour of Row::endpos
5420 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5422 * undo.C (performUndoOrRedo): fix two crashes by setting a
5423 cursor by hand and reordering some calls. Use bv->lockInset instead
5424 of inset->edit because the latter loses cursor information
5426 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5428 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5430 (rowBreakPoint): fix width. change point to point + 1.
5431 Add a missing check.
5433 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5436 * lyxfunc.C: fix (at least partly) the problems
5437 with the Nav menu and headers inside branch insets
5440 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5442 * paragraph.C (getChar): add strong asserts
5444 * lyxrow_funcs.C (lastPos): remove hideous hack
5446 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5447 (fill): adjust to that (avoid an infinite loop)
5449 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5451 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5453 2003-10-23 André Pönitz <poenitz@gmx.net>
5455 * RowList_fwd.h: change list<> to vector<> to gain speed
5456 after suggestion from Alfredo
5458 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5460 * lyxtext.h: move the bidi stuff from here...
5463 * Bidi.[Ch]: ... to here
5465 2003-10-23 André Pönitz <poenitz@gmx.net>
5468 * text.C (isLastRow, isFirstRow): new functions
5470 * paragraph.h: new width cache member
5472 * rowpainter.C: replace RowList::iterator with Row & where possible
5474 * lyxfunc.C: replace several view()->text with a single call
5476 * toc.C: fix 'unused' warning
5478 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5480 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5481 when woring with stream::pos_type
5482 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5484 2003-10-22 André Pönitz <poenitz@gmx.net>
5487 * text.C: use Row & instead of RowList::iterator
5489 * lyxrow.h: rename end() to endpos()
5495 2003-10-22 Angus Leeming <leeming@lyx.org>
5497 * buffer.[Ch] (fully_loaded): new member function, returning true
5498 only when the file has been loaded fully.
5499 Used to prevent the premature generation of previews and by the
5500 citation inset to prevent computation of the natbib-style label.
5502 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5503 templates are all set up.
5505 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5507 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5509 * text.C: fixed an "oops" in the "is a bit silly"
5512 2003-10-21 André Pönitz <poenitz@gmx.net>
5514 * FuncStatus.[Ch]: small stuff, whitespace
5516 * lyxfont.[Ch]: operator<<() for debug reasons
5520 * lyxtext.h: whitespace, spelling
5522 * paragraph.C: naming of variables
5525 * text2.C: small stuff
5528 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5530 * text.C: (1) finish off the inset display() work;
5531 (2) fix the "is a bit silly" bug (accessing char
5534 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5536 * text.C: re-introduce display() for insets, fixing the
5537 various bugs (stretch of line above, math inset
5540 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5542 * text.C (rightMargin): remove spurious semicolon
5544 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5547 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5549 * text3.C: fix one crash due to wrong cursor def
5551 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5553 * vc-backend.C (scanMaster): make the regex static
5555 * LaTeX.C (scanAuxFile): make the regexs static
5557 * text3.C (doInsertInset, dispatch, dispatch):
5558 * text2.C (cursorUp, cursorDown):
5559 * text.C (selectNextWordToSpellcheck):
5560 * BufferView_pimpl.C (dispatch):
5561 * lyxfunc.C (dispatch): localDispatch -> dispatch
5563 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5565 * lyxsocket.C: include <cerrno>
5567 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5569 * lyxfunc.C (dispatch): remove textcache stuff
5571 * bufferlist.C (release): remove textcache stuff
5574 * TextCache.C: delete file
5575 * TextCache.h: delete file
5577 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5579 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5580 delete of the bv_->text.
5581 (resizeCurrentBuffer): remove texcache stuff
5582 (workAreaResize): ditto
5584 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5586 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5589 2003-10-16 André Pönitz <poenitz@gmx.net>
5596 * text3.C: speed up by storing y positions per paragraph plus per-row
5597 offset instead of having a 'full' y position in the row.
5599 2003-10-15 André Pönitz <poenitz@gmx.net>
5603 * undo.[Ch]: make undo aware of inner insets
5605 2003-10-14 Angus Leeming <leeming@lyx.org>
5607 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5608 static member functions LyX::ref() and LyX::cref.
5609 (lastfiles): new accessor functions for the new lastfiles_ member var.
5610 (addLyXView, views_): add a new LyXView to the list of views_.
5611 (updateInset): loop over all LyXViews to call their own updateInset
5612 member function, returning a pointer to the Buffer owning the inset.
5614 * BufferView_pimpl.C (loadLyXFile):
5615 * MenuBackend.C (expandLastfiles):
5616 * bufferlist.C (MenuWrite, QuitLyX):
5617 lastfiles is no longer a global variable.
5618 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5620 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5621 static function. Access through LyX::cref().emergencyCleanup().
5623 2003-10-14 André Pönitz <poenitz@gmx.net>
5625 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5627 * undo.[Ch]: restoring part of 'undo in insets'
5630 * undo_funcs.[Ch]: merge with undo.[Ch]
5632 * tabular.C: small cleansing stuff
5634 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5636 * paragraph_funcs.C (readParToken): report unknown insets as error
5637 boxes. Use the outer paragraph as location (also for unknown
5640 * factory.C (readInset): do not abort on reading an unknown inset.
5641 Eat it and return 0.
5643 2003-10-13 Angus Leeming <leeming@lyx.org>
5645 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5647 * lyxrc.C: displayTranslator is now a function,
5648 declared in GraphicsTypes.h.
5650 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5652 * format.C: new placeholder $$a to pass the socket address.
5654 * bufferlist.[Ch]: new function getBufferFromTmp.
5656 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5657 files in the temporary dir.
5659 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5661 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5663 * Makefile.am: add lyxsocket.[Ch].
5665 * lyx_main.C (error_handler): handle SIGPIPE.
5667 2003-10-13 André Pönitz <poenitz@gmx.net>
5669 * BufferView_pimpl.C:
5674 * undo_funcs.[Ch]: use paroffset_type instead of
5675 ParagraphList::iterators to prevent multiple conversion
5676 (and get a more robust interface)
5678 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5680 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5682 * text3.C (dispatch): ditto
5684 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5686 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5687 move the onlyfile, use onlyfile instead of foundfile in a couple
5690 * DepTable.C (update): flush the error stream a bit more
5692 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5694 * lyxserver.C (callback): adjust
5696 * lyxfunc.C (getStatus): add a missing brace in commented code
5697 (ensureBufferClean): reindent
5698 (dispatch): delete version taking a string
5700 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5702 * LaTeX.C (deplog): move found file handlig from here...
5703 (handleFoundFile): .. to new function here.
5704 (deplog): make sure to discover several files mentioned on the
5707 2003-10-10 André Pönitz <poenitz@gmx.net>
5714 * text3.C: fix some of the tabular crashes
5716 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5718 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5720 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5722 2003-10-09 André Pönitz <poenitz@gmx.net>
5724 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5727 * BufferView_pimpl.C:
5728 * bufferview_funcs.C:
5739 * undo_funcs.C: adjust
5741 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5743 * text2.C (incrementItemDepth): new function, use a backtracking
5744 algorithm to discover the correct item depth.
5745 (resetEnumCounterIfNeeded): new function, use a backtracking
5746 algorithm to discover if counter reset is needed.
5747 (setCounter): use them. Simplify a bit. Add different labels for
5748 different item depths for itemize.
5750 * paragraph.C (Paragraph): remove initialization of enumdepth
5753 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5754 enumerate and itemize. Change the type of itemdepth to signed char.
5756 2003-10-08 André Pönitz <poenitz@gmx.net>
5758 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5763 * tabular.[Ch]: fix crash after 'row-insert'
5765 2003-10-08 Angus Leeming <leeming@lyx.org>
5767 Fix doxygen warnings.
5769 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5770 Remove CutAndPaste:: prefix from header file declaration.
5772 * LColor.h (fill): remove LColor:: prefix from declaration.
5774 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5775 use lyx::depth_type rather than Paragraph::depth_type so that
5776 header file and .C file match.
5778 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5780 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5781 * aspell.C: \file aspell_local.C -> \file aspell.C
5782 * gettext.C: \file gettext.C -> \file src/gettext.C
5783 * gettext.h: \file gettext.h -> \file src/gettext.h
5784 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5785 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5786 * text.C: \file text.C -> \file src/text.C
5788 * toc.C: move comment so that doxygen is not confused.
5790 2003-10-07 Angus Leeming <leeming@lyx.org>
5792 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5794 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5797 * aspell_local.h: add forgotten std::string's.
5799 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5806 * text3.C: The Box patch. Fancybox support, minipage, parbox
5808 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5814 * ParagraphParameters.h:
5824 * lyxtextclasslist.h:
5827 * paragraph_pimpl.C:
5828 * textcursor.h: add <string> and other small fixes to make Lars'
5829 std::string patch compile with STLport.
5831 2003-10-06 Angus Leeming <leeming@lyx.org>
5833 * LColor.h: Add missing #include <string>.
5835 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5837 * All most all file in all subdirs: Make <string> be the prefered
5838 way of getting to std::string, add using declarations.
5840 2003-10-06 André Pönitz <poenitz@gmx.net>
5842 * metricsinfo.C: initialize LyXFont before changing attribute.
5843 (fixes the 'math in \emph is upright' bug)
5845 2003-10-06 André Pönitz <poenitz@gmx.net>
5847 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5849 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5852 * paragraph_pimpl.C: Small fixes to build using STLport
5854 2003-10-02 André Pönitz <poenitz@gmx.net>
5857 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5859 2003-10-01 André Pönitz <poenitz@gmx.net>
5861 * factory.C: assert early
5863 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5865 * lyx_main.C: remove the global debug object
5867 * debug.h: adjust for new debugstream
5869 * debug.C: adjust for new debugstream and keep the global debug
5872 2003-09-22 Angus Leeming <leeming@lyx.org>
5874 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5875 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5876 an incomplete class LyXFont.
5878 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5880 * factory.C: bug fix in branches
5882 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * lyxfunc.C (processKeySym): adjust
5886 (dispatch): change arg name from ev to func, adjust
5887 (sendDispatchMessage): ditto
5889 * lyx_main.C (defaultKeyBindings): adjust keybindings
5890 (deadKeyBindings): ditto
5892 * kbsequence.C (addkey): return a FuncRequest
5894 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5896 * kbmap.C (bind): take a FuncRequest as arg, adjust
5899 (defkey): change to take a FuncRequest as arg, adjust
5900 (findbinding): take a FuncRequest as arg, adjust.
5902 * funcrequest.h (operator=): added
5904 * funcrequest.C (FuncRequest): default kb_action changed from
5905 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5907 * buffer.C (dispatch): simplify
5908 (dispatch): adjust to take a FuncRequest as arg, adjust
5910 * boost.C (assertion_failed): change assertion message slightly
5912 * ToolbarBackend.C (read): simplify
5914 * MenuBackend.C (binding): adjust call to findbinding, add a
5915 message if no binding is found.
5917 (expandToc): correct by adding a empty FuncRequest
5919 * LyXAction.C: include <boost/assert.hpp>
5920 (isPseudoAction): delete function
5921 (LookupFunc): change name to...
5922 (lookupFunc): this. change return type to FuncRequest.
5923 (getActionName): take kb_action as arg, simplify
5924 (funcHasFlag): add an assert, simplify.
5926 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5928 * toc.C (action): return a FuncRequest, simplify
5930 * lyxfunc.C (processKeySym): adjust
5931 (getStatus): delete version that takes an int.
5933 (dispatch): delete version that takes action as int
5935 (sendDispatchMessage): simplify and adjust
5937 * funcrequest.C (getArg): take unsigned int as arg
5939 * ToolbarBackend.C (read): adjust
5940 (add): delete version that takes func as a string.
5941 (getIton): take a FuncRequest as arg
5943 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5946 * MenuBackend.C (MenuItem): add a new construct that only takes a
5947 Kind, simplify the constructor use for submenus.
5949 (expandLastfiles): adjust
5950 (expandDocuments): adjust
5951 (expandFormats): adjust
5952 (expandFloatListInsert): adjust
5953 (expandFloatInsert): adjust
5954 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5956 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5957 Remove class variables lyx_pseudo_map and lyx_arg_map
5959 * LyXAction.C (searchActionArg): delete function
5960 (getPseudoAction): delete function
5961 (retrieveActionArg): delete function
5962 (LookupFunc): make it return kb_action, simplify.
5963 (getActionName): simplify
5965 * factory.C (createInset): fix new bug
5967 2003-09-19 Angus Leeming <leeming@lyx.org>
5969 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5970 masterFilename_ parameter in the include inset.
5972 * factory.C (createInset): changes due to the changes to InsetInclude.
5974 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5976 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5978 2003-09-18 Angus Leeming <leeming@lyx.org>
5981 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5982 Inset::fillWithBibKeys.
5983 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5985 2003-09-18 Angus Leeming <leeming@lyx.org>
5987 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5989 (ctor): pass and store a 'Buffer const &'
5990 (buffer): new member function.
5992 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5993 '*this' to the LaTeXFeatures ctor.
5995 2003-09-18 Angus Leeming <leeming@lyx.org>
6001 * text.C: rename EnumLColor as LColor_color.
6003 2003-09-18 Angus Leeming <leeming@lyx.org>
6005 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6006 remove #include "insets/insetbase.h" from cursor.h.
6008 2003-09-18 Angus Leeming <leeming@lyx.org>
6010 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6011 InsetOld_code to remove #include "inset.h".
6013 * iterators.C: add #include "insets/inset.h"
6015 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
6017 * BufferView.C: remove more locking stuff that apparently doesn't
6018 do anything sensible.
6020 2003-09-16 André Pönitz <poenitz@gmx.net>
6023 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6026 2003-09-16 Angus Leeming <leeming@lyx.org>
6028 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6030 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6033 * paragraph.h: remove #include "lyxfont.h". Forward declare
6036 2003-09-16 Angus Leeming <leeming@lyx.org>
6038 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6039 of support/textutils.h.
6040 (isWord): move the contents of support/textutils.h's IsWordChar here.
6046 * text2.C: add #include "paragraph.h".
6049 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6051 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6057 * LaTeX.C: use namespace alias for lyx::support::os
6059 2003-09-16 Angus Leeming <leeming@lyx.org>
6062 * bufferview_funcs.C:
6065 * paragraph_pimpl.C:
6067 * text.C: add #include "LColor.h".
6069 2003-09-16 Angus Leeming <leeming@lyx.org>
6071 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6072 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6074 Store the FontBits::color variable as an int rather than as an
6075 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6078 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6079 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6080 string calls together.
6082 * lyxrc.C: add #include "LColor.h".
6084 2003-09-15 Angus Leeming <leeming@lyx.org>
6086 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6089 2003-09-15 Angus Leeming <leeming@lyx.org>
6091 * LColor.h: add an EnumLColor wrapper for LColor::color.
6093 * lyxfont.[Ch] (color, setColor, realColor):
6094 * lyxtext.h, text.C (backgroundColor):
6095 pass EnumLColor args to/from the functions, rather than LColor::color
6099 * lyxtext.h: forward declare EnumLColor.
6101 * lyx_main.C: add #include "LColor.h".
6103 2003-09-15 Angus Leeming <leeming@lyx.org>
6105 * .cvsignore: add lyx-gtk.
6107 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6112 * ParagraphParameters.C
6116 * bufferview_funcs.C
6126 * vc-backend.C: remove usage of STRCONV
6128 2003-09-15 Angus Leeming <leeming@lyx.org>
6130 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6131 explicitly define the color passed to the painter.
6133 2003-09-15 Angus Leeming <leeming@lyx.org>
6135 * bufferparams.C (BufferParams): reorder member initializers to avoid
6138 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6140 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6141 * text.C (updateRowPositions): remove an unusual nop
6143 2003-09-12 André Pönitz <poenitz@gmx.net>
6145 * BufferView_pimpl.C:
6154 * Counters.[Ch]: finish the 'automatic counters' job
6156 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6158 * aspell.C: include <boost/assert.cpp> (compile fix)
6160 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6162 * boost.C (assertion_failed): use lyx::support::abort instead of
6165 2003-09-10 Angus Leeming <leeming@lyx.org>
6167 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6168 with their _fwd progeny.
6170 2003-09-09 Angus Leeming <leeming@lyx.org>
6172 134 files throughtout the source tree: replace 'using namespace abc;'
6173 directives with the appropriate 'using abc::xyz;' declarations.
6175 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6177 * boost.C (emergencyCleanup): moved here from LAssert.c
6178 (assertion_failed): new function, called by BOOST_ASSERT
6180 * several files: change Assert to BOOST_ASSERT
6182 2003-09-09 Angus Leeming <leeming@lyx.org>
6184 * buffer.[Ch]: Add an Impl class and move Buffer's member
6185 variables into it. As a result move several header files out of
6188 Add header files to lots of .C files all over the tree as a result.
6190 2003-09-09 Angus Leeming <leeming@lyx.org>
6192 * buffer.[Ch]: make Buffer's member variables private. Add
6195 Lots of changes all over the tree as a result.
6197 2003-09-08 Angus Leeming <leeming@lyx.org>
6199 * graph.C: #include <config.h>.
6201 2003-09-08 Angus Leeming <leeming@lyx.org>
6205 * BufferView_pimpl.C:
6234 * toc.C: remove redundant using directives.
6236 2003-09-07 Angus Leeming <leeming@lyx.org>
6238 * LaTeXFeatures.h: remove #include "support/types.h".
6239 * ToolbarBackend.h: remove #include <algorithm>.
6240 * changes.h: remove #include <ctime>.
6241 * debug.h: remove #include <iosfwd>.
6242 * graph.h: remove #include "support/std_string.h".
6243 * lyx_main.h: remove #include <csignal>.
6244 * lyxlex_pimpl.h: remove #include <fstream>.
6245 * sgml.h: remove #include <algorithm>, <utility>.
6246 * toc.h: remove #include "support/std_ostream.h".
6247 Add #include <iosfwd>.
6249 2003-09-07 Angus Leeming <leeming@lyx.org>
6251 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6253 * converter.h: forward declare LatexRunParams.
6254 * encoding.h: remove #include "lyxrc.h".
6255 * lyxtext.h: remove #include "LColor.h".
6256 * lyxtextclass.h: remove #include "support/types.h".
6257 * trans.h: remove #include "tex-accent.h".
6258 * trans_mgr.h: remove #include "tex-accent.h".
6259 * insets/inset.h: remove #include "support/types.h", <vector>.
6260 * insets/insetcollapsable.h: remove #include "LColor.h".
6261 * insets/insetinclude.h: remove #include "dimension.h".
6262 * insets/insetlatexaccent.h: remove #include "dimension.h".
6263 * insets/insetoptarg.h:: remove #include "insettext.h".
6264 * insets/insettext.h: remove #include "dimension.h",
6265 <boost/shared_ptr.hpp>
6267 * insets/renderers.h: add #include "dimension.h".
6268 * insets/updatableinset.h: add #include "support/types.h".
6270 * many .C files: Associated changes.
6272 2003-09-06 Angus Leeming <leeming@lyx.org>
6274 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6275 one, inside testInvariant.
6277 * PrinterParams.C: new file.
6278 * PrinterParams.[Ch]: move the function bodies out of line.
6280 2003-09-06 Angus Leeming <leeming@lyx.org>
6282 * ParagraphParameters.h: forward declare ParameterStruct rather than
6283 including its header file.
6284 (depth): moved out-of-line.
6286 2003-09-06 Angus Leeming <leeming@lyx.org>
6288 * BufferView_pimpl.h:
6291 * lyxfunc.h: forward declare LyXKeySym rather than
6292 #include "frontends/LyXKeySym.h".
6294 * BufferView_pimpl.C:
6297 * lyxfunc.C: associated changes.
6299 2003-09-06 Angus Leeming <leeming@lyx.org>
6301 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6302 As a result, can remove the #include "insets/inset.h" from BufferView.h
6304 2003-09-06 Angus Leeming <leeming@lyx.org>
6306 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6307 As a result, can remove the #include "insets/inset.h" from BufferView.h
6309 2003-09-06 Angus Leeming <leeming@lyx.org>
6315 * bufferview_funcs.C:
6316 * BufferView_pimpl.C:
6321 * ParagraphParameters.C:
6326 * frontends/controllers/ControlDocument.C:
6327 * insets/insetcaption.C: rearrange the #includes into some sort of
6330 * buffer.h: remove #includes ErrorList.h, undo.h
6332 2003-09-06 Angus Leeming <leeming@lyx.org>
6334 * support/types.h: add a 'depth_type' typedef, used to store the
6335 nesting depth of a paragraph.
6338 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6339 defining explicitly.
6342 * paragraph_funcs.h:
6343 * ParagraphParameters.h:
6344 * sgml.h: use lyx::depth_type rather than Paragraph or
6345 ParameterStruct's depth_type.
6348 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6351 * BufferView_pimpl.C:
6353 * ParagraphParameters.C:
6356 * bufferview_funcs.C:
6363 * frontends/LyXView.C:
6364 * frontends/controllers/ControlDocument.C:
6365 * frontends/controllers/ControlErrorList.C:
6366 * insets/insetbibitem.C:
6367 * insets/insetbranch.C:
6368 * insets/insetcaption.C:
6369 * insets/insetcollapsable.C:
6370 * insets/insetenv.C:
6371 * insets/insetert.C:
6372 * insets/insetfloat.C:
6373 * insets/insetfoot.C:
6374 * insets/insetfootlike.C:
6375 * insets/insetnewline.C:
6376 * insets/insetquotes.C:
6377 * insets/insettabular.C:
6378 * insets/insettext.C:
6379 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6381 * frontends/controllers/ControlChanges.C: #include "changes.h".
6383 2003-09-06 Angus Leeming <leeming@lyx.org>
6385 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6386 than #including paragraph.h.
6389 * RowList.h: deleted. Superfluous.
6399 * insets/insettext.h: use ParagraphList_fwd.h rather than
6402 * paragraph.h: don't forward declare ParagraphList.
6405 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6406 rather than ParagraphList.h. paragraph.h is still needed for the
6407 Paragraph::depth_type parameters.
6409 * textcursor.h: enable it to compile stand-alone in light of the
6412 * bufferview_funcs.C:
6424 * frontends/controllers/ControlParagraph.C:
6425 * frontends/controllers/ControlTabular.C:
6426 * insets/insetmarginal.C:
6427 * insets/insetminipage.C:
6428 * insets/insetnote.C:
6429 * insets/insetoptarg.C: add header files needed to compile again.
6431 2003-09-06 Angus Leeming <leeming@lyx.org>
6433 * RowList_fwd.h: new file, forward-declaring Row rather than
6434 #including lyxrow.h.
6439 * insets/insettext.h: use it instead of RowList.h
6441 * bufferview_funcs.C:
6448 * text3.C: #include "RowList.h".
6450 2003-09-05 Angus Leeming <leeming@lyx.org>
6452 * factory.C (createInset):
6453 * vspace.C (c-tor): replace sscanf call with an istringstream.
6454 * ispell.C: re-add missing HP/UX headers.
6455 * lyxserver.C: re-add missing os2 headers.
6457 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6466 * text3.C: re-add missing system headers, needed for 2.95.2.
6468 2003-09-05 Angus Leeming <leeming@lyx.org>
6470 Changes most place everywhere due to the removal of using directives
6471 from support/std_sstream.h.
6473 2003-09-05 Angus Leeming <leeming@lyx.org>
6475 Replace LString.h with support/std_string.h,
6476 Lsstream.h with support/std_sstream.h,
6477 support/LIstream.h with support/std_istream.h,
6478 support/LOstream.h with support/std_ostream.h.
6480 Changes resulting throughout the tree.
6482 2003-09-05 Angus Leeming <leeming@lyx.org>
6484 * sgml.h: ensure that the header file can be compiled stand-alone.
6485 * *.C: strip out redundant #includes. (320 in total.)
6487 2003-09-04 Angus Leeming <leeming@lyx.org>
6489 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6490 here (from getPackages).
6492 * debug.[Ch]: add a new EXTERNAL tag.
6494 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6496 * text2.C (cursorEnd): simplify
6498 (getColumnNearX): adjust
6500 * text.C (computeBidiTables): adjust
6503 * rowpainter.C (paintChars): adjust
6504 (paintSelection): adjust
6505 (paintChangeBar): adjust
6508 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6510 (numberOfSeparators): adjust
6512 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6518 * text3.C: Restricts the mouse click functionality
6519 of insets like bibtex, include, toc and floatlist to the visible
6520 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6521 up the dialogs. Cursor has to be in front of the inset (i.e.
6522 start of row) for this to function.
6524 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6526 * bufferview_funcs.C (currentState): output row information
6528 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6530 * bufferview_funcs.C (currentState): output paragraph position
6532 2003-09-04 Angus Leeming <leeming@lyx.org>
6534 * FloatList.h: move out #include "Floating.h".
6535 * LaTeX.h: move out #include "DepTable.h".
6536 * LyXAction.h: move out #include "funcrequest.h".
6537 * buffer.h: move out #include "author.h", "iterators.h".
6538 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6539 * lyx_main.h: move out #include "errorlist.h".
6540 * lyxfunc.h: move out #include "FuncStatus.h".
6541 * lyxtext: move out #include "lyxcursor.h".
6542 * paragraph_pimpl.h: move out #include "counters.h".
6544 2003-09-03 Angus Leeming <leeming@lyx.org>
6546 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6547 preamble_snippets list, enabling us to add snippets to the preamble
6548 only if the snippet was not there already.
6550 2003-09-04 Angus Leeming <leeming@lyx.org>
6552 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6554 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6556 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6559 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6561 * BranchList.C: point fix, earlier forgotten
6563 2003-09-02 Angus Leeming <leeming@lyx.org>
6565 * box.C (contains): renamed from 'contained' after a fantastic
6568 2003-09-02 John Levon <levon@movementarian.org>
6574 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6576 2003-09-02 John Levon <levon@movementarian.org>
6578 * text2.C: simplification of cursorEnd(), including partial
6581 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6583 * buffer.C (readFile): add a space
6585 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6587 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6589 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6591 * buffer.C (readFile): new function, take a filename and a
6592 ParagraphList::iterator
6594 (readFile): adjust, make it private. don't use setStream, make
6595 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6596 always contain the filename.
6598 * BufferView.C (insertLyXFile): simplify and make it work for
6601 2003-08-30 John Levon <levon@movementarian.org>
6603 * Makefile.am: fix dist (from Kayvan)
6605 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6607 * most files: change to use const Buffer refs
6609 2003-08-27 André Pönitz <poenitz@gmx.net>
6611 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6612 on top of ownerPar().
6614 2003-08-27 John Levon <levon@movementarian.org>
6616 * funcrequest.C: properly initialise POD members
6618 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6620 * lyxtext.h (top_y): move top_y from here
6625 * BufferView_pimpl.[Ch]: to here
6626 * frontends/screen.C:
6627 * insets/insettabular.C:
6628 * insets/insettext.C: adjust
6629 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6631 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6634 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6636 2003-08-26 André Pönitz <poenitz@gmx.net>
6638 * paragraph_func.[Ch] (outerPar): new function
6641 * paragraph_funcs.C:
6642 * paragraph_funcs.h:
6643 * paragraph_pimpl.C:
6644 * text2.C: remove Inset::par_owner
6646 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6651 * text2.C: eliminates the needFullRow/display() stuff
6652 altogether, putting the logic in metrics/draw in the insets.
6654 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6656 * text2.C (redoParagraphInternal, redoParagraphs):
6657 * text.C (redoParagraph): add a call to updateRowPositions at the
6658 end of each 'metrics-like' call. Remove all others.
6659 (getRow): remove the 'y-computing' version.
6660 (getRowNearY): do not compute nor return the real y. Solve the
6661 'y < 0' problem and simplify.
6663 2003-08-22 Angus Leeming <leeming@lyx.org>
6665 * *.[Ch]: clean-up of licence and author blurbs.
6666 Also move config.h out of a few .h files and into a few .C files.
6668 2003-08-22 André Pönitz <poenitz@gmx.net>
6670 * lyxrow.[Ch]: add x_ and *fill_ members
6675 * text2.C: adjust/remove prepareToPrint() calls
6677 2003-08-22 André Pönitz <poenitz@gmx.net>
6679 * lyxrow.[Ch]: add end_ member
6681 * lyxrow_funcs.C: use LyXRow::end_
6683 * lyxtext.h (singleWidth): add LyXFont parameter
6686 * text2.C: adjust LyXText::singleWidth() calls
6688 * text.C (redoParagraph): simplify row breaking logic
6691 2003-08-19 André Pönitz <poenitz@gmx.net>
6693 * funcrequest.C: initialize button_ member
6696 * rowpainter.[Ch]: interface consolidation
6698 2003-08-18 André Pönitz <poenitz@gmx.net>
6701 * BufferView_pimpl.C:
6703 * paragraph_funcs.C:
6705 * text3.C: remove LyXScreen::draw() and fitCursor calls
6707 * BranchList.h: remove spurious semicolons
6709 * MenuBackend.C: fix branchlist related crash
6711 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6719 * bufferparams.[Ch]:
6723 * text3.C: implements the 'branch inset'
6724 idea. This allows the output of various versions of a document
6725 from a single source version, selectively outputing or suppressing
6726 output of parts of the text.
6727 This implementation contains a 'branch list editor' in a separate
6728 tab of the document settings dialog. Branches are user definable
6729 and have a "display colour" to distinguish them on-screen.
6731 ColorHandler was somewhat cleaned up.
6732 (1) make possible a dynamically growing LColor list by allowing
6733 the graphic context cache to grow along (vector);
6734 (2) eliminate an IMHO unnecessary step in colour allocation.
6736 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6738 * BufferView_pimpl.C: compile fix
6740 2003-08-15 André Pönitz <poenitz@gmx.net>
6742 * rowpainter.C: remove extra metrics calls
6744 * lyxtext.h: merge the two constructors into a single one,
6745 pass reference to owner's par list
6747 * BufferView_pimpl.C:
6751 2003-08-15 André Pönitz <poenitz@gmx.net>
6753 * lyxrow_funcs.[Ch]:
6756 * paragraph_funcs.C:
6761 * text_funcs.C: split LyXText::rowlist_ into individual
6762 Paragraph::rows_ chunks
6765 * BufferView_pimpl.[Ch]:
6768 * text3.C: remove toggleSelection()
6770 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6772 * bufferlist.C: beautify two alerts (shorter text of buttons)
6773 * buffer.C: Remove redundant ' ' from message
6775 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6776 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6777 rename VALIGN_CENTER to VALIGN_MIDDLE
6779 2003-08-11 André Pönitz <poenitz@gmx.net>
6781 * lyxtext.h (getPar):
6782 * text.C: new function
6784 2003-08-11 André Pönitz <poenitz@gmx.net>
6787 * tracer.[Ch]: remove unneeded files
6789 * InsetList.[Ch]: remove resizeInsetsLyXText()
6794 * text3.C: merge insertParagraphs() and appendParagraph()
6795 remove breakAgain(), update()
6797 * BufferView_pimpl.[Ch]:
6798 * bufferview_funcs.[Ch]:
6802 * tabular.C: adjust after text & InsetList changes.
6804 2003-08-08 André Pönitz <poenitz@gmx.net>
6806 * text.C (insertChar, backspace): replace rowlist fiddling
6807 with rebreak of full par
6810 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6811 checkParagraph, updateInset): removed
6813 2003-08-07 André Pönitz <poenitz@gmx.net>
6816 * text3.C: merge some LFUN handlers, remove dead code
6818 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6820 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6822 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6824 * text2.C (DEPM): fix part of bug 1255 and 1256
6826 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6828 * BufferView_pimpl.C (workAreaDispatch): change to use
6829 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6830 that are no mouse related.
6832 2003-08-05 André Pönitz <poenitz@gmx.net>
6835 * BufferView_pimpl.[Ch]:
6836 * bufferview_funcs.C:
6838 * text3.C: rip out "deep update"
6840 * textcursor.[Ch] (last_sel_cursor): remove unused member
6842 2003-08-04 André Pönitz <poenitz@gmx.net>
6845 * BufferView_pimpl.[Ch]:
6846 * ParagraphParameters.C:
6847 * bufferview_funcs.C:
6853 * text3.C: replace "complicated" BufferView::update(...) calls with
6856 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6858 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6860 * Makefile.am (lyx_SOURCES): add paper.h
6862 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6864 * Makefile.am: move things around so that both lyx-qt and
6865 lyx-xforms can be built (according to --with-frontend). Then lyx
6866 is a symbolic link to lyx-[firstfrontend]
6868 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6870 * Always use std::endl with lyxerr
6872 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6874 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6876 2003-08-01 André Pönitz <poenitz@gmx.net>
6879 * BufferView_pimpl.[Ch]:
6881 * text3.C: merge BufferView::repaint() and BufferView::update()
6883 2003-08-01 José Matos <jamatos@lyx.org>
6885 * buffer.[Ch]: file_format is no longer a buffer data element.
6887 2003-08-01 André Pönitz <poenitz@gmx.net>
6892 * text2.C: make redoParagraph more independent of current cursor
6894 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6896 * text2.C: remove unneeded members
6898 2003-07-30 André Pönitz <poenitz@gmx.net>
6900 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6902 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6903 create a single function...
6905 * paragraph_funcs.C (moveItem): ... here.
6908 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6910 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6912 * LColor.[Ch]: Add comment and greyedout logical colors.
6914 2003-07-30 André Pönitz <poenitz@gmx.net>
6916 * tabular.C: don't use Assert too heavily. This crashes where it
6919 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6921 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6922 is disabled (bug 1232)
6924 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6926 * factory.C: limited 'arg' scope
6928 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6930 * factory.C: fixed Note submenu issues
6932 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6934 * factory.C: submenu for Note/Comment/Greyedout
6936 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6939 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6941 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6944 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6945 greyedout. Patch provided by Jürgen Spitzmüller.
6947 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6949 * kbmap.C (read): fix error message when reading bind files
6951 2003-07-29 Angus Leeming <leeming@lyx.org>
6953 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6954 certainly does not do what it purports to do. I am doing it, and
6955 us, a favour by killing it.
6957 2003-07-28 José Matos <jamatos@lyx.org>
6959 * buffer.C (readBody, do_writeFile):
6960 * paragraph.C(readParagraph): \end_document replaces \the_end.
6962 2003-07-29 André Pönitz <poenitz@gmx.net>
6965 * BufferView_pimpl.[Ch]:
6969 * textcursor.[Ch]: remove toggleToggle & Co
6971 2003-07-28 José Matos <jamatos@fep.up.pt>
6973 * buffer.C (readParagraph):
6974 * params_func (readParToken, readParagraph):
6975 * paragraph.C (write): \layout -> \begin_layout.
6977 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6979 * lyxlex_pimpl.C (setFile): clean up slightly.
6981 * bufferparams.h: add compressed var
6983 * buffer_funcs.C (readFile): adjust for LyXLex change
6984 (newFile): ditto + simplify
6986 * buffer.C (writeFile): handle writing of compressed files
6988 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6989 Check if the file is compressed and set a bufferparm if so.
6991 * Makefile.am (lyx_LDADD): remove explicit -lz
6993 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6995 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6996 makeDocBookFile): put the real LyX version in the first line of
7000 * version.C.in: remove lyx_docversion
7002 * tabular.C (write_attribute): add a template-based version to
7003 write enums properly
7005 2003-07-28 André Pönitz <poenitz@gmx.net>
7010 * text3.C: use doubles again for x-coordinates. They are needed.
7012 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7014 * messages.C (getLocaleDir): use lyx_localedir()
7016 * lyxlex_pimpl.C (setFile): compress stuff
7018 * buffer.C (writeFile): add some compression stuff
7019 (do_writeFile): new func, dont call expliti close... will this
7022 * Makefile.am (lyx_LDADD): add -lz
7024 2003-07-28 José Matos <jamatos@fep.up.pt>
7026 * buffer.C: increment file format.
7027 * paragraph_funcs (readParagraph, readParToken):
7028 * paragraph.C (readParagraph): add \end_layout.
7030 2003-07-27 Angus Leeming <leeming@lyx.org>
7032 * Makefile.am: remove special casing for configure-time setting of
7033 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7035 * lyx_main.C (init): remove all Jean-Marc's magic setting of
7036 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7038 2003-07-26 André Pönitz <poenitz@gmx.net>
7040 * paragraph_func.[Ch]:
7041 * paragraph.C (realizeFont): inline it whereever it is used
7046 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7049 2003-07-26 André Pönitz <poenitz@gmx.net>
7053 * text2.C: get rid of LyXText::need_break_row
7055 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7057 * toc.[Ch]: put namespace toc inside namespace lyx
7059 * MenuBackend.C (expandToc2): adjust for lyx::toc
7062 * lyxfunc.C (dispatch): adjust for lyx::find
7064 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7065 lyx::find instead. Reorganize a bit.
7066 (LyXReplace): rename to replace
7067 (LyXFind): rename to find
7069 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7072 2003-07-26 André Pönitz <poenitz@gmx.net>
7074 * text.C (setHeightOfRow): restrict scope of temporary variable
7076 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7077 code (never has been used?)
7079 2003-07-27 Asger Alstrup <alstrup@local>
7081 * text.C (fill): Optimise algorithm to exploit that we can reuse
7082 the LyXFont for many characters.
7083 (setHeightOfRow): Same thing.
7084 (rowBreakPoint): Same thing.
7086 2003-07-26 Asger Alstrup <alstrup@local>
7088 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7090 * text.C (singleWidth): Spurious font copying in hot-spot
7091 singleWidth avoided. Reorder tests for arabic for efficiency.
7093 * text.C (fill): handle empty paragraphs better.
7095 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7098 * encoding.h: add includes
7100 * lyxrc.C: remove reading of bind files
7102 * lyx_main.C (init): setup bindings and menus only if we have a
7105 * kbmap.C (read): new method. Do the actual reading of bind
7108 * converter.C (dvipdfm_options):
7111 (output): adapt PAPER_* enums.
7113 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7115 * bufferparams.h: remove paper-related enums from there
7117 * paper.h: New file. A trivial header file to hold paper-related
7118 enums. It should later expand to contain many paper-related
7121 * lyxrc.C: declare extern displayTranslator
7123 2003-07-27 José Matos <jamatos@fep.up.pt>
7125 * tabular.[Ch] (linuxdoc): add support for tables and figures
7128 2003-07-27 José Matos <jamatos@fep.up.pt>
7130 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7131 consistency in both functions.
7132 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7134 2003-07-26 Asger Alstrup <alstrup@local>
7136 * rowpainter.C (paintRows): Change algorithm to work directly on
7137 the insets rather than asking every character in the document
7138 whether its an inset.
7140 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7142 * buffer.C (openFileWrite): factorize some code
7144 2003-07-26 Angus Leeming <leeming@lyx.org>
7147 * lyx_main.[Ch]: replace occurances of system_tempdir with
7150 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7152 * rename Inset to InsetOld
7154 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7156 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7157 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7158 which I think is a bit clearer. EDIT is gone, since it was
7159 premature optimisation, and broken for mathed anyway.
7160 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7161 with cursor positioning in insets as well (math insets still do not
7162 work, but that's a different story anyway.) It mysteriously
7163 crashes sometimes with undo in the first paragraph, but I'm fairly
7164 confident that this is a compiler bug.
7166 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * paragraph.C (Paragraph): adjust for new clone return type
7170 (copyIntoMinibuffer): ditto
7172 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7174 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7175 by not having a special case, and always doing a full rebreak of
7176 the document after undo.
7178 2003-07-23 Angus Leeming <leeming@lyx.org>
7180 * factory.C (createInset): InsetExternal::setParams now takes a
7183 2003-07-23 Angus Leeming <leeming@lyx.org>
7185 * factory.C (createInset): changed interface to the external and
7186 graphics mailers' string2params functions.
7188 2003-07-23 Angus Leeming <leeming@lyx.org>
7190 * factory.C (createInset): pass a
7191 Buffer const * parameter to InsetExternalMailer's string2params.
7193 2003-07-22 John Levon <levon@movementarian.org>
7195 * Thesaurus.h: include the right aiksaurus header
7197 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7199 * MenuBackend.C (expand): check menu shortcuts unconditionally
7201 2003-07-21 Angus Leeming <leeming@lyx.org>
7203 * factory.C (createInset): pass a
7204 buffer_path parameter to InsetGraphicsMailer's string2params.
7206 2003-07-21 Angus Leeming <leeming@lyx.org>
7208 * BufferView_pimpl.C (buffer):
7211 * lyxfunc.C (dispatch):
7212 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7213 rather than the grfx shortcut.
7215 2003-07-21 André Pönitz <poenitz@gmx.net>
7217 * rowpainter.C: remove unused variables
7220 * tabular_funcs.h: move to tabular.C
7221 * Makefile.am: adjust
7223 * tabular.[Ch]: basic optical cleaning
7225 * author.h: pass references, not values
7227 2003-07-18 André Pönitz <poenitz@gmx.net>
7235 * text3.C: two-phase drawing for InsetText and InsetTabular
7236 some float -> int changes.
7238 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7240 * lyx_main.C: fix the fix
7242 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7244 * lyx_main.C: fix a crash in batch mode if no files specified
7247 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7249 * format.[Ch] (papersize): moved to BufferParams
7250 * converter.[Ch] (dvips_options): moved to BufferParams
7251 (dvipdfm_options): moved to anon namespace
7252 * bufferparams.[Ch]: added above functions.
7254 2003-07-17 André Pönitz <poenitz@gmx.net>
7258 * text2.C: don't call inset->update() anymore
7260 * metricsinfo.[Ch]: add convenience constructor
7262 2003-07-16 André Pönitz <poenitz@gmx.net>
7267 * text2.C: replace the LyXCursor::irow_ member with
7268 on-demand computation of the value
7270 2003-07-16 John Levon <levon@movementarian.org>
7272 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7274 2003-07-15 André Pönitz <poenitz@gmx.net>
7277 * text2.C: remove no more needed refresh_row
7279 2003-07-15 André Pönitz <poenitz@gmx.net>
7284 * text3.C: refresh_status tristate -> need_update bool
7286 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7288 * lyxtext.h (init): remove reinit argument (act as if always true)
7289 * text2.C: adjust to that
7291 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7293 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7294 * text3.C: use it to delete selections in some cases
7295 (bugs 441, 673, 702, 954).
7297 2003-07-14 André Pönitz <poenitz@gmx.net>
7299 * rowpainter.[Ch]: reduce interface
7301 2003-07-14 André Pönitz <poenitz@gmx.net>
7303 * BufferView_pimpl.C:
7304 * text2.C: adjust after removing unused BufferView * argument
7306 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7308 * text2.C (init): fix a crash fired on resize
7310 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7312 * buffer.[Ch]: added new closing signal
7313 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7314 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7315 BufferView::Pimpl via the closing the signal
7317 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7319 * buffer.[Ch]: take out all bv-related from buffer
7321 * BufferView_pimpl.[Ch]: connect to new signals
7322 * CutAndPaste.C: removed useless asserts
7323 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7326 * lyxfunc.C: moved view-related funciontality from vc here
7327 * paragraph.C: removed outdated comments
7330 2003-07-10 André Pönitz <poenitz@gmx.net>
7332 * BufferView_pimpl.C:
7336 * text2.C: remove InsetText::InnerCache, clean up consequences
7338 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7340 * ispell.C: fix two typos in error messages
7342 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7344 * Extend Note inset to other forms of annotation like Comment
7345 and Greyedout. Right button click gives dialog.
7347 Files modified or added (+):
7351 * ControlNote.[Ch] +
7353 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7354 frontends/controllers
7358 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7360 * aspell.C: add missing namespace lyx::support
7362 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7364 * BufferView.[Ch] (newFile): Add
7365 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7366 * LaTeX.[Ch] (message): added this signal and use it
7367 * buffer.[Ch] (busy, message): added these signals and use them
7368 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7372 * importer.C: use buffer signals instead of direct bv calling
7373 * lyx_cb.[Ch] (ShowMessage): removed
7376 * paragraph_funcs.C:
7377 * text2.C: use buffer signals
7379 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7381 * introduce namespace lyx::graphics
7383 2003-07-02 André Pönitz <poenitz@gmx.net>
7385 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7387 2003-07-01 André Pönitz <poenitz@gmx.net>
7394 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7395 text*.C to text_func.C
7397 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7399 * introduce namespace lyx::support
7401 2003-06-30 André Pönitz <poenitz@gmx.net>
7406 * text.C: re-enable --with-included-string
7408 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7410 * textcursor.C: add <config.h>
7412 * text.C (getWord): remove const from word_location arg
7414 * lyxvc.C (getLogFile): fix const type order
7416 * lyxtext.h: remove const from word_location arg, add arg name
7418 * lyxlayout.h: currect type on labeltype.
7420 * importer.C: correct \file
7422 * converter.C (intToFormat): use std:: on ret val, ws changes
7424 * bufferlist.h: correct \file
7426 * buffer.C (makeLinuxDocFile): fix const type order
7427 (makeDocBookFile): ditto
7428 (fillWithBibKeys): use std:: on stdlib args.
7430 * CutAndPaste.C: fix authors.
7431 (availableSelections): use std:: on return vector
7433 2003-06-27 André Pönitz <poenitz@gmx.net>
7435 * BufferView_pimpl.C:
7436 * bufferview_funcs.C:
7444 * text3.C: remove LyXCursor::row_ member
7447 * text.C: rename fullRebreak() to partialRebreak() and implement
7448 a fullRebreak() that really bereks fully
7450 * textcursor.h: new struct for cursor-related data
7452 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7454 * lyx_main.C (LyX): get full path of document loaded on the
7457 2003-06-26 André Pönitz <poenitz@gmx.net>
7459 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7460 remove unused/broken operator>,<,>=.
7462 * text.C: remove only use of broken operator<= in an Assert().
7464 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7466 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7467 moved errorlist_.clear to showErrorList
7469 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7471 * converter.C (scanLog, runLaTeX):
7472 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7473 move the bv->showErrorList call to the callers
7474 * lyxfunc.C: i.e. here...
7476 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7477 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7478 namespace, the second to...
7479 * buffer_funcs (BufferFormat, parseErrors): added
7480 * errorlist.C (ErrorList(TeXErrors const &)): removed
7482 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7484 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7486 2003-06-24 "Garst R. Reese" <reese@isn.net>
7490 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7492 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7494 * version.C.in: change docversion to 1.4
7496 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7498 * buffer.C: fix a bug just introduced
7500 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7502 * buffer.[Ch]: added the parseError signal and use it, removed
7504 * BufferView.[Ch] (addError): moved to ...
7505 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7506 to the Buffer::parseError signal to catch (guess what) parse errors
7507 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7509 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7511 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7512 ability to create a buffer and to return an existing one from
7513 the list. Moved these functions to...
7514 * buffer_funcs.[Ch]: added
7515 * BufferView.[Ch] (loadLyXFile): added
7516 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7517 job removed from bufferlist::loadLyXFile.
7518 * buffer.C (setReadOnly): make it work without view
7519 (i.e added an if (users))
7521 2003-06-19 Angus Leeming <leeming@lyx.org>
7524 * LyXAction.C (init):
7525 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7526 with LFUN_DIALOG_SHOW <name> <data>.
7528 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7530 * CutAndPaste.C (availableSelections): small compilation fix for
7531 ancient (gcc 2.9x) compilers
7533 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * text3.C (cursorNext): add tmp var
7537 * text2.C (updateCounters): for function calling out of for clause
7538 (replaceSelectionWithString): ditto
7539 (insertStringAsParagraphs): ditto
7540 (getColumnNearX): add tmp var
7541 (setCursorFromCoordinates): add tmp var
7542 (cursorDownParagraph): add tmp var
7543 (deleteEmptyParagraphMechanism): add tmp var
7545 * text.C (insertChar): add tmp var
7547 * rowpainter.C (paintDepthBar): add tmp var
7549 * CutAndPaste.C (availableSelections): potentially check all
7550 paragraphs in a cut to fill the shown strings.
7552 2003-06-18 André Pönitz <poenitz@gmx.net>
7554 * kbmap.[Ch]: use vector<> instead of list<>
7556 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7558 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7559 pasteSelection with index
7561 * text2.C (pasteSelection): modify, call pasteSelection with index
7563 * paragraph.C (asString): reimplement version with no interval to
7564 call the one with interval.
7566 * lyxtext.h: add index arg to pasteSelection
7568 * MenuBackend.C (MenuItem): handle PasteRecent
7569 (Menu::read::Menutags): add md_pasterecent
7571 (expandPasteRecent): new function
7574 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7576 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7578 (availableSelections): new function
7580 2003-06-17 Angus Leeming <leeming@lyx.org>
7582 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7584 2003-06-17 Angus Leeming <leeming@lyx.org>
7587 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7589 * lyxfunc.C (dispatch): invoke it.
7591 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7593 * iterators.C (operator++, ParPosition): reintroduce some
7594 const_cast for the benefit of older compilers.
7596 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7598 * text3.C (dispatch): do not modify clipboard when doing
7599 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7600 LFUN_DELETE_SKIP on a selection selection
7602 2003-06-16 André Pönitz <poenitz@gmx.net>
7608 * tabular.[Ch]: IU of clone() and getLabelList();
7610 2003-06-13 André Pönitz <poenitz@gmx.net>
7612 * tabular.h: compactification
7614 2003-06-12 André Pönitz <poenitz@gmx.net>
7618 * tabular_funcs.h: some renaming plus whitespace
7620 2003-06-12 André Pönitz <poenitz@gmx.net>
7623 * BufferView_pimpl.C:
7629 * toc.C: Return a Paragraph & for ParIterator::operator*()
7631 2003-06-11 John Levon <levon@movementarian.org>
7635 * ToolbarBackend.C: add "Toolbars" section and
7638 2003-06-10 Angus Leeming <leeming@lyx.org>
7641 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7643 * lyxfunc.C (dispatch): invoke it.
7645 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7647 * main.C: protect <ios> with HAVE_IOS
7648 (main): protect sync_with_stdio with HAVE_IOS
7650 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7652 * text2.C (cutSelection): adjust
7653 (pasteSelection): adjust
7655 * messages.C: handle get of empty string
7657 * main.C (main): use sync_with_stdio(false)
7659 * lyxfunc.C (dispatch): adjust
7661 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7662 (WriteAs): remove unneeded BufferView arg.
7664 * bufferparams.h: use correct types on papersize, papersize2 and
7667 * bufferparams.C (readToken): adjust for type
7668 (writeLaTeX): add missing cases to switch.
7670 * bufferlist.C (quitWriteBuffer): adjust
7673 * buffer.C (asciiParagraph): remove some commented code.
7675 * CutAndPaste.C: remove current_view extern variable.
7676 (cutSelection): add BufferParams arg.
7677 (eraseSelection): add BufferParams arg.
7678 (pasteSelection): add Buffer const & arg
7680 2003-06-07 John Levon <levon@movementarian.org>
7683 * paragraph_funcs.C:
7684 * paragraph_pimpl.C:
7688 * paragraph.C: allow InsetERT to freely space lines,
7689 and some consolidation of code
7691 2003-06-06 José Matos <jamatos@fep.up.pt>
7693 * buffer.C (makeDocBookFile): fix bug #821
7695 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7697 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7699 2003-06-04 Angus Leeming <leeming@lyx.org>
7701 * buffer.C: bump format to 224.
7703 2003-06-05 André Pönitz <poenitz@gmx.net>
7705 * text2.C (redoParagraphs): remove two const_cast<>
7707 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7709 * ParagraphList.h: remove last remnants of NO_STD_LIST
7711 2003-06-03 Angus Leeming <leeming@lyx.org>
7713 * factory.C (createInset): small change to the way InsetExternal's params
7716 2003-06-04 André Pönitz <poenitz@gmx.net>
7718 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7720 * paragraph_pimpl.h:
7721 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7723 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7725 * undo_funcs.C: make some simple cases of undo work again
7727 2003-06-03 John Levon <levon@movementarian.org>
7729 * ispell.C: HPUX doesn't have sys/select.h
7732 2003-06-03 John Levon <levon@movementarian.org>
7734 * CutAndPaste.C: update tabular and include inset
7739 * paragraph.C: remove owningBuffer(), don't pass Buffer
7742 * factory.C: insetGraphicsParams changed
7744 2003-06-02 John Levon <levon@movementarian.org>
7750 * text3.C: remove insetparent
7752 2003-06-02 John Levon <levon@movementarian.org>
7755 * buffer.C: fix inset_iterator.end(), move out of line
7758 2003-06-01 John Levon <levon@movementarian.org>
7760 * text3.C: use a proper cut/paste when doing inset
7761 insert (from Jürgen Spitzmüller)
7763 2003-06-01 John Levon <levon@movementarian.org>
7765 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7767 2003-05-30 André Pönitz <poenitz@gmx.net>
7769 * rowpainter.C: unify second drawing phase
7771 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7773 * trans_mgr.C: remove one case of current_view
7775 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7777 * paragraph_funcs.h: remove paragraph.h include
7779 * paragraph.h: delete NO_STD_LIST stuff
7781 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7783 * buffer.h: remove paragraph.h include
7785 * ParagraphList.C: delete file
7787 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7789 * toc.C (getTocList): adjust
7791 * paragraph_pimpl.C (validate): adjust
7793 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7795 * paragraph.C (Paragraph): adjust
7796 (getPositionOfInset): use const_iterator, adjust
7797 (bibitem): use const_iterator, adjust
7798 (setInsetOwner): adjust
7800 * iterators.C (operator++): adjust
7802 * InsetList.[Ch]: Replace selfmade iterator with standard
7803 vector::iterator also introduce const_iterator. Remove getPos,
7804 getInset and setInset from InsetTable. Adjust accordingly.
7806 * BufferView.C (lockInset): adjust
7807 (ChangeInsets): adjust
7809 * tabular.[Ch]: delete commented same_id functions
7811 2003-05-28 John Levon <levon@movementarian.org>
7813 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7815 2003-05-28 André Pönitz <poenitz@gmx.net>
7817 * metricsinfo.[Ch]: remove 'fullredraw' member
7819 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7821 * lyxtextclass.C (operator): remove caching.
7823 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * text2.C (cursorBottom): adjust
7828 (setCounter): use ParagraphList::find, adjust
7830 * text.C (workWidth): use ParagraphList::find, adjust
7832 * lyxcursor.C (LyXCursor): adjust
7834 * buffer.C (inset_iterator): adjust
7836 * ParagraphList.h: make iterator(value_type) private, make
7837 ParagraphList a friend of iterator.
7839 * ParagraphList.C (find): new function
7841 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7843 2003-05-27 André Pönitz <poenitz@gmx.net>
7845 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7847 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7849 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7851 2003-05-26 John Levon <levon@movementarian.org>
7853 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7855 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7857 * remove same_id from function signatures, adjust.
7859 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7861 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7863 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7865 * paragraph.C (Paragraph): get rid of same_ids parameter
7867 * ParagraphList.C (insert): adjust
7870 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * paragraph_funcs.C (breakParagraph): adjust
7873 (breakParagraphConservative): adjust
7875 * buffer.C (readParagraph): adjust
7877 * ParagraphList.C (insert): take a reference instead of a pointer
7880 * paragraph.[Ch] (id): new function
7882 * bufferlist.C (newFile): adjust
7884 * ParagraphList.C (ParagraphList): adjust
7886 (push_back): take a reference instead of a pointer.
7888 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7890 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7893 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7894 set else use old code.
7896 * ParagraphList.C: remove all NO_NEXT code and only compile this
7897 code of NO_STD_LIST is set.
7899 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7901 * BufferView_pimpl.C:
7911 * graphics/GraphicsConverter.C:
7912 * graphics/PreviewLoader.C: header adjustment
7914 2003-05-23 Angus Leeming <leeming@lyx.org>
7916 * LaTeXFeatures.[Ch] (useBabel): new method.
7917 * bufferparams.C (writeLaTeX): use it.
7919 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7921 * ParagraphList.h (set): remove unused function.
7923 2003-05-23 André Pönitz <poenitz@gmx.net>
7926 * BufferView_pimpl.C:
7930 * undo_funcs.C: setUndo reworked
7932 * iterators.[Ch]: add access to topmost ParagraphList
7934 * lyxtext.[Ch] (workWidth): add a const
7936 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7938 * texrow.[Ch] (increasePos): remove function
7939 * exporter.C (export): removed unused var and outdated comment
7941 2003-05-23 Angus Leeming <leeming@lyx.org>
7943 * latexrunparams.h: rename fragile as moving_arg.
7944 * paragraph.C (simpleTeXOnePar): ditto.
7945 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7947 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7949 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7951 (textUndoOrRedo): comment out a currently unused var.
7953 * paragraph.h (NO_NEXT): enable NO_NEXT
7955 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7957 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7959 * exporter.C (Export): adjust for removeAutoInsets removal.
7961 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7963 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7965 * BufferView.[Ch] (removeAutoInsets): delete function
7967 2003-05-22 Angus Leeming <leeming@lyx.org>
7969 * latexrunparams.h: add a free_spacing variable.
7971 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7972 to pass moving_arg, as the data is stored in runparams.fragile.
7974 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7975 to Inset::latexOptional or to simpleTeXOnePar.
7977 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7978 free_spacing arg to Inset::latexOptional.
7980 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7983 2003-05-22 Angus Leeming <leeming@lyx.org>
7985 * latexrunparams.h: add fragile and use_babel variables.
7987 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7988 * buffer.C (makeLaTeXFile): store this returned value in
7989 runparams.use_babel, thus passing it to the inset::latex methods.
7991 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7992 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7994 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7995 longer has a fragile arg, as it is stored in runparams.fragile.
7997 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7998 moving_arg parameter as the data is stored in runparams.fragile.
8000 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8001 a fragile parameter as the data is stored in runparams.fragile.
8003 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8005 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8007 2003-05-22 Angus Leeming <leeming@lyx.org>
8009 * latexrunparams.h: add a 'bool nice' which defaults to false.
8011 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8012 now encapsulated within runparams.
8014 * bufferlist.C (updateIncludedTeXfiles):
8015 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8017 2003-05-22 Angus Leeming <leeming@lyx.org>
8019 * latexrunparams.h: new file containing struct LatexRunParams.
8020 * Makefile.am: add new file.
8022 * LaTeX.[Ch] (c-tor, run):
8023 * buffer.[Ch] (makeLaTeXFile):
8024 * bufferlist.[Ch] (updateIncludedTeXfiles):
8025 * converter.C (convert, scanLog):
8026 * converter.[Ch] (runLaTeX):
8027 * exporter.C (Export):
8028 * paragraph.[Ch] (simpleTeXOnePar):
8029 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8030 * paragraph_funcs.[Ch] (latexParagraphs):
8031 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8032 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8033 pass around a LatexRunParams parameter.
8035 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8037 * paragraph.[Ch]: remove unused constructor
8039 * ParagraphList.C (erase): new function, taking two iterators
8041 2003-05-22 André Pönitz <poenitz@gmx.net>
8043 * undo_funcs.C: remove duplicated code
8045 * iterator.[Ch]: operator=
8047 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * tabular.C (SetMultiColumn): ws changes
8051 * rowpainter.C (paintFirst): get rid of a ->previous
8053 * lyx_cb.C (getPossibleLabel): parlist simplification
8055 * BufferView.C (ChangeInsets): simplify slightly.
8057 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8059 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8060 * lfuns.h: new LFUN_SPACE
8061 * lyxfunc.C: protected space has a new lfun
8062 * paragraph_funcs.C: read new space insets
8064 * factory.C: handle new space insets
8066 2003-05-22 André Pönitz <poenitz@gmx.net>
8069 * BufferView_pimpl.C:
8072 * undo_funcs.C: return a ParIterator from getParFromID.
8074 * iterators.[Ch]: add two const's
8076 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8078 * toc.C (getTocList): adjust
8080 * iterators.[Ch]: rework for parlist
8082 * buffer.C (par_iterator_begin): adjust
8083 (par_iterator_end): adjust
8085 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8087 * BufferView.C (removeAutoInsets): adjust
8088 (ChangeInsets): adjust
8090 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8092 * text.C (top_y): fix bug 1110
8094 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8096 * errorlist.[Ch]: added
8099 * BufferView_pimpl.C:
8100 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8103 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * Makefile.am: ensure that lyx is relinked upon changes to the
8106 various "convenience" libs.
8108 2003-05-20 Angus Leeming <leeming@lyx.org>
8110 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8111 files are compiled in alphabetical order again.
8113 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8115 2003-05-19 Angus Leeming <leeming@lyx.org>
8117 * gettext.[Ch]: remove "char const * _(char const *)".
8119 2003-05-19 André Pönitz <poenitz@gmx.net>
8121 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8130 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8132 2003-05-19 André Pönitz <poenitz@gmx.net>
8136 * lyxtextclass.[Ch]:
8138 * paragraph_funcs.[Ch]:
8140 * text3.C: more insetenv work
8142 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8144 * ParagraphParameters.C (params2string): small bug fixed
8146 2003-05-16 André Pönitz <poenitz@gmx.net>
8149 * bufferview_funcs.C: patch from Kornel Benko to prevent
8150 crash when _(...) is called twice in a statement
8152 2003-05-16 André Pönitz <poenitz@gmx.net>
8159 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8161 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8163 * lyx_main.C (init): remove spurious static_cast
8165 2003-05-14 André Pönitz <poenitz@gmx.net>
8167 * BufferView.C: fix format string
8169 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8171 * BufferView.[Ch] (insertErrors): removed
8172 * BufferView.[Ch] (showErrorList): added
8173 * buffer.C (runChkTeX):
8174 * converter.C (scanLog): call showErrorList instead of inserterrors
8176 2003-05-13 André Pönitz <poenitz@gmx.net>
8178 * BufferView_pimpl.C:
8180 * bufferview_func.C:
8187 * tabular_funcs.h: tostr() from its own header
8189 * ParagraphParameters.C:
8194 * text3.C: STRCONV()
8196 2003-05-12 André Pönitz <poenitz@gmx.net>
8199 * BufferView_pimpl.C:
8203 * ParagraphParameters.C:
8207 * bufferview_funcs.C:
8220 * paragraph_funcs.C:
8224 * text3.C: boost::format -> bformat all over the place
8227 2003-05-09 André Pönitz <poenitz@gmx.net>
8229 * LColor.[Ch]: Pimpl the #include <map> away
8231 2003-05-09 John Levon <levon@movementarian.org>
8233 * bufferlist.C: never remove emergency saves
8235 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8237 * Makefile.am: better lib building
8239 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8241 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8243 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8244 (simpleTeXSpecialChars): adjust
8245 (simpleTeXSpecialChars): adjust
8246 * paragraph.C (simpleTeXOnePar): adjust
8247 * buffer.C (makeLaTeXFile): adjust
8249 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8251 * text2.C (changeDepth): parlist cleanup
8252 (getColumnNearX): ditto
8254 * rowpainter.C (getLabelFont): parlist cleanup
8256 * bufferlist.C (newFile): parlist cleanup
8258 * CutAndPaste.C (eraseSelection): parlist cleanup
8260 * BufferView_pimpl.C (trackChanges): parlist cleanup
8263 * BufferView.C (lockInset): parlist cleanup.
8264 (ChangeInsets): ditto
8266 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8268 * CutAndPaste.h: Update file header.
8270 * CutAndPaste.C: Update file header.
8271 Store the parts cut out of the Document in a limited_stack.
8272 (copySelection): adjust
8273 (pasteSelection): new function, takes the index in the limited stack.
8274 (nrOfParagraphs): adjust
8275 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8276 simplify error inset insertion.
8277 (checkPastePossible): adjust
8279 2003-05-06 John Levon <levon@movementarian.org>
8281 * text2.C: don't cast wrap inset to float
8283 2003-05-05 André Pönitz <poenitz@gmx.net>
8286 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8288 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8289 few naked Paragraph *.
8291 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8293 * bufferparams.C: Output warning if a document with missing
8294 TeX document class is loaded
8295 * exporter.C: Disable TeX exports if the document class is missing
8298 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8299 isTeXClassAvailable()
8301 2003-05-03 John Levon <levon@movementarian.org>
8304 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8305 explicit cursor show/hide
8307 * BufferView_pimpl.h:
8308 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8309 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8311 * lyxfunc.C: hide cursor before dispatching.
8316 * text3.C: remove explicit cursor hides
8318 2003-05-02 André Pönitz <poenitz@gmx.net>
8320 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8323 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8326 * text2.C: tiny whitespace
8328 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8330 * undo_funcs.C: almost only ws changes.
8332 * ParagraphList.C (splice): just return if pl is empty.
8334 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8336 * ParagraphList.C (splice): new function.
8338 * CutAndPaste.C (pasteSelection): use it
8340 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8342 * CutAndPaste.C (pasteSelection): remove the last next and
8343 previous from this file.
8345 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8347 * CutAndPaste.C (pasteSelection): more clean up, user proper
8348 ParagraphList functions for pasteing.
8350 * ParagraphList.C (insert): new function, three arg insert
8352 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8354 * ParagraphList.C (insert): new function, three arg insert
8356 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8359 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8361 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8363 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8365 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8367 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8369 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8370 (copySelection): clean up a bit.
8371 (pasteSelection): use make_pair
8373 * ParagraphList.C (ParagraphList): implement copy constructor
8374 (operator=): implement, base on copy constructor.
8377 * paragraph.C (erase): return a bool
8379 * paragraph_pimpl.C (erasePos): remove function, move contents...
8380 (erase): ... here. Return a bool.
8381 (erase): call erase instead of erasePos.
8383 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8385 * ParagraphList.h: define PitPosPair
8386 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8387 ParagraphList, fix a bug on pasting multiple pars
8388 * text2.C: change interface to C&P
8390 2003-04-30 André Pönitz <poenitz@gmx.net>
8392 * undo_func.C: revert part of yesterday's patch 2
8394 2003-04-30 John Levon <levon@movementarian.org>
8396 * LColor.C: s/tabular/table/
8398 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8400 * text3.C (dispatch): do not convert iterator -> pointer
8401 * undo_funcs.C (setCursorParUndo): ditto
8402 * text_funcs.C (transposeChars): ditto
8404 * text2.C (setLayout): ws changes only
8406 * text.C (breakParagraph): do not convert iterator -> pointer
8408 (acceptChange): ditto
8409 (rejectChange): ditto
8414 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8417 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8419 * text3.C (gotoInset): YABG (yet another bad getChar)
8421 2003-04-29 André Pönitz <poenitz@gmx.net>
8423 * paragraph.h: make operator= private unimplemented as long as
8426 * ParagraphList.C: whitespace
8429 * paragraph_pimpl.[Ch]:
8430 * paragraph_funcs.C:
8432 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8435 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8437 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8439 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8440 * paragraph.[Ch] (erase):
8441 * paragraph_pimpl.[Ch] (erase): change return type and value
8442 * text2.C (cutSelection): some rework
8444 2003-04-28 John Levon <levon@movementarian.org>
8446 * bufferlist.C: changes for unsaved changes dialog
8448 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8450 * bufferlist.C (newFile): set language (messages_) for new
8453 * buffer.C (readFile): ws changes only.
8455 2003-04-28 André Pönitz <poenitz@gmx.net>
8460 * BufferView_pimpl.C:
8461 * BufferView.C: getParFromID related ParagraphList::iterator changes
8463 2003-04-28 André Pönitz <poenitz@gmx.net>
8465 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8468 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8470 * messages.C: remove one more localedir class variable.
8472 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8474 * messages.C (getLocaleDir): singleton generation function
8476 (Messages): add a default constructor.
8478 * main.C (main): do not setup localedir here, do not call
8481 * gettext.C (_): use it.
8482 (gettext_init): delete funciton
8484 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8486 * gettext.C (getLyXMessages): new singleton generating function.
8488 * buffer.C (updateDocLang): adjust
8490 * Makefile.am (messages.o): add target
8491 (main.o): remove target
8493 2003-04-27 John Levon <levon@movementarian.org>
8498 * lyxvc.C: specify cancel button in Alert::prompt
8500 2003-04-26 John Levon <levon@movementarian.org>
8505 * LyXAction.C: add LFUN_INSET_SETTINGS
8507 * lyxfunc.C: don't enable tabular-feature when there's
8508 just any locking inset
8510 2003-04-26 John Levon <levon@movementarian.org>
8512 * bufferlist.C: re-add Cancel to buffer close question
8514 * lyxfunc.C: fix import UI a bit
8516 2003-04-25 John Levon <levon@movementarian.org>
8518 * gettext.C: remove the broken asserts for now
8520 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8522 * messages.C: make case where setlocale cannot comply work better.
8524 * buffer.C (updateDocLang): new function
8525 (changeLanguage): use it
8528 * text2.C (setCounter): use B_ a bit.
8530 * lyxlayout.C (Read): be sure to trim the label strings.
8532 * messages.C (Messages): fix typo in comment
8534 * buffer.C (readFile): set message_ after file is loaded.
8535 (makeDocBookFile): remove double return
8536 (changeLanguage): reset message_ upon language change.
8537 (B_): new func, use this to get translated buffer strings.
8539 * main.C: add myself and Jean Marc as authors.
8541 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8543 * messages.[hC]: pimplify Messages, and three different pimpls to be
8544 used in different circumstances.
8546 * gettext.[Ch]: change for use with new message code.
8548 2003-04-24 André Pönitz <poenitz@gmx.net>
8550 * factory.C: support for eqref
8552 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8554 * messages.[Ch]: add missing char
8556 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8558 * messages.[Ch]: New files
8560 2003-04-18 John Levon <levon@movementarian.org>
8564 * BufferView_pimpl.C:
8568 * text2.C: remove layout-copy/paste (bug 778)
8570 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8572 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8574 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8576 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8577 if they succeed. Act accordingly.
8579 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8581 * text2.C (setCharFont): adjust
8582 (setCounter): adjust
8583 (insertStringAsLines): adjust
8585 * text.C (leftMargin): adjust
8586 (setHeightOfRow): adjust
8588 * rowpainter.C (paintFirst): adjust
8591 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8593 (isFirstInSequence): ditto
8594 (getEndLabel): ditto
8597 * paragraph.C (getParLanguage): comment out some hard stuff.
8599 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8601 (simpleDocBookOnePar): ditto
8602 (makeDocBookFile): use ParagraphList::iterator
8604 * CutAndPaste.C (pasteSelection): adjust
8606 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8608 * text2.C (getFont): adjust
8609 (getLayoutFont): adjust
8610 (getLabelFont): adjust
8612 * paragraph_funcs.C (TeXOnePar): adjust
8614 * buffer.C (simpleLinuxDocOnePar): adjust
8615 (simpleDocBookOnePar): adjust
8617 * CutAndPaste.C (pasteSelection): adjust
8619 * BufferView.C (getEncoding): adjust
8621 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8623 2003-04-16 John Levon <levon@movementarian.org>
8625 * lyxfind.C: use parlist stuff for search/changes
8627 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8629 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8631 * text2.C (deleteEmptyParagraphMechanism): adjust
8633 * text2.[Ch] (ownerParagraph): delete func (both of them
8635 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8637 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8639 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8641 * ParagraphList.C: prepare for NO_NEXT
8643 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8645 * text2.C (getFont): adjust
8646 (getLayoutFont): adjust
8647 (getLabelFont): adjust
8649 * paragraph.C (getFont): adjust
8650 (getLabelFont): adjust
8651 (getLayoutFont): adjust
8653 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8655 2003-04-15 John Levon <levon@movementarian.org>
8659 * lyx_main.C: handle Include in .ui files
8661 2003-04-15 John Levon <levon@movementarian.org>
8663 * MenuBackend.C: make the doc files length shorter
8666 * ToolbarBackend.C: handle toolbar placement flags,
8669 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8671 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8674 * paragraph_funcs.C (TeXOnePar): adjust
8676 * paragraph.C (getLabelFont): add outerfont arg, adjust
8677 (getLayoutFont): ditto
8678 (simpleTeXOnePar): adjust
8680 * paragraph_pimpl.C (realizeFont): delete func
8682 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8684 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8685 row argument, constify cur argument.
8687 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8689 * text2.C (getFont): adjust
8690 (getLayoutFont): adjust
8691 (getLabelFont): adjust
8693 * paragraph_funcs.C (TeXOnePar): adjust
8694 (outerFont): new func...
8695 (realizeFont): ...moved out from here, changed this to facilitate
8698 * paragraph.C (getFont): take outerfont as arg, adjust
8699 (simpleTeXOnePar): add outerfont arg, adjust
8701 * buffer.C (simpleLinuxDocOnePar): adjust
8702 (simpleDocBookOnePar): adjust
8704 * CutAndPaste.C (pasteSelection): adjust
8706 * BufferView.C (getEncoding): adjust
8708 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8710 * text2.C (setCharFont): adjust
8711 (setCounter): adjust
8713 * text.C (leftMargin): adjust
8714 (setHeightOfRow): adjust
8716 * rowpainter.C (paintFirst): adjust
8719 * paragraph_pimpl.C (realizeFont): adjust
8721 * paragraph.C (isFirstInSequence): move from here...
8722 * paragraph_funcs.C (isFirstInSequence): ...to here
8724 * paragraph.C (outerHook): move from here...
8725 * paragraph_funcs.C (outerHook): ...to here
8727 * paragraph.C (depthHook): move from here...
8728 * paragraph_funcs.C (depthHook): ...to here
8730 * paragraph.C (getEndLabel): move from here...
8731 * paragraph_funcs.C (getEndLabel): ...to here
8733 * text2.C (realizeFont): move from here...
8734 * paragraph_funcs.C (realizeFont): ...to here
8736 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8738 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8740 2003-04-14 Angus Leeming <leeming@lyx.org>
8742 * LColor.[Ch]: scrap LColor mathcursor.
8744 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8746 * lyxlex.[Ch] (text): delete function
8747 * trans.C (Load): adjust
8748 * paragraph_funcs.C (readParToken): adjust
8750 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8752 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8753 vector<char> instead of a char[].
8755 * lyxlex_pimpl.C (getString): adjust
8757 (lex): use getString
8761 * lyxlex.C (text): use pimpl_->getString()
8765 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8767 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8768 (makeFontEntriesLayoutSpecific): temp var for par.size()
8769 (setLayout): temp var for ownerParagraphs().end()
8770 (fullRebreak): temp var for rows().end()
8771 (selectionAsString): temp var for boost::next(startpit), realize
8772 that the while really is a regular for loop.
8773 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8774 setCursor in one place.
8775 (setParagraph): temp vr for ownerParagraphs().end()
8776 (updateCounters): make the while loop a for loop
8777 (cutSelection): temp var for ownerParagraphs().end()
8778 (updateInset): make the do {} while() a regular for loop
8779 (getCursorX): use temp vars
8780 (setCurrentFont): use temp vars
8781 (getColumnNearX): use temp vars
8783 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8785 * text.C (transformChar): use temp var for getChar
8786 (computeBidiTables): use temp var for row->par()
8787 (fill): move temp vars for row->par() and pit->layout() earlier in
8789 (labelFill): use temp var for row->par()
8790 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8791 asc and desc, realize that pit never changes and that firstpit is
8792 just a duplicate and not needed. Exchange rit->par() with pit in a
8794 (breakAgain): use a temp var for boost::next(rit)
8795 (breakAgainOneRow): ditto
8796 (breakParagraph): use a temp var for rows().begin()
8797 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8798 (cursorRightOneWord): use temp var for cursor.par() and
8799 cursor.pos(), remove usage of tmpcursor.
8800 (cursorLeftOneWord): use temp var for cursor.par() and
8801 cursor.pos() only set cur at end of function.
8803 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8805 * text.C, text2.C: exchange all usage of Paragraph::next with
8806 boost::next(ParagraphList::iterator)
8808 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8810 * text2.C (cursorTop): simplify implementation
8811 (cursorBottom): ditto
8812 (setParagraph): use ParagraphList::iterator
8813 (setCurrentFont): adjust
8814 (getColumnNearX): adjust
8815 (cursorRight): adjust
8816 (cursorLeft): remove usage of Paragraph::previous
8817 (cursorUpParagraph): ditto
8818 (deleteEmptyParagraphMechanism): slight cleanup
8820 * text.C (isBoundary): take a Paragraph const & instead of a
8822 (addressBreakPoint): ditto
8823 (leftMargin): remove usage of Paragraph::previous.
8824 (setHeightOfRow): ditto
8825 (cursorLeftOneWord): ditto
8826 (selectNextWordToSpellcheck): ditto
8829 (breakParagraph): remove one usage of Paragraph::next
8830 (redoParagraph): ditto
8831 (acceptChange): ditto
8832 (insertChar): adjust
8833 (rowBreakPoint): adjust
8835 * bufferview_funcs.C (toggleAndShow): adjust
8837 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8839 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8840 methods to access it.
8842 * text.C: Added updateRowPositions to compute all row positions.
8843 Make top_y and getRowNearY() to use the cached y position
8845 2003-04-11 John Levon <levon@movementarian.org>
8847 * text.C (rowBreakPoint): reintroduce the labelEnd
8848 checks, code copied from the row fill stuff. Deep voodoo.
8850 * text.C (fill): add a comment and debugging for the
8853 2003-04-11 John Levon <levon@movementarian.org>
8855 * text.C: make sure fullrow insets get wrapped to the next line,
8856 even when they're in a manual label
8858 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8860 * text2.C (insertParagraph): make it take ParagraphList::iterator
8862 (setLayout): make it return ParagraphList::iterator
8863 (redoParagraphs): ditto
8865 (checkParagraph): ditto
8867 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8869 * text2.C: adjust several funcs.
8870 (realizeFont): take a ParagraphList::iterator as arg.
8871 (getLayoutFont): ditto
8872 (getLabelFont): ditto
8873 (setCharFont): ditto
8875 * text.C: adjust several funcs.
8877 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8879 * text.C (selectNextWordToSpellcheck): don't accidentally
8882 2003-04-10 John Levon <levon@movementarian.org>
8884 * ToolbarBackend.C (getIcon): special handling for
8887 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8889 * text2.C (cursorRight): a getChar assert fixed
8891 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8893 * text2.C (getFont): change to take a ParagraphList::iterator
8894 instead of Paragraph*
8895 Adjust several functions.
8897 * text.C (transformChar): change to take a ParagraphList::iterator
8898 instead of Paragraph*
8899 (singleWidth): ditto
8900 Adjust several functions.
8902 * rowpainter.C: adjust several functions
8903 * rowpainter.h:store a ParagraphList::iterator and not a
8907 2003-04-09 John Levon <levon@movementarian.org>
8912 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8913 and the "help" bits as well
8915 2003-04-09 John Levon <levon@movementarian.org>
8918 * ToolbarBackend.C: allow multiple toolbars
8920 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8922 * undo_funcs.C (setCursorParUndo): adjust
8924 * text_funcs.C (transposeChars): adjust
8926 * text3.C (gotoNextInset): adjust
8929 * text2.C (setLayout): adjust
8930 (changeDepth): adjust
8932 (redoParagraphs): adjust
8933 (selectionAsString): adjust
8934 (setParagraph): adjust
8935 (insertInset): adjust
8936 (cutSelection): adjust
8937 (copySelection): adjust
8938 (pasteSelection): adjust
8939 (insertStringAsLines): adjust
8940 (updateInset): adjust
8941 (setCursor): change to take a ParagraphList::iterator parameter
8942 (setCursorIntern): change to take a ParagraphList::iterator parameter
8943 (setCurrentFont): adjust
8944 (cursorLeft): adjust
8945 (cursorRight): adjust
8946 (deleteEmptyParagraphMechanism): adjust
8948 * text.C (breakParagraph): adjust
8949 (insertChar): adjust
8950 (acceptChange): adjust
8951 (rejectChange): adjust
8952 (selectNextWordToSpellcheck): adjust
8953 (changeCase): adjust
8957 * lyxfind.C (SearchForward): adjust
8958 (SearchBackward): adjust
8959 (nextChange): adjust
8961 * lyxcursor.C (par): adjust
8963 * lyxcursor.h: store a ParagraphList::iterator instead of a
8966 * lyx_cb.C (getPossibleLabel): adjust
8968 * bufferview_funcs.C (toggleAndShow): adjust
8970 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8973 * BufferView.C (removeAutoInsets): adjust
8974 (lockedInsetStoreUndo): adjust
8976 2003-04-09 John Levon <levon@movementarian.org>
8978 * ToolbarBackend.C: try icon without argument
8979 if with argument fails
8981 2003-04-08 John Levon <levon@movementarian.org>
8984 * ToolbarBackend.C: add getIcon(), handle tooltip,
8985 and change from "Icon" to "Item".
8987 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8989 * BufferView.C (lockInset): another bad getchar crunched
8991 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8993 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8996 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8998 * lyxfind.C (searchForward, searchBackwards): bug 782
9000 2003-04-07 John Levon <levon@movementarian.org>
9002 * paragraph.C: remove dead comment
9004 * text.C: remove troublesome depth-fiddling code
9005 in leftMargin() and rightMargin() (bug 1017)
9007 * text.C: fix breaking of rows in nested lists
9010 * text2.C (updateCounters): fix up depth values
9013 2003-04-07 John Levon <levon@movementarian.org>
9015 * BufferView_pimpl.C: clear message when doc finishes resizing,
9016 and after a mouse event
9018 * lyxfunc.C: clear message after exiting inset
9020 2003-04-07 John Levon <levon@movementarian.org>
9022 * bufferview_funcs.C: show math status not outside
9023 status in the statusbar
9025 2003-04-07 John Levon <levon@movementarian.org>
9027 * lyxfunc.C: note status changed after a depth change
9029 2003-04-04 Angus Leeming <leeming@lyx.org>
9031 * LaTeX.h: move AuxInfo operator==, != out of line.
9032 Remove LaTeX virtual destructor; nothing derives from it.
9033 Move operator()() out of public area and rename it startscript().
9034 Change protected for private.
9036 2003-04-04 Angus Leeming <leeming@lyx.org>
9039 * text2.C: remove unneeded #includes.
9041 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9043 * text2.C (dEPM): fix the heigth of the next row
9045 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9047 * text.C: squashed an invalid getChar requester + some ws changes
9049 2003-04-03 John Levon <levon@movementarian.org>
9051 * bufferview_funcs.h:
9052 * bufferview_funcs.C:
9055 * text2.C: make getStatus work for the env depth lfuns
9057 2003-04-03 John Levon <levon@movementarian.org>
9059 * bufferview_funcs.h:
9060 * bufferview_funcs.C:
9063 * text2.C: parlistize decDepth(), by merging it with incDepth()
9065 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9067 * lyxrow.h: store a ParagraphList::iterator instead of a
9068 Paragraph* and adjust other class functions to suit.
9070 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9073 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9075 * text2.C (setCursor): do not anchor to cursor row for the time being
9077 2003-04-02 John Levon <levon@movementarian.org>
9084 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9086 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9088 * paragraph.h: make ParagraphList and ParagraphList::iterator
9089 friends of Paragraph.
9091 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9093 * ParagraphList.C: Use the private next_ and previous_ from
9096 2003-04-01 John Levon <levon@movementarian.org>
9100 * Makefile.am: rename, remove defaults gunk
9103 * MenuBackend.C: remove defaults gunk
9106 * Languages.C: remove defaults gunk
9109 * lyx_main.C: error out if files couldn't be found.
9111 2003-04-02 John Levon <levon@movementarian.org>
9113 * text2.C: make incDepth() use parlist
9115 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9117 * undo_funcs.C (firstUndoParagraph): adjust
9119 * text3.C (gotoInset): adjust
9120 (dispatch): adjust, and rewrite loop.
9122 * text2.C (init): adjust, and rewrite loop.
9123 (redoParagraphs): adjust
9124 (updateInset): adjust, and rewrite loop.
9125 (deleteEmptyParagraphMechanism): adjust
9127 * tabular.C (LyXTabular): adjust
9128 (SetMultiColumn): adjust
9131 * lyxtext.[Ch] (ownerParagraph): delete function
9132 (ownerParagraphs): new function returns a ParagraphList.
9134 * BufferView.C (removeAutoInsets): adjust
9135 (insertErrors): adjust
9136 (setCursorFromRow): adjust
9138 2003-04-01 Angus Leeming <leeming@lyx.org>
9140 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9143 2003-04-02 John Levon <levon@movementarian.org>
9149 * text_funcs.C: make transposeChars a free function
9151 * lyxrow_funcs.C: remove wrong comment
9153 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9156 * rowpainter.C: adjust
9161 * lyxrow_funcs. [Ch]: new files
9163 * lyxrow.[Ch]: remove next and previous pointers
9164 (next,previous): remove accessor functions
9165 (isParEnd): move to lyxrow_funcs
9166 (lastPos): move to lyxrow_funcs
9167 (nextRowIsAllInset): move to lyxrow_funcs
9168 (lastPrintablePos): move to lyxrow_funcs
9169 (numberOfSeparators): move to lyxrow_funcs
9170 (numberOfHfills): move to lyxrow_funcs
9171 (numberOfLabelHfills): move to lyxrow_funcs
9172 (hfillExpansion): move to lyxrow_funcs
9176 * bufferview_funcs.C (toggleAndShow): adjust
9178 * RowList.h: Remove class RowList from file leave just a
9181 * RowList.C: delete file
9183 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9186 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9188 * text3.C (cursorPrevious): adjust
9189 (cursorNext): adjust
9192 * text2.C (redoHeightOfParagraph): adjust
9193 (redoDrawingOfParagraph): adjust
9196 * text.C (breakParagraph): adjust
9197 (insertChar): adjust
9200 * rowpainter.C (RowPainter): adjust
9201 (leftMargin): simplify and adjust
9202 (most rowpainter functions): adjust.
9204 * rowpainter.h: store the row as RowList::iterator not as Row*
9206 * lyxcursor.C (row): taka RowList::iterator as arg
9209 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9212 2003-04-01 Angus Leeming <leeming@lyx.org>
9214 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9215 stuff like bool Bool.
9217 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9219 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9222 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9224 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9227 * lyxtext.h (rows): drop one version and leve a const variant that
9228 returns a RowList::iterator.
9230 2003-03-31 Angus Leeming <leeming@lyx.org>
9232 * text.C (fill): ensure that the signature is the same as that in the
9235 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9237 * text2.C (redoParagraphs): adjust
9238 (updateCounters): adjust
9239 (checkParagraph): adjust
9240 (getColumnNearX): adjust and reformat a bit.
9242 * text.C (top_y): adjust
9244 (leftMargin): adjust
9245 (prepareToPrint): adjust
9247 (getRowNearY): adjust
9249 * lyxtext.h: make rowlist_ mutable.
9251 * RowList.h: add const_iterator
9252 * RowList.C: adjust for RowList::const_iterator.
9254 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9257 2003-03-31 John Levon <levon@movementarian.org>
9260 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9262 * lyx_main.C: set default fonts from using lyx_gui funcs
9264 * exporter.C: pdf_mode moved from lyxrc
9267 * lyxfunc.C: changes from above
9269 2003-03-31 John Levon <levon@movementarian.org>
9271 * lyx_main.C: fix to the last fix
9273 2003-03-31 John Levon <levon@movementarian.org>
9275 * bufferlist.C: "Load original" -> "Load Original"
9281 * format.C: more Alert cleanups
9283 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9285 * text2.C (removeParagraph): make it take a RowList::iterator as
9287 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9288 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9290 * text.C (anchor_row): make it take a RowList::iterator as arg,
9292 (computeBidiTables): make it take a const reference to Row instead
9293 of Row pointer, adjust.
9294 (leftMargin): make it take a RowList::iterator as arg, adjust.
9295 (rowBreakPoint): adjust
9296 (breakAgainOneRow): make it take a RowList::iterator as arg,
9298 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9300 * bufferview_funcs.C (toggleAndShow): adjust
9302 2003-03-30 John Levon <levon@movementarian.org>
9306 * boost-inst.C: moved to support
9308 * several files: changes as a result
9310 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9312 * text2.C (LyXText): adjust.
9314 (removeRow): make it take a RowList::iterator as arg, adjust.
9315 (fullRebreak): adjust
9316 (deleteEmptyParagraphMechanism): adjust
9317 (clearPaint): adjust
9320 * text.C (top_y): adjust
9321 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9322 (breakAgain): make it take a RowList::iterator as arg, adjust.
9323 (breakParagraph): adjust
9324 (insertChar): adjust
9327 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9328 need_break_row, and refresh_row.
9330 * text3.C (dispatch): adjust
9332 * text2.C (checkParagraph): adjust
9334 (setCursorFromCoordinates): adjust
9336 * text.C (top_y): adjust
9338 (getRow): make it return a RowList::iterator, adjust
9339 (getRowNearY): make it return a RowList::iterator, adjust
9341 * text2.C (init): adjust
9342 (insertRow): remove function
9343 (insertParagraph): adjust
9344 (redoParagraphs): adjust
9345 (fullRebreak): adjust
9346 (updateCounters): adjust
9348 * text.C (top_y): rewrite to use RowList iterators.
9350 (setHeightOfRow): rewrite to sue RowList iterators.
9351 (appendParagraph): adjust
9352 (breakAgain): adjust
9353 (breakAgainOneRow): adjust
9354 (breakParagraph): adjust
9356 (getRowNearY): adjust, and remove commented code.
9358 * lyxtext.h (firstRow): delete function
9359 (lastRow): delete function
9360 (rows): new function (const and non-const versions.)
9361 (insertRow): delete function
9363 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9365 2003-03-29 John Levon <levon@movementarian.org>
9367 * BufferView_pimpl.C: always update scrollbar top
9368 because pasting text when we're anchored could mean we
9369 miss an update altogether
9371 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9373 * text2.C (init): use rowlist_.end() and not 0.
9374 (insertRow): change to take a RowList::iterator as arg, adjust
9376 (insertParagraph): change to take a RowList::iterator as arg,
9378 (redoParagraphs): remove some debug msgs.
9380 * text.C (appendParagraph): change to take a RowList::iterator
9381 arg, adjust for this.
9382 (breakAgain): add an assert
9383 (breakAgainOneRow): ditto
9385 2003-03-29 John Levon <levon@movementarian.org>
9387 * text2.C: do not clear selection after inc/decDepth
9390 2003-03-29 John Levon <levon@movementarian.org>
9393 * buffer.C: fix broken strerrors according to Lars
9395 2003-03-29 John Levon <levon@movementarian.org>
9397 * converters.C: more Alert cleanups
9399 2003-03-29 John Levon <levon@movementarian.org>
9401 * bufferview_funcs.C: remove pointless Alert
9403 * buffer.C: fix confusing error message when
9404 a template is chmoded 000
9406 2003-03-29 John Levon <levon@movementarian.org>
9410 * BufferView_pimpl.C: Alert fixes
9414 * tabular-old.C: remove unused table compat reading
9416 2003-03-29 John Levon <levon@movementarian.org>
9421 * lyx_cb.C: more Alert cleanups
9423 * lyxfunc.C: don't allow chktex if not latex document
9425 2003-03-29 John Levon <levon@movementarian.org>
9429 * buffer.C: warnings pushed down from support/,
9432 2003-03-29 John Levon <levon@movementarian.org>
9434 * lyxfunc.C: safety check for C-r (revert)
9436 2003-03-29 John Levon <levon@movementarian.org>
9439 * bufferlist.C: several UI fixes using Alert::prompt.
9440 Fix the pointless looping quit code. Fix stupid revert
9445 * lyx_cb.C: use Alert::prompt
9447 * lyx_main.C: remove a silly question
9449 * lyxfunc.C: remove a couple of silly questions,
9452 2003-03-28 John Levon <levon@movementarian.org>
9454 * text2.C: fix bug 974 (End on empty par)
9456 2003-03-28 John Levon <levon@movementarian.org>
9458 * BufferView_pimpl.C:
9460 * lfuns.h: remove do-nothing math greek lfuns
9462 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9464 * lyxgluelength.h (isValidGlueLength): add default arg on
9465 parameter 2. Remove default arg from friend in class.
9467 * lyxlength.h (isValidLength): add default arg on parameter 2.
9468 Remove default arg from friend in class.
9470 * text2.C (LyXText): adjust, initialize refresh_row.
9474 (insertParagraph): adjst
9475 (redoParagraphs): adjust
9476 (fullRebreak): adjust
9477 (updateCounters): adjust
9478 (deleteEmptyParagraphMechanism): first attempt at fixing a
9481 * text.C (top_y): adjust
9482 (setHeightOfRow): adjust
9484 (getRowNearY): adjust
9486 * lyxtext.h: include RowList.h
9487 (~LyXText): not needed anymore, deleted.
9488 (firstRow): modify for RowList
9489 (lastRow): new function
9490 Delete firstrow and lastrow class variables, add a Rowlist
9491 rowlist_ class variable.
9493 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9496 * RowList.C (insert): fix case where it == begin().
9498 2003-03-26 Angus Leeming <leeming@lyx.org>
9500 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9501 the thesaurus dialog.
9503 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9505 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9507 * RowList.[Ch]: new files
9509 * ParagraphList.C (erase): handle the case where it == begin
9512 2003-03-25 John Levon <levon@movementarian.org>
9516 * aspell.C: add new aspell support
9519 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9522 2003-03-25 Angus Leeming <leeming@lyx.org>
9525 * LyXAction.C (init): new LFUN_INSET_INSERT.
9527 * BufferView_pimpl.C (dispatch): split out part of the
9528 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9530 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9533 2003-03-25 Angus Leeming <leeming@lyx.org>
9535 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9537 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9540 * text3.C: remove useless row->height(0)
9542 2003-03-25 John Levon <levon@movementarian.org>
9546 * text3.C: rename the refreshing stuff to better names
9548 2003-03-24 John Levon <levon@movementarian.org>
9550 * BufferView_pimpl.h:
9551 * BufferView_pimpl.C: update layout choice on a mouse
9554 2003-03-23 John Levon <levon@movementarian.org>
9556 * Makefile.am: fix commandtags.h reference
9558 2003-03-22 John Levon <levon@movementarian.org>
9560 * BufferView_pimpl.C:
9565 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9567 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9570 * text.C: take the rtl methods out of line
9572 2003-03-21 André Pönitz <poenitz@gmx.net>
9574 * metricsinfo.[Ch]: new files containing structures to be passed around
9575 during the two-phase-drawing...
9577 2003-03-21 André Pönitz <poenitz@gmx.net>
9579 * lyxtextclass.C: read 'environment' tag.
9581 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9583 * text2.C (removeRow): fix bug 964
9585 2003-03-20 John Levon <levon@movementarian.org>
9589 * text2.C: paint cleanups. Inset::update() dropped font
9592 2003-03-19 John Levon <levon@movementarian.org>
9594 * lyxfunc.C: only fitcursor/markDirty if available()
9596 2003-03-19 John Levon <levon@movementarian.org>
9598 * commandtags.h: rename to ...
9600 * lfuns.h: ... this, and renumber / cleanup
9602 2003-03-19 John Levon <levon@movementarian.org>
9604 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9605 fit the cursor after an lfun
9609 * BufferView_pimpl.h:
9610 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9612 * LyXAction.C: layout-character should have ReadOnly
9614 * ParagraphParameters.C:
9616 * bufferview_funcs.C:
9623 * undo_funcs.C: changes from above
9625 2003-03-18 John Levon <levon@movementarian.org>
9627 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9628 remove it from update()
9630 * lyxfunc.C: update layout choice after an lfun
9632 * text3.C: remove extra updateLayoutChoice()s
9634 2003-03-18 John Levon <levon@movementarian.org>
9636 * text.C: top_y change means full repaint, fix
9637 a drawing bug with cursor movement
9639 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9643 * text2.C: anchor row on setCursor
9645 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9647 * lyxtext.h: remove almost all mutable keywords
9650 * text3.C: remove const keywords accordingly
9652 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9654 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9656 (TeXEnvironment): ditto
9659 2003-03-17 John Levon <levon@movementarian.org>
9661 * text.C (rowBreakPoint): remove attempt to fix displayed
9662 math insets inside a manual label
9664 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9666 * lyxtext.h: remove BufferView* as first arg from almost all class
9668 * other files: adjust.
9670 2003-03-17 John Levon <levon@movementarian.org>
9674 * text2.C: more paint cleanups
9676 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9679 * rowpainter.C: remove "smart" background painting code
9681 2003-03-16 John Levon <levon@movementarian.org>
9686 * text3.C: add helper functions for setting refresh_row/y
9688 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9690 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9691 newline inset which *can* get inserted in the pass_thru layouts.
9692 This is primarily for literate documents.
9694 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9696 * buffer.C: increment LYX_FORMAT to 223
9698 2003-03-14 André Pönitz <poenitz@gmx.net>
9700 * textclass.h: prepare for environment handling, ws changes
9701 * lyxlayout.C: read latexheader and latexfooter tags
9703 2003-03-14 John Levon <levon@movementarian.org>
9705 * text2.C: rewrite ::status() a bit
9707 2003-03-13 John Levon <levon@movementarian.org>
9709 * lyxtext.h: add some docs
9711 2003-03-13 John Levon <levon@movementarian.org>
9716 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9718 2003-03-13 John Levon <levon@movementarian.org>
9720 * text3.C: fix appendix redrawing
9722 2003-03-13 John Levon <levon@movementarian.org>
9724 * text.C (setHeightOfRow):
9726 * rowpainter.C: make appendix mark have the text
9727 "Appendix" so the user knows what it is
9730 * LColor.C: s/appendixline/appendix/ from above
9732 2003-03-13 John Levon <levon@movementarian.org>
9734 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9736 * text.C: fix a getChar(pos) bug properly
9738 2003-03-13 Angus Leeming <leeming@lyx.org>
9741 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9742 Probably only temporary. Let's see how things pan out.
9744 * BufferView.C (unlockInset):
9745 * BufferView_pimpl.C (fitCursor):
9746 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9748 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9749 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9751 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9752 new functions that convert ParagraphParameters to and from a string.
9754 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9755 BufferView::Pimpl's dispatch.
9756 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9758 2003-03-13 André Pönitz <poenitz@gmx.net>
9762 * factory.C: make it aware of InsetEnv
9764 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9766 * text2.C (setCursor): never ask for one past last
9767 (setCursor): add some debugging messages.
9769 * text.C (singleWidth): never ask for one past last
9770 (singleWidth): ditto
9772 (rightMargin): ditto
9773 (rowBreakPoint): ditto
9774 (setHeightOfRow): ditto
9775 (prepareToPrint): ditto
9777 * rowpainter.C (paintBackground): never ask for one past last
9778 (paintText): never ask for one past last
9780 * paragraph_pimpl.C (getChar): make the assert stricter, never
9781 allow the one past last pos to be taken
9783 * paragraph.C (getChar): ws changes only
9785 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9786 (numberOfSeparators): ditto
9787 (numberOfHfills): ditto
9789 2003-03-12 John Levon <levon@movementarian.org>
9795 * paragraph_funcs.C: fix per-buffer authorlists
9797 2003-03-12 John Levon <levon@movementarian.org>
9799 * text.C: fix newline in right address
9801 2003-03-12 Angus Leeming <leeming@lyx.org>
9803 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9804 duplicate those in LyXFunc::dispatch.
9808 * ToolbarDefaults.C:
9809 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9810 Add LFUN_FONTFREE_UPDATE.
9812 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9813 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9815 * bufferview_func.[Ch]: several new functions to facilliate
9816 transfer of data to and from the character dialog.
9818 2003-03-12 John Levon <levon@movementarian.org>
9823 * paragraph_funcs.C:
9824 * paragraph_pimpl.C:
9828 * text3.C: remove META_NEWLINE in favour of an inset
9831 * rowpainter.C: remove paintNewline (done by inset)
9833 2003-03-12 John Levon <levon@movementarian.org>
9835 * paragraph_pimpl.C: complain about bad getChar()s
9836 for a while at least
9838 2003-03-12 John Levon <levon@movementarian.org>
9841 * buffer.C: move paragraph read into a separate function,
9842 a little renaming to reflect that.
9845 * bufferparams.C: remove the author_ids map, not necessary now
9848 * factory.C: moved Buffer::readInset to here
9850 * paragraph_funcs.h:
9851 * paragraph_funcs.C: readParagraph free function moved from
9854 * tabular.C: name change
9856 2003-03-12 John Levon <levon@movementarian.org>
9859 * ParagraphParameters.C: move par params input to
9862 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9863 behave like a normal read from the stream wrt reading
9864 a line vs. a \\token
9866 2003-03-12 John Levon <levon@movementarian.org>
9869 * ParagraphParameters.h:
9870 * ParagraphParameters.C: move output code to a
9873 2003-03-12 John Levon <levon@movementarian.org>
9875 * BufferView.C (insertLyXFile):
9878 * tabular.C: use a parlist iterator for creating the
9881 2003-03-12 John Levon <levon@movementarian.org>
9883 * buffer.C: make current_change static local not
9886 2003-03-12 John Levon <levon@movementarian.org>
9888 * buffer.C: fix insertStringAsLines for change tracking
9890 2003-03-12 John Levon <levon@movementarian.org>
9897 * bufferparams.C: move author list into params. Rename some
9898 functions. Move the header reading into a separate token
9899 loop. Move the header token reading into BufferParams.
9901 2003-03-12 John Levon <levon@movementarian.org>
9903 * changes.C: put debug inside lyxerr.debugging() checks
9905 2003-03-11 André Pönitz <poenitz@gmx.net>
9907 * factory.C: make it aware of InsetHFill
9909 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9911 * buffer.C (latexParagraphs): move function from here...
9912 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9915 2003-03-10 Angus Leeming <leeming@lyx.org>
9917 * LyXAction.C (init): fix bug in poplating array with multiple entries
9918 with the same LFUN (spotted by JMarc).
9920 2003-03-10 John Levon <levon@movementarian.org>
9923 * text2.C: move getColumnNearX() near its
9926 2003-03-10 John Levon <levon@movementarian.org>
9928 * text.C: fix break before a minipage
9930 2003-03-10 John Levon <levon@movementarian.org>
9932 * text.C: fix the last commit
9934 2003-03-09 John Levon <levon@movementarian.org>
9938 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9939 bug 365 (don't break before insets unless needed). Don't
9940 return a value > last under any circumstances.
9942 2003-03-09 Angus Leeming <leeming@lyx.org>
9944 * BufferView_pimpl.C (trackChanges, dispatch): call
9945 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9947 2003-03-09 Angus Leeming <leeming@lyx.org>
9949 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9950 than Dialogs::showAboutlyx().
9952 2003-03-09 Angus Leeming <leeming@lyx.org>
9954 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9955 than Dialogs::showTabularCreate().
9957 2003-03-09 John Levon <levon@movementarian.org>
9961 * text2.C: 3rd arg to nextBreakPoint was always the same.
9964 2003-03-08 John Levon <levon@movementarian.org>
9971 * text2.C: Remove the "main" bit from the "main body"
9974 2003-03-08 John Levon <levon@movementarian.org>
9976 * text.C (leftMargin): The left margin of an empty
9977 manual label paragraph should not include the label width
9980 * text.C (prepareToPrint): don't attempt to measure hfills
9981 for empty manual label paragraphs - the answer should be 0
9983 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9985 * CutAndPaste.C: remove commented code and reindent.
9987 2003-03-08 John Levon <levon@movementarian.org>
9990 * lyxfunc.C: move reloadBuffer()
9993 * BufferView.C: to here
9995 * lyxvc.C: add comment
9998 * vc-backend.C: call bv->reload() to avoid
9999 getStatus() check on MENURELOAD
10001 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
10003 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10004 to an old format .dep file.
10006 2003-03-07 Angus Leeming <leeming@lyx.org>
10008 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10009 when the LFUN_MOUSE_RELEASE should have been handled by
10010 inset->localDispatch.
10012 2003-03-07 Angus Leeming <leeming@lyx.org>
10014 * BufferView_pimpl.C (dispatch):
10015 * LyXAction.C (init):
10016 * ToolbarDefaults.C (init):
10018 * lyxfunc.C (getStatus):
10019 remove LFUN_INSET_GRAPHICS.
10021 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10023 2003-03-07 Angus Leeming <leeming@lyx.org>
10026 * LyXAction.C (init):
10027 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10029 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10032 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10034 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10035 localDispatch method LFUN_INSET_DIALOG_UPDATE.
10037 2003-03-07 Angus Leeming <leeming@lyx.org>
10039 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10042 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10044 * ParagraphList.C (front): new function
10047 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10049 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10050 and top_row_offset_. removed var first_y.
10052 * text2.C (LyXText, removeRow):
10054 * BufferView_pimpl.C:
10055 use these methods instead of using first_y
10057 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10059 * text2.C (pasteSelection): adjust for checkPastePossible
10061 * CutAndPaste.C: remove Paragraph * buf and replace with
10062 ParagraphList paragraphs.
10063 (DeleteBuffer): delete
10064 (cutSelection): change the tc type to textclass_type
10065 (copySelection): change the tc type to textclass_type
10066 (copySelection): adjust for ParagraphList
10067 (pasteSelection): change the tc type to textclass_type
10068 (pasteSelection): adjust for Paragraphlist
10069 (nrOfParagraphs): simplify for ParagraphList
10070 (checkPastePossible): simplify for ParagraphList
10071 (checkPastePossible): remove unused arg
10073 * ParagraphList.C (insert): handle the case where there are no
10076 * CutAndPaste.h: make CutAndPaste a namespace.
10078 * text3.C (dispatch): adjust
10080 * text.C (breakParagraph): add a ParagraphList as arg
10082 * paragraph_funcs.C (breakParagraph): change to take a
10083 BufferParams and a ParagraphList as args.
10084 (breakParagraphConservative): ditto
10085 (mergeParagraph): ditto
10086 (TeXDeeper): add a ParagraphList arg
10087 (TeXEnvironment): ditto
10090 * buffer.C (readLyXformat2): adjust
10091 (insertStringAsLines): adjust
10092 (latexParagraphs): adjust
10094 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10095 (cutSelection): adjust
10096 (pasteSelection): adjust
10098 * BufferView_pimpl.C (insertInset): adjust
10100 2003-03-05 Angus Leeming <leeming@lyx.org>
10103 * LyXAction.C (init):
10104 * BufferView_pimpl.C (dispatch):
10105 * lyxfunc.C (getStatus):
10106 remove LFUN_CHILD_INSERT.
10108 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10110 2003-03-05 Angus Leeming <leeming@lyx.org>
10113 * LyXAction.C (init):
10114 * src/factory.C (createInset):
10115 * lyxfunc.C (getStatus):
10116 * text3.C (dispatch):
10117 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10119 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10121 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10123 * ParagraphList.C (insert): handle insert right before end()
10124 (erase): fix cases where it can be first or last paragraph.
10126 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10128 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10129 Paragraph::next and Paragraph::previous
10132 * text.C (breakParagraph): adjust
10134 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10135 BufferParams& as arg.
10136 (breakParagraph): use ParagraphList::insert
10137 (breakParagraphConservative): take a Buffer* instead of a
10138 BufferParams& as arg.
10139 (breakParagraphConservative): use ParagraphList::insert.
10141 * buffer.C (insertStringAsLines): un-const it
10142 (insertStringAsLines): adjust
10144 * ParagraphList.C (insert): new function
10146 * CutAndPaste.C (pasteSelection): adjust
10148 * text.C (backspace): adjust
10150 * tabular.C (SetMultiColumn): adjust
10152 * CutAndPaste.C (cutSelection): adjust
10153 (pasteSelection): adjust
10155 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10156 Buffer const * as arg
10158 * ParagraphList.C (erase): new function
10159 * paragraph_funcs.C (mergeParagraph): use it
10160 (mergeParagraph): make it take a Buffer* instead of a
10161 BufferParams* as arg
10163 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10165 (breakParagraphConservative): ditto
10167 * paragraph.h: remove the breakParagraph friend
10169 * paragraph.C (eraseIntern): new function
10170 (setChange): new function
10172 * paragraph_funcs.C (mergeParagraph): make it take a
10173 ParagraphList::iterator instead of a Paragraph *, adjust
10176 * paragraph.h: move an #endif so that the change tracking stuff
10177 also works in the NO_NEXT case.
10179 2003-03-04 Angus Leeming <leeming@lyx.org>
10182 * LyXAction.C: new LFUN_INSET_MODIFY.
10184 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10185 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10187 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10189 * several files: ws changes only
10191 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10192 (TeXEnvironment): ditto
10195 * buffer.C (makeLaTeXFile): adjust
10196 (latexParagraphs): make it take ParagraphList::iterator as args
10198 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10200 * buffer.C (latexParagraphs): adjust
10202 * paragraph.C (TeXOnePar): move function...
10203 (optArgInset): move function...
10204 (TeXEnvironment): move function...
10205 * paragraph_pimpl.C (TeXDeeper): move function...
10206 * paragraph_funcs.C: ...here
10208 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10210 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10212 * buffer.C (readInset): remove compability code for old Figure and
10215 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10217 * buffer.C: ws changes
10220 * BufferView_pimpl.C: ditto
10223 * bufferlist.h: ditto
10227 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10229 * converter.[Ch]: split into itself +
10232 * Makefile.am: += graph.[Ch] + format.[Ch]
10239 * lyxrc.C: added #include "format.h"
10241 2003-02-27 Angus Leeming <leeming@lyx.org>
10243 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10246 * factory.C (createInset): add "label" to the factory.
10248 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10249 string and do no more.
10251 2003-02-27 Angus Leeming <leeming@lyx.org>
10254 * LyXAction.C (init):
10255 * factory.C (createInset):
10256 * BufferView_pimpl.C (dispatch):
10257 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10259 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10261 * lyxfunc.C (dispatch):
10262 * text3.C (dispatch): pass name to params2string.
10264 2003-02-26 Angus Leeming <leeming@lyx.org>
10266 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10268 Rearrange the ~includes. Strip out the unnecessary ones.
10270 * factory.C (createInset): reformat.
10271 create new insets for the various LFUN_XYZ_APPLY lfuns.
10273 2003-02-26 John Levon <levon@movementarian.org>
10276 * lyxrow.C: add isParStart,isParEnd helpers
10278 * paragraph.h: make isInserted/DeletedText take refs
10280 * paragraph_funcs.h:
10281 * paragraph_funcs.C: remove #if 0'd code
10286 * text.C: use lyxrow helpers above.
10287 Move draw and paint routines to RowPainter.
10288 Make several methods use refs not pointers.
10289 Make backgroundColor() const.
10290 Add markChangeInDraw(), isInInset().
10291 Merge changeRegionCase into changeCase.
10292 Make workWidth() shouldn't-happen code into an Assert.
10295 * rowpainter.C: new class for painting a row.
10298 * vspace.C: make inPixels take a ref
10300 2003-02-26 Angus Leeming <leeming@lyx.org>
10302 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10305 2003-02-25 John Levon <levon@movementarian.org>
10307 * ispell.C: give the forked command a more accurate name
10309 2003-02-22 John Levon <levon@movementarian.org>
10312 * toc.C: make TocItem store an id not a Paragraph *
10315 2003-02-21 Angus Leeming <leeming@lyx.org>
10317 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10318 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10319 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10320 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10321 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10322 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10324 * BufferView_pimpl.C (dispatch):
10325 * LyXAction.C (init):
10326 * factory.C (createInset):
10327 * lyxfunc.C (getStatus, dispatch):
10328 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10330 2003-02-21 Angus Leeming <leeming@lyx.org>
10332 * BufferView_pimpl.C (MenuInsertLyXFile):
10333 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10334 * lyxfunc.C (menuNew, open, doImport):
10335 no longer pass a LyXView & to fileDlg.
10337 2003-02-21 Angus Leeming <leeming@lyx.org>
10339 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10340 * LyXAction.C: change, BIBKEY to BIBITEM.
10341 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10342 Change InsetBibKey to InsetBibitem.
10343 Change BIBKEY_CODE to BIBITEM_CODE.
10344 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10345 * factory.C: replace insetbib.h with insetbibitem.h.
10346 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10347 * paragraph.C: replace insetbib.h with insetbibitem.h.
10348 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10349 Change bibkey() to bibitem().
10350 * text.C: remove insetbib.h.
10351 * text2.C: replace insetbib.h with insetbibitem.h.
10352 change bibkey() to bibitem().
10353 * text3.C: remove insetbib.h.
10354 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10356 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10358 * lyxrc.C (output): enclose user email in quotes (in case there are
10361 2003-02-18 John Levon <levon@movementarian.org>
10363 * buffer.h: add std::
10365 2003-02-17 John Levon <levon@movementarian.org>
10371 * pspell.C: reworking. Especially in ispell, a large
10372 number of clean ups and bug fixes.
10374 * lyxfunc.C: fix revert to behave sensibly
10376 2003-02-17 André Pönitz <poenitz@gmx.net>
10379 * commandtags.h: new LFUN_INSERT_BIBKEY
10389 * paragraph_func.C: remove special bibkey handling
10391 2003-02-17 John Levon <levon@movementarian.org>
10393 * text.C (Delete): fix case where delete at the end of
10394 the very first paragraph would not merge the pars
10396 2003-02-17 John Levon <levon@movementarian.org>
10398 * lyxrow.C: fix lastPrintablePos()
10400 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10402 * bufferparams.C (writeLaTeX): add a std:here
10404 * buffer.C: and remove a using directive there
10406 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10408 * buffer.C (makeLaTeXFile): move the code that generates the
10411 * bufferparams.C (writeLaTeX): ... in this new method
10413 * LaTeXFeatures.C (getEncodingSet): make const
10414 (getLanguages): make const
10416 * MenuBackend.C (binding): returns the binding associated to this
10418 (add): sets the status of each item by calling getStatus. Adds
10420 (read): add support for OptSubMenu
10421 (expand): remove extra separator at the end of expanded menu
10423 2003-02-15 John Levon <levon@movementarian.org>
10426 * BufferView_pimpl.C:
10428 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10429 inset code that had no actual effect. Remove unneeded status
10432 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10434 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10437 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10439 * text.C (drawLengthMarker): also draw an arrow marker for
10440 symbolic lengths (medskip...)
10442 2003-02-14 John Levon <levon@movementarian.org>
10445 * tabular.C: better method names
10447 2003-02-14 John Levon <levon@movementarian.org>
10449 * BufferView_pimpl.C:
10454 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10455 it's a more accurate name. Remove some pointless uses.
10457 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10459 * text2.C (LyXText): change order of initilizers to shut off
10462 2003-02-14 John Levon <levon@movementarian.org>
10464 * buffer.C: use ParIterator for getParFromID()
10468 * paragraph_pimpl.h:
10469 * paragraph_pimpl.C: remove unused getParFromID()
10471 2003-02-14 John Levon <levon@movementarian.org>
10473 * buffer.C: remove some very old #if 0'd parse code
10475 2003-02-13 John Levon <levon@movementarian.org>
10479 * text2.C: move hfillExpansion(), numberOfSeparators(),
10480 rowLast(), rowLastPrintable(), numberofHfills(),
10481 numberOfLabelHfills() ...
10484 * lyxrow.C: ... to member functions here.
10489 * text.C: remove LyXText::beginningOfMainBody(), and call
10490 p->beginningOfMainBody() directly. Move the check for
10491 LABEL_MANUAL into the latter.
10498 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10504 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10505 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10507 2003-02-13 John Levon <levon@movementarian.org>
10509 * CutAndPaste.C: remove debug
10511 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10513 * paragraph.C (asString): remove two unused variables
10515 * lyxtextclass.C (readTitleType):
10517 (LyXTextClass): handle new members titletype_ and titlename_
10519 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10521 2003-02-09 John Levon <levon@movementarian.org>
10524 * buffer.C: replace hand-coded list with a map for the dep clean
10526 2003-02-08 John Levon <levon@movementarian.org>
10528 * LaTeX.C: consolidate code into showRunMessage() helper
10530 2003-02-08 John Levon <levon@movementarian.org>
10535 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10536 and pass the size in explicitly
10538 * BufferView_pimpl.h:
10539 * BufferView_pimpl.C:
10541 * BufferView.C: add getCurrentChange()
10543 * BufferView_pimpl.h:
10544 * BufferView_pimpl.C: handle change lfuns
10546 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10547 for changes. Mark pasted paragraphs as new.
10549 * support/lyxtime.h:
10550 * support/lyxtime.C:
10551 * DepTable.C: abstract time_t as lyx::time_type
10554 * LColor.C: add colours for new text, deleted text, changebars
10556 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10557 package use "usenames" option.
10561 * LyXAction.C: add change lfuns
10565 * author.C: author handling
10568 * buffer.C: add a per-buffer author list, with first entry as
10569 current author. Handle new .lyx tokens for change tracking. Output
10570 author list to .lyx file. Output dvipost stuff to .tex preamble.
10571 Bump lyx format to 222.
10574 * bufferlist.C: add setCurrentAuthor() to reset current author details
10578 * bufferparams.C: add param for tracking
10580 * bufferview_funcs.C: output change info in minibuffer
10584 * changes.C: add change-tracking structure
10587 * debug.C: add CHANGES debug flag
10590 * lyxfind.C: add code for finding the next change piece
10593 * lyxrc.C: add user_name and user_email
10596 * lyxrow.C: add a metric for the top of the text line
10599 * text.C: implement accept/rejectChange()
10602 * text.C: paint changebars. Paint new/deleted text in the chosen
10603 colours. Strike through deleted text.
10607 * paragraph_pimpl.h:
10608 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10609 in the current change to the insert functions. Rework erase to
10610 mark text as deleted, adding an eraseIntern() and a range-based
10611 erase(). Implement per-paragraph change lookup and
10614 * paragraph_funcs.C: Fixup paste for change tracking.
10616 * tabular.C: mark added row/columns as new.
10618 * text.C: fix rowLast() to never return -1. Don't allow
10619 spellchecking of deleted text. Track transpose changes. Don't
10620 allow paragraph break or merge where appropriate.
10622 * text2.C: leave cursor at end of selection after a cut.
10624 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10626 * text.C (getLengthMarkerHeight):
10627 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10628 visible on screen too.
10630 2003-02-07 John Levon <levon@movementarian.org>
10632 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10634 2003-02-05 Angus Leeming <leeming@lyx.org>
10636 * lyxserver.C (read_ready): revert my patch of 11 September last year
10637 as it sends PC cpu through the roof. Presumably this means that
10638 the lyxserver will no longer run on an Alpha...
10640 2003-01-30 Angus Leeming <leeming@lyx.org>
10642 * factory.C (createInset): create an InsetCommandParam of type "index"
10643 and use it to 'do the right thing'.
10645 * text2.C (getStringToIndex): ensure that cursor position is always
10646 reset to the reset_cursor position.
10648 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10650 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10653 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10657 * lyxfunc.C: Output messages with identical spelling, punctuation,
10660 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10662 * MenuBackend.C (expandFormats): List only viewable export formats
10665 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10668 * lyxfunc.C (getStatus): Make sure that formats other than
10669 "fax" can also be disabled
10671 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10673 * text3.C (dispatch): put the lfuns that insert insets in 3
10674 groups, and call doInsertInset with appropriate arguments.
10675 (doInsertInset): new function, that creates an inset and inserts
10676 it according to some boolean parameters.
10678 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10680 * buffer.C (readFile): remember to pass on 'par' when calling
10681 readFile recursively.
10683 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10685 * MenuBackend.C (expandFormats): add "..." to import formats.
10687 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10689 * paragraph.C (asString): Remove XForms RTL hacks.
10691 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10692 * buffer.C: fix typo
10694 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10696 * Makefile.am (LIBS): delete var
10697 (lyx_LDADD): add @LIBS@ here instead.
10699 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10701 * Clarify the meaning of "wheel mouse jump"
10703 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10705 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10708 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10710 * importer.C (Loaders): do not preallocate 3 elements in the
10711 vector, since one ends up with 6 elements otherwise
10713 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10715 * DepTable.C (write): write the file name as last element of the
10716 .dep file (because it may contain spaces)
10717 (read): read info in the right order
10719 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10721 * paragraph_pimpl.C (simpleTeXBlanks):
10722 (simpleTeXSpecialChars):
10723 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10725 * tabular.C (latex): add some missing case statements. Reindent.
10727 * MenuBackend.C (expandToc): remove unused variable.
10729 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10738 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10741 2003-01-05 John Levon <levon@movementarian.org>
10744 * BufferView.C: add getEncoding()
10747 * kbsequence.C: do not store last keypress
10750 * lyxfunc.C: store last keypress here instead. Pass encoding
10753 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10755 * lyx_main.C (init): remove annoying error message when following
10756 symbolic links (bug #780)
10758 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10760 * text.C (insertChar):
10761 * lyxrc.C (getDescription): remove extra spaces
10763 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10765 * lyxrc.C (getDescription): remove extra spaces
10767 2002-12-20 John Levon <levon@movementarian.org>
10769 * text3.C: hack fix for page up/down across tall rows
10771 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10773 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10776 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10778 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10779 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10780 thesaurus is not compiled in
10782 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10784 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10786 2002-12-16 Angus Leeming <leeming@lyx.org>
10789 * lyx_main.C (init): remove override_x_deadkeys stuff.
10791 2002-12-12 John Levon <levon@movementarian.org>
10793 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10794 insert. Only remove shift modifier under strict
10797 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10799 * MenuBackend.C (expandToc): fix crash.
10801 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10803 * MenuBackend.C (expandToc): gettext on float names.
10805 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10807 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10808 implement bool empty() [bug 490]
10810 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10812 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10814 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10816 * several files: ws changes
10818 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10820 * text2.C (setCounter): clean up a bit, use boost.format.
10821 (updateCounters): initialize par upon declaration.
10823 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10824 if the layout exists. We do not just store the layout any more.
10825 (SwitchLayoutsBetweenClasses): use boost.format
10827 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10829 * converter.C (convert): if from and to files are the same, use a
10830 temporary files as intermediary
10832 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10835 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10837 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10839 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10841 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10843 * tabular.C (asciiPrintCell): use string(size, char) instead of
10846 * sgml.C (openTag): fix order of arguments to string constructor
10849 * lyxfunc.C (dispatch): use boost.format
10851 * lots of files: change "c" -> 'c'
10853 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10855 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10857 2002-11-25 Angus Leeming <leeming@lyx.org>
10859 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10861 * lyx_main.C (init): compile fix.
10863 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10865 * lyx_cb.C (start): boost.formatify
10866 do not include <iostream>
10868 * lengthcommon.C: ws only
10870 * boost-inst.C,BoostFormat.h: add more explict instantations
10872 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10874 * lots of files: handle USE_BOOST_FORMAT
10876 2002-11-21 John Levon <levon@movementarian.org>
10878 * pspell.C: fix compile
10880 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10882 * lyxfunc.C (dispatch): use boost::format
10886 * lyxfont.C (stateText): use boost::format
10888 * lyx_main.C (LyX): use boost::format
10890 (queryUserLyXDir): ditto
10891 (readRcFile): ditto
10893 (typedef boost::function): use the recommened syntax.
10895 * importer.C (Import): use boost::format
10897 * debug.C (showLevel): use boost::format
10899 * converter.C (view): use boost::format
10904 * bufferview_funcs.C (currentState): use boost::format
10906 * bufferlist.C (emergencyWrite): use boost::format
10908 * buffer.C (readLyXformat2): use boost::format
10909 (parseSingleLyXformat2Token): ditto
10911 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10913 * LaTeX.C (run): use boost::format
10915 * Chktex.C (scanLogFile): use boost::format
10917 * BufferView_pimpl.C (savePosition): use boost::format
10918 (restorePosition): ditto
10919 (MenuInsertLyXFile): ditto
10921 * BoostFormat.h: help file for explicit instation.
10923 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10925 * tabular.C (latex): Support for block alignment in fixed width
10928 2002-11-17 John Levon <levon@movementarian.org>
10930 * BufferView_pimpl.C:
10932 * lyxfunc.C: split filedialog into open/save
10934 2002-11-08 Juergen Vigna <jug@sad.it>
10936 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10937 by my last patch (hopefully).
10939 2002-11-08 John Levon <levon@movementarian.org>
10948 * toc.C: ParConstIterator, and use it (from Lars)
10950 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10952 * lyxtextclass.[Ch]: revise and add doxygen comments
10954 2002-11-07 John Levon <levon@movementarian.org>
10956 * text.C: fix progress value for spellchecker
10958 * toc.C: fix navigate menu for insetwrap inside minipage
10960 * paragraph_funcs.C: added FIXME for suspect code
10962 2002-11-07 John Levon <levon@movementarian.org>
10964 * BufferView_pimpl.C: fix redrawing of insets
10967 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10969 * text2.C (updateCounters): fix bug 668
10971 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10973 * text3.C (dispatch): Do not make the buffer dirty when moving the
10976 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10978 * vc-backend.C: STRCONV
10979 (scanMaster): ditto
10981 * text2.C (setCounter): STRCONV
10983 * paragraph.C (asString): STRCONV
10985 * lyxlength.C (asString): STRCONV
10986 (asLatexString): ditto
10988 * lyxgluelength.C (asString): STRCONV
10989 (asLatexString): ditto
10991 * lyxfunc.C (dispatch): STRCONV
10994 * lyxfont.C (stateText): STRCONV
10996 * importer.C (Import): STRCONV
10998 * counters.C (labelItem): STRCONV
10999 (numberLabel): ditto
11000 (numberLabel): remove unused ostringstream o
11005 * bufferview_funcs.C (currentState): STRCONV
11007 * buffer.C (readFile): STRCONV
11008 (asciiParagraph): ditto
11009 (makeLaTeXFile): ditto
11011 * Spacing.C (writeEnvirBegin): STRCONV
11013 * LaTeXFeatures.C (getLanguages): STRCONV
11014 (getPackages): ditto
11016 (getBabelOptions): ditto
11017 (getTClassPreamble): ditto
11018 (getLyXSGMLEntities): ditto
11019 (getIncludedFiles): ditto
11023 (scanAuxFile): ditto
11026 * LString.h: add the STRCONV macros
11028 * BufferView_pimpl.C (savePosition): STRCONV
11029 (restorePosition): ditto
11030 (MenuInsertLyXFile): ditto
11032 * vc-backend.C (scanMaster): change from submatch[...] to
11035 * funcrequest.C: include config.h
11037 * factory.C: include config.h
11039 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11041 * box.C: include config.h
11043 * LaTeX.C (scanAuxFile): change from submatch[...] to
11047 2002-10-25 Angus Leeming <leeming@lyx.org>
11049 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11051 * ispell.[Ch] (setError): new method.
11052 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11053 Use setError() insetead of goto END.
11055 * lyx_cb.C (AutoSave): move out child process into new class
11058 2002-10-30 John Levon <levon@movementarian.org>
11060 * text3.C: make start appendix undoable
11062 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11064 * lyxlength.C (inPixels): Fix returned value.
11066 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11069 2002-10-24 Angus Leeming <leeming@lyx.org>
11071 * lyxgluelength.h: no need to forward declare BufferParams
11072 or BufferView, so don't.
11074 2002-10-21 John Levon <levon@movementarian.org>
11076 * BufferView.C: menuUndo ->undo, redo
11078 * BufferView.h: document, remove dead, make some methods private
11080 * paragraph_funcs.h:
11081 * paragraph_funcs.C:
11082 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11087 * sgml.C: move sgml open/close tag into sgml.C
11089 * bufferview_funcs.h: unused prototype
11092 * lyxfunc.C: remove unused
11095 * text.C: remove unused
11097 2002-10-21 John Levon <levon@movementarian.org>
11101 * BufferView_pimpl.h:
11102 * BufferView_pimpl.C: fix mouse wheel handling based on
11103 patch from Darren Freeman
11105 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11107 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11109 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11111 * lyxlength.C (inPixels): Fix hanfling of negative length.
11112 Fix LyXLength::MU case.
11114 2002-10-16 John Levon <levon@movementarian.org>
11116 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11118 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11120 * converter.C (view): add support for $$i (file name) and $$p
11121 (file path) for the viewer command. If $$i is not specified, then
11122 it is appended to the command (for compatibility with old syntax)
11124 2002-10-14 Juergen Vigna <jug@sad.it>
11126 * undo_funcs.C (textHandleUndo): alter the order in which the
11127 new undopar is added to the LyXText, as we have to set first
11128 the right prev/next and then add it as otherwise the rebuild of
11129 LyXText is not correct. Also reset the cursor to the right paragraph,
11130 with this IMO we could remove the hack in "redoParagraphs()".
11132 2002-10-09 Angus Leeming <leeming@lyx.org>
11134 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11135 to turn off an optimisation if a new inset is to be inserted.
11137 2002-10-11 André Pönitz <poenitz@gmx.net>
11139 * lyxtext.h: make some functions public to allow access
11140 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11142 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11144 * text3.C (dispatch): when changing layout, avoid an infinite loop
11147 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11149 * lyxrc.C (read): treat a viewer or converter command of "none" as
11152 * MenuBackend.C (expandFormats): for an update, also allow the
11153 formats that are not viewable
11155 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11156 script if it is newer than the lyxrc.defaults in user directory
11158 2002-10-07 André Pönitz <poenitz@gmx.net>
11160 * text.C: Vitaly Lipatov's small i18n fix
11162 2002-09-25 Angus Leeming <leeming@lyx.org>
11164 * ispell.h: doxygen fix.
11166 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11168 * buffer.h (readFile): Add a new argument to the method, to allow
11169 reading of old-format templates.
11171 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11173 * toc.C (getTocList): Get TOC from InsetWrap.
11175 2002-09-16 John Levon <levon@movementarian.org>
11177 * lyxfunc.C: check tabular for cut/copy too
11179 2002-09-12 John Levon <levon@movementarian.org>
11181 * LyXAction.C: tidy
11184 * factory.C: add header
11186 * paragraph_funcs.h:
11187 * paragraph_funcs.C: cleanup
11189 2002-09-11 John Levon <levon@movementarian.org>
11191 * PrinterParams.h: odd/even default to true
11193 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11195 * PrinterParams.h: update printer parameters for new xforms dialog
11197 2002-09-11 Angus Leeming <leeming@lyx.org>
11199 * lyxserver.C (read_ready): re-write to make it more transparent
11200 and to make it work in coherent fashion under Tru64 Unix.
11202 2002-09-11 André Pönitz <poenitz@gmx.net>
11206 * text3.C: implement LFUN_WORDSEL
11208 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11210 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11211 make floatlist_ a boost::shared_ptr<FloatList>
11213 * lyxtextclass.C: include FloatList.h
11214 (LyXTextClass): initialize floatlist_
11215 (TextClassTags): add TC_NOFLOAT
11216 (Read): match "nofloat" to TC_NOFLOAT and use it.
11217 (readFloat): modify call to floatlist_
11221 * FloatList.[Ch] (FloatList): remove commented out float
11223 (erase): new function
11225 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11227 * MenuBackend.C (expandToc): fix crash when there is no document
11230 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11232 * many files: Add insetwrap.
11234 2002-09-09 John Levon <levon@movementarian.org>
11236 * text2.C: remove confusing and awkward depth wraparound
11238 2002-09-09 John Levon <levon@movementarian.org>
11240 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11243 * buffer.C: remove getIncludeonlyList()
11246 * lyxfunc.C: remove headers
11248 2002-09-09 Juergen Vigna <jug@sad.it>
11250 * text.C (getColumnNearX): fix form Michael this is most
11251 probably a cut&paste bug.
11253 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11255 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11257 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11258 references, ws changes.
11260 * text2.C (init): update counters after init
11261 (insertParagraph): no need to set counter on idividual paragraphs.
11262 (setCounter): access the counters object in the textclass object
11263 on in the buffer object.
11264 (updateCounters): ditto
11266 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11267 shared_ptr<Counters> to avoid loading counters.h in all
11269 (LyXTextClass): initialize ctrs_
11270 (TextClassTags): add TC_COUNTER, and ...
11271 (Read): use it here.
11272 (CounterTags): new tags
11273 (readCounter): new function
11274 (counters): new funtion
11275 (defaultLayoutName): return a const reference
11277 * counters.C (Counters): remove contructor
11278 (newCounter): remove a couple of unneeded statements.
11279 (newCounter): simplify a bit.
11280 (numberLabel): some small formatting changes.
11282 * buffer.[Ch]: remove all traces of counters, move the Counters
11283 object to the LyXTextClass.
11285 2002-09-06 Alain Castera <castera@in2p3.fr>
11287 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11288 package to set the horizontal alignment on fixed width columns.
11291 * lyx_sty.h: added tabularnewline macro def.
11293 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11295 2002-09-06 John Levon <levon@movementarian.org>
11297 * LyXAction.C: tooltips for sub/superscript
11299 * MenuBackend.C: a bit more verbose
11301 * lyxfunc.C: tiny clean
11303 * undo_funcs.C: document undo_frozen
11305 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11307 * counters.C (Counters): add missing algorithm counter.
11309 * text2.C (setCounter): lookup the counter with layouts latexname
11310 instead of by section number.
11311 (setCounter): use a hackish way to lookup the correct enum
11313 a float name->type change
11314 reset enum couners with counter name directly instead of depth value.
11316 * counters.C (Counters): remove the push_backs, change to use the
11317 float type not the float name.
11318 (labelItem): remove unused string, float name->type change
11320 * counters.h: don't include vector, loose the enums and sects vectors
11322 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11324 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11325 (Read): add float->TC_FLOAT to textclassTags
11326 (Read): and handle it in the switch
11327 (readFloat): new function
11329 * FloatList.C (FloatList): comment out the hardcoded float
11332 * lyxlayout.h: ws change.
11334 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11336 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11338 2002-09-03 Angus Leeming <leeming@lyx.org>
11340 * BufferView_pimpl.h: qualified name is not allowed in member
11341 declaration: WorkArea & Pimpl::workarea() const;
11343 * factory.C: added using std::endl directive.
11345 * text3.C: added using std::find and std::vector directives.
11347 2002-08-29 André Pönitz <poenitz@gmx.net>
11350 * text2.C: remove unused member number_of_rows
11353 * BufferView2.C: remove file, move contents to...
11354 * BufferView.C: ... here
11356 * BufferView_pimpl.C:
11357 * factory.C: move more inset creation to factory
11359 * vspace.C: avoid direct usage of LyXText, ws changes
11362 don't provide direct access to WorkArea, use two simple
11363 acessors haveSelction() and workHeight() instead
11366 2002-08-29 John Levon <levon@movementarian.org>
11368 * BufferView_pimpl.C (dispatch): do not continue when
11371 2002-08-28 André Pönitz <poenitz@gmx.net>
11373 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11376 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11378 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11380 * buffer.C: increment LYX_FORMAT to 221
11382 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11383 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11385 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11387 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11389 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11391 * factory.C (createInset): use LyXTextClass::floats
11393 * MenuBackend.C (expandFloatListInsert):
11394 (expandFloatInsert):
11397 * text2.C (setCounter):
11399 * LaTeXFeatures.C (useFloat):
11400 (getFloatDefinitions):
11402 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11404 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11405 floatlist_, with accessor floats().
11407 * FloatList.h: remove global FloatList
11409 2002-08-26 André Pönitz <poenitz@gmx.net>
11411 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11415 * BufferView_pimpl.C:
11416 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11418 2002-08-25 John Levon <levon@movementarian.org>
11420 * LyXAction.C: fix margin note description
11422 2002-08-24 John Levon <levon@movementarian.org>
11426 * bufferview_funcs.C:
11428 * undo_funcs.C: cleanups
11430 * lyxfunc.C: disable CUT/COPY when no selection
11432 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11434 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11435 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11437 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11438 Add backward compatibility to "mono", "gray" and "no".
11440 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11442 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11443 (and file_format >= 200).
11445 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11447 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11449 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11451 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11453 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11455 * BufferView_pimpl.C:
11462 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11463 inset and code to make it work with the paragraph code. The inset
11464 can be anywhere in the paragraph, but will only do the expected
11465 thing in LaTeX if the layout file contains the parameter line
11467 (or more generally, a nonzero value) for that layout.
11469 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11471 * paragraph.h: remove the declaration of undefined counters class
11474 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11476 * text2.C (setCounter): fixed enumeration mis-count as reported by
11477 Dr. Richard Hawkins.
11479 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11481 * paragraph_funcs.h: remove some unneeded includes
11483 * text.C (backspace): pasteParagraph now in global scipe
11485 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11486 (pasteSelection): ditto
11488 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11489 * paragraph_funcs.C (pasteParagraph): ... here
11491 2002-08-20 André Pönitz <poenitz@gmx.net>
11493 * commandtags.h: new LFUNs for swapping/copying table row/colums
11496 * lyxfunc.C: support for new lfuns
11498 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11501 * buffer.[Ch]: remove NO_COMPABILITY stuff
11503 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11505 * boost.C (throw_exception): new file, with helper function for
11506 boost compiled without exceptions.
11511 * ParameterStruct.h:
11512 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11514 * bufferlist.C (emergencyWriteAll): use boost bind
11516 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11518 * text.C: include paragraph_funcs.h
11519 (breakParagraph): breakParagraph is now in global scope
11521 * paragraph_funcs.[Ch]: new files
11523 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11526 * buffer.C: include paragraph_funcs.h
11527 (insertStringAsLines): breakParagraph is now in global scope
11529 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11532 * CutAndPaste.C: include paragraph_funcs.h
11533 (cutSelection): breakParagraphConservative is now in global scope
11534 (pasteSelection): ditto
11536 * buffer.h: declare oprator== and operator!= for
11537 Buffer::inset_iterator
11539 * bufferlist.C (emergencyWrite): don't use fmt(...)
11541 * text3.C: add using std::endl
11543 * BufferView.C (moveCursorUpdate): remove default arg
11545 2002-08-20 André Pönitz <poenitz@gmx.net>
11547 * buffer.[Ch]: move inline functions to .C
11550 * BufferView_pimpl.C:
11552 * buffer.[Ch]: use improved inset_iterator
11555 * paragraph.[Ch]: write one paragraph at a time
11557 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11559 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11560 style if style is not specified.
11562 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11564 * text2.C (setCounter): when searching for right label for a
11565 caption, make sure to recurse to parent insets (so that a caption
11566 in a minipage in a figure float works) (bug #568)
11568 2002-08-20 André Pönitz <poenitz@gmx.net>
11570 * text3.C: new file for LyXText::dispatch() and helpers
11572 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11574 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11576 2002-08-19 André Pönitz <poenitz@gmx.net>
11579 * text.C: new LyXText::dispatch()
11581 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11583 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11585 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11587 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11590 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11592 * Makefile.am: use $(variables) instead of @substitutions@
11594 2002-08-15 André Pönitz <poenitz@gmx.net>
11597 * BufferView_pimpl.C: streamlining mathed <-> outer world
11601 * LyXAction.C: remove unused LFUN_MATH
11603 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11605 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11607 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11609 * paragraph.C (Paragraph): reformat a bit
11610 (cutIntoMinibuffer): use builtin InsetList function instad of
11614 * buffer.C: include boost/bind.hpp, add using std::for_each
11615 (writeFileAscii): use ParagraphList iterators
11616 (validate): use for_each for validate traversal of paragraphs
11617 (getBibkeyList): use ParagraphList iterators
11618 (resizeInsets): use for_each to resizeInsetsLyXText for all
11620 (getParFromID): use ParagraphList iterators
11622 * BufferView2.C (lockInset): use paragraph list and iterators
11624 2002-08-14 John Levon <levon@movementarian.org>
11626 * lyxserver.C: remove spurious xforms include
11628 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11630 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11632 2002-08-13 André Pönitz <poenitz@gmx.net>
11635 * lyxfunc.C: further cleaning
11637 2002-08-13 André Pönitz <poenitz@gmx.net>
11639 * funcrequest.h: new constructor
11641 * funcrequest.C: move stuff here from .h
11644 * BufferView_pimpl.C:
11647 * lyxfunc.C: subsequent changes
11649 * lyxfunc.h: new view() member function
11651 * lyxfunc.C: subsequent changes
11653 2002-08-13 Angus Leeming <leeming@lyx.org>
11656 * BufferView_pimpl.C:
11664 changes due to the changed LyXView interface that now returns references
11665 to member variables not pointers.
11667 2002-08-13 Angus Leeming <leeming@lyx.org>
11669 * WordLangTuple (word, lang_code): return references to strings,
11674 * lyxtext.h: forward-declare WordLangTuple.
11679 * text.C: #include "WordLangTuple.h".
11682 * text.C: (selectNextWordToSpellcheck): constify return type.
11684 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11690 * paragraph_pimpl.h:
11693 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11694 suggested by Angus.
11695 Made updateCounter always count from start of buffer, and removed
11696 second argument (par).
11697 Reverted floats number display to '#'. Perhaps I'll try again when the
11698 code base is sanitized a bit.
11700 2002-08-12 Angus Leeming <leeming@lyx.org>
11702 * buffer.[Ch] (getLabelList): constify.
11704 2002-08-07 André Pönitz <poenitz@gmx.net>
11706 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11708 * funcrequest.h: extension to keep mouse (x,y) position
11710 2002-08-12 Juergen Vigna <jug@sad.it>
11712 * BufferView2.C (insertErrors): forbid undo when inserting error
11715 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11717 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11719 * ParagraphList.[Ch]: new files
11721 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11723 * BufferView2.C (lockInset): ParagraphList changes
11726 * bufferlist.C: ditto
11730 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11732 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11733 unused class variable counter_,
11735 * paragraph.[Ch] (getFirstCounter): delete unused function
11737 * counters.C: include LAssert.h
11738 (reset): add a new function with no arg, change other version to
11739 not have def. arg and to not allow empty arg.
11741 * text2.C (setCounter): remove empty arg from call to Counters::reset
11743 2002-08-11 John Levon <levon@movementarian.org>
11745 * Makefile.am: add WordLangTuple.h
11747 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11749 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11750 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11752 * insets/insettext.C: InsetList changes
11754 * graphics/GraphicsSupport.C (operator()): InsetList changes
11756 * toc.C (getTocList): InsetList changes
11758 * paragraph_pimpl.[Ch]: InsetList changes
11760 * paragraph.[Ch]: InsetList changes
11762 * buffer.C (inset_iterator): InsetList changes
11763 (setParagraph): ditto
11764 * buffer.h (inset_iterator): ditto
11765 * iterators.C (operator++): ditto
11766 * iterators.h: ditto
11768 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11770 * InsetList.[Ch]: new files, most InsetList handling moved out of
11773 * BufferView2.C (removeAutoInsets): InsetList changes
11775 (ChangeInsets): ditto
11777 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11779 * paragraph_pimpl.h (empty): new function
11781 * paragraph.[Ch] (empty): new function
11783 * other files: use the new Paragraph::empty function
11785 2002-08-09 John Levon <levon@movementarian.org>
11787 * lyxtext.h: remove unused refresh_height
11789 2002-08-09 John Levon <levon@movementarian.org>
11796 * paragraph.C: move sgml char escaping out of paragraph
11799 * paragraph.C: remove id setter
11803 * paragraph_pimpl.C: remove dead tex_code_break_column
11805 * bufferview_funcs.C: small cleanup
11807 * lyxfunc.C: remove dead proto
11809 * lyxtext.h: make some stuff private. Remove some dead stuff.
11811 * lyxgluelength.C: make as[LyX]String() readable
11813 2002-08-08 John Levon <levon@movementarian.org>
11818 * ToolbarDefaults.C:
11821 * toc.C: lyxaction cleanup
11823 2002-08-08 John Levon <levon@movementarian.org>
11825 * BufferView2.C: small cleanup
11828 * lyxfind.C: move unnecessary header into the .C
11830 2002-08-08 John Levon <levon@movementarian.org>
11832 * funcrequest.h: just tedious nonsense
11835 * lyx_main.C: cleanups
11838 * vspace.C: remove dead header lyx_main.h
11840 2002-08-07 Angus Leeming <leeming@lyx.org>
11843 * paragraph_pimpl.h:
11844 Forward declare class Counters in paragraph.h by moving the ctrs member
11845 variable into Paragraph::Pimpl.
11846 (counters): new method, returning a reference to pimpl_->ctrs.
11848 * text2.C: ensuing changes.
11850 2002-08-07 John Levon <levon@movementarian.org>
11852 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11854 * BufferView_pimpl.C: announce X selection on double/triple
11857 * lyx_main.C: use correct bool in batch dispatch
11859 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11861 2002-08-07 André Pönitz <poenitz@gmx.net>
11863 * funcrequest.h: new class to wrap a kb_action and its argument
11866 * BufferView_pimpl[Ch]:
11870 * lyxrc.C: subsequent changes
11873 2002-08-07 John Levon <levon@movementarian.org>
11875 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11876 document options change.
11878 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11883 * makefile.am: move counters functionality over from
11884 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11886 2002-08-06 John Levon <levon@movementarian.org>
11888 * WordLangTuple.h: new file for word + language code tuple
11899 * BufferView2.C: use WordLangTuple
11902 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11904 2002-08-06 John Levon <levon@movementarian.org>
11906 * lyx_main.C: fix cmdline batch handling
11908 2002-08-06 André Pönitz <poenitz@gmx.net>
11910 * lyxrc.C: set default for show_banner to true
11912 2002-08-06 John Levon <levon@movementarian.org>
11914 * pspell.C: fix a crash, and allow new aspell to work
11916 2002-08-06 John Levon <levon@movementarian.org>
11919 * kbmap.C: small cleanup
11922 * vspace.C: add const
11924 2002-08-05 John Levon <levon@movementarian.org>
11926 * LyXAction.C: back to tabular-insert
11928 2002-08-04 John Levon <levon@movementarian.org>
11931 * BufferView.C: cosmetic change
11933 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11943 * BufferView2.C: purge all "Lyx" not "LyX" strings
11946 * lyxcursor.C: attempt to add some documentation
11951 * ToolbarDefaults.C:
11952 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11953 merge with LFUN_TABULAR_INSERT
11960 * pspell.C: split up i/pspell implementations into separate
11961 files, many cleanups
11963 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11965 * text2.C: some cleanup
11967 * lyxfunc.C: don't check for isp_command == "none" any more, it
11968 didn't make any sense
11970 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11975 * makefile.am: move counters functionality over
11976 from text2.C/paragraph.[Ch] to counters.[Ch], and
11978 2002-08-02 John Levon <levon@movementarian.org>
11980 * buffer.C: s/lyxconvert/lyx2lyx/
11982 2002-08-02 Angus Leeming <leeming@lyx.org>
11984 * lyxlex.C: revert John's change as it breaks reading of the user
11987 2002-08-02 Angus Leeming <leeming@lyx.org>
11989 * importer.C (Import):
11990 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11991 changes due to LyXView::view() now returning a boost::shared_ptr.
11993 2002-08-02 John Levon <levon@movementarian.org>
11995 * lyxlex.C: small cleanup
11997 2002-08-02 John Levon <levon@movementarian.org>
11999 * text2.C (status): small cleanup, no logic change
12001 2002-08-01 John Levon <levon@movementarian.org>
12004 * buffer.C (writeFile): don't output alerts, caller
12008 * lyx_cb.C: from above
12010 * lyxfunc.C: allow to open non-existent files
12012 2002-07-31 John Levon <levon@movementarian.org>
12014 * lyxserver.C: don't let incidental errors get
12017 2002-07-30 John Levon <levon@movementarian.org>
12019 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12021 2002-07-30 John Levon <levon@movementarian.org>
12024 * lyxserver.C: remove I/O callback too
12026 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12028 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12031 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
12033 * many files: strip,frontStrip -> trim,ltrim,rtrim
12035 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
12037 * PrinterParams.h: remove extern containsOnly, and include
12038 support/lstrings.h instead.
12040 * LaTeX.C (scanAuxFile): modify because of strip changes
12042 * buffer.C (makeLaTeXFile): ditto
12043 * bufferparams.C (writeFile): ditt
12044 * lyxfont.C (stateText): ditto
12045 * lyxserver.C (read_ready): ditto
12046 * vc-backend.C (scanMaster): ditto
12048 * BufferView_pimpl.h: ws changes
12050 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12052 2002-07-26 André Pönitz <poenitz@gmx.net>
12054 * kb_sequence.C: remove unnedred usings
12056 2002-07-26 Juergen Vigna <jug@sad.it>
12058 * lyxfind.C (LyXReplace): we have to check better if the returned
12059 text is not of theLockingInset()->getLockingInset().
12061 2002-07-25 Juergen Vigna <jug@sad.it>
12063 * lyxfind.C (LyXReplace): don't replace if we don't get the
12066 * undo_funcs.C (createUndo): remove debugging code.
12068 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12070 * buffer.C (parseSingleLyXformat2Token): Use default placement
12071 when reading old floats.
12073 * FloatList.C (FloatList): Change the default placement of figure
12074 and tables to "tbp".
12076 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12078 * MenuBackend.C: using std::max
12080 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12082 * MenuBackend.C (expandToc):
12083 (expandToc2): code moved from xforms menu frontend. It is now
12084 generic and TOCs are transparent to menu frontends.
12086 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12088 * toc.C (getTocList): protect against buf=0
12090 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12091 Menu as first parameter. Now, this calls itself recursively to
12092 expand a whole tree (this will be useful for TOC handling)
12093 (expandFloatInsert): remove 'wide' version of floats
12095 * MenuBackend.h (submenuname): returns the name of the submenu.
12096 (submenu): returns the submenu itself, provided it has been
12097 created by MenuBackend::expand
12099 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12101 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12102 insets which have noFontChange == true. (bug #172)
12104 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12106 * BufferView_pimpl.C: add connection objects and use them...
12109 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12111 * MenuBackend.C (expandLastfiles):
12114 (expandFloatListInsert):
12115 (expandFloatInsert):
12116 (expand): split expand in parts
12118 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12120 * lyx_gui.C: use lyx_gui::exit()
12122 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12124 * LyXAction.C: show the failing pseudo action
12126 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12128 * buffer.C (readFile): Run the lyxconvert script in order to read
12131 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12135 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12137 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12141 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12143 2002-07-22 Herbert Voss <voss@lyx.org>
12146 * lyxlength.[Ch]: add support for the vertical lengths
12148 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12150 * toc.[Ch]: std:: fixes
12152 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12154 * lyxrc.C: do not include lyx_main.h
12156 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12162 * BufferView2.C: include "lyxlex.h"
12165 * bufferparams.h: do not #include "lyxlex.h"
12167 * lyxtextclasslist.C (Add): remove method
12168 (classlist): renamed to classlist_
12170 * paragraph_pimpl.C:
12174 * bufferview_funcs.C:
12179 * toc.C (getTocList): use BufferParams::getLyXTextClass
12181 * toc.C (getTocList): use InsetFloat::addToToc
12183 * toc.[Ch]: new files, containing helper functions to handle table
12186 * lyxfunc.C (dispatch): no need to remove spaces around command
12188 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12189 first command of the sequence; it is not very clever, but I do not
12190 have a better idea, actually
12192 * LyXAction.C (LookupFunc): make sure to remove space at the
12193 beginning and end of the command
12195 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12197 * MenuBackend.C (getMenubar): new method: return the menubar of
12199 (read): treat differently reading of menu and menubar (in
12200 particular, the menubar has no name now)
12201 (Menu::menubar): remove
12203 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12206 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12208 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12209 a bibitem inset in a RTL paragraph.
12211 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12213 * paragraph_pimpl.C: constify
12215 * BufferView_pimpl.C:
12217 * lyxfunc.C: fix dispatch in a nicer way
12219 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12221 * lyxfunc.C (dispatch):
12222 * BufferView_pimpl.C:
12223 * BufferView_pimpl.h:
12225 * BufferView.h: rename Dispatch() to dispatch()
12227 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12229 * lyxlayout.C (Read): honor DependsOn tag
12231 * lyxlayout.[Ch] (depends_on): new method
12233 * version.C.in: update lyx_docversion
12235 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12237 * paragraph.C (validate): remove from here...
12238 * paragraph_pimpl.C (validate): ... and move here
12239 (isTextAt): make it const
12241 * buffer.C (getLists): ws cleanup
12243 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12245 * language.C (read): Use iso8859-1 encoding in latex_lang
12246 (this prevents LyX from crashing when using iso10646-1 encoding).
12248 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12250 * text2.C (toggleInset): if cursor is inside an inset, close the
12251 inset and leave cursor _after_ it
12253 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12255 * lyxfunc.C: move minibuffer completion handling out of here
12257 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12259 * BufferView_pimpl.C:
12260 * LaTeX.C: fix dispatch calls
12262 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12264 * text.C (drawChars): Fix Arabic text rendering.
12266 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12270 * lyxfunc.C: remove message-push/pop
12274 * lyxfunc.C: rationalise some code by removing verboseDispatch
12275 in favour of a bool argument to dispatch()
12277 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12279 * lyx_main.C (init): make sure to read symlinks as absolute paths
12281 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12284 * lyxfunc.C: no need for commandshortcut to be a member
12286 2002-07-15 André Pönitz <poenitz@gmx.net>
12288 * converter.C: add support for $$s (scripts from lib/scripts dir)
12289 * lyx_main.C: white space
12291 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12295 * lyxrc.C: remove second exit confirmation
12297 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12302 * BufferView_pimpl.h:
12303 * BufferView_pimpl.C:
12304 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12306 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12308 * MenuBackend.C (expand): add numeric shortcuts to document menu
12310 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12312 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12314 * lyxfont.C (setLyXFamily):
12321 * buffer.C (asciiParagraph): use ascii_lowercase
12323 2002-07-15 Mike Fabian <mfabian@suse.de>
12325 * lyxlex_pimpl.C (search_kw):
12326 * lyxlex.C (getLongString):
12327 * converter.h (operator<):
12328 * converter.C (operator<):
12329 * buffer.C (parseSingleLyXformat2Token):
12331 * ToolbarDefaults.C (read):
12332 * MenuBackend.C (checkShortcuts):
12334 * LColor.C (getFromGUIName):
12335 (getFromLyXName): use the compare_ascii_no_case instead of
12336 compare_no_case, because in turkish, 'i' is not the lowercase
12337 version of 'I', and thus turkish locale breaks parsing of tags.
12339 2002-07-16 Angus Leeming <leeming@lyx.org>
12341 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12342 now takes a Buffer const & argument.
12344 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12346 * BufferView.C (resize): check there's a buffer to resize
12348 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12350 * lyxfunc.C: remove dead code
12353 * lyxserver.C: use lyx_guii::set_read_callback
12355 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12357 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12358 an inset in a RTL paragraph.
12360 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12362 * lyxfunc.C: repaint after a font size update
12364 2002-07-15 André Pönitz <poenitz@gmx.net>
12366 * lyxlength.C: inBP should be able to return negative values
12368 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12370 * lyxfunc.C: use lyx_gui::update_fonts()
12372 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12374 * lyxfunc.C: use lyx_gui::update_color()
12376 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12382 * lyxrc.C: remove file->new asks for name option, and let
12383 buffer-new take an argument
12385 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12387 * BufferView_pimpl.C: remove unneeded extra repaint()
12389 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12391 * LyXAction.C: allow command-sequence with NoBuffer
12393 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12395 2002-07-10 Angus Leeming <leeming@lyx.org>
12397 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12399 2002-07-09 Angus Leeming <leeming@lyx.org>
12401 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12403 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12405 * lengthcommon.h: whitespace
12407 * lyxfunc.C: update scrollbar after goto paragraph
12409 * lyxtext.h: factor out page break drawing, and fix it so
12410 page break/added space paints as selected nicely
12412 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12414 * BufferView_pimpl.C: add FIXMEs, clean up a little
12416 2002-07-09 André Pönitz <poenitz@gmx.net>
12418 * lyxfont.[Ch]: support for wasy symbols
12420 2002-07-08 André Pönitz <poenitz@gmx.net>
12422 * BufferView_pimpl.C: apply John's patch for #93.
12424 2002-07-05 Angus Leeming <leeming@lyx.org>
12426 * BufferView_pimpl.C (buffer): generate previews if desired.
12428 * LColor.h: add "preview" to the color enum.
12430 * LColor.C (LColor): add a corresponding entry to the items array.
12432 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12435 2002-07-05 Angus Leeming <leeming@lyx.org>
12437 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12438 The body of the code is now in the method that is passed an ostream &
12439 rather than a file name.
12440 Pass an additional only_preamble parameter, useful for the forthcoming
12443 2002-07-03 André Pönitz <poenitz@gmx.net>
12445 * lyxfunc.C: simplify getStatus() a bit for math stuff
12447 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12449 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12451 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12453 * text.C (changeRegionCase): do not change case of all the
12454 document when region ends at paragraph end (bug #461)
12456 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12458 * paragraph.C (startTeXParParams):
12459 (endTeXParParams): add \protect when necessary
12461 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12463 * BufferView_pimpl.C (workAreaExpose): remove warning
12465 2002-06-27 Angus Leeming <leeming@lyx.org>
12467 * Makefile.am: add lyxlayout_ptr_fwd.h.
12469 2002-06-26 André Pönitz <poenitz@gmx.net>
12471 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12473 2002-06-25 Angus Leeming <leeming@lyx.org>
12475 * lyxfunc.C (dispatch): Comment out the call to
12476 grfx::GCache::changeDisplay. The method no longer exists now that the
12477 pixmap generation part of the graphics loader has been moved into
12480 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12482 * text2.C: layout as layout
12484 * text.C: layout as layout
12486 * tabular.C (OldFormatRead): layout as layout
12488 * paragraph_pimpl.C (TeXDeeper): layout as layout
12489 (realizeFont): layout as layout
12491 * paragraph.C (writeFile): layout as layout
12492 (validate): layout as layout
12493 (getFont): layout as layout
12494 (getLabelFont): layout as layout
12495 (getLayoutFont): layout as layout
12496 (breakParagraph): layout as layout
12497 (stripLeadingSpaces): layout as layout
12498 (getEndLabel): layout as layout
12499 (getMaxDepthAfter): layout as layout
12500 (applyLayout): layout as layout
12501 (TeXOnePar): layout as layout
12502 (simpleTeXOnePar): layout as layout
12503 (TeXEnvironment): layout as layout
12504 (layout): layout as layout
12505 (layout): layout as layout
12507 * lyxtextclass.C (compare_name): new functor to work with
12508 shared_ptr, layout as layout
12509 (Read): layout as layout
12510 (hasLayout): layout as layout
12511 (operator): layout as layout
12512 (delete_layout): layout as layout
12513 (defaultLayout): layout as layout
12515 * lyxlayout_ptr_fwd.h: new file
12517 * lyxlayout.C (Read): layout as layout
12519 * lyx_cb.C (MenuInsertLabel): layout as layout
12521 * bufferlist.C (newFile): layout as layout
12523 * buffer.C (readLyXformat2): layout as layout
12524 (parseSingleLyXformat2Token): layout as layout
12525 (insertStringAsLines): layout as layout
12526 (asciiParagraph): layout as layout
12527 (latexParagraphs): layout as layout
12528 (makeLinuxDocFile): layout as layout
12529 (simpleLinuxDocOnePar): layout as layout
12530 (makeDocBookFile): layout as layout
12531 (simpleDocBookOnePar): layout as layout
12532 (getLists): layout as layout
12534 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12536 * CutAndPaste.C (cutSelection): layout as layout
12537 (pasteSelection): layout as layout
12538 (SwitchLayoutsBetweenClasses): layout as layout
12540 * BufferView_pimpl.C (Dispatch): layout as layout
12541 (smartQuote): layout as layout
12543 * BufferView2.C (unlockInset): layout as layout
12545 2002-06-24 André Pönitz <poenitz@gmx.net>
12547 * lyxfunc.C: fix #487
12549 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12553 * lyxfunc.C: remove display_shortcuts, show_banner
12555 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12557 * Buffer_pimpl.C: oops, update on resize
12559 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12566 * BufferView.C: use repaint()
12568 * BufferView_pimpl.h:
12569 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12570 as it's a clearer description. Remove superfluous
12573 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12575 * text.C: fix bug 488. Not ideal, but getting
12576 getWord() to work properly for the insets that
12577 matter is more difficult ...
12579 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12581 * BufferView_pimpl.C:
12584 * lyxfunc.C: remove the six million index lyxfuncs to just
12585 one, and DTRT (bug 458)
12587 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12591 * BufferView_pimpl.h:
12592 * BufferView_pimpl.C: clean up resize() stuff,
12593 and unnecessary updateScreen()s
12595 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12599 * BufferView_pimpl.h:
12600 * BufferView_pimpl.C:
12603 * minibuffer.C: remove focus management of workarea,
12604 not needed. Use screen's greyOut()
12606 2002-06-17 Herbert Voss <voss@lyx.org>
12608 * converter.C: (convert) do not post a message, when converting
12609 fails, let the calling function decide what to do in this case
12611 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12613 * lyxfunc.C: tidy up a little
12615 2002-06-16 <alstrup@diku.dk>
12617 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12618 Got rid of FORMS_H_LOCATION include. Now we are
12621 2002-06-15 LyX Development team <lyx@rilke>
12623 * buffer.[Ch] (sgmlOpenTag):
12624 (sgmlCloseTag): Added support for avoiding pernicious mixed
12625 content. Return number of lines written.
12627 (makeLinuxDocFile):
12628 (makeDocBookFile): Fixed calls to sgml*Tag.
12629 Simple white space clean.
12631 (simpleDocBookOnePar): Simple white space clean.
12633 * tabular.[Ch] (docBook): Renamed to docbook and got another
12634 argument to related with the pernicious mixed content.
12636 (docbookRow): Fixed calls for docbook inset method.
12638 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12640 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12641 so it's X11 independent.
12645 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12647 2002-06-15 Lyx Development team <lyx@electronia>
12649 * intl.h: Renamed getTrans to getTransManager.
12651 2002-06-14 Angus Leeming <leeming@lyx.org>
12653 * Makefile.am: nuke forgotten stl_string_fwd.h.
12655 2002-06-12 Angus Leeming <leeming@lyx.org>
12657 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12659 2002-06-13 Angus Leeming <leeming@lyx.org>
12662 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12664 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12666 * kbmap.C (getiso): add support for cyrillic and greek
12668 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12672 * BufferView_pimpl.h:
12673 * BufferView_pimpl.C: move bogus scrolling logic
12676 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12679 * BufferView_pimpl.C: view->resize() change
12681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12683 * BufferView_pimpl.C: topCursorVisible
12686 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12690 * lyx_gui.C: move to frontends/
12694 * lyx_main.C: changes from above
12696 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12703 * lyx_main.C: minor tidy
12705 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12707 * BufferView_pimpl.h:
12708 * BufferView_pimpl.C:
12710 * BufferView.C: make painter() const,
12713 * BufferView2.C: use screen() accessor
12716 * lyx_main.C: some minor cleanup
12718 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12720 * BufferView_pimpl.h:
12721 * BufferView_pimpl.C: remove enter/leaveView,
12724 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12729 * BufferView_pimpl.h:
12730 * BufferView_pimpl.C: only construct screen once,
12733 * lyxrc.C: remove pointless comment
12735 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12738 * BufferView.C: remove active() and belowMouse()
12740 * BufferView_pimpl.h:
12741 * BufferView_pimpl.C: use workarea() not workarea_,
12742 and make it use a scoped_ptr instead
12744 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12746 * lyx_gui.C: add debug message on BadWindow
12748 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12750 * sp_spell.C: fdopen is not part of the C++ standard.
12752 * paragraph.C (InsetIterator): use >= instead of ==
12754 2002-06-07 Angus Leeming <leeming@lyx.org>
12756 Fixes needed to compile with Compaq cxx 6.5.
12757 * BufferView_pimpl.C:
12764 * lyxtextclasslist.C:
12769 all c-library variables have been moved into namespace std. Wrap
12770 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12775 Add a using std::abs declaration.
12777 * kbmap.h (modifier_pair):
12778 * paragraph.h (InsetTable, InsetList):
12779 * lyxfont.h (FontBits):
12780 type definition made public.
12782 * bufferlist.C (emergencyWriteAll): the compiler complains that
12783 there is more than one possible lyx::class_fun template to choose from.
12784 I re-named the void specialisation as lyx::void_class_fun.
12786 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12788 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12789 the compiler is is unable to find tostr in write_attribute.
12791 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12793 * buffer.C (sgmlError): hide #warning
12795 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12797 * xtl/*: get rid of xtl, which is not in use anyway
12799 * LyXAction.C (init):
12800 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12801 were unimplemented xtl experimentation
12803 2002-06-04 André Pönitz <poenitz@gmx.net>
12805 * lyxfunc.C: disable array operation on simple formulae
12807 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12809 * converter.C: constify a bit
12811 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12813 * lyx_gui.C: check xforms version correctly
12815 2002-04-30 Herbert Voss <voss@lyx.org>
12817 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12820 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12822 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12823 attempt to register it with a VCS)
12825 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12827 * lyx_main.C (init): honor variables LYX_DIR_13x and
12830 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12834 * lyx_main.C: fix a crash on bad command line,
12835 and give a useful exit status on error
12837 * lyxfunc.C (doImport): allow -i lyx to work
12839 2002-03-30 André Pönitz <poenitz@gmx.net>
12841 * lyxfunc.C: mathed font changes
12843 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12858 * trans_mgr.h: srcdocs, and some minor cleanups
12860 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12862 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12863 call getFont all the time)
12865 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12867 * switch from SigC signals to boost::signals
12869 2002-05-29 André Pönitz <poenitz@gmx.net>
12871 * paragraph_pimpl.C (getChar): don't call size() too often...
12873 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12875 * paragraph_pimpl.C (insertChar): do not try to update tables when
12876 appending (pos == size())
12878 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12879 in order to reduce drastically the number of comparisons needed to
12880 parse a large document
12882 2002-05-29 André Pönitz <poenitz@gmx.net>
12888 * textclasslist.[Ch]:
12889 * sp_ispell.h: whitespace change
12891 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12893 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12894 lyxaction directly now.
12896 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12900 * lyxvc.C: remove unused headers
12902 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12909 * undo_funcs.C: some cleanups. Use shared_ptr
12910 and a template for the undo stacks.
12912 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12914 * BufferView_pimpl.h:
12915 * BufferView_pimpl.C:
12922 * text2.C: use key_state/mouse_state
12924 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12926 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12929 * chset.C: change include order
12930 (loadFile): use boost regex and get rid of LRegex and LSubstring
12932 * Makefile.am (BOOST_LIBS): new variable
12933 (lyx_LDADD): use it
12935 * LaTeX.C: change include order.
12936 (scanAuxFile): use boost regex and get rid of LRegex and
12940 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12945 * FontInfo.C: moved to frontends/xforms/
12948 * FontLoader.C: moved into frontends for GUIIzation
12953 * lyxfunc.C: changes from above
12955 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12957 * LColor.C: remove spurious X include
12959 * BufferView_pimpl.C:
12964 * text2.C: move font metrics to frontends/
12966 2002-05-24 Juergen Vigna <jug@sad.it>
12968 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12969 setting the undo_cursor.
12971 * ParagraphParameters.h: include local includes first.
12973 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12975 * BufferView_pimpl.C:
12976 * BufferView_pimpl.h:
12980 * screen.C: move WorkArea into frontends/
12986 * BufferView2.C: move LyXScreen into frontends/
12990 * lyx_gui.C: move lyxlookup into frontends/xforms/
12992 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12995 * BufferView_pimpl.C:
13005 * bufferview_funcs.C:
13018 * vc-backend.C: move LyX/XFormsView into frontends/
13020 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13032 * text2.C: move Painter to frontends/
13034 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
13036 * buffer.C: comment out some some code that depend upon lyx_format
13039 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13040 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13042 * buffer.h (NO_COMPABILITY): turn off compability
13044 * ColorHandler.C: include scoped_array.hpp
13046 * font.C: Use more specific smart_ptr header.
13049 * ShareContainer.h: ditto
13050 * lyx_main.h: ditto
13052 * FontInfo.h: ditto
13053 * BufferView_pimpl.h: ditto
13054 * ColorHandler.h: ditto
13056 * kbmap.C (defkey): change call to shared_ptr::reset
13058 2002-05-21 Juergen Vigna <jug@sad.it>
13060 * buffer.C (insertErtContents): fix to insert ert asis if it is
13061 non empty. Skip it completely if it contains only whitespaces.
13063 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13065 * BufferView_pimpl.C:
13066 * BufferView2.C: clear selection on paste (bug 393)
13068 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * DepTable.C: include ctime
13072 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13074 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13076 2002-05-14 Juergen Vigna <jug@sad.it>
13078 * text.C (breakParagraph): fixed function to honor the keepempty
13079 layout in the right maner and also to permit the right breaking
13080 algorithm on empty or non empyt keepempty paragraphs.
13082 * paragraph.C (breakParagraph): we have to check also if the par
13083 is really empty (!size()) for isempty otherwise we do the wrong
13086 2002-05-10 Juergen Vigna <jug@sad.it>
13088 * buffer.[Ch] : The following are only changes to the ert
13089 compatibility read reading old LaTeX layout and font stuff and
13090 convert it to ERTInsets.
13092 * buffer.h: added isErtInset().
13094 * buffer.C (struct ErtComp): add a fromlayout bool to check
13095 if we're inside a LaTeX layout.
13096 (isErtInset): new helper function.
13097 (insertErtContents): look for other ert insets before this one
13098 and insert the contents there, so that we don't have subsequent
13099 ERT insets with nothing between them. This way we create only one
13100 inset with multiple paragraphs. Also check if we don't insert only
13101 spaces ' ' as they are ignored anyway afterwards in the .tex file
13102 so if we have only spaces we will ignore this latex part in the
13104 (parseSingleLyXformat2Token \\layout): better compatibility when
13105 reading layout-latex stuff.
13106 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13108 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13109 stuff after reading the inset only get the information back from
13112 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13114 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13116 * LaTeXFeatures.C (getBabelOptions): New method.
13118 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13120 * BufferView_pimpl.C (Dispatch): work around missing argument for
13123 2002-05-08 Juergen Vigna <jug@sad.it>
13125 * text.C (leftMargin): handle paragraph leftindent.
13127 * paragraph.C (writeFile): write the new \\leftindent tag.
13128 (validate): handle leftindent code.
13129 (TeXEnvironment): handle paragraphleftindent code again.
13131 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13133 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13134 for paragrap_extra indent code and new token \\leftindent.
13135 (latexParagraphs): handle the leftindent as environment.
13137 * ParameterStruct.h: added leftindent support.
13139 * ParagraphParameters.C (leftIndent): added support functions for
13140 the paragraph left indent.
13142 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13145 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13147 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13150 * text.C (computeBidiTables): No bidi in insetERT.
13152 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13155 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13157 * version.C.in: pre 5
13159 2002-05-02 José Matos <jamatos@fep.up.pt>
13160 * buffer.C (makeDocBookFile): white space changes, add newline to
13162 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13164 * tabular.C (docBook): fix typo.
13166 2002-05-03 Juergen Vigna <jug@sad.it>
13168 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13169 change in LyXText as we can not be sure it was not freed.
13170 (drawOneRow): remove unused code.
13172 * text.C (drawInset): redo the calculation of the need_break_row as
13173 it could have a row which was already freed.
13174 (draw): look at the return value of drawInset and return false if
13175 it also returned false.
13176 (paintRowText): look at the return value of draw and return false if
13177 it also returned false.
13179 * lyxtext.h: added bool return type to drawInset() and draw() so that
13180 if we have a change in the row so that the rowbreak has to be redone
13181 we abort drawing as it will be called again.
13183 2002-05-02 Juergen Vigna <jug@sad.it>
13185 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13186 a change in the maintext also if we're inside an inset.
13187 (Dispatch): set the cursor again after a break line and after the
13188 screen has been updated as it could be we're in a different row.
13190 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13191 to set the cursor behind the pargraph with > size().
13192 (setCursor): check also for the same paragraph when checking where
13193 to put the cursor if we have a NFR inset.
13195 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13196 parts of layout read further up as it still was in the wrong
13199 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13201 * screen.C (drawFromTo): change sine fullRebreak always return
13204 * buffer.C (parseSingleLyXformat2Token): reindent some
13206 * BufferView_pimpl.C (update): change since fullRebreak always
13208 (Dispatch): git rid of the last hardcoded "Standard"s.
13210 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * text2.[Ch] (fullRebreak): make it return void now that we always
13215 2002-04-30 Juergen Vigna <jug@sad.it>
13217 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13218 ert compatibility check for "latex" layout.
13220 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13222 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13223 minipages: use col% instead of p%, and also use the current font.
13224 (makeLaTeXFile): Fix use babel condition.
13225 (parseSingleLyXformat2Token): Correct font when reading old floats.
13227 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13229 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13230 inserting list of floats.
13232 2002-04-25 Herbert Voss <voss@lyx.org>
13234 * MenuBackend.C (expand): don't add the graphics extensions to the
13237 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13239 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13240 non-existing layout, do not complain if it was the default layout
13241 of the original class (bug #342)
13243 2002-04-24 Juergen Vigna <jug@sad.it>
13245 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13246 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13248 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13250 * buffer.C (getBibkeyList): If using \bibliography, return the
13251 option field with the reference itself. Enables us to provide natbib
13252 support when using \bibliography.
13254 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13256 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13258 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13259 natbib is provided by the LaTeX class.
13261 2002-04-23 Juergen Vigna <jug@sad.it>
13263 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13266 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13268 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13270 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13272 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13273 ensuremath around textordmasculine, textordfeminine and
13276 2002-04-19 Juergen Vigna <jug@sad.it>
13278 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13279 reinitializing the buffer otherwise row-dimensions may be wrong.
13280 (update): reset also the selection cursors if they do exits otherwise
13281 their x/y positions may be wrong.
13283 * text2.C (cursorDown): don't enter the inset if we came from a row
13284 above and are one row over the inset.
13286 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13287 really leaving an inset.
13289 2002-04-18 Juergen Vigna <jug@sad.it>
13291 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13292 of the selected paragraph does not have the selected layout also if
13295 * text2.C (setLayout): fixed bug which did not change last selected
13298 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13299 changed the read and substituted \\end_float with \\end_inset!
13301 * BufferView_pimpl.C (cursorPrevious):
13302 (cursorNext): fixed to make it work with rows heigher than the work
13303 area without moving the cursor only the draw of the row.
13304 (workAreaMotionNotify): fix jumping over high rows.
13306 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13308 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13311 2002-04-16 Juergen Vigna <jug@sad.it>
13313 * text2.C (setCursor): set also the irow().
13314 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13316 (cursorDown): support for locking an inset if the x_fix value goes
13317 inside it. That way I can transverse insets too with cursor up/down.
13319 * lyxrow.h: added irow helper function same as other (i) functions.
13321 * BufferView_pimpl.C (cursorPrevious):
13322 (cursorNext): fixed for insets!
13324 2002-04-15 Juergen Vigna <jug@sad.it>
13326 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13327 position otherwise it is wrong in some cases.
13329 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13330 inside the inset before the call.
13332 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13334 * buffer.[Ch] (getBibkeyList): make it const.
13336 2002-04-12 Juergen Vigna <jug@sad.it>
13338 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13340 * text2.C (getCursorX): new helper function
13341 (setCursor): compute also ix_
13342 (setCursorFromCoordinates): set also ix.
13344 * lyxcursor.h: added ix_ and helper functions.
13346 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13348 * buffer.C (insertStringAsLines): dont break paragraph if the this
13349 paragraph is inside an inset which does not permit it!
13351 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13352 also with no chars on this paragraph.
13353 (paintRowText): only paint stuff if it's inside the workarea!
13355 * paragraph.C (breakParagraph): honor keepempty flag and break the
13356 paragraph always below not above.
13358 * BufferView2.C (unlockInset): update the paragraph layout on inset
13359 unlock as we changed paragraph in such a case.
13361 * lyxfind.C (LyXFind): clear the former selection if not found!
13363 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13364 again called in insertChar().
13366 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13367 an inset which uses the whole row!
13368 (rightMargin): ditto.
13369 (insertChar): force a rebreak if we inserted an inset!
13371 2002-03-28 Herbert Voss <voss@lyx.org>
13373 * lyxlength.[Ch]: add inBP() to get the right PS-point
13374 units (BigPoint). With inPixels we have rounding errors
13376 2002-04-11 Juergen Vigna <jug@sad.it>
13378 * text2.C (setCursorFromCoordinates): set iy to the right value.
13379 (setCursor): add check if row->previous exists!
13381 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13382 an old float_type as this was the case in the old code!
13384 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13386 * BufferView2.C (showLockedInsetCursor): use iy
13387 (fitLockedInsetCursor): ditto
13389 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13390 locked insets as there we have the right value now.
13392 * lyxcursor.C: added iy_ variable and iy functions to set to the
13393 baseline of cursor-y of the locked inset.
13395 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13396 (setCursor): fixed for insets which need a full row.
13398 * text.C (rowLastPrintable): don't ignore the last space when before
13399 an inset which needs a full row.
13400 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13401 as last character of a row when before a inset which needs a full row.
13403 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13405 * version.C.in: update date
13407 * text2.C (fullRebreak): try to always return true and see what
13410 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13412 * MenuBackend.C (expand): use Floating::listName
13414 * FloatList.C (FloatList): add listName argument to the built-in
13417 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13418 text associated with the float.
13420 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13422 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13424 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13426 * ShareContainer.h: add a couple of missing typenames.
13428 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13430 * lyxrc.C (getDescription): use _() correctly rather than N_().
13432 2002-03-28 Herbert Voss <voss@lyx.org>
13434 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13435 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13437 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13439 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13440 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13442 2002-03-29 Juergen Vigna <jug@sad.it>
13444 * lyxfunc.C (dispatch): add a missing fitCursor call.
13446 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13447 it was scrolled by a cursor move, so return the bool status.
13449 * BufferView.C (fitCursor): return the bool flag also to the outside
13450 world as this is needed.
13452 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13454 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13455 call the edit() as it is not needed (and wrong) IMO.
13456 (workAreaButtonPress): set the screen_first variable before evt.
13457 unlock the inset as this may change screen_first and then we have
13458 a wrong y position for the click!
13460 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13462 * MenuBackend.C (expand): another translation that I missed
13464 2002-03-28 Juergen Vigna <jug@sad.it>
13466 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13468 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13470 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13472 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13474 * MenuBackend.C (expand): fix export/view/update when there is no
13477 2002-03-27 Herbert Voss <voss@lyx.org>
13479 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13482 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13484 * bufferview_funcs.C (currentState): only show paragraph number
13485 for is DEVEL_VERSION is set.
13487 * lyxfunc.C (dispatch): put warning in INFO channel
13489 * MenuBackend.C (expand): translate the name of floats
13491 * FloatList.C (FloatList): mark the float names for translation
13493 * converter.C (convert): use LibScriptSearch
13495 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13497 * MenuBackend.C (defaults): fix default menu (we might as well get
13500 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13502 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13505 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13507 * lyxvc.C: reorder includes.
13509 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13511 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13514 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13516 * CutAndPaste.C: change layouts earlier on paste
13517 to avoid crashing when calling getFont()
13519 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13521 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13524 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13526 * WorkArea.C: remove 'Pending' debug message.
13528 * most files: ws cleanup
13530 * buffer.[Ch]: ws changes
13532 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13534 2002-03-21 Juergen Vigna <jug@sad.it>
13536 * tabular.C (SetMultiColumn): collapse also the contents of the
13537 cells and set the last border right. Added a Buffer const * param.
13539 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13541 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13544 2002-03-19 Juergen Vigna <jug@sad.it>
13546 * text2.C (clearSelection): reset also xsel_cache.
13548 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13549 where it needs to be called (John tells us to do so too :)
13550 (selectionLost): reset sel_cache.
13552 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13554 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13556 * text2.C (setCursorIntern): put debuging code in INSETS channel
13558 2002-03-19 André Pönitz <poenitz@gmx.net>
13560 * lyxfunc.C: tiny whitespace change
13562 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13564 * ToolbarDefaults.C (init):
13565 * LyXAction.C (init):
13567 * BufferView_pimpl.C (Dispatch):
13568 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13570 2002-03-19 Allan Rae <rae@lyx.org>
13572 * exporter.C (Export): removeAutoInsets before doing anything else.
13573 While I've just introduced a dependency on BufferView this really is
13574 the best place to clean the buffer otherwise you need to cleanup in
13575 a dozen places before calling export or cleanup in a dozen functions
13578 * converter.C (runLaTeX):
13579 (scanLog): Better handling of removeAutoInsets and screen updates.
13581 * lyxfunc.C (dispatch): small whitespace changes
13583 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13585 * WorkArea.C (C_WorkAreaEvent): return a value.
13586 (event_cb): return 1 if we handled the event, 0 otherwise.
13588 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13590 2002-03-18 Juergen Vigna <jug@sad.it>
13592 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13593 (GetAdditionalWidth): ditto.
13594 (RightLine): ditto.
13597 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13598 inset if we're there actually (probably not used right now but this
13599 is the direction to go for unifying code).
13600 (paste): disable code to clear the selection.
13602 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13603 inside an InsetText and move the check further up as it is in the
13606 * text2.C (pasteSelection): set a selection over the pasted text.
13608 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13610 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13611 and libgraphics to build on Cygwin.
13613 2002-03-15 Juergen Vigna <jug@sad.it>
13615 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13616 inserting an Inset into the paragraph. I know this is not the best
13617 fix but we already use current_view in CutAndPaste so we will remove
13618 all of it's using at the same time.
13620 * buffer.C (sgmlError): deactivated function till it is rewritten in
13621 the right mode, now it can create problems.
13623 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13624 before accessing it.
13626 2002-03-14 Juergen Vigna <jug@sad.it>
13628 * undo_funcs.C (textHandleUndo): do the right thing when updating
13629 the inset after the undo/redo.
13631 * text2.C (setCursor): just some testcode for #44 not ready yet.
13633 * undo_funcs.C (textHandleUndo): set the next() and previous()
13634 pointers of the paragraph to 0 before deleting otherwise we have
13635 problems with the Paragraph::[destructor].
13637 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13638 on a paragraph insertion.
13640 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13642 * buffer.C (asciiParagraph): use += operator for char append to
13645 * paragraph.C (getFontSettings): compare >= not just >
13646 (highestFontInRange): ditto
13649 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13651 * paragraph.C: change several algorithm to be more appripriate for
13652 the problem domain. This is lookip in FontList and in the InsetList.
13654 2002-03-13 André Pönitz <poenitz@gmx.net>
13657 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13659 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13664 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13666 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13668 * Painter.C (display): anon helper function, adjust code for this
13670 (pixmap): remove function.
13672 * Painter.h: remove private display variable.
13674 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13676 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13678 * WorkArea.[Ch]: remove figinset_canvas cruft.
13680 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13682 * lyxtextclass.C (operator): add one item cache optimization.
13684 * bufferlist.h: doxy changes
13686 * bufferlist.C: ws changes
13688 * DepTable.[Ch] (ext_exist): place const in the right spot.
13690 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13692 (workAreaExpose): call resizeInsets when the with BufferView changes.
13693 (Dispatch): adjust for protectedBlank removal
13694 (specialChar): call updateInset if the insert went ok.
13696 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13697 specialChar instead.
13699 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13701 * BufferView.h: doxy change
13703 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13705 * lyxtextclass.C (operator[]): remove non-const version
13706 (defaultLayout): remove non-const version
13708 2002-03-12 Juergen Vigna <jug@sad.it>
13710 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13711 did resize the LyXText too.
13713 * buffer.C (readLyXformat2): set layout information on newly allocated
13716 * tabular.C (OldFormatRead): set layout information on the paragraph.
13718 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13720 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13722 2002-03-11 Juergen Vigna <jug@sad.it>
13724 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13726 (resizeCurrentBuffer): force also the insets to resize themselfes.
13727 (moveCursorUpdate): fixed up for InsetText.
13729 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13732 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13733 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13734 value of Dialogs::tooltipsEnabled().
13735 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13737 2002-03-08 Juergen Vigna <jug@sad.it>
13739 * BufferView_pimpl.C (updateInset): update inset inside inset also
13740 if it isn't inside theLockingInset().
13742 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13744 * buffer.C (asciiParagraph): redo some of the word and line length
13746 (getLists): look for Caption instead of caption.
13748 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13750 * buffer.C (Buffer): initialize niceFile to true
13752 (makeLinuxDocFile):
13753 (makeDocBookFile): make sure niceFile is true on exit
13755 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13757 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13759 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13761 * LyXSendto.C: remove.
13762 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13763 * lyx_gui.C: remove now-redundant comment.
13764 * ColorHandler.h: remove forward declaration of class WorkArea.
13765 * lyxfunc.C: remove #include "WorkArea.h".
13767 2002-03-07 Juergen Vigna <jug@sad.it>
13769 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13770 got moved away with the DEPM and also set the inset_owner always
13771 right which before could have been omitted.
13773 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13775 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13776 wanted layout is not found.
13778 2002-03-07 Juergen Vigna <jug@sad.it>
13780 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13782 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13784 * paragraph.C (breakParagraph): use default layout not layout of
13786 (Paragraph): clear ParagraphParameters.
13788 2002-03-06 Juergen Vigna <jug@sad.it>
13790 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13791 otherwise it would not be a valid lenght. Fixed a special case in
13792 the minipage compatibility read where we end the document with a
13795 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13796 was set as it could be 0 for InsetTexts first entry.
13798 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13800 * paragraph.C (writeFile): if layout is empty write out
13801 defaultLayoutName().
13803 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13804 file without named layout we set layout to defaultLayoutName().
13806 2002-03-06 Juergen Vigna <jug@sad.it>
13808 * CutAndPaste.C (copySelection): set layout for new paragraph.
13810 * text.C (prepareToPrint): leave ERT inset left aligned
13811 (leftMargin): don't indent paragraphs inside ERT insets
13813 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13815 * paragraph.C (breakParagraph): dont call clear do the work manually
13817 * paragraph.[Ch] (clear): remove function
13819 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13821 * paragraph.C (Paragraph): dont call clear, the work has already
13824 * lyxtextclass.C (operator): assert if n is empty
13826 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13827 work manually instead.
13829 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13831 * BufferView_pimpl.C: protect selectionLost against text == 0
13833 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13835 * text.C (breakParagraph): fix a setting layout to '0' problem.
13837 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13839 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13840 final location of file, for the included files, and graphics.
13842 2002-03-05 Juergen Vigna <jug@sad.it>
13844 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13846 2002-03-04 Juergen Vigna <jug@sad.it>
13848 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13850 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13851 last column of multicolumn cells.
13852 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13854 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13856 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13857 file if it doesn't go to a temporary file.
13859 * buffer.C (sgmlOpenTag):
13860 (sgmlCloseTag): remove extra newline insertion.
13862 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13864 * text.C (getRowNearY): comment out debug msg
13866 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13868 * text2.C: first -> first_y
13870 * text.C (getRowNearY): add some attemts at a possible
13871 optimization, not working.
13873 * tabular.[Ch]: add BufferParams to several function so that newly
13874 created paragraph can be initialized to he default layotu for the
13877 * tabular-old.C (ReadOld): add buf->params to call of Init
13879 * screen.C: rename text->first to text->first_y
13881 * paragraph.C (breakParagraph): always set layout in the broken
13884 * lyxtextclass.C (Read): remove lowercase
13887 (delete_layout): ditto
13889 * lyxtext.h: rename first -> first_y
13891 * lyxlayout.C (Read): remove lowercase
13894 (obsoleted_by): ditto
13896 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13898 * buffer.C (insertErtContents): add params are to InsetERT
13899 (parseSingleLyXformat2Token): add code to check if a paragraphs
13900 layout really exist.
13901 (parseSingleLyXformat2Token): add params to several inset
13903 (asciiParagraph): remove lowercase, do the layout comparisons with
13906 * BufferView_pimpl.C (cursorNext): first -> first_y
13907 (resizeCurrentBuffer): first -> first_y
13908 (updateScrollbar): first -> first_y
13909 (scrollCB): first -> first_y
13910 (workAreaMotionNotify): first -> first_y
13911 (workAreaButtonPress): first -> first_y
13912 (checkInsetHit): first -> first_y
13913 (cursorPrevious): first -> first_y
13914 (cursorNext): first -> first_y
13915 (Dispatch): add buffer_->params to severl inset contructors
13917 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13919 * lyxlayout.C (Read): remove some debug info that I forgot.
13921 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13922 clean up the code slightly.
13923 (makeLinuxDocFile): ditto
13924 (makeDocBookFile): ditto
13926 * text2.C: layout as string
13928 * text.C: layout as string
13930 * paragraph_pimpl.C: layout as string
13932 * paragraph.[Ch]: layout as string
13934 * lyxtextclasslist.[Ch]: layout as string
13936 * lyxtextclass.[Ch]: layout as string
13938 * lyxtext.h: layout as string
13940 * lyxlayout.[Ch]: layout as string
13942 * lyx_cb.C: layout as string
13944 * bufferview_funcs.C: layout as string
13946 * bufferparams.C: layout as string
13948 * buffer.C: layout as string
13950 * LyXView.[Ch]: layout as string
13952 * LaTeXFeatures.[Ch]: layout as string
13954 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13956 * BufferView_pimpl.C: change current_layout to string, remove
13961 (workAreaButtonRelease): layout as string
13963 * BufferView2.C (unlockInset): adjust
13965 * vspace.C (asLatexCommand): use an explict temp variable.
13967 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13969 * Makefile.am: use FRONTEND_*
13971 2002-03-01 Juergen Vigna <jug@sad.it>
13973 * tabular.C (SetWidthOfMulticolCell): changed to something better
13974 I hope but still work in progress.
13975 (recalculateMulticolumnsOfColumn): renamed function from
13976 recalculateMulticolCells as it is more appropriate now.
13977 (SetWidthOfCell): calculate multicols better.
13979 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13981 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13983 * lyxfunc.C (processKeySym): print sequence also if it is
13984 `deleted' (complete)
13986 * kbsequence.C (print): print sequence even if it is deleted
13987 (complete would be a better word, actually).
13989 * lyxfunc.C (dispatch): print complete options after a prefix key
13991 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13993 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13995 * text2.C (setCharFont): eliminate setCharFont code duplication.
13997 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13999 * BufferView_pimpl.C (Dispatch): remove bogus handling of
14000 LFUN_TABULAR_FEATURE (bug #177)
14002 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
14004 * Makefile.am: remove figure.h
14006 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
14008 * Bufferview_pimpl.C:
14020 * text2.C: remove #include "lyx_gui_misc.h".
14022 * LaTeX.C: added #include <cstdio>
14024 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14026 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14027 that the paragraph following this one can have.
14029 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14031 * vspace.C (asLatexCommand): fix bogus gcc warning
14033 * Makefile.am (lyx_SOURCES): remove vms_defines.h
14035 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
14037 * text2.C (setLayout): get rid of redundant code
14039 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
14041 * text2.C (incDepth): make sure depth cannot be increased beyond
14044 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
14046 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14047 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14049 * PainterBase.h (image):
14050 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14051 a LyXImage const *.
14053 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14057 * BufferView_pimpl.C:
14058 * BufferView_pimpl.h:
14078 * sp_spell.C: remove fig inset, and the crap house of
14079 cards that follows it
14081 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14086 * os2_errortable.h:
14087 * nt_defines.h: move .h into support/
14089 * vms_defines.h: remove
14091 * WorkArea.C: add space in debug output
14095 * buffer.C: add WITH_WARNINGS
14099 * bufferlist.C: s/retrive/retrieve/, add docs
14108 * chset.C: add docs
14110 * lyxgui.C: add ID to X error handler
14112 * lyxtestclass.c: fix typo
14114 2002-02-26 Juergen Vigna <jug@sad.it>
14116 * tabular_funcs.C (write_attribute): changed so that some default
14117 attributes are not written at all.
14118 (getTokenValue): set default values before trying to read the
14119 value so we have the return value always set as default if we don't
14120 find the token we search for.
14122 * tabular.C (Write): write bools as bools not as strings!
14124 2002-02-22 Juergen Vigna <jug@sad.it>
14126 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14127 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14129 * text.C (leftMargin): don't add an indent for paragraphs inside
14130 tabular cells (fix #208).
14132 2002-02-21 José Matos <jamatos@fep.up.pt>
14134 * tabular.C (docBook): fixed support for long tables.
14136 2002-02-20 Juergen Vigna <jug@sad.it>
14138 * text2.C (getFont): get the drawing font of the Inset if this
14139 paragraph is inside an inset (only important for InsetERT for now).
14141 * buffer.C (insertErtContents): use new lanugage params in ERT
14144 * CutAndPaste.C: commenting out seemingly uneeded code.
14146 2002-02-19 Allan Rae <rae@lyx.org>
14148 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14149 Iterators might be simple to use but they also get invalidated.
14150 (removeAutoInsets): renamed saved cursor tracking variables and added
14151 some comments to clarify what everything does.
14153 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14160 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14161 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14164 * vc-backend.h: remove #include "support/syscall.h"
14168 * converter.C: rearrange #includes in Lars' approved fashion.
14170 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14171 forward declare class Timeout in the header file.
14173 * XFormsView.C: changes due to the above.
14175 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14176 similar to LyXView.
14178 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14179 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14181 2002-02-18 José Matos <jamatos@fep.up.pt>
14183 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14186 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14188 * a lot of small ws changes
14189 * add a lot of using std::XXX
14190 * use std construcs some places where approp.
14191 * use some exisint stuff from lyxfunctional where approp.
14192 * Make file changes to use partial linking (lets test this now...)
14194 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14198 remove #include "support/syscontr.h" as it's redundant. Always has been.
14206 change Systemcalls::System to Systemcalls::Wait and
14207 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14208 No change of functionality, just reflects the stripped down Systemcalls
14211 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14213 * debug.[Ch]: add a GRAPHICS type to the enum.
14215 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14217 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14219 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14222 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14224 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14225 match the changes below.
14227 * text2.C (toggleInset): if there is not editable inset at cursor
14228 position, try to see if cursor is _inside_ a collapsable inset
14231 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14233 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14234 document menu has a nice checkbox
14236 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14238 * lyxlength.C (asLatexString): change PW to output as percent of
14241 * lengthcommon.C: change '%' to 't%'
14243 * lyxfunc.C (dispatch): a few comments from Martin
14245 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14249 * BufferView_pimpl.h:
14250 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14253 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14255 * vspace.C (inPixels): fix compiler warning
14257 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14259 * lyxfunc.C (getStatus): fix status message for disabled commands.
14261 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14263 * BufferView_pimpl.C: fix crash on close buffer
14264 during selection (#227)
14266 2002-01-27 Herbert Voss <voss@lyx.org>
14268 * buffer.C: link old Figure to new graphic inset
14270 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14272 * FontLoader.C (getFontinfo): Change the latex font names in order
14273 to match the names of type1inst.
14275 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14277 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14279 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14280 (extchanged): ditto
14282 (remove_files_with_extension): ditto
14283 (remove_file): ditto
14286 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14287 document is smaller than the work area height. Do not initialize
14288 static variables to 0.
14290 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14292 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14294 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14295 LFUN_LAYOUT_PARAGRAPHS.
14297 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14298 tabular. It is possible to provide a possible cell, which will
14299 typically be the actcell from the corresponding insettabular
14301 * lyxfunc.C (getStatus): small cleanup; disable
14302 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14305 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14307 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14309 * paragraph.C (startTeXParParams):
14310 (endTeXParParams): new methods. The LaTeX code to
14311 start/end paragraph formatting
14312 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14313 empty (fixes bug #200)
14315 * vspace.C (inPixels): adapt to the change below
14316 (inPixels): [later] more cleanups (remove unused variables)
14318 * lyxlength.C (inPixels): change to use a width and a height as
14321 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14323 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14324 Replaced with \paperwidth
14326 * DepTable.C (insert): add std:: qualifier
14328 2002-01-18 Allan Rae <rae@lyx.org>
14330 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14333 * text.C (drawInset): Turned out I didn't know enough about how
14334 rebreaking worked. This fixes most of the redraw problems. I see
14335 an occasional cursor trail when a line is broken now and the cursor
14336 placement can seem out by a few pixels also after a rebreak.
14338 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14340 * buffer.C (parseSingleLyXformat2Token): update because minipage
14341 width is now a LyXLength
14343 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14345 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14348 2002-01-17 Juergen Vigna <jug@sad.it>
14350 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14352 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14353 is set correctly and the inset is updated correctly.
14355 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14357 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14358 the beginning of the loop.
14360 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14362 * lyxrc.C: improve help for use_scalable_fonts
14364 2002-01-17 Allan Rae <rae@lyx.org>
14366 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14368 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14370 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14371 make sure to set their inset_owner to the right value (bug #171)
14373 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14376 * DepTable.C: Implement mtime checking to reduce time spent doing
14379 2002-01-16 Juergen Vigna <jug@sad.it>
14381 * tabular.C (GetAdditionalHeight): one of error fixed.
14383 * lyxrc.C (output): small fix in writing use_pspell.
14385 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14387 * sp_base.h: #include LString.h
14389 2002-01-16 Allan Rae <rae@lyx.org>
14391 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14392 Can someone check this please?
14394 * text.C (drawInset): It was possible that p.row would be removed by
14395 breakAgainOneRow upsetting a few other settings. There may be another
14396 small tweak possible by setting need_break_row = 0 when p.row has been
14397 removed but I don't know enough about the logic here.
14399 2002-01-15 Allan Rae <rae@lyx.org>
14401 * text.C (insertChar): removed conditional truism.
14403 * BufferView2.C (removeAutoInsets): More tweaks.
14404 cur_par_prev could be a stray pointer. Check for trailing empty line
14405 in case last line was cur_par and only had an error inset on it.
14407 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14409 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14412 * vc-backend.C (most methods):
14413 * exporter.C (Export):
14414 * converter.C (convert):
14416 * LyXSendto.C (SendtoApplyCB):
14417 * lyxfunc.C (dispatch):
14421 * lyx_cb.C (AutoSave):
14423 * BufferView_pimpl.C (MenuInsertLyXFile):
14424 * buffer.C (runChktex): use Buffer::filePath().
14426 * buffer.h: rename filename to filename_; rename filepath to
14427 filepath_ and make it private
14428 (filePath): new method
14430 * buffer.C (writeFile): use fileName()
14433 * lyx_main.C (init): fix starting of LyX when the binary is a
14434 link from so,ewhere else.
14436 * minibuffer.C: include <cctype> for isprint
14438 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14440 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14441 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14442 name clash with InsetCollapsable's width function.
14444 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14446 * lastfiles.C: include <iterator>
14448 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14450 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14453 * buffer.C (makeLaTeXFile): ditto.
14454 Also make loop operation more transparent.
14456 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14458 * ToolbarDefaults.C: remove trailing comma closing namespace.
14460 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14462 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14465 * trans.C (Load): comment out unused variable, allowed.
14467 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14469 * minibuffer.[Ch] (append_char): new method to recieve input from the
14470 drop-down completion browser. If a key was pressed, then recieve this
14471 char and append it to the existing string.
14472 (peek_event): modify the positioning data passed to the completion
14473 browser so that it can be placed above the minibuffer rather than below.
14474 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14476 * LyXAction.C (init): alloe error-next for readonly documents.
14478 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14481 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14483 * bufferlist.C (readFile): create the buffer _after_ checking that
14486 * lyxfunc.C (verboseDispatch): fix handling of arguments
14488 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14490 * lyxrc.C: use string::erase() instead of initializing to "".
14493 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14495 * BufferView_pimpl.h:
14496 * BufferView_pimpl.C:
14499 * text2.C: tell X when we have made a selection for copying
14501 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14503 * BufferView_pimpl.C (MenuInsertLyXFile):
14504 * lyxfunc.C (menuNew):
14506 (doImport): add shortcuts to directory buttons
14508 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14511 * lyxfunc.C (setStatusMessage):
14512 (getStatusMessage): new methods
14513 (getStatus):use setStatusMessage instead of setErrorMessage
14514 (dispatch): when function is disabled, set error message here
14515 [instead of in getStatus previously]
14517 * BufferView_pimpl.C (workAreaButtonRelease): update
14518 toolbar/menubar here too.
14520 2002-01-13 Allan Rae <rae@lyx.org>
14522 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14523 Now seems indestructible. Remaining task is to audit all other
14524 code affected by deleteEmptyParagraphMechanism. One small quirk
14525 left is that an empty document with an error in the preamble can
14526 be made to report an error but no error box appears. I don't know
14528 (removeAutoInsets): Improved comments.
14530 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14533 * Thesaurus.C: update for Aiksaurus 0.14
14535 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14537 * text2.C (firstParagraph): removed member function, all uses
14538 replaces with ownerParagraph
14539 (redoParagraphs): here
14540 (updateInset): here
14541 (toggleAppendix): here
14542 * BufferView2.C (insertErrors): here
14543 (setCursorFromRow): here
14545 2002-01-13 Allan Rae <rae@lyx.org>
14547 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14548 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14549 There is still a way to segfault this although you may have to do this
14550 multiple times: Have an InsetERT with an unknown command in it.
14551 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14552 <down-arrow>, <Enter> again, View->DVI, BANG!
14554 * text2.C (setCursor):
14555 (deleteEmptyParagraphMechanism):
14556 * lyxtext.h (setCursor):
14557 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14558 Making use of the return value may help fix other bugs.
14560 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14562 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14564 * LyXView.C (updateMenubar): call MenuBar::update here
14565 (updateToolbar): but not here
14566 (showState): do not update toolbar/menubar
14568 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14569 should need to care about that.
14571 * lyxfunc.C (verboseDispatch): simplify a bit
14572 (getStatus): have a version which takes a pseudoaction, and
14573 another which requires a (kb_action,string).
14575 * LyXAction.C (retrieveActionArg): make it work also when action
14576 is not a pseudo-action.
14577 (getActionName): simplify a bit
14580 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14582 * lyxfunc.C (verboseDispatch): new families of methods with
14583 several ways to specify a command and a bool to indicate whether
14584 the command name and shortcut should be displayed in minibuffer
14585 (eventually, we could extend that to a finer bitmask like
14586 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14587 (dispatch): the pristine dispatch command which just, well,
14588 dispatchs! Note it still sets its result to minibuffer; I'm not
14591 * lyxfunc.h: remove setHintMessage
14593 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14595 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14597 * BufferView_pimpl.C (specialChar): delete new inset if we have
14598 not been able to insert it.
14600 * kbmap.C: revert to using int instead of kb_action, since all we
14601 are dealing with is pseudo-actions.
14603 * LyXAction.C (searchActionArg): change to return int instead of
14604 kb_action, since the result is a pseudoaction.
14606 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14608 * buffer.C (insertErtContents): Fix (partially) the font bug.
14610 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14612 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14613 as the other one is broken on my machine!
14615 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14618 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14620 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14622 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14623 reflect their actual use. Provide compatibility code for older lyxrc
14626 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14628 change names of popup font variables in line with the changes to lyxrc.C
14630 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14632 * buffer.C (asciiParagraph): avoid outputing a word twice after
14635 * lyxrc.C (getDescription): document that document_path and
14636 template_path can be empty.
14638 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14640 * LaTeXFeatures.C (getMacros):
14641 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14643 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14645 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14647 (getPackages): rename feature "floats" to "float". Use an array to
14648 iterate over 'simple' features (i.e. just a \usepackage). Add
14649 handling of "amsmath" (renamed from "amsstyle").
14651 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14653 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14656 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14658 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14659 FuncStaus::FuncStatus & FuncStaus::some_method().
14661 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14663 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14664 of the func_satus stuff. Edited and massaged in various ways by
14667 * lyxfunc.C (getStatus): use FuncStatus
14669 2002-01-08 Juergen Vigna <jug@sad.it>
14671 * text.C (nextBreakPoint): use function Inset::isChar().
14673 * paragraph.C (TeXOnePar): use function
14674 Inset::forceDefaultParagraphs.
14676 * buffer.C (latexParagraphs): use function
14677 Inset::forceDefaultParagraphs.
14679 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14681 * lyx_gui.C (init): set the style of the menu popups to
14682 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14684 2002-01-07 Juergen Vigna <jug@sad.it>
14686 * text.C (setHeightOfRow): small fix
14687 (prepareToPrint): don't look at alignment if we don't have the place
14690 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14692 * box.C: New file. Move the Box methods and functions out of box.h,
14693 following Lars' suggestion.
14695 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14697 * box.h: #include "support/LOstream.h", needed for inlined function.
14700 * lyxtextclasslist.C: added some using std declarations.
14702 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14704 * box.h: make signed dimensions to allow insets wider than
14705 the screen (bug #162)
14707 * BufferView_pimpl.C: add some insetHit debug
14709 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14711 * vc-backend.C: add FIXME
14713 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14715 * lyxfunc.C (getStatus): enable code for showing math font status
14718 2002-01-07 Juergen Vigna <jug@sad.it>
14720 * text.C (nextBreakPoint): removed debug output not needed anymore.
14722 2002-01-06 Juergen Vigna <jug@sad.it>
14724 * text.C (nextBreakPoint): fixed up this function we had this bug
14725 since ever but now hopefully we break row better.
14726 (insertChar): we have to check if an inset is the next char as it
14727 could now happen that a large inset is causing a break.
14729 2002-01-05 Juergen Vigna <jug@sad.it>
14731 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14732 if it doesn't like to be drawed.
14734 2002-01-04 Juergen Vigna <jug@sad.it>
14736 * BufferView2.C (lockInset): forgot to set a cursor.
14738 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14740 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14742 * FormMathsPanel.C:
14745 * form_maths_panel.C:
14746 * form_maths_panel.h:
14747 * form_maths_panel.fd: implemented sub- and super- buttons in math
14750 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14751 (or ^ space) to be used as in TeX (req'd by Andr�.
14753 * lyxfunc.C: Allow ^ and _ again to be used both as
14754 super/subscript (mathed) and as themselves (in text).
14756 2002-01-03 Allan Rae <rae@lyx.org>
14758 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14759 "LyX" or the filename of the current buffer if it has one. This is a
14760 modified form of John Levon's patch.
14762 * XFormsView.C (setWindowTitle): also set icon title.
14764 * LyXView.h (setWindowTitle): signature changed.
14765 * XFormsView.h (setWindowTitle): ditto.
14767 2002-01-02 Juergen Vigna <jug@sad.it>
14769 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14771 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14773 * screen.C (topCursorVisible): introduce a temp var for
14774 text->cursor.row(), handle the case where this row is null. (kindo
14777 * text2.C (setCursor): add a couple of asserts.
14779 * paragraph.h (inset_iterator): add -> operator
14781 * paragraph.[Ch] (autoDeleteInsets): remove member function
14783 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14784 cursor pos correctly and handle inset deletion by itself.
14785 (insertErrors): move iterator declaration out of for expression
14787 * lyxtextclass.C: add <algorithm>
14789 * Makefile.am: added the new files to sources, removed layout.C
14791 * layout.C: removed file
14793 * layout.h: remove LYX_DUMMY_LAYOUT
14795 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14799 * lyxtextclass.[Ch]:
14800 * lyxtextclasslist.[Ch]: new files
14802 * include order changes to a lot of files, also changes because of
14805 2001-12-27 Juergen Vigna <jug@sad.it>
14807 * buffer.C (asciiParagraph): more fixes.
14809 * tabular.C (ascii): make ascii export support export of only the
14810 data separated by a column-delimiter.
14811 (ascii): better support for ascii export.
14813 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14815 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14817 * tabular_funcs.C: use a "using std::getline" instead of the
14818 previous fix from Angus (necessary for cxx + lyxstring)
14820 2001-12-24 Juergen Vigna <jug@sad.it>
14822 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14824 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14825 problems. First check a minipage also if we have some ert-contents
14826 (not only on par->size(), second set the right depth of the paragraph
14827 on the relink to the root-paragraph-list!
14829 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14830 which then did not anymore update the main paragraphs on undo/redo!
14832 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14834 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14835 code. Support all font-changing funcs (even those which are not in
14836 menu currently). Support for reporting font settings in
14837 mathed (disabled until Andre provides a function on mathed's side).
14839 * func_status.h (toggle): small helper function to set toggle
14842 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14844 * tabular_funcs.C: getline -> std::getline
14846 2001-12-21 Juergen Vigna <jug@sad.it>
14848 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14849 accessed and could be 0 (I couldn't generate this but it seems
14852 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14854 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14855 * tabular_funcs.h: here and include iosfwd
14857 2001-12-20 Juergen Vigna <jug@sad.it>
14859 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14860 inside inset but undo_par was.
14862 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14864 * Thesaurus.C: always include <config.h> in sources.
14868 * box.h: do not include <config.h> in header files
14870 * text.C (paintLastRow): remove unused variable
14872 * text.C (transformChar):
14874 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14876 * Painter.C (text):
14877 * font.C (width): rewrite to use uppercase() instead of
14880 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14882 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14884 * lyxfind.C: clean up of find failure position change
14886 2001-12-20 Juergen Vigna <jug@sad.it>
14888 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14890 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14891 (TeXRow): added to LaTeX a single tabular row.
14892 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14893 (Latex): simplified and finally good LT-h/f support.
14894 (various_functions): just small adaptions for LT-h/f support.
14896 * tabular_funcs.[hC]: added and moved here all not classfunctions
14899 2001-12-19 Juergen Vigna <jug@sad.it>
14901 * tabular.[Ch]: better support for longtabular options (not finished
14904 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14906 * text.C (paintLastRow): use the label font instead of the font of
14907 the last character to compute the size of *_BOX. This makes more
14908 sense and avoids a crash with empty paragraphs.
14909 Use Painter::rectangle to draw EMPTY_BOX.
14911 2001-12-19 Juergen Vigna <jug@sad.it>
14913 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14914 the paragraphs if the replaced paragraph is not the first one!
14915 Tried to delete not used paragraphs but does not work yet so for
14916 now it's inside #ifdef's and by default off!
14918 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14920 * MenuBackend.C: include "lyx_main.h" instead of declaring
14921 lastfiles (actually was declared as LastFiles* instead of a
14924 2001-12-17 Juergen Vigna <jug@sad.it>
14926 * tabular.C (AppendColumn): applied John's fix
14928 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14932 * BufferView_pimpl.h:
14933 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14936 * box.h: new start of class for above
14938 * lyxfunc.C: ignore space-only minibuffer dispatches.
14939 Show the command name when it doesn't exist
14941 * minibuffer.C: don't add empty lines to the history
14943 * minibuffer.C: add a space on dropdown completion
14945 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14947 * text.C: fix line above/below drawing in insets
14949 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14951 * lyxlength.C (LyXLength): Initialize private variables.
14953 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14955 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14956 when inserting error insets.
14958 2001-12-13 Juergen Vigna <jug@sad.it>
14960 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14961 actually sometimes the before-paragraph.
14962 (setUndo): don't clear the redostack if we're not actually undoing!
14964 2001-12-06 Juergen Vigna <jug@sad.it>
14966 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14967 and fixed redoing of main paragraph, so we can use it now ;)
14969 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14971 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14973 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14976 2001-12-13 André Pönitz <poenitz@gmx.net>
14979 * undo_func.C: minor cleanup
14981 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14983 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14984 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14985 font in urw-fonts package which is marked as -urw-fontspecific and
14986 does not work (incidentally, changing the encoding in the
14987 fonts.dir of this package to -adobe-fontspecific fixes the
14990 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14991 is a crash when undoing first paragraph (Juergen, please take a
14992 look). THis does not mean the undo fix is wrong, just that it
14995 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14996 the (Paragraph*) version when needed instead of duplicating the
14999 * text.C (workWidth): use Inset::parOwner to find out where the
15000 inset has been inserted. This is a huge performance gain for large
15001 documents with lots of insets. If Inset::parOwner is not set, fall
15002 back on the brute force method
15004 * paragraph_pimpl.C (insertInset):
15005 * paragraph.C (Paragraph):
15006 (cutIntoMinibuffer): set parOwner of insets when
15007 inserting/removing them
15009 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15011 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
15017 * mathed/formulabase.C:
15018 * mathed/math_cursor.[Ch]:
15019 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15022 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15024 * lyxlength.[Ch] (operator!=): new function
15026 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15028 * text.C (workWidth): use Inset::parOwner to find out where the
15029 inset has been inserted. This is a huge performance gain for large
15030 documents with lots of insets. If Inset::parOwner is not set, fall
15031 back on the brute force method
15033 * paragraph_pimpl.C (insertInset):
15034 * paragraph.C (Paragraph):
15035 (cutIntoMinibuffer): set parOwner of insets when
15036 inserting/removing them
15038 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15040 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15042 * tabular-old.C (getTokenValue):
15043 * tabular.C (getTokenValue):
15044 (write_attribute): new versions for LyXLength
15045 (everywhere): adjust the use of widths
15047 * tabular.h: change the type of widths from string to LyXLength
15049 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15051 * paragraph.C: fixed missing line number count when exporting
15052 Environments to LaTeX file
15054 * buffer.C: added informational message for checking line numbers.
15056 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15058 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15059 paragraph, do the 'double space' part, but not the 'empty
15062 * text.C (workWidth): small optimization
15063 (getLengthMarkerHeight): use minimal size for negative lengths.
15065 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15067 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15069 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15071 2001-12-11 André Pönitz <poenitz@gmx.net>
15074 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15076 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15078 * text2.C: keep selection on a setFont()
15080 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15082 * lyx_cb.C: another bv->text misuse, from insert label
15084 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15087 * kbsequence.C: re-instate nmodifier mask
15089 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15091 * lyx_main.h: make lyxGUI private.
15093 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15095 * lyxfind.C: place the cursor correctly on failed search
15097 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15099 * text.C (getLengthMarkerHeight): for small heights, the arrows
15100 are not always on top/bottom of the text
15101 (drawLengthMarker): smaller arrows; take the left margin in
15102 account; draw also vfills.
15104 (paintLastRow): remove special code for vfill and standard spaces,
15105 since everything is handled in drawLengthMarker now.
15107 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15109 * buffer.C (insertErtContents): try to handle font and language
15110 interaction a bit better.g
15112 * ColorHandler.C (updateColor): change the hash to cover the whole
15113 LColor enum, ws cleanup
15114 (getGCLinepars): ditto
15115 (getGCLinepars): only lookup in the linecache once.
15117 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15119 * iterators.C (operator++): Make the iterator more robust
15121 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15123 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15125 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15128 * text.C: better added space drawing
15130 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15133 * BufferView2.C: fix layout combo update on inset unlock
15135 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15137 * Makefile.am: don't compile unused files
15139 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15143 * LyXAction.C: remove old LFUN_LAYOUTNO
15145 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15147 * paragraph_pimpl.h:
15148 * paragraph_pimpl.C: isTextAt() doesn't need font param
15150 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15153 * lyxlex.C: little cleanup
15155 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15157 * BufferView_pimpl.C: fix insertAscii for insets
15159 2001-12-05 Juergen Vigna <jug@sad.it>
15161 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15162 set the right font on the "multi" paragraph paste!
15164 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15170 * lyxlength.C: remove out-commented code.
15172 * BufferView_pimpl:
15186 * vc-backend.C: change "while(" to "while ("
15188 * lyxlength.[Ch]: add zero function to check if length is zero or
15190 * lyxgluelength.C: use it
15192 2001-12-05 Allan Rae <rae@lyx.org>
15194 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15195 Works for 2.95.3, from what I understand of Garst's reports this should
15196 work for other g++ versions. We're screwed if the abs(int) definition
15197 changed between bugfix releases of gcc.
15199 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15201 * text.C: fix chapter label offset !
15203 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15206 * text.C: fix hfill at end of line, clean up
15208 2001-12-04 Juergen Vigna <jug@sad.it>
15210 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15211 that we force an update of the inset and it's owners if neccessary.
15213 2001-12-03 Juergen Vigna <jug@sad.it>
15215 * text.C (rowLast): simplified code
15217 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15219 * lyxfunc.C: fix show options on timeout
15221 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15223 * screen.C (topCursorVisible): scroll half a page when the cursor
15224 reached top of bottom of screen
15226 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15228 * minibuffer.C: deactivate on loss of focus
15230 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15232 * vspace.[Ch] (operator!=): add operator.
15234 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15236 * BufferView_pimpl.C: refuse to open an inset when
15237 there's a selection.
15239 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15241 * BufferView_pimpl.C: allow to click on RHS of full row insets
15243 2001-11-30 Juergen Vigna <jug@sad.it>
15245 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15246 insets for undo reasons.
15248 2001-11-28 André Pönitz <poenitz@gmx.net>
15250 * vspace.[Ch]: cosmetical changes
15252 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15262 * kbsequence.C: part re-write of old kb code
15265 * WorkArea.C: remove Lgb_bug_find_hack
15267 2001-11-30 José Matos <jamatos@fep.up.pt>
15269 * buffer.C (makeDocBookFile): add a comment to point a hack.
15270 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15271 Fixed a double write of labels.
15273 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15276 * LaTeX.h Fixed bug in LaTeX class where it would not
15277 re-run latex if no depfiles were changed, but the .dvi was removed.
15279 2001-11-28 André Pönitz <poenitz@gmx.net>
15281 * all the files from the change on 2001/11/26:
15282 use lyx::layout_type instead of LyXTextClass::size_type
15283 use lyx::textclass_type instead of LyXTextClassList::size_type
15285 2001-11-29 Juergen Vigna <jug@sad.it>
15287 * text.C: added support for paragraph::isFreeSpacing()
15289 * buffer.C: same as above
15291 * paragraph.h: inserted isFreeSpacing() function to enable
15292 FreeSpacing inside InsetERT.
15294 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15295 of the paragraph's in the cut/copy buffer to 0!
15297 * text2.C (removeRow): remove the assert as it can!
15299 * lyxtext.h: added helper function firstRow returning firstrow and
15300 made firstrow private again.
15302 * BufferView2.C (lockInset): don't relock if we're already locked!
15304 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15305 the only paragraph.
15306 (removeRow): added Assert::(firstrow)
15308 * debug.C: forgot to add INSETTEXT here.
15310 2001-11-28 Juergen Vigna <jug@sad.it>
15312 * sp_spell.C (initialize): changed error text to more general
15313 spellchecker command use (not only ispell!)
15315 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15317 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15319 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15321 * vspace.C: initialise lyxgluelength on failure
15323 2001-11-28 Allan Rae <rae@lyx.org>
15325 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15326 declaration & definition that looks like a function declaration.
15328 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15330 * BufferView2.C (copy):
15331 (copyEnvironment): do not clear the selection when doing a copy.
15333 * text.C (paintFirstRow): compilation fix
15335 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15337 * tabular.C (Latex): correct line count when writing latex.
15339 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15341 * paragraph_pimpl.h:
15342 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15345 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15349 * LColor.C: change vfillline->added_space
15351 * text.C: add markers and text for added space
15353 * vspace.C: fix comment
15355 2001-11-28 André Pönitz <poenitz@gmx.net>
15357 * paragraph.C: whitespace changes
15358 * all the other files from the change on 2001/11/26:
15359 change *::pos_type into lyx::pos_type
15361 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15363 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15364 language of the document when inserting error insets.
15366 2001-11-26 André Pönitz <poenitz@gmx.net>
15368 * BufferView_pimpl.[Ch]:
15376 * paragraph_pimpl.[Ch]:
15379 * text2.C: reduce header dependencies, introduce type for positions
15381 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15383 * <various>: change to use Alert.h
15385 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15387 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15388 when encountering an unknown token.
15389 (readLyXformat2): Show an error message if there were unknown tokens.
15391 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15394 * BufferView_pimpl.C:
15398 * text2.C: use par->isInset()
15400 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15402 * paragraph_pimpl.h:
15403 * paragraph_pimpl.C: cleanup
15405 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15407 * text2.C (removeRow):
15408 * text.C (setHeightOfRow): remove useless (and costly) call to
15411 2001-11-20 Allan Rae <rae@lyx.org>
15413 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15414 Now need Inset*::checkInsertChar() to return true for appropriate
15415 cases so that the characters in the minibuffer will actually be
15418 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15420 * text.C: change the order of the includes.
15421 (workWidth): initialize it at once.
15422 (workWidth): make maxw unsigned
15423 (setHeightOfRow): remove unused variable (inset)
15424 (selectSelectedWord): remove unused variable (inset)
15425 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15427 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15429 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15430 server is not running.
15432 (closeConnection): add debug info when server is disabled.
15434 * ColorHandler.C (getGCForeground): send debug message to GUI
15437 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15439 * kbmap.C (bind): modify because return conventions of
15440 kb_sequence::parse have changed.
15442 * kbsequence.C (parse): only ignore spaces and not any stupid
15443 control character. This avoids tests like s[i] <= ' ', which are
15444 guaranteed to fail with 8bit characters and signed chars.
15445 Change return code to string::npos when there have been no error
15446 (0 was a bad idea when error is at first character)
15448 2001-11-14 José Matos <jamatos@fep.up.pt>
15451 * buffer.C (simpleDocBookOnePar): removed unused argument.
15453 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15455 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15456 insets which are part of a word. Paragraph::isLetter takes care of
15457 that now. Use Paragraph::isInset to identify insets.
15458 (selectSelectedWord): do not test for hyphenation break.
15460 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15461 that protected spaces are considered as spaces.
15463 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15466 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15469 * lyxserver.C: fix it. and small cleanup.
15471 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15473 * BufferView_pimpl.C: use inline helpers
15476 * LaTeXFeatures.C: fix typos
15479 * Spacing.C: move spacing_string into class
15481 * ToolbarDefaults.C: move stuff into namespace anon
15483 * layout.h: update enum
15485 * lyxfunc.C: use better debug
15487 * minibuffer.h: fix typo
15491 * WorkArea.C: add and use Debug::WORKAREA
15495 * text2.C: code re-organisation, inline helpers
15497 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15499 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15500 std::vector.empty().
15502 2001-11-09 Allan Rae <rae@lyx.org>
15504 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15505 '\n's after tables. Tabular and ERT inset work now makes this no
15508 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15511 * minibuffer.C: fix crash, improve drop-down completion
15513 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15516 * lyxserver.C: invalidate fd's when doing endPipe()
15518 2001-11-08 José Matos <jamatos@fep.up.pt>
15520 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15521 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15524 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15526 2001-11-07 José Matos <jamatos@fep.up.pt>
15529 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15532 * buffer.C (sgmlOpenTag):
15533 * buffer.C (sgmlCloseTag): removed debug info.
15535 * buffer.h (sgmlOpenTag):
15536 * buffer.h (sgmlCloseTag): made public.
15538 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15540 * buffer.C (saveParamsAsDefaults):
15541 * lyx_cb.C (MenuLayoutSave): remove
15543 * LyXAction.C (init):
15545 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15547 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15549 * buffer.C (setPaperStuff): removed from here...
15551 * bufferparams.C (setPaperStuff): ... and moved there.
15553 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15557 * XFormsView.C: add support for drop-down completion
15559 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15561 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15564 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15566 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15569 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15571 * lyx_main.C: change ref to known bugs
15573 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15575 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15576 to work around older babel problems.
15578 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15580 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15582 2001-10-24 Juergen Vigna <jug@sad.it>
15584 * tabular-old.C (ReadOld): below variable changes reflected.
15586 * tabular.[Ch]: added ltType struct for longtable header/footer
15587 defines and changed all instances where they are used. Added
15588 future support for double top/bottom rows.
15590 2001-10-24 José Matos <jamatos@fep.up.pt>
15592 * buffer.h (docbookHandleCaption):
15593 * buffer.C (docbookHandleCaption): removed unused function.
15594 (makeDocBookFile): moved docbook supported version to v4.1.
15596 2001-10-24 José Matos <jamatos@fep.up.pt>
15599 * tabular.C (docbookRow): new function to export docbook code of a row.
15600 (DocBook): now honors the longtable flags.
15602 2001-10-23 José Matos <jamatos@fep.up.pt>
15605 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15606 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15608 * buffer.C (makeLinuxDocFile):
15609 (makeDocBookFile): reworked the preamble, more clean, and with
15610 support for lyx defined entities. Changed the document declaration
15611 to be more XML friendly.
15613 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15614 if we need to output XML that should be done with a filter.
15616 2001-10-22 Juergen Vigna <jug@sad.it>
15618 * sp_pspell.h (class PSpell): add alive function needed in the
15619 controller to see if the spellchecker could be started.
15621 2001-10-22 Juergen Vigna <jug@sad.it>
15623 * buffer.C (insertStringAsLines): modify the font for inserting
15624 chars in certain conditions by calling checkInsertChar(font).
15626 2001-10-19 Juergen Vigna <jug@sad.it>
15628 * text.C (workWidth): use getRow instead of wrong algorithm.
15629 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15631 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15636 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15638 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15640 * text.C (workWidth): do not search for the exact row when
15641 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15642 optimization for big documents.
15644 2001-10-18 Juergen Vigna <jug@sad.it>
15646 * text.C (workWidth): new function with added Inset * parameter.
15648 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15650 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15652 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15653 change return type of getColumnNearX.
15656 * text.C (changeRegionCase): use uppercase/lowercase instead of
15659 (rightMargin): simplify code by factoring out the uses of
15664 (appendParagraph): use Paragraph::size_type
15666 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15668 * vspace.C (asLatexString): add a missing break
15670 2001-10-15 Herbert Voss <voss@perce.de>
15672 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15674 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15676 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15679 2001-10-10 André Pönitz <poenitz@gmx.net>
15681 * lyxfunc.C: removed greek_kb_flag.
15683 2001-10-10 Herbert Voss <voss@perce.de>
15685 * lyx_main.C: delete global string help_lyxdir.
15687 2001-10-09 Herbert Voss <voss@perce.de>
15689 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15691 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15693 * lyx_main.C: added global string help_lyxdir.
15695 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15697 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15699 * lyxrc.C (set_font_norm_type): support iso8859-4
15701 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15703 * LaTeX.C (deplog): add another regex for MikTeX
15705 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15707 * lyxrc.C (set_font_norm_type): support iso8859-3
15709 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15711 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15713 * LaTeXFeatures.C: remove special case of french and index
15715 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15716 before \begin{document}). This solves several incompatibilities.
15718 2001-10-03 Garst Reese <reese@isn.net>
15720 * lyx_cb.C: change CheckTex error msg.
15722 2001-10-03 José Matos <jamatos@fep.up.pt>
15724 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15726 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15728 * .cvsignore: update
15730 * lyx_main.C (commandLineVersionInfo): use new style version info.
15732 * buffer.C (writeFile):
15734 (makeLinuxDocFile):
15735 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15737 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15739 * version.h: update to use stuff in version.C
15741 * version.C.in: new file. Contains version information determined
15742 at compile time. This is a merging of version.h and
15745 2001-10-03 Juergen Vigna <jug@sad.it>
15747 * BufferView_pimpl.C (update): don't change "dirty" status in
15750 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15752 * WorkArea.C (c-tor): re-position version string slightly.
15754 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15756 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15757 revert to previous code.
15759 WorkArea.[Ch]: (show, destroySplash): methods removed.
15761 WorkArea.C: rework code so that it's an amalgam of the codes before and
15762 after the splash screen was moved to WorkArea.
15764 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15767 * vspace.C (inPixels):
15770 * buffer.C (insertStringAsLines):
15771 (asciiParagraph): fix types to be large enough
15773 * lyxlex_pimpl.h: change member status from short to int
15775 * layout.h: fix type of endlabeltype
15778 * kbsequence.C (parse): change return type to string::size_type
15780 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15783 * Bullet.C (bulletSize):
15784 (bulletEntry): do not use short ints as parameters
15786 * BufferView2.C (insertLyXFile): change a char to an int.
15788 * WorkArea.C (WorkArea): remove unneeded floats in computation
15790 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15792 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15794 * paragraph.C (asString): Do not ignore newline/hfill chars when
15795 copying to the clipboard.
15797 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15799 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15800 after a multi-line inset.
15802 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15804 * paragraph.C (validate): Set NeedLyXFootnoteCode
15806 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15808 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15809 and decrease-error to decrease.
15811 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15813 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15814 it more readable (should be equivalent)
15816 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15818 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15820 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15822 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15823 of a cursor (row, etc.) after a character has been deleted
15824 (deleteEmptyParagraphMechanism): call the method above on _all_
15825 cursors held by the LyXText when a double space has been
15828 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15830 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15832 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15834 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15835 background. Use greyOut() and the new show() methods to toggle between
15836 the foreground and background. Add code to remove the splash after
15837 its initial showing.
15839 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15840 (create_forms): no longer call Dialogs::showSplash.
15842 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15844 * .cvsignore: add version_info.h
15846 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15848 * version_info.h.in: new file
15850 * Makefile.am: add version_info.h.in
15852 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15853 version_info.h instead of VERSION_INFO
15855 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15857 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15858 The ERT inset now returns string().
15860 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15862 * lyxtext.h, text.C (selectNextWord): renamed as
15863 selectNextWordToSpellcheck.
15865 * text.C (selectNextWordToSpellcheck): Modified to not select
15866 words inside an ERT inset.
15868 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15870 * lyx_cb.C (MenuLayoutSave): change a bit the question
15872 * sp_base.h: include <sys/types.h>
15874 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15876 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15878 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15880 * several files: fix typos in user-visible strings
15882 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15884 * text2.C (pasteSelection): do not set the selection, since it
15885 will be cleared later. Actually, the intent was to fix the way the
15886 selection was set, but I figured rmoving the code was just as good.
15888 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15890 * FontLoader.C (available): Check if font is available without
15893 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15895 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15897 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15899 * lyxrc.[Ch]: added display_graphics variable and associated code.
15901 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15903 * bufferparams.C (hasClassDefaults): new method. Returns true if
15904 the buffer parameters correspond to known class defaults
15906 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15908 * XFormsView.C (show): set minimum size to the main window.
15910 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15912 * text2.C (copySelection):
15914 * lyxfind.C (LyXReplace):
15915 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15916 LyXText::selectionAsString.
15918 * paragraph.C (asString): add "label" argument to the second form
15920 * text2.C (selectionAsString): add "label" argument and pass it to
15921 Paragraph::asString.
15923 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15925 * lyx_main.C (commandLineHelp): remove version information
15927 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15929 * lyx_main.C: add -version commandline option
15931 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15933 * paragraph.h: make the optional constructor arg required instead.
15934 some modifications to other files because of this.
15936 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15938 * lyxserver.C (C_LyXComm_callback): make it static
15940 * lyx_main.C (error_handler): make it static
15942 * lyx_gui.C (LyX_XErrHandler): make it static
15944 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15946 * WorkArea.C: make the extern "C" methods static.
15948 * Makefile.am (lyx_LDADD): simplify
15950 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15952 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15953 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15955 * LyXAction.C (init):
15956 * lyxfunc.C (dispatch): associated code removal.
15958 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15960 * lyxfont.h (isSymbolFont): shut off warning
15962 * text.C (setHeightOfRow):
15963 (getVisibleRow): fix crash with empty paragraphs which have a
15966 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15968 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15971 2001-09-04 José Matos <jamatos@fep.up.pt>
15974 * tabular.C (docbook): rename docBook method to docbook.
15976 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15978 * Makefile.am: add dependencies to main.o.
15980 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15982 * FontLoader.C (available): Return false if !lyxrc.use_gui
15984 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15986 * FontInfo.C (query):
15987 * converter.C (view):
15988 * importer.C (Import):
15989 * exporter.C (Export): Can not -> cannot.
15991 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15993 * BufferView_pimpl.C: allow to create index inset even if
15996 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15998 * buffer.C (getLists): replace boost::tie code with an explicit pair
15999 as boost::tie can break some compilers.
16001 * iterators.h: Added a std:: declaration to the return type of
16004 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
16006 * lyxrc.C: add help for view_dvi_paper_option, default to safe
16009 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
16011 * iterators.[Ch]: New files. Provide paragraph iterators.
16013 * buffer.C (changeLanguage): Use paragraph iterators.
16014 (isMultiLingual): ditto
16016 * BufferView2.C (ChangeInsets): Use paragraph iterators.
16018 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
16020 * FontLoader.C: Support for cmr font.
16022 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
16024 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16025 (available): New method.
16027 * FontInfo.C (getFontname): Use scalable fonts even when
16028 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16031 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16033 * converter.C (Formats::view): reverted! Incorrect fix.
16035 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16037 * converter.C (Formats::view): only output the -paper option
16038 if the dvi viewer is xdvi, thereby fixing bug #233429.
16040 2001-08-23 Herbert Voss <voss@perce>
16042 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16044 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16046 * Spacing.h (Spacing): Set space to Default on in the default
16049 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16051 * vc-backend.h (RCS::versionString): add RCS to version
16052 (CVS::versionString): add CVS to version
16054 * vc-backend.C (scanMaster): do not add CVS to version.
16055 (scanMaster): do not add RCS to version
16057 * lyxvc.C (versionString): new method
16059 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16061 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16063 * Spacing.C (set): initialize fval
16065 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16067 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16070 2001-08-16 Juergen Vigna <jug@sad.it>
16072 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16074 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16076 * BufferView_pimpl.C:
16079 * text2.C: setParagraph takes linespacing now
16081 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16083 * LyxAction.C: add internal LFUN_CITATION_INSERT
16085 * LyXView.C: actually apply fix
16087 * bufferlist.C: fix open non-existent file
16089 * lyxfind.C: fix indentation
16091 * lyxfunc.C: remove unneeded assert, fix typo
16093 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16095 * MenuBackend.C: use "Floatname List"
16097 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16099 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16100 when converting LaTeX layout to insetERT.
16101 Generate a non-collapsed float when reading old float
16103 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16105 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16108 2001-08-13 Juergen Vigna <jug@sad.it>
16110 * text.C (fill): return 0 instead of 20 as this seems to be the more
16113 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16115 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16118 2001-08-13 Juergen Vigna <jug@sad.it>
16120 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16122 (SearchBackward): comment out the unlocking of the inset_owner this
16123 should not be needed!
16125 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16127 * Many files: Remove inherit_language, and add latex_language
16129 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16130 collapsible insets.
16132 2001-08-10 Juergen Vigna <jug@sad.it>
16134 * text.C (prepareToPrint): fixed hfill-width in draw!
16136 * BufferView2.C (selectLastWord): save the selection cursor as this
16137 now is cleared in the function LyXText::clearSelection!
16139 2001-08-08 Juergen Vigna <jug@sad.it>
16141 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16142 BACKSPACE type functions.
16144 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16145 is only cutted from the document but not put in the cut-buffer, where
16146 still the old stuff should be.
16148 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16150 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16152 * tabular.C (SetWidthOfCell): fixed special case where the width
16154 (LeftLine): handle '|' in align_special.
16156 (LeftAlreadyDrawed): ditto
16157 (SetWidthOfCell): ditto
16159 2001-08-07 Juergen Vigna <jug@sad.it>
16161 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16163 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16165 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16166 * lyxlex.[hC]: ditto
16168 2001-08-06 Juergen Vigna <jug@sad.it>
16170 * text.C (getVisibleRow): fix up row clearing a bit.
16172 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16174 * minibuffer.C: make sure the X server sees the changes in the input.
16176 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16178 * paragraph.C (getFont): split into...
16179 (getLabelFont): this
16180 (getLayoutFont): and this
16181 * paragraph_pimpl.C (realizeFont): calling this
16183 * text2.C (getFont): split into...
16184 (getLayoutFont): this
16185 (getLabelFont): and this
16186 (realizeFont): all three calling this
16188 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16191 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16193 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16195 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16197 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16198 layouts from the Quote inset insertion.
16200 2001-08-03 Juergen Vigna <jug@sad.it>
16202 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16204 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16205 only if status not is already CHANGED_IN_DRAW (second level).
16207 * text.C (draw): don't set the need_break_row when inside an
16210 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16212 * buffer.C (parseSingleLyXformat2Token): handle more latex
16215 * bufferview_funcs.[hC]: change function names to
16216 begin with small char, adjust other files.
16218 2001-08-02 André Pönitz <poenitz@gmx.net>
16221 BufferView_pimpl.C: remove broken special code for math-greek
16223 2001-08-02 Juergen Vigna <jug@sad.it>
16225 * BufferView_pimpl.C (update): redone this function so that we
16226 update the text again if there was a CHANGE_IN_DRAW.
16228 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16229 (drawFromTo): added a new internal bool which is used by draw() and
16231 (general): some cursor drawing problems fixed.
16233 2001-08-01 Juergen Vigna <jug@sad.it>
16235 * lyxfind.C (LyXFind): fixed
16236 (SearchForward): ditto
16237 (SearchBackward): ditto
16239 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16240 spurius drawing of the cursor in the main area.
16242 * text2.C (status): small fix which could lead to a segfault!
16243 (clearSelection): remove unneeded BufferView param.
16245 2001-08-01 André Pönitz <poenitz@gmx.net>
16247 * lyxfunc.C: small change due to changed mathed interface
16249 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16251 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16253 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16255 * lyxfunc.c: fail gracefully if file doesn't exist
16260 * BufferView_pimpl.C: IsDirWriteable() proto changed
16262 * LyXView.C: fix updateWindowTitle() to store the last title
16264 2001-07-31 Juergen Vigna <jug@sad.it>
16266 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16267 the font (wrong since using of Paragraph::highestFontInRange).
16269 * paragraph.C (highestFontInRange): added a default_size parameter.
16271 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16272 (setHeightOfRow): reformat
16274 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16276 * converter.[hC] + affected files: move to (inital-char)lowercase
16279 * ParagraphParameters.C (ParagraphParameters): remove commented code
16281 * PainterBase.[Ch]: remove commented code
16283 * LaTeXFeatures.h: add "bool floats" for float.sty
16285 * LaTeXFeatures.C (LaTeXFeatures): init floats
16286 (require): handle float
16287 (getPackages): do it with floats
16289 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16291 * BufferView_pimpl.C (Dispatch): improve handling of
16292 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16294 * commandtags.h: #include lyxfont.h here temporarily to avoid
16297 * bufferlist.h: include LString.h here.
16299 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16301 * text2.C (getStringToIndex): new method.
16303 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16305 * *: Reduced header file dependencies all over.
16307 2001-07-30 Baruch Even <baruch@lyx.org>
16309 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16311 2001-07-29 Baruch Even <baruch@lyx.org>
16313 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16315 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16317 * ParameterStruct.h (endif): add a default constructor to make
16318 sure that all variables is initialized.
16320 * ParagraphParameters.C (ParagraphParameters): adjust
16322 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16324 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16325 index; also, check that there is something to index, and that it
16326 does not span over several paragraphs.
16327 (doubleClick): use WHOLE_WORD_STRICT for double click.
16329 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16331 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16334 2001-07-26 Baruch Even <baruch@lyx.org>
16336 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16337 an InsetFig figure, backwards compatible reading of old figure code.
16339 2001-07-27 Juergen Vigna <jug@sad.it>
16341 * text2.C: font.realize function adaption.
16343 * text.C (draw): add a warnings lyxerr text if needed.
16345 * layout.C: font.realize function adaption.
16347 * language.C: add inherit_language and implement it's handlings
16349 * bufferview_funcs.C (StyleReset): remove language parameter from
16350 font creation (should be language_inherit now).
16352 * bufferparams.C (writeFile): handle ignore_language.
16354 * paragraph.C (getFontSettings): the language has to be resolved
16355 otherwise we have problems in LyXFont!
16357 * lyxfont.C (lyxWriteChanges): added document_language parameter
16358 (update): removed unneeded language parameter
16360 * paragraph.C (validate): fixed wrong output of color-package when
16361 using interface colors for certain fonts in certain environments,
16362 which should not seen as that on the final output.
16364 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16366 * BufferView_pimpl.C:
16371 * LyXAction.C: add thesaurus support
16374 * lyxfind.C: add "once" parameter, for thesaurus, to not
16375 move to the next match
16377 2001-07-26 Juergen Vigna <jug@sad.it>
16379 * lyxfont.C (realize): honor ignore_language too!
16382 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16384 * text.C (draw): one place more for ignore_language to not draw
16387 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16389 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16391 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16393 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16394 the minipage conversion problem.
16396 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16398 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16401 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16403 * BufferView.h: don't forward declare WorkArea
16405 * BufferView.C: don't include WorkArea.h
16407 2001-07-25 André Pönitz <poenitz@gmx.net>
16411 * lyxfunc.C: new LFUN 'math-space'
16413 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16415 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16417 * text2.C (toggleInset): call open/close
16419 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16421 * lyxfunc.C (dispatch): add debug for the disabled case
16423 * font.C (buttonText): make similar to rectText
16425 * buffer.C (readInset): comment out parsing of insetlist and
16428 * PainterBase.C (rectText): small correction
16430 * BufferView_pimpl.C: comment out insettheorem and insetlist
16431 * LyXAction.C: ditto
16432 * commandtags.h: ditto
16434 2001-07-24 Juergen Vigna <jug@sad.it>
16436 * text.C (draw): honor the ignore_language.
16438 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16440 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16442 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16445 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16447 * lyxtext.h: remove unused (and unimplemented) methods
16449 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16451 * text.C (getVisibleRow): honor background color
16454 * Painter.h: remove default color argument for fillRectangle
16456 * text.C (backgroundColor): new method
16458 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16460 * text.C (getVisibleRow): adjust
16462 * font.[Ch] (rectText): new method, metrics
16463 (buttonText): new method, metrics
16465 * PainterBase.[hC]: make rectText and buttonText always draw and take
16468 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16470 * ToolbarDefaults.C (read):
16471 * MenuBackend.C (read): allow escaping in all strings
16473 * BufferView_pimpl.C (insertAndEditInset): new method.
16474 (Dispatch): use insertAndEditInset whenever appropriate.
16476 * BufferView_pimpl.C (insertNote): removed
16478 * BufferView_pimpl.C (smartQuote): new method, moved from
16479 BufferView; if an insetquote cannot be inserted, insert a '"'
16482 * BufferView2.C: remove insertCorrectQuote();
16484 * lyxfunc.C (getStatus): Add support for all remaingin
16485 inset-insert lfuns.
16487 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16489 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16490 command (necessary to pass " as parameter of self-insert.
16492 * text.C (selectWordWhenUnderCursor):
16493 (selectWord): add word_location parameter
16494 (selectWordWhenUnderCursor): same + remove special code for word
16496 (selectNextWord): use kind() to guess type of insetspecialchar,
16499 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16500 (insertErtContents): create ert insets as collapsed.
16501 (readInset): better compatibility code for Info inset.
16503 2001-07-20 Juergen Vigna <jug@sad.it>
16505 * lyxfunc.C (dispatch): use always LyXFind now!
16507 * text2.C (init): add a reinit flag so that the LyXText can be
16508 reinited instead of deleted and reallocated (used in InsetText).
16510 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16516 2001-07-18 Juergen Vigna <jug@sad.it>
16518 * text.C (selectNextWord): handle insets inside inset by calling
16519 always the bv->text functions so that we can go up the_locking_inset!
16521 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16522 in strange locations when inside an inset!
16524 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16525 handling to include insets.
16527 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16529 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16531 * LyXAction.C (init):
16533 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16534 LIGATURE_BREAK, since the name is so stupid.
16536 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16538 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16541 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16543 * sp_form.[Ch]: remove.
16545 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16547 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16550 * src/buffer.C (readInset): ditto.
16552 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16554 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16555 menuSeparator(), endOfSentenceDot(), ldots() and
16556 hyphenationPoint(), which are therefore removed.
16557 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16559 * LyXAction.C (init):
16560 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16562 * paragraph.C (getWord): removed.
16564 * BufferView_pimpl.C (Dispatch): use last word or selection for
16565 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16567 * lyx_main.C (queryUserLyXDir): do not ask before creating
16568 user_dir, except if it has been named explicitely.
16570 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16572 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16573 a document of zero size.
16575 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16577 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16578 approriately in the c-tor and in require().
16579 (getPackages): output the appropriate LaTeX for natbib support.
16581 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16582 variables "use_natbib" and "use_numerical_citations" when reading the
16584 (readInset): read the various natbib cite commands.
16585 (validate): white-space change.
16587 * bufferparams.[Ch]: new variables "bool use_natbib" and
16588 "bool use_numerical_citations".
16589 (writeFile): output them in the LyX file.
16591 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16593 * lyxfunc.C (getStatus): add support for all the inset insertion
16596 * text2.C (insertInset):
16597 * paragraph.C (insetAllowed):
16598 * BufferView_pimpl.C (insertInset): update to take in account the
16599 renaming of insertInsetAllowed
16601 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16603 * text2.C (getInset): new method. returns inset at cursor position.
16605 * BufferView_pimpl.C (Dispatch): changes because of this.
16607 * LyXAction.C (init): rename open-stuff to inset-toggle.
16609 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16611 * text2.C (toggleInset): renamed from openStuff; use
16614 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16616 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16618 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16620 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16622 * buffer.C (readLyXformat2): Add filename to the error dialog
16624 2001-07-18 Juergen Vigna <jug@sad.it>
16626 * tabular.C (GetCellNumber): put an assert here instead of the check!
16628 2001-07-17 Juergen Vigna <jug@sad.it>
16630 * BufferView_pimpl.C (toggleSelection): adapted too.
16632 * text.C (selectNextWord): adapted for use with insets.
16633 (selectSelectedWord): ditto
16635 2001-07-17 Juergen Vigna <jug@sad.it>
16637 * sp_spell.C (PSpell): fix initialitation order.
16639 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16641 * paragraph.C: spacing
16643 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16645 * sp_spell.C: repair language selection for pspell
16647 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16649 * lyxfunc.h: change more methods to begin with lower char.
16651 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16653 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16654 for unknown layouts.
16656 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16658 * buffer.C (readLyXformat2): Generate an error dialog if there are
16661 2001-07-16 Juergen Vigna <jug@sad.it>
16663 * sp_spell.C: always compile ISpell part.
16665 * lyxrc.C: added use_pspell entry and it's handling.
16667 2001-07-13 Juergen Vigna <jug@sad.it>
16669 * sp_spell.C: removed double includes.
16671 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16673 Consistent use of Lsstream.h:
16674 * Lsstream.h: added using std::stringstream for consistencies sake.
16676 * buffer.C: removed using std::stringstream
16678 * lyxfont.C (stateText):
16679 * paragraph.C (asString):
16680 * text.C (selectNextWord, selectSelectedWord):
16681 * text2.C (setCounter):
16682 * vspace.C (asString, asLatexString):
16683 std::ostringstream -> ostringstream.
16685 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16687 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16688 * commandtags.h: add LFUN_HELP_ABOUTLYX
16689 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16691 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16693 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16695 * lyx_gui_misc.C: remove spellchecker
16696 * lyxfunc.C: showSpellchecker
16698 * sp_ispell.h: added
16699 * sp_pspell.h: added
16700 * sp_spell.C: added
16701 * sp_form.[Ch]: removed
16702 * spellchecker.[Ch]: removed
16704 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16706 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16708 (simpleTeXSpecialChars): Simply print the input character without
16709 any special translation if pass_thru is set.
16711 * layout.h: Added bool pass_thru to layout class for being able to
16712 implement pass through of a paragraph for Literate Programming.
16714 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16715 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16716 * layout.C (Read): add "passthru" to list of layout tags and add
16717 code to set the pass_thru boolean when it is read.
16719 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16721 * trans_decl.h: remove allowed from KmodInfo
16723 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16724 remove allowed code
16727 * paragraph_pimpl.C (erase): use boost::prior
16729 * Painter.C (text): use data() instead of c_str() when length is
16731 * WorkArea.C (putClipboard): ditto
16732 * font.h (width): ditto
16734 * BufferView2.C: use it-> instead of (*it). for iterators
16736 * paragraph_pimpl.C: ditto
16737 * paragraph.C: ditto
16738 * minibuffer.C: ditto
16739 * language.C: ditto
16741 * encoding.C: ditto
16742 * counters.C: ditto
16743 * converter.C: ditto
16745 * Variables.C: ditto
16746 * TextCache.C: ditto
16747 * MenuBackend.C: ditto
16748 * LyXAction.C: ditto
16750 * FloatList.C: ditto
16751 * DepTable.C: ditto
16752 * ColorHandler.C (LyXColorHandler): ditto
16754 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16756 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16758 * text2.C (openStuff): reintroduce this method (which had been
16759 nuked in NEW_INSETS frenzy).
16761 * lyxfunc.C (Dispatch): when an action has not been handled, use
16762 its name in the error message, not its number.
16764 * paragraph.C (inInset): change method name to begin with lowercase.
16767 * text2.C: updates because of this.
16769 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16771 * ToolbarDefaults.C (add): add spaces in error message
16773 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16775 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16776 (readLyXformat2): rename return_par to first_par, use lyxlex's
16777 pushToken and remove the manual push handling.
16778 (parseSingleLyXformat2Token): add another ert comp. variable:
16779 in_tabular, rename return_par to first_par. handle newlines better
16781 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16783 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16785 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16787 * text2.C (getParFromID): removed
16789 * buffer.C (getParFromID): new method moved form lyxtext.
16790 * BufferView2.C (insertErrors): adjust
16791 (setCursorFromRow): adjust
16792 * BufferView_pimpl.C (restorePosition): adjust
16793 * lyxfunc.C (Dispatch): adjust
16794 * undo_funcs.C (textUndo): adjust
16796 (textHandleUndo): adjust
16797 (textHandleUndo): adjust
16799 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16801 * buffer.C: up' the LYX_FORMAT
16803 * lyxfont.h: turn NO_LATEX on as default
16805 * buffer.C (insertErtContents): new methods of tex style compability.
16806 (parseSingleLyXformat2Token): use it several places.
16807 * tabular.C (OldFormatRead): and here
16809 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16811 * text2.C: remove some commented code.
16814 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16815 * trans.C: changes because of the above.
16817 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16819 * text2.C (setCounter): Fix counters bug with bibliography layout.
16821 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16823 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16824 own member functions
16825 (simpleTeXSpecialChars): ditto
16827 2001-07-06 Juergen Vigna <jug@sad.it>
16829 * a lot of files: changed the access to LyXText::status and the
16830 call of undo-functions.
16832 * undo.[Ch]: added a inset_id to the undo informations.
16834 * undo_funcs.[Ch]: added and moved here all undo functions.
16836 * lyxtext.h: give the status enum a weight, made status_ a private
16837 variable and made accessor functions for it, removed the whole bunch
16838 of undo-functions as they are now in their own file, make some
16839 functions publically available. Added function ownerParagraph with
16842 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16843 made InInset() a const function, added getParFromID() function.
16845 * buffer.[Ch]: added const version for inset_iterator functions,
16846 added getInsetFromID() function.
16848 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16849 changed undo functions for new version.
16851 2001-07-05 Juergen Vigna <jug@sad.it>
16853 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16854 unknow mechanism does not call the proper constructor but only this
16855 one also if I request the other!?
16857 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16859 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16861 * text2.C (LyXText): use initialization lists.
16863 * lyxtext.h (Selection): initialize set_ and mark_
16864 (init): remove method
16866 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16868 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16870 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16872 * screen.[Ch]: change method names to begin with lowercase
16874 * BufferView_pimpl.C (updateScrollbar): simplify further and
16875 hopefully make it a bit faster.
16877 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16879 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16880 calling directly xforms functions.
16882 * Painter.C (Painter):
16883 * lyx_cb.C (MenuWrite):
16884 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16887 * lyx_gui.C: remove bogus guiruntime extern declaration.
16889 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16891 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16893 (redoDrawingOfParagraph): ditto
16894 (redoParagraphs): ditto
16895 (cutSelection): don't create a object for CutAndPaste use the
16896 static method directly
16897 (pasteSelection): ditto
16899 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16902 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16904 * modifications to some other files because of this.
16906 * Makefile.am (lyx_SOURCES): add XFormsView
16908 * XFormsView.[Ch]: new files
16910 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16911 the main window. Move the gui dependent stuff to XFormsView
16913 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16915 * tabular.C (GetCellInset): update cur_cell also in the row/col
16916 version of this function.
16918 * lyxfunc.C: no need to include figure_form.h here.
16924 * lyxvc.C: no need to include forms.h here.
16926 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16928 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16930 * lyxfunc.C (Dispatch):
16932 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16933 constructor argument.
16935 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16937 * paragraph.C (Paragraph): dont't clear, and just set layout.
16938 (makeSameLayout): use params's copy contructor.
16940 * ParagraphParameters.[Ch] (makeSame): delete method
16942 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16944 * Variables.[Ch]: fix indentation, rename set to isSet
16946 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16948 * lyxfunc.C (Dispatch): fix typo
16950 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16952 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16955 * bufferlist.C: include assert.h for emergencyWrite().
16957 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16959 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16960 give up at last (bug #425202) !
16962 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16968 * spellchecker.C: strip spellchecker options and bring up
16969 preferences tab instead
16971 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16973 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16974 the istringstream constructor
16976 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16978 * paragraph.C (getLayout): fix return value
16980 * paragraph.h: do not declare getLayout as inline.
16982 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16984 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16986 * lyxcursor.h (operator<): new func
16987 (operator>): new func
16988 (operator>=): new func
16989 (operator<=): new func
16991 * text.C (changeCase): use selection.start and selection.end
16992 (changeRegionCase): require from to be <= to. Require par to be a
16995 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16997 2001-06-27 Juergen Vigna <jug@sad.it>
16999 * text.C (cursorLeftOneWord): changed to return the cursor and added
17000 overlay with BufferView * parameter which calls this one.
17002 (selectWord): use new getWord function.
17003 (changeCase): renamed from changeWordCase as and extended to work
17004 also on selections.
17006 * lyxtext.h: added enum word_location
17008 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17009 changeCase as this operates now also on selections.
17011 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
17013 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17015 * many files: send debug output to Debug::INFO instead of
17018 * converter.C (View):
17020 (Move): send debug output to Debug::FILES instead of console.
17022 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
17024 * lyxfunc.C (getStatus): use func_status
17026 * func_status.h: new header, describing the results of
17027 LyXFunc::getStatus;
17029 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17032 2001-06-25 The LyX Project <jug@sad.it>
17034 * buffer.C (sgmlOpenTag):
17036 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
17038 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17040 * text2.C: remove some dead code
17042 * tabular.C (GetCellInset): store the last cell checked (gotten)
17044 * tabular.h: add the helper for the speedup
17046 * lyxtext.h: remove some dead code
17048 2001-06-26 The LyX Project <Asger>
17050 * paragraph.C: Change export to LaTeX of alignment to
17051 \begin{center} and family for better roundtrip work with reLyX.
17053 * Tune the math drawing a bit.
17055 2001-06-25 The LyX Project <Asger>
17057 * LColor.C (LColor): New color for math background. New color
17060 2001-06-25 The LyX Project <jug@sad.it>
17062 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17064 * lyxfunc.C (Open):
17065 * bufferlist.C (newFile): do not restrict to files ending with
17068 * BufferView_pimpl.C (MenuInsertLyXFile):
17070 2001-06-24 The LyX Project <jug@sad.it>
17072 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17075 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17077 * lyxtext.h: rename most methods to begin with a small char.
17078 Lots of changes because of this.
17080 * paragraph.C (Paragraph): do not call fitToSize
17081 (erase): call Pimpl::erase
17082 (insertChar): call Pimpl::insertChar
17083 (insertInset): call Pipl::insertInset
17084 (breakParagraph): do not call fitToSize
17085 (breakParagraphConservative): do not call fitToSize
17086 (fitToSize): remove method
17088 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17090 2001-06-24 The LyX Project <Asger>
17092 * Fix Qt compilation^2
17094 2001-06-24 The LyX Project <jug@sad.it>
17096 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17097 depthHook(getDepth()-1).
17100 * ParagraphParameters.h:
17101 * ParameterStruct.h: change type of depth to unsigned int ==
17102 depth_type. Many adaptations to other files before of that.
17104 2001-06-24 The LyX Project <Asger>
17106 * Fix Qt compilation.
17108 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17110 * paragraph.h: renamed several methods to begin with small letter.
17111 several changes to many parts of the code because of this.
17113 2001-06-23 The LyX Project <jug@sad.it>
17115 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17116 rewritten to discard all double spaces when KeepEmpty is off
17117 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17118 to only handle newlines but not fiddle with spaces and friends.
17120 * lyxfunc.C (MenuNew): when doing 'new from template', use
17121 template_path as default directory
17123 2001-06-23 The LyX Project <Asger>
17125 * Clean-up of header file includes all over
17126 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17128 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17130 * paragraph.h: renamed from lyxparagraph.h
17132 2001-06-23 Asger <lyx@violet.home.sad.it>
17134 * Buffer.h: Removed Buffer::resize
17135 * BufferList.h: Removed BufferList::resize
17136 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17137 the document lazily when we change the width, or the font settings.
17139 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17141 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17143 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17145 * buffer.h: remove out of date comment
17147 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17150 * screen.C: fix "theoretical" GC leak
17152 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17154 * LaTeX.C (scanAuxFile):
17155 (deplog): remove trailing \r when reading stream (useful under
17158 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17160 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17161 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17162 and BufferView::theLockingInset(Inset*), so should use them and not
17163 access bv_->text->the_locking_inset directly.
17165 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17167 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17170 * tex-defs.h: remove old unused file
17172 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17174 * BufferView_pimpl.C: fix typo, remove minibuffer message
17175 when buffer has loaded
17177 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17179 * lyxfunc.C (Dispatch): use stringstream
17180 (MenuNew): use stringstream
17181 (Open): use stringstream
17183 * importer.C (Import): use stringstream
17185 * bufferview_funcs.C (CurrentState): use stringstream
17187 * LaTeX.C (run): use stringstream
17189 * BufferView_pimpl.C (savePosition): use stringstream
17190 (restorePosition): use stringstream
17191 (MenuInsertLyXFile): use stringstream
17193 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17206 * vspace.C: removed // -*- C++ -*- as first line.
17209 * version.h: added // -*- C++ -*- as first line.
17211 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17213 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17215 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17218 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17220 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17223 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17225 * gettext.C: include LString.h even when --disable-nls is on.
17227 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17229 * converter.h (Get): changed argument type from int to
17230 FormatList::size_type to avoid unnecessary conversion.
17232 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17235 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17237 * gettext.h: include LString.h even when --disable-nls is on.
17239 2001-06-07 Juergen Vigna <jug@sad.it>
17241 * text.C (BreakAgain): subst spaces with tabs.
17243 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17244 (resizeInsetsLyXText): set force on resizeLyXText.
17246 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17248 * gettext.h (gettext_init):
17249 (locale_init): use a real definition instead of a macro
17251 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17253 * Bufferview_pimpl.C:
17255 * LColor.C: further lcolor tidies
17257 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17259 * BufferView_pimpl.C (updateScrollbar): simplify.
17261 * BufferView2.C: don't include insets/insetinfo.h, change
17262 prototype for insertInset and call the Pimpl version. let
17263 updateInset call Pimpl version.
17265 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17266 gotoInset to BufferView::Pimpl
17268 2001-06-01 Juergen Vigna <jug@sad.it>
17270 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17271 inside a LockingInset (is the update needed at all?).
17273 2001-05-31 Juergen Vigna <jug@sad.it>
17275 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17276 here not the old one otherwise how should we compare it afterwards
17279 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17284 * FontInfo.C: bring C functions into global namespace when
17287 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17289 * LString.h: make sure config.h has been loaded before LString.h.
17291 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17292 (one for each char read by EatLine!).
17294 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17297 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17299 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17300 to the same as the par we break from
17302 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17304 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17306 * MenuBackend.C (expand): also create menu entries for wide
17307 versions of the floats.
17309 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17311 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17313 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17314 frontends/Makefile.am
17320 * tabular.C (getTokenValue): add std::
17322 * tabular-old.C (getTokenValue): add std::
17323 (getTokenValue): ditto
17324 (getTokenValue): ditto
17326 * screen.C (ToggleSelection): adjust
17328 * lyxtext.h: put selection cursors inside a Selection struct.
17330 * lyxfunc.C (moveCursorUpdate): adjust
17332 * lyxfont.C (latexWriteStartChanges): add std::
17334 * lyxfind.C: adjust
17336 * font.h: delete with(char const *, LyXFont const &)
17338 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17340 * FontInfo.C (getFontname): add std::
17342 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17343 (workAreaButtonPress): adjust
17344 (tripleClick): adjust
17346 (moveCursorUpdate): adjust
17349 * BufferView2.C (gotoInset): adjust
17351 2001-05-30 Juergen Vigna <jug@sad.it>
17353 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17354 to check pspell I add this as default as I now have new pspell
17355 libraries and they seem to use this.
17357 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17359 * text2.C (CutSelection): make the cursor valid before the call to
17362 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17364 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17365 relied on 0 terminated strings and other horrors. Bug found due to
17366 the new assert in lyxstring!
17368 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17371 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17373 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17376 * lyxfunc.C (processKeySym): change method of getting to the
17379 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17380 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17381 * BufferView_pimpl.[Ch]: here as private methods.
17383 2001-05-28 Juergen Vigna <jug@sad.it>
17385 * text.C (SetHeightOfRow): added the update() call again as it is
17386 needed to initialize inset dimensions!
17388 2001-05-16 Juergen Vigna <jug@sad.it>
17390 * text2.C (SetCharFont): Add new function with BufferView * and
17391 bool toggleall parameters for setting insets internal fonts.
17392 (SetFont): Freeze the undo as we may change fonts in Insets and
17393 all this change should be inside only one Undo!
17395 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17396 setting font's in insets as for them we have the SetFont function!
17398 2001-05-15 Juergen Vigna <jug@sad.it>
17400 * text2.C (ClearSelection): to be sure we REALLY don't have any
17403 * tabular.C (TeXCellPreamble): fixed the left border problem for
17406 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17408 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17411 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17413 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17414 LFUN_BREAKPARAGRAPH.
17416 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17417 help test to "internal only", similar for LFUN_INSERT_URL
17419 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17420 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17421 auto_region_delete and deadkeys.
17423 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17426 * LColor.C: remove some dead entries, tidy a little
17428 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17430 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17432 (Dispatch): implement LFUN_ESCAPE
17434 * commandtags.h: add LFUN_ESCAPE
17436 * LyXAction.C (init): add entry for LFUN_ESCAPE
17438 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17439 Remove commented code.
17440 (insertNote): moved here
17441 (open_new_inset): moved here
17443 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17446 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17448 * kbmap.C (findbinding): clean it up and make it work correctly.
17450 * lyx_main.C (init): do not pass argc and argv as parameters
17452 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17454 * buffer.C: fix path for OS/2 & Win32
17458 * lyx_main.C: Added os:: class.
17460 * os2_defines.h: update
17462 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17464 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17465 better by trying again with reduced state.
17467 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17469 * lyxrc.C (read): print error about invalid key sequence only when
17470 debugging (because not all latinX keysyms are known to some X
17473 * kbsequence.C (getiso): add a few std:: qualifiers
17474 (getiso): comment out extra return statement.
17476 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17478 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17480 (Dispatch): enhance the accent inset a bit. (not perfect)
17482 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17484 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17486 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17488 * bufferlist.C (emergencyWrite): fix assert() call
17490 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17492 * text.C (InsertChar): Added trivial patch to only send the "you
17493 can not do multiple spaces this way" message once during a
17496 2001-05-08 Baruch Even <baruch@lyx.org>
17498 * Makefile.am: Changed order of libraries to get LyX to link properly
17499 with the gnome frontend.
17501 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17503 * LaTeXFeatures.h: add a std:: qualifier
17505 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17507 * paragraph.C (String): use stringstream
17509 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17511 * paragraph.C (writeFile): remove footflag arg
17513 * buffer.C (makeLaTeXFile): use stringstream
17514 (latexParagraphs): remove footnot gurba
17516 * LaTeXFeatures.C (getPackages): use stringstream
17517 (getMacros): likewise
17518 (getTClassPreamble): likewise
17519 (getFloatDefinitions): new method
17521 * paragraph.C (writeFile): reindent
17524 * WorkArea.h: revert the xpos + etc changes.
17526 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17528 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17530 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17531 (pasteSelection): likewise
17532 * text2.C (CreateUndo): likewise
17534 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17536 * minibuffer.C (peek_event): temporarily reduce the functionality
17537 of the minibuffer (to allow args on lfuns)
17539 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17540 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17542 * buffer.C (readInset): add compability reading of old float
17543 lists, add reading of new style float list.
17544 (readInset): avoid reevaluation of inscmd.getCmdName()
17545 (getLists): reindent
17547 * MenuBackend.C (MenuItem): implement parsing of
17548 md_floatlistinsert and md_floatinsert.
17549 (expand::LastFiles): move initalizaton of iterators out of loop,
17550 avoid reevaluation.
17551 (expand::Documents): introduce typdedef vector<string> Strings,
17553 (expand::ExportFormats): introduce typedef vector<Format const *>
17554 Formats, and use it.
17555 (expand): implement FloatListInsert and FloatInsert.
17557 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17558 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17559 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17561 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17563 (Dispatch::LFUN_FLOAT_LIST): implement
17565 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17567 * LaTeX.C (run): Fix problem with --export code.
17569 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17571 * BufferView.[Ch] (workarea): removed.
17572 (getClipboard) new method; wrapper for workarea()->getClipboard()
17574 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17577 * WorkArea.h (width, height, xpos, ypos): These methods all
17578 returned the dimensions of the work_area sub-area of WorkArea,
17579 resulting in a position error if the WorkArea were resized. Now
17580 return the dimensions of the entire WorkArea.
17582 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17584 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17586 * LaTeX.C (deplog): correct the syntax of regex reg1
17588 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17590 * undo.C: remove !NEW_INSETS cruft
17592 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17594 * text2.C: remove !NEW_INSETS cruft
17596 * text.C: remove !NEW_INSETS cruft
17598 * tabular.C: remove !NEW_INSETS cruft
17600 * spellchecker.C: remove !NEW_INSETS cruft
17602 * lyxtext.h: remove !NEW_INSETS cruft
17604 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17606 * lyxfunc.C: remove !NEW_INSETS cruft
17608 * lyxfind.C: remove !NEW_INSETS cruft
17610 * lyx_cb.C: remove !NEW_INSETS cruft
17612 * figureForm.C: remove !NEW_INSETS cruft
17614 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17616 * buffer.[Ch]: remove !NEW_INSETS cruft
17618 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17620 * CutAndPaste.C: remove !NEW_INSETS cruft
17622 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17624 * BufferView2.C: remove !NEW_INSETS cruft
17626 * BufferView.h: remove !NEW_INSETS cruft
17628 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17630 * Lsstream.h: include LString.h before the sstream headers to
17631 fix problem with gcc 2.95.3 and lyxstring
17633 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17635 * lyx_main.C: add using directives when needed for C functions
17636 declared in std:: namespace.
17638 2001-04-27 Juergen Vigna <jug@sad.it>
17640 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17641 (SetHeightOfRow): comment out the update call should not be needed!
17643 2001-04-13 Juergen Vigna <jug@sad.it>
17645 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17646 (LyXTabular): tried to minimize operator= operations (and realized
17647 hopfully Lars wish).
17649 2001-04-27 Juergen Vigna <jug@sad.it>
17651 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17653 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17655 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17657 * buffer.C (readInset): hack to make listof algorithm work
17659 * BufferView_pimpl.C: hack to make listof algorithm work
17661 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17663 * LyXAction.C: removed all !NEW_INSETS cruft
17664 (init): moved lfun_item in method
17666 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17668 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17670 * BufferView2.C (theLockingInset): white space.
17672 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17674 * minibuffer.C: include <iostream>
17676 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17678 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17680 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17682 * text.[Ch] (TransposeChars): new method
17684 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17686 * call message directly through LyXView instead of through LyXFunc
17687 * BufferView2.C: adjust
17688 * BufferView_pimpl.C: adjust
17689 * FontLoader.C: adjust
17691 * bufferview_funcs.C: adjust
17692 * converter.C: adjust
17693 * figureForm.C: adjust
17694 * importer.C: adjust
17696 * lyx_gui_misc.C: adjust
17697 * lyxfunc.C: adjust
17700 + more files in subdirs
17702 * lyxparagraph.h (size): move up int file
17705 * adjust all uses of Assert to lyx::Assert.
17707 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17708 lyxfunctional in namespace lyx
17709 * layout.C (hasLayout): ditto
17712 (delete_layout): ditto
17713 (NumberOfClass): ditto
17714 * converter.C (GetFormat): ditto
17719 * bufferlist.C (getFileNames): ditto
17720 (emergencyWriteAll): ditto
17723 * MenuBackend.C (hasSubmenu): ditto
17726 * BufferView_pimpl.C (getInsetByCode): ditto
17728 2001-04-18 Juergen Vigna <jug@sad.it>
17730 * vspace.C (asLatexString): fixed the 100% problem.
17732 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17734 * lyxfunc.C (Dispatch):
17736 * minibuffer.h: add a few std:: qualifiers
17738 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17740 * minibuffer.[Ch]: reimplement so that commands is initiated and
17741 run from lyxfunc, simplified som handling, and made the completion
17742 and history code for complete. wip.
17744 * lyxfunc.C (processKeySym): call message
17745 (miniDispatch): new temporary method
17746 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17747 (LFUN_MESSAGE): implement
17748 (LFUN_MESSAGE_PUSH): implement
17749 (LFUN_MESSAGE_POP): implement
17750 (initMiniBuffer): the initial/defualt minibuffer message.
17752 * lyxfont.[Ch]: inline some more getters
17754 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17756 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17758 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17759 (AutoSave): use LFUN_MESSAGE
17760 (Reconfigure): ditto
17762 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17764 * figureForm.C: use LFUN_MESSAGE
17766 * converter.C (runLaTeX): use LFUN_MESSAGE
17768 * bufferview_funcs.C: use LFUN_MESSAGE
17770 (changeDepth): ditto
17772 * bufferparams.h: use boost::
17774 * bufferlist.h: inherit privately from noncopyable
17776 * bufferlist.C (loadLyXFile): remove some commented code.
17778 * buffer.C (runChktex): use LFUN_MESSAGE
17780 * ShareContainer.h: inherit privately from noncopyable
17782 * ParagraphParameters.[hC] (depth): inline it.
17784 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17786 (message): new method
17787 (messagePush): ditto
17788 (messagePop): ditto
17789 (show): init minibuffer
17790 (showState): direct call
17792 * LaTeX.[Ch]: inherit privately from noncopyable
17793 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17794 instead of WriteStatus.
17796 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17798 * BufferView_pimpl.C (buffer): don't init minibuffer
17799 (workAreaButtonPress): use LFUN_MESSAGE
17800 (workAreaButtonRelease): ditto
17801 (savePosition): ditto
17802 (restorePosition): ditto
17803 (MenuInsertLyXFile): ditto
17804 (workAreaExpose): don't init minibuffer
17805 (update): remove commented code, simplify
17807 * BufferView2.C (openStuff): use LFUN_MESSAGE
17808 (toggleFloat): ditto
17811 (copyEnvironment): ditto
17812 (pasteEnvironment): ditto
17817 (updateInset): remove some commented code
17819 * lastfiles.h: inherit privately from noncopyable
17822 * lyx_main.h: ditto
17824 * lyxlex_pimpl.h: ditto
17826 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17827 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17828 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17830 * LyXAction.h: inherit privately from noncopyable, add methods
17831 func_begin, func_end, returning iterators to the func map.
17833 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17834 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17835 (func_begin): new method
17836 (func_end): new method
17838 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17840 (copySelection): ditto
17841 (pasteSelection): ditto
17843 * BufferView.C: whitespace change
17844 * BufferView.h: inherit privately from noncopyable
17846 2001-04-16 Allan Rae <rae@lyx.org>
17848 * tabular-old.C (l_getline):
17849 * spellchecker.C (sc_check_word):
17850 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17851 an unrecognised preprocessor directive. So ensure they're wrapped.
17853 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17855 * src/exporter.C (Export): Give an error message when path to file
17858 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17860 * LaTeX.C (deplog): Always check that foundfile exists.
17862 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17865 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17867 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17869 * tabular.[Ch] (getLabelList): implement new method
17871 * minibuffer.h: comment ouf setTiimer
17873 * minibuffer.C (ExecutingCB): constify res
17874 (peek_event): constify s
17875 (Set): constify ntext
17876 (Init): constify nicename
17878 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17880 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17881 (savePosition): use two params to Minibuffer::Set
17882 (restorePosition): ditto
17884 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17886 * lyx_main.C: include language.h
17888 * Makefile.am (lyx_main.o): add language.h
17890 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17896 * CutAndPaste.C: include gettext.h
17898 * lyxfont.h: remove old hack with ON and OFF.
17901 * lyxfont.h: do not include language.h...
17906 * bufferview_funcs.C:
17912 * paragraph.C: ... but do it here instead
17914 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17916 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17918 * tabular.C: small reformat
17920 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17923 (BreakParagraph): ditto
17924 (SetOnlyLayout): ditto
17927 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17930 * lastfiles.C: removed most using decl, add std:: where needed
17932 * buffer.C: ws changes
17934 * MenuBackend.C (class compare_format): put into anon namespace
17935 (expand): constify label, names, action, action2
17938 * text.C (SingleWidth): constify font
17939 (IsBoundary): constify rtl2
17940 (GetVisibleRow): constify ww
17942 * LaTeX.C (deplog): constify logfile
17944 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17946 (workAreaExpose): constify widthChange, heightChange
17948 * lyxrow.C (par): moved
17951 * lyxrow.h: as inlines here
17953 * lyxfont.h (shape): moved from lyxfont.C
17954 (emph): moved from lyxfont.C
17956 * lyxfont.C (LyXFont): use initialization list for all
17958 (shape): move to lyxfont.h as inline
17959 (emph): move to lyxfont.h as inline
17962 2001-04-04 Juergen Vigna <jug@sad.it>
17964 * vspace.C: had to include stdio.h for use of sscanf
17966 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17969 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17970 independent of xforms.
17972 2001-04-02 Juergen Vigna <jug@sad.it>
17974 * spellchecker.C: fixed namespace placing!
17976 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17978 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17979 the LyXParagraph * is 0.
17981 2001-03-29 Juergen Vigna <jug@sad.it>
17983 * vspace.C: added support for %, c%, p%, l%.
17984 (stringFromUnit): added helper function.
17985 (asLatexString): changed to give right results for the %-values.
17987 * buffer.C: convert the widthp in a width%.
17989 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17991 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17994 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17995 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17997 * lyx_cb.[Ch]: see above.
17999 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18003 * lyx.[Ch]: replaced by figure_form.[Ch].
18007 * lyxfunc.C: changed headers associated with above changes.
18009 2001-03-27 Juergen Vigna <jug@sad.it>
18011 * BufferView_pimpl.C: set the temporary cursor right!
18013 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
18015 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18017 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
18019 * LString.h: removed "using std::getline"!
18021 * BufferView_pimpl.C (Dispatch): changes due to changes in
18022 InsetInclude::Params.
18024 * buffer.C (tag_name): removed redundant break statements as they were
18025 producing lots of warnings with my compiler.
18027 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18029 * LString.h: add "using std::getline" when using the real <string>.
18031 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
18033 * buffer.C: removed bitset usage.
18034 PAR_TAG moved to an anonymous name space.
18035 (tag_name): new funtion, also in the anonymous namespace.
18036 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18037 (makeDocBookFile): clean code. Completed transition from string arrays
18039 (SimpleDocBookOnePar): code clean.
18041 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18043 * tabular.C: add some comments.
18045 2001-03-22 Juergen Vigna <jug@sad.it>
18047 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18048 compatibility read a bit and fixed bug with minipage in different
18051 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18053 * buffer.C (pop_tag): removed.
18054 (push_tag): removed.
18055 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18056 array replaced with vector. Added support for CDATA sections.
18057 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18059 (makeDocBookFile): XML conformant declaration of CDATA section,
18060 fixed bug related to <emphasis> in the first paragraph char.
18061 (sgmlOpenTag): exclude empty tags.
18062 (sgmlCloseTag): ditto.
18064 * buffer.h (pop_tag): removed.
18065 (push_tag): removed.
18067 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18069 * language.h (Languages): added size_type and size().
18071 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18073 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18074 response on compability reading of minipages. One probliem is that
18075 the old usage of minipages was flertydig
18077 * several files here and in subdirs: don't use static at file
18078 scope use anon namespaces instead.
18080 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18082 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18083 LaTeX output. This is necessary for Literate document
18086 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18088 * buffer.C: insert hfill when needed.
18090 * tabular.C (l_getline): use string::erase, small whitespace change.
18092 * BufferView_pimpl.C: try the anon namespace.
18093 * WorkArea.C: ditto
18095 2001-03-16 Juergen Vigna <jug@sad.it>
18097 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18098 otherwise it won't open options-dialogs.
18100 * buffer.C: honor pextraWidth(p) on converting minipages.
18102 * tabular.C (l_getline): changed the functions to strip trailing \r.
18104 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18106 * BufferView_pimpl.C:
18107 * minibuffer..C: added "using SigC::slot" declaration.
18109 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18111 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18117 * paragraph.C: ditto
18119 * lyxtext.h: NO_PEXTRA
18121 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18123 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18124 * ParameterStruct.h: ditto
18125 * ParagraphParameters.h: ditto
18126 * lyxparagraph.h: ditto
18128 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18130 * buffer.C: add compability for minipage alignment.
18131 (latexParagraphs): remove unwanted pextra check.
18133 * several files: remove CXX_WORKING_NAMESPACES
18135 * buffer.C (pop_tag): tie is in namespace boost
18137 * BufferView.h: noncopyable is in namespace boost
18139 * lyx_main.h: ditto
18142 * lastfiles.h: ditto
18143 * bufferlist.h: ditto
18144 * ShareContainer.h: ditto
18146 * LyXAction.h: ditto
18149 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18151 * Merging changes from BRANCH_MVC back into HEAD.
18153 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18155 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18157 * BufferView_pimpl.C: change from intl.C
18161 * Makefile.am: move combox.*
18167 * intl.C: remove dialog (covered by prefs)
18169 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18171 * lyxfunc.C (Dispatch): removed redundant break statement.
18173 2001-03-14 Juergen Vigna <jug@sad.it>
18175 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18177 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18179 * buffer.C: add hack to fix compability reading of minipages.
18181 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18183 * buffer.C (getLists): Cleanup.
18185 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18187 * lyxfont.C (update): don't honor toggleall on font size.
18189 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18193 * Makefile.am: moved to frontends/xforms/
18197 * BufferView_pimpl.C: changes for moved mathpanel
18199 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18201 * gettext.h: fix gettext_init() in --disable-nls
18203 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18205 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18207 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18210 * lyx.h: strip external form
18212 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18214 * BufferView_pimpl.C: add comment, destroySplash()
18216 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18218 * BufferView_pimpl.C:
18222 * lyxfunc.C: use re-worked insetinclude
18224 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18226 * buffer.C: add using std::stringstream.
18228 * lyx_cb.C: readd using std::ios.
18230 * buffer.C: add using std::map.
18232 * BufferView_pimpl.C: add using std::vector.
18234 * ShareContainer.h: add std:: to swap.
18236 * buffer.h: add some typedefs
18237 * buffer.C (getLists): use them
18238 (getLists): renamed from getTocList.
18239 add a counter for the different float types and use it in the
18241 (getLists): use the same counter for the NEW_INSETS and the "non"
18244 * lyx_cb.h: remove unused items, includes, using etc.
18246 * ShareContainer.h: remove some commented code, add more comments
18247 and "documentation".
18249 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18251 * buffer.C (getTocList): make the list also when NEW_INSETS is
18254 * buffer.h: remove TocType
18256 * buffer.C (getTocList): change to return a map<string,
18257 vector<TocItem> >, implement for dynamic number of list.
18259 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18260 * text2.C (PasteSelection): adjust
18261 * CutAndPaste.C (pasteSelection): adjust
18263 * FloatList.C (FloatList): update from the new_insets branch.
18264 * Floating.[Ch]: ditto
18265 * LaTeXFeatures.C: ditto
18267 * lyxlex_pimpl.C: ditto
18269 * paragraph.C (Last): remove when NEW_INSETS is defined.
18271 * other file: changes because of the above.
18273 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18275 * lyxparagraph.h: rename next to next_, previous to previous_,
18276 make them private for NEW_INSETS. Rename Next() to next(),
18277 Previous() to previous().
18279 * other files: changes because of the above.
18281 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18284 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18287 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18289 * main.C (main): pass lyx_localedir to gettext_init().
18291 * gettext.h: remove locale_init and gettext_init macros
18293 * gettext.C (locale_init): new function
18294 (gettext_init): new function
18296 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18299 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18301 * Moved credits to frontends:
18302 * credits.[Ch]: removed
18303 * credits_form.[Ch]: removed
18304 * lyx_gui_misc.C: remove credits stuff
18307 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18309 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18311 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18312 unneeded destructor.
18314 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18315 a standalone pointer again.
18317 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18319 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18325 * ToolbarDefaults.C:
18334 * BufferView_pimpl.C: use new file dialog in GUII
18337 * lyx_cb.C: remove LayoutsCB to Toolbar
18339 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18341 * ShareContainer.h (get): add std:: qualifier
18343 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18345 * ShareContainer.h: define a proper ShareContainer::value_type
18346 type (and use typename to please compaq cxx)
18348 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18350 * lyxparagraph.h: move serveral local vars to
18351 ParameterStruct/ParagraphParameters., use ShareContainer in
18352 FontTable., make vars in FontTable private and add getter and
18355 * paragraph.C: changes because of the above.
18357 * lyxfont.h: remove copy constructor and copy assignment. (the
18358 default ones is ok), move number inside FontBits. move inlines to
18361 * lyxfont.C: add number to initializaton of statics, move several
18362 inlines here. constify several local vars. some whitespace
18363 cleanup. Dont hide outerscope variables.
18365 * Spacing.h: add two new constructors to match the set methods.
18367 * ShareContainer.h: new file, will perhaps be moved to support
18369 * ParameterStruct.h: new file
18371 * ParagraphParameters.h: new file
18373 * ParagraphParameters.C: new file
18375 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18376 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18378 * BufferView_pimpl.C: ParagraphParameter changes.
18379 * buffer.C: Likewise.
18380 * bufferview_funcs.C: Likewise.
18381 * text.C: Likewise.
18382 * text2.C: Likewise.
18384 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18386 * lyxfind.C (LyXReplace): do not redefine default argument in
18388 (IsStringInText): ditto
18389 (SearchForward): ditto
18390 (SearchBackward): ditto
18392 2001-03-06 Juergen Vigna <jug@sad.it>
18394 * lyxfind.C (IsStringInText): put parentes around expressions.
18396 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18398 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18400 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18402 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18404 * stl_string_fwd.h: add comment
18406 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18409 * tabular.C: remove unused DocBook methods
18415 killed DO_USE_DEFAULT_LANGUAGE
18417 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18419 * lyx_gui.C: do not include language.h.
18421 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18422 arguments in function implementation.
18424 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18426 * BufferView_pimpl.C: add <ctime>
18428 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18430 * BufferView_pimpl.C: add using std::find_if
18432 2001-02-27 José Matos <jamatos@fep.up.pt>
18434 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18437 2001-02-11 José Matos <jamatos@fep.up.pt>
18439 * buffer.C (makeDocBookFile): command styles now have a parameter as
18440 "title" by default.
18442 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18444 * layout_forms.[Ch]: removed
18445 * lyx_cb.[Ch]: out character
18446 * lyx_gui.C: out character
18447 * lyx_gui_misc.C: out character
18448 * bufferview_funcs.C: : out character,
18449 added toggleall as parameter in ToggleAndShow
18451 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18453 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18455 * text2.C (SetCurrentFont): Disable number property at boundary.
18457 2001-02-26 Juergen Vigna <jug@sad.it>
18459 * lyxfunc.C (getStatus): added a string argument override function so
18460 that this is correctly called from LyXFunc::Dispatch if it contains a
18461 do_not_use_argument which is used!
18462 (Dispatch): added check for "custom" export and call appropriate func.
18464 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18466 * lyxrc.C: Add language_command_local, language_use_babel and
18467 language_global_options.
18469 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18471 * buffer.C (makeLaTeXFile): Use language_use_babel and
18472 language_global_options.
18474 2001-02-23 Juergen Vigna <jug@sad.it>
18476 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18477 which works with LyXText and putted it inside BufferView. Here now we
18478 only call for that part the BufferView::Dispatch() function.
18480 * BufferView.C (Dispatch): added.
18482 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18483 functions which needs to use a LyXText over from LyXFunc.
18484 (MenuInsertLyXFile): added
18485 (getInsetByCode): added
18486 (moveCursorUpdate): added
18487 (static TEXT): added
18489 2001-02-22 Juergen Vigna <jug@sad.it>
18491 * BufferView_pimpl.C (update): call a status update to see if LyXText
18494 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18496 * vc-backend.C (revert): implement for CVS
18497 (getLog): implement for CVS
18499 2001-02-20 Juergen Vigna <jug@sad.it>
18501 * text2.C (ClearSelection): added BufferView param for inset_owner call
18503 * lyxfunc.C (TEXT): added this function and use it instead of
18504 directly owner->view()-text of getLyXText().
18506 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18508 * src/layout_forms.C: out preamble
18509 * src/layout_forms.h: out preamble
18510 * src/lyx_cb.C: out preamble
18511 * src/lyx_cb.h: out preamble
18512 * src/lyx_gui.C: out preamble
18513 * src/lyx_gui_misc.C: out preamble
18514 * src/lyxfunc.C: connect with guii preamble
18516 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18518 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18520 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18522 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18523 whether to run bibtex.
18525 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18527 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18529 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18531 * Makefile.am (lyx_SOURCES): removed bibforms.h
18533 * vspace.h: doxygen
18535 * text.C (GetVisibleRow): make several local vars const
18537 * tabular.C: small cleanup.
18539 * lyxserver.C (callback): use compare instead of strncmp
18541 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18542 inlines to after class or to paragraph.C
18544 * lyxfont.h: remove friend operator!=
18546 * converter.h: move friend bool operator< to non friend and after
18549 * combox.h: small cleanup
18551 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18552 to inlines after class def.
18554 * buffer.C (pop_tag): use string operations instead of strcmp
18556 * bmtable.c: doxygen, small cleanup
18558 * LaTeX.h: remove friend operator==
18560 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18572 * BufferView_pimpl.C:
18573 * BufferView.[Ch]: remove cruft
18575 2001-02-14 Juergen Vigna <jug@sad.it>
18577 * lyxfunc.C: removed #if 0 unused code
18579 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18581 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18583 * text2.C (SetSelection): added a BufferView * parameter
18585 2001-02-13 Juergen Vigna <jug@sad.it>
18587 * lyxfunc.C (Dispatch): fixed protected blank problem.
18588 * BufferView2.C (protectedBlank): added LyxText * parameter.
18590 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18591 (AppendColumn): same as above for column_info.
18593 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18594 (moveCursorUpdate): use a LyXText param for support of InsetText.
18596 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18597 (tripleClick): ditto
18599 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18601 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18603 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18605 * text2.C (SetSelection): set correct update status if inset_owner
18606 (ToggleFree): ditto
18608 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18610 * tabular.C: remove some commented code.
18612 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18614 * BufferView_pimpl.C: call hideSplash()
18616 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18619 * bibforms.h: remove
18622 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18623 add LFUN_CHILD_CREATE
18625 * counters.h: fix tiny typo
18630 * lyx.C: move splash to frontends/xforms/
18632 * lyx_gui_misc.C: move Include and Bibform to frontends
18634 * lyxvc.h: clarify comment
18636 * vspace.C: tiny housekeeping
18638 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18640 * text.C (PrepareToPrint): RTL Fix.
18642 * paragraph.C (GetUChar): New method.
18643 (String): Use GetUChar.
18645 * buffer.C (asciiParagraph): Use GetUChar.
18647 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18649 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18651 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18654 * buffer.C: rename to getLogName(), handle
18655 build log / latex log nicely
18657 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18660 * MenuBackend.h: remove support for reference menuitem type.
18662 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18664 * BufferView_pimpl.C: housekeeping
18665 * BufferView_pimpl.h:
18670 * minibuffer.h: move Timeout GUI-I
18672 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18674 * lyxrc.C (read): Update converters data-structures.
18676 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18678 * LaTeX.h (operator!=): add operator != for Aux_Info
18680 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18682 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18684 * LaTeXLog.C: deleted, useful code moved to Buffer
18687 * buffer.C: new function getLatexLogName()
18693 * lyxfunc.C: use frontends for LaTeX and VC logs
18695 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18697 * LaTeX.h: yet another std:: that Allan forgot.
18699 * Variables.C (set): renamed from isset(), because this clashes
18700 with some HP-UX macros (grr).
18702 2001-02-06 Allan Rae <rae@lyx.org>
18704 * LaTeX.h: Another bug fix. Missing std:: this time.
18706 2001-02-04 Allan Rae <rae@lyx.org>
18708 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18709 floats problem. I've left it commented out because it's not quite
18710 correct. It should also test that the current object is a table or
18711 figure inset. But I haven't gotten around to figuring out how to do
18712 that. I *think* it'll be something like: "table" == inset.type()
18714 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18717 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18719 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18720 all the citation/databases/styles in the auxilary file.
18721 (run): Rerun latex if there was a babel language error.
18723 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18725 * text.C (Backspace): Preserve the font when changing newline char
18727 (BreakParagraph): If the cursor is before a space, delete the space.
18729 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18731 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18733 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18734 new argument (code).
18735 (ChangeCitationsIfUnique): New method.
18737 * paragraph.C (GetPositionOfInset): Handle bibkey.
18739 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18741 * BufferView_pimpl.h: change type of Position::par_pos to
18742 LyXParagraph::size_type.
18744 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18746 * BufferView_pimpl.C (savePosition, restorePosition): Write
18747 messages to minibuffer.
18749 2001-01-28 José Matos <jamatos@fep.up.pt>
18751 * buffer.C (makeDocBookFile): adds support for document language.
18752 A silly restriction on the name of LatexCommand types where removed.
18753 Added support for CDATA sections, allows to chars unescaped, used
18754 among others in code, to avoid escape < and >.
18756 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18758 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18759 saved positions instrad of a stack. Furthermore, a position is
18760 stored using paragraph id/paragraph position.
18762 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18763 Remove LFUN_REF_BACK.
18765 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18767 * converter.C (dvipdfm_options): New method.
18769 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18771 * vspace.C (isValidLength): Fix for empty input string.
18773 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18775 * LyXAction.C (init): change description of LFUN_FIGURE to
18778 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18780 * LaTeX.C: add using directive
18782 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18784 * MenuBackend.C (expand): Fix the sorting of the formats.
18786 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18788 * lyx_main.C: tiny error message fix
18790 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18792 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18793 calling fl_initialize(). This fixes the problem with ',' as
18794 decimal separator in text files.
18796 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18798 * trans.C (process): Fix the keymap bug.
18800 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18802 * LaTeX.C (scanAuxFiles): New method. Provides support for
18803 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18804 (scanLogFile) Scan for "run BibTeX" messages.
18806 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18807 OT1 font encoding. Also, load the aecompl package if the ae
18810 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18812 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18814 * texrow.C (increasePos): turn two error messages into debug
18817 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18819 * LaTeX.C (scanAux): Handle the \@input macro.
18820 (runBibTeX): Use scanAux().
18822 * language.C (latex_options_): New field.
18824 * LaTeXFeatures.C (getMacros): Add language macros.
18826 * buffer.C (makeLaTeXFile): Small fix.
18828 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18830 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18832 * text2.C: add a using directive.
18834 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18839 * lyxfunc.C: kill LyXBell.
18841 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18843 * text.C (IsBoundary): Remove the error message
18845 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18847 * lyxrc.C (setDefaults): Correct initialization value for
18850 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18852 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18855 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18856 and GotoNextNote().
18858 * src/LyXAction.C: Added reference-next.
18860 * text.C (InsertChar): Use contains instead of strchr.
18862 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18864 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18866 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18867 alignment commands (when needed).
18869 * text.C (InsertChar): Add ':' to number separator chars.