1 2006-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * text.C (delete): adjust cursor after backspace in change tracking
6 2006-03-16 Félix-Antoine Bourbonnais <bouf10pub2@myriade.ca>
8 * text3.C (dispatch): set needsUpdate according to the return
9 value of the methods below (bug 2298)
11 * text2.C (cursorTop, cursorBottom, cursorHome, cursorEnd): return
12 true if dEPM triggered.
14 2006-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
16 * text.C (getPossibleLabel): get a sensible prefix inside figure and
17 tabular floats (bug 1999).
19 2006-03-16 John Spray <spray@lyx.org>
21 * lyxfunc.C (getStatus): disable LFUN_MENUWRITE when document is
24 2006-03-15 Martin Vermeer <martin.vermeer@hut.fi>
26 * CutAndPaste.C (pasteSelectionHelper): comments
27 * paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
29 * paragraph.C (stripLeadingSpaces): remove unnecessary setChange
30 * text.C (backspace): allow deletion of inserted para break
31 Change tracking -related bug fixes (reported by Juergen) and
32 some documentation work
34 2006-03-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
36 * MenuBackend.C (expand): make sure the menu is empty before
39 * MenuBackend.h (clear): new method.
41 2006-03-13 Martin Vermeer <martin.vermeer@hut.fi>
43 * rowpainter.C (paintChangeBar): fix painting of change bar with
44 only paragraph break changed
46 2006-03-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
48 * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
49 * lyx_main.C (reconfigureUserLyXDir): run ditto
51 2006-03-12 Martin Vermeer <martin.vermeer@hut.fi>
53 * lyxtext.h: doxygen documentation fix
55 2006-03-11 Martin Vermeer <martin.vermeer@hut.fi>
57 * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
59 * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
60 rejectChange, erase; added setChangeFull):
61 * CutAndPaste.C (eraseSelectionHelper):
63 * text.C (readParToken, readParagraph, breakParagraph,
64 acceptChange, rejectChange, backspace, currentState;
66 * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
67 * lyxfind.C (findChange, findNextChange): fix bug 880: Change
68 tracked paragraphs should still allow a paragraph split (and related
69 things, i.e., multi-paragraph change tracking)
71 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
73 * BufferView_pimpl.C: fix bug 2212: First change is skipped is
74 "Merge changes..." dialog
76 2006-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
78 * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX
79 error if the class has not defined them yet (bug 2053).
81 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
84 * BufferView_pimpl.[Ch]:
88 * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
90 2006-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
92 * pch.h: fix nullstream.hpp location for boost 1.33.0
94 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
98 * support/debugstream.h: Use the correct nullstream.
100 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
102 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
104 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
106 * cursor.C (niceInsert): fix (properly) insertion of
107 fonts/decorations around selection
109 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
111 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
113 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * text3.C (mathDispatch): fix crash when selection is not empty
116 but selectionAsString is empty (bug 2321).
118 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * text.C (changeCase): avoid crash in empty paragraph or on last
121 word of the paragraph. (buf 2323)
122 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
124 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
126 * buffer.C (readHeader): also erase params.preamble in advance
127 so that an empty preamble is actually recognized (bug 2317).
129 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
131 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
133 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
135 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
145 * text3.C: Fix bug 2115: blue language lines (for default font)
146 popping up when the documnent font is different. This includes work
149 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
151 * exporter.C (Backends): Add "lyx" backend
152 * exporter.C (Export): Handle "lyx" backend
153 * graph.C (getReachable): Don't exclude "lyx"
154 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
156 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
158 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
159 for correct in-mathed positioning
161 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
163 * rowpainter.C (paintForeignMark): fix foreign blue line under
166 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
168 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
169 pit of the uno range (bug 2022).
171 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
173 * messages.C (get): Only warn once if setlocale fails (bug 2177)
175 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
177 * text2.C (setCharFont): take inset's own font settings into account
178 when defining the font to reduce to, fixes 2019
180 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
182 * bufferview_funcs.C (coordOffset): remove the check for
183 collapsed collapsables (fix for bug 2094). This is now done
184 on a more general level (cursor.C).
186 * dociterator.[Ch] (forwardPos): add an optional argument
187 bool "ignorecollapsed" (default false), which lets forwardPos
188 skip collapsed insets.
190 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
191 (fixes bug 2241 and 2094).
193 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
195 * buffer.C: change tracking (dvipost) doesn't require
198 * LaTeXFeatures.C (getPackages): no need for the color
199 option "usenames" (bug 2169).
201 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
202 * buffer_funcs.C: Trivial fix - added {} around
203 the statements to be affected by a if-test. Now
204 label in a minipage in a float looks ok on screen again.
206 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
208 * text2.C: fix bug 2015: on screen fonts in nested environments
211 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
213 * converter.C (convert): handle unknown formats
215 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * cursor.C (goUpDown): comment out some debug messages.
219 * counters.C (newCounter): make error messages more explicit
220 (these appear with some textclasses like beamer)
222 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
226 have origin set to KEYBOARD. (bug 2221)
228 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
230 * rowpainter.C (isCursorOnRow): do not exclude endpos().
232 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * cursor.C (macroModeClose): returns true if an inset actually got
235 inserted; revert faulty fix to bug 2034.
237 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * tabular.C (getLabelList): remove (not used anymore).
241 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
243 * outputparams.[Ch]: add new flag inComment
245 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
247 * text2.C (deleteEmptyParagraphMechanism): since we delete a
248 paragraph, recordUndo should span two paragraphs (bug 2155).
250 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
252 * rowpainter.C (paintPar): always repaint the row with the
255 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
261 * vspace.h: fix syntax error
263 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
265 * text3.C (dispatch): Force refresh if typing into inset changes its
268 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
273 * rowpainter.C: Speed up rendering by only re-painting rows that
274 have changed. When selection or whole-screen update active, all rows
275 are repainted, as are all rows within insets.
277 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
279 * version.C.in: Use PACKAGE_VERSION instead of VERSION
281 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
283 * tabular.C (toggleFixedWidth): Use default layout of text class
284 instead of hardcoded "Standard"
286 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
288 * lyxfunc.C (dispatch): do not call getStatus again to determine
289 whether a lfun is disabled (bug 2172).
291 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * cursor.C (macroModeClose): set the cursor inside the new math
294 atom if relevant (think \frac{}{}) (bug 2034)
296 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
300 * text3.C (Delete, backspace): force update when merging paragraphs
302 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * BufferView.C (mouseSetCursor): clear the selection properly (bug
307 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
309 * text.C (redoParagraph): honor inset->noFontChange()
310 * rowpainter.C (paintInset): ditto
312 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * lyx_main.C (priv_exec): don't initialize Math on startup
315 (initMath() has been moved to math_hullinset).
317 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
319 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
320 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
321 * paper.h: dispose dead PAPER_PACKAGES enum.
323 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
325 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
328 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
330 * exporter.C (Export): Don't try to copy a file if it does not exist
333 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
335 * text2.C (makeFontEntriesLayoutSpecific): remove.
338 * text.C (insertChar): remove bogus caching of fonts (did not do
341 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
342 ALL_SANE). (bug 2146)
344 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * rowpainter.C (paintFirst): fix centering of
347 LABEL_CENTERED_TOP_ENVIRONMENT.
349 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
351 * BufferView.C (mouseSetCursor): new method. Calls
352 deleteEmptyParagraphMechanism if necessary.
354 * lyxtext.h: make deleteEmptyParagraphMechanism public.
356 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
357 BufferView::mouseSetCursor (bug 2109).
358 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
360 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
362 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
363 do not remove it (this inset behaves differently from the others).
365 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * BufferView_pimpl.C (getStatus): it is only possible to insert a
370 file in a text inset.
372 * buffer.C (readDocument): remove pit argument and code releated
373 to it; set the inset owner correctly (unrelated, but useful).
374 (readFile): get rid of pit argument.
376 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
377 textclass instead of a selection index.
378 (pasteParagraphList): new function.
379 (pasteSelection): make it a wrapper around pasteParagraphList.
381 * BufferView_pimpl.C (MenuInsertLyXFile): use
382 cap::pasteParagraphList to insert a file.
384 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
386 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
388 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
390 * exporter.C: fix typo in text message
392 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
394 * text2.C (setLayout): move recUndo call to other setLayout method
395 * tabular.C (toggleFixedWidth): new, handle cell width changes
396 * tabular.C (setColumnPWidth): move some code from insettabular.C here
397 and use toggleFixedWidth
398 * tabular.C (setMColumnPWidth): ditto
400 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
402 * paragraph.C (asString): use new inset->textString method (fix
405 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
407 * CutAndPaste.C (numberOfSelections): new helper function.
409 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
411 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
412 LyXFunc::getStatus; implement LFUN_PASTE.
414 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
416 * dociterator.[Ch]: new member realInset() that returns the cell
417 for tabulars and the inset for the rest (bug 1952).
418 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
421 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
423 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
425 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
429 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
432 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
434 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
435 line after typing ctrl-enter
437 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
439 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
440 math insets do not return a proper editable() state yet (bug 2124).
442 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
444 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
445 docs containing very large paragraphs.
447 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
449 * cursor.C (selectionBegin, selectionEnd):
450 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
451 cursor at different depths.
453 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
455 * bufferview_funcs.C (coordOffset): do not call cursorPos
456 for collapsed collapsables (fix bug 2094).
458 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * paragraph.C (fontSpan): make sure that the FontSpan does not
461 span across beginOfBody (bug 1947).
463 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
467 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
469 * messages.C: fix crash and localization on MinGW/Windows platform
471 2005-11-02 Angus Leeming <leeming@lyx.org>
474 * lyxtextclass.C: trivial fixes to some MSVS warnings.
476 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
478 * text3.C (getStatus): re-enable disabled code. (bug 2081)
480 * BranchList.h (empty): constify.
482 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
484 * text3.C (getStatus):
485 * MenuBackend.C (expandBranches): take the branch list from the
486 master document (bug 2092).
488 * MenuBackend.C (expandBranches):
489 * bufferparams.C (writeFile): use BranchList type.
491 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
493 * text3.C (dispatch, getStatus):
494 * LyXAction.C (init):
495 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
497 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
501 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
503 * text.C (insertChar): do not reset boundary (bug 2061)
505 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * dociterator.C (updateInsets): new method. Updates the inset_
508 cache of all the slices of the iterator.
510 * text2.C (deleteEmptyParagraphMechanism): compare also containing
511 insets when comparing pit/pos; pass the right cursor to
512 recordUndo; when a paragraph has been deleted, compare `old.top()' to
513 the right cursor slice of `cur'; use updateInsets on cur to make
514 sure that the inset caches are correct; general cleanup.
516 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
519 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
520 containg inset. If this does not work, the same command will be
521 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
523 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
526 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
528 * lyxtextclass.C (Read): convert layout file if the format is wrong
529 * lyxtextclass.C (layout2layout): new, needed for the above
531 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
533 * messages.C: do not forget to include <cerrno>.
535 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
537 * dociterator.h (StableDocIterator): add access to pos().
538 * undo.C (samePar): new method to check if two
539 iterators are in the same paragraph
540 * undo.C (recordUndo): check for samePar instead of cell identity
541 (which includes pos() and is too strict) (fixes bug 2097)
543 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * text.C (setCursorFromCoordinates): return a bool telling whether
548 * text3.C (cursorPrevious): update if needed after
549 setCursorFromCoordinates (when dEPM triggered).
551 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
552 (otherwise the anchor may be completely wrong and make dEPM assert).
554 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
556 * buffer.C: version upgrade to 245.
557 * bufferparams.C: remove \quotes_times (bug 2090).
558 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
559 quotation marks as default.
561 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
563 * CutAndPaste.C (nrOfParagraphs): remove (unused)
564 * CutAndPaste.C (cutSelection): Remove debug message
565 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
566 undo information and only copy if this is a real cut
567 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
569 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
571 * CutAndPaste.C (eraseSelection): prevent cursor corruption
572 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
573 superflous cur.selection() setting
574 * CutAndPaste.[Ch] (grabSelection): take a const cursor
575 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
577 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
579 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
582 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
584 * BufferView_pimpl.C: comment layout change
586 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
590 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
591 by bibliography managers (bug 2071).
593 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
595 * BufferView_pimpl.C (update): choose arguments to update call so
596 that single-par update works most times
597 * text3.C (dispatch): carefully tune updating separately for
598 whole-screen and current-paragraph
599 * rowpainter.C (paintText): 1) replace painting by caching for
600 the two extra paragraphs, because we can;
601 2) suppress greying out of areas below/above drawn area in case of
603 * lyxfunc.C (dispatch): remove superfluous update
604 * LyXAction.[Ch]: introduce SingleParUpdate
606 2005-10-05 Angus Leeming <leeming@lyx.org>
608 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
609 always initialised before use.
611 * text.C (setHeightOfRow): squash warning about comparison
612 of signed and unsigned types.
614 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
616 * text.C (cursorX): two fixes involving RtL text drawing
618 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
620 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
621 items, not only large ones (part of bug 2057)
623 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
625 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
626 argument, use "newcommand".
628 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
630 * cursor.C (setSelection): do not open collapsable insets;
631 the insets do by themselves now (autoopen).
633 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
635 * buffer.C: format is up to 244.
637 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
639 * text.C (redoParagraph): fix calcultation of inset width wrt
640 leftMargin (bug 1957).
642 * text3.C (dispatch): leave inset to the right when hitting ESC
645 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
650 * messages.C: include <boost/current_function.hpp>
652 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
654 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
655 when command is internal. (bug 1941)
657 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * text2.C (cursorRight): do not honor boundary when at the end of
660 a paragraph. (bug 2010 again)
662 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
664 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
666 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
668 * rowpainter.C (paintText): fix RtL space width display bug (2029)
670 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
672 * text2.C (setCursor): remove the unused 'boundary' parameter for
673 the CursorSlice version; adapt the LCursor version.
676 * paragraph_pimpl.C (markErased):
677 * cursor.C (bruteFind2, bruteFond3): fix warnings.
679 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
682 as is already done for "chapter".
684 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
686 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
687 textclass; do not record undo if nothing is changed.
689 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
691 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
693 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
695 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
697 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
699 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
700 combox, it is necessary to search for the topmost paragraph in the
701 cursor stack (bug 1926)
703 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
705 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
706 end of paragraph. (bug 2010)
708 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
710 * text.C (leftMargin): check for inInset == 0
712 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
714 * text.C (leftMargin): test for insetbase's new neverIndent()
715 bool instead of listing each and every inset that does not
716 wish par indendation.
718 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
720 * buffer_funcs.C (setCounter): put the code to compute enum label
721 here (where it belongs).
723 * counters.C (enumLabel): move code to buffer_funcs.C.
725 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
727 * outputparams.[Ch]: store local_font instead of local_language
728 * paragraph.C (simpleTeXOnePar): adapt to the change above
730 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
733 * counters.[Ch]: clean up special code for Hebrew.
735 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
740 2005-09-08 Angus Leeming <leeming@lyx.org>
743 * lyxrc.C: correct grammar describing invocation of the
746 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * text.C (read): remove unused variable.
749 (readParToken): remove static Change variable (never good in
750 recursive settings...); add it as a parameter instead.
752 * paragraph_pimpl.C (acceptChange): make debug info conditional.
754 * metricsinfo.C (PainterInfo): add new member erased_.
756 * rowpainter.C (RowPainter): add erased_ member, initialized from
758 (paintInset): pass erased_ to Inset::draw.
760 * lyxfunc.C (lookupChange): new function. Tells whether change
761 tracking is disabled at a given postion.
762 (getStatus): disable some actions when in deleted text with change
765 2005-08-03 John Levon <levon@movementarian.org>
767 * tabular.C (appendColumn, setMultiColumn): adapt to change to
770 * paragraph_pimpl.C (markErased): add bool argument and handle it.
771 Also make sure to mark insets recursively.
772 (rejectChange, erase): be recursive
774 * paragraph.C (markErased): add bool argument.
775 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
777 * lyxfind.C (findNextChange): tiny cleanup.
779 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
780 change tracking with the cursor in an inset; make sure the first
781 change is not skipped.
783 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
785 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
786 tabularStackDirty to work around bug 1919 (tabular needs
787 to know whether its own cell paste buffer or the one of
789 * CutAndPaste.C: mark tabular_stack_ clean after copy.
791 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
793 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
795 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
797 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
798 use old deleteion algorithm when changetracking is on.
800 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
802 * messages.C (get): add debug output.
804 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
806 * text.C (cursorX): fix bug 1965: cursor movement at
807 line end broken in RtL.
808 (drawSelection): fix bug 1970: drawing of single-line
809 selection broken for RtL.
811 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * dociterator.h (clear, push_back, pop_back): change from
818 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
819 and changed to just return the value of the item depth; take a
820 ParIterator as argument; take the itemdepth at outer nesting level
821 in account if necessary; cleanup and comment the code.
822 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
823 and changed to just return true if reset is needed; take a
824 ParIterator as argument; cleanup and comment the code.
825 (setCounter): adapt to above changes.
827 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
829 * text3.C (dispatch): make debug message optional
831 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
833 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
836 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
838 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
840 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
842 * text.C (insertChar):
843 * text2.C (deleteEmptyParagraphMechanism): take care whether
844 a blank has been deleted (in change tracking mode) (bug 1254).
846 2005-07-20 John Levon <levon@movementarian.org>
848 * text2.C (insertStringAsLines): remove old dubious code,
851 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
853 * MenuBackend.C (expandToc): use Floating::listName() as title of
856 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
858 * toc.[Ch]: Do not use translatable strings (bug 1870).
860 2005-07-20 John Levon <levon@movementarian.org>
862 * tabular.C: fix 1748 - setting multicolumn adds
863 left line to the first cell
865 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
868 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
871 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
873 * messages.C: supress some lyxerr messages
875 2005-07-18 Juergen Vigna <jug@lyx.org>
877 * text.C (drawSelection): honor boundary when asking for cursorX.
879 2005-07-17 José Matos <jamatos@fc.up.pt>
881 * tabular.C (recalculateMulticolumns): fix handling of one column
884 2005-07-17 Juergen Vigna <jug@lyx.org>
886 * text.C (Delete, backspace): fixed so that paragraph with the
887 same layout can be merged by Delete/Backspace.
889 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
891 * text.C (readParToken): fix spelling.
893 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
895 * text2.C: fix counter update for DEPM problem reported by
898 2005-07-17 Juergen Vigna <jug@lyx.org>
900 * BufferView_pimpl.C (setBuffer): save/restore the
901 cursor/selection when switching buffers
904 * buffer.C (saveCursor): add saveDocumentIterators to save the
905 cursor when switching buffer.
907 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
910 * buffer.C: clarify message
912 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
914 * dociterator.C (DocIterator): fix initialization order
916 2005-07-17 Juergen Vigna <jug@lyx.org>
918 * text2.C (cursorHome):
919 * text.C (drawSelection, cursorX):
920 * dociterator.C (textRow): add boundary to getRow() call
922 * paragraph.C (getRow): implementation of below
924 * paragraph.h: add parameter boundary for getRow() function
926 2005-07-17 José Matos <jamatos@fc.up.pt>
930 * tex-strings.[Ch]: new file format, remove support for a4.sty,
931 a4wide.sty and a4widemargins.
933 2005-07-17 Juergen Vigna <jug@lyx.org>
935 * text2.C (cursorLeft): fix one of error
937 2005-07-17 Juergen Vigna <jug@lyx.org>
939 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
941 more fixes for boundary handling
943 * text3.C (dispatch): don't reset cursor if boundary has changed
946 2005-07-16 Juergen Vigna <jug@lyx.org>
948 * text2.C (getColumnNearX): hopefully got it right now,
949 check if we are on column 0 for special case.
951 2005-07-16 Juergen Vigna <jug@lyx.org>
953 * text2.C (getColumnNearX): handle special case Newline Inset
955 * text.C (singleWidth): Just remove bogus check
957 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
959 * funcrequest.C (split): avoid reading uninitialized char c
961 2005-07-16 José Matos <jamatos@fc.up.pt>
967 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
968 single papersize variable.
970 2005-07-16 Juergen Vigna <jug@lyx.org>
972 * text3.C (dispatch): honor boundary when checking if a cursor
973 movement has been done
975 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
976 (setCursor, setCursorIntern): fix cursor movement with boundary
978 2005-07-16 Juergen Vigna <jug@lyx.org>
980 * text.C (currentState): output the actual Boundary
982 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
984 * factory.C (createInset): fix bad logic for tabular creation
986 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
988 * lyx_main.C (init): change some reLyX reference to tex2lyx
990 2005-07-16 Juergen Vigna <jug@lyx.org>
992 * dociterator.C (DocIterator): initialize boundary
994 2005-07-16 Juergen Vigna <jug@lyx.org>
996 * text2.C (getColumnNearX): Consider rows without trailing blank.
998 2005-07-16 André Pönitz <poenitz@gmx.net>
1000 * lyxfont.h: Change order of declarations to give the compiler
1001 a better chance to inline things
1003 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
1004 questions on unsaved docs for better scritability
1006 2005-07-16 André Pönitz <poenitz@gmx.net>
1008 * paragraph.h (getChar): remove asserts as the same kind of security
1009 can be achieved by using a suitable standard library implementation
1010 and the function was in the critical path (25.9% in profiler)
1012 2005-07-16 Juergen Vigna <jug@lyx.org>
1014 * cursor.C (bruteFind2):
1015 * bufferview_funcs.C (coordOffset):
1016 * text.C (cursorX,cursorY): Handle cursor position after last char
1017 in row before a inset which uses a whole row.
1019 2005-07-15 José Matos <jamatos@lyx.org>
1021 * output_plaintext.[Ch] (writeFileAscii): control reference title
1023 (asciiParagraph): noparbreak was already deal and was incorrectly
1026 2005-07-15 Juergen Vigna <jug@lyx.org>
1028 * lyxfunc.C (dispatch): save and restore the cursor after a
1031 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
1033 * text.C (backspace): bug 806 for empty keepempty paragraphs we
1034 change the layout to default before letting DEPM do its thing.
1036 * paragraph_funcs.C (breakParagraph): dont reset the layout on
1037 keepEmpty paragraphs
1039 * text.C (setCursorFromCoordinates): add a debug statement
1041 * text2.C (getColumnNearX): bug 1825 make sure that we don't
1042 return a pos that is not on the row
1044 * output_latex.C (TeXDeeper): get rid of potential dereferencing
1045 of past the end iterator
1047 2005-07-14 André Pönitz <poenitz@gmx.net>
1049 * undo.C (recordUndoFullBuffer): implement undo for
1052 2005-07-14 André Pönitz <poenitz@gmx.net>
1054 * cursor.C (setSelection): open insets when selection is set there
1055 to avoid crashs with cold coord cache
1057 2005-07-14 André Pönitz <poenitz@gmx.net>
1059 * trans_mgr.C (insert): move cursor to the right after inserting
1062 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1064 * BufferView_pimpl.C (update): dampen some of the debug blabbering
1065 * factory.C (readInset): ditto
1066 * text.C, text2.C: ditto
1068 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1070 * buffer.C: format incremented to 242. There is no file format per
1071 se, but the "frenchb" language has been removed from lib/language
1072 and has to be translated to "french" by lyx2lyx.
1074 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1076 * cursor_slice.h, dociterator.h: add some documentation
1077 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1079 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1081 * text.C (leftMargin): do not add identation to display() style
1082 insets, because they are always centered (bug 1293).
1084 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1086 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1087 formatted_time methods in support/lyxtime.
1089 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1091 * toc.[Ch]: new method getGuiName, which is used by the frontends
1092 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1094 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1096 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1097 StableDocIterator const &)
1098 * undo.C (recordUndo): use the above instead of cell.size() comparison
1099 (fixes bug 1808; instructed by Andr�.
1101 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1104 * dociterator.h: Fix the assert when copying rows/cols in math
1106 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1108 * BufferView_pimpl.C:
1110 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1112 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1113 (findInset): new functions, refactored from goto Inset that return
1114 the position of a certain inset without setting the buffer's cursor
1116 (gotoInset): rewrite to call findInset and then set the cursor
1119 2005-06-16 Angus Leeming <leeming@lyx.org>
1121 * lyxrc.C (output, read): wrap all input and output of paths with
1122 calls to os::internal_path and os::external_path, respectively.
1123 (output): wrap bind_file inside quotes.
1125 * format.C (view): enable the viewer to use the '$$s' placeholder.
1127 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1129 * LColor.[Ch] (getFromLaTeXName): new
1131 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1133 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1135 2005-06-14 Angus Leeming <leeming@lyx.org>
1137 * lyx_main.C (init): ensure that the LyX binary dir is the first
1138 element in the PATH on non-POSIX builds.
1140 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1142 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1144 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * rowpainter.C (paintInset, paintHebrewComposeChar)
1147 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1148 (paintChars): use getFontSpan to reduce calls to getFont to a
1149 minimum; use Paragraph::lookupChange instead of isXXXText.
1150 (paintForeignMark): rename LyXFont argument.
1151 (paintFromPos): pass a LyXFont object to the various paintXXX
1154 * FontIterator.C (FontIterator, operator++): use
1155 Paragraph::getFontSpan
1157 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1158 version that returns the font span as a pair.
1160 2005-06-09 Angus Leeming <leeming@lyx.org>
1162 * converter.C (convert): Don't forget "outfile = real_outfile" as
1163 the final step in a conversion where the input and output file names
1164 are the same. Otherwise, future conversion steps won't work...
1166 2005-06-09 Angus Leeming <leeming@lyx.org>
1168 * lyxsocket.C: remove stub code as it isn't needed by
1169 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1171 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1173 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1174 effectively disabled -x
1176 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1178 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1179 when it actually makes sense.
1181 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1183 * BufferView_pimpl.C: revert to showCursor in connection with
1184 Lars's front-end stack
1186 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1188 * text.C (redoParagraph): move cursor right after a bibitem
1191 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1193 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1198 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1200 * BufferView.[Ch] (update):
1201 * BufferView_pimpl.[Ch] (update, metrics):
1202 * dimension.h (operator==):
1203 * lyxfunc.C (dispatch):
1204 * metricsinfo.h (ViewMetricsInfo):
1205 * rowpainter.C (paintText):
1207 * text.C (redoParagraph):
1208 * text3.C (dispatch): Make LyX only repaint current paragraph in
1209 case of character insert --> speedup. Also fix cursor draw
1212 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1214 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1215 avoid a crash (bug 1891)
1217 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1221 * text2.C (getStringToIndex): constify cur argument.
1223 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1224 argument has been given
1225 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1226 try to invoke LFUN_INSET_APPLY).
1228 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1229 if no inset was created by doInsertInset
1230 (doInsertInset): return true if an inset has been inserted.
1232 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1234 * vspace.C (asGUIName): new method. A version of the space
1235 suitable for showing on screen.
1237 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1240 * lyxrc.C: rename "ASCII" to "Plain Text"
1242 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1244 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1245 translate the labelstring.
1246 (setCounter): translate labelstring as needed.
1248 * output_docbook.C (makeCommand): fix expandLabel invokation
1250 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1252 * BufferView.C: fix dialog title
1254 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1256 * lyx_main.C (priv_exec): fix logic error with help from Angus
1257 * lyx_main.C (parse_execute): set is_gui = false and remove now
1258 obsolete comment about a segfault
1260 2005-05-18 Angus Leeming <leeming@lyx.org>
1262 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1264 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1266 * tabular.[hC]: added setCellInset to fix tabular paste.
1268 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1270 * buffer.C (save): check if destination is writable before trying
1273 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1275 * BufferView_pimpl.C (update): fix processEvents -caused update
1278 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1280 * buffer_funcs.C (setCounter): fix test for numbering of
1283 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1284 depth correctly; use optional argument when it exists
1286 * lyxtextclass.C: remove unused MaxCounterTags enum
1287 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1288 (max_toclevel, min_toclevel): new methods.
1290 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1291 the smallest depth in toc.
1293 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1294 layouts that should not appear in a table of contents.
1296 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1298 * cursor.h (undispatched, noUpdate): add comments from Andr�
1299 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1303 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1305 2005-05-07 André Pönitz <poenitz@gmx.net>
1307 * cursor.[Ch] (leaveInset): new function
1309 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1311 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1313 2005-05-04 Angus Leeming <leeming@lyx.org>
1315 * lyxfunc.C (getStatus): disable the spell checker dialog if
1316 none of USE_[AIP]SPELL are defined.
1318 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1320 * tabular.C (setWidthOfCell): remove obsolete comment
1322 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1324 * paragraph.C (bibitem):
1325 * buffer_funcs.C (setCounter):
1326 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1328 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1330 * text3.C (getStatus): immediately return after setOnOff
1332 * rowpainter.C: fix drawing of appendix start
1334 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1336 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1337 SwitchBetweenClasses and remove the unused return value.
1338 Handle character styles, too
1340 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1342 * factory.C (createInset): handle undefined character styles
1344 2005-05-02 Angus Leeming <leeming@lyx.org>
1346 * buffer.C: protect the #include of utime.h with a preprocessor
1349 2005-05-02 Angus Leeming <leeming@lyx.org>
1351 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1352 function so that auto-saving works, albeit in a blocking manner.
1354 * Makefile.am: make compilation of the client sub directory, of
1355 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1356 on conditionals set at configure time.
1358 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1359 it can be compiled in its own right but has no-op functionality.
1361 * aspell.C, pspell.C: remove preprocessor guards. The files should
1362 be compiled only if the necessary functionality exists.
1364 * lyxserver.C, lyxsocket.C: disable on Windows.
1366 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1368 * text.C (leftMargin): Fix the parindent use bug (1764)
1371 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1373 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1376 2005-04-25 Angus Leeming <leeming@lyx.org>
1384 include <config.h> in .C files, not .h ones.
1386 protect headers inside preprocessor guards.
1388 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1390 * FuncStatus.h (StatusCodes): document
1392 2005-04-21 André Pönitz <poenitz@gmx.net>
1394 * FuncStatus.h (enabled, onoff): document
1396 2005-04-19 Angus Leeming <leeming@lyx.org>
1398 * BufferView_pimpl.C (cursorToggle): no longer test whether
1399 any child processes have been reaped before calling
1400 handleCompletedProcesses().
1402 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1404 * text3.C (dispatch): fix, finally fix, the language problem in
1405 new lyxtexts, without disabling on-the-fly font changes (Helge's
1408 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1410 * text3.C (dispatch): set cursor on double/triple click events
1413 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1415 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1416 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1418 * rowpainter.C (paintFirst): simplify the code a little bit. In
1419 particular, remove the test for secnumdepth.
1420 * text.C (setHeightOfRow): only allocate space for chapter number
1421 when updateCounters provided an actual label, instead of looking
1422 at secnumdepth directly.
1424 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1426 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1427 paragraphs when secnumdepth is large enough or, for environments,
1428 when they are not the first in a sequence.
1430 2005-04-17 Angus Leeming <leeming@lyx.org>
1432 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1433 containing space and '~' characters with a call to latex_path().
1435 2005-04-17 Angus Leeming <leeming@lyx.org>
1437 * converter.C (convert): protect all args of convertDefault.sh
1440 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1442 * text3.C (dispatch): change the layout to "Caption" after inserting
1445 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1447 * text3.C (dispatch): fix language problem in newly created
1448 textinsets (and main text) in non-english docs
1450 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1452 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1453 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1454 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1456 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1460 * text2.C (getFont):
1461 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1464 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1466 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1467 output of \item arguments without trailing text.
1469 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1471 * FontIterator.C (operator*): avoid a copy of the font.
1473 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1475 * rowpainter.C (getFont): fix language bug from previous fix
1477 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1479 * rowpainter.C (RowPainter, getFont): fix font inside inset
1482 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1484 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1485 preventing inserted font, deco, delim insets jumping to start of
1488 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * lyxfunc.C (dispatch): translate message before sending it to the
1493 2005-03-29 Angus Leeming <leeming@lyx.org>
1495 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1496 to LyX on the command line.
1498 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1500 * vc-backend.C: use QuoteName to protect file names wherever
1503 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1506 * BranchList.h: fix bugs 1844,1845: document settings don't
1509 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1511 * lyxrc.C (setDefaults, read, output, getDescription): add support
1512 for tex_allows_spaces.
1514 * exporter.C (Export): allows files in directory containing spaces
1515 if tex_allows_spaces is true.
1517 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1518 output it in double quotes.
1520 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1522 * rowpainter.C: use default text height for drawing change tracker
1525 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1527 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1529 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1531 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1532 directory is missing.
1534 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1536 * text2.C: fixed the fix, extended to other case.
1538 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1540 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1542 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1544 * text2.C (cursorUp): get rid of a crash
1545 * text.C (x2pos): add an assert
1547 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1549 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1553 * dociterator.C: include <boost/current_function.hpp>, which is
1554 needed when assertions are disabled.
1556 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1558 * text2.C: fix for stuck cursor when traversing two
1559 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1561 2005-02-25 Andreas Vox <avox@arcor.de>
1563 * output_docbook.C (makeParagraph): suppress trailing newline
1564 after a run of paragraphs
1566 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1568 * paragraph.C: fix for confused change tracker when pasting
1569 text that begins with a lineseparator. [bug 1827]
1570 (setChange(0, Change::INSERTED);)
1572 * paragraph_funcs.C: fix for lost changes on triple-paste
1573 in change tracking mode [bug 1827] (par.setChange()).
1575 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1577 * text2.C (updateCounters, setCounter, expandLabel): move to
1580 * buffer_funcs.C (updateCounters): turn into a free standing
1581 function and add a buffer parameter. Remove dead code for tracking
1583 (setCounter): change into a free-standing function which gets a
1584 dociterator as argument. Use this iterator to fix captions in a
1585 simple way. When no float is found above the caption, use the
1586 labelstring of the caption layout as default.
1588 * text.C (breakParagraph, backspace):
1589 * text2.C (init, setLayout, changeDepth):
1590 * text3.C (dispatch):
1591 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1594 * dociterator.C (forwardPar): make it much faster by calling
1595 forwardPos() only when really necessary.
1597 * output_docbook.C (makeCommand): adapt to expandLabel move.
1599 * cursor.C: remove unused variable
1601 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1603 * paragraph_funcs.C: fix crash when pasting insets in change
1604 tracking mode [bug 1277] (honour change type in moveItem).
1606 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1608 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1610 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1612 * BufferView.C (setCursor): change to use a DocIterator.
1613 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1614 (putSelectionAt): adapt to BufferView::setCursor change.
1616 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1617 moved here from LyXText and rewritten to use proper cursor
1618 methods. Fixes bug 1787, 616 and 835.
1620 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1621 when inside an inset (part of bug 781).
1622 (dispatch): adapt to change of BufferView::setCursor.
1623 (getStatus, dispatch): handle LFUN_GOTOERROR,
1624 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1626 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1627 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1628 * text3.C (gotoNextInset, gotoInset): removed.
1630 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1632 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1634 2005-02-15 Angus Leeming <leeming@lyx.org>
1636 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1637 can be used meaningfully in a comparison.
1639 2005-02-13 André Pönitz <poenitz@gmx.net>
1641 * bufferview_funcs.C (coordOffset): improve cursor drawing
1643 2005-02-13 André Pönitz <poenitz@gmx.net>
1645 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1646 * Cursor.C (dispatch): use fixIfBroken
1647 * lyxfunc.C (getStatus): use fixIfBroken
1649 2005-02-15 Angus Leeming <leeming@lyx.org>
1651 * lyx_main.C (error_handler):
1653 * lyxrc.C (setDefaults):
1655 #include "environment.h".
1657 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1659 2005-02-15 Angus Leeming <leeming@lyx.org>
1661 * lyxserver.C (startPipe): squash MSVC warning "local variable
1662 'fd' used without having been initialized".
1664 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1666 * BufferView_pimpl.C: revert accidental commit.
1668 2005-02-14 André Pönitz <poenitz@gmx.net>
1670 * dociterator.[Ch]: new member forwardPosNoDescent(),
1671 which doesn't enter nested insets.
1672 * text2.C (setFont): use forwardPosNoDescent() instead
1673 of ForwardPos() (fixes crash on font change).
1675 2005-02-13 Angus Leeming <leeming@lyx.org>
1677 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1678 only if lyxrc.path_prefix is not empty.
1680 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1682 * bufferparams.C (readGraphicsDriver): prevent crash
1684 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1686 * text2.C (setCounter): check for inInset() == 0
1688 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1690 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1691 but use update() to get correct screen display; use convert
1692 instead of istringstream.
1693 (getStatus): handle LFUN_GOTO_PARAGRAPH
1695 * lyxfunc.C (dispatch, getStatus): do not handle
1696 LFUN_GOTO_PARAGRAPH here.
1698 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1700 * text3.C (dispatch): size() -> depth()
1702 * text2.C: remove some debug output
1704 * paragraph.C: ws changes only
1706 * lyxfunc.C (getStatus): size() -> depth()
1708 * dociterator.h (clear, push_back, pop_back, internalData,
1709 operator[], resize, empty): new functions
1710 Make StableDocIterator and operator== be friends. Don't inherit
1711 from std::vector use a privat class variable slices_ instead.
1714 * dociterator.C: update because of not inheriting from std::vector
1715 anymore. Call explictly to slices_ instead. Use depth() instead of
1716 size() and top() instead of back()
1718 * cursor.C: chagne size() -> depth and back() -> top(). Also
1719 remove some direct operator[](i) calls in favour of foo[i]
1720 (getFont): remove some dead code
1722 * bufferview_funcs.C (coordOffset): size() -> depth()
1724 * buffer.C: ws changes only
1726 * CutAndPaste.C (eraseSelection): back() -> top()
1728 * BufferView_pimpl.C (selectionRequested): back() -> top()
1730 * BufferView.C (setCursor): size() -> depth()
1732 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1734 * text3.C (cursorPrevious): return true if depm changed something
1736 (dispatch): rename sl to oldTopSlice, remove moving use the new
1737 NoUpdate func attrib instead. Make sure that needsUpdate is set
1738 for function that have NoUpdate, but where depm might have changed
1741 * text2.C (cursorLeft): make us return true if depm changed
1743 (cursorRight): ditto
1744 (cursorUpParagraph): ditto
1745 (curosrDownParagraph): ditto
1746 (cursorUp, cursorDown): ditto, make sure to read comments in code
1747 (deleteEmptyParagraphMechanism): remove an assert, also return
1748 true if just a single char was deleted.
1750 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1751 cursor that we modify, to avoid modifying an active cursor before
1752 we call setCursor. This allows depm to run. Also return true if
1753 depm deleted something.
1755 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1756 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1757 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1758 something was changed in the buffer because of them (ie. depm run)
1760 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1761 debug messages. Make update by default be false. Make sure that
1762 the result of update is retained throught several calls down to
1765 * LyXAction.h: add a new func_attrib: NoUpdate
1767 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1768 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1769 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1771 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1773 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1775 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1776 bv_->owner(), bv_->buffer() by direct references to the private
1778 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1779 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1780 (fitCursor): center() is in BufferView::Pimpl.
1781 (getStatus, trackChanges, dispatch): no need for a temporary buf
1783 (fitCursor, workAreaDispatch): use workarea().workheight()
1785 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1787 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1789 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1791 * buffer.C: format up to 241.
1792 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1793 break if pasting into ERT
1794 * lyxfunc.C (getStatus): suppress mathpanel and
1795 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1797 2005-02-01 Angus Leeming <leeming@lyx.org>
1799 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1801 2005-02-01 Angus Leeming <leeming@lyx.org>
1803 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1804 calling fs::is_directory().
1806 2005-01-31 Angus Leeming <leeming@lyx.org>
1808 * lyx_main.C (priv_exec): specify explicitly the relative location
1809 of the top level build directory when run in-place.
1811 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1813 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1814 LyXText containing the cursor, not the top-level one.
1816 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1818 (insertStringAsLines): rename par to pit; use temporary variable
1819 par to hold a Paragraph; do not store par.layout() in a variable,
1820 since the pointer may die when breaking paragraphs; pass pars to
1821 breakParagraph() instead of Buffer::paragraphs().
1823 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1825 * lyxlex_pimpl.h: #include <fstream>.
1827 * BufferView.[Ch] (getLyXText): add a const version.
1829 * BufferView_pimpl.C: add debug aids.
1834 * paragraph_funcs.h: add commentary explaining what the class does.
1837 * coordcache.[Ch]: add lots of commentary.
1838 (startUpdating, doneUpdating): debug aids.
1839 (arrays, insets, parPos, getParPos): accessors to private data.
1841 * cursor_slice.[Ch] (text): add a const version.
1842 * dociterator.[Ch] (text, innerText): add const versions.
1844 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1847 * paragraph.C (getRow, pos2ros): add asserts.
1849 * paragraph.h: add commentary. Lots of.
1851 * paragraph.[Ch] (metrucs, draw): removed.
1854 * rowpainter.[Ch]: const-correct changes.
1856 * text.C: various obvious clean-ups. Removal of ancient cruft.
1859 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1861 * vc-backend.C (find_file): rewrite to use boost.filesystem
1864 * main.C (main): set default name check for boost.filesystem to
1867 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1870 (actOnUpdatedPrefs): ditto
1872 * lyx_main.C (init): rewrite to use boost.filesystem
1873 (queryUserLyXDir): ditto
1875 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1876 (getContentsOfAsciiFile): ditto
1878 * lastfiles.C (readFile): rewrite to use boost.filesystem
1880 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1882 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1883 (loadLyXFile): ditto
1885 * buffer.C (Buffer): adjust for destroydir
1886 (getLogName): rewrite to use boost.filesystem
1887 (setFileName): ditto
1888 (save): use fs::copy_file (from fs_extras)
1890 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1892 * LaTeX.C (run): rewrite to use boost.filesystem
1893 (scanAuxFiles): ditto
1894 (handleFoundFile): ditto
1896 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1898 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1900 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1902 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1904 * lyxlayout.[Ch]: change some vars from float to double
1906 * buffer.C (readFile): make a local var const
1908 * Several files: use convert<> instead of atoi,strToXXX and friends
1910 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1912 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1913 holds the contents of packages.lst. New functions getAvailable
1914 and isAvailable to parse and check that list, resp.
1918 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1920 * bufferparams.[Ch]: new param output_changes.
1922 * Buffer.C: increase file format to 240.
1923 Use output_changes and isVailable.
1927 * paragraph_pimpl.C: Use output_changes and isVailable.
1929 2005-01-23 Angus Leeming <leeming@lyx.org>
1931 * output_latex.C: #include "insetbibitem.h", rather than
1932 forward declare function bibitemWidest.
1934 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1936 * lyx_main.C (init): make it compile on the Mac.
1938 2005-01-20 Angus Leeming <leeming@lyx.org>
1940 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1941 (setLyXMisc): (char string literal) != (char string literal) is
1942 performing a comparison on the addresses. Convert one operand
1943 explicitly to string to guarantee expected behaviour.
1946 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1949 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1951 * output_plaintext.C: remove unneeded #include gzstream.h.
1953 2005-01-20 Angus Leeming <leeming@lyx.org>
1955 * SpellBase.h: rename some of the elements of the Result enum.
1962 * pspell.C (check): ditto
1964 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1966 * buffer.C: add #include <fstream>.
1968 * lyx_main.C (init): Compile fix.
1970 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1972 2005-01-20 Angus Leeming <leeming@lyx.org>
1974 * mover.h: change commentary to reflect the changed meaning of
1975 the $$s placeholder.
1977 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1979 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1981 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1983 2005-01-20 Angus Leeming <leeming@lyx.org>
1985 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1986 printing diagnostic data by not dereferecing an iterator past the
1989 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1991 * buffer.C (readHeader): use "&&" rather than "and".
1993 * lyxserver.h (inPipeName, outPipeName): make these const.
1995 2005-01-19 Angus Leeming <leeming@lyx.org>
1997 * lyx_main.C (error_handler, init): protect SIGHUP with
1998 #ifdef SIGHUP guards.
2000 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2002 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
2004 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2006 * text.C (setHeightOfRow): add a margin at the top and bottom of
2007 the document (bug 1761)
2009 2005-01-17 Angus Leeming <leeming@lyx.org>
2011 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
2012 with "python ". Workaround for a brain-dead Windows.
2014 2005-01-16 Angus Leeming <leeming@lyx.org>
2016 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
2017 for MacOSX and Windows to use prependEnvPath.
2018 Strip out the hard-coded block to add elements to the PATH for
2019 MacOSX and replace it with a call to prependEnvPath using the
2020 contents of LyXRC::path_prefix.
2021 (queryUserLyXDir): strip out the code to run reconfigure, instead
2022 returning a boolean indicating the necessity to do so.
2023 (reconfigureUserLyXDir): contains the code to reconfigure the
2024 user support directory. Is now called after the various LyXRC data
2025 files have been read.
2027 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
2029 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2031 * converter.[Ch] (convert): take a new parameter try_default. Use
2032 a default converter (imagemagick) if try_default is true.
2034 2005-01-13 Angus Leeming <leeming@lyx.org>
2036 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2037 os::cygwin_path_fix.
2038 (write): output LyXRC::cygwin_path_fix as necessary.
2040 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
2043 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2045 2005-01-12 Angus Leeming <leeming@lyx.org>
2047 * lyx_main.C (init): set the PATH variable to include the
2048 directory containing the LyX binary when running on Mac or Windows.
2050 2005-01-12 Angus Leeming <leeming@lyx.org>
2052 * lyx_main.C (init): remove cruft that purports to set the locale
2053 dir. It doesn't and is not needed anyway.
2055 2005-01-10 Angus Leeming <leeming@lyx.org>
2057 * Makefile.am: remove the lyx_main.C special casing.
2059 * BufferView_pimpl.C:
2065 * messages.C: use support/package.h to provide the paths to the
2066 various directories used by LyX.
2068 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2070 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2071 layout if pasting into an empty paragraph)
2073 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * tex-accent.C: add <string>
2077 2005-01-06 José Matos <jamatos@lyx.org>
2079 * ParagraphParameters.C (write): put every parameter in its own line.
2080 * paragraph.C (write): reduce number of consecutive empty lines exported.
2081 * buffer.C (LYX_FORMAT): increase file format to 239.
2083 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2085 * everywhere: change support/tostr.h -> support/convert.h
2087 * tabular.C: make all write_attributes templates, tostr -> convert
2089 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2090 (emptyTag): and -> &&, and fix type for ret from getChar
2091 (getFirstWord): fix type for ret from getChar
2092 (onlyText): and -> &&
2093 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2096 * toc.C (goTo, action):
2097 * text3.C (dispatch):
2098 * text.C (currentState):
2099 * tex-accent.C (DoAccent):
2102 * lyxfunc.C (menuNew):
2103 * lyxfinc.C (replace):
2104 * counters.C (laberItem):
2105 * bufferview_funcs.C (font2string):
2106 * bufferparams.C (writeFile):
2107 * buffer.C (readFile):
2109 * MenuBackend.C: tostr -> convert
2111 * LaTeX.C (runMessage): fix format
2112 (scanAuxFiles): tostr -> convert
2114 * BufferView_pimpl.C (savePosition): fix format
2115 (restorePosition): ditto
2118 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2120 * Spacing.[Ch]: New method getValueAsString().
2124 * ParagraphParameters.C:
2127 * text3.C: store/read spacing value as string.
2129 * rowpainter.C: change float value (spacing_val) to double.
2131 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2132 broken custom document spacing).
2134 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2136 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2137 namespace, also more use of temp references and const
2139 * cursor.[Ch] (getStatus): move to lyxfunc.C
2141 * bufferparams.C: reformat slightly
2143 * bufferview_funcs.C (font2string): constify arg
2149 * buffer_funcs.C: (many funcs): constify arg on function
2150 definitions, also make more local vars const, also add ASSERTS on
2153 * buffer.C (LYX_FORMAT): put const in correct place
2154 (many funcs): constify arg on function definitions, also make
2155 more local vars const
2157 * aspell_local.h: remove "struct" from typdef setup
2159 * aspell.C (check): make word_ok const
2160 (nextMiss): simplify slightly
2163 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2165 * lyxrc.[Ch]: store all float values as strings.
2166 use int (not float) for lyxrc.dpi.
2168 2005-01-04 Angus Leeming <leeming@lyx.org>
2170 * lyx_cb.C (Reconfigure):
2171 * lyx_main.C (queryUserLyXDir):
2172 to run the <system_lyxdir>/configure correctly on Windows, prefix
2173 the path to the script with "sh " when generating the string that
2174 is passed to system().
2176 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2178 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2180 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2182 * lyxlength.C (asLatexString): get rid of setprecision
2184 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2186 * text2.C (setLayout): remove unused variable endpit.
2187 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2189 * paragraph.C (onlyText): remove unused variable style.
2191 * cursor.C (bruteFind): remove unused variables beg and end.
2193 * Makefile.am (dist_noinset_DATA): not needed anymore
2195 * cheaders/*: remove.
2197 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2199 * text3.C: fix LFUN_MATH_MODE.
2201 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2203 * buffer_funcs.C (countWords): new function. Counts words between
2206 * BufferView_pimpl.C (getStatus, dispatch): handle
2209 * LyXAction.C (init):
2210 * lfuns.h: add LFUN_WORDS_COUNT.
2212 2004-12-19 Angus Leeming <leeming@lyx.org>
2214 * buffer.C (save): s/slashify_path/internal_path/.
2216 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2218 * lyxfind.C (findChange): do not search for end of pars, because
2219 the change tracker cannot handle this (fixes bug 1719).
2221 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2223 * paragraph.[Ch] (autoBreakRows): remove
2225 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2227 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2228 avoid using the paragraph one
2230 * text2.C (LyXText, insertStringAsLines): adjust
2232 2004-12-16 Angus Leeming <leeming@lyx.org>
2236 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2238 2004-12-14 Angus Leeming <leeming@lyx.org>
2240 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2242 * bufferlist.C (emergencyWrite):
2243 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2246 2004-12-14 Angus Leeming <leeming@lyx.org>
2248 * main.C: (main): no longer pass pointers to os::init.
2250 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2252 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2253 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2255 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2258 * text3.C: remove selection_possible global flag
2260 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2262 * text2.C (getSelectionSpan): remove
2263 (changeDepth, changeDepthAllowed): adjust
2265 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2267 * Makefile.am (BOOST_LIBS): use boost variables
2269 2004-12-03 José Matos <jamatos@lyx.org>
2271 * buffer.C: format up to 238.
2273 2004-12-03 José Matos <jamatos@lyx.org>
2275 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2277 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2279 * cursor.C (goUpDown): remove call to idxUpDown2
2281 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2283 * tabular.[Ch]: use size_t-like types for cell, row and column
2286 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2288 * lyxfunc.C (getStatus): do not lose previous information when
2289 calling BufferView::getStatus; do not set a default "Command
2290 disabled" message at the beginning, but just before returning.
2292 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2294 * cursor.h (getStatus): add better comment from src/cursor.C
2296 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2298 * text3.C (getStatus): return false when the lfun is not handled
2300 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2302 * broken_headers.h: remove
2304 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2306 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2308 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2309 offset_ref accessors
2311 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2312 top_y_, merge fitcursor with update
2313 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2315 (metrics): introduce
2316 (workAreaDispatch): adapt to new coord scheme
2317 (redoCurrentBuffer): remove
2319 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2321 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2324 * coordcache.[Ch]: add paragraph cache and helpers
2326 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2329 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2330 (targetX, setTargetX): introduce
2332 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2333 baseline -> ascent, as the rest of lyx
2335 * lyxtext.h: remove redoParagraphs, updateParPositions,
2336 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2337 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2338 have ascent/descent (ascent is ascent of first par)
2340 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2343 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2345 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2347 * pariterator.C: fix infinite loop introduced in par->pit renaming
2349 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2350 in insets and LyXText, draw two off-screen paragraphs using
2351 NullPainter, and adapt to new coord scheme
2355 * text3.C: adapt lfun handlers to the new coord scheme, which
2356 means: there's only guaranteed coord information for onscreen pars
2357 plus one above and one below. This implies that one can do search
2358 from y coordinates in the range [-1,workHeight]
2360 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2362 * rename a lot of InsetOld to InsetBase
2364 2004-11-25 Angus Leeming <leeming@lyx.org>
2366 * BufferView_pimpl.C:
2368 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2370 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2372 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2373 call BufferView::getStatus if LCursor::getStatus did nothing
2374 (setStatusMessage, getStatusMessage): removed.
2376 * FuncStatus.C (message): new methods. Used to provide an error
2377 message indicating why a command is disabled.
2378 (clear, |=, FuncStatus): update for message.
2380 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2382 * lyxfunc.C (dispatch): always call sendDispatchMessage
2384 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2387 * BufferView_pimpl.C:
2392 * cursor_slice.[Ch]:
2395 * paragraph_funcs.C:
2401 * undo.C: par->pit renaming
2403 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * tabular.C (cellstruct): use initialization, store a shared_ptr
2406 to insettext instead of the insettext directly, adjust to fit.
2407 (operator=): new function
2408 (swap): new function
2409 (rowstruct): use initialization
2410 (columnstruct): use initialization
2411 (ltType): use initialization
2414 * lyxlength.h (swap): new function
2416 * LColor.[Ch] (operator=): use the common semantics
2418 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2420 * lyxfind.C (findNextChange): update the bufferview after setting
2423 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2425 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2426 number of InsetOptArgs has already been inserted.
2428 * output_latex.C (latexOptArgInsets): new method. This outputs all
2429 the optarg insets, up to the limit defined in the layout file.
2430 (optArgInset): removed
2431 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2433 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2435 * paragraph.C (isLetter): remove special spellchecker-related
2436 code; return true also for digits
2437 (isWord, isKomma): remove
2439 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2440 * lyxfind.C (MatchString()): use isLetter instead of isWord
2442 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * pariterator.h (operatir=): comment out un-implemented member
2447 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2450 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2452 * lyxfont.h: include LColor.h to satisfy concept checks.
2454 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2456 * pariterator.h: add typdefs for value_type, difference_type,
2457 pointer and reference to satisfy concept checks. Also add default
2458 constructor for same reason.
2460 * pariterator.C (operator++): add post-increment operator to
2461 satisfy concept checks.
2463 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2466 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2468 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2469 checks. Also rename base_type to BaseType to follow naming
2472 * FloatList.h: include Floating.h to satisfy concept checks.
2474 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2476 * lyxfunc.C (getStatus): when the origin of the request is menu or
2477 toolbar, and the LyXView does not have focus, do as if there was
2478 no buffer (bug 1720)
2480 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2481 FuncRequest to individual entries of LFUN_SEQUENCE
2483 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2485 * output_latex.C (TeXOnePar): override runparams.moving_arg
2486 according to the needprotect value of the current paragraph (bug
2489 * paragraph.C (simpleTeXOnePar): no need to override
2490 runparams.moving_args here
2492 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2494 * vspace.C: fix off-by-one-error, related to fix #1682
2496 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2498 * lengthcommon.C: a more general fix for bug 1682
2500 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2502 * text.C (backspace): fix crash
2504 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2506 * format.[Ch] (getFormatFromFile): new method
2507 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2509 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2511 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2513 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2515 * lyxfunc.C (dispatch): remove the verbose argument
2516 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2519 * kbmap.C (defkey): set the origin of func to KEYBOARD
2521 * MenuBackend.C (MenuItem):
2522 * ToolbarBackend.C (add): set the origin of func to UI
2524 * funcrequest.[Ch]: add origin member, which indicates which part
2525 of LyX requests an action
2527 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2529 * converter.C (move): don't lie in the error message
2530 * converter.h (isReachable, move): document
2532 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2534 * buffer.C: remove unused using lyx::support::atoi
2535 * paragraph_funcs.C: ditto
2537 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * bufferlist.C (exists): use bind and equal_to instead of
2542 * lyxtextclasslist.C (NumberOfClass): ditto
2544 * cursor.C (insert): use for_each instead of explicit for loop
2546 * bufferlist.C (getFileNames): use std::transform and
2547 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2549 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2552 * buffer.C (changeLanguage): use for_each instead of explicit for
2554 (hasParWithID): implement using getParFromID
2556 * LaTeXFeatures.C: ws change only
2558 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2561 * BufferView_pimpl.C (trackChanges): use for_each instead of
2564 2004-11-04 André Pönitz <poenitz@gmx.net>
2567 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2569 * dociterator.C (asDocIterator): use hard assert again.
2571 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2573 * lyxlength.C (asLatexString): rewrite so that it does not use
2576 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2578 * text3.C (specialChar, dispatch): make sure cursor moves to the
2579 right after inserting an inset
2581 2004-11-02 José Matos <jamatos@lyx.org>
2583 * output_docbook.C (docbook):
2584 * paragraph.C (getID):
2585 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2586 garantee that the output is always legal.
2588 * tabular.C (docbook):
2589 * outputprams.[Ch]: remove mixed contents.
2591 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2593 * text2.C (setCounter): prevent endless loop
2595 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2597 * exporter.C (copyFile): use the mover instead of support::copy()
2598 * exporter.C (Export): pass format and latex name to copyFile()
2599 * exporter.h (addExternalFile): document
2600 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2602 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2604 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2606 2004-10-30 José Matos <jamatos@lyx.org>
2608 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2609 text and no inset or font change. This allows to use CDATA
2610 sections just for the whole paragraph.
2612 2004-10-30 José Matos <jamatos@lyx.org>
2614 * paragraph.C (getFirstWord): remove unused variable.
2616 2004-10-30 José Matos <jamatos@lyx.org>
2618 * paragraph.C (getFirstWord): the content should always be escaped
2620 (simpleDocBookOnePar):
2621 * output_docbook.C (makeEnvironment): replace reference to CDATA
2624 2004-10-30 José Matos <jamatos@lyx.org>
2626 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2628 2004-10-30 José Matos <jamatos@lyx.org>
2630 * output_docbook.C (makeParagraphs):
2631 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2632 standard paragraph has only a given type of content drop the wrapper.
2634 2004-10-29 José Matos <jamatos@lyx.org>
2636 * output_docbook.C (makeEnvironment):
2638 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2640 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2642 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2643 (cleanID): sanitize any id.
2645 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2647 * buffer.C, lyxlex_pimpl.C:
2648 * lyxlex_pimpl.C (setFile):
2649 s/getExtFromContents/getFormatFromContents/
2651 2004-10-28 José Matos <jamatos@lyx.org>
2653 * output_docbook.C (makeEnvironment): move id to broadest possible
2656 * sgml.C (openTag): apply substitution of <> for all attributes.
2658 2004-10-28 José Matos <jamatos@lyx.org>
2660 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2661 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2662 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2664 * sgml.[Ch]: new version for open and closeTag for paragraph and
2665 for strings. Now they handle the ids of paragraphs.
2667 2004-10-26 Angus Leeming <leeming@lyx.org>
2669 * Makefile.am: add mover.[Ch].
2671 * converter.C (convert, move): use the new Movers to move external
2672 files to the temp directory.
2674 * lyx_main.C (init): ensure that the global system_movers data
2677 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2680 * mover.[Ch]: new files, defining a Mover as a utility to move an
2681 external file between directories and, if necessary, manipulate this
2682 file using a helper script.
2684 2004-10-25 José Matos <jamatos@lyx.org>
2686 * output_docbook.C (makeCommand): merge two if's that tested the
2689 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2691 * sgml.C (escapeString): fix warning in a better way
2693 2004-10-25 José Matos <jamatos@lyx.org>
2695 * sgml.C (escapeString): import the require boosts header file for
2696 tie, and avoid a signed unsigned comparison.
2698 2004-10-25 José Matos <jamatos@lyx.org>
2700 * sgml.h: add #include <string>
2702 2004-10-25 José Matos <jamatos@lyx.org>
2704 * sgml.[Ch] (escapeString): new function to escape all the string.
2706 2004-10-24 José Matos <jamatos@lyx.org>
2708 * paragraph.[Ch] (getFirstWord): new function to get the first
2709 word. Useful for description.
2710 (simpleDocBookOnePar): remove depth argument, add another that
2711 says where to start the paragraph.
2713 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2714 use the new functions to fix cleanly the support for descriptions.
2716 2004-10-24 José Matos <jamatos@lyx.org>
2718 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2719 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2720 * output_linuxdoc.C (linuxdocParagraphs):
2721 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2722 add buffer as argument.
2724 2004-10-24 José Matos <jamatos@lyx.org>
2726 * output_docbook.C (makeEnvironment, searchEnvironment): place
2727 CDATA inside paragraphs and fix scope for listitems.
2729 2004-10-24 José Matos <jamatos@lyx.org>
2731 * output_docbook.C: remove using statement for stack.
2733 2004-10-23 José Matos <jamatos@lyx.org>
2735 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2736 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2737 docbook. The new scheme is recursive and makes use of iterators, the
2738 same as latex export works.
2739 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2740 directly with the paragraph contents. This code was moved up to
2741 output_docbook.C (docbookParagraphs).
2742 * sgml.C (openTag, closeTag): removed unneeded newlines.
2743 (closeEnvTags) removed.
2745 2004-10-23 André Pönitz <poenitz@gmx.net>
2747 * undo.C (textUndoOrRedo):
2748 * dociterator.C (asDocIterator): work around crash
2750 * cursor.C (getStatus): replace ASSERT by more verbose error message
2751 and manual correction of the problem. Should increase stability
2752 while providing more sensible information.
2754 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2756 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2758 * bufferlist.C (previous, next): new methods
2761 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2763 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2765 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2766 entities to preamble.
2768 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2770 * messages.C (Pimpl): strip off translation context information
2772 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2774 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2775 the cursor is correct (bug 1694)
2777 2004-10-13 José Matos <jamatos@lyx.org>
2779 * output_docbook.C (docbookParagraphs): fix closing tags in the
2780 end of the document.
2782 2004-10-09 José Matos <jamatos@lyx.org>
2784 * buffer.C: format up to 237.
2785 * bufferparams.C (write): use tostr to convert booleans to strings.
2787 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2789 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2791 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2793 * LaTeX.C: implement use of babel language in xindy.
2795 2004-10-05 José Matos <jamatos@lyx.org>
2797 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2798 Add new translators to help reading and writing the lyx file.
2800 2004-10-05 José Matos <jamatos@lyx.org>
2802 * ParagraphParameters.C (read):
2803 * text.C (readParToken): replace nexToken by more appropriate lex
2806 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2808 * LaTeX.C (runMakeIndex):
2809 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2810 (usually 'makeindex') configurable.
2812 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2813 with a variable rather than with a number.
2815 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2817 * output_latex.C (TeXOnePar): make sure font setting is the first
2818 thing that gets output (and the last at the end). Should fix bug
2821 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2823 * pch.h: use proper signal include
2825 * LaTeX.h: Use preferred calling of Boost.Signal
2828 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * pch.h: dont include <boost/function/function0.hpp>
2832 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2834 * paragraph_pimpl.h: remove usage of ShareContainer
2836 * paragraph_pimpl.C: remove initialization of ShareContainer.
2838 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2842 * BufferView.C (putSelectionAt): change the semantics when
2843 backwards == true: now, this just swaps cursor and anchor wrt the
2846 * BufferView.h (putSelectionAt): add some documentation
2848 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2849 make sure backwardChar is done at least once (to avoid getting
2851 (findNextChange): use putSelectionAt in the forward direction
2852 (operator()): use Paragraph::isWord
2854 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * Spacing.C (set): c_str fix
2858 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2860 * lyx_cb.C (Reconfigure): quote the name of configure script in
2861 case it contains spaces
2863 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2868 (BOOST_LIBS): use top_buildir when looking for the file
2870 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2872 * pch.h: do not use include boost/format.hpp, multiple symbols
2873 will result (gcc bug)
2876 2004-08-23 José Matos <jamatos@lyx.org>
2878 * bufferparams.C (readToken): fix reading of the author field.
2880 2004-08-20 José Matos <jamatos@lyx.org>
2882 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2884 2004-08-20 José Matos <jamatos@lyx.org>
2886 * lyxlex.[Ch] (findToken): remove function.
2888 * ParagraphParameters.C (findToken):
2889 * bufferparams.C (findToken): replace call for previous function
2890 with local copy. This local function has one more argument, the
2891 read string argument.
2893 2004-08-16 José Matos <jamatos@lyx.org>
2895 * ParagraphParameters.C (write):
2896 * Spacing.C (writeFile):
2897 * bufferparams.C (writeLaTeX):
2898 * lyx_cb.C (Reconfigure):
2899 * paragraph.C (write):
2900 * tabular.C (write): remove unnecessary space at end of line.
2903 2004-08-16 José Matos <jamatos@lyx.org>
2905 * text.C (readParagraph): remove debug message.
2907 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2909 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2912 * output_plaintext.C (asciiParagraph): set depth correctly
2914 * outputparams.h: add member depth
2916 * paragraph_funcs.C (ownerPar): remove.
2918 * text2.C (setCounter): remove first_pit; comment out some
2919 non-working code that uses ownerPar
2921 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2924 2004-08-16 José Matos <jamatos@lyx.org>
2926 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2927 For the same level of importance use the same chanel to report problems.
2928 (read): add code to deal with \begin_body and \end_body.
2931 2004-08-15 José Matos <jamatos@lyx.org>
2933 * lyxlex.C (getString): fix comment, buffer::readBody is now
2934 buffer:readDocument.
2936 * tex-strings.C (string_papersize): Default -> default,
2937 Custom -> custom, for consistency with other options.
2939 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * Makefile.am: support pch
2945 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2947 * text.C (readParToken): remove the static LyXFont variable and
2948 pass it as a parameter instead. This fixes a nasty bug where an
2949 inset will be inserted with a bad font in some situations
2950 (readParagraph): adapt
2952 * text2.C (setCounter): reduce number of calls to pars_[pit]
2954 * text.C (singleWidth): add an assert, fix a test
2956 * rowpainter.C (paintText): reduce number of calls to singleWidth
2958 * paragraph.C (isHfill):
2959 (isNewline): ws only
2961 2004-08-14 André Pönitz <poenitz@gmx.net>
2966 * lyxtext.h (several functions): use a Paragraph & argument
2969 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2971 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2973 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2975 * text.C (singleWidth): remove useless test
2977 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2979 * tabular.h: remove bogus comments
2981 * tabular.C (getDescentOfRow):
2982 (isPartOfMultiColumn): add assertions
2984 * lyxlength.C (inPixels): remove #warning
2986 2004-08-14 André Pönitz <poenitz@gmx.net>
2988 * paragraph.h: inline getChar()
2990 * BufferView.h: remove unused declarations
2992 2004-08-14 José Matos <jamatos@lyx.org>
2994 * Buffer.[Ch] (readDocument): new name for old readBody.
2995 * Buffer.C: new file format, new keywords: \begin_document,
2996 \begin_header, \begin_body, \end_body.
2998 * bufferparams.C (readToken): replace all calls to lex.nextToken
2999 by lex.next(). Do the same to eatLine except where really needed.
3001 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
3002 line when writing to the lyx file.
3004 * output_plaintext.C (asciiParagraph): fix Bibliography style
3007 * text.C (read): fix end of file handling.
3009 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3011 * MenuBackend.C (Menu::operator[]): new method to access
3012 individual menu items
3013 (Menu::hasFunc): new method. search for an item that corresponds
3015 (MenuBackend::specialMenu): new method
3016 (MenuBackend::expand): if a special menu has been set, skip
3017 entries whose func() appears in this menu
3019 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3021 * text3.C: use Debug::DEBUG a bit more
3023 * text.C (leftMargin): try to simplify a tiny bit change var x to
3024 l_margin. Dont output the wide margins always.
3025 (rightMargin): no margin in inner texts
3027 * rowpainter.h (nestMargin): new func
3028 (changebarMargin): new func
3029 (rightMargin): new func
3031 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3035 * factory.C (createInset): modify setDrawFrame
3037 * cursor.C: use Debug::DEBUG a bit more
3039 2004-08-14 André Pönitz <poenitz@gmx.net>
3042 * Makefile.am: new files to accomodate an 'external' (x,y)-position
3043 cache for all insets in (at least partially) visible (top-level)
3046 * BufferView_pimpl.C: reset external coord cache before every update.
3047 This means the coord cache only contains valid entries.
3049 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3052 * BufferView_pimpl.C (getInsetByCode): move function out of class
3053 and change in to a template in anon namespace. Also fix to do what
3056 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
3059 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3061 (breakParagraph): rename par to par_offset and use a local
3062 reference. Add code to keep the language over a rebreak.
3063 (breakParagraphConservative): rename par to par_offset, use a
3065 (mergeParagraph): ditto
3067 (isFirstInSequence): ditto
3068 (outerFont): rename pit to par_offset
3070 * paragraph.C: ws change
3071 * paragraph.h: ditto
3075 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3077 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3080 * paragraph.C (simpleTeXOnePar): when we have a \item with
3081 optional argument, enclose the argument with curly brackets (in
3082 case it contains a closing square bracket)
3086 * text3.C (checkInsetHit): constify
3088 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3090 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3091 documents (bug 1629)
3093 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3095 Fix toggling of collapsable insets with the mouse (bug 1558)
3097 * lyxfunc.C (dispatch): adapt to LCursor changes
3099 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3100 make sure that dispatch is not invoked twice
3102 * cursor.C (needsUpdate): new method
3103 (dispatch): return void
3104 (result): new method, to access the DispatchResult of the cursor.
3106 2004-08-13 José Matos <jamatos@lyx.org>
3108 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3110 2004-08-13 André Pönitz <poenitz@gmx.net>
3112 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3114 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3117 2004-08-12 André Pönitz <poenitz@gmx.net>
3119 * text3.C: take out the 'cursor right' form insertInset and only
3120 do it in those places when it is really needed. Fixes crash on
3123 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3125 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3127 * BufferView_pimpl.C (setBuffer): initialize the current font of
3128 the underlying LyXText
3130 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3132 * kbsequence.C (print): use UI native formatting for menu
3135 * text.C (insertChar): call Paragraph::insertChar with a font
3138 * paragraph.C (insertInset, insertChar): the version that takes a
3139 LyXFont argument is now a wrapper around the other one (the
3140 opposite used to be true).
3142 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3143 argument. Font setting is done in Paragraph now.
3145 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3147 * outputparams.h: add new members intitle and lang.
3149 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3150 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3152 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * text3.C (dispatch): remove special handling of button 4 and 5,
3155 it is now taken care of in the frontend code.
3157 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3159 * Spacing.h: add <string> (STLPort compile fix)
3161 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3163 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3165 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3167 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3170 * converter.C (showMessage): inherit from unary_function, make
3173 * buffer.C (writeFile): initialize retval
3175 * InsetList.h: rename private variable list to list_
3176 * InsetList.[Ch]: adjust accordingly.
3178 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3180 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3181 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3182 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3183 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3184 * ParagraphParameters.C, LaTeXFeatures.C: replace
3185 "support/std_sstream.h" with <sstream>
3187 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3189 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3190 * lyxsocket.C (LyXServerSocket): ditto
3191 (serverCallback): ditto
3193 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3195 * LaTeXFeatures.C: check release date when loading jurabib.
3197 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * lyxserver.C (startPipe): call register_socket_callback
3200 (endPipe): call unregister_socket_callback
3202 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3204 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3205 (LyXServerSocket): register the callback
3206 (LyXServerSocket): unregister the callback
3207 (fd): delete function
3208 (serverCallback): improve error checking and setup the callbacks.
3209 (dataCallback): change arg to fd.
3210 (writeln): new func (copied fro the client socket) used for server
3212 (LyXDataSocket): simplify
3213 (~LyXDataSocket): close ann unregiser callback
3214 (server): delete function
3215 (fd): delete function
3216 (readln): small changes, improve some std::string usage
3217 (writeln): constify a bit
3219 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3221 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3224 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3226 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3227 after it has been populated
3229 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3231 * text2.C (insertInset): move cursor when inserting inset.
3233 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3235 * kbmap.C (findbindings): a couple of new methods. returns a
3236 container of kb_sequence objects. The real work is done by the
3237 private recursive version
3238 (printbindings): uses findbindings to print out a bracketed list
3239 of bindings (renamed from findbinding).
3241 * MenuBackend.C (binding): use kb_keymap::findbindings
3243 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3245 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3247 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3249 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3251 * paragraph.C (isWord): return true on insets that report
3254 * text.C (getWord): use Paragraph::isWord to decide what is in a
3255 word and what is not; fix bug 1609.
3257 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3259 * tex-strings.C: add "none" to string_paperpackages[], fixes
3260 off-by-one-error in the paperpackage selection.
3263 * tex-strings.[Ch]: char const * string[n]
3264 -> char const * const string[]
3266 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3268 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3269 command, return early.
3271 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3273 * debug.h: add DEBUG to enum and fix size of ANY.
3275 * debug.C: add support for Debug::DEBUG
3276 (showTags): cast errorTags.level to unsigned int
3278 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3279 (redoCurrentBuffer): ditto
3280 (updateScrollbar): ditto
3281 * cursor.C (dispatch): ditto
3282 * text2.C (setLayout): ditto
3284 (updateCounters): ditto
3286 (deleteEmptyParagraphMechanism): ditto
3288 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3290 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3291 annotations to cleanup the Makefile slightly.
3293 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3295 * lyxrc.C: do not set user_email to a default value but use empty
3296 instead. The entry used to be translated, which does not work
3297 since at the point where lyxrc is constructed there is no
3298 translation service available
3300 * messages.C (getLocaleDir): remove and use directly
3301 lyx_localedir() instead
3303 2004-06-02 Angus Leeming <leeming@lyx.org>
3305 Fix crash caused by dereferencing null pointer 'exportdata' in
3306 OutputParams by creating a new ExportData variable on the heap,
3307 storing it in a boost::shared_ptr.
3308 The crash was triggered when generating an Instant Preview
3309 of an external inset.
3311 * Makefile.am: add outputparams.C
3313 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3314 (c-tor): allocate memory to it.
3316 * exporter.C (c-tor): associated changes.
3318 2004-06-01 Angus Leeming <leeming@lyx.org>
3320 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3321 contains data before calling isInset(0). (Bug 1513.)
3323 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3325 * exporter.C (checkOverwrite): new method
3326 * exporter.C (copyFile): new method
3327 * exporter.C (Export): copy referenced files to the document dir
3328 * exporter.[Ch]: new class ExportedFile
3329 * exporter.[Ch]: new class ExportData. Contains currently the
3330 names of referenced external files
3331 * outputparams.h: add exportdata member.
3333 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3338 2004-05-19 Angus Leeming <leeming@lyx.org>
3343 * lyxfunc.C: small changes due to the introduction of namespace
3344 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3346 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3348 * text3.C (dispatch): supress update when only moving the cursor
3349 * cursor.C (selHandle): remove commented code
3351 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3353 * paragraph.C (startTeXParParams): correct column count
3354 * CutAndPaste.C (pasteSelection): remove const_cast
3355 * output_docbook.C (docbookParagraphs): remove const_cast
3356 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3357 const_cast and return ParagraphList::const_iterator
3358 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3359 * output_plaintext.C (writeFileAscii): remove const_cast
3360 * paragraph.[Ch] (simpleTeXOnePar): make const
3361 * paragraph_funcs.C (outerPar): use const iterators
3362 * paragraph_pimpl.C (validate): use const iterators
3363 * text.C (setHeightOfRow): use const iterators
3365 2004-05-17 Angus Leeming <leeming@lyx.org>
3368 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3370 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3371 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3372 if the citation engine has changed.
3374 2004-05-14 José Matos <jamatos@lyx.org>
3376 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3377 if the textclass does not provide it. Have it different for sgml and
3379 support the language of document.
3380 * output_docbook.C (docbookParagraphs):
3381 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3382 first anchor as the id of the paragraph, remove special case code.
3383 * sgml.C (escapeChar): escape only < & >.
3385 2004-05-14 Angus Leeming <leeming@lyx.org>
3387 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3388 dependencies on src/frontends/controllers/biblio.h. Define a
3389 CiteEngine_enum wrapper class to enable the enum to be forward
3392 2004-05-12 Angus Leeming <leeming@lyx.org>
3394 * buffer.C: up LYX_FORMAT to 234.
3395 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3396 use_numerical_citations with a single biblio::CiteEngine cite_engine
3398 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3400 2004-05-13 José Matos <jamatos@lyx.org>
3403 * converter.C (Converter, readFlags): add xml member.
3404 * outputparams.h: add XML flavor.
3405 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3407 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3409 * lyxfunc.C (dispatch):
3410 (getStatus): fix handling of LFUN_SEQUENCE
3412 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3414 * debug.C (showLevel): do not forget the end-of-line marker
3416 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3418 * kbmap.C (read): do not stop parsing a bind file when an error
3421 2004-04-29 Angus Leeming <leeming@lyx.org>
3426 * text2.C: wrap a bunch of #warning statements
3427 inside #ifdef WITH_WARNINGS blocks.
3429 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3431 * buffer.C: increment format to 233.
3433 2004-04-28 Angus Leeming <leeming@lyx.org>
3435 * BufferView_pimpl.C:
3438 s/updateToolbar()/updateToolbars()/
3439 s/Toolbar.h/Toolbars.h/
3441 2004-04-28 Angus Leeming <leeming@lyx.org>
3443 * BufferView.[Ch] (c-tor):
3444 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3445 No longer passes these data to the WorkArea generator.
3447 2004-04-28 Angus Leeming <leeming@lyx.org>
3449 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3451 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3453 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3455 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3457 * output_latex.C (TeXEnvironment): make sure that there is a line
3458 break before \end{foo} for the last paragraph of a document
3459 (TeXOnePar): if the paragraph is at the end of the document (or
3460 inset) and the language has to be reset, then make sure that the
3461 line break is _before_ the language command, not after (fixes bug
3462 1225); also make sure that the language reset command is the first
3463 thing after the paragraph (to ensure proper nesting of
3464 environments and thus fix bug 1404)
3466 2004-04-21 John Levon <levon@movementarian.org>
3469 * ToolbarBackend.C: make "name" be a programmatic name
3470 and a gui_name field.
3472 * lyxfunc.C: display the minibuffer on M-x
3474 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3476 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3479 2004-04-19 Angus Leeming <leeming@lyx.org>
3481 * BufferView_pimpl.C (setBuffer): changed preview interface.
3483 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3486 2004-04-19 John Levon <levon@movementarian.org>
3488 * BufferView_pimpl.C:
3489 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3491 2004-04-05 Angus Leeming <leeming@lyx.org>
3493 * text.C (redoParagraphs): add call to updateCounters(), thereby
3494 fixing the missing "Figure #:" label from the caption of a
3497 2004-04-13 Angus Leeming <leeming@lyx.org>
3499 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3500 cursor is clicked out of an inset.
3502 2004-04-13 Angus Leeming <leeming@lyx.org>
3504 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3505 than an InsetOld one.
3507 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3509 * format.[Ch]: add editor to Format
3510 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3511 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3513 2004-04-08 André Pönitz <poenitz@gmx.net>
3515 * metricsinfo.h: remove PainterInfo::width member
3517 2004-04-08 Angus Leeming <leeming@lyx.org>
3519 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3520 "\providecommand" rather than "\newcommand", thereby preventing
3521 clashes with packages that define "\boldsymbol" themselves.
3524 2004-04-08 Angus Leeming <leeming@lyx.org>
3526 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3527 thereby squashing an unnecessary warning.
3529 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3531 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3534 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3536 * BufferView.C (setCursor): call redoParagraph (some insets could
3538 (putSelectionAt): remove the 'double update' trick
3540 * BufferView_pimpl.C (fitCursor): call refreshPar
3541 (workAreaDispatch): remove an uneeded update call
3542 (dispatch): remove some manual update calls
3544 * cursor.[Ch]: remove cached_y_, updatePos
3545 (selHandle): set noUpdate when appropriate
3547 * lyxfunc.C (dispatch): track if we need an update
3549 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3551 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3552 (paintSelection): cheap optimization, do not call cursorX when not
3554 (paintPars): change signature
3557 (paintTextInset): adjust
3561 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3563 * lengthcommon.C: compilation fix: remove explicit array size from
3564 unit_name[] and friends
3566 2004-04-05 Angus Leeming <leeming@lyx.org>
3568 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3570 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3571 present only for the preferences dialog.
3572 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3574 2004-04-05 Angus Leeming <leeming@lyx.org>
3576 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3577 to enable the frontends to export changes to lyxrc correctly.
3579 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3581 2004-04-07 André Pönitz <poenitz@gmx.net>
3583 * cursor.[Ch] (selClear, adjust): remove math
3585 * cursor_slice.C: more agressive assert
3588 * BufferView_pimpl.C: rework mouse event dispatch
3595 2004-04-05 André Pönitz <poenitz@gmx.net>
3597 * cursor.[Ch] (valign, halign...): remove unneeded functions
3599 2004-04-05 Angus Leeming <leeming@lyx.org>
3601 * lyxlength.[Ch] (unit_name et al.): const-correct.
3603 2004-04-05 Angus Leeming <leeming@lyx.org>
3605 * BufferView_pimpl.C:
3614 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3616 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3618 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3620 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3622 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3623 * BufferView_pimpl.[Ch] (getStatus)
3624 * BufferView.[Ch] (getStatus): add
3625 * lyxfunc.C (getStatus): move lfuns handled in
3626 BufferView::dispatch to te function above
3627 * Cursor.C (setSelection): set selection() = true
3629 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3631 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3633 2004-03-31 Angus Leeming <leeming@lyx.org>
3635 * lyxfunc.C (dispatch): Fall through to the generic
3636 Dialogs::show("preamble").
3638 2004-03-31 Angus Leeming <leeming@lyx.org>
3640 * lyxfunc.C (dispatch): Fall through to the generic
3641 Dialogs::show("spellchecker").
3643 2004-03-31 Angus Leeming <leeming@lyx.org>
3645 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3648 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3653 * insetiterator.[Ch]:
3658 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3660 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3662 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3663 insets where we are putting the cursor.
3665 2004-03-31 Angus Leeming <leeming@lyx.org>
3668 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3670 * lyxrc.[Ch] (read, write): overloaded member functions taking
3671 a std::[io]stream arguments.
3673 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3675 2004-03-31 Angus Leeming <leeming@lyx.org>
3677 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3678 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3680 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3681 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3683 2004-03-31 Angus Leeming <leeming@lyx.org>
3685 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3686 the LFUN_ALL_INSETS_TOGGLE code.
3688 2004-03-30 Angus Leeming <leeming@lyx.org>
3690 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3691 has died. Fall through to the generic Dialogs::show("document").
3693 2004-03-30 Angus Leeming <leeming@lyx.org>
3696 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3697 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3699 * lyxfunc.C (getStatus, dispatch): define the actions for these
3700 lfuns. Little more than a cut and pste job from ControlDocument.C
3702 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3704 2004-03-30 Angus Leeming <leeming@lyx.org>
3707 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3708 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3710 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3711 open/closed state of ollapsable insets. Usage:
3713 all-inset-toggle <state> <name>, where
3714 <state> == "open" || "closed" || "toggle" and
3715 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3717 * lyxtext.h, text2.C (toggleInset): removed.
3719 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3720 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3721 now passes LFUN_INSET_TOGGLE to the found inset.
3723 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3724 is now invoked as "all-insets-toggle toggle branch".
3726 2004-03-30 Angus Leeming <leeming@lyx.org>
3730 * pariterator.[Ch]: added/corrected header blurb.
3732 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3734 * dociterator.[Ch]: add an inset_ member
3735 (backwardPos): implemented
3736 (backwardPos, forwardPos): use inset_ when the stack is empty.
3737 (doc_iterator_begin, doc_iterator_end): implemented
3738 * pariterator.[Ch]: adjust, add begin, end
3739 * insetiterator.[Ch]: adjust, add begin, end
3743 * BufferView_pimpl.C:
3744 * CutAndPaste.C: adjust
3746 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3748 * buffer.C: increment file format to 232.
3749 * LaTeXFeatures.C: add bibtopic package.
3750 * bufferparams.[Ch]: param \use_bibtopic.
3752 * lyxrc.[Ch]: add lyxrc bibtex_command
3753 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3755 * buffer.C: increment file format to 231.
3757 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3759 * dociterator.C: implement forwardPar
3760 * iterators.[Ch]: remove, replaced by
3761 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3763 * BufferView_pimpl.C:
3766 * bufferview_funcs.C:
3772 * Makefile.am: adjust
3774 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3776 * CutAndPaste.C (pasteSelection): fix 2 crashes
3777 (eraseSelection): fix a crash
3778 * paragraph_funcs.C: remove a warning
3780 2004-03-28 Angus Leeming <leeming@lyx.org>
3783 * LyXAction.C (init): new LFUN_PRINT.
3785 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3787 2004-03-27 Angus Leeming <leeming@lyx.org>
3790 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3792 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3794 2004-03-27 Angus Leeming <leeming@lyx.org>
3796 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3797 insetlist always contains non-null pointers to insets.
3799 2004-03-26 Angus Leeming <leeming@lyx.org>
3801 * src/BufferView_pimpl.C:
3802 * src/CutAndPaste.C:
3805 * src/output_plaintext.C:
3806 * src/outputparams.h:
3807 * src/paragraph_funcs.C:
3811 * src/frontends/controllers/ControlErrorList.C:
3812 * src/frontends/gtk/FileDialogPrivate.C:
3813 * src/frontends/gtk/GPainter.C:
3814 * src/frontends/gtk/GToolbar.C:
3815 * src/frontends/qt2/QRef.C:
3816 * src/mathed/math_scriptinset.C: squash compiler warnings.
3818 2004-03-26 Angus Leeming <leeming@lyx.org>
3820 * ispell.C (LaunchIspell::start):
3821 * lyx_cb.C (AutoSaveBuffer::start):
3822 invoke run(DontWait) rather than runNonBlocking().
3824 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3826 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3828 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3830 * kbsequence.C (print): adjust
3832 * kbmap.C (printKeySym): rename and change signature
3833 (printKey): use LyXKeySym::print()
3835 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3837 * undo.C: add using std::advance to compile for stlport
3839 2004-03-24 Angus Leeming <leeming@lyx.org>
3841 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3842 it leads to a crash when no buffer is present.
3844 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3845 Martin Vermeer <martin.vermeer@hut.fi>
3847 * lyxfunc.C (dispatch):
3848 * bufferparams.C (readToken): use the new LColor::setColor
3850 * LColor.[Ch] (setColor): new version that takes two strings as
3851 argument and creates a new color entry if necessary
3853 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3855 * buffer.C (makeLaTeXFile): if the main latex file that is
3856 processed is usually a subdocument of some master, then pretend
3857 for a while that it is actually the master
3859 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3861 * buffer.C (getLabelList):
3862 (getBibkeyList): use getMasterBuffer()
3863 (getMasterBuffer): new method. Returns the main document in the
3864 case where one is using included documents.
3866 2004-03-25 André Pönitz <poenitz@gmx.net>
3870 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3872 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3874 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3875 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3877 * ParameterStruct.h: merge with ParagraphParameters
3879 * lyxtext.h: remove LyXText::parOffset() and getPar()
3881 * text3.C: Remove all 'manual' update calls. We do now one per user
3882 interaction which is completely sufficient.
3886 * BufferView_pimpl.C:
3887 * FontIterator.[Ch]:
3889 * ParagraphParameters.[Ch]:
3894 * cursor_slice.[Ch]:
3901 * output_docbook.[Ch]:
3902 * output_latex.[Ch]:
3903 * output_linuxdoc.[Ch]:
3904 * output_plaintext.[Ch]:
3906 * paragraph_funcs.[Ch]:
3907 * paragraph_pimpl.[Ch]:
3915 * frontends/controllers/ControlDocument.C:
3916 * frontends/controllers/ControlErrorList.C:
3917 * frontends/controllers/ControlSpellchecker.C:
3920 * insets/insetbase.h:
3921 * insets/insetbibitem.C:
3922 * insets/insetbox.C:
3923 * insets/insetbranch.C:
3924 * insets/insetcaption.C:
3925 * insets/insetcharstyle.C:
3926 * insets/insetcharstyle.h:
3927 * insets/insetcollapsable.C:
3928 * insets/insetcollapsable.h:
3929 * insets/insetert.C:
3930 * insets/insetfloat.C:
3931 * insets/insetfoot.C:
3932 * insets/insetmarginal.C:
3933 * insets/insetnote.C:
3934 * insets/insetoptarg.C:
3935 * insets/insettabular.C:
3936 * insets/insettext.C:
3937 * insets/insettext.h:
3938 * insets/insetwrap.C:
3939 * mathed/math_mboxinset.C:
3940 * mathed/math_nestinset.C:
3941 * mathed/math_scriptinset.C:
3942 * mathed/math_scriptinset.h:
3945 2004-03-24 Angus Leeming <leeming@lyx.org>
3947 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3948 deal with any child processes that have finished but are waiting to
3949 communicate this fact to the rest of LyX.
3951 2004-03-24 Angus Leeming <leeming@lyx.org>
3953 64-bit compile fixes.
3955 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3956 (c-tor): pass lyx::pos_types rather than ints.
3958 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3961 * text.C (Delete): compile fix.
3962 (getPar): ensure that function declaration is the same as that in
3965 2004-03-23 Angus Leeming <leeming@lyx.org>
3967 * ispell.C (LaunchIspell):
3968 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3969 a boost::shred_ptr rather than a std::auto_ptr.
3971 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3973 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3974 handle LFUN_FILE_INSERT_*
3976 * lyxrc.C (setDefaults, getDescription, output, read):
3977 * lyxrc.h: remove ps_command
3979 2004-03-22 Angus Leeming <leeming@lyx.org>
3981 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3982 Ensure that error_handler is processed once only and that all data
3983 is saved before attempting to output any warning messages.
3985 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3987 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3989 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3991 2004-03-19 André Pönitz <poenitz@gmx.net>
3993 * cursor.[Ch] (reset): take main text inset as argument
3995 * BufferView: adjust
3996 * BufferView_pimpl.C: adjust
3998 * paragraph.[Ch]: fix completely broken operator=()
4000 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4002 * LColor.C (getFromLyXName): make sure that the color name is used
4005 2004-03-17 Angus Leeming <leeming@lyx.org>
4008 * LyXAction.C (init): remove LFUN_FORKS_KILL.
4010 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
4011 dialog and to kill a forked process.
4013 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
4015 * text2.C (setCursorFromCoordinates): fix font problem
4017 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
4019 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
4020 bogus "rebuild cursor" code
4022 2004-03-11 André Pönitz <poenitz@gmx.net>
4024 * buffer.[Ch]: use InsetText instead of LyXText as container for
4027 * dociterator.[Ch]: drop the BufferView * member which is not needed
4028 anymore after the change to buffer.C
4030 * paragraph_funcs.C:
4034 * BufferView_pimpl.[Ch]:
4036 * cursor_slice.[Ch]: adjust
4038 * text3.C: fix bug in mathDispatch
4040 2004-03-08 André Pönitz <poenitz@gmx.net>
4042 * undo.[Ch]: use 'StableDocumentIterator' as base for
4045 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4048 * bufferparams.[Ch]: add jurabib support and param.
4050 * LaTeX.C: add FIXME/comment.
4052 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4054 * buffer.C: increment file format to 230.
4056 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
4058 * cursor.C (dispatch): avoid infinite loops
4060 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4062 * rowpainter.C (paintSelection): fix x coordinates
4064 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4066 * text.C (rowBreakPoint): fix breaking before displayed insets
4068 2004-03-01 André Pönitz <poenitz@gmx.net>
4070 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4072 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4076 * BufferView_pimpl.C:
4084 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4090 * BufferView_pimpl.C: rename textwidth -> maxwidth,
4091 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4093 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4095 * Bidi.[Ch] (computeTables): const correctness
4096 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4097 fill_hfill, fill_label_hfill and x from Row
4098 * lyxtext.h: prepareToPrint returns a RowMetrics
4099 * rowPainter.C: adjust
4100 * text.C (prepareToPrint): use width, not textWidth. adjust
4101 (redoParagraphInternal, cursorX): adjust
4102 * text2.C (getColumnNearX): adjust
4103 (init): put a default value to the top LyXText::width
4105 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4107 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4109 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4111 * lyxtext.h: add FontIterator class
4113 * text.C (FontIterator, operator*, operator->, operator++): add
4114 (rowBreakPoint, setRowWidth): adjust (fixing a
4117 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4119 * BufferView_pimpl.C (workAreaDispatch): allow also
4120 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4122 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4124 * text.C (rowBreakPoint): fix a bug showing with very large insets
4126 2004-02-25 André Pönitz <poenitz@gmx.net>
4129 * cursor.[Ch]: move some mathed specific code to mathed
4131 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4133 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4134 use_tempdir in preferences
4135 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4137 * lyx_main.C: ensure that tempdir is valid
4138 * lyxlex.h: correct typo
4139 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4140 * paragraph.[Ch] (isMultiLingual): make const
4141 * cursor.[Ch] (openable): make const
4143 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4145 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4147 2004-02-20 André Pönitz <poenitz@gmx.net>
4149 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4151 * cursor.[Ch]: prepare for localized getStatus()
4157 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4159 2004-02-20 André Pönitz <poenitz@gmx.net>
4161 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4163 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4165 * text2.C (setCursorFromCoordinates): switch to absolute coords
4167 (cursorDown): adjust
4168 * text3.C (dispatch): adjust
4170 2004-02-16 André Pönitz <poenitz@gmx.net>
4172 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4175 * cursor_slice.[Ch]: remove unneeded acessor function
4177 * lyxtext.h: rename rtl() to isRTL()
4185 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4187 * rowpainter.C (paintSelection): coord fix
4189 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4191 * Spacing.C: compile fix
4193 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4195 * cursor.C (dispatch): restore current_ before returning
4197 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4199 * text2.C (cursorUp, cursorDown): fix coords
4202 2004-02-12 André Pönitz <poenitz@gmx.net>
4207 * text3.C: add LCursor & parameter to most cursor movement functions
4208 remove usage of LyXText::cursorRow() and cursorPar()
4210 * cursor.[Ch]: add textRow() needed members
4213 * BufferView_pimpl.C:
4216 * BufferView_pimpl.C: adjust
4218 2004-02-11 André Pönitz <poenitz@gmx.net>
4222 * BufferView_pimpl.C: shift undo/redo handling
4224 * cursor.[Ch]: fix mathed crash
4227 * lyxtext.h: move selectionAsText to LCursor
4235 * rowpainter.C: fix excessive drawing
4237 2004-02-06 André Pönitz <poenitz@gmx.net>
4240 * BufferView_pimpl.[Ch]:
4241 * text3.C: move some text specific LFUN handling
4243 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4245 * text3.C (checkInsetHit): adjust coords
4246 * text2.C (getColumnNearX): adjust coords
4247 (edit): adjust coords
4248 * text.C (getRowNearY): add two asserts
4250 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4253 * format.C: add using std::distance to compile on gcc 2.95/stlport
4255 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4257 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4259 2004-02-04 André Pönitz <poenitz@gmx.net>
4261 * BufferView.[Ch] (insertInset):
4262 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4267 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4269 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4270 on the default clause of the switch
4271 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4272 wasn't catched by LCursor::dispatch
4274 2004-02-03 André Pönitz <poenitz@gmx.net>
4277 * cursor.[Ch]: some additional asserts
4279 * undo.[Ch]: remove LyXText dependency in interface
4283 * lyxtext.h (firstPar, lastPar): remove dead functions
4288 * paragraph.[Ch]: adjust
4290 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4292 * lyxfind.C (find): fix argument order in call to ::find
4294 2004-02-02 André Pönitz <poenitz@gmx.net>
4296 * cursor.[Ch]: remove direct access to anchor
4298 * text.C: remove findText() hack
4300 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4302 * iterators.[Ch] (lockPath): remove in favour of...
4303 * BufferView.[Ch] (setCursor): this addition
4304 * BufferView.C (putSelectionAt): adjust
4305 * undo.C (performUndoOrRedo): adjust
4306 * lyxfunc.C (dispatch): adjust
4308 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4310 * iterators.C (lockPath): add a missing slice
4311 * undo.C (performUndoOrRedo): remove redundant positioning code
4313 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * vc-backend.C (scanMaster): ";" -> ';'
4317 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4319 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4320 std::binary_function
4322 * lyxtextclass.C (compare_name): rename to...
4323 (LayoutNamesEqual): ...this
4325 * lyxlex_pimpl.C (compare_tags): inherit from
4326 std::binary_function, put back into anon namespace
4328 * lyxfind.C (MatchString): inherig from std::binary_function
4329 (findChange): use empty() istead of !size()
4331 * format.C (FormatNamesEqual): new functor
4338 * converter.C (compare_Converter): rename to...
4339 (ConverterEqual): ...this, and fixup a bit.
4340 (getConverter): use it, and make function const
4341 (getNumber): use it, and make function const
4345 * bufferlist.C: add using boost::bind
4347 * MenuBackend.C (MenuNamesEqual): new functor
4348 (hasMenu): use it, and make function const
4349 (hasSubmenu): use nested bind to get rid of compare_memfun.
4351 2004-01-30 André Pönitz <poenitz@gmx.net>
4353 * BufferView_pimpl.C:
4356 * cursor_slice.[Ch]:
4359 * paragraph_funcs.C:
4360 * paragraph_funcs.h:
4364 * text3.C: move some of the edit(x,y) handling to the insets
4365 some coordinate changes.
4367 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4369 * text.C: add using statements for std::advance and std::distance
4371 * paragraph.C: add using statement for std::distance
4373 * lyxfind.C: add using statement for std::advance
4375 * cursor.C (region): remove std:: from swap
4376 (openable): use nucleus in stead of operator->
4378 * BufferView.C: add using statements for std::distance and std::swap
4380 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4382 * iterators.C: Remove the pimple, move the needed structures to
4383 the header file. Create accessor for the positions stack.
4384 (asPosIterator): remove function
4386 * PosIterator.C (PosIterator): move constructors to top of file
4387 (PosIterator): reimplement the constructor taking a ParIterator in
4389 (setFrom): new function
4390 (operator!=): inline it
4392 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * lyxfind.C (replaceAll): use std::advance
4396 * iterators.h: inherit from std::iterator.
4398 * PosIterator.C (advance, distance): remove
4399 * PosIterator.h: interit from std::iterator.
4401 2004-01-26 André Pönitz <poenitz@gmx.net>
4404 * BufferView_pimpl.[Ch]:
4408 * bufferview_funcs.C:
4418 * output_linuxdoc.C:
4419 * output_plaintext.C:
4421 * paragraph_funcs.[Ch]:
4422 * paragraph_pimpl.[Ch]:
4428 * text3.C: more IU: dumps most of the rest of the mathcursor
4429 implementation into cursor.[Ch]; "globalize" a bit of it.
4431 2004-01-25 Angus Leeming <leeming@lyx.org>
4433 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4435 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4437 * LaTeXFeatures.h: add nice_ and nice() const
4438 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4440 2004-01-20 André Pönitz <poenitz@gmx.net>
4443 * BufferView_pimpl.C:
4445 * bufferview_funcs.C:
4447 * cursor_slice.[Ch]:
4458 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4459 LCursor and mathcursor parts to LCursor and InsetBase.
4461 2004-01-15 André Pönitz <poenitz@gmx.net>
4463 * cursor_slice.[Ch]: add a few covienience functions
4465 * funcrequest.[Ch]: remove BufferView * member
4467 * BufferView_pimpl.C:
4474 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4476 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4478 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4479 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4481 2004-01-13 André Pönitz <poenitz@gmx.net>
4484 * lyxtext.h: hide cursor and selection anchor behind accessor function
4487 * BufferView_pimpl.[Ch]:
4489 * bufferview_funcs.C:
4499 * cursor_slice.[Ch]: some integer type changes for inset unification
4501 * lyxcursor.[hC]: remove, it's CursorSlice now.
4504 * BufferView_pimpl.[Ch]:
4505 * bufferview_funcs.C:
4511 * textcursor.[Ch]: adjust
4513 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4515 * text2.C (undoSpan): add and use
4516 * text.C (breakParagraph): use undoSpan (fix bug 578)
4519 2004-01-08 Angus Leeming <leeming@lyx.org>
4521 * BufferView_pimpl.C (MenuInsertLyXFile):
4522 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4523 * lyxfunc.C (menuNew, open, doImport):
4524 FileFilterList change to the FileDialog open and save functions.
4526 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4528 * ShareContainer.h: make isEqual and isUnique adaptable
4530 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4532 2004-01-07 Angus Leeming <leeming@lyx.org>
4535 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4537 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4539 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4540 functions replacing find, replace and replaceAll.
4542 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4543 LFUN_WORDFIND(FORWARD|BACKWARD).
4545 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4547 * text.C (breakParagraph): remove an outdated #warning
4549 2004-01-07 André Pönitz <poenitz@gmx.net>
4551 * lyxfind.C: somewhat clearer logic
4553 * text.C: prevent crash in cursorX on unitialized row cache
4555 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4557 * lyxcursor.[Ch] (operator>): add
4558 * textcursor.C (selStart, selEnd): use std::min and std::max
4560 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4562 * Chktex.C: include boost/format.hpp
4564 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * InsetList.C: replace functor MathcIt with adaptable functor
4568 (insetIterator): modify accordingly
4570 * BranchList.h: move the BranchNamesEqual functor here from...
4571 * BranchList.C: ... to here
4573 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4575 (add): replace a finding loop with std::find_if.
4577 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4579 * output_docbook.C: moving LatexParam functionality into
4582 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4584 * buffer.C: increment format to 229.
4586 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4589 * lyx_sty.[Ch]: remove minipageindent_def
4595 * text3.C: remove LFUN_INSET_MINIPAGE
4597 2003-12-28 Angus Leeming <leeming@lyx.org>
4599 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4601 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4603 * text2.C (setParagraph): fix off-by-one crash
4605 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4607 * output_docbook.C: header stuff for AGU
4609 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4611 * text2.C (redoCursor): remove
4614 * BufferView_pimpl.C: remove calls to redoCursor and
4615 setCursor(cursor.par(), cursor.pos()) all around
4617 2003-12-15 Angus Leeming <leeming@lyx.org>
4619 * buffer.C: up the format to 228.
4621 2003-12-15 André Pönitz <poenitz@gmx.net>
4623 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4628 * BufferView_pimpl.C:
4637 2003-12-15 Angus Leeming <leeming@lyx.org>
4639 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4640 than getFromGUIName to manipulate the color.
4642 2003-12-14 Angus Leeming <leeming@lyx.org>
4644 * BranchList.[Ch]: minimize the API.
4645 (Branch::getBranch, getColor): now return a 'const &'.
4646 (Branch::setSelected) now returns a bool set to true if the
4647 selection status changes.
4648 (BranchList::clear, size, getColor, setColor, setSelected,
4649 allBranches, allSelected, separator): removed.
4650 (BranchList::find): new functions, returning the Branch with
4652 (BranchList::add, remove): return a bool indicating that
4653 the operation was successful.
4655 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4656 new InsetBranch::isBranchSlected member function.
4658 * LColor.[Ch]: mimimize the API.
4659 (fill): renamed as addColor and made private.
4660 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4661 versions of these functions taking a string arg have been removed.
4663 * bufferparams.C (readToken):
4664 * lyxfunc.C (dispatch):
4665 * lyxrc.C (read): changes due to the altered BranchList and
4668 * factory.C (createInset, readInset): changes due to altered
4671 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4674 * lyxfunc.C: remove insetminipage. "minipage-insert"
4675 now produces a frameless minipage box inset.
4677 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4679 * textcursor.[Ch] (selStart,selEnd): add new methods
4680 remove selection::start, end, use LyXCursor::operator<
4681 * lyxcursor.[Ch] (operator<): add
4682 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4683 * BufferView.[Ch] (unsetXSel): add
4684 * text2.C (clearSelection): use unsetXSel,adjust
4687 * rowpainter.C: adjust
4688 * bufferview_funcs.C (put_selection_at): adjust
4690 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4692 * BufferView_pimpl.C: small coord. correction
4694 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4696 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4697 dragging over the splash screen.
4699 2003-12-11 Angus Leeming <leeming@lyx.org>
4701 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4702 as it is now handled in LyXText::dispatch.
4704 * text3.C (doInsertInset): remove a level of nesting.
4706 2003-12-11 Angus Leeming <leeming@lyx.org>
4708 * factory.C (createInset): changes due to the changed interface to
4709 InsetCommandMailer::string2params.
4711 2003-12-10 Angus Leeming <leeming@lyx.org>
4713 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4714 'dialog-show-new-inset <inset name>'
4716 2003-12-10 Angus Leeming <leeming@lyx.org>
4718 * buffer.C: up the format to 227.
4720 * factory.C: the box inset is now identified simply by 'Box'.
4722 2003-12-10 Angus Leeming <leeming@lyx.org>
4724 * buffer.C: up the format to 226.
4726 * factory.C: the note inset is now identified simply by 'Note'.
4728 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4730 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4731 when a pit is enough. Standarize a couple of loops.
4733 2003-12-05 Angus Leeming <leeming@lyx.org>
4735 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4736 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4737 data to the re-worked "log" dialog.
4739 2003-12-03 André Pönitz <poenitz@gmx.net>
4745 * paragraph_funcs.C:
4747 * text2.C: use Inset::getText instead of Inset::getParagraph
4749 2003-12-03 André Pönitz <poenitz@gmx.net>
4753 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4754 InsetText::read() as LyXText::read()
4756 2003-12-02 Angus Leeming <leeming@lyx.org>
4758 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4759 type. Add a comment in the implementation that the function uses
4760 the stream's bad() function rather than fail() as the std::streams
4763 2003-12-02 André Pönitz <poenitz@gmx.net>
4765 * lyxlex.[Ch]: make interface more similar to std::stream
4767 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4769 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4771 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4773 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4775 * vspace.[Ch]: remove VSpace::NONE
4777 2003-12-01 André Pönitz <poenitz@gmx.net>
4780 * lyxtext.h: move ParagraphList member to LyXText
4781 rename LyXText::ownerParagraphs to LyXText::paragraph
4784 * bufferview_funcs.C:
4794 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4796 * undo.C: fix cursor positioning
4798 2003-12-01 John Levon <levon@movementarian.org>
4800 * BufferView_pimpl.C: fix a crash on exit with
4803 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4805 * BranchList.C: fix setSelected() method.
4807 2003-11-28 André Pönitz <poenitz@gmx.net>
4809 * ParagraphParameters.[Ch]:
4810 * ParameterStruct.h: remove space above/below from Paragraph to
4813 * BufferView_pimpl.C:
4819 * paragraph_funcs.C:
4825 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4827 * factory.C: Syntax change for CharStyles
4829 2003-11-28 André Pönitz <poenitz@gmx.net>
4834 * buffer.[Ch]: move LyXText member
4836 2003-11-28 André Pönitz <poenitz@gmx.net>
4838 * BufferView.[Ch]: make LyXText * text a private member
4840 * BufferView_pimpl.C:
4851 * output_plaintext.C: cleanup
4853 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4856 * lyxtextclass.[Ch]: parametrize SGML document header
4858 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4861 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4864 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4866 * text2.C (setFont): rework using PosIterator (no more recursive)
4867 (setCharFont): no more needed
4868 (setLayout): no more selection cursors fiddling (done by redoCursor)
4869 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4870 destroy remaining ones)
4872 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4874 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4876 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4879 * text3.C: adjust + re-allow multi par depth changes
4880 * textcursor.C: simplify a bit
4882 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4888 * src/output_docbook.C:
4889 * src/output_latex.C:
4894 * src/text2.C: Introducing a number of tags parametrizing various
4895 XML formats that we may want to support
4897 2003-11-25 André Pönitz <poenitz@gmx.net>
4899 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4901 * lyxtext.h (leftMargin/rightMargin): simplify interface
4908 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4910 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4911 master file to any child files. Fixes bug 546.
4913 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4915 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4917 2003-11-24 André Pönitz <poenitz@gmx.net>
4919 * rowpainter.C: simplification
4921 * text2.C (updateCounters): remove call to redoParagraph on
4922 changed labels as this is far too expensive.
4924 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4926 * converter.C (convert): fix a crash: this function gets
4927 called with buffer == 0 from importer code.
4929 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * text3.C (cursorPrevious): make sure that we do not compare
4932 iterators form different containers.
4935 * rowpainter.C (paintSelection): make sure that we do not compare
4936 iterators from different containers.
4938 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4939 iterators from different ParagraphList containers.
4942 * text2.C (LyXText): change order of initialization slightly
4943 (operator=): new function. copy all variables except cache_par_
4944 (moveUp): make sure that we do not compare iterators from
4945 different ParagraphList constainers.
4948 * text.C (firstPar): new function
4949 (lastPar): new function
4950 (endPar): new function
4952 * lyxtext.h: move things around and group public functions, public
4953 variables, private functions, private variables
4955 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4957 * factory.C: change call to InsetERT constructor to avoid
4958 additional invocation of method status
4959 * text2.C (toggleInset): remove redundant update() call
4960 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4961 instead of a Bufferview pointer
4963 2003-11-21 André Pönitz <poenitz@gmx.net>
4965 * rowpainter.C: simplification
4967 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4969 * text3.C (dispatch): make possible to extend a word/row selection
4972 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4974 * lyxtext.h: x0_,y0_ -> xo_,yo_
4975 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4976 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4977 * rowpainter.C (paintRows): paint full paragraphs
4979 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4981 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4984 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4986 * lyxtext.h: add x0_, y0_
4987 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4988 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4990 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4992 * text2.C (setCursorIntern): move the x_target update here *
4993 * text3.C: change some bv() to true/false in calls to
4994 cursorUp/Down/Right/Left
4995 * cursor.C: use helper function.
4997 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4999 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
5000 * paragraph_funcs.[Ch]: correct comment
5001 * rowpainter.C: do not paint selections away from bv->cursor()
5002 Fix a long standing selection painting bug.
5003 * text3.C: generalize mouse-selection code to LyXTexts other that
5005 * textcursor.C: do not use y coords if we can use par offsets
5007 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
5009 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
5010 cursor position after e.g. inset insert)
5012 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
5014 * lyxfind.C (replace): adjust to locking removal + some
5017 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
5019 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
5022 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
5025 * output_docbook.C: XML sanitation: new layout
5026 parameters InnerTag and CommandDepth
5028 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
5030 * BufferView_pimpl.C:
5032 * text3.C: Fix the insertion and modification of button-style
5035 2003-11-13 André Pönitz <poenitz@gmx.net>
5037 * InsetList.[Ch]: remove deleteLyXText
5039 * paragraph.[Ch]: cache beginOfBody position
5044 * text3.C: remove superfluous update() calls
5048 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
5050 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5051 * BufferView.C (fitLockedInsetCursor): remove
5052 * cursor.[Ch] (getDim): add
5053 * text.C (getRowNearY): add faster version
5054 * text3.C: remove some update calls
5056 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
5068 * text3.C: The Character Style /XML short element patch.
5070 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
5073 * factory.C: Small step to solving 'unable to insert some insets'
5076 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
5078 * cursor.[Ch] (updatePos): new function for updating the y
5079 position of the tip inset
5080 * bufferview_funcs.C (put_selection_at):
5081 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5083 2003-11-11 André Pönitz <poenitz@gmx.net>
5085 * text.C: remove big comment on invalid Paragraph pointers as it is
5088 2003-11-11 André Pönitz <poenitz@gmx.net>
5090 * text_funcs.[Ch]: merge with ...
5098 * Makefile.am: remove text_funcs.[Ch]
5100 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5102 * cursor.C (getPos): return absolute cached y coord
5104 * BufferView_pimpl.C (fitCursor): new simplistic code
5105 (workAreaDispatch): add a fitCursor call
5107 2003-11-10 André Pönitz <poenitz@gmx.net>
5110 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5112 2003-11-10 André Pönitz <poenitz@gmx.net>
5114 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5115 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5116 indicate that the cursor needs to leave an inset
5118 * lyxtext.h: remove inset locking
5120 * cursor.[Ch]: re-implement functionality provided by inset locking
5123 * BufferView_pimpl.[Ch]:
5125 * bufferview_funcs.[Ch]:
5137 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5139 * PosIterator.[Ch]: replace the stack with a vector, add inset
5141 * iterators.[C]: adjust
5143 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5145 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5147 * paragraph_funcs.C (readParToken): put the correct id in the
5148 error item, not the id of the top paragraph
5150 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5152 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5153 * bufferview_funcs.C (put_selection_at): use the above
5155 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5157 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5159 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5161 * output_linuxdoc.h:
5162 * output_plaintext.h:
5164 * output_docbook.h: add #include statements
5166 2003-11-05 José Matos <jamatos@lyx.org>
5168 * output_docbook.[Ch]:
5169 * output_latex.[Ch]:
5170 * output_linuxdoc.[Ch]:
5171 * output_plaintext.[Ch]: New files for output formats.
5172 * output.[Ch]: New file for helper functions.
5175 * paragraph_funcs.[Ch]: output functions moved to new files.
5177 * outputparams.h: rename of latexrunparams.h
5185 * paragraph_funcs.[Ch]:
5186 * paragraph_pimpl.[Ch]:
5187 * tabular.[Ch]: rename ascii to plaintext
5188 and LatexRunParams to OutputParams.
5190 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5192 * iterators.[Ch] (text): require bv argument
5193 * undo.C (recordUndo):
5194 * lyxfunc.C (dispatch):
5195 * bufferview_funcs.C (put_selection_at): adjust
5197 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5199 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5201 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5203 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5206 2003-11-04 André Pönitz <poenitz@gmx.net>
5208 * cursor.[Ch]: restructure
5211 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5213 * iterators.[Ch] (asCursor): remove
5215 * lfuns.h: remove LFUN_INSET_EDIT
5221 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5223 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5225 * lyxfind.[Ch]: complete overhaul
5226 * BufferView_pimpl.C:
5228 * paragraph.[Ch] (insert): add
5230 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5234 * text.C: remove dead spellcheck code
5236 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5238 * dispatchresult.h: add a val setter
5240 * cursor.C (dispatch): use a tempvar for data_[i]
5242 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5244 * PosIterator.[Ch]: compile fix
5246 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5248 * text.C (cursorPar): deactivate the cursor cache
5250 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5252 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5254 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5256 * text3.C (dispatch): adjust for new DisptchResult semantics.
5258 * lyxfunc.C (dispatch): handle update when return from
5259 Cursor::dispatch, adjust for new DispatchResult semantics.
5261 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5262 DispatchResult(true) mean to not update. Add class functions for
5263 setting dispatched and update, as well as reading.
5265 * cursor.C (dispatch): don't handle update here
5267 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5269 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5270 * trans_mgr.C: adjust
5272 * paragraph_funcs.C (readParToken): exception safety
5274 * lyxvc.h: store the vcs pointer in a scoped_ptr
5277 * lyxsocket.C (serverCallback): exception safety
5279 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5281 * ispell.C (clone): make it return a auto_ptr
5283 * factory.C (createInset): exception safety
5284 (readInset): exception safety
5286 * bufferlist.C (newBuffer): exception safety
5288 * Thesaurus.C (Thesaurus): use initialization for aik_
5290 * MenuBackend.C (expandToc): exception safety.
5292 2003-11-03 André Pönitz <poenitz@gmx.net>
5296 * bufferview_funcs.C: remove getInsetFromId()
5299 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5305 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5307 * PosIterator.C (distance, advance): new
5308 * bufferview_funcs.[Ch] (put_selection_at): new
5309 * iterators.[Ch] (lockPath): new
5311 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5313 * iterators.[Ch] (asPosIterator): added
5314 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5315 * PosIterator.[Ch]: added
5317 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5321 * cursor.C (dispatch):
5322 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5324 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5325 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5326 contructor, add a class function dispatched. Remove operator>=
5328 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5330 * debug.C: only use the default constructor for debugstream
5333 * main.C (main): include debug.h and setup the lyxerr streambuf
5336 2003-10-31 José Matos <jamatos@lyx.org>
5338 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5340 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5341 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5342 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5343 * paragraph_pimpl.C (simpleTeXSpecialC):
5344 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5345 add LatexRunParams argument.
5347 * exporter.C (Export): change call accordingly.
5349 * latexrunparams.h: add new member to take care of the other backends.
5350 2003-10-30 José Matos <jamatos@lyx.org>
5352 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5353 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5354 factorise code for paragraph output.
5356 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5359 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5361 * text3.C (dispatch):
5362 * lyxfunc.C (dispatch):
5363 * cursor.C (dispatch):
5364 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5366 * dispatchresult.h: make the dispatch_result_t ctor explicit
5368 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5371 * buffer.C: small refactoring of docbook stuff
5373 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5375 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5378 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5381 operator dispatch_result_t, and operators for == != and >=
5383 * cursor.C (dispatch): adjust for operator dispatch_result_t
5384 removal. comment out call to update
5386 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5388 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5396 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5399 * dispatchresult.h: new file, DispatchResult broken out of
5402 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5404 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5406 * text.C (rowBreakPoint): put a hack inside #if 0
5408 2003-10-28 André Pönitz <poenitz@gmx.net>
5412 * paragraph_funcs.C:
5415 * text2.C: general cleanup (lots of small stuff)
5417 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5419 * text2.C (cursorEnd): simple fix to the "end key goes to one
5420 before the end on last row" bug
5422 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5424 * text.C (backspace): fix the "zombie characters"
5426 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5428 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5430 2003-10-27 André Pönitz <poenitz@gmx.net>
5432 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5434 * factory.C: handle new InsetPagebreak, InsetLine
5436 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5437 and move handling into new InsetPagebreak, InsetLine
5439 * BufferView_pimpl.C:
5441 * ParagraphParameters.C:
5442 * ParameterStruct.h:
5447 * paragraph_funcs.C:
5448 * paragraph_pimpl.C:
5454 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5457 * lyxrow_funcs.[Ch]:
5463 * text3.C: remove lastPos uses in favour of Row::endpos
5465 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5467 * undo.C (performUndoOrRedo): fix two crashes by setting a
5468 cursor by hand and reordering some calls. Use bv->lockInset instead
5469 of inset->edit because the latter loses cursor information
5471 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5473 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5475 (rowBreakPoint): fix width. change point to point + 1.
5476 Add a missing check.
5478 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5481 * lyxfunc.C: fix (at least partly) the problems
5482 with the Nav menu and headers inside branch insets
5485 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5487 * paragraph.C (getChar): add strong asserts
5489 * lyxrow_funcs.C (lastPos): remove hideous hack
5491 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5492 (fill): adjust to that (avoid an infinite loop)
5494 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5496 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5498 2003-10-23 André Pönitz <poenitz@gmx.net>
5500 * RowList_fwd.h: change list<> to vector<> to gain speed
5501 after suggestion from Alfredo
5503 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5505 * lyxtext.h: move the bidi stuff from here...
5508 * Bidi.[Ch]: ... to here
5510 2003-10-23 André Pönitz <poenitz@gmx.net>
5513 * text.C (isLastRow, isFirstRow): new functions
5515 * paragraph.h: new width cache member
5517 * rowpainter.C: replace RowList::iterator with Row & where possible
5519 * lyxfunc.C: replace several view()->text with a single call
5521 * toc.C: fix 'unused' warning
5523 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5525 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5526 when woring with stream::pos_type
5527 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5529 2003-10-22 André Pönitz <poenitz@gmx.net>
5532 * text.C: use Row & instead of RowList::iterator
5534 * lyxrow.h: rename end() to endpos()
5540 2003-10-22 Angus Leeming <leeming@lyx.org>
5542 * buffer.[Ch] (fully_loaded): new member function, returning true
5543 only when the file has been loaded fully.
5544 Used to prevent the premature generation of previews and by the
5545 citation inset to prevent computation of the natbib-style label.
5547 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5548 templates are all set up.
5550 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5552 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5554 * text.C: fixed an "oops" in the "is a bit silly"
5557 2003-10-21 André Pönitz <poenitz@gmx.net>
5559 * FuncStatus.[Ch]: small stuff, whitespace
5561 * lyxfont.[Ch]: operator<<() for debug reasons
5565 * lyxtext.h: whitespace, spelling
5567 * paragraph.C: naming of variables
5570 * text2.C: small stuff
5573 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5575 * text.C: (1) finish off the inset display() work;
5576 (2) fix the "is a bit silly" bug (accessing char
5579 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5581 * text.C: re-introduce display() for insets, fixing the
5582 various bugs (stretch of line above, math inset
5585 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5587 * text.C (rightMargin): remove spurious semicolon
5589 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5592 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5594 * text3.C: fix one crash due to wrong cursor def
5596 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * vc-backend.C (scanMaster): make the regex static
5600 * LaTeX.C (scanAuxFile): make the regexs static
5602 * text3.C (doInsertInset, dispatch, dispatch):
5603 * text2.C (cursorUp, cursorDown):
5604 * text.C (selectNextWordToSpellcheck):
5605 * BufferView_pimpl.C (dispatch):
5606 * lyxfunc.C (dispatch): localDispatch -> dispatch
5608 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5610 * lyxsocket.C: include <cerrno>
5612 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5614 * lyxfunc.C (dispatch): remove textcache stuff
5616 * bufferlist.C (release): remove textcache stuff
5619 * TextCache.C: delete file
5620 * TextCache.h: delete file
5622 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5624 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5625 delete of the bv_->text.
5626 (resizeCurrentBuffer): remove texcache stuff
5627 (workAreaResize): ditto
5629 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5631 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5634 2003-10-16 André Pönitz <poenitz@gmx.net>
5641 * text3.C: speed up by storing y positions per paragraph plus per-row
5642 offset instead of having a 'full' y position in the row.
5644 2003-10-15 André Pönitz <poenitz@gmx.net>
5648 * undo.[Ch]: make undo aware of inner insets
5650 2003-10-14 Angus Leeming <leeming@lyx.org>
5652 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5653 static member functions LyX::ref() and LyX::cref.
5654 (lastfiles): new accessor functions for the new lastfiles_ member var.
5655 (addLyXView, views_): add a new LyXView to the list of views_.
5656 (updateInset): loop over all LyXViews to call their own updateInset
5657 member function, returning a pointer to the Buffer owning the inset.
5659 * BufferView_pimpl.C (loadLyXFile):
5660 * MenuBackend.C (expandLastfiles):
5661 * bufferlist.C (MenuWrite, QuitLyX):
5662 lastfiles is no longer a global variable.
5663 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5665 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5666 static function. Access through LyX::cref().emergencyCleanup().
5668 2003-10-14 André Pönitz <poenitz@gmx.net>
5670 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5672 * undo.[Ch]: restoring part of 'undo in insets'
5675 * undo_funcs.[Ch]: merge with undo.[Ch]
5677 * tabular.C: small cleansing stuff
5679 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5681 * paragraph_funcs.C (readParToken): report unknown insets as error
5682 boxes. Use the outer paragraph as location (also for unknown
5685 * factory.C (readInset): do not abort on reading an unknown inset.
5686 Eat it and return 0.
5688 2003-10-13 Angus Leeming <leeming@lyx.org>
5690 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5692 * lyxrc.C: displayTranslator is now a function,
5693 declared in GraphicsTypes.h.
5695 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5697 * format.C: new placeholder $$a to pass the socket address.
5699 * bufferlist.[Ch]: new function getBufferFromTmp.
5701 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5702 files in the temporary dir.
5704 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5706 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5708 * Makefile.am: add lyxsocket.[Ch].
5710 * lyx_main.C (error_handler): handle SIGPIPE.
5712 2003-10-13 André Pönitz <poenitz@gmx.net>
5714 * BufferView_pimpl.C:
5719 * undo_funcs.[Ch]: use paroffset_type instead of
5720 ParagraphList::iterators to prevent multiple conversion
5721 (and get a more robust interface)
5723 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5725 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5727 * text3.C (dispatch): ditto
5729 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5731 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5732 move the onlyfile, use onlyfile instead of foundfile in a couple
5735 * DepTable.C (update): flush the error stream a bit more
5737 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5739 * lyxserver.C (callback): adjust
5741 * lyxfunc.C (getStatus): add a missing brace in commented code
5742 (ensureBufferClean): reindent
5743 (dispatch): delete version taking a string
5745 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5747 * LaTeX.C (deplog): move found file handlig from here...
5748 (handleFoundFile): .. to new function here.
5749 (deplog): make sure to discover several files mentioned on the
5752 2003-10-10 André Pönitz <poenitz@gmx.net>
5759 * text3.C: fix some of the tabular crashes
5761 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5763 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5765 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5767 2003-10-09 André Pönitz <poenitz@gmx.net>
5769 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5772 * BufferView_pimpl.C:
5773 * bufferview_funcs.C:
5784 * undo_funcs.C: adjust
5786 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5788 * text2.C (incrementItemDepth): new function, use a backtracking
5789 algorithm to discover the correct item depth.
5790 (resetEnumCounterIfNeeded): new function, use a backtracking
5791 algorithm to discover if counter reset is needed.
5792 (setCounter): use them. Simplify a bit. Add different labels for
5793 different item depths for itemize.
5795 * paragraph.C (Paragraph): remove initialization of enumdepth
5798 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5799 enumerate and itemize. Change the type of itemdepth to signed char.
5801 2003-10-08 André Pönitz <poenitz@gmx.net>
5803 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5808 * tabular.[Ch]: fix crash after 'row-insert'
5810 2003-10-08 Angus Leeming <leeming@lyx.org>
5812 Fix doxygen warnings.
5814 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5815 Remove CutAndPaste:: prefix from header file declaration.
5817 * LColor.h (fill): remove LColor:: prefix from declaration.
5819 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5820 use lyx::depth_type rather than Paragraph::depth_type so that
5821 header file and .C file match.
5823 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5825 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5826 * aspell.C: \file aspell_local.C -> \file aspell.C
5827 * gettext.C: \file gettext.C -> \file src/gettext.C
5828 * gettext.h: \file gettext.h -> \file src/gettext.h
5829 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5830 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5831 * text.C: \file text.C -> \file src/text.C
5833 * toc.C: move comment so that doxygen is not confused.
5835 2003-10-07 Angus Leeming <leeming@lyx.org>
5837 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5839 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5842 * aspell_local.h: add forgotten std::string's.
5844 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5851 * text3.C: The Box patch. Fancybox support, minipage, parbox
5853 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5859 * ParagraphParameters.h:
5869 * lyxtextclasslist.h:
5872 * paragraph_pimpl.C:
5873 * textcursor.h: add <string> and other small fixes to make Lars'
5874 std::string patch compile with STLport.
5876 2003-10-06 Angus Leeming <leeming@lyx.org>
5878 * LColor.h: Add missing #include <string>.
5880 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5882 * All most all file in all subdirs: Make <string> be the prefered
5883 way of getting to std::string, add using declarations.
5885 2003-10-06 André Pönitz <poenitz@gmx.net>
5887 * metricsinfo.C: initialize LyXFont before changing attribute.
5888 (fixes the 'math in \emph is upright' bug)
5890 2003-10-06 André Pönitz <poenitz@gmx.net>
5892 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5894 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5897 * paragraph_pimpl.C: Small fixes to build using STLport
5899 2003-10-02 André Pönitz <poenitz@gmx.net>
5902 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5904 2003-10-01 André Pönitz <poenitz@gmx.net>
5906 * factory.C: assert early
5908 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5910 * lyx_main.C: remove the global debug object
5912 * debug.h: adjust for new debugstream
5914 * debug.C: adjust for new debugstream and keep the global debug
5917 2003-09-22 Angus Leeming <leeming@lyx.org>
5919 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5920 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5921 an incomplete class LyXFont.
5923 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5925 * factory.C: bug fix in branches
5927 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5929 * lyxfunc.C (processKeySym): adjust
5931 (dispatch): change arg name from ev to func, adjust
5932 (sendDispatchMessage): ditto
5934 * lyx_main.C (defaultKeyBindings): adjust keybindings
5935 (deadKeyBindings): ditto
5937 * kbsequence.C (addkey): return a FuncRequest
5939 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5941 * kbmap.C (bind): take a FuncRequest as arg, adjust
5944 (defkey): change to take a FuncRequest as arg, adjust
5945 (findbinding): take a FuncRequest as arg, adjust.
5947 * funcrequest.h (operator=): added
5949 * funcrequest.C (FuncRequest): default kb_action changed from
5950 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5952 * buffer.C (dispatch): simplify
5953 (dispatch): adjust to take a FuncRequest as arg, adjust
5955 * boost.C (assertion_failed): change assertion message slightly
5957 * ToolbarBackend.C (read): simplify
5959 * MenuBackend.C (binding): adjust call to findbinding, add a
5960 message if no binding is found.
5962 (expandToc): correct by adding a empty FuncRequest
5964 * LyXAction.C: include <boost/assert.hpp>
5965 (isPseudoAction): delete function
5966 (LookupFunc): change name to...
5967 (lookupFunc): this. change return type to FuncRequest.
5968 (getActionName): take kb_action as arg, simplify
5969 (funcHasFlag): add an assert, simplify.
5971 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5973 * toc.C (action): return a FuncRequest, simplify
5975 * lyxfunc.C (processKeySym): adjust
5976 (getStatus): delete version that takes an int.
5978 (dispatch): delete version that takes action as int
5980 (sendDispatchMessage): simplify and adjust
5982 * funcrequest.C (getArg): take unsigned int as arg
5984 * ToolbarBackend.C (read): adjust
5985 (add): delete version that takes func as a string.
5986 (getIton): take a FuncRequest as arg
5988 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5991 * MenuBackend.C (MenuItem): add a new construct that only takes a
5992 Kind, simplify the constructor use for submenus.
5994 (expandLastfiles): adjust
5995 (expandDocuments): adjust
5996 (expandFormats): adjust
5997 (expandFloatListInsert): adjust
5998 (expandFloatInsert): adjust
5999 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
6001 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
6002 Remove class variables lyx_pseudo_map and lyx_arg_map
6004 * LyXAction.C (searchActionArg): delete function
6005 (getPseudoAction): delete function
6006 (retrieveActionArg): delete function
6007 (LookupFunc): make it return kb_action, simplify.
6008 (getActionName): simplify
6010 * factory.C (createInset): fix new bug
6012 2003-09-19 Angus Leeming <leeming@lyx.org>
6014 * CutAndPaste.C (pasteSelection): remove fudge used to set the
6015 masterFilename_ parameter in the include inset.
6017 * factory.C (createInset): changes due to the changes to InsetInclude.
6019 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6021 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
6023 2003-09-18 Angus Leeming <leeming@lyx.org>
6026 * BufferView.C: pass the buffer when calling Inset::getLabelList,
6027 Inset::fillWithBibKeys.
6028 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
6030 2003-09-18 Angus Leeming <leeming@lyx.org>
6032 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6034 (ctor): pass and store a 'Buffer const &'
6035 (buffer): new member function.
6037 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6038 '*this' to the LaTeXFeatures ctor.
6040 2003-09-18 Angus Leeming <leeming@lyx.org>
6046 * text.C: rename EnumLColor as LColor_color.
6048 2003-09-18 Angus Leeming <leeming@lyx.org>
6050 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6051 remove #include "insets/insetbase.h" from cursor.h.
6053 2003-09-18 Angus Leeming <leeming@lyx.org>
6055 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6056 InsetOld_code to remove #include "inset.h".
6058 * iterators.C: add #include "insets/inset.h"
6060 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
6062 * BufferView.C: remove more locking stuff that apparently doesn't
6063 do anything sensible.
6065 2003-09-16 André Pönitz <poenitz@gmx.net>
6068 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6071 2003-09-16 Angus Leeming <leeming@lyx.org>
6073 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6075 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6078 * paragraph.h: remove #include "lyxfont.h". Forward declare
6081 2003-09-16 Angus Leeming <leeming@lyx.org>
6083 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6084 of support/textutils.h.
6085 (isWord): move the contents of support/textutils.h's IsWordChar here.
6091 * text2.C: add #include "paragraph.h".
6094 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6096 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6102 * LaTeX.C: use namespace alias for lyx::support::os
6104 2003-09-16 Angus Leeming <leeming@lyx.org>
6107 * bufferview_funcs.C:
6110 * paragraph_pimpl.C:
6112 * text.C: add #include "LColor.h".
6114 2003-09-16 Angus Leeming <leeming@lyx.org>
6116 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6117 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6119 Store the FontBits::color variable as an int rather than as an
6120 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6123 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6124 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6125 string calls together.
6127 * lyxrc.C: add #include "LColor.h".
6129 2003-09-15 Angus Leeming <leeming@lyx.org>
6131 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6134 2003-09-15 Angus Leeming <leeming@lyx.org>
6136 * LColor.h: add an EnumLColor wrapper for LColor::color.
6138 * lyxfont.[Ch] (color, setColor, realColor):
6139 * lyxtext.h, text.C (backgroundColor):
6140 pass EnumLColor args to/from the functions, rather than LColor::color
6144 * lyxtext.h: forward declare EnumLColor.
6146 * lyx_main.C: add #include "LColor.h".
6148 2003-09-15 Angus Leeming <leeming@lyx.org>
6150 * .cvsignore: add lyx-gtk.
6152 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6157 * ParagraphParameters.C
6161 * bufferview_funcs.C
6171 * vc-backend.C: remove usage of STRCONV
6173 2003-09-15 Angus Leeming <leeming@lyx.org>
6175 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6176 explicitly define the color passed to the painter.
6178 2003-09-15 Angus Leeming <leeming@lyx.org>
6180 * bufferparams.C (BufferParams): reorder member initializers to avoid
6183 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6185 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6186 * text.C (updateRowPositions): remove an unusual nop
6188 2003-09-12 André Pönitz <poenitz@gmx.net>
6190 * BufferView_pimpl.C:
6199 * Counters.[Ch]: finish the 'automatic counters' job
6201 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6203 * aspell.C: include <boost/assert.cpp> (compile fix)
6205 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6207 * boost.C (assertion_failed): use lyx::support::abort instead of
6210 2003-09-10 Angus Leeming <leeming@lyx.org>
6212 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6213 with their _fwd progeny.
6215 2003-09-09 Angus Leeming <leeming@lyx.org>
6217 134 files throughtout the source tree: replace 'using namespace abc;'
6218 directives with the appropriate 'using abc::xyz;' declarations.
6220 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6222 * boost.C (emergencyCleanup): moved here from LAssert.c
6223 (assertion_failed): new function, called by BOOST_ASSERT
6225 * several files: change Assert to BOOST_ASSERT
6227 2003-09-09 Angus Leeming <leeming@lyx.org>
6229 * buffer.[Ch]: Add an Impl class and move Buffer's member
6230 variables into it. As a result move several header files out of
6233 Add header files to lots of .C files all over the tree as a result.
6235 2003-09-09 Angus Leeming <leeming@lyx.org>
6237 * buffer.[Ch]: make Buffer's member variables private. Add
6240 Lots of changes all over the tree as a result.
6242 2003-09-08 Angus Leeming <leeming@lyx.org>
6244 * graph.C: #include <config.h>.
6246 2003-09-08 Angus Leeming <leeming@lyx.org>
6250 * BufferView_pimpl.C:
6279 * toc.C: remove redundant using directives.
6281 2003-09-07 Angus Leeming <leeming@lyx.org>
6283 * LaTeXFeatures.h: remove #include "support/types.h".
6284 * ToolbarBackend.h: remove #include <algorithm>.
6285 * changes.h: remove #include <ctime>.
6286 * debug.h: remove #include <iosfwd>.
6287 * graph.h: remove #include "support/std_string.h".
6288 * lyx_main.h: remove #include <csignal>.
6289 * lyxlex_pimpl.h: remove #include <fstream>.
6290 * sgml.h: remove #include <algorithm>, <utility>.
6291 * toc.h: remove #include "support/std_ostream.h".
6292 Add #include <iosfwd>.
6294 2003-09-07 Angus Leeming <leeming@lyx.org>
6296 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6298 * converter.h: forward declare LatexRunParams.
6299 * encoding.h: remove #include "lyxrc.h".
6300 * lyxtext.h: remove #include "LColor.h".
6301 * lyxtextclass.h: remove #include "support/types.h".
6302 * trans.h: remove #include "tex-accent.h".
6303 * trans_mgr.h: remove #include "tex-accent.h".
6304 * insets/inset.h: remove #include "support/types.h", <vector>.
6305 * insets/insetcollapsable.h: remove #include "LColor.h".
6306 * insets/insetinclude.h: remove #include "dimension.h".
6307 * insets/insetlatexaccent.h: remove #include "dimension.h".
6308 * insets/insetoptarg.h:: remove #include "insettext.h".
6309 * insets/insettext.h: remove #include "dimension.h",
6310 <boost/shared_ptr.hpp>
6312 * insets/renderers.h: add #include "dimension.h".
6313 * insets/updatableinset.h: add #include "support/types.h".
6315 * many .C files: Associated changes.
6317 2003-09-06 Angus Leeming <leeming@lyx.org>
6319 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6320 one, inside testInvariant.
6322 * PrinterParams.C: new file.
6323 * PrinterParams.[Ch]: move the function bodies out of line.
6325 2003-09-06 Angus Leeming <leeming@lyx.org>
6327 * ParagraphParameters.h: forward declare ParameterStruct rather than
6328 including its header file.
6329 (depth): moved out-of-line.
6331 2003-09-06 Angus Leeming <leeming@lyx.org>
6333 * BufferView_pimpl.h:
6336 * lyxfunc.h: forward declare LyXKeySym rather than
6337 #include "frontends/LyXKeySym.h".
6339 * BufferView_pimpl.C:
6342 * lyxfunc.C: associated changes.
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>
6351 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6352 As a result, can remove the #include "insets/inset.h" from BufferView.h
6354 2003-09-06 Angus Leeming <leeming@lyx.org>
6360 * bufferview_funcs.C:
6361 * BufferView_pimpl.C:
6366 * ParagraphParameters.C:
6371 * frontends/controllers/ControlDocument.C:
6372 * insets/insetcaption.C: rearrange the #includes into some sort of
6375 * buffer.h: remove #includes ErrorList.h, undo.h
6377 2003-09-06 Angus Leeming <leeming@lyx.org>
6379 * support/types.h: add a 'depth_type' typedef, used to store the
6380 nesting depth of a paragraph.
6383 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6384 defining explicitly.
6387 * paragraph_funcs.h:
6388 * ParagraphParameters.h:
6389 * sgml.h: use lyx::depth_type rather than Paragraph or
6390 ParameterStruct's depth_type.
6393 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6396 * BufferView_pimpl.C:
6398 * ParagraphParameters.C:
6401 * bufferview_funcs.C:
6408 * frontends/LyXView.C:
6409 * frontends/controllers/ControlDocument.C:
6410 * frontends/controllers/ControlErrorList.C:
6411 * insets/insetbibitem.C:
6412 * insets/insetbranch.C:
6413 * insets/insetcaption.C:
6414 * insets/insetcollapsable.C:
6415 * insets/insetenv.C:
6416 * insets/insetert.C:
6417 * insets/insetfloat.C:
6418 * insets/insetfoot.C:
6419 * insets/insetfootlike.C:
6420 * insets/insetnewline.C:
6421 * insets/insetquotes.C:
6422 * insets/insettabular.C:
6423 * insets/insettext.C:
6424 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6426 * frontends/controllers/ControlChanges.C: #include "changes.h".
6428 2003-09-06 Angus Leeming <leeming@lyx.org>
6430 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6431 than #including paragraph.h.
6434 * RowList.h: deleted. Superfluous.
6444 * insets/insettext.h: use ParagraphList_fwd.h rather than
6447 * paragraph.h: don't forward declare ParagraphList.
6450 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6451 rather than ParagraphList.h. paragraph.h is still needed for the
6452 Paragraph::depth_type parameters.
6454 * textcursor.h: enable it to compile stand-alone in light of the
6457 * bufferview_funcs.C:
6469 * frontends/controllers/ControlParagraph.C:
6470 * frontends/controllers/ControlTabular.C:
6471 * insets/insetmarginal.C:
6472 * insets/insetminipage.C:
6473 * insets/insetnote.C:
6474 * insets/insetoptarg.C: add header files needed to compile again.
6476 2003-09-06 Angus Leeming <leeming@lyx.org>
6478 * RowList_fwd.h: new file, forward-declaring Row rather than
6479 #including lyxrow.h.
6484 * insets/insettext.h: use it instead of RowList.h
6486 * bufferview_funcs.C:
6493 * text3.C: #include "RowList.h".
6495 2003-09-05 Angus Leeming <leeming@lyx.org>
6497 * factory.C (createInset):
6498 * vspace.C (c-tor): replace sscanf call with an istringstream.
6499 * ispell.C: re-add missing HP/UX headers.
6500 * lyxserver.C: re-add missing os2 headers.
6502 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6511 * text3.C: re-add missing system headers, needed for 2.95.2.
6513 2003-09-05 Angus Leeming <leeming@lyx.org>
6515 Changes most place everywhere due to the removal of using directives
6516 from support/std_sstream.h.
6518 2003-09-05 Angus Leeming <leeming@lyx.org>
6520 Replace LString.h with support/std_string.h,
6521 Lsstream.h with support/std_sstream.h,
6522 support/LIstream.h with support/std_istream.h,
6523 support/LOstream.h with support/std_ostream.h.
6525 Changes resulting throughout the tree.
6527 2003-09-05 Angus Leeming <leeming@lyx.org>
6529 * sgml.h: ensure that the header file can be compiled stand-alone.
6530 * *.C: strip out redundant #includes. (320 in total.)
6532 2003-09-04 Angus Leeming <leeming@lyx.org>
6534 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6535 here (from getPackages).
6537 * debug.[Ch]: add a new EXTERNAL tag.
6539 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6541 * text2.C (cursorEnd): simplify
6543 (getColumnNearX): adjust
6545 * text.C (computeBidiTables): adjust
6548 * rowpainter.C (paintChars): adjust
6549 (paintSelection): adjust
6550 (paintChangeBar): adjust
6553 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6555 (numberOfSeparators): adjust
6557 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6563 * text3.C: Restricts the mouse click functionality
6564 of insets like bibtex, include, toc and floatlist to the visible
6565 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6566 up the dialogs. Cursor has to be in front of the inset (i.e.
6567 start of row) for this to function.
6569 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6571 * bufferview_funcs.C (currentState): output row information
6573 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6575 * bufferview_funcs.C (currentState): output paragraph position
6577 2003-09-04 Angus Leeming <leeming@lyx.org>
6579 * FloatList.h: move out #include "Floating.h".
6580 * LaTeX.h: move out #include "DepTable.h".
6581 * LyXAction.h: move out #include "funcrequest.h".
6582 * buffer.h: move out #include "author.h", "iterators.h".
6583 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6584 * lyx_main.h: move out #include "errorlist.h".
6585 * lyxfunc.h: move out #include "FuncStatus.h".
6586 * lyxtext: move out #include "lyxcursor.h".
6587 * paragraph_pimpl.h: move out #include "counters.h".
6589 2003-09-03 Angus Leeming <leeming@lyx.org>
6591 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6592 preamble_snippets list, enabling us to add snippets to the preamble
6593 only if the snippet was not there already.
6595 2003-09-04 Angus Leeming <leeming@lyx.org>
6597 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6599 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6601 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6604 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6606 * BranchList.C: point fix, earlier forgotten
6608 2003-09-02 Angus Leeming <leeming@lyx.org>
6610 * box.C (contains): renamed from 'contained' after a fantastic
6613 2003-09-02 John Levon <levon@movementarian.org>
6619 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6621 2003-09-02 John Levon <levon@movementarian.org>
6623 * text2.C: simplification of cursorEnd(), including partial
6626 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6628 * buffer.C (readFile): add a space
6630 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6632 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6634 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * buffer.C (readFile): new function, take a filename and a
6637 ParagraphList::iterator
6639 (readFile): adjust, make it private. don't use setStream, make
6640 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6641 always contain the filename.
6643 * BufferView.C (insertLyXFile): simplify and make it work for
6646 2003-08-30 John Levon <levon@movementarian.org>
6648 * Makefile.am: fix dist (from Kayvan)
6650 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6652 * most files: change to use const Buffer refs
6654 2003-08-27 André Pönitz <poenitz@gmx.net>
6656 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6657 on top of ownerPar().
6659 2003-08-27 John Levon <levon@movementarian.org>
6661 * funcrequest.C: properly initialise POD members
6663 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6665 * lyxtext.h (top_y): move top_y from here
6670 * BufferView_pimpl.[Ch]: to here
6671 * frontends/screen.C:
6672 * insets/insettabular.C:
6673 * insets/insettext.C: adjust
6674 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6676 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6679 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6681 2003-08-26 André Pönitz <poenitz@gmx.net>
6683 * paragraph_func.[Ch] (outerPar): new function
6686 * paragraph_funcs.C:
6687 * paragraph_funcs.h:
6688 * paragraph_pimpl.C:
6689 * text2.C: remove Inset::par_owner
6691 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6696 * text2.C: eliminates the needFullRow/display() stuff
6697 altogether, putting the logic in metrics/draw in the insets.
6699 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6701 * text2.C (redoParagraphInternal, redoParagraphs):
6702 * text.C (redoParagraph): add a call to updateRowPositions at the
6703 end of each 'metrics-like' call. Remove all others.
6704 (getRow): remove the 'y-computing' version.
6705 (getRowNearY): do not compute nor return the real y. Solve the
6706 'y < 0' problem and simplify.
6708 2003-08-22 Angus Leeming <leeming@lyx.org>
6710 * *.[Ch]: clean-up of licence and author blurbs.
6711 Also move config.h out of a few .h files and into a few .C files.
6713 2003-08-22 André Pönitz <poenitz@gmx.net>
6715 * lyxrow.[Ch]: add x_ and *fill_ members
6720 * text2.C: adjust/remove prepareToPrint() calls
6722 2003-08-22 André Pönitz <poenitz@gmx.net>
6724 * lyxrow.[Ch]: add end_ member
6726 * lyxrow_funcs.C: use LyXRow::end_
6728 * lyxtext.h (singleWidth): add LyXFont parameter
6731 * text2.C: adjust LyXText::singleWidth() calls
6733 * text.C (redoParagraph): simplify row breaking logic
6736 2003-08-19 André Pönitz <poenitz@gmx.net>
6738 * funcrequest.C: initialize button_ member
6741 * rowpainter.[Ch]: interface consolidation
6743 2003-08-18 André Pönitz <poenitz@gmx.net>
6746 * BufferView_pimpl.C:
6748 * paragraph_funcs.C:
6750 * text3.C: remove LyXScreen::draw() and fitCursor calls
6752 * BranchList.h: remove spurious semicolons
6754 * MenuBackend.C: fix branchlist related crash
6756 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6764 * bufferparams.[Ch]:
6768 * text3.C: implements the 'branch inset'
6769 idea. This allows the output of various versions of a document
6770 from a single source version, selectively outputing or suppressing
6771 output of parts of the text.
6772 This implementation contains a 'branch list editor' in a separate
6773 tab of the document settings dialog. Branches are user definable
6774 and have a "display colour" to distinguish them on-screen.
6776 ColorHandler was somewhat cleaned up.
6777 (1) make possible a dynamically growing LColor list by allowing
6778 the graphic context cache to grow along (vector);
6779 (2) eliminate an IMHO unnecessary step in colour allocation.
6781 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6783 * BufferView_pimpl.C: compile fix
6785 2003-08-15 André Pönitz <poenitz@gmx.net>
6787 * rowpainter.C: remove extra metrics calls
6789 * lyxtext.h: merge the two constructors into a single one,
6790 pass reference to owner's par list
6792 * BufferView_pimpl.C:
6796 2003-08-15 André Pönitz <poenitz@gmx.net>
6798 * lyxrow_funcs.[Ch]:
6801 * paragraph_funcs.C:
6806 * text_funcs.C: split LyXText::rowlist_ into individual
6807 Paragraph::rows_ chunks
6810 * BufferView_pimpl.[Ch]:
6813 * text3.C: remove toggleSelection()
6815 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6817 * bufferlist.C: beautify two alerts (shorter text of buttons)
6818 * buffer.C: Remove redundant ' ' from message
6820 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6821 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6822 rename VALIGN_CENTER to VALIGN_MIDDLE
6824 2003-08-11 André Pönitz <poenitz@gmx.net>
6826 * lyxtext.h (getPar):
6827 * text.C: new function
6829 2003-08-11 André Pönitz <poenitz@gmx.net>
6832 * tracer.[Ch]: remove unneeded files
6834 * InsetList.[Ch]: remove resizeInsetsLyXText()
6839 * text3.C: merge insertParagraphs() and appendParagraph()
6840 remove breakAgain(), update()
6842 * BufferView_pimpl.[Ch]:
6843 * bufferview_funcs.[Ch]:
6847 * tabular.C: adjust after text & InsetList changes.
6849 2003-08-08 André Pönitz <poenitz@gmx.net>
6851 * text.C (insertChar, backspace): replace rowlist fiddling
6852 with rebreak of full par
6855 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6856 checkParagraph, updateInset): removed
6858 2003-08-07 André Pönitz <poenitz@gmx.net>
6861 * text3.C: merge some LFUN handlers, remove dead code
6863 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6865 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6867 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6869 * text2.C (DEPM): fix part of bug 1255 and 1256
6871 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6873 * BufferView_pimpl.C (workAreaDispatch): change to use
6874 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6875 that are no mouse related.
6877 2003-08-05 André Pönitz <poenitz@gmx.net>
6880 * BufferView_pimpl.[Ch]:
6881 * bufferview_funcs.C:
6883 * text3.C: rip out "deep update"
6885 * textcursor.[Ch] (last_sel_cursor): remove unused member
6887 2003-08-04 André Pönitz <poenitz@gmx.net>
6890 * BufferView_pimpl.[Ch]:
6891 * ParagraphParameters.C:
6892 * bufferview_funcs.C:
6898 * text3.C: replace "complicated" BufferView::update(...) calls with
6901 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6903 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6905 * Makefile.am (lyx_SOURCES): add paper.h
6907 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6909 * Makefile.am: move things around so that both lyx-qt and
6910 lyx-xforms can be built (according to --with-frontend). Then lyx
6911 is a symbolic link to lyx-[firstfrontend]
6913 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6915 * Always use std::endl with lyxerr
6917 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6919 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6921 2003-08-01 André Pönitz <poenitz@gmx.net>
6924 * BufferView_pimpl.[Ch]:
6926 * text3.C: merge BufferView::repaint() and BufferView::update()
6928 2003-08-01 José Matos <jamatos@lyx.org>
6930 * buffer.[Ch]: file_format is no longer a buffer data element.
6932 2003-08-01 André Pönitz <poenitz@gmx.net>
6937 * text2.C: make redoParagraph more independent of current cursor
6939 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6941 * text2.C: remove unneeded members
6943 2003-07-30 André Pönitz <poenitz@gmx.net>
6945 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6947 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6948 create a single function...
6950 * paragraph_funcs.C (moveItem): ... here.
6953 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6955 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6957 * LColor.[Ch]: Add comment and greyedout logical colors.
6959 2003-07-30 André Pönitz <poenitz@gmx.net>
6961 * tabular.C: don't use Assert too heavily. This crashes where it
6964 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6966 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6967 is disabled (bug 1232)
6969 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6971 * factory.C: limited 'arg' scope
6973 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6975 * factory.C: fixed Note submenu issues
6977 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6979 * factory.C: submenu for Note/Comment/Greyedout
6981 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6984 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6986 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6989 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6990 greyedout. Patch provided by Jürgen Spitzmüller.
6992 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6994 * kbmap.C (read): fix error message when reading bind files
6996 2003-07-29 Angus Leeming <leeming@lyx.org>
6998 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6999 certainly does not do what it purports to do. I am doing it, and
7000 us, a favour by killing it.
7002 2003-07-28 José Matos <jamatos@lyx.org>
7004 * buffer.C (readBody, do_writeFile):
7005 * paragraph.C(readParagraph): \end_document replaces \the_end.
7007 2003-07-29 André Pönitz <poenitz@gmx.net>
7010 * BufferView_pimpl.[Ch]:
7014 * textcursor.[Ch]: remove toggleToggle & Co
7016 2003-07-28 José Matos <jamatos@fep.up.pt>
7018 * buffer.C (readParagraph):
7019 * params_func (readParToken, readParagraph):
7020 * paragraph.C (write): \layout -> \begin_layout.
7022 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7024 * lyxlex_pimpl.C (setFile): clean up slightly.
7026 * bufferparams.h: add compressed var
7028 * buffer_funcs.C (readFile): adjust for LyXLex change
7029 (newFile): ditto + simplify
7031 * buffer.C (writeFile): handle writing of compressed files
7033 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7034 Check if the file is compressed and set a bufferparm if so.
7036 * Makefile.am (lyx_LDADD): remove explicit -lz
7038 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7040 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7041 makeDocBookFile): put the real LyX version in the first line of
7045 * version.C.in: remove lyx_docversion
7047 * tabular.C (write_attribute): add a template-based version to
7048 write enums properly
7050 2003-07-28 André Pönitz <poenitz@gmx.net>
7055 * text3.C: use doubles again for x-coordinates. They are needed.
7057 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7059 * messages.C (getLocaleDir): use lyx_localedir()
7061 * lyxlex_pimpl.C (setFile): compress stuff
7063 * buffer.C (writeFile): add some compression stuff
7064 (do_writeFile): new func, dont call expliti close... will this
7067 * Makefile.am (lyx_LDADD): add -lz
7069 2003-07-28 José Matos <jamatos@fep.up.pt>
7071 * buffer.C: increment file format.
7072 * paragraph_funcs (readParagraph, readParToken):
7073 * paragraph.C (readParagraph): add \end_layout.
7075 2003-07-27 Angus Leeming <leeming@lyx.org>
7077 * Makefile.am: remove special casing for configure-time setting of
7078 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7080 * lyx_main.C (init): remove all Jean-Marc's magic setting of
7081 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7083 2003-07-26 André Pönitz <poenitz@gmx.net>
7085 * paragraph_func.[Ch]:
7086 * paragraph.C (realizeFont): inline it whereever it is used
7091 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7094 2003-07-26 André Pönitz <poenitz@gmx.net>
7098 * text2.C: get rid of LyXText::need_break_row
7100 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * toc.[Ch]: put namespace toc inside namespace lyx
7104 * MenuBackend.C (expandToc2): adjust for lyx::toc
7107 * lyxfunc.C (dispatch): adjust for lyx::find
7109 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7110 lyx::find instead. Reorganize a bit.
7111 (LyXReplace): rename to replace
7112 (LyXFind): rename to find
7114 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7117 2003-07-26 André Pönitz <poenitz@gmx.net>
7119 * text.C (setHeightOfRow): restrict scope of temporary variable
7121 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7122 code (never has been used?)
7124 2003-07-27 Asger Alstrup <alstrup@local>
7126 * text.C (fill): Optimise algorithm to exploit that we can reuse
7127 the LyXFont for many characters.
7128 (setHeightOfRow): Same thing.
7129 (rowBreakPoint): Same thing.
7131 2003-07-26 Asger Alstrup <alstrup@local>
7133 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7135 * text.C (singleWidth): Spurious font copying in hot-spot
7136 singleWidth avoided. Reorder tests for arabic for efficiency.
7138 * text.C (fill): handle empty paragraphs better.
7140 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7143 * encoding.h: add includes
7145 * lyxrc.C: remove reading of bind files
7147 * lyx_main.C (init): setup bindings and menus only if we have a
7150 * kbmap.C (read): new method. Do the actual reading of bind
7153 * converter.C (dvipdfm_options):
7156 (output): adapt PAPER_* enums.
7158 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7160 * bufferparams.h: remove paper-related enums from there
7162 * paper.h: New file. A trivial header file to hold paper-related
7163 enums. It should later expand to contain many paper-related
7166 * lyxrc.C: declare extern displayTranslator
7168 2003-07-27 José Matos <jamatos@fep.up.pt>
7170 * tabular.[Ch] (linuxdoc): add support for tables and figures
7173 2003-07-27 José Matos <jamatos@fep.up.pt>
7175 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7176 consistency in both functions.
7177 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7179 2003-07-26 Asger Alstrup <alstrup@local>
7181 * rowpainter.C (paintRows): Change algorithm to work directly on
7182 the insets rather than asking every character in the document
7183 whether its an inset.
7185 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7187 * buffer.C (openFileWrite): factorize some code
7189 2003-07-26 Angus Leeming <leeming@lyx.org>
7192 * lyx_main.[Ch]: replace occurances of system_tempdir with
7195 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * rename Inset to InsetOld
7199 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7201 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7202 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7203 which I think is a bit clearer. EDIT is gone, since it was
7204 premature optimisation, and broken for mathed anyway.
7205 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7206 with cursor positioning in insets as well (math insets still do not
7207 work, but that's a different story anyway.) It mysteriously
7208 crashes sometimes with undo in the first paragraph, but I'm fairly
7209 confident that this is a compiler bug.
7211 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7213 * paragraph.C (Paragraph): adjust for new clone return type
7215 (copyIntoMinibuffer): ditto
7217 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7219 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7220 by not having a special case, and always doing a full rebreak of
7221 the document after undo.
7223 2003-07-23 Angus Leeming <leeming@lyx.org>
7225 * factory.C (createInset): InsetExternal::setParams now takes a
7228 2003-07-23 Angus Leeming <leeming@lyx.org>
7230 * factory.C (createInset): changed interface to the external and
7231 graphics mailers' string2params functions.
7233 2003-07-23 Angus Leeming <leeming@lyx.org>
7235 * factory.C (createInset): pass a
7236 Buffer const * parameter to InsetExternalMailer's string2params.
7238 2003-07-22 John Levon <levon@movementarian.org>
7240 * Thesaurus.h: include the right aiksaurus header
7242 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7244 * MenuBackend.C (expand): check menu shortcuts unconditionally
7246 2003-07-21 Angus Leeming <leeming@lyx.org>
7248 * factory.C (createInset): pass a
7249 buffer_path parameter to InsetGraphicsMailer's string2params.
7251 2003-07-21 Angus Leeming <leeming@lyx.org>
7253 * BufferView_pimpl.C (buffer):
7256 * lyxfunc.C (dispatch):
7257 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7258 rather than the grfx shortcut.
7260 2003-07-21 André Pönitz <poenitz@gmx.net>
7262 * rowpainter.C: remove unused variables
7265 * tabular_funcs.h: move to tabular.C
7266 * Makefile.am: adjust
7268 * tabular.[Ch]: basic optical cleaning
7270 * author.h: pass references, not values
7272 2003-07-18 André Pönitz <poenitz@gmx.net>
7280 * text3.C: two-phase drawing for InsetText and InsetTabular
7281 some float -> int changes.
7283 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7285 * lyx_main.C: fix the fix
7287 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7289 * lyx_main.C: fix a crash in batch mode if no files specified
7292 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7294 * format.[Ch] (papersize): moved to BufferParams
7295 * converter.[Ch] (dvips_options): moved to BufferParams
7296 (dvipdfm_options): moved to anon namespace
7297 * bufferparams.[Ch]: added above functions.
7299 2003-07-17 André Pönitz <poenitz@gmx.net>
7303 * text2.C: don't call inset->update() anymore
7305 * metricsinfo.[Ch]: add convenience constructor
7307 2003-07-16 André Pönitz <poenitz@gmx.net>
7312 * text2.C: replace the LyXCursor::irow_ member with
7313 on-demand computation of the value
7315 2003-07-16 John Levon <levon@movementarian.org>
7317 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7319 2003-07-15 André Pönitz <poenitz@gmx.net>
7322 * text2.C: remove no more needed refresh_row
7324 2003-07-15 André Pönitz <poenitz@gmx.net>
7329 * text3.C: refresh_status tristate -> need_update bool
7331 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7333 * lyxtext.h (init): remove reinit argument (act as if always true)
7334 * text2.C: adjust to that
7336 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7338 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7339 * text3.C: use it to delete selections in some cases
7340 (bugs 441, 673, 702, 954).
7342 2003-07-14 André Pönitz <poenitz@gmx.net>
7344 * rowpainter.[Ch]: reduce interface
7346 2003-07-14 André Pönitz <poenitz@gmx.net>
7348 * BufferView_pimpl.C:
7349 * text2.C: adjust after removing unused BufferView * argument
7351 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7353 * text2.C (init): fix a crash fired on resize
7355 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7357 * buffer.[Ch]: added new closing signal
7358 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7359 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7360 BufferView::Pimpl via the closing the signal
7362 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7364 * buffer.[Ch]: take out all bv-related from buffer
7366 * BufferView_pimpl.[Ch]: connect to new signals
7367 * CutAndPaste.C: removed useless asserts
7368 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7371 * lyxfunc.C: moved view-related funciontality from vc here
7372 * paragraph.C: removed outdated comments
7375 2003-07-10 André Pönitz <poenitz@gmx.net>
7377 * BufferView_pimpl.C:
7381 * text2.C: remove InsetText::InnerCache, clean up consequences
7383 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7385 * ispell.C: fix two typos in error messages
7387 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7389 * Extend Note inset to other forms of annotation like Comment
7390 and Greyedout. Right button click gives dialog.
7392 Files modified or added (+):
7396 * ControlNote.[Ch] +
7398 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7399 frontends/controllers
7403 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7405 * aspell.C: add missing namespace lyx::support
7407 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7409 * BufferView.[Ch] (newFile): Add
7410 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7411 * LaTeX.[Ch] (message): added this signal and use it
7412 * buffer.[Ch] (busy, message): added these signals and use them
7413 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7417 * importer.C: use buffer signals instead of direct bv calling
7418 * lyx_cb.[Ch] (ShowMessage): removed
7421 * paragraph_funcs.C:
7422 * text2.C: use buffer signals
7424 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7426 * introduce namespace lyx::graphics
7428 2003-07-02 André Pönitz <poenitz@gmx.net>
7430 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7432 2003-07-01 André Pönitz <poenitz@gmx.net>
7439 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7440 text*.C to text_func.C
7442 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7444 * introduce namespace lyx::support
7446 2003-06-30 André Pönitz <poenitz@gmx.net>
7451 * text.C: re-enable --with-included-string
7453 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7455 * textcursor.C: add <config.h>
7457 * text.C (getWord): remove const from word_location arg
7459 * lyxvc.C (getLogFile): fix const type order
7461 * lyxtext.h: remove const from word_location arg, add arg name
7463 * lyxlayout.h: currect type on labeltype.
7465 * importer.C: correct \file
7467 * converter.C (intToFormat): use std:: on ret val, ws changes
7469 * bufferlist.h: correct \file
7471 * buffer.C (makeLinuxDocFile): fix const type order
7472 (makeDocBookFile): ditto
7473 (fillWithBibKeys): use std:: on stdlib args.
7475 * CutAndPaste.C: fix authors.
7476 (availableSelections): use std:: on return vector
7478 2003-06-27 André Pönitz <poenitz@gmx.net>
7480 * BufferView_pimpl.C:
7481 * bufferview_funcs.C:
7489 * text3.C: remove LyXCursor::row_ member
7492 * text.C: rename fullRebreak() to partialRebreak() and implement
7493 a fullRebreak() that really bereks fully
7495 * textcursor.h: new struct for cursor-related data
7497 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7499 * lyx_main.C (LyX): get full path of document loaded on the
7502 2003-06-26 André Pönitz <poenitz@gmx.net>
7504 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7505 remove unused/broken operator>,<,>=.
7507 * text.C: remove only use of broken operator<= in an Assert().
7509 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7511 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7512 moved errorlist_.clear to showErrorList
7514 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7516 * converter.C (scanLog, runLaTeX):
7517 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7518 move the bv->showErrorList call to the callers
7519 * lyxfunc.C: i.e. here...
7521 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7522 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7523 namespace, the second to...
7524 * buffer_funcs (BufferFormat, parseErrors): added
7525 * errorlist.C (ErrorList(TeXErrors const &)): removed
7527 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7529 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7531 2003-06-24 "Garst R. Reese" <reese@isn.net>
7535 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7537 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7539 * version.C.in: change docversion to 1.4
7541 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7543 * buffer.C: fix a bug just introduced
7545 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7547 * buffer.[Ch]: added the parseError signal and use it, removed
7549 * BufferView.[Ch] (addError): moved to ...
7550 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7551 to the Buffer::parseError signal to catch (guess what) parse errors
7552 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7554 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7556 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7557 ability to create a buffer and to return an existing one from
7558 the list. Moved these functions to...
7559 * buffer_funcs.[Ch]: added
7560 * BufferView.[Ch] (loadLyXFile): added
7561 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7562 job removed from bufferlist::loadLyXFile.
7563 * buffer.C (setReadOnly): make it work without view
7564 (i.e added an if (users))
7566 2003-06-19 Angus Leeming <leeming@lyx.org>
7569 * LyXAction.C (init):
7570 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7571 with LFUN_DIALOG_SHOW <name> <data>.
7573 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7575 * CutAndPaste.C (availableSelections): small compilation fix for
7576 ancient (gcc 2.9x) compilers
7578 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7580 * text3.C (cursorNext): add tmp var
7582 * text2.C (updateCounters): for function calling out of for clause
7583 (replaceSelectionWithString): ditto
7584 (insertStringAsParagraphs): ditto
7585 (getColumnNearX): add tmp var
7586 (setCursorFromCoordinates): add tmp var
7587 (cursorDownParagraph): add tmp var
7588 (deleteEmptyParagraphMechanism): add tmp var
7590 * text.C (insertChar): add tmp var
7592 * rowpainter.C (paintDepthBar): add tmp var
7594 * CutAndPaste.C (availableSelections): potentially check all
7595 paragraphs in a cut to fill the shown strings.
7597 2003-06-18 André Pönitz <poenitz@gmx.net>
7599 * kbmap.[Ch]: use vector<> instead of list<>
7601 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7603 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7604 pasteSelection with index
7606 * text2.C (pasteSelection): modify, call pasteSelection with index
7608 * paragraph.C (asString): reimplement version with no interval to
7609 call the one with interval.
7611 * lyxtext.h: add index arg to pasteSelection
7613 * MenuBackend.C (MenuItem): handle PasteRecent
7614 (Menu::read::Menutags): add md_pasterecent
7616 (expandPasteRecent): new function
7619 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7621 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7623 (availableSelections): new function
7625 2003-06-17 Angus Leeming <leeming@lyx.org>
7627 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7629 2003-06-17 Angus Leeming <leeming@lyx.org>
7632 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7634 * lyxfunc.C (dispatch): invoke it.
7636 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7638 * iterators.C (operator++, ParPosition): reintroduce some
7639 const_cast for the benefit of older compilers.
7641 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7643 * text3.C (dispatch): do not modify clipboard when doing
7644 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7645 LFUN_DELETE_SKIP on a selection selection
7647 2003-06-16 André Pönitz <poenitz@gmx.net>
7653 * tabular.[Ch]: IU of clone() and getLabelList();
7655 2003-06-13 André Pönitz <poenitz@gmx.net>
7657 * tabular.h: compactification
7659 2003-06-12 André Pönitz <poenitz@gmx.net>
7663 * tabular_funcs.h: some renaming plus whitespace
7665 2003-06-12 André Pönitz <poenitz@gmx.net>
7668 * BufferView_pimpl.C:
7674 * toc.C: Return a Paragraph & for ParIterator::operator*()
7676 2003-06-11 John Levon <levon@movementarian.org>
7680 * ToolbarBackend.C: add "Toolbars" section and
7683 2003-06-10 Angus Leeming <leeming@lyx.org>
7686 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7688 * lyxfunc.C (dispatch): invoke it.
7690 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7692 * main.C: protect <ios> with HAVE_IOS
7693 (main): protect sync_with_stdio with HAVE_IOS
7695 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7697 * text2.C (cutSelection): adjust
7698 (pasteSelection): adjust
7700 * messages.C: handle get of empty string
7702 * main.C (main): use sync_with_stdio(false)
7704 * lyxfunc.C (dispatch): adjust
7706 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7707 (WriteAs): remove unneeded BufferView arg.
7709 * bufferparams.h: use correct types on papersize, papersize2 and
7712 * bufferparams.C (readToken): adjust for type
7713 (writeLaTeX): add missing cases to switch.
7715 * bufferlist.C (quitWriteBuffer): adjust
7718 * buffer.C (asciiParagraph): remove some commented code.
7720 * CutAndPaste.C: remove current_view extern variable.
7721 (cutSelection): add BufferParams arg.
7722 (eraseSelection): add BufferParams arg.
7723 (pasteSelection): add Buffer const & arg
7725 2003-06-07 John Levon <levon@movementarian.org>
7728 * paragraph_funcs.C:
7729 * paragraph_pimpl.C:
7733 * paragraph.C: allow InsetERT to freely space lines,
7734 and some consolidation of code
7736 2003-06-06 José Matos <jamatos@fep.up.pt>
7738 * buffer.C (makeDocBookFile): fix bug #821
7740 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7742 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7744 2003-06-04 Angus Leeming <leeming@lyx.org>
7746 * buffer.C: bump format to 224.
7748 2003-06-05 André Pönitz <poenitz@gmx.net>
7750 * text2.C (redoParagraphs): remove two const_cast<>
7752 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7754 * ParagraphList.h: remove last remnants of NO_STD_LIST
7756 2003-06-03 Angus Leeming <leeming@lyx.org>
7758 * factory.C (createInset): small change to the way InsetExternal's params
7761 2003-06-04 André Pönitz <poenitz@gmx.net>
7763 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7765 * paragraph_pimpl.h:
7766 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7768 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7770 * undo_funcs.C: make some simple cases of undo work again
7772 2003-06-03 John Levon <levon@movementarian.org>
7774 * ispell.C: HPUX doesn't have sys/select.h
7777 2003-06-03 John Levon <levon@movementarian.org>
7779 * CutAndPaste.C: update tabular and include inset
7784 * paragraph.C: remove owningBuffer(), don't pass Buffer
7787 * factory.C: insetGraphicsParams changed
7789 2003-06-02 John Levon <levon@movementarian.org>
7795 * text3.C: remove insetparent
7797 2003-06-02 John Levon <levon@movementarian.org>
7800 * buffer.C: fix inset_iterator.end(), move out of line
7803 2003-06-01 John Levon <levon@movementarian.org>
7805 * text3.C: use a proper cut/paste when doing inset
7806 insert (from Jürgen Spitzmüller)
7808 2003-06-01 John Levon <levon@movementarian.org>
7810 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7812 2003-05-30 André Pönitz <poenitz@gmx.net>
7814 * rowpainter.C: unify second drawing phase
7816 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7818 * trans_mgr.C: remove one case of current_view
7820 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7822 * paragraph_funcs.h: remove paragraph.h include
7824 * paragraph.h: delete NO_STD_LIST stuff
7826 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7828 * buffer.h: remove paragraph.h include
7830 * ParagraphList.C: delete file
7832 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7834 * toc.C (getTocList): adjust
7836 * paragraph_pimpl.C (validate): adjust
7838 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7840 * paragraph.C (Paragraph): adjust
7841 (getPositionOfInset): use const_iterator, adjust
7842 (bibitem): use const_iterator, adjust
7843 (setInsetOwner): adjust
7845 * iterators.C (operator++): adjust
7847 * InsetList.[Ch]: Replace selfmade iterator with standard
7848 vector::iterator also introduce const_iterator. Remove getPos,
7849 getInset and setInset from InsetTable. Adjust accordingly.
7851 * BufferView.C (lockInset): adjust
7852 (ChangeInsets): adjust
7854 * tabular.[Ch]: delete commented same_id functions
7856 2003-05-28 John Levon <levon@movementarian.org>
7858 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7860 2003-05-28 André Pönitz <poenitz@gmx.net>
7862 * metricsinfo.[Ch]: remove 'fullredraw' member
7864 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7866 * lyxtextclass.C (operator): remove caching.
7868 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * text2.C (cursorBottom): adjust
7873 (setCounter): use ParagraphList::find, adjust
7875 * text.C (workWidth): use ParagraphList::find, adjust
7877 * lyxcursor.C (LyXCursor): adjust
7879 * buffer.C (inset_iterator): adjust
7881 * ParagraphList.h: make iterator(value_type) private, make
7882 ParagraphList a friend of iterator.
7884 * ParagraphList.C (find): new function
7886 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7888 2003-05-27 André Pönitz <poenitz@gmx.net>
7890 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7892 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7894 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7896 2003-05-26 John Levon <levon@movementarian.org>
7898 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7900 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7902 * remove same_id from function signatures, adjust.
7904 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7906 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7908 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7910 * paragraph.C (Paragraph): get rid of same_ids parameter
7912 * ParagraphList.C (insert): adjust
7915 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7917 * paragraph_funcs.C (breakParagraph): adjust
7918 (breakParagraphConservative): adjust
7920 * buffer.C (readParagraph): adjust
7922 * ParagraphList.C (insert): take a reference instead of a pointer
7925 * paragraph.[Ch] (id): new function
7927 * bufferlist.C (newFile): adjust
7929 * ParagraphList.C (ParagraphList): adjust
7931 (push_back): take a reference instead of a pointer.
7933 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7935 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7938 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7939 set else use old code.
7941 * ParagraphList.C: remove all NO_NEXT code and only compile this
7942 code of NO_STD_LIST is set.
7944 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7946 * BufferView_pimpl.C:
7956 * graphics/GraphicsConverter.C:
7957 * graphics/PreviewLoader.C: header adjustment
7959 2003-05-23 Angus Leeming <leeming@lyx.org>
7961 * LaTeXFeatures.[Ch] (useBabel): new method.
7962 * bufferparams.C (writeLaTeX): use it.
7964 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7966 * ParagraphList.h (set): remove unused function.
7968 2003-05-23 André Pönitz <poenitz@gmx.net>
7971 * BufferView_pimpl.C:
7975 * undo_funcs.C: setUndo reworked
7977 * iterators.[Ch]: add access to topmost ParagraphList
7979 * lyxtext.[Ch] (workWidth): add a const
7981 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7983 * texrow.[Ch] (increasePos): remove function
7984 * exporter.C (export): removed unused var and outdated comment
7986 2003-05-23 Angus Leeming <leeming@lyx.org>
7988 * latexrunparams.h: rename fragile as moving_arg.
7989 * paragraph.C (simpleTeXOnePar): ditto.
7990 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7992 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7994 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7996 (textUndoOrRedo): comment out a currently unused var.
7998 * paragraph.h (NO_NEXT): enable NO_NEXT
8000 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
8002 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
8004 * exporter.C (Export): adjust for removeAutoInsets removal.
8006 * buffer.C (runChktex): adjust for removeAutoInsets removal.
8008 * LyXAction.C (init): remove LFUN_REMOVEERRORS
8010 * BufferView.[Ch] (removeAutoInsets): delete function
8012 2003-05-22 Angus Leeming <leeming@lyx.org>
8014 * latexrunparams.h: add a free_spacing variable.
8016 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
8017 to pass moving_arg, as the data is stored in runparams.fragile.
8019 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
8020 to Inset::latexOptional or to simpleTeXOnePar.
8022 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
8023 free_spacing arg to Inset::latexOptional.
8025 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8028 2003-05-22 Angus Leeming <leeming@lyx.org>
8030 * latexrunparams.h: add fragile and use_babel variables.
8032 * bufferparams.[Ch] (writeLaTeX): return use_babel.
8033 * buffer.C (makeLaTeXFile): store this returned value in
8034 runparams.use_babel, thus passing it to the inset::latex methods.
8036 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8037 simpleTeXSpecialChars as it is now stored in runparams.fragile.
8039 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8040 longer has a fragile arg, as it is stored in runparams.fragile.
8042 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8043 moving_arg parameter as the data is stored in runparams.fragile.
8045 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8046 a fragile parameter as the data is stored in runparams.fragile.
8048 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8050 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8052 2003-05-22 Angus Leeming <leeming@lyx.org>
8054 * latexrunparams.h: add a 'bool nice' which defaults to false.
8056 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8057 now encapsulated within runparams.
8059 * bufferlist.C (updateIncludedTeXfiles):
8060 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8062 2003-05-22 Angus Leeming <leeming@lyx.org>
8064 * latexrunparams.h: new file containing struct LatexRunParams.
8065 * Makefile.am: add new file.
8067 * LaTeX.[Ch] (c-tor, run):
8068 * buffer.[Ch] (makeLaTeXFile):
8069 * bufferlist.[Ch] (updateIncludedTeXfiles):
8070 * converter.C (convert, scanLog):
8071 * converter.[Ch] (runLaTeX):
8072 * exporter.C (Export):
8073 * paragraph.[Ch] (simpleTeXOnePar):
8074 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8075 * paragraph_funcs.[Ch] (latexParagraphs):
8076 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8077 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8078 pass around a LatexRunParams parameter.
8080 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8082 * paragraph.[Ch]: remove unused constructor
8084 * ParagraphList.C (erase): new function, taking two iterators
8086 2003-05-22 André Pönitz <poenitz@gmx.net>
8088 * undo_funcs.C: remove duplicated code
8090 * iterator.[Ch]: operator=
8092 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8094 * tabular.C (SetMultiColumn): ws changes
8096 * rowpainter.C (paintFirst): get rid of a ->previous
8098 * lyx_cb.C (getPossibleLabel): parlist simplification
8100 * BufferView.C (ChangeInsets): simplify slightly.
8102 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8104 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8105 * lfuns.h: new LFUN_SPACE
8106 * lyxfunc.C: protected space has a new lfun
8107 * paragraph_funcs.C: read new space insets
8109 * factory.C: handle new space insets
8111 2003-05-22 André Pönitz <poenitz@gmx.net>
8114 * BufferView_pimpl.C:
8117 * undo_funcs.C: return a ParIterator from getParFromID.
8119 * iterators.[Ch]: add two const's
8121 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8123 * toc.C (getTocList): adjust
8125 * iterators.[Ch]: rework for parlist
8127 * buffer.C (par_iterator_begin): adjust
8128 (par_iterator_end): adjust
8130 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8132 * BufferView.C (removeAutoInsets): adjust
8133 (ChangeInsets): adjust
8135 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8137 * text.C (top_y): fix bug 1110
8139 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8141 * errorlist.[Ch]: added
8144 * BufferView_pimpl.C:
8145 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8148 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8150 * Makefile.am: ensure that lyx is relinked upon changes to the
8151 various "convenience" libs.
8153 2003-05-20 Angus Leeming <leeming@lyx.org>
8155 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8156 files are compiled in alphabetical order again.
8158 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8160 2003-05-19 Angus Leeming <leeming@lyx.org>
8162 * gettext.[Ch]: remove "char const * _(char const *)".
8164 2003-05-19 André Pönitz <poenitz@gmx.net>
8166 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8175 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8177 2003-05-19 André Pönitz <poenitz@gmx.net>
8181 * lyxtextclass.[Ch]:
8183 * paragraph_funcs.[Ch]:
8185 * text3.C: more insetenv work
8187 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8189 * ParagraphParameters.C (params2string): small bug fixed
8191 2003-05-16 André Pönitz <poenitz@gmx.net>
8194 * bufferview_funcs.C: patch from Kornel Benko to prevent
8195 crash when _(...) is called twice in a statement
8197 2003-05-16 André Pönitz <poenitz@gmx.net>
8204 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8206 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8208 * lyx_main.C (init): remove spurious static_cast
8210 2003-05-14 André Pönitz <poenitz@gmx.net>
8212 * BufferView.C: fix format string
8214 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8216 * BufferView.[Ch] (insertErrors): removed
8217 * BufferView.[Ch] (showErrorList): added
8218 * buffer.C (runChkTeX):
8219 * converter.C (scanLog): call showErrorList instead of inserterrors
8221 2003-05-13 André Pönitz <poenitz@gmx.net>
8223 * BufferView_pimpl.C:
8225 * bufferview_func.C:
8232 * tabular_funcs.h: tostr() from its own header
8234 * ParagraphParameters.C:
8239 * text3.C: STRCONV()
8241 2003-05-12 André Pönitz <poenitz@gmx.net>
8244 * BufferView_pimpl.C:
8248 * ParagraphParameters.C:
8252 * bufferview_funcs.C:
8265 * paragraph_funcs.C:
8269 * text3.C: boost::format -> bformat all over the place
8272 2003-05-09 André Pönitz <poenitz@gmx.net>
8274 * LColor.[Ch]: Pimpl the #include <map> away
8276 2003-05-09 John Levon <levon@movementarian.org>
8278 * bufferlist.C: never remove emergency saves
8280 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * Makefile.am: better lib building
8284 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8286 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8288 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8289 (simpleTeXSpecialChars): adjust
8290 (simpleTeXSpecialChars): adjust
8291 * paragraph.C (simpleTeXOnePar): adjust
8292 * buffer.C (makeLaTeXFile): adjust
8294 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8296 * text2.C (changeDepth): parlist cleanup
8297 (getColumnNearX): ditto
8299 * rowpainter.C (getLabelFont): parlist cleanup
8301 * bufferlist.C (newFile): parlist cleanup
8303 * CutAndPaste.C (eraseSelection): parlist cleanup
8305 * BufferView_pimpl.C (trackChanges): parlist cleanup
8308 * BufferView.C (lockInset): parlist cleanup.
8309 (ChangeInsets): ditto
8311 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8313 * CutAndPaste.h: Update file header.
8315 * CutAndPaste.C: Update file header.
8316 Store the parts cut out of the Document in a limited_stack.
8317 (copySelection): adjust
8318 (pasteSelection): new function, takes the index in the limited stack.
8319 (nrOfParagraphs): adjust
8320 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8321 simplify error inset insertion.
8322 (checkPastePossible): adjust
8324 2003-05-06 John Levon <levon@movementarian.org>
8326 * text2.C: don't cast wrap inset to float
8328 2003-05-05 André Pönitz <poenitz@gmx.net>
8331 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8333 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8334 few naked Paragraph *.
8336 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8338 * bufferparams.C: Output warning if a document with missing
8339 TeX document class is loaded
8340 * exporter.C: Disable TeX exports if the document class is missing
8343 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8344 isTeXClassAvailable()
8346 2003-05-03 John Levon <levon@movementarian.org>
8349 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8350 explicit cursor show/hide
8352 * BufferView_pimpl.h:
8353 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8354 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8356 * lyxfunc.C: hide cursor before dispatching.
8361 * text3.C: remove explicit cursor hides
8363 2003-05-02 André Pönitz <poenitz@gmx.net>
8365 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8368 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8371 * text2.C: tiny whitespace
8373 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8375 * undo_funcs.C: almost only ws changes.
8377 * ParagraphList.C (splice): just return if pl is empty.
8379 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8381 * ParagraphList.C (splice): new function.
8383 * CutAndPaste.C (pasteSelection): use it
8385 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8387 * CutAndPaste.C (pasteSelection): remove the last next and
8388 previous from this file.
8390 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8392 * CutAndPaste.C (pasteSelection): more clean up, user proper
8393 ParagraphList functions for pasteing.
8395 * ParagraphList.C (insert): new function, three arg insert
8397 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * ParagraphList.C (insert): new function, three arg insert
8401 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8404 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8406 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8408 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8410 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8412 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8414 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8415 (copySelection): clean up a bit.
8416 (pasteSelection): use make_pair
8418 * ParagraphList.C (ParagraphList): implement copy constructor
8419 (operator=): implement, base on copy constructor.
8422 * paragraph.C (erase): return a bool
8424 * paragraph_pimpl.C (erasePos): remove function, move contents...
8425 (erase): ... here. Return a bool.
8426 (erase): call erase instead of erasePos.
8428 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8430 * ParagraphList.h: define PitPosPair
8431 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8432 ParagraphList, fix a bug on pasting multiple pars
8433 * text2.C: change interface to C&P
8435 2003-04-30 André Pönitz <poenitz@gmx.net>
8437 * undo_func.C: revert part of yesterday's patch 2
8439 2003-04-30 John Levon <levon@movementarian.org>
8441 * LColor.C: s/tabular/table/
8443 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8445 * text3.C (dispatch): do not convert iterator -> pointer
8446 * undo_funcs.C (setCursorParUndo): ditto
8447 * text_funcs.C (transposeChars): ditto
8449 * text2.C (setLayout): ws changes only
8451 * text.C (breakParagraph): do not convert iterator -> pointer
8453 (acceptChange): ditto
8454 (rejectChange): ditto
8459 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8462 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8464 * text3.C (gotoInset): YABG (yet another bad getChar)
8466 2003-04-29 André Pönitz <poenitz@gmx.net>
8468 * paragraph.h: make operator= private unimplemented as long as
8471 * ParagraphList.C: whitespace
8474 * paragraph_pimpl.[Ch]:
8475 * paragraph_funcs.C:
8477 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8480 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8482 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8484 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8485 * paragraph.[Ch] (erase):
8486 * paragraph_pimpl.[Ch] (erase): change return type and value
8487 * text2.C (cutSelection): some rework
8489 2003-04-28 John Levon <levon@movementarian.org>
8491 * bufferlist.C: changes for unsaved changes dialog
8493 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8495 * bufferlist.C (newFile): set language (messages_) for new
8498 * buffer.C (readFile): ws changes only.
8500 2003-04-28 André Pönitz <poenitz@gmx.net>
8505 * BufferView_pimpl.C:
8506 * BufferView.C: getParFromID related ParagraphList::iterator changes
8508 2003-04-28 André Pönitz <poenitz@gmx.net>
8510 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8513 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8515 * messages.C: remove one more localedir class variable.
8517 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8519 * messages.C (getLocaleDir): singleton generation function
8521 (Messages): add a default constructor.
8523 * main.C (main): do not setup localedir here, do not call
8526 * gettext.C (_): use it.
8527 (gettext_init): delete funciton
8529 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8531 * gettext.C (getLyXMessages): new singleton generating function.
8533 * buffer.C (updateDocLang): adjust
8535 * Makefile.am (messages.o): add target
8536 (main.o): remove target
8538 2003-04-27 John Levon <levon@movementarian.org>
8543 * lyxvc.C: specify cancel button in Alert::prompt
8545 2003-04-26 John Levon <levon@movementarian.org>
8550 * LyXAction.C: add LFUN_INSET_SETTINGS
8552 * lyxfunc.C: don't enable tabular-feature when there's
8553 just any locking inset
8555 2003-04-26 John Levon <levon@movementarian.org>
8557 * bufferlist.C: re-add Cancel to buffer close question
8559 * lyxfunc.C: fix import UI a bit
8561 2003-04-25 John Levon <levon@movementarian.org>
8563 * gettext.C: remove the broken asserts for now
8565 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8567 * messages.C: make case where setlocale cannot comply work better.
8569 * buffer.C (updateDocLang): new function
8570 (changeLanguage): use it
8573 * text2.C (setCounter): use B_ a bit.
8575 * lyxlayout.C (Read): be sure to trim the label strings.
8577 * messages.C (Messages): fix typo in comment
8579 * buffer.C (readFile): set message_ after file is loaded.
8580 (makeDocBookFile): remove double return
8581 (changeLanguage): reset message_ upon language change.
8582 (B_): new func, use this to get translated buffer strings.
8584 * main.C: add myself and Jean Marc as authors.
8586 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8588 * messages.[hC]: pimplify Messages, and three different pimpls to be
8589 used in different circumstances.
8591 * gettext.[Ch]: change for use with new message code.
8593 2003-04-24 André Pönitz <poenitz@gmx.net>
8595 * factory.C: support for eqref
8597 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8599 * messages.[Ch]: add missing char
8601 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8603 * messages.[Ch]: New files
8605 2003-04-18 John Levon <levon@movementarian.org>
8609 * BufferView_pimpl.C:
8613 * text2.C: remove layout-copy/paste (bug 778)
8615 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8617 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8619 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8621 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8622 if they succeed. Act accordingly.
8624 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8626 * text2.C (setCharFont): adjust
8627 (setCounter): adjust
8628 (insertStringAsLines): adjust
8630 * text.C (leftMargin): adjust
8631 (setHeightOfRow): adjust
8633 * rowpainter.C (paintFirst): adjust
8636 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8638 (isFirstInSequence): ditto
8639 (getEndLabel): ditto
8642 * paragraph.C (getParLanguage): comment out some hard stuff.
8644 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8646 (simpleDocBookOnePar): ditto
8647 (makeDocBookFile): use ParagraphList::iterator
8649 * CutAndPaste.C (pasteSelection): adjust
8651 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8653 * text2.C (getFont): adjust
8654 (getLayoutFont): adjust
8655 (getLabelFont): adjust
8657 * paragraph_funcs.C (TeXOnePar): adjust
8659 * buffer.C (simpleLinuxDocOnePar): adjust
8660 (simpleDocBookOnePar): adjust
8662 * CutAndPaste.C (pasteSelection): adjust
8664 * BufferView.C (getEncoding): adjust
8666 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8668 2003-04-16 John Levon <levon@movementarian.org>
8670 * lyxfind.C: use parlist stuff for search/changes
8672 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8674 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8676 * text2.C (deleteEmptyParagraphMechanism): adjust
8678 * text2.[Ch] (ownerParagraph): delete func (both of them
8680 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8682 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8684 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8686 * ParagraphList.C: prepare for NO_NEXT
8688 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8690 * text2.C (getFont): adjust
8691 (getLayoutFont): adjust
8692 (getLabelFont): adjust
8694 * paragraph.C (getFont): adjust
8695 (getLabelFont): adjust
8696 (getLayoutFont): adjust
8698 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8700 2003-04-15 John Levon <levon@movementarian.org>
8704 * lyx_main.C: handle Include in .ui files
8706 2003-04-15 John Levon <levon@movementarian.org>
8708 * MenuBackend.C: make the doc files length shorter
8711 * ToolbarBackend.C: handle toolbar placement flags,
8714 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8716 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8719 * paragraph_funcs.C (TeXOnePar): adjust
8721 * paragraph.C (getLabelFont): add outerfont arg, adjust
8722 (getLayoutFont): ditto
8723 (simpleTeXOnePar): adjust
8725 * paragraph_pimpl.C (realizeFont): delete func
8727 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8729 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8730 row argument, constify cur argument.
8732 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8734 * text2.C (getFont): adjust
8735 (getLayoutFont): adjust
8736 (getLabelFont): adjust
8738 * paragraph_funcs.C (TeXOnePar): adjust
8739 (outerFont): new func...
8740 (realizeFont): ...moved out from here, changed this to facilitate
8743 * paragraph.C (getFont): take outerfont as arg, adjust
8744 (simpleTeXOnePar): add outerfont arg, adjust
8746 * buffer.C (simpleLinuxDocOnePar): adjust
8747 (simpleDocBookOnePar): adjust
8749 * CutAndPaste.C (pasteSelection): adjust
8751 * BufferView.C (getEncoding): adjust
8753 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8755 * text2.C (setCharFont): adjust
8756 (setCounter): adjust
8758 * text.C (leftMargin): adjust
8759 (setHeightOfRow): adjust
8761 * rowpainter.C (paintFirst): adjust
8764 * paragraph_pimpl.C (realizeFont): adjust
8766 * paragraph.C (isFirstInSequence): move from here...
8767 * paragraph_funcs.C (isFirstInSequence): ...to here
8769 * paragraph.C (outerHook): move from here...
8770 * paragraph_funcs.C (outerHook): ...to here
8772 * paragraph.C (depthHook): move from here...
8773 * paragraph_funcs.C (depthHook): ...to here
8775 * paragraph.C (getEndLabel): move from here...
8776 * paragraph_funcs.C (getEndLabel): ...to here
8778 * text2.C (realizeFont): move from here...
8779 * paragraph_funcs.C (realizeFont): ...to here
8781 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8783 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8785 2003-04-14 Angus Leeming <leeming@lyx.org>
8787 * LColor.[Ch]: scrap LColor mathcursor.
8789 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8791 * lyxlex.[Ch] (text): delete function
8792 * trans.C (Load): adjust
8793 * paragraph_funcs.C (readParToken): adjust
8795 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8797 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8798 vector<char> instead of a char[].
8800 * lyxlex_pimpl.C (getString): adjust
8802 (lex): use getString
8806 * lyxlex.C (text): use pimpl_->getString()
8810 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8812 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8813 (makeFontEntriesLayoutSpecific): temp var for par.size()
8814 (setLayout): temp var for ownerParagraphs().end()
8815 (fullRebreak): temp var for rows().end()
8816 (selectionAsString): temp var for boost::next(startpit), realize
8817 that the while really is a regular for loop.
8818 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8819 setCursor in one place.
8820 (setParagraph): temp vr for ownerParagraphs().end()
8821 (updateCounters): make the while loop a for loop
8822 (cutSelection): temp var for ownerParagraphs().end()
8823 (updateInset): make the do {} while() a regular for loop
8824 (getCursorX): use temp vars
8825 (setCurrentFont): use temp vars
8826 (getColumnNearX): use temp vars
8828 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8830 * text.C (transformChar): use temp var for getChar
8831 (computeBidiTables): use temp var for row->par()
8832 (fill): move temp vars for row->par() and pit->layout() earlier in
8834 (labelFill): use temp var for row->par()
8835 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8836 asc and desc, realize that pit never changes and that firstpit is
8837 just a duplicate and not needed. Exchange rit->par() with pit in a
8839 (breakAgain): use a temp var for boost::next(rit)
8840 (breakAgainOneRow): ditto
8841 (breakParagraph): use a temp var for rows().begin()
8842 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8843 (cursorRightOneWord): use temp var for cursor.par() and
8844 cursor.pos(), remove usage of tmpcursor.
8845 (cursorLeftOneWord): use temp var for cursor.par() and
8846 cursor.pos() only set cur at end of function.
8848 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8850 * text.C, text2.C: exchange all usage of Paragraph::next with
8851 boost::next(ParagraphList::iterator)
8853 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8855 * text2.C (cursorTop): simplify implementation
8856 (cursorBottom): ditto
8857 (setParagraph): use ParagraphList::iterator
8858 (setCurrentFont): adjust
8859 (getColumnNearX): adjust
8860 (cursorRight): adjust
8861 (cursorLeft): remove usage of Paragraph::previous
8862 (cursorUpParagraph): ditto
8863 (deleteEmptyParagraphMechanism): slight cleanup
8865 * text.C (isBoundary): take a Paragraph const & instead of a
8867 (addressBreakPoint): ditto
8868 (leftMargin): remove usage of Paragraph::previous.
8869 (setHeightOfRow): ditto
8870 (cursorLeftOneWord): ditto
8871 (selectNextWordToSpellcheck): ditto
8874 (breakParagraph): remove one usage of Paragraph::next
8875 (redoParagraph): ditto
8876 (acceptChange): ditto
8877 (insertChar): adjust
8878 (rowBreakPoint): adjust
8880 * bufferview_funcs.C (toggleAndShow): adjust
8882 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8884 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8885 methods to access it.
8887 * text.C: Added updateRowPositions to compute all row positions.
8888 Make top_y and getRowNearY() to use the cached y position
8890 2003-04-11 John Levon <levon@movementarian.org>
8892 * text.C (rowBreakPoint): reintroduce the labelEnd
8893 checks, code copied from the row fill stuff. Deep voodoo.
8895 * text.C (fill): add a comment and debugging for the
8898 2003-04-11 John Levon <levon@movementarian.org>
8900 * text.C: make sure fullrow insets get wrapped to the next line,
8901 even when they're in a manual label
8903 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8905 * text2.C (insertParagraph): make it take ParagraphList::iterator
8907 (setLayout): make it return ParagraphList::iterator
8908 (redoParagraphs): ditto
8910 (checkParagraph): ditto
8912 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8914 * text2.C: adjust several funcs.
8915 (realizeFont): take a ParagraphList::iterator as arg.
8916 (getLayoutFont): ditto
8917 (getLabelFont): ditto
8918 (setCharFont): ditto
8920 * text.C: adjust several funcs.
8922 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8924 * text.C (selectNextWordToSpellcheck): don't accidentally
8927 2003-04-10 John Levon <levon@movementarian.org>
8929 * ToolbarBackend.C (getIcon): special handling for
8932 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8934 * text2.C (cursorRight): a getChar assert fixed
8936 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8938 * text2.C (getFont): change to take a ParagraphList::iterator
8939 instead of Paragraph*
8940 Adjust several functions.
8942 * text.C (transformChar): change to take a ParagraphList::iterator
8943 instead of Paragraph*
8944 (singleWidth): ditto
8945 Adjust several functions.
8947 * rowpainter.C: adjust several functions
8948 * rowpainter.h:store a ParagraphList::iterator and not a
8952 2003-04-09 John Levon <levon@movementarian.org>
8957 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8958 and the "help" bits as well
8960 2003-04-09 John Levon <levon@movementarian.org>
8963 * ToolbarBackend.C: allow multiple toolbars
8965 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8967 * undo_funcs.C (setCursorParUndo): adjust
8969 * text_funcs.C (transposeChars): adjust
8971 * text3.C (gotoNextInset): adjust
8974 * text2.C (setLayout): adjust
8975 (changeDepth): adjust
8977 (redoParagraphs): adjust
8978 (selectionAsString): adjust
8979 (setParagraph): adjust
8980 (insertInset): adjust
8981 (cutSelection): adjust
8982 (copySelection): adjust
8983 (pasteSelection): adjust
8984 (insertStringAsLines): adjust
8985 (updateInset): adjust
8986 (setCursor): change to take a ParagraphList::iterator parameter
8987 (setCursorIntern): change to take a ParagraphList::iterator parameter
8988 (setCurrentFont): adjust
8989 (cursorLeft): adjust
8990 (cursorRight): adjust
8991 (deleteEmptyParagraphMechanism): adjust
8993 * text.C (breakParagraph): adjust
8994 (insertChar): adjust
8995 (acceptChange): adjust
8996 (rejectChange): adjust
8997 (selectNextWordToSpellcheck): adjust
8998 (changeCase): adjust
9002 * lyxfind.C (SearchForward): adjust
9003 (SearchBackward): adjust
9004 (nextChange): adjust
9006 * lyxcursor.C (par): adjust
9008 * lyxcursor.h: store a ParagraphList::iterator instead of a
9011 * lyx_cb.C (getPossibleLabel): adjust
9013 * bufferview_funcs.C (toggleAndShow): adjust
9015 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9018 * BufferView.C (removeAutoInsets): adjust
9019 (lockedInsetStoreUndo): adjust
9021 2003-04-09 John Levon <levon@movementarian.org>
9023 * ToolbarBackend.C: try icon without argument
9024 if with argument fails
9026 2003-04-08 John Levon <levon@movementarian.org>
9029 * ToolbarBackend.C: add getIcon(), handle tooltip,
9030 and change from "Icon" to "Item".
9032 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9034 * BufferView.C (lockInset): another bad getchar crunched
9036 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9038 * text2.C (changeDepth): do not setUndo on test_only (make undo work
9041 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
9043 * lyxfind.C (searchForward, searchBackwards): bug 782
9045 2003-04-07 John Levon <levon@movementarian.org>
9047 * paragraph.C: remove dead comment
9049 * text.C: remove troublesome depth-fiddling code
9050 in leftMargin() and rightMargin() (bug 1017)
9052 * text.C: fix breaking of rows in nested lists
9055 * text2.C (updateCounters): fix up depth values
9058 2003-04-07 John Levon <levon@movementarian.org>
9060 * BufferView_pimpl.C: clear message when doc finishes resizing,
9061 and after a mouse event
9063 * lyxfunc.C: clear message after exiting inset
9065 2003-04-07 John Levon <levon@movementarian.org>
9067 * bufferview_funcs.C: show math status not outside
9068 status in the statusbar
9070 2003-04-07 John Levon <levon@movementarian.org>
9072 * lyxfunc.C: note status changed after a depth change
9074 2003-04-04 Angus Leeming <leeming@lyx.org>
9076 * LaTeX.h: move AuxInfo operator==, != out of line.
9077 Remove LaTeX virtual destructor; nothing derives from it.
9078 Move operator()() out of public area and rename it startscript().
9079 Change protected for private.
9081 2003-04-04 Angus Leeming <leeming@lyx.org>
9084 * text2.C: remove unneeded #includes.
9086 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9088 * text2.C (dEPM): fix the heigth of the next row
9090 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9092 * text.C: squashed an invalid getChar requester + some ws changes
9094 2003-04-03 John Levon <levon@movementarian.org>
9096 * bufferview_funcs.h:
9097 * bufferview_funcs.C:
9100 * text2.C: make getStatus work for the env depth lfuns
9102 2003-04-03 John Levon <levon@movementarian.org>
9104 * bufferview_funcs.h:
9105 * bufferview_funcs.C:
9108 * text2.C: parlistize decDepth(), by merging it with incDepth()
9110 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9112 * lyxrow.h: store a ParagraphList::iterator instead of a
9113 Paragraph* and adjust other class functions to suit.
9115 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9118 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9120 * text2.C (setCursor): do not anchor to cursor row for the time being
9122 2003-04-02 John Levon <levon@movementarian.org>
9129 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9131 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9133 * paragraph.h: make ParagraphList and ParagraphList::iterator
9134 friends of Paragraph.
9136 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9138 * ParagraphList.C: Use the private next_ and previous_ from
9141 2003-04-01 John Levon <levon@movementarian.org>
9145 * Makefile.am: rename, remove defaults gunk
9148 * MenuBackend.C: remove defaults gunk
9151 * Languages.C: remove defaults gunk
9154 * lyx_main.C: error out if files couldn't be found.
9156 2003-04-02 John Levon <levon@movementarian.org>
9158 * text2.C: make incDepth() use parlist
9160 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9162 * undo_funcs.C (firstUndoParagraph): adjust
9164 * text3.C (gotoInset): adjust
9165 (dispatch): adjust, and rewrite loop.
9167 * text2.C (init): adjust, and rewrite loop.
9168 (redoParagraphs): adjust
9169 (updateInset): adjust, and rewrite loop.
9170 (deleteEmptyParagraphMechanism): adjust
9172 * tabular.C (LyXTabular): adjust
9173 (SetMultiColumn): adjust
9176 * lyxtext.[Ch] (ownerParagraph): delete function
9177 (ownerParagraphs): new function returns a ParagraphList.
9179 * BufferView.C (removeAutoInsets): adjust
9180 (insertErrors): adjust
9181 (setCursorFromRow): adjust
9183 2003-04-01 Angus Leeming <leeming@lyx.org>
9185 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9188 2003-04-02 John Levon <levon@movementarian.org>
9194 * text_funcs.C: make transposeChars a free function
9196 * lyxrow_funcs.C: remove wrong comment
9198 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9201 * rowpainter.C: adjust
9206 * lyxrow_funcs. [Ch]: new files
9208 * lyxrow.[Ch]: remove next and previous pointers
9209 (next,previous): remove accessor functions
9210 (isParEnd): move to lyxrow_funcs
9211 (lastPos): move to lyxrow_funcs
9212 (nextRowIsAllInset): move to lyxrow_funcs
9213 (lastPrintablePos): move to lyxrow_funcs
9214 (numberOfSeparators): move to lyxrow_funcs
9215 (numberOfHfills): move to lyxrow_funcs
9216 (numberOfLabelHfills): move to lyxrow_funcs
9217 (hfillExpansion): move to lyxrow_funcs
9221 * bufferview_funcs.C (toggleAndShow): adjust
9223 * RowList.h: Remove class RowList from file leave just a
9226 * RowList.C: delete file
9228 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9231 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9233 * text3.C (cursorPrevious): adjust
9234 (cursorNext): adjust
9237 * text2.C (redoHeightOfParagraph): adjust
9238 (redoDrawingOfParagraph): adjust
9241 * text.C (breakParagraph): adjust
9242 (insertChar): adjust
9245 * rowpainter.C (RowPainter): adjust
9246 (leftMargin): simplify and adjust
9247 (most rowpainter functions): adjust.
9249 * rowpainter.h: store the row as RowList::iterator not as Row*
9251 * lyxcursor.C (row): taka RowList::iterator as arg
9254 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9257 2003-04-01 Angus Leeming <leeming@lyx.org>
9259 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9260 stuff like bool Bool.
9262 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9264 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9267 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9269 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9272 * lyxtext.h (rows): drop one version and leve a const variant that
9273 returns a RowList::iterator.
9275 2003-03-31 Angus Leeming <leeming@lyx.org>
9277 * text.C (fill): ensure that the signature is the same as that in the
9280 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9282 * text2.C (redoParagraphs): adjust
9283 (updateCounters): adjust
9284 (checkParagraph): adjust
9285 (getColumnNearX): adjust and reformat a bit.
9287 * text.C (top_y): adjust
9289 (leftMargin): adjust
9290 (prepareToPrint): adjust
9292 (getRowNearY): adjust
9294 * lyxtext.h: make rowlist_ mutable.
9296 * RowList.h: add const_iterator
9297 * RowList.C: adjust for RowList::const_iterator.
9299 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9302 2003-03-31 John Levon <levon@movementarian.org>
9305 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9307 * lyx_main.C: set default fonts from using lyx_gui funcs
9309 * exporter.C: pdf_mode moved from lyxrc
9312 * lyxfunc.C: changes from above
9314 2003-03-31 John Levon <levon@movementarian.org>
9316 * lyx_main.C: fix to the last fix
9318 2003-03-31 John Levon <levon@movementarian.org>
9320 * bufferlist.C: "Load original" -> "Load Original"
9326 * format.C: more Alert cleanups
9328 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9330 * text2.C (removeParagraph): make it take a RowList::iterator as
9332 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9333 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9335 * text.C (anchor_row): make it take a RowList::iterator as arg,
9337 (computeBidiTables): make it take a const reference to Row instead
9338 of Row pointer, adjust.
9339 (leftMargin): make it take a RowList::iterator as arg, adjust.
9340 (rowBreakPoint): adjust
9341 (breakAgainOneRow): make it take a RowList::iterator as arg,
9343 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9345 * bufferview_funcs.C (toggleAndShow): adjust
9347 2003-03-30 John Levon <levon@movementarian.org>
9351 * boost-inst.C: moved to support
9353 * several files: changes as a result
9355 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9357 * text2.C (LyXText): adjust.
9359 (removeRow): make it take a RowList::iterator as arg, adjust.
9360 (fullRebreak): adjust
9361 (deleteEmptyParagraphMechanism): adjust
9362 (clearPaint): adjust
9365 * text.C (top_y): adjust
9366 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9367 (breakAgain): make it take a RowList::iterator as arg, adjust.
9368 (breakParagraph): adjust
9369 (insertChar): adjust
9372 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9373 need_break_row, and refresh_row.
9375 * text3.C (dispatch): adjust
9377 * text2.C (checkParagraph): adjust
9379 (setCursorFromCoordinates): adjust
9381 * text.C (top_y): adjust
9383 (getRow): make it return a RowList::iterator, adjust
9384 (getRowNearY): make it return a RowList::iterator, adjust
9386 * text2.C (init): adjust
9387 (insertRow): remove function
9388 (insertParagraph): adjust
9389 (redoParagraphs): adjust
9390 (fullRebreak): adjust
9391 (updateCounters): adjust
9393 * text.C (top_y): rewrite to use RowList iterators.
9395 (setHeightOfRow): rewrite to sue RowList iterators.
9396 (appendParagraph): adjust
9397 (breakAgain): adjust
9398 (breakAgainOneRow): adjust
9399 (breakParagraph): adjust
9401 (getRowNearY): adjust, and remove commented code.
9403 * lyxtext.h (firstRow): delete function
9404 (lastRow): delete function
9405 (rows): new function (const and non-const versions.)
9406 (insertRow): delete function
9408 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9410 2003-03-29 John Levon <levon@movementarian.org>
9412 * BufferView_pimpl.C: always update scrollbar top
9413 because pasting text when we're anchored could mean we
9414 miss an update altogether
9416 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9418 * text2.C (init): use rowlist_.end() and not 0.
9419 (insertRow): change to take a RowList::iterator as arg, adjust
9421 (insertParagraph): change to take a RowList::iterator as arg,
9423 (redoParagraphs): remove some debug msgs.
9425 * text.C (appendParagraph): change to take a RowList::iterator
9426 arg, adjust for this.
9427 (breakAgain): add an assert
9428 (breakAgainOneRow): ditto
9430 2003-03-29 John Levon <levon@movementarian.org>
9432 * text2.C: do not clear selection after inc/decDepth
9435 2003-03-29 John Levon <levon@movementarian.org>
9438 * buffer.C: fix broken strerrors according to Lars
9440 2003-03-29 John Levon <levon@movementarian.org>
9442 * converters.C: more Alert cleanups
9444 2003-03-29 John Levon <levon@movementarian.org>
9446 * bufferview_funcs.C: remove pointless Alert
9448 * buffer.C: fix confusing error message when
9449 a template is chmoded 000
9451 2003-03-29 John Levon <levon@movementarian.org>
9455 * BufferView_pimpl.C: Alert fixes
9459 * tabular-old.C: remove unused table compat reading
9461 2003-03-29 John Levon <levon@movementarian.org>
9466 * lyx_cb.C: more Alert cleanups
9468 * lyxfunc.C: don't allow chktex if not latex document
9470 2003-03-29 John Levon <levon@movementarian.org>
9474 * buffer.C: warnings pushed down from support/,
9477 2003-03-29 John Levon <levon@movementarian.org>
9479 * lyxfunc.C: safety check for C-r (revert)
9481 2003-03-29 John Levon <levon@movementarian.org>
9484 * bufferlist.C: several UI fixes using Alert::prompt.
9485 Fix the pointless looping quit code. Fix stupid revert
9490 * lyx_cb.C: use Alert::prompt
9492 * lyx_main.C: remove a silly question
9494 * lyxfunc.C: remove a couple of silly questions,
9497 2003-03-28 John Levon <levon@movementarian.org>
9499 * text2.C: fix bug 974 (End on empty par)
9501 2003-03-28 John Levon <levon@movementarian.org>
9503 * BufferView_pimpl.C:
9505 * lfuns.h: remove do-nothing math greek lfuns
9507 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9509 * lyxgluelength.h (isValidGlueLength): add default arg on
9510 parameter 2. Remove default arg from friend in class.
9512 * lyxlength.h (isValidLength): add default arg on parameter 2.
9513 Remove default arg from friend in class.
9515 * text2.C (LyXText): adjust, initialize refresh_row.
9519 (insertParagraph): adjst
9520 (redoParagraphs): adjust
9521 (fullRebreak): adjust
9522 (updateCounters): adjust
9523 (deleteEmptyParagraphMechanism): first attempt at fixing a
9526 * text.C (top_y): adjust
9527 (setHeightOfRow): adjust
9529 (getRowNearY): adjust
9531 * lyxtext.h: include RowList.h
9532 (~LyXText): not needed anymore, deleted.
9533 (firstRow): modify for RowList
9534 (lastRow): new function
9535 Delete firstrow and lastrow class variables, add a Rowlist
9536 rowlist_ class variable.
9538 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9541 * RowList.C (insert): fix case where it == begin().
9543 2003-03-26 Angus Leeming <leeming@lyx.org>
9545 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9546 the thesaurus dialog.
9548 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9550 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9552 * RowList.[Ch]: new files
9554 * ParagraphList.C (erase): handle the case where it == begin
9557 2003-03-25 John Levon <levon@movementarian.org>
9561 * aspell.C: add new aspell support
9564 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9567 2003-03-25 Angus Leeming <leeming@lyx.org>
9570 * LyXAction.C (init): new LFUN_INSET_INSERT.
9572 * BufferView_pimpl.C (dispatch): split out part of the
9573 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9575 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9578 2003-03-25 Angus Leeming <leeming@lyx.org>
9580 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9582 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9585 * text3.C: remove useless row->height(0)
9587 2003-03-25 John Levon <levon@movementarian.org>
9591 * text3.C: rename the refreshing stuff to better names
9593 2003-03-24 John Levon <levon@movementarian.org>
9595 * BufferView_pimpl.h:
9596 * BufferView_pimpl.C: update layout choice on a mouse
9599 2003-03-23 John Levon <levon@movementarian.org>
9601 * Makefile.am: fix commandtags.h reference
9603 2003-03-22 John Levon <levon@movementarian.org>
9605 * BufferView_pimpl.C:
9610 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9612 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9615 * text.C: take the rtl methods out of line
9617 2003-03-21 André Pönitz <poenitz@gmx.net>
9619 * metricsinfo.[Ch]: new files containing structures to be passed around
9620 during the two-phase-drawing...
9622 2003-03-21 André Pönitz <poenitz@gmx.net>
9624 * lyxtextclass.C: read 'environment' tag.
9626 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9628 * text2.C (removeRow): fix bug 964
9630 2003-03-20 John Levon <levon@movementarian.org>
9634 * text2.C: paint cleanups. Inset::update() dropped font
9637 2003-03-19 John Levon <levon@movementarian.org>
9639 * lyxfunc.C: only fitcursor/markDirty if available()
9641 2003-03-19 John Levon <levon@movementarian.org>
9643 * commandtags.h: rename to ...
9645 * lfuns.h: ... this, and renumber / cleanup
9647 2003-03-19 John Levon <levon@movementarian.org>
9649 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9650 fit the cursor after an lfun
9654 * BufferView_pimpl.h:
9655 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9657 * LyXAction.C: layout-character should have ReadOnly
9659 * ParagraphParameters.C:
9661 * bufferview_funcs.C:
9668 * undo_funcs.C: changes from above
9670 2003-03-18 John Levon <levon@movementarian.org>
9672 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9673 remove it from update()
9675 * lyxfunc.C: update layout choice after an lfun
9677 * text3.C: remove extra updateLayoutChoice()s
9679 2003-03-18 John Levon <levon@movementarian.org>
9681 * text.C: top_y change means full repaint, fix
9682 a drawing bug with cursor movement
9684 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9688 * text2.C: anchor row on setCursor
9690 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9692 * lyxtext.h: remove almost all mutable keywords
9695 * text3.C: remove const keywords accordingly
9697 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9699 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9701 (TeXEnvironment): ditto
9704 2003-03-17 John Levon <levon@movementarian.org>
9706 * text.C (rowBreakPoint): remove attempt to fix displayed
9707 math insets inside a manual label
9709 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9711 * lyxtext.h: remove BufferView* as first arg from almost all class
9713 * other files: adjust.
9715 2003-03-17 John Levon <levon@movementarian.org>
9719 * text2.C: more paint cleanups
9721 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9724 * rowpainter.C: remove "smart" background painting code
9726 2003-03-16 John Levon <levon@movementarian.org>
9731 * text3.C: add helper functions for setting refresh_row/y
9733 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9735 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9736 newline inset which *can* get inserted in the pass_thru layouts.
9737 This is primarily for literate documents.
9739 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9741 * buffer.C: increment LYX_FORMAT to 223
9743 2003-03-14 André Pönitz <poenitz@gmx.net>
9745 * textclass.h: prepare for environment handling, ws changes
9746 * lyxlayout.C: read latexheader and latexfooter tags
9748 2003-03-14 John Levon <levon@movementarian.org>
9750 * text2.C: rewrite ::status() a bit
9752 2003-03-13 John Levon <levon@movementarian.org>
9754 * lyxtext.h: add some docs
9756 2003-03-13 John Levon <levon@movementarian.org>
9761 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9763 2003-03-13 John Levon <levon@movementarian.org>
9765 * text3.C: fix appendix redrawing
9767 2003-03-13 John Levon <levon@movementarian.org>
9769 * text.C (setHeightOfRow):
9771 * rowpainter.C: make appendix mark have the text
9772 "Appendix" so the user knows what it is
9775 * LColor.C: s/appendixline/appendix/ from above
9777 2003-03-13 John Levon <levon@movementarian.org>
9779 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9781 * text.C: fix a getChar(pos) bug properly
9783 2003-03-13 Angus Leeming <leeming@lyx.org>
9786 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9787 Probably only temporary. Let's see how things pan out.
9789 * BufferView.C (unlockInset):
9790 * BufferView_pimpl.C (fitCursor):
9791 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9793 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9794 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9796 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9797 new functions that convert ParagraphParameters to and from a string.
9799 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9800 BufferView::Pimpl's dispatch.
9801 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9803 2003-03-13 André Pönitz <poenitz@gmx.net>
9807 * factory.C: make it aware of InsetEnv
9809 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9811 * text2.C (setCursor): never ask for one past last
9812 (setCursor): add some debugging messages.
9814 * text.C (singleWidth): never ask for one past last
9815 (singleWidth): ditto
9817 (rightMargin): ditto
9818 (rowBreakPoint): ditto
9819 (setHeightOfRow): ditto
9820 (prepareToPrint): ditto
9822 * rowpainter.C (paintBackground): never ask for one past last
9823 (paintText): never ask for one past last
9825 * paragraph_pimpl.C (getChar): make the assert stricter, never
9826 allow the one past last pos to be taken
9828 * paragraph.C (getChar): ws changes only
9830 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9831 (numberOfSeparators): ditto
9832 (numberOfHfills): ditto
9834 2003-03-12 John Levon <levon@movementarian.org>
9840 * paragraph_funcs.C: fix per-buffer authorlists
9842 2003-03-12 John Levon <levon@movementarian.org>
9844 * text.C: fix newline in right address
9846 2003-03-12 Angus Leeming <leeming@lyx.org>
9848 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9849 duplicate those in LyXFunc::dispatch.
9853 * ToolbarDefaults.C:
9854 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9855 Add LFUN_FONTFREE_UPDATE.
9857 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9858 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9860 * bufferview_func.[Ch]: several new functions to facilliate
9861 transfer of data to and from the character dialog.
9863 2003-03-12 John Levon <levon@movementarian.org>
9868 * paragraph_funcs.C:
9869 * paragraph_pimpl.C:
9873 * text3.C: remove META_NEWLINE in favour of an inset
9876 * rowpainter.C: remove paintNewline (done by inset)
9878 2003-03-12 John Levon <levon@movementarian.org>
9880 * paragraph_pimpl.C: complain about bad getChar()s
9881 for a while at least
9883 2003-03-12 John Levon <levon@movementarian.org>
9886 * buffer.C: move paragraph read into a separate function,
9887 a little renaming to reflect that.
9890 * bufferparams.C: remove the author_ids map, not necessary now
9893 * factory.C: moved Buffer::readInset to here
9895 * paragraph_funcs.h:
9896 * paragraph_funcs.C: readParagraph free function moved from
9899 * tabular.C: name change
9901 2003-03-12 John Levon <levon@movementarian.org>
9904 * ParagraphParameters.C: move par params input to
9907 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9908 behave like a normal read from the stream wrt reading
9909 a line vs. a \\token
9911 2003-03-12 John Levon <levon@movementarian.org>
9914 * ParagraphParameters.h:
9915 * ParagraphParameters.C: move output code to a
9918 2003-03-12 John Levon <levon@movementarian.org>
9920 * BufferView.C (insertLyXFile):
9923 * tabular.C: use a parlist iterator for creating the
9926 2003-03-12 John Levon <levon@movementarian.org>
9928 * buffer.C: make current_change static local not
9931 2003-03-12 John Levon <levon@movementarian.org>
9933 * buffer.C: fix insertStringAsLines for change tracking
9935 2003-03-12 John Levon <levon@movementarian.org>
9942 * bufferparams.C: move author list into params. Rename some
9943 functions. Move the header reading into a separate token
9944 loop. Move the header token reading into BufferParams.
9946 2003-03-12 John Levon <levon@movementarian.org>
9948 * changes.C: put debug inside lyxerr.debugging() checks
9950 2003-03-11 André Pönitz <poenitz@gmx.net>
9952 * factory.C: make it aware of InsetHFill
9954 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9956 * buffer.C (latexParagraphs): move function from here...
9957 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9960 2003-03-10 Angus Leeming <leeming@lyx.org>
9962 * LyXAction.C (init): fix bug in poplating array with multiple entries
9963 with the same LFUN (spotted by JMarc).
9965 2003-03-10 John Levon <levon@movementarian.org>
9968 * text2.C: move getColumnNearX() near its
9971 2003-03-10 John Levon <levon@movementarian.org>
9973 * text.C: fix break before a minipage
9975 2003-03-10 John Levon <levon@movementarian.org>
9977 * text.C: fix the last commit
9979 2003-03-09 John Levon <levon@movementarian.org>
9983 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9984 bug 365 (don't break before insets unless needed). Don't
9985 return a value > last under any circumstances.
9987 2003-03-09 Angus Leeming <leeming@lyx.org>
9989 * BufferView_pimpl.C (trackChanges, dispatch): call
9990 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9992 2003-03-09 Angus Leeming <leeming@lyx.org>
9994 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9995 than Dialogs::showAboutlyx().
9997 2003-03-09 Angus Leeming <leeming@lyx.org>
9999 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
10000 than Dialogs::showTabularCreate().
10002 2003-03-09 John Levon <levon@movementarian.org>
10006 * text2.C: 3rd arg to nextBreakPoint was always the same.
10009 2003-03-08 John Levon <levon@movementarian.org>
10016 * text2.C: Remove the "main" bit from the "main body"
10019 2003-03-08 John Levon <levon@movementarian.org>
10021 * text.C (leftMargin): The left margin of an empty
10022 manual label paragraph should not include the label width
10025 * text.C (prepareToPrint): don't attempt to measure hfills
10026 for empty manual label paragraphs - the answer should be 0
10028 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10030 * CutAndPaste.C: remove commented code and reindent.
10032 2003-03-08 John Levon <levon@movementarian.org>
10035 * lyxfunc.C: move reloadBuffer()
10038 * BufferView.C: to here
10040 * lyxvc.C: add comment
10043 * vc-backend.C: call bv->reload() to avoid
10044 getStatus() check on MENURELOAD
10046 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
10048 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10049 to an old format .dep file.
10051 2003-03-07 Angus Leeming <leeming@lyx.org>
10053 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10054 when the LFUN_MOUSE_RELEASE should have been handled by
10055 inset->localDispatch.
10057 2003-03-07 Angus Leeming <leeming@lyx.org>
10059 * BufferView_pimpl.C (dispatch):
10060 * LyXAction.C (init):
10061 * ToolbarDefaults.C (init):
10063 * lyxfunc.C (getStatus):
10064 remove LFUN_INSET_GRAPHICS.
10066 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10068 2003-03-07 Angus Leeming <leeming@lyx.org>
10071 * LyXAction.C (init):
10072 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10074 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10077 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10079 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10080 localDispatch method LFUN_INSET_DIALOG_UPDATE.
10082 2003-03-07 Angus Leeming <leeming@lyx.org>
10084 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10087 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10089 * ParagraphList.C (front): new function
10092 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10094 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10095 and top_row_offset_. removed var first_y.
10097 * text2.C (LyXText, removeRow):
10099 * BufferView_pimpl.C:
10100 use these methods instead of using first_y
10102 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10104 * text2.C (pasteSelection): adjust for checkPastePossible
10106 * CutAndPaste.C: remove Paragraph * buf and replace with
10107 ParagraphList paragraphs.
10108 (DeleteBuffer): delete
10109 (cutSelection): change the tc type to textclass_type
10110 (copySelection): change the tc type to textclass_type
10111 (copySelection): adjust for ParagraphList
10112 (pasteSelection): change the tc type to textclass_type
10113 (pasteSelection): adjust for Paragraphlist
10114 (nrOfParagraphs): simplify for ParagraphList
10115 (checkPastePossible): simplify for ParagraphList
10116 (checkPastePossible): remove unused arg
10118 * ParagraphList.C (insert): handle the case where there are no
10121 * CutAndPaste.h: make CutAndPaste a namespace.
10123 * text3.C (dispatch): adjust
10125 * text.C (breakParagraph): add a ParagraphList as arg
10127 * paragraph_funcs.C (breakParagraph): change to take a
10128 BufferParams and a ParagraphList as args.
10129 (breakParagraphConservative): ditto
10130 (mergeParagraph): ditto
10131 (TeXDeeper): add a ParagraphList arg
10132 (TeXEnvironment): ditto
10135 * buffer.C (readLyXformat2): adjust
10136 (insertStringAsLines): adjust
10137 (latexParagraphs): adjust
10139 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10140 (cutSelection): adjust
10141 (pasteSelection): adjust
10143 * BufferView_pimpl.C (insertInset): adjust
10145 2003-03-05 Angus Leeming <leeming@lyx.org>
10148 * LyXAction.C (init):
10149 * BufferView_pimpl.C (dispatch):
10150 * lyxfunc.C (getStatus):
10151 remove LFUN_CHILD_INSERT.
10153 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10155 2003-03-05 Angus Leeming <leeming@lyx.org>
10158 * LyXAction.C (init):
10159 * src/factory.C (createInset):
10160 * lyxfunc.C (getStatus):
10161 * text3.C (dispatch):
10162 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10164 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10166 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10168 * ParagraphList.C (insert): handle insert right before end()
10169 (erase): fix cases where it can be first or last paragraph.
10171 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10173 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10174 Paragraph::next and Paragraph::previous
10177 * text.C (breakParagraph): adjust
10179 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10180 BufferParams& as arg.
10181 (breakParagraph): use ParagraphList::insert
10182 (breakParagraphConservative): take a Buffer* instead of a
10183 BufferParams& as arg.
10184 (breakParagraphConservative): use ParagraphList::insert.
10186 * buffer.C (insertStringAsLines): un-const it
10187 (insertStringAsLines): adjust
10189 * ParagraphList.C (insert): new function
10191 * CutAndPaste.C (pasteSelection): adjust
10193 * text.C (backspace): adjust
10195 * tabular.C (SetMultiColumn): adjust
10197 * CutAndPaste.C (cutSelection): adjust
10198 (pasteSelection): adjust
10200 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10201 Buffer const * as arg
10203 * ParagraphList.C (erase): new function
10204 * paragraph_funcs.C (mergeParagraph): use it
10205 (mergeParagraph): make it take a Buffer* instead of a
10206 BufferParams* as arg
10208 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10210 (breakParagraphConservative): ditto
10212 * paragraph.h: remove the breakParagraph friend
10214 * paragraph.C (eraseIntern): new function
10215 (setChange): new function
10217 * paragraph_funcs.C (mergeParagraph): make it take a
10218 ParagraphList::iterator instead of a Paragraph *, adjust
10221 * paragraph.h: move an #endif so that the change tracking stuff
10222 also works in the NO_NEXT case.
10224 2003-03-04 Angus Leeming <leeming@lyx.org>
10227 * LyXAction.C: new LFUN_INSET_MODIFY.
10229 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10230 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10232 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10234 * several files: ws changes only
10236 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10237 (TeXEnvironment): ditto
10240 * buffer.C (makeLaTeXFile): adjust
10241 (latexParagraphs): make it take ParagraphList::iterator as args
10243 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10245 * buffer.C (latexParagraphs): adjust
10247 * paragraph.C (TeXOnePar): move function...
10248 (optArgInset): move function...
10249 (TeXEnvironment): move function...
10250 * paragraph_pimpl.C (TeXDeeper): move function...
10251 * paragraph_funcs.C: ...here
10253 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10255 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10257 * buffer.C (readInset): remove compability code for old Figure and
10260 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10262 * buffer.C: ws changes
10265 * BufferView_pimpl.C: ditto
10268 * bufferlist.h: ditto
10272 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10274 * converter.[Ch]: split into itself +
10277 * Makefile.am: += graph.[Ch] + format.[Ch]
10284 * lyxrc.C: added #include "format.h"
10286 2003-02-27 Angus Leeming <leeming@lyx.org>
10288 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10291 * factory.C (createInset): add "label" to the factory.
10293 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10294 string and do no more.
10296 2003-02-27 Angus Leeming <leeming@lyx.org>
10299 * LyXAction.C (init):
10300 * factory.C (createInset):
10301 * BufferView_pimpl.C (dispatch):
10302 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10304 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10306 * lyxfunc.C (dispatch):
10307 * text3.C (dispatch): pass name to params2string.
10309 2003-02-26 Angus Leeming <leeming@lyx.org>
10311 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10313 Rearrange the ~includes. Strip out the unnecessary ones.
10315 * factory.C (createInset): reformat.
10316 create new insets for the various LFUN_XYZ_APPLY lfuns.
10318 2003-02-26 John Levon <levon@movementarian.org>
10321 * lyxrow.C: add isParStart,isParEnd helpers
10323 * paragraph.h: make isInserted/DeletedText take refs
10325 * paragraph_funcs.h:
10326 * paragraph_funcs.C: remove #if 0'd code
10331 * text.C: use lyxrow helpers above.
10332 Move draw and paint routines to RowPainter.
10333 Make several methods use refs not pointers.
10334 Make backgroundColor() const.
10335 Add markChangeInDraw(), isInInset().
10336 Merge changeRegionCase into changeCase.
10337 Make workWidth() shouldn't-happen code into an Assert.
10340 * rowpainter.C: new class for painting a row.
10343 * vspace.C: make inPixels take a ref
10345 2003-02-26 Angus Leeming <leeming@lyx.org>
10347 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10350 2003-02-25 John Levon <levon@movementarian.org>
10352 * ispell.C: give the forked command a more accurate name
10354 2003-02-22 John Levon <levon@movementarian.org>
10357 * toc.C: make TocItem store an id not a Paragraph *
10360 2003-02-21 Angus Leeming <leeming@lyx.org>
10362 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10363 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10364 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10365 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10366 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10367 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10369 * BufferView_pimpl.C (dispatch):
10370 * LyXAction.C (init):
10371 * factory.C (createInset):
10372 * lyxfunc.C (getStatus, dispatch):
10373 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10375 2003-02-21 Angus Leeming <leeming@lyx.org>
10377 * BufferView_pimpl.C (MenuInsertLyXFile):
10378 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10379 * lyxfunc.C (menuNew, open, doImport):
10380 no longer pass a LyXView & to fileDlg.
10382 2003-02-21 Angus Leeming <leeming@lyx.org>
10384 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10385 * LyXAction.C: change, BIBKEY to BIBITEM.
10386 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10387 Change InsetBibKey to InsetBibitem.
10388 Change BIBKEY_CODE to BIBITEM_CODE.
10389 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10390 * factory.C: replace insetbib.h with insetbibitem.h.
10391 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10392 * paragraph.C: replace insetbib.h with insetbibitem.h.
10393 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10394 Change bibkey() to bibitem().
10395 * text.C: remove insetbib.h.
10396 * text2.C: replace insetbib.h with insetbibitem.h.
10397 change bibkey() to bibitem().
10398 * text3.C: remove insetbib.h.
10399 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10401 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10403 * lyxrc.C (output): enclose user email in quotes (in case there are
10406 2003-02-18 John Levon <levon@movementarian.org>
10408 * buffer.h: add std::
10410 2003-02-17 John Levon <levon@movementarian.org>
10416 * pspell.C: reworking. Especially in ispell, a large
10417 number of clean ups and bug fixes.
10419 * lyxfunc.C: fix revert to behave sensibly
10421 2003-02-17 André Pönitz <poenitz@gmx.net>
10424 * commandtags.h: new LFUN_INSERT_BIBKEY
10434 * paragraph_func.C: remove special bibkey handling
10436 2003-02-17 John Levon <levon@movementarian.org>
10438 * text.C (Delete): fix case where delete at the end of
10439 the very first paragraph would not merge the pars
10441 2003-02-17 John Levon <levon@movementarian.org>
10443 * lyxrow.C: fix lastPrintablePos()
10445 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10447 * bufferparams.C (writeLaTeX): add a std:here
10449 * buffer.C: and remove a using directive there
10451 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10453 * buffer.C (makeLaTeXFile): move the code that generates the
10456 * bufferparams.C (writeLaTeX): ... in this new method
10458 * LaTeXFeatures.C (getEncodingSet): make const
10459 (getLanguages): make const
10461 * MenuBackend.C (binding): returns the binding associated to this
10463 (add): sets the status of each item by calling getStatus. Adds
10465 (read): add support for OptSubMenu
10466 (expand): remove extra separator at the end of expanded menu
10468 2003-02-15 John Levon <levon@movementarian.org>
10471 * BufferView_pimpl.C:
10473 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10474 inset code that had no actual effect. Remove unneeded status
10477 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10479 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10482 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10484 * text.C (drawLengthMarker): also draw an arrow marker for
10485 symbolic lengths (medskip...)
10487 2003-02-14 John Levon <levon@movementarian.org>
10490 * tabular.C: better method names
10492 2003-02-14 John Levon <levon@movementarian.org>
10494 * BufferView_pimpl.C:
10499 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10500 it's a more accurate name. Remove some pointless uses.
10502 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10504 * text2.C (LyXText): change order of initilizers to shut off
10507 2003-02-14 John Levon <levon@movementarian.org>
10509 * buffer.C: use ParIterator for getParFromID()
10513 * paragraph_pimpl.h:
10514 * paragraph_pimpl.C: remove unused getParFromID()
10516 2003-02-14 John Levon <levon@movementarian.org>
10518 * buffer.C: remove some very old #if 0'd parse code
10520 2003-02-13 John Levon <levon@movementarian.org>
10524 * text2.C: move hfillExpansion(), numberOfSeparators(),
10525 rowLast(), rowLastPrintable(), numberofHfills(),
10526 numberOfLabelHfills() ...
10529 * lyxrow.C: ... to member functions here.
10534 * text.C: remove LyXText::beginningOfMainBody(), and call
10535 p->beginningOfMainBody() directly. Move the check for
10536 LABEL_MANUAL into the latter.
10543 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10549 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10550 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10552 2003-02-13 John Levon <levon@movementarian.org>
10554 * CutAndPaste.C: remove debug
10556 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10558 * paragraph.C (asString): remove two unused variables
10560 * lyxtextclass.C (readTitleType):
10562 (LyXTextClass): handle new members titletype_ and titlename_
10564 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10566 2003-02-09 John Levon <levon@movementarian.org>
10569 * buffer.C: replace hand-coded list with a map for the dep clean
10571 2003-02-08 John Levon <levon@movementarian.org>
10573 * LaTeX.C: consolidate code into showRunMessage() helper
10575 2003-02-08 John Levon <levon@movementarian.org>
10580 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10581 and pass the size in explicitly
10583 * BufferView_pimpl.h:
10584 * BufferView_pimpl.C:
10586 * BufferView.C: add getCurrentChange()
10588 * BufferView_pimpl.h:
10589 * BufferView_pimpl.C: handle change lfuns
10591 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10592 for changes. Mark pasted paragraphs as new.
10594 * support/lyxtime.h:
10595 * support/lyxtime.C:
10596 * DepTable.C: abstract time_t as lyx::time_type
10599 * LColor.C: add colours for new text, deleted text, changebars
10601 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10602 package use "usenames" option.
10606 * LyXAction.C: add change lfuns
10610 * author.C: author handling
10613 * buffer.C: add a per-buffer author list, with first entry as
10614 current author. Handle new .lyx tokens for change tracking. Output
10615 author list to .lyx file. Output dvipost stuff to .tex preamble.
10616 Bump lyx format to 222.
10619 * bufferlist.C: add setCurrentAuthor() to reset current author details
10623 * bufferparams.C: add param for tracking
10625 * bufferview_funcs.C: output change info in minibuffer
10629 * changes.C: add change-tracking structure
10632 * debug.C: add CHANGES debug flag
10635 * lyxfind.C: add code for finding the next change piece
10638 * lyxrc.C: add user_name and user_email
10641 * lyxrow.C: add a metric for the top of the text line
10644 * text.C: implement accept/rejectChange()
10647 * text.C: paint changebars. Paint new/deleted text in the chosen
10648 colours. Strike through deleted text.
10652 * paragraph_pimpl.h:
10653 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10654 in the current change to the insert functions. Rework erase to
10655 mark text as deleted, adding an eraseIntern() and a range-based
10656 erase(). Implement per-paragraph change lookup and
10659 * paragraph_funcs.C: Fixup paste for change tracking.
10661 * tabular.C: mark added row/columns as new.
10663 * text.C: fix rowLast() to never return -1. Don't allow
10664 spellchecking of deleted text. Track transpose changes. Don't
10665 allow paragraph break or merge where appropriate.
10667 * text2.C: leave cursor at end of selection after a cut.
10669 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10671 * text.C (getLengthMarkerHeight):
10672 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10673 visible on screen too.
10675 2003-02-07 John Levon <levon@movementarian.org>
10677 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10679 2003-02-05 Angus Leeming <leeming@lyx.org>
10681 * lyxserver.C (read_ready): revert my patch of 11 September last year
10682 as it sends PC cpu through the roof. Presumably this means that
10683 the lyxserver will no longer run on an Alpha...
10685 2003-01-30 Angus Leeming <leeming@lyx.org>
10687 * factory.C (createInset): create an InsetCommandParam of type "index"
10688 and use it to 'do the right thing'.
10690 * text2.C (getStringToIndex): ensure that cursor position is always
10691 reset to the reset_cursor position.
10693 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10695 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10698 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10702 * lyxfunc.C: Output messages with identical spelling, punctuation,
10705 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10707 * MenuBackend.C (expandFormats): List only viewable export formats
10710 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10713 * lyxfunc.C (getStatus): Make sure that formats other than
10714 "fax" can also be disabled
10716 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10718 * text3.C (dispatch): put the lfuns that insert insets in 3
10719 groups, and call doInsertInset with appropriate arguments.
10720 (doInsertInset): new function, that creates an inset and inserts
10721 it according to some boolean parameters.
10723 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10725 * buffer.C (readFile): remember to pass on 'par' when calling
10726 readFile recursively.
10728 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10730 * MenuBackend.C (expandFormats): add "..." to import formats.
10732 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10734 * paragraph.C (asString): Remove XForms RTL hacks.
10736 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10737 * buffer.C: fix typo
10739 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10741 * Makefile.am (LIBS): delete var
10742 (lyx_LDADD): add @LIBS@ here instead.
10744 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10746 * Clarify the meaning of "wheel mouse jump"
10748 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10750 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10753 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10755 * importer.C (Loaders): do not preallocate 3 elements in the
10756 vector, since one ends up with 6 elements otherwise
10758 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10760 * DepTable.C (write): write the file name as last element of the
10761 .dep file (because it may contain spaces)
10762 (read): read info in the right order
10764 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10766 * paragraph_pimpl.C (simpleTeXBlanks):
10767 (simpleTeXSpecialChars):
10768 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10770 * tabular.C (latex): add some missing case statements. Reindent.
10772 * MenuBackend.C (expandToc): remove unused variable.
10774 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10783 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10786 2003-01-05 John Levon <levon@movementarian.org>
10789 * BufferView.C: add getEncoding()
10792 * kbsequence.C: do not store last keypress
10795 * lyxfunc.C: store last keypress here instead. Pass encoding
10798 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10800 * lyx_main.C (init): remove annoying error message when following
10801 symbolic links (bug #780)
10803 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10805 * text.C (insertChar):
10806 * lyxrc.C (getDescription): remove extra spaces
10808 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10810 * lyxrc.C (getDescription): remove extra spaces
10812 2002-12-20 John Levon <levon@movementarian.org>
10814 * text3.C: hack fix for page up/down across tall rows
10816 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10818 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10821 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10823 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10824 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10825 thesaurus is not compiled in
10827 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10829 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10831 2002-12-16 Angus Leeming <leeming@lyx.org>
10834 * lyx_main.C (init): remove override_x_deadkeys stuff.
10836 2002-12-12 John Levon <levon@movementarian.org>
10838 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10839 insert. Only remove shift modifier under strict
10842 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10844 * MenuBackend.C (expandToc): fix crash.
10846 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10848 * MenuBackend.C (expandToc): gettext on float names.
10850 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10852 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10853 implement bool empty() [bug 490]
10855 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10857 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10859 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10861 * several files: ws changes
10863 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10865 * text2.C (setCounter): clean up a bit, use boost.format.
10866 (updateCounters): initialize par upon declaration.
10868 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10869 if the layout exists. We do not just store the layout any more.
10870 (SwitchLayoutsBetweenClasses): use boost.format
10872 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10874 * converter.C (convert): if from and to files are the same, use a
10875 temporary files as intermediary
10877 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10880 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10882 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10884 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10886 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10888 * tabular.C (asciiPrintCell): use string(size, char) instead of
10891 * sgml.C (openTag): fix order of arguments to string constructor
10894 * lyxfunc.C (dispatch): use boost.format
10896 * lots of files: change "c" -> 'c'
10898 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10900 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10902 2002-11-25 Angus Leeming <leeming@lyx.org>
10904 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10906 * lyx_main.C (init): compile fix.
10908 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10910 * lyx_cb.C (start): boost.formatify
10911 do not include <iostream>
10913 * lengthcommon.C: ws only
10915 * boost-inst.C,BoostFormat.h: add more explict instantations
10917 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10919 * lots of files: handle USE_BOOST_FORMAT
10921 2002-11-21 John Levon <levon@movementarian.org>
10923 * pspell.C: fix compile
10925 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10927 * lyxfunc.C (dispatch): use boost::format
10931 * lyxfont.C (stateText): use boost::format
10933 * lyx_main.C (LyX): use boost::format
10935 (queryUserLyXDir): ditto
10936 (readRcFile): ditto
10938 (typedef boost::function): use the recommened syntax.
10940 * importer.C (Import): use boost::format
10942 * debug.C (showLevel): use boost::format
10944 * converter.C (view): use boost::format
10949 * bufferview_funcs.C (currentState): use boost::format
10951 * bufferlist.C (emergencyWrite): use boost::format
10953 * buffer.C (readLyXformat2): use boost::format
10954 (parseSingleLyXformat2Token): ditto
10956 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10958 * LaTeX.C (run): use boost::format
10960 * Chktex.C (scanLogFile): use boost::format
10962 * BufferView_pimpl.C (savePosition): use boost::format
10963 (restorePosition): ditto
10964 (MenuInsertLyXFile): ditto
10966 * BoostFormat.h: help file for explicit instation.
10968 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10970 * tabular.C (latex): Support for block alignment in fixed width
10973 2002-11-17 John Levon <levon@movementarian.org>
10975 * BufferView_pimpl.C:
10977 * lyxfunc.C: split filedialog into open/save
10979 2002-11-08 Juergen Vigna <jug@sad.it>
10981 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10982 by my last patch (hopefully).
10984 2002-11-08 John Levon <levon@movementarian.org>
10993 * toc.C: ParConstIterator, and use it (from Lars)
10995 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10997 * lyxtextclass.[Ch]: revise and add doxygen comments
10999 2002-11-07 John Levon <levon@movementarian.org>
11001 * text.C: fix progress value for spellchecker
11003 * toc.C: fix navigate menu for insetwrap inside minipage
11005 * paragraph_funcs.C: added FIXME for suspect code
11007 2002-11-07 John Levon <levon@movementarian.org>
11009 * BufferView_pimpl.C: fix redrawing of insets
11012 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11014 * text2.C (updateCounters): fix bug 668
11016 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
11018 * text3.C (dispatch): Do not make the buffer dirty when moving the
11021 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11023 * vc-backend.C: STRCONV
11024 (scanMaster): ditto
11026 * text2.C (setCounter): STRCONV
11028 * paragraph.C (asString): STRCONV
11030 * lyxlength.C (asString): STRCONV
11031 (asLatexString): ditto
11033 * lyxgluelength.C (asString): STRCONV
11034 (asLatexString): ditto
11036 * lyxfunc.C (dispatch): STRCONV
11039 * lyxfont.C (stateText): STRCONV
11041 * importer.C (Import): STRCONV
11043 * counters.C (labelItem): STRCONV
11044 (numberLabel): ditto
11045 (numberLabel): remove unused ostringstream o
11050 * bufferview_funcs.C (currentState): STRCONV
11052 * buffer.C (readFile): STRCONV
11053 (asciiParagraph): ditto
11054 (makeLaTeXFile): ditto
11056 * Spacing.C (writeEnvirBegin): STRCONV
11058 * LaTeXFeatures.C (getLanguages): STRCONV
11059 (getPackages): ditto
11061 (getBabelOptions): ditto
11062 (getTClassPreamble): ditto
11063 (getLyXSGMLEntities): ditto
11064 (getIncludedFiles): ditto
11068 (scanAuxFile): ditto
11071 * LString.h: add the STRCONV macros
11073 * BufferView_pimpl.C (savePosition): STRCONV
11074 (restorePosition): ditto
11075 (MenuInsertLyXFile): ditto
11077 * vc-backend.C (scanMaster): change from submatch[...] to
11080 * funcrequest.C: include config.h
11082 * factory.C: include config.h
11084 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11086 * box.C: include config.h
11088 * LaTeX.C (scanAuxFile): change from submatch[...] to
11092 2002-10-25 Angus Leeming <leeming@lyx.org>
11094 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11096 * ispell.[Ch] (setError): new method.
11097 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11098 Use setError() insetead of goto END.
11100 * lyx_cb.C (AutoSave): move out child process into new class
11103 2002-10-30 John Levon <levon@movementarian.org>
11105 * text3.C: make start appendix undoable
11107 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11109 * lyxlength.C (inPixels): Fix returned value.
11111 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11114 2002-10-24 Angus Leeming <leeming@lyx.org>
11116 * lyxgluelength.h: no need to forward declare BufferParams
11117 or BufferView, so don't.
11119 2002-10-21 John Levon <levon@movementarian.org>
11121 * BufferView.C: menuUndo ->undo, redo
11123 * BufferView.h: document, remove dead, make some methods private
11125 * paragraph_funcs.h:
11126 * paragraph_funcs.C:
11127 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11132 * sgml.C: move sgml open/close tag into sgml.C
11134 * bufferview_funcs.h: unused prototype
11137 * lyxfunc.C: remove unused
11140 * text.C: remove unused
11142 2002-10-21 John Levon <levon@movementarian.org>
11146 * BufferView_pimpl.h:
11147 * BufferView_pimpl.C: fix mouse wheel handling based on
11148 patch from Darren Freeman
11150 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11152 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11154 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11156 * lyxlength.C (inPixels): Fix hanfling of negative length.
11157 Fix LyXLength::MU case.
11159 2002-10-16 John Levon <levon@movementarian.org>
11161 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11163 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11165 * converter.C (view): add support for $$i (file name) and $$p
11166 (file path) for the viewer command. If $$i is not specified, then
11167 it is appended to the command (for compatibility with old syntax)
11169 2002-10-14 Juergen Vigna <jug@sad.it>
11171 * undo_funcs.C (textHandleUndo): alter the order in which the
11172 new undopar is added to the LyXText, as we have to set first
11173 the right prev/next and then add it as otherwise the rebuild of
11174 LyXText is not correct. Also reset the cursor to the right paragraph,
11175 with this IMO we could remove the hack in "redoParagraphs()".
11177 2002-10-09 Angus Leeming <leeming@lyx.org>
11179 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11180 to turn off an optimisation if a new inset is to be inserted.
11182 2002-10-11 André Pönitz <poenitz@gmx.net>
11184 * lyxtext.h: make some functions public to allow access
11185 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11187 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11189 * text3.C (dispatch): when changing layout, avoid an infinite loop
11192 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11194 * lyxrc.C (read): treat a viewer or converter command of "none" as
11197 * MenuBackend.C (expandFormats): for an update, also allow the
11198 formats that are not viewable
11200 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11201 script if it is newer than the lyxrc.defaults in user directory
11203 2002-10-07 André Pönitz <poenitz@gmx.net>
11205 * text.C: Vitaly Lipatov's small i18n fix
11207 2002-09-25 Angus Leeming <leeming@lyx.org>
11209 * ispell.h: doxygen fix.
11211 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11213 * buffer.h (readFile): Add a new argument to the method, to allow
11214 reading of old-format templates.
11216 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11218 * toc.C (getTocList): Get TOC from InsetWrap.
11220 2002-09-16 John Levon <levon@movementarian.org>
11222 * lyxfunc.C: check tabular for cut/copy too
11224 2002-09-12 John Levon <levon@movementarian.org>
11226 * LyXAction.C: tidy
11229 * factory.C: add header
11231 * paragraph_funcs.h:
11232 * paragraph_funcs.C: cleanup
11234 2002-09-11 John Levon <levon@movementarian.org>
11236 * PrinterParams.h: odd/even default to true
11238 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11240 * PrinterParams.h: update printer parameters for new xforms dialog
11242 2002-09-11 Angus Leeming <leeming@lyx.org>
11244 * lyxserver.C (read_ready): re-write to make it more transparent
11245 and to make it work in coherent fashion under Tru64 Unix.
11247 2002-09-11 André Pönitz <poenitz@gmx.net>
11251 * text3.C: implement LFUN_WORDSEL
11253 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11255 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11256 make floatlist_ a boost::shared_ptr<FloatList>
11258 * lyxtextclass.C: include FloatList.h
11259 (LyXTextClass): initialize floatlist_
11260 (TextClassTags): add TC_NOFLOAT
11261 (Read): match "nofloat" to TC_NOFLOAT and use it.
11262 (readFloat): modify call to floatlist_
11266 * FloatList.[Ch] (FloatList): remove commented out float
11268 (erase): new function
11270 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11272 * MenuBackend.C (expandToc): fix crash when there is no document
11275 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11277 * many files: Add insetwrap.
11279 2002-09-09 John Levon <levon@movementarian.org>
11281 * text2.C: remove confusing and awkward depth wraparound
11283 2002-09-09 John Levon <levon@movementarian.org>
11285 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11288 * buffer.C: remove getIncludeonlyList()
11291 * lyxfunc.C: remove headers
11293 2002-09-09 Juergen Vigna <jug@sad.it>
11295 * text.C (getColumnNearX): fix form Michael this is most
11296 probably a cut&paste bug.
11298 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11300 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11302 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11303 references, ws changes.
11305 * text2.C (init): update counters after init
11306 (insertParagraph): no need to set counter on idividual paragraphs.
11307 (setCounter): access the counters object in the textclass object
11308 on in the buffer object.
11309 (updateCounters): ditto
11311 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11312 shared_ptr<Counters> to avoid loading counters.h in all
11314 (LyXTextClass): initialize ctrs_
11315 (TextClassTags): add TC_COUNTER, and ...
11316 (Read): use it here.
11317 (CounterTags): new tags
11318 (readCounter): new function
11319 (counters): new funtion
11320 (defaultLayoutName): return a const reference
11322 * counters.C (Counters): remove contructor
11323 (newCounter): remove a couple of unneeded statements.
11324 (newCounter): simplify a bit.
11325 (numberLabel): some small formatting changes.
11327 * buffer.[Ch]: remove all traces of counters, move the Counters
11328 object to the LyXTextClass.
11330 2002-09-06 Alain Castera <castera@in2p3.fr>
11332 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11333 package to set the horizontal alignment on fixed width columns.
11336 * lyx_sty.h: added tabularnewline macro def.
11338 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11340 2002-09-06 John Levon <levon@movementarian.org>
11342 * LyXAction.C: tooltips for sub/superscript
11344 * MenuBackend.C: a bit more verbose
11346 * lyxfunc.C: tiny clean
11348 * undo_funcs.C: document undo_frozen
11350 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11352 * counters.C (Counters): add missing algorithm counter.
11354 * text2.C (setCounter): lookup the counter with layouts latexname
11355 instead of by section number.
11356 (setCounter): use a hackish way to lookup the correct enum
11358 a float name->type change
11359 reset enum couners with counter name directly instead of depth value.
11361 * counters.C (Counters): remove the push_backs, change to use the
11362 float type not the float name.
11363 (labelItem): remove unused string, float name->type change
11365 * counters.h: don't include vector, loose the enums and sects vectors
11367 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11369 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11370 (Read): add float->TC_FLOAT to textclassTags
11371 (Read): and handle it in the switch
11372 (readFloat): new function
11374 * FloatList.C (FloatList): comment out the hardcoded float
11377 * lyxlayout.h: ws change.
11379 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11381 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11383 2002-09-03 Angus Leeming <leeming@lyx.org>
11385 * BufferView_pimpl.h: qualified name is not allowed in member
11386 declaration: WorkArea & Pimpl::workarea() const;
11388 * factory.C: added using std::endl directive.
11390 * text3.C: added using std::find and std::vector directives.
11392 2002-08-29 André Pönitz <poenitz@gmx.net>
11395 * text2.C: remove unused member number_of_rows
11398 * BufferView2.C: remove file, move contents to...
11399 * BufferView.C: ... here
11401 * BufferView_pimpl.C:
11402 * factory.C: move more inset creation to factory
11404 * vspace.C: avoid direct usage of LyXText, ws changes
11407 don't provide direct access to WorkArea, use two simple
11408 acessors haveSelction() and workHeight() instead
11411 2002-08-29 John Levon <levon@movementarian.org>
11413 * BufferView_pimpl.C (dispatch): do not continue when
11416 2002-08-28 André Pönitz <poenitz@gmx.net>
11418 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11421 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11423 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11425 * buffer.C: increment LYX_FORMAT to 221
11427 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11428 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11430 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11432 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11434 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11436 * factory.C (createInset): use LyXTextClass::floats
11438 * MenuBackend.C (expandFloatListInsert):
11439 (expandFloatInsert):
11442 * text2.C (setCounter):
11444 * LaTeXFeatures.C (useFloat):
11445 (getFloatDefinitions):
11447 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11449 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11450 floatlist_, with accessor floats().
11452 * FloatList.h: remove global FloatList
11454 2002-08-26 André Pönitz <poenitz@gmx.net>
11456 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11460 * BufferView_pimpl.C:
11461 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11463 2002-08-25 John Levon <levon@movementarian.org>
11465 * LyXAction.C: fix margin note description
11467 2002-08-24 John Levon <levon@movementarian.org>
11471 * bufferview_funcs.C:
11473 * undo_funcs.C: cleanups
11475 * lyxfunc.C: disable CUT/COPY when no selection
11477 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11479 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11480 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11482 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11483 Add backward compatibility to "mono", "gray" and "no".
11485 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11487 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11488 (and file_format >= 200).
11490 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11492 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11494 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11496 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11498 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11500 * BufferView_pimpl.C:
11507 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11508 inset and code to make it work with the paragraph code. The inset
11509 can be anywhere in the paragraph, but will only do the expected
11510 thing in LaTeX if the layout file contains the parameter line
11512 (or more generally, a nonzero value) for that layout.
11514 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11516 * paragraph.h: remove the declaration of undefined counters class
11519 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11521 * text2.C (setCounter): fixed enumeration mis-count as reported by
11522 Dr. Richard Hawkins.
11524 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11526 * paragraph_funcs.h: remove some unneeded includes
11528 * text.C (backspace): pasteParagraph now in global scipe
11530 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11531 (pasteSelection): ditto
11533 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11534 * paragraph_funcs.C (pasteParagraph): ... here
11536 2002-08-20 André Pönitz <poenitz@gmx.net>
11538 * commandtags.h: new LFUNs for swapping/copying table row/colums
11541 * lyxfunc.C: support for new lfuns
11543 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11546 * buffer.[Ch]: remove NO_COMPABILITY stuff
11548 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11550 * boost.C (throw_exception): new file, with helper function for
11551 boost compiled without exceptions.
11556 * ParameterStruct.h:
11557 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11559 * bufferlist.C (emergencyWriteAll): use boost bind
11561 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11563 * text.C: include paragraph_funcs.h
11564 (breakParagraph): breakParagraph is now in global scope
11566 * paragraph_funcs.[Ch]: new files
11568 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11571 * buffer.C: include paragraph_funcs.h
11572 (insertStringAsLines): breakParagraph is now in global scope
11574 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11577 * CutAndPaste.C: include paragraph_funcs.h
11578 (cutSelection): breakParagraphConservative is now in global scope
11579 (pasteSelection): ditto
11581 * buffer.h: declare oprator== and operator!= for
11582 Buffer::inset_iterator
11584 * bufferlist.C (emergencyWrite): don't use fmt(...)
11586 * text3.C: add using std::endl
11588 * BufferView.C (moveCursorUpdate): remove default arg
11590 2002-08-20 André Pönitz <poenitz@gmx.net>
11592 * buffer.[Ch]: move inline functions to .C
11595 * BufferView_pimpl.C:
11597 * buffer.[Ch]: use improved inset_iterator
11600 * paragraph.[Ch]: write one paragraph at a time
11602 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11604 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11605 style if style is not specified.
11607 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11609 * text2.C (setCounter): when searching for right label for a
11610 caption, make sure to recurse to parent insets (so that a caption
11611 in a minipage in a figure float works) (bug #568)
11613 2002-08-20 André Pönitz <poenitz@gmx.net>
11615 * text3.C: new file for LyXText::dispatch() and helpers
11617 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11619 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11621 2002-08-19 André Pönitz <poenitz@gmx.net>
11624 * text.C: new LyXText::dispatch()
11626 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11628 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11630 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11632 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11635 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11637 * Makefile.am: use $(variables) instead of @substitutions@
11639 2002-08-15 André Pönitz <poenitz@gmx.net>
11642 * BufferView_pimpl.C: streamlining mathed <-> outer world
11646 * LyXAction.C: remove unused LFUN_MATH
11648 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11650 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11652 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11654 * paragraph.C (Paragraph): reformat a bit
11655 (cutIntoMinibuffer): use builtin InsetList function instad of
11659 * buffer.C: include boost/bind.hpp, add using std::for_each
11660 (writeFileAscii): use ParagraphList iterators
11661 (validate): use for_each for validate traversal of paragraphs
11662 (getBibkeyList): use ParagraphList iterators
11663 (resizeInsets): use for_each to resizeInsetsLyXText for all
11665 (getParFromID): use ParagraphList iterators
11667 * BufferView2.C (lockInset): use paragraph list and iterators
11669 2002-08-14 John Levon <levon@movementarian.org>
11671 * lyxserver.C: remove spurious xforms include
11673 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11675 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11677 2002-08-13 André Pönitz <poenitz@gmx.net>
11680 * lyxfunc.C: further cleaning
11682 2002-08-13 André Pönitz <poenitz@gmx.net>
11684 * funcrequest.h: new constructor
11686 * funcrequest.C: move stuff here from .h
11689 * BufferView_pimpl.C:
11692 * lyxfunc.C: subsequent changes
11694 * lyxfunc.h: new view() member function
11696 * lyxfunc.C: subsequent changes
11698 2002-08-13 Angus Leeming <leeming@lyx.org>
11701 * BufferView_pimpl.C:
11709 changes due to the changed LyXView interface that now returns references
11710 to member variables not pointers.
11712 2002-08-13 Angus Leeming <leeming@lyx.org>
11714 * WordLangTuple (word, lang_code): return references to strings,
11719 * lyxtext.h: forward-declare WordLangTuple.
11724 * text.C: #include "WordLangTuple.h".
11727 * text.C: (selectNextWordToSpellcheck): constify return type.
11729 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11735 * paragraph_pimpl.h:
11738 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11739 suggested by Angus.
11740 Made updateCounter always count from start of buffer, and removed
11741 second argument (par).
11742 Reverted floats number display to '#'. Perhaps I'll try again when the
11743 code base is sanitized a bit.
11745 2002-08-12 Angus Leeming <leeming@lyx.org>
11747 * buffer.[Ch] (getLabelList): constify.
11749 2002-08-07 André Pönitz <poenitz@gmx.net>
11751 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11753 * funcrequest.h: extension to keep mouse (x,y) position
11755 2002-08-12 Juergen Vigna <jug@sad.it>
11757 * BufferView2.C (insertErrors): forbid undo when inserting error
11760 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11762 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11764 * ParagraphList.[Ch]: new files
11766 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11768 * BufferView2.C (lockInset): ParagraphList changes
11771 * bufferlist.C: ditto
11775 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11777 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11778 unused class variable counter_,
11780 * paragraph.[Ch] (getFirstCounter): delete unused function
11782 * counters.C: include LAssert.h
11783 (reset): add a new function with no arg, change other version to
11784 not have def. arg and to not allow empty arg.
11786 * text2.C (setCounter): remove empty arg from call to Counters::reset
11788 2002-08-11 John Levon <levon@movementarian.org>
11790 * Makefile.am: add WordLangTuple.h
11792 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11794 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11795 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11797 * insets/insettext.C: InsetList changes
11799 * graphics/GraphicsSupport.C (operator()): InsetList changes
11801 * toc.C (getTocList): InsetList changes
11803 * paragraph_pimpl.[Ch]: InsetList changes
11805 * paragraph.[Ch]: InsetList changes
11807 * buffer.C (inset_iterator): InsetList changes
11808 (setParagraph): ditto
11809 * buffer.h (inset_iterator): ditto
11810 * iterators.C (operator++): ditto
11811 * iterators.h: ditto
11813 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11815 * InsetList.[Ch]: new files, most InsetList handling moved out of
11818 * BufferView2.C (removeAutoInsets): InsetList changes
11820 (ChangeInsets): ditto
11822 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11824 * paragraph_pimpl.h (empty): new function
11826 * paragraph.[Ch] (empty): new function
11828 * other files: use the new Paragraph::empty function
11830 2002-08-09 John Levon <levon@movementarian.org>
11832 * lyxtext.h: remove unused refresh_height
11834 2002-08-09 John Levon <levon@movementarian.org>
11841 * paragraph.C: move sgml char escaping out of paragraph
11844 * paragraph.C: remove id setter
11848 * paragraph_pimpl.C: remove dead tex_code_break_column
11850 * bufferview_funcs.C: small cleanup
11852 * lyxfunc.C: remove dead proto
11854 * lyxtext.h: make some stuff private. Remove some dead stuff.
11856 * lyxgluelength.C: make as[LyX]String() readable
11858 2002-08-08 John Levon <levon@movementarian.org>
11863 * ToolbarDefaults.C:
11866 * toc.C: lyxaction cleanup
11868 2002-08-08 John Levon <levon@movementarian.org>
11870 * BufferView2.C: small cleanup
11873 * lyxfind.C: move unnecessary header into the .C
11875 2002-08-08 John Levon <levon@movementarian.org>
11877 * funcrequest.h: just tedious nonsense
11880 * lyx_main.C: cleanups
11883 * vspace.C: remove dead header lyx_main.h
11885 2002-08-07 Angus Leeming <leeming@lyx.org>
11888 * paragraph_pimpl.h:
11889 Forward declare class Counters in paragraph.h by moving the ctrs member
11890 variable into Paragraph::Pimpl.
11891 (counters): new method, returning a reference to pimpl_->ctrs.
11893 * text2.C: ensuing changes.
11895 2002-08-07 John Levon <levon@movementarian.org>
11897 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11899 * BufferView_pimpl.C: announce X selection on double/triple
11902 * lyx_main.C: use correct bool in batch dispatch
11904 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11906 2002-08-07 André Pönitz <poenitz@gmx.net>
11908 * funcrequest.h: new class to wrap a kb_action and its argument
11911 * BufferView_pimpl[Ch]:
11915 * lyxrc.C: subsequent changes
11918 2002-08-07 John Levon <levon@movementarian.org>
11920 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11921 document options change.
11923 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11928 * makefile.am: move counters functionality over from
11929 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11931 2002-08-06 John Levon <levon@movementarian.org>
11933 * WordLangTuple.h: new file for word + language code tuple
11944 * BufferView2.C: use WordLangTuple
11947 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11949 2002-08-06 John Levon <levon@movementarian.org>
11951 * lyx_main.C: fix cmdline batch handling
11953 2002-08-06 André Pönitz <poenitz@gmx.net>
11955 * lyxrc.C: set default for show_banner to true
11957 2002-08-06 John Levon <levon@movementarian.org>
11959 * pspell.C: fix a crash, and allow new aspell to work
11961 2002-08-06 John Levon <levon@movementarian.org>
11964 * kbmap.C: small cleanup
11967 * vspace.C: add const
11969 2002-08-05 John Levon <levon@movementarian.org>
11971 * LyXAction.C: back to tabular-insert
11973 2002-08-04 John Levon <levon@movementarian.org>
11976 * BufferView.C: cosmetic change
11978 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11988 * BufferView2.C: purge all "Lyx" not "LyX" strings
11991 * lyxcursor.C: attempt to add some documentation
11996 * ToolbarDefaults.C:
11997 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11998 merge with LFUN_TABULAR_INSERT
12005 * pspell.C: split up i/pspell implementations into separate
12006 files, many cleanups
12008 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
12010 * text2.C: some cleanup
12012 * lyxfunc.C: don't check for isp_command == "none" any more, it
12013 didn't make any sense
12015 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
12020 * makefile.am: move counters functionality over
12021 from text2.C/paragraph.[Ch] to counters.[Ch], and
12023 2002-08-02 John Levon <levon@movementarian.org>
12025 * buffer.C: s/lyxconvert/lyx2lyx/
12027 2002-08-02 Angus Leeming <leeming@lyx.org>
12029 * lyxlex.C: revert John's change as it breaks reading of the user
12032 2002-08-02 Angus Leeming <leeming@lyx.org>
12034 * importer.C (Import):
12035 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12036 changes due to LyXView::view() now returning a boost::shared_ptr.
12038 2002-08-02 John Levon <levon@movementarian.org>
12040 * lyxlex.C: small cleanup
12042 2002-08-02 John Levon <levon@movementarian.org>
12044 * text2.C (status): small cleanup, no logic change
12046 2002-08-01 John Levon <levon@movementarian.org>
12049 * buffer.C (writeFile): don't output alerts, caller
12053 * lyx_cb.C: from above
12055 * lyxfunc.C: allow to open non-existent files
12057 2002-07-31 John Levon <levon@movementarian.org>
12059 * lyxserver.C: don't let incidental errors get
12062 2002-07-30 John Levon <levon@movementarian.org>
12064 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12066 2002-07-30 John Levon <levon@movementarian.org>
12069 * lyxserver.C: remove I/O callback too
12071 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12073 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12076 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
12078 * many files: strip,frontStrip -> trim,ltrim,rtrim
12080 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
12082 * PrinterParams.h: remove extern containsOnly, and include
12083 support/lstrings.h instead.
12085 * LaTeX.C (scanAuxFile): modify because of strip changes
12087 * buffer.C (makeLaTeXFile): ditto
12088 * bufferparams.C (writeFile): ditt
12089 * lyxfont.C (stateText): ditto
12090 * lyxserver.C (read_ready): ditto
12091 * vc-backend.C (scanMaster): ditto
12093 * BufferView_pimpl.h: ws changes
12095 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12097 2002-07-26 André Pönitz <poenitz@gmx.net>
12099 * kb_sequence.C: remove unnedred usings
12101 2002-07-26 Juergen Vigna <jug@sad.it>
12103 * lyxfind.C (LyXReplace): we have to check better if the returned
12104 text is not of theLockingInset()->getLockingInset().
12106 2002-07-25 Juergen Vigna <jug@sad.it>
12108 * lyxfind.C (LyXReplace): don't replace if we don't get the
12111 * undo_funcs.C (createUndo): remove debugging code.
12113 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12115 * buffer.C (parseSingleLyXformat2Token): Use default placement
12116 when reading old floats.
12118 * FloatList.C (FloatList): Change the default placement of figure
12119 and tables to "tbp".
12121 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12123 * MenuBackend.C: using std::max
12125 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12127 * MenuBackend.C (expandToc):
12128 (expandToc2): code moved from xforms menu frontend. It is now
12129 generic and TOCs are transparent to menu frontends.
12131 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12133 * toc.C (getTocList): protect against buf=0
12135 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12136 Menu as first parameter. Now, this calls itself recursively to
12137 expand a whole tree (this will be useful for TOC handling)
12138 (expandFloatInsert): remove 'wide' version of floats
12140 * MenuBackend.h (submenuname): returns the name of the submenu.
12141 (submenu): returns the submenu itself, provided it has been
12142 created by MenuBackend::expand
12144 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12146 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12147 insets which have noFontChange == true. (bug #172)
12149 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12151 * BufferView_pimpl.C: add connection objects and use them...
12154 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12156 * MenuBackend.C (expandLastfiles):
12159 (expandFloatListInsert):
12160 (expandFloatInsert):
12161 (expand): split expand in parts
12163 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12165 * lyx_gui.C: use lyx_gui::exit()
12167 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12169 * LyXAction.C: show the failing pseudo action
12171 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12173 * buffer.C (readFile): Run the lyxconvert script in order to read
12176 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12180 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12182 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12186 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12188 2002-07-22 Herbert Voss <voss@lyx.org>
12191 * lyxlength.[Ch]: add support for the vertical lengths
12193 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12195 * toc.[Ch]: std:: fixes
12197 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12199 * lyxrc.C: do not include lyx_main.h
12201 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12207 * BufferView2.C: include "lyxlex.h"
12210 * bufferparams.h: do not #include "lyxlex.h"
12212 * lyxtextclasslist.C (Add): remove method
12213 (classlist): renamed to classlist_
12215 * paragraph_pimpl.C:
12219 * bufferview_funcs.C:
12224 * toc.C (getTocList): use BufferParams::getLyXTextClass
12226 * toc.C (getTocList): use InsetFloat::addToToc
12228 * toc.[Ch]: new files, containing helper functions to handle table
12231 * lyxfunc.C (dispatch): no need to remove spaces around command
12233 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12234 first command of the sequence; it is not very clever, but I do not
12235 have a better idea, actually
12237 * LyXAction.C (LookupFunc): make sure to remove space at the
12238 beginning and end of the command
12240 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12242 * MenuBackend.C (getMenubar): new method: return the menubar of
12244 (read): treat differently reading of menu and menubar (in
12245 particular, the menubar has no name now)
12246 (Menu::menubar): remove
12248 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12251 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12253 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12254 a bibitem inset in a RTL paragraph.
12256 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12258 * paragraph_pimpl.C: constify
12260 * BufferView_pimpl.C:
12262 * lyxfunc.C: fix dispatch in a nicer way
12264 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12266 * lyxfunc.C (dispatch):
12267 * BufferView_pimpl.C:
12268 * BufferView_pimpl.h:
12270 * BufferView.h: rename Dispatch() to dispatch()
12272 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12274 * lyxlayout.C (Read): honor DependsOn tag
12276 * lyxlayout.[Ch] (depends_on): new method
12278 * version.C.in: update lyx_docversion
12280 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12282 * paragraph.C (validate): remove from here...
12283 * paragraph_pimpl.C (validate): ... and move here
12284 (isTextAt): make it const
12286 * buffer.C (getLists): ws cleanup
12288 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12290 * language.C (read): Use iso8859-1 encoding in latex_lang
12291 (this prevents LyX from crashing when using iso10646-1 encoding).
12293 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12295 * text2.C (toggleInset): if cursor is inside an inset, close the
12296 inset and leave cursor _after_ it
12298 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12300 * lyxfunc.C: move minibuffer completion handling out of here
12302 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12304 * BufferView_pimpl.C:
12305 * LaTeX.C: fix dispatch calls
12307 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12309 * text.C (drawChars): Fix Arabic text rendering.
12311 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12315 * lyxfunc.C: remove message-push/pop
12319 * lyxfunc.C: rationalise some code by removing verboseDispatch
12320 in favour of a bool argument to dispatch()
12322 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12324 * lyx_main.C (init): make sure to read symlinks as absolute paths
12326 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12329 * lyxfunc.C: no need for commandshortcut to be a member
12331 2002-07-15 André Pönitz <poenitz@gmx.net>
12333 * converter.C: add support for $$s (scripts from lib/scripts dir)
12334 * lyx_main.C: white space
12336 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12340 * lyxrc.C: remove second exit confirmation
12342 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12347 * BufferView_pimpl.h:
12348 * BufferView_pimpl.C:
12349 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12351 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12353 * MenuBackend.C (expand): add numeric shortcuts to document menu
12355 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12357 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12359 * lyxfont.C (setLyXFamily):
12366 * buffer.C (asciiParagraph): use ascii_lowercase
12368 2002-07-15 Mike Fabian <mfabian@suse.de>
12370 * lyxlex_pimpl.C (search_kw):
12371 * lyxlex.C (getLongString):
12372 * converter.h (operator<):
12373 * converter.C (operator<):
12374 * buffer.C (parseSingleLyXformat2Token):
12376 * ToolbarDefaults.C (read):
12377 * MenuBackend.C (checkShortcuts):
12379 * LColor.C (getFromGUIName):
12380 (getFromLyXName): use the compare_ascii_no_case instead of
12381 compare_no_case, because in turkish, 'i' is not the lowercase
12382 version of 'I', and thus turkish locale breaks parsing of tags.
12384 2002-07-16 Angus Leeming <leeming@lyx.org>
12386 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12387 now takes a Buffer const & argument.
12389 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12391 * BufferView.C (resize): check there's a buffer to resize
12393 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12395 * lyxfunc.C: remove dead code
12398 * lyxserver.C: use lyx_guii::set_read_callback
12400 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12402 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12403 an inset in a RTL paragraph.
12405 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12407 * lyxfunc.C: repaint after a font size update
12409 2002-07-15 André Pönitz <poenitz@gmx.net>
12411 * lyxlength.C: inBP should be able to return negative values
12413 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12415 * lyxfunc.C: use lyx_gui::update_fonts()
12417 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12419 * lyxfunc.C: use lyx_gui::update_color()
12421 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12427 * lyxrc.C: remove file->new asks for name option, and let
12428 buffer-new take an argument
12430 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12432 * BufferView_pimpl.C: remove unneeded extra repaint()
12434 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12436 * LyXAction.C: allow command-sequence with NoBuffer
12438 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12440 2002-07-10 Angus Leeming <leeming@lyx.org>
12442 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12444 2002-07-09 Angus Leeming <leeming@lyx.org>
12446 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12448 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12450 * lengthcommon.h: whitespace
12452 * lyxfunc.C: update scrollbar after goto paragraph
12454 * lyxtext.h: factor out page break drawing, and fix it so
12455 page break/added space paints as selected nicely
12457 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12459 * BufferView_pimpl.C: add FIXMEs, clean up a little
12461 2002-07-09 André Pönitz <poenitz@gmx.net>
12463 * lyxfont.[Ch]: support for wasy symbols
12465 2002-07-08 André Pönitz <poenitz@gmx.net>
12467 * BufferView_pimpl.C: apply John's patch for #93.
12469 2002-07-05 Angus Leeming <leeming@lyx.org>
12471 * BufferView_pimpl.C (buffer): generate previews if desired.
12473 * LColor.h: add "preview" to the color enum.
12475 * LColor.C (LColor): add a corresponding entry to the items array.
12477 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12480 2002-07-05 Angus Leeming <leeming@lyx.org>
12482 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12483 The body of the code is now in the method that is passed an ostream &
12484 rather than a file name.
12485 Pass an additional only_preamble parameter, useful for the forthcoming
12488 2002-07-03 André Pönitz <poenitz@gmx.net>
12490 * lyxfunc.C: simplify getStatus() a bit for math stuff
12492 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12494 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12496 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * text.C (changeRegionCase): do not change case of all the
12499 document when region ends at paragraph end (bug #461)
12501 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12503 * paragraph.C (startTeXParParams):
12504 (endTeXParParams): add \protect when necessary
12506 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12508 * BufferView_pimpl.C (workAreaExpose): remove warning
12510 2002-06-27 Angus Leeming <leeming@lyx.org>
12512 * Makefile.am: add lyxlayout_ptr_fwd.h.
12514 2002-06-26 André Pönitz <poenitz@gmx.net>
12516 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12518 2002-06-25 Angus Leeming <leeming@lyx.org>
12520 * lyxfunc.C (dispatch): Comment out the call to
12521 grfx::GCache::changeDisplay. The method no longer exists now that the
12522 pixmap generation part of the graphics loader has been moved into
12525 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12527 * text2.C: layout as layout
12529 * text.C: layout as layout
12531 * tabular.C (OldFormatRead): layout as layout
12533 * paragraph_pimpl.C (TeXDeeper): layout as layout
12534 (realizeFont): layout as layout
12536 * paragraph.C (writeFile): layout as layout
12537 (validate): layout as layout
12538 (getFont): layout as layout
12539 (getLabelFont): layout as layout
12540 (getLayoutFont): layout as layout
12541 (breakParagraph): layout as layout
12542 (stripLeadingSpaces): layout as layout
12543 (getEndLabel): layout as layout
12544 (getMaxDepthAfter): layout as layout
12545 (applyLayout): layout as layout
12546 (TeXOnePar): layout as layout
12547 (simpleTeXOnePar): layout as layout
12548 (TeXEnvironment): layout as layout
12549 (layout): layout as layout
12550 (layout): layout as layout
12552 * lyxtextclass.C (compare_name): new functor to work with
12553 shared_ptr, layout as layout
12554 (Read): layout as layout
12555 (hasLayout): layout as layout
12556 (operator): layout as layout
12557 (delete_layout): layout as layout
12558 (defaultLayout): layout as layout
12560 * lyxlayout_ptr_fwd.h: new file
12562 * lyxlayout.C (Read): layout as layout
12564 * lyx_cb.C (MenuInsertLabel): layout as layout
12566 * bufferlist.C (newFile): layout as layout
12568 * buffer.C (readLyXformat2): layout as layout
12569 (parseSingleLyXformat2Token): layout as layout
12570 (insertStringAsLines): layout as layout
12571 (asciiParagraph): layout as layout
12572 (latexParagraphs): layout as layout
12573 (makeLinuxDocFile): layout as layout
12574 (simpleLinuxDocOnePar): layout as layout
12575 (makeDocBookFile): layout as layout
12576 (simpleDocBookOnePar): layout as layout
12577 (getLists): layout as layout
12579 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12581 * CutAndPaste.C (cutSelection): layout as layout
12582 (pasteSelection): layout as layout
12583 (SwitchLayoutsBetweenClasses): layout as layout
12585 * BufferView_pimpl.C (Dispatch): layout as layout
12586 (smartQuote): layout as layout
12588 * BufferView2.C (unlockInset): layout as layout
12590 2002-06-24 André Pönitz <poenitz@gmx.net>
12592 * lyxfunc.C: fix #487
12594 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12598 * lyxfunc.C: remove display_shortcuts, show_banner
12600 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12602 * Buffer_pimpl.C: oops, update on resize
12604 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12611 * BufferView.C: use repaint()
12613 * BufferView_pimpl.h:
12614 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12615 as it's a clearer description. Remove superfluous
12618 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12620 * text.C: fix bug 488. Not ideal, but getting
12621 getWord() to work properly for the insets that
12622 matter is more difficult ...
12624 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12626 * BufferView_pimpl.C:
12629 * lyxfunc.C: remove the six million index lyxfuncs to just
12630 one, and DTRT (bug 458)
12632 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12636 * BufferView_pimpl.h:
12637 * BufferView_pimpl.C: clean up resize() stuff,
12638 and unnecessary updateScreen()s
12640 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12644 * BufferView_pimpl.h:
12645 * BufferView_pimpl.C:
12648 * minibuffer.C: remove focus management of workarea,
12649 not needed. Use screen's greyOut()
12651 2002-06-17 Herbert Voss <voss@lyx.org>
12653 * converter.C: (convert) do not post a message, when converting
12654 fails, let the calling function decide what to do in this case
12656 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12658 * lyxfunc.C: tidy up a little
12660 2002-06-16 <alstrup@diku.dk>
12662 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12663 Got rid of FORMS_H_LOCATION include. Now we are
12666 2002-06-15 LyX Development team <lyx@rilke>
12668 * buffer.[Ch] (sgmlOpenTag):
12669 (sgmlCloseTag): Added support for avoiding pernicious mixed
12670 content. Return number of lines written.
12672 (makeLinuxDocFile):
12673 (makeDocBookFile): Fixed calls to sgml*Tag.
12674 Simple white space clean.
12676 (simpleDocBookOnePar): Simple white space clean.
12678 * tabular.[Ch] (docBook): Renamed to docbook and got another
12679 argument to related with the pernicious mixed content.
12681 (docbookRow): Fixed calls for docbook inset method.
12683 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12685 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12686 so it's X11 independent.
12690 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12692 2002-06-15 Lyx Development team <lyx@electronia>
12694 * intl.h: Renamed getTrans to getTransManager.
12696 2002-06-14 Angus Leeming <leeming@lyx.org>
12698 * Makefile.am: nuke forgotten stl_string_fwd.h.
12700 2002-06-12 Angus Leeming <leeming@lyx.org>
12702 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12704 2002-06-13 Angus Leeming <leeming@lyx.org>
12707 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12709 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12711 * kbmap.C (getiso): add support for cyrillic and greek
12713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12717 * BufferView_pimpl.h:
12718 * BufferView_pimpl.C: move bogus scrolling logic
12721 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12724 * BufferView_pimpl.C: view->resize() change
12726 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12728 * BufferView_pimpl.C: topCursorVisible
12731 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12735 * lyx_gui.C: move to frontends/
12739 * lyx_main.C: changes from above
12741 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12748 * lyx_main.C: minor tidy
12750 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12752 * BufferView_pimpl.h:
12753 * BufferView_pimpl.C:
12755 * BufferView.C: make painter() const,
12758 * BufferView2.C: use screen() accessor
12761 * lyx_main.C: some minor cleanup
12763 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12765 * BufferView_pimpl.h:
12766 * BufferView_pimpl.C: remove enter/leaveView,
12769 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12774 * BufferView_pimpl.h:
12775 * BufferView_pimpl.C: only construct screen once,
12778 * lyxrc.C: remove pointless comment
12780 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12783 * BufferView.C: remove active() and belowMouse()
12785 * BufferView_pimpl.h:
12786 * BufferView_pimpl.C: use workarea() not workarea_,
12787 and make it use a scoped_ptr instead
12789 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12791 * lyx_gui.C: add debug message on BadWindow
12793 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12795 * sp_spell.C: fdopen is not part of the C++ standard.
12797 * paragraph.C (InsetIterator): use >= instead of ==
12799 2002-06-07 Angus Leeming <leeming@lyx.org>
12801 Fixes needed to compile with Compaq cxx 6.5.
12802 * BufferView_pimpl.C:
12809 * lyxtextclasslist.C:
12814 all c-library variables have been moved into namespace std. Wrap
12815 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12820 Add a using std::abs declaration.
12822 * kbmap.h (modifier_pair):
12823 * paragraph.h (InsetTable, InsetList):
12824 * lyxfont.h (FontBits):
12825 type definition made public.
12827 * bufferlist.C (emergencyWriteAll): the compiler complains that
12828 there is more than one possible lyx::class_fun template to choose from.
12829 I re-named the void specialisation as lyx::void_class_fun.
12831 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12833 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12834 the compiler is is unable to find tostr in write_attribute.
12836 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12838 * buffer.C (sgmlError): hide #warning
12840 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12842 * xtl/*: get rid of xtl, which is not in use anyway
12844 * LyXAction.C (init):
12845 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12846 were unimplemented xtl experimentation
12848 2002-06-04 André Pönitz <poenitz@gmx.net>
12850 * lyxfunc.C: disable array operation on simple formulae
12852 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12854 * converter.C: constify a bit
12856 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12858 * lyx_gui.C: check xforms version correctly
12860 2002-04-30 Herbert Voss <voss@lyx.org>
12862 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12865 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12867 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12868 attempt to register it with a VCS)
12870 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12872 * lyx_main.C (init): honor variables LYX_DIR_13x and
12875 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12879 * lyx_main.C: fix a crash on bad command line,
12880 and give a useful exit status on error
12882 * lyxfunc.C (doImport): allow -i lyx to work
12884 2002-03-30 André Pönitz <poenitz@gmx.net>
12886 * lyxfunc.C: mathed font changes
12888 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12903 * trans_mgr.h: srcdocs, and some minor cleanups
12905 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12907 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12908 call getFont all the time)
12910 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12912 * switch from SigC signals to boost::signals
12914 2002-05-29 André Pönitz <poenitz@gmx.net>
12916 * paragraph_pimpl.C (getChar): don't call size() too often...
12918 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12920 * paragraph_pimpl.C (insertChar): do not try to update tables when
12921 appending (pos == size())
12923 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12924 in order to reduce drastically the number of comparisons needed to
12925 parse a large document
12927 2002-05-29 André Pönitz <poenitz@gmx.net>
12933 * textclasslist.[Ch]:
12934 * sp_ispell.h: whitespace change
12936 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12938 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12939 lyxaction directly now.
12941 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12945 * lyxvc.C: remove unused headers
12947 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12954 * undo_funcs.C: some cleanups. Use shared_ptr
12955 and a template for the undo stacks.
12957 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12959 * BufferView_pimpl.h:
12960 * BufferView_pimpl.C:
12967 * text2.C: use key_state/mouse_state
12969 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12971 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12974 * chset.C: change include order
12975 (loadFile): use boost regex and get rid of LRegex and LSubstring
12977 * Makefile.am (BOOST_LIBS): new variable
12978 (lyx_LDADD): use it
12980 * LaTeX.C: change include order.
12981 (scanAuxFile): use boost regex and get rid of LRegex and
12985 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12990 * FontInfo.C: moved to frontends/xforms/
12993 * FontLoader.C: moved into frontends for GUIIzation
12998 * lyxfunc.C: changes from above
13000 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
13002 * LColor.C: remove spurious X include
13004 * BufferView_pimpl.C:
13009 * text2.C: move font metrics to frontends/
13011 2002-05-24 Juergen Vigna <jug@sad.it>
13013 * undo_funcs.C (textHandleUndo): fix the cursor selection after
13014 setting the undo_cursor.
13016 * ParagraphParameters.h: include local includes first.
13018 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13020 * BufferView_pimpl.C:
13021 * BufferView_pimpl.h:
13025 * screen.C: move WorkArea into frontends/
13031 * BufferView2.C: move LyXScreen into frontends/
13035 * lyx_gui.C: move lyxlookup into frontends/xforms/
13037 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13040 * BufferView_pimpl.C:
13050 * bufferview_funcs.C:
13063 * vc-backend.C: move LyX/XFormsView into frontends/
13065 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13077 * text2.C: move Painter to frontends/
13079 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
13081 * buffer.C: comment out some some code that depend upon lyx_format
13084 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13085 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13087 * buffer.h (NO_COMPABILITY): turn off compability
13089 * ColorHandler.C: include scoped_array.hpp
13091 * font.C: Use more specific smart_ptr header.
13094 * ShareContainer.h: ditto
13095 * lyx_main.h: ditto
13097 * FontInfo.h: ditto
13098 * BufferView_pimpl.h: ditto
13099 * ColorHandler.h: ditto
13101 * kbmap.C (defkey): change call to shared_ptr::reset
13103 2002-05-21 Juergen Vigna <jug@sad.it>
13105 * buffer.C (insertErtContents): fix to insert ert asis if it is
13106 non empty. Skip it completely if it contains only whitespaces.
13108 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13110 * BufferView_pimpl.C:
13111 * BufferView2.C: clear selection on paste (bug 393)
13113 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * DepTable.C: include ctime
13117 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13119 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13121 2002-05-14 Juergen Vigna <jug@sad.it>
13123 * text.C (breakParagraph): fixed function to honor the keepempty
13124 layout in the right maner and also to permit the right breaking
13125 algorithm on empty or non empyt keepempty paragraphs.
13127 * paragraph.C (breakParagraph): we have to check also if the par
13128 is really empty (!size()) for isempty otherwise we do the wrong
13131 2002-05-10 Juergen Vigna <jug@sad.it>
13133 * buffer.[Ch] : The following are only changes to the ert
13134 compatibility read reading old LaTeX layout and font stuff and
13135 convert it to ERTInsets.
13137 * buffer.h: added isErtInset().
13139 * buffer.C (struct ErtComp): add a fromlayout bool to check
13140 if we're inside a LaTeX layout.
13141 (isErtInset): new helper function.
13142 (insertErtContents): look for other ert insets before this one
13143 and insert the contents there, so that we don't have subsequent
13144 ERT insets with nothing between them. This way we create only one
13145 inset with multiple paragraphs. Also check if we don't insert only
13146 spaces ' ' as they are ignored anyway afterwards in the .tex file
13147 so if we have only spaces we will ignore this latex part in the
13149 (parseSingleLyXformat2Token \\layout): better compatibility when
13150 reading layout-latex stuff.
13151 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13153 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13154 stuff after reading the inset only get the information back from
13157 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13159 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13161 * LaTeXFeatures.C (getBabelOptions): New method.
13163 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13165 * BufferView_pimpl.C (Dispatch): work around missing argument for
13168 2002-05-08 Juergen Vigna <jug@sad.it>
13170 * text.C (leftMargin): handle paragraph leftindent.
13172 * paragraph.C (writeFile): write the new \\leftindent tag.
13173 (validate): handle leftindent code.
13174 (TeXEnvironment): handle paragraphleftindent code again.
13176 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13178 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13179 for paragrap_extra indent code and new token \\leftindent.
13180 (latexParagraphs): handle the leftindent as environment.
13182 * ParameterStruct.h: added leftindent support.
13184 * ParagraphParameters.C (leftIndent): added support functions for
13185 the paragraph left indent.
13187 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13190 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13192 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13195 * text.C (computeBidiTables): No bidi in insetERT.
13197 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13200 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * version.C.in: pre 5
13204 2002-05-02 José Matos <jamatos@fep.up.pt>
13205 * buffer.C (makeDocBookFile): white space changes, add newline to
13207 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13209 * tabular.C (docBook): fix typo.
13211 2002-05-03 Juergen Vigna <jug@sad.it>
13213 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13214 change in LyXText as we can not be sure it was not freed.
13215 (drawOneRow): remove unused code.
13217 * text.C (drawInset): redo the calculation of the need_break_row as
13218 it could have a row which was already freed.
13219 (draw): look at the return value of drawInset and return false if
13220 it also returned false.
13221 (paintRowText): look at the return value of draw and return false if
13222 it also returned false.
13224 * lyxtext.h: added bool return type to drawInset() and draw() so that
13225 if we have a change in the row so that the rowbreak has to be redone
13226 we abort drawing as it will be called again.
13228 2002-05-02 Juergen Vigna <jug@sad.it>
13230 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13231 a change in the maintext also if we're inside an inset.
13232 (Dispatch): set the cursor again after a break line and after the
13233 screen has been updated as it could be we're in a different row.
13235 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13236 to set the cursor behind the pargraph with > size().
13237 (setCursor): check also for the same paragraph when checking where
13238 to put the cursor if we have a NFR inset.
13240 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13241 parts of layout read further up as it still was in the wrong
13244 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13246 * screen.C (drawFromTo): change sine fullRebreak always return
13249 * buffer.C (parseSingleLyXformat2Token): reindent some
13251 * BufferView_pimpl.C (update): change since fullRebreak always
13253 (Dispatch): git rid of the last hardcoded "Standard"s.
13255 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13257 * text2.[Ch] (fullRebreak): make it return void now that we always
13260 2002-04-30 Juergen Vigna <jug@sad.it>
13262 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13263 ert compatibility check for "latex" layout.
13265 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13267 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13268 minipages: use col% instead of p%, and also use the current font.
13269 (makeLaTeXFile): Fix use babel condition.
13270 (parseSingleLyXformat2Token): Correct font when reading old floats.
13272 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13274 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13275 inserting list of floats.
13277 2002-04-25 Herbert Voss <voss@lyx.org>
13279 * MenuBackend.C (expand): don't add the graphics extensions to the
13282 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13284 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13285 non-existing layout, do not complain if it was the default layout
13286 of the original class (bug #342)
13288 2002-04-24 Juergen Vigna <jug@sad.it>
13290 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13291 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13293 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13295 * buffer.C (getBibkeyList): If using \bibliography, return the
13296 option field with the reference itself. Enables us to provide natbib
13297 support when using \bibliography.
13299 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13301 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13303 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13304 natbib is provided by the LaTeX class.
13306 2002-04-23 Juergen Vigna <jug@sad.it>
13308 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13311 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13313 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13315 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13317 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13318 ensuremath around textordmasculine, textordfeminine and
13321 2002-04-19 Juergen Vigna <jug@sad.it>
13323 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13324 reinitializing the buffer otherwise row-dimensions may be wrong.
13325 (update): reset also the selection cursors if they do exits otherwise
13326 their x/y positions may be wrong.
13328 * text2.C (cursorDown): don't enter the inset if we came from a row
13329 above and are one row over the inset.
13331 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13332 really leaving an inset.
13334 2002-04-18 Juergen Vigna <jug@sad.it>
13336 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13337 of the selected paragraph does not have the selected layout also if
13340 * text2.C (setLayout): fixed bug which did not change last selected
13343 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13344 changed the read and substituted \\end_float with \\end_inset!
13346 * BufferView_pimpl.C (cursorPrevious):
13347 (cursorNext): fixed to make it work with rows heigher than the work
13348 area without moving the cursor only the draw of the row.
13349 (workAreaMotionNotify): fix jumping over high rows.
13351 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13353 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13356 2002-04-16 Juergen Vigna <jug@sad.it>
13358 * text2.C (setCursor): set also the irow().
13359 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13361 (cursorDown): support for locking an inset if the x_fix value goes
13362 inside it. That way I can transverse insets too with cursor up/down.
13364 * lyxrow.h: added irow helper function same as other (i) functions.
13366 * BufferView_pimpl.C (cursorPrevious):
13367 (cursorNext): fixed for insets!
13369 2002-04-15 Juergen Vigna <jug@sad.it>
13371 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13372 position otherwise it is wrong in some cases.
13374 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13375 inside the inset before the call.
13377 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13379 * buffer.[Ch] (getBibkeyList): make it const.
13381 2002-04-12 Juergen Vigna <jug@sad.it>
13383 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13385 * text2.C (getCursorX): new helper function
13386 (setCursor): compute also ix_
13387 (setCursorFromCoordinates): set also ix.
13389 * lyxcursor.h: added ix_ and helper functions.
13391 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13393 * buffer.C (insertStringAsLines): dont break paragraph if the this
13394 paragraph is inside an inset which does not permit it!
13396 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13397 also with no chars on this paragraph.
13398 (paintRowText): only paint stuff if it's inside the workarea!
13400 * paragraph.C (breakParagraph): honor keepempty flag and break the
13401 paragraph always below not above.
13403 * BufferView2.C (unlockInset): update the paragraph layout on inset
13404 unlock as we changed paragraph in such a case.
13406 * lyxfind.C (LyXFind): clear the former selection if not found!
13408 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13409 again called in insertChar().
13411 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13412 an inset which uses the whole row!
13413 (rightMargin): ditto.
13414 (insertChar): force a rebreak if we inserted an inset!
13416 2002-03-28 Herbert Voss <voss@lyx.org>
13418 * lyxlength.[Ch]: add inBP() to get the right PS-point
13419 units (BigPoint). With inPixels we have rounding errors
13421 2002-04-11 Juergen Vigna <jug@sad.it>
13423 * text2.C (setCursorFromCoordinates): set iy to the right value.
13424 (setCursor): add check if row->previous exists!
13426 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13427 an old float_type as this was the case in the old code!
13429 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13431 * BufferView2.C (showLockedInsetCursor): use iy
13432 (fitLockedInsetCursor): ditto
13434 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13435 locked insets as there we have the right value now.
13437 * lyxcursor.C: added iy_ variable and iy functions to set to the
13438 baseline of cursor-y of the locked inset.
13440 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13441 (setCursor): fixed for insets which need a full row.
13443 * text.C (rowLastPrintable): don't ignore the last space when before
13444 an inset which needs a full row.
13445 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13446 as last character of a row when before a inset which needs a full row.
13448 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13450 * version.C.in: update date
13452 * text2.C (fullRebreak): try to always return true and see what
13455 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13457 * MenuBackend.C (expand): use Floating::listName
13459 * FloatList.C (FloatList): add listName argument to the built-in
13462 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13463 text associated with the float.
13465 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13467 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13469 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13471 * ShareContainer.h: add a couple of missing typenames.
13473 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13475 * lyxrc.C (getDescription): use _() correctly rather than N_().
13477 2002-03-28 Herbert Voss <voss@lyx.org>
13479 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13480 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13482 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13484 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13485 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13487 2002-03-29 Juergen Vigna <jug@sad.it>
13489 * lyxfunc.C (dispatch): add a missing fitCursor call.
13491 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13492 it was scrolled by a cursor move, so return the bool status.
13494 * BufferView.C (fitCursor): return the bool flag also to the outside
13495 world as this is needed.
13497 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13499 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13500 call the edit() as it is not needed (and wrong) IMO.
13501 (workAreaButtonPress): set the screen_first variable before evt.
13502 unlock the inset as this may change screen_first and then we have
13503 a wrong y position for the click!
13505 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13507 * MenuBackend.C (expand): another translation that I missed
13509 2002-03-28 Juergen Vigna <jug@sad.it>
13511 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13513 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13515 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13517 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13519 * MenuBackend.C (expand): fix export/view/update when there is no
13522 2002-03-27 Herbert Voss <voss@lyx.org>
13524 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13527 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13529 * bufferview_funcs.C (currentState): only show paragraph number
13530 for is DEVEL_VERSION is set.
13532 * lyxfunc.C (dispatch): put warning in INFO channel
13534 * MenuBackend.C (expand): translate the name of floats
13536 * FloatList.C (FloatList): mark the float names for translation
13538 * converter.C (convert): use LibScriptSearch
13540 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13542 * MenuBackend.C (defaults): fix default menu (we might as well get
13545 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13547 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13550 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13552 * lyxvc.C: reorder includes.
13554 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13556 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13559 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13561 * CutAndPaste.C: change layouts earlier on paste
13562 to avoid crashing when calling getFont()
13564 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13566 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13569 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13571 * WorkArea.C: remove 'Pending' debug message.
13573 * most files: ws cleanup
13575 * buffer.[Ch]: ws changes
13577 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13579 2002-03-21 Juergen Vigna <jug@sad.it>
13581 * tabular.C (SetMultiColumn): collapse also the contents of the
13582 cells and set the last border right. Added a Buffer const * param.
13584 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13586 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13589 2002-03-19 Juergen Vigna <jug@sad.it>
13591 * text2.C (clearSelection): reset also xsel_cache.
13593 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13594 where it needs to be called (John tells us to do so too :)
13595 (selectionLost): reset sel_cache.
13597 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13599 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13601 * text2.C (setCursorIntern): put debuging code in INSETS channel
13603 2002-03-19 André Pönitz <poenitz@gmx.net>
13605 * lyxfunc.C: tiny whitespace change
13607 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13609 * ToolbarDefaults.C (init):
13610 * LyXAction.C (init):
13612 * BufferView_pimpl.C (Dispatch):
13613 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13615 2002-03-19 Allan Rae <rae@lyx.org>
13617 * exporter.C (Export): removeAutoInsets before doing anything else.
13618 While I've just introduced a dependency on BufferView this really is
13619 the best place to clean the buffer otherwise you need to cleanup in
13620 a dozen places before calling export or cleanup in a dozen functions
13623 * converter.C (runLaTeX):
13624 (scanLog): Better handling of removeAutoInsets and screen updates.
13626 * lyxfunc.C (dispatch): small whitespace changes
13628 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13630 * WorkArea.C (C_WorkAreaEvent): return a value.
13631 (event_cb): return 1 if we handled the event, 0 otherwise.
13633 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13635 2002-03-18 Juergen Vigna <jug@sad.it>
13637 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13638 (GetAdditionalWidth): ditto.
13639 (RightLine): ditto.
13642 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13643 inset if we're there actually (probably not used right now but this
13644 is the direction to go for unifying code).
13645 (paste): disable code to clear the selection.
13647 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13648 inside an InsetText and move the check further up as it is in the
13651 * text2.C (pasteSelection): set a selection over the pasted text.
13653 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13655 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13656 and libgraphics to build on Cygwin.
13658 2002-03-15 Juergen Vigna <jug@sad.it>
13660 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13661 inserting an Inset into the paragraph. I know this is not the best
13662 fix but we already use current_view in CutAndPaste so we will remove
13663 all of it's using at the same time.
13665 * buffer.C (sgmlError): deactivated function till it is rewritten in
13666 the right mode, now it can create problems.
13668 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13669 before accessing it.
13671 2002-03-14 Juergen Vigna <jug@sad.it>
13673 * undo_funcs.C (textHandleUndo): do the right thing when updating
13674 the inset after the undo/redo.
13676 * text2.C (setCursor): just some testcode for #44 not ready yet.
13678 * undo_funcs.C (textHandleUndo): set the next() and previous()
13679 pointers of the paragraph to 0 before deleting otherwise we have
13680 problems with the Paragraph::[destructor].
13682 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13683 on a paragraph insertion.
13685 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13687 * buffer.C (asciiParagraph): use += operator for char append to
13690 * paragraph.C (getFontSettings): compare >= not just >
13691 (highestFontInRange): ditto
13694 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13696 * paragraph.C: change several algorithm to be more appripriate for
13697 the problem domain. This is lookip in FontList and in the InsetList.
13699 2002-03-13 André Pönitz <poenitz@gmx.net>
13702 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13704 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13709 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13711 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13713 * Painter.C (display): anon helper function, adjust code for this
13715 (pixmap): remove function.
13717 * Painter.h: remove private display variable.
13719 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13721 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13723 * WorkArea.[Ch]: remove figinset_canvas cruft.
13725 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13727 * lyxtextclass.C (operator): add one item cache optimization.
13729 * bufferlist.h: doxy changes
13731 * bufferlist.C: ws changes
13733 * DepTable.[Ch] (ext_exist): place const in the right spot.
13735 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13737 (workAreaExpose): call resizeInsets when the with BufferView changes.
13738 (Dispatch): adjust for protectedBlank removal
13739 (specialChar): call updateInset if the insert went ok.
13741 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13742 specialChar instead.
13744 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13746 * BufferView.h: doxy change
13748 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13750 * lyxtextclass.C (operator[]): remove non-const version
13751 (defaultLayout): remove non-const version
13753 2002-03-12 Juergen Vigna <jug@sad.it>
13755 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13756 did resize the LyXText too.
13758 * buffer.C (readLyXformat2): set layout information on newly allocated
13761 * tabular.C (OldFormatRead): set layout information on the paragraph.
13763 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13765 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13767 2002-03-11 Juergen Vigna <jug@sad.it>
13769 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13771 (resizeCurrentBuffer): force also the insets to resize themselfes.
13772 (moveCursorUpdate): fixed up for InsetText.
13774 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13777 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13778 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13779 value of Dialogs::tooltipsEnabled().
13780 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13782 2002-03-08 Juergen Vigna <jug@sad.it>
13784 * BufferView_pimpl.C (updateInset): update inset inside inset also
13785 if it isn't inside theLockingInset().
13787 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13789 * buffer.C (asciiParagraph): redo some of the word and line length
13791 (getLists): look for Caption instead of caption.
13793 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13795 * buffer.C (Buffer): initialize niceFile to true
13797 (makeLinuxDocFile):
13798 (makeDocBookFile): make sure niceFile is true on exit
13800 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13802 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13804 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13806 * LyXSendto.C: remove.
13807 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13808 * lyx_gui.C: remove now-redundant comment.
13809 * ColorHandler.h: remove forward declaration of class WorkArea.
13810 * lyxfunc.C: remove #include "WorkArea.h".
13812 2002-03-07 Juergen Vigna <jug@sad.it>
13814 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13815 got moved away with the DEPM and also set the inset_owner always
13816 right which before could have been omitted.
13818 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13820 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13821 wanted layout is not found.
13823 2002-03-07 Juergen Vigna <jug@sad.it>
13825 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13827 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13829 * paragraph.C (breakParagraph): use default layout not layout of
13831 (Paragraph): clear ParagraphParameters.
13833 2002-03-06 Juergen Vigna <jug@sad.it>
13835 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13836 otherwise it would not be a valid lenght. Fixed a special case in
13837 the minipage compatibility read where we end the document with a
13840 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13841 was set as it could be 0 for InsetTexts first entry.
13843 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13845 * paragraph.C (writeFile): if layout is empty write out
13846 defaultLayoutName().
13848 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13849 file without named layout we set layout to defaultLayoutName().
13851 2002-03-06 Juergen Vigna <jug@sad.it>
13853 * CutAndPaste.C (copySelection): set layout for new paragraph.
13855 * text.C (prepareToPrint): leave ERT inset left aligned
13856 (leftMargin): don't indent paragraphs inside ERT insets
13858 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13860 * paragraph.C (breakParagraph): dont call clear do the work manually
13862 * paragraph.[Ch] (clear): remove function
13864 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13866 * paragraph.C (Paragraph): dont call clear, the work has already
13869 * lyxtextclass.C (operator): assert if n is empty
13871 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13872 work manually instead.
13874 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13876 * BufferView_pimpl.C: protect selectionLost against text == 0
13878 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13880 * text.C (breakParagraph): fix a setting layout to '0' problem.
13882 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13884 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13885 final location of file, for the included files, and graphics.
13887 2002-03-05 Juergen Vigna <jug@sad.it>
13889 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13891 2002-03-04 Juergen Vigna <jug@sad.it>
13893 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13895 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13896 last column of multicolumn cells.
13897 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13899 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13901 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13902 file if it doesn't go to a temporary file.
13904 * buffer.C (sgmlOpenTag):
13905 (sgmlCloseTag): remove extra newline insertion.
13907 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13909 * text.C (getRowNearY): comment out debug msg
13911 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13913 * text2.C: first -> first_y
13915 * text.C (getRowNearY): add some attemts at a possible
13916 optimization, not working.
13918 * tabular.[Ch]: add BufferParams to several function so that newly
13919 created paragraph can be initialized to he default layotu for the
13922 * tabular-old.C (ReadOld): add buf->params to call of Init
13924 * screen.C: rename text->first to text->first_y
13926 * paragraph.C (breakParagraph): always set layout in the broken
13929 * lyxtextclass.C (Read): remove lowercase
13932 (delete_layout): ditto
13934 * lyxtext.h: rename first -> first_y
13936 * lyxlayout.C (Read): remove lowercase
13939 (obsoleted_by): ditto
13941 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13943 * buffer.C (insertErtContents): add params are to InsetERT
13944 (parseSingleLyXformat2Token): add code to check if a paragraphs
13945 layout really exist.
13946 (parseSingleLyXformat2Token): add params to several inset
13948 (asciiParagraph): remove lowercase, do the layout comparisons with
13951 * BufferView_pimpl.C (cursorNext): first -> first_y
13952 (resizeCurrentBuffer): first -> first_y
13953 (updateScrollbar): first -> first_y
13954 (scrollCB): first -> first_y
13955 (workAreaMotionNotify): first -> first_y
13956 (workAreaButtonPress): first -> first_y
13957 (checkInsetHit): first -> first_y
13958 (cursorPrevious): first -> first_y
13959 (cursorNext): first -> first_y
13960 (Dispatch): add buffer_->params to severl inset contructors
13962 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13964 * lyxlayout.C (Read): remove some debug info that I forgot.
13966 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13967 clean up the code slightly.
13968 (makeLinuxDocFile): ditto
13969 (makeDocBookFile): ditto
13971 * text2.C: layout as string
13973 * text.C: layout as string
13975 * paragraph_pimpl.C: layout as string
13977 * paragraph.[Ch]: layout as string
13979 * lyxtextclasslist.[Ch]: layout as string
13981 * lyxtextclass.[Ch]: layout as string
13983 * lyxtext.h: layout as string
13985 * lyxlayout.[Ch]: layout as string
13987 * lyx_cb.C: layout as string
13989 * bufferview_funcs.C: layout as string
13991 * bufferparams.C: layout as string
13993 * buffer.C: layout as string
13995 * LyXView.[Ch]: layout as string
13997 * LaTeXFeatures.[Ch]: layout as string
13999 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
14001 * BufferView_pimpl.C: change current_layout to string, remove
14006 (workAreaButtonRelease): layout as string
14008 * BufferView2.C (unlockInset): adjust
14010 * vspace.C (asLatexCommand): use an explict temp variable.
14012 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
14014 * Makefile.am: use FRONTEND_*
14016 2002-03-01 Juergen Vigna <jug@sad.it>
14018 * tabular.C (SetWidthOfMulticolCell): changed to something better
14019 I hope but still work in progress.
14020 (recalculateMulticolumnsOfColumn): renamed function from
14021 recalculateMulticolCells as it is more appropriate now.
14022 (SetWidthOfCell): calculate multicols better.
14024 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14026 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
14028 * lyxfunc.C (processKeySym): print sequence also if it is
14029 `deleted' (complete)
14031 * kbsequence.C (print): print sequence even if it is deleted
14032 (complete would be a better word, actually).
14034 * lyxfunc.C (dispatch): print complete options after a prefix key
14036 * vspace.C (asLatexCommand): rewrite in a slightly different form.
14038 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
14040 * text2.C (setCharFont): eliminate setCharFont code duplication.
14042 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14044 * BufferView_pimpl.C (Dispatch): remove bogus handling of
14045 LFUN_TABULAR_FEATURE (bug #177)
14047 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
14049 * Makefile.am: remove figure.h
14051 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
14053 * Bufferview_pimpl.C:
14065 * text2.C: remove #include "lyx_gui_misc.h".
14067 * LaTeX.C: added #include <cstdio>
14069 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14071 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14072 that the paragraph following this one can have.
14074 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14076 * vspace.C (asLatexCommand): fix bogus gcc warning
14078 * Makefile.am (lyx_SOURCES): remove vms_defines.h
14080 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
14082 * text2.C (setLayout): get rid of redundant code
14084 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
14086 * text2.C (incDepth): make sure depth cannot be increased beyond
14089 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
14091 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14092 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14094 * PainterBase.h (image):
14095 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14096 a LyXImage const *.
14098 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14102 * BufferView_pimpl.C:
14103 * BufferView_pimpl.h:
14123 * sp_spell.C: remove fig inset, and the crap house of
14124 cards that follows it
14126 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14131 * os2_errortable.h:
14132 * nt_defines.h: move .h into support/
14134 * vms_defines.h: remove
14136 * WorkArea.C: add space in debug output
14140 * buffer.C: add WITH_WARNINGS
14144 * bufferlist.C: s/retrive/retrieve/, add docs
14153 * chset.C: add docs
14155 * lyxgui.C: add ID to X error handler
14157 * lyxtestclass.c: fix typo
14159 2002-02-26 Juergen Vigna <jug@sad.it>
14161 * tabular_funcs.C (write_attribute): changed so that some default
14162 attributes are not written at all.
14163 (getTokenValue): set default values before trying to read the
14164 value so we have the return value always set as default if we don't
14165 find the token we search for.
14167 * tabular.C (Write): write bools as bools not as strings!
14169 2002-02-22 Juergen Vigna <jug@sad.it>
14171 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14172 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14174 * text.C (leftMargin): don't add an indent for paragraphs inside
14175 tabular cells (fix #208).
14177 2002-02-21 José Matos <jamatos@fep.up.pt>
14179 * tabular.C (docBook): fixed support for long tables.
14181 2002-02-20 Juergen Vigna <jug@sad.it>
14183 * text2.C (getFont): get the drawing font of the Inset if this
14184 paragraph is inside an inset (only important for InsetERT for now).
14186 * buffer.C (insertErtContents): use new lanugage params in ERT
14189 * CutAndPaste.C: commenting out seemingly uneeded code.
14191 2002-02-19 Allan Rae <rae@lyx.org>
14193 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14194 Iterators might be simple to use but they also get invalidated.
14195 (removeAutoInsets): renamed saved cursor tracking variables and added
14196 some comments to clarify what everything does.
14198 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14205 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14206 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14209 * vc-backend.h: remove #include "support/syscall.h"
14213 * converter.C: rearrange #includes in Lars' approved fashion.
14215 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14216 forward declare class Timeout in the header file.
14218 * XFormsView.C: changes due to the above.
14220 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14221 similar to LyXView.
14223 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14224 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14226 2002-02-18 José Matos <jamatos@fep.up.pt>
14228 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14231 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14233 * a lot of small ws changes
14234 * add a lot of using std::XXX
14235 * use std construcs some places where approp.
14236 * use some exisint stuff from lyxfunctional where approp.
14237 * Make file changes to use partial linking (lets test this now...)
14239 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14243 remove #include "support/syscontr.h" as it's redundant. Always has been.
14251 change Systemcalls::System to Systemcalls::Wait and
14252 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14253 No change of functionality, just reflects the stripped down Systemcalls
14256 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14258 * debug.[Ch]: add a GRAPHICS type to the enum.
14260 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14262 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14264 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14267 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14269 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14270 match the changes below.
14272 * text2.C (toggleInset): if there is not editable inset at cursor
14273 position, try to see if cursor is _inside_ a collapsable inset
14276 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14278 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14279 document menu has a nice checkbox
14281 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14283 * lyxlength.C (asLatexString): change PW to output as percent of
14286 * lengthcommon.C: change '%' to 't%'
14288 * lyxfunc.C (dispatch): a few comments from Martin
14290 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14294 * BufferView_pimpl.h:
14295 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14298 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14300 * vspace.C (inPixels): fix compiler warning
14302 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14304 * lyxfunc.C (getStatus): fix status message for disabled commands.
14306 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14308 * BufferView_pimpl.C: fix crash on close buffer
14309 during selection (#227)
14311 2002-01-27 Herbert Voss <voss@lyx.org>
14313 * buffer.C: link old Figure to new graphic inset
14315 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14317 * FontLoader.C (getFontinfo): Change the latex font names in order
14318 to match the names of type1inst.
14320 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14322 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14324 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14325 (extchanged): ditto
14327 (remove_files_with_extension): ditto
14328 (remove_file): ditto
14331 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14332 document is smaller than the work area height. Do not initialize
14333 static variables to 0.
14335 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14337 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14339 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14340 LFUN_LAYOUT_PARAGRAPHS.
14342 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14343 tabular. It is possible to provide a possible cell, which will
14344 typically be the actcell from the corresponding insettabular
14346 * lyxfunc.C (getStatus): small cleanup; disable
14347 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14350 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14352 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14354 * paragraph.C (startTeXParParams):
14355 (endTeXParParams): new methods. The LaTeX code to
14356 start/end paragraph formatting
14357 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14358 empty (fixes bug #200)
14360 * vspace.C (inPixels): adapt to the change below
14361 (inPixels): [later] more cleanups (remove unused variables)
14363 * lyxlength.C (inPixels): change to use a width and a height as
14366 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14368 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14369 Replaced with \paperwidth
14371 * DepTable.C (insert): add std:: qualifier
14373 2002-01-18 Allan Rae <rae@lyx.org>
14375 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14378 * text.C (drawInset): Turned out I didn't know enough about how
14379 rebreaking worked. This fixes most of the redraw problems. I see
14380 an occasional cursor trail when a line is broken now and the cursor
14381 placement can seem out by a few pixels also after a rebreak.
14383 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14385 * buffer.C (parseSingleLyXformat2Token): update because minipage
14386 width is now a LyXLength
14388 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14390 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14393 2002-01-17 Juergen Vigna <jug@sad.it>
14395 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14397 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14398 is set correctly and the inset is updated correctly.
14400 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14402 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14403 the beginning of the loop.
14405 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14407 * lyxrc.C: improve help for use_scalable_fonts
14409 2002-01-17 Allan Rae <rae@lyx.org>
14411 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14413 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14415 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14416 make sure to set their inset_owner to the right value (bug #171)
14418 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14421 * DepTable.C: Implement mtime checking to reduce time spent doing
14424 2002-01-16 Juergen Vigna <jug@sad.it>
14426 * tabular.C (GetAdditionalHeight): one of error fixed.
14428 * lyxrc.C (output): small fix in writing use_pspell.
14430 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14432 * sp_base.h: #include LString.h
14434 2002-01-16 Allan Rae <rae@lyx.org>
14436 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14437 Can someone check this please?
14439 * text.C (drawInset): It was possible that p.row would be removed by
14440 breakAgainOneRow upsetting a few other settings. There may be another
14441 small tweak possible by setting need_break_row = 0 when p.row has been
14442 removed but I don't know enough about the logic here.
14444 2002-01-15 Allan Rae <rae@lyx.org>
14446 * text.C (insertChar): removed conditional truism.
14448 * BufferView2.C (removeAutoInsets): More tweaks.
14449 cur_par_prev could be a stray pointer. Check for trailing empty line
14450 in case last line was cur_par and only had an error inset on it.
14452 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14454 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14457 * vc-backend.C (most methods):
14458 * exporter.C (Export):
14459 * converter.C (convert):
14461 * LyXSendto.C (SendtoApplyCB):
14462 * lyxfunc.C (dispatch):
14466 * lyx_cb.C (AutoSave):
14468 * BufferView_pimpl.C (MenuInsertLyXFile):
14469 * buffer.C (runChktex): use Buffer::filePath().
14471 * buffer.h: rename filename to filename_; rename filepath to
14472 filepath_ and make it private
14473 (filePath): new method
14475 * buffer.C (writeFile): use fileName()
14478 * lyx_main.C (init): fix starting of LyX when the binary is a
14479 link from so,ewhere else.
14481 * minibuffer.C: include <cctype> for isprint
14483 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14485 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14486 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14487 name clash with InsetCollapsable's width function.
14489 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14491 * lastfiles.C: include <iterator>
14493 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14495 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14498 * buffer.C (makeLaTeXFile): ditto.
14499 Also make loop operation more transparent.
14501 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14503 * ToolbarDefaults.C: remove trailing comma closing namespace.
14505 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14507 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14510 * trans.C (Load): comment out unused variable, allowed.
14512 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14514 * minibuffer.[Ch] (append_char): new method to recieve input from the
14515 drop-down completion browser. If a key was pressed, then recieve this
14516 char and append it to the existing string.
14517 (peek_event): modify the positioning data passed to the completion
14518 browser so that it can be placed above the minibuffer rather than below.
14519 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14521 * LyXAction.C (init): alloe error-next for readonly documents.
14523 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14526 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14528 * bufferlist.C (readFile): create the buffer _after_ checking that
14531 * lyxfunc.C (verboseDispatch): fix handling of arguments
14533 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14535 * lyxrc.C: use string::erase() instead of initializing to "".
14538 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14540 * BufferView_pimpl.h:
14541 * BufferView_pimpl.C:
14544 * text2.C: tell X when we have made a selection for copying
14546 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14548 * BufferView_pimpl.C (MenuInsertLyXFile):
14549 * lyxfunc.C (menuNew):
14551 (doImport): add shortcuts to directory buttons
14553 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14556 * lyxfunc.C (setStatusMessage):
14557 (getStatusMessage): new methods
14558 (getStatus):use setStatusMessage instead of setErrorMessage
14559 (dispatch): when function is disabled, set error message here
14560 [instead of in getStatus previously]
14562 * BufferView_pimpl.C (workAreaButtonRelease): update
14563 toolbar/menubar here too.
14565 2002-01-13 Allan Rae <rae@lyx.org>
14567 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14568 Now seems indestructible. Remaining task is to audit all other
14569 code affected by deleteEmptyParagraphMechanism. One small quirk
14570 left is that an empty document with an error in the preamble can
14571 be made to report an error but no error box appears. I don't know
14573 (removeAutoInsets): Improved comments.
14575 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14578 * Thesaurus.C: update for Aiksaurus 0.14
14580 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14582 * text2.C (firstParagraph): removed member function, all uses
14583 replaces with ownerParagraph
14584 (redoParagraphs): here
14585 (updateInset): here
14586 (toggleAppendix): here
14587 * BufferView2.C (insertErrors): here
14588 (setCursorFromRow): here
14590 2002-01-13 Allan Rae <rae@lyx.org>
14592 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14593 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14594 There is still a way to segfault this although you may have to do this
14595 multiple times: Have an InsetERT with an unknown command in it.
14596 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14597 <down-arrow>, <Enter> again, View->DVI, BANG!
14599 * text2.C (setCursor):
14600 (deleteEmptyParagraphMechanism):
14601 * lyxtext.h (setCursor):
14602 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14603 Making use of the return value may help fix other bugs.
14605 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14607 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14609 * LyXView.C (updateMenubar): call MenuBar::update here
14610 (updateToolbar): but not here
14611 (showState): do not update toolbar/menubar
14613 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14614 should need to care about that.
14616 * lyxfunc.C (verboseDispatch): simplify a bit
14617 (getStatus): have a version which takes a pseudoaction, and
14618 another which requires a (kb_action,string).
14620 * LyXAction.C (retrieveActionArg): make it work also when action
14621 is not a pseudo-action.
14622 (getActionName): simplify a bit
14625 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14627 * lyxfunc.C (verboseDispatch): new families of methods with
14628 several ways to specify a command and a bool to indicate whether
14629 the command name and shortcut should be displayed in minibuffer
14630 (eventually, we could extend that to a finer bitmask like
14631 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14632 (dispatch): the pristine dispatch command which just, well,
14633 dispatchs! Note it still sets its result to minibuffer; I'm not
14636 * lyxfunc.h: remove setHintMessage
14638 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14640 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14642 * BufferView_pimpl.C (specialChar): delete new inset if we have
14643 not been able to insert it.
14645 * kbmap.C: revert to using int instead of kb_action, since all we
14646 are dealing with is pseudo-actions.
14648 * LyXAction.C (searchActionArg): change to return int instead of
14649 kb_action, since the result is a pseudoaction.
14651 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14653 * buffer.C (insertErtContents): Fix (partially) the font bug.
14655 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14657 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14658 as the other one is broken on my machine!
14660 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14663 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14665 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14667 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14668 reflect their actual use. Provide compatibility code for older lyxrc
14671 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14673 change names of popup font variables in line with the changes to lyxrc.C
14675 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14677 * buffer.C (asciiParagraph): avoid outputing a word twice after
14680 * lyxrc.C (getDescription): document that document_path and
14681 template_path can be empty.
14683 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14685 * LaTeXFeatures.C (getMacros):
14686 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14688 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14690 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14692 (getPackages): rename feature "floats" to "float". Use an array to
14693 iterate over 'simple' features (i.e. just a \usepackage). Add
14694 handling of "amsmath" (renamed from "amsstyle").
14696 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14698 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14701 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14703 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14704 FuncStaus::FuncStatus & FuncStaus::some_method().
14706 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14708 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14709 of the func_satus stuff. Edited and massaged in various ways by
14712 * lyxfunc.C (getStatus): use FuncStatus
14714 2002-01-08 Juergen Vigna <jug@sad.it>
14716 * text.C (nextBreakPoint): use function Inset::isChar().
14718 * paragraph.C (TeXOnePar): use function
14719 Inset::forceDefaultParagraphs.
14721 * buffer.C (latexParagraphs): use function
14722 Inset::forceDefaultParagraphs.
14724 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14726 * lyx_gui.C (init): set the style of the menu popups to
14727 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14729 2002-01-07 Juergen Vigna <jug@sad.it>
14731 * text.C (setHeightOfRow): small fix
14732 (prepareToPrint): don't look at alignment if we don't have the place
14735 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14737 * box.C: New file. Move the Box methods and functions out of box.h,
14738 following Lars' suggestion.
14740 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14742 * box.h: #include "support/LOstream.h", needed for inlined function.
14745 * lyxtextclasslist.C: added some using std declarations.
14747 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14749 * box.h: make signed dimensions to allow insets wider than
14750 the screen (bug #162)
14752 * BufferView_pimpl.C: add some insetHit debug
14754 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14756 * vc-backend.C: add FIXME
14758 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14760 * lyxfunc.C (getStatus): enable code for showing math font status
14763 2002-01-07 Juergen Vigna <jug@sad.it>
14765 * text.C (nextBreakPoint): removed debug output not needed anymore.
14767 2002-01-06 Juergen Vigna <jug@sad.it>
14769 * text.C (nextBreakPoint): fixed up this function we had this bug
14770 since ever but now hopefully we break row better.
14771 (insertChar): we have to check if an inset is the next char as it
14772 could now happen that a large inset is causing a break.
14774 2002-01-05 Juergen Vigna <jug@sad.it>
14776 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14777 if it doesn't like to be drawed.
14779 2002-01-04 Juergen Vigna <jug@sad.it>
14781 * BufferView2.C (lockInset): forgot to set a cursor.
14783 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14785 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14787 * FormMathsPanel.C:
14790 * form_maths_panel.C:
14791 * form_maths_panel.h:
14792 * form_maths_panel.fd: implemented sub- and super- buttons in math
14795 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14796 (or ^ space) to be used as in TeX (req'd by Andr�.
14798 * lyxfunc.C: Allow ^ and _ again to be used both as
14799 super/subscript (mathed) and as themselves (in text).
14801 2002-01-03 Allan Rae <rae@lyx.org>
14803 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14804 "LyX" or the filename of the current buffer if it has one. This is a
14805 modified form of John Levon's patch.
14807 * XFormsView.C (setWindowTitle): also set icon title.
14809 * LyXView.h (setWindowTitle): signature changed.
14810 * XFormsView.h (setWindowTitle): ditto.
14812 2002-01-02 Juergen Vigna <jug@sad.it>
14814 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14816 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14818 * screen.C (topCursorVisible): introduce a temp var for
14819 text->cursor.row(), handle the case where this row is null. (kindo
14822 * text2.C (setCursor): add a couple of asserts.
14824 * paragraph.h (inset_iterator): add -> operator
14826 * paragraph.[Ch] (autoDeleteInsets): remove member function
14828 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14829 cursor pos correctly and handle inset deletion by itself.
14830 (insertErrors): move iterator declaration out of for expression
14832 * lyxtextclass.C: add <algorithm>
14834 * Makefile.am: added the new files to sources, removed layout.C
14836 * layout.C: removed file
14838 * layout.h: remove LYX_DUMMY_LAYOUT
14840 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14844 * lyxtextclass.[Ch]:
14845 * lyxtextclasslist.[Ch]: new files
14847 * include order changes to a lot of files, also changes because of
14850 2001-12-27 Juergen Vigna <jug@sad.it>
14852 * buffer.C (asciiParagraph): more fixes.
14854 * tabular.C (ascii): make ascii export support export of only the
14855 data separated by a column-delimiter.
14856 (ascii): better support for ascii export.
14858 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14860 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14862 * tabular_funcs.C: use a "using std::getline" instead of the
14863 previous fix from Angus (necessary for cxx + lyxstring)
14865 2001-12-24 Juergen Vigna <jug@sad.it>
14867 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14869 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14870 problems. First check a minipage also if we have some ert-contents
14871 (not only on par->size(), second set the right depth of the paragraph
14872 on the relink to the root-paragraph-list!
14874 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14875 which then did not anymore update the main paragraphs on undo/redo!
14877 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14879 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14880 code. Support all font-changing funcs (even those which are not in
14881 menu currently). Support for reporting font settings in
14882 mathed (disabled until Andre provides a function on mathed's side).
14884 * func_status.h (toggle): small helper function to set toggle
14887 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14889 * tabular_funcs.C: getline -> std::getline
14891 2001-12-21 Juergen Vigna <jug@sad.it>
14893 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14894 accessed and could be 0 (I couldn't generate this but it seems
14897 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14899 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14900 * tabular_funcs.h: here and include iosfwd
14902 2001-12-20 Juergen Vigna <jug@sad.it>
14904 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14905 inside inset but undo_par was.
14907 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14909 * Thesaurus.C: always include <config.h> in sources.
14913 * box.h: do not include <config.h> in header files
14915 * text.C (paintLastRow): remove unused variable
14917 * text.C (transformChar):
14919 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14921 * Painter.C (text):
14922 * font.C (width): rewrite to use uppercase() instead of
14925 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14927 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14929 * lyxfind.C: clean up of find failure position change
14931 2001-12-20 Juergen Vigna <jug@sad.it>
14933 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14935 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14936 (TeXRow): added to LaTeX a single tabular row.
14937 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14938 (Latex): simplified and finally good LT-h/f support.
14939 (various_functions): just small adaptions for LT-h/f support.
14941 * tabular_funcs.[hC]: added and moved here all not classfunctions
14944 2001-12-19 Juergen Vigna <jug@sad.it>
14946 * tabular.[Ch]: better support for longtabular options (not finished
14949 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14951 * text.C (paintLastRow): use the label font instead of the font of
14952 the last character to compute the size of *_BOX. This makes more
14953 sense and avoids a crash with empty paragraphs.
14954 Use Painter::rectangle to draw EMPTY_BOX.
14956 2001-12-19 Juergen Vigna <jug@sad.it>
14958 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14959 the paragraphs if the replaced paragraph is not the first one!
14960 Tried to delete not used paragraphs but does not work yet so for
14961 now it's inside #ifdef's and by default off!
14963 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14965 * MenuBackend.C: include "lyx_main.h" instead of declaring
14966 lastfiles (actually was declared as LastFiles* instead of a
14969 2001-12-17 Juergen Vigna <jug@sad.it>
14971 * tabular.C (AppendColumn): applied John's fix
14973 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14977 * BufferView_pimpl.h:
14978 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14981 * box.h: new start of class for above
14983 * lyxfunc.C: ignore space-only minibuffer dispatches.
14984 Show the command name when it doesn't exist
14986 * minibuffer.C: don't add empty lines to the history
14988 * minibuffer.C: add a space on dropdown completion
14990 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14992 * text.C: fix line above/below drawing in insets
14994 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14996 * lyxlength.C (LyXLength): Initialize private variables.
14998 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
15000 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
15001 when inserting error insets.
15003 2001-12-13 Juergen Vigna <jug@sad.it>
15005 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
15006 actually sometimes the before-paragraph.
15007 (setUndo): don't clear the redostack if we're not actually undoing!
15009 2001-12-06 Juergen Vigna <jug@sad.it>
15011 * undo_funcs.C (textHandleUndo): well after John's hint I got here
15012 and fixed redoing of main paragraph, so we can use it now ;)
15014 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
15016 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15018 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
15021 2001-12-13 André Pönitz <poenitz@gmx.net>
15024 * undo_func.C: minor cleanup
15026 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15028 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
15029 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
15030 font in urw-fonts package which is marked as -urw-fontspecific and
15031 does not work (incidentally, changing the encoding in the
15032 fonts.dir of this package to -adobe-fontspecific fixes the
15035 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15036 is a crash when undoing first paragraph (Juergen, please take a
15037 look). THis does not mean the undo fix is wrong, just that it
15040 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15041 the (Paragraph*) version when needed instead of duplicating the
15044 * text.C (workWidth): use Inset::parOwner to find out where the
15045 inset has been inserted. This is a huge performance gain for large
15046 documents with lots of insets. If Inset::parOwner is not set, fall
15047 back on the brute force method
15049 * paragraph_pimpl.C (insertInset):
15050 * paragraph.C (Paragraph):
15051 (cutIntoMinibuffer): set parOwner of insets when
15052 inserting/removing them
15054 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15056 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
15062 * mathed/formulabase.C:
15063 * mathed/math_cursor.[Ch]:
15064 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15067 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15069 * lyxlength.[Ch] (operator!=): new function
15071 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15073 * text.C (workWidth): use Inset::parOwner to find out where the
15074 inset has been inserted. This is a huge performance gain for large
15075 documents with lots of insets. If Inset::parOwner is not set, fall
15076 back on the brute force method
15078 * paragraph_pimpl.C (insertInset):
15079 * paragraph.C (Paragraph):
15080 (cutIntoMinibuffer): set parOwner of insets when
15081 inserting/removing them
15083 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15085 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15087 * tabular-old.C (getTokenValue):
15088 * tabular.C (getTokenValue):
15089 (write_attribute): new versions for LyXLength
15090 (everywhere): adjust the use of widths
15092 * tabular.h: change the type of widths from string to LyXLength
15094 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15096 * paragraph.C: fixed missing line number count when exporting
15097 Environments to LaTeX file
15099 * buffer.C: added informational message for checking line numbers.
15101 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15103 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15104 paragraph, do the 'double space' part, but not the 'empty
15107 * text.C (workWidth): small optimization
15108 (getLengthMarkerHeight): use minimal size for negative lengths.
15110 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15112 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15114 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15116 2001-12-11 André Pönitz <poenitz@gmx.net>
15119 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15121 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15123 * text2.C: keep selection on a setFont()
15125 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15127 * lyx_cb.C: another bv->text misuse, from insert label
15129 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15132 * kbsequence.C: re-instate nmodifier mask
15134 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15136 * lyx_main.h: make lyxGUI private.
15138 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15140 * lyxfind.C: place the cursor correctly on failed search
15142 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15144 * text.C (getLengthMarkerHeight): for small heights, the arrows
15145 are not always on top/bottom of the text
15146 (drawLengthMarker): smaller arrows; take the left margin in
15147 account; draw also vfills.
15149 (paintLastRow): remove special code for vfill and standard spaces,
15150 since everything is handled in drawLengthMarker now.
15152 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15154 * buffer.C (insertErtContents): try to handle font and language
15155 interaction a bit better.g
15157 * ColorHandler.C (updateColor): change the hash to cover the whole
15158 LColor enum, ws cleanup
15159 (getGCLinepars): ditto
15160 (getGCLinepars): only lookup in the linecache once.
15162 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15164 * iterators.C (operator++): Make the iterator more robust
15166 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15168 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15170 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15173 * text.C: better added space drawing
15175 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15178 * BufferView2.C: fix layout combo update on inset unlock
15180 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15182 * Makefile.am: don't compile unused files
15184 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15188 * LyXAction.C: remove old LFUN_LAYOUTNO
15190 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15192 * paragraph_pimpl.h:
15193 * paragraph_pimpl.C: isTextAt() doesn't need font param
15195 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15198 * lyxlex.C: little cleanup
15200 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15202 * BufferView_pimpl.C: fix insertAscii for insets
15204 2001-12-05 Juergen Vigna <jug@sad.it>
15206 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15207 set the right font on the "multi" paragraph paste!
15209 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15215 * lyxlength.C: remove out-commented code.
15217 * BufferView_pimpl:
15231 * vc-backend.C: change "while(" to "while ("
15233 * lyxlength.[Ch]: add zero function to check if length is zero or
15235 * lyxgluelength.C: use it
15237 2001-12-05 Allan Rae <rae@lyx.org>
15239 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15240 Works for 2.95.3, from what I understand of Garst's reports this should
15241 work for other g++ versions. We're screwed if the abs(int) definition
15242 changed between bugfix releases of gcc.
15244 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15246 * text.C: fix chapter label offset !
15248 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15251 * text.C: fix hfill at end of line, clean up
15253 2001-12-04 Juergen Vigna <jug@sad.it>
15255 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15256 that we force an update of the inset and it's owners if neccessary.
15258 2001-12-03 Juergen Vigna <jug@sad.it>
15260 * text.C (rowLast): simplified code
15262 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15264 * lyxfunc.C: fix show options on timeout
15266 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15268 * screen.C (topCursorVisible): scroll half a page when the cursor
15269 reached top of bottom of screen
15271 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15273 * minibuffer.C: deactivate on loss of focus
15275 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15277 * vspace.[Ch] (operator!=): add operator.
15279 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15281 * BufferView_pimpl.C: refuse to open an inset when
15282 there's a selection.
15284 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15286 * BufferView_pimpl.C: allow to click on RHS of full row insets
15288 2001-11-30 Juergen Vigna <jug@sad.it>
15290 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15291 insets for undo reasons.
15293 2001-11-28 André Pönitz <poenitz@gmx.net>
15295 * vspace.[Ch]: cosmetical changes
15297 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15307 * kbsequence.C: part re-write of old kb code
15310 * WorkArea.C: remove Lgb_bug_find_hack
15312 2001-11-30 José Matos <jamatos@fep.up.pt>
15314 * buffer.C (makeDocBookFile): add a comment to point a hack.
15315 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15316 Fixed a double write of labels.
15318 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15321 * LaTeX.h Fixed bug in LaTeX class where it would not
15322 re-run latex if no depfiles were changed, but the .dvi was removed.
15324 2001-11-28 André Pönitz <poenitz@gmx.net>
15326 * all the files from the change on 2001/11/26:
15327 use lyx::layout_type instead of LyXTextClass::size_type
15328 use lyx::textclass_type instead of LyXTextClassList::size_type
15330 2001-11-29 Juergen Vigna <jug@sad.it>
15332 * text.C: added support for paragraph::isFreeSpacing()
15334 * buffer.C: same as above
15336 * paragraph.h: inserted isFreeSpacing() function to enable
15337 FreeSpacing inside InsetERT.
15339 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15340 of the paragraph's in the cut/copy buffer to 0!
15342 * text2.C (removeRow): remove the assert as it can!
15344 * lyxtext.h: added helper function firstRow returning firstrow and
15345 made firstrow private again.
15347 * BufferView2.C (lockInset): don't relock if we're already locked!
15349 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15350 the only paragraph.
15351 (removeRow): added Assert::(firstrow)
15353 * debug.C: forgot to add INSETTEXT here.
15355 2001-11-28 Juergen Vigna <jug@sad.it>
15357 * sp_spell.C (initialize): changed error text to more general
15358 spellchecker command use (not only ispell!)
15360 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15362 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15364 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15366 * vspace.C: initialise lyxgluelength on failure
15368 2001-11-28 Allan Rae <rae@lyx.org>
15370 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15371 declaration & definition that looks like a function declaration.
15373 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15375 * BufferView2.C (copy):
15376 (copyEnvironment): do not clear the selection when doing a copy.
15378 * text.C (paintFirstRow): compilation fix
15380 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15382 * tabular.C (Latex): correct line count when writing latex.
15384 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15386 * paragraph_pimpl.h:
15387 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15390 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15394 * LColor.C: change vfillline->added_space
15396 * text.C: add markers and text for added space
15398 * vspace.C: fix comment
15400 2001-11-28 André Pönitz <poenitz@gmx.net>
15402 * paragraph.C: whitespace changes
15403 * all the other files from the change on 2001/11/26:
15404 change *::pos_type into lyx::pos_type
15406 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15408 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15409 language of the document when inserting error insets.
15411 2001-11-26 André Pönitz <poenitz@gmx.net>
15413 * BufferView_pimpl.[Ch]:
15421 * paragraph_pimpl.[Ch]:
15424 * text2.C: reduce header dependencies, introduce type for positions
15426 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15428 * <various>: change to use Alert.h
15430 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15432 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15433 when encountering an unknown token.
15434 (readLyXformat2): Show an error message if there were unknown tokens.
15436 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15439 * BufferView_pimpl.C:
15443 * text2.C: use par->isInset()
15445 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15447 * paragraph_pimpl.h:
15448 * paragraph_pimpl.C: cleanup
15450 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15452 * text2.C (removeRow):
15453 * text.C (setHeightOfRow): remove useless (and costly) call to
15456 2001-11-20 Allan Rae <rae@lyx.org>
15458 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15459 Now need Inset*::checkInsertChar() to return true for appropriate
15460 cases so that the characters in the minibuffer will actually be
15463 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15465 * text.C: change the order of the includes.
15466 (workWidth): initialize it at once.
15467 (workWidth): make maxw unsigned
15468 (setHeightOfRow): remove unused variable (inset)
15469 (selectSelectedWord): remove unused variable (inset)
15470 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15472 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15474 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15475 server is not running.
15477 (closeConnection): add debug info when server is disabled.
15479 * ColorHandler.C (getGCForeground): send debug message to GUI
15482 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15484 * kbmap.C (bind): modify because return conventions of
15485 kb_sequence::parse have changed.
15487 * kbsequence.C (parse): only ignore spaces and not any stupid
15488 control character. This avoids tests like s[i] <= ' ', which are
15489 guaranteed to fail with 8bit characters and signed chars.
15490 Change return code to string::npos when there have been no error
15491 (0 was a bad idea when error is at first character)
15493 2001-11-14 José Matos <jamatos@fep.up.pt>
15496 * buffer.C (simpleDocBookOnePar): removed unused argument.
15498 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15500 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15501 insets which are part of a word. Paragraph::isLetter takes care of
15502 that now. Use Paragraph::isInset to identify insets.
15503 (selectSelectedWord): do not test for hyphenation break.
15505 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15506 that protected spaces are considered as spaces.
15508 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15511 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15514 * lyxserver.C: fix it. and small cleanup.
15516 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15518 * BufferView_pimpl.C: use inline helpers
15521 * LaTeXFeatures.C: fix typos
15524 * Spacing.C: move spacing_string into class
15526 * ToolbarDefaults.C: move stuff into namespace anon
15528 * layout.h: update enum
15530 * lyxfunc.C: use better debug
15532 * minibuffer.h: fix typo
15536 * WorkArea.C: add and use Debug::WORKAREA
15540 * text2.C: code re-organisation, inline helpers
15542 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15544 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15545 std::vector.empty().
15547 2001-11-09 Allan Rae <rae@lyx.org>
15549 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15550 '\n's after tables. Tabular and ERT inset work now makes this no
15553 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15556 * minibuffer.C: fix crash, improve drop-down completion
15558 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15561 * lyxserver.C: invalidate fd's when doing endPipe()
15563 2001-11-08 José Matos <jamatos@fep.up.pt>
15565 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15566 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15569 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15571 2001-11-07 José Matos <jamatos@fep.up.pt>
15574 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15577 * buffer.C (sgmlOpenTag):
15578 * buffer.C (sgmlCloseTag): removed debug info.
15580 * buffer.h (sgmlOpenTag):
15581 * buffer.h (sgmlCloseTag): made public.
15583 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15585 * buffer.C (saveParamsAsDefaults):
15586 * lyx_cb.C (MenuLayoutSave): remove
15588 * LyXAction.C (init):
15590 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15592 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15594 * buffer.C (setPaperStuff): removed from here...
15596 * bufferparams.C (setPaperStuff): ... and moved there.
15598 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15602 * XFormsView.C: add support for drop-down completion
15604 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15606 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15609 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15611 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15614 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15616 * lyx_main.C: change ref to known bugs
15618 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15620 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15621 to work around older babel problems.
15623 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15625 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15627 2001-10-24 Juergen Vigna <jug@sad.it>
15629 * tabular-old.C (ReadOld): below variable changes reflected.
15631 * tabular.[Ch]: added ltType struct for longtable header/footer
15632 defines and changed all instances where they are used. Added
15633 future support for double top/bottom rows.
15635 2001-10-24 José Matos <jamatos@fep.up.pt>
15637 * buffer.h (docbookHandleCaption):
15638 * buffer.C (docbookHandleCaption): removed unused function.
15639 (makeDocBookFile): moved docbook supported version to v4.1.
15641 2001-10-24 José Matos <jamatos@fep.up.pt>
15644 * tabular.C (docbookRow): new function to export docbook code of a row.
15645 (DocBook): now honors the longtable flags.
15647 2001-10-23 José Matos <jamatos@fep.up.pt>
15650 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15651 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15653 * buffer.C (makeLinuxDocFile):
15654 (makeDocBookFile): reworked the preamble, more clean, and with
15655 support for lyx defined entities. Changed the document declaration
15656 to be more XML friendly.
15658 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15659 if we need to output XML that should be done with a filter.
15661 2001-10-22 Juergen Vigna <jug@sad.it>
15663 * sp_pspell.h (class PSpell): add alive function needed in the
15664 controller to see if the spellchecker could be started.
15666 2001-10-22 Juergen Vigna <jug@sad.it>
15668 * buffer.C (insertStringAsLines): modify the font for inserting
15669 chars in certain conditions by calling checkInsertChar(font).
15671 2001-10-19 Juergen Vigna <jug@sad.it>
15673 * text.C (workWidth): use getRow instead of wrong algorithm.
15674 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15676 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15681 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15683 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15685 * text.C (workWidth): do not search for the exact row when
15686 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15687 optimization for big documents.
15689 2001-10-18 Juergen Vigna <jug@sad.it>
15691 * text.C (workWidth): new function with added Inset * parameter.
15693 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15695 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15697 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15698 change return type of getColumnNearX.
15701 * text.C (changeRegionCase): use uppercase/lowercase instead of
15704 (rightMargin): simplify code by factoring out the uses of
15709 (appendParagraph): use Paragraph::size_type
15711 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15713 * vspace.C (asLatexString): add a missing break
15715 2001-10-15 Herbert Voss <voss@perce.de>
15717 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15719 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15721 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15724 2001-10-10 André Pönitz <poenitz@gmx.net>
15726 * lyxfunc.C: removed greek_kb_flag.
15728 2001-10-10 Herbert Voss <voss@perce.de>
15730 * lyx_main.C: delete global string help_lyxdir.
15732 2001-10-09 Herbert Voss <voss@perce.de>
15734 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15736 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15738 * lyx_main.C: added global string help_lyxdir.
15740 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15742 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15744 * lyxrc.C (set_font_norm_type): support iso8859-4
15746 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15748 * LaTeX.C (deplog): add another regex for MikTeX
15750 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15752 * lyxrc.C (set_font_norm_type): support iso8859-3
15754 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15756 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15758 * LaTeXFeatures.C: remove special case of french and index
15760 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15761 before \begin{document}). This solves several incompatibilities.
15763 2001-10-03 Garst Reese <reese@isn.net>
15765 * lyx_cb.C: change CheckTex error msg.
15767 2001-10-03 José Matos <jamatos@fep.up.pt>
15769 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15771 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15773 * .cvsignore: update
15775 * lyx_main.C (commandLineVersionInfo): use new style version info.
15777 * buffer.C (writeFile):
15779 (makeLinuxDocFile):
15780 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15782 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15784 * version.h: update to use stuff in version.C
15786 * version.C.in: new file. Contains version information determined
15787 at compile time. This is a merging of version.h and
15790 2001-10-03 Juergen Vigna <jug@sad.it>
15792 * BufferView_pimpl.C (update): don't change "dirty" status in
15795 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15797 * WorkArea.C (c-tor): re-position version string slightly.
15799 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15801 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15802 revert to previous code.
15804 WorkArea.[Ch]: (show, destroySplash): methods removed.
15806 WorkArea.C: rework code so that it's an amalgam of the codes before and
15807 after the splash screen was moved to WorkArea.
15809 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15812 * vspace.C (inPixels):
15815 * buffer.C (insertStringAsLines):
15816 (asciiParagraph): fix types to be large enough
15818 * lyxlex_pimpl.h: change member status from short to int
15820 * layout.h: fix type of endlabeltype
15823 * kbsequence.C (parse): change return type to string::size_type
15825 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15828 * Bullet.C (bulletSize):
15829 (bulletEntry): do not use short ints as parameters
15831 * BufferView2.C (insertLyXFile): change a char to an int.
15833 * WorkArea.C (WorkArea): remove unneeded floats in computation
15835 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15837 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15839 * paragraph.C (asString): Do not ignore newline/hfill chars when
15840 copying to the clipboard.
15842 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15844 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15845 after a multi-line inset.
15847 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15849 * paragraph.C (validate): Set NeedLyXFootnoteCode
15851 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15853 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15854 and decrease-error to decrease.
15856 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15858 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15859 it more readable (should be equivalent)
15861 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15863 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15865 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15867 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15868 of a cursor (row, etc.) after a character has been deleted
15869 (deleteEmptyParagraphMechanism): call the method above on _all_
15870 cursors held by the LyXText when a double space has been
15873 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15875 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15877 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15879 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15880 background. Use greyOut() and the new show() methods to toggle between
15881 the foreground and background. Add code to remove the splash after
15882 its initial showing.
15884 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15885 (create_forms): no longer call Dialogs::showSplash.
15887 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15889 * .cvsignore: add version_info.h
15891 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15893 * version_info.h.in: new file
15895 * Makefile.am: add version_info.h.in
15897 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15898 version_info.h instead of VERSION_INFO
15900 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15902 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15903 The ERT inset now returns string().
15905 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15907 * lyxtext.h, text.C (selectNextWord): renamed as
15908 selectNextWordToSpellcheck.
15910 * text.C (selectNextWordToSpellcheck): Modified to not select
15911 words inside an ERT inset.
15913 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15915 * lyx_cb.C (MenuLayoutSave): change a bit the question
15917 * sp_base.h: include <sys/types.h>
15919 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15921 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15923 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15925 * several files: fix typos in user-visible strings
15927 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15929 * text2.C (pasteSelection): do not set the selection, since it
15930 will be cleared later. Actually, the intent was to fix the way the
15931 selection was set, but I figured rmoving the code was just as good.
15933 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15935 * FontLoader.C (available): Check if font is available without
15938 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15940 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15942 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15944 * lyxrc.[Ch]: added display_graphics variable and associated code.
15946 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15948 * bufferparams.C (hasClassDefaults): new method. Returns true if
15949 the buffer parameters correspond to known class defaults
15951 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15953 * XFormsView.C (show): set minimum size to the main window.
15955 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15957 * text2.C (copySelection):
15959 * lyxfind.C (LyXReplace):
15960 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15961 LyXText::selectionAsString.
15963 * paragraph.C (asString): add "label" argument to the second form
15965 * text2.C (selectionAsString): add "label" argument and pass it to
15966 Paragraph::asString.
15968 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15970 * lyx_main.C (commandLineHelp): remove version information
15972 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15974 * lyx_main.C: add -version commandline option
15976 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15978 * paragraph.h: make the optional constructor arg required instead.
15979 some modifications to other files because of this.
15981 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15983 * lyxserver.C (C_LyXComm_callback): make it static
15985 * lyx_main.C (error_handler): make it static
15987 * lyx_gui.C (LyX_XErrHandler): make it static
15989 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15991 * WorkArea.C: make the extern "C" methods static.
15993 * Makefile.am (lyx_LDADD): simplify
15995 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15997 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15998 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
16000 * LyXAction.C (init):
16001 * lyxfunc.C (dispatch): associated code removal.
16003 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16005 * lyxfont.h (isSymbolFont): shut off warning
16007 * text.C (setHeightOfRow):
16008 (getVisibleRow): fix crash with empty paragraphs which have a
16011 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
16013 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
16016 2001-09-04 José Matos <jamatos@fep.up.pt>
16019 * tabular.C (docbook): rename docBook method to docbook.
16021 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16023 * Makefile.am: add dependencies to main.o.
16025 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
16027 * FontLoader.C (available): Return false if !lyxrc.use_gui
16029 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
16031 * FontInfo.C (query):
16032 * converter.C (view):
16033 * importer.C (Import):
16034 * exporter.C (Export): Can not -> cannot.
16036 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
16038 * BufferView_pimpl.C: allow to create index inset even if
16041 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16043 * buffer.C (getLists): replace boost::tie code with an explicit pair
16044 as boost::tie can break some compilers.
16046 * iterators.h: Added a std:: declaration to the return type of
16049 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
16051 * lyxrc.C: add help for view_dvi_paper_option, default to safe
16054 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
16056 * iterators.[Ch]: New files. Provide paragraph iterators.
16058 * buffer.C (changeLanguage): Use paragraph iterators.
16059 (isMultiLingual): ditto
16061 * BufferView2.C (ChangeInsets): Use paragraph iterators.
16063 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
16065 * FontLoader.C: Support for cmr font.
16067 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
16069 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16070 (available): New method.
16072 * FontInfo.C (getFontname): Use scalable fonts even when
16073 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16076 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16078 * converter.C (Formats::view): reverted! Incorrect fix.
16080 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16082 * converter.C (Formats::view): only output the -paper option
16083 if the dvi viewer is xdvi, thereby fixing bug #233429.
16085 2001-08-23 Herbert Voss <voss@perce>
16087 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16089 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16091 * Spacing.h (Spacing): Set space to Default on in the default
16094 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16096 * vc-backend.h (RCS::versionString): add RCS to version
16097 (CVS::versionString): add CVS to version
16099 * vc-backend.C (scanMaster): do not add CVS to version.
16100 (scanMaster): do not add RCS to version
16102 * lyxvc.C (versionString): new method
16104 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16106 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16108 * Spacing.C (set): initialize fval
16110 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16112 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16115 2001-08-16 Juergen Vigna <jug@sad.it>
16117 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16119 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16121 * BufferView_pimpl.C:
16124 * text2.C: setParagraph takes linespacing now
16126 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16128 * LyxAction.C: add internal LFUN_CITATION_INSERT
16130 * LyXView.C: actually apply fix
16132 * bufferlist.C: fix open non-existent file
16134 * lyxfind.C: fix indentation
16136 * lyxfunc.C: remove unneeded assert, fix typo
16138 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16140 * MenuBackend.C: use "Floatname List"
16142 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16144 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16145 when converting LaTeX layout to insetERT.
16146 Generate a non-collapsed float when reading old float
16148 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16150 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16153 2001-08-13 Juergen Vigna <jug@sad.it>
16155 * text.C (fill): return 0 instead of 20 as this seems to be the more
16158 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16160 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16163 2001-08-13 Juergen Vigna <jug@sad.it>
16165 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16167 (SearchBackward): comment out the unlocking of the inset_owner this
16168 should not be needed!
16170 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16172 * Many files: Remove inherit_language, and add latex_language
16174 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16175 collapsible insets.
16177 2001-08-10 Juergen Vigna <jug@sad.it>
16179 * text.C (prepareToPrint): fixed hfill-width in draw!
16181 * BufferView2.C (selectLastWord): save the selection cursor as this
16182 now is cleared in the function LyXText::clearSelection!
16184 2001-08-08 Juergen Vigna <jug@sad.it>
16186 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16187 BACKSPACE type functions.
16189 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16190 is only cutted from the document but not put in the cut-buffer, where
16191 still the old stuff should be.
16193 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16195 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16197 * tabular.C (SetWidthOfCell): fixed special case where the width
16199 (LeftLine): handle '|' in align_special.
16201 (LeftAlreadyDrawed): ditto
16202 (SetWidthOfCell): ditto
16204 2001-08-07 Juergen Vigna <jug@sad.it>
16206 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16208 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16210 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16211 * lyxlex.[hC]: ditto
16213 2001-08-06 Juergen Vigna <jug@sad.it>
16215 * text.C (getVisibleRow): fix up row clearing a bit.
16217 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16219 * minibuffer.C: make sure the X server sees the changes in the input.
16221 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16223 * paragraph.C (getFont): split into...
16224 (getLabelFont): this
16225 (getLayoutFont): and this
16226 * paragraph_pimpl.C (realizeFont): calling this
16228 * text2.C (getFont): split into...
16229 (getLayoutFont): this
16230 (getLabelFont): and this
16231 (realizeFont): all three calling this
16233 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16236 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16238 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16240 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16242 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16243 layouts from the Quote inset insertion.
16245 2001-08-03 Juergen Vigna <jug@sad.it>
16247 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16249 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16250 only if status not is already CHANGED_IN_DRAW (second level).
16252 * text.C (draw): don't set the need_break_row when inside an
16255 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16257 * buffer.C (parseSingleLyXformat2Token): handle more latex
16260 * bufferview_funcs.[hC]: change function names to
16261 begin with small char, adjust other files.
16263 2001-08-02 André Pönitz <poenitz@gmx.net>
16266 BufferView_pimpl.C: remove broken special code for math-greek
16268 2001-08-02 Juergen Vigna <jug@sad.it>
16270 * BufferView_pimpl.C (update): redone this function so that we
16271 update the text again if there was a CHANGE_IN_DRAW.
16273 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16274 (drawFromTo): added a new internal bool which is used by draw() and
16276 (general): some cursor drawing problems fixed.
16278 2001-08-01 Juergen Vigna <jug@sad.it>
16280 * lyxfind.C (LyXFind): fixed
16281 (SearchForward): ditto
16282 (SearchBackward): ditto
16284 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16285 spurius drawing of the cursor in the main area.
16287 * text2.C (status): small fix which could lead to a segfault!
16288 (clearSelection): remove unneeded BufferView param.
16290 2001-08-01 André Pönitz <poenitz@gmx.net>
16292 * lyxfunc.C: small change due to changed mathed interface
16294 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16296 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16298 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16300 * lyxfunc.c: fail gracefully if file doesn't exist
16305 * BufferView_pimpl.C: IsDirWriteable() proto changed
16307 * LyXView.C: fix updateWindowTitle() to store the last title
16309 2001-07-31 Juergen Vigna <jug@sad.it>
16311 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16312 the font (wrong since using of Paragraph::highestFontInRange).
16314 * paragraph.C (highestFontInRange): added a default_size parameter.
16316 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16317 (setHeightOfRow): reformat
16319 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16321 * converter.[hC] + affected files: move to (inital-char)lowercase
16324 * ParagraphParameters.C (ParagraphParameters): remove commented code
16326 * PainterBase.[Ch]: remove commented code
16328 * LaTeXFeatures.h: add "bool floats" for float.sty
16330 * LaTeXFeatures.C (LaTeXFeatures): init floats
16331 (require): handle float
16332 (getPackages): do it with floats
16334 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16336 * BufferView_pimpl.C (Dispatch): improve handling of
16337 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16339 * commandtags.h: #include lyxfont.h here temporarily to avoid
16342 * bufferlist.h: include LString.h here.
16344 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16346 * text2.C (getStringToIndex): new method.
16348 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16350 * *: Reduced header file dependencies all over.
16352 2001-07-30 Baruch Even <baruch@lyx.org>
16354 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16356 2001-07-29 Baruch Even <baruch@lyx.org>
16358 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16360 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16362 * ParameterStruct.h (endif): add a default constructor to make
16363 sure that all variables is initialized.
16365 * ParagraphParameters.C (ParagraphParameters): adjust
16367 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16369 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16370 index; also, check that there is something to index, and that it
16371 does not span over several paragraphs.
16372 (doubleClick): use WHOLE_WORD_STRICT for double click.
16374 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16376 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16379 2001-07-26 Baruch Even <baruch@lyx.org>
16381 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16382 an InsetFig figure, backwards compatible reading of old figure code.
16384 2001-07-27 Juergen Vigna <jug@sad.it>
16386 * text2.C: font.realize function adaption.
16388 * text.C (draw): add a warnings lyxerr text if needed.
16390 * layout.C: font.realize function adaption.
16392 * language.C: add inherit_language and implement it's handlings
16394 * bufferview_funcs.C (StyleReset): remove language parameter from
16395 font creation (should be language_inherit now).
16397 * bufferparams.C (writeFile): handle ignore_language.
16399 * paragraph.C (getFontSettings): the language has to be resolved
16400 otherwise we have problems in LyXFont!
16402 * lyxfont.C (lyxWriteChanges): added document_language parameter
16403 (update): removed unneeded language parameter
16405 * paragraph.C (validate): fixed wrong output of color-package when
16406 using interface colors for certain fonts in certain environments,
16407 which should not seen as that on the final output.
16409 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16411 * BufferView_pimpl.C:
16416 * LyXAction.C: add thesaurus support
16419 * lyxfind.C: add "once" parameter, for thesaurus, to not
16420 move to the next match
16422 2001-07-26 Juergen Vigna <jug@sad.it>
16424 * lyxfont.C (realize): honor ignore_language too!
16427 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16429 * text.C (draw): one place more for ignore_language to not draw
16432 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16434 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16436 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16438 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16439 the minipage conversion problem.
16441 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16443 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16446 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16448 * BufferView.h: don't forward declare WorkArea
16450 * BufferView.C: don't include WorkArea.h
16452 2001-07-25 André Pönitz <poenitz@gmx.net>
16456 * lyxfunc.C: new LFUN 'math-space'
16458 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16460 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16462 * text2.C (toggleInset): call open/close
16464 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16466 * lyxfunc.C (dispatch): add debug for the disabled case
16468 * font.C (buttonText): make similar to rectText
16470 * buffer.C (readInset): comment out parsing of insetlist and
16473 * PainterBase.C (rectText): small correction
16475 * BufferView_pimpl.C: comment out insettheorem and insetlist
16476 * LyXAction.C: ditto
16477 * commandtags.h: ditto
16479 2001-07-24 Juergen Vigna <jug@sad.it>
16481 * text.C (draw): honor the ignore_language.
16483 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16485 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16487 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16490 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16492 * lyxtext.h: remove unused (and unimplemented) methods
16494 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16496 * text.C (getVisibleRow): honor background color
16499 * Painter.h: remove default color argument for fillRectangle
16501 * text.C (backgroundColor): new method
16503 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16505 * text.C (getVisibleRow): adjust
16507 * font.[Ch] (rectText): new method, metrics
16508 (buttonText): new method, metrics
16510 * PainterBase.[hC]: make rectText and buttonText always draw and take
16513 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16515 * ToolbarDefaults.C (read):
16516 * MenuBackend.C (read): allow escaping in all strings
16518 * BufferView_pimpl.C (insertAndEditInset): new method.
16519 (Dispatch): use insertAndEditInset whenever appropriate.
16521 * BufferView_pimpl.C (insertNote): removed
16523 * BufferView_pimpl.C (smartQuote): new method, moved from
16524 BufferView; if an insetquote cannot be inserted, insert a '"'
16527 * BufferView2.C: remove insertCorrectQuote();
16529 * lyxfunc.C (getStatus): Add support for all remaingin
16530 inset-insert lfuns.
16532 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16534 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16535 command (necessary to pass " as parameter of self-insert.
16537 * text.C (selectWordWhenUnderCursor):
16538 (selectWord): add word_location parameter
16539 (selectWordWhenUnderCursor): same + remove special code for word
16541 (selectNextWord): use kind() to guess type of insetspecialchar,
16544 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16545 (insertErtContents): create ert insets as collapsed.
16546 (readInset): better compatibility code for Info inset.
16548 2001-07-20 Juergen Vigna <jug@sad.it>
16550 * lyxfunc.C (dispatch): use always LyXFind now!
16552 * text2.C (init): add a reinit flag so that the LyXText can be
16553 reinited instead of deleted and reallocated (used in InsetText).
16555 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16561 2001-07-18 Juergen Vigna <jug@sad.it>
16563 * text.C (selectNextWord): handle insets inside inset by calling
16564 always the bv->text functions so that we can go up the_locking_inset!
16566 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16567 in strange locations when inside an inset!
16569 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16570 handling to include insets.
16572 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16574 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16576 * LyXAction.C (init):
16578 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16579 LIGATURE_BREAK, since the name is so stupid.
16581 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16583 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16586 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16588 * sp_form.[Ch]: remove.
16590 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16592 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16595 * src/buffer.C (readInset): ditto.
16597 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16599 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16600 menuSeparator(), endOfSentenceDot(), ldots() and
16601 hyphenationPoint(), which are therefore removed.
16602 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16604 * LyXAction.C (init):
16605 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16607 * paragraph.C (getWord): removed.
16609 * BufferView_pimpl.C (Dispatch): use last word or selection for
16610 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16612 * lyx_main.C (queryUserLyXDir): do not ask before creating
16613 user_dir, except if it has been named explicitely.
16615 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16617 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16618 a document of zero size.
16620 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16622 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16623 approriately in the c-tor and in require().
16624 (getPackages): output the appropriate LaTeX for natbib support.
16626 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16627 variables "use_natbib" and "use_numerical_citations" when reading the
16629 (readInset): read the various natbib cite commands.
16630 (validate): white-space change.
16632 * bufferparams.[Ch]: new variables "bool use_natbib" and
16633 "bool use_numerical_citations".
16634 (writeFile): output them in the LyX file.
16636 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16638 * lyxfunc.C (getStatus): add support for all the inset insertion
16641 * text2.C (insertInset):
16642 * paragraph.C (insetAllowed):
16643 * BufferView_pimpl.C (insertInset): update to take in account the
16644 renaming of insertInsetAllowed
16646 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16648 * text2.C (getInset): new method. returns inset at cursor position.
16650 * BufferView_pimpl.C (Dispatch): changes because of this.
16652 * LyXAction.C (init): rename open-stuff to inset-toggle.
16654 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16656 * text2.C (toggleInset): renamed from openStuff; use
16659 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16661 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16663 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16665 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16667 * buffer.C (readLyXformat2): Add filename to the error dialog
16669 2001-07-18 Juergen Vigna <jug@sad.it>
16671 * tabular.C (GetCellNumber): put an assert here instead of the check!
16673 2001-07-17 Juergen Vigna <jug@sad.it>
16675 * BufferView_pimpl.C (toggleSelection): adapted too.
16677 * text.C (selectNextWord): adapted for use with insets.
16678 (selectSelectedWord): ditto
16680 2001-07-17 Juergen Vigna <jug@sad.it>
16682 * sp_spell.C (PSpell): fix initialitation order.
16684 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16686 * paragraph.C: spacing
16688 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16690 * sp_spell.C: repair language selection for pspell
16692 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16694 * lyxfunc.h: change more methods to begin with lower char.
16696 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16698 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16699 for unknown layouts.
16701 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16703 * buffer.C (readLyXformat2): Generate an error dialog if there are
16706 2001-07-16 Juergen Vigna <jug@sad.it>
16708 * sp_spell.C: always compile ISpell part.
16710 * lyxrc.C: added use_pspell entry and it's handling.
16712 2001-07-13 Juergen Vigna <jug@sad.it>
16714 * sp_spell.C: removed double includes.
16716 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16718 Consistent use of Lsstream.h:
16719 * Lsstream.h: added using std::stringstream for consistencies sake.
16721 * buffer.C: removed using std::stringstream
16723 * lyxfont.C (stateText):
16724 * paragraph.C (asString):
16725 * text.C (selectNextWord, selectSelectedWord):
16726 * text2.C (setCounter):
16727 * vspace.C (asString, asLatexString):
16728 std::ostringstream -> ostringstream.
16730 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16732 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16733 * commandtags.h: add LFUN_HELP_ABOUTLYX
16734 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16736 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16738 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16740 * lyx_gui_misc.C: remove spellchecker
16741 * lyxfunc.C: showSpellchecker
16743 * sp_ispell.h: added
16744 * sp_pspell.h: added
16745 * sp_spell.C: added
16746 * sp_form.[Ch]: removed
16747 * spellchecker.[Ch]: removed
16749 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16751 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16753 (simpleTeXSpecialChars): Simply print the input character without
16754 any special translation if pass_thru is set.
16756 * layout.h: Added bool pass_thru to layout class for being able to
16757 implement pass through of a paragraph for Literate Programming.
16759 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16760 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16761 * layout.C (Read): add "passthru" to list of layout tags and add
16762 code to set the pass_thru boolean when it is read.
16764 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16766 * trans_decl.h: remove allowed from KmodInfo
16768 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16769 remove allowed code
16772 * paragraph_pimpl.C (erase): use boost::prior
16774 * Painter.C (text): use data() instead of c_str() when length is
16776 * WorkArea.C (putClipboard): ditto
16777 * font.h (width): ditto
16779 * BufferView2.C: use it-> instead of (*it). for iterators
16781 * paragraph_pimpl.C: ditto
16782 * paragraph.C: ditto
16783 * minibuffer.C: ditto
16784 * language.C: ditto
16786 * encoding.C: ditto
16787 * counters.C: ditto
16788 * converter.C: ditto
16790 * Variables.C: ditto
16791 * TextCache.C: ditto
16792 * MenuBackend.C: ditto
16793 * LyXAction.C: ditto
16795 * FloatList.C: ditto
16796 * DepTable.C: ditto
16797 * ColorHandler.C (LyXColorHandler): ditto
16799 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16801 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16803 * text2.C (openStuff): reintroduce this method (which had been
16804 nuked in NEW_INSETS frenzy).
16806 * lyxfunc.C (Dispatch): when an action has not been handled, use
16807 its name in the error message, not its number.
16809 * paragraph.C (inInset): change method name to begin with lowercase.
16812 * text2.C: updates because of this.
16814 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16816 * ToolbarDefaults.C (add): add spaces in error message
16818 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16820 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16821 (readLyXformat2): rename return_par to first_par, use lyxlex's
16822 pushToken and remove the manual push handling.
16823 (parseSingleLyXformat2Token): add another ert comp. variable:
16824 in_tabular, rename return_par to first_par. handle newlines better
16826 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16828 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16830 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16832 * text2.C (getParFromID): removed
16834 * buffer.C (getParFromID): new method moved form lyxtext.
16835 * BufferView2.C (insertErrors): adjust
16836 (setCursorFromRow): adjust
16837 * BufferView_pimpl.C (restorePosition): adjust
16838 * lyxfunc.C (Dispatch): adjust
16839 * undo_funcs.C (textUndo): adjust
16841 (textHandleUndo): adjust
16842 (textHandleUndo): adjust
16844 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16846 * buffer.C: up' the LYX_FORMAT
16848 * lyxfont.h: turn NO_LATEX on as default
16850 * buffer.C (insertErtContents): new methods of tex style compability.
16851 (parseSingleLyXformat2Token): use it several places.
16852 * tabular.C (OldFormatRead): and here
16854 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16856 * text2.C: remove some commented code.
16859 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16860 * trans.C: changes because of the above.
16862 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16864 * text2.C (setCounter): Fix counters bug with bibliography layout.
16866 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16868 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16869 own member functions
16870 (simpleTeXSpecialChars): ditto
16872 2001-07-06 Juergen Vigna <jug@sad.it>
16874 * a lot of files: changed the access to LyXText::status and the
16875 call of undo-functions.
16877 * undo.[Ch]: added a inset_id to the undo informations.
16879 * undo_funcs.[Ch]: added and moved here all undo functions.
16881 * lyxtext.h: give the status enum a weight, made status_ a private
16882 variable and made accessor functions for it, removed the whole bunch
16883 of undo-functions as they are now in their own file, make some
16884 functions publically available. Added function ownerParagraph with
16887 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16888 made InInset() a const function, added getParFromID() function.
16890 * buffer.[Ch]: added const version for inset_iterator functions,
16891 added getInsetFromID() function.
16893 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16894 changed undo functions for new version.
16896 2001-07-05 Juergen Vigna <jug@sad.it>
16898 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16899 unknow mechanism does not call the proper constructor but only this
16900 one also if I request the other!?
16902 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16904 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16906 * text2.C (LyXText): use initialization lists.
16908 * lyxtext.h (Selection): initialize set_ and mark_
16909 (init): remove method
16911 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16913 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16915 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16917 * screen.[Ch]: change method names to begin with lowercase
16919 * BufferView_pimpl.C (updateScrollbar): simplify further and
16920 hopefully make it a bit faster.
16922 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16924 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16925 calling directly xforms functions.
16927 * Painter.C (Painter):
16928 * lyx_cb.C (MenuWrite):
16929 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16932 * lyx_gui.C: remove bogus guiruntime extern declaration.
16934 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16936 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16938 (redoDrawingOfParagraph): ditto
16939 (redoParagraphs): ditto
16940 (cutSelection): don't create a object for CutAndPaste use the
16941 static method directly
16942 (pasteSelection): ditto
16944 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16947 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16949 * modifications to some other files because of this.
16951 * Makefile.am (lyx_SOURCES): add XFormsView
16953 * XFormsView.[Ch]: new files
16955 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16956 the main window. Move the gui dependent stuff to XFormsView
16958 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16960 * tabular.C (GetCellInset): update cur_cell also in the row/col
16961 version of this function.
16963 * lyxfunc.C: no need to include figure_form.h here.
16969 * lyxvc.C: no need to include forms.h here.
16971 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16973 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16975 * lyxfunc.C (Dispatch):
16977 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16978 constructor argument.
16980 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16982 * paragraph.C (Paragraph): dont't clear, and just set layout.
16983 (makeSameLayout): use params's copy contructor.
16985 * ParagraphParameters.[Ch] (makeSame): delete method
16987 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16989 * Variables.[Ch]: fix indentation, rename set to isSet
16991 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16993 * lyxfunc.C (Dispatch): fix typo
16995 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16997 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
17000 * bufferlist.C: include assert.h for emergencyWrite().
17002 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17004 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
17005 give up at last (bug #425202) !
17007 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
17013 * spellchecker.C: strip spellchecker options and bring up
17014 preferences tab instead
17016 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17018 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
17019 the istringstream constructor
17021 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17023 * paragraph.C (getLayout): fix return value
17025 * paragraph.h: do not declare getLayout as inline.
17027 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
17029 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17031 * lyxcursor.h (operator<): new func
17032 (operator>): new func
17033 (operator>=): new func
17034 (operator<=): new func
17036 * text.C (changeCase): use selection.start and selection.end
17037 (changeRegionCase): require from to be <= to. Require par to be a
17040 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17042 2001-06-27 Juergen Vigna <jug@sad.it>
17044 * text.C (cursorLeftOneWord): changed to return the cursor and added
17045 overlay with BufferView * parameter which calls this one.
17047 (selectWord): use new getWord function.
17048 (changeCase): renamed from changeWordCase as and extended to work
17049 also on selections.
17051 * lyxtext.h: added enum word_location
17053 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17054 changeCase as this operates now also on selections.
17056 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
17058 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17060 * many files: send debug output to Debug::INFO instead of
17063 * converter.C (View):
17065 (Move): send debug output to Debug::FILES instead of console.
17067 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
17069 * lyxfunc.C (getStatus): use func_status
17071 * func_status.h: new header, describing the results of
17072 LyXFunc::getStatus;
17074 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17077 2001-06-25 The LyX Project <jug@sad.it>
17079 * buffer.C (sgmlOpenTag):
17081 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
17083 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17085 * text2.C: remove some dead code
17087 * tabular.C (GetCellInset): store the last cell checked (gotten)
17089 * tabular.h: add the helper for the speedup
17091 * lyxtext.h: remove some dead code
17093 2001-06-26 The LyX Project <Asger>
17095 * paragraph.C: Change export to LaTeX of alignment to
17096 \begin{center} and family for better roundtrip work with reLyX.
17098 * Tune the math drawing a bit.
17100 2001-06-25 The LyX Project <Asger>
17102 * LColor.C (LColor): New color for math background. New color
17105 2001-06-25 The LyX Project <jug@sad.it>
17107 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17109 * lyxfunc.C (Open):
17110 * bufferlist.C (newFile): do not restrict to files ending with
17113 * BufferView_pimpl.C (MenuInsertLyXFile):
17115 2001-06-24 The LyX Project <jug@sad.it>
17117 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17120 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17122 * lyxtext.h: rename most methods to begin with a small char.
17123 Lots of changes because of this.
17125 * paragraph.C (Paragraph): do not call fitToSize
17126 (erase): call Pimpl::erase
17127 (insertChar): call Pimpl::insertChar
17128 (insertInset): call Pipl::insertInset
17129 (breakParagraph): do not call fitToSize
17130 (breakParagraphConservative): do not call fitToSize
17131 (fitToSize): remove method
17133 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17135 2001-06-24 The LyX Project <Asger>
17137 * Fix Qt compilation^2
17139 2001-06-24 The LyX Project <jug@sad.it>
17141 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17142 depthHook(getDepth()-1).
17145 * ParagraphParameters.h:
17146 * ParameterStruct.h: change type of depth to unsigned int ==
17147 depth_type. Many adaptations to other files before of that.
17149 2001-06-24 The LyX Project <Asger>
17151 * Fix Qt compilation.
17153 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17155 * paragraph.h: renamed several methods to begin with small letter.
17156 several changes to many parts of the code because of this.
17158 2001-06-23 The LyX Project <jug@sad.it>
17160 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17161 rewritten to discard all double spaces when KeepEmpty is off
17162 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17163 to only handle newlines but not fiddle with spaces and friends.
17165 * lyxfunc.C (MenuNew): when doing 'new from template', use
17166 template_path as default directory
17168 2001-06-23 The LyX Project <Asger>
17170 * Clean-up of header file includes all over
17171 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17173 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17175 * paragraph.h: renamed from lyxparagraph.h
17177 2001-06-23 Asger <lyx@violet.home.sad.it>
17179 * Buffer.h: Removed Buffer::resize
17180 * BufferList.h: Removed BufferList::resize
17181 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17182 the document lazily when we change the width, or the font settings.
17184 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17186 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17188 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17190 * buffer.h: remove out of date comment
17192 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17195 * screen.C: fix "theoretical" GC leak
17197 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17199 * LaTeX.C (scanAuxFile):
17200 (deplog): remove trailing \r when reading stream (useful under
17203 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17205 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17206 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17207 and BufferView::theLockingInset(Inset*), so should use them and not
17208 access bv_->text->the_locking_inset directly.
17210 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17212 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17215 * tex-defs.h: remove old unused file
17217 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17219 * BufferView_pimpl.C: fix typo, remove minibuffer message
17220 when buffer has loaded
17222 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17224 * lyxfunc.C (Dispatch): use stringstream
17225 (MenuNew): use stringstream
17226 (Open): use stringstream
17228 * importer.C (Import): use stringstream
17230 * bufferview_funcs.C (CurrentState): use stringstream
17232 * LaTeX.C (run): use stringstream
17234 * BufferView_pimpl.C (savePosition): use stringstream
17235 (restorePosition): use stringstream
17236 (MenuInsertLyXFile): use stringstream
17238 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17251 * vspace.C: removed // -*- C++ -*- as first line.
17254 * version.h: added // -*- C++ -*- as first line.
17256 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17258 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17260 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17263 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17265 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17268 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17270 * gettext.C: include LString.h even when --disable-nls is on.
17272 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17274 * converter.h (Get): changed argument type from int to
17275 FormatList::size_type to avoid unnecessary conversion.
17277 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17280 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17282 * gettext.h: include LString.h even when --disable-nls is on.
17284 2001-06-07 Juergen Vigna <jug@sad.it>
17286 * text.C (BreakAgain): subst spaces with tabs.
17288 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17289 (resizeInsetsLyXText): set force on resizeLyXText.
17291 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17293 * gettext.h (gettext_init):
17294 (locale_init): use a real definition instead of a macro
17296 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17298 * Bufferview_pimpl.C:
17300 * LColor.C: further lcolor tidies
17302 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17304 * BufferView_pimpl.C (updateScrollbar): simplify.
17306 * BufferView2.C: don't include insets/insetinfo.h, change
17307 prototype for insertInset and call the Pimpl version. let
17308 updateInset call Pimpl version.
17310 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17311 gotoInset to BufferView::Pimpl
17313 2001-06-01 Juergen Vigna <jug@sad.it>
17315 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17316 inside a LockingInset (is the update needed at all?).
17318 2001-05-31 Juergen Vigna <jug@sad.it>
17320 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17321 here not the old one otherwise how should we compare it afterwards
17324 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17329 * FontInfo.C: bring C functions into global namespace when
17332 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17334 * LString.h: make sure config.h has been loaded before LString.h.
17336 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17337 (one for each char read by EatLine!).
17339 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17342 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17344 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17345 to the same as the par we break from
17347 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17349 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17351 * MenuBackend.C (expand): also create menu entries for wide
17352 versions of the floats.
17354 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17356 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17358 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17359 frontends/Makefile.am
17365 * tabular.C (getTokenValue): add std::
17367 * tabular-old.C (getTokenValue): add std::
17368 (getTokenValue): ditto
17369 (getTokenValue): ditto
17371 * screen.C (ToggleSelection): adjust
17373 * lyxtext.h: put selection cursors inside a Selection struct.
17375 * lyxfunc.C (moveCursorUpdate): adjust
17377 * lyxfont.C (latexWriteStartChanges): add std::
17379 * lyxfind.C: adjust
17381 * font.h: delete with(char const *, LyXFont const &)
17383 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17385 * FontInfo.C (getFontname): add std::
17387 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17388 (workAreaButtonPress): adjust
17389 (tripleClick): adjust
17391 (moveCursorUpdate): adjust
17394 * BufferView2.C (gotoInset): adjust
17396 2001-05-30 Juergen Vigna <jug@sad.it>
17398 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17399 to check pspell I add this as default as I now have new pspell
17400 libraries and they seem to use this.
17402 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17404 * text2.C (CutSelection): make the cursor valid before the call to
17407 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17409 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17410 relied on 0 terminated strings and other horrors. Bug found due to
17411 the new assert in lyxstring!
17413 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17416 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17418 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17421 * lyxfunc.C (processKeySym): change method of getting to the
17424 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17425 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17426 * BufferView_pimpl.[Ch]: here as private methods.
17428 2001-05-28 Juergen Vigna <jug@sad.it>
17430 * text.C (SetHeightOfRow): added the update() call again as it is
17431 needed to initialize inset dimensions!
17433 2001-05-16 Juergen Vigna <jug@sad.it>
17435 * text2.C (SetCharFont): Add new function with BufferView * and
17436 bool toggleall parameters for setting insets internal fonts.
17437 (SetFont): Freeze the undo as we may change fonts in Insets and
17438 all this change should be inside only one Undo!
17440 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17441 setting font's in insets as for them we have the SetFont function!
17443 2001-05-15 Juergen Vigna <jug@sad.it>
17445 * text2.C (ClearSelection): to be sure we REALLY don't have any
17448 * tabular.C (TeXCellPreamble): fixed the left border problem for
17451 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17453 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17456 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17458 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17459 LFUN_BREAKPARAGRAPH.
17461 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17462 help test to "internal only", similar for LFUN_INSERT_URL
17464 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17465 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17466 auto_region_delete and deadkeys.
17468 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17471 * LColor.C: remove some dead entries, tidy a little
17473 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17475 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17477 (Dispatch): implement LFUN_ESCAPE
17479 * commandtags.h: add LFUN_ESCAPE
17481 * LyXAction.C (init): add entry for LFUN_ESCAPE
17483 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17484 Remove commented code.
17485 (insertNote): moved here
17486 (open_new_inset): moved here
17488 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17491 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17493 * kbmap.C (findbinding): clean it up and make it work correctly.
17495 * lyx_main.C (init): do not pass argc and argv as parameters
17497 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17499 * buffer.C: fix path for OS/2 & Win32
17503 * lyx_main.C: Added os:: class.
17505 * os2_defines.h: update
17507 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17509 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17510 better by trying again with reduced state.
17512 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17514 * lyxrc.C (read): print error about invalid key sequence only when
17515 debugging (because not all latinX keysyms are known to some X
17518 * kbsequence.C (getiso): add a few std:: qualifiers
17519 (getiso): comment out extra return statement.
17521 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17523 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17525 (Dispatch): enhance the accent inset a bit. (not perfect)
17527 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17529 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17531 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17533 * bufferlist.C (emergencyWrite): fix assert() call
17535 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17537 * text.C (InsertChar): Added trivial patch to only send the "you
17538 can not do multiple spaces this way" message once during a
17541 2001-05-08 Baruch Even <baruch@lyx.org>
17543 * Makefile.am: Changed order of libraries to get LyX to link properly
17544 with the gnome frontend.
17546 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17548 * LaTeXFeatures.h: add a std:: qualifier
17550 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17552 * paragraph.C (String): use stringstream
17554 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17556 * paragraph.C (writeFile): remove footflag arg
17558 * buffer.C (makeLaTeXFile): use stringstream
17559 (latexParagraphs): remove footnot gurba
17561 * LaTeXFeatures.C (getPackages): use stringstream
17562 (getMacros): likewise
17563 (getTClassPreamble): likewise
17564 (getFloatDefinitions): new method
17566 * paragraph.C (writeFile): reindent
17569 * WorkArea.h: revert the xpos + etc changes.
17571 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17573 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17575 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17576 (pasteSelection): likewise
17577 * text2.C (CreateUndo): likewise
17579 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17581 * minibuffer.C (peek_event): temporarily reduce the functionality
17582 of the minibuffer (to allow args on lfuns)
17584 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17585 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17587 * buffer.C (readInset): add compability reading of old float
17588 lists, add reading of new style float list.
17589 (readInset): avoid reevaluation of inscmd.getCmdName()
17590 (getLists): reindent
17592 * MenuBackend.C (MenuItem): implement parsing of
17593 md_floatlistinsert and md_floatinsert.
17594 (expand::LastFiles): move initalizaton of iterators out of loop,
17595 avoid reevaluation.
17596 (expand::Documents): introduce typdedef vector<string> Strings,
17598 (expand::ExportFormats): introduce typedef vector<Format const *>
17599 Formats, and use it.
17600 (expand): implement FloatListInsert and FloatInsert.
17602 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17603 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17604 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17606 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17608 (Dispatch::LFUN_FLOAT_LIST): implement
17610 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17612 * LaTeX.C (run): Fix problem with --export code.
17614 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17616 * BufferView.[Ch] (workarea): removed.
17617 (getClipboard) new method; wrapper for workarea()->getClipboard()
17619 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17622 * WorkArea.h (width, height, xpos, ypos): These methods all
17623 returned the dimensions of the work_area sub-area of WorkArea,
17624 resulting in a position error if the WorkArea were resized. Now
17625 return the dimensions of the entire WorkArea.
17627 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17629 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17631 * LaTeX.C (deplog): correct the syntax of regex reg1
17633 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17635 * undo.C: remove !NEW_INSETS cruft
17637 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17639 * text2.C: remove !NEW_INSETS cruft
17641 * text.C: remove !NEW_INSETS cruft
17643 * tabular.C: remove !NEW_INSETS cruft
17645 * spellchecker.C: remove !NEW_INSETS cruft
17647 * lyxtext.h: remove !NEW_INSETS cruft
17649 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17651 * lyxfunc.C: remove !NEW_INSETS cruft
17653 * lyxfind.C: remove !NEW_INSETS cruft
17655 * lyx_cb.C: remove !NEW_INSETS cruft
17657 * figureForm.C: remove !NEW_INSETS cruft
17659 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17661 * buffer.[Ch]: remove !NEW_INSETS cruft
17663 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17665 * CutAndPaste.C: remove !NEW_INSETS cruft
17667 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17669 * BufferView2.C: remove !NEW_INSETS cruft
17671 * BufferView.h: remove !NEW_INSETS cruft
17673 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17675 * Lsstream.h: include LString.h before the sstream headers to
17676 fix problem with gcc 2.95.3 and lyxstring
17678 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17680 * lyx_main.C: add using directives when needed for C functions
17681 declared in std:: namespace.
17683 2001-04-27 Juergen Vigna <jug@sad.it>
17685 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17686 (SetHeightOfRow): comment out the update call should not be needed!
17688 2001-04-13 Juergen Vigna <jug@sad.it>
17690 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17691 (LyXTabular): tried to minimize operator= operations (and realized
17692 hopfully Lars wish).
17694 2001-04-27 Juergen Vigna <jug@sad.it>
17696 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17698 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17700 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17702 * buffer.C (readInset): hack to make listof algorithm work
17704 * BufferView_pimpl.C: hack to make listof algorithm work
17706 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17708 * LyXAction.C: removed all !NEW_INSETS cruft
17709 (init): moved lfun_item in method
17711 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17713 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17715 * BufferView2.C (theLockingInset): white space.
17717 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17719 * minibuffer.C: include <iostream>
17721 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17723 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17725 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17727 * text.[Ch] (TransposeChars): new method
17729 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17731 * call message directly through LyXView instead of through LyXFunc
17732 * BufferView2.C: adjust
17733 * BufferView_pimpl.C: adjust
17734 * FontLoader.C: adjust
17736 * bufferview_funcs.C: adjust
17737 * converter.C: adjust
17738 * figureForm.C: adjust
17739 * importer.C: adjust
17741 * lyx_gui_misc.C: adjust
17742 * lyxfunc.C: adjust
17745 + more files in subdirs
17747 * lyxparagraph.h (size): move up int file
17750 * adjust all uses of Assert to lyx::Assert.
17752 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17753 lyxfunctional in namespace lyx
17754 * layout.C (hasLayout): ditto
17757 (delete_layout): ditto
17758 (NumberOfClass): ditto
17759 * converter.C (GetFormat): ditto
17764 * bufferlist.C (getFileNames): ditto
17765 (emergencyWriteAll): ditto
17768 * MenuBackend.C (hasSubmenu): ditto
17771 * BufferView_pimpl.C (getInsetByCode): ditto
17773 2001-04-18 Juergen Vigna <jug@sad.it>
17775 * vspace.C (asLatexString): fixed the 100% problem.
17777 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17779 * lyxfunc.C (Dispatch):
17781 * minibuffer.h: add a few std:: qualifiers
17783 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17785 * minibuffer.[Ch]: reimplement so that commands is initiated and
17786 run from lyxfunc, simplified som handling, and made the completion
17787 and history code for complete. wip.
17789 * lyxfunc.C (processKeySym): call message
17790 (miniDispatch): new temporary method
17791 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17792 (LFUN_MESSAGE): implement
17793 (LFUN_MESSAGE_PUSH): implement
17794 (LFUN_MESSAGE_POP): implement
17795 (initMiniBuffer): the initial/defualt minibuffer message.
17797 * lyxfont.[Ch]: inline some more getters
17799 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17801 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17803 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17804 (AutoSave): use LFUN_MESSAGE
17805 (Reconfigure): ditto
17807 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17809 * figureForm.C: use LFUN_MESSAGE
17811 * converter.C (runLaTeX): use LFUN_MESSAGE
17813 * bufferview_funcs.C: use LFUN_MESSAGE
17815 (changeDepth): ditto
17817 * bufferparams.h: use boost::
17819 * bufferlist.h: inherit privately from noncopyable
17821 * bufferlist.C (loadLyXFile): remove some commented code.
17823 * buffer.C (runChktex): use LFUN_MESSAGE
17825 * ShareContainer.h: inherit privately from noncopyable
17827 * ParagraphParameters.[hC] (depth): inline it.
17829 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17831 (message): new method
17832 (messagePush): ditto
17833 (messagePop): ditto
17834 (show): init minibuffer
17835 (showState): direct call
17837 * LaTeX.[Ch]: inherit privately from noncopyable
17838 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17839 instead of WriteStatus.
17841 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17843 * BufferView_pimpl.C (buffer): don't init minibuffer
17844 (workAreaButtonPress): use LFUN_MESSAGE
17845 (workAreaButtonRelease): ditto
17846 (savePosition): ditto
17847 (restorePosition): ditto
17848 (MenuInsertLyXFile): ditto
17849 (workAreaExpose): don't init minibuffer
17850 (update): remove commented code, simplify
17852 * BufferView2.C (openStuff): use LFUN_MESSAGE
17853 (toggleFloat): ditto
17856 (copyEnvironment): ditto
17857 (pasteEnvironment): ditto
17862 (updateInset): remove some commented code
17864 * lastfiles.h: inherit privately from noncopyable
17867 * lyx_main.h: ditto
17869 * lyxlex_pimpl.h: ditto
17871 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17872 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17873 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17875 * LyXAction.h: inherit privately from noncopyable, add methods
17876 func_begin, func_end, returning iterators to the func map.
17878 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17879 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17880 (func_begin): new method
17881 (func_end): new method
17883 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17885 (copySelection): ditto
17886 (pasteSelection): ditto
17888 * BufferView.C: whitespace change
17889 * BufferView.h: inherit privately from noncopyable
17891 2001-04-16 Allan Rae <rae@lyx.org>
17893 * tabular-old.C (l_getline):
17894 * spellchecker.C (sc_check_word):
17895 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17896 an unrecognised preprocessor directive. So ensure they're wrapped.
17898 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17900 * src/exporter.C (Export): Give an error message when path to file
17903 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17905 * LaTeX.C (deplog): Always check that foundfile exists.
17907 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17910 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17912 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17914 * tabular.[Ch] (getLabelList): implement new method
17916 * minibuffer.h: comment ouf setTiimer
17918 * minibuffer.C (ExecutingCB): constify res
17919 (peek_event): constify s
17920 (Set): constify ntext
17921 (Init): constify nicename
17923 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17925 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17926 (savePosition): use two params to Minibuffer::Set
17927 (restorePosition): ditto
17929 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17931 * lyx_main.C: include language.h
17933 * Makefile.am (lyx_main.o): add language.h
17935 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17941 * CutAndPaste.C: include gettext.h
17943 * lyxfont.h: remove old hack with ON and OFF.
17946 * lyxfont.h: do not include language.h...
17951 * bufferview_funcs.C:
17957 * paragraph.C: ... but do it here instead
17959 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17961 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17963 * tabular.C: small reformat
17965 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17968 (BreakParagraph): ditto
17969 (SetOnlyLayout): ditto
17972 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17975 * lastfiles.C: removed most using decl, add std:: where needed
17977 * buffer.C: ws changes
17979 * MenuBackend.C (class compare_format): put into anon namespace
17980 (expand): constify label, names, action, action2
17983 * text.C (SingleWidth): constify font
17984 (IsBoundary): constify rtl2
17985 (GetVisibleRow): constify ww
17987 * LaTeX.C (deplog): constify logfile
17989 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17991 (workAreaExpose): constify widthChange, heightChange
17993 * lyxrow.C (par): moved
17996 * lyxrow.h: as inlines here
17998 * lyxfont.h (shape): moved from lyxfont.C
17999 (emph): moved from lyxfont.C
18001 * lyxfont.C (LyXFont): use initialization list for all
18003 (shape): move to lyxfont.h as inline
18004 (emph): move to lyxfont.h as inline
18007 2001-04-04 Juergen Vigna <jug@sad.it>
18009 * vspace.C: had to include stdio.h for use of sscanf
18011 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
18014 * BufferView_pimpl.h: remove xforms cruft. Both classes are
18015 independent of xforms.
18017 2001-04-02 Juergen Vigna <jug@sad.it>
18019 * spellchecker.C: fixed namespace placing!
18021 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
18023 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
18024 the LyXParagraph * is 0.
18026 2001-03-29 Juergen Vigna <jug@sad.it>
18028 * vspace.C: added support for %, c%, p%, l%.
18029 (stringFromUnit): added helper function.
18030 (asLatexString): changed to give right results for the %-values.
18032 * buffer.C: convert the widthp in a width%.
18034 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
18036 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18039 * figureForm.[Ch]: stripped the FD_from_figure manipulation
18040 code out of lux_cb.[Ch], ready for its (imminent?) removal.
18042 * lyx_cb.[Ch]: see above.
18044 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18048 * lyx.[Ch]: replaced by figure_form.[Ch].
18052 * lyxfunc.C: changed headers associated with above changes.
18054 2001-03-27 Juergen Vigna <jug@sad.it>
18056 * BufferView_pimpl.C: set the temporary cursor right!
18058 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
18060 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18062 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
18064 * LString.h: removed "using std::getline"!
18066 * BufferView_pimpl.C (Dispatch): changes due to changes in
18067 InsetInclude::Params.
18069 * buffer.C (tag_name): removed redundant break statements as they were
18070 producing lots of warnings with my compiler.
18072 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18074 * LString.h: add "using std::getline" when using the real <string>.
18076 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
18078 * buffer.C: removed bitset usage.
18079 PAR_TAG moved to an anonymous name space.
18080 (tag_name): new funtion, also in the anonymous namespace.
18081 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18082 (makeDocBookFile): clean code. Completed transition from string arrays
18084 (SimpleDocBookOnePar): code clean.
18086 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18088 * tabular.C: add some comments.
18090 2001-03-22 Juergen Vigna <jug@sad.it>
18092 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18093 compatibility read a bit and fixed bug with minipage in different
18096 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18098 * buffer.C (pop_tag): removed.
18099 (push_tag): removed.
18100 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18101 array replaced with vector. Added support for CDATA sections.
18102 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18104 (makeDocBookFile): XML conformant declaration of CDATA section,
18105 fixed bug related to <emphasis> in the first paragraph char.
18106 (sgmlOpenTag): exclude empty tags.
18107 (sgmlCloseTag): ditto.
18109 * buffer.h (pop_tag): removed.
18110 (push_tag): removed.
18112 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18114 * language.h (Languages): added size_type and size().
18116 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18118 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18119 response on compability reading of minipages. One probliem is that
18120 the old usage of minipages was flertydig
18122 * several files here and in subdirs: don't use static at file
18123 scope use anon namespaces instead.
18125 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18127 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18128 LaTeX output. This is necessary for Literate document
18131 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18133 * buffer.C: insert hfill when needed.
18135 * tabular.C (l_getline): use string::erase, small whitespace change.
18137 * BufferView_pimpl.C: try the anon namespace.
18138 * WorkArea.C: ditto
18140 2001-03-16 Juergen Vigna <jug@sad.it>
18142 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18143 otherwise it won't open options-dialogs.
18145 * buffer.C: honor pextraWidth(p) on converting minipages.
18147 * tabular.C (l_getline): changed the functions to strip trailing \r.
18149 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18151 * BufferView_pimpl.C:
18152 * minibuffer..C: added "using SigC::slot" declaration.
18154 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18156 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18162 * paragraph.C: ditto
18164 * lyxtext.h: NO_PEXTRA
18166 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18168 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18169 * ParameterStruct.h: ditto
18170 * ParagraphParameters.h: ditto
18171 * lyxparagraph.h: ditto
18173 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18175 * buffer.C: add compability for minipage alignment.
18176 (latexParagraphs): remove unwanted pextra check.
18178 * several files: remove CXX_WORKING_NAMESPACES
18180 * buffer.C (pop_tag): tie is in namespace boost
18182 * BufferView.h: noncopyable is in namespace boost
18184 * lyx_main.h: ditto
18187 * lastfiles.h: ditto
18188 * bufferlist.h: ditto
18189 * ShareContainer.h: ditto
18191 * LyXAction.h: ditto
18194 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18196 * Merging changes from BRANCH_MVC back into HEAD.
18198 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18200 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18202 * BufferView_pimpl.C: change from intl.C
18206 * Makefile.am: move combox.*
18212 * intl.C: remove dialog (covered by prefs)
18214 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18216 * lyxfunc.C (Dispatch): removed redundant break statement.
18218 2001-03-14 Juergen Vigna <jug@sad.it>
18220 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18222 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18224 * buffer.C: add hack to fix compability reading of minipages.
18226 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18228 * buffer.C (getLists): Cleanup.
18230 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18232 * lyxfont.C (update): don't honor toggleall on font size.
18234 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18238 * Makefile.am: moved to frontends/xforms/
18242 * BufferView_pimpl.C: changes for moved mathpanel
18244 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18246 * gettext.h: fix gettext_init() in --disable-nls
18248 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18250 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18252 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18255 * lyx.h: strip external form
18257 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18259 * BufferView_pimpl.C: add comment, destroySplash()
18261 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18263 * BufferView_pimpl.C:
18267 * lyxfunc.C: use re-worked insetinclude
18269 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18271 * buffer.C: add using std::stringstream.
18273 * lyx_cb.C: readd using std::ios.
18275 * buffer.C: add using std::map.
18277 * BufferView_pimpl.C: add using std::vector.
18279 * ShareContainer.h: add std:: to swap.
18281 * buffer.h: add some typedefs
18282 * buffer.C (getLists): use them
18283 (getLists): renamed from getTocList.
18284 add a counter for the different float types and use it in the
18286 (getLists): use the same counter for the NEW_INSETS and the "non"
18289 * lyx_cb.h: remove unused items, includes, using etc.
18291 * ShareContainer.h: remove some commented code, add more comments
18292 and "documentation".
18294 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18296 * buffer.C (getTocList): make the list also when NEW_INSETS is
18299 * buffer.h: remove TocType
18301 * buffer.C (getTocList): change to return a map<string,
18302 vector<TocItem> >, implement for dynamic number of list.
18304 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18305 * text2.C (PasteSelection): adjust
18306 * CutAndPaste.C (pasteSelection): adjust
18308 * FloatList.C (FloatList): update from the new_insets branch.
18309 * Floating.[Ch]: ditto
18310 * LaTeXFeatures.C: ditto
18312 * lyxlex_pimpl.C: ditto
18314 * paragraph.C (Last): remove when NEW_INSETS is defined.
18316 * other file: changes because of the above.
18318 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18320 * lyxparagraph.h: rename next to next_, previous to previous_,
18321 make them private for NEW_INSETS. Rename Next() to next(),
18322 Previous() to previous().
18324 * other files: changes because of the above.
18326 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18329 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18332 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18334 * main.C (main): pass lyx_localedir to gettext_init().
18336 * gettext.h: remove locale_init and gettext_init macros
18338 * gettext.C (locale_init): new function
18339 (gettext_init): new function
18341 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18344 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18346 * Moved credits to frontends:
18347 * credits.[Ch]: removed
18348 * credits_form.[Ch]: removed
18349 * lyx_gui_misc.C: remove credits stuff
18352 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18354 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18356 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18357 unneeded destructor.
18359 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18360 a standalone pointer again.
18362 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18364 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18370 * ToolbarDefaults.C:
18379 * BufferView_pimpl.C: use new file dialog in GUII
18382 * lyx_cb.C: remove LayoutsCB to Toolbar
18384 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18386 * ShareContainer.h (get): add std:: qualifier
18388 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18390 * ShareContainer.h: define a proper ShareContainer::value_type
18391 type (and use typename to please compaq cxx)
18393 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18395 * lyxparagraph.h: move serveral local vars to
18396 ParameterStruct/ParagraphParameters., use ShareContainer in
18397 FontTable., make vars in FontTable private and add getter and
18400 * paragraph.C: changes because of the above.
18402 * lyxfont.h: remove copy constructor and copy assignment. (the
18403 default ones is ok), move number inside FontBits. move inlines to
18406 * lyxfont.C: add number to initializaton of statics, move several
18407 inlines here. constify several local vars. some whitespace
18408 cleanup. Dont hide outerscope variables.
18410 * Spacing.h: add two new constructors to match the set methods.
18412 * ShareContainer.h: new file, will perhaps be moved to support
18414 * ParameterStruct.h: new file
18416 * ParagraphParameters.h: new file
18418 * ParagraphParameters.C: new file
18420 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18421 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18423 * BufferView_pimpl.C: ParagraphParameter changes.
18424 * buffer.C: Likewise.
18425 * bufferview_funcs.C: Likewise.
18426 * text.C: Likewise.
18427 * text2.C: Likewise.
18429 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18431 * lyxfind.C (LyXReplace): do not redefine default argument in
18433 (IsStringInText): ditto
18434 (SearchForward): ditto
18435 (SearchBackward): ditto
18437 2001-03-06 Juergen Vigna <jug@sad.it>
18439 * lyxfind.C (IsStringInText): put parentes around expressions.
18441 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18443 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18445 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18447 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18449 * stl_string_fwd.h: add comment
18451 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18454 * tabular.C: remove unused DocBook methods
18460 killed DO_USE_DEFAULT_LANGUAGE
18462 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18464 * lyx_gui.C: do not include language.h.
18466 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18467 arguments in function implementation.
18469 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18471 * BufferView_pimpl.C: add <ctime>
18473 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18475 * BufferView_pimpl.C: add using std::find_if
18477 2001-02-27 José Matos <jamatos@fep.up.pt>
18479 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18482 2001-02-11 José Matos <jamatos@fep.up.pt>
18484 * buffer.C (makeDocBookFile): command styles now have a parameter as
18485 "title" by default.
18487 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18489 * layout_forms.[Ch]: removed
18490 * lyx_cb.[Ch]: out character
18491 * lyx_gui.C: out character
18492 * lyx_gui_misc.C: out character
18493 * bufferview_funcs.C: : out character,
18494 added toggleall as parameter in ToggleAndShow
18496 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18498 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18500 * text2.C (SetCurrentFont): Disable number property at boundary.
18502 2001-02-26 Juergen Vigna <jug@sad.it>
18504 * lyxfunc.C (getStatus): added a string argument override function so
18505 that this is correctly called from LyXFunc::Dispatch if it contains a
18506 do_not_use_argument which is used!
18507 (Dispatch): added check for "custom" export and call appropriate func.
18509 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18511 * lyxrc.C: Add language_command_local, language_use_babel and
18512 language_global_options.
18514 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18516 * buffer.C (makeLaTeXFile): Use language_use_babel and
18517 language_global_options.
18519 2001-02-23 Juergen Vigna <jug@sad.it>
18521 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18522 which works with LyXText and putted it inside BufferView. Here now we
18523 only call for that part the BufferView::Dispatch() function.
18525 * BufferView.C (Dispatch): added.
18527 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18528 functions which needs to use a LyXText over from LyXFunc.
18529 (MenuInsertLyXFile): added
18530 (getInsetByCode): added
18531 (moveCursorUpdate): added
18532 (static TEXT): added
18534 2001-02-22 Juergen Vigna <jug@sad.it>
18536 * BufferView_pimpl.C (update): call a status update to see if LyXText
18539 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18541 * vc-backend.C (revert): implement for CVS
18542 (getLog): implement for CVS
18544 2001-02-20 Juergen Vigna <jug@sad.it>
18546 * text2.C (ClearSelection): added BufferView param for inset_owner call
18548 * lyxfunc.C (TEXT): added this function and use it instead of
18549 directly owner->view()-text of getLyXText().
18551 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18553 * src/layout_forms.C: out preamble
18554 * src/layout_forms.h: out preamble
18555 * src/lyx_cb.C: out preamble
18556 * src/lyx_cb.h: out preamble
18557 * src/lyx_gui.C: out preamble
18558 * src/lyx_gui_misc.C: out preamble
18559 * src/lyxfunc.C: connect with guii preamble
18561 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18563 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18565 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18567 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18568 whether to run bibtex.
18570 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18572 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18574 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18576 * Makefile.am (lyx_SOURCES): removed bibforms.h
18578 * vspace.h: doxygen
18580 * text.C (GetVisibleRow): make several local vars const
18582 * tabular.C: small cleanup.
18584 * lyxserver.C (callback): use compare instead of strncmp
18586 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18587 inlines to after class or to paragraph.C
18589 * lyxfont.h: remove friend operator!=
18591 * converter.h: move friend bool operator< to non friend and after
18594 * combox.h: small cleanup
18596 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18597 to inlines after class def.
18599 * buffer.C (pop_tag): use string operations instead of strcmp
18601 * bmtable.c: doxygen, small cleanup
18603 * LaTeX.h: remove friend operator==
18605 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18617 * BufferView_pimpl.C:
18618 * BufferView.[Ch]: remove cruft
18620 2001-02-14 Juergen Vigna <jug@sad.it>
18622 * lyxfunc.C: removed #if 0 unused code
18624 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18626 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18628 * text2.C (SetSelection): added a BufferView * parameter
18630 2001-02-13 Juergen Vigna <jug@sad.it>
18632 * lyxfunc.C (Dispatch): fixed protected blank problem.
18633 * BufferView2.C (protectedBlank): added LyxText * parameter.
18635 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18636 (AppendColumn): same as above for column_info.
18638 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18639 (moveCursorUpdate): use a LyXText param for support of InsetText.
18641 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18642 (tripleClick): ditto
18644 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18646 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18648 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18650 * text2.C (SetSelection): set correct update status if inset_owner
18651 (ToggleFree): ditto
18653 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18655 * tabular.C: remove some commented code.
18657 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18659 * BufferView_pimpl.C: call hideSplash()
18661 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18664 * bibforms.h: remove
18667 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18668 add LFUN_CHILD_CREATE
18670 * counters.h: fix tiny typo
18675 * lyx.C: move splash to frontends/xforms/
18677 * lyx_gui_misc.C: move Include and Bibform to frontends
18679 * lyxvc.h: clarify comment
18681 * vspace.C: tiny housekeeping
18683 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18685 * text.C (PrepareToPrint): RTL Fix.
18687 * paragraph.C (GetUChar): New method.
18688 (String): Use GetUChar.
18690 * buffer.C (asciiParagraph): Use GetUChar.
18692 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18694 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18696 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18699 * buffer.C: rename to getLogName(), handle
18700 build log / latex log nicely
18702 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18705 * MenuBackend.h: remove support for reference menuitem type.
18707 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18709 * BufferView_pimpl.C: housekeeping
18710 * BufferView_pimpl.h:
18715 * minibuffer.h: move Timeout GUI-I
18717 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18719 * lyxrc.C (read): Update converters data-structures.
18721 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18723 * LaTeX.h (operator!=): add operator != for Aux_Info
18725 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18727 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18729 * LaTeXLog.C: deleted, useful code moved to Buffer
18732 * buffer.C: new function getLatexLogName()
18738 * lyxfunc.C: use frontends for LaTeX and VC logs
18740 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18742 * LaTeX.h: yet another std:: that Allan forgot.
18744 * Variables.C (set): renamed from isset(), because this clashes
18745 with some HP-UX macros (grr).
18747 2001-02-06 Allan Rae <rae@lyx.org>
18749 * LaTeX.h: Another bug fix. Missing std:: this time.
18751 2001-02-04 Allan Rae <rae@lyx.org>
18753 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18754 floats problem. I've left it commented out because it's not quite
18755 correct. It should also test that the current object is a table or
18756 figure inset. But I haven't gotten around to figuring out how to do
18757 that. I *think* it'll be something like: "table" == inset.type()
18759 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18762 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18764 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18765 all the citation/databases/styles in the auxilary file.
18766 (run): Rerun latex if there was a babel language error.
18768 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18770 * text.C (Backspace): Preserve the font when changing newline char
18772 (BreakParagraph): If the cursor is before a space, delete the space.
18774 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18776 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18778 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18779 new argument (code).
18780 (ChangeCitationsIfUnique): New method.
18782 * paragraph.C (GetPositionOfInset): Handle bibkey.
18784 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18786 * BufferView_pimpl.h: change type of Position::par_pos to
18787 LyXParagraph::size_type.
18789 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18791 * BufferView_pimpl.C (savePosition, restorePosition): Write
18792 messages to minibuffer.
18794 2001-01-28 José Matos <jamatos@fep.up.pt>
18796 * buffer.C (makeDocBookFile): adds support for document language.
18797 A silly restriction on the name of LatexCommand types where removed.
18798 Added support for CDATA sections, allows to chars unescaped, used
18799 among others in code, to avoid escape < and >.
18801 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18803 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18804 saved positions instrad of a stack. Furthermore, a position is
18805 stored using paragraph id/paragraph position.
18807 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18808 Remove LFUN_REF_BACK.
18810 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18812 * converter.C (dvipdfm_options): New method.
18814 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18816 * vspace.C (isValidLength): Fix for empty input string.
18818 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18820 * LyXAction.C (init): change description of LFUN_FIGURE to
18823 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18825 * LaTeX.C: add using directive
18827 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18829 * MenuBackend.C (expand): Fix the sorting of the formats.
18831 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18833 * lyx_main.C: tiny error message fix
18835 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18837 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18838 calling fl_initialize(). This fixes the problem with ',' as
18839 decimal separator in text files.
18841 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18843 * trans.C (process): Fix the keymap bug.
18845 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18847 * LaTeX.C (scanAuxFiles): New method. Provides support for
18848 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18849 (scanLogFile) Scan for "run BibTeX" messages.
18851 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18852 OT1 font encoding. Also, load the aecompl package if the ae
18855 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18857 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18859 * texrow.C (increasePos): turn two error messages into debug
18862 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18864 * LaTeX.C (scanAux): Handle the \@input macro.
18865 (runBibTeX): Use scanAux().
18867 * language.C (latex_options_): New field.
18869 * LaTeXFeatures.C (getMacros): Add language macros.
18871 * buffer.C (makeLaTeXFile): Small fix.
18873 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18875 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18877 * text2.C: add a using directive.
18879 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18884 * lyxfunc.C: kill LyXBell.
18886 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18888 * text.C (IsBoundary): Remove the error message
18890 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18892 * lyxrc.C (setDefaults): Correct initialization value for
18895 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18897 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18900 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18901 and GotoNextNote().
18903 * src/LyXAction.C: Added reference-next.
18905 * text.C (InsertChar): Use contains instead of strchr.
18907 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18909 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18911 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18912 alignment commands (when needed).
18914 * text.C (InsertChar): Add ':' to number separator chars.