1 2006-03-16 Félix-Antoine Bourbonnais <bouf10pub2@myriade.ca>
3 * text3.C (dispatch): set needsUpdate according to the return
4 value of the methods below (bug 2298)
6 * text2.C (cursorTop, cursorBottom, cursorHome, cursorEnd): return
7 true if dEPM triggered.
9 2006-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11 * text.C (getPossibleLabel): get a sensible prefix inside figure and
12 tabular floats (bug 1999).
14 2006-03-16 John Spray <spray@lyx.org>
16 * lyxfunc.C (getStatus): disable LFUN_MENUWRITE when document is
19 2006-03-15 Martin Vermeer <martin.vermeer@hut.fi>
21 * CutAndPaste.C (pasteSelectionHelper): comments
22 * paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
24 * paragraph.C (stripLeadingSpaces): remove unnecessary setChange
25 * text.C (backspace): allow deletion of inserted para break
26 Change tracking -related bug fixes (reported by Juergen) and
27 some documentation work
29 2006-03-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * MenuBackend.C (expand): make sure the menu is empty before
34 * MenuBackend.h (clear): new method.
36 2006-03-13 Martin Vermeer <martin.vermeer@hut.fi>
38 * rowpainter.C (paintChangeBar): fix painting of change bar with
39 only paragraph break changed
41 2006-03-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
43 * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
44 * lyx_main.C (reconfigureUserLyXDir): run ditto
46 2006-03-12 Martin Vermeer <martin.vermeer@hut.fi>
48 * lyxtext.h: doxygen documentation fix
50 2006-03-11 Martin Vermeer <martin.vermeer@hut.fi>
52 * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
54 * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
55 rejectChange, erase; added setChangeFull):
56 * CutAndPaste.C (eraseSelectionHelper):
58 * text.C (readParToken, readParagraph, breakParagraph,
59 acceptChange, rejectChange, backspace, currentState;
61 * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
62 * lyxfind.C (findChange, findNextChange): fix bug 880: Change
63 tracked paragraphs should still allow a paragraph split (and related
64 things, i.e., multi-paragraph change tracking)
66 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
68 * BufferView_pimpl.C: fix bug 2212: First change is skipped is
69 "Merge changes..." dialog
71 2006-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
73 * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX
74 error if the class has not defined them yet (bug 2053).
76 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
79 * BufferView_pimpl.[Ch]:
83 * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
85 2006-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
87 * pch.h: fix nullstream.hpp location for boost 1.33.0
89 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
93 * support/debugstream.h: Use the correct nullstream.
95 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
99 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
101 * cursor.C (niceInsert): fix (properly) insertion of
102 fonts/decorations around selection
104 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
106 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
108 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * text3.C (mathDispatch): fix crash when selection is not empty
111 but selectionAsString is empty (bug 2321).
113 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * text.C (changeCase): avoid crash in empty paragraph or on last
116 word of the paragraph. (buf 2323)
117 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
119 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
121 * buffer.C (readHeader): also erase params.preamble in advance
122 so that an empty preamble is actually recognized (bug 2317).
124 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
126 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
128 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
130 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
140 * text3.C: Fix bug 2115: blue language lines (for default font)
141 popping up when the documnent font is different. This includes work
144 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
146 * exporter.C (Backends): Add "lyx" backend
147 * exporter.C (Export): Handle "lyx" backend
148 * graph.C (getReachable): Don't exclude "lyx"
149 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
151 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
153 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
154 for correct in-mathed positioning
156 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
158 * rowpainter.C (paintForeignMark): fix foreign blue line under
161 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
163 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
164 pit of the uno range (bug 2022).
166 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
168 * messages.C (get): Only warn once if setlocale fails (bug 2177)
170 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
172 * text2.C (setCharFont): take inset's own font settings into account
173 when defining the font to reduce to, fixes 2019
175 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
177 * bufferview_funcs.C (coordOffset): remove the check for
178 collapsed collapsables (fix for bug 2094). This is now done
179 on a more general level (cursor.C).
181 * dociterator.[Ch] (forwardPos): add an optional argument
182 bool "ignorecollapsed" (default false), which lets forwardPos
183 skip collapsed insets.
185 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
186 (fixes bug 2241 and 2094).
188 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
190 * buffer.C: change tracking (dvipost) doesn't require
193 * LaTeXFeatures.C (getPackages): no need for the color
194 option "usenames" (bug 2169).
196 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
197 * buffer_funcs.C: Trivial fix - added {} around
198 the statements to be affected by a if-test. Now
199 label in a minipage in a float looks ok on screen again.
201 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
203 * text2.C: fix bug 2015: on screen fonts in nested environments
206 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
208 * converter.C (convert): handle unknown formats
210 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * cursor.C (goUpDown): comment out some debug messages.
214 * counters.C (newCounter): make error messages more explicit
215 (these appear with some textclasses like beamer)
217 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
221 have origin set to KEYBOARD. (bug 2221)
223 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
225 * rowpainter.C (isCursorOnRow): do not exclude endpos().
227 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
229 * cursor.C (macroModeClose): returns true if an inset actually got
230 inserted; revert faulty fix to bug 2034.
232 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * tabular.C (getLabelList): remove (not used anymore).
236 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
238 * outputparams.[Ch]: add new flag inComment
240 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
242 * text2.C (deleteEmptyParagraphMechanism): since we delete a
243 paragraph, recordUndo should span two paragraphs (bug 2155).
245 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
247 * rowpainter.C (paintPar): always repaint the row with the
250 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
256 * vspace.h: fix syntax error
258 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
260 * text3.C (dispatch): Force refresh if typing into inset changes its
263 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
268 * rowpainter.C: Speed up rendering by only re-painting rows that
269 have changed. When selection or whole-screen update active, all rows
270 are repainted, as are all rows within insets.
272 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
274 * version.C.in: Use PACKAGE_VERSION instead of VERSION
276 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
278 * tabular.C (toggleFixedWidth): Use default layout of text class
279 instead of hardcoded "Standard"
281 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
283 * lyxfunc.C (dispatch): do not call getStatus again to determine
284 whether a lfun is disabled (bug 2172).
286 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
288 * cursor.C (macroModeClose): set the cursor inside the new math
289 atom if relevant (think \frac{}{}) (bug 2034)
291 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
295 * text3.C (Delete, backspace): force update when merging paragraphs
297 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * BufferView.C (mouseSetCursor): clear the selection properly (bug
302 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
304 * text.C (redoParagraph): honor inset->noFontChange()
305 * rowpainter.C (paintInset): ditto
307 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
309 * lyx_main.C (priv_exec): don't initialize Math on startup
310 (initMath() has been moved to math_hullinset).
312 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
315 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
316 * paper.h: dispose dead PAPER_PACKAGES enum.
318 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
320 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
323 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
325 * exporter.C (Export): Don't try to copy a file if it does not exist
328 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
330 * text2.C (makeFontEntriesLayoutSpecific): remove.
333 * text.C (insertChar): remove bogus caching of fonts (did not do
336 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
337 ALL_SANE). (bug 2146)
339 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
341 * rowpainter.C (paintFirst): fix centering of
342 LABEL_CENTERED_TOP_ENVIRONMENT.
344 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * BufferView.C (mouseSetCursor): new method. Calls
347 deleteEmptyParagraphMechanism if necessary.
349 * lyxtext.h: make deleteEmptyParagraphMechanism public.
351 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
352 BufferView::mouseSetCursor (bug 2109).
353 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
355 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
358 do not remove it (this inset behaves differently from the others).
360 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
364 * BufferView_pimpl.C (getStatus): it is only possible to insert a
365 file in a text inset.
367 * buffer.C (readDocument): remove pit argument and code releated
368 to it; set the inset owner correctly (unrelated, but useful).
369 (readFile): get rid of pit argument.
371 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
372 textclass instead of a selection index.
373 (pasteParagraphList): new function.
374 (pasteSelection): make it a wrapper around pasteParagraphList.
376 * BufferView_pimpl.C (MenuInsertLyXFile): use
377 cap::pasteParagraphList to insert a file.
379 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
381 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
383 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
385 * exporter.C: fix typo in text message
387 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
389 * text2.C (setLayout): move recUndo call to other setLayout method
390 * tabular.C (toggleFixedWidth): new, handle cell width changes
391 * tabular.C (setColumnPWidth): move some code from insettabular.C here
392 and use toggleFixedWidth
393 * tabular.C (setMColumnPWidth): ditto
395 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
397 * paragraph.C (asString): use new inset->textString method (fix
400 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
402 * CutAndPaste.C (numberOfSelections): new helper function.
404 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
406 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
407 LyXFunc::getStatus; implement LFUN_PASTE.
409 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
411 * dociterator.[Ch]: new member realInset() that returns the cell
412 for tabulars and the inset for the rest (bug 1952).
413 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
416 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
418 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
420 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
424 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
427 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
429 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
430 line after typing ctrl-enter
432 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
434 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
435 math insets do not return a proper editable() state yet (bug 2124).
437 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
439 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
440 docs containing very large paragraphs.
442 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
444 * cursor.C (selectionBegin, selectionEnd):
445 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
446 cursor at different depths.
448 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
450 * bufferview_funcs.C (coordOffset): do not call cursorPos
451 for collapsed collapsables (fix bug 2094).
453 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
455 * paragraph.C (fontSpan): make sure that the FontSpan does not
456 span across beginOfBody (bug 1947).
458 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
462 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
464 * messages.C: fix crash and localization on MinGW/Windows platform
466 2005-11-02 Angus Leeming <leeming@lyx.org>
469 * lyxtextclass.C: trivial fixes to some MSVS warnings.
471 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
473 * text3.C (getStatus): re-enable disabled code. (bug 2081)
475 * BranchList.h (empty): constify.
477 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
479 * text3.C (getStatus):
480 * MenuBackend.C (expandBranches): take the branch list from the
481 master document (bug 2092).
483 * MenuBackend.C (expandBranches):
484 * bufferparams.C (writeFile): use BranchList type.
486 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * text3.C (dispatch, getStatus):
489 * LyXAction.C (init):
490 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
492 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
496 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * text.C (insertChar): do not reset boundary (bug 2061)
500 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
502 * dociterator.C (updateInsets): new method. Updates the inset_
503 cache of all the slices of the iterator.
505 * text2.C (deleteEmptyParagraphMechanism): compare also containing
506 insets when comparing pit/pos; pass the right cursor to
507 recordUndo; when a paragraph has been deleted, compare `old.top()' to
508 the right cursor slice of `cur'; use updateInsets on cur to make
509 sure that the inset caches are correct; general cleanup.
511 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
513 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
514 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
515 containg inset. If this does not work, the same command will be
516 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
518 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
521 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
523 * lyxtextclass.C (Read): convert layout file if the format is wrong
524 * lyxtextclass.C (layout2layout): new, needed for the above
526 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
528 * messages.C: do not forget to include <cerrno>.
530 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
532 * dociterator.h (StableDocIterator): add access to pos().
533 * undo.C (samePar): new method to check if two
534 iterators are in the same paragraph
535 * undo.C (recordUndo): check for samePar instead of cell identity
536 (which includes pos() and is too strict) (fixes bug 2097)
538 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * text.C (setCursorFromCoordinates): return a bool telling whether
543 * text3.C (cursorPrevious): update if needed after
544 setCursorFromCoordinates (when dEPM triggered).
546 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
547 (otherwise the anchor may be completely wrong and make dEPM assert).
549 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
551 * buffer.C: version upgrade to 245.
552 * bufferparams.C: remove \quotes_times (bug 2090).
553 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
554 quotation marks as default.
556 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
558 * CutAndPaste.C (nrOfParagraphs): remove (unused)
559 * CutAndPaste.C (cutSelection): Remove debug message
560 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
561 undo information and only copy if this is a real cut
562 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
564 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
566 * CutAndPaste.C (eraseSelection): prevent cursor corruption
567 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
568 superflous cur.selection() setting
569 * CutAndPaste.[Ch] (grabSelection): take a const cursor
570 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
572 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
574 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
577 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
579 * BufferView_pimpl.C: comment layout change
581 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
585 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
586 by bibliography managers (bug 2071).
588 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
590 * BufferView_pimpl.C (update): choose arguments to update call so
591 that single-par update works most times
592 * text3.C (dispatch): carefully tune updating separately for
593 whole-screen and current-paragraph
594 * rowpainter.C (paintText): 1) replace painting by caching for
595 the two extra paragraphs, because we can;
596 2) suppress greying out of areas below/above drawn area in case of
598 * lyxfunc.C (dispatch): remove superfluous update
599 * LyXAction.[Ch]: introduce SingleParUpdate
601 2005-10-05 Angus Leeming <leeming@lyx.org>
603 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
604 always initialised before use.
606 * text.C (setHeightOfRow): squash warning about comparison
607 of signed and unsigned types.
609 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
611 * text.C (cursorX): two fixes involving RtL text drawing
613 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
615 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
616 items, not only large ones (part of bug 2057)
618 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
620 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
621 argument, use "newcommand".
623 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
625 * cursor.C (setSelection): do not open collapsable insets;
626 the insets do by themselves now (autoopen).
628 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
630 * buffer.C: format is up to 244.
632 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
634 * text.C (redoParagraph): fix calcultation of inset width wrt
635 leftMargin (bug 1957).
637 * text3.C (dispatch): leave inset to the right when hitting ESC
640 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
645 * messages.C: include <boost/current_function.hpp>
647 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
650 when command is internal. (bug 1941)
652 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
654 * text2.C (cursorRight): do not honor boundary when at the end of
655 a paragraph. (bug 2010 again)
657 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
661 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
663 * rowpainter.C (paintText): fix RtL space width display bug (2029)
665 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * text2.C (setCursor): remove the unused 'boundary' parameter for
668 the CursorSlice version; adapt the LCursor version.
671 * paragraph_pimpl.C (markErased):
672 * cursor.C (bruteFind2, bruteFond3): fix warnings.
674 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
676 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
677 as is already done for "chapter".
679 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
682 textclass; do not record undo if nothing is changed.
684 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
686 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
688 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
690 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
692 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
694 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
695 combox, it is necessary to search for the topmost paragraph in the
696 cursor stack (bug 1926)
698 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
700 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
701 end of paragraph. (bug 2010)
703 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
705 * text.C (leftMargin): check for inInset == 0
707 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
709 * text.C (leftMargin): test for insetbase's new neverIndent()
710 bool instead of listing each and every inset that does not
711 wish par indendation.
713 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * buffer_funcs.C (setCounter): put the code to compute enum label
716 here (where it belongs).
718 * counters.C (enumLabel): move code to buffer_funcs.C.
720 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
722 * outputparams.[Ch]: store local_font instead of local_language
723 * paragraph.C (simpleTeXOnePar): adapt to the change above
725 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
728 * counters.[Ch]: clean up special code for Hebrew.
730 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
732 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
735 2005-09-08 Angus Leeming <leeming@lyx.org>
738 * lyxrc.C: correct grammar describing invocation of the
741 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * text.C (read): remove unused variable.
744 (readParToken): remove static Change variable (never good in
745 recursive settings...); add it as a parameter instead.
747 * paragraph_pimpl.C (acceptChange): make debug info conditional.
749 * metricsinfo.C (PainterInfo): add new member erased_.
751 * rowpainter.C (RowPainter): add erased_ member, initialized from
753 (paintInset): pass erased_ to Inset::draw.
755 * lyxfunc.C (lookupChange): new function. Tells whether change
756 tracking is disabled at a given postion.
757 (getStatus): disable some actions when in deleted text with change
760 2005-08-03 John Levon <levon@movementarian.org>
762 * tabular.C (appendColumn, setMultiColumn): adapt to change to
765 * paragraph_pimpl.C (markErased): add bool argument and handle it.
766 Also make sure to mark insets recursively.
767 (rejectChange, erase): be recursive
769 * paragraph.C (markErased): add bool argument.
770 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
772 * lyxfind.C (findNextChange): tiny cleanup.
774 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
775 change tracking with the cursor in an inset; make sure the first
776 change is not skipped.
778 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
780 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
781 tabularStackDirty to work around bug 1919 (tabular needs
782 to know whether its own cell paste buffer or the one of
784 * CutAndPaste.C: mark tabular_stack_ clean after copy.
786 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
788 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
790 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
792 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
793 use old deleteion algorithm when changetracking is on.
795 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
797 * messages.C (get): add debug output.
799 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
801 * text.C (cursorX): fix bug 1965: cursor movement at
802 line end broken in RtL.
803 (drawSelection): fix bug 1970: drawing of single-line
804 selection broken for RtL.
806 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
810 * dociterator.h (clear, push_back, pop_back): change from
813 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
814 and changed to just return the value of the item depth; take a
815 ParIterator as argument; take the itemdepth at outer nesting level
816 in account if necessary; cleanup and comment the code.
817 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
818 and changed to just return true if reset is needed; take a
819 ParIterator as argument; cleanup and comment the code.
820 (setCounter): adapt to above changes.
822 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * text3.C (dispatch): make debug message optional
826 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
828 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
831 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
833 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
835 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
837 * text.C (insertChar):
838 * text2.C (deleteEmptyParagraphMechanism): take care whether
839 a blank has been deleted (in change tracking mode) (bug 1254).
841 2005-07-20 John Levon <levon@movementarian.org>
843 * text2.C (insertStringAsLines): remove old dubious code,
846 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
848 * MenuBackend.C (expandToc): use Floating::listName() as title of
851 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
853 * toc.[Ch]: Do not use translatable strings (bug 1870).
855 2005-07-20 John Levon <levon@movementarian.org>
857 * tabular.C: fix 1748 - setting multicolumn adds
858 left line to the first cell
860 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
863 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
866 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
868 * messages.C: supress some lyxerr messages
870 2005-07-18 Juergen Vigna <jug@lyx.org>
872 * text.C (drawSelection): honor boundary when asking for cursorX.
874 2005-07-17 José Matos <jamatos@fc.up.pt>
876 * tabular.C (recalculateMulticolumns): fix handling of one column
879 2005-07-17 Juergen Vigna <jug@lyx.org>
881 * text.C (Delete, backspace): fixed so that paragraph with the
882 same layout can be merged by Delete/Backspace.
884 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
886 * text.C (readParToken): fix spelling.
888 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
890 * text2.C: fix counter update for DEPM problem reported by
893 2005-07-17 Juergen Vigna <jug@lyx.org>
895 * BufferView_pimpl.C (setBuffer): save/restore the
896 cursor/selection when switching buffers
899 * buffer.C (saveCursor): add saveDocumentIterators to save the
900 cursor when switching buffer.
902 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
905 * buffer.C: clarify message
907 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
909 * dociterator.C (DocIterator): fix initialization order
911 2005-07-17 Juergen Vigna <jug@lyx.org>
913 * text2.C (cursorHome):
914 * text.C (drawSelection, cursorX):
915 * dociterator.C (textRow): add boundary to getRow() call
917 * paragraph.C (getRow): implementation of below
919 * paragraph.h: add parameter boundary for getRow() function
921 2005-07-17 José Matos <jamatos@fc.up.pt>
925 * tex-strings.[Ch]: new file format, remove support for a4.sty,
926 a4wide.sty and a4widemargins.
928 2005-07-17 Juergen Vigna <jug@lyx.org>
930 * text2.C (cursorLeft): fix one of error
932 2005-07-17 Juergen Vigna <jug@lyx.org>
934 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
936 more fixes for boundary handling
938 * text3.C (dispatch): don't reset cursor if boundary has changed
941 2005-07-16 Juergen Vigna <jug@lyx.org>
943 * text2.C (getColumnNearX): hopefully got it right now,
944 check if we are on column 0 for special case.
946 2005-07-16 Juergen Vigna <jug@lyx.org>
948 * text2.C (getColumnNearX): handle special case Newline Inset
950 * text.C (singleWidth): Just remove bogus check
952 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
954 * funcrequest.C (split): avoid reading uninitialized char c
956 2005-07-16 José Matos <jamatos@fc.up.pt>
962 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
963 single papersize variable.
965 2005-07-16 Juergen Vigna <jug@lyx.org>
967 * text3.C (dispatch): honor boundary when checking if a cursor
968 movement has been done
970 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
971 (setCursor, setCursorIntern): fix cursor movement with boundary
973 2005-07-16 Juergen Vigna <jug@lyx.org>
975 * text.C (currentState): output the actual Boundary
977 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
979 * factory.C (createInset): fix bad logic for tabular creation
981 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
983 * lyx_main.C (init): change some reLyX reference to tex2lyx
985 2005-07-16 Juergen Vigna <jug@lyx.org>
987 * dociterator.C (DocIterator): initialize boundary
989 2005-07-16 Juergen Vigna <jug@lyx.org>
991 * text2.C (getColumnNearX): Consider rows without trailing blank.
993 2005-07-16 André Pönitz <poenitz@gmx.net>
995 * lyxfont.h: Change order of declarations to give the compiler
996 a better chance to inline things
998 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
999 questions on unsaved docs for better scritability
1001 2005-07-16 André Pönitz <poenitz@gmx.net>
1003 * paragraph.h (getChar): remove asserts as the same kind of security
1004 can be achieved by using a suitable standard library implementation
1005 and the function was in the critical path (25.9% in profiler)
1007 2005-07-16 Juergen Vigna <jug@lyx.org>
1009 * cursor.C (bruteFind2):
1010 * bufferview_funcs.C (coordOffset):
1011 * text.C (cursorX,cursorY): Handle cursor position after last char
1012 in row before a inset which uses a whole row.
1014 2005-07-15 José Matos <jamatos@lyx.org>
1016 * output_plaintext.[Ch] (writeFileAscii): control reference title
1018 (asciiParagraph): noparbreak was already deal and was incorrectly
1021 2005-07-15 Juergen Vigna <jug@lyx.org>
1023 * lyxfunc.C (dispatch): save and restore the cursor after a
1026 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
1028 * text.C (backspace): bug 806 for empty keepempty paragraphs we
1029 change the layout to default before letting DEPM do its thing.
1031 * paragraph_funcs.C (breakParagraph): dont reset the layout on
1032 keepEmpty paragraphs
1034 * text.C (setCursorFromCoordinates): add a debug statement
1036 * text2.C (getColumnNearX): bug 1825 make sure that we don't
1037 return a pos that is not on the row
1039 * output_latex.C (TeXDeeper): get rid of potential dereferencing
1040 of past the end iterator
1042 2005-07-14 André Pönitz <poenitz@gmx.net>
1044 * undo.C (recordUndoFullBuffer): implement undo for
1047 2005-07-14 André Pönitz <poenitz@gmx.net>
1049 * cursor.C (setSelection): open insets when selection is set there
1050 to avoid crashs with cold coord cache
1052 2005-07-14 André Pönitz <poenitz@gmx.net>
1054 * trans_mgr.C (insert): move cursor to the right after inserting
1057 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1059 * BufferView_pimpl.C (update): dampen some of the debug blabbering
1060 * factory.C (readInset): ditto
1061 * text.C, text2.C: ditto
1063 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1065 * buffer.C: format incremented to 242. There is no file format per
1066 se, but the "frenchb" language has been removed from lib/language
1067 and has to be translated to "french" by lyx2lyx.
1069 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1071 * cursor_slice.h, dociterator.h: add some documentation
1072 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1074 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1076 * text.C (leftMargin): do not add identation to display() style
1077 insets, because they are always centered (bug 1293).
1079 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1081 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1082 formatted_time methods in support/lyxtime.
1084 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1086 * toc.[Ch]: new method getGuiName, which is used by the frontends
1087 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1089 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1091 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1092 StableDocIterator const &)
1093 * undo.C (recordUndo): use the above instead of cell.size() comparison
1094 (fixes bug 1808; instructed by Andr�.
1096 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1099 * dociterator.h: Fix the assert when copying rows/cols in math
1101 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1103 * BufferView_pimpl.C:
1105 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1107 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1108 (findInset): new functions, refactored from goto Inset that return
1109 the position of a certain inset without setting the buffer's cursor
1111 (gotoInset): rewrite to call findInset and then set the cursor
1114 2005-06-16 Angus Leeming <leeming@lyx.org>
1116 * lyxrc.C (output, read): wrap all input and output of paths with
1117 calls to os::internal_path and os::external_path, respectively.
1118 (output): wrap bind_file inside quotes.
1120 * format.C (view): enable the viewer to use the '$$s' placeholder.
1122 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1124 * LColor.[Ch] (getFromLaTeXName): new
1126 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1128 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1130 2005-06-14 Angus Leeming <leeming@lyx.org>
1132 * lyx_main.C (init): ensure that the LyX binary dir is the first
1133 element in the PATH on non-POSIX builds.
1135 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1137 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1139 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1141 * rowpainter.C (paintInset, paintHebrewComposeChar)
1142 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1143 (paintChars): use getFontSpan to reduce calls to getFont to a
1144 minimum; use Paragraph::lookupChange instead of isXXXText.
1145 (paintForeignMark): rename LyXFont argument.
1146 (paintFromPos): pass a LyXFont object to the various paintXXX
1149 * FontIterator.C (FontIterator, operator++): use
1150 Paragraph::getFontSpan
1152 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1153 version that returns the font span as a pair.
1155 2005-06-09 Angus Leeming <leeming@lyx.org>
1157 * converter.C (convert): Don't forget "outfile = real_outfile" as
1158 the final step in a conversion where the input and output file names
1159 are the same. Otherwise, future conversion steps won't work...
1161 2005-06-09 Angus Leeming <leeming@lyx.org>
1163 * lyxsocket.C: remove stub code as it isn't needed by
1164 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1166 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1168 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1169 effectively disabled -x
1171 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1173 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1174 when it actually makes sense.
1176 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1178 * BufferView_pimpl.C: revert to showCursor in connection with
1179 Lars's front-end stack
1181 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1183 * text.C (redoParagraph): move cursor right after a bibitem
1186 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1188 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1190 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1193 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1195 * BufferView.[Ch] (update):
1196 * BufferView_pimpl.[Ch] (update, metrics):
1197 * dimension.h (operator==):
1198 * lyxfunc.C (dispatch):
1199 * metricsinfo.h (ViewMetricsInfo):
1200 * rowpainter.C (paintText):
1202 * text.C (redoParagraph):
1203 * text3.C (dispatch): Make LyX only repaint current paragraph in
1204 case of character insert --> speedup. Also fix cursor draw
1207 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1209 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1210 avoid a crash (bug 1891)
1212 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1216 * text2.C (getStringToIndex): constify cur argument.
1218 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1219 argument has been given
1220 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1221 try to invoke LFUN_INSET_APPLY).
1223 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1224 if no inset was created by doInsertInset
1225 (doInsertInset): return true if an inset has been inserted.
1227 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1229 * vspace.C (asGUIName): new method. A version of the space
1230 suitable for showing on screen.
1232 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1235 * lyxrc.C: rename "ASCII" to "Plain Text"
1237 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1239 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1240 translate the labelstring.
1241 (setCounter): translate labelstring as needed.
1243 * output_docbook.C (makeCommand): fix expandLabel invokation
1245 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1247 * BufferView.C: fix dialog title
1249 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1251 * lyx_main.C (priv_exec): fix logic error with help from Angus
1252 * lyx_main.C (parse_execute): set is_gui = false and remove now
1253 obsolete comment about a segfault
1255 2005-05-18 Angus Leeming <leeming@lyx.org>
1257 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1259 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1261 * tabular.[hC]: added setCellInset to fix tabular paste.
1263 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1265 * buffer.C (save): check if destination is writable before trying
1268 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1270 * BufferView_pimpl.C (update): fix processEvents -caused update
1273 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1275 * buffer_funcs.C (setCounter): fix test for numbering of
1278 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1279 depth correctly; use optional argument when it exists
1281 * lyxtextclass.C: remove unused MaxCounterTags enum
1282 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1283 (max_toclevel, min_toclevel): new methods.
1285 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1286 the smallest depth in toc.
1288 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1289 layouts that should not appear in a table of contents.
1291 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1293 * cursor.h (undispatched, noUpdate): add comments from Andr�
1294 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1298 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1300 2005-05-07 André Pönitz <poenitz@gmx.net>
1302 * cursor.[Ch] (leaveInset): new function
1304 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1306 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1308 2005-05-04 Angus Leeming <leeming@lyx.org>
1310 * lyxfunc.C (getStatus): disable the spell checker dialog if
1311 none of USE_[AIP]SPELL are defined.
1313 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1315 * tabular.C (setWidthOfCell): remove obsolete comment
1317 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1319 * paragraph.C (bibitem):
1320 * buffer_funcs.C (setCounter):
1321 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1323 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1325 * text3.C (getStatus): immediately return after setOnOff
1327 * rowpainter.C: fix drawing of appendix start
1329 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1331 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1332 SwitchBetweenClasses and remove the unused return value.
1333 Handle character styles, too
1335 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1337 * factory.C (createInset): handle undefined character styles
1339 2005-05-02 Angus Leeming <leeming@lyx.org>
1341 * buffer.C: protect the #include of utime.h with a preprocessor
1344 2005-05-02 Angus Leeming <leeming@lyx.org>
1346 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1347 function so that auto-saving works, albeit in a blocking manner.
1349 * Makefile.am: make compilation of the client sub directory, of
1350 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1351 on conditionals set at configure time.
1353 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1354 it can be compiled in its own right but has no-op functionality.
1356 * aspell.C, pspell.C: remove preprocessor guards. The files should
1357 be compiled only if the necessary functionality exists.
1359 * lyxserver.C, lyxsocket.C: disable on Windows.
1361 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1363 * text.C (leftMargin): Fix the parindent use bug (1764)
1366 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1368 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1371 2005-04-25 Angus Leeming <leeming@lyx.org>
1379 include <config.h> in .C files, not .h ones.
1381 protect headers inside preprocessor guards.
1383 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1385 * FuncStatus.h (StatusCodes): document
1387 2005-04-21 André Pönitz <poenitz@gmx.net>
1389 * FuncStatus.h (enabled, onoff): document
1391 2005-04-19 Angus Leeming <leeming@lyx.org>
1393 * BufferView_pimpl.C (cursorToggle): no longer test whether
1394 any child processes have been reaped before calling
1395 handleCompletedProcesses().
1397 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1399 * text3.C (dispatch): fix, finally fix, the language problem in
1400 new lyxtexts, without disabling on-the-fly font changes (Helge's
1403 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1405 * text3.C (dispatch): set cursor on double/triple click events
1408 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1410 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1411 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1413 * rowpainter.C (paintFirst): simplify the code a little bit. In
1414 particular, remove the test for secnumdepth.
1415 * text.C (setHeightOfRow): only allocate space for chapter number
1416 when updateCounters provided an actual label, instead of looking
1417 at secnumdepth directly.
1419 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1421 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1422 paragraphs when secnumdepth is large enough or, for environments,
1423 when they are not the first in a sequence.
1425 2005-04-17 Angus Leeming <leeming@lyx.org>
1427 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1428 containing space and '~' characters with a call to latex_path().
1430 2005-04-17 Angus Leeming <leeming@lyx.org>
1432 * converter.C (convert): protect all args of convertDefault.sh
1435 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1437 * text3.C (dispatch): change the layout to "Caption" after inserting
1440 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1442 * text3.C (dispatch): fix language problem in newly created
1443 textinsets (and main text) in non-english docs
1445 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1447 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1448 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1449 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1451 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1455 * text2.C (getFont):
1456 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1459 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1461 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1462 output of \item arguments without trailing text.
1464 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1466 * FontIterator.C (operator*): avoid a copy of the font.
1468 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1470 * rowpainter.C (getFont): fix language bug from previous fix
1472 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1474 * rowpainter.C (RowPainter, getFont): fix font inside inset
1477 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1479 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1480 preventing inserted font, deco, delim insets jumping to start of
1483 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1485 * lyxfunc.C (dispatch): translate message before sending it to the
1488 2005-03-29 Angus Leeming <leeming@lyx.org>
1490 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1491 to LyX on the command line.
1493 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1495 * vc-backend.C: use QuoteName to protect file names wherever
1498 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1501 * BranchList.h: fix bugs 1844,1845: document settings don't
1504 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1506 * lyxrc.C (setDefaults, read, output, getDescription): add support
1507 for tex_allows_spaces.
1509 * exporter.C (Export): allows files in directory containing spaces
1510 if tex_allows_spaces is true.
1512 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1513 output it in double quotes.
1515 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1517 * rowpainter.C: use default text height for drawing change tracker
1520 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1522 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1524 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1526 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1527 directory is missing.
1529 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1531 * text2.C: fixed the fix, extended to other case.
1533 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1535 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1537 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1539 * text2.C (cursorUp): get rid of a crash
1540 * text.C (x2pos): add an assert
1542 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1544 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1548 * dociterator.C: include <boost/current_function.hpp>, which is
1549 needed when assertions are disabled.
1551 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1553 * text2.C: fix for stuck cursor when traversing two
1554 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1556 2005-02-25 Andreas Vox <avox@arcor.de>
1558 * output_docbook.C (makeParagraph): suppress trailing newline
1559 after a run of paragraphs
1561 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1563 * paragraph.C: fix for confused change tracker when pasting
1564 text that begins with a lineseparator. [bug 1827]
1565 (setChange(0, Change::INSERTED);)
1567 * paragraph_funcs.C: fix for lost changes on triple-paste
1568 in change tracking mode [bug 1827] (par.setChange()).
1570 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1572 * text2.C (updateCounters, setCounter, expandLabel): move to
1575 * buffer_funcs.C (updateCounters): turn into a free standing
1576 function and add a buffer parameter. Remove dead code for tracking
1578 (setCounter): change into a free-standing function which gets a
1579 dociterator as argument. Use this iterator to fix captions in a
1580 simple way. When no float is found above the caption, use the
1581 labelstring of the caption layout as default.
1583 * text.C (breakParagraph, backspace):
1584 * text2.C (init, setLayout, changeDepth):
1585 * text3.C (dispatch):
1586 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1589 * dociterator.C (forwardPar): make it much faster by calling
1590 forwardPos() only when really necessary.
1592 * output_docbook.C (makeCommand): adapt to expandLabel move.
1594 * cursor.C: remove unused variable
1596 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1598 * paragraph_funcs.C: fix crash when pasting insets in change
1599 tracking mode [bug 1277] (honour change type in moveItem).
1601 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1603 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1605 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1607 * BufferView.C (setCursor): change to use a DocIterator.
1608 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1609 (putSelectionAt): adapt to BufferView::setCursor change.
1611 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1612 moved here from LyXText and rewritten to use proper cursor
1613 methods. Fixes bug 1787, 616 and 835.
1615 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1616 when inside an inset (part of bug 781).
1617 (dispatch): adapt to change of BufferView::setCursor.
1618 (getStatus, dispatch): handle LFUN_GOTOERROR,
1619 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1621 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1622 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1623 * text3.C (gotoNextInset, gotoInset): removed.
1625 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1627 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1629 2005-02-15 Angus Leeming <leeming@lyx.org>
1631 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1632 can be used meaningfully in a comparison.
1634 2005-02-13 André Pönitz <poenitz@gmx.net>
1636 * bufferview_funcs.C (coordOffset): improve cursor drawing
1638 2005-02-13 André Pönitz <poenitz@gmx.net>
1640 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1641 * Cursor.C (dispatch): use fixIfBroken
1642 * lyxfunc.C (getStatus): use fixIfBroken
1644 2005-02-15 Angus Leeming <leeming@lyx.org>
1646 * lyx_main.C (error_handler):
1648 * lyxrc.C (setDefaults):
1650 #include "environment.h".
1652 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1654 2005-02-15 Angus Leeming <leeming@lyx.org>
1656 * lyxserver.C (startPipe): squash MSVC warning "local variable
1657 'fd' used without having been initialized".
1659 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1661 * BufferView_pimpl.C: revert accidental commit.
1663 2005-02-14 André Pönitz <poenitz@gmx.net>
1665 * dociterator.[Ch]: new member forwardPosNoDescent(),
1666 which doesn't enter nested insets.
1667 * text2.C (setFont): use forwardPosNoDescent() instead
1668 of ForwardPos() (fixes crash on font change).
1670 2005-02-13 Angus Leeming <leeming@lyx.org>
1672 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1673 only if lyxrc.path_prefix is not empty.
1675 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1677 * bufferparams.C (readGraphicsDriver): prevent crash
1679 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1681 * text2.C (setCounter): check for inInset() == 0
1683 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1685 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1686 but use update() to get correct screen display; use convert
1687 instead of istringstream.
1688 (getStatus): handle LFUN_GOTO_PARAGRAPH
1690 * lyxfunc.C (dispatch, getStatus): do not handle
1691 LFUN_GOTO_PARAGRAPH here.
1693 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1695 * text3.C (dispatch): size() -> depth()
1697 * text2.C: remove some debug output
1699 * paragraph.C: ws changes only
1701 * lyxfunc.C (getStatus): size() -> depth()
1703 * dociterator.h (clear, push_back, pop_back, internalData,
1704 operator[], resize, empty): new functions
1705 Make StableDocIterator and operator== be friends. Don't inherit
1706 from std::vector use a privat class variable slices_ instead.
1709 * dociterator.C: update because of not inheriting from std::vector
1710 anymore. Call explictly to slices_ instead. Use depth() instead of
1711 size() and top() instead of back()
1713 * cursor.C: chagne size() -> depth and back() -> top(). Also
1714 remove some direct operator[](i) calls in favour of foo[i]
1715 (getFont): remove some dead code
1717 * bufferview_funcs.C (coordOffset): size() -> depth()
1719 * buffer.C: ws changes only
1721 * CutAndPaste.C (eraseSelection): back() -> top()
1723 * BufferView_pimpl.C (selectionRequested): back() -> top()
1725 * BufferView.C (setCursor): size() -> depth()
1727 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1729 * text3.C (cursorPrevious): return true if depm changed something
1731 (dispatch): rename sl to oldTopSlice, remove moving use the new
1732 NoUpdate func attrib instead. Make sure that needsUpdate is set
1733 for function that have NoUpdate, but where depm might have changed
1736 * text2.C (cursorLeft): make us return true if depm changed
1738 (cursorRight): ditto
1739 (cursorUpParagraph): ditto
1740 (curosrDownParagraph): ditto
1741 (cursorUp, cursorDown): ditto, make sure to read comments in code
1742 (deleteEmptyParagraphMechanism): remove an assert, also return
1743 true if just a single char was deleted.
1745 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1746 cursor that we modify, to avoid modifying an active cursor before
1747 we call setCursor. This allows depm to run. Also return true if
1748 depm deleted something.
1750 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1751 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1752 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1753 something was changed in the buffer because of them (ie. depm run)
1755 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1756 debug messages. Make update by default be false. Make sure that
1757 the result of update is retained throught several calls down to
1760 * LyXAction.h: add a new func_attrib: NoUpdate
1762 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1763 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1764 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1766 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1768 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1770 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1771 bv_->owner(), bv_->buffer() by direct references to the private
1773 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1774 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1775 (fitCursor): center() is in BufferView::Pimpl.
1776 (getStatus, trackChanges, dispatch): no need for a temporary buf
1778 (fitCursor, workAreaDispatch): use workarea().workheight()
1780 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1782 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1784 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1786 * buffer.C: format up to 241.
1787 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1788 break if pasting into ERT
1789 * lyxfunc.C (getStatus): suppress mathpanel and
1790 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1792 2005-02-01 Angus Leeming <leeming@lyx.org>
1794 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1796 2005-02-01 Angus Leeming <leeming@lyx.org>
1798 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1799 calling fs::is_directory().
1801 2005-01-31 Angus Leeming <leeming@lyx.org>
1803 * lyx_main.C (priv_exec): specify explicitly the relative location
1804 of the top level build directory when run in-place.
1806 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1808 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1809 LyXText containing the cursor, not the top-level one.
1811 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1813 (insertStringAsLines): rename par to pit; use temporary variable
1814 par to hold a Paragraph; do not store par.layout() in a variable,
1815 since the pointer may die when breaking paragraphs; pass pars to
1816 breakParagraph() instead of Buffer::paragraphs().
1818 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1820 * lyxlex_pimpl.h: #include <fstream>.
1822 * BufferView.[Ch] (getLyXText): add a const version.
1824 * BufferView_pimpl.C: add debug aids.
1829 * paragraph_funcs.h: add commentary explaining what the class does.
1832 * coordcache.[Ch]: add lots of commentary.
1833 (startUpdating, doneUpdating): debug aids.
1834 (arrays, insets, parPos, getParPos): accessors to private data.
1836 * cursor_slice.[Ch] (text): add a const version.
1837 * dociterator.[Ch] (text, innerText): add const versions.
1839 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1842 * paragraph.C (getRow, pos2ros): add asserts.
1844 * paragraph.h: add commentary. Lots of.
1846 * paragraph.[Ch] (metrucs, draw): removed.
1849 * rowpainter.[Ch]: const-correct changes.
1851 * text.C: various obvious clean-ups. Removal of ancient cruft.
1854 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1856 * vc-backend.C (find_file): rewrite to use boost.filesystem
1859 * main.C (main): set default name check for boost.filesystem to
1862 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1865 (actOnUpdatedPrefs): ditto
1867 * lyx_main.C (init): rewrite to use boost.filesystem
1868 (queryUserLyXDir): ditto
1870 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1871 (getContentsOfAsciiFile): ditto
1873 * lastfiles.C (readFile): rewrite to use boost.filesystem
1875 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1877 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1878 (loadLyXFile): ditto
1880 * buffer.C (Buffer): adjust for destroydir
1881 (getLogName): rewrite to use boost.filesystem
1882 (setFileName): ditto
1883 (save): use fs::copy_file (from fs_extras)
1885 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1887 * LaTeX.C (run): rewrite to use boost.filesystem
1888 (scanAuxFiles): ditto
1889 (handleFoundFile): ditto
1891 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1893 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1895 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1897 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1899 * lyxlayout.[Ch]: change some vars from float to double
1901 * buffer.C (readFile): make a local var const
1903 * Several files: use convert<> instead of atoi,strToXXX and friends
1905 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1907 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1908 holds the contents of packages.lst. New functions getAvailable
1909 and isAvailable to parse and check that list, resp.
1913 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1915 * bufferparams.[Ch]: new param output_changes.
1917 * Buffer.C: increase file format to 240.
1918 Use output_changes and isVailable.
1922 * paragraph_pimpl.C: Use output_changes and isVailable.
1924 2005-01-23 Angus Leeming <leeming@lyx.org>
1926 * output_latex.C: #include "insetbibitem.h", rather than
1927 forward declare function bibitemWidest.
1929 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1931 * lyx_main.C (init): make it compile on the Mac.
1933 2005-01-20 Angus Leeming <leeming@lyx.org>
1935 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1936 (setLyXMisc): (char string literal) != (char string literal) is
1937 performing a comparison on the addresses. Convert one operand
1938 explicitly to string to guarantee expected behaviour.
1941 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1944 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1946 * output_plaintext.C: remove unneeded #include gzstream.h.
1948 2005-01-20 Angus Leeming <leeming@lyx.org>
1950 * SpellBase.h: rename some of the elements of the Result enum.
1957 * pspell.C (check): ditto
1959 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1961 * buffer.C: add #include <fstream>.
1963 * lyx_main.C (init): Compile fix.
1965 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1967 2005-01-20 Angus Leeming <leeming@lyx.org>
1969 * mover.h: change commentary to reflect the changed meaning of
1970 the $$s placeholder.
1972 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1974 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1976 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1978 2005-01-20 Angus Leeming <leeming@lyx.org>
1980 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1981 printing diagnostic data by not dereferecing an iterator past the
1984 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1986 * buffer.C (readHeader): use "&&" rather than "and".
1988 * lyxserver.h (inPipeName, outPipeName): make these const.
1990 2005-01-19 Angus Leeming <leeming@lyx.org>
1992 * lyx_main.C (error_handler, init): protect SIGHUP with
1993 #ifdef SIGHUP guards.
1995 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1997 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1999 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2001 * text.C (setHeightOfRow): add a margin at the top and bottom of
2002 the document (bug 1761)
2004 2005-01-17 Angus Leeming <leeming@lyx.org>
2006 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
2007 with "python ". Workaround for a brain-dead Windows.
2009 2005-01-16 Angus Leeming <leeming@lyx.org>
2011 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
2012 for MacOSX and Windows to use prependEnvPath.
2013 Strip out the hard-coded block to add elements to the PATH for
2014 MacOSX and replace it with a call to prependEnvPath using the
2015 contents of LyXRC::path_prefix.
2016 (queryUserLyXDir): strip out the code to run reconfigure, instead
2017 returning a boolean indicating the necessity to do so.
2018 (reconfigureUserLyXDir): contains the code to reconfigure the
2019 user support directory. Is now called after the various LyXRC data
2020 files have been read.
2022 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
2024 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2026 * converter.[Ch] (convert): take a new parameter try_default. Use
2027 a default converter (imagemagick) if try_default is true.
2029 2005-01-13 Angus Leeming <leeming@lyx.org>
2031 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2032 os::cygwin_path_fix.
2033 (write): output LyXRC::cygwin_path_fix as necessary.
2035 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
2038 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2040 2005-01-12 Angus Leeming <leeming@lyx.org>
2042 * lyx_main.C (init): set the PATH variable to include the
2043 directory containing the LyX binary when running on Mac or Windows.
2045 2005-01-12 Angus Leeming <leeming@lyx.org>
2047 * lyx_main.C (init): remove cruft that purports to set the locale
2048 dir. It doesn't and is not needed anyway.
2050 2005-01-10 Angus Leeming <leeming@lyx.org>
2052 * Makefile.am: remove the lyx_main.C special casing.
2054 * BufferView_pimpl.C:
2060 * messages.C: use support/package.h to provide the paths to the
2061 various directories used by LyX.
2063 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2065 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2066 layout if pasting into an empty paragraph)
2068 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2070 * tex-accent.C: add <string>
2072 2005-01-06 José Matos <jamatos@lyx.org>
2074 * ParagraphParameters.C (write): put every parameter in its own line.
2075 * paragraph.C (write): reduce number of consecutive empty lines exported.
2076 * buffer.C (LYX_FORMAT): increase file format to 239.
2078 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2080 * everywhere: change support/tostr.h -> support/convert.h
2082 * tabular.C: make all write_attributes templates, tostr -> convert
2084 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2085 (emptyTag): and -> &&, and fix type for ret from getChar
2086 (getFirstWord): fix type for ret from getChar
2087 (onlyText): and -> &&
2088 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2091 * toc.C (goTo, action):
2092 * text3.C (dispatch):
2093 * text.C (currentState):
2094 * tex-accent.C (DoAccent):
2097 * lyxfunc.C (menuNew):
2098 * lyxfinc.C (replace):
2099 * counters.C (laberItem):
2100 * bufferview_funcs.C (font2string):
2101 * bufferparams.C (writeFile):
2102 * buffer.C (readFile):
2104 * MenuBackend.C: tostr -> convert
2106 * LaTeX.C (runMessage): fix format
2107 (scanAuxFiles): tostr -> convert
2109 * BufferView_pimpl.C (savePosition): fix format
2110 (restorePosition): ditto
2113 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2115 * Spacing.[Ch]: New method getValueAsString().
2119 * ParagraphParameters.C:
2122 * text3.C: store/read spacing value as string.
2124 * rowpainter.C: change float value (spacing_val) to double.
2126 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2127 broken custom document spacing).
2129 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2132 namespace, also more use of temp references and const
2134 * cursor.[Ch] (getStatus): move to lyxfunc.C
2136 * bufferparams.C: reformat slightly
2138 * bufferview_funcs.C (font2string): constify arg
2144 * buffer_funcs.C: (many funcs): constify arg on function
2145 definitions, also make more local vars const, also add ASSERTS on
2148 * buffer.C (LYX_FORMAT): put const in correct place
2149 (many funcs): constify arg on function definitions, also make
2150 more local vars const
2152 * aspell_local.h: remove "struct" from typdef setup
2154 * aspell.C (check): make word_ok const
2155 (nextMiss): simplify slightly
2158 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2160 * lyxrc.[Ch]: store all float values as strings.
2161 use int (not float) for lyxrc.dpi.
2163 2005-01-04 Angus Leeming <leeming@lyx.org>
2165 * lyx_cb.C (Reconfigure):
2166 * lyx_main.C (queryUserLyXDir):
2167 to run the <system_lyxdir>/configure correctly on Windows, prefix
2168 the path to the script with "sh " when generating the string that
2169 is passed to system().
2171 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2173 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2175 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2177 * lyxlength.C (asLatexString): get rid of setprecision
2179 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 * text2.C (setLayout): remove unused variable endpit.
2182 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2184 * paragraph.C (onlyText): remove unused variable style.
2186 * cursor.C (bruteFind): remove unused variables beg and end.
2188 * Makefile.am (dist_noinset_DATA): not needed anymore
2190 * cheaders/*: remove.
2192 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2194 * text3.C: fix LFUN_MATH_MODE.
2196 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2198 * buffer_funcs.C (countWords): new function. Counts words between
2201 * BufferView_pimpl.C (getStatus, dispatch): handle
2204 * LyXAction.C (init):
2205 * lfuns.h: add LFUN_WORDS_COUNT.
2207 2004-12-19 Angus Leeming <leeming@lyx.org>
2209 * buffer.C (save): s/slashify_path/internal_path/.
2211 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2213 * lyxfind.C (findChange): do not search for end of pars, because
2214 the change tracker cannot handle this (fixes bug 1719).
2216 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2218 * paragraph.[Ch] (autoBreakRows): remove
2220 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2222 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2223 avoid using the paragraph one
2225 * text2.C (LyXText, insertStringAsLines): adjust
2227 2004-12-16 Angus Leeming <leeming@lyx.org>
2231 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2233 2004-12-14 Angus Leeming <leeming@lyx.org>
2235 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2237 * bufferlist.C (emergencyWrite):
2238 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2241 2004-12-14 Angus Leeming <leeming@lyx.org>
2243 * main.C: (main): no longer pass pointers to os::init.
2245 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2247 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2248 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2250 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2253 * text3.C: remove selection_possible global flag
2255 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2257 * text2.C (getSelectionSpan): remove
2258 (changeDepth, changeDepthAllowed): adjust
2260 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2262 * Makefile.am (BOOST_LIBS): use boost variables
2264 2004-12-03 José Matos <jamatos@lyx.org>
2266 * buffer.C: format up to 238.
2268 2004-12-03 José Matos <jamatos@lyx.org>
2270 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2272 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2274 * cursor.C (goUpDown): remove call to idxUpDown2
2276 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2278 * tabular.[Ch]: use size_t-like types for cell, row and column
2281 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2283 * lyxfunc.C (getStatus): do not lose previous information when
2284 calling BufferView::getStatus; do not set a default "Command
2285 disabled" message at the beginning, but just before returning.
2287 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2289 * cursor.h (getStatus): add better comment from src/cursor.C
2291 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2293 * text3.C (getStatus): return false when the lfun is not handled
2295 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2297 * broken_headers.h: remove
2299 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2301 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2303 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2304 offset_ref accessors
2306 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2307 top_y_, merge fitcursor with update
2308 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2310 (metrics): introduce
2311 (workAreaDispatch): adapt to new coord scheme
2312 (redoCurrentBuffer): remove
2314 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2316 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2319 * coordcache.[Ch]: add paragraph cache and helpers
2321 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2324 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2325 (targetX, setTargetX): introduce
2327 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2328 baseline -> ascent, as the rest of lyx
2330 * lyxtext.h: remove redoParagraphs, updateParPositions,
2331 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2332 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2333 have ascent/descent (ascent is ascent of first par)
2335 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2338 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2340 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2342 * pariterator.C: fix infinite loop introduced in par->pit renaming
2344 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2345 in insets and LyXText, draw two off-screen paragraphs using
2346 NullPainter, and adapt to new coord scheme
2350 * text3.C: adapt lfun handlers to the new coord scheme, which
2351 means: there's only guaranteed coord information for onscreen pars
2352 plus one above and one below. This implies that one can do search
2353 from y coordinates in the range [-1,workHeight]
2355 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2357 * rename a lot of InsetOld to InsetBase
2359 2004-11-25 Angus Leeming <leeming@lyx.org>
2361 * BufferView_pimpl.C:
2363 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2365 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2367 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2368 call BufferView::getStatus if LCursor::getStatus did nothing
2369 (setStatusMessage, getStatusMessage): removed.
2371 * FuncStatus.C (message): new methods. Used to provide an error
2372 message indicating why a command is disabled.
2373 (clear, |=, FuncStatus): update for message.
2375 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2377 * lyxfunc.C (dispatch): always call sendDispatchMessage
2379 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2382 * BufferView_pimpl.C:
2387 * cursor_slice.[Ch]:
2390 * paragraph_funcs.C:
2396 * undo.C: par->pit renaming
2398 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2400 * tabular.C (cellstruct): use initialization, store a shared_ptr
2401 to insettext instead of the insettext directly, adjust to fit.
2402 (operator=): new function
2403 (swap): new function
2404 (rowstruct): use initialization
2405 (columnstruct): use initialization
2406 (ltType): use initialization
2409 * lyxlength.h (swap): new function
2411 * LColor.[Ch] (operator=): use the common semantics
2413 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2415 * lyxfind.C (findNextChange): update the bufferview after setting
2418 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2420 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2421 number of InsetOptArgs has already been inserted.
2423 * output_latex.C (latexOptArgInsets): new method. This outputs all
2424 the optarg insets, up to the limit defined in the layout file.
2425 (optArgInset): removed
2426 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2428 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2430 * paragraph.C (isLetter): remove special spellchecker-related
2431 code; return true also for digits
2432 (isWord, isKomma): remove
2434 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2435 * lyxfind.C (MatchString()): use isLetter instead of isWord
2437 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2439 * pariterator.h (operatir=): comment out un-implemented member
2442 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2445 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2447 * lyxfont.h: include LColor.h to satisfy concept checks.
2449 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2451 * pariterator.h: add typdefs for value_type, difference_type,
2452 pointer and reference to satisfy concept checks. Also add default
2453 constructor for same reason.
2455 * pariterator.C (operator++): add post-increment operator to
2456 satisfy concept checks.
2458 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2461 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2463 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2464 checks. Also rename base_type to BaseType to follow naming
2467 * FloatList.h: include Floating.h to satisfy concept checks.
2469 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2471 * lyxfunc.C (getStatus): when the origin of the request is menu or
2472 toolbar, and the LyXView does not have focus, do as if there was
2473 no buffer (bug 1720)
2475 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2476 FuncRequest to individual entries of LFUN_SEQUENCE
2478 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2480 * output_latex.C (TeXOnePar): override runparams.moving_arg
2481 according to the needprotect value of the current paragraph (bug
2484 * paragraph.C (simpleTeXOnePar): no need to override
2485 runparams.moving_args here
2487 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2489 * vspace.C: fix off-by-one-error, related to fix #1682
2491 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2493 * lengthcommon.C: a more general fix for bug 1682
2495 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2497 * text.C (backspace): fix crash
2499 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2501 * format.[Ch] (getFormatFromFile): new method
2502 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2504 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2506 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2508 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2510 * lyxfunc.C (dispatch): remove the verbose argument
2511 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2514 * kbmap.C (defkey): set the origin of func to KEYBOARD
2516 * MenuBackend.C (MenuItem):
2517 * ToolbarBackend.C (add): set the origin of func to UI
2519 * funcrequest.[Ch]: add origin member, which indicates which part
2520 of LyX requests an action
2522 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2524 * converter.C (move): don't lie in the error message
2525 * converter.h (isReachable, move): document
2527 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2529 * buffer.C: remove unused using lyx::support::atoi
2530 * paragraph_funcs.C: ditto
2532 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2534 * bufferlist.C (exists): use bind and equal_to instead of
2537 * lyxtextclasslist.C (NumberOfClass): ditto
2539 * cursor.C (insert): use for_each instead of explicit for loop
2541 * bufferlist.C (getFileNames): use std::transform and
2542 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2544 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2547 * buffer.C (changeLanguage): use for_each instead of explicit for
2549 (hasParWithID): implement using getParFromID
2551 * LaTeXFeatures.C: ws change only
2553 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2556 * BufferView_pimpl.C (trackChanges): use for_each instead of
2559 2004-11-04 André Pönitz <poenitz@gmx.net>
2562 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2564 * dociterator.C (asDocIterator): use hard assert again.
2566 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2568 * lyxlength.C (asLatexString): rewrite so that it does not use
2571 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2573 * text3.C (specialChar, dispatch): make sure cursor moves to the
2574 right after inserting an inset
2576 2004-11-02 José Matos <jamatos@lyx.org>
2578 * output_docbook.C (docbook):
2579 * paragraph.C (getID):
2580 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2581 garantee that the output is always legal.
2583 * tabular.C (docbook):
2584 * outputprams.[Ch]: remove mixed contents.
2586 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2588 * text2.C (setCounter): prevent endless loop
2590 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2592 * exporter.C (copyFile): use the mover instead of support::copy()
2593 * exporter.C (Export): pass format and latex name to copyFile()
2594 * exporter.h (addExternalFile): document
2595 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2597 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2599 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2601 2004-10-30 José Matos <jamatos@lyx.org>
2603 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2604 text and no inset or font change. This allows to use CDATA
2605 sections just for the whole paragraph.
2607 2004-10-30 José Matos <jamatos@lyx.org>
2609 * paragraph.C (getFirstWord): remove unused variable.
2611 2004-10-30 José Matos <jamatos@lyx.org>
2613 * paragraph.C (getFirstWord): the content should always be escaped
2615 (simpleDocBookOnePar):
2616 * output_docbook.C (makeEnvironment): replace reference to CDATA
2619 2004-10-30 José Matos <jamatos@lyx.org>
2621 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2623 2004-10-30 José Matos <jamatos@lyx.org>
2625 * output_docbook.C (makeParagraphs):
2626 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2627 standard paragraph has only a given type of content drop the wrapper.
2629 2004-10-29 José Matos <jamatos@lyx.org>
2631 * output_docbook.C (makeEnvironment):
2633 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2635 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2637 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2638 (cleanID): sanitize any id.
2640 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2642 * buffer.C, lyxlex_pimpl.C:
2643 * lyxlex_pimpl.C (setFile):
2644 s/getExtFromContents/getFormatFromContents/
2646 2004-10-28 José Matos <jamatos@lyx.org>
2648 * output_docbook.C (makeEnvironment): move id to broadest possible
2651 * sgml.C (openTag): apply substitution of <> for all attributes.
2653 2004-10-28 José Matos <jamatos@lyx.org>
2655 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2656 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2657 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2659 * sgml.[Ch]: new version for open and closeTag for paragraph and
2660 for strings. Now they handle the ids of paragraphs.
2662 2004-10-26 Angus Leeming <leeming@lyx.org>
2664 * Makefile.am: add mover.[Ch].
2666 * converter.C (convert, move): use the new Movers to move external
2667 files to the temp directory.
2669 * lyx_main.C (init): ensure that the global system_movers data
2672 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2675 * mover.[Ch]: new files, defining a Mover as a utility to move an
2676 external file between directories and, if necessary, manipulate this
2677 file using a helper script.
2679 2004-10-25 José Matos <jamatos@lyx.org>
2681 * output_docbook.C (makeCommand): merge two if's that tested the
2684 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2686 * sgml.C (escapeString): fix warning in a better way
2688 2004-10-25 José Matos <jamatos@lyx.org>
2690 * sgml.C (escapeString): import the require boosts header file for
2691 tie, and avoid a signed unsigned comparison.
2693 2004-10-25 José Matos <jamatos@lyx.org>
2695 * sgml.h: add #include <string>
2697 2004-10-25 José Matos <jamatos@lyx.org>
2699 * sgml.[Ch] (escapeString): new function to escape all the string.
2701 2004-10-24 José Matos <jamatos@lyx.org>
2703 * paragraph.[Ch] (getFirstWord): new function to get the first
2704 word. Useful for description.
2705 (simpleDocBookOnePar): remove depth argument, add another that
2706 says where to start the paragraph.
2708 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2709 use the new functions to fix cleanly the support for descriptions.
2711 2004-10-24 José Matos <jamatos@lyx.org>
2713 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2714 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2715 * output_linuxdoc.C (linuxdocParagraphs):
2716 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2717 add buffer as argument.
2719 2004-10-24 José Matos <jamatos@lyx.org>
2721 * output_docbook.C (makeEnvironment, searchEnvironment): place
2722 CDATA inside paragraphs and fix scope for listitems.
2724 2004-10-24 José Matos <jamatos@lyx.org>
2726 * output_docbook.C: remove using statement for stack.
2728 2004-10-23 José Matos <jamatos@lyx.org>
2730 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2731 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2732 docbook. The new scheme is recursive and makes use of iterators, the
2733 same as latex export works.
2734 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2735 directly with the paragraph contents. This code was moved up to
2736 output_docbook.C (docbookParagraphs).
2737 * sgml.C (openTag, closeTag): removed unneeded newlines.
2738 (closeEnvTags) removed.
2740 2004-10-23 André Pönitz <poenitz@gmx.net>
2742 * undo.C (textUndoOrRedo):
2743 * dociterator.C (asDocIterator): work around crash
2745 * cursor.C (getStatus): replace ASSERT by more verbose error message
2746 and manual correction of the problem. Should increase stability
2747 while providing more sensible information.
2749 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2751 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2753 * bufferlist.C (previous, next): new methods
2756 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2758 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2760 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2761 entities to preamble.
2763 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2765 * messages.C (Pimpl): strip off translation context information
2767 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2769 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2770 the cursor is correct (bug 1694)
2772 2004-10-13 José Matos <jamatos@lyx.org>
2774 * output_docbook.C (docbookParagraphs): fix closing tags in the
2775 end of the document.
2777 2004-10-09 José Matos <jamatos@lyx.org>
2779 * buffer.C: format up to 237.
2780 * bufferparams.C (write): use tostr to convert booleans to strings.
2782 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2784 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2786 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2788 * LaTeX.C: implement use of babel language in xindy.
2790 2004-10-05 José Matos <jamatos@lyx.org>
2792 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2793 Add new translators to help reading and writing the lyx file.
2795 2004-10-05 José Matos <jamatos@lyx.org>
2797 * ParagraphParameters.C (read):
2798 * text.C (readParToken): replace nexToken by more appropriate lex
2801 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2803 * LaTeX.C (runMakeIndex):
2804 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2805 (usually 'makeindex') configurable.
2807 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2808 with a variable rather than with a number.
2810 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2812 * output_latex.C (TeXOnePar): make sure font setting is the first
2813 thing that gets output (and the last at the end). Should fix bug
2816 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * pch.h: use proper signal include
2820 * LaTeX.h: Use preferred calling of Boost.Signal
2823 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2825 * pch.h: dont include <boost/function/function0.hpp>
2827 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2829 * paragraph_pimpl.h: remove usage of ShareContainer
2831 * paragraph_pimpl.C: remove initialization of ShareContainer.
2833 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2837 * BufferView.C (putSelectionAt): change the semantics when
2838 backwards == true: now, this just swaps cursor and anchor wrt the
2841 * BufferView.h (putSelectionAt): add some documentation
2843 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2844 make sure backwardChar is done at least once (to avoid getting
2846 (findNextChange): use putSelectionAt in the forward direction
2847 (operator()): use Paragraph::isWord
2849 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2851 * Spacing.C (set): c_str fix
2853 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2855 * lyx_cb.C (Reconfigure): quote the name of configure script in
2856 case it contains spaces
2858 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2862 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2863 (BOOST_LIBS): use top_buildir when looking for the file
2865 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * pch.h: do not use include boost/format.hpp, multiple symbols
2868 will result (gcc bug)
2871 2004-08-23 José Matos <jamatos@lyx.org>
2873 * bufferparams.C (readToken): fix reading of the author field.
2875 2004-08-20 José Matos <jamatos@lyx.org>
2877 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2879 2004-08-20 José Matos <jamatos@lyx.org>
2881 * lyxlex.[Ch] (findToken): remove function.
2883 * ParagraphParameters.C (findToken):
2884 * bufferparams.C (findToken): replace call for previous function
2885 with local copy. This local function has one more argument, the
2886 read string argument.
2888 2004-08-16 José Matos <jamatos@lyx.org>
2890 * ParagraphParameters.C (write):
2891 * Spacing.C (writeFile):
2892 * bufferparams.C (writeLaTeX):
2893 * lyx_cb.C (Reconfigure):
2894 * paragraph.C (write):
2895 * tabular.C (write): remove unnecessary space at end of line.
2898 2004-08-16 José Matos <jamatos@lyx.org>
2900 * text.C (readParagraph): remove debug message.
2902 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2904 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2907 * output_plaintext.C (asciiParagraph): set depth correctly
2909 * outputparams.h: add member depth
2911 * paragraph_funcs.C (ownerPar): remove.
2913 * text2.C (setCounter): remove first_pit; comment out some
2914 non-working code that uses ownerPar
2916 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2919 2004-08-16 José Matos <jamatos@lyx.org>
2921 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2922 For the same level of importance use the same chanel to report problems.
2923 (read): add code to deal with \begin_body and \end_body.
2926 2004-08-15 José Matos <jamatos@lyx.org>
2928 * lyxlex.C (getString): fix comment, buffer::readBody is now
2929 buffer:readDocument.
2931 * tex-strings.C (string_papersize): Default -> default,
2932 Custom -> custom, for consistency with other options.
2934 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2938 * Makefile.am: support pch
2940 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2942 * text.C (readParToken): remove the static LyXFont variable and
2943 pass it as a parameter instead. This fixes a nasty bug where an
2944 inset will be inserted with a bad font in some situations
2945 (readParagraph): adapt
2947 * text2.C (setCounter): reduce number of calls to pars_[pit]
2949 * text.C (singleWidth): add an assert, fix a test
2951 * rowpainter.C (paintText): reduce number of calls to singleWidth
2953 * paragraph.C (isHfill):
2954 (isNewline): ws only
2956 2004-08-14 André Pönitz <poenitz@gmx.net>
2961 * lyxtext.h (several functions): use a Paragraph & argument
2964 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2966 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2968 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2970 * text.C (singleWidth): remove useless test
2972 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2974 * tabular.h: remove bogus comments
2976 * tabular.C (getDescentOfRow):
2977 (isPartOfMultiColumn): add assertions
2979 * lyxlength.C (inPixels): remove #warning
2981 2004-08-14 André Pönitz <poenitz@gmx.net>
2983 * paragraph.h: inline getChar()
2985 * BufferView.h: remove unused declarations
2987 2004-08-14 José Matos <jamatos@lyx.org>
2989 * Buffer.[Ch] (readDocument): new name for old readBody.
2990 * Buffer.C: new file format, new keywords: \begin_document,
2991 \begin_header, \begin_body, \end_body.
2993 * bufferparams.C (readToken): replace all calls to lex.nextToken
2994 by lex.next(). Do the same to eatLine except where really needed.
2996 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2997 line when writing to the lyx file.
2999 * output_plaintext.C (asciiParagraph): fix Bibliography style
3002 * text.C (read): fix end of file handling.
3004 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3006 * MenuBackend.C (Menu::operator[]): new method to access
3007 individual menu items
3008 (Menu::hasFunc): new method. search for an item that corresponds
3010 (MenuBackend::specialMenu): new method
3011 (MenuBackend::expand): if a special menu has been set, skip
3012 entries whose func() appears in this menu
3014 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3016 * text3.C: use Debug::DEBUG a bit more
3018 * text.C (leftMargin): try to simplify a tiny bit change var x to
3019 l_margin. Dont output the wide margins always.
3020 (rightMargin): no margin in inner texts
3022 * rowpainter.h (nestMargin): new func
3023 (changebarMargin): new func
3024 (rightMargin): new func
3026 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3030 * factory.C (createInset): modify setDrawFrame
3032 * cursor.C: use Debug::DEBUG a bit more
3034 2004-08-14 André Pönitz <poenitz@gmx.net>
3037 * Makefile.am: new files to accomodate an 'external' (x,y)-position
3038 cache for all insets in (at least partially) visible (top-level)
3041 * BufferView_pimpl.C: reset external coord cache before every update.
3042 This means the coord cache only contains valid entries.
3044 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3047 * BufferView_pimpl.C (getInsetByCode): move function out of class
3048 and change in to a template in anon namespace. Also fix to do what
3051 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
3054 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3056 (breakParagraph): rename par to par_offset and use a local
3057 reference. Add code to keep the language over a rebreak.
3058 (breakParagraphConservative): rename par to par_offset, use a
3060 (mergeParagraph): ditto
3062 (isFirstInSequence): ditto
3063 (outerFont): rename pit to par_offset
3065 * paragraph.C: ws change
3066 * paragraph.h: ditto
3070 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3072 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3075 * paragraph.C (simpleTeXOnePar): when we have a \item with
3076 optional argument, enclose the argument with curly brackets (in
3077 case it contains a closing square bracket)
3081 * text3.C (checkInsetHit): constify
3083 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3085 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3086 documents (bug 1629)
3088 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3090 Fix toggling of collapsable insets with the mouse (bug 1558)
3092 * lyxfunc.C (dispatch): adapt to LCursor changes
3094 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3095 make sure that dispatch is not invoked twice
3097 * cursor.C (needsUpdate): new method
3098 (dispatch): return void
3099 (result): new method, to access the DispatchResult of the cursor.
3101 2004-08-13 José Matos <jamatos@lyx.org>
3103 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3105 2004-08-13 André Pönitz <poenitz@gmx.net>
3107 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3109 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3112 2004-08-12 André Pönitz <poenitz@gmx.net>
3114 * text3.C: take out the 'cursor right' form insertInset and only
3115 do it in those places when it is really needed. Fixes crash on
3118 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3120 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3122 * BufferView_pimpl.C (setBuffer): initialize the current font of
3123 the underlying LyXText
3125 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3127 * kbsequence.C (print): use UI native formatting for menu
3130 * text.C (insertChar): call Paragraph::insertChar with a font
3133 * paragraph.C (insertInset, insertChar): the version that takes a
3134 LyXFont argument is now a wrapper around the other one (the
3135 opposite used to be true).
3137 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3138 argument. Font setting is done in Paragraph now.
3140 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3142 * outputparams.h: add new members intitle and lang.
3144 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3145 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3147 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3149 * text3.C (dispatch): remove special handling of button 4 and 5,
3150 it is now taken care of in the frontend code.
3152 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3154 * Spacing.h: add <string> (STLPort compile fix)
3156 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3158 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3160 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3162 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3165 * converter.C (showMessage): inherit from unary_function, make
3168 * buffer.C (writeFile): initialize retval
3170 * InsetList.h: rename private variable list to list_
3171 * InsetList.[Ch]: adjust accordingly.
3173 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3175 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3176 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3177 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3178 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3179 * ParagraphParameters.C, LaTeXFeatures.C: replace
3180 "support/std_sstream.h" with <sstream>
3182 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3184 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3185 * lyxsocket.C (LyXServerSocket): ditto
3186 (serverCallback): ditto
3188 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3190 * LaTeXFeatures.C: check release date when loading jurabib.
3192 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * lyxserver.C (startPipe): call register_socket_callback
3195 (endPipe): call unregister_socket_callback
3197 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3200 (LyXServerSocket): register the callback
3201 (LyXServerSocket): unregister the callback
3202 (fd): delete function
3203 (serverCallback): improve error checking and setup the callbacks.
3204 (dataCallback): change arg to fd.
3205 (writeln): new func (copied fro the client socket) used for server
3207 (LyXDataSocket): simplify
3208 (~LyXDataSocket): close ann unregiser callback
3209 (server): delete function
3210 (fd): delete function
3211 (readln): small changes, improve some std::string usage
3212 (writeln): constify a bit
3214 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3216 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3219 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3221 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3222 after it has been populated
3224 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3226 * text2.C (insertInset): move cursor when inserting inset.
3228 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3230 * kbmap.C (findbindings): a couple of new methods. returns a
3231 container of kb_sequence objects. The real work is done by the
3232 private recursive version
3233 (printbindings): uses findbindings to print out a bracketed list
3234 of bindings (renamed from findbinding).
3236 * MenuBackend.C (binding): use kb_keymap::findbindings
3238 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3240 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3242 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3244 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3246 * paragraph.C (isWord): return true on insets that report
3249 * text.C (getWord): use Paragraph::isWord to decide what is in a
3250 word and what is not; fix bug 1609.
3252 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3254 * tex-strings.C: add "none" to string_paperpackages[], fixes
3255 off-by-one-error in the paperpackage selection.
3258 * tex-strings.[Ch]: char const * string[n]
3259 -> char const * const string[]
3261 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3263 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3264 command, return early.
3266 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3268 * debug.h: add DEBUG to enum and fix size of ANY.
3270 * debug.C: add support for Debug::DEBUG
3271 (showTags): cast errorTags.level to unsigned int
3273 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3274 (redoCurrentBuffer): ditto
3275 (updateScrollbar): ditto
3276 * cursor.C (dispatch): ditto
3277 * text2.C (setLayout): ditto
3279 (updateCounters): ditto
3281 (deleteEmptyParagraphMechanism): ditto
3283 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3285 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3286 annotations to cleanup the Makefile slightly.
3288 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3290 * lyxrc.C: do not set user_email to a default value but use empty
3291 instead. The entry used to be translated, which does not work
3292 since at the point where lyxrc is constructed there is no
3293 translation service available
3295 * messages.C (getLocaleDir): remove and use directly
3296 lyx_localedir() instead
3298 2004-06-02 Angus Leeming <leeming@lyx.org>
3300 Fix crash caused by dereferencing null pointer 'exportdata' in
3301 OutputParams by creating a new ExportData variable on the heap,
3302 storing it in a boost::shared_ptr.
3303 The crash was triggered when generating an Instant Preview
3304 of an external inset.
3306 * Makefile.am: add outputparams.C
3308 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3309 (c-tor): allocate memory to it.
3311 * exporter.C (c-tor): associated changes.
3313 2004-06-01 Angus Leeming <leeming@lyx.org>
3315 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3316 contains data before calling isInset(0). (Bug 1513.)
3318 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3320 * exporter.C (checkOverwrite): new method
3321 * exporter.C (copyFile): new method
3322 * exporter.C (Export): copy referenced files to the document dir
3323 * exporter.[Ch]: new class ExportedFile
3324 * exporter.[Ch]: new class ExportData. Contains currently the
3325 names of referenced external files
3326 * outputparams.h: add exportdata member.
3328 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3330 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3333 2004-05-19 Angus Leeming <leeming@lyx.org>
3338 * lyxfunc.C: small changes due to the introduction of namespace
3339 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3341 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3343 * text3.C (dispatch): supress update when only moving the cursor
3344 * cursor.C (selHandle): remove commented code
3346 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3348 * paragraph.C (startTeXParParams): correct column count
3349 * CutAndPaste.C (pasteSelection): remove const_cast
3350 * output_docbook.C (docbookParagraphs): remove const_cast
3351 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3352 const_cast and return ParagraphList::const_iterator
3353 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3354 * output_plaintext.C (writeFileAscii): remove const_cast
3355 * paragraph.[Ch] (simpleTeXOnePar): make const
3356 * paragraph_funcs.C (outerPar): use const iterators
3357 * paragraph_pimpl.C (validate): use const iterators
3358 * text.C (setHeightOfRow): use const iterators
3360 2004-05-17 Angus Leeming <leeming@lyx.org>
3363 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3365 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3366 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3367 if the citation engine has changed.
3369 2004-05-14 José Matos <jamatos@lyx.org>
3371 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3372 if the textclass does not provide it. Have it different for sgml and
3374 support the language of document.
3375 * output_docbook.C (docbookParagraphs):
3376 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3377 first anchor as the id of the paragraph, remove special case code.
3378 * sgml.C (escapeChar): escape only < & >.
3380 2004-05-14 Angus Leeming <leeming@lyx.org>
3382 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3383 dependencies on src/frontends/controllers/biblio.h. Define a
3384 CiteEngine_enum wrapper class to enable the enum to be forward
3387 2004-05-12 Angus Leeming <leeming@lyx.org>
3389 * buffer.C: up LYX_FORMAT to 234.
3390 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3391 use_numerical_citations with a single biblio::CiteEngine cite_engine
3393 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3395 2004-05-13 José Matos <jamatos@lyx.org>
3398 * converter.C (Converter, readFlags): add xml member.
3399 * outputparams.h: add XML flavor.
3400 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3402 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3404 * lyxfunc.C (dispatch):
3405 (getStatus): fix handling of LFUN_SEQUENCE
3407 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3409 * debug.C (showLevel): do not forget the end-of-line marker
3411 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3413 * kbmap.C (read): do not stop parsing a bind file when an error
3416 2004-04-29 Angus Leeming <leeming@lyx.org>
3421 * text2.C: wrap a bunch of #warning statements
3422 inside #ifdef WITH_WARNINGS blocks.
3424 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3426 * buffer.C: increment format to 233.
3428 2004-04-28 Angus Leeming <leeming@lyx.org>
3430 * BufferView_pimpl.C:
3433 s/updateToolbar()/updateToolbars()/
3434 s/Toolbar.h/Toolbars.h/
3436 2004-04-28 Angus Leeming <leeming@lyx.org>
3438 * BufferView.[Ch] (c-tor):
3439 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3440 No longer passes these data to the WorkArea generator.
3442 2004-04-28 Angus Leeming <leeming@lyx.org>
3444 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3446 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3448 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3450 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3452 * output_latex.C (TeXEnvironment): make sure that there is a line
3453 break before \end{foo} for the last paragraph of a document
3454 (TeXOnePar): if the paragraph is at the end of the document (or
3455 inset) and the language has to be reset, then make sure that the
3456 line break is _before_ the language command, not after (fixes bug
3457 1225); also make sure that the language reset command is the first
3458 thing after the paragraph (to ensure proper nesting of
3459 environments and thus fix bug 1404)
3461 2004-04-21 John Levon <levon@movementarian.org>
3464 * ToolbarBackend.C: make "name" be a programmatic name
3465 and a gui_name field.
3467 * lyxfunc.C: display the minibuffer on M-x
3469 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3471 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3474 2004-04-19 Angus Leeming <leeming@lyx.org>
3476 * BufferView_pimpl.C (setBuffer): changed preview interface.
3478 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3481 2004-04-19 John Levon <levon@movementarian.org>
3483 * BufferView_pimpl.C:
3484 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3486 2004-04-05 Angus Leeming <leeming@lyx.org>
3488 * text.C (redoParagraphs): add call to updateCounters(), thereby
3489 fixing the missing "Figure #:" label from the caption of a
3492 2004-04-13 Angus Leeming <leeming@lyx.org>
3494 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3495 cursor is clicked out of an inset.
3497 2004-04-13 Angus Leeming <leeming@lyx.org>
3499 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3500 than an InsetOld one.
3502 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3504 * format.[Ch]: add editor to Format
3505 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3506 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3508 2004-04-08 André Pönitz <poenitz@gmx.net>
3510 * metricsinfo.h: remove PainterInfo::width member
3512 2004-04-08 Angus Leeming <leeming@lyx.org>
3514 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3515 "\providecommand" rather than "\newcommand", thereby preventing
3516 clashes with packages that define "\boldsymbol" themselves.
3519 2004-04-08 Angus Leeming <leeming@lyx.org>
3521 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3522 thereby squashing an unnecessary warning.
3524 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3526 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3529 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3531 * BufferView.C (setCursor): call redoParagraph (some insets could
3533 (putSelectionAt): remove the 'double update' trick
3535 * BufferView_pimpl.C (fitCursor): call refreshPar
3536 (workAreaDispatch): remove an uneeded update call
3537 (dispatch): remove some manual update calls
3539 * cursor.[Ch]: remove cached_y_, updatePos
3540 (selHandle): set noUpdate when appropriate
3542 * lyxfunc.C (dispatch): track if we need an update
3544 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3546 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3547 (paintSelection): cheap optimization, do not call cursorX when not
3549 (paintPars): change signature
3552 (paintTextInset): adjust
3556 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3558 * lengthcommon.C: compilation fix: remove explicit array size from
3559 unit_name[] and friends
3561 2004-04-05 Angus Leeming <leeming@lyx.org>
3563 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3565 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3566 present only for the preferences dialog.
3567 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3569 2004-04-05 Angus Leeming <leeming@lyx.org>
3571 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3572 to enable the frontends to export changes to lyxrc correctly.
3574 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3576 2004-04-07 André Pönitz <poenitz@gmx.net>
3578 * cursor.[Ch] (selClear, adjust): remove math
3580 * cursor_slice.C: more agressive assert
3583 * BufferView_pimpl.C: rework mouse event dispatch
3590 2004-04-05 André Pönitz <poenitz@gmx.net>
3592 * cursor.[Ch] (valign, halign...): remove unneeded functions
3594 2004-04-05 Angus Leeming <leeming@lyx.org>
3596 * lyxlength.[Ch] (unit_name et al.): const-correct.
3598 2004-04-05 Angus Leeming <leeming@lyx.org>
3600 * BufferView_pimpl.C:
3609 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3611 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3613 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3615 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3617 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3618 * BufferView_pimpl.[Ch] (getStatus)
3619 * BufferView.[Ch] (getStatus): add
3620 * lyxfunc.C (getStatus): move lfuns handled in
3621 BufferView::dispatch to te function above
3622 * Cursor.C (setSelection): set selection() = true
3624 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3626 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3628 2004-03-31 Angus Leeming <leeming@lyx.org>
3630 * lyxfunc.C (dispatch): Fall through to the generic
3631 Dialogs::show("preamble").
3633 2004-03-31 Angus Leeming <leeming@lyx.org>
3635 * lyxfunc.C (dispatch): Fall through to the generic
3636 Dialogs::show("spellchecker").
3638 2004-03-31 Angus Leeming <leeming@lyx.org>
3640 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3643 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3648 * insetiterator.[Ch]:
3653 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3655 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3657 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3658 insets where we are putting the cursor.
3660 2004-03-31 Angus Leeming <leeming@lyx.org>
3663 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3665 * lyxrc.[Ch] (read, write): overloaded member functions taking
3666 a std::[io]stream arguments.
3668 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3670 2004-03-31 Angus Leeming <leeming@lyx.org>
3672 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3673 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3675 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3676 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3678 2004-03-31 Angus Leeming <leeming@lyx.org>
3680 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3681 the LFUN_ALL_INSETS_TOGGLE code.
3683 2004-03-30 Angus Leeming <leeming@lyx.org>
3685 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3686 has died. Fall through to the generic Dialogs::show("document").
3688 2004-03-30 Angus Leeming <leeming@lyx.org>
3691 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3692 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3694 * lyxfunc.C (getStatus, dispatch): define the actions for these
3695 lfuns. Little more than a cut and pste job from ControlDocument.C
3697 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3699 2004-03-30 Angus Leeming <leeming@lyx.org>
3702 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3703 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3705 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3706 open/closed state of ollapsable insets. Usage:
3708 all-inset-toggle <state> <name>, where
3709 <state> == "open" || "closed" || "toggle" and
3710 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3712 * lyxtext.h, text2.C (toggleInset): removed.
3714 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3715 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3716 now passes LFUN_INSET_TOGGLE to the found inset.
3718 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3719 is now invoked as "all-insets-toggle toggle branch".
3721 2004-03-30 Angus Leeming <leeming@lyx.org>
3725 * pariterator.[Ch]: added/corrected header blurb.
3727 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3729 * dociterator.[Ch]: add an inset_ member
3730 (backwardPos): implemented
3731 (backwardPos, forwardPos): use inset_ when the stack is empty.
3732 (doc_iterator_begin, doc_iterator_end): implemented
3733 * pariterator.[Ch]: adjust, add begin, end
3734 * insetiterator.[Ch]: adjust, add begin, end
3738 * BufferView_pimpl.C:
3739 * CutAndPaste.C: adjust
3741 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3743 * buffer.C: increment file format to 232.
3744 * LaTeXFeatures.C: add bibtopic package.
3745 * bufferparams.[Ch]: param \use_bibtopic.
3747 * lyxrc.[Ch]: add lyxrc bibtex_command
3748 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3750 * buffer.C: increment file format to 231.
3752 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3754 * dociterator.C: implement forwardPar
3755 * iterators.[Ch]: remove, replaced by
3756 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3758 * BufferView_pimpl.C:
3761 * bufferview_funcs.C:
3767 * Makefile.am: adjust
3769 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3771 * CutAndPaste.C (pasteSelection): fix 2 crashes
3772 (eraseSelection): fix a crash
3773 * paragraph_funcs.C: remove a warning
3775 2004-03-28 Angus Leeming <leeming@lyx.org>
3778 * LyXAction.C (init): new LFUN_PRINT.
3780 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3782 2004-03-27 Angus Leeming <leeming@lyx.org>
3785 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3787 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3789 2004-03-27 Angus Leeming <leeming@lyx.org>
3791 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3792 insetlist always contains non-null pointers to insets.
3794 2004-03-26 Angus Leeming <leeming@lyx.org>
3796 * src/BufferView_pimpl.C:
3797 * src/CutAndPaste.C:
3800 * src/output_plaintext.C:
3801 * src/outputparams.h:
3802 * src/paragraph_funcs.C:
3806 * src/frontends/controllers/ControlErrorList.C:
3807 * src/frontends/gtk/FileDialogPrivate.C:
3808 * src/frontends/gtk/GPainter.C:
3809 * src/frontends/gtk/GToolbar.C:
3810 * src/frontends/qt2/QRef.C:
3811 * src/mathed/math_scriptinset.C: squash compiler warnings.
3813 2004-03-26 Angus Leeming <leeming@lyx.org>
3815 * ispell.C (LaunchIspell::start):
3816 * lyx_cb.C (AutoSaveBuffer::start):
3817 invoke run(DontWait) rather than runNonBlocking().
3819 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3821 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3823 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3825 * kbsequence.C (print): adjust
3827 * kbmap.C (printKeySym): rename and change signature
3828 (printKey): use LyXKeySym::print()
3830 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3832 * undo.C: add using std::advance to compile for stlport
3834 2004-03-24 Angus Leeming <leeming@lyx.org>
3836 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3837 it leads to a crash when no buffer is present.
3839 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3840 Martin Vermeer <martin.vermeer@hut.fi>
3842 * lyxfunc.C (dispatch):
3843 * bufferparams.C (readToken): use the new LColor::setColor
3845 * LColor.[Ch] (setColor): new version that takes two strings as
3846 argument and creates a new color entry if necessary
3848 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3850 * buffer.C (makeLaTeXFile): if the main latex file that is
3851 processed is usually a subdocument of some master, then pretend
3852 for a while that it is actually the master
3854 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3856 * buffer.C (getLabelList):
3857 (getBibkeyList): use getMasterBuffer()
3858 (getMasterBuffer): new method. Returns the main document in the
3859 case where one is using included documents.
3861 2004-03-25 André Pönitz <poenitz@gmx.net>
3865 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3867 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3869 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3870 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3872 * ParameterStruct.h: merge with ParagraphParameters
3874 * lyxtext.h: remove LyXText::parOffset() and getPar()
3876 * text3.C: Remove all 'manual' update calls. We do now one per user
3877 interaction which is completely sufficient.
3881 * BufferView_pimpl.C:
3882 * FontIterator.[Ch]:
3884 * ParagraphParameters.[Ch]:
3889 * cursor_slice.[Ch]:
3896 * output_docbook.[Ch]:
3897 * output_latex.[Ch]:
3898 * output_linuxdoc.[Ch]:
3899 * output_plaintext.[Ch]:
3901 * paragraph_funcs.[Ch]:
3902 * paragraph_pimpl.[Ch]:
3910 * frontends/controllers/ControlDocument.C:
3911 * frontends/controllers/ControlErrorList.C:
3912 * frontends/controllers/ControlSpellchecker.C:
3915 * insets/insetbase.h:
3916 * insets/insetbibitem.C:
3917 * insets/insetbox.C:
3918 * insets/insetbranch.C:
3919 * insets/insetcaption.C:
3920 * insets/insetcharstyle.C:
3921 * insets/insetcharstyle.h:
3922 * insets/insetcollapsable.C:
3923 * insets/insetcollapsable.h:
3924 * insets/insetert.C:
3925 * insets/insetfloat.C:
3926 * insets/insetfoot.C:
3927 * insets/insetmarginal.C:
3928 * insets/insetnote.C:
3929 * insets/insetoptarg.C:
3930 * insets/insettabular.C:
3931 * insets/insettext.C:
3932 * insets/insettext.h:
3933 * insets/insetwrap.C:
3934 * mathed/math_mboxinset.C:
3935 * mathed/math_nestinset.C:
3936 * mathed/math_scriptinset.C:
3937 * mathed/math_scriptinset.h:
3940 2004-03-24 Angus Leeming <leeming@lyx.org>
3942 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3943 deal with any child processes that have finished but are waiting to
3944 communicate this fact to the rest of LyX.
3946 2004-03-24 Angus Leeming <leeming@lyx.org>
3948 64-bit compile fixes.
3950 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3951 (c-tor): pass lyx::pos_types rather than ints.
3953 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3956 * text.C (Delete): compile fix.
3957 (getPar): ensure that function declaration is the same as that in
3960 2004-03-23 Angus Leeming <leeming@lyx.org>
3962 * ispell.C (LaunchIspell):
3963 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3964 a boost::shred_ptr rather than a std::auto_ptr.
3966 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3968 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3969 handle LFUN_FILE_INSERT_*
3971 * lyxrc.C (setDefaults, getDescription, output, read):
3972 * lyxrc.h: remove ps_command
3974 2004-03-22 Angus Leeming <leeming@lyx.org>
3976 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3977 Ensure that error_handler is processed once only and that all data
3978 is saved before attempting to output any warning messages.
3980 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3982 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3984 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3986 2004-03-19 André Pönitz <poenitz@gmx.net>
3988 * cursor.[Ch] (reset): take main text inset as argument
3990 * BufferView: adjust
3991 * BufferView_pimpl.C: adjust
3993 * paragraph.[Ch]: fix completely broken operator=()
3995 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3997 * LColor.C (getFromLyXName): make sure that the color name is used
4000 2004-03-17 Angus Leeming <leeming@lyx.org>
4003 * LyXAction.C (init): remove LFUN_FORKS_KILL.
4005 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
4006 dialog and to kill a forked process.
4008 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
4010 * text2.C (setCursorFromCoordinates): fix font problem
4012 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
4014 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
4015 bogus "rebuild cursor" code
4017 2004-03-11 André Pönitz <poenitz@gmx.net>
4019 * buffer.[Ch]: use InsetText instead of LyXText as container for
4022 * dociterator.[Ch]: drop the BufferView * member which is not needed
4023 anymore after the change to buffer.C
4025 * paragraph_funcs.C:
4029 * BufferView_pimpl.[Ch]:
4031 * cursor_slice.[Ch]: adjust
4033 * text3.C: fix bug in mathDispatch
4035 2004-03-08 André Pönitz <poenitz@gmx.net>
4037 * undo.[Ch]: use 'StableDocumentIterator' as base for
4040 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4043 * bufferparams.[Ch]: add jurabib support and param.
4045 * LaTeX.C: add FIXME/comment.
4047 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4049 * buffer.C: increment file format to 230.
4051 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
4053 * cursor.C (dispatch): avoid infinite loops
4055 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4057 * rowpainter.C (paintSelection): fix x coordinates
4059 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4061 * text.C (rowBreakPoint): fix breaking before displayed insets
4063 2004-03-01 André Pönitz <poenitz@gmx.net>
4065 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4067 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4071 * BufferView_pimpl.C:
4079 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4085 * BufferView_pimpl.C: rename textwidth -> maxwidth,
4086 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4088 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4090 * Bidi.[Ch] (computeTables): const correctness
4091 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4092 fill_hfill, fill_label_hfill and x from Row
4093 * lyxtext.h: prepareToPrint returns a RowMetrics
4094 * rowPainter.C: adjust
4095 * text.C (prepareToPrint): use width, not textWidth. adjust
4096 (redoParagraphInternal, cursorX): adjust
4097 * text2.C (getColumnNearX): adjust
4098 (init): put a default value to the top LyXText::width
4100 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4102 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4104 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4106 * lyxtext.h: add FontIterator class
4108 * text.C (FontIterator, operator*, operator->, operator++): add
4109 (rowBreakPoint, setRowWidth): adjust (fixing a
4112 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4114 * BufferView_pimpl.C (workAreaDispatch): allow also
4115 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4117 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4119 * text.C (rowBreakPoint): fix a bug showing with very large insets
4121 2004-02-25 André Pönitz <poenitz@gmx.net>
4124 * cursor.[Ch]: move some mathed specific code to mathed
4126 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4128 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4129 use_tempdir in preferences
4130 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4132 * lyx_main.C: ensure that tempdir is valid
4133 * lyxlex.h: correct typo
4134 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4135 * paragraph.[Ch] (isMultiLingual): make const
4136 * cursor.[Ch] (openable): make const
4138 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4140 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4142 2004-02-20 André Pönitz <poenitz@gmx.net>
4144 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4146 * cursor.[Ch]: prepare for localized getStatus()
4152 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4154 2004-02-20 André Pönitz <poenitz@gmx.net>
4156 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4158 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4160 * text2.C (setCursorFromCoordinates): switch to absolute coords
4162 (cursorDown): adjust
4163 * text3.C (dispatch): adjust
4165 2004-02-16 André Pönitz <poenitz@gmx.net>
4167 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4170 * cursor_slice.[Ch]: remove unneeded acessor function
4172 * lyxtext.h: rename rtl() to isRTL()
4180 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4182 * rowpainter.C (paintSelection): coord fix
4184 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4186 * Spacing.C: compile fix
4188 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4190 * cursor.C (dispatch): restore current_ before returning
4192 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4194 * text2.C (cursorUp, cursorDown): fix coords
4197 2004-02-12 André Pönitz <poenitz@gmx.net>
4202 * text3.C: add LCursor & parameter to most cursor movement functions
4203 remove usage of LyXText::cursorRow() and cursorPar()
4205 * cursor.[Ch]: add textRow() needed members
4208 * BufferView_pimpl.C:
4211 * BufferView_pimpl.C: adjust
4213 2004-02-11 André Pönitz <poenitz@gmx.net>
4217 * BufferView_pimpl.C: shift undo/redo handling
4219 * cursor.[Ch]: fix mathed crash
4222 * lyxtext.h: move selectionAsText to LCursor
4230 * rowpainter.C: fix excessive drawing
4232 2004-02-06 André Pönitz <poenitz@gmx.net>
4235 * BufferView_pimpl.[Ch]:
4236 * text3.C: move some text specific LFUN handling
4238 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4240 * text3.C (checkInsetHit): adjust coords
4241 * text2.C (getColumnNearX): adjust coords
4242 (edit): adjust coords
4243 * text.C (getRowNearY): add two asserts
4245 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4248 * format.C: add using std::distance to compile on gcc 2.95/stlport
4250 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4252 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4254 2004-02-04 André Pönitz <poenitz@gmx.net>
4256 * BufferView.[Ch] (insertInset):
4257 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4262 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4264 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4265 on the default clause of the switch
4266 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4267 wasn't catched by LCursor::dispatch
4269 2004-02-03 André Pönitz <poenitz@gmx.net>
4272 * cursor.[Ch]: some additional asserts
4274 * undo.[Ch]: remove LyXText dependency in interface
4278 * lyxtext.h (firstPar, lastPar): remove dead functions
4283 * paragraph.[Ch]: adjust
4285 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4287 * lyxfind.C (find): fix argument order in call to ::find
4289 2004-02-02 André Pönitz <poenitz@gmx.net>
4291 * cursor.[Ch]: remove direct access to anchor
4293 * text.C: remove findText() hack
4295 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4297 * iterators.[Ch] (lockPath): remove in favour of...
4298 * BufferView.[Ch] (setCursor): this addition
4299 * BufferView.C (putSelectionAt): adjust
4300 * undo.C (performUndoOrRedo): adjust
4301 * lyxfunc.C (dispatch): adjust
4303 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4305 * iterators.C (lockPath): add a missing slice
4306 * undo.C (performUndoOrRedo): remove redundant positioning code
4308 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * vc-backend.C (scanMaster): ";" -> ';'
4312 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4315 std::binary_function
4317 * lyxtextclass.C (compare_name): rename to...
4318 (LayoutNamesEqual): ...this
4320 * lyxlex_pimpl.C (compare_tags): inherit from
4321 std::binary_function, put back into anon namespace
4323 * lyxfind.C (MatchString): inherig from std::binary_function
4324 (findChange): use empty() istead of !size()
4326 * format.C (FormatNamesEqual): new functor
4333 * converter.C (compare_Converter): rename to...
4334 (ConverterEqual): ...this, and fixup a bit.
4335 (getConverter): use it, and make function const
4336 (getNumber): use it, and make function const
4340 * bufferlist.C: add using boost::bind
4342 * MenuBackend.C (MenuNamesEqual): new functor
4343 (hasMenu): use it, and make function const
4344 (hasSubmenu): use nested bind to get rid of compare_memfun.
4346 2004-01-30 André Pönitz <poenitz@gmx.net>
4348 * BufferView_pimpl.C:
4351 * cursor_slice.[Ch]:
4354 * paragraph_funcs.C:
4355 * paragraph_funcs.h:
4359 * text3.C: move some of the edit(x,y) handling to the insets
4360 some coordinate changes.
4362 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * text.C: add using statements for std::advance and std::distance
4366 * paragraph.C: add using statement for std::distance
4368 * lyxfind.C: add using statement for std::advance
4370 * cursor.C (region): remove std:: from swap
4371 (openable): use nucleus in stead of operator->
4373 * BufferView.C: add using statements for std::distance and std::swap
4375 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4377 * iterators.C: Remove the pimple, move the needed structures to
4378 the header file. Create accessor for the positions stack.
4379 (asPosIterator): remove function
4381 * PosIterator.C (PosIterator): move constructors to top of file
4382 (PosIterator): reimplement the constructor taking a ParIterator in
4384 (setFrom): new function
4385 (operator!=): inline it
4387 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4389 * lyxfind.C (replaceAll): use std::advance
4391 * iterators.h: inherit from std::iterator.
4393 * PosIterator.C (advance, distance): remove
4394 * PosIterator.h: interit from std::iterator.
4396 2004-01-26 André Pönitz <poenitz@gmx.net>
4399 * BufferView_pimpl.[Ch]:
4403 * bufferview_funcs.C:
4413 * output_linuxdoc.C:
4414 * output_plaintext.C:
4416 * paragraph_funcs.[Ch]:
4417 * paragraph_pimpl.[Ch]:
4423 * text3.C: more IU: dumps most of the rest of the mathcursor
4424 implementation into cursor.[Ch]; "globalize" a bit of it.
4426 2004-01-25 Angus Leeming <leeming@lyx.org>
4428 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4430 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4432 * LaTeXFeatures.h: add nice_ and nice() const
4433 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4435 2004-01-20 André Pönitz <poenitz@gmx.net>
4438 * BufferView_pimpl.C:
4440 * bufferview_funcs.C:
4442 * cursor_slice.[Ch]:
4453 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4454 LCursor and mathcursor parts to LCursor and InsetBase.
4456 2004-01-15 André Pönitz <poenitz@gmx.net>
4458 * cursor_slice.[Ch]: add a few covienience functions
4460 * funcrequest.[Ch]: remove BufferView * member
4462 * BufferView_pimpl.C:
4469 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4471 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4473 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4474 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4476 2004-01-13 André Pönitz <poenitz@gmx.net>
4479 * lyxtext.h: hide cursor and selection anchor behind accessor function
4482 * BufferView_pimpl.[Ch]:
4484 * bufferview_funcs.C:
4494 * cursor_slice.[Ch]: some integer type changes for inset unification
4496 * lyxcursor.[hC]: remove, it's CursorSlice now.
4499 * BufferView_pimpl.[Ch]:
4500 * bufferview_funcs.C:
4506 * textcursor.[Ch]: adjust
4508 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4510 * text2.C (undoSpan): add and use
4511 * text.C (breakParagraph): use undoSpan (fix bug 578)
4514 2004-01-08 Angus Leeming <leeming@lyx.org>
4516 * BufferView_pimpl.C (MenuInsertLyXFile):
4517 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4518 * lyxfunc.C (menuNew, open, doImport):
4519 FileFilterList change to the FileDialog open and save functions.
4521 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * ShareContainer.h: make isEqual and isUnique adaptable
4525 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4527 2004-01-07 Angus Leeming <leeming@lyx.org>
4530 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4532 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4534 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4535 functions replacing find, replace and replaceAll.
4537 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4538 LFUN_WORDFIND(FORWARD|BACKWARD).
4540 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4542 * text.C (breakParagraph): remove an outdated #warning
4544 2004-01-07 André Pönitz <poenitz@gmx.net>
4546 * lyxfind.C: somewhat clearer logic
4548 * text.C: prevent crash in cursorX on unitialized row cache
4550 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4552 * lyxcursor.[Ch] (operator>): add
4553 * textcursor.C (selStart, selEnd): use std::min and std::max
4555 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4557 * Chktex.C: include boost/format.hpp
4559 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * InsetList.C: replace functor MathcIt with adaptable functor
4563 (insetIterator): modify accordingly
4565 * BranchList.h: move the BranchNamesEqual functor here from...
4566 * BranchList.C: ... to here
4568 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4570 (add): replace a finding loop with std::find_if.
4572 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4574 * output_docbook.C: moving LatexParam functionality into
4577 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4579 * buffer.C: increment format to 229.
4581 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4584 * lyx_sty.[Ch]: remove minipageindent_def
4590 * text3.C: remove LFUN_INSET_MINIPAGE
4592 2003-12-28 Angus Leeming <leeming@lyx.org>
4594 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4596 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4598 * text2.C (setParagraph): fix off-by-one crash
4600 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4602 * output_docbook.C: header stuff for AGU
4604 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4606 * text2.C (redoCursor): remove
4609 * BufferView_pimpl.C: remove calls to redoCursor and
4610 setCursor(cursor.par(), cursor.pos()) all around
4612 2003-12-15 Angus Leeming <leeming@lyx.org>
4614 * buffer.C: up the format to 228.
4616 2003-12-15 André Pönitz <poenitz@gmx.net>
4618 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4623 * BufferView_pimpl.C:
4632 2003-12-15 Angus Leeming <leeming@lyx.org>
4634 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4635 than getFromGUIName to manipulate the color.
4637 2003-12-14 Angus Leeming <leeming@lyx.org>
4639 * BranchList.[Ch]: minimize the API.
4640 (Branch::getBranch, getColor): now return a 'const &'.
4641 (Branch::setSelected) now returns a bool set to true if the
4642 selection status changes.
4643 (BranchList::clear, size, getColor, setColor, setSelected,
4644 allBranches, allSelected, separator): removed.
4645 (BranchList::find): new functions, returning the Branch with
4647 (BranchList::add, remove): return a bool indicating that
4648 the operation was successful.
4650 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4651 new InsetBranch::isBranchSlected member function.
4653 * LColor.[Ch]: mimimize the API.
4654 (fill): renamed as addColor and made private.
4655 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4656 versions of these functions taking a string arg have been removed.
4658 * bufferparams.C (readToken):
4659 * lyxfunc.C (dispatch):
4660 * lyxrc.C (read): changes due to the altered BranchList and
4663 * factory.C (createInset, readInset): changes due to altered
4666 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4669 * lyxfunc.C: remove insetminipage. "minipage-insert"
4670 now produces a frameless minipage box inset.
4672 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4674 * textcursor.[Ch] (selStart,selEnd): add new methods
4675 remove selection::start, end, use LyXCursor::operator<
4676 * lyxcursor.[Ch] (operator<): add
4677 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4678 * BufferView.[Ch] (unsetXSel): add
4679 * text2.C (clearSelection): use unsetXSel,adjust
4682 * rowpainter.C: adjust
4683 * bufferview_funcs.C (put_selection_at): adjust
4685 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4687 * BufferView_pimpl.C: small coord. correction
4689 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4691 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4692 dragging over the splash screen.
4694 2003-12-11 Angus Leeming <leeming@lyx.org>
4696 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4697 as it is now handled in LyXText::dispatch.
4699 * text3.C (doInsertInset): remove a level of nesting.
4701 2003-12-11 Angus Leeming <leeming@lyx.org>
4703 * factory.C (createInset): changes due to the changed interface to
4704 InsetCommandMailer::string2params.
4706 2003-12-10 Angus Leeming <leeming@lyx.org>
4708 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4709 'dialog-show-new-inset <inset name>'
4711 2003-12-10 Angus Leeming <leeming@lyx.org>
4713 * buffer.C: up the format to 227.
4715 * factory.C: the box inset is now identified simply by 'Box'.
4717 2003-12-10 Angus Leeming <leeming@lyx.org>
4719 * buffer.C: up the format to 226.
4721 * factory.C: the note inset is now identified simply by 'Note'.
4723 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4725 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4726 when a pit is enough. Standarize a couple of loops.
4728 2003-12-05 Angus Leeming <leeming@lyx.org>
4730 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4731 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4732 data to the re-worked "log" dialog.
4734 2003-12-03 André Pönitz <poenitz@gmx.net>
4740 * paragraph_funcs.C:
4742 * text2.C: use Inset::getText instead of Inset::getParagraph
4744 2003-12-03 André Pönitz <poenitz@gmx.net>
4748 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4749 InsetText::read() as LyXText::read()
4751 2003-12-02 Angus Leeming <leeming@lyx.org>
4753 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4754 type. Add a comment in the implementation that the function uses
4755 the stream's bad() function rather than fail() as the std::streams
4758 2003-12-02 André Pönitz <poenitz@gmx.net>
4760 * lyxlex.[Ch]: make interface more similar to std::stream
4762 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4764 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4766 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4768 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4770 * vspace.[Ch]: remove VSpace::NONE
4772 2003-12-01 André Pönitz <poenitz@gmx.net>
4775 * lyxtext.h: move ParagraphList member to LyXText
4776 rename LyXText::ownerParagraphs to LyXText::paragraph
4779 * bufferview_funcs.C:
4789 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4791 * undo.C: fix cursor positioning
4793 2003-12-01 John Levon <levon@movementarian.org>
4795 * BufferView_pimpl.C: fix a crash on exit with
4798 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4800 * BranchList.C: fix setSelected() method.
4802 2003-11-28 André Pönitz <poenitz@gmx.net>
4804 * ParagraphParameters.[Ch]:
4805 * ParameterStruct.h: remove space above/below from Paragraph to
4808 * BufferView_pimpl.C:
4814 * paragraph_funcs.C:
4820 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4822 * factory.C: Syntax change for CharStyles
4824 2003-11-28 André Pönitz <poenitz@gmx.net>
4829 * buffer.[Ch]: move LyXText member
4831 2003-11-28 André Pönitz <poenitz@gmx.net>
4833 * BufferView.[Ch]: make LyXText * text a private member
4835 * BufferView_pimpl.C:
4846 * output_plaintext.C: cleanup
4848 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4851 * lyxtextclass.[Ch]: parametrize SGML document header
4853 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4856 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4859 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4861 * text2.C (setFont): rework using PosIterator (no more recursive)
4862 (setCharFont): no more needed
4863 (setLayout): no more selection cursors fiddling (done by redoCursor)
4864 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4865 destroy remaining ones)
4867 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4869 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4871 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4874 * text3.C: adjust + re-allow multi par depth changes
4875 * textcursor.C: simplify a bit
4877 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4883 * src/output_docbook.C:
4884 * src/output_latex.C:
4889 * src/text2.C: Introducing a number of tags parametrizing various
4890 XML formats that we may want to support
4892 2003-11-25 André Pönitz <poenitz@gmx.net>
4894 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4896 * lyxtext.h (leftMargin/rightMargin): simplify interface
4903 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4905 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4906 master file to any child files. Fixes bug 546.
4908 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4910 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4912 2003-11-24 André Pönitz <poenitz@gmx.net>
4914 * rowpainter.C: simplification
4916 * text2.C (updateCounters): remove call to redoParagraph on
4917 changed labels as this is far too expensive.
4919 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4921 * converter.C (convert): fix a crash: this function gets
4922 called with buffer == 0 from importer code.
4924 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * text3.C (cursorPrevious): make sure that we do not compare
4927 iterators form different containers.
4930 * rowpainter.C (paintSelection): make sure that we do not compare
4931 iterators from different containers.
4933 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4934 iterators from different ParagraphList containers.
4937 * text2.C (LyXText): change order of initialization slightly
4938 (operator=): new function. copy all variables except cache_par_
4939 (moveUp): make sure that we do not compare iterators from
4940 different ParagraphList constainers.
4943 * text.C (firstPar): new function
4944 (lastPar): new function
4945 (endPar): new function
4947 * lyxtext.h: move things around and group public functions, public
4948 variables, private functions, private variables
4950 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4952 * factory.C: change call to InsetERT constructor to avoid
4953 additional invocation of method status
4954 * text2.C (toggleInset): remove redundant update() call
4955 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4956 instead of a Bufferview pointer
4958 2003-11-21 André Pönitz <poenitz@gmx.net>
4960 * rowpainter.C: simplification
4962 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4964 * text3.C (dispatch): make possible to extend a word/row selection
4967 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4969 * lyxtext.h: x0_,y0_ -> xo_,yo_
4970 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4971 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4972 * rowpainter.C (paintRows): paint full paragraphs
4974 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4976 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4979 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4981 * lyxtext.h: add x0_, y0_
4982 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4983 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4985 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4987 * text2.C (setCursorIntern): move the x_target update here *
4988 * text3.C: change some bv() to true/false in calls to
4989 cursorUp/Down/Right/Left
4990 * cursor.C: use helper function.
4992 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4994 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4995 * paragraph_funcs.[Ch]: correct comment
4996 * rowpainter.C: do not paint selections away from bv->cursor()
4997 Fix a long standing selection painting bug.
4998 * text3.C: generalize mouse-selection code to LyXTexts other that
5000 * textcursor.C: do not use y coords if we can use par offsets
5002 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
5004 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
5005 cursor position after e.g. inset insert)
5007 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
5009 * lyxfind.C (replace): adjust to locking removal + some
5012 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
5014 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
5017 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
5020 * output_docbook.C: XML sanitation: new layout
5021 parameters InnerTag and CommandDepth
5023 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
5025 * BufferView_pimpl.C:
5027 * text3.C: Fix the insertion and modification of button-style
5030 2003-11-13 André Pönitz <poenitz@gmx.net>
5032 * InsetList.[Ch]: remove deleteLyXText
5034 * paragraph.[Ch]: cache beginOfBody position
5039 * text3.C: remove superfluous update() calls
5043 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
5045 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5046 * BufferView.C (fitLockedInsetCursor): remove
5047 * cursor.[Ch] (getDim): add
5048 * text.C (getRowNearY): add faster version
5049 * text3.C: remove some update calls
5051 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
5063 * text3.C: The Character Style /XML short element patch.
5065 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
5068 * factory.C: Small step to solving 'unable to insert some insets'
5071 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
5073 * cursor.[Ch] (updatePos): new function for updating the y
5074 position of the tip inset
5075 * bufferview_funcs.C (put_selection_at):
5076 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5078 2003-11-11 André Pönitz <poenitz@gmx.net>
5080 * text.C: remove big comment on invalid Paragraph pointers as it is
5083 2003-11-11 André Pönitz <poenitz@gmx.net>
5085 * text_funcs.[Ch]: merge with ...
5093 * Makefile.am: remove text_funcs.[Ch]
5095 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5097 * cursor.C (getPos): return absolute cached y coord
5099 * BufferView_pimpl.C (fitCursor): new simplistic code
5100 (workAreaDispatch): add a fitCursor call
5102 2003-11-10 André Pönitz <poenitz@gmx.net>
5105 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5107 2003-11-10 André Pönitz <poenitz@gmx.net>
5109 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5110 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5111 indicate that the cursor needs to leave an inset
5113 * lyxtext.h: remove inset locking
5115 * cursor.[Ch]: re-implement functionality provided by inset locking
5118 * BufferView_pimpl.[Ch]:
5120 * bufferview_funcs.[Ch]:
5132 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5134 * PosIterator.[Ch]: replace the stack with a vector, add inset
5136 * iterators.[C]: adjust
5138 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5140 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5142 * paragraph_funcs.C (readParToken): put the correct id in the
5143 error item, not the id of the top paragraph
5145 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5147 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5148 * bufferview_funcs.C (put_selection_at): use the above
5150 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5152 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5154 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5156 * output_linuxdoc.h:
5157 * output_plaintext.h:
5159 * output_docbook.h: add #include statements
5161 2003-11-05 José Matos <jamatos@lyx.org>
5163 * output_docbook.[Ch]:
5164 * output_latex.[Ch]:
5165 * output_linuxdoc.[Ch]:
5166 * output_plaintext.[Ch]: New files for output formats.
5167 * output.[Ch]: New file for helper functions.
5170 * paragraph_funcs.[Ch]: output functions moved to new files.
5172 * outputparams.h: rename of latexrunparams.h
5180 * paragraph_funcs.[Ch]:
5181 * paragraph_pimpl.[Ch]:
5182 * tabular.[Ch]: rename ascii to plaintext
5183 and LatexRunParams to OutputParams.
5185 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5187 * iterators.[Ch] (text): require bv argument
5188 * undo.C (recordUndo):
5189 * lyxfunc.C (dispatch):
5190 * bufferview_funcs.C (put_selection_at): adjust
5192 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5194 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5196 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5198 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5201 2003-11-04 André Pönitz <poenitz@gmx.net>
5203 * cursor.[Ch]: restructure
5206 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5208 * iterators.[Ch] (asCursor): remove
5210 * lfuns.h: remove LFUN_INSET_EDIT
5216 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5218 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5220 * lyxfind.[Ch]: complete overhaul
5221 * BufferView_pimpl.C:
5223 * paragraph.[Ch] (insert): add
5225 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5229 * text.C: remove dead spellcheck code
5231 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * dispatchresult.h: add a val setter
5235 * cursor.C (dispatch): use a tempvar for data_[i]
5237 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5239 * PosIterator.[Ch]: compile fix
5241 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5243 * text.C (cursorPar): deactivate the cursor cache
5245 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5247 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5249 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5251 * text3.C (dispatch): adjust for new DisptchResult semantics.
5253 * lyxfunc.C (dispatch): handle update when return from
5254 Cursor::dispatch, adjust for new DispatchResult semantics.
5256 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5257 DispatchResult(true) mean to not update. Add class functions for
5258 setting dispatched and update, as well as reading.
5260 * cursor.C (dispatch): don't handle update here
5262 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5264 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5265 * trans_mgr.C: adjust
5267 * paragraph_funcs.C (readParToken): exception safety
5269 * lyxvc.h: store the vcs pointer in a scoped_ptr
5272 * lyxsocket.C (serverCallback): exception safety
5274 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5276 * ispell.C (clone): make it return a auto_ptr
5278 * factory.C (createInset): exception safety
5279 (readInset): exception safety
5281 * bufferlist.C (newBuffer): exception safety
5283 * Thesaurus.C (Thesaurus): use initialization for aik_
5285 * MenuBackend.C (expandToc): exception safety.
5287 2003-11-03 André Pönitz <poenitz@gmx.net>
5291 * bufferview_funcs.C: remove getInsetFromId()
5294 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5300 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5302 * PosIterator.C (distance, advance): new
5303 * bufferview_funcs.[Ch] (put_selection_at): new
5304 * iterators.[Ch] (lockPath): new
5306 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5308 * iterators.[Ch] (asPosIterator): added
5309 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5310 * PosIterator.[Ch]: added
5312 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5316 * cursor.C (dispatch):
5317 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5319 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5320 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5321 contructor, add a class function dispatched. Remove operator>=
5323 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5325 * debug.C: only use the default constructor for debugstream
5328 * main.C (main): include debug.h and setup the lyxerr streambuf
5331 2003-10-31 José Matos <jamatos@lyx.org>
5333 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5335 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5336 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5337 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5338 * paragraph_pimpl.C (simpleTeXSpecialC):
5339 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5340 add LatexRunParams argument.
5342 * exporter.C (Export): change call accordingly.
5344 * latexrunparams.h: add new member to take care of the other backends.
5345 2003-10-30 José Matos <jamatos@lyx.org>
5347 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5348 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5349 factorise code for paragraph output.
5351 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5354 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5356 * text3.C (dispatch):
5357 * lyxfunc.C (dispatch):
5358 * cursor.C (dispatch):
5359 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5361 * dispatchresult.h: make the dispatch_result_t ctor explicit
5363 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5366 * buffer.C: small refactoring of docbook stuff
5368 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5370 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5373 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5375 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5376 operator dispatch_result_t, and operators for == != and >=
5378 * cursor.C (dispatch): adjust for operator dispatch_result_t
5379 removal. comment out call to update
5381 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5383 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5391 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5394 * dispatchresult.h: new file, DispatchResult broken out of
5397 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5399 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5401 * text.C (rowBreakPoint): put a hack inside #if 0
5403 2003-10-28 André Pönitz <poenitz@gmx.net>
5407 * paragraph_funcs.C:
5410 * text2.C: general cleanup (lots of small stuff)
5412 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5414 * text2.C (cursorEnd): simple fix to the "end key goes to one
5415 before the end on last row" bug
5417 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5419 * text.C (backspace): fix the "zombie characters"
5421 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5423 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5425 2003-10-27 André Pönitz <poenitz@gmx.net>
5427 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5429 * factory.C: handle new InsetPagebreak, InsetLine
5431 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5432 and move handling into new InsetPagebreak, InsetLine
5434 * BufferView_pimpl.C:
5436 * ParagraphParameters.C:
5437 * ParameterStruct.h:
5442 * paragraph_funcs.C:
5443 * paragraph_pimpl.C:
5449 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5452 * lyxrow_funcs.[Ch]:
5458 * text3.C: remove lastPos uses in favour of Row::endpos
5460 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5462 * undo.C (performUndoOrRedo): fix two crashes by setting a
5463 cursor by hand and reordering some calls. Use bv->lockInset instead
5464 of inset->edit because the latter loses cursor information
5466 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5468 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5470 (rowBreakPoint): fix width. change point to point + 1.
5471 Add a missing check.
5473 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5476 * lyxfunc.C: fix (at least partly) the problems
5477 with the Nav menu and headers inside branch insets
5480 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5482 * paragraph.C (getChar): add strong asserts
5484 * lyxrow_funcs.C (lastPos): remove hideous hack
5486 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5487 (fill): adjust to that (avoid an infinite loop)
5489 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5491 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5493 2003-10-23 André Pönitz <poenitz@gmx.net>
5495 * RowList_fwd.h: change list<> to vector<> to gain speed
5496 after suggestion from Alfredo
5498 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5500 * lyxtext.h: move the bidi stuff from here...
5503 * Bidi.[Ch]: ... to here
5505 2003-10-23 André Pönitz <poenitz@gmx.net>
5508 * text.C (isLastRow, isFirstRow): new functions
5510 * paragraph.h: new width cache member
5512 * rowpainter.C: replace RowList::iterator with Row & where possible
5514 * lyxfunc.C: replace several view()->text with a single call
5516 * toc.C: fix 'unused' warning
5518 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5520 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5521 when woring with stream::pos_type
5522 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5524 2003-10-22 André Pönitz <poenitz@gmx.net>
5527 * text.C: use Row & instead of RowList::iterator
5529 * lyxrow.h: rename end() to endpos()
5535 2003-10-22 Angus Leeming <leeming@lyx.org>
5537 * buffer.[Ch] (fully_loaded): new member function, returning true
5538 only when the file has been loaded fully.
5539 Used to prevent the premature generation of previews and by the
5540 citation inset to prevent computation of the natbib-style label.
5542 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5543 templates are all set up.
5545 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5547 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5549 * text.C: fixed an "oops" in the "is a bit silly"
5552 2003-10-21 André Pönitz <poenitz@gmx.net>
5554 * FuncStatus.[Ch]: small stuff, whitespace
5556 * lyxfont.[Ch]: operator<<() for debug reasons
5560 * lyxtext.h: whitespace, spelling
5562 * paragraph.C: naming of variables
5565 * text2.C: small stuff
5568 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5570 * text.C: (1) finish off the inset display() work;
5571 (2) fix the "is a bit silly" bug (accessing char
5574 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5576 * text.C: re-introduce display() for insets, fixing the
5577 various bugs (stretch of line above, math inset
5580 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5582 * text.C (rightMargin): remove spurious semicolon
5584 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5587 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5589 * text3.C: fix one crash due to wrong cursor def
5591 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5593 * vc-backend.C (scanMaster): make the regex static
5595 * LaTeX.C (scanAuxFile): make the regexs static
5597 * text3.C (doInsertInset, dispatch, dispatch):
5598 * text2.C (cursorUp, cursorDown):
5599 * text.C (selectNextWordToSpellcheck):
5600 * BufferView_pimpl.C (dispatch):
5601 * lyxfunc.C (dispatch): localDispatch -> dispatch
5603 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5605 * lyxsocket.C: include <cerrno>
5607 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5609 * lyxfunc.C (dispatch): remove textcache stuff
5611 * bufferlist.C (release): remove textcache stuff
5614 * TextCache.C: delete file
5615 * TextCache.h: delete file
5617 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5619 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5620 delete of the bv_->text.
5621 (resizeCurrentBuffer): remove texcache stuff
5622 (workAreaResize): ditto
5624 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5626 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5629 2003-10-16 André Pönitz <poenitz@gmx.net>
5636 * text3.C: speed up by storing y positions per paragraph plus per-row
5637 offset instead of having a 'full' y position in the row.
5639 2003-10-15 André Pönitz <poenitz@gmx.net>
5643 * undo.[Ch]: make undo aware of inner insets
5645 2003-10-14 Angus Leeming <leeming@lyx.org>
5647 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5648 static member functions LyX::ref() and LyX::cref.
5649 (lastfiles): new accessor functions for the new lastfiles_ member var.
5650 (addLyXView, views_): add a new LyXView to the list of views_.
5651 (updateInset): loop over all LyXViews to call their own updateInset
5652 member function, returning a pointer to the Buffer owning the inset.
5654 * BufferView_pimpl.C (loadLyXFile):
5655 * MenuBackend.C (expandLastfiles):
5656 * bufferlist.C (MenuWrite, QuitLyX):
5657 lastfiles is no longer a global variable.
5658 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5660 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5661 static function. Access through LyX::cref().emergencyCleanup().
5663 2003-10-14 André Pönitz <poenitz@gmx.net>
5665 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5667 * undo.[Ch]: restoring part of 'undo in insets'
5670 * undo_funcs.[Ch]: merge with undo.[Ch]
5672 * tabular.C: small cleansing stuff
5674 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5676 * paragraph_funcs.C (readParToken): report unknown insets as error
5677 boxes. Use the outer paragraph as location (also for unknown
5680 * factory.C (readInset): do not abort on reading an unknown inset.
5681 Eat it and return 0.
5683 2003-10-13 Angus Leeming <leeming@lyx.org>
5685 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5687 * lyxrc.C: displayTranslator is now a function,
5688 declared in GraphicsTypes.h.
5690 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5692 * format.C: new placeholder $$a to pass the socket address.
5694 * bufferlist.[Ch]: new function getBufferFromTmp.
5696 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5697 files in the temporary dir.
5699 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5701 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5703 * Makefile.am: add lyxsocket.[Ch].
5705 * lyx_main.C (error_handler): handle SIGPIPE.
5707 2003-10-13 André Pönitz <poenitz@gmx.net>
5709 * BufferView_pimpl.C:
5714 * undo_funcs.[Ch]: use paroffset_type instead of
5715 ParagraphList::iterators to prevent multiple conversion
5716 (and get a more robust interface)
5718 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5720 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5722 * text3.C (dispatch): ditto
5724 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5727 move the onlyfile, use onlyfile instead of foundfile in a couple
5730 * DepTable.C (update): flush the error stream a bit more
5732 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5734 * lyxserver.C (callback): adjust
5736 * lyxfunc.C (getStatus): add a missing brace in commented code
5737 (ensureBufferClean): reindent
5738 (dispatch): delete version taking a string
5740 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5742 * LaTeX.C (deplog): move found file handlig from here...
5743 (handleFoundFile): .. to new function here.
5744 (deplog): make sure to discover several files mentioned on the
5747 2003-10-10 André Pönitz <poenitz@gmx.net>
5754 * text3.C: fix some of the tabular crashes
5756 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5758 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5760 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5762 2003-10-09 André Pönitz <poenitz@gmx.net>
5764 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5767 * BufferView_pimpl.C:
5768 * bufferview_funcs.C:
5779 * undo_funcs.C: adjust
5781 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5783 * text2.C (incrementItemDepth): new function, use a backtracking
5784 algorithm to discover the correct item depth.
5785 (resetEnumCounterIfNeeded): new function, use a backtracking
5786 algorithm to discover if counter reset is needed.
5787 (setCounter): use them. Simplify a bit. Add different labels for
5788 different item depths for itemize.
5790 * paragraph.C (Paragraph): remove initialization of enumdepth
5793 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5794 enumerate and itemize. Change the type of itemdepth to signed char.
5796 2003-10-08 André Pönitz <poenitz@gmx.net>
5798 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5803 * tabular.[Ch]: fix crash after 'row-insert'
5805 2003-10-08 Angus Leeming <leeming@lyx.org>
5807 Fix doxygen warnings.
5809 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5810 Remove CutAndPaste:: prefix from header file declaration.
5812 * LColor.h (fill): remove LColor:: prefix from declaration.
5814 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5815 use lyx::depth_type rather than Paragraph::depth_type so that
5816 header file and .C file match.
5818 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5820 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5821 * aspell.C: \file aspell_local.C -> \file aspell.C
5822 * gettext.C: \file gettext.C -> \file src/gettext.C
5823 * gettext.h: \file gettext.h -> \file src/gettext.h
5824 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5825 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5826 * text.C: \file text.C -> \file src/text.C
5828 * toc.C: move comment so that doxygen is not confused.
5830 2003-10-07 Angus Leeming <leeming@lyx.org>
5832 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5834 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5837 * aspell_local.h: add forgotten std::string's.
5839 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5846 * text3.C: The Box patch. Fancybox support, minipage, parbox
5848 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5854 * ParagraphParameters.h:
5864 * lyxtextclasslist.h:
5867 * paragraph_pimpl.C:
5868 * textcursor.h: add <string> and other small fixes to make Lars'
5869 std::string patch compile with STLport.
5871 2003-10-06 Angus Leeming <leeming@lyx.org>
5873 * LColor.h: Add missing #include <string>.
5875 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5877 * All most all file in all subdirs: Make <string> be the prefered
5878 way of getting to std::string, add using declarations.
5880 2003-10-06 André Pönitz <poenitz@gmx.net>
5882 * metricsinfo.C: initialize LyXFont before changing attribute.
5883 (fixes the 'math in \emph is upright' bug)
5885 2003-10-06 André Pönitz <poenitz@gmx.net>
5887 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5889 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5892 * paragraph_pimpl.C: Small fixes to build using STLport
5894 2003-10-02 André Pönitz <poenitz@gmx.net>
5897 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5899 2003-10-01 André Pönitz <poenitz@gmx.net>
5901 * factory.C: assert early
5903 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5905 * lyx_main.C: remove the global debug object
5907 * debug.h: adjust for new debugstream
5909 * debug.C: adjust for new debugstream and keep the global debug
5912 2003-09-22 Angus Leeming <leeming@lyx.org>
5914 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5915 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5916 an incomplete class LyXFont.
5918 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5920 * factory.C: bug fix in branches
5922 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5924 * lyxfunc.C (processKeySym): adjust
5926 (dispatch): change arg name from ev to func, adjust
5927 (sendDispatchMessage): ditto
5929 * lyx_main.C (defaultKeyBindings): adjust keybindings
5930 (deadKeyBindings): ditto
5932 * kbsequence.C (addkey): return a FuncRequest
5934 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5936 * kbmap.C (bind): take a FuncRequest as arg, adjust
5939 (defkey): change to take a FuncRequest as arg, adjust
5940 (findbinding): take a FuncRequest as arg, adjust.
5942 * funcrequest.h (operator=): added
5944 * funcrequest.C (FuncRequest): default kb_action changed from
5945 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5947 * buffer.C (dispatch): simplify
5948 (dispatch): adjust to take a FuncRequest as arg, adjust
5950 * boost.C (assertion_failed): change assertion message slightly
5952 * ToolbarBackend.C (read): simplify
5954 * MenuBackend.C (binding): adjust call to findbinding, add a
5955 message if no binding is found.
5957 (expandToc): correct by adding a empty FuncRequest
5959 * LyXAction.C: include <boost/assert.hpp>
5960 (isPseudoAction): delete function
5961 (LookupFunc): change name to...
5962 (lookupFunc): this. change return type to FuncRequest.
5963 (getActionName): take kb_action as arg, simplify
5964 (funcHasFlag): add an assert, simplify.
5966 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5968 * toc.C (action): return a FuncRequest, simplify
5970 * lyxfunc.C (processKeySym): adjust
5971 (getStatus): delete version that takes an int.
5973 (dispatch): delete version that takes action as int
5975 (sendDispatchMessage): simplify and adjust
5977 * funcrequest.C (getArg): take unsigned int as arg
5979 * ToolbarBackend.C (read): adjust
5980 (add): delete version that takes func as a string.
5981 (getIton): take a FuncRequest as arg
5983 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5986 * MenuBackend.C (MenuItem): add a new construct that only takes a
5987 Kind, simplify the constructor use for submenus.
5989 (expandLastfiles): adjust
5990 (expandDocuments): adjust
5991 (expandFormats): adjust
5992 (expandFloatListInsert): adjust
5993 (expandFloatInsert): adjust
5994 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5996 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5997 Remove class variables lyx_pseudo_map and lyx_arg_map
5999 * LyXAction.C (searchActionArg): delete function
6000 (getPseudoAction): delete function
6001 (retrieveActionArg): delete function
6002 (LookupFunc): make it return kb_action, simplify.
6003 (getActionName): simplify
6005 * factory.C (createInset): fix new bug
6007 2003-09-19 Angus Leeming <leeming@lyx.org>
6009 * CutAndPaste.C (pasteSelection): remove fudge used to set the
6010 masterFilename_ parameter in the include inset.
6012 * factory.C (createInset): changes due to the changes to InsetInclude.
6014 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6016 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
6018 2003-09-18 Angus Leeming <leeming@lyx.org>
6021 * BufferView.C: pass the buffer when calling Inset::getLabelList,
6022 Inset::fillWithBibKeys.
6023 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
6025 2003-09-18 Angus Leeming <leeming@lyx.org>
6027 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6029 (ctor): pass and store a 'Buffer const &'
6030 (buffer): new member function.
6032 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6033 '*this' to the LaTeXFeatures ctor.
6035 2003-09-18 Angus Leeming <leeming@lyx.org>
6041 * text.C: rename EnumLColor as LColor_color.
6043 2003-09-18 Angus Leeming <leeming@lyx.org>
6045 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6046 remove #include "insets/insetbase.h" from cursor.h.
6048 2003-09-18 Angus Leeming <leeming@lyx.org>
6050 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6051 InsetOld_code to remove #include "inset.h".
6053 * iterators.C: add #include "insets/inset.h"
6055 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
6057 * BufferView.C: remove more locking stuff that apparently doesn't
6058 do anything sensible.
6060 2003-09-16 André Pönitz <poenitz@gmx.net>
6063 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6066 2003-09-16 Angus Leeming <leeming@lyx.org>
6068 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6070 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6073 * paragraph.h: remove #include "lyxfont.h". Forward declare
6076 2003-09-16 Angus Leeming <leeming@lyx.org>
6078 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6079 of support/textutils.h.
6080 (isWord): move the contents of support/textutils.h's IsWordChar here.
6086 * text2.C: add #include "paragraph.h".
6089 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6091 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6097 * LaTeX.C: use namespace alias for lyx::support::os
6099 2003-09-16 Angus Leeming <leeming@lyx.org>
6102 * bufferview_funcs.C:
6105 * paragraph_pimpl.C:
6107 * text.C: add #include "LColor.h".
6109 2003-09-16 Angus Leeming <leeming@lyx.org>
6111 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6112 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6114 Store the FontBits::color variable as an int rather than as an
6115 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6118 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6119 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6120 string calls together.
6122 * lyxrc.C: add #include "LColor.h".
6124 2003-09-15 Angus Leeming <leeming@lyx.org>
6126 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6129 2003-09-15 Angus Leeming <leeming@lyx.org>
6131 * LColor.h: add an EnumLColor wrapper for LColor::color.
6133 * lyxfont.[Ch] (color, setColor, realColor):
6134 * lyxtext.h, text.C (backgroundColor):
6135 pass EnumLColor args to/from the functions, rather than LColor::color
6139 * lyxtext.h: forward declare EnumLColor.
6141 * lyx_main.C: add #include "LColor.h".
6143 2003-09-15 Angus Leeming <leeming@lyx.org>
6145 * .cvsignore: add lyx-gtk.
6147 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6152 * ParagraphParameters.C
6156 * bufferview_funcs.C
6166 * vc-backend.C: remove usage of STRCONV
6168 2003-09-15 Angus Leeming <leeming@lyx.org>
6170 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6171 explicitly define the color passed to the painter.
6173 2003-09-15 Angus Leeming <leeming@lyx.org>
6175 * bufferparams.C (BufferParams): reorder member initializers to avoid
6178 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6180 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6181 * text.C (updateRowPositions): remove an unusual nop
6183 2003-09-12 André Pönitz <poenitz@gmx.net>
6185 * BufferView_pimpl.C:
6194 * Counters.[Ch]: finish the 'automatic counters' job
6196 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6198 * aspell.C: include <boost/assert.cpp> (compile fix)
6200 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6202 * boost.C (assertion_failed): use lyx::support::abort instead of
6205 2003-09-10 Angus Leeming <leeming@lyx.org>
6207 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6208 with their _fwd progeny.
6210 2003-09-09 Angus Leeming <leeming@lyx.org>
6212 134 files throughtout the source tree: replace 'using namespace abc;'
6213 directives with the appropriate 'using abc::xyz;' declarations.
6215 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6217 * boost.C (emergencyCleanup): moved here from LAssert.c
6218 (assertion_failed): new function, called by BOOST_ASSERT
6220 * several files: change Assert to BOOST_ASSERT
6222 2003-09-09 Angus Leeming <leeming@lyx.org>
6224 * buffer.[Ch]: Add an Impl class and move Buffer's member
6225 variables into it. As a result move several header files out of
6228 Add header files to lots of .C files all over the tree as a result.
6230 2003-09-09 Angus Leeming <leeming@lyx.org>
6232 * buffer.[Ch]: make Buffer's member variables private. Add
6235 Lots of changes all over the tree as a result.
6237 2003-09-08 Angus Leeming <leeming@lyx.org>
6239 * graph.C: #include <config.h>.
6241 2003-09-08 Angus Leeming <leeming@lyx.org>
6245 * BufferView_pimpl.C:
6274 * toc.C: remove redundant using directives.
6276 2003-09-07 Angus Leeming <leeming@lyx.org>
6278 * LaTeXFeatures.h: remove #include "support/types.h".
6279 * ToolbarBackend.h: remove #include <algorithm>.
6280 * changes.h: remove #include <ctime>.
6281 * debug.h: remove #include <iosfwd>.
6282 * graph.h: remove #include "support/std_string.h".
6283 * lyx_main.h: remove #include <csignal>.
6284 * lyxlex_pimpl.h: remove #include <fstream>.
6285 * sgml.h: remove #include <algorithm>, <utility>.
6286 * toc.h: remove #include "support/std_ostream.h".
6287 Add #include <iosfwd>.
6289 2003-09-07 Angus Leeming <leeming@lyx.org>
6291 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6293 * converter.h: forward declare LatexRunParams.
6294 * encoding.h: remove #include "lyxrc.h".
6295 * lyxtext.h: remove #include "LColor.h".
6296 * lyxtextclass.h: remove #include "support/types.h".
6297 * trans.h: remove #include "tex-accent.h".
6298 * trans_mgr.h: remove #include "tex-accent.h".
6299 * insets/inset.h: remove #include "support/types.h", <vector>.
6300 * insets/insetcollapsable.h: remove #include "LColor.h".
6301 * insets/insetinclude.h: remove #include "dimension.h".
6302 * insets/insetlatexaccent.h: remove #include "dimension.h".
6303 * insets/insetoptarg.h:: remove #include "insettext.h".
6304 * insets/insettext.h: remove #include "dimension.h",
6305 <boost/shared_ptr.hpp>
6307 * insets/renderers.h: add #include "dimension.h".
6308 * insets/updatableinset.h: add #include "support/types.h".
6310 * many .C files: Associated changes.
6312 2003-09-06 Angus Leeming <leeming@lyx.org>
6314 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6315 one, inside testInvariant.
6317 * PrinterParams.C: new file.
6318 * PrinterParams.[Ch]: move the function bodies out of line.
6320 2003-09-06 Angus Leeming <leeming@lyx.org>
6322 * ParagraphParameters.h: forward declare ParameterStruct rather than
6323 including its header file.
6324 (depth): moved out-of-line.
6326 2003-09-06 Angus Leeming <leeming@lyx.org>
6328 * BufferView_pimpl.h:
6331 * lyxfunc.h: forward declare LyXKeySym rather than
6332 #include "frontends/LyXKeySym.h".
6334 * BufferView_pimpl.C:
6337 * lyxfunc.C: associated changes.
6339 2003-09-06 Angus Leeming <leeming@lyx.org>
6341 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6342 As a result, can remove the #include "insets/inset.h" from BufferView.h
6344 2003-09-06 Angus Leeming <leeming@lyx.org>
6346 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6347 As a result, can remove the #include "insets/inset.h" from BufferView.h
6349 2003-09-06 Angus Leeming <leeming@lyx.org>
6355 * bufferview_funcs.C:
6356 * BufferView_pimpl.C:
6361 * ParagraphParameters.C:
6366 * frontends/controllers/ControlDocument.C:
6367 * insets/insetcaption.C: rearrange the #includes into some sort of
6370 * buffer.h: remove #includes ErrorList.h, undo.h
6372 2003-09-06 Angus Leeming <leeming@lyx.org>
6374 * support/types.h: add a 'depth_type' typedef, used to store the
6375 nesting depth of a paragraph.
6378 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6379 defining explicitly.
6382 * paragraph_funcs.h:
6383 * ParagraphParameters.h:
6384 * sgml.h: use lyx::depth_type rather than Paragraph or
6385 ParameterStruct's depth_type.
6388 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6391 * BufferView_pimpl.C:
6393 * ParagraphParameters.C:
6396 * bufferview_funcs.C:
6403 * frontends/LyXView.C:
6404 * frontends/controllers/ControlDocument.C:
6405 * frontends/controllers/ControlErrorList.C:
6406 * insets/insetbibitem.C:
6407 * insets/insetbranch.C:
6408 * insets/insetcaption.C:
6409 * insets/insetcollapsable.C:
6410 * insets/insetenv.C:
6411 * insets/insetert.C:
6412 * insets/insetfloat.C:
6413 * insets/insetfoot.C:
6414 * insets/insetfootlike.C:
6415 * insets/insetnewline.C:
6416 * insets/insetquotes.C:
6417 * insets/insettabular.C:
6418 * insets/insettext.C:
6419 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6421 * frontends/controllers/ControlChanges.C: #include "changes.h".
6423 2003-09-06 Angus Leeming <leeming@lyx.org>
6425 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6426 than #including paragraph.h.
6429 * RowList.h: deleted. Superfluous.
6439 * insets/insettext.h: use ParagraphList_fwd.h rather than
6442 * paragraph.h: don't forward declare ParagraphList.
6445 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6446 rather than ParagraphList.h. paragraph.h is still needed for the
6447 Paragraph::depth_type parameters.
6449 * textcursor.h: enable it to compile stand-alone in light of the
6452 * bufferview_funcs.C:
6464 * frontends/controllers/ControlParagraph.C:
6465 * frontends/controllers/ControlTabular.C:
6466 * insets/insetmarginal.C:
6467 * insets/insetminipage.C:
6468 * insets/insetnote.C:
6469 * insets/insetoptarg.C: add header files needed to compile again.
6471 2003-09-06 Angus Leeming <leeming@lyx.org>
6473 * RowList_fwd.h: new file, forward-declaring Row rather than
6474 #including lyxrow.h.
6479 * insets/insettext.h: use it instead of RowList.h
6481 * bufferview_funcs.C:
6488 * text3.C: #include "RowList.h".
6490 2003-09-05 Angus Leeming <leeming@lyx.org>
6492 * factory.C (createInset):
6493 * vspace.C (c-tor): replace sscanf call with an istringstream.
6494 * ispell.C: re-add missing HP/UX headers.
6495 * lyxserver.C: re-add missing os2 headers.
6497 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6506 * text3.C: re-add missing system headers, needed for 2.95.2.
6508 2003-09-05 Angus Leeming <leeming@lyx.org>
6510 Changes most place everywhere due to the removal of using directives
6511 from support/std_sstream.h.
6513 2003-09-05 Angus Leeming <leeming@lyx.org>
6515 Replace LString.h with support/std_string.h,
6516 Lsstream.h with support/std_sstream.h,
6517 support/LIstream.h with support/std_istream.h,
6518 support/LOstream.h with support/std_ostream.h.
6520 Changes resulting throughout the tree.
6522 2003-09-05 Angus Leeming <leeming@lyx.org>
6524 * sgml.h: ensure that the header file can be compiled stand-alone.
6525 * *.C: strip out redundant #includes. (320 in total.)
6527 2003-09-04 Angus Leeming <leeming@lyx.org>
6529 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6530 here (from getPackages).
6532 * debug.[Ch]: add a new EXTERNAL tag.
6534 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6536 * text2.C (cursorEnd): simplify
6538 (getColumnNearX): adjust
6540 * text.C (computeBidiTables): adjust
6543 * rowpainter.C (paintChars): adjust
6544 (paintSelection): adjust
6545 (paintChangeBar): adjust
6548 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6550 (numberOfSeparators): adjust
6552 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6558 * text3.C: Restricts the mouse click functionality
6559 of insets like bibtex, include, toc and floatlist to the visible
6560 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6561 up the dialogs. Cursor has to be in front of the inset (i.e.
6562 start of row) for this to function.
6564 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6566 * bufferview_funcs.C (currentState): output row information
6568 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6570 * bufferview_funcs.C (currentState): output paragraph position
6572 2003-09-04 Angus Leeming <leeming@lyx.org>
6574 * FloatList.h: move out #include "Floating.h".
6575 * LaTeX.h: move out #include "DepTable.h".
6576 * LyXAction.h: move out #include "funcrequest.h".
6577 * buffer.h: move out #include "author.h", "iterators.h".
6578 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6579 * lyx_main.h: move out #include "errorlist.h".
6580 * lyxfunc.h: move out #include "FuncStatus.h".
6581 * lyxtext: move out #include "lyxcursor.h".
6582 * paragraph_pimpl.h: move out #include "counters.h".
6584 2003-09-03 Angus Leeming <leeming@lyx.org>
6586 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6587 preamble_snippets list, enabling us to add snippets to the preamble
6588 only if the snippet was not there already.
6590 2003-09-04 Angus Leeming <leeming@lyx.org>
6592 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6594 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6596 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6599 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6601 * BranchList.C: point fix, earlier forgotten
6603 2003-09-02 Angus Leeming <leeming@lyx.org>
6605 * box.C (contains): renamed from 'contained' after a fantastic
6608 2003-09-02 John Levon <levon@movementarian.org>
6614 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6616 2003-09-02 John Levon <levon@movementarian.org>
6618 * text2.C: simplification of cursorEnd(), including partial
6621 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6623 * buffer.C (readFile): add a space
6625 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6627 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6629 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6631 * buffer.C (readFile): new function, take a filename and a
6632 ParagraphList::iterator
6634 (readFile): adjust, make it private. don't use setStream, make
6635 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6636 always contain the filename.
6638 * BufferView.C (insertLyXFile): simplify and make it work for
6641 2003-08-30 John Levon <levon@movementarian.org>
6643 * Makefile.am: fix dist (from Kayvan)
6645 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6647 * most files: change to use const Buffer refs
6649 2003-08-27 André Pönitz <poenitz@gmx.net>
6651 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6652 on top of ownerPar().
6654 2003-08-27 John Levon <levon@movementarian.org>
6656 * funcrequest.C: properly initialise POD members
6658 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6660 * lyxtext.h (top_y): move top_y from here
6665 * BufferView_pimpl.[Ch]: to here
6666 * frontends/screen.C:
6667 * insets/insettabular.C:
6668 * insets/insettext.C: adjust
6669 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6671 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6674 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6676 2003-08-26 André Pönitz <poenitz@gmx.net>
6678 * paragraph_func.[Ch] (outerPar): new function
6681 * paragraph_funcs.C:
6682 * paragraph_funcs.h:
6683 * paragraph_pimpl.C:
6684 * text2.C: remove Inset::par_owner
6686 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6691 * text2.C: eliminates the needFullRow/display() stuff
6692 altogether, putting the logic in metrics/draw in the insets.
6694 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6696 * text2.C (redoParagraphInternal, redoParagraphs):
6697 * text.C (redoParagraph): add a call to updateRowPositions at the
6698 end of each 'metrics-like' call. Remove all others.
6699 (getRow): remove the 'y-computing' version.
6700 (getRowNearY): do not compute nor return the real y. Solve the
6701 'y < 0' problem and simplify.
6703 2003-08-22 Angus Leeming <leeming@lyx.org>
6705 * *.[Ch]: clean-up of licence and author blurbs.
6706 Also move config.h out of a few .h files and into a few .C files.
6708 2003-08-22 André Pönitz <poenitz@gmx.net>
6710 * lyxrow.[Ch]: add x_ and *fill_ members
6715 * text2.C: adjust/remove prepareToPrint() calls
6717 2003-08-22 André Pönitz <poenitz@gmx.net>
6719 * lyxrow.[Ch]: add end_ member
6721 * lyxrow_funcs.C: use LyXRow::end_
6723 * lyxtext.h (singleWidth): add LyXFont parameter
6726 * text2.C: adjust LyXText::singleWidth() calls
6728 * text.C (redoParagraph): simplify row breaking logic
6731 2003-08-19 André Pönitz <poenitz@gmx.net>
6733 * funcrequest.C: initialize button_ member
6736 * rowpainter.[Ch]: interface consolidation
6738 2003-08-18 André Pönitz <poenitz@gmx.net>
6741 * BufferView_pimpl.C:
6743 * paragraph_funcs.C:
6745 * text3.C: remove LyXScreen::draw() and fitCursor calls
6747 * BranchList.h: remove spurious semicolons
6749 * MenuBackend.C: fix branchlist related crash
6751 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6759 * bufferparams.[Ch]:
6763 * text3.C: implements the 'branch inset'
6764 idea. This allows the output of various versions of a document
6765 from a single source version, selectively outputing or suppressing
6766 output of parts of the text.
6767 This implementation contains a 'branch list editor' in a separate
6768 tab of the document settings dialog. Branches are user definable
6769 and have a "display colour" to distinguish them on-screen.
6771 ColorHandler was somewhat cleaned up.
6772 (1) make possible a dynamically growing LColor list by allowing
6773 the graphic context cache to grow along (vector);
6774 (2) eliminate an IMHO unnecessary step in colour allocation.
6776 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6778 * BufferView_pimpl.C: compile fix
6780 2003-08-15 André Pönitz <poenitz@gmx.net>
6782 * rowpainter.C: remove extra metrics calls
6784 * lyxtext.h: merge the two constructors into a single one,
6785 pass reference to owner's par list
6787 * BufferView_pimpl.C:
6791 2003-08-15 André Pönitz <poenitz@gmx.net>
6793 * lyxrow_funcs.[Ch]:
6796 * paragraph_funcs.C:
6801 * text_funcs.C: split LyXText::rowlist_ into individual
6802 Paragraph::rows_ chunks
6805 * BufferView_pimpl.[Ch]:
6808 * text3.C: remove toggleSelection()
6810 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6812 * bufferlist.C: beautify two alerts (shorter text of buttons)
6813 * buffer.C: Remove redundant ' ' from message
6815 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6816 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6817 rename VALIGN_CENTER to VALIGN_MIDDLE
6819 2003-08-11 André Pönitz <poenitz@gmx.net>
6821 * lyxtext.h (getPar):
6822 * text.C: new function
6824 2003-08-11 André Pönitz <poenitz@gmx.net>
6827 * tracer.[Ch]: remove unneeded files
6829 * InsetList.[Ch]: remove resizeInsetsLyXText()
6834 * text3.C: merge insertParagraphs() and appendParagraph()
6835 remove breakAgain(), update()
6837 * BufferView_pimpl.[Ch]:
6838 * bufferview_funcs.[Ch]:
6842 * tabular.C: adjust after text & InsetList changes.
6844 2003-08-08 André Pönitz <poenitz@gmx.net>
6846 * text.C (insertChar, backspace): replace rowlist fiddling
6847 with rebreak of full par
6850 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6851 checkParagraph, updateInset): removed
6853 2003-08-07 André Pönitz <poenitz@gmx.net>
6856 * text3.C: merge some LFUN handlers, remove dead code
6858 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6860 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6862 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6864 * text2.C (DEPM): fix part of bug 1255 and 1256
6866 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6868 * BufferView_pimpl.C (workAreaDispatch): change to use
6869 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6870 that are no mouse related.
6872 2003-08-05 André Pönitz <poenitz@gmx.net>
6875 * BufferView_pimpl.[Ch]:
6876 * bufferview_funcs.C:
6878 * text3.C: rip out "deep update"
6880 * textcursor.[Ch] (last_sel_cursor): remove unused member
6882 2003-08-04 André Pönitz <poenitz@gmx.net>
6885 * BufferView_pimpl.[Ch]:
6886 * ParagraphParameters.C:
6887 * bufferview_funcs.C:
6893 * text3.C: replace "complicated" BufferView::update(...) calls with
6896 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6898 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6900 * Makefile.am (lyx_SOURCES): add paper.h
6902 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6904 * Makefile.am: move things around so that both lyx-qt and
6905 lyx-xforms can be built (according to --with-frontend). Then lyx
6906 is a symbolic link to lyx-[firstfrontend]
6908 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6910 * Always use std::endl with lyxerr
6912 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6914 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6916 2003-08-01 André Pönitz <poenitz@gmx.net>
6919 * BufferView_pimpl.[Ch]:
6921 * text3.C: merge BufferView::repaint() and BufferView::update()
6923 2003-08-01 José Matos <jamatos@lyx.org>
6925 * buffer.[Ch]: file_format is no longer a buffer data element.
6927 2003-08-01 André Pönitz <poenitz@gmx.net>
6932 * text2.C: make redoParagraph more independent of current cursor
6934 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6936 * text2.C: remove unneeded members
6938 2003-07-30 André Pönitz <poenitz@gmx.net>
6940 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6942 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6943 create a single function...
6945 * paragraph_funcs.C (moveItem): ... here.
6948 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6950 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6952 * LColor.[Ch]: Add comment and greyedout logical colors.
6954 2003-07-30 André Pönitz <poenitz@gmx.net>
6956 * tabular.C: don't use Assert too heavily. This crashes where it
6959 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6961 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6962 is disabled (bug 1232)
6964 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6966 * factory.C: limited 'arg' scope
6968 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6970 * factory.C: fixed Note submenu issues
6972 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6974 * factory.C: submenu for Note/Comment/Greyedout
6976 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6979 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6981 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6984 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6985 greyedout. Patch provided by Jürgen Spitzmüller.
6987 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6989 * kbmap.C (read): fix error message when reading bind files
6991 2003-07-29 Angus Leeming <leeming@lyx.org>
6993 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6994 certainly does not do what it purports to do. I am doing it, and
6995 us, a favour by killing it.
6997 2003-07-28 José Matos <jamatos@lyx.org>
6999 * buffer.C (readBody, do_writeFile):
7000 * paragraph.C(readParagraph): \end_document replaces \the_end.
7002 2003-07-29 André Pönitz <poenitz@gmx.net>
7005 * BufferView_pimpl.[Ch]:
7009 * textcursor.[Ch]: remove toggleToggle & Co
7011 2003-07-28 José Matos <jamatos@fep.up.pt>
7013 * buffer.C (readParagraph):
7014 * params_func (readParToken, readParagraph):
7015 * paragraph.C (write): \layout -> \begin_layout.
7017 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * lyxlex_pimpl.C (setFile): clean up slightly.
7021 * bufferparams.h: add compressed var
7023 * buffer_funcs.C (readFile): adjust for LyXLex change
7024 (newFile): ditto + simplify
7026 * buffer.C (writeFile): handle writing of compressed files
7028 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7029 Check if the file is compressed and set a bufferparm if so.
7031 * Makefile.am (lyx_LDADD): remove explicit -lz
7033 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7035 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7036 makeDocBookFile): put the real LyX version in the first line of
7040 * version.C.in: remove lyx_docversion
7042 * tabular.C (write_attribute): add a template-based version to
7043 write enums properly
7045 2003-07-28 André Pönitz <poenitz@gmx.net>
7050 * text3.C: use doubles again for x-coordinates. They are needed.
7052 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * messages.C (getLocaleDir): use lyx_localedir()
7056 * lyxlex_pimpl.C (setFile): compress stuff
7058 * buffer.C (writeFile): add some compression stuff
7059 (do_writeFile): new func, dont call expliti close... will this
7062 * Makefile.am (lyx_LDADD): add -lz
7064 2003-07-28 José Matos <jamatos@fep.up.pt>
7066 * buffer.C: increment file format.
7067 * paragraph_funcs (readParagraph, readParToken):
7068 * paragraph.C (readParagraph): add \end_layout.
7070 2003-07-27 Angus Leeming <leeming@lyx.org>
7072 * Makefile.am: remove special casing for configure-time setting of
7073 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7075 * lyx_main.C (init): remove all Jean-Marc's magic setting of
7076 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7078 2003-07-26 André Pönitz <poenitz@gmx.net>
7080 * paragraph_func.[Ch]:
7081 * paragraph.C (realizeFont): inline it whereever it is used
7086 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7089 2003-07-26 André Pönitz <poenitz@gmx.net>
7093 * text2.C: get rid of LyXText::need_break_row
7095 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7097 * toc.[Ch]: put namespace toc inside namespace lyx
7099 * MenuBackend.C (expandToc2): adjust for lyx::toc
7102 * lyxfunc.C (dispatch): adjust for lyx::find
7104 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7105 lyx::find instead. Reorganize a bit.
7106 (LyXReplace): rename to replace
7107 (LyXFind): rename to find
7109 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7112 2003-07-26 André Pönitz <poenitz@gmx.net>
7114 * text.C (setHeightOfRow): restrict scope of temporary variable
7116 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7117 code (never has been used?)
7119 2003-07-27 Asger Alstrup <alstrup@local>
7121 * text.C (fill): Optimise algorithm to exploit that we can reuse
7122 the LyXFont for many characters.
7123 (setHeightOfRow): Same thing.
7124 (rowBreakPoint): Same thing.
7126 2003-07-26 Asger Alstrup <alstrup@local>
7128 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7130 * text.C (singleWidth): Spurious font copying in hot-spot
7131 singleWidth avoided. Reorder tests for arabic for efficiency.
7133 * text.C (fill): handle empty paragraphs better.
7135 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7138 * encoding.h: add includes
7140 * lyxrc.C: remove reading of bind files
7142 * lyx_main.C (init): setup bindings and menus only if we have a
7145 * kbmap.C (read): new method. Do the actual reading of bind
7148 * converter.C (dvipdfm_options):
7151 (output): adapt PAPER_* enums.
7153 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7155 * bufferparams.h: remove paper-related enums from there
7157 * paper.h: New file. A trivial header file to hold paper-related
7158 enums. It should later expand to contain many paper-related
7161 * lyxrc.C: declare extern displayTranslator
7163 2003-07-27 José Matos <jamatos@fep.up.pt>
7165 * tabular.[Ch] (linuxdoc): add support for tables and figures
7168 2003-07-27 José Matos <jamatos@fep.up.pt>
7170 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7171 consistency in both functions.
7172 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7174 2003-07-26 Asger Alstrup <alstrup@local>
7176 * rowpainter.C (paintRows): Change algorithm to work directly on
7177 the insets rather than asking every character in the document
7178 whether its an inset.
7180 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7182 * buffer.C (openFileWrite): factorize some code
7184 2003-07-26 Angus Leeming <leeming@lyx.org>
7187 * lyx_main.[Ch]: replace occurances of system_tempdir with
7190 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * rename Inset to InsetOld
7194 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7196 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7197 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7198 which I think is a bit clearer. EDIT is gone, since it was
7199 premature optimisation, and broken for mathed anyway.
7200 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7201 with cursor positioning in insets as well (math insets still do not
7202 work, but that's a different story anyway.) It mysteriously
7203 crashes sometimes with undo in the first paragraph, but I'm fairly
7204 confident that this is a compiler bug.
7206 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7208 * paragraph.C (Paragraph): adjust for new clone return type
7210 (copyIntoMinibuffer): ditto
7212 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7214 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7215 by not having a special case, and always doing a full rebreak of
7216 the document after undo.
7218 2003-07-23 Angus Leeming <leeming@lyx.org>
7220 * factory.C (createInset): InsetExternal::setParams now takes a
7223 2003-07-23 Angus Leeming <leeming@lyx.org>
7225 * factory.C (createInset): changed interface to the external and
7226 graphics mailers' string2params functions.
7228 2003-07-23 Angus Leeming <leeming@lyx.org>
7230 * factory.C (createInset): pass a
7231 Buffer const * parameter to InsetExternalMailer's string2params.
7233 2003-07-22 John Levon <levon@movementarian.org>
7235 * Thesaurus.h: include the right aiksaurus header
7237 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7239 * MenuBackend.C (expand): check menu shortcuts unconditionally
7241 2003-07-21 Angus Leeming <leeming@lyx.org>
7243 * factory.C (createInset): pass a
7244 buffer_path parameter to InsetGraphicsMailer's string2params.
7246 2003-07-21 Angus Leeming <leeming@lyx.org>
7248 * BufferView_pimpl.C (buffer):
7251 * lyxfunc.C (dispatch):
7252 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7253 rather than the grfx shortcut.
7255 2003-07-21 André Pönitz <poenitz@gmx.net>
7257 * rowpainter.C: remove unused variables
7260 * tabular_funcs.h: move to tabular.C
7261 * Makefile.am: adjust
7263 * tabular.[Ch]: basic optical cleaning
7265 * author.h: pass references, not values
7267 2003-07-18 André Pönitz <poenitz@gmx.net>
7275 * text3.C: two-phase drawing for InsetText and InsetTabular
7276 some float -> int changes.
7278 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7280 * lyx_main.C: fix the fix
7282 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7284 * lyx_main.C: fix a crash in batch mode if no files specified
7287 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7289 * format.[Ch] (papersize): moved to BufferParams
7290 * converter.[Ch] (dvips_options): moved to BufferParams
7291 (dvipdfm_options): moved to anon namespace
7292 * bufferparams.[Ch]: added above functions.
7294 2003-07-17 André Pönitz <poenitz@gmx.net>
7298 * text2.C: don't call inset->update() anymore
7300 * metricsinfo.[Ch]: add convenience constructor
7302 2003-07-16 André Pönitz <poenitz@gmx.net>
7307 * text2.C: replace the LyXCursor::irow_ member with
7308 on-demand computation of the value
7310 2003-07-16 John Levon <levon@movementarian.org>
7312 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7314 2003-07-15 André Pönitz <poenitz@gmx.net>
7317 * text2.C: remove no more needed refresh_row
7319 2003-07-15 André Pönitz <poenitz@gmx.net>
7324 * text3.C: refresh_status tristate -> need_update bool
7326 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7328 * lyxtext.h (init): remove reinit argument (act as if always true)
7329 * text2.C: adjust to that
7331 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7333 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7334 * text3.C: use it to delete selections in some cases
7335 (bugs 441, 673, 702, 954).
7337 2003-07-14 André Pönitz <poenitz@gmx.net>
7339 * rowpainter.[Ch]: reduce interface
7341 2003-07-14 André Pönitz <poenitz@gmx.net>
7343 * BufferView_pimpl.C:
7344 * text2.C: adjust after removing unused BufferView * argument
7346 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7348 * text2.C (init): fix a crash fired on resize
7350 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7352 * buffer.[Ch]: added new closing signal
7353 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7354 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7355 BufferView::Pimpl via the closing the signal
7357 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7359 * buffer.[Ch]: take out all bv-related from buffer
7361 * BufferView_pimpl.[Ch]: connect to new signals
7362 * CutAndPaste.C: removed useless asserts
7363 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7366 * lyxfunc.C: moved view-related funciontality from vc here
7367 * paragraph.C: removed outdated comments
7370 2003-07-10 André Pönitz <poenitz@gmx.net>
7372 * BufferView_pimpl.C:
7376 * text2.C: remove InsetText::InnerCache, clean up consequences
7378 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7380 * ispell.C: fix two typos in error messages
7382 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7384 * Extend Note inset to other forms of annotation like Comment
7385 and Greyedout. Right button click gives dialog.
7387 Files modified or added (+):
7391 * ControlNote.[Ch] +
7393 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7394 frontends/controllers
7398 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7400 * aspell.C: add missing namespace lyx::support
7402 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7404 * BufferView.[Ch] (newFile): Add
7405 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7406 * LaTeX.[Ch] (message): added this signal and use it
7407 * buffer.[Ch] (busy, message): added these signals and use them
7408 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7412 * importer.C: use buffer signals instead of direct bv calling
7413 * lyx_cb.[Ch] (ShowMessage): removed
7416 * paragraph_funcs.C:
7417 * text2.C: use buffer signals
7419 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7421 * introduce namespace lyx::graphics
7423 2003-07-02 André Pönitz <poenitz@gmx.net>
7425 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7427 2003-07-01 André Pönitz <poenitz@gmx.net>
7434 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7435 text*.C to text_func.C
7437 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7439 * introduce namespace lyx::support
7441 2003-06-30 André Pönitz <poenitz@gmx.net>
7446 * text.C: re-enable --with-included-string
7448 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7450 * textcursor.C: add <config.h>
7452 * text.C (getWord): remove const from word_location arg
7454 * lyxvc.C (getLogFile): fix const type order
7456 * lyxtext.h: remove const from word_location arg, add arg name
7458 * lyxlayout.h: currect type on labeltype.
7460 * importer.C: correct \file
7462 * converter.C (intToFormat): use std:: on ret val, ws changes
7464 * bufferlist.h: correct \file
7466 * buffer.C (makeLinuxDocFile): fix const type order
7467 (makeDocBookFile): ditto
7468 (fillWithBibKeys): use std:: on stdlib args.
7470 * CutAndPaste.C: fix authors.
7471 (availableSelections): use std:: on return vector
7473 2003-06-27 André Pönitz <poenitz@gmx.net>
7475 * BufferView_pimpl.C:
7476 * bufferview_funcs.C:
7484 * text3.C: remove LyXCursor::row_ member
7487 * text.C: rename fullRebreak() to partialRebreak() and implement
7488 a fullRebreak() that really bereks fully
7490 * textcursor.h: new struct for cursor-related data
7492 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7494 * lyx_main.C (LyX): get full path of document loaded on the
7497 2003-06-26 André Pönitz <poenitz@gmx.net>
7499 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7500 remove unused/broken operator>,<,>=.
7502 * text.C: remove only use of broken operator<= in an Assert().
7504 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7506 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7507 moved errorlist_.clear to showErrorList
7509 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7511 * converter.C (scanLog, runLaTeX):
7512 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7513 move the bv->showErrorList call to the callers
7514 * lyxfunc.C: i.e. here...
7516 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7517 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7518 namespace, the second to...
7519 * buffer_funcs (BufferFormat, parseErrors): added
7520 * errorlist.C (ErrorList(TeXErrors const &)): removed
7522 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7524 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7526 2003-06-24 "Garst R. Reese" <reese@isn.net>
7530 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7532 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7534 * version.C.in: change docversion to 1.4
7536 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7538 * buffer.C: fix a bug just introduced
7540 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7542 * buffer.[Ch]: added the parseError signal and use it, removed
7544 * BufferView.[Ch] (addError): moved to ...
7545 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7546 to the Buffer::parseError signal to catch (guess what) parse errors
7547 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7549 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7551 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7552 ability to create a buffer and to return an existing one from
7553 the list. Moved these functions to...
7554 * buffer_funcs.[Ch]: added
7555 * BufferView.[Ch] (loadLyXFile): added
7556 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7557 job removed from bufferlist::loadLyXFile.
7558 * buffer.C (setReadOnly): make it work without view
7559 (i.e added an if (users))
7561 2003-06-19 Angus Leeming <leeming@lyx.org>
7564 * LyXAction.C (init):
7565 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7566 with LFUN_DIALOG_SHOW <name> <data>.
7568 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7570 * CutAndPaste.C (availableSelections): small compilation fix for
7571 ancient (gcc 2.9x) compilers
7573 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7575 * text3.C (cursorNext): add tmp var
7577 * text2.C (updateCounters): for function calling out of for clause
7578 (replaceSelectionWithString): ditto
7579 (insertStringAsParagraphs): ditto
7580 (getColumnNearX): add tmp var
7581 (setCursorFromCoordinates): add tmp var
7582 (cursorDownParagraph): add tmp var
7583 (deleteEmptyParagraphMechanism): add tmp var
7585 * text.C (insertChar): add tmp var
7587 * rowpainter.C (paintDepthBar): add tmp var
7589 * CutAndPaste.C (availableSelections): potentially check all
7590 paragraphs in a cut to fill the shown strings.
7592 2003-06-18 André Pönitz <poenitz@gmx.net>
7594 * kbmap.[Ch]: use vector<> instead of list<>
7596 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7598 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7599 pasteSelection with index
7601 * text2.C (pasteSelection): modify, call pasteSelection with index
7603 * paragraph.C (asString): reimplement version with no interval to
7604 call the one with interval.
7606 * lyxtext.h: add index arg to pasteSelection
7608 * MenuBackend.C (MenuItem): handle PasteRecent
7609 (Menu::read::Menutags): add md_pasterecent
7611 (expandPasteRecent): new function
7614 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7616 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7618 (availableSelections): new function
7620 2003-06-17 Angus Leeming <leeming@lyx.org>
7622 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7624 2003-06-17 Angus Leeming <leeming@lyx.org>
7627 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7629 * lyxfunc.C (dispatch): invoke it.
7631 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7633 * iterators.C (operator++, ParPosition): reintroduce some
7634 const_cast for the benefit of older compilers.
7636 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7638 * text3.C (dispatch): do not modify clipboard when doing
7639 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7640 LFUN_DELETE_SKIP on a selection selection
7642 2003-06-16 André Pönitz <poenitz@gmx.net>
7648 * tabular.[Ch]: IU of clone() and getLabelList();
7650 2003-06-13 André Pönitz <poenitz@gmx.net>
7652 * tabular.h: compactification
7654 2003-06-12 André Pönitz <poenitz@gmx.net>
7658 * tabular_funcs.h: some renaming plus whitespace
7660 2003-06-12 André Pönitz <poenitz@gmx.net>
7663 * BufferView_pimpl.C:
7669 * toc.C: Return a Paragraph & for ParIterator::operator*()
7671 2003-06-11 John Levon <levon@movementarian.org>
7675 * ToolbarBackend.C: add "Toolbars" section and
7678 2003-06-10 Angus Leeming <leeming@lyx.org>
7681 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7683 * lyxfunc.C (dispatch): invoke it.
7685 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7687 * main.C: protect <ios> with HAVE_IOS
7688 (main): protect sync_with_stdio with HAVE_IOS
7690 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7692 * text2.C (cutSelection): adjust
7693 (pasteSelection): adjust
7695 * messages.C: handle get of empty string
7697 * main.C (main): use sync_with_stdio(false)
7699 * lyxfunc.C (dispatch): adjust
7701 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7702 (WriteAs): remove unneeded BufferView arg.
7704 * bufferparams.h: use correct types on papersize, papersize2 and
7707 * bufferparams.C (readToken): adjust for type
7708 (writeLaTeX): add missing cases to switch.
7710 * bufferlist.C (quitWriteBuffer): adjust
7713 * buffer.C (asciiParagraph): remove some commented code.
7715 * CutAndPaste.C: remove current_view extern variable.
7716 (cutSelection): add BufferParams arg.
7717 (eraseSelection): add BufferParams arg.
7718 (pasteSelection): add Buffer const & arg
7720 2003-06-07 John Levon <levon@movementarian.org>
7723 * paragraph_funcs.C:
7724 * paragraph_pimpl.C:
7728 * paragraph.C: allow InsetERT to freely space lines,
7729 and some consolidation of code
7731 2003-06-06 José Matos <jamatos@fep.up.pt>
7733 * buffer.C (makeDocBookFile): fix bug #821
7735 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7737 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7739 2003-06-04 Angus Leeming <leeming@lyx.org>
7741 * buffer.C: bump format to 224.
7743 2003-06-05 André Pönitz <poenitz@gmx.net>
7745 * text2.C (redoParagraphs): remove two const_cast<>
7747 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7749 * ParagraphList.h: remove last remnants of NO_STD_LIST
7751 2003-06-03 Angus Leeming <leeming@lyx.org>
7753 * factory.C (createInset): small change to the way InsetExternal's params
7756 2003-06-04 André Pönitz <poenitz@gmx.net>
7758 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7760 * paragraph_pimpl.h:
7761 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7763 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7765 * undo_funcs.C: make some simple cases of undo work again
7767 2003-06-03 John Levon <levon@movementarian.org>
7769 * ispell.C: HPUX doesn't have sys/select.h
7772 2003-06-03 John Levon <levon@movementarian.org>
7774 * CutAndPaste.C: update tabular and include inset
7779 * paragraph.C: remove owningBuffer(), don't pass Buffer
7782 * factory.C: insetGraphicsParams changed
7784 2003-06-02 John Levon <levon@movementarian.org>
7790 * text3.C: remove insetparent
7792 2003-06-02 John Levon <levon@movementarian.org>
7795 * buffer.C: fix inset_iterator.end(), move out of line
7798 2003-06-01 John Levon <levon@movementarian.org>
7800 * text3.C: use a proper cut/paste when doing inset
7801 insert (from Jürgen Spitzmüller)
7803 2003-06-01 John Levon <levon@movementarian.org>
7805 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7807 2003-05-30 André Pönitz <poenitz@gmx.net>
7809 * rowpainter.C: unify second drawing phase
7811 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * trans_mgr.C: remove one case of current_view
7815 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7817 * paragraph_funcs.h: remove paragraph.h include
7819 * paragraph.h: delete NO_STD_LIST stuff
7821 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7823 * buffer.h: remove paragraph.h include
7825 * ParagraphList.C: delete file
7827 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7829 * toc.C (getTocList): adjust
7831 * paragraph_pimpl.C (validate): adjust
7833 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7835 * paragraph.C (Paragraph): adjust
7836 (getPositionOfInset): use const_iterator, adjust
7837 (bibitem): use const_iterator, adjust
7838 (setInsetOwner): adjust
7840 * iterators.C (operator++): adjust
7842 * InsetList.[Ch]: Replace selfmade iterator with standard
7843 vector::iterator also introduce const_iterator. Remove getPos,
7844 getInset and setInset from InsetTable. Adjust accordingly.
7846 * BufferView.C (lockInset): adjust
7847 (ChangeInsets): adjust
7849 * tabular.[Ch]: delete commented same_id functions
7851 2003-05-28 John Levon <levon@movementarian.org>
7853 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7855 2003-05-28 André Pönitz <poenitz@gmx.net>
7857 * metricsinfo.[Ch]: remove 'fullredraw' member
7859 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7861 * lyxtextclass.C (operator): remove caching.
7863 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7867 * text2.C (cursorBottom): adjust
7868 (setCounter): use ParagraphList::find, adjust
7870 * text.C (workWidth): use ParagraphList::find, adjust
7872 * lyxcursor.C (LyXCursor): adjust
7874 * buffer.C (inset_iterator): adjust
7876 * ParagraphList.h: make iterator(value_type) private, make
7877 ParagraphList a friend of iterator.
7879 * ParagraphList.C (find): new function
7881 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7883 2003-05-27 André Pönitz <poenitz@gmx.net>
7885 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7887 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7889 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7891 2003-05-26 John Levon <levon@movementarian.org>
7893 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7895 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7897 * remove same_id from function signatures, adjust.
7899 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7901 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7903 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7905 * paragraph.C (Paragraph): get rid of same_ids parameter
7907 * ParagraphList.C (insert): adjust
7910 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7912 * paragraph_funcs.C (breakParagraph): adjust
7913 (breakParagraphConservative): adjust
7915 * buffer.C (readParagraph): adjust
7917 * ParagraphList.C (insert): take a reference instead of a pointer
7920 * paragraph.[Ch] (id): new function
7922 * bufferlist.C (newFile): adjust
7924 * ParagraphList.C (ParagraphList): adjust
7926 (push_back): take a reference instead of a pointer.
7928 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7930 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7933 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7934 set else use old code.
7936 * ParagraphList.C: remove all NO_NEXT code and only compile this
7937 code of NO_STD_LIST is set.
7939 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7941 * BufferView_pimpl.C:
7951 * graphics/GraphicsConverter.C:
7952 * graphics/PreviewLoader.C: header adjustment
7954 2003-05-23 Angus Leeming <leeming@lyx.org>
7956 * LaTeXFeatures.[Ch] (useBabel): new method.
7957 * bufferparams.C (writeLaTeX): use it.
7959 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7961 * ParagraphList.h (set): remove unused function.
7963 2003-05-23 André Pönitz <poenitz@gmx.net>
7966 * BufferView_pimpl.C:
7970 * undo_funcs.C: setUndo reworked
7972 * iterators.[Ch]: add access to topmost ParagraphList
7974 * lyxtext.[Ch] (workWidth): add a const
7976 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7978 * texrow.[Ch] (increasePos): remove function
7979 * exporter.C (export): removed unused var and outdated comment
7981 2003-05-23 Angus Leeming <leeming@lyx.org>
7983 * latexrunparams.h: rename fragile as moving_arg.
7984 * paragraph.C (simpleTeXOnePar): ditto.
7985 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7987 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7991 (textUndoOrRedo): comment out a currently unused var.
7993 * paragraph.h (NO_NEXT): enable NO_NEXT
7995 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7997 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7999 * exporter.C (Export): adjust for removeAutoInsets removal.
8001 * buffer.C (runChktex): adjust for removeAutoInsets removal.
8003 * LyXAction.C (init): remove LFUN_REMOVEERRORS
8005 * BufferView.[Ch] (removeAutoInsets): delete function
8007 2003-05-22 Angus Leeming <leeming@lyx.org>
8009 * latexrunparams.h: add a free_spacing variable.
8011 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
8012 to pass moving_arg, as the data is stored in runparams.fragile.
8014 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
8015 to Inset::latexOptional or to simpleTeXOnePar.
8017 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
8018 free_spacing arg to Inset::latexOptional.
8020 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8023 2003-05-22 Angus Leeming <leeming@lyx.org>
8025 * latexrunparams.h: add fragile and use_babel variables.
8027 * bufferparams.[Ch] (writeLaTeX): return use_babel.
8028 * buffer.C (makeLaTeXFile): store this returned value in
8029 runparams.use_babel, thus passing it to the inset::latex methods.
8031 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8032 simpleTeXSpecialChars as it is now stored in runparams.fragile.
8034 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8035 longer has a fragile arg, as it is stored in runparams.fragile.
8037 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8038 moving_arg parameter as the data is stored in runparams.fragile.
8040 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8041 a fragile parameter as the data is stored in runparams.fragile.
8043 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8045 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8047 2003-05-22 Angus Leeming <leeming@lyx.org>
8049 * latexrunparams.h: add a 'bool nice' which defaults to false.
8051 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8052 now encapsulated within runparams.
8054 * bufferlist.C (updateIncludedTeXfiles):
8055 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8057 2003-05-22 Angus Leeming <leeming@lyx.org>
8059 * latexrunparams.h: new file containing struct LatexRunParams.
8060 * Makefile.am: add new file.
8062 * LaTeX.[Ch] (c-tor, run):
8063 * buffer.[Ch] (makeLaTeXFile):
8064 * bufferlist.[Ch] (updateIncludedTeXfiles):
8065 * converter.C (convert, scanLog):
8066 * converter.[Ch] (runLaTeX):
8067 * exporter.C (Export):
8068 * paragraph.[Ch] (simpleTeXOnePar):
8069 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8070 * paragraph_funcs.[Ch] (latexParagraphs):
8071 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8072 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8073 pass around a LatexRunParams parameter.
8075 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8077 * paragraph.[Ch]: remove unused constructor
8079 * ParagraphList.C (erase): new function, taking two iterators
8081 2003-05-22 André Pönitz <poenitz@gmx.net>
8083 * undo_funcs.C: remove duplicated code
8085 * iterator.[Ch]: operator=
8087 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8089 * tabular.C (SetMultiColumn): ws changes
8091 * rowpainter.C (paintFirst): get rid of a ->previous
8093 * lyx_cb.C (getPossibleLabel): parlist simplification
8095 * BufferView.C (ChangeInsets): simplify slightly.
8097 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8099 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8100 * lfuns.h: new LFUN_SPACE
8101 * lyxfunc.C: protected space has a new lfun
8102 * paragraph_funcs.C: read new space insets
8104 * factory.C: handle new space insets
8106 2003-05-22 André Pönitz <poenitz@gmx.net>
8109 * BufferView_pimpl.C:
8112 * undo_funcs.C: return a ParIterator from getParFromID.
8114 * iterators.[Ch]: add two const's
8116 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8118 * toc.C (getTocList): adjust
8120 * iterators.[Ch]: rework for parlist
8122 * buffer.C (par_iterator_begin): adjust
8123 (par_iterator_end): adjust
8125 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8127 * BufferView.C (removeAutoInsets): adjust
8128 (ChangeInsets): adjust
8130 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8132 * text.C (top_y): fix bug 1110
8134 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8136 * errorlist.[Ch]: added
8139 * BufferView_pimpl.C:
8140 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8143 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8145 * Makefile.am: ensure that lyx is relinked upon changes to the
8146 various "convenience" libs.
8148 2003-05-20 Angus Leeming <leeming@lyx.org>
8150 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8151 files are compiled in alphabetical order again.
8153 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8155 2003-05-19 Angus Leeming <leeming@lyx.org>
8157 * gettext.[Ch]: remove "char const * _(char const *)".
8159 2003-05-19 André Pönitz <poenitz@gmx.net>
8161 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8170 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8172 2003-05-19 André Pönitz <poenitz@gmx.net>
8176 * lyxtextclass.[Ch]:
8178 * paragraph_funcs.[Ch]:
8180 * text3.C: more insetenv work
8182 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8184 * ParagraphParameters.C (params2string): small bug fixed
8186 2003-05-16 André Pönitz <poenitz@gmx.net>
8189 * bufferview_funcs.C: patch from Kornel Benko to prevent
8190 crash when _(...) is called twice in a statement
8192 2003-05-16 André Pönitz <poenitz@gmx.net>
8199 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8201 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8203 * lyx_main.C (init): remove spurious static_cast
8205 2003-05-14 André Pönitz <poenitz@gmx.net>
8207 * BufferView.C: fix format string
8209 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8211 * BufferView.[Ch] (insertErrors): removed
8212 * BufferView.[Ch] (showErrorList): added
8213 * buffer.C (runChkTeX):
8214 * converter.C (scanLog): call showErrorList instead of inserterrors
8216 2003-05-13 André Pönitz <poenitz@gmx.net>
8218 * BufferView_pimpl.C:
8220 * bufferview_func.C:
8227 * tabular_funcs.h: tostr() from its own header
8229 * ParagraphParameters.C:
8234 * text3.C: STRCONV()
8236 2003-05-12 André Pönitz <poenitz@gmx.net>
8239 * BufferView_pimpl.C:
8243 * ParagraphParameters.C:
8247 * bufferview_funcs.C:
8260 * paragraph_funcs.C:
8264 * text3.C: boost::format -> bformat all over the place
8267 2003-05-09 André Pönitz <poenitz@gmx.net>
8269 * LColor.[Ch]: Pimpl the #include <map> away
8271 2003-05-09 John Levon <levon@movementarian.org>
8273 * bufferlist.C: never remove emergency saves
8275 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8277 * Makefile.am: better lib building
8279 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8281 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8283 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8284 (simpleTeXSpecialChars): adjust
8285 (simpleTeXSpecialChars): adjust
8286 * paragraph.C (simpleTeXOnePar): adjust
8287 * buffer.C (makeLaTeXFile): adjust
8289 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8291 * text2.C (changeDepth): parlist cleanup
8292 (getColumnNearX): ditto
8294 * rowpainter.C (getLabelFont): parlist cleanup
8296 * bufferlist.C (newFile): parlist cleanup
8298 * CutAndPaste.C (eraseSelection): parlist cleanup
8300 * BufferView_pimpl.C (trackChanges): parlist cleanup
8303 * BufferView.C (lockInset): parlist cleanup.
8304 (ChangeInsets): ditto
8306 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8308 * CutAndPaste.h: Update file header.
8310 * CutAndPaste.C: Update file header.
8311 Store the parts cut out of the Document in a limited_stack.
8312 (copySelection): adjust
8313 (pasteSelection): new function, takes the index in the limited stack.
8314 (nrOfParagraphs): adjust
8315 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8316 simplify error inset insertion.
8317 (checkPastePossible): adjust
8319 2003-05-06 John Levon <levon@movementarian.org>
8321 * text2.C: don't cast wrap inset to float
8323 2003-05-05 André Pönitz <poenitz@gmx.net>
8326 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8328 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8329 few naked Paragraph *.
8331 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8333 * bufferparams.C: Output warning if a document with missing
8334 TeX document class is loaded
8335 * exporter.C: Disable TeX exports if the document class is missing
8338 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8339 isTeXClassAvailable()
8341 2003-05-03 John Levon <levon@movementarian.org>
8344 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8345 explicit cursor show/hide
8347 * BufferView_pimpl.h:
8348 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8349 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8351 * lyxfunc.C: hide cursor before dispatching.
8356 * text3.C: remove explicit cursor hides
8358 2003-05-02 André Pönitz <poenitz@gmx.net>
8360 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8363 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8366 * text2.C: tiny whitespace
8368 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8370 * undo_funcs.C: almost only ws changes.
8372 * ParagraphList.C (splice): just return if pl is empty.
8374 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8376 * ParagraphList.C (splice): new function.
8378 * CutAndPaste.C (pasteSelection): use it
8380 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8382 * CutAndPaste.C (pasteSelection): remove the last next and
8383 previous from this file.
8385 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8387 * CutAndPaste.C (pasteSelection): more clean up, user proper
8388 ParagraphList functions for pasteing.
8390 * ParagraphList.C (insert): new function, three arg insert
8392 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8394 * ParagraphList.C (insert): new function, three arg insert
8396 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8399 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8401 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8403 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8405 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8407 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8409 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8410 (copySelection): clean up a bit.
8411 (pasteSelection): use make_pair
8413 * ParagraphList.C (ParagraphList): implement copy constructor
8414 (operator=): implement, base on copy constructor.
8417 * paragraph.C (erase): return a bool
8419 * paragraph_pimpl.C (erasePos): remove function, move contents...
8420 (erase): ... here. Return a bool.
8421 (erase): call erase instead of erasePos.
8423 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8425 * ParagraphList.h: define PitPosPair
8426 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8427 ParagraphList, fix a bug on pasting multiple pars
8428 * text2.C: change interface to C&P
8430 2003-04-30 André Pönitz <poenitz@gmx.net>
8432 * undo_func.C: revert part of yesterday's patch 2
8434 2003-04-30 John Levon <levon@movementarian.org>
8436 * LColor.C: s/tabular/table/
8438 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8440 * text3.C (dispatch): do not convert iterator -> pointer
8441 * undo_funcs.C (setCursorParUndo): ditto
8442 * text_funcs.C (transposeChars): ditto
8444 * text2.C (setLayout): ws changes only
8446 * text.C (breakParagraph): do not convert iterator -> pointer
8448 (acceptChange): ditto
8449 (rejectChange): ditto
8454 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8457 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8459 * text3.C (gotoInset): YABG (yet another bad getChar)
8461 2003-04-29 André Pönitz <poenitz@gmx.net>
8463 * paragraph.h: make operator= private unimplemented as long as
8466 * ParagraphList.C: whitespace
8469 * paragraph_pimpl.[Ch]:
8470 * paragraph_funcs.C:
8472 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8475 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8477 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8479 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8480 * paragraph.[Ch] (erase):
8481 * paragraph_pimpl.[Ch] (erase): change return type and value
8482 * text2.C (cutSelection): some rework
8484 2003-04-28 John Levon <levon@movementarian.org>
8486 * bufferlist.C: changes for unsaved changes dialog
8488 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * bufferlist.C (newFile): set language (messages_) for new
8493 * buffer.C (readFile): ws changes only.
8495 2003-04-28 André Pönitz <poenitz@gmx.net>
8500 * BufferView_pimpl.C:
8501 * BufferView.C: getParFromID related ParagraphList::iterator changes
8503 2003-04-28 André Pönitz <poenitz@gmx.net>
8505 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8508 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8510 * messages.C: remove one more localedir class variable.
8512 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8514 * messages.C (getLocaleDir): singleton generation function
8516 (Messages): add a default constructor.
8518 * main.C (main): do not setup localedir here, do not call
8521 * gettext.C (_): use it.
8522 (gettext_init): delete funciton
8524 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8526 * gettext.C (getLyXMessages): new singleton generating function.
8528 * buffer.C (updateDocLang): adjust
8530 * Makefile.am (messages.o): add target
8531 (main.o): remove target
8533 2003-04-27 John Levon <levon@movementarian.org>
8538 * lyxvc.C: specify cancel button in Alert::prompt
8540 2003-04-26 John Levon <levon@movementarian.org>
8545 * LyXAction.C: add LFUN_INSET_SETTINGS
8547 * lyxfunc.C: don't enable tabular-feature when there's
8548 just any locking inset
8550 2003-04-26 John Levon <levon@movementarian.org>
8552 * bufferlist.C: re-add Cancel to buffer close question
8554 * lyxfunc.C: fix import UI a bit
8556 2003-04-25 John Levon <levon@movementarian.org>
8558 * gettext.C: remove the broken asserts for now
8560 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8562 * messages.C: make case where setlocale cannot comply work better.
8564 * buffer.C (updateDocLang): new function
8565 (changeLanguage): use it
8568 * text2.C (setCounter): use B_ a bit.
8570 * lyxlayout.C (Read): be sure to trim the label strings.
8572 * messages.C (Messages): fix typo in comment
8574 * buffer.C (readFile): set message_ after file is loaded.
8575 (makeDocBookFile): remove double return
8576 (changeLanguage): reset message_ upon language change.
8577 (B_): new func, use this to get translated buffer strings.
8579 * main.C: add myself and Jean Marc as authors.
8581 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8583 * messages.[hC]: pimplify Messages, and three different pimpls to be
8584 used in different circumstances.
8586 * gettext.[Ch]: change for use with new message code.
8588 2003-04-24 André Pönitz <poenitz@gmx.net>
8590 * factory.C: support for eqref
8592 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8594 * messages.[Ch]: add missing char
8596 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8598 * messages.[Ch]: New files
8600 2003-04-18 John Levon <levon@movementarian.org>
8604 * BufferView_pimpl.C:
8608 * text2.C: remove layout-copy/paste (bug 778)
8610 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8612 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8614 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8616 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8617 if they succeed. Act accordingly.
8619 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8621 * text2.C (setCharFont): adjust
8622 (setCounter): adjust
8623 (insertStringAsLines): adjust
8625 * text.C (leftMargin): adjust
8626 (setHeightOfRow): adjust
8628 * rowpainter.C (paintFirst): adjust
8631 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8633 (isFirstInSequence): ditto
8634 (getEndLabel): ditto
8637 * paragraph.C (getParLanguage): comment out some hard stuff.
8639 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8641 (simpleDocBookOnePar): ditto
8642 (makeDocBookFile): use ParagraphList::iterator
8644 * CutAndPaste.C (pasteSelection): adjust
8646 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8648 * text2.C (getFont): adjust
8649 (getLayoutFont): adjust
8650 (getLabelFont): adjust
8652 * paragraph_funcs.C (TeXOnePar): adjust
8654 * buffer.C (simpleLinuxDocOnePar): adjust
8655 (simpleDocBookOnePar): adjust
8657 * CutAndPaste.C (pasteSelection): adjust
8659 * BufferView.C (getEncoding): adjust
8661 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8663 2003-04-16 John Levon <levon@movementarian.org>
8665 * lyxfind.C: use parlist stuff for search/changes
8667 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8669 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8671 * text2.C (deleteEmptyParagraphMechanism): adjust
8673 * text2.[Ch] (ownerParagraph): delete func (both of them
8675 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8677 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8679 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8681 * ParagraphList.C: prepare for NO_NEXT
8683 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8685 * text2.C (getFont): adjust
8686 (getLayoutFont): adjust
8687 (getLabelFont): adjust
8689 * paragraph.C (getFont): adjust
8690 (getLabelFont): adjust
8691 (getLayoutFont): adjust
8693 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8695 2003-04-15 John Levon <levon@movementarian.org>
8699 * lyx_main.C: handle Include in .ui files
8701 2003-04-15 John Levon <levon@movementarian.org>
8703 * MenuBackend.C: make the doc files length shorter
8706 * ToolbarBackend.C: handle toolbar placement flags,
8709 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8711 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8714 * paragraph_funcs.C (TeXOnePar): adjust
8716 * paragraph.C (getLabelFont): add outerfont arg, adjust
8717 (getLayoutFont): ditto
8718 (simpleTeXOnePar): adjust
8720 * paragraph_pimpl.C (realizeFont): delete func
8722 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8724 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8725 row argument, constify cur argument.
8727 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8729 * text2.C (getFont): adjust
8730 (getLayoutFont): adjust
8731 (getLabelFont): adjust
8733 * paragraph_funcs.C (TeXOnePar): adjust
8734 (outerFont): new func...
8735 (realizeFont): ...moved out from here, changed this to facilitate
8738 * paragraph.C (getFont): take outerfont as arg, adjust
8739 (simpleTeXOnePar): add outerfont arg, adjust
8741 * buffer.C (simpleLinuxDocOnePar): adjust
8742 (simpleDocBookOnePar): adjust
8744 * CutAndPaste.C (pasteSelection): adjust
8746 * BufferView.C (getEncoding): adjust
8748 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8750 * text2.C (setCharFont): adjust
8751 (setCounter): adjust
8753 * text.C (leftMargin): adjust
8754 (setHeightOfRow): adjust
8756 * rowpainter.C (paintFirst): adjust
8759 * paragraph_pimpl.C (realizeFont): adjust
8761 * paragraph.C (isFirstInSequence): move from here...
8762 * paragraph_funcs.C (isFirstInSequence): ...to here
8764 * paragraph.C (outerHook): move from here...
8765 * paragraph_funcs.C (outerHook): ...to here
8767 * paragraph.C (depthHook): move from here...
8768 * paragraph_funcs.C (depthHook): ...to here
8770 * paragraph.C (getEndLabel): move from here...
8771 * paragraph_funcs.C (getEndLabel): ...to here
8773 * text2.C (realizeFont): move from here...
8774 * paragraph_funcs.C (realizeFont): ...to here
8776 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8778 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8780 2003-04-14 Angus Leeming <leeming@lyx.org>
8782 * LColor.[Ch]: scrap LColor mathcursor.
8784 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8786 * lyxlex.[Ch] (text): delete function
8787 * trans.C (Load): adjust
8788 * paragraph_funcs.C (readParToken): adjust
8790 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8792 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8793 vector<char> instead of a char[].
8795 * lyxlex_pimpl.C (getString): adjust
8797 (lex): use getString
8801 * lyxlex.C (text): use pimpl_->getString()
8805 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8807 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8808 (makeFontEntriesLayoutSpecific): temp var for par.size()
8809 (setLayout): temp var for ownerParagraphs().end()
8810 (fullRebreak): temp var for rows().end()
8811 (selectionAsString): temp var for boost::next(startpit), realize
8812 that the while really is a regular for loop.
8813 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8814 setCursor in one place.
8815 (setParagraph): temp vr for ownerParagraphs().end()
8816 (updateCounters): make the while loop a for loop
8817 (cutSelection): temp var for ownerParagraphs().end()
8818 (updateInset): make the do {} while() a regular for loop
8819 (getCursorX): use temp vars
8820 (setCurrentFont): use temp vars
8821 (getColumnNearX): use temp vars
8823 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8825 * text.C (transformChar): use temp var for getChar
8826 (computeBidiTables): use temp var for row->par()
8827 (fill): move temp vars for row->par() and pit->layout() earlier in
8829 (labelFill): use temp var for row->par()
8830 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8831 asc and desc, realize that pit never changes and that firstpit is
8832 just a duplicate and not needed. Exchange rit->par() with pit in a
8834 (breakAgain): use a temp var for boost::next(rit)
8835 (breakAgainOneRow): ditto
8836 (breakParagraph): use a temp var for rows().begin()
8837 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8838 (cursorRightOneWord): use temp var for cursor.par() and
8839 cursor.pos(), remove usage of tmpcursor.
8840 (cursorLeftOneWord): use temp var for cursor.par() and
8841 cursor.pos() only set cur at end of function.
8843 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8845 * text.C, text2.C: exchange all usage of Paragraph::next with
8846 boost::next(ParagraphList::iterator)
8848 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8850 * text2.C (cursorTop): simplify implementation
8851 (cursorBottom): ditto
8852 (setParagraph): use ParagraphList::iterator
8853 (setCurrentFont): adjust
8854 (getColumnNearX): adjust
8855 (cursorRight): adjust
8856 (cursorLeft): remove usage of Paragraph::previous
8857 (cursorUpParagraph): ditto
8858 (deleteEmptyParagraphMechanism): slight cleanup
8860 * text.C (isBoundary): take a Paragraph const & instead of a
8862 (addressBreakPoint): ditto
8863 (leftMargin): remove usage of Paragraph::previous.
8864 (setHeightOfRow): ditto
8865 (cursorLeftOneWord): ditto
8866 (selectNextWordToSpellcheck): ditto
8869 (breakParagraph): remove one usage of Paragraph::next
8870 (redoParagraph): ditto
8871 (acceptChange): ditto
8872 (insertChar): adjust
8873 (rowBreakPoint): adjust
8875 * bufferview_funcs.C (toggleAndShow): adjust
8877 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8879 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8880 methods to access it.
8882 * text.C: Added updateRowPositions to compute all row positions.
8883 Make top_y and getRowNearY() to use the cached y position
8885 2003-04-11 John Levon <levon@movementarian.org>
8887 * text.C (rowBreakPoint): reintroduce the labelEnd
8888 checks, code copied from the row fill stuff. Deep voodoo.
8890 * text.C (fill): add a comment and debugging for the
8893 2003-04-11 John Levon <levon@movementarian.org>
8895 * text.C: make sure fullrow insets get wrapped to the next line,
8896 even when they're in a manual label
8898 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8900 * text2.C (insertParagraph): make it take ParagraphList::iterator
8902 (setLayout): make it return ParagraphList::iterator
8903 (redoParagraphs): ditto
8905 (checkParagraph): ditto
8907 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8909 * text2.C: adjust several funcs.
8910 (realizeFont): take a ParagraphList::iterator as arg.
8911 (getLayoutFont): ditto
8912 (getLabelFont): ditto
8913 (setCharFont): ditto
8915 * text.C: adjust several funcs.
8917 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8919 * text.C (selectNextWordToSpellcheck): don't accidentally
8922 2003-04-10 John Levon <levon@movementarian.org>
8924 * ToolbarBackend.C (getIcon): special handling for
8927 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8929 * text2.C (cursorRight): a getChar assert fixed
8931 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8933 * text2.C (getFont): change to take a ParagraphList::iterator
8934 instead of Paragraph*
8935 Adjust several functions.
8937 * text.C (transformChar): change to take a ParagraphList::iterator
8938 instead of Paragraph*
8939 (singleWidth): ditto
8940 Adjust several functions.
8942 * rowpainter.C: adjust several functions
8943 * rowpainter.h:store a ParagraphList::iterator and not a
8947 2003-04-09 John Levon <levon@movementarian.org>
8952 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8953 and the "help" bits as well
8955 2003-04-09 John Levon <levon@movementarian.org>
8958 * ToolbarBackend.C: allow multiple toolbars
8960 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8962 * undo_funcs.C (setCursorParUndo): adjust
8964 * text_funcs.C (transposeChars): adjust
8966 * text3.C (gotoNextInset): adjust
8969 * text2.C (setLayout): adjust
8970 (changeDepth): adjust
8972 (redoParagraphs): adjust
8973 (selectionAsString): adjust
8974 (setParagraph): adjust
8975 (insertInset): adjust
8976 (cutSelection): adjust
8977 (copySelection): adjust
8978 (pasteSelection): adjust
8979 (insertStringAsLines): adjust
8980 (updateInset): adjust
8981 (setCursor): change to take a ParagraphList::iterator parameter
8982 (setCursorIntern): change to take a ParagraphList::iterator parameter
8983 (setCurrentFont): adjust
8984 (cursorLeft): adjust
8985 (cursorRight): adjust
8986 (deleteEmptyParagraphMechanism): adjust
8988 * text.C (breakParagraph): adjust
8989 (insertChar): adjust
8990 (acceptChange): adjust
8991 (rejectChange): adjust
8992 (selectNextWordToSpellcheck): adjust
8993 (changeCase): adjust
8997 * lyxfind.C (SearchForward): adjust
8998 (SearchBackward): adjust
8999 (nextChange): adjust
9001 * lyxcursor.C (par): adjust
9003 * lyxcursor.h: store a ParagraphList::iterator instead of a
9006 * lyx_cb.C (getPossibleLabel): adjust
9008 * bufferview_funcs.C (toggleAndShow): adjust
9010 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9013 * BufferView.C (removeAutoInsets): adjust
9014 (lockedInsetStoreUndo): adjust
9016 2003-04-09 John Levon <levon@movementarian.org>
9018 * ToolbarBackend.C: try icon without argument
9019 if with argument fails
9021 2003-04-08 John Levon <levon@movementarian.org>
9024 * ToolbarBackend.C: add getIcon(), handle tooltip,
9025 and change from "Icon" to "Item".
9027 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9029 * BufferView.C (lockInset): another bad getchar crunched
9031 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9033 * text2.C (changeDepth): do not setUndo on test_only (make undo work
9036 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
9038 * lyxfind.C (searchForward, searchBackwards): bug 782
9040 2003-04-07 John Levon <levon@movementarian.org>
9042 * paragraph.C: remove dead comment
9044 * text.C: remove troublesome depth-fiddling code
9045 in leftMargin() and rightMargin() (bug 1017)
9047 * text.C: fix breaking of rows in nested lists
9050 * text2.C (updateCounters): fix up depth values
9053 2003-04-07 John Levon <levon@movementarian.org>
9055 * BufferView_pimpl.C: clear message when doc finishes resizing,
9056 and after a mouse event
9058 * lyxfunc.C: clear message after exiting inset
9060 2003-04-07 John Levon <levon@movementarian.org>
9062 * bufferview_funcs.C: show math status not outside
9063 status in the statusbar
9065 2003-04-07 John Levon <levon@movementarian.org>
9067 * lyxfunc.C: note status changed after a depth change
9069 2003-04-04 Angus Leeming <leeming@lyx.org>
9071 * LaTeX.h: move AuxInfo operator==, != out of line.
9072 Remove LaTeX virtual destructor; nothing derives from it.
9073 Move operator()() out of public area and rename it startscript().
9074 Change protected for private.
9076 2003-04-04 Angus Leeming <leeming@lyx.org>
9079 * text2.C: remove unneeded #includes.
9081 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9083 * text2.C (dEPM): fix the heigth of the next row
9085 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9087 * text.C: squashed an invalid getChar requester + some ws changes
9089 2003-04-03 John Levon <levon@movementarian.org>
9091 * bufferview_funcs.h:
9092 * bufferview_funcs.C:
9095 * text2.C: make getStatus work for the env depth lfuns
9097 2003-04-03 John Levon <levon@movementarian.org>
9099 * bufferview_funcs.h:
9100 * bufferview_funcs.C:
9103 * text2.C: parlistize decDepth(), by merging it with incDepth()
9105 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9107 * lyxrow.h: store a ParagraphList::iterator instead of a
9108 Paragraph* and adjust other class functions to suit.
9110 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9113 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9115 * text2.C (setCursor): do not anchor to cursor row for the time being
9117 2003-04-02 John Levon <levon@movementarian.org>
9124 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9126 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9128 * paragraph.h: make ParagraphList and ParagraphList::iterator
9129 friends of Paragraph.
9131 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9133 * ParagraphList.C: Use the private next_ and previous_ from
9136 2003-04-01 John Levon <levon@movementarian.org>
9140 * Makefile.am: rename, remove defaults gunk
9143 * MenuBackend.C: remove defaults gunk
9146 * Languages.C: remove defaults gunk
9149 * lyx_main.C: error out if files couldn't be found.
9151 2003-04-02 John Levon <levon@movementarian.org>
9153 * text2.C: make incDepth() use parlist
9155 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9157 * undo_funcs.C (firstUndoParagraph): adjust
9159 * text3.C (gotoInset): adjust
9160 (dispatch): adjust, and rewrite loop.
9162 * text2.C (init): adjust, and rewrite loop.
9163 (redoParagraphs): adjust
9164 (updateInset): adjust, and rewrite loop.
9165 (deleteEmptyParagraphMechanism): adjust
9167 * tabular.C (LyXTabular): adjust
9168 (SetMultiColumn): adjust
9171 * lyxtext.[Ch] (ownerParagraph): delete function
9172 (ownerParagraphs): new function returns a ParagraphList.
9174 * BufferView.C (removeAutoInsets): adjust
9175 (insertErrors): adjust
9176 (setCursorFromRow): adjust
9178 2003-04-01 Angus Leeming <leeming@lyx.org>
9180 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9183 2003-04-02 John Levon <levon@movementarian.org>
9189 * text_funcs.C: make transposeChars a free function
9191 * lyxrow_funcs.C: remove wrong comment
9193 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9196 * rowpainter.C: adjust
9201 * lyxrow_funcs. [Ch]: new files
9203 * lyxrow.[Ch]: remove next and previous pointers
9204 (next,previous): remove accessor functions
9205 (isParEnd): move to lyxrow_funcs
9206 (lastPos): move to lyxrow_funcs
9207 (nextRowIsAllInset): move to lyxrow_funcs
9208 (lastPrintablePos): move to lyxrow_funcs
9209 (numberOfSeparators): move to lyxrow_funcs
9210 (numberOfHfills): move to lyxrow_funcs
9211 (numberOfLabelHfills): move to lyxrow_funcs
9212 (hfillExpansion): move to lyxrow_funcs
9216 * bufferview_funcs.C (toggleAndShow): adjust
9218 * RowList.h: Remove class RowList from file leave just a
9221 * RowList.C: delete file
9223 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9226 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9228 * text3.C (cursorPrevious): adjust
9229 (cursorNext): adjust
9232 * text2.C (redoHeightOfParagraph): adjust
9233 (redoDrawingOfParagraph): adjust
9236 * text.C (breakParagraph): adjust
9237 (insertChar): adjust
9240 * rowpainter.C (RowPainter): adjust
9241 (leftMargin): simplify and adjust
9242 (most rowpainter functions): adjust.
9244 * rowpainter.h: store the row as RowList::iterator not as Row*
9246 * lyxcursor.C (row): taka RowList::iterator as arg
9249 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9252 2003-04-01 Angus Leeming <leeming@lyx.org>
9254 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9255 stuff like bool Bool.
9257 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9259 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9262 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9264 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9267 * lyxtext.h (rows): drop one version and leve a const variant that
9268 returns a RowList::iterator.
9270 2003-03-31 Angus Leeming <leeming@lyx.org>
9272 * text.C (fill): ensure that the signature is the same as that in the
9275 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9277 * text2.C (redoParagraphs): adjust
9278 (updateCounters): adjust
9279 (checkParagraph): adjust
9280 (getColumnNearX): adjust and reformat a bit.
9282 * text.C (top_y): adjust
9284 (leftMargin): adjust
9285 (prepareToPrint): adjust
9287 (getRowNearY): adjust
9289 * lyxtext.h: make rowlist_ mutable.
9291 * RowList.h: add const_iterator
9292 * RowList.C: adjust for RowList::const_iterator.
9294 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9297 2003-03-31 John Levon <levon@movementarian.org>
9300 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9302 * lyx_main.C: set default fonts from using lyx_gui funcs
9304 * exporter.C: pdf_mode moved from lyxrc
9307 * lyxfunc.C: changes from above
9309 2003-03-31 John Levon <levon@movementarian.org>
9311 * lyx_main.C: fix to the last fix
9313 2003-03-31 John Levon <levon@movementarian.org>
9315 * bufferlist.C: "Load original" -> "Load Original"
9321 * format.C: more Alert cleanups
9323 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9325 * text2.C (removeParagraph): make it take a RowList::iterator as
9327 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9328 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9330 * text.C (anchor_row): make it take a RowList::iterator as arg,
9332 (computeBidiTables): make it take a const reference to Row instead
9333 of Row pointer, adjust.
9334 (leftMargin): make it take a RowList::iterator as arg, adjust.
9335 (rowBreakPoint): adjust
9336 (breakAgainOneRow): make it take a RowList::iterator as arg,
9338 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9340 * bufferview_funcs.C (toggleAndShow): adjust
9342 2003-03-30 John Levon <levon@movementarian.org>
9346 * boost-inst.C: moved to support
9348 * several files: changes as a result
9350 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9352 * text2.C (LyXText): adjust.
9354 (removeRow): make it take a RowList::iterator as arg, adjust.
9355 (fullRebreak): adjust
9356 (deleteEmptyParagraphMechanism): adjust
9357 (clearPaint): adjust
9360 * text.C (top_y): adjust
9361 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9362 (breakAgain): make it take a RowList::iterator as arg, adjust.
9363 (breakParagraph): adjust
9364 (insertChar): adjust
9367 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9368 need_break_row, and refresh_row.
9370 * text3.C (dispatch): adjust
9372 * text2.C (checkParagraph): adjust
9374 (setCursorFromCoordinates): adjust
9376 * text.C (top_y): adjust
9378 (getRow): make it return a RowList::iterator, adjust
9379 (getRowNearY): make it return a RowList::iterator, adjust
9381 * text2.C (init): adjust
9382 (insertRow): remove function
9383 (insertParagraph): adjust
9384 (redoParagraphs): adjust
9385 (fullRebreak): adjust
9386 (updateCounters): adjust
9388 * text.C (top_y): rewrite to use RowList iterators.
9390 (setHeightOfRow): rewrite to sue RowList iterators.
9391 (appendParagraph): adjust
9392 (breakAgain): adjust
9393 (breakAgainOneRow): adjust
9394 (breakParagraph): adjust
9396 (getRowNearY): adjust, and remove commented code.
9398 * lyxtext.h (firstRow): delete function
9399 (lastRow): delete function
9400 (rows): new function (const and non-const versions.)
9401 (insertRow): delete function
9403 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9405 2003-03-29 John Levon <levon@movementarian.org>
9407 * BufferView_pimpl.C: always update scrollbar top
9408 because pasting text when we're anchored could mean we
9409 miss an update altogether
9411 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9413 * text2.C (init): use rowlist_.end() and not 0.
9414 (insertRow): change to take a RowList::iterator as arg, adjust
9416 (insertParagraph): change to take a RowList::iterator as arg,
9418 (redoParagraphs): remove some debug msgs.
9420 * text.C (appendParagraph): change to take a RowList::iterator
9421 arg, adjust for this.
9422 (breakAgain): add an assert
9423 (breakAgainOneRow): ditto
9425 2003-03-29 John Levon <levon@movementarian.org>
9427 * text2.C: do not clear selection after inc/decDepth
9430 2003-03-29 John Levon <levon@movementarian.org>
9433 * buffer.C: fix broken strerrors according to Lars
9435 2003-03-29 John Levon <levon@movementarian.org>
9437 * converters.C: more Alert cleanups
9439 2003-03-29 John Levon <levon@movementarian.org>
9441 * bufferview_funcs.C: remove pointless Alert
9443 * buffer.C: fix confusing error message when
9444 a template is chmoded 000
9446 2003-03-29 John Levon <levon@movementarian.org>
9450 * BufferView_pimpl.C: Alert fixes
9454 * tabular-old.C: remove unused table compat reading
9456 2003-03-29 John Levon <levon@movementarian.org>
9461 * lyx_cb.C: more Alert cleanups
9463 * lyxfunc.C: don't allow chktex if not latex document
9465 2003-03-29 John Levon <levon@movementarian.org>
9469 * buffer.C: warnings pushed down from support/,
9472 2003-03-29 John Levon <levon@movementarian.org>
9474 * lyxfunc.C: safety check for C-r (revert)
9476 2003-03-29 John Levon <levon@movementarian.org>
9479 * bufferlist.C: several UI fixes using Alert::prompt.
9480 Fix the pointless looping quit code. Fix stupid revert
9485 * lyx_cb.C: use Alert::prompt
9487 * lyx_main.C: remove a silly question
9489 * lyxfunc.C: remove a couple of silly questions,
9492 2003-03-28 John Levon <levon@movementarian.org>
9494 * text2.C: fix bug 974 (End on empty par)
9496 2003-03-28 John Levon <levon@movementarian.org>
9498 * BufferView_pimpl.C:
9500 * lfuns.h: remove do-nothing math greek lfuns
9502 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9504 * lyxgluelength.h (isValidGlueLength): add default arg on
9505 parameter 2. Remove default arg from friend in class.
9507 * lyxlength.h (isValidLength): add default arg on parameter 2.
9508 Remove default arg from friend in class.
9510 * text2.C (LyXText): adjust, initialize refresh_row.
9514 (insertParagraph): adjst
9515 (redoParagraphs): adjust
9516 (fullRebreak): adjust
9517 (updateCounters): adjust
9518 (deleteEmptyParagraphMechanism): first attempt at fixing a
9521 * text.C (top_y): adjust
9522 (setHeightOfRow): adjust
9524 (getRowNearY): adjust
9526 * lyxtext.h: include RowList.h
9527 (~LyXText): not needed anymore, deleted.
9528 (firstRow): modify for RowList
9529 (lastRow): new function
9530 Delete firstrow and lastrow class variables, add a Rowlist
9531 rowlist_ class variable.
9533 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9536 * RowList.C (insert): fix case where it == begin().
9538 2003-03-26 Angus Leeming <leeming@lyx.org>
9540 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9541 the thesaurus dialog.
9543 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9545 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9547 * RowList.[Ch]: new files
9549 * ParagraphList.C (erase): handle the case where it == begin
9552 2003-03-25 John Levon <levon@movementarian.org>
9556 * aspell.C: add new aspell support
9559 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9562 2003-03-25 Angus Leeming <leeming@lyx.org>
9565 * LyXAction.C (init): new LFUN_INSET_INSERT.
9567 * BufferView_pimpl.C (dispatch): split out part of the
9568 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9570 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9573 2003-03-25 Angus Leeming <leeming@lyx.org>
9575 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9577 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9580 * text3.C: remove useless row->height(0)
9582 2003-03-25 John Levon <levon@movementarian.org>
9586 * text3.C: rename the refreshing stuff to better names
9588 2003-03-24 John Levon <levon@movementarian.org>
9590 * BufferView_pimpl.h:
9591 * BufferView_pimpl.C: update layout choice on a mouse
9594 2003-03-23 John Levon <levon@movementarian.org>
9596 * Makefile.am: fix commandtags.h reference
9598 2003-03-22 John Levon <levon@movementarian.org>
9600 * BufferView_pimpl.C:
9605 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9607 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9610 * text.C: take the rtl methods out of line
9612 2003-03-21 André Pönitz <poenitz@gmx.net>
9614 * metricsinfo.[Ch]: new files containing structures to be passed around
9615 during the two-phase-drawing...
9617 2003-03-21 André Pönitz <poenitz@gmx.net>
9619 * lyxtextclass.C: read 'environment' tag.
9621 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9623 * text2.C (removeRow): fix bug 964
9625 2003-03-20 John Levon <levon@movementarian.org>
9629 * text2.C: paint cleanups. Inset::update() dropped font
9632 2003-03-19 John Levon <levon@movementarian.org>
9634 * lyxfunc.C: only fitcursor/markDirty if available()
9636 2003-03-19 John Levon <levon@movementarian.org>
9638 * commandtags.h: rename to ...
9640 * lfuns.h: ... this, and renumber / cleanup
9642 2003-03-19 John Levon <levon@movementarian.org>
9644 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9645 fit the cursor after an lfun
9649 * BufferView_pimpl.h:
9650 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9652 * LyXAction.C: layout-character should have ReadOnly
9654 * ParagraphParameters.C:
9656 * bufferview_funcs.C:
9663 * undo_funcs.C: changes from above
9665 2003-03-18 John Levon <levon@movementarian.org>
9667 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9668 remove it from update()
9670 * lyxfunc.C: update layout choice after an lfun
9672 * text3.C: remove extra updateLayoutChoice()s
9674 2003-03-18 John Levon <levon@movementarian.org>
9676 * text.C: top_y change means full repaint, fix
9677 a drawing bug with cursor movement
9679 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9683 * text2.C: anchor row on setCursor
9685 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9687 * lyxtext.h: remove almost all mutable keywords
9690 * text3.C: remove const keywords accordingly
9692 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9694 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9696 (TeXEnvironment): ditto
9699 2003-03-17 John Levon <levon@movementarian.org>
9701 * text.C (rowBreakPoint): remove attempt to fix displayed
9702 math insets inside a manual label
9704 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9706 * lyxtext.h: remove BufferView* as first arg from almost all class
9708 * other files: adjust.
9710 2003-03-17 John Levon <levon@movementarian.org>
9714 * text2.C: more paint cleanups
9716 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9719 * rowpainter.C: remove "smart" background painting code
9721 2003-03-16 John Levon <levon@movementarian.org>
9726 * text3.C: add helper functions for setting refresh_row/y
9728 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9730 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9731 newline inset which *can* get inserted in the pass_thru layouts.
9732 This is primarily for literate documents.
9734 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9736 * buffer.C: increment LYX_FORMAT to 223
9738 2003-03-14 André Pönitz <poenitz@gmx.net>
9740 * textclass.h: prepare for environment handling, ws changes
9741 * lyxlayout.C: read latexheader and latexfooter tags
9743 2003-03-14 John Levon <levon@movementarian.org>
9745 * text2.C: rewrite ::status() a bit
9747 2003-03-13 John Levon <levon@movementarian.org>
9749 * lyxtext.h: add some docs
9751 2003-03-13 John Levon <levon@movementarian.org>
9756 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9758 2003-03-13 John Levon <levon@movementarian.org>
9760 * text3.C: fix appendix redrawing
9762 2003-03-13 John Levon <levon@movementarian.org>
9764 * text.C (setHeightOfRow):
9766 * rowpainter.C: make appendix mark have the text
9767 "Appendix" so the user knows what it is
9770 * LColor.C: s/appendixline/appendix/ from above
9772 2003-03-13 John Levon <levon@movementarian.org>
9774 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9776 * text.C: fix a getChar(pos) bug properly
9778 2003-03-13 Angus Leeming <leeming@lyx.org>
9781 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9782 Probably only temporary. Let's see how things pan out.
9784 * BufferView.C (unlockInset):
9785 * BufferView_pimpl.C (fitCursor):
9786 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9788 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9789 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9791 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9792 new functions that convert ParagraphParameters to and from a string.
9794 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9795 BufferView::Pimpl's dispatch.
9796 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9798 2003-03-13 André Pönitz <poenitz@gmx.net>
9802 * factory.C: make it aware of InsetEnv
9804 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9806 * text2.C (setCursor): never ask for one past last
9807 (setCursor): add some debugging messages.
9809 * text.C (singleWidth): never ask for one past last
9810 (singleWidth): ditto
9812 (rightMargin): ditto
9813 (rowBreakPoint): ditto
9814 (setHeightOfRow): ditto
9815 (prepareToPrint): ditto
9817 * rowpainter.C (paintBackground): never ask for one past last
9818 (paintText): never ask for one past last
9820 * paragraph_pimpl.C (getChar): make the assert stricter, never
9821 allow the one past last pos to be taken
9823 * paragraph.C (getChar): ws changes only
9825 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9826 (numberOfSeparators): ditto
9827 (numberOfHfills): ditto
9829 2003-03-12 John Levon <levon@movementarian.org>
9835 * paragraph_funcs.C: fix per-buffer authorlists
9837 2003-03-12 John Levon <levon@movementarian.org>
9839 * text.C: fix newline in right address
9841 2003-03-12 Angus Leeming <leeming@lyx.org>
9843 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9844 duplicate those in LyXFunc::dispatch.
9848 * ToolbarDefaults.C:
9849 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9850 Add LFUN_FONTFREE_UPDATE.
9852 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9853 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9855 * bufferview_func.[Ch]: several new functions to facilliate
9856 transfer of data to and from the character dialog.
9858 2003-03-12 John Levon <levon@movementarian.org>
9863 * paragraph_funcs.C:
9864 * paragraph_pimpl.C:
9868 * text3.C: remove META_NEWLINE in favour of an inset
9871 * rowpainter.C: remove paintNewline (done by inset)
9873 2003-03-12 John Levon <levon@movementarian.org>
9875 * paragraph_pimpl.C: complain about bad getChar()s
9876 for a while at least
9878 2003-03-12 John Levon <levon@movementarian.org>
9881 * buffer.C: move paragraph read into a separate function,
9882 a little renaming to reflect that.
9885 * bufferparams.C: remove the author_ids map, not necessary now
9888 * factory.C: moved Buffer::readInset to here
9890 * paragraph_funcs.h:
9891 * paragraph_funcs.C: readParagraph free function moved from
9894 * tabular.C: name change
9896 2003-03-12 John Levon <levon@movementarian.org>
9899 * ParagraphParameters.C: move par params input to
9902 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9903 behave like a normal read from the stream wrt reading
9904 a line vs. a \\token
9906 2003-03-12 John Levon <levon@movementarian.org>
9909 * ParagraphParameters.h:
9910 * ParagraphParameters.C: move output code to a
9913 2003-03-12 John Levon <levon@movementarian.org>
9915 * BufferView.C (insertLyXFile):
9918 * tabular.C: use a parlist iterator for creating the
9921 2003-03-12 John Levon <levon@movementarian.org>
9923 * buffer.C: make current_change static local not
9926 2003-03-12 John Levon <levon@movementarian.org>
9928 * buffer.C: fix insertStringAsLines for change tracking
9930 2003-03-12 John Levon <levon@movementarian.org>
9937 * bufferparams.C: move author list into params. Rename some
9938 functions. Move the header reading into a separate token
9939 loop. Move the header token reading into BufferParams.
9941 2003-03-12 John Levon <levon@movementarian.org>
9943 * changes.C: put debug inside lyxerr.debugging() checks
9945 2003-03-11 André Pönitz <poenitz@gmx.net>
9947 * factory.C: make it aware of InsetHFill
9949 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9951 * buffer.C (latexParagraphs): move function from here...
9952 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9955 2003-03-10 Angus Leeming <leeming@lyx.org>
9957 * LyXAction.C (init): fix bug in poplating array with multiple entries
9958 with the same LFUN (spotted by JMarc).
9960 2003-03-10 John Levon <levon@movementarian.org>
9963 * text2.C: move getColumnNearX() near its
9966 2003-03-10 John Levon <levon@movementarian.org>
9968 * text.C: fix break before a minipage
9970 2003-03-10 John Levon <levon@movementarian.org>
9972 * text.C: fix the last commit
9974 2003-03-09 John Levon <levon@movementarian.org>
9978 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9979 bug 365 (don't break before insets unless needed). Don't
9980 return a value > last under any circumstances.
9982 2003-03-09 Angus Leeming <leeming@lyx.org>
9984 * BufferView_pimpl.C (trackChanges, dispatch): call
9985 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9987 2003-03-09 Angus Leeming <leeming@lyx.org>
9989 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9990 than Dialogs::showAboutlyx().
9992 2003-03-09 Angus Leeming <leeming@lyx.org>
9994 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9995 than Dialogs::showTabularCreate().
9997 2003-03-09 John Levon <levon@movementarian.org>
10001 * text2.C: 3rd arg to nextBreakPoint was always the same.
10004 2003-03-08 John Levon <levon@movementarian.org>
10011 * text2.C: Remove the "main" bit from the "main body"
10014 2003-03-08 John Levon <levon@movementarian.org>
10016 * text.C (leftMargin): The left margin of an empty
10017 manual label paragraph should not include the label width
10020 * text.C (prepareToPrint): don't attempt to measure hfills
10021 for empty manual label paragraphs - the answer should be 0
10023 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10025 * CutAndPaste.C: remove commented code and reindent.
10027 2003-03-08 John Levon <levon@movementarian.org>
10030 * lyxfunc.C: move reloadBuffer()
10033 * BufferView.C: to here
10035 * lyxvc.C: add comment
10038 * vc-backend.C: call bv->reload() to avoid
10039 getStatus() check on MENURELOAD
10041 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
10043 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10044 to an old format .dep file.
10046 2003-03-07 Angus Leeming <leeming@lyx.org>
10048 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10049 when the LFUN_MOUSE_RELEASE should have been handled by
10050 inset->localDispatch.
10052 2003-03-07 Angus Leeming <leeming@lyx.org>
10054 * BufferView_pimpl.C (dispatch):
10055 * LyXAction.C (init):
10056 * ToolbarDefaults.C (init):
10058 * lyxfunc.C (getStatus):
10059 remove LFUN_INSET_GRAPHICS.
10061 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10063 2003-03-07 Angus Leeming <leeming@lyx.org>
10066 * LyXAction.C (init):
10067 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10069 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10072 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10074 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10075 localDispatch method LFUN_INSET_DIALOG_UPDATE.
10077 2003-03-07 Angus Leeming <leeming@lyx.org>
10079 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10082 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10084 * ParagraphList.C (front): new function
10087 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10089 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10090 and top_row_offset_. removed var first_y.
10092 * text2.C (LyXText, removeRow):
10094 * BufferView_pimpl.C:
10095 use these methods instead of using first_y
10097 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10099 * text2.C (pasteSelection): adjust for checkPastePossible
10101 * CutAndPaste.C: remove Paragraph * buf and replace with
10102 ParagraphList paragraphs.
10103 (DeleteBuffer): delete
10104 (cutSelection): change the tc type to textclass_type
10105 (copySelection): change the tc type to textclass_type
10106 (copySelection): adjust for ParagraphList
10107 (pasteSelection): change the tc type to textclass_type
10108 (pasteSelection): adjust for Paragraphlist
10109 (nrOfParagraphs): simplify for ParagraphList
10110 (checkPastePossible): simplify for ParagraphList
10111 (checkPastePossible): remove unused arg
10113 * ParagraphList.C (insert): handle the case where there are no
10116 * CutAndPaste.h: make CutAndPaste a namespace.
10118 * text3.C (dispatch): adjust
10120 * text.C (breakParagraph): add a ParagraphList as arg
10122 * paragraph_funcs.C (breakParagraph): change to take a
10123 BufferParams and a ParagraphList as args.
10124 (breakParagraphConservative): ditto
10125 (mergeParagraph): ditto
10126 (TeXDeeper): add a ParagraphList arg
10127 (TeXEnvironment): ditto
10130 * buffer.C (readLyXformat2): adjust
10131 (insertStringAsLines): adjust
10132 (latexParagraphs): adjust
10134 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10135 (cutSelection): adjust
10136 (pasteSelection): adjust
10138 * BufferView_pimpl.C (insertInset): adjust
10140 2003-03-05 Angus Leeming <leeming@lyx.org>
10143 * LyXAction.C (init):
10144 * BufferView_pimpl.C (dispatch):
10145 * lyxfunc.C (getStatus):
10146 remove LFUN_CHILD_INSERT.
10148 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10150 2003-03-05 Angus Leeming <leeming@lyx.org>
10153 * LyXAction.C (init):
10154 * src/factory.C (createInset):
10155 * lyxfunc.C (getStatus):
10156 * text3.C (dispatch):
10157 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10159 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10161 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10163 * ParagraphList.C (insert): handle insert right before end()
10164 (erase): fix cases where it can be first or last paragraph.
10166 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10168 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10169 Paragraph::next and Paragraph::previous
10172 * text.C (breakParagraph): adjust
10174 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10175 BufferParams& as arg.
10176 (breakParagraph): use ParagraphList::insert
10177 (breakParagraphConservative): take a Buffer* instead of a
10178 BufferParams& as arg.
10179 (breakParagraphConservative): use ParagraphList::insert.
10181 * buffer.C (insertStringAsLines): un-const it
10182 (insertStringAsLines): adjust
10184 * ParagraphList.C (insert): new function
10186 * CutAndPaste.C (pasteSelection): adjust
10188 * text.C (backspace): adjust
10190 * tabular.C (SetMultiColumn): adjust
10192 * CutAndPaste.C (cutSelection): adjust
10193 (pasteSelection): adjust
10195 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10196 Buffer const * as arg
10198 * ParagraphList.C (erase): new function
10199 * paragraph_funcs.C (mergeParagraph): use it
10200 (mergeParagraph): make it take a Buffer* instead of a
10201 BufferParams* as arg
10203 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10205 (breakParagraphConservative): ditto
10207 * paragraph.h: remove the breakParagraph friend
10209 * paragraph.C (eraseIntern): new function
10210 (setChange): new function
10212 * paragraph_funcs.C (mergeParagraph): make it take a
10213 ParagraphList::iterator instead of a Paragraph *, adjust
10216 * paragraph.h: move an #endif so that the change tracking stuff
10217 also works in the NO_NEXT case.
10219 2003-03-04 Angus Leeming <leeming@lyx.org>
10222 * LyXAction.C: new LFUN_INSET_MODIFY.
10224 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10225 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10227 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10229 * several files: ws changes only
10231 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10232 (TeXEnvironment): ditto
10235 * buffer.C (makeLaTeXFile): adjust
10236 (latexParagraphs): make it take ParagraphList::iterator as args
10238 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10240 * buffer.C (latexParagraphs): adjust
10242 * paragraph.C (TeXOnePar): move function...
10243 (optArgInset): move function...
10244 (TeXEnvironment): move function...
10245 * paragraph_pimpl.C (TeXDeeper): move function...
10246 * paragraph_funcs.C: ...here
10248 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10250 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10252 * buffer.C (readInset): remove compability code for old Figure and
10255 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10257 * buffer.C: ws changes
10260 * BufferView_pimpl.C: ditto
10263 * bufferlist.h: ditto
10267 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10269 * converter.[Ch]: split into itself +
10272 * Makefile.am: += graph.[Ch] + format.[Ch]
10279 * lyxrc.C: added #include "format.h"
10281 2003-02-27 Angus Leeming <leeming@lyx.org>
10283 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10286 * factory.C (createInset): add "label" to the factory.
10288 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10289 string and do no more.
10291 2003-02-27 Angus Leeming <leeming@lyx.org>
10294 * LyXAction.C (init):
10295 * factory.C (createInset):
10296 * BufferView_pimpl.C (dispatch):
10297 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10299 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10301 * lyxfunc.C (dispatch):
10302 * text3.C (dispatch): pass name to params2string.
10304 2003-02-26 Angus Leeming <leeming@lyx.org>
10306 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10308 Rearrange the ~includes. Strip out the unnecessary ones.
10310 * factory.C (createInset): reformat.
10311 create new insets for the various LFUN_XYZ_APPLY lfuns.
10313 2003-02-26 John Levon <levon@movementarian.org>
10316 * lyxrow.C: add isParStart,isParEnd helpers
10318 * paragraph.h: make isInserted/DeletedText take refs
10320 * paragraph_funcs.h:
10321 * paragraph_funcs.C: remove #if 0'd code
10326 * text.C: use lyxrow helpers above.
10327 Move draw and paint routines to RowPainter.
10328 Make several methods use refs not pointers.
10329 Make backgroundColor() const.
10330 Add markChangeInDraw(), isInInset().
10331 Merge changeRegionCase into changeCase.
10332 Make workWidth() shouldn't-happen code into an Assert.
10335 * rowpainter.C: new class for painting a row.
10338 * vspace.C: make inPixels take a ref
10340 2003-02-26 Angus Leeming <leeming@lyx.org>
10342 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10345 2003-02-25 John Levon <levon@movementarian.org>
10347 * ispell.C: give the forked command a more accurate name
10349 2003-02-22 John Levon <levon@movementarian.org>
10352 * toc.C: make TocItem store an id not a Paragraph *
10355 2003-02-21 Angus Leeming <leeming@lyx.org>
10357 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10358 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10359 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10360 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10361 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10362 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10364 * BufferView_pimpl.C (dispatch):
10365 * LyXAction.C (init):
10366 * factory.C (createInset):
10367 * lyxfunc.C (getStatus, dispatch):
10368 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10370 2003-02-21 Angus Leeming <leeming@lyx.org>
10372 * BufferView_pimpl.C (MenuInsertLyXFile):
10373 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10374 * lyxfunc.C (menuNew, open, doImport):
10375 no longer pass a LyXView & to fileDlg.
10377 2003-02-21 Angus Leeming <leeming@lyx.org>
10379 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10380 * LyXAction.C: change, BIBKEY to BIBITEM.
10381 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10382 Change InsetBibKey to InsetBibitem.
10383 Change BIBKEY_CODE to BIBITEM_CODE.
10384 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10385 * factory.C: replace insetbib.h with insetbibitem.h.
10386 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10387 * paragraph.C: replace insetbib.h with insetbibitem.h.
10388 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10389 Change bibkey() to bibitem().
10390 * text.C: remove insetbib.h.
10391 * text2.C: replace insetbib.h with insetbibitem.h.
10392 change bibkey() to bibitem().
10393 * text3.C: remove insetbib.h.
10394 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10396 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10398 * lyxrc.C (output): enclose user email in quotes (in case there are
10401 2003-02-18 John Levon <levon@movementarian.org>
10403 * buffer.h: add std::
10405 2003-02-17 John Levon <levon@movementarian.org>
10411 * pspell.C: reworking. Especially in ispell, a large
10412 number of clean ups and bug fixes.
10414 * lyxfunc.C: fix revert to behave sensibly
10416 2003-02-17 André Pönitz <poenitz@gmx.net>
10419 * commandtags.h: new LFUN_INSERT_BIBKEY
10429 * paragraph_func.C: remove special bibkey handling
10431 2003-02-17 John Levon <levon@movementarian.org>
10433 * text.C (Delete): fix case where delete at the end of
10434 the very first paragraph would not merge the pars
10436 2003-02-17 John Levon <levon@movementarian.org>
10438 * lyxrow.C: fix lastPrintablePos()
10440 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10442 * bufferparams.C (writeLaTeX): add a std:here
10444 * buffer.C: and remove a using directive there
10446 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10448 * buffer.C (makeLaTeXFile): move the code that generates the
10451 * bufferparams.C (writeLaTeX): ... in this new method
10453 * LaTeXFeatures.C (getEncodingSet): make const
10454 (getLanguages): make const
10456 * MenuBackend.C (binding): returns the binding associated to this
10458 (add): sets the status of each item by calling getStatus. Adds
10460 (read): add support for OptSubMenu
10461 (expand): remove extra separator at the end of expanded menu
10463 2003-02-15 John Levon <levon@movementarian.org>
10466 * BufferView_pimpl.C:
10468 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10469 inset code that had no actual effect. Remove unneeded status
10472 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10474 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10477 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10479 * text.C (drawLengthMarker): also draw an arrow marker for
10480 symbolic lengths (medskip...)
10482 2003-02-14 John Levon <levon@movementarian.org>
10485 * tabular.C: better method names
10487 2003-02-14 John Levon <levon@movementarian.org>
10489 * BufferView_pimpl.C:
10494 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10495 it's a more accurate name. Remove some pointless uses.
10497 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10499 * text2.C (LyXText): change order of initilizers to shut off
10502 2003-02-14 John Levon <levon@movementarian.org>
10504 * buffer.C: use ParIterator for getParFromID()
10508 * paragraph_pimpl.h:
10509 * paragraph_pimpl.C: remove unused getParFromID()
10511 2003-02-14 John Levon <levon@movementarian.org>
10513 * buffer.C: remove some very old #if 0'd parse code
10515 2003-02-13 John Levon <levon@movementarian.org>
10519 * text2.C: move hfillExpansion(), numberOfSeparators(),
10520 rowLast(), rowLastPrintable(), numberofHfills(),
10521 numberOfLabelHfills() ...
10524 * lyxrow.C: ... to member functions here.
10529 * text.C: remove LyXText::beginningOfMainBody(), and call
10530 p->beginningOfMainBody() directly. Move the check for
10531 LABEL_MANUAL into the latter.
10538 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10544 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10545 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10547 2003-02-13 John Levon <levon@movementarian.org>
10549 * CutAndPaste.C: remove debug
10551 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10553 * paragraph.C (asString): remove two unused variables
10555 * lyxtextclass.C (readTitleType):
10557 (LyXTextClass): handle new members titletype_ and titlename_
10559 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10561 2003-02-09 John Levon <levon@movementarian.org>
10564 * buffer.C: replace hand-coded list with a map for the dep clean
10566 2003-02-08 John Levon <levon@movementarian.org>
10568 * LaTeX.C: consolidate code into showRunMessage() helper
10570 2003-02-08 John Levon <levon@movementarian.org>
10575 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10576 and pass the size in explicitly
10578 * BufferView_pimpl.h:
10579 * BufferView_pimpl.C:
10581 * BufferView.C: add getCurrentChange()
10583 * BufferView_pimpl.h:
10584 * BufferView_pimpl.C: handle change lfuns
10586 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10587 for changes. Mark pasted paragraphs as new.
10589 * support/lyxtime.h:
10590 * support/lyxtime.C:
10591 * DepTable.C: abstract time_t as lyx::time_type
10594 * LColor.C: add colours for new text, deleted text, changebars
10596 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10597 package use "usenames" option.
10601 * LyXAction.C: add change lfuns
10605 * author.C: author handling
10608 * buffer.C: add a per-buffer author list, with first entry as
10609 current author. Handle new .lyx tokens for change tracking. Output
10610 author list to .lyx file. Output dvipost stuff to .tex preamble.
10611 Bump lyx format to 222.
10614 * bufferlist.C: add setCurrentAuthor() to reset current author details
10618 * bufferparams.C: add param for tracking
10620 * bufferview_funcs.C: output change info in minibuffer
10624 * changes.C: add change-tracking structure
10627 * debug.C: add CHANGES debug flag
10630 * lyxfind.C: add code for finding the next change piece
10633 * lyxrc.C: add user_name and user_email
10636 * lyxrow.C: add a metric for the top of the text line
10639 * text.C: implement accept/rejectChange()
10642 * text.C: paint changebars. Paint new/deleted text in the chosen
10643 colours. Strike through deleted text.
10647 * paragraph_pimpl.h:
10648 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10649 in the current change to the insert functions. Rework erase to
10650 mark text as deleted, adding an eraseIntern() and a range-based
10651 erase(). Implement per-paragraph change lookup and
10654 * paragraph_funcs.C: Fixup paste for change tracking.
10656 * tabular.C: mark added row/columns as new.
10658 * text.C: fix rowLast() to never return -1. Don't allow
10659 spellchecking of deleted text. Track transpose changes. Don't
10660 allow paragraph break or merge where appropriate.
10662 * text2.C: leave cursor at end of selection after a cut.
10664 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10666 * text.C (getLengthMarkerHeight):
10667 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10668 visible on screen too.
10670 2003-02-07 John Levon <levon@movementarian.org>
10672 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10674 2003-02-05 Angus Leeming <leeming@lyx.org>
10676 * lyxserver.C (read_ready): revert my patch of 11 September last year
10677 as it sends PC cpu through the roof. Presumably this means that
10678 the lyxserver will no longer run on an Alpha...
10680 2003-01-30 Angus Leeming <leeming@lyx.org>
10682 * factory.C (createInset): create an InsetCommandParam of type "index"
10683 and use it to 'do the right thing'.
10685 * text2.C (getStringToIndex): ensure that cursor position is always
10686 reset to the reset_cursor position.
10688 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10690 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10693 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10697 * lyxfunc.C: Output messages with identical spelling, punctuation,
10700 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10702 * MenuBackend.C (expandFormats): List only viewable export formats
10705 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10708 * lyxfunc.C (getStatus): Make sure that formats other than
10709 "fax" can also be disabled
10711 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10713 * text3.C (dispatch): put the lfuns that insert insets in 3
10714 groups, and call doInsertInset with appropriate arguments.
10715 (doInsertInset): new function, that creates an inset and inserts
10716 it according to some boolean parameters.
10718 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10720 * buffer.C (readFile): remember to pass on 'par' when calling
10721 readFile recursively.
10723 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10725 * MenuBackend.C (expandFormats): add "..." to import formats.
10727 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10729 * paragraph.C (asString): Remove XForms RTL hacks.
10731 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10732 * buffer.C: fix typo
10734 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10736 * Makefile.am (LIBS): delete var
10737 (lyx_LDADD): add @LIBS@ here instead.
10739 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10741 * Clarify the meaning of "wheel mouse jump"
10743 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10745 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10748 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10750 * importer.C (Loaders): do not preallocate 3 elements in the
10751 vector, since one ends up with 6 elements otherwise
10753 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10755 * DepTable.C (write): write the file name as last element of the
10756 .dep file (because it may contain spaces)
10757 (read): read info in the right order
10759 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10761 * paragraph_pimpl.C (simpleTeXBlanks):
10762 (simpleTeXSpecialChars):
10763 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10765 * tabular.C (latex): add some missing case statements. Reindent.
10767 * MenuBackend.C (expandToc): remove unused variable.
10769 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10778 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10781 2003-01-05 John Levon <levon@movementarian.org>
10784 * BufferView.C: add getEncoding()
10787 * kbsequence.C: do not store last keypress
10790 * lyxfunc.C: store last keypress here instead. Pass encoding
10793 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10795 * lyx_main.C (init): remove annoying error message when following
10796 symbolic links (bug #780)
10798 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10800 * text.C (insertChar):
10801 * lyxrc.C (getDescription): remove extra spaces
10803 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10805 * lyxrc.C (getDescription): remove extra spaces
10807 2002-12-20 John Levon <levon@movementarian.org>
10809 * text3.C: hack fix for page up/down across tall rows
10811 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10813 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10816 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10818 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10819 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10820 thesaurus is not compiled in
10822 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10824 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10826 2002-12-16 Angus Leeming <leeming@lyx.org>
10829 * lyx_main.C (init): remove override_x_deadkeys stuff.
10831 2002-12-12 John Levon <levon@movementarian.org>
10833 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10834 insert. Only remove shift modifier under strict
10837 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10839 * MenuBackend.C (expandToc): fix crash.
10841 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10843 * MenuBackend.C (expandToc): gettext on float names.
10845 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10847 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10848 implement bool empty() [bug 490]
10850 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10852 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10854 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10856 * several files: ws changes
10858 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10860 * text2.C (setCounter): clean up a bit, use boost.format.
10861 (updateCounters): initialize par upon declaration.
10863 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10864 if the layout exists. We do not just store the layout any more.
10865 (SwitchLayoutsBetweenClasses): use boost.format
10867 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10869 * converter.C (convert): if from and to files are the same, use a
10870 temporary files as intermediary
10872 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10875 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10877 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10879 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10881 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10883 * tabular.C (asciiPrintCell): use string(size, char) instead of
10886 * sgml.C (openTag): fix order of arguments to string constructor
10889 * lyxfunc.C (dispatch): use boost.format
10891 * lots of files: change "c" -> 'c'
10893 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10895 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10897 2002-11-25 Angus Leeming <leeming@lyx.org>
10899 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10901 * lyx_main.C (init): compile fix.
10903 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10905 * lyx_cb.C (start): boost.formatify
10906 do not include <iostream>
10908 * lengthcommon.C: ws only
10910 * boost-inst.C,BoostFormat.h: add more explict instantations
10912 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10914 * lots of files: handle USE_BOOST_FORMAT
10916 2002-11-21 John Levon <levon@movementarian.org>
10918 * pspell.C: fix compile
10920 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10922 * lyxfunc.C (dispatch): use boost::format
10926 * lyxfont.C (stateText): use boost::format
10928 * lyx_main.C (LyX): use boost::format
10930 (queryUserLyXDir): ditto
10931 (readRcFile): ditto
10933 (typedef boost::function): use the recommened syntax.
10935 * importer.C (Import): use boost::format
10937 * debug.C (showLevel): use boost::format
10939 * converter.C (view): use boost::format
10944 * bufferview_funcs.C (currentState): use boost::format
10946 * bufferlist.C (emergencyWrite): use boost::format
10948 * buffer.C (readLyXformat2): use boost::format
10949 (parseSingleLyXformat2Token): ditto
10951 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10953 * LaTeX.C (run): use boost::format
10955 * Chktex.C (scanLogFile): use boost::format
10957 * BufferView_pimpl.C (savePosition): use boost::format
10958 (restorePosition): ditto
10959 (MenuInsertLyXFile): ditto
10961 * BoostFormat.h: help file for explicit instation.
10963 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10965 * tabular.C (latex): Support for block alignment in fixed width
10968 2002-11-17 John Levon <levon@movementarian.org>
10970 * BufferView_pimpl.C:
10972 * lyxfunc.C: split filedialog into open/save
10974 2002-11-08 Juergen Vigna <jug@sad.it>
10976 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10977 by my last patch (hopefully).
10979 2002-11-08 John Levon <levon@movementarian.org>
10988 * toc.C: ParConstIterator, and use it (from Lars)
10990 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10992 * lyxtextclass.[Ch]: revise and add doxygen comments
10994 2002-11-07 John Levon <levon@movementarian.org>
10996 * text.C: fix progress value for spellchecker
10998 * toc.C: fix navigate menu for insetwrap inside minipage
11000 * paragraph_funcs.C: added FIXME for suspect code
11002 2002-11-07 John Levon <levon@movementarian.org>
11004 * BufferView_pimpl.C: fix redrawing of insets
11007 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11009 * text2.C (updateCounters): fix bug 668
11011 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
11013 * text3.C (dispatch): Do not make the buffer dirty when moving the
11016 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11018 * vc-backend.C: STRCONV
11019 (scanMaster): ditto
11021 * text2.C (setCounter): STRCONV
11023 * paragraph.C (asString): STRCONV
11025 * lyxlength.C (asString): STRCONV
11026 (asLatexString): ditto
11028 * lyxgluelength.C (asString): STRCONV
11029 (asLatexString): ditto
11031 * lyxfunc.C (dispatch): STRCONV
11034 * lyxfont.C (stateText): STRCONV
11036 * importer.C (Import): STRCONV
11038 * counters.C (labelItem): STRCONV
11039 (numberLabel): ditto
11040 (numberLabel): remove unused ostringstream o
11045 * bufferview_funcs.C (currentState): STRCONV
11047 * buffer.C (readFile): STRCONV
11048 (asciiParagraph): ditto
11049 (makeLaTeXFile): ditto
11051 * Spacing.C (writeEnvirBegin): STRCONV
11053 * LaTeXFeatures.C (getLanguages): STRCONV
11054 (getPackages): ditto
11056 (getBabelOptions): ditto
11057 (getTClassPreamble): ditto
11058 (getLyXSGMLEntities): ditto
11059 (getIncludedFiles): ditto
11063 (scanAuxFile): ditto
11066 * LString.h: add the STRCONV macros
11068 * BufferView_pimpl.C (savePosition): STRCONV
11069 (restorePosition): ditto
11070 (MenuInsertLyXFile): ditto
11072 * vc-backend.C (scanMaster): change from submatch[...] to
11075 * funcrequest.C: include config.h
11077 * factory.C: include config.h
11079 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11081 * box.C: include config.h
11083 * LaTeX.C (scanAuxFile): change from submatch[...] to
11087 2002-10-25 Angus Leeming <leeming@lyx.org>
11089 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11091 * ispell.[Ch] (setError): new method.
11092 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11093 Use setError() insetead of goto END.
11095 * lyx_cb.C (AutoSave): move out child process into new class
11098 2002-10-30 John Levon <levon@movementarian.org>
11100 * text3.C: make start appendix undoable
11102 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11104 * lyxlength.C (inPixels): Fix returned value.
11106 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11109 2002-10-24 Angus Leeming <leeming@lyx.org>
11111 * lyxgluelength.h: no need to forward declare BufferParams
11112 or BufferView, so don't.
11114 2002-10-21 John Levon <levon@movementarian.org>
11116 * BufferView.C: menuUndo ->undo, redo
11118 * BufferView.h: document, remove dead, make some methods private
11120 * paragraph_funcs.h:
11121 * paragraph_funcs.C:
11122 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11127 * sgml.C: move sgml open/close tag into sgml.C
11129 * bufferview_funcs.h: unused prototype
11132 * lyxfunc.C: remove unused
11135 * text.C: remove unused
11137 2002-10-21 John Levon <levon@movementarian.org>
11141 * BufferView_pimpl.h:
11142 * BufferView_pimpl.C: fix mouse wheel handling based on
11143 patch from Darren Freeman
11145 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11147 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11149 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11151 * lyxlength.C (inPixels): Fix hanfling of negative length.
11152 Fix LyXLength::MU case.
11154 2002-10-16 John Levon <levon@movementarian.org>
11156 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11158 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11160 * converter.C (view): add support for $$i (file name) and $$p
11161 (file path) for the viewer command. If $$i is not specified, then
11162 it is appended to the command (for compatibility with old syntax)
11164 2002-10-14 Juergen Vigna <jug@sad.it>
11166 * undo_funcs.C (textHandleUndo): alter the order in which the
11167 new undopar is added to the LyXText, as we have to set first
11168 the right prev/next and then add it as otherwise the rebuild of
11169 LyXText is not correct. Also reset the cursor to the right paragraph,
11170 with this IMO we could remove the hack in "redoParagraphs()".
11172 2002-10-09 Angus Leeming <leeming@lyx.org>
11174 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11175 to turn off an optimisation if a new inset is to be inserted.
11177 2002-10-11 André Pönitz <poenitz@gmx.net>
11179 * lyxtext.h: make some functions public to allow access
11180 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11182 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11184 * text3.C (dispatch): when changing layout, avoid an infinite loop
11187 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11189 * lyxrc.C (read): treat a viewer or converter command of "none" as
11192 * MenuBackend.C (expandFormats): for an update, also allow the
11193 formats that are not viewable
11195 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11196 script if it is newer than the lyxrc.defaults in user directory
11198 2002-10-07 André Pönitz <poenitz@gmx.net>
11200 * text.C: Vitaly Lipatov's small i18n fix
11202 2002-09-25 Angus Leeming <leeming@lyx.org>
11204 * ispell.h: doxygen fix.
11206 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11208 * buffer.h (readFile): Add a new argument to the method, to allow
11209 reading of old-format templates.
11211 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11213 * toc.C (getTocList): Get TOC from InsetWrap.
11215 2002-09-16 John Levon <levon@movementarian.org>
11217 * lyxfunc.C: check tabular for cut/copy too
11219 2002-09-12 John Levon <levon@movementarian.org>
11221 * LyXAction.C: tidy
11224 * factory.C: add header
11226 * paragraph_funcs.h:
11227 * paragraph_funcs.C: cleanup
11229 2002-09-11 John Levon <levon@movementarian.org>
11231 * PrinterParams.h: odd/even default to true
11233 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11235 * PrinterParams.h: update printer parameters for new xforms dialog
11237 2002-09-11 Angus Leeming <leeming@lyx.org>
11239 * lyxserver.C (read_ready): re-write to make it more transparent
11240 and to make it work in coherent fashion under Tru64 Unix.
11242 2002-09-11 André Pönitz <poenitz@gmx.net>
11246 * text3.C: implement LFUN_WORDSEL
11248 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11250 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11251 make floatlist_ a boost::shared_ptr<FloatList>
11253 * lyxtextclass.C: include FloatList.h
11254 (LyXTextClass): initialize floatlist_
11255 (TextClassTags): add TC_NOFLOAT
11256 (Read): match "nofloat" to TC_NOFLOAT and use it.
11257 (readFloat): modify call to floatlist_
11261 * FloatList.[Ch] (FloatList): remove commented out float
11263 (erase): new function
11265 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11267 * MenuBackend.C (expandToc): fix crash when there is no document
11270 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11272 * many files: Add insetwrap.
11274 2002-09-09 John Levon <levon@movementarian.org>
11276 * text2.C: remove confusing and awkward depth wraparound
11278 2002-09-09 John Levon <levon@movementarian.org>
11280 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11283 * buffer.C: remove getIncludeonlyList()
11286 * lyxfunc.C: remove headers
11288 2002-09-09 Juergen Vigna <jug@sad.it>
11290 * text.C (getColumnNearX): fix form Michael this is most
11291 probably a cut&paste bug.
11293 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11295 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11297 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11298 references, ws changes.
11300 * text2.C (init): update counters after init
11301 (insertParagraph): no need to set counter on idividual paragraphs.
11302 (setCounter): access the counters object in the textclass object
11303 on in the buffer object.
11304 (updateCounters): ditto
11306 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11307 shared_ptr<Counters> to avoid loading counters.h in all
11309 (LyXTextClass): initialize ctrs_
11310 (TextClassTags): add TC_COUNTER, and ...
11311 (Read): use it here.
11312 (CounterTags): new tags
11313 (readCounter): new function
11314 (counters): new funtion
11315 (defaultLayoutName): return a const reference
11317 * counters.C (Counters): remove contructor
11318 (newCounter): remove a couple of unneeded statements.
11319 (newCounter): simplify a bit.
11320 (numberLabel): some small formatting changes.
11322 * buffer.[Ch]: remove all traces of counters, move the Counters
11323 object to the LyXTextClass.
11325 2002-09-06 Alain Castera <castera@in2p3.fr>
11327 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11328 package to set the horizontal alignment on fixed width columns.
11331 * lyx_sty.h: added tabularnewline macro def.
11333 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11335 2002-09-06 John Levon <levon@movementarian.org>
11337 * LyXAction.C: tooltips for sub/superscript
11339 * MenuBackend.C: a bit more verbose
11341 * lyxfunc.C: tiny clean
11343 * undo_funcs.C: document undo_frozen
11345 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11347 * counters.C (Counters): add missing algorithm counter.
11349 * text2.C (setCounter): lookup the counter with layouts latexname
11350 instead of by section number.
11351 (setCounter): use a hackish way to lookup the correct enum
11353 a float name->type change
11354 reset enum couners with counter name directly instead of depth value.
11356 * counters.C (Counters): remove the push_backs, change to use the
11357 float type not the float name.
11358 (labelItem): remove unused string, float name->type change
11360 * counters.h: don't include vector, loose the enums and sects vectors
11362 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11364 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11365 (Read): add float->TC_FLOAT to textclassTags
11366 (Read): and handle it in the switch
11367 (readFloat): new function
11369 * FloatList.C (FloatList): comment out the hardcoded float
11372 * lyxlayout.h: ws change.
11374 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11376 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11378 2002-09-03 Angus Leeming <leeming@lyx.org>
11380 * BufferView_pimpl.h: qualified name is not allowed in member
11381 declaration: WorkArea & Pimpl::workarea() const;
11383 * factory.C: added using std::endl directive.
11385 * text3.C: added using std::find and std::vector directives.
11387 2002-08-29 André Pönitz <poenitz@gmx.net>
11390 * text2.C: remove unused member number_of_rows
11393 * BufferView2.C: remove file, move contents to...
11394 * BufferView.C: ... here
11396 * BufferView_pimpl.C:
11397 * factory.C: move more inset creation to factory
11399 * vspace.C: avoid direct usage of LyXText, ws changes
11402 don't provide direct access to WorkArea, use two simple
11403 acessors haveSelction() and workHeight() instead
11406 2002-08-29 John Levon <levon@movementarian.org>
11408 * BufferView_pimpl.C (dispatch): do not continue when
11411 2002-08-28 André Pönitz <poenitz@gmx.net>
11413 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11416 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11418 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11420 * buffer.C: increment LYX_FORMAT to 221
11422 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11423 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11425 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11427 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11429 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11431 * factory.C (createInset): use LyXTextClass::floats
11433 * MenuBackend.C (expandFloatListInsert):
11434 (expandFloatInsert):
11437 * text2.C (setCounter):
11439 * LaTeXFeatures.C (useFloat):
11440 (getFloatDefinitions):
11442 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11444 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11445 floatlist_, with accessor floats().
11447 * FloatList.h: remove global FloatList
11449 2002-08-26 André Pönitz <poenitz@gmx.net>
11451 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11455 * BufferView_pimpl.C:
11456 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11458 2002-08-25 John Levon <levon@movementarian.org>
11460 * LyXAction.C: fix margin note description
11462 2002-08-24 John Levon <levon@movementarian.org>
11466 * bufferview_funcs.C:
11468 * undo_funcs.C: cleanups
11470 * lyxfunc.C: disable CUT/COPY when no selection
11472 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11474 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11475 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11477 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11478 Add backward compatibility to "mono", "gray" and "no".
11480 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11482 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11483 (and file_format >= 200).
11485 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11487 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11489 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11491 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11493 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11495 * BufferView_pimpl.C:
11502 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11503 inset and code to make it work with the paragraph code. The inset
11504 can be anywhere in the paragraph, but will only do the expected
11505 thing in LaTeX if the layout file contains the parameter line
11507 (or more generally, a nonzero value) for that layout.
11509 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11511 * paragraph.h: remove the declaration of undefined counters class
11514 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11516 * text2.C (setCounter): fixed enumeration mis-count as reported by
11517 Dr. Richard Hawkins.
11519 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11521 * paragraph_funcs.h: remove some unneeded includes
11523 * text.C (backspace): pasteParagraph now in global scipe
11525 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11526 (pasteSelection): ditto
11528 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11529 * paragraph_funcs.C (pasteParagraph): ... here
11531 2002-08-20 André Pönitz <poenitz@gmx.net>
11533 * commandtags.h: new LFUNs for swapping/copying table row/colums
11536 * lyxfunc.C: support for new lfuns
11538 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11541 * buffer.[Ch]: remove NO_COMPABILITY stuff
11543 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11545 * boost.C (throw_exception): new file, with helper function for
11546 boost compiled without exceptions.
11551 * ParameterStruct.h:
11552 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11554 * bufferlist.C (emergencyWriteAll): use boost bind
11556 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11558 * text.C: include paragraph_funcs.h
11559 (breakParagraph): breakParagraph is now in global scope
11561 * paragraph_funcs.[Ch]: new files
11563 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11566 * buffer.C: include paragraph_funcs.h
11567 (insertStringAsLines): breakParagraph is now in global scope
11569 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11572 * CutAndPaste.C: include paragraph_funcs.h
11573 (cutSelection): breakParagraphConservative is now in global scope
11574 (pasteSelection): ditto
11576 * buffer.h: declare oprator== and operator!= for
11577 Buffer::inset_iterator
11579 * bufferlist.C (emergencyWrite): don't use fmt(...)
11581 * text3.C: add using std::endl
11583 * BufferView.C (moveCursorUpdate): remove default arg
11585 2002-08-20 André Pönitz <poenitz@gmx.net>
11587 * buffer.[Ch]: move inline functions to .C
11590 * BufferView_pimpl.C:
11592 * buffer.[Ch]: use improved inset_iterator
11595 * paragraph.[Ch]: write one paragraph at a time
11597 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11599 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11600 style if style is not specified.
11602 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11604 * text2.C (setCounter): when searching for right label for a
11605 caption, make sure to recurse to parent insets (so that a caption
11606 in a minipage in a figure float works) (bug #568)
11608 2002-08-20 André Pönitz <poenitz@gmx.net>
11610 * text3.C: new file for LyXText::dispatch() and helpers
11612 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11614 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11616 2002-08-19 André Pönitz <poenitz@gmx.net>
11619 * text.C: new LyXText::dispatch()
11621 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11623 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11625 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11627 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11630 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11632 * Makefile.am: use $(variables) instead of @substitutions@
11634 2002-08-15 André Pönitz <poenitz@gmx.net>
11637 * BufferView_pimpl.C: streamlining mathed <-> outer world
11641 * LyXAction.C: remove unused LFUN_MATH
11643 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11645 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11647 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11649 * paragraph.C (Paragraph): reformat a bit
11650 (cutIntoMinibuffer): use builtin InsetList function instad of
11654 * buffer.C: include boost/bind.hpp, add using std::for_each
11655 (writeFileAscii): use ParagraphList iterators
11656 (validate): use for_each for validate traversal of paragraphs
11657 (getBibkeyList): use ParagraphList iterators
11658 (resizeInsets): use for_each to resizeInsetsLyXText for all
11660 (getParFromID): use ParagraphList iterators
11662 * BufferView2.C (lockInset): use paragraph list and iterators
11664 2002-08-14 John Levon <levon@movementarian.org>
11666 * lyxserver.C: remove spurious xforms include
11668 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11670 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11672 2002-08-13 André Pönitz <poenitz@gmx.net>
11675 * lyxfunc.C: further cleaning
11677 2002-08-13 André Pönitz <poenitz@gmx.net>
11679 * funcrequest.h: new constructor
11681 * funcrequest.C: move stuff here from .h
11684 * BufferView_pimpl.C:
11687 * lyxfunc.C: subsequent changes
11689 * lyxfunc.h: new view() member function
11691 * lyxfunc.C: subsequent changes
11693 2002-08-13 Angus Leeming <leeming@lyx.org>
11696 * BufferView_pimpl.C:
11704 changes due to the changed LyXView interface that now returns references
11705 to member variables not pointers.
11707 2002-08-13 Angus Leeming <leeming@lyx.org>
11709 * WordLangTuple (word, lang_code): return references to strings,
11714 * lyxtext.h: forward-declare WordLangTuple.
11719 * text.C: #include "WordLangTuple.h".
11722 * text.C: (selectNextWordToSpellcheck): constify return type.
11724 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11730 * paragraph_pimpl.h:
11733 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11734 suggested by Angus.
11735 Made updateCounter always count from start of buffer, and removed
11736 second argument (par).
11737 Reverted floats number display to '#'. Perhaps I'll try again when the
11738 code base is sanitized a bit.
11740 2002-08-12 Angus Leeming <leeming@lyx.org>
11742 * buffer.[Ch] (getLabelList): constify.
11744 2002-08-07 André Pönitz <poenitz@gmx.net>
11746 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11748 * funcrequest.h: extension to keep mouse (x,y) position
11750 2002-08-12 Juergen Vigna <jug@sad.it>
11752 * BufferView2.C (insertErrors): forbid undo when inserting error
11755 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11757 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11759 * ParagraphList.[Ch]: new files
11761 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11763 * BufferView2.C (lockInset): ParagraphList changes
11766 * bufferlist.C: ditto
11770 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11772 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11773 unused class variable counter_,
11775 * paragraph.[Ch] (getFirstCounter): delete unused function
11777 * counters.C: include LAssert.h
11778 (reset): add a new function with no arg, change other version to
11779 not have def. arg and to not allow empty arg.
11781 * text2.C (setCounter): remove empty arg from call to Counters::reset
11783 2002-08-11 John Levon <levon@movementarian.org>
11785 * Makefile.am: add WordLangTuple.h
11787 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11789 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11790 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11792 * insets/insettext.C: InsetList changes
11794 * graphics/GraphicsSupport.C (operator()): InsetList changes
11796 * toc.C (getTocList): InsetList changes
11798 * paragraph_pimpl.[Ch]: InsetList changes
11800 * paragraph.[Ch]: InsetList changes
11802 * buffer.C (inset_iterator): InsetList changes
11803 (setParagraph): ditto
11804 * buffer.h (inset_iterator): ditto
11805 * iterators.C (operator++): ditto
11806 * iterators.h: ditto
11808 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11810 * InsetList.[Ch]: new files, most InsetList handling moved out of
11813 * BufferView2.C (removeAutoInsets): InsetList changes
11815 (ChangeInsets): ditto
11817 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11819 * paragraph_pimpl.h (empty): new function
11821 * paragraph.[Ch] (empty): new function
11823 * other files: use the new Paragraph::empty function
11825 2002-08-09 John Levon <levon@movementarian.org>
11827 * lyxtext.h: remove unused refresh_height
11829 2002-08-09 John Levon <levon@movementarian.org>
11836 * paragraph.C: move sgml char escaping out of paragraph
11839 * paragraph.C: remove id setter
11843 * paragraph_pimpl.C: remove dead tex_code_break_column
11845 * bufferview_funcs.C: small cleanup
11847 * lyxfunc.C: remove dead proto
11849 * lyxtext.h: make some stuff private. Remove some dead stuff.
11851 * lyxgluelength.C: make as[LyX]String() readable
11853 2002-08-08 John Levon <levon@movementarian.org>
11858 * ToolbarDefaults.C:
11861 * toc.C: lyxaction cleanup
11863 2002-08-08 John Levon <levon@movementarian.org>
11865 * BufferView2.C: small cleanup
11868 * lyxfind.C: move unnecessary header into the .C
11870 2002-08-08 John Levon <levon@movementarian.org>
11872 * funcrequest.h: just tedious nonsense
11875 * lyx_main.C: cleanups
11878 * vspace.C: remove dead header lyx_main.h
11880 2002-08-07 Angus Leeming <leeming@lyx.org>
11883 * paragraph_pimpl.h:
11884 Forward declare class Counters in paragraph.h by moving the ctrs member
11885 variable into Paragraph::Pimpl.
11886 (counters): new method, returning a reference to pimpl_->ctrs.
11888 * text2.C: ensuing changes.
11890 2002-08-07 John Levon <levon@movementarian.org>
11892 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11894 * BufferView_pimpl.C: announce X selection on double/triple
11897 * lyx_main.C: use correct bool in batch dispatch
11899 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11901 2002-08-07 André Pönitz <poenitz@gmx.net>
11903 * funcrequest.h: new class to wrap a kb_action and its argument
11906 * BufferView_pimpl[Ch]:
11910 * lyxrc.C: subsequent changes
11913 2002-08-07 John Levon <levon@movementarian.org>
11915 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11916 document options change.
11918 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11923 * makefile.am: move counters functionality over from
11924 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11926 2002-08-06 John Levon <levon@movementarian.org>
11928 * WordLangTuple.h: new file for word + language code tuple
11939 * BufferView2.C: use WordLangTuple
11942 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11944 2002-08-06 John Levon <levon@movementarian.org>
11946 * lyx_main.C: fix cmdline batch handling
11948 2002-08-06 André Pönitz <poenitz@gmx.net>
11950 * lyxrc.C: set default for show_banner to true
11952 2002-08-06 John Levon <levon@movementarian.org>
11954 * pspell.C: fix a crash, and allow new aspell to work
11956 2002-08-06 John Levon <levon@movementarian.org>
11959 * kbmap.C: small cleanup
11962 * vspace.C: add const
11964 2002-08-05 John Levon <levon@movementarian.org>
11966 * LyXAction.C: back to tabular-insert
11968 2002-08-04 John Levon <levon@movementarian.org>
11971 * BufferView.C: cosmetic change
11973 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11983 * BufferView2.C: purge all "Lyx" not "LyX" strings
11986 * lyxcursor.C: attempt to add some documentation
11991 * ToolbarDefaults.C:
11992 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11993 merge with LFUN_TABULAR_INSERT
12000 * pspell.C: split up i/pspell implementations into separate
12001 files, many cleanups
12003 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
12005 * text2.C: some cleanup
12007 * lyxfunc.C: don't check for isp_command == "none" any more, it
12008 didn't make any sense
12010 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
12015 * makefile.am: move counters functionality over
12016 from text2.C/paragraph.[Ch] to counters.[Ch], and
12018 2002-08-02 John Levon <levon@movementarian.org>
12020 * buffer.C: s/lyxconvert/lyx2lyx/
12022 2002-08-02 Angus Leeming <leeming@lyx.org>
12024 * lyxlex.C: revert John's change as it breaks reading of the user
12027 2002-08-02 Angus Leeming <leeming@lyx.org>
12029 * importer.C (Import):
12030 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12031 changes due to LyXView::view() now returning a boost::shared_ptr.
12033 2002-08-02 John Levon <levon@movementarian.org>
12035 * lyxlex.C: small cleanup
12037 2002-08-02 John Levon <levon@movementarian.org>
12039 * text2.C (status): small cleanup, no logic change
12041 2002-08-01 John Levon <levon@movementarian.org>
12044 * buffer.C (writeFile): don't output alerts, caller
12048 * lyx_cb.C: from above
12050 * lyxfunc.C: allow to open non-existent files
12052 2002-07-31 John Levon <levon@movementarian.org>
12054 * lyxserver.C: don't let incidental errors get
12057 2002-07-30 John Levon <levon@movementarian.org>
12059 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12061 2002-07-30 John Levon <levon@movementarian.org>
12064 * lyxserver.C: remove I/O callback too
12066 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12068 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12071 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
12073 * many files: strip,frontStrip -> trim,ltrim,rtrim
12075 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
12077 * PrinterParams.h: remove extern containsOnly, and include
12078 support/lstrings.h instead.
12080 * LaTeX.C (scanAuxFile): modify because of strip changes
12082 * buffer.C (makeLaTeXFile): ditto
12083 * bufferparams.C (writeFile): ditt
12084 * lyxfont.C (stateText): ditto
12085 * lyxserver.C (read_ready): ditto
12086 * vc-backend.C (scanMaster): ditto
12088 * BufferView_pimpl.h: ws changes
12090 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12092 2002-07-26 André Pönitz <poenitz@gmx.net>
12094 * kb_sequence.C: remove unnedred usings
12096 2002-07-26 Juergen Vigna <jug@sad.it>
12098 * lyxfind.C (LyXReplace): we have to check better if the returned
12099 text is not of theLockingInset()->getLockingInset().
12101 2002-07-25 Juergen Vigna <jug@sad.it>
12103 * lyxfind.C (LyXReplace): don't replace if we don't get the
12106 * undo_funcs.C (createUndo): remove debugging code.
12108 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12110 * buffer.C (parseSingleLyXformat2Token): Use default placement
12111 when reading old floats.
12113 * FloatList.C (FloatList): Change the default placement of figure
12114 and tables to "tbp".
12116 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12118 * MenuBackend.C: using std::max
12120 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12122 * MenuBackend.C (expandToc):
12123 (expandToc2): code moved from xforms menu frontend. It is now
12124 generic and TOCs are transparent to menu frontends.
12126 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12128 * toc.C (getTocList): protect against buf=0
12130 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12131 Menu as first parameter. Now, this calls itself recursively to
12132 expand a whole tree (this will be useful for TOC handling)
12133 (expandFloatInsert): remove 'wide' version of floats
12135 * MenuBackend.h (submenuname): returns the name of the submenu.
12136 (submenu): returns the submenu itself, provided it has been
12137 created by MenuBackend::expand
12139 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12141 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12142 insets which have noFontChange == true. (bug #172)
12144 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * BufferView_pimpl.C: add connection objects and use them...
12149 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12151 * MenuBackend.C (expandLastfiles):
12154 (expandFloatListInsert):
12155 (expandFloatInsert):
12156 (expand): split expand in parts
12158 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12160 * lyx_gui.C: use lyx_gui::exit()
12162 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12164 * LyXAction.C: show the failing pseudo action
12166 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12168 * buffer.C (readFile): Run the lyxconvert script in order to read
12171 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12175 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12177 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12181 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12183 2002-07-22 Herbert Voss <voss@lyx.org>
12186 * lyxlength.[Ch]: add support for the vertical lengths
12188 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12190 * toc.[Ch]: std:: fixes
12192 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12194 * lyxrc.C: do not include lyx_main.h
12196 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12202 * BufferView2.C: include "lyxlex.h"
12205 * bufferparams.h: do not #include "lyxlex.h"
12207 * lyxtextclasslist.C (Add): remove method
12208 (classlist): renamed to classlist_
12210 * paragraph_pimpl.C:
12214 * bufferview_funcs.C:
12219 * toc.C (getTocList): use BufferParams::getLyXTextClass
12221 * toc.C (getTocList): use InsetFloat::addToToc
12223 * toc.[Ch]: new files, containing helper functions to handle table
12226 * lyxfunc.C (dispatch): no need to remove spaces around command
12228 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12229 first command of the sequence; it is not very clever, but I do not
12230 have a better idea, actually
12232 * LyXAction.C (LookupFunc): make sure to remove space at the
12233 beginning and end of the command
12235 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12237 * MenuBackend.C (getMenubar): new method: return the menubar of
12239 (read): treat differently reading of menu and menubar (in
12240 particular, the menubar has no name now)
12241 (Menu::menubar): remove
12243 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12246 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12248 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12249 a bibitem inset in a RTL paragraph.
12251 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12253 * paragraph_pimpl.C: constify
12255 * BufferView_pimpl.C:
12257 * lyxfunc.C: fix dispatch in a nicer way
12259 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12261 * lyxfunc.C (dispatch):
12262 * BufferView_pimpl.C:
12263 * BufferView_pimpl.h:
12265 * BufferView.h: rename Dispatch() to dispatch()
12267 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12269 * lyxlayout.C (Read): honor DependsOn tag
12271 * lyxlayout.[Ch] (depends_on): new method
12273 * version.C.in: update lyx_docversion
12275 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12277 * paragraph.C (validate): remove from here...
12278 * paragraph_pimpl.C (validate): ... and move here
12279 (isTextAt): make it const
12281 * buffer.C (getLists): ws cleanup
12283 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12285 * language.C (read): Use iso8859-1 encoding in latex_lang
12286 (this prevents LyX from crashing when using iso10646-1 encoding).
12288 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12290 * text2.C (toggleInset): if cursor is inside an inset, close the
12291 inset and leave cursor _after_ it
12293 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12295 * lyxfunc.C: move minibuffer completion handling out of here
12297 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12299 * BufferView_pimpl.C:
12300 * LaTeX.C: fix dispatch calls
12302 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12304 * text.C (drawChars): Fix Arabic text rendering.
12306 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12310 * lyxfunc.C: remove message-push/pop
12314 * lyxfunc.C: rationalise some code by removing verboseDispatch
12315 in favour of a bool argument to dispatch()
12317 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12319 * lyx_main.C (init): make sure to read symlinks as absolute paths
12321 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12324 * lyxfunc.C: no need for commandshortcut to be a member
12326 2002-07-15 André Pönitz <poenitz@gmx.net>
12328 * converter.C: add support for $$s (scripts from lib/scripts dir)
12329 * lyx_main.C: white space
12331 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12335 * lyxrc.C: remove second exit confirmation
12337 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12342 * BufferView_pimpl.h:
12343 * BufferView_pimpl.C:
12344 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12346 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12348 * MenuBackend.C (expand): add numeric shortcuts to document menu
12350 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12352 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12354 * lyxfont.C (setLyXFamily):
12361 * buffer.C (asciiParagraph): use ascii_lowercase
12363 2002-07-15 Mike Fabian <mfabian@suse.de>
12365 * lyxlex_pimpl.C (search_kw):
12366 * lyxlex.C (getLongString):
12367 * converter.h (operator<):
12368 * converter.C (operator<):
12369 * buffer.C (parseSingleLyXformat2Token):
12371 * ToolbarDefaults.C (read):
12372 * MenuBackend.C (checkShortcuts):
12374 * LColor.C (getFromGUIName):
12375 (getFromLyXName): use the compare_ascii_no_case instead of
12376 compare_no_case, because in turkish, 'i' is not the lowercase
12377 version of 'I', and thus turkish locale breaks parsing of tags.
12379 2002-07-16 Angus Leeming <leeming@lyx.org>
12381 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12382 now takes a Buffer const & argument.
12384 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12386 * BufferView.C (resize): check there's a buffer to resize
12388 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12390 * lyxfunc.C: remove dead code
12393 * lyxserver.C: use lyx_guii::set_read_callback
12395 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12397 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12398 an inset in a RTL paragraph.
12400 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12402 * lyxfunc.C: repaint after a font size update
12404 2002-07-15 André Pönitz <poenitz@gmx.net>
12406 * lyxlength.C: inBP should be able to return negative values
12408 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12410 * lyxfunc.C: use lyx_gui::update_fonts()
12412 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12414 * lyxfunc.C: use lyx_gui::update_color()
12416 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12422 * lyxrc.C: remove file->new asks for name option, and let
12423 buffer-new take an argument
12425 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12427 * BufferView_pimpl.C: remove unneeded extra repaint()
12429 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12431 * LyXAction.C: allow command-sequence with NoBuffer
12433 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12435 2002-07-10 Angus Leeming <leeming@lyx.org>
12437 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12439 2002-07-09 Angus Leeming <leeming@lyx.org>
12441 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12443 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12445 * lengthcommon.h: whitespace
12447 * lyxfunc.C: update scrollbar after goto paragraph
12449 * lyxtext.h: factor out page break drawing, and fix it so
12450 page break/added space paints as selected nicely
12452 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12454 * BufferView_pimpl.C: add FIXMEs, clean up a little
12456 2002-07-09 André Pönitz <poenitz@gmx.net>
12458 * lyxfont.[Ch]: support for wasy symbols
12460 2002-07-08 André Pönitz <poenitz@gmx.net>
12462 * BufferView_pimpl.C: apply John's patch for #93.
12464 2002-07-05 Angus Leeming <leeming@lyx.org>
12466 * BufferView_pimpl.C (buffer): generate previews if desired.
12468 * LColor.h: add "preview" to the color enum.
12470 * LColor.C (LColor): add a corresponding entry to the items array.
12472 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12475 2002-07-05 Angus Leeming <leeming@lyx.org>
12477 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12478 The body of the code is now in the method that is passed an ostream &
12479 rather than a file name.
12480 Pass an additional only_preamble parameter, useful for the forthcoming
12483 2002-07-03 André Pönitz <poenitz@gmx.net>
12485 * lyxfunc.C: simplify getStatus() a bit for math stuff
12487 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12489 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12491 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12493 * text.C (changeRegionCase): do not change case of all the
12494 document when region ends at paragraph end (bug #461)
12496 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * paragraph.C (startTeXParParams):
12499 (endTeXParParams): add \protect when necessary
12501 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12503 * BufferView_pimpl.C (workAreaExpose): remove warning
12505 2002-06-27 Angus Leeming <leeming@lyx.org>
12507 * Makefile.am: add lyxlayout_ptr_fwd.h.
12509 2002-06-26 André Pönitz <poenitz@gmx.net>
12511 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12513 2002-06-25 Angus Leeming <leeming@lyx.org>
12515 * lyxfunc.C (dispatch): Comment out the call to
12516 grfx::GCache::changeDisplay. The method no longer exists now that the
12517 pixmap generation part of the graphics loader has been moved into
12520 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12522 * text2.C: layout as layout
12524 * text.C: layout as layout
12526 * tabular.C (OldFormatRead): layout as layout
12528 * paragraph_pimpl.C (TeXDeeper): layout as layout
12529 (realizeFont): layout as layout
12531 * paragraph.C (writeFile): layout as layout
12532 (validate): layout as layout
12533 (getFont): layout as layout
12534 (getLabelFont): layout as layout
12535 (getLayoutFont): layout as layout
12536 (breakParagraph): layout as layout
12537 (stripLeadingSpaces): layout as layout
12538 (getEndLabel): layout as layout
12539 (getMaxDepthAfter): layout as layout
12540 (applyLayout): layout as layout
12541 (TeXOnePar): layout as layout
12542 (simpleTeXOnePar): layout as layout
12543 (TeXEnvironment): layout as layout
12544 (layout): layout as layout
12545 (layout): layout as layout
12547 * lyxtextclass.C (compare_name): new functor to work with
12548 shared_ptr, layout as layout
12549 (Read): layout as layout
12550 (hasLayout): layout as layout
12551 (operator): layout as layout
12552 (delete_layout): layout as layout
12553 (defaultLayout): layout as layout
12555 * lyxlayout_ptr_fwd.h: new file
12557 * lyxlayout.C (Read): layout as layout
12559 * lyx_cb.C (MenuInsertLabel): layout as layout
12561 * bufferlist.C (newFile): layout as layout
12563 * buffer.C (readLyXformat2): layout as layout
12564 (parseSingleLyXformat2Token): layout as layout
12565 (insertStringAsLines): layout as layout
12566 (asciiParagraph): layout as layout
12567 (latexParagraphs): layout as layout
12568 (makeLinuxDocFile): layout as layout
12569 (simpleLinuxDocOnePar): layout as layout
12570 (makeDocBookFile): layout as layout
12571 (simpleDocBookOnePar): layout as layout
12572 (getLists): layout as layout
12574 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12576 * CutAndPaste.C (cutSelection): layout as layout
12577 (pasteSelection): layout as layout
12578 (SwitchLayoutsBetweenClasses): layout as layout
12580 * BufferView_pimpl.C (Dispatch): layout as layout
12581 (smartQuote): layout as layout
12583 * BufferView2.C (unlockInset): layout as layout
12585 2002-06-24 André Pönitz <poenitz@gmx.net>
12587 * lyxfunc.C: fix #487
12589 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12593 * lyxfunc.C: remove display_shortcuts, show_banner
12595 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12597 * Buffer_pimpl.C: oops, update on resize
12599 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12606 * BufferView.C: use repaint()
12608 * BufferView_pimpl.h:
12609 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12610 as it's a clearer description. Remove superfluous
12613 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12615 * text.C: fix bug 488. Not ideal, but getting
12616 getWord() to work properly for the insets that
12617 matter is more difficult ...
12619 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12621 * BufferView_pimpl.C:
12624 * lyxfunc.C: remove the six million index lyxfuncs to just
12625 one, and DTRT (bug 458)
12627 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12631 * BufferView_pimpl.h:
12632 * BufferView_pimpl.C: clean up resize() stuff,
12633 and unnecessary updateScreen()s
12635 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12639 * BufferView_pimpl.h:
12640 * BufferView_pimpl.C:
12643 * minibuffer.C: remove focus management of workarea,
12644 not needed. Use screen's greyOut()
12646 2002-06-17 Herbert Voss <voss@lyx.org>
12648 * converter.C: (convert) do not post a message, when converting
12649 fails, let the calling function decide what to do in this case
12651 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12653 * lyxfunc.C: tidy up a little
12655 2002-06-16 <alstrup@diku.dk>
12657 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12658 Got rid of FORMS_H_LOCATION include. Now we are
12661 2002-06-15 LyX Development team <lyx@rilke>
12663 * buffer.[Ch] (sgmlOpenTag):
12664 (sgmlCloseTag): Added support for avoiding pernicious mixed
12665 content. Return number of lines written.
12667 (makeLinuxDocFile):
12668 (makeDocBookFile): Fixed calls to sgml*Tag.
12669 Simple white space clean.
12671 (simpleDocBookOnePar): Simple white space clean.
12673 * tabular.[Ch] (docBook): Renamed to docbook and got another
12674 argument to related with the pernicious mixed content.
12676 (docbookRow): Fixed calls for docbook inset method.
12678 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12680 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12681 so it's X11 independent.
12685 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12687 2002-06-15 Lyx Development team <lyx@electronia>
12689 * intl.h: Renamed getTrans to getTransManager.
12691 2002-06-14 Angus Leeming <leeming@lyx.org>
12693 * Makefile.am: nuke forgotten stl_string_fwd.h.
12695 2002-06-12 Angus Leeming <leeming@lyx.org>
12697 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12699 2002-06-13 Angus Leeming <leeming@lyx.org>
12702 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12704 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12706 * kbmap.C (getiso): add support for cyrillic and greek
12708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12712 * BufferView_pimpl.h:
12713 * BufferView_pimpl.C: move bogus scrolling logic
12716 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12719 * BufferView_pimpl.C: view->resize() change
12721 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12723 * BufferView_pimpl.C: topCursorVisible
12726 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12730 * lyx_gui.C: move to frontends/
12734 * lyx_main.C: changes from above
12736 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12743 * lyx_main.C: minor tidy
12745 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12747 * BufferView_pimpl.h:
12748 * BufferView_pimpl.C:
12750 * BufferView.C: make painter() const,
12753 * BufferView2.C: use screen() accessor
12756 * lyx_main.C: some minor cleanup
12758 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12760 * BufferView_pimpl.h:
12761 * BufferView_pimpl.C: remove enter/leaveView,
12764 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12769 * BufferView_pimpl.h:
12770 * BufferView_pimpl.C: only construct screen once,
12773 * lyxrc.C: remove pointless comment
12775 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12778 * BufferView.C: remove active() and belowMouse()
12780 * BufferView_pimpl.h:
12781 * BufferView_pimpl.C: use workarea() not workarea_,
12782 and make it use a scoped_ptr instead
12784 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12786 * lyx_gui.C: add debug message on BadWindow
12788 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12790 * sp_spell.C: fdopen is not part of the C++ standard.
12792 * paragraph.C (InsetIterator): use >= instead of ==
12794 2002-06-07 Angus Leeming <leeming@lyx.org>
12796 Fixes needed to compile with Compaq cxx 6.5.
12797 * BufferView_pimpl.C:
12804 * lyxtextclasslist.C:
12809 all c-library variables have been moved into namespace std. Wrap
12810 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12815 Add a using std::abs declaration.
12817 * kbmap.h (modifier_pair):
12818 * paragraph.h (InsetTable, InsetList):
12819 * lyxfont.h (FontBits):
12820 type definition made public.
12822 * bufferlist.C (emergencyWriteAll): the compiler complains that
12823 there is more than one possible lyx::class_fun template to choose from.
12824 I re-named the void specialisation as lyx::void_class_fun.
12826 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12828 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12829 the compiler is is unable to find tostr in write_attribute.
12831 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12833 * buffer.C (sgmlError): hide #warning
12835 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12837 * xtl/*: get rid of xtl, which is not in use anyway
12839 * LyXAction.C (init):
12840 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12841 were unimplemented xtl experimentation
12843 2002-06-04 André Pönitz <poenitz@gmx.net>
12845 * lyxfunc.C: disable array operation on simple formulae
12847 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12849 * converter.C: constify a bit
12851 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12853 * lyx_gui.C: check xforms version correctly
12855 2002-04-30 Herbert Voss <voss@lyx.org>
12857 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12860 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12862 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12863 attempt to register it with a VCS)
12865 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12867 * lyx_main.C (init): honor variables LYX_DIR_13x and
12870 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12874 * lyx_main.C: fix a crash on bad command line,
12875 and give a useful exit status on error
12877 * lyxfunc.C (doImport): allow -i lyx to work
12879 2002-03-30 André Pönitz <poenitz@gmx.net>
12881 * lyxfunc.C: mathed font changes
12883 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12898 * trans_mgr.h: srcdocs, and some minor cleanups
12900 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12902 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12903 call getFont all the time)
12905 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12907 * switch from SigC signals to boost::signals
12909 2002-05-29 André Pönitz <poenitz@gmx.net>
12911 * paragraph_pimpl.C (getChar): don't call size() too often...
12913 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12915 * paragraph_pimpl.C (insertChar): do not try to update tables when
12916 appending (pos == size())
12918 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12919 in order to reduce drastically the number of comparisons needed to
12920 parse a large document
12922 2002-05-29 André Pönitz <poenitz@gmx.net>
12928 * textclasslist.[Ch]:
12929 * sp_ispell.h: whitespace change
12931 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12933 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12934 lyxaction directly now.
12936 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12940 * lyxvc.C: remove unused headers
12942 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12949 * undo_funcs.C: some cleanups. Use shared_ptr
12950 and a template for the undo stacks.
12952 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12954 * BufferView_pimpl.h:
12955 * BufferView_pimpl.C:
12962 * text2.C: use key_state/mouse_state
12964 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12966 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12969 * chset.C: change include order
12970 (loadFile): use boost regex and get rid of LRegex and LSubstring
12972 * Makefile.am (BOOST_LIBS): new variable
12973 (lyx_LDADD): use it
12975 * LaTeX.C: change include order.
12976 (scanAuxFile): use boost regex and get rid of LRegex and
12980 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12985 * FontInfo.C: moved to frontends/xforms/
12988 * FontLoader.C: moved into frontends for GUIIzation
12993 * lyxfunc.C: changes from above
12995 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12997 * LColor.C: remove spurious X include
12999 * BufferView_pimpl.C:
13004 * text2.C: move font metrics to frontends/
13006 2002-05-24 Juergen Vigna <jug@sad.it>
13008 * undo_funcs.C (textHandleUndo): fix the cursor selection after
13009 setting the undo_cursor.
13011 * ParagraphParameters.h: include local includes first.
13013 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13015 * BufferView_pimpl.C:
13016 * BufferView_pimpl.h:
13020 * screen.C: move WorkArea into frontends/
13026 * BufferView2.C: move LyXScreen into frontends/
13030 * lyx_gui.C: move lyxlookup into frontends/xforms/
13032 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13035 * BufferView_pimpl.C:
13045 * bufferview_funcs.C:
13058 * vc-backend.C: move LyX/XFormsView into frontends/
13060 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13072 * text2.C: move Painter to frontends/
13074 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
13076 * buffer.C: comment out some some code that depend upon lyx_format
13079 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13080 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13082 * buffer.h (NO_COMPABILITY): turn off compability
13084 * ColorHandler.C: include scoped_array.hpp
13086 * font.C: Use more specific smart_ptr header.
13089 * ShareContainer.h: ditto
13090 * lyx_main.h: ditto
13092 * FontInfo.h: ditto
13093 * BufferView_pimpl.h: ditto
13094 * ColorHandler.h: ditto
13096 * kbmap.C (defkey): change call to shared_ptr::reset
13098 2002-05-21 Juergen Vigna <jug@sad.it>
13100 * buffer.C (insertErtContents): fix to insert ert asis if it is
13101 non empty. Skip it completely if it contains only whitespaces.
13103 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13105 * BufferView_pimpl.C:
13106 * BufferView2.C: clear selection on paste (bug 393)
13108 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13110 * DepTable.C: include ctime
13112 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13114 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13116 2002-05-14 Juergen Vigna <jug@sad.it>
13118 * text.C (breakParagraph): fixed function to honor the keepempty
13119 layout in the right maner and also to permit the right breaking
13120 algorithm on empty or non empyt keepempty paragraphs.
13122 * paragraph.C (breakParagraph): we have to check also if the par
13123 is really empty (!size()) for isempty otherwise we do the wrong
13126 2002-05-10 Juergen Vigna <jug@sad.it>
13128 * buffer.[Ch] : The following are only changes to the ert
13129 compatibility read reading old LaTeX layout and font stuff and
13130 convert it to ERTInsets.
13132 * buffer.h: added isErtInset().
13134 * buffer.C (struct ErtComp): add a fromlayout bool to check
13135 if we're inside a LaTeX layout.
13136 (isErtInset): new helper function.
13137 (insertErtContents): look for other ert insets before this one
13138 and insert the contents there, so that we don't have subsequent
13139 ERT insets with nothing between them. This way we create only one
13140 inset with multiple paragraphs. Also check if we don't insert only
13141 spaces ' ' as they are ignored anyway afterwards in the .tex file
13142 so if we have only spaces we will ignore this latex part in the
13144 (parseSingleLyXformat2Token \\layout): better compatibility when
13145 reading layout-latex stuff.
13146 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13148 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13149 stuff after reading the inset only get the information back from
13152 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13154 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13156 * LaTeXFeatures.C (getBabelOptions): New method.
13158 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * BufferView_pimpl.C (Dispatch): work around missing argument for
13163 2002-05-08 Juergen Vigna <jug@sad.it>
13165 * text.C (leftMargin): handle paragraph leftindent.
13167 * paragraph.C (writeFile): write the new \\leftindent tag.
13168 (validate): handle leftindent code.
13169 (TeXEnvironment): handle paragraphleftindent code again.
13171 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13173 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13174 for paragrap_extra indent code and new token \\leftindent.
13175 (latexParagraphs): handle the leftindent as environment.
13177 * ParameterStruct.h: added leftindent support.
13179 * ParagraphParameters.C (leftIndent): added support functions for
13180 the paragraph left indent.
13182 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13185 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13187 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13190 * text.C (computeBidiTables): No bidi in insetERT.
13192 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13195 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13197 * version.C.in: pre 5
13199 2002-05-02 José Matos <jamatos@fep.up.pt>
13200 * buffer.C (makeDocBookFile): white space changes, add newline to
13202 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13204 * tabular.C (docBook): fix typo.
13206 2002-05-03 Juergen Vigna <jug@sad.it>
13208 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13209 change in LyXText as we can not be sure it was not freed.
13210 (drawOneRow): remove unused code.
13212 * text.C (drawInset): redo the calculation of the need_break_row as
13213 it could have a row which was already freed.
13214 (draw): look at the return value of drawInset and return false if
13215 it also returned false.
13216 (paintRowText): look at the return value of draw and return false if
13217 it also returned false.
13219 * lyxtext.h: added bool return type to drawInset() and draw() so that
13220 if we have a change in the row so that the rowbreak has to be redone
13221 we abort drawing as it will be called again.
13223 2002-05-02 Juergen Vigna <jug@sad.it>
13225 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13226 a change in the maintext also if we're inside an inset.
13227 (Dispatch): set the cursor again after a break line and after the
13228 screen has been updated as it could be we're in a different row.
13230 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13231 to set the cursor behind the pargraph with > size().
13232 (setCursor): check also for the same paragraph when checking where
13233 to put the cursor if we have a NFR inset.
13235 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13236 parts of layout read further up as it still was in the wrong
13239 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13241 * screen.C (drawFromTo): change sine fullRebreak always return
13244 * buffer.C (parseSingleLyXformat2Token): reindent some
13246 * BufferView_pimpl.C (update): change since fullRebreak always
13248 (Dispatch): git rid of the last hardcoded "Standard"s.
13250 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13252 * text2.[Ch] (fullRebreak): make it return void now that we always
13255 2002-04-30 Juergen Vigna <jug@sad.it>
13257 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13258 ert compatibility check for "latex" layout.
13260 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13262 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13263 minipages: use col% instead of p%, and also use the current font.
13264 (makeLaTeXFile): Fix use babel condition.
13265 (parseSingleLyXformat2Token): Correct font when reading old floats.
13267 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13269 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13270 inserting list of floats.
13272 2002-04-25 Herbert Voss <voss@lyx.org>
13274 * MenuBackend.C (expand): don't add the graphics extensions to the
13277 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13279 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13280 non-existing layout, do not complain if it was the default layout
13281 of the original class (bug #342)
13283 2002-04-24 Juergen Vigna <jug@sad.it>
13285 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13286 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13288 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13290 * buffer.C (getBibkeyList): If using \bibliography, return the
13291 option field with the reference itself. Enables us to provide natbib
13292 support when using \bibliography.
13294 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13296 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13298 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13299 natbib is provided by the LaTeX class.
13301 2002-04-23 Juergen Vigna <jug@sad.it>
13303 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13306 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13308 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13310 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13312 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13313 ensuremath around textordmasculine, textordfeminine and
13316 2002-04-19 Juergen Vigna <jug@sad.it>
13318 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13319 reinitializing the buffer otherwise row-dimensions may be wrong.
13320 (update): reset also the selection cursors if they do exits otherwise
13321 their x/y positions may be wrong.
13323 * text2.C (cursorDown): don't enter the inset if we came from a row
13324 above and are one row over the inset.
13326 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13327 really leaving an inset.
13329 2002-04-18 Juergen Vigna <jug@sad.it>
13331 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13332 of the selected paragraph does not have the selected layout also if
13335 * text2.C (setLayout): fixed bug which did not change last selected
13338 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13339 changed the read and substituted \\end_float with \\end_inset!
13341 * BufferView_pimpl.C (cursorPrevious):
13342 (cursorNext): fixed to make it work with rows heigher than the work
13343 area without moving the cursor only the draw of the row.
13344 (workAreaMotionNotify): fix jumping over high rows.
13346 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13348 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13351 2002-04-16 Juergen Vigna <jug@sad.it>
13353 * text2.C (setCursor): set also the irow().
13354 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13356 (cursorDown): support for locking an inset if the x_fix value goes
13357 inside it. That way I can transverse insets too with cursor up/down.
13359 * lyxrow.h: added irow helper function same as other (i) functions.
13361 * BufferView_pimpl.C (cursorPrevious):
13362 (cursorNext): fixed for insets!
13364 2002-04-15 Juergen Vigna <jug@sad.it>
13366 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13367 position otherwise it is wrong in some cases.
13369 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13370 inside the inset before the call.
13372 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13374 * buffer.[Ch] (getBibkeyList): make it const.
13376 2002-04-12 Juergen Vigna <jug@sad.it>
13378 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13380 * text2.C (getCursorX): new helper function
13381 (setCursor): compute also ix_
13382 (setCursorFromCoordinates): set also ix.
13384 * lyxcursor.h: added ix_ and helper functions.
13386 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13388 * buffer.C (insertStringAsLines): dont break paragraph if the this
13389 paragraph is inside an inset which does not permit it!
13391 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13392 also with no chars on this paragraph.
13393 (paintRowText): only paint stuff if it's inside the workarea!
13395 * paragraph.C (breakParagraph): honor keepempty flag and break the
13396 paragraph always below not above.
13398 * BufferView2.C (unlockInset): update the paragraph layout on inset
13399 unlock as we changed paragraph in such a case.
13401 * lyxfind.C (LyXFind): clear the former selection if not found!
13403 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13404 again called in insertChar().
13406 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13407 an inset which uses the whole row!
13408 (rightMargin): ditto.
13409 (insertChar): force a rebreak if we inserted an inset!
13411 2002-03-28 Herbert Voss <voss@lyx.org>
13413 * lyxlength.[Ch]: add inBP() to get the right PS-point
13414 units (BigPoint). With inPixels we have rounding errors
13416 2002-04-11 Juergen Vigna <jug@sad.it>
13418 * text2.C (setCursorFromCoordinates): set iy to the right value.
13419 (setCursor): add check if row->previous exists!
13421 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13422 an old float_type as this was the case in the old code!
13424 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13426 * BufferView2.C (showLockedInsetCursor): use iy
13427 (fitLockedInsetCursor): ditto
13429 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13430 locked insets as there we have the right value now.
13432 * lyxcursor.C: added iy_ variable and iy functions to set to the
13433 baseline of cursor-y of the locked inset.
13435 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13436 (setCursor): fixed for insets which need a full row.
13438 * text.C (rowLastPrintable): don't ignore the last space when before
13439 an inset which needs a full row.
13440 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13441 as last character of a row when before a inset which needs a full row.
13443 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13445 * version.C.in: update date
13447 * text2.C (fullRebreak): try to always return true and see what
13450 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13452 * MenuBackend.C (expand): use Floating::listName
13454 * FloatList.C (FloatList): add listName argument to the built-in
13457 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13458 text associated with the float.
13460 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13462 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13464 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13466 * ShareContainer.h: add a couple of missing typenames.
13468 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13470 * lyxrc.C (getDescription): use _() correctly rather than N_().
13472 2002-03-28 Herbert Voss <voss@lyx.org>
13474 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13475 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13477 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13479 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13480 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13482 2002-03-29 Juergen Vigna <jug@sad.it>
13484 * lyxfunc.C (dispatch): add a missing fitCursor call.
13486 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13487 it was scrolled by a cursor move, so return the bool status.
13489 * BufferView.C (fitCursor): return the bool flag also to the outside
13490 world as this is needed.
13492 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13494 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13495 call the edit() as it is not needed (and wrong) IMO.
13496 (workAreaButtonPress): set the screen_first variable before evt.
13497 unlock the inset as this may change screen_first and then we have
13498 a wrong y position for the click!
13500 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13502 * MenuBackend.C (expand): another translation that I missed
13504 2002-03-28 Juergen Vigna <jug@sad.it>
13506 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13508 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13510 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13512 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13514 * MenuBackend.C (expand): fix export/view/update when there is no
13517 2002-03-27 Herbert Voss <voss@lyx.org>
13519 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13522 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13524 * bufferview_funcs.C (currentState): only show paragraph number
13525 for is DEVEL_VERSION is set.
13527 * lyxfunc.C (dispatch): put warning in INFO channel
13529 * MenuBackend.C (expand): translate the name of floats
13531 * FloatList.C (FloatList): mark the float names for translation
13533 * converter.C (convert): use LibScriptSearch
13535 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13537 * MenuBackend.C (defaults): fix default menu (we might as well get
13540 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13542 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13545 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13547 * lyxvc.C: reorder includes.
13549 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13551 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13554 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13556 * CutAndPaste.C: change layouts earlier on paste
13557 to avoid crashing when calling getFont()
13559 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13561 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13564 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13566 * WorkArea.C: remove 'Pending' debug message.
13568 * most files: ws cleanup
13570 * buffer.[Ch]: ws changes
13572 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13574 2002-03-21 Juergen Vigna <jug@sad.it>
13576 * tabular.C (SetMultiColumn): collapse also the contents of the
13577 cells and set the last border right. Added a Buffer const * param.
13579 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13581 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13584 2002-03-19 Juergen Vigna <jug@sad.it>
13586 * text2.C (clearSelection): reset also xsel_cache.
13588 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13589 where it needs to be called (John tells us to do so too :)
13590 (selectionLost): reset sel_cache.
13592 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13594 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13596 * text2.C (setCursorIntern): put debuging code in INSETS channel
13598 2002-03-19 André Pönitz <poenitz@gmx.net>
13600 * lyxfunc.C: tiny whitespace change
13602 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13604 * ToolbarDefaults.C (init):
13605 * LyXAction.C (init):
13607 * BufferView_pimpl.C (Dispatch):
13608 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13610 2002-03-19 Allan Rae <rae@lyx.org>
13612 * exporter.C (Export): removeAutoInsets before doing anything else.
13613 While I've just introduced a dependency on BufferView this really is
13614 the best place to clean the buffer otherwise you need to cleanup in
13615 a dozen places before calling export or cleanup in a dozen functions
13618 * converter.C (runLaTeX):
13619 (scanLog): Better handling of removeAutoInsets and screen updates.
13621 * lyxfunc.C (dispatch): small whitespace changes
13623 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13625 * WorkArea.C (C_WorkAreaEvent): return a value.
13626 (event_cb): return 1 if we handled the event, 0 otherwise.
13628 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13630 2002-03-18 Juergen Vigna <jug@sad.it>
13632 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13633 (GetAdditionalWidth): ditto.
13634 (RightLine): ditto.
13637 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13638 inset if we're there actually (probably not used right now but this
13639 is the direction to go for unifying code).
13640 (paste): disable code to clear the selection.
13642 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13643 inside an InsetText and move the check further up as it is in the
13646 * text2.C (pasteSelection): set a selection over the pasted text.
13648 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13650 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13651 and libgraphics to build on Cygwin.
13653 2002-03-15 Juergen Vigna <jug@sad.it>
13655 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13656 inserting an Inset into the paragraph. I know this is not the best
13657 fix but we already use current_view in CutAndPaste so we will remove
13658 all of it's using at the same time.
13660 * buffer.C (sgmlError): deactivated function till it is rewritten in
13661 the right mode, now it can create problems.
13663 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13664 before accessing it.
13666 2002-03-14 Juergen Vigna <jug@sad.it>
13668 * undo_funcs.C (textHandleUndo): do the right thing when updating
13669 the inset after the undo/redo.
13671 * text2.C (setCursor): just some testcode for #44 not ready yet.
13673 * undo_funcs.C (textHandleUndo): set the next() and previous()
13674 pointers of the paragraph to 0 before deleting otherwise we have
13675 problems with the Paragraph::[destructor].
13677 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13678 on a paragraph insertion.
13680 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13682 * buffer.C (asciiParagraph): use += operator for char append to
13685 * paragraph.C (getFontSettings): compare >= not just >
13686 (highestFontInRange): ditto
13689 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13691 * paragraph.C: change several algorithm to be more appripriate for
13692 the problem domain. This is lookip in FontList and in the InsetList.
13694 2002-03-13 André Pönitz <poenitz@gmx.net>
13697 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13699 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13704 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13706 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13708 * Painter.C (display): anon helper function, adjust code for this
13710 (pixmap): remove function.
13712 * Painter.h: remove private display variable.
13714 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13716 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13718 * WorkArea.[Ch]: remove figinset_canvas cruft.
13720 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13722 * lyxtextclass.C (operator): add one item cache optimization.
13724 * bufferlist.h: doxy changes
13726 * bufferlist.C: ws changes
13728 * DepTable.[Ch] (ext_exist): place const in the right spot.
13730 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13732 (workAreaExpose): call resizeInsets when the with BufferView changes.
13733 (Dispatch): adjust for protectedBlank removal
13734 (specialChar): call updateInset if the insert went ok.
13736 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13737 specialChar instead.
13739 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13741 * BufferView.h: doxy change
13743 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13745 * lyxtextclass.C (operator[]): remove non-const version
13746 (defaultLayout): remove non-const version
13748 2002-03-12 Juergen Vigna <jug@sad.it>
13750 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13751 did resize the LyXText too.
13753 * buffer.C (readLyXformat2): set layout information on newly allocated
13756 * tabular.C (OldFormatRead): set layout information on the paragraph.
13758 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13760 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13762 2002-03-11 Juergen Vigna <jug@sad.it>
13764 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13766 (resizeCurrentBuffer): force also the insets to resize themselfes.
13767 (moveCursorUpdate): fixed up for InsetText.
13769 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13772 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13773 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13774 value of Dialogs::tooltipsEnabled().
13775 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13777 2002-03-08 Juergen Vigna <jug@sad.it>
13779 * BufferView_pimpl.C (updateInset): update inset inside inset also
13780 if it isn't inside theLockingInset().
13782 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13784 * buffer.C (asciiParagraph): redo some of the word and line length
13786 (getLists): look for Caption instead of caption.
13788 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13790 * buffer.C (Buffer): initialize niceFile to true
13792 (makeLinuxDocFile):
13793 (makeDocBookFile): make sure niceFile is true on exit
13795 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13797 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13799 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13801 * LyXSendto.C: remove.
13802 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13803 * lyx_gui.C: remove now-redundant comment.
13804 * ColorHandler.h: remove forward declaration of class WorkArea.
13805 * lyxfunc.C: remove #include "WorkArea.h".
13807 2002-03-07 Juergen Vigna <jug@sad.it>
13809 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13810 got moved away with the DEPM and also set the inset_owner always
13811 right which before could have been omitted.
13813 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13815 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13816 wanted layout is not found.
13818 2002-03-07 Juergen Vigna <jug@sad.it>
13820 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13822 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13824 * paragraph.C (breakParagraph): use default layout not layout of
13826 (Paragraph): clear ParagraphParameters.
13828 2002-03-06 Juergen Vigna <jug@sad.it>
13830 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13831 otherwise it would not be a valid lenght. Fixed a special case in
13832 the minipage compatibility read where we end the document with a
13835 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13836 was set as it could be 0 for InsetTexts first entry.
13838 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13840 * paragraph.C (writeFile): if layout is empty write out
13841 defaultLayoutName().
13843 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13844 file without named layout we set layout to defaultLayoutName().
13846 2002-03-06 Juergen Vigna <jug@sad.it>
13848 * CutAndPaste.C (copySelection): set layout for new paragraph.
13850 * text.C (prepareToPrint): leave ERT inset left aligned
13851 (leftMargin): don't indent paragraphs inside ERT insets
13853 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13855 * paragraph.C (breakParagraph): dont call clear do the work manually
13857 * paragraph.[Ch] (clear): remove function
13859 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13861 * paragraph.C (Paragraph): dont call clear, the work has already
13864 * lyxtextclass.C (operator): assert if n is empty
13866 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13867 work manually instead.
13869 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13871 * BufferView_pimpl.C: protect selectionLost against text == 0
13873 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13875 * text.C (breakParagraph): fix a setting layout to '0' problem.
13877 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13879 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13880 final location of file, for the included files, and graphics.
13882 2002-03-05 Juergen Vigna <jug@sad.it>
13884 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13886 2002-03-04 Juergen Vigna <jug@sad.it>
13888 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13890 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13891 last column of multicolumn cells.
13892 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13894 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13896 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13897 file if it doesn't go to a temporary file.
13899 * buffer.C (sgmlOpenTag):
13900 (sgmlCloseTag): remove extra newline insertion.
13902 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13904 * text.C (getRowNearY): comment out debug msg
13906 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13908 * text2.C: first -> first_y
13910 * text.C (getRowNearY): add some attemts at a possible
13911 optimization, not working.
13913 * tabular.[Ch]: add BufferParams to several function so that newly
13914 created paragraph can be initialized to he default layotu for the
13917 * tabular-old.C (ReadOld): add buf->params to call of Init
13919 * screen.C: rename text->first to text->first_y
13921 * paragraph.C (breakParagraph): always set layout in the broken
13924 * lyxtextclass.C (Read): remove lowercase
13927 (delete_layout): ditto
13929 * lyxtext.h: rename first -> first_y
13931 * lyxlayout.C (Read): remove lowercase
13934 (obsoleted_by): ditto
13936 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13938 * buffer.C (insertErtContents): add params are to InsetERT
13939 (parseSingleLyXformat2Token): add code to check if a paragraphs
13940 layout really exist.
13941 (parseSingleLyXformat2Token): add params to several inset
13943 (asciiParagraph): remove lowercase, do the layout comparisons with
13946 * BufferView_pimpl.C (cursorNext): first -> first_y
13947 (resizeCurrentBuffer): first -> first_y
13948 (updateScrollbar): first -> first_y
13949 (scrollCB): first -> first_y
13950 (workAreaMotionNotify): first -> first_y
13951 (workAreaButtonPress): first -> first_y
13952 (checkInsetHit): first -> first_y
13953 (cursorPrevious): first -> first_y
13954 (cursorNext): first -> first_y
13955 (Dispatch): add buffer_->params to severl inset contructors
13957 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13959 * lyxlayout.C (Read): remove some debug info that I forgot.
13961 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13962 clean up the code slightly.
13963 (makeLinuxDocFile): ditto
13964 (makeDocBookFile): ditto
13966 * text2.C: layout as string
13968 * text.C: layout as string
13970 * paragraph_pimpl.C: layout as string
13972 * paragraph.[Ch]: layout as string
13974 * lyxtextclasslist.[Ch]: layout as string
13976 * lyxtextclass.[Ch]: layout as string
13978 * lyxtext.h: layout as string
13980 * lyxlayout.[Ch]: layout as string
13982 * lyx_cb.C: layout as string
13984 * bufferview_funcs.C: layout as string
13986 * bufferparams.C: layout as string
13988 * buffer.C: layout as string
13990 * LyXView.[Ch]: layout as string
13992 * LaTeXFeatures.[Ch]: layout as string
13994 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13996 * BufferView_pimpl.C: change current_layout to string, remove
14001 (workAreaButtonRelease): layout as string
14003 * BufferView2.C (unlockInset): adjust
14005 * vspace.C (asLatexCommand): use an explict temp variable.
14007 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
14009 * Makefile.am: use FRONTEND_*
14011 2002-03-01 Juergen Vigna <jug@sad.it>
14013 * tabular.C (SetWidthOfMulticolCell): changed to something better
14014 I hope but still work in progress.
14015 (recalculateMulticolumnsOfColumn): renamed function from
14016 recalculateMulticolCells as it is more appropriate now.
14017 (SetWidthOfCell): calculate multicols better.
14019 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14021 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
14023 * lyxfunc.C (processKeySym): print sequence also if it is
14024 `deleted' (complete)
14026 * kbsequence.C (print): print sequence even if it is deleted
14027 (complete would be a better word, actually).
14029 * lyxfunc.C (dispatch): print complete options after a prefix key
14031 * vspace.C (asLatexCommand): rewrite in a slightly different form.
14033 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
14035 * text2.C (setCharFont): eliminate setCharFont code duplication.
14037 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14039 * BufferView_pimpl.C (Dispatch): remove bogus handling of
14040 LFUN_TABULAR_FEATURE (bug #177)
14042 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
14044 * Makefile.am: remove figure.h
14046 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
14048 * Bufferview_pimpl.C:
14060 * text2.C: remove #include "lyx_gui_misc.h".
14062 * LaTeX.C: added #include <cstdio>
14064 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14066 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14067 that the paragraph following this one can have.
14069 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14071 * vspace.C (asLatexCommand): fix bogus gcc warning
14073 * Makefile.am (lyx_SOURCES): remove vms_defines.h
14075 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
14077 * text2.C (setLayout): get rid of redundant code
14079 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
14081 * text2.C (incDepth): make sure depth cannot be increased beyond
14084 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
14086 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14087 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14089 * PainterBase.h (image):
14090 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14091 a LyXImage const *.
14093 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14097 * BufferView_pimpl.C:
14098 * BufferView_pimpl.h:
14118 * sp_spell.C: remove fig inset, and the crap house of
14119 cards that follows it
14121 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14126 * os2_errortable.h:
14127 * nt_defines.h: move .h into support/
14129 * vms_defines.h: remove
14131 * WorkArea.C: add space in debug output
14135 * buffer.C: add WITH_WARNINGS
14139 * bufferlist.C: s/retrive/retrieve/, add docs
14148 * chset.C: add docs
14150 * lyxgui.C: add ID to X error handler
14152 * lyxtestclass.c: fix typo
14154 2002-02-26 Juergen Vigna <jug@sad.it>
14156 * tabular_funcs.C (write_attribute): changed so that some default
14157 attributes are not written at all.
14158 (getTokenValue): set default values before trying to read the
14159 value so we have the return value always set as default if we don't
14160 find the token we search for.
14162 * tabular.C (Write): write bools as bools not as strings!
14164 2002-02-22 Juergen Vigna <jug@sad.it>
14166 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14167 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14169 * text.C (leftMargin): don't add an indent for paragraphs inside
14170 tabular cells (fix #208).
14172 2002-02-21 José Matos <jamatos@fep.up.pt>
14174 * tabular.C (docBook): fixed support for long tables.
14176 2002-02-20 Juergen Vigna <jug@sad.it>
14178 * text2.C (getFont): get the drawing font of the Inset if this
14179 paragraph is inside an inset (only important for InsetERT for now).
14181 * buffer.C (insertErtContents): use new lanugage params in ERT
14184 * CutAndPaste.C: commenting out seemingly uneeded code.
14186 2002-02-19 Allan Rae <rae@lyx.org>
14188 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14189 Iterators might be simple to use but they also get invalidated.
14190 (removeAutoInsets): renamed saved cursor tracking variables and added
14191 some comments to clarify what everything does.
14193 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14200 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14201 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14204 * vc-backend.h: remove #include "support/syscall.h"
14208 * converter.C: rearrange #includes in Lars' approved fashion.
14210 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14211 forward declare class Timeout in the header file.
14213 * XFormsView.C: changes due to the above.
14215 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14216 similar to LyXView.
14218 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14219 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14221 2002-02-18 José Matos <jamatos@fep.up.pt>
14223 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14226 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14228 * a lot of small ws changes
14229 * add a lot of using std::XXX
14230 * use std construcs some places where approp.
14231 * use some exisint stuff from lyxfunctional where approp.
14232 * Make file changes to use partial linking (lets test this now...)
14234 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14238 remove #include "support/syscontr.h" as it's redundant. Always has been.
14246 change Systemcalls::System to Systemcalls::Wait and
14247 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14248 No change of functionality, just reflects the stripped down Systemcalls
14251 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14253 * debug.[Ch]: add a GRAPHICS type to the enum.
14255 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14257 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14259 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14262 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14264 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14265 match the changes below.
14267 * text2.C (toggleInset): if there is not editable inset at cursor
14268 position, try to see if cursor is _inside_ a collapsable inset
14271 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14273 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14274 document menu has a nice checkbox
14276 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14278 * lyxlength.C (asLatexString): change PW to output as percent of
14281 * lengthcommon.C: change '%' to 't%'
14283 * lyxfunc.C (dispatch): a few comments from Martin
14285 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14289 * BufferView_pimpl.h:
14290 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14293 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14295 * vspace.C (inPixels): fix compiler warning
14297 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14299 * lyxfunc.C (getStatus): fix status message for disabled commands.
14301 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14303 * BufferView_pimpl.C: fix crash on close buffer
14304 during selection (#227)
14306 2002-01-27 Herbert Voss <voss@lyx.org>
14308 * buffer.C: link old Figure to new graphic inset
14310 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14312 * FontLoader.C (getFontinfo): Change the latex font names in order
14313 to match the names of type1inst.
14315 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14317 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14319 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14320 (extchanged): ditto
14322 (remove_files_with_extension): ditto
14323 (remove_file): ditto
14326 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14327 document is smaller than the work area height. Do not initialize
14328 static variables to 0.
14330 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14332 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14334 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14335 LFUN_LAYOUT_PARAGRAPHS.
14337 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14338 tabular. It is possible to provide a possible cell, which will
14339 typically be the actcell from the corresponding insettabular
14341 * lyxfunc.C (getStatus): small cleanup; disable
14342 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14345 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14347 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14349 * paragraph.C (startTeXParParams):
14350 (endTeXParParams): new methods. The LaTeX code to
14351 start/end paragraph formatting
14352 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14353 empty (fixes bug #200)
14355 * vspace.C (inPixels): adapt to the change below
14356 (inPixels): [later] more cleanups (remove unused variables)
14358 * lyxlength.C (inPixels): change to use a width and a height as
14361 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14363 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14364 Replaced with \paperwidth
14366 * DepTable.C (insert): add std:: qualifier
14368 2002-01-18 Allan Rae <rae@lyx.org>
14370 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14373 * text.C (drawInset): Turned out I didn't know enough about how
14374 rebreaking worked. This fixes most of the redraw problems. I see
14375 an occasional cursor trail when a line is broken now and the cursor
14376 placement can seem out by a few pixels also after a rebreak.
14378 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14380 * buffer.C (parseSingleLyXformat2Token): update because minipage
14381 width is now a LyXLength
14383 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14385 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14388 2002-01-17 Juergen Vigna <jug@sad.it>
14390 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14392 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14393 is set correctly and the inset is updated correctly.
14395 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14397 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14398 the beginning of the loop.
14400 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14402 * lyxrc.C: improve help for use_scalable_fonts
14404 2002-01-17 Allan Rae <rae@lyx.org>
14406 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14408 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14410 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14411 make sure to set their inset_owner to the right value (bug #171)
14413 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14416 * DepTable.C: Implement mtime checking to reduce time spent doing
14419 2002-01-16 Juergen Vigna <jug@sad.it>
14421 * tabular.C (GetAdditionalHeight): one of error fixed.
14423 * lyxrc.C (output): small fix in writing use_pspell.
14425 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14427 * sp_base.h: #include LString.h
14429 2002-01-16 Allan Rae <rae@lyx.org>
14431 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14432 Can someone check this please?
14434 * text.C (drawInset): It was possible that p.row would be removed by
14435 breakAgainOneRow upsetting a few other settings. There may be another
14436 small tweak possible by setting need_break_row = 0 when p.row has been
14437 removed but I don't know enough about the logic here.
14439 2002-01-15 Allan Rae <rae@lyx.org>
14441 * text.C (insertChar): removed conditional truism.
14443 * BufferView2.C (removeAutoInsets): More tweaks.
14444 cur_par_prev could be a stray pointer. Check for trailing empty line
14445 in case last line was cur_par and only had an error inset on it.
14447 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14449 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14452 * vc-backend.C (most methods):
14453 * exporter.C (Export):
14454 * converter.C (convert):
14456 * LyXSendto.C (SendtoApplyCB):
14457 * lyxfunc.C (dispatch):
14461 * lyx_cb.C (AutoSave):
14463 * BufferView_pimpl.C (MenuInsertLyXFile):
14464 * buffer.C (runChktex): use Buffer::filePath().
14466 * buffer.h: rename filename to filename_; rename filepath to
14467 filepath_ and make it private
14468 (filePath): new method
14470 * buffer.C (writeFile): use fileName()
14473 * lyx_main.C (init): fix starting of LyX when the binary is a
14474 link from so,ewhere else.
14476 * minibuffer.C: include <cctype> for isprint
14478 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14480 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14481 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14482 name clash with InsetCollapsable's width function.
14484 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14486 * lastfiles.C: include <iterator>
14488 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14490 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14493 * buffer.C (makeLaTeXFile): ditto.
14494 Also make loop operation more transparent.
14496 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14498 * ToolbarDefaults.C: remove trailing comma closing namespace.
14500 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14502 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14505 * trans.C (Load): comment out unused variable, allowed.
14507 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14509 * minibuffer.[Ch] (append_char): new method to recieve input from the
14510 drop-down completion browser. If a key was pressed, then recieve this
14511 char and append it to the existing string.
14512 (peek_event): modify the positioning data passed to the completion
14513 browser so that it can be placed above the minibuffer rather than below.
14514 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14516 * LyXAction.C (init): alloe error-next for readonly documents.
14518 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14521 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14523 * bufferlist.C (readFile): create the buffer _after_ checking that
14526 * lyxfunc.C (verboseDispatch): fix handling of arguments
14528 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14530 * lyxrc.C: use string::erase() instead of initializing to "".
14533 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14535 * BufferView_pimpl.h:
14536 * BufferView_pimpl.C:
14539 * text2.C: tell X when we have made a selection for copying
14541 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14543 * BufferView_pimpl.C (MenuInsertLyXFile):
14544 * lyxfunc.C (menuNew):
14546 (doImport): add shortcuts to directory buttons
14548 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14551 * lyxfunc.C (setStatusMessage):
14552 (getStatusMessage): new methods
14553 (getStatus):use setStatusMessage instead of setErrorMessage
14554 (dispatch): when function is disabled, set error message here
14555 [instead of in getStatus previously]
14557 * BufferView_pimpl.C (workAreaButtonRelease): update
14558 toolbar/menubar here too.
14560 2002-01-13 Allan Rae <rae@lyx.org>
14562 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14563 Now seems indestructible. Remaining task is to audit all other
14564 code affected by deleteEmptyParagraphMechanism. One small quirk
14565 left is that an empty document with an error in the preamble can
14566 be made to report an error but no error box appears. I don't know
14568 (removeAutoInsets): Improved comments.
14570 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14573 * Thesaurus.C: update for Aiksaurus 0.14
14575 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14577 * text2.C (firstParagraph): removed member function, all uses
14578 replaces with ownerParagraph
14579 (redoParagraphs): here
14580 (updateInset): here
14581 (toggleAppendix): here
14582 * BufferView2.C (insertErrors): here
14583 (setCursorFromRow): here
14585 2002-01-13 Allan Rae <rae@lyx.org>
14587 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14588 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14589 There is still a way to segfault this although you may have to do this
14590 multiple times: Have an InsetERT with an unknown command in it.
14591 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14592 <down-arrow>, <Enter> again, View->DVI, BANG!
14594 * text2.C (setCursor):
14595 (deleteEmptyParagraphMechanism):
14596 * lyxtext.h (setCursor):
14597 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14598 Making use of the return value may help fix other bugs.
14600 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14602 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14604 * LyXView.C (updateMenubar): call MenuBar::update here
14605 (updateToolbar): but not here
14606 (showState): do not update toolbar/menubar
14608 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14609 should need to care about that.
14611 * lyxfunc.C (verboseDispatch): simplify a bit
14612 (getStatus): have a version which takes a pseudoaction, and
14613 another which requires a (kb_action,string).
14615 * LyXAction.C (retrieveActionArg): make it work also when action
14616 is not a pseudo-action.
14617 (getActionName): simplify a bit
14620 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14622 * lyxfunc.C (verboseDispatch): new families of methods with
14623 several ways to specify a command and a bool to indicate whether
14624 the command name and shortcut should be displayed in minibuffer
14625 (eventually, we could extend that to a finer bitmask like
14626 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14627 (dispatch): the pristine dispatch command which just, well,
14628 dispatchs! Note it still sets its result to minibuffer; I'm not
14631 * lyxfunc.h: remove setHintMessage
14633 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14635 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14637 * BufferView_pimpl.C (specialChar): delete new inset if we have
14638 not been able to insert it.
14640 * kbmap.C: revert to using int instead of kb_action, since all we
14641 are dealing with is pseudo-actions.
14643 * LyXAction.C (searchActionArg): change to return int instead of
14644 kb_action, since the result is a pseudoaction.
14646 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14648 * buffer.C (insertErtContents): Fix (partially) the font bug.
14650 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14652 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14653 as the other one is broken on my machine!
14655 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14658 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14660 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14662 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14663 reflect their actual use. Provide compatibility code for older lyxrc
14666 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14668 change names of popup font variables in line with the changes to lyxrc.C
14670 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14672 * buffer.C (asciiParagraph): avoid outputing a word twice after
14675 * lyxrc.C (getDescription): document that document_path and
14676 template_path can be empty.
14678 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14680 * LaTeXFeatures.C (getMacros):
14681 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14683 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14685 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14687 (getPackages): rename feature "floats" to "float". Use an array to
14688 iterate over 'simple' features (i.e. just a \usepackage). Add
14689 handling of "amsmath" (renamed from "amsstyle").
14691 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14693 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14696 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14698 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14699 FuncStaus::FuncStatus & FuncStaus::some_method().
14701 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14703 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14704 of the func_satus stuff. Edited and massaged in various ways by
14707 * lyxfunc.C (getStatus): use FuncStatus
14709 2002-01-08 Juergen Vigna <jug@sad.it>
14711 * text.C (nextBreakPoint): use function Inset::isChar().
14713 * paragraph.C (TeXOnePar): use function
14714 Inset::forceDefaultParagraphs.
14716 * buffer.C (latexParagraphs): use function
14717 Inset::forceDefaultParagraphs.
14719 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14721 * lyx_gui.C (init): set the style of the menu popups to
14722 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14724 2002-01-07 Juergen Vigna <jug@sad.it>
14726 * text.C (setHeightOfRow): small fix
14727 (prepareToPrint): don't look at alignment if we don't have the place
14730 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14732 * box.C: New file. Move the Box methods and functions out of box.h,
14733 following Lars' suggestion.
14735 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14737 * box.h: #include "support/LOstream.h", needed for inlined function.
14740 * lyxtextclasslist.C: added some using std declarations.
14742 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14744 * box.h: make signed dimensions to allow insets wider than
14745 the screen (bug #162)
14747 * BufferView_pimpl.C: add some insetHit debug
14749 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14751 * vc-backend.C: add FIXME
14753 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14755 * lyxfunc.C (getStatus): enable code for showing math font status
14758 2002-01-07 Juergen Vigna <jug@sad.it>
14760 * text.C (nextBreakPoint): removed debug output not needed anymore.
14762 2002-01-06 Juergen Vigna <jug@sad.it>
14764 * text.C (nextBreakPoint): fixed up this function we had this bug
14765 since ever but now hopefully we break row better.
14766 (insertChar): we have to check if an inset is the next char as it
14767 could now happen that a large inset is causing a break.
14769 2002-01-05 Juergen Vigna <jug@sad.it>
14771 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14772 if it doesn't like to be drawed.
14774 2002-01-04 Juergen Vigna <jug@sad.it>
14776 * BufferView2.C (lockInset): forgot to set a cursor.
14778 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14780 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14782 * FormMathsPanel.C:
14785 * form_maths_panel.C:
14786 * form_maths_panel.h:
14787 * form_maths_panel.fd: implemented sub- and super- buttons in math
14790 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14791 (or ^ space) to be used as in TeX (req'd by Andr�.
14793 * lyxfunc.C: Allow ^ and _ again to be used both as
14794 super/subscript (mathed) and as themselves (in text).
14796 2002-01-03 Allan Rae <rae@lyx.org>
14798 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14799 "LyX" or the filename of the current buffer if it has one. This is a
14800 modified form of John Levon's patch.
14802 * XFormsView.C (setWindowTitle): also set icon title.
14804 * LyXView.h (setWindowTitle): signature changed.
14805 * XFormsView.h (setWindowTitle): ditto.
14807 2002-01-02 Juergen Vigna <jug@sad.it>
14809 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14811 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14813 * screen.C (topCursorVisible): introduce a temp var for
14814 text->cursor.row(), handle the case where this row is null. (kindo
14817 * text2.C (setCursor): add a couple of asserts.
14819 * paragraph.h (inset_iterator): add -> operator
14821 * paragraph.[Ch] (autoDeleteInsets): remove member function
14823 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14824 cursor pos correctly and handle inset deletion by itself.
14825 (insertErrors): move iterator declaration out of for expression
14827 * lyxtextclass.C: add <algorithm>
14829 * Makefile.am: added the new files to sources, removed layout.C
14831 * layout.C: removed file
14833 * layout.h: remove LYX_DUMMY_LAYOUT
14835 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14839 * lyxtextclass.[Ch]:
14840 * lyxtextclasslist.[Ch]: new files
14842 * include order changes to a lot of files, also changes because of
14845 2001-12-27 Juergen Vigna <jug@sad.it>
14847 * buffer.C (asciiParagraph): more fixes.
14849 * tabular.C (ascii): make ascii export support export of only the
14850 data separated by a column-delimiter.
14851 (ascii): better support for ascii export.
14853 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14855 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14857 * tabular_funcs.C: use a "using std::getline" instead of the
14858 previous fix from Angus (necessary for cxx + lyxstring)
14860 2001-12-24 Juergen Vigna <jug@sad.it>
14862 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14864 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14865 problems. First check a minipage also if we have some ert-contents
14866 (not only on par->size(), second set the right depth of the paragraph
14867 on the relink to the root-paragraph-list!
14869 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14870 which then did not anymore update the main paragraphs on undo/redo!
14872 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14874 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14875 code. Support all font-changing funcs (even those which are not in
14876 menu currently). Support for reporting font settings in
14877 mathed (disabled until Andre provides a function on mathed's side).
14879 * func_status.h (toggle): small helper function to set toggle
14882 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14884 * tabular_funcs.C: getline -> std::getline
14886 2001-12-21 Juergen Vigna <jug@sad.it>
14888 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14889 accessed and could be 0 (I couldn't generate this but it seems
14892 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14894 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14895 * tabular_funcs.h: here and include iosfwd
14897 2001-12-20 Juergen Vigna <jug@sad.it>
14899 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14900 inside inset but undo_par was.
14902 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14904 * Thesaurus.C: always include <config.h> in sources.
14908 * box.h: do not include <config.h> in header files
14910 * text.C (paintLastRow): remove unused variable
14912 * text.C (transformChar):
14914 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14916 * Painter.C (text):
14917 * font.C (width): rewrite to use uppercase() instead of
14920 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14922 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14924 * lyxfind.C: clean up of find failure position change
14926 2001-12-20 Juergen Vigna <jug@sad.it>
14928 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14930 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14931 (TeXRow): added to LaTeX a single tabular row.
14932 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14933 (Latex): simplified and finally good LT-h/f support.
14934 (various_functions): just small adaptions for LT-h/f support.
14936 * tabular_funcs.[hC]: added and moved here all not classfunctions
14939 2001-12-19 Juergen Vigna <jug@sad.it>
14941 * tabular.[Ch]: better support for longtabular options (not finished
14944 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14946 * text.C (paintLastRow): use the label font instead of the font of
14947 the last character to compute the size of *_BOX. This makes more
14948 sense and avoids a crash with empty paragraphs.
14949 Use Painter::rectangle to draw EMPTY_BOX.
14951 2001-12-19 Juergen Vigna <jug@sad.it>
14953 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14954 the paragraphs if the replaced paragraph is not the first one!
14955 Tried to delete not used paragraphs but does not work yet so for
14956 now it's inside #ifdef's and by default off!
14958 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14960 * MenuBackend.C: include "lyx_main.h" instead of declaring
14961 lastfiles (actually was declared as LastFiles* instead of a
14964 2001-12-17 Juergen Vigna <jug@sad.it>
14966 * tabular.C (AppendColumn): applied John's fix
14968 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14972 * BufferView_pimpl.h:
14973 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14976 * box.h: new start of class for above
14978 * lyxfunc.C: ignore space-only minibuffer dispatches.
14979 Show the command name when it doesn't exist
14981 * minibuffer.C: don't add empty lines to the history
14983 * minibuffer.C: add a space on dropdown completion
14985 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14987 * text.C: fix line above/below drawing in insets
14989 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14991 * lyxlength.C (LyXLength): Initialize private variables.
14993 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14995 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14996 when inserting error insets.
14998 2001-12-13 Juergen Vigna <jug@sad.it>
15000 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
15001 actually sometimes the before-paragraph.
15002 (setUndo): don't clear the redostack if we're not actually undoing!
15004 2001-12-06 Juergen Vigna <jug@sad.it>
15006 * undo_funcs.C (textHandleUndo): well after John's hint I got here
15007 and fixed redoing of main paragraph, so we can use it now ;)
15009 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
15011 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15013 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
15016 2001-12-13 André Pönitz <poenitz@gmx.net>
15019 * undo_func.C: minor cleanup
15021 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15023 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
15024 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
15025 font in urw-fonts package which is marked as -urw-fontspecific and
15026 does not work (incidentally, changing the encoding in the
15027 fonts.dir of this package to -adobe-fontspecific fixes the
15030 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15031 is a crash when undoing first paragraph (Juergen, please take a
15032 look). THis does not mean the undo fix is wrong, just that it
15035 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15036 the (Paragraph*) version when needed instead of duplicating the
15039 * text.C (workWidth): use Inset::parOwner to find out where the
15040 inset has been inserted. This is a huge performance gain for large
15041 documents with lots of insets. If Inset::parOwner is not set, fall
15042 back on the brute force method
15044 * paragraph_pimpl.C (insertInset):
15045 * paragraph.C (Paragraph):
15046 (cutIntoMinibuffer): set parOwner of insets when
15047 inserting/removing them
15049 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15051 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
15057 * mathed/formulabase.C:
15058 * mathed/math_cursor.[Ch]:
15059 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15062 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15064 * lyxlength.[Ch] (operator!=): new function
15066 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15068 * text.C (workWidth): use Inset::parOwner to find out where the
15069 inset has been inserted. This is a huge performance gain for large
15070 documents with lots of insets. If Inset::parOwner is not set, fall
15071 back on the brute force method
15073 * paragraph_pimpl.C (insertInset):
15074 * paragraph.C (Paragraph):
15075 (cutIntoMinibuffer): set parOwner of insets when
15076 inserting/removing them
15078 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15080 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15082 * tabular-old.C (getTokenValue):
15083 * tabular.C (getTokenValue):
15084 (write_attribute): new versions for LyXLength
15085 (everywhere): adjust the use of widths
15087 * tabular.h: change the type of widths from string to LyXLength
15089 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15091 * paragraph.C: fixed missing line number count when exporting
15092 Environments to LaTeX file
15094 * buffer.C: added informational message for checking line numbers.
15096 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15098 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15099 paragraph, do the 'double space' part, but not the 'empty
15102 * text.C (workWidth): small optimization
15103 (getLengthMarkerHeight): use minimal size for negative lengths.
15105 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15107 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15109 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15111 2001-12-11 André Pönitz <poenitz@gmx.net>
15114 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15116 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15118 * text2.C: keep selection on a setFont()
15120 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15122 * lyx_cb.C: another bv->text misuse, from insert label
15124 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15127 * kbsequence.C: re-instate nmodifier mask
15129 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15131 * lyx_main.h: make lyxGUI private.
15133 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15135 * lyxfind.C: place the cursor correctly on failed search
15137 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15139 * text.C (getLengthMarkerHeight): for small heights, the arrows
15140 are not always on top/bottom of the text
15141 (drawLengthMarker): smaller arrows; take the left margin in
15142 account; draw also vfills.
15144 (paintLastRow): remove special code for vfill and standard spaces,
15145 since everything is handled in drawLengthMarker now.
15147 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15149 * buffer.C (insertErtContents): try to handle font and language
15150 interaction a bit better.g
15152 * ColorHandler.C (updateColor): change the hash to cover the whole
15153 LColor enum, ws cleanup
15154 (getGCLinepars): ditto
15155 (getGCLinepars): only lookup in the linecache once.
15157 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15159 * iterators.C (operator++): Make the iterator more robust
15161 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15163 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15165 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15168 * text.C: better added space drawing
15170 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15173 * BufferView2.C: fix layout combo update on inset unlock
15175 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15177 * Makefile.am: don't compile unused files
15179 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15183 * LyXAction.C: remove old LFUN_LAYOUTNO
15185 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15187 * paragraph_pimpl.h:
15188 * paragraph_pimpl.C: isTextAt() doesn't need font param
15190 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15193 * lyxlex.C: little cleanup
15195 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15197 * BufferView_pimpl.C: fix insertAscii for insets
15199 2001-12-05 Juergen Vigna <jug@sad.it>
15201 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15202 set the right font on the "multi" paragraph paste!
15204 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15210 * lyxlength.C: remove out-commented code.
15212 * BufferView_pimpl:
15226 * vc-backend.C: change "while(" to "while ("
15228 * lyxlength.[Ch]: add zero function to check if length is zero or
15230 * lyxgluelength.C: use it
15232 2001-12-05 Allan Rae <rae@lyx.org>
15234 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15235 Works for 2.95.3, from what I understand of Garst's reports this should
15236 work for other g++ versions. We're screwed if the abs(int) definition
15237 changed between bugfix releases of gcc.
15239 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15241 * text.C: fix chapter label offset !
15243 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15246 * text.C: fix hfill at end of line, clean up
15248 2001-12-04 Juergen Vigna <jug@sad.it>
15250 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15251 that we force an update of the inset and it's owners if neccessary.
15253 2001-12-03 Juergen Vigna <jug@sad.it>
15255 * text.C (rowLast): simplified code
15257 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15259 * lyxfunc.C: fix show options on timeout
15261 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15263 * screen.C (topCursorVisible): scroll half a page when the cursor
15264 reached top of bottom of screen
15266 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15268 * minibuffer.C: deactivate on loss of focus
15270 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15272 * vspace.[Ch] (operator!=): add operator.
15274 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15276 * BufferView_pimpl.C: refuse to open an inset when
15277 there's a selection.
15279 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15281 * BufferView_pimpl.C: allow to click on RHS of full row insets
15283 2001-11-30 Juergen Vigna <jug@sad.it>
15285 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15286 insets for undo reasons.
15288 2001-11-28 André Pönitz <poenitz@gmx.net>
15290 * vspace.[Ch]: cosmetical changes
15292 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15302 * kbsequence.C: part re-write of old kb code
15305 * WorkArea.C: remove Lgb_bug_find_hack
15307 2001-11-30 José Matos <jamatos@fep.up.pt>
15309 * buffer.C (makeDocBookFile): add a comment to point a hack.
15310 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15311 Fixed a double write of labels.
15313 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15316 * LaTeX.h Fixed bug in LaTeX class where it would not
15317 re-run latex if no depfiles were changed, but the .dvi was removed.
15319 2001-11-28 André Pönitz <poenitz@gmx.net>
15321 * all the files from the change on 2001/11/26:
15322 use lyx::layout_type instead of LyXTextClass::size_type
15323 use lyx::textclass_type instead of LyXTextClassList::size_type
15325 2001-11-29 Juergen Vigna <jug@sad.it>
15327 * text.C: added support for paragraph::isFreeSpacing()
15329 * buffer.C: same as above
15331 * paragraph.h: inserted isFreeSpacing() function to enable
15332 FreeSpacing inside InsetERT.
15334 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15335 of the paragraph's in the cut/copy buffer to 0!
15337 * text2.C (removeRow): remove the assert as it can!
15339 * lyxtext.h: added helper function firstRow returning firstrow and
15340 made firstrow private again.
15342 * BufferView2.C (lockInset): don't relock if we're already locked!
15344 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15345 the only paragraph.
15346 (removeRow): added Assert::(firstrow)
15348 * debug.C: forgot to add INSETTEXT here.
15350 2001-11-28 Juergen Vigna <jug@sad.it>
15352 * sp_spell.C (initialize): changed error text to more general
15353 spellchecker command use (not only ispell!)
15355 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15357 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15359 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15361 * vspace.C: initialise lyxgluelength on failure
15363 2001-11-28 Allan Rae <rae@lyx.org>
15365 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15366 declaration & definition that looks like a function declaration.
15368 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15370 * BufferView2.C (copy):
15371 (copyEnvironment): do not clear the selection when doing a copy.
15373 * text.C (paintFirstRow): compilation fix
15375 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15377 * tabular.C (Latex): correct line count when writing latex.
15379 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15381 * paragraph_pimpl.h:
15382 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15385 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15389 * LColor.C: change vfillline->added_space
15391 * text.C: add markers and text for added space
15393 * vspace.C: fix comment
15395 2001-11-28 André Pönitz <poenitz@gmx.net>
15397 * paragraph.C: whitespace changes
15398 * all the other files from the change on 2001/11/26:
15399 change *::pos_type into lyx::pos_type
15401 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15403 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15404 language of the document when inserting error insets.
15406 2001-11-26 André Pönitz <poenitz@gmx.net>
15408 * BufferView_pimpl.[Ch]:
15416 * paragraph_pimpl.[Ch]:
15419 * text2.C: reduce header dependencies, introduce type for positions
15421 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15423 * <various>: change to use Alert.h
15425 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15427 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15428 when encountering an unknown token.
15429 (readLyXformat2): Show an error message if there were unknown tokens.
15431 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15434 * BufferView_pimpl.C:
15438 * text2.C: use par->isInset()
15440 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15442 * paragraph_pimpl.h:
15443 * paragraph_pimpl.C: cleanup
15445 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15447 * text2.C (removeRow):
15448 * text.C (setHeightOfRow): remove useless (and costly) call to
15451 2001-11-20 Allan Rae <rae@lyx.org>
15453 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15454 Now need Inset*::checkInsertChar() to return true for appropriate
15455 cases so that the characters in the minibuffer will actually be
15458 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15460 * text.C: change the order of the includes.
15461 (workWidth): initialize it at once.
15462 (workWidth): make maxw unsigned
15463 (setHeightOfRow): remove unused variable (inset)
15464 (selectSelectedWord): remove unused variable (inset)
15465 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15467 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15469 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15470 server is not running.
15472 (closeConnection): add debug info when server is disabled.
15474 * ColorHandler.C (getGCForeground): send debug message to GUI
15477 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15479 * kbmap.C (bind): modify because return conventions of
15480 kb_sequence::parse have changed.
15482 * kbsequence.C (parse): only ignore spaces and not any stupid
15483 control character. This avoids tests like s[i] <= ' ', which are
15484 guaranteed to fail with 8bit characters and signed chars.
15485 Change return code to string::npos when there have been no error
15486 (0 was a bad idea when error is at first character)
15488 2001-11-14 José Matos <jamatos@fep.up.pt>
15491 * buffer.C (simpleDocBookOnePar): removed unused argument.
15493 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15495 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15496 insets which are part of a word. Paragraph::isLetter takes care of
15497 that now. Use Paragraph::isInset to identify insets.
15498 (selectSelectedWord): do not test for hyphenation break.
15500 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15501 that protected spaces are considered as spaces.
15503 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15506 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15509 * lyxserver.C: fix it. and small cleanup.
15511 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15513 * BufferView_pimpl.C: use inline helpers
15516 * LaTeXFeatures.C: fix typos
15519 * Spacing.C: move spacing_string into class
15521 * ToolbarDefaults.C: move stuff into namespace anon
15523 * layout.h: update enum
15525 * lyxfunc.C: use better debug
15527 * minibuffer.h: fix typo
15531 * WorkArea.C: add and use Debug::WORKAREA
15535 * text2.C: code re-organisation, inline helpers
15537 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15539 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15540 std::vector.empty().
15542 2001-11-09 Allan Rae <rae@lyx.org>
15544 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15545 '\n's after tables. Tabular and ERT inset work now makes this no
15548 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15551 * minibuffer.C: fix crash, improve drop-down completion
15553 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15556 * lyxserver.C: invalidate fd's when doing endPipe()
15558 2001-11-08 José Matos <jamatos@fep.up.pt>
15560 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15561 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15564 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15566 2001-11-07 José Matos <jamatos@fep.up.pt>
15569 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15572 * buffer.C (sgmlOpenTag):
15573 * buffer.C (sgmlCloseTag): removed debug info.
15575 * buffer.h (sgmlOpenTag):
15576 * buffer.h (sgmlCloseTag): made public.
15578 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15580 * buffer.C (saveParamsAsDefaults):
15581 * lyx_cb.C (MenuLayoutSave): remove
15583 * LyXAction.C (init):
15585 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15587 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15589 * buffer.C (setPaperStuff): removed from here...
15591 * bufferparams.C (setPaperStuff): ... and moved there.
15593 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15597 * XFormsView.C: add support for drop-down completion
15599 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15601 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15604 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15606 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15609 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15611 * lyx_main.C: change ref to known bugs
15613 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15615 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15616 to work around older babel problems.
15618 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15620 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15622 2001-10-24 Juergen Vigna <jug@sad.it>
15624 * tabular-old.C (ReadOld): below variable changes reflected.
15626 * tabular.[Ch]: added ltType struct for longtable header/footer
15627 defines and changed all instances where they are used. Added
15628 future support for double top/bottom rows.
15630 2001-10-24 José Matos <jamatos@fep.up.pt>
15632 * buffer.h (docbookHandleCaption):
15633 * buffer.C (docbookHandleCaption): removed unused function.
15634 (makeDocBookFile): moved docbook supported version to v4.1.
15636 2001-10-24 José Matos <jamatos@fep.up.pt>
15639 * tabular.C (docbookRow): new function to export docbook code of a row.
15640 (DocBook): now honors the longtable flags.
15642 2001-10-23 José Matos <jamatos@fep.up.pt>
15645 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15646 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15648 * buffer.C (makeLinuxDocFile):
15649 (makeDocBookFile): reworked the preamble, more clean, and with
15650 support for lyx defined entities. Changed the document declaration
15651 to be more XML friendly.
15653 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15654 if we need to output XML that should be done with a filter.
15656 2001-10-22 Juergen Vigna <jug@sad.it>
15658 * sp_pspell.h (class PSpell): add alive function needed in the
15659 controller to see if the spellchecker could be started.
15661 2001-10-22 Juergen Vigna <jug@sad.it>
15663 * buffer.C (insertStringAsLines): modify the font for inserting
15664 chars in certain conditions by calling checkInsertChar(font).
15666 2001-10-19 Juergen Vigna <jug@sad.it>
15668 * text.C (workWidth): use getRow instead of wrong algorithm.
15669 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15671 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15676 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15678 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15680 * text.C (workWidth): do not search for the exact row when
15681 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15682 optimization for big documents.
15684 2001-10-18 Juergen Vigna <jug@sad.it>
15686 * text.C (workWidth): new function with added Inset * parameter.
15688 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15690 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15692 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15693 change return type of getColumnNearX.
15696 * text.C (changeRegionCase): use uppercase/lowercase instead of
15699 (rightMargin): simplify code by factoring out the uses of
15704 (appendParagraph): use Paragraph::size_type
15706 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15708 * vspace.C (asLatexString): add a missing break
15710 2001-10-15 Herbert Voss <voss@perce.de>
15712 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15714 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15716 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15719 2001-10-10 André Pönitz <poenitz@gmx.net>
15721 * lyxfunc.C: removed greek_kb_flag.
15723 2001-10-10 Herbert Voss <voss@perce.de>
15725 * lyx_main.C: delete global string help_lyxdir.
15727 2001-10-09 Herbert Voss <voss@perce.de>
15729 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15731 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15733 * lyx_main.C: added global string help_lyxdir.
15735 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15737 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15739 * lyxrc.C (set_font_norm_type): support iso8859-4
15741 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15743 * LaTeX.C (deplog): add another regex for MikTeX
15745 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15747 * lyxrc.C (set_font_norm_type): support iso8859-3
15749 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15751 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15753 * LaTeXFeatures.C: remove special case of french and index
15755 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15756 before \begin{document}). This solves several incompatibilities.
15758 2001-10-03 Garst Reese <reese@isn.net>
15760 * lyx_cb.C: change CheckTex error msg.
15762 2001-10-03 José Matos <jamatos@fep.up.pt>
15764 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15766 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15768 * .cvsignore: update
15770 * lyx_main.C (commandLineVersionInfo): use new style version info.
15772 * buffer.C (writeFile):
15774 (makeLinuxDocFile):
15775 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15777 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15779 * version.h: update to use stuff in version.C
15781 * version.C.in: new file. Contains version information determined
15782 at compile time. This is a merging of version.h and
15785 2001-10-03 Juergen Vigna <jug@sad.it>
15787 * BufferView_pimpl.C (update): don't change "dirty" status in
15790 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15792 * WorkArea.C (c-tor): re-position version string slightly.
15794 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15796 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15797 revert to previous code.
15799 WorkArea.[Ch]: (show, destroySplash): methods removed.
15801 WorkArea.C: rework code so that it's an amalgam of the codes before and
15802 after the splash screen was moved to WorkArea.
15804 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15807 * vspace.C (inPixels):
15810 * buffer.C (insertStringAsLines):
15811 (asciiParagraph): fix types to be large enough
15813 * lyxlex_pimpl.h: change member status from short to int
15815 * layout.h: fix type of endlabeltype
15818 * kbsequence.C (parse): change return type to string::size_type
15820 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15823 * Bullet.C (bulletSize):
15824 (bulletEntry): do not use short ints as parameters
15826 * BufferView2.C (insertLyXFile): change a char to an int.
15828 * WorkArea.C (WorkArea): remove unneeded floats in computation
15830 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15832 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15834 * paragraph.C (asString): Do not ignore newline/hfill chars when
15835 copying to the clipboard.
15837 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15839 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15840 after a multi-line inset.
15842 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15844 * paragraph.C (validate): Set NeedLyXFootnoteCode
15846 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15848 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15849 and decrease-error to decrease.
15851 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15853 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15854 it more readable (should be equivalent)
15856 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15858 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15860 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15862 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15863 of a cursor (row, etc.) after a character has been deleted
15864 (deleteEmptyParagraphMechanism): call the method above on _all_
15865 cursors held by the LyXText when a double space has been
15868 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15870 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15872 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15874 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15875 background. Use greyOut() and the new show() methods to toggle between
15876 the foreground and background. Add code to remove the splash after
15877 its initial showing.
15879 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15880 (create_forms): no longer call Dialogs::showSplash.
15882 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15884 * .cvsignore: add version_info.h
15886 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15888 * version_info.h.in: new file
15890 * Makefile.am: add version_info.h.in
15892 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15893 version_info.h instead of VERSION_INFO
15895 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15897 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15898 The ERT inset now returns string().
15900 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15902 * lyxtext.h, text.C (selectNextWord): renamed as
15903 selectNextWordToSpellcheck.
15905 * text.C (selectNextWordToSpellcheck): Modified to not select
15906 words inside an ERT inset.
15908 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15910 * lyx_cb.C (MenuLayoutSave): change a bit the question
15912 * sp_base.h: include <sys/types.h>
15914 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15916 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15918 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15920 * several files: fix typos in user-visible strings
15922 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15924 * text2.C (pasteSelection): do not set the selection, since it
15925 will be cleared later. Actually, the intent was to fix the way the
15926 selection was set, but I figured rmoving the code was just as good.
15928 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15930 * FontLoader.C (available): Check if font is available without
15933 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15935 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15937 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15939 * lyxrc.[Ch]: added display_graphics variable and associated code.
15941 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15943 * bufferparams.C (hasClassDefaults): new method. Returns true if
15944 the buffer parameters correspond to known class defaults
15946 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15948 * XFormsView.C (show): set minimum size to the main window.
15950 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15952 * text2.C (copySelection):
15954 * lyxfind.C (LyXReplace):
15955 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15956 LyXText::selectionAsString.
15958 * paragraph.C (asString): add "label" argument to the second form
15960 * text2.C (selectionAsString): add "label" argument and pass it to
15961 Paragraph::asString.
15963 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15965 * lyx_main.C (commandLineHelp): remove version information
15967 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15969 * lyx_main.C: add -version commandline option
15971 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15973 * paragraph.h: make the optional constructor arg required instead.
15974 some modifications to other files because of this.
15976 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15978 * lyxserver.C (C_LyXComm_callback): make it static
15980 * lyx_main.C (error_handler): make it static
15982 * lyx_gui.C (LyX_XErrHandler): make it static
15984 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15986 * WorkArea.C: make the extern "C" methods static.
15988 * Makefile.am (lyx_LDADD): simplify
15990 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15992 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15993 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15995 * LyXAction.C (init):
15996 * lyxfunc.C (dispatch): associated code removal.
15998 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16000 * lyxfont.h (isSymbolFont): shut off warning
16002 * text.C (setHeightOfRow):
16003 (getVisibleRow): fix crash with empty paragraphs which have a
16006 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
16008 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
16011 2001-09-04 José Matos <jamatos@fep.up.pt>
16014 * tabular.C (docbook): rename docBook method to docbook.
16016 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16018 * Makefile.am: add dependencies to main.o.
16020 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
16022 * FontLoader.C (available): Return false if !lyxrc.use_gui
16024 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
16026 * FontInfo.C (query):
16027 * converter.C (view):
16028 * importer.C (Import):
16029 * exporter.C (Export): Can not -> cannot.
16031 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
16033 * BufferView_pimpl.C: allow to create index inset even if
16036 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16038 * buffer.C (getLists): replace boost::tie code with an explicit pair
16039 as boost::tie can break some compilers.
16041 * iterators.h: Added a std:: declaration to the return type of
16044 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
16046 * lyxrc.C: add help for view_dvi_paper_option, default to safe
16049 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
16051 * iterators.[Ch]: New files. Provide paragraph iterators.
16053 * buffer.C (changeLanguage): Use paragraph iterators.
16054 (isMultiLingual): ditto
16056 * BufferView2.C (ChangeInsets): Use paragraph iterators.
16058 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
16060 * FontLoader.C: Support for cmr font.
16062 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
16064 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16065 (available): New method.
16067 * FontInfo.C (getFontname): Use scalable fonts even when
16068 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16071 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16073 * converter.C (Formats::view): reverted! Incorrect fix.
16075 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16077 * converter.C (Formats::view): only output the -paper option
16078 if the dvi viewer is xdvi, thereby fixing bug #233429.
16080 2001-08-23 Herbert Voss <voss@perce>
16082 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16084 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16086 * Spacing.h (Spacing): Set space to Default on in the default
16089 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16091 * vc-backend.h (RCS::versionString): add RCS to version
16092 (CVS::versionString): add CVS to version
16094 * vc-backend.C (scanMaster): do not add CVS to version.
16095 (scanMaster): do not add RCS to version
16097 * lyxvc.C (versionString): new method
16099 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16101 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16103 * Spacing.C (set): initialize fval
16105 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16107 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16110 2001-08-16 Juergen Vigna <jug@sad.it>
16112 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16114 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16116 * BufferView_pimpl.C:
16119 * text2.C: setParagraph takes linespacing now
16121 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16123 * LyxAction.C: add internal LFUN_CITATION_INSERT
16125 * LyXView.C: actually apply fix
16127 * bufferlist.C: fix open non-existent file
16129 * lyxfind.C: fix indentation
16131 * lyxfunc.C: remove unneeded assert, fix typo
16133 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16135 * MenuBackend.C: use "Floatname List"
16137 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16139 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16140 when converting LaTeX layout to insetERT.
16141 Generate a non-collapsed float when reading old float
16143 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16145 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16148 2001-08-13 Juergen Vigna <jug@sad.it>
16150 * text.C (fill): return 0 instead of 20 as this seems to be the more
16153 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16155 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16158 2001-08-13 Juergen Vigna <jug@sad.it>
16160 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16162 (SearchBackward): comment out the unlocking of the inset_owner this
16163 should not be needed!
16165 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16167 * Many files: Remove inherit_language, and add latex_language
16169 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16170 collapsible insets.
16172 2001-08-10 Juergen Vigna <jug@sad.it>
16174 * text.C (prepareToPrint): fixed hfill-width in draw!
16176 * BufferView2.C (selectLastWord): save the selection cursor as this
16177 now is cleared in the function LyXText::clearSelection!
16179 2001-08-08 Juergen Vigna <jug@sad.it>
16181 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16182 BACKSPACE type functions.
16184 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16185 is only cutted from the document but not put in the cut-buffer, where
16186 still the old stuff should be.
16188 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16190 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16192 * tabular.C (SetWidthOfCell): fixed special case where the width
16194 (LeftLine): handle '|' in align_special.
16196 (LeftAlreadyDrawed): ditto
16197 (SetWidthOfCell): ditto
16199 2001-08-07 Juergen Vigna <jug@sad.it>
16201 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16203 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16205 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16206 * lyxlex.[hC]: ditto
16208 2001-08-06 Juergen Vigna <jug@sad.it>
16210 * text.C (getVisibleRow): fix up row clearing a bit.
16212 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16214 * minibuffer.C: make sure the X server sees the changes in the input.
16216 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16218 * paragraph.C (getFont): split into...
16219 (getLabelFont): this
16220 (getLayoutFont): and this
16221 * paragraph_pimpl.C (realizeFont): calling this
16223 * text2.C (getFont): split into...
16224 (getLayoutFont): this
16225 (getLabelFont): and this
16226 (realizeFont): all three calling this
16228 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16231 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16233 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16235 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16237 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16238 layouts from the Quote inset insertion.
16240 2001-08-03 Juergen Vigna <jug@sad.it>
16242 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16244 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16245 only if status not is already CHANGED_IN_DRAW (second level).
16247 * text.C (draw): don't set the need_break_row when inside an
16250 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16252 * buffer.C (parseSingleLyXformat2Token): handle more latex
16255 * bufferview_funcs.[hC]: change function names to
16256 begin with small char, adjust other files.
16258 2001-08-02 André Pönitz <poenitz@gmx.net>
16261 BufferView_pimpl.C: remove broken special code for math-greek
16263 2001-08-02 Juergen Vigna <jug@sad.it>
16265 * BufferView_pimpl.C (update): redone this function so that we
16266 update the text again if there was a CHANGE_IN_DRAW.
16268 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16269 (drawFromTo): added a new internal bool which is used by draw() and
16271 (general): some cursor drawing problems fixed.
16273 2001-08-01 Juergen Vigna <jug@sad.it>
16275 * lyxfind.C (LyXFind): fixed
16276 (SearchForward): ditto
16277 (SearchBackward): ditto
16279 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16280 spurius drawing of the cursor in the main area.
16282 * text2.C (status): small fix which could lead to a segfault!
16283 (clearSelection): remove unneeded BufferView param.
16285 2001-08-01 André Pönitz <poenitz@gmx.net>
16287 * lyxfunc.C: small change due to changed mathed interface
16289 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16291 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16293 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16295 * lyxfunc.c: fail gracefully if file doesn't exist
16300 * BufferView_pimpl.C: IsDirWriteable() proto changed
16302 * LyXView.C: fix updateWindowTitle() to store the last title
16304 2001-07-31 Juergen Vigna <jug@sad.it>
16306 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16307 the font (wrong since using of Paragraph::highestFontInRange).
16309 * paragraph.C (highestFontInRange): added a default_size parameter.
16311 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16312 (setHeightOfRow): reformat
16314 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16316 * converter.[hC] + affected files: move to (inital-char)lowercase
16319 * ParagraphParameters.C (ParagraphParameters): remove commented code
16321 * PainterBase.[Ch]: remove commented code
16323 * LaTeXFeatures.h: add "bool floats" for float.sty
16325 * LaTeXFeatures.C (LaTeXFeatures): init floats
16326 (require): handle float
16327 (getPackages): do it with floats
16329 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16331 * BufferView_pimpl.C (Dispatch): improve handling of
16332 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16334 * commandtags.h: #include lyxfont.h here temporarily to avoid
16337 * bufferlist.h: include LString.h here.
16339 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16341 * text2.C (getStringToIndex): new method.
16343 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16345 * *: Reduced header file dependencies all over.
16347 2001-07-30 Baruch Even <baruch@lyx.org>
16349 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16351 2001-07-29 Baruch Even <baruch@lyx.org>
16353 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16355 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16357 * ParameterStruct.h (endif): add a default constructor to make
16358 sure that all variables is initialized.
16360 * ParagraphParameters.C (ParagraphParameters): adjust
16362 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16364 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16365 index; also, check that there is something to index, and that it
16366 does not span over several paragraphs.
16367 (doubleClick): use WHOLE_WORD_STRICT for double click.
16369 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16371 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16374 2001-07-26 Baruch Even <baruch@lyx.org>
16376 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16377 an InsetFig figure, backwards compatible reading of old figure code.
16379 2001-07-27 Juergen Vigna <jug@sad.it>
16381 * text2.C: font.realize function adaption.
16383 * text.C (draw): add a warnings lyxerr text if needed.
16385 * layout.C: font.realize function adaption.
16387 * language.C: add inherit_language and implement it's handlings
16389 * bufferview_funcs.C (StyleReset): remove language parameter from
16390 font creation (should be language_inherit now).
16392 * bufferparams.C (writeFile): handle ignore_language.
16394 * paragraph.C (getFontSettings): the language has to be resolved
16395 otherwise we have problems in LyXFont!
16397 * lyxfont.C (lyxWriteChanges): added document_language parameter
16398 (update): removed unneeded language parameter
16400 * paragraph.C (validate): fixed wrong output of color-package when
16401 using interface colors for certain fonts in certain environments,
16402 which should not seen as that on the final output.
16404 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16406 * BufferView_pimpl.C:
16411 * LyXAction.C: add thesaurus support
16414 * lyxfind.C: add "once" parameter, for thesaurus, to not
16415 move to the next match
16417 2001-07-26 Juergen Vigna <jug@sad.it>
16419 * lyxfont.C (realize): honor ignore_language too!
16422 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16424 * text.C (draw): one place more for ignore_language to not draw
16427 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16429 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16431 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16433 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16434 the minipage conversion problem.
16436 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16438 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16441 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16443 * BufferView.h: don't forward declare WorkArea
16445 * BufferView.C: don't include WorkArea.h
16447 2001-07-25 André Pönitz <poenitz@gmx.net>
16451 * lyxfunc.C: new LFUN 'math-space'
16453 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16455 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16457 * text2.C (toggleInset): call open/close
16459 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16461 * lyxfunc.C (dispatch): add debug for the disabled case
16463 * font.C (buttonText): make similar to rectText
16465 * buffer.C (readInset): comment out parsing of insetlist and
16468 * PainterBase.C (rectText): small correction
16470 * BufferView_pimpl.C: comment out insettheorem and insetlist
16471 * LyXAction.C: ditto
16472 * commandtags.h: ditto
16474 2001-07-24 Juergen Vigna <jug@sad.it>
16476 * text.C (draw): honor the ignore_language.
16478 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16480 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16482 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16485 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16487 * lyxtext.h: remove unused (and unimplemented) methods
16489 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16491 * text.C (getVisibleRow): honor background color
16494 * Painter.h: remove default color argument for fillRectangle
16496 * text.C (backgroundColor): new method
16498 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16500 * text.C (getVisibleRow): adjust
16502 * font.[Ch] (rectText): new method, metrics
16503 (buttonText): new method, metrics
16505 * PainterBase.[hC]: make rectText and buttonText always draw and take
16508 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16510 * ToolbarDefaults.C (read):
16511 * MenuBackend.C (read): allow escaping in all strings
16513 * BufferView_pimpl.C (insertAndEditInset): new method.
16514 (Dispatch): use insertAndEditInset whenever appropriate.
16516 * BufferView_pimpl.C (insertNote): removed
16518 * BufferView_pimpl.C (smartQuote): new method, moved from
16519 BufferView; if an insetquote cannot be inserted, insert a '"'
16522 * BufferView2.C: remove insertCorrectQuote();
16524 * lyxfunc.C (getStatus): Add support for all remaingin
16525 inset-insert lfuns.
16527 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16529 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16530 command (necessary to pass " as parameter of self-insert.
16532 * text.C (selectWordWhenUnderCursor):
16533 (selectWord): add word_location parameter
16534 (selectWordWhenUnderCursor): same + remove special code for word
16536 (selectNextWord): use kind() to guess type of insetspecialchar,
16539 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16540 (insertErtContents): create ert insets as collapsed.
16541 (readInset): better compatibility code for Info inset.
16543 2001-07-20 Juergen Vigna <jug@sad.it>
16545 * lyxfunc.C (dispatch): use always LyXFind now!
16547 * text2.C (init): add a reinit flag so that the LyXText can be
16548 reinited instead of deleted and reallocated (used in InsetText).
16550 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16556 2001-07-18 Juergen Vigna <jug@sad.it>
16558 * text.C (selectNextWord): handle insets inside inset by calling
16559 always the bv->text functions so that we can go up the_locking_inset!
16561 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16562 in strange locations when inside an inset!
16564 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16565 handling to include insets.
16567 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16569 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16571 * LyXAction.C (init):
16573 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16574 LIGATURE_BREAK, since the name is so stupid.
16576 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16578 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16581 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16583 * sp_form.[Ch]: remove.
16585 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16587 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16590 * src/buffer.C (readInset): ditto.
16592 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16594 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16595 menuSeparator(), endOfSentenceDot(), ldots() and
16596 hyphenationPoint(), which are therefore removed.
16597 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16599 * LyXAction.C (init):
16600 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16602 * paragraph.C (getWord): removed.
16604 * BufferView_pimpl.C (Dispatch): use last word or selection for
16605 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16607 * lyx_main.C (queryUserLyXDir): do not ask before creating
16608 user_dir, except if it has been named explicitely.
16610 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16612 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16613 a document of zero size.
16615 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16617 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16618 approriately in the c-tor and in require().
16619 (getPackages): output the appropriate LaTeX for natbib support.
16621 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16622 variables "use_natbib" and "use_numerical_citations" when reading the
16624 (readInset): read the various natbib cite commands.
16625 (validate): white-space change.
16627 * bufferparams.[Ch]: new variables "bool use_natbib" and
16628 "bool use_numerical_citations".
16629 (writeFile): output them in the LyX file.
16631 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16633 * lyxfunc.C (getStatus): add support for all the inset insertion
16636 * text2.C (insertInset):
16637 * paragraph.C (insetAllowed):
16638 * BufferView_pimpl.C (insertInset): update to take in account the
16639 renaming of insertInsetAllowed
16641 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16643 * text2.C (getInset): new method. returns inset at cursor position.
16645 * BufferView_pimpl.C (Dispatch): changes because of this.
16647 * LyXAction.C (init): rename open-stuff to inset-toggle.
16649 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16651 * text2.C (toggleInset): renamed from openStuff; use
16654 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16656 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16658 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16660 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16662 * buffer.C (readLyXformat2): Add filename to the error dialog
16664 2001-07-18 Juergen Vigna <jug@sad.it>
16666 * tabular.C (GetCellNumber): put an assert here instead of the check!
16668 2001-07-17 Juergen Vigna <jug@sad.it>
16670 * BufferView_pimpl.C (toggleSelection): adapted too.
16672 * text.C (selectNextWord): adapted for use with insets.
16673 (selectSelectedWord): ditto
16675 2001-07-17 Juergen Vigna <jug@sad.it>
16677 * sp_spell.C (PSpell): fix initialitation order.
16679 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16681 * paragraph.C: spacing
16683 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16685 * sp_spell.C: repair language selection for pspell
16687 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16689 * lyxfunc.h: change more methods to begin with lower char.
16691 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16693 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16694 for unknown layouts.
16696 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16698 * buffer.C (readLyXformat2): Generate an error dialog if there are
16701 2001-07-16 Juergen Vigna <jug@sad.it>
16703 * sp_spell.C: always compile ISpell part.
16705 * lyxrc.C: added use_pspell entry and it's handling.
16707 2001-07-13 Juergen Vigna <jug@sad.it>
16709 * sp_spell.C: removed double includes.
16711 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16713 Consistent use of Lsstream.h:
16714 * Lsstream.h: added using std::stringstream for consistencies sake.
16716 * buffer.C: removed using std::stringstream
16718 * lyxfont.C (stateText):
16719 * paragraph.C (asString):
16720 * text.C (selectNextWord, selectSelectedWord):
16721 * text2.C (setCounter):
16722 * vspace.C (asString, asLatexString):
16723 std::ostringstream -> ostringstream.
16725 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16727 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16728 * commandtags.h: add LFUN_HELP_ABOUTLYX
16729 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16731 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16733 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16735 * lyx_gui_misc.C: remove spellchecker
16736 * lyxfunc.C: showSpellchecker
16738 * sp_ispell.h: added
16739 * sp_pspell.h: added
16740 * sp_spell.C: added
16741 * sp_form.[Ch]: removed
16742 * spellchecker.[Ch]: removed
16744 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16746 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16748 (simpleTeXSpecialChars): Simply print the input character without
16749 any special translation if pass_thru is set.
16751 * layout.h: Added bool pass_thru to layout class for being able to
16752 implement pass through of a paragraph for Literate Programming.
16754 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16755 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16756 * layout.C (Read): add "passthru" to list of layout tags and add
16757 code to set the pass_thru boolean when it is read.
16759 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16761 * trans_decl.h: remove allowed from KmodInfo
16763 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16764 remove allowed code
16767 * paragraph_pimpl.C (erase): use boost::prior
16769 * Painter.C (text): use data() instead of c_str() when length is
16771 * WorkArea.C (putClipboard): ditto
16772 * font.h (width): ditto
16774 * BufferView2.C: use it-> instead of (*it). for iterators
16776 * paragraph_pimpl.C: ditto
16777 * paragraph.C: ditto
16778 * minibuffer.C: ditto
16779 * language.C: ditto
16781 * encoding.C: ditto
16782 * counters.C: ditto
16783 * converter.C: ditto
16785 * Variables.C: ditto
16786 * TextCache.C: ditto
16787 * MenuBackend.C: ditto
16788 * LyXAction.C: ditto
16790 * FloatList.C: ditto
16791 * DepTable.C: ditto
16792 * ColorHandler.C (LyXColorHandler): ditto
16794 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16796 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16798 * text2.C (openStuff): reintroduce this method (which had been
16799 nuked in NEW_INSETS frenzy).
16801 * lyxfunc.C (Dispatch): when an action has not been handled, use
16802 its name in the error message, not its number.
16804 * paragraph.C (inInset): change method name to begin with lowercase.
16807 * text2.C: updates because of this.
16809 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16811 * ToolbarDefaults.C (add): add spaces in error message
16813 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16815 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16816 (readLyXformat2): rename return_par to first_par, use lyxlex's
16817 pushToken and remove the manual push handling.
16818 (parseSingleLyXformat2Token): add another ert comp. variable:
16819 in_tabular, rename return_par to first_par. handle newlines better
16821 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16823 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16825 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16827 * text2.C (getParFromID): removed
16829 * buffer.C (getParFromID): new method moved form lyxtext.
16830 * BufferView2.C (insertErrors): adjust
16831 (setCursorFromRow): adjust
16832 * BufferView_pimpl.C (restorePosition): adjust
16833 * lyxfunc.C (Dispatch): adjust
16834 * undo_funcs.C (textUndo): adjust
16836 (textHandleUndo): adjust
16837 (textHandleUndo): adjust
16839 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16841 * buffer.C: up' the LYX_FORMAT
16843 * lyxfont.h: turn NO_LATEX on as default
16845 * buffer.C (insertErtContents): new methods of tex style compability.
16846 (parseSingleLyXformat2Token): use it several places.
16847 * tabular.C (OldFormatRead): and here
16849 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16851 * text2.C: remove some commented code.
16854 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16855 * trans.C: changes because of the above.
16857 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16859 * text2.C (setCounter): Fix counters bug with bibliography layout.
16861 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16863 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16864 own member functions
16865 (simpleTeXSpecialChars): ditto
16867 2001-07-06 Juergen Vigna <jug@sad.it>
16869 * a lot of files: changed the access to LyXText::status and the
16870 call of undo-functions.
16872 * undo.[Ch]: added a inset_id to the undo informations.
16874 * undo_funcs.[Ch]: added and moved here all undo functions.
16876 * lyxtext.h: give the status enum a weight, made status_ a private
16877 variable and made accessor functions for it, removed the whole bunch
16878 of undo-functions as they are now in their own file, make some
16879 functions publically available. Added function ownerParagraph with
16882 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16883 made InInset() a const function, added getParFromID() function.
16885 * buffer.[Ch]: added const version for inset_iterator functions,
16886 added getInsetFromID() function.
16888 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16889 changed undo functions for new version.
16891 2001-07-05 Juergen Vigna <jug@sad.it>
16893 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16894 unknow mechanism does not call the proper constructor but only this
16895 one also if I request the other!?
16897 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16899 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16901 * text2.C (LyXText): use initialization lists.
16903 * lyxtext.h (Selection): initialize set_ and mark_
16904 (init): remove method
16906 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16908 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16910 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16912 * screen.[Ch]: change method names to begin with lowercase
16914 * BufferView_pimpl.C (updateScrollbar): simplify further and
16915 hopefully make it a bit faster.
16917 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16919 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16920 calling directly xforms functions.
16922 * Painter.C (Painter):
16923 * lyx_cb.C (MenuWrite):
16924 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16927 * lyx_gui.C: remove bogus guiruntime extern declaration.
16929 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16931 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16933 (redoDrawingOfParagraph): ditto
16934 (redoParagraphs): ditto
16935 (cutSelection): don't create a object for CutAndPaste use the
16936 static method directly
16937 (pasteSelection): ditto
16939 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16942 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16944 * modifications to some other files because of this.
16946 * Makefile.am (lyx_SOURCES): add XFormsView
16948 * XFormsView.[Ch]: new files
16950 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16951 the main window. Move the gui dependent stuff to XFormsView
16953 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16955 * tabular.C (GetCellInset): update cur_cell also in the row/col
16956 version of this function.
16958 * lyxfunc.C: no need to include figure_form.h here.
16964 * lyxvc.C: no need to include forms.h here.
16966 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16968 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16970 * lyxfunc.C (Dispatch):
16972 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16973 constructor argument.
16975 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16977 * paragraph.C (Paragraph): dont't clear, and just set layout.
16978 (makeSameLayout): use params's copy contructor.
16980 * ParagraphParameters.[Ch] (makeSame): delete method
16982 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16984 * Variables.[Ch]: fix indentation, rename set to isSet
16986 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16988 * lyxfunc.C (Dispatch): fix typo
16990 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16992 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16995 * bufferlist.C: include assert.h for emergencyWrite().
16997 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16999 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
17000 give up at last (bug #425202) !
17002 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
17008 * spellchecker.C: strip spellchecker options and bring up
17009 preferences tab instead
17011 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17013 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
17014 the istringstream constructor
17016 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17018 * paragraph.C (getLayout): fix return value
17020 * paragraph.h: do not declare getLayout as inline.
17022 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
17024 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17026 * lyxcursor.h (operator<): new func
17027 (operator>): new func
17028 (operator>=): new func
17029 (operator<=): new func
17031 * text.C (changeCase): use selection.start and selection.end
17032 (changeRegionCase): require from to be <= to. Require par to be a
17035 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17037 2001-06-27 Juergen Vigna <jug@sad.it>
17039 * text.C (cursorLeftOneWord): changed to return the cursor and added
17040 overlay with BufferView * parameter which calls this one.
17042 (selectWord): use new getWord function.
17043 (changeCase): renamed from changeWordCase as and extended to work
17044 also on selections.
17046 * lyxtext.h: added enum word_location
17048 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17049 changeCase as this operates now also on selections.
17051 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
17053 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17055 * many files: send debug output to Debug::INFO instead of
17058 * converter.C (View):
17060 (Move): send debug output to Debug::FILES instead of console.
17062 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
17064 * lyxfunc.C (getStatus): use func_status
17066 * func_status.h: new header, describing the results of
17067 LyXFunc::getStatus;
17069 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17072 2001-06-25 The LyX Project <jug@sad.it>
17074 * buffer.C (sgmlOpenTag):
17076 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
17078 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17080 * text2.C: remove some dead code
17082 * tabular.C (GetCellInset): store the last cell checked (gotten)
17084 * tabular.h: add the helper for the speedup
17086 * lyxtext.h: remove some dead code
17088 2001-06-26 The LyX Project <Asger>
17090 * paragraph.C: Change export to LaTeX of alignment to
17091 \begin{center} and family for better roundtrip work with reLyX.
17093 * Tune the math drawing a bit.
17095 2001-06-25 The LyX Project <Asger>
17097 * LColor.C (LColor): New color for math background. New color
17100 2001-06-25 The LyX Project <jug@sad.it>
17102 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17104 * lyxfunc.C (Open):
17105 * bufferlist.C (newFile): do not restrict to files ending with
17108 * BufferView_pimpl.C (MenuInsertLyXFile):
17110 2001-06-24 The LyX Project <jug@sad.it>
17112 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17115 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17117 * lyxtext.h: rename most methods to begin with a small char.
17118 Lots of changes because of this.
17120 * paragraph.C (Paragraph): do not call fitToSize
17121 (erase): call Pimpl::erase
17122 (insertChar): call Pimpl::insertChar
17123 (insertInset): call Pipl::insertInset
17124 (breakParagraph): do not call fitToSize
17125 (breakParagraphConservative): do not call fitToSize
17126 (fitToSize): remove method
17128 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17130 2001-06-24 The LyX Project <Asger>
17132 * Fix Qt compilation^2
17134 2001-06-24 The LyX Project <jug@sad.it>
17136 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17137 depthHook(getDepth()-1).
17140 * ParagraphParameters.h:
17141 * ParameterStruct.h: change type of depth to unsigned int ==
17142 depth_type. Many adaptations to other files before of that.
17144 2001-06-24 The LyX Project <Asger>
17146 * Fix Qt compilation.
17148 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17150 * paragraph.h: renamed several methods to begin with small letter.
17151 several changes to many parts of the code because of this.
17153 2001-06-23 The LyX Project <jug@sad.it>
17155 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17156 rewritten to discard all double spaces when KeepEmpty is off
17157 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17158 to only handle newlines but not fiddle with spaces and friends.
17160 * lyxfunc.C (MenuNew): when doing 'new from template', use
17161 template_path as default directory
17163 2001-06-23 The LyX Project <Asger>
17165 * Clean-up of header file includes all over
17166 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17168 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17170 * paragraph.h: renamed from lyxparagraph.h
17172 2001-06-23 Asger <lyx@violet.home.sad.it>
17174 * Buffer.h: Removed Buffer::resize
17175 * BufferList.h: Removed BufferList::resize
17176 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17177 the document lazily when we change the width, or the font settings.
17179 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17181 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17183 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17185 * buffer.h: remove out of date comment
17187 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17190 * screen.C: fix "theoretical" GC leak
17192 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17194 * LaTeX.C (scanAuxFile):
17195 (deplog): remove trailing \r when reading stream (useful under
17198 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17200 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17201 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17202 and BufferView::theLockingInset(Inset*), so should use them and not
17203 access bv_->text->the_locking_inset directly.
17205 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17207 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17210 * tex-defs.h: remove old unused file
17212 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17214 * BufferView_pimpl.C: fix typo, remove minibuffer message
17215 when buffer has loaded
17217 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17219 * lyxfunc.C (Dispatch): use stringstream
17220 (MenuNew): use stringstream
17221 (Open): use stringstream
17223 * importer.C (Import): use stringstream
17225 * bufferview_funcs.C (CurrentState): use stringstream
17227 * LaTeX.C (run): use stringstream
17229 * BufferView_pimpl.C (savePosition): use stringstream
17230 (restorePosition): use stringstream
17231 (MenuInsertLyXFile): use stringstream
17233 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17246 * vspace.C: removed // -*- C++ -*- as first line.
17249 * version.h: added // -*- C++ -*- as first line.
17251 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17253 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17255 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17258 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17260 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17263 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17265 * gettext.C: include LString.h even when --disable-nls is on.
17267 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17269 * converter.h (Get): changed argument type from int to
17270 FormatList::size_type to avoid unnecessary conversion.
17272 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17275 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17277 * gettext.h: include LString.h even when --disable-nls is on.
17279 2001-06-07 Juergen Vigna <jug@sad.it>
17281 * text.C (BreakAgain): subst spaces with tabs.
17283 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17284 (resizeInsetsLyXText): set force on resizeLyXText.
17286 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17288 * gettext.h (gettext_init):
17289 (locale_init): use a real definition instead of a macro
17291 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17293 * Bufferview_pimpl.C:
17295 * LColor.C: further lcolor tidies
17297 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17299 * BufferView_pimpl.C (updateScrollbar): simplify.
17301 * BufferView2.C: don't include insets/insetinfo.h, change
17302 prototype for insertInset and call the Pimpl version. let
17303 updateInset call Pimpl version.
17305 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17306 gotoInset to BufferView::Pimpl
17308 2001-06-01 Juergen Vigna <jug@sad.it>
17310 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17311 inside a LockingInset (is the update needed at all?).
17313 2001-05-31 Juergen Vigna <jug@sad.it>
17315 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17316 here not the old one otherwise how should we compare it afterwards
17319 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17324 * FontInfo.C: bring C functions into global namespace when
17327 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17329 * LString.h: make sure config.h has been loaded before LString.h.
17331 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17332 (one for each char read by EatLine!).
17334 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17337 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17339 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17340 to the same as the par we break from
17342 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17344 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17346 * MenuBackend.C (expand): also create menu entries for wide
17347 versions of the floats.
17349 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17351 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17353 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17354 frontends/Makefile.am
17360 * tabular.C (getTokenValue): add std::
17362 * tabular-old.C (getTokenValue): add std::
17363 (getTokenValue): ditto
17364 (getTokenValue): ditto
17366 * screen.C (ToggleSelection): adjust
17368 * lyxtext.h: put selection cursors inside a Selection struct.
17370 * lyxfunc.C (moveCursorUpdate): adjust
17372 * lyxfont.C (latexWriteStartChanges): add std::
17374 * lyxfind.C: adjust
17376 * font.h: delete with(char const *, LyXFont const &)
17378 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17380 * FontInfo.C (getFontname): add std::
17382 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17383 (workAreaButtonPress): adjust
17384 (tripleClick): adjust
17386 (moveCursorUpdate): adjust
17389 * BufferView2.C (gotoInset): adjust
17391 2001-05-30 Juergen Vigna <jug@sad.it>
17393 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17394 to check pspell I add this as default as I now have new pspell
17395 libraries and they seem to use this.
17397 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17399 * text2.C (CutSelection): make the cursor valid before the call to
17402 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17404 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17405 relied on 0 terminated strings and other horrors. Bug found due to
17406 the new assert in lyxstring!
17408 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17411 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17413 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17416 * lyxfunc.C (processKeySym): change method of getting to the
17419 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17420 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17421 * BufferView_pimpl.[Ch]: here as private methods.
17423 2001-05-28 Juergen Vigna <jug@sad.it>
17425 * text.C (SetHeightOfRow): added the update() call again as it is
17426 needed to initialize inset dimensions!
17428 2001-05-16 Juergen Vigna <jug@sad.it>
17430 * text2.C (SetCharFont): Add new function with BufferView * and
17431 bool toggleall parameters for setting insets internal fonts.
17432 (SetFont): Freeze the undo as we may change fonts in Insets and
17433 all this change should be inside only one Undo!
17435 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17436 setting font's in insets as for them we have the SetFont function!
17438 2001-05-15 Juergen Vigna <jug@sad.it>
17440 * text2.C (ClearSelection): to be sure we REALLY don't have any
17443 * tabular.C (TeXCellPreamble): fixed the left border problem for
17446 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17448 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17451 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17453 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17454 LFUN_BREAKPARAGRAPH.
17456 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17457 help test to "internal only", similar for LFUN_INSERT_URL
17459 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17460 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17461 auto_region_delete and deadkeys.
17463 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17466 * LColor.C: remove some dead entries, tidy a little
17468 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17470 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17472 (Dispatch): implement LFUN_ESCAPE
17474 * commandtags.h: add LFUN_ESCAPE
17476 * LyXAction.C (init): add entry for LFUN_ESCAPE
17478 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17479 Remove commented code.
17480 (insertNote): moved here
17481 (open_new_inset): moved here
17483 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17486 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17488 * kbmap.C (findbinding): clean it up and make it work correctly.
17490 * lyx_main.C (init): do not pass argc and argv as parameters
17492 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17494 * buffer.C: fix path for OS/2 & Win32
17498 * lyx_main.C: Added os:: class.
17500 * os2_defines.h: update
17502 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17504 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17505 better by trying again with reduced state.
17507 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17509 * lyxrc.C (read): print error about invalid key sequence only when
17510 debugging (because not all latinX keysyms are known to some X
17513 * kbsequence.C (getiso): add a few std:: qualifiers
17514 (getiso): comment out extra return statement.
17516 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17518 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17520 (Dispatch): enhance the accent inset a bit. (not perfect)
17522 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17524 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17526 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17528 * bufferlist.C (emergencyWrite): fix assert() call
17530 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17532 * text.C (InsertChar): Added trivial patch to only send the "you
17533 can not do multiple spaces this way" message once during a
17536 2001-05-08 Baruch Even <baruch@lyx.org>
17538 * Makefile.am: Changed order of libraries to get LyX to link properly
17539 with the gnome frontend.
17541 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17543 * LaTeXFeatures.h: add a std:: qualifier
17545 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17547 * paragraph.C (String): use stringstream
17549 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17551 * paragraph.C (writeFile): remove footflag arg
17553 * buffer.C (makeLaTeXFile): use stringstream
17554 (latexParagraphs): remove footnot gurba
17556 * LaTeXFeatures.C (getPackages): use stringstream
17557 (getMacros): likewise
17558 (getTClassPreamble): likewise
17559 (getFloatDefinitions): new method
17561 * paragraph.C (writeFile): reindent
17564 * WorkArea.h: revert the xpos + etc changes.
17566 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17568 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17570 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17571 (pasteSelection): likewise
17572 * text2.C (CreateUndo): likewise
17574 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17576 * minibuffer.C (peek_event): temporarily reduce the functionality
17577 of the minibuffer (to allow args on lfuns)
17579 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17580 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17582 * buffer.C (readInset): add compability reading of old float
17583 lists, add reading of new style float list.
17584 (readInset): avoid reevaluation of inscmd.getCmdName()
17585 (getLists): reindent
17587 * MenuBackend.C (MenuItem): implement parsing of
17588 md_floatlistinsert and md_floatinsert.
17589 (expand::LastFiles): move initalizaton of iterators out of loop,
17590 avoid reevaluation.
17591 (expand::Documents): introduce typdedef vector<string> Strings,
17593 (expand::ExportFormats): introduce typedef vector<Format const *>
17594 Formats, and use it.
17595 (expand): implement FloatListInsert and FloatInsert.
17597 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17598 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17599 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17601 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17603 (Dispatch::LFUN_FLOAT_LIST): implement
17605 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17607 * LaTeX.C (run): Fix problem with --export code.
17609 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17611 * BufferView.[Ch] (workarea): removed.
17612 (getClipboard) new method; wrapper for workarea()->getClipboard()
17614 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17617 * WorkArea.h (width, height, xpos, ypos): These methods all
17618 returned the dimensions of the work_area sub-area of WorkArea,
17619 resulting in a position error if the WorkArea were resized. Now
17620 return the dimensions of the entire WorkArea.
17622 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17624 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17626 * LaTeX.C (deplog): correct the syntax of regex reg1
17628 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17630 * undo.C: remove !NEW_INSETS cruft
17632 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17634 * text2.C: remove !NEW_INSETS cruft
17636 * text.C: remove !NEW_INSETS cruft
17638 * tabular.C: remove !NEW_INSETS cruft
17640 * spellchecker.C: remove !NEW_INSETS cruft
17642 * lyxtext.h: remove !NEW_INSETS cruft
17644 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17646 * lyxfunc.C: remove !NEW_INSETS cruft
17648 * lyxfind.C: remove !NEW_INSETS cruft
17650 * lyx_cb.C: remove !NEW_INSETS cruft
17652 * figureForm.C: remove !NEW_INSETS cruft
17654 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17656 * buffer.[Ch]: remove !NEW_INSETS cruft
17658 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17660 * CutAndPaste.C: remove !NEW_INSETS cruft
17662 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17664 * BufferView2.C: remove !NEW_INSETS cruft
17666 * BufferView.h: remove !NEW_INSETS cruft
17668 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17670 * Lsstream.h: include LString.h before the sstream headers to
17671 fix problem with gcc 2.95.3 and lyxstring
17673 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17675 * lyx_main.C: add using directives when needed for C functions
17676 declared in std:: namespace.
17678 2001-04-27 Juergen Vigna <jug@sad.it>
17680 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17681 (SetHeightOfRow): comment out the update call should not be needed!
17683 2001-04-13 Juergen Vigna <jug@sad.it>
17685 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17686 (LyXTabular): tried to minimize operator= operations (and realized
17687 hopfully Lars wish).
17689 2001-04-27 Juergen Vigna <jug@sad.it>
17691 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17693 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17695 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17697 * buffer.C (readInset): hack to make listof algorithm work
17699 * BufferView_pimpl.C: hack to make listof algorithm work
17701 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17703 * LyXAction.C: removed all !NEW_INSETS cruft
17704 (init): moved lfun_item in method
17706 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17708 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17710 * BufferView2.C (theLockingInset): white space.
17712 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17714 * minibuffer.C: include <iostream>
17716 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17718 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17720 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17722 * text.[Ch] (TransposeChars): new method
17724 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17726 * call message directly through LyXView instead of through LyXFunc
17727 * BufferView2.C: adjust
17728 * BufferView_pimpl.C: adjust
17729 * FontLoader.C: adjust
17731 * bufferview_funcs.C: adjust
17732 * converter.C: adjust
17733 * figureForm.C: adjust
17734 * importer.C: adjust
17736 * lyx_gui_misc.C: adjust
17737 * lyxfunc.C: adjust
17740 + more files in subdirs
17742 * lyxparagraph.h (size): move up int file
17745 * adjust all uses of Assert to lyx::Assert.
17747 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17748 lyxfunctional in namespace lyx
17749 * layout.C (hasLayout): ditto
17752 (delete_layout): ditto
17753 (NumberOfClass): ditto
17754 * converter.C (GetFormat): ditto
17759 * bufferlist.C (getFileNames): ditto
17760 (emergencyWriteAll): ditto
17763 * MenuBackend.C (hasSubmenu): ditto
17766 * BufferView_pimpl.C (getInsetByCode): ditto
17768 2001-04-18 Juergen Vigna <jug@sad.it>
17770 * vspace.C (asLatexString): fixed the 100% problem.
17772 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17774 * lyxfunc.C (Dispatch):
17776 * minibuffer.h: add a few std:: qualifiers
17778 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17780 * minibuffer.[Ch]: reimplement so that commands is initiated and
17781 run from lyxfunc, simplified som handling, and made the completion
17782 and history code for complete. wip.
17784 * lyxfunc.C (processKeySym): call message
17785 (miniDispatch): new temporary method
17786 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17787 (LFUN_MESSAGE): implement
17788 (LFUN_MESSAGE_PUSH): implement
17789 (LFUN_MESSAGE_POP): implement
17790 (initMiniBuffer): the initial/defualt minibuffer message.
17792 * lyxfont.[Ch]: inline some more getters
17794 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17796 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17798 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17799 (AutoSave): use LFUN_MESSAGE
17800 (Reconfigure): ditto
17802 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17804 * figureForm.C: use LFUN_MESSAGE
17806 * converter.C (runLaTeX): use LFUN_MESSAGE
17808 * bufferview_funcs.C: use LFUN_MESSAGE
17810 (changeDepth): ditto
17812 * bufferparams.h: use boost::
17814 * bufferlist.h: inherit privately from noncopyable
17816 * bufferlist.C (loadLyXFile): remove some commented code.
17818 * buffer.C (runChktex): use LFUN_MESSAGE
17820 * ShareContainer.h: inherit privately from noncopyable
17822 * ParagraphParameters.[hC] (depth): inline it.
17824 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17826 (message): new method
17827 (messagePush): ditto
17828 (messagePop): ditto
17829 (show): init minibuffer
17830 (showState): direct call
17832 * LaTeX.[Ch]: inherit privately from noncopyable
17833 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17834 instead of WriteStatus.
17836 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17838 * BufferView_pimpl.C (buffer): don't init minibuffer
17839 (workAreaButtonPress): use LFUN_MESSAGE
17840 (workAreaButtonRelease): ditto
17841 (savePosition): ditto
17842 (restorePosition): ditto
17843 (MenuInsertLyXFile): ditto
17844 (workAreaExpose): don't init minibuffer
17845 (update): remove commented code, simplify
17847 * BufferView2.C (openStuff): use LFUN_MESSAGE
17848 (toggleFloat): ditto
17851 (copyEnvironment): ditto
17852 (pasteEnvironment): ditto
17857 (updateInset): remove some commented code
17859 * lastfiles.h: inherit privately from noncopyable
17862 * lyx_main.h: ditto
17864 * lyxlex_pimpl.h: ditto
17866 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17867 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17868 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17870 * LyXAction.h: inherit privately from noncopyable, add methods
17871 func_begin, func_end, returning iterators to the func map.
17873 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17874 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17875 (func_begin): new method
17876 (func_end): new method
17878 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17880 (copySelection): ditto
17881 (pasteSelection): ditto
17883 * BufferView.C: whitespace change
17884 * BufferView.h: inherit privately from noncopyable
17886 2001-04-16 Allan Rae <rae@lyx.org>
17888 * tabular-old.C (l_getline):
17889 * spellchecker.C (sc_check_word):
17890 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17891 an unrecognised preprocessor directive. So ensure they're wrapped.
17893 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17895 * src/exporter.C (Export): Give an error message when path to file
17898 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17900 * LaTeX.C (deplog): Always check that foundfile exists.
17902 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17905 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17907 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17909 * tabular.[Ch] (getLabelList): implement new method
17911 * minibuffer.h: comment ouf setTiimer
17913 * minibuffer.C (ExecutingCB): constify res
17914 (peek_event): constify s
17915 (Set): constify ntext
17916 (Init): constify nicename
17918 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17920 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17921 (savePosition): use two params to Minibuffer::Set
17922 (restorePosition): ditto
17924 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17926 * lyx_main.C: include language.h
17928 * Makefile.am (lyx_main.o): add language.h
17930 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17936 * CutAndPaste.C: include gettext.h
17938 * lyxfont.h: remove old hack with ON and OFF.
17941 * lyxfont.h: do not include language.h...
17946 * bufferview_funcs.C:
17952 * paragraph.C: ... but do it here instead
17954 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17956 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17958 * tabular.C: small reformat
17960 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17963 (BreakParagraph): ditto
17964 (SetOnlyLayout): ditto
17967 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17970 * lastfiles.C: removed most using decl, add std:: where needed
17972 * buffer.C: ws changes
17974 * MenuBackend.C (class compare_format): put into anon namespace
17975 (expand): constify label, names, action, action2
17978 * text.C (SingleWidth): constify font
17979 (IsBoundary): constify rtl2
17980 (GetVisibleRow): constify ww
17982 * LaTeX.C (deplog): constify logfile
17984 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17986 (workAreaExpose): constify widthChange, heightChange
17988 * lyxrow.C (par): moved
17991 * lyxrow.h: as inlines here
17993 * lyxfont.h (shape): moved from lyxfont.C
17994 (emph): moved from lyxfont.C
17996 * lyxfont.C (LyXFont): use initialization list for all
17998 (shape): move to lyxfont.h as inline
17999 (emph): move to lyxfont.h as inline
18002 2001-04-04 Juergen Vigna <jug@sad.it>
18004 * vspace.C: had to include stdio.h for use of sscanf
18006 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
18009 * BufferView_pimpl.h: remove xforms cruft. Both classes are
18010 independent of xforms.
18012 2001-04-02 Juergen Vigna <jug@sad.it>
18014 * spellchecker.C: fixed namespace placing!
18016 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
18018 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
18019 the LyXParagraph * is 0.
18021 2001-03-29 Juergen Vigna <jug@sad.it>
18023 * vspace.C: added support for %, c%, p%, l%.
18024 (stringFromUnit): added helper function.
18025 (asLatexString): changed to give right results for the %-values.
18027 * buffer.C: convert the widthp in a width%.
18029 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
18031 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18034 * figureForm.[Ch]: stripped the FD_from_figure manipulation
18035 code out of lux_cb.[Ch], ready for its (imminent?) removal.
18037 * lyx_cb.[Ch]: see above.
18039 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18043 * lyx.[Ch]: replaced by figure_form.[Ch].
18047 * lyxfunc.C: changed headers associated with above changes.
18049 2001-03-27 Juergen Vigna <jug@sad.it>
18051 * BufferView_pimpl.C: set the temporary cursor right!
18053 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
18055 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18057 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
18059 * LString.h: removed "using std::getline"!
18061 * BufferView_pimpl.C (Dispatch): changes due to changes in
18062 InsetInclude::Params.
18064 * buffer.C (tag_name): removed redundant break statements as they were
18065 producing lots of warnings with my compiler.
18067 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18069 * LString.h: add "using std::getline" when using the real <string>.
18071 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
18073 * buffer.C: removed bitset usage.
18074 PAR_TAG moved to an anonymous name space.
18075 (tag_name): new funtion, also in the anonymous namespace.
18076 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18077 (makeDocBookFile): clean code. Completed transition from string arrays
18079 (SimpleDocBookOnePar): code clean.
18081 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18083 * tabular.C: add some comments.
18085 2001-03-22 Juergen Vigna <jug@sad.it>
18087 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18088 compatibility read a bit and fixed bug with minipage in different
18091 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18093 * buffer.C (pop_tag): removed.
18094 (push_tag): removed.
18095 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18096 array replaced with vector. Added support for CDATA sections.
18097 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18099 (makeDocBookFile): XML conformant declaration of CDATA section,
18100 fixed bug related to <emphasis> in the first paragraph char.
18101 (sgmlOpenTag): exclude empty tags.
18102 (sgmlCloseTag): ditto.
18104 * buffer.h (pop_tag): removed.
18105 (push_tag): removed.
18107 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18109 * language.h (Languages): added size_type and size().
18111 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18113 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18114 response on compability reading of minipages. One probliem is that
18115 the old usage of minipages was flertydig
18117 * several files here and in subdirs: don't use static at file
18118 scope use anon namespaces instead.
18120 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18122 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18123 LaTeX output. This is necessary for Literate document
18126 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18128 * buffer.C: insert hfill when needed.
18130 * tabular.C (l_getline): use string::erase, small whitespace change.
18132 * BufferView_pimpl.C: try the anon namespace.
18133 * WorkArea.C: ditto
18135 2001-03-16 Juergen Vigna <jug@sad.it>
18137 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18138 otherwise it won't open options-dialogs.
18140 * buffer.C: honor pextraWidth(p) on converting minipages.
18142 * tabular.C (l_getline): changed the functions to strip trailing \r.
18144 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18146 * BufferView_pimpl.C:
18147 * minibuffer..C: added "using SigC::slot" declaration.
18149 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18151 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18157 * paragraph.C: ditto
18159 * lyxtext.h: NO_PEXTRA
18161 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18163 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18164 * ParameterStruct.h: ditto
18165 * ParagraphParameters.h: ditto
18166 * lyxparagraph.h: ditto
18168 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18170 * buffer.C: add compability for minipage alignment.
18171 (latexParagraphs): remove unwanted pextra check.
18173 * several files: remove CXX_WORKING_NAMESPACES
18175 * buffer.C (pop_tag): tie is in namespace boost
18177 * BufferView.h: noncopyable is in namespace boost
18179 * lyx_main.h: ditto
18182 * lastfiles.h: ditto
18183 * bufferlist.h: ditto
18184 * ShareContainer.h: ditto
18186 * LyXAction.h: ditto
18189 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18191 * Merging changes from BRANCH_MVC back into HEAD.
18193 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18195 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18197 * BufferView_pimpl.C: change from intl.C
18201 * Makefile.am: move combox.*
18207 * intl.C: remove dialog (covered by prefs)
18209 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18211 * lyxfunc.C (Dispatch): removed redundant break statement.
18213 2001-03-14 Juergen Vigna <jug@sad.it>
18215 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18217 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18219 * buffer.C: add hack to fix compability reading of minipages.
18221 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18223 * buffer.C (getLists): Cleanup.
18225 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18227 * lyxfont.C (update): don't honor toggleall on font size.
18229 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18233 * Makefile.am: moved to frontends/xforms/
18237 * BufferView_pimpl.C: changes for moved mathpanel
18239 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18241 * gettext.h: fix gettext_init() in --disable-nls
18243 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18245 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18247 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18250 * lyx.h: strip external form
18252 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18254 * BufferView_pimpl.C: add comment, destroySplash()
18256 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18258 * BufferView_pimpl.C:
18262 * lyxfunc.C: use re-worked insetinclude
18264 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18266 * buffer.C: add using std::stringstream.
18268 * lyx_cb.C: readd using std::ios.
18270 * buffer.C: add using std::map.
18272 * BufferView_pimpl.C: add using std::vector.
18274 * ShareContainer.h: add std:: to swap.
18276 * buffer.h: add some typedefs
18277 * buffer.C (getLists): use them
18278 (getLists): renamed from getTocList.
18279 add a counter for the different float types and use it in the
18281 (getLists): use the same counter for the NEW_INSETS and the "non"
18284 * lyx_cb.h: remove unused items, includes, using etc.
18286 * ShareContainer.h: remove some commented code, add more comments
18287 and "documentation".
18289 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18291 * buffer.C (getTocList): make the list also when NEW_INSETS is
18294 * buffer.h: remove TocType
18296 * buffer.C (getTocList): change to return a map<string,
18297 vector<TocItem> >, implement for dynamic number of list.
18299 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18300 * text2.C (PasteSelection): adjust
18301 * CutAndPaste.C (pasteSelection): adjust
18303 * FloatList.C (FloatList): update from the new_insets branch.
18304 * Floating.[Ch]: ditto
18305 * LaTeXFeatures.C: ditto
18307 * lyxlex_pimpl.C: ditto
18309 * paragraph.C (Last): remove when NEW_INSETS is defined.
18311 * other file: changes because of the above.
18313 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18315 * lyxparagraph.h: rename next to next_, previous to previous_,
18316 make them private for NEW_INSETS. Rename Next() to next(),
18317 Previous() to previous().
18319 * other files: changes because of the above.
18321 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18324 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18327 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18329 * main.C (main): pass lyx_localedir to gettext_init().
18331 * gettext.h: remove locale_init and gettext_init macros
18333 * gettext.C (locale_init): new function
18334 (gettext_init): new function
18336 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18339 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18341 * Moved credits to frontends:
18342 * credits.[Ch]: removed
18343 * credits_form.[Ch]: removed
18344 * lyx_gui_misc.C: remove credits stuff
18347 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18349 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18351 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18352 unneeded destructor.
18354 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18355 a standalone pointer again.
18357 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18359 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18365 * ToolbarDefaults.C:
18374 * BufferView_pimpl.C: use new file dialog in GUII
18377 * lyx_cb.C: remove LayoutsCB to Toolbar
18379 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18381 * ShareContainer.h (get): add std:: qualifier
18383 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18385 * ShareContainer.h: define a proper ShareContainer::value_type
18386 type (and use typename to please compaq cxx)
18388 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18390 * lyxparagraph.h: move serveral local vars to
18391 ParameterStruct/ParagraphParameters., use ShareContainer in
18392 FontTable., make vars in FontTable private and add getter and
18395 * paragraph.C: changes because of the above.
18397 * lyxfont.h: remove copy constructor and copy assignment. (the
18398 default ones is ok), move number inside FontBits. move inlines to
18401 * lyxfont.C: add number to initializaton of statics, move several
18402 inlines here. constify several local vars. some whitespace
18403 cleanup. Dont hide outerscope variables.
18405 * Spacing.h: add two new constructors to match the set methods.
18407 * ShareContainer.h: new file, will perhaps be moved to support
18409 * ParameterStruct.h: new file
18411 * ParagraphParameters.h: new file
18413 * ParagraphParameters.C: new file
18415 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18416 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18418 * BufferView_pimpl.C: ParagraphParameter changes.
18419 * buffer.C: Likewise.
18420 * bufferview_funcs.C: Likewise.
18421 * text.C: Likewise.
18422 * text2.C: Likewise.
18424 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18426 * lyxfind.C (LyXReplace): do not redefine default argument in
18428 (IsStringInText): ditto
18429 (SearchForward): ditto
18430 (SearchBackward): ditto
18432 2001-03-06 Juergen Vigna <jug@sad.it>
18434 * lyxfind.C (IsStringInText): put parentes around expressions.
18436 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18438 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18440 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18442 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18444 * stl_string_fwd.h: add comment
18446 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18449 * tabular.C: remove unused DocBook methods
18455 killed DO_USE_DEFAULT_LANGUAGE
18457 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18459 * lyx_gui.C: do not include language.h.
18461 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18462 arguments in function implementation.
18464 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18466 * BufferView_pimpl.C: add <ctime>
18468 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18470 * BufferView_pimpl.C: add using std::find_if
18472 2001-02-27 José Matos <jamatos@fep.up.pt>
18474 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18477 2001-02-11 José Matos <jamatos@fep.up.pt>
18479 * buffer.C (makeDocBookFile): command styles now have a parameter as
18480 "title" by default.
18482 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18484 * layout_forms.[Ch]: removed
18485 * lyx_cb.[Ch]: out character
18486 * lyx_gui.C: out character
18487 * lyx_gui_misc.C: out character
18488 * bufferview_funcs.C: : out character,
18489 added toggleall as parameter in ToggleAndShow
18491 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18493 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18495 * text2.C (SetCurrentFont): Disable number property at boundary.
18497 2001-02-26 Juergen Vigna <jug@sad.it>
18499 * lyxfunc.C (getStatus): added a string argument override function so
18500 that this is correctly called from LyXFunc::Dispatch if it contains a
18501 do_not_use_argument which is used!
18502 (Dispatch): added check for "custom" export and call appropriate func.
18504 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18506 * lyxrc.C: Add language_command_local, language_use_babel and
18507 language_global_options.
18509 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18511 * buffer.C (makeLaTeXFile): Use language_use_babel and
18512 language_global_options.
18514 2001-02-23 Juergen Vigna <jug@sad.it>
18516 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18517 which works with LyXText and putted it inside BufferView. Here now we
18518 only call for that part the BufferView::Dispatch() function.
18520 * BufferView.C (Dispatch): added.
18522 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18523 functions which needs to use a LyXText over from LyXFunc.
18524 (MenuInsertLyXFile): added
18525 (getInsetByCode): added
18526 (moveCursorUpdate): added
18527 (static TEXT): added
18529 2001-02-22 Juergen Vigna <jug@sad.it>
18531 * BufferView_pimpl.C (update): call a status update to see if LyXText
18534 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18536 * vc-backend.C (revert): implement for CVS
18537 (getLog): implement for CVS
18539 2001-02-20 Juergen Vigna <jug@sad.it>
18541 * text2.C (ClearSelection): added BufferView param for inset_owner call
18543 * lyxfunc.C (TEXT): added this function and use it instead of
18544 directly owner->view()-text of getLyXText().
18546 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18548 * src/layout_forms.C: out preamble
18549 * src/layout_forms.h: out preamble
18550 * src/lyx_cb.C: out preamble
18551 * src/lyx_cb.h: out preamble
18552 * src/lyx_gui.C: out preamble
18553 * src/lyx_gui_misc.C: out preamble
18554 * src/lyxfunc.C: connect with guii preamble
18556 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18558 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18560 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18562 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18563 whether to run bibtex.
18565 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18567 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18569 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18571 * Makefile.am (lyx_SOURCES): removed bibforms.h
18573 * vspace.h: doxygen
18575 * text.C (GetVisibleRow): make several local vars const
18577 * tabular.C: small cleanup.
18579 * lyxserver.C (callback): use compare instead of strncmp
18581 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18582 inlines to after class or to paragraph.C
18584 * lyxfont.h: remove friend operator!=
18586 * converter.h: move friend bool operator< to non friend and after
18589 * combox.h: small cleanup
18591 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18592 to inlines after class def.
18594 * buffer.C (pop_tag): use string operations instead of strcmp
18596 * bmtable.c: doxygen, small cleanup
18598 * LaTeX.h: remove friend operator==
18600 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18612 * BufferView_pimpl.C:
18613 * BufferView.[Ch]: remove cruft
18615 2001-02-14 Juergen Vigna <jug@sad.it>
18617 * lyxfunc.C: removed #if 0 unused code
18619 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18621 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18623 * text2.C (SetSelection): added a BufferView * parameter
18625 2001-02-13 Juergen Vigna <jug@sad.it>
18627 * lyxfunc.C (Dispatch): fixed protected blank problem.
18628 * BufferView2.C (protectedBlank): added LyxText * parameter.
18630 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18631 (AppendColumn): same as above for column_info.
18633 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18634 (moveCursorUpdate): use a LyXText param for support of InsetText.
18636 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18637 (tripleClick): ditto
18639 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18641 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18643 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18645 * text2.C (SetSelection): set correct update status if inset_owner
18646 (ToggleFree): ditto
18648 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18650 * tabular.C: remove some commented code.
18652 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18654 * BufferView_pimpl.C: call hideSplash()
18656 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18659 * bibforms.h: remove
18662 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18663 add LFUN_CHILD_CREATE
18665 * counters.h: fix tiny typo
18670 * lyx.C: move splash to frontends/xforms/
18672 * lyx_gui_misc.C: move Include and Bibform to frontends
18674 * lyxvc.h: clarify comment
18676 * vspace.C: tiny housekeeping
18678 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18680 * text.C (PrepareToPrint): RTL Fix.
18682 * paragraph.C (GetUChar): New method.
18683 (String): Use GetUChar.
18685 * buffer.C (asciiParagraph): Use GetUChar.
18687 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18689 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18691 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18694 * buffer.C: rename to getLogName(), handle
18695 build log / latex log nicely
18697 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18700 * MenuBackend.h: remove support for reference menuitem type.
18702 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18704 * BufferView_pimpl.C: housekeeping
18705 * BufferView_pimpl.h:
18710 * minibuffer.h: move Timeout GUI-I
18712 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18714 * lyxrc.C (read): Update converters data-structures.
18716 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18718 * LaTeX.h (operator!=): add operator != for Aux_Info
18720 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18722 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18724 * LaTeXLog.C: deleted, useful code moved to Buffer
18727 * buffer.C: new function getLatexLogName()
18733 * lyxfunc.C: use frontends for LaTeX and VC logs
18735 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18737 * LaTeX.h: yet another std:: that Allan forgot.
18739 * Variables.C (set): renamed from isset(), because this clashes
18740 with some HP-UX macros (grr).
18742 2001-02-06 Allan Rae <rae@lyx.org>
18744 * LaTeX.h: Another bug fix. Missing std:: this time.
18746 2001-02-04 Allan Rae <rae@lyx.org>
18748 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18749 floats problem. I've left it commented out because it's not quite
18750 correct. It should also test that the current object is a table or
18751 figure inset. But I haven't gotten around to figuring out how to do
18752 that. I *think* it'll be something like: "table" == inset.type()
18754 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18757 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18759 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18760 all the citation/databases/styles in the auxilary file.
18761 (run): Rerun latex if there was a babel language error.
18763 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18765 * text.C (Backspace): Preserve the font when changing newline char
18767 (BreakParagraph): If the cursor is before a space, delete the space.
18769 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18771 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18773 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18774 new argument (code).
18775 (ChangeCitationsIfUnique): New method.
18777 * paragraph.C (GetPositionOfInset): Handle bibkey.
18779 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18781 * BufferView_pimpl.h: change type of Position::par_pos to
18782 LyXParagraph::size_type.
18784 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18786 * BufferView_pimpl.C (savePosition, restorePosition): Write
18787 messages to minibuffer.
18789 2001-01-28 José Matos <jamatos@fep.up.pt>
18791 * buffer.C (makeDocBookFile): adds support for document language.
18792 A silly restriction on the name of LatexCommand types where removed.
18793 Added support for CDATA sections, allows to chars unescaped, used
18794 among others in code, to avoid escape < and >.
18796 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18798 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18799 saved positions instrad of a stack. Furthermore, a position is
18800 stored using paragraph id/paragraph position.
18802 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18803 Remove LFUN_REF_BACK.
18805 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18807 * converter.C (dvipdfm_options): New method.
18809 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18811 * vspace.C (isValidLength): Fix for empty input string.
18813 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18815 * LyXAction.C (init): change description of LFUN_FIGURE to
18818 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18820 * LaTeX.C: add using directive
18822 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18824 * MenuBackend.C (expand): Fix the sorting of the formats.
18826 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18828 * lyx_main.C: tiny error message fix
18830 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18832 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18833 calling fl_initialize(). This fixes the problem with ',' as
18834 decimal separator in text files.
18836 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18838 * trans.C (process): Fix the keymap bug.
18840 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18842 * LaTeX.C (scanAuxFiles): New method. Provides support for
18843 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18844 (scanLogFile) Scan for "run BibTeX" messages.
18846 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18847 OT1 font encoding. Also, load the aecompl package if the ae
18850 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18852 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18854 * texrow.C (increasePos): turn two error messages into debug
18857 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18859 * LaTeX.C (scanAux): Handle the \@input macro.
18860 (runBibTeX): Use scanAux().
18862 * language.C (latex_options_): New field.
18864 * LaTeXFeatures.C (getMacros): Add language macros.
18866 * buffer.C (makeLaTeXFile): Small fix.
18868 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18870 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18872 * text2.C: add a using directive.
18874 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18879 * lyxfunc.C: kill LyXBell.
18881 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18883 * text.C (IsBoundary): Remove the error message
18885 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18887 * lyxrc.C (setDefaults): Correct initialization value for
18890 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18892 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18895 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18896 and GotoNextNote().
18898 * src/LyXAction.C: Added reference-next.
18900 * text.C (InsertChar): Use contains instead of strchr.
18902 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18904 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18906 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18907 alignment commands (when needed).
18909 * text.C (InsertChar): Add ':' to number separator chars.