1 2006-03-13 Martin Vermeer <martin.vermeer@hut.fi>
3 * rowpainter.C (paintChangeBar): fix painting of change bar with
4 only paragraph break changed
6 2006-03-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
9 * lyx_main.C (reconfigureUserLyXDir): run ditto
11 2006-03-12 Martin Vermeer <martin.vermeer@hut.fi>
13 * lyxtext.h: doxygen documentation fix
15 2006-03-11 Martin Vermeer <martin.vermeer@hut.fi>
17 * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
19 * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
20 rejectChange, erase; added setChangeFull):
21 * CutAndPaste.C (eraseSelectionHelper):
23 * text.C (readParToken, readParagraph, breakParagraph,
24 acceptChange, rejectChange, backspace, currentState;
26 * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
27 * lyxfind.C (findChange, findNextChange): fix bug 880: Change
28 tracked paragraphs should still allow a paragraph split (and related
29 things, i.e., multi-paragraph change tracking)
31 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
33 * BufferView_pimpl.C: fix bug 2212: First change is skipped is
34 "Merge changes..." dialog
36 2006-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
38 * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX
39 error if the class has not defined them yet (bug 2053).
41 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
44 * BufferView_pimpl.[Ch]:
48 * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
50 2006-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
52 * pch.h: fix nullstream.hpp location for boost 1.33.0
54 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
58 * support/debugstream.h: Use the correct nullstream.
60 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
62 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
64 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
66 * cursor.C (niceInsert): fix (properly) insertion of
67 fonts/decorations around selection
69 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
71 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
73 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * text3.C (mathDispatch): fix crash when selection is not empty
76 but selectionAsString is empty (bug 2321).
78 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * text.C (changeCase): avoid crash in empty paragraph or on last
81 word of the paragraph. (buf 2323)
82 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
84 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
86 * buffer.C (readHeader): also erase params.preamble in advance
87 so that an empty preamble is actually recognized (bug 2317).
89 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
91 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
93 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
95 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
105 * text3.C: Fix bug 2115: blue language lines (for default font)
106 popping up when the documnent font is different. This includes work
109 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
111 * exporter.C (Backends): Add "lyx" backend
112 * exporter.C (Export): Handle "lyx" backend
113 * graph.C (getReachable): Don't exclude "lyx"
114 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
116 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
118 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
119 for correct in-mathed positioning
121 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
123 * rowpainter.C (paintForeignMark): fix foreign blue line under
126 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
128 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
129 pit of the uno range (bug 2022).
131 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
133 * messages.C (get): Only warn once if setlocale fails (bug 2177)
135 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
137 * text2.C (setCharFont): take inset's own font settings into account
138 when defining the font to reduce to, fixes 2019
140 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
142 * bufferview_funcs.C (coordOffset): remove the check for
143 collapsed collapsables (fix for bug 2094). This is now done
144 on a more general level (cursor.C).
146 * dociterator.[Ch] (forwardPos): add an optional argument
147 bool "ignorecollapsed" (default false), which lets forwardPos
148 skip collapsed insets.
150 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
151 (fixes bug 2241 and 2094).
153 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
155 * buffer.C: change tracking (dvipost) doesn't require
158 * LaTeXFeatures.C (getPackages): no need for the color
159 option "usenames" (bug 2169).
161 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
162 * buffer_funcs.C: Trivial fix - added {} around
163 the statements to be affected by a if-test. Now
164 label in a minipage in a float looks ok on screen again.
166 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
168 * text2.C: fix bug 2015: on screen fonts in nested environments
171 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
173 * converter.C (convert): handle unknown formats
175 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * cursor.C (goUpDown): comment out some debug messages.
179 * counters.C (newCounter): make error messages more explicit
180 (these appear with some textclasses like beamer)
182 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
186 have origin set to KEYBOARD. (bug 2221)
188 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
190 * rowpainter.C (isCursorOnRow): do not exclude endpos().
192 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * cursor.C (macroModeClose): returns true if an inset actually got
195 inserted; revert faulty fix to bug 2034.
197 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
199 * tabular.C (getLabelList): remove (not used anymore).
201 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
203 * outputparams.[Ch]: add new flag inComment
205 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * text2.C (deleteEmptyParagraphMechanism): since we delete a
208 paragraph, recordUndo should span two paragraphs (bug 2155).
210 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
212 * rowpainter.C (paintPar): always repaint the row with the
215 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
221 * vspace.h: fix syntax error
223 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
225 * text3.C (dispatch): Force refresh if typing into inset changes its
228 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
233 * rowpainter.C: Speed up rendering by only re-painting rows that
234 have changed. When selection or whole-screen update active, all rows
235 are repainted, as are all rows within insets.
237 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
239 * version.C.in: Use PACKAGE_VERSION instead of VERSION
241 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
243 * tabular.C (toggleFixedWidth): Use default layout of text class
244 instead of hardcoded "Standard"
246 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * lyxfunc.C (dispatch): do not call getStatus again to determine
249 whether a lfun is disabled (bug 2172).
251 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * cursor.C (macroModeClose): set the cursor inside the new math
254 atom if relevant (think \frac{}{}) (bug 2034)
256 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
260 * text3.C (Delete, backspace): force update when merging paragraphs
262 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
264 * BufferView.C (mouseSetCursor): clear the selection properly (bug
267 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
269 * text.C (redoParagraph): honor inset->noFontChange()
270 * rowpainter.C (paintInset): ditto
272 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
274 * lyx_main.C (priv_exec): don't initialize Math on startup
275 (initMath() has been moved to math_hullinset).
277 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
279 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
280 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
281 * paper.h: dispose dead PAPER_PACKAGES enum.
283 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
288 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
290 * exporter.C (Export): Don't try to copy a file if it does not exist
293 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * text2.C (makeFontEntriesLayoutSpecific): remove.
298 * text.C (insertChar): remove bogus caching of fonts (did not do
301 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
302 ALL_SANE). (bug 2146)
304 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * rowpainter.C (paintFirst): fix centering of
307 LABEL_CENTERED_TOP_ENVIRONMENT.
309 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * BufferView.C (mouseSetCursor): new method. Calls
312 deleteEmptyParagraphMechanism if necessary.
314 * lyxtext.h: make deleteEmptyParagraphMechanism public.
316 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
317 BufferView::mouseSetCursor (bug 2109).
318 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
320 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
322 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
323 do not remove it (this inset behaves differently from the others).
325 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * BufferView_pimpl.C (getStatus): it is only possible to insert a
330 file in a text inset.
332 * buffer.C (readDocument): remove pit argument and code releated
333 to it; set the inset owner correctly (unrelated, but useful).
334 (readFile): get rid of pit argument.
336 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
337 textclass instead of a selection index.
338 (pasteParagraphList): new function.
339 (pasteSelection): make it a wrapper around pasteParagraphList.
341 * BufferView_pimpl.C (MenuInsertLyXFile): use
342 cap::pasteParagraphList to insert a file.
344 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
346 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
348 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
350 * exporter.C: fix typo in text message
352 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
354 * text2.C (setLayout): move recUndo call to other setLayout method
355 * tabular.C (toggleFixedWidth): new, handle cell width changes
356 * tabular.C (setColumnPWidth): move some code from insettabular.C here
357 and use toggleFixedWidth
358 * tabular.C (setMColumnPWidth): ditto
360 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
362 * paragraph.C (asString): use new inset->textString method (fix
365 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 * CutAndPaste.C (numberOfSelections): new helper function.
369 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
371 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
372 LyXFunc::getStatus; implement LFUN_PASTE.
374 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
376 * dociterator.[Ch]: new member realInset() that returns the cell
377 for tabulars and the inset for the rest (bug 1952).
378 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
381 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
383 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
385 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
389 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
392 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
394 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
395 line after typing ctrl-enter
397 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
399 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
400 math insets do not return a proper editable() state yet (bug 2124).
402 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
404 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
405 docs containing very large paragraphs.
407 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
409 * cursor.C (selectionBegin, selectionEnd):
410 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
411 cursor at different depths.
413 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
415 * bufferview_funcs.C (coordOffset): do not call cursorPos
416 for collapsed collapsables (fix bug 2094).
418 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * paragraph.C (fontSpan): make sure that the FontSpan does not
421 span across beginOfBody (bug 1947).
423 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
427 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
429 * messages.C: fix crash and localization on MinGW/Windows platform
431 2005-11-02 Angus Leeming <leeming@lyx.org>
434 * lyxtextclass.C: trivial fixes to some MSVS warnings.
436 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
438 * text3.C (getStatus): re-enable disabled code. (bug 2081)
440 * BranchList.h (empty): constify.
442 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
444 * text3.C (getStatus):
445 * MenuBackend.C (expandBranches): take the branch list from the
446 master document (bug 2092).
448 * MenuBackend.C (expandBranches):
449 * bufferparams.C (writeFile): use BranchList type.
451 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
453 * text3.C (dispatch, getStatus):
454 * LyXAction.C (init):
455 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
457 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
459 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
461 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
463 * text.C (insertChar): do not reset boundary (bug 2061)
465 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
467 * dociterator.C (updateInsets): new method. Updates the inset_
468 cache of all the slices of the iterator.
470 * text2.C (deleteEmptyParagraphMechanism): compare also containing
471 insets when comparing pit/pos; pass the right cursor to
472 recordUndo; when a paragraph has been deleted, compare `old.top()' to
473 the right cursor slice of `cur'; use updateInsets on cur to make
474 sure that the inset caches are correct; general cleanup.
476 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
478 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
479 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
480 containg inset. If this does not work, the same command will be
481 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
483 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
486 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
488 * lyxtextclass.C (Read): convert layout file if the format is wrong
489 * lyxtextclass.C (layout2layout): new, needed for the above
491 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
493 * messages.C: do not forget to include <cerrno>.
495 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
497 * dociterator.h (StableDocIterator): add access to pos().
498 * undo.C (samePar): new method to check if two
499 iterators are in the same paragraph
500 * undo.C (recordUndo): check for samePar instead of cell identity
501 (which includes pos() and is too strict) (fixes bug 2097)
503 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
505 * text.C (setCursorFromCoordinates): return a bool telling whether
508 * text3.C (cursorPrevious): update if needed after
509 setCursorFromCoordinates (when dEPM triggered).
511 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
512 (otherwise the anchor may be completely wrong and make dEPM assert).
514 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
516 * buffer.C: version upgrade to 245.
517 * bufferparams.C: remove \quotes_times (bug 2090).
518 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
519 quotation marks as default.
521 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
523 * CutAndPaste.C (nrOfParagraphs): remove (unused)
524 * CutAndPaste.C (cutSelection): Remove debug message
525 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
526 undo information and only copy if this is a real cut
527 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
529 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
531 * CutAndPaste.C (eraseSelection): prevent cursor corruption
532 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
533 superflous cur.selection() setting
534 * CutAndPaste.[Ch] (grabSelection): take a const cursor
535 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
537 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
539 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
542 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
544 * BufferView_pimpl.C: comment layout change
546 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
550 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
551 by bibliography managers (bug 2071).
553 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
555 * BufferView_pimpl.C (update): choose arguments to update call so
556 that single-par update works most times
557 * text3.C (dispatch): carefully tune updating separately for
558 whole-screen and current-paragraph
559 * rowpainter.C (paintText): 1) replace painting by caching for
560 the two extra paragraphs, because we can;
561 2) suppress greying out of areas below/above drawn area in case of
563 * lyxfunc.C (dispatch): remove superfluous update
564 * LyXAction.[Ch]: introduce SingleParUpdate
566 2005-10-05 Angus Leeming <leeming@lyx.org>
568 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
569 always initialised before use.
571 * text.C (setHeightOfRow): squash warning about comparison
572 of signed and unsigned types.
574 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
576 * text.C (cursorX): two fixes involving RtL text drawing
578 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
581 items, not only large ones (part of bug 2057)
583 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
585 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
586 argument, use "newcommand".
588 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
590 * cursor.C (setSelection): do not open collapsable insets;
591 the insets do by themselves now (autoopen).
593 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
595 * buffer.C: format is up to 244.
597 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
599 * text.C (redoParagraph): fix calcultation of inset width wrt
600 leftMargin (bug 1957).
602 * text3.C (dispatch): leave inset to the right when hitting ESC
605 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
610 * messages.C: include <boost/current_function.hpp>
612 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
614 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
615 when command is internal. (bug 1941)
617 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
619 * text2.C (cursorRight): do not honor boundary when at the end of
620 a paragraph. (bug 2010 again)
622 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
624 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
626 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
628 * rowpainter.C (paintText): fix RtL space width display bug (2029)
630 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
632 * text2.C (setCursor): remove the unused 'boundary' parameter for
633 the CursorSlice version; adapt the LCursor version.
636 * paragraph_pimpl.C (markErased):
637 * cursor.C (bruteFind2, bruteFond3): fix warnings.
639 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
642 as is already done for "chapter".
644 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
647 textclass; do not record undo if nothing is changed.
649 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
651 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
653 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
655 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
657 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
660 combox, it is necessary to search for the topmost paragraph in the
661 cursor stack (bug 1926)
663 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
665 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
666 end of paragraph. (bug 2010)
668 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
670 * text.C (leftMargin): check for inInset == 0
672 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
674 * text.C (leftMargin): test for insetbase's new neverIndent()
675 bool instead of listing each and every inset that does not
676 wish par indendation.
678 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
680 * buffer_funcs.C (setCounter): put the code to compute enum label
681 here (where it belongs).
683 * counters.C (enumLabel): move code to buffer_funcs.C.
685 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
687 * outputparams.[Ch]: store local_font instead of local_language
688 * paragraph.C (simpleTeXOnePar): adapt to the change above
690 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
693 * counters.[Ch]: clean up special code for Hebrew.
695 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
697 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
700 2005-09-08 Angus Leeming <leeming@lyx.org>
703 * lyxrc.C: correct grammar describing invocation of the
706 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * text.C (read): remove unused variable.
709 (readParToken): remove static Change variable (never good in
710 recursive settings...); add it as a parameter instead.
712 * paragraph_pimpl.C (acceptChange): make debug info conditional.
714 * metricsinfo.C (PainterInfo): add new member erased_.
716 * rowpainter.C (RowPainter): add erased_ member, initialized from
718 (paintInset): pass erased_ to Inset::draw.
720 * lyxfunc.C (lookupChange): new function. Tells whether change
721 tracking is disabled at a given postion.
722 (getStatus): disable some actions when in deleted text with change
725 2005-08-03 John Levon <levon@movementarian.org>
727 * tabular.C (appendColumn, setMultiColumn): adapt to change to
730 * paragraph_pimpl.C (markErased): add bool argument and handle it.
731 Also make sure to mark insets recursively.
732 (rejectChange, erase): be recursive
734 * paragraph.C (markErased): add bool argument.
735 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 * lyxfind.C (findNextChange): tiny cleanup.
739 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
740 change tracking with the cursor in an inset; make sure the first
741 change is not skipped.
743 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
745 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
746 tabularStackDirty to work around bug 1919 (tabular needs
747 to know whether its own cell paste buffer or the one of
749 * CutAndPaste.C: mark tabular_stack_ clean after copy.
751 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
753 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
755 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
757 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
758 use old deleteion algorithm when changetracking is on.
760 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
762 * messages.C (get): add debug output.
764 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
766 * text.C (cursorX): fix bug 1965: cursor movement at
767 line end broken in RtL.
768 (drawSelection): fix bug 1970: drawing of single-line
769 selection broken for RtL.
771 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
775 * dociterator.h (clear, push_back, pop_back): change from
778 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
779 and changed to just return the value of the item depth; take a
780 ParIterator as argument; take the itemdepth at outer nesting level
781 in account if necessary; cleanup and comment the code.
782 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
783 and changed to just return true if reset is needed; take a
784 ParIterator as argument; cleanup and comment the code.
785 (setCounter): adapt to above changes.
787 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
789 * text3.C (dispatch): make debug message optional
791 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
793 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
796 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
798 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
800 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
802 * text.C (insertChar):
803 * text2.C (deleteEmptyParagraphMechanism): take care whether
804 a blank has been deleted (in change tracking mode) (bug 1254).
806 2005-07-20 John Levon <levon@movementarian.org>
808 * text2.C (insertStringAsLines): remove old dubious code,
811 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
813 * MenuBackend.C (expandToc): use Floating::listName() as title of
816 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
818 * toc.[Ch]: Do not use translatable strings (bug 1870).
820 2005-07-20 John Levon <levon@movementarian.org>
822 * tabular.C: fix 1748 - setting multicolumn adds
823 left line to the first cell
825 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
828 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
831 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
833 * messages.C: supress some lyxerr messages
835 2005-07-18 Juergen Vigna <jug@lyx.org>
837 * text.C (drawSelection): honor boundary when asking for cursorX.
839 2005-07-17 José Matos <jamatos@fc.up.pt>
841 * tabular.C (recalculateMulticolumns): fix handling of one column
844 2005-07-17 Juergen Vigna <jug@lyx.org>
846 * text.C (Delete, backspace): fixed so that paragraph with the
847 same layout can be merged by Delete/Backspace.
849 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
851 * text.C (readParToken): fix spelling.
853 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
855 * text2.C: fix counter update for DEPM problem reported by
858 2005-07-17 Juergen Vigna <jug@lyx.org>
860 * BufferView_pimpl.C (setBuffer): save/restore the
861 cursor/selection when switching buffers
864 * buffer.C (saveCursor): add saveDocumentIterators to save the
865 cursor when switching buffer.
867 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
870 * buffer.C: clarify message
872 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
874 * dociterator.C (DocIterator): fix initialization order
876 2005-07-17 Juergen Vigna <jug@lyx.org>
878 * text2.C (cursorHome):
879 * text.C (drawSelection, cursorX):
880 * dociterator.C (textRow): add boundary to getRow() call
882 * paragraph.C (getRow): implementation of below
884 * paragraph.h: add parameter boundary for getRow() function
886 2005-07-17 José Matos <jamatos@fc.up.pt>
890 * tex-strings.[Ch]: new file format, remove support for a4.sty,
891 a4wide.sty and a4widemargins.
893 2005-07-17 Juergen Vigna <jug@lyx.org>
895 * text2.C (cursorLeft): fix one of error
897 2005-07-17 Juergen Vigna <jug@lyx.org>
899 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
901 more fixes for boundary handling
903 * text3.C (dispatch): don't reset cursor if boundary has changed
906 2005-07-16 Juergen Vigna <jug@lyx.org>
908 * text2.C (getColumnNearX): hopefully got it right now,
909 check if we are on column 0 for special case.
911 2005-07-16 Juergen Vigna <jug@lyx.org>
913 * text2.C (getColumnNearX): handle special case Newline Inset
915 * text.C (singleWidth): Just remove bogus check
917 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
919 * funcrequest.C (split): avoid reading uninitialized char c
921 2005-07-16 José Matos <jamatos@fc.up.pt>
927 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
928 single papersize variable.
930 2005-07-16 Juergen Vigna <jug@lyx.org>
932 * text3.C (dispatch): honor boundary when checking if a cursor
933 movement has been done
935 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
936 (setCursor, setCursorIntern): fix cursor movement with boundary
938 2005-07-16 Juergen Vigna <jug@lyx.org>
940 * text.C (currentState): output the actual Boundary
942 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
944 * factory.C (createInset): fix bad logic for tabular creation
946 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
948 * lyx_main.C (init): change some reLyX reference to tex2lyx
950 2005-07-16 Juergen Vigna <jug@lyx.org>
952 * dociterator.C (DocIterator): initialize boundary
954 2005-07-16 Juergen Vigna <jug@lyx.org>
956 * text2.C (getColumnNearX): Consider rows without trailing blank.
958 2005-07-16 André Pönitz <poenitz@gmx.net>
960 * lyxfont.h: Change order of declarations to give the compiler
961 a better chance to inline things
963 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
964 questions on unsaved docs for better scritability
966 2005-07-16 André Pönitz <poenitz@gmx.net>
968 * paragraph.h (getChar): remove asserts as the same kind of security
969 can be achieved by using a suitable standard library implementation
970 and the function was in the critical path (25.9% in profiler)
972 2005-07-16 Juergen Vigna <jug@lyx.org>
974 * cursor.C (bruteFind2):
975 * bufferview_funcs.C (coordOffset):
976 * text.C (cursorX,cursorY): Handle cursor position after last char
977 in row before a inset which uses a whole row.
979 2005-07-15 José Matos <jamatos@lyx.org>
981 * output_plaintext.[Ch] (writeFileAscii): control reference title
983 (asciiParagraph): noparbreak was already deal and was incorrectly
986 2005-07-15 Juergen Vigna <jug@lyx.org>
988 * lyxfunc.C (dispatch): save and restore the cursor after a
991 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
993 * text.C (backspace): bug 806 for empty keepempty paragraphs we
994 change the layout to default before letting DEPM do its thing.
996 * paragraph_funcs.C (breakParagraph): dont reset the layout on
999 * text.C (setCursorFromCoordinates): add a debug statement
1001 * text2.C (getColumnNearX): bug 1825 make sure that we don't
1002 return a pos that is not on the row
1004 * output_latex.C (TeXDeeper): get rid of potential dereferencing
1005 of past the end iterator
1007 2005-07-14 André Pönitz <poenitz@gmx.net>
1009 * undo.C (recordUndoFullBuffer): implement undo for
1012 2005-07-14 André Pönitz <poenitz@gmx.net>
1014 * cursor.C (setSelection): open insets when selection is set there
1015 to avoid crashs with cold coord cache
1017 2005-07-14 André Pönitz <poenitz@gmx.net>
1019 * trans_mgr.C (insert): move cursor to the right after inserting
1022 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1024 * BufferView_pimpl.C (update): dampen some of the debug blabbering
1025 * factory.C (readInset): ditto
1026 * text.C, text2.C: ditto
1028 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1030 * buffer.C: format incremented to 242. There is no file format per
1031 se, but the "frenchb" language has been removed from lib/language
1032 and has to be translated to "french" by lyx2lyx.
1034 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1036 * cursor_slice.h, dociterator.h: add some documentation
1037 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1039 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1041 * text.C (leftMargin): do not add identation to display() style
1042 insets, because they are always centered (bug 1293).
1044 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1046 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1047 formatted_time methods in support/lyxtime.
1049 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1051 * toc.[Ch]: new method getGuiName, which is used by the frontends
1052 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1054 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1056 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1057 StableDocIterator const &)
1058 * undo.C (recordUndo): use the above instead of cell.size() comparison
1059 (fixes bug 1808; instructed by Andr�.
1061 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1064 * dociterator.h: Fix the assert when copying rows/cols in math
1066 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1068 * BufferView_pimpl.C:
1070 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1072 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1073 (findInset): new functions, refactored from goto Inset that return
1074 the position of a certain inset without setting the buffer's cursor
1076 (gotoInset): rewrite to call findInset and then set the cursor
1079 2005-06-16 Angus Leeming <leeming@lyx.org>
1081 * lyxrc.C (output, read): wrap all input and output of paths with
1082 calls to os::internal_path and os::external_path, respectively.
1083 (output): wrap bind_file inside quotes.
1085 * format.C (view): enable the viewer to use the '$$s' placeholder.
1087 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1089 * LColor.[Ch] (getFromLaTeXName): new
1091 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1093 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1095 2005-06-14 Angus Leeming <leeming@lyx.org>
1097 * lyx_main.C (init): ensure that the LyX binary dir is the first
1098 element in the PATH on non-POSIX builds.
1100 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1102 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1104 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1106 * rowpainter.C (paintInset, paintHebrewComposeChar)
1107 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1108 (paintChars): use getFontSpan to reduce calls to getFont to a
1109 minimum; use Paragraph::lookupChange instead of isXXXText.
1110 (paintForeignMark): rename LyXFont argument.
1111 (paintFromPos): pass a LyXFont object to the various paintXXX
1114 * FontIterator.C (FontIterator, operator++): use
1115 Paragraph::getFontSpan
1117 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1118 version that returns the font span as a pair.
1120 2005-06-09 Angus Leeming <leeming@lyx.org>
1122 * converter.C (convert): Don't forget "outfile = real_outfile" as
1123 the final step in a conversion where the input and output file names
1124 are the same. Otherwise, future conversion steps won't work...
1126 2005-06-09 Angus Leeming <leeming@lyx.org>
1128 * lyxsocket.C: remove stub code as it isn't needed by
1129 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1131 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1133 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1134 effectively disabled -x
1136 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1138 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1139 when it actually makes sense.
1141 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1143 * BufferView_pimpl.C: revert to showCursor in connection with
1144 Lars's front-end stack
1146 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1148 * text.C (redoParagraph): move cursor right after a bibitem
1151 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1153 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1155 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1158 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1160 * BufferView.[Ch] (update):
1161 * BufferView_pimpl.[Ch] (update, metrics):
1162 * dimension.h (operator==):
1163 * lyxfunc.C (dispatch):
1164 * metricsinfo.h (ViewMetricsInfo):
1165 * rowpainter.C (paintText):
1167 * text.C (redoParagraph):
1168 * text3.C (dispatch): Make LyX only repaint current paragraph in
1169 case of character insert --> speedup. Also fix cursor draw
1172 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1174 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1175 avoid a crash (bug 1891)
1177 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * text2.C (getStringToIndex): constify cur argument.
1183 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1184 argument has been given
1185 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1186 try to invoke LFUN_INSET_APPLY).
1188 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1189 if no inset was created by doInsertInset
1190 (doInsertInset): return true if an inset has been inserted.
1192 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1194 * vspace.C (asGUIName): new method. A version of the space
1195 suitable for showing on screen.
1197 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1200 * lyxrc.C: rename "ASCII" to "Plain Text"
1202 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1204 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1205 translate the labelstring.
1206 (setCounter): translate labelstring as needed.
1208 * output_docbook.C (makeCommand): fix expandLabel invokation
1210 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1212 * BufferView.C: fix dialog title
1214 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1216 * lyx_main.C (priv_exec): fix logic error with help from Angus
1217 * lyx_main.C (parse_execute): set is_gui = false and remove now
1218 obsolete comment about a segfault
1220 2005-05-18 Angus Leeming <leeming@lyx.org>
1222 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1224 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1226 * tabular.[hC]: added setCellInset to fix tabular paste.
1228 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1230 * buffer.C (save): check if destination is writable before trying
1233 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1235 * BufferView_pimpl.C (update): fix processEvents -caused update
1238 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1240 * buffer_funcs.C (setCounter): fix test for numbering of
1243 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1244 depth correctly; use optional argument when it exists
1246 * lyxtextclass.C: remove unused MaxCounterTags enum
1247 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1248 (max_toclevel, min_toclevel): new methods.
1250 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1251 the smallest depth in toc.
1253 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1254 layouts that should not appear in a table of contents.
1256 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1258 * cursor.h (undispatched, noUpdate): add comments from Andr�
1259 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1263 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1265 2005-05-07 André Pönitz <poenitz@gmx.net>
1267 * cursor.[Ch] (leaveInset): new function
1269 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1271 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1273 2005-05-04 Angus Leeming <leeming@lyx.org>
1275 * lyxfunc.C (getStatus): disable the spell checker dialog if
1276 none of USE_[AIP]SPELL are defined.
1278 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1280 * tabular.C (setWidthOfCell): remove obsolete comment
1282 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1284 * paragraph.C (bibitem):
1285 * buffer_funcs.C (setCounter):
1286 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1288 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1290 * text3.C (getStatus): immediately return after setOnOff
1292 * rowpainter.C: fix drawing of appendix start
1294 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1296 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1297 SwitchBetweenClasses and remove the unused return value.
1298 Handle character styles, too
1300 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1302 * factory.C (createInset): handle undefined character styles
1304 2005-05-02 Angus Leeming <leeming@lyx.org>
1306 * buffer.C: protect the #include of utime.h with a preprocessor
1309 2005-05-02 Angus Leeming <leeming@lyx.org>
1311 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1312 function so that auto-saving works, albeit in a blocking manner.
1314 * Makefile.am: make compilation of the client sub directory, of
1315 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1316 on conditionals set at configure time.
1318 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1319 it can be compiled in its own right but has no-op functionality.
1321 * aspell.C, pspell.C: remove preprocessor guards. The files should
1322 be compiled only if the necessary functionality exists.
1324 * lyxserver.C, lyxsocket.C: disable on Windows.
1326 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1328 * text.C (leftMargin): Fix the parindent use bug (1764)
1331 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1333 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1336 2005-04-25 Angus Leeming <leeming@lyx.org>
1344 include <config.h> in .C files, not .h ones.
1346 protect headers inside preprocessor guards.
1348 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1350 * FuncStatus.h (StatusCodes): document
1352 2005-04-21 André Pönitz <poenitz@gmx.net>
1354 * FuncStatus.h (enabled, onoff): document
1356 2005-04-19 Angus Leeming <leeming@lyx.org>
1358 * BufferView_pimpl.C (cursorToggle): no longer test whether
1359 any child processes have been reaped before calling
1360 handleCompletedProcesses().
1362 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1364 * text3.C (dispatch): fix, finally fix, the language problem in
1365 new lyxtexts, without disabling on-the-fly font changes (Helge's
1368 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1370 * text3.C (dispatch): set cursor on double/triple click events
1373 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1375 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1376 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1378 * rowpainter.C (paintFirst): simplify the code a little bit. In
1379 particular, remove the test for secnumdepth.
1380 * text.C (setHeightOfRow): only allocate space for chapter number
1381 when updateCounters provided an actual label, instead of looking
1382 at secnumdepth directly.
1384 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1386 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1387 paragraphs when secnumdepth is large enough or, for environments,
1388 when they are not the first in a sequence.
1390 2005-04-17 Angus Leeming <leeming@lyx.org>
1392 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1393 containing space and '~' characters with a call to latex_path().
1395 2005-04-17 Angus Leeming <leeming@lyx.org>
1397 * converter.C (convert): protect all args of convertDefault.sh
1400 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1402 * text3.C (dispatch): change the layout to "Caption" after inserting
1405 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1407 * text3.C (dispatch): fix language problem in newly created
1408 textinsets (and main text) in non-english docs
1410 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1412 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1413 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1414 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1416 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1420 * text2.C (getFont):
1421 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1424 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1426 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1427 output of \item arguments without trailing text.
1429 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1431 * FontIterator.C (operator*): avoid a copy of the font.
1433 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1435 * rowpainter.C (getFont): fix language bug from previous fix
1437 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1439 * rowpainter.C (RowPainter, getFont): fix font inside inset
1442 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1444 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1445 preventing inserted font, deco, delim insets jumping to start of
1448 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1450 * lyxfunc.C (dispatch): translate message before sending it to the
1453 2005-03-29 Angus Leeming <leeming@lyx.org>
1455 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1456 to LyX on the command line.
1458 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1460 * vc-backend.C: use QuoteName to protect file names wherever
1463 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1466 * BranchList.h: fix bugs 1844,1845: document settings don't
1469 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1471 * lyxrc.C (setDefaults, read, output, getDescription): add support
1472 for tex_allows_spaces.
1474 * exporter.C (Export): allows files in directory containing spaces
1475 if tex_allows_spaces is true.
1477 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1478 output it in double quotes.
1480 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1482 * rowpainter.C: use default text height for drawing change tracker
1485 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1487 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1489 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1491 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1492 directory is missing.
1494 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1496 * text2.C: fixed the fix, extended to other case.
1498 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1500 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1502 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1504 * text2.C (cursorUp): get rid of a crash
1505 * text.C (x2pos): add an assert
1507 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1509 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1513 * dociterator.C: include <boost/current_function.hpp>, which is
1514 needed when assertions are disabled.
1516 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1518 * text2.C: fix for stuck cursor when traversing two
1519 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1521 2005-02-25 Andreas Vox <avox@arcor.de>
1523 * output_docbook.C (makeParagraph): suppress trailing newline
1524 after a run of paragraphs
1526 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1528 * paragraph.C: fix for confused change tracker when pasting
1529 text that begins with a lineseparator. [bug 1827]
1530 (setChange(0, Change::INSERTED);)
1532 * paragraph_funcs.C: fix for lost changes on triple-paste
1533 in change tracking mode [bug 1827] (par.setChange()).
1535 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1537 * text2.C (updateCounters, setCounter, expandLabel): move to
1540 * buffer_funcs.C (updateCounters): turn into a free standing
1541 function and add a buffer parameter. Remove dead code for tracking
1543 (setCounter): change into a free-standing function which gets a
1544 dociterator as argument. Use this iterator to fix captions in a
1545 simple way. When no float is found above the caption, use the
1546 labelstring of the caption layout as default.
1548 * text.C (breakParagraph, backspace):
1549 * text2.C (init, setLayout, changeDepth):
1550 * text3.C (dispatch):
1551 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1554 * dociterator.C (forwardPar): make it much faster by calling
1555 forwardPos() only when really necessary.
1557 * output_docbook.C (makeCommand): adapt to expandLabel move.
1559 * cursor.C: remove unused variable
1561 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1563 * paragraph_funcs.C: fix crash when pasting insets in change
1564 tracking mode [bug 1277] (honour change type in moveItem).
1566 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1568 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1570 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1572 * BufferView.C (setCursor): change to use a DocIterator.
1573 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1574 (putSelectionAt): adapt to BufferView::setCursor change.
1576 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1577 moved here from LyXText and rewritten to use proper cursor
1578 methods. Fixes bug 1787, 616 and 835.
1580 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1581 when inside an inset (part of bug 781).
1582 (dispatch): adapt to change of BufferView::setCursor.
1583 (getStatus, dispatch): handle LFUN_GOTOERROR,
1584 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1586 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1587 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1588 * text3.C (gotoNextInset, gotoInset): removed.
1590 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1592 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1594 2005-02-15 Angus Leeming <leeming@lyx.org>
1596 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1597 can be used meaningfully in a comparison.
1599 2005-02-13 André Pönitz <poenitz@gmx.net>
1601 * bufferview_funcs.C (coordOffset): improve cursor drawing
1603 2005-02-13 André Pönitz <poenitz@gmx.net>
1605 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1606 * Cursor.C (dispatch): use fixIfBroken
1607 * lyxfunc.C (getStatus): use fixIfBroken
1609 2005-02-15 Angus Leeming <leeming@lyx.org>
1611 * lyx_main.C (error_handler):
1613 * lyxrc.C (setDefaults):
1615 #include "environment.h".
1617 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1619 2005-02-15 Angus Leeming <leeming@lyx.org>
1621 * lyxserver.C (startPipe): squash MSVC warning "local variable
1622 'fd' used without having been initialized".
1624 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1626 * BufferView_pimpl.C: revert accidental commit.
1628 2005-02-14 André Pönitz <poenitz@gmx.net>
1630 * dociterator.[Ch]: new member forwardPosNoDescent(),
1631 which doesn't enter nested insets.
1632 * text2.C (setFont): use forwardPosNoDescent() instead
1633 of ForwardPos() (fixes crash on font change).
1635 2005-02-13 Angus Leeming <leeming@lyx.org>
1637 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1638 only if lyxrc.path_prefix is not empty.
1640 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1642 * bufferparams.C (readGraphicsDriver): prevent crash
1644 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1646 * text2.C (setCounter): check for inInset() == 0
1648 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1650 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1651 but use update() to get correct screen display; use convert
1652 instead of istringstream.
1653 (getStatus): handle LFUN_GOTO_PARAGRAPH
1655 * lyxfunc.C (dispatch, getStatus): do not handle
1656 LFUN_GOTO_PARAGRAPH here.
1658 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1660 * text3.C (dispatch): size() -> depth()
1662 * text2.C: remove some debug output
1664 * paragraph.C: ws changes only
1666 * lyxfunc.C (getStatus): size() -> depth()
1668 * dociterator.h (clear, push_back, pop_back, internalData,
1669 operator[], resize, empty): new functions
1670 Make StableDocIterator and operator== be friends. Don't inherit
1671 from std::vector use a privat class variable slices_ instead.
1674 * dociterator.C: update because of not inheriting from std::vector
1675 anymore. Call explictly to slices_ instead. Use depth() instead of
1676 size() and top() instead of back()
1678 * cursor.C: chagne size() -> depth and back() -> top(). Also
1679 remove some direct operator[](i) calls in favour of foo[i]
1680 (getFont): remove some dead code
1682 * bufferview_funcs.C (coordOffset): size() -> depth()
1684 * buffer.C: ws changes only
1686 * CutAndPaste.C (eraseSelection): back() -> top()
1688 * BufferView_pimpl.C (selectionRequested): back() -> top()
1690 * BufferView.C (setCursor): size() -> depth()
1692 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1694 * text3.C (cursorPrevious): return true if depm changed something
1696 (dispatch): rename sl to oldTopSlice, remove moving use the new
1697 NoUpdate func attrib instead. Make sure that needsUpdate is set
1698 for function that have NoUpdate, but where depm might have changed
1701 * text2.C (cursorLeft): make us return true if depm changed
1703 (cursorRight): ditto
1704 (cursorUpParagraph): ditto
1705 (curosrDownParagraph): ditto
1706 (cursorUp, cursorDown): ditto, make sure to read comments in code
1707 (deleteEmptyParagraphMechanism): remove an assert, also return
1708 true if just a single char was deleted.
1710 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1711 cursor that we modify, to avoid modifying an active cursor before
1712 we call setCursor. This allows depm to run. Also return true if
1713 depm deleted something.
1715 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1716 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1717 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1718 something was changed in the buffer because of them (ie. depm run)
1720 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1721 debug messages. Make update by default be false. Make sure that
1722 the result of update is retained throught several calls down to
1725 * LyXAction.h: add a new func_attrib: NoUpdate
1727 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1728 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1729 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1731 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1733 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1735 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1736 bv_->owner(), bv_->buffer() by direct references to the private
1738 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1739 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1740 (fitCursor): center() is in BufferView::Pimpl.
1741 (getStatus, trackChanges, dispatch): no need for a temporary buf
1743 (fitCursor, workAreaDispatch): use workarea().workheight()
1745 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1747 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1749 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1751 * buffer.C: format up to 241.
1752 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1753 break if pasting into ERT
1754 * lyxfunc.C (getStatus): suppress mathpanel and
1755 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1757 2005-02-01 Angus Leeming <leeming@lyx.org>
1759 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1761 2005-02-01 Angus Leeming <leeming@lyx.org>
1763 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1764 calling fs::is_directory().
1766 2005-01-31 Angus Leeming <leeming@lyx.org>
1768 * lyx_main.C (priv_exec): specify explicitly the relative location
1769 of the top level build directory when run in-place.
1771 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1773 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1774 LyXText containing the cursor, not the top-level one.
1776 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1778 (insertStringAsLines): rename par to pit; use temporary variable
1779 par to hold a Paragraph; do not store par.layout() in a variable,
1780 since the pointer may die when breaking paragraphs; pass pars to
1781 breakParagraph() instead of Buffer::paragraphs().
1783 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1785 * lyxlex_pimpl.h: #include <fstream>.
1787 * BufferView.[Ch] (getLyXText): add a const version.
1789 * BufferView_pimpl.C: add debug aids.
1794 * paragraph_funcs.h: add commentary explaining what the class does.
1797 * coordcache.[Ch]: add lots of commentary.
1798 (startUpdating, doneUpdating): debug aids.
1799 (arrays, insets, parPos, getParPos): accessors to private data.
1801 * cursor_slice.[Ch] (text): add a const version.
1802 * dociterator.[Ch] (text, innerText): add const versions.
1804 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1807 * paragraph.C (getRow, pos2ros): add asserts.
1809 * paragraph.h: add commentary. Lots of.
1811 * paragraph.[Ch] (metrucs, draw): removed.
1814 * rowpainter.[Ch]: const-correct changes.
1816 * text.C: various obvious clean-ups. Removal of ancient cruft.
1819 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1821 * vc-backend.C (find_file): rewrite to use boost.filesystem
1824 * main.C (main): set default name check for boost.filesystem to
1827 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1830 (actOnUpdatedPrefs): ditto
1832 * lyx_main.C (init): rewrite to use boost.filesystem
1833 (queryUserLyXDir): ditto
1835 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1836 (getContentsOfAsciiFile): ditto
1838 * lastfiles.C (readFile): rewrite to use boost.filesystem
1840 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1842 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1843 (loadLyXFile): ditto
1845 * buffer.C (Buffer): adjust for destroydir
1846 (getLogName): rewrite to use boost.filesystem
1847 (setFileName): ditto
1848 (save): use fs::copy_file (from fs_extras)
1850 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1852 * LaTeX.C (run): rewrite to use boost.filesystem
1853 (scanAuxFiles): ditto
1854 (handleFoundFile): ditto
1856 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1858 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1860 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1862 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * lyxlayout.[Ch]: change some vars from float to double
1866 * buffer.C (readFile): make a local var const
1868 * Several files: use convert<> instead of atoi,strToXXX and friends
1870 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1872 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1873 holds the contents of packages.lst. New functions getAvailable
1874 and isAvailable to parse and check that list, resp.
1878 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1880 * bufferparams.[Ch]: new param output_changes.
1882 * Buffer.C: increase file format to 240.
1883 Use output_changes and isVailable.
1887 * paragraph_pimpl.C: Use output_changes and isVailable.
1889 2005-01-23 Angus Leeming <leeming@lyx.org>
1891 * output_latex.C: #include "insetbibitem.h", rather than
1892 forward declare function bibitemWidest.
1894 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1896 * lyx_main.C (init): make it compile on the Mac.
1898 2005-01-20 Angus Leeming <leeming@lyx.org>
1900 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1901 (setLyXMisc): (char string literal) != (char string literal) is
1902 performing a comparison on the addresses. Convert one operand
1903 explicitly to string to guarantee expected behaviour.
1906 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1909 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1911 * output_plaintext.C: remove unneeded #include gzstream.h.
1913 2005-01-20 Angus Leeming <leeming@lyx.org>
1915 * SpellBase.h: rename some of the elements of the Result enum.
1922 * pspell.C (check): ditto
1924 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1926 * buffer.C: add #include <fstream>.
1928 * lyx_main.C (init): Compile fix.
1930 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1932 2005-01-20 Angus Leeming <leeming@lyx.org>
1934 * mover.h: change commentary to reflect the changed meaning of
1935 the $$s placeholder.
1937 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1939 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1941 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1943 2005-01-20 Angus Leeming <leeming@lyx.org>
1945 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1946 printing diagnostic data by not dereferecing an iterator past the
1949 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1951 * buffer.C (readHeader): use "&&" rather than "and".
1953 * lyxserver.h (inPipeName, outPipeName): make these const.
1955 2005-01-19 Angus Leeming <leeming@lyx.org>
1957 * lyx_main.C (error_handler, init): protect SIGHUP with
1958 #ifdef SIGHUP guards.
1960 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1962 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1964 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1966 * text.C (setHeightOfRow): add a margin at the top and bottom of
1967 the document (bug 1761)
1969 2005-01-17 Angus Leeming <leeming@lyx.org>
1971 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1972 with "python ". Workaround for a brain-dead Windows.
1974 2005-01-16 Angus Leeming <leeming@lyx.org>
1976 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1977 for MacOSX and Windows to use prependEnvPath.
1978 Strip out the hard-coded block to add elements to the PATH for
1979 MacOSX and replace it with a call to prependEnvPath using the
1980 contents of LyXRC::path_prefix.
1981 (queryUserLyXDir): strip out the code to run reconfigure, instead
1982 returning a boolean indicating the necessity to do so.
1983 (reconfigureUserLyXDir): contains the code to reconfigure the
1984 user support directory. Is now called after the various LyXRC data
1985 files have been read.
1987 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1989 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1991 * converter.[Ch] (convert): take a new parameter try_default. Use
1992 a default converter (imagemagick) if try_default is true.
1994 2005-01-13 Angus Leeming <leeming@lyx.org>
1996 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1997 os::cygwin_path_fix.
1998 (write): output LyXRC::cygwin_path_fix as necessary.
2000 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
2003 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2005 2005-01-12 Angus Leeming <leeming@lyx.org>
2007 * lyx_main.C (init): set the PATH variable to include the
2008 directory containing the LyX binary when running on Mac or Windows.
2010 2005-01-12 Angus Leeming <leeming@lyx.org>
2012 * lyx_main.C (init): remove cruft that purports to set the locale
2013 dir. It doesn't and is not needed anyway.
2015 2005-01-10 Angus Leeming <leeming@lyx.org>
2017 * Makefile.am: remove the lyx_main.C special casing.
2019 * BufferView_pimpl.C:
2025 * messages.C: use support/package.h to provide the paths to the
2026 various directories used by LyX.
2028 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2030 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2031 layout if pasting into an empty paragraph)
2033 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2035 * tex-accent.C: add <string>
2037 2005-01-06 José Matos <jamatos@lyx.org>
2039 * ParagraphParameters.C (write): put every parameter in its own line.
2040 * paragraph.C (write): reduce number of consecutive empty lines exported.
2041 * buffer.C (LYX_FORMAT): increase file format to 239.
2043 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2045 * everywhere: change support/tostr.h -> support/convert.h
2047 * tabular.C: make all write_attributes templates, tostr -> convert
2049 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2050 (emptyTag): and -> &&, and fix type for ret from getChar
2051 (getFirstWord): fix type for ret from getChar
2052 (onlyText): and -> &&
2053 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2056 * toc.C (goTo, action):
2057 * text3.C (dispatch):
2058 * text.C (currentState):
2059 * tex-accent.C (DoAccent):
2062 * lyxfunc.C (menuNew):
2063 * lyxfinc.C (replace):
2064 * counters.C (laberItem):
2065 * bufferview_funcs.C (font2string):
2066 * bufferparams.C (writeFile):
2067 * buffer.C (readFile):
2069 * MenuBackend.C: tostr -> convert
2071 * LaTeX.C (runMessage): fix format
2072 (scanAuxFiles): tostr -> convert
2074 * BufferView_pimpl.C (savePosition): fix format
2075 (restorePosition): ditto
2078 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2080 * Spacing.[Ch]: New method getValueAsString().
2084 * ParagraphParameters.C:
2087 * text3.C: store/read spacing value as string.
2089 * rowpainter.C: change float value (spacing_val) to double.
2091 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2092 broken custom document spacing).
2094 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2097 namespace, also more use of temp references and const
2099 * cursor.[Ch] (getStatus): move to lyxfunc.C
2101 * bufferparams.C: reformat slightly
2103 * bufferview_funcs.C (font2string): constify arg
2109 * buffer_funcs.C: (many funcs): constify arg on function
2110 definitions, also make more local vars const, also add ASSERTS on
2113 * buffer.C (LYX_FORMAT): put const in correct place
2114 (many funcs): constify arg on function definitions, also make
2115 more local vars const
2117 * aspell_local.h: remove "struct" from typdef setup
2119 * aspell.C (check): make word_ok const
2120 (nextMiss): simplify slightly
2123 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2125 * lyxrc.[Ch]: store all float values as strings.
2126 use int (not float) for lyxrc.dpi.
2128 2005-01-04 Angus Leeming <leeming@lyx.org>
2130 * lyx_cb.C (Reconfigure):
2131 * lyx_main.C (queryUserLyXDir):
2132 to run the <system_lyxdir>/configure correctly on Windows, prefix
2133 the path to the script with "sh " when generating the string that
2134 is passed to system().
2136 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2138 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2140 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2142 * lyxlength.C (asLatexString): get rid of setprecision
2144 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2146 * text2.C (setLayout): remove unused variable endpit.
2147 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2149 * paragraph.C (onlyText): remove unused variable style.
2151 * cursor.C (bruteFind): remove unused variables beg and end.
2153 * Makefile.am (dist_noinset_DATA): not needed anymore
2155 * cheaders/*: remove.
2157 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2159 * text3.C: fix LFUN_MATH_MODE.
2161 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2163 * buffer_funcs.C (countWords): new function. Counts words between
2166 * BufferView_pimpl.C (getStatus, dispatch): handle
2169 * LyXAction.C (init):
2170 * lfuns.h: add LFUN_WORDS_COUNT.
2172 2004-12-19 Angus Leeming <leeming@lyx.org>
2174 * buffer.C (save): s/slashify_path/internal_path/.
2176 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2178 * lyxfind.C (findChange): do not search for end of pars, because
2179 the change tracker cannot handle this (fixes bug 1719).
2181 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2183 * paragraph.[Ch] (autoBreakRows): remove
2185 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2187 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2188 avoid using the paragraph one
2190 * text2.C (LyXText, insertStringAsLines): adjust
2192 2004-12-16 Angus Leeming <leeming@lyx.org>
2196 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2198 2004-12-14 Angus Leeming <leeming@lyx.org>
2200 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2202 * bufferlist.C (emergencyWrite):
2203 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2206 2004-12-14 Angus Leeming <leeming@lyx.org>
2208 * main.C: (main): no longer pass pointers to os::init.
2210 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2212 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2213 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2215 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2218 * text3.C: remove selection_possible global flag
2220 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2222 * text2.C (getSelectionSpan): remove
2223 (changeDepth, changeDepthAllowed): adjust
2225 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2227 * Makefile.am (BOOST_LIBS): use boost variables
2229 2004-12-03 José Matos <jamatos@lyx.org>
2231 * buffer.C: format up to 238.
2233 2004-12-03 José Matos <jamatos@lyx.org>
2235 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2237 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2239 * cursor.C (goUpDown): remove call to idxUpDown2
2241 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2243 * tabular.[Ch]: use size_t-like types for cell, row and column
2246 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2248 * lyxfunc.C (getStatus): do not lose previous information when
2249 calling BufferView::getStatus; do not set a default "Command
2250 disabled" message at the beginning, but just before returning.
2252 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2254 * cursor.h (getStatus): add better comment from src/cursor.C
2256 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2258 * text3.C (getStatus): return false when the lfun is not handled
2260 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2262 * broken_headers.h: remove
2264 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2266 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2268 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2269 offset_ref accessors
2271 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2272 top_y_, merge fitcursor with update
2273 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2275 (metrics): introduce
2276 (workAreaDispatch): adapt to new coord scheme
2277 (redoCurrentBuffer): remove
2279 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2281 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2284 * coordcache.[Ch]: add paragraph cache and helpers
2286 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2289 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2290 (targetX, setTargetX): introduce
2292 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2293 baseline -> ascent, as the rest of lyx
2295 * lyxtext.h: remove redoParagraphs, updateParPositions,
2296 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2297 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2298 have ascent/descent (ascent is ascent of first par)
2300 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2303 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2305 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2307 * pariterator.C: fix infinite loop introduced in par->pit renaming
2309 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2310 in insets and LyXText, draw two off-screen paragraphs using
2311 NullPainter, and adapt to new coord scheme
2315 * text3.C: adapt lfun handlers to the new coord scheme, which
2316 means: there's only guaranteed coord information for onscreen pars
2317 plus one above and one below. This implies that one can do search
2318 from y coordinates in the range [-1,workHeight]
2320 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * rename a lot of InsetOld to InsetBase
2324 2004-11-25 Angus Leeming <leeming@lyx.org>
2326 * BufferView_pimpl.C:
2328 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2330 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2332 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2333 call BufferView::getStatus if LCursor::getStatus did nothing
2334 (setStatusMessage, getStatusMessage): removed.
2336 * FuncStatus.C (message): new methods. Used to provide an error
2337 message indicating why a command is disabled.
2338 (clear, |=, FuncStatus): update for message.
2340 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2342 * lyxfunc.C (dispatch): always call sendDispatchMessage
2344 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2347 * BufferView_pimpl.C:
2352 * cursor_slice.[Ch]:
2355 * paragraph_funcs.C:
2361 * undo.C: par->pit renaming
2363 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2365 * tabular.C (cellstruct): use initialization, store a shared_ptr
2366 to insettext instead of the insettext directly, adjust to fit.
2367 (operator=): new function
2368 (swap): new function
2369 (rowstruct): use initialization
2370 (columnstruct): use initialization
2371 (ltType): use initialization
2374 * lyxlength.h (swap): new function
2376 * LColor.[Ch] (operator=): use the common semantics
2378 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2380 * lyxfind.C (findNextChange): update the bufferview after setting
2383 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2385 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2386 number of InsetOptArgs has already been inserted.
2388 * output_latex.C (latexOptArgInsets): new method. This outputs all
2389 the optarg insets, up to the limit defined in the layout file.
2390 (optArgInset): removed
2391 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2393 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2395 * paragraph.C (isLetter): remove special spellchecker-related
2396 code; return true also for digits
2397 (isWord, isKomma): remove
2399 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2400 * lyxfind.C (MatchString()): use isLetter instead of isWord
2402 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * pariterator.h (operatir=): comment out un-implemented member
2407 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2410 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2412 * lyxfont.h: include LColor.h to satisfy concept checks.
2414 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2416 * pariterator.h: add typdefs for value_type, difference_type,
2417 pointer and reference to satisfy concept checks. Also add default
2418 constructor for same reason.
2420 * pariterator.C (operator++): add post-increment operator to
2421 satisfy concept checks.
2423 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2426 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2428 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2429 checks. Also rename base_type to BaseType to follow naming
2432 * FloatList.h: include Floating.h to satisfy concept checks.
2434 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2436 * lyxfunc.C (getStatus): when the origin of the request is menu or
2437 toolbar, and the LyXView does not have focus, do as if there was
2438 no buffer (bug 1720)
2440 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2441 FuncRequest to individual entries of LFUN_SEQUENCE
2443 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2445 * output_latex.C (TeXOnePar): override runparams.moving_arg
2446 according to the needprotect value of the current paragraph (bug
2449 * paragraph.C (simpleTeXOnePar): no need to override
2450 runparams.moving_args here
2452 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2454 * vspace.C: fix off-by-one-error, related to fix #1682
2456 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2458 * lengthcommon.C: a more general fix for bug 1682
2460 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2462 * text.C (backspace): fix crash
2464 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2466 * format.[Ch] (getFormatFromFile): new method
2467 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2469 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2471 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2473 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2475 * lyxfunc.C (dispatch): remove the verbose argument
2476 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2479 * kbmap.C (defkey): set the origin of func to KEYBOARD
2481 * MenuBackend.C (MenuItem):
2482 * ToolbarBackend.C (add): set the origin of func to UI
2484 * funcrequest.[Ch]: add origin member, which indicates which part
2485 of LyX requests an action
2487 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2489 * converter.C (move): don't lie in the error message
2490 * converter.h (isReachable, move): document
2492 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2494 * buffer.C: remove unused using lyx::support::atoi
2495 * paragraph_funcs.C: ditto
2497 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2499 * bufferlist.C (exists): use bind and equal_to instead of
2502 * lyxtextclasslist.C (NumberOfClass): ditto
2504 * cursor.C (insert): use for_each instead of explicit for loop
2506 * bufferlist.C (getFileNames): use std::transform and
2507 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2509 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2512 * buffer.C (changeLanguage): use for_each instead of explicit for
2514 (hasParWithID): implement using getParFromID
2516 * LaTeXFeatures.C: ws change only
2518 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2521 * BufferView_pimpl.C (trackChanges): use for_each instead of
2524 2004-11-04 André Pönitz <poenitz@gmx.net>
2527 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2529 * dociterator.C (asDocIterator): use hard assert again.
2531 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2533 * lyxlength.C (asLatexString): rewrite so that it does not use
2536 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2538 * text3.C (specialChar, dispatch): make sure cursor moves to the
2539 right after inserting an inset
2541 2004-11-02 José Matos <jamatos@lyx.org>
2543 * output_docbook.C (docbook):
2544 * paragraph.C (getID):
2545 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2546 garantee that the output is always legal.
2548 * tabular.C (docbook):
2549 * outputprams.[Ch]: remove mixed contents.
2551 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2553 * text2.C (setCounter): prevent endless loop
2555 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2557 * exporter.C (copyFile): use the mover instead of support::copy()
2558 * exporter.C (Export): pass format and latex name to copyFile()
2559 * exporter.h (addExternalFile): document
2560 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2562 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2564 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2566 2004-10-30 José Matos <jamatos@lyx.org>
2568 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2569 text and no inset or font change. This allows to use CDATA
2570 sections just for the whole paragraph.
2572 2004-10-30 José Matos <jamatos@lyx.org>
2574 * paragraph.C (getFirstWord): remove unused variable.
2576 2004-10-30 José Matos <jamatos@lyx.org>
2578 * paragraph.C (getFirstWord): the content should always be escaped
2580 (simpleDocBookOnePar):
2581 * output_docbook.C (makeEnvironment): replace reference to CDATA
2584 2004-10-30 José Matos <jamatos@lyx.org>
2586 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2588 2004-10-30 José Matos <jamatos@lyx.org>
2590 * output_docbook.C (makeParagraphs):
2591 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2592 standard paragraph has only a given type of content drop the wrapper.
2594 2004-10-29 José Matos <jamatos@lyx.org>
2596 * output_docbook.C (makeEnvironment):
2598 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2600 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2602 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2603 (cleanID): sanitize any id.
2605 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2607 * buffer.C, lyxlex_pimpl.C:
2608 * lyxlex_pimpl.C (setFile):
2609 s/getExtFromContents/getFormatFromContents/
2611 2004-10-28 José Matos <jamatos@lyx.org>
2613 * output_docbook.C (makeEnvironment): move id to broadest possible
2616 * sgml.C (openTag): apply substitution of <> for all attributes.
2618 2004-10-28 José Matos <jamatos@lyx.org>
2620 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2621 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2622 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2624 * sgml.[Ch]: new version for open and closeTag for paragraph and
2625 for strings. Now they handle the ids of paragraphs.
2627 2004-10-26 Angus Leeming <leeming@lyx.org>
2629 * Makefile.am: add mover.[Ch].
2631 * converter.C (convert, move): use the new Movers to move external
2632 files to the temp directory.
2634 * lyx_main.C (init): ensure that the global system_movers data
2637 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2640 * mover.[Ch]: new files, defining a Mover as a utility to move an
2641 external file between directories and, if necessary, manipulate this
2642 file using a helper script.
2644 2004-10-25 José Matos <jamatos@lyx.org>
2646 * output_docbook.C (makeCommand): merge two if's that tested the
2649 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2651 * sgml.C (escapeString): fix warning in a better way
2653 2004-10-25 José Matos <jamatos@lyx.org>
2655 * sgml.C (escapeString): import the require boosts header file for
2656 tie, and avoid a signed unsigned comparison.
2658 2004-10-25 José Matos <jamatos@lyx.org>
2660 * sgml.h: add #include <string>
2662 2004-10-25 José Matos <jamatos@lyx.org>
2664 * sgml.[Ch] (escapeString): new function to escape all the string.
2666 2004-10-24 José Matos <jamatos@lyx.org>
2668 * paragraph.[Ch] (getFirstWord): new function to get the first
2669 word. Useful for description.
2670 (simpleDocBookOnePar): remove depth argument, add another that
2671 says where to start the paragraph.
2673 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2674 use the new functions to fix cleanly the support for descriptions.
2676 2004-10-24 José Matos <jamatos@lyx.org>
2678 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2679 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2680 * output_linuxdoc.C (linuxdocParagraphs):
2681 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2682 add buffer as argument.
2684 2004-10-24 José Matos <jamatos@lyx.org>
2686 * output_docbook.C (makeEnvironment, searchEnvironment): place
2687 CDATA inside paragraphs and fix scope for listitems.
2689 2004-10-24 José Matos <jamatos@lyx.org>
2691 * output_docbook.C: remove using statement for stack.
2693 2004-10-23 José Matos <jamatos@lyx.org>
2695 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2696 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2697 docbook. The new scheme is recursive and makes use of iterators, the
2698 same as latex export works.
2699 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2700 directly with the paragraph contents. This code was moved up to
2701 output_docbook.C (docbookParagraphs).
2702 * sgml.C (openTag, closeTag): removed unneeded newlines.
2703 (closeEnvTags) removed.
2705 2004-10-23 André Pönitz <poenitz@gmx.net>
2707 * undo.C (textUndoOrRedo):
2708 * dociterator.C (asDocIterator): work around crash
2710 * cursor.C (getStatus): replace ASSERT by more verbose error message
2711 and manual correction of the problem. Should increase stability
2712 while providing more sensible information.
2714 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2716 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2718 * bufferlist.C (previous, next): new methods
2721 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2723 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2725 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2726 entities to preamble.
2728 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2730 * messages.C (Pimpl): strip off translation context information
2732 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2734 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2735 the cursor is correct (bug 1694)
2737 2004-10-13 José Matos <jamatos@lyx.org>
2739 * output_docbook.C (docbookParagraphs): fix closing tags in the
2740 end of the document.
2742 2004-10-09 José Matos <jamatos@lyx.org>
2744 * buffer.C: format up to 237.
2745 * bufferparams.C (write): use tostr to convert booleans to strings.
2747 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2749 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2751 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2753 * LaTeX.C: implement use of babel language in xindy.
2755 2004-10-05 José Matos <jamatos@lyx.org>
2757 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2758 Add new translators to help reading and writing the lyx file.
2760 2004-10-05 José Matos <jamatos@lyx.org>
2762 * ParagraphParameters.C (read):
2763 * text.C (readParToken): replace nexToken by more appropriate lex
2766 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2768 * LaTeX.C (runMakeIndex):
2769 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2770 (usually 'makeindex') configurable.
2772 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2773 with a variable rather than with a number.
2775 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2777 * output_latex.C (TeXOnePar): make sure font setting is the first
2778 thing that gets output (and the last at the end). Should fix bug
2781 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2783 * pch.h: use proper signal include
2785 * LaTeX.h: Use preferred calling of Boost.Signal
2788 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2790 * pch.h: dont include <boost/function/function0.hpp>
2792 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2794 * paragraph_pimpl.h: remove usage of ShareContainer
2796 * paragraph_pimpl.C: remove initialization of ShareContainer.
2798 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2802 * BufferView.C (putSelectionAt): change the semantics when
2803 backwards == true: now, this just swaps cursor and anchor wrt the
2806 * BufferView.h (putSelectionAt): add some documentation
2808 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2809 make sure backwardChar is done at least once (to avoid getting
2811 (findNextChange): use putSelectionAt in the forward direction
2812 (operator()): use Paragraph::isWord
2814 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2816 * Spacing.C (set): c_str fix
2818 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2820 * lyx_cb.C (Reconfigure): quote the name of configure script in
2821 case it contains spaces
2823 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2827 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2828 (BOOST_LIBS): use top_buildir when looking for the file
2830 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * pch.h: do not use include boost/format.hpp, multiple symbols
2833 will result (gcc bug)
2836 2004-08-23 José Matos <jamatos@lyx.org>
2838 * bufferparams.C (readToken): fix reading of the author field.
2840 2004-08-20 José Matos <jamatos@lyx.org>
2842 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2844 2004-08-20 José Matos <jamatos@lyx.org>
2846 * lyxlex.[Ch] (findToken): remove function.
2848 * ParagraphParameters.C (findToken):
2849 * bufferparams.C (findToken): replace call for previous function
2850 with local copy. This local function has one more argument, the
2851 read string argument.
2853 2004-08-16 José Matos <jamatos@lyx.org>
2855 * ParagraphParameters.C (write):
2856 * Spacing.C (writeFile):
2857 * bufferparams.C (writeLaTeX):
2858 * lyx_cb.C (Reconfigure):
2859 * paragraph.C (write):
2860 * tabular.C (write): remove unnecessary space at end of line.
2863 2004-08-16 José Matos <jamatos@lyx.org>
2865 * text.C (readParagraph): remove debug message.
2867 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2869 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2872 * output_plaintext.C (asciiParagraph): set depth correctly
2874 * outputparams.h: add member depth
2876 * paragraph_funcs.C (ownerPar): remove.
2878 * text2.C (setCounter): remove first_pit; comment out some
2879 non-working code that uses ownerPar
2881 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2884 2004-08-16 José Matos <jamatos@lyx.org>
2886 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2887 For the same level of importance use the same chanel to report problems.
2888 (read): add code to deal with \begin_body and \end_body.
2891 2004-08-15 José Matos <jamatos@lyx.org>
2893 * lyxlex.C (getString): fix comment, buffer::readBody is now
2894 buffer:readDocument.
2896 * tex-strings.C (string_papersize): Default -> default,
2897 Custom -> custom, for consistency with other options.
2899 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2903 * Makefile.am: support pch
2905 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2907 * text.C (readParToken): remove the static LyXFont variable and
2908 pass it as a parameter instead. This fixes a nasty bug where an
2909 inset will be inserted with a bad font in some situations
2910 (readParagraph): adapt
2912 * text2.C (setCounter): reduce number of calls to pars_[pit]
2914 * text.C (singleWidth): add an assert, fix a test
2916 * rowpainter.C (paintText): reduce number of calls to singleWidth
2918 * paragraph.C (isHfill):
2919 (isNewline): ws only
2921 2004-08-14 André Pönitz <poenitz@gmx.net>
2926 * lyxtext.h (several functions): use a Paragraph & argument
2929 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2931 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2933 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2935 * text.C (singleWidth): remove useless test
2937 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2939 * tabular.h: remove bogus comments
2941 * tabular.C (getDescentOfRow):
2942 (isPartOfMultiColumn): add assertions
2944 * lyxlength.C (inPixels): remove #warning
2946 2004-08-14 André Pönitz <poenitz@gmx.net>
2948 * paragraph.h: inline getChar()
2950 * BufferView.h: remove unused declarations
2952 2004-08-14 José Matos <jamatos@lyx.org>
2954 * Buffer.[Ch] (readDocument): new name for old readBody.
2955 * Buffer.C: new file format, new keywords: \begin_document,
2956 \begin_header, \begin_body, \end_body.
2958 * bufferparams.C (readToken): replace all calls to lex.nextToken
2959 by lex.next(). Do the same to eatLine except where really needed.
2961 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2962 line when writing to the lyx file.
2964 * output_plaintext.C (asciiParagraph): fix Bibliography style
2967 * text.C (read): fix end of file handling.
2969 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2971 * MenuBackend.C (Menu::operator[]): new method to access
2972 individual menu items
2973 (Menu::hasFunc): new method. search for an item that corresponds
2975 (MenuBackend::specialMenu): new method
2976 (MenuBackend::expand): if a special menu has been set, skip
2977 entries whose func() appears in this menu
2979 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2981 * text3.C: use Debug::DEBUG a bit more
2983 * text.C (leftMargin): try to simplify a tiny bit change var x to
2984 l_margin. Dont output the wide margins always.
2985 (rightMargin): no margin in inner texts
2987 * rowpainter.h (nestMargin): new func
2988 (changebarMargin): new func
2989 (rightMargin): new func
2991 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2995 * factory.C (createInset): modify setDrawFrame
2997 * cursor.C: use Debug::DEBUG a bit more
2999 2004-08-14 André Pönitz <poenitz@gmx.net>
3002 * Makefile.am: new files to accomodate an 'external' (x,y)-position
3003 cache for all insets in (at least partially) visible (top-level)
3006 * BufferView_pimpl.C: reset external coord cache before every update.
3007 This means the coord cache only contains valid entries.
3009 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3012 * BufferView_pimpl.C (getInsetByCode): move function out of class
3013 and change in to a template in anon namespace. Also fix to do what
3016 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
3019 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3021 (breakParagraph): rename par to par_offset and use a local
3022 reference. Add code to keep the language over a rebreak.
3023 (breakParagraphConservative): rename par to par_offset, use a
3025 (mergeParagraph): ditto
3027 (isFirstInSequence): ditto
3028 (outerFont): rename pit to par_offset
3030 * paragraph.C: ws change
3031 * paragraph.h: ditto
3035 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3037 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3040 * paragraph.C (simpleTeXOnePar): when we have a \item with
3041 optional argument, enclose the argument with curly brackets (in
3042 case it contains a closing square bracket)
3046 * text3.C (checkInsetHit): constify
3048 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3050 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3051 documents (bug 1629)
3053 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3055 Fix toggling of collapsable insets with the mouse (bug 1558)
3057 * lyxfunc.C (dispatch): adapt to LCursor changes
3059 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3060 make sure that dispatch is not invoked twice
3062 * cursor.C (needsUpdate): new method
3063 (dispatch): return void
3064 (result): new method, to access the DispatchResult of the cursor.
3066 2004-08-13 José Matos <jamatos@lyx.org>
3068 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3070 2004-08-13 André Pönitz <poenitz@gmx.net>
3072 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3074 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3077 2004-08-12 André Pönitz <poenitz@gmx.net>
3079 * text3.C: take out the 'cursor right' form insertInset and only
3080 do it in those places when it is really needed. Fixes crash on
3083 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3085 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3087 * BufferView_pimpl.C (setBuffer): initialize the current font of
3088 the underlying LyXText
3090 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3092 * kbsequence.C (print): use UI native formatting for menu
3095 * text.C (insertChar): call Paragraph::insertChar with a font
3098 * paragraph.C (insertInset, insertChar): the version that takes a
3099 LyXFont argument is now a wrapper around the other one (the
3100 opposite used to be true).
3102 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3103 argument. Font setting is done in Paragraph now.
3105 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3107 * outputparams.h: add new members intitle and lang.
3109 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3110 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3112 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3114 * text3.C (dispatch): remove special handling of button 4 and 5,
3115 it is now taken care of in the frontend code.
3117 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3119 * Spacing.h: add <string> (STLPort compile fix)
3121 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3123 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3125 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3127 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3130 * converter.C (showMessage): inherit from unary_function, make
3133 * buffer.C (writeFile): initialize retval
3135 * InsetList.h: rename private variable list to list_
3136 * InsetList.[Ch]: adjust accordingly.
3138 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3140 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3141 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3142 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3143 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3144 * ParagraphParameters.C, LaTeXFeatures.C: replace
3145 "support/std_sstream.h" with <sstream>
3147 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3149 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3150 * lyxsocket.C (LyXServerSocket): ditto
3151 (serverCallback): ditto
3153 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3155 * LaTeXFeatures.C: check release date when loading jurabib.
3157 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3159 * lyxserver.C (startPipe): call register_socket_callback
3160 (endPipe): call unregister_socket_callback
3162 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3164 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3165 (LyXServerSocket): register the callback
3166 (LyXServerSocket): unregister the callback
3167 (fd): delete function
3168 (serverCallback): improve error checking and setup the callbacks.
3169 (dataCallback): change arg to fd.
3170 (writeln): new func (copied fro the client socket) used for server
3172 (LyXDataSocket): simplify
3173 (~LyXDataSocket): close ann unregiser callback
3174 (server): delete function
3175 (fd): delete function
3176 (readln): small changes, improve some std::string usage
3177 (writeln): constify a bit
3179 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3181 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3184 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3186 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3187 after it has been populated
3189 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3191 * text2.C (insertInset): move cursor when inserting inset.
3193 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3195 * kbmap.C (findbindings): a couple of new methods. returns a
3196 container of kb_sequence objects. The real work is done by the
3197 private recursive version
3198 (printbindings): uses findbindings to print out a bracketed list
3199 of bindings (renamed from findbinding).
3201 * MenuBackend.C (binding): use kb_keymap::findbindings
3203 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3205 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3207 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3209 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3211 * paragraph.C (isWord): return true on insets that report
3214 * text.C (getWord): use Paragraph::isWord to decide what is in a
3215 word and what is not; fix bug 1609.
3217 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3219 * tex-strings.C: add "none" to string_paperpackages[], fixes
3220 off-by-one-error in the paperpackage selection.
3223 * tex-strings.[Ch]: char const * string[n]
3224 -> char const * const string[]
3226 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3228 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3229 command, return early.
3231 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * debug.h: add DEBUG to enum and fix size of ANY.
3235 * debug.C: add support for Debug::DEBUG
3236 (showTags): cast errorTags.level to unsigned int
3238 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3239 (redoCurrentBuffer): ditto
3240 (updateScrollbar): ditto
3241 * cursor.C (dispatch): ditto
3242 * text2.C (setLayout): ditto
3244 (updateCounters): ditto
3246 (deleteEmptyParagraphMechanism): ditto
3248 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3250 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3251 annotations to cleanup the Makefile slightly.
3253 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3255 * lyxrc.C: do not set user_email to a default value but use empty
3256 instead. The entry used to be translated, which does not work
3257 since at the point where lyxrc is constructed there is no
3258 translation service available
3260 * messages.C (getLocaleDir): remove and use directly
3261 lyx_localedir() instead
3263 2004-06-02 Angus Leeming <leeming@lyx.org>
3265 Fix crash caused by dereferencing null pointer 'exportdata' in
3266 OutputParams by creating a new ExportData variable on the heap,
3267 storing it in a boost::shared_ptr.
3268 The crash was triggered when generating an Instant Preview
3269 of an external inset.
3271 * Makefile.am: add outputparams.C
3273 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3274 (c-tor): allocate memory to it.
3276 * exporter.C (c-tor): associated changes.
3278 2004-06-01 Angus Leeming <leeming@lyx.org>
3280 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3281 contains data before calling isInset(0). (Bug 1513.)
3283 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3285 * exporter.C (checkOverwrite): new method
3286 * exporter.C (copyFile): new method
3287 * exporter.C (Export): copy referenced files to the document dir
3288 * exporter.[Ch]: new class ExportedFile
3289 * exporter.[Ch]: new class ExportData. Contains currently the
3290 names of referenced external files
3291 * outputparams.h: add exportdata member.
3293 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3295 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3298 2004-05-19 Angus Leeming <leeming@lyx.org>
3303 * lyxfunc.C: small changes due to the introduction of namespace
3304 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3306 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3308 * text3.C (dispatch): supress update when only moving the cursor
3309 * cursor.C (selHandle): remove commented code
3311 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3313 * paragraph.C (startTeXParParams): correct column count
3314 * CutAndPaste.C (pasteSelection): remove const_cast
3315 * output_docbook.C (docbookParagraphs): remove const_cast
3316 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3317 const_cast and return ParagraphList::const_iterator
3318 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3319 * output_plaintext.C (writeFileAscii): remove const_cast
3320 * paragraph.[Ch] (simpleTeXOnePar): make const
3321 * paragraph_funcs.C (outerPar): use const iterators
3322 * paragraph_pimpl.C (validate): use const iterators
3323 * text.C (setHeightOfRow): use const iterators
3325 2004-05-17 Angus Leeming <leeming@lyx.org>
3328 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3330 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3331 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3332 if the citation engine has changed.
3334 2004-05-14 José Matos <jamatos@lyx.org>
3336 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3337 if the textclass does not provide it. Have it different for sgml and
3339 support the language of document.
3340 * output_docbook.C (docbookParagraphs):
3341 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3342 first anchor as the id of the paragraph, remove special case code.
3343 * sgml.C (escapeChar): escape only < & >.
3345 2004-05-14 Angus Leeming <leeming@lyx.org>
3347 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3348 dependencies on src/frontends/controllers/biblio.h. Define a
3349 CiteEngine_enum wrapper class to enable the enum to be forward
3352 2004-05-12 Angus Leeming <leeming@lyx.org>
3354 * buffer.C: up LYX_FORMAT to 234.
3355 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3356 use_numerical_citations with a single biblio::CiteEngine cite_engine
3358 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3360 2004-05-13 José Matos <jamatos@lyx.org>
3363 * converter.C (Converter, readFlags): add xml member.
3364 * outputparams.h: add XML flavor.
3365 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3367 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3369 * lyxfunc.C (dispatch):
3370 (getStatus): fix handling of LFUN_SEQUENCE
3372 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3374 * debug.C (showLevel): do not forget the end-of-line marker
3376 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3378 * kbmap.C (read): do not stop parsing a bind file when an error
3381 2004-04-29 Angus Leeming <leeming@lyx.org>
3386 * text2.C: wrap a bunch of #warning statements
3387 inside #ifdef WITH_WARNINGS blocks.
3389 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3391 * buffer.C: increment format to 233.
3393 2004-04-28 Angus Leeming <leeming@lyx.org>
3395 * BufferView_pimpl.C:
3398 s/updateToolbar()/updateToolbars()/
3399 s/Toolbar.h/Toolbars.h/
3401 2004-04-28 Angus Leeming <leeming@lyx.org>
3403 * BufferView.[Ch] (c-tor):
3404 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3405 No longer passes these data to the WorkArea generator.
3407 2004-04-28 Angus Leeming <leeming@lyx.org>
3409 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3411 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3413 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3415 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3417 * output_latex.C (TeXEnvironment): make sure that there is a line
3418 break before \end{foo} for the last paragraph of a document
3419 (TeXOnePar): if the paragraph is at the end of the document (or
3420 inset) and the language has to be reset, then make sure that the
3421 line break is _before_ the language command, not after (fixes bug
3422 1225); also make sure that the language reset command is the first
3423 thing after the paragraph (to ensure proper nesting of
3424 environments and thus fix bug 1404)
3426 2004-04-21 John Levon <levon@movementarian.org>
3429 * ToolbarBackend.C: make "name" be a programmatic name
3430 and a gui_name field.
3432 * lyxfunc.C: display the minibuffer on M-x
3434 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3436 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3439 2004-04-19 Angus Leeming <leeming@lyx.org>
3441 * BufferView_pimpl.C (setBuffer): changed preview interface.
3443 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3446 2004-04-19 John Levon <levon@movementarian.org>
3448 * BufferView_pimpl.C:
3449 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3451 2004-04-05 Angus Leeming <leeming@lyx.org>
3453 * text.C (redoParagraphs): add call to updateCounters(), thereby
3454 fixing the missing "Figure #:" label from the caption of a
3457 2004-04-13 Angus Leeming <leeming@lyx.org>
3459 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3460 cursor is clicked out of an inset.
3462 2004-04-13 Angus Leeming <leeming@lyx.org>
3464 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3465 than an InsetOld one.
3467 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3469 * format.[Ch]: add editor to Format
3470 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3471 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3473 2004-04-08 André Pönitz <poenitz@gmx.net>
3475 * metricsinfo.h: remove PainterInfo::width member
3477 2004-04-08 Angus Leeming <leeming@lyx.org>
3479 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3480 "\providecommand" rather than "\newcommand", thereby preventing
3481 clashes with packages that define "\boldsymbol" themselves.
3484 2004-04-08 Angus Leeming <leeming@lyx.org>
3486 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3487 thereby squashing an unnecessary warning.
3489 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3491 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3494 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3496 * BufferView.C (setCursor): call redoParagraph (some insets could
3498 (putSelectionAt): remove the 'double update' trick
3500 * BufferView_pimpl.C (fitCursor): call refreshPar
3501 (workAreaDispatch): remove an uneeded update call
3502 (dispatch): remove some manual update calls
3504 * cursor.[Ch]: remove cached_y_, updatePos
3505 (selHandle): set noUpdate when appropriate
3507 * lyxfunc.C (dispatch): track if we need an update
3509 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3511 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3512 (paintSelection): cheap optimization, do not call cursorX when not
3514 (paintPars): change signature
3517 (paintTextInset): adjust
3521 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3523 * lengthcommon.C: compilation fix: remove explicit array size from
3524 unit_name[] and friends
3526 2004-04-05 Angus Leeming <leeming@lyx.org>
3528 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3530 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3531 present only for the preferences dialog.
3532 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3534 2004-04-05 Angus Leeming <leeming@lyx.org>
3536 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3537 to enable the frontends to export changes to lyxrc correctly.
3539 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3541 2004-04-07 André Pönitz <poenitz@gmx.net>
3543 * cursor.[Ch] (selClear, adjust): remove math
3545 * cursor_slice.C: more agressive assert
3548 * BufferView_pimpl.C: rework mouse event dispatch
3555 2004-04-05 André Pönitz <poenitz@gmx.net>
3557 * cursor.[Ch] (valign, halign...): remove unneeded functions
3559 2004-04-05 Angus Leeming <leeming@lyx.org>
3561 * lyxlength.[Ch] (unit_name et al.): const-correct.
3563 2004-04-05 Angus Leeming <leeming@lyx.org>
3565 * BufferView_pimpl.C:
3574 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3576 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3578 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3580 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3582 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3583 * BufferView_pimpl.[Ch] (getStatus)
3584 * BufferView.[Ch] (getStatus): add
3585 * lyxfunc.C (getStatus): move lfuns handled in
3586 BufferView::dispatch to te function above
3587 * Cursor.C (setSelection): set selection() = true
3589 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3591 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3593 2004-03-31 Angus Leeming <leeming@lyx.org>
3595 * lyxfunc.C (dispatch): Fall through to the generic
3596 Dialogs::show("preamble").
3598 2004-03-31 Angus Leeming <leeming@lyx.org>
3600 * lyxfunc.C (dispatch): Fall through to the generic
3601 Dialogs::show("spellchecker").
3603 2004-03-31 Angus Leeming <leeming@lyx.org>
3605 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3608 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3613 * insetiterator.[Ch]:
3618 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3620 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3622 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3623 insets where we are putting the cursor.
3625 2004-03-31 Angus Leeming <leeming@lyx.org>
3628 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3630 * lyxrc.[Ch] (read, write): overloaded member functions taking
3631 a std::[io]stream arguments.
3633 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3635 2004-03-31 Angus Leeming <leeming@lyx.org>
3637 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3638 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3640 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3641 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3643 2004-03-31 Angus Leeming <leeming@lyx.org>
3645 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3646 the LFUN_ALL_INSETS_TOGGLE code.
3648 2004-03-30 Angus Leeming <leeming@lyx.org>
3650 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3651 has died. Fall through to the generic Dialogs::show("document").
3653 2004-03-30 Angus Leeming <leeming@lyx.org>
3656 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3657 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3659 * lyxfunc.C (getStatus, dispatch): define the actions for these
3660 lfuns. Little more than a cut and pste job from ControlDocument.C
3662 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3664 2004-03-30 Angus Leeming <leeming@lyx.org>
3667 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3668 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3670 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3671 open/closed state of ollapsable insets. Usage:
3673 all-inset-toggle <state> <name>, where
3674 <state> == "open" || "closed" || "toggle" and
3675 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3677 * lyxtext.h, text2.C (toggleInset): removed.
3679 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3680 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3681 now passes LFUN_INSET_TOGGLE to the found inset.
3683 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3684 is now invoked as "all-insets-toggle toggle branch".
3686 2004-03-30 Angus Leeming <leeming@lyx.org>
3690 * pariterator.[Ch]: added/corrected header blurb.
3692 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3694 * dociterator.[Ch]: add an inset_ member
3695 (backwardPos): implemented
3696 (backwardPos, forwardPos): use inset_ when the stack is empty.
3697 (doc_iterator_begin, doc_iterator_end): implemented
3698 * pariterator.[Ch]: adjust, add begin, end
3699 * insetiterator.[Ch]: adjust, add begin, end
3703 * BufferView_pimpl.C:
3704 * CutAndPaste.C: adjust
3706 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3708 * buffer.C: increment file format to 232.
3709 * LaTeXFeatures.C: add bibtopic package.
3710 * bufferparams.[Ch]: param \use_bibtopic.
3712 * lyxrc.[Ch]: add lyxrc bibtex_command
3713 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3715 * buffer.C: increment file format to 231.
3717 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3719 * dociterator.C: implement forwardPar
3720 * iterators.[Ch]: remove, replaced by
3721 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3723 * BufferView_pimpl.C:
3726 * bufferview_funcs.C:
3732 * Makefile.am: adjust
3734 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3736 * CutAndPaste.C (pasteSelection): fix 2 crashes
3737 (eraseSelection): fix a crash
3738 * paragraph_funcs.C: remove a warning
3740 2004-03-28 Angus Leeming <leeming@lyx.org>
3743 * LyXAction.C (init): new LFUN_PRINT.
3745 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3747 2004-03-27 Angus Leeming <leeming@lyx.org>
3750 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3752 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3754 2004-03-27 Angus Leeming <leeming@lyx.org>
3756 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3757 insetlist always contains non-null pointers to insets.
3759 2004-03-26 Angus Leeming <leeming@lyx.org>
3761 * src/BufferView_pimpl.C:
3762 * src/CutAndPaste.C:
3765 * src/output_plaintext.C:
3766 * src/outputparams.h:
3767 * src/paragraph_funcs.C:
3771 * src/frontends/controllers/ControlErrorList.C:
3772 * src/frontends/gtk/FileDialogPrivate.C:
3773 * src/frontends/gtk/GPainter.C:
3774 * src/frontends/gtk/GToolbar.C:
3775 * src/frontends/qt2/QRef.C:
3776 * src/mathed/math_scriptinset.C: squash compiler warnings.
3778 2004-03-26 Angus Leeming <leeming@lyx.org>
3780 * ispell.C (LaunchIspell::start):
3781 * lyx_cb.C (AutoSaveBuffer::start):
3782 invoke run(DontWait) rather than runNonBlocking().
3784 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3786 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3788 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3790 * kbsequence.C (print): adjust
3792 * kbmap.C (printKeySym): rename and change signature
3793 (printKey): use LyXKeySym::print()
3795 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3797 * undo.C: add using std::advance to compile for stlport
3799 2004-03-24 Angus Leeming <leeming@lyx.org>
3801 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3802 it leads to a crash when no buffer is present.
3804 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3805 Martin Vermeer <martin.vermeer@hut.fi>
3807 * lyxfunc.C (dispatch):
3808 * bufferparams.C (readToken): use the new LColor::setColor
3810 * LColor.[Ch] (setColor): new version that takes two strings as
3811 argument and creates a new color entry if necessary
3813 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3815 * buffer.C (makeLaTeXFile): if the main latex file that is
3816 processed is usually a subdocument of some master, then pretend
3817 for a while that it is actually the master
3819 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3821 * buffer.C (getLabelList):
3822 (getBibkeyList): use getMasterBuffer()
3823 (getMasterBuffer): new method. Returns the main document in the
3824 case where one is using included documents.
3826 2004-03-25 André Pönitz <poenitz@gmx.net>
3830 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3832 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3834 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3835 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3837 * ParameterStruct.h: merge with ParagraphParameters
3839 * lyxtext.h: remove LyXText::parOffset() and getPar()
3841 * text3.C: Remove all 'manual' update calls. We do now one per user
3842 interaction which is completely sufficient.
3846 * BufferView_pimpl.C:
3847 * FontIterator.[Ch]:
3849 * ParagraphParameters.[Ch]:
3854 * cursor_slice.[Ch]:
3861 * output_docbook.[Ch]:
3862 * output_latex.[Ch]:
3863 * output_linuxdoc.[Ch]:
3864 * output_plaintext.[Ch]:
3866 * paragraph_funcs.[Ch]:
3867 * paragraph_pimpl.[Ch]:
3875 * frontends/controllers/ControlDocument.C:
3876 * frontends/controllers/ControlErrorList.C:
3877 * frontends/controllers/ControlSpellchecker.C:
3880 * insets/insetbase.h:
3881 * insets/insetbibitem.C:
3882 * insets/insetbox.C:
3883 * insets/insetbranch.C:
3884 * insets/insetcaption.C:
3885 * insets/insetcharstyle.C:
3886 * insets/insetcharstyle.h:
3887 * insets/insetcollapsable.C:
3888 * insets/insetcollapsable.h:
3889 * insets/insetert.C:
3890 * insets/insetfloat.C:
3891 * insets/insetfoot.C:
3892 * insets/insetmarginal.C:
3893 * insets/insetnote.C:
3894 * insets/insetoptarg.C:
3895 * insets/insettabular.C:
3896 * insets/insettext.C:
3897 * insets/insettext.h:
3898 * insets/insetwrap.C:
3899 * mathed/math_mboxinset.C:
3900 * mathed/math_nestinset.C:
3901 * mathed/math_scriptinset.C:
3902 * mathed/math_scriptinset.h:
3905 2004-03-24 Angus Leeming <leeming@lyx.org>
3907 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3908 deal with any child processes that have finished but are waiting to
3909 communicate this fact to the rest of LyX.
3911 2004-03-24 Angus Leeming <leeming@lyx.org>
3913 64-bit compile fixes.
3915 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3916 (c-tor): pass lyx::pos_types rather than ints.
3918 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3921 * text.C (Delete): compile fix.
3922 (getPar): ensure that function declaration is the same as that in
3925 2004-03-23 Angus Leeming <leeming@lyx.org>
3927 * ispell.C (LaunchIspell):
3928 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3929 a boost::shred_ptr rather than a std::auto_ptr.
3931 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3933 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3934 handle LFUN_FILE_INSERT_*
3936 * lyxrc.C (setDefaults, getDescription, output, read):
3937 * lyxrc.h: remove ps_command
3939 2004-03-22 Angus Leeming <leeming@lyx.org>
3941 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3942 Ensure that error_handler is processed once only and that all data
3943 is saved before attempting to output any warning messages.
3945 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3947 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3949 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3951 2004-03-19 André Pönitz <poenitz@gmx.net>
3953 * cursor.[Ch] (reset): take main text inset as argument
3955 * BufferView: adjust
3956 * BufferView_pimpl.C: adjust
3958 * paragraph.[Ch]: fix completely broken operator=()
3960 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3962 * LColor.C (getFromLyXName): make sure that the color name is used
3965 2004-03-17 Angus Leeming <leeming@lyx.org>
3968 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3970 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3971 dialog and to kill a forked process.
3973 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3975 * text2.C (setCursorFromCoordinates): fix font problem
3977 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3979 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3980 bogus "rebuild cursor" code
3982 2004-03-11 André Pönitz <poenitz@gmx.net>
3984 * buffer.[Ch]: use InsetText instead of LyXText as container for
3987 * dociterator.[Ch]: drop the BufferView * member which is not needed
3988 anymore after the change to buffer.C
3990 * paragraph_funcs.C:
3994 * BufferView_pimpl.[Ch]:
3996 * cursor_slice.[Ch]: adjust
3998 * text3.C: fix bug in mathDispatch
4000 2004-03-08 André Pönitz <poenitz@gmx.net>
4002 * undo.[Ch]: use 'StableDocumentIterator' as base for
4005 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4008 * bufferparams.[Ch]: add jurabib support and param.
4010 * LaTeX.C: add FIXME/comment.
4012 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4014 * buffer.C: increment file format to 230.
4016 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
4018 * cursor.C (dispatch): avoid infinite loops
4020 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4022 * rowpainter.C (paintSelection): fix x coordinates
4024 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4026 * text.C (rowBreakPoint): fix breaking before displayed insets
4028 2004-03-01 André Pönitz <poenitz@gmx.net>
4030 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4032 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4036 * BufferView_pimpl.C:
4044 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4050 * BufferView_pimpl.C: rename textwidth -> maxwidth,
4051 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4053 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4055 * Bidi.[Ch] (computeTables): const correctness
4056 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4057 fill_hfill, fill_label_hfill and x from Row
4058 * lyxtext.h: prepareToPrint returns a RowMetrics
4059 * rowPainter.C: adjust
4060 * text.C (prepareToPrint): use width, not textWidth. adjust
4061 (redoParagraphInternal, cursorX): adjust
4062 * text2.C (getColumnNearX): adjust
4063 (init): put a default value to the top LyXText::width
4065 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4067 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4069 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4071 * lyxtext.h: add FontIterator class
4073 * text.C (FontIterator, operator*, operator->, operator++): add
4074 (rowBreakPoint, setRowWidth): adjust (fixing a
4077 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4079 * BufferView_pimpl.C (workAreaDispatch): allow also
4080 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4082 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4084 * text.C (rowBreakPoint): fix a bug showing with very large insets
4086 2004-02-25 André Pönitz <poenitz@gmx.net>
4089 * cursor.[Ch]: move some mathed specific code to mathed
4091 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4093 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4094 use_tempdir in preferences
4095 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4097 * lyx_main.C: ensure that tempdir is valid
4098 * lyxlex.h: correct typo
4099 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4100 * paragraph.[Ch] (isMultiLingual): make const
4101 * cursor.[Ch] (openable): make const
4103 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4105 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4107 2004-02-20 André Pönitz <poenitz@gmx.net>
4109 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4111 * cursor.[Ch]: prepare for localized getStatus()
4117 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4119 2004-02-20 André Pönitz <poenitz@gmx.net>
4121 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4123 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4125 * text2.C (setCursorFromCoordinates): switch to absolute coords
4127 (cursorDown): adjust
4128 * text3.C (dispatch): adjust
4130 2004-02-16 André Pönitz <poenitz@gmx.net>
4132 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4135 * cursor_slice.[Ch]: remove unneeded acessor function
4137 * lyxtext.h: rename rtl() to isRTL()
4145 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4147 * rowpainter.C (paintSelection): coord fix
4149 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4151 * Spacing.C: compile fix
4153 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4155 * cursor.C (dispatch): restore current_ before returning
4157 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4159 * text2.C (cursorUp, cursorDown): fix coords
4162 2004-02-12 André Pönitz <poenitz@gmx.net>
4167 * text3.C: add LCursor & parameter to most cursor movement functions
4168 remove usage of LyXText::cursorRow() and cursorPar()
4170 * cursor.[Ch]: add textRow() needed members
4173 * BufferView_pimpl.C:
4176 * BufferView_pimpl.C: adjust
4178 2004-02-11 André Pönitz <poenitz@gmx.net>
4182 * BufferView_pimpl.C: shift undo/redo handling
4184 * cursor.[Ch]: fix mathed crash
4187 * lyxtext.h: move selectionAsText to LCursor
4195 * rowpainter.C: fix excessive drawing
4197 2004-02-06 André Pönitz <poenitz@gmx.net>
4200 * BufferView_pimpl.[Ch]:
4201 * text3.C: move some text specific LFUN handling
4203 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4205 * text3.C (checkInsetHit): adjust coords
4206 * text2.C (getColumnNearX): adjust coords
4207 (edit): adjust coords
4208 * text.C (getRowNearY): add two asserts
4210 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4213 * format.C: add using std::distance to compile on gcc 2.95/stlport
4215 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4217 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4219 2004-02-04 André Pönitz <poenitz@gmx.net>
4221 * BufferView.[Ch] (insertInset):
4222 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4227 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4229 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4230 on the default clause of the switch
4231 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4232 wasn't catched by LCursor::dispatch
4234 2004-02-03 André Pönitz <poenitz@gmx.net>
4237 * cursor.[Ch]: some additional asserts
4239 * undo.[Ch]: remove LyXText dependency in interface
4243 * lyxtext.h (firstPar, lastPar): remove dead functions
4248 * paragraph.[Ch]: adjust
4250 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4252 * lyxfind.C (find): fix argument order in call to ::find
4254 2004-02-02 André Pönitz <poenitz@gmx.net>
4256 * cursor.[Ch]: remove direct access to anchor
4258 * text.C: remove findText() hack
4260 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4262 * iterators.[Ch] (lockPath): remove in favour of...
4263 * BufferView.[Ch] (setCursor): this addition
4264 * BufferView.C (putSelectionAt): adjust
4265 * undo.C (performUndoOrRedo): adjust
4266 * lyxfunc.C (dispatch): adjust
4268 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4270 * iterators.C (lockPath): add a missing slice
4271 * undo.C (performUndoOrRedo): remove redundant positioning code
4273 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4275 * vc-backend.C (scanMaster): ";" -> ';'
4277 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4279 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4280 std::binary_function
4282 * lyxtextclass.C (compare_name): rename to...
4283 (LayoutNamesEqual): ...this
4285 * lyxlex_pimpl.C (compare_tags): inherit from
4286 std::binary_function, put back into anon namespace
4288 * lyxfind.C (MatchString): inherig from std::binary_function
4289 (findChange): use empty() istead of !size()
4291 * format.C (FormatNamesEqual): new functor
4298 * converter.C (compare_Converter): rename to...
4299 (ConverterEqual): ...this, and fixup a bit.
4300 (getConverter): use it, and make function const
4301 (getNumber): use it, and make function const
4305 * bufferlist.C: add using boost::bind
4307 * MenuBackend.C (MenuNamesEqual): new functor
4308 (hasMenu): use it, and make function const
4309 (hasSubmenu): use nested bind to get rid of compare_memfun.
4311 2004-01-30 André Pönitz <poenitz@gmx.net>
4313 * BufferView_pimpl.C:
4316 * cursor_slice.[Ch]:
4319 * paragraph_funcs.C:
4320 * paragraph_funcs.h:
4324 * text3.C: move some of the edit(x,y) handling to the insets
4325 some coordinate changes.
4327 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * text.C: add using statements for std::advance and std::distance
4331 * paragraph.C: add using statement for std::distance
4333 * lyxfind.C: add using statement for std::advance
4335 * cursor.C (region): remove std:: from swap
4336 (openable): use nucleus in stead of operator->
4338 * BufferView.C: add using statements for std::distance and std::swap
4340 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4342 * iterators.C: Remove the pimple, move the needed structures to
4343 the header file. Create accessor for the positions stack.
4344 (asPosIterator): remove function
4346 * PosIterator.C (PosIterator): move constructors to top of file
4347 (PosIterator): reimplement the constructor taking a ParIterator in
4349 (setFrom): new function
4350 (operator!=): inline it
4352 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4354 * lyxfind.C (replaceAll): use std::advance
4356 * iterators.h: inherit from std::iterator.
4358 * PosIterator.C (advance, distance): remove
4359 * PosIterator.h: interit from std::iterator.
4361 2004-01-26 André Pönitz <poenitz@gmx.net>
4364 * BufferView_pimpl.[Ch]:
4368 * bufferview_funcs.C:
4378 * output_linuxdoc.C:
4379 * output_plaintext.C:
4381 * paragraph_funcs.[Ch]:
4382 * paragraph_pimpl.[Ch]:
4388 * text3.C: more IU: dumps most of the rest of the mathcursor
4389 implementation into cursor.[Ch]; "globalize" a bit of it.
4391 2004-01-25 Angus Leeming <leeming@lyx.org>
4393 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4395 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4397 * LaTeXFeatures.h: add nice_ and nice() const
4398 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4400 2004-01-20 André Pönitz <poenitz@gmx.net>
4403 * BufferView_pimpl.C:
4405 * bufferview_funcs.C:
4407 * cursor_slice.[Ch]:
4418 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4419 LCursor and mathcursor parts to LCursor and InsetBase.
4421 2004-01-15 André Pönitz <poenitz@gmx.net>
4423 * cursor_slice.[Ch]: add a few covienience functions
4425 * funcrequest.[Ch]: remove BufferView * member
4427 * BufferView_pimpl.C:
4434 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4436 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4438 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4439 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4441 2004-01-13 André Pönitz <poenitz@gmx.net>
4444 * lyxtext.h: hide cursor and selection anchor behind accessor function
4447 * BufferView_pimpl.[Ch]:
4449 * bufferview_funcs.C:
4459 * cursor_slice.[Ch]: some integer type changes for inset unification
4461 * lyxcursor.[hC]: remove, it's CursorSlice now.
4464 * BufferView_pimpl.[Ch]:
4465 * bufferview_funcs.C:
4471 * textcursor.[Ch]: adjust
4473 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4475 * text2.C (undoSpan): add and use
4476 * text.C (breakParagraph): use undoSpan (fix bug 578)
4479 2004-01-08 Angus Leeming <leeming@lyx.org>
4481 * BufferView_pimpl.C (MenuInsertLyXFile):
4482 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4483 * lyxfunc.C (menuNew, open, doImport):
4484 FileFilterList change to the FileDialog open and save functions.
4486 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4488 * ShareContainer.h: make isEqual and isUnique adaptable
4490 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4492 2004-01-07 Angus Leeming <leeming@lyx.org>
4495 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4497 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4499 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4500 functions replacing find, replace and replaceAll.
4502 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4503 LFUN_WORDFIND(FORWARD|BACKWARD).
4505 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4507 * text.C (breakParagraph): remove an outdated #warning
4509 2004-01-07 André Pönitz <poenitz@gmx.net>
4511 * lyxfind.C: somewhat clearer logic
4513 * text.C: prevent crash in cursorX on unitialized row cache
4515 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4517 * lyxcursor.[Ch] (operator>): add
4518 * textcursor.C (selStart, selEnd): use std::min and std::max
4520 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4522 * Chktex.C: include boost/format.hpp
4524 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * InsetList.C: replace functor MathcIt with adaptable functor
4528 (insetIterator): modify accordingly
4530 * BranchList.h: move the BranchNamesEqual functor here from...
4531 * BranchList.C: ... to here
4533 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4535 (add): replace a finding loop with std::find_if.
4537 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4539 * output_docbook.C: moving LatexParam functionality into
4542 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4544 * buffer.C: increment format to 229.
4546 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4549 * lyx_sty.[Ch]: remove minipageindent_def
4555 * text3.C: remove LFUN_INSET_MINIPAGE
4557 2003-12-28 Angus Leeming <leeming@lyx.org>
4559 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4561 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4563 * text2.C (setParagraph): fix off-by-one crash
4565 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4567 * output_docbook.C: header stuff for AGU
4569 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4571 * text2.C (redoCursor): remove
4574 * BufferView_pimpl.C: remove calls to redoCursor and
4575 setCursor(cursor.par(), cursor.pos()) all around
4577 2003-12-15 Angus Leeming <leeming@lyx.org>
4579 * buffer.C: up the format to 228.
4581 2003-12-15 André Pönitz <poenitz@gmx.net>
4583 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4588 * BufferView_pimpl.C:
4597 2003-12-15 Angus Leeming <leeming@lyx.org>
4599 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4600 than getFromGUIName to manipulate the color.
4602 2003-12-14 Angus Leeming <leeming@lyx.org>
4604 * BranchList.[Ch]: minimize the API.
4605 (Branch::getBranch, getColor): now return a 'const &'.
4606 (Branch::setSelected) now returns a bool set to true if the
4607 selection status changes.
4608 (BranchList::clear, size, getColor, setColor, setSelected,
4609 allBranches, allSelected, separator): removed.
4610 (BranchList::find): new functions, returning the Branch with
4612 (BranchList::add, remove): return a bool indicating that
4613 the operation was successful.
4615 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4616 new InsetBranch::isBranchSlected member function.
4618 * LColor.[Ch]: mimimize the API.
4619 (fill): renamed as addColor and made private.
4620 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4621 versions of these functions taking a string arg have been removed.
4623 * bufferparams.C (readToken):
4624 * lyxfunc.C (dispatch):
4625 * lyxrc.C (read): changes due to the altered BranchList and
4628 * factory.C (createInset, readInset): changes due to altered
4631 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4634 * lyxfunc.C: remove insetminipage. "minipage-insert"
4635 now produces a frameless minipage box inset.
4637 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4639 * textcursor.[Ch] (selStart,selEnd): add new methods
4640 remove selection::start, end, use LyXCursor::operator<
4641 * lyxcursor.[Ch] (operator<): add
4642 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4643 * BufferView.[Ch] (unsetXSel): add
4644 * text2.C (clearSelection): use unsetXSel,adjust
4647 * rowpainter.C: adjust
4648 * bufferview_funcs.C (put_selection_at): adjust
4650 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4652 * BufferView_pimpl.C: small coord. correction
4654 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4656 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4657 dragging over the splash screen.
4659 2003-12-11 Angus Leeming <leeming@lyx.org>
4661 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4662 as it is now handled in LyXText::dispatch.
4664 * text3.C (doInsertInset): remove a level of nesting.
4666 2003-12-11 Angus Leeming <leeming@lyx.org>
4668 * factory.C (createInset): changes due to the changed interface to
4669 InsetCommandMailer::string2params.
4671 2003-12-10 Angus Leeming <leeming@lyx.org>
4673 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4674 'dialog-show-new-inset <inset name>'
4676 2003-12-10 Angus Leeming <leeming@lyx.org>
4678 * buffer.C: up the format to 227.
4680 * factory.C: the box inset is now identified simply by 'Box'.
4682 2003-12-10 Angus Leeming <leeming@lyx.org>
4684 * buffer.C: up the format to 226.
4686 * factory.C: the note inset is now identified simply by 'Note'.
4688 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4690 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4691 when a pit is enough. Standarize a couple of loops.
4693 2003-12-05 Angus Leeming <leeming@lyx.org>
4695 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4696 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4697 data to the re-worked "log" dialog.
4699 2003-12-03 André Pönitz <poenitz@gmx.net>
4705 * paragraph_funcs.C:
4707 * text2.C: use Inset::getText instead of Inset::getParagraph
4709 2003-12-03 André Pönitz <poenitz@gmx.net>
4713 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4714 InsetText::read() as LyXText::read()
4716 2003-12-02 Angus Leeming <leeming@lyx.org>
4718 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4719 type. Add a comment in the implementation that the function uses
4720 the stream's bad() function rather than fail() as the std::streams
4723 2003-12-02 André Pönitz <poenitz@gmx.net>
4725 * lyxlex.[Ch]: make interface more similar to std::stream
4727 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4729 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4731 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4733 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4735 * vspace.[Ch]: remove VSpace::NONE
4737 2003-12-01 André Pönitz <poenitz@gmx.net>
4740 * lyxtext.h: move ParagraphList member to LyXText
4741 rename LyXText::ownerParagraphs to LyXText::paragraph
4744 * bufferview_funcs.C:
4754 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4756 * undo.C: fix cursor positioning
4758 2003-12-01 John Levon <levon@movementarian.org>
4760 * BufferView_pimpl.C: fix a crash on exit with
4763 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4765 * BranchList.C: fix setSelected() method.
4767 2003-11-28 André Pönitz <poenitz@gmx.net>
4769 * ParagraphParameters.[Ch]:
4770 * ParameterStruct.h: remove space above/below from Paragraph to
4773 * BufferView_pimpl.C:
4779 * paragraph_funcs.C:
4785 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4787 * factory.C: Syntax change for CharStyles
4789 2003-11-28 André Pönitz <poenitz@gmx.net>
4794 * buffer.[Ch]: move LyXText member
4796 2003-11-28 André Pönitz <poenitz@gmx.net>
4798 * BufferView.[Ch]: make LyXText * text a private member
4800 * BufferView_pimpl.C:
4811 * output_plaintext.C: cleanup
4813 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4816 * lyxtextclass.[Ch]: parametrize SGML document header
4818 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4821 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4824 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4826 * text2.C (setFont): rework using PosIterator (no more recursive)
4827 (setCharFont): no more needed
4828 (setLayout): no more selection cursors fiddling (done by redoCursor)
4829 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4830 destroy remaining ones)
4832 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4834 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4836 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4839 * text3.C: adjust + re-allow multi par depth changes
4840 * textcursor.C: simplify a bit
4842 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4848 * src/output_docbook.C:
4849 * src/output_latex.C:
4854 * src/text2.C: Introducing a number of tags parametrizing various
4855 XML formats that we may want to support
4857 2003-11-25 André Pönitz <poenitz@gmx.net>
4859 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4861 * lyxtext.h (leftMargin/rightMargin): simplify interface
4868 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4870 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4871 master file to any child files. Fixes bug 546.
4873 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4875 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4877 2003-11-24 André Pönitz <poenitz@gmx.net>
4879 * rowpainter.C: simplification
4881 * text2.C (updateCounters): remove call to redoParagraph on
4882 changed labels as this is far too expensive.
4884 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4886 * converter.C (convert): fix a crash: this function gets
4887 called with buffer == 0 from importer code.
4889 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4891 * text3.C (cursorPrevious): make sure that we do not compare
4892 iterators form different containers.
4895 * rowpainter.C (paintSelection): make sure that we do not compare
4896 iterators from different containers.
4898 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4899 iterators from different ParagraphList containers.
4902 * text2.C (LyXText): change order of initialization slightly
4903 (operator=): new function. copy all variables except cache_par_
4904 (moveUp): make sure that we do not compare iterators from
4905 different ParagraphList constainers.
4908 * text.C (firstPar): new function
4909 (lastPar): new function
4910 (endPar): new function
4912 * lyxtext.h: move things around and group public functions, public
4913 variables, private functions, private variables
4915 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4917 * factory.C: change call to InsetERT constructor to avoid
4918 additional invocation of method status
4919 * text2.C (toggleInset): remove redundant update() call
4920 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4921 instead of a Bufferview pointer
4923 2003-11-21 André Pönitz <poenitz@gmx.net>
4925 * rowpainter.C: simplification
4927 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4929 * text3.C (dispatch): make possible to extend a word/row selection
4932 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4934 * lyxtext.h: x0_,y0_ -> xo_,yo_
4935 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4936 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4937 * rowpainter.C (paintRows): paint full paragraphs
4939 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4941 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4944 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4946 * lyxtext.h: add x0_, y0_
4947 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4948 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4950 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4952 * text2.C (setCursorIntern): move the x_target update here *
4953 * text3.C: change some bv() to true/false in calls to
4954 cursorUp/Down/Right/Left
4955 * cursor.C: use helper function.
4957 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4959 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4960 * paragraph_funcs.[Ch]: correct comment
4961 * rowpainter.C: do not paint selections away from bv->cursor()
4962 Fix a long standing selection painting bug.
4963 * text3.C: generalize mouse-selection code to LyXTexts other that
4965 * textcursor.C: do not use y coords if we can use par offsets
4967 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4969 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4970 cursor position after e.g. inset insert)
4972 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4974 * lyxfind.C (replace): adjust to locking removal + some
4977 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4979 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4982 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4985 * output_docbook.C: XML sanitation: new layout
4986 parameters InnerTag and CommandDepth
4988 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4990 * BufferView_pimpl.C:
4992 * text3.C: Fix the insertion and modification of button-style
4995 2003-11-13 André Pönitz <poenitz@gmx.net>
4997 * InsetList.[Ch]: remove deleteLyXText
4999 * paragraph.[Ch]: cache beginOfBody position
5004 * text3.C: remove superfluous update() calls
5008 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
5010 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5011 * BufferView.C (fitLockedInsetCursor): remove
5012 * cursor.[Ch] (getDim): add
5013 * text.C (getRowNearY): add faster version
5014 * text3.C: remove some update calls
5016 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
5028 * text3.C: The Character Style /XML short element patch.
5030 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
5033 * factory.C: Small step to solving 'unable to insert some insets'
5036 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
5038 * cursor.[Ch] (updatePos): new function for updating the y
5039 position of the tip inset
5040 * bufferview_funcs.C (put_selection_at):
5041 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5043 2003-11-11 André Pönitz <poenitz@gmx.net>
5045 * text.C: remove big comment on invalid Paragraph pointers as it is
5048 2003-11-11 André Pönitz <poenitz@gmx.net>
5050 * text_funcs.[Ch]: merge with ...
5058 * Makefile.am: remove text_funcs.[Ch]
5060 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5062 * cursor.C (getPos): return absolute cached y coord
5064 * BufferView_pimpl.C (fitCursor): new simplistic code
5065 (workAreaDispatch): add a fitCursor call
5067 2003-11-10 André Pönitz <poenitz@gmx.net>
5070 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5072 2003-11-10 André Pönitz <poenitz@gmx.net>
5074 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5075 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5076 indicate that the cursor needs to leave an inset
5078 * lyxtext.h: remove inset locking
5080 * cursor.[Ch]: re-implement functionality provided by inset locking
5083 * BufferView_pimpl.[Ch]:
5085 * bufferview_funcs.[Ch]:
5097 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5099 * PosIterator.[Ch]: replace the stack with a vector, add inset
5101 * iterators.[C]: adjust
5103 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5105 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5107 * paragraph_funcs.C (readParToken): put the correct id in the
5108 error item, not the id of the top paragraph
5110 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5112 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5113 * bufferview_funcs.C (put_selection_at): use the above
5115 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5117 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5119 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5121 * output_linuxdoc.h:
5122 * output_plaintext.h:
5124 * output_docbook.h: add #include statements
5126 2003-11-05 José Matos <jamatos@lyx.org>
5128 * output_docbook.[Ch]:
5129 * output_latex.[Ch]:
5130 * output_linuxdoc.[Ch]:
5131 * output_plaintext.[Ch]: New files for output formats.
5132 * output.[Ch]: New file for helper functions.
5135 * paragraph_funcs.[Ch]: output functions moved to new files.
5137 * outputparams.h: rename of latexrunparams.h
5145 * paragraph_funcs.[Ch]:
5146 * paragraph_pimpl.[Ch]:
5147 * tabular.[Ch]: rename ascii to plaintext
5148 and LatexRunParams to OutputParams.
5150 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5152 * iterators.[Ch] (text): require bv argument
5153 * undo.C (recordUndo):
5154 * lyxfunc.C (dispatch):
5155 * bufferview_funcs.C (put_selection_at): adjust
5157 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5159 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5161 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5163 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5166 2003-11-04 André Pönitz <poenitz@gmx.net>
5168 * cursor.[Ch]: restructure
5171 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5173 * iterators.[Ch] (asCursor): remove
5175 * lfuns.h: remove LFUN_INSET_EDIT
5181 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5183 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5185 * lyxfind.[Ch]: complete overhaul
5186 * BufferView_pimpl.C:
5188 * paragraph.[Ch] (insert): add
5190 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5194 * text.C: remove dead spellcheck code
5196 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5198 * dispatchresult.h: add a val setter
5200 * cursor.C (dispatch): use a tempvar for data_[i]
5202 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5204 * PosIterator.[Ch]: compile fix
5206 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5208 * text.C (cursorPar): deactivate the cursor cache
5210 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5212 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5214 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5216 * text3.C (dispatch): adjust for new DisptchResult semantics.
5218 * lyxfunc.C (dispatch): handle update when return from
5219 Cursor::dispatch, adjust for new DispatchResult semantics.
5221 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5222 DispatchResult(true) mean to not update. Add class functions for
5223 setting dispatched and update, as well as reading.
5225 * cursor.C (dispatch): don't handle update here
5227 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5229 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5230 * trans_mgr.C: adjust
5232 * paragraph_funcs.C (readParToken): exception safety
5234 * lyxvc.h: store the vcs pointer in a scoped_ptr
5237 * lyxsocket.C (serverCallback): exception safety
5239 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5241 * ispell.C (clone): make it return a auto_ptr
5243 * factory.C (createInset): exception safety
5244 (readInset): exception safety
5246 * bufferlist.C (newBuffer): exception safety
5248 * Thesaurus.C (Thesaurus): use initialization for aik_
5250 * MenuBackend.C (expandToc): exception safety.
5252 2003-11-03 André Pönitz <poenitz@gmx.net>
5256 * bufferview_funcs.C: remove getInsetFromId()
5259 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5265 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5267 * PosIterator.C (distance, advance): new
5268 * bufferview_funcs.[Ch] (put_selection_at): new
5269 * iterators.[Ch] (lockPath): new
5271 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5273 * iterators.[Ch] (asPosIterator): added
5274 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5275 * PosIterator.[Ch]: added
5277 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * cursor.C (dispatch):
5282 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5284 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5285 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5286 contructor, add a class function dispatched. Remove operator>=
5288 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5290 * debug.C: only use the default constructor for debugstream
5293 * main.C (main): include debug.h and setup the lyxerr streambuf
5296 2003-10-31 José Matos <jamatos@lyx.org>
5298 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5300 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5301 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5302 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5303 * paragraph_pimpl.C (simpleTeXSpecialC):
5304 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5305 add LatexRunParams argument.
5307 * exporter.C (Export): change call accordingly.
5309 * latexrunparams.h: add new member to take care of the other backends.
5310 2003-10-30 José Matos <jamatos@lyx.org>
5312 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5313 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5314 factorise code for paragraph output.
5316 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5319 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5321 * text3.C (dispatch):
5322 * lyxfunc.C (dispatch):
5323 * cursor.C (dispatch):
5324 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5326 * dispatchresult.h: make the dispatch_result_t ctor explicit
5328 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5331 * buffer.C: small refactoring of docbook stuff
5333 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5335 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5338 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5340 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5341 operator dispatch_result_t, and operators for == != and >=
5343 * cursor.C (dispatch): adjust for operator dispatch_result_t
5344 removal. comment out call to update
5346 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5348 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5356 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5359 * dispatchresult.h: new file, DispatchResult broken out of
5362 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5364 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5366 * text.C (rowBreakPoint): put a hack inside #if 0
5368 2003-10-28 André Pönitz <poenitz@gmx.net>
5372 * paragraph_funcs.C:
5375 * text2.C: general cleanup (lots of small stuff)
5377 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5379 * text2.C (cursorEnd): simple fix to the "end key goes to one
5380 before the end on last row" bug
5382 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5384 * text.C (backspace): fix the "zombie characters"
5386 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5388 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5390 2003-10-27 André Pönitz <poenitz@gmx.net>
5392 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5394 * factory.C: handle new InsetPagebreak, InsetLine
5396 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5397 and move handling into new InsetPagebreak, InsetLine
5399 * BufferView_pimpl.C:
5401 * ParagraphParameters.C:
5402 * ParameterStruct.h:
5407 * paragraph_funcs.C:
5408 * paragraph_pimpl.C:
5414 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5417 * lyxrow_funcs.[Ch]:
5423 * text3.C: remove lastPos uses in favour of Row::endpos
5425 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5427 * undo.C (performUndoOrRedo): fix two crashes by setting a
5428 cursor by hand and reordering some calls. Use bv->lockInset instead
5429 of inset->edit because the latter loses cursor information
5431 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5433 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5435 (rowBreakPoint): fix width. change point to point + 1.
5436 Add a missing check.
5438 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5441 * lyxfunc.C: fix (at least partly) the problems
5442 with the Nav menu and headers inside branch insets
5445 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5447 * paragraph.C (getChar): add strong asserts
5449 * lyxrow_funcs.C (lastPos): remove hideous hack
5451 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5452 (fill): adjust to that (avoid an infinite loop)
5454 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5456 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5458 2003-10-23 André Pönitz <poenitz@gmx.net>
5460 * RowList_fwd.h: change list<> to vector<> to gain speed
5461 after suggestion from Alfredo
5463 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5465 * lyxtext.h: move the bidi stuff from here...
5468 * Bidi.[Ch]: ... to here
5470 2003-10-23 André Pönitz <poenitz@gmx.net>
5473 * text.C (isLastRow, isFirstRow): new functions
5475 * paragraph.h: new width cache member
5477 * rowpainter.C: replace RowList::iterator with Row & where possible
5479 * lyxfunc.C: replace several view()->text with a single call
5481 * toc.C: fix 'unused' warning
5483 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5485 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5486 when woring with stream::pos_type
5487 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5489 2003-10-22 André Pönitz <poenitz@gmx.net>
5492 * text.C: use Row & instead of RowList::iterator
5494 * lyxrow.h: rename end() to endpos()
5500 2003-10-22 Angus Leeming <leeming@lyx.org>
5502 * buffer.[Ch] (fully_loaded): new member function, returning true
5503 only when the file has been loaded fully.
5504 Used to prevent the premature generation of previews and by the
5505 citation inset to prevent computation of the natbib-style label.
5507 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5508 templates are all set up.
5510 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5512 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5514 * text.C: fixed an "oops" in the "is a bit silly"
5517 2003-10-21 André Pönitz <poenitz@gmx.net>
5519 * FuncStatus.[Ch]: small stuff, whitespace
5521 * lyxfont.[Ch]: operator<<() for debug reasons
5525 * lyxtext.h: whitespace, spelling
5527 * paragraph.C: naming of variables
5530 * text2.C: small stuff
5533 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5535 * text.C: (1) finish off the inset display() work;
5536 (2) fix the "is a bit silly" bug (accessing char
5539 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5541 * text.C: re-introduce display() for insets, fixing the
5542 various bugs (stretch of line above, math inset
5545 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5547 * text.C (rightMargin): remove spurious semicolon
5549 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5552 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5554 * text3.C: fix one crash due to wrong cursor def
5556 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5558 * vc-backend.C (scanMaster): make the regex static
5560 * LaTeX.C (scanAuxFile): make the regexs static
5562 * text3.C (doInsertInset, dispatch, dispatch):
5563 * text2.C (cursorUp, cursorDown):
5564 * text.C (selectNextWordToSpellcheck):
5565 * BufferView_pimpl.C (dispatch):
5566 * lyxfunc.C (dispatch): localDispatch -> dispatch
5568 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5570 * lyxsocket.C: include <cerrno>
5572 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5574 * lyxfunc.C (dispatch): remove textcache stuff
5576 * bufferlist.C (release): remove textcache stuff
5579 * TextCache.C: delete file
5580 * TextCache.h: delete file
5582 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5584 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5585 delete of the bv_->text.
5586 (resizeCurrentBuffer): remove texcache stuff
5587 (workAreaResize): ditto
5589 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5591 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5594 2003-10-16 André Pönitz <poenitz@gmx.net>
5601 * text3.C: speed up by storing y positions per paragraph plus per-row
5602 offset instead of having a 'full' y position in the row.
5604 2003-10-15 André Pönitz <poenitz@gmx.net>
5608 * undo.[Ch]: make undo aware of inner insets
5610 2003-10-14 Angus Leeming <leeming@lyx.org>
5612 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5613 static member functions LyX::ref() and LyX::cref.
5614 (lastfiles): new accessor functions for the new lastfiles_ member var.
5615 (addLyXView, views_): add a new LyXView to the list of views_.
5616 (updateInset): loop over all LyXViews to call their own updateInset
5617 member function, returning a pointer to the Buffer owning the inset.
5619 * BufferView_pimpl.C (loadLyXFile):
5620 * MenuBackend.C (expandLastfiles):
5621 * bufferlist.C (MenuWrite, QuitLyX):
5622 lastfiles is no longer a global variable.
5623 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5625 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5626 static function. Access through LyX::cref().emergencyCleanup().
5628 2003-10-14 André Pönitz <poenitz@gmx.net>
5630 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5632 * undo.[Ch]: restoring part of 'undo in insets'
5635 * undo_funcs.[Ch]: merge with undo.[Ch]
5637 * tabular.C: small cleansing stuff
5639 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5641 * paragraph_funcs.C (readParToken): report unknown insets as error
5642 boxes. Use the outer paragraph as location (also for unknown
5645 * factory.C (readInset): do not abort on reading an unknown inset.
5646 Eat it and return 0.
5648 2003-10-13 Angus Leeming <leeming@lyx.org>
5650 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5652 * lyxrc.C: displayTranslator is now a function,
5653 declared in GraphicsTypes.h.
5655 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5657 * format.C: new placeholder $$a to pass the socket address.
5659 * bufferlist.[Ch]: new function getBufferFromTmp.
5661 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5662 files in the temporary dir.
5664 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5666 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5668 * Makefile.am: add lyxsocket.[Ch].
5670 * lyx_main.C (error_handler): handle SIGPIPE.
5672 2003-10-13 André Pönitz <poenitz@gmx.net>
5674 * BufferView_pimpl.C:
5679 * undo_funcs.[Ch]: use paroffset_type instead of
5680 ParagraphList::iterators to prevent multiple conversion
5681 (and get a more robust interface)
5683 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5685 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5687 * text3.C (dispatch): ditto
5689 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5692 move the onlyfile, use onlyfile instead of foundfile in a couple
5695 * DepTable.C (update): flush the error stream a bit more
5697 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5699 * lyxserver.C (callback): adjust
5701 * lyxfunc.C (getStatus): add a missing brace in commented code
5702 (ensureBufferClean): reindent
5703 (dispatch): delete version taking a string
5705 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5707 * LaTeX.C (deplog): move found file handlig from here...
5708 (handleFoundFile): .. to new function here.
5709 (deplog): make sure to discover several files mentioned on the
5712 2003-10-10 André Pönitz <poenitz@gmx.net>
5719 * text3.C: fix some of the tabular crashes
5721 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5723 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5725 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5727 2003-10-09 André Pönitz <poenitz@gmx.net>
5729 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5732 * BufferView_pimpl.C:
5733 * bufferview_funcs.C:
5744 * undo_funcs.C: adjust
5746 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5748 * text2.C (incrementItemDepth): new function, use a backtracking
5749 algorithm to discover the correct item depth.
5750 (resetEnumCounterIfNeeded): new function, use a backtracking
5751 algorithm to discover if counter reset is needed.
5752 (setCounter): use them. Simplify a bit. Add different labels for
5753 different item depths for itemize.
5755 * paragraph.C (Paragraph): remove initialization of enumdepth
5758 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5759 enumerate and itemize. Change the type of itemdepth to signed char.
5761 2003-10-08 André Pönitz <poenitz@gmx.net>
5763 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5768 * tabular.[Ch]: fix crash after 'row-insert'
5770 2003-10-08 Angus Leeming <leeming@lyx.org>
5772 Fix doxygen warnings.
5774 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5775 Remove CutAndPaste:: prefix from header file declaration.
5777 * LColor.h (fill): remove LColor:: prefix from declaration.
5779 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5780 use lyx::depth_type rather than Paragraph::depth_type so that
5781 header file and .C file match.
5783 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5785 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5786 * aspell.C: \file aspell_local.C -> \file aspell.C
5787 * gettext.C: \file gettext.C -> \file src/gettext.C
5788 * gettext.h: \file gettext.h -> \file src/gettext.h
5789 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5790 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5791 * text.C: \file text.C -> \file src/text.C
5793 * toc.C: move comment so that doxygen is not confused.
5795 2003-10-07 Angus Leeming <leeming@lyx.org>
5797 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5799 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5802 * aspell_local.h: add forgotten std::string's.
5804 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5811 * text3.C: The Box patch. Fancybox support, minipage, parbox
5813 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5819 * ParagraphParameters.h:
5829 * lyxtextclasslist.h:
5832 * paragraph_pimpl.C:
5833 * textcursor.h: add <string> and other small fixes to make Lars'
5834 std::string patch compile with STLport.
5836 2003-10-06 Angus Leeming <leeming@lyx.org>
5838 * LColor.h: Add missing #include <string>.
5840 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5842 * All most all file in all subdirs: Make <string> be the prefered
5843 way of getting to std::string, add using declarations.
5845 2003-10-06 André Pönitz <poenitz@gmx.net>
5847 * metricsinfo.C: initialize LyXFont before changing attribute.
5848 (fixes the 'math in \emph is upright' bug)
5850 2003-10-06 André Pönitz <poenitz@gmx.net>
5852 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5854 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5857 * paragraph_pimpl.C: Small fixes to build using STLport
5859 2003-10-02 André Pönitz <poenitz@gmx.net>
5862 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5864 2003-10-01 André Pönitz <poenitz@gmx.net>
5866 * factory.C: assert early
5868 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5870 * lyx_main.C: remove the global debug object
5872 * debug.h: adjust for new debugstream
5874 * debug.C: adjust for new debugstream and keep the global debug
5877 2003-09-22 Angus Leeming <leeming@lyx.org>
5879 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5880 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5881 an incomplete class LyXFont.
5883 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5885 * factory.C: bug fix in branches
5887 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * lyxfunc.C (processKeySym): adjust
5891 (dispatch): change arg name from ev to func, adjust
5892 (sendDispatchMessage): ditto
5894 * lyx_main.C (defaultKeyBindings): adjust keybindings
5895 (deadKeyBindings): ditto
5897 * kbsequence.C (addkey): return a FuncRequest
5899 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5901 * kbmap.C (bind): take a FuncRequest as arg, adjust
5904 (defkey): change to take a FuncRequest as arg, adjust
5905 (findbinding): take a FuncRequest as arg, adjust.
5907 * funcrequest.h (operator=): added
5909 * funcrequest.C (FuncRequest): default kb_action changed from
5910 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5912 * buffer.C (dispatch): simplify
5913 (dispatch): adjust to take a FuncRequest as arg, adjust
5915 * boost.C (assertion_failed): change assertion message slightly
5917 * ToolbarBackend.C (read): simplify
5919 * MenuBackend.C (binding): adjust call to findbinding, add a
5920 message if no binding is found.
5922 (expandToc): correct by adding a empty FuncRequest
5924 * LyXAction.C: include <boost/assert.hpp>
5925 (isPseudoAction): delete function
5926 (LookupFunc): change name to...
5927 (lookupFunc): this. change return type to FuncRequest.
5928 (getActionName): take kb_action as arg, simplify
5929 (funcHasFlag): add an assert, simplify.
5931 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5933 * toc.C (action): return a FuncRequest, simplify
5935 * lyxfunc.C (processKeySym): adjust
5936 (getStatus): delete version that takes an int.
5938 (dispatch): delete version that takes action as int
5940 (sendDispatchMessage): simplify and adjust
5942 * funcrequest.C (getArg): take unsigned int as arg
5944 * ToolbarBackend.C (read): adjust
5945 (add): delete version that takes func as a string.
5946 (getIton): take a FuncRequest as arg
5948 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5951 * MenuBackend.C (MenuItem): add a new construct that only takes a
5952 Kind, simplify the constructor use for submenus.
5954 (expandLastfiles): adjust
5955 (expandDocuments): adjust
5956 (expandFormats): adjust
5957 (expandFloatListInsert): adjust
5958 (expandFloatInsert): adjust
5959 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5961 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5962 Remove class variables lyx_pseudo_map and lyx_arg_map
5964 * LyXAction.C (searchActionArg): delete function
5965 (getPseudoAction): delete function
5966 (retrieveActionArg): delete function
5967 (LookupFunc): make it return kb_action, simplify.
5968 (getActionName): simplify
5970 * factory.C (createInset): fix new bug
5972 2003-09-19 Angus Leeming <leeming@lyx.org>
5974 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5975 masterFilename_ parameter in the include inset.
5977 * factory.C (createInset): changes due to the changes to InsetInclude.
5979 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5981 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5983 2003-09-18 Angus Leeming <leeming@lyx.org>
5986 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5987 Inset::fillWithBibKeys.
5988 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5990 2003-09-18 Angus Leeming <leeming@lyx.org>
5992 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5994 (ctor): pass and store a 'Buffer const &'
5995 (buffer): new member function.
5997 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5998 '*this' to the LaTeXFeatures ctor.
6000 2003-09-18 Angus Leeming <leeming@lyx.org>
6006 * text.C: rename EnumLColor as LColor_color.
6008 2003-09-18 Angus Leeming <leeming@lyx.org>
6010 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6011 remove #include "insets/insetbase.h" from cursor.h.
6013 2003-09-18 Angus Leeming <leeming@lyx.org>
6015 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6016 InsetOld_code to remove #include "inset.h".
6018 * iterators.C: add #include "insets/inset.h"
6020 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
6022 * BufferView.C: remove more locking stuff that apparently doesn't
6023 do anything sensible.
6025 2003-09-16 André Pönitz <poenitz@gmx.net>
6028 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6031 2003-09-16 Angus Leeming <leeming@lyx.org>
6033 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6035 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6038 * paragraph.h: remove #include "lyxfont.h". Forward declare
6041 2003-09-16 Angus Leeming <leeming@lyx.org>
6043 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6044 of support/textutils.h.
6045 (isWord): move the contents of support/textutils.h's IsWordChar here.
6051 * text2.C: add #include "paragraph.h".
6054 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6056 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6062 * LaTeX.C: use namespace alias for lyx::support::os
6064 2003-09-16 Angus Leeming <leeming@lyx.org>
6067 * bufferview_funcs.C:
6070 * paragraph_pimpl.C:
6072 * text.C: add #include "LColor.h".
6074 2003-09-16 Angus Leeming <leeming@lyx.org>
6076 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6077 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6079 Store the FontBits::color variable as an int rather than as an
6080 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6083 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6084 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6085 string calls together.
6087 * lyxrc.C: add #include "LColor.h".
6089 2003-09-15 Angus Leeming <leeming@lyx.org>
6091 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6094 2003-09-15 Angus Leeming <leeming@lyx.org>
6096 * LColor.h: add an EnumLColor wrapper for LColor::color.
6098 * lyxfont.[Ch] (color, setColor, realColor):
6099 * lyxtext.h, text.C (backgroundColor):
6100 pass EnumLColor args to/from the functions, rather than LColor::color
6104 * lyxtext.h: forward declare EnumLColor.
6106 * lyx_main.C: add #include "LColor.h".
6108 2003-09-15 Angus Leeming <leeming@lyx.org>
6110 * .cvsignore: add lyx-gtk.
6112 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * ParagraphParameters.C
6121 * bufferview_funcs.C
6131 * vc-backend.C: remove usage of STRCONV
6133 2003-09-15 Angus Leeming <leeming@lyx.org>
6135 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6136 explicitly define the color passed to the painter.
6138 2003-09-15 Angus Leeming <leeming@lyx.org>
6140 * bufferparams.C (BufferParams): reorder member initializers to avoid
6143 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6145 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6146 * text.C (updateRowPositions): remove an unusual nop
6148 2003-09-12 André Pönitz <poenitz@gmx.net>
6150 * BufferView_pimpl.C:
6159 * Counters.[Ch]: finish the 'automatic counters' job
6161 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6163 * aspell.C: include <boost/assert.cpp> (compile fix)
6165 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6167 * boost.C (assertion_failed): use lyx::support::abort instead of
6170 2003-09-10 Angus Leeming <leeming@lyx.org>
6172 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6173 with their _fwd progeny.
6175 2003-09-09 Angus Leeming <leeming@lyx.org>
6177 134 files throughtout the source tree: replace 'using namespace abc;'
6178 directives with the appropriate 'using abc::xyz;' declarations.
6180 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6182 * boost.C (emergencyCleanup): moved here from LAssert.c
6183 (assertion_failed): new function, called by BOOST_ASSERT
6185 * several files: change Assert to BOOST_ASSERT
6187 2003-09-09 Angus Leeming <leeming@lyx.org>
6189 * buffer.[Ch]: Add an Impl class and move Buffer's member
6190 variables into it. As a result move several header files out of
6193 Add header files to lots of .C files all over the tree as a result.
6195 2003-09-09 Angus Leeming <leeming@lyx.org>
6197 * buffer.[Ch]: make Buffer's member variables private. Add
6200 Lots of changes all over the tree as a result.
6202 2003-09-08 Angus Leeming <leeming@lyx.org>
6204 * graph.C: #include <config.h>.
6206 2003-09-08 Angus Leeming <leeming@lyx.org>
6210 * BufferView_pimpl.C:
6239 * toc.C: remove redundant using directives.
6241 2003-09-07 Angus Leeming <leeming@lyx.org>
6243 * LaTeXFeatures.h: remove #include "support/types.h".
6244 * ToolbarBackend.h: remove #include <algorithm>.
6245 * changes.h: remove #include <ctime>.
6246 * debug.h: remove #include <iosfwd>.
6247 * graph.h: remove #include "support/std_string.h".
6248 * lyx_main.h: remove #include <csignal>.
6249 * lyxlex_pimpl.h: remove #include <fstream>.
6250 * sgml.h: remove #include <algorithm>, <utility>.
6251 * toc.h: remove #include "support/std_ostream.h".
6252 Add #include <iosfwd>.
6254 2003-09-07 Angus Leeming <leeming@lyx.org>
6256 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6258 * converter.h: forward declare LatexRunParams.
6259 * encoding.h: remove #include "lyxrc.h".
6260 * lyxtext.h: remove #include "LColor.h".
6261 * lyxtextclass.h: remove #include "support/types.h".
6262 * trans.h: remove #include "tex-accent.h".
6263 * trans_mgr.h: remove #include "tex-accent.h".
6264 * insets/inset.h: remove #include "support/types.h", <vector>.
6265 * insets/insetcollapsable.h: remove #include "LColor.h".
6266 * insets/insetinclude.h: remove #include "dimension.h".
6267 * insets/insetlatexaccent.h: remove #include "dimension.h".
6268 * insets/insetoptarg.h:: remove #include "insettext.h".
6269 * insets/insettext.h: remove #include "dimension.h",
6270 <boost/shared_ptr.hpp>
6272 * insets/renderers.h: add #include "dimension.h".
6273 * insets/updatableinset.h: add #include "support/types.h".
6275 * many .C files: Associated changes.
6277 2003-09-06 Angus Leeming <leeming@lyx.org>
6279 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6280 one, inside testInvariant.
6282 * PrinterParams.C: new file.
6283 * PrinterParams.[Ch]: move the function bodies out of line.
6285 2003-09-06 Angus Leeming <leeming@lyx.org>
6287 * ParagraphParameters.h: forward declare ParameterStruct rather than
6288 including its header file.
6289 (depth): moved out-of-line.
6291 2003-09-06 Angus Leeming <leeming@lyx.org>
6293 * BufferView_pimpl.h:
6296 * lyxfunc.h: forward declare LyXKeySym rather than
6297 #include "frontends/LyXKeySym.h".
6299 * BufferView_pimpl.C:
6302 * lyxfunc.C: associated changes.
6304 2003-09-06 Angus Leeming <leeming@lyx.org>
6306 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6307 As a result, can remove the #include "insets/inset.h" from BufferView.h
6309 2003-09-06 Angus Leeming <leeming@lyx.org>
6311 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6312 As a result, can remove the #include "insets/inset.h" from BufferView.h
6314 2003-09-06 Angus Leeming <leeming@lyx.org>
6320 * bufferview_funcs.C:
6321 * BufferView_pimpl.C:
6326 * ParagraphParameters.C:
6331 * frontends/controllers/ControlDocument.C:
6332 * insets/insetcaption.C: rearrange the #includes into some sort of
6335 * buffer.h: remove #includes ErrorList.h, undo.h
6337 2003-09-06 Angus Leeming <leeming@lyx.org>
6339 * support/types.h: add a 'depth_type' typedef, used to store the
6340 nesting depth of a paragraph.
6343 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6344 defining explicitly.
6347 * paragraph_funcs.h:
6348 * ParagraphParameters.h:
6349 * sgml.h: use lyx::depth_type rather than Paragraph or
6350 ParameterStruct's depth_type.
6353 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6356 * BufferView_pimpl.C:
6358 * ParagraphParameters.C:
6361 * bufferview_funcs.C:
6368 * frontends/LyXView.C:
6369 * frontends/controllers/ControlDocument.C:
6370 * frontends/controllers/ControlErrorList.C:
6371 * insets/insetbibitem.C:
6372 * insets/insetbranch.C:
6373 * insets/insetcaption.C:
6374 * insets/insetcollapsable.C:
6375 * insets/insetenv.C:
6376 * insets/insetert.C:
6377 * insets/insetfloat.C:
6378 * insets/insetfoot.C:
6379 * insets/insetfootlike.C:
6380 * insets/insetnewline.C:
6381 * insets/insetquotes.C:
6382 * insets/insettabular.C:
6383 * insets/insettext.C:
6384 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6386 * frontends/controllers/ControlChanges.C: #include "changes.h".
6388 2003-09-06 Angus Leeming <leeming@lyx.org>
6390 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6391 than #including paragraph.h.
6394 * RowList.h: deleted. Superfluous.
6404 * insets/insettext.h: use ParagraphList_fwd.h rather than
6407 * paragraph.h: don't forward declare ParagraphList.
6410 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6411 rather than ParagraphList.h. paragraph.h is still needed for the
6412 Paragraph::depth_type parameters.
6414 * textcursor.h: enable it to compile stand-alone in light of the
6417 * bufferview_funcs.C:
6429 * frontends/controllers/ControlParagraph.C:
6430 * frontends/controllers/ControlTabular.C:
6431 * insets/insetmarginal.C:
6432 * insets/insetminipage.C:
6433 * insets/insetnote.C:
6434 * insets/insetoptarg.C: add header files needed to compile again.
6436 2003-09-06 Angus Leeming <leeming@lyx.org>
6438 * RowList_fwd.h: new file, forward-declaring Row rather than
6439 #including lyxrow.h.
6444 * insets/insettext.h: use it instead of RowList.h
6446 * bufferview_funcs.C:
6453 * text3.C: #include "RowList.h".
6455 2003-09-05 Angus Leeming <leeming@lyx.org>
6457 * factory.C (createInset):
6458 * vspace.C (c-tor): replace sscanf call with an istringstream.
6459 * ispell.C: re-add missing HP/UX headers.
6460 * lyxserver.C: re-add missing os2 headers.
6462 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6471 * text3.C: re-add missing system headers, needed for 2.95.2.
6473 2003-09-05 Angus Leeming <leeming@lyx.org>
6475 Changes most place everywhere due to the removal of using directives
6476 from support/std_sstream.h.
6478 2003-09-05 Angus Leeming <leeming@lyx.org>
6480 Replace LString.h with support/std_string.h,
6481 Lsstream.h with support/std_sstream.h,
6482 support/LIstream.h with support/std_istream.h,
6483 support/LOstream.h with support/std_ostream.h.
6485 Changes resulting throughout the tree.
6487 2003-09-05 Angus Leeming <leeming@lyx.org>
6489 * sgml.h: ensure that the header file can be compiled stand-alone.
6490 * *.C: strip out redundant #includes. (320 in total.)
6492 2003-09-04 Angus Leeming <leeming@lyx.org>
6494 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6495 here (from getPackages).
6497 * debug.[Ch]: add a new EXTERNAL tag.
6499 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6501 * text2.C (cursorEnd): simplify
6503 (getColumnNearX): adjust
6505 * text.C (computeBidiTables): adjust
6508 * rowpainter.C (paintChars): adjust
6509 (paintSelection): adjust
6510 (paintChangeBar): adjust
6513 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6515 (numberOfSeparators): adjust
6517 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6523 * text3.C: Restricts the mouse click functionality
6524 of insets like bibtex, include, toc and floatlist to the visible
6525 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6526 up the dialogs. Cursor has to be in front of the inset (i.e.
6527 start of row) for this to function.
6529 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6531 * bufferview_funcs.C (currentState): output row information
6533 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6535 * bufferview_funcs.C (currentState): output paragraph position
6537 2003-09-04 Angus Leeming <leeming@lyx.org>
6539 * FloatList.h: move out #include "Floating.h".
6540 * LaTeX.h: move out #include "DepTable.h".
6541 * LyXAction.h: move out #include "funcrequest.h".
6542 * buffer.h: move out #include "author.h", "iterators.h".
6543 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6544 * lyx_main.h: move out #include "errorlist.h".
6545 * lyxfunc.h: move out #include "FuncStatus.h".
6546 * lyxtext: move out #include "lyxcursor.h".
6547 * paragraph_pimpl.h: move out #include "counters.h".
6549 2003-09-03 Angus Leeming <leeming@lyx.org>
6551 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6552 preamble_snippets list, enabling us to add snippets to the preamble
6553 only if the snippet was not there already.
6555 2003-09-04 Angus Leeming <leeming@lyx.org>
6557 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6559 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6561 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6564 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6566 * BranchList.C: point fix, earlier forgotten
6568 2003-09-02 Angus Leeming <leeming@lyx.org>
6570 * box.C (contains): renamed from 'contained' after a fantastic
6573 2003-09-02 John Levon <levon@movementarian.org>
6579 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6581 2003-09-02 John Levon <levon@movementarian.org>
6583 * text2.C: simplification of cursorEnd(), including partial
6586 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6588 * buffer.C (readFile): add a space
6590 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6592 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6594 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6596 * buffer.C (readFile): new function, take a filename and a
6597 ParagraphList::iterator
6599 (readFile): adjust, make it private. don't use setStream, make
6600 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6601 always contain the filename.
6603 * BufferView.C (insertLyXFile): simplify and make it work for
6606 2003-08-30 John Levon <levon@movementarian.org>
6608 * Makefile.am: fix dist (from Kayvan)
6610 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6612 * most files: change to use const Buffer refs
6614 2003-08-27 André Pönitz <poenitz@gmx.net>
6616 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6617 on top of ownerPar().
6619 2003-08-27 John Levon <levon@movementarian.org>
6621 * funcrequest.C: properly initialise POD members
6623 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6625 * lyxtext.h (top_y): move top_y from here
6630 * BufferView_pimpl.[Ch]: to here
6631 * frontends/screen.C:
6632 * insets/insettabular.C:
6633 * insets/insettext.C: adjust
6634 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6636 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6639 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6641 2003-08-26 André Pönitz <poenitz@gmx.net>
6643 * paragraph_func.[Ch] (outerPar): new function
6646 * paragraph_funcs.C:
6647 * paragraph_funcs.h:
6648 * paragraph_pimpl.C:
6649 * text2.C: remove Inset::par_owner
6651 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6656 * text2.C: eliminates the needFullRow/display() stuff
6657 altogether, putting the logic in metrics/draw in the insets.
6659 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6661 * text2.C (redoParagraphInternal, redoParagraphs):
6662 * text.C (redoParagraph): add a call to updateRowPositions at the
6663 end of each 'metrics-like' call. Remove all others.
6664 (getRow): remove the 'y-computing' version.
6665 (getRowNearY): do not compute nor return the real y. Solve the
6666 'y < 0' problem and simplify.
6668 2003-08-22 Angus Leeming <leeming@lyx.org>
6670 * *.[Ch]: clean-up of licence and author blurbs.
6671 Also move config.h out of a few .h files and into a few .C files.
6673 2003-08-22 André Pönitz <poenitz@gmx.net>
6675 * lyxrow.[Ch]: add x_ and *fill_ members
6680 * text2.C: adjust/remove prepareToPrint() calls
6682 2003-08-22 André Pönitz <poenitz@gmx.net>
6684 * lyxrow.[Ch]: add end_ member
6686 * lyxrow_funcs.C: use LyXRow::end_
6688 * lyxtext.h (singleWidth): add LyXFont parameter
6691 * text2.C: adjust LyXText::singleWidth() calls
6693 * text.C (redoParagraph): simplify row breaking logic
6696 2003-08-19 André Pönitz <poenitz@gmx.net>
6698 * funcrequest.C: initialize button_ member
6701 * rowpainter.[Ch]: interface consolidation
6703 2003-08-18 André Pönitz <poenitz@gmx.net>
6706 * BufferView_pimpl.C:
6708 * paragraph_funcs.C:
6710 * text3.C: remove LyXScreen::draw() and fitCursor calls
6712 * BranchList.h: remove spurious semicolons
6714 * MenuBackend.C: fix branchlist related crash
6716 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6724 * bufferparams.[Ch]:
6728 * text3.C: implements the 'branch inset'
6729 idea. This allows the output of various versions of a document
6730 from a single source version, selectively outputing or suppressing
6731 output of parts of the text.
6732 This implementation contains a 'branch list editor' in a separate
6733 tab of the document settings dialog. Branches are user definable
6734 and have a "display colour" to distinguish them on-screen.
6736 ColorHandler was somewhat cleaned up.
6737 (1) make possible a dynamically growing LColor list by allowing
6738 the graphic context cache to grow along (vector);
6739 (2) eliminate an IMHO unnecessary step in colour allocation.
6741 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6743 * BufferView_pimpl.C: compile fix
6745 2003-08-15 André Pönitz <poenitz@gmx.net>
6747 * rowpainter.C: remove extra metrics calls
6749 * lyxtext.h: merge the two constructors into a single one,
6750 pass reference to owner's par list
6752 * BufferView_pimpl.C:
6756 2003-08-15 André Pönitz <poenitz@gmx.net>
6758 * lyxrow_funcs.[Ch]:
6761 * paragraph_funcs.C:
6766 * text_funcs.C: split LyXText::rowlist_ into individual
6767 Paragraph::rows_ chunks
6770 * BufferView_pimpl.[Ch]:
6773 * text3.C: remove toggleSelection()
6775 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6777 * bufferlist.C: beautify two alerts (shorter text of buttons)
6778 * buffer.C: Remove redundant ' ' from message
6780 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6781 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6782 rename VALIGN_CENTER to VALIGN_MIDDLE
6784 2003-08-11 André Pönitz <poenitz@gmx.net>
6786 * lyxtext.h (getPar):
6787 * text.C: new function
6789 2003-08-11 André Pönitz <poenitz@gmx.net>
6792 * tracer.[Ch]: remove unneeded files
6794 * InsetList.[Ch]: remove resizeInsetsLyXText()
6799 * text3.C: merge insertParagraphs() and appendParagraph()
6800 remove breakAgain(), update()
6802 * BufferView_pimpl.[Ch]:
6803 * bufferview_funcs.[Ch]:
6807 * tabular.C: adjust after text & InsetList changes.
6809 2003-08-08 André Pönitz <poenitz@gmx.net>
6811 * text.C (insertChar, backspace): replace rowlist fiddling
6812 with rebreak of full par
6815 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6816 checkParagraph, updateInset): removed
6818 2003-08-07 André Pönitz <poenitz@gmx.net>
6821 * text3.C: merge some LFUN handlers, remove dead code
6823 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6825 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6827 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6829 * text2.C (DEPM): fix part of bug 1255 and 1256
6831 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6833 * BufferView_pimpl.C (workAreaDispatch): change to use
6834 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6835 that are no mouse related.
6837 2003-08-05 André Pönitz <poenitz@gmx.net>
6840 * BufferView_pimpl.[Ch]:
6841 * bufferview_funcs.C:
6843 * text3.C: rip out "deep update"
6845 * textcursor.[Ch] (last_sel_cursor): remove unused member
6847 2003-08-04 André Pönitz <poenitz@gmx.net>
6850 * BufferView_pimpl.[Ch]:
6851 * ParagraphParameters.C:
6852 * bufferview_funcs.C:
6858 * text3.C: replace "complicated" BufferView::update(...) calls with
6861 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6863 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6865 * Makefile.am (lyx_SOURCES): add paper.h
6867 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6869 * Makefile.am: move things around so that both lyx-qt and
6870 lyx-xforms can be built (according to --with-frontend). Then lyx
6871 is a symbolic link to lyx-[firstfrontend]
6873 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6875 * Always use std::endl with lyxerr
6877 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6879 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6881 2003-08-01 André Pönitz <poenitz@gmx.net>
6884 * BufferView_pimpl.[Ch]:
6886 * text3.C: merge BufferView::repaint() and BufferView::update()
6888 2003-08-01 José Matos <jamatos@lyx.org>
6890 * buffer.[Ch]: file_format is no longer a buffer data element.
6892 2003-08-01 André Pönitz <poenitz@gmx.net>
6897 * text2.C: make redoParagraph more independent of current cursor
6899 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6901 * text2.C: remove unneeded members
6903 2003-07-30 André Pönitz <poenitz@gmx.net>
6905 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6907 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6908 create a single function...
6910 * paragraph_funcs.C (moveItem): ... here.
6913 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6915 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6917 * LColor.[Ch]: Add comment and greyedout logical colors.
6919 2003-07-30 André Pönitz <poenitz@gmx.net>
6921 * tabular.C: don't use Assert too heavily. This crashes where it
6924 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6926 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6927 is disabled (bug 1232)
6929 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6931 * factory.C: limited 'arg' scope
6933 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6935 * factory.C: fixed Note submenu issues
6937 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6939 * factory.C: submenu for Note/Comment/Greyedout
6941 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6944 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6946 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6949 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6950 greyedout. Patch provided by Jürgen Spitzmüller.
6952 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6954 * kbmap.C (read): fix error message when reading bind files
6956 2003-07-29 Angus Leeming <leeming@lyx.org>
6958 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6959 certainly does not do what it purports to do. I am doing it, and
6960 us, a favour by killing it.
6962 2003-07-28 José Matos <jamatos@lyx.org>
6964 * buffer.C (readBody, do_writeFile):
6965 * paragraph.C(readParagraph): \end_document replaces \the_end.
6967 2003-07-29 André Pönitz <poenitz@gmx.net>
6970 * BufferView_pimpl.[Ch]:
6974 * textcursor.[Ch]: remove toggleToggle & Co
6976 2003-07-28 José Matos <jamatos@fep.up.pt>
6978 * buffer.C (readParagraph):
6979 * params_func (readParToken, readParagraph):
6980 * paragraph.C (write): \layout -> \begin_layout.
6982 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6984 * lyxlex_pimpl.C (setFile): clean up slightly.
6986 * bufferparams.h: add compressed var
6988 * buffer_funcs.C (readFile): adjust for LyXLex change
6989 (newFile): ditto + simplify
6991 * buffer.C (writeFile): handle writing of compressed files
6993 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6994 Check if the file is compressed and set a bufferparm if so.
6996 * Makefile.am (lyx_LDADD): remove explicit -lz
6998 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7000 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7001 makeDocBookFile): put the real LyX version in the first line of
7005 * version.C.in: remove lyx_docversion
7007 * tabular.C (write_attribute): add a template-based version to
7008 write enums properly
7010 2003-07-28 André Pönitz <poenitz@gmx.net>
7015 * text3.C: use doubles again for x-coordinates. They are needed.
7017 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * messages.C (getLocaleDir): use lyx_localedir()
7021 * lyxlex_pimpl.C (setFile): compress stuff
7023 * buffer.C (writeFile): add some compression stuff
7024 (do_writeFile): new func, dont call expliti close... will this
7027 * Makefile.am (lyx_LDADD): add -lz
7029 2003-07-28 José Matos <jamatos@fep.up.pt>
7031 * buffer.C: increment file format.
7032 * paragraph_funcs (readParagraph, readParToken):
7033 * paragraph.C (readParagraph): add \end_layout.
7035 2003-07-27 Angus Leeming <leeming@lyx.org>
7037 * Makefile.am: remove special casing for configure-time setting of
7038 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7040 * lyx_main.C (init): remove all Jean-Marc's magic setting of
7041 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7043 2003-07-26 André Pönitz <poenitz@gmx.net>
7045 * paragraph_func.[Ch]:
7046 * paragraph.C (realizeFont): inline it whereever it is used
7051 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7054 2003-07-26 André Pönitz <poenitz@gmx.net>
7058 * text2.C: get rid of LyXText::need_break_row
7060 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7062 * toc.[Ch]: put namespace toc inside namespace lyx
7064 * MenuBackend.C (expandToc2): adjust for lyx::toc
7067 * lyxfunc.C (dispatch): adjust for lyx::find
7069 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7070 lyx::find instead. Reorganize a bit.
7071 (LyXReplace): rename to replace
7072 (LyXFind): rename to find
7074 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7077 2003-07-26 André Pönitz <poenitz@gmx.net>
7079 * text.C (setHeightOfRow): restrict scope of temporary variable
7081 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7082 code (never has been used?)
7084 2003-07-27 Asger Alstrup <alstrup@local>
7086 * text.C (fill): Optimise algorithm to exploit that we can reuse
7087 the LyXFont for many characters.
7088 (setHeightOfRow): Same thing.
7089 (rowBreakPoint): Same thing.
7091 2003-07-26 Asger Alstrup <alstrup@local>
7093 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7095 * text.C (singleWidth): Spurious font copying in hot-spot
7096 singleWidth avoided. Reorder tests for arabic for efficiency.
7098 * text.C (fill): handle empty paragraphs better.
7100 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7103 * encoding.h: add includes
7105 * lyxrc.C: remove reading of bind files
7107 * lyx_main.C (init): setup bindings and menus only if we have a
7110 * kbmap.C (read): new method. Do the actual reading of bind
7113 * converter.C (dvipdfm_options):
7116 (output): adapt PAPER_* enums.
7118 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7120 * bufferparams.h: remove paper-related enums from there
7122 * paper.h: New file. A trivial header file to hold paper-related
7123 enums. It should later expand to contain many paper-related
7126 * lyxrc.C: declare extern displayTranslator
7128 2003-07-27 José Matos <jamatos@fep.up.pt>
7130 * tabular.[Ch] (linuxdoc): add support for tables and figures
7133 2003-07-27 José Matos <jamatos@fep.up.pt>
7135 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7136 consistency in both functions.
7137 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7139 2003-07-26 Asger Alstrup <alstrup@local>
7141 * rowpainter.C (paintRows): Change algorithm to work directly on
7142 the insets rather than asking every character in the document
7143 whether its an inset.
7145 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7147 * buffer.C (openFileWrite): factorize some code
7149 2003-07-26 Angus Leeming <leeming@lyx.org>
7152 * lyx_main.[Ch]: replace occurances of system_tempdir with
7155 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7157 * rename Inset to InsetOld
7159 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7161 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7162 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7163 which I think is a bit clearer. EDIT is gone, since it was
7164 premature optimisation, and broken for mathed anyway.
7165 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7166 with cursor positioning in insets as well (math insets still do not
7167 work, but that's a different story anyway.) It mysteriously
7168 crashes sometimes with undo in the first paragraph, but I'm fairly
7169 confident that this is a compiler bug.
7171 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7173 * paragraph.C (Paragraph): adjust for new clone return type
7175 (copyIntoMinibuffer): ditto
7177 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7179 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7180 by not having a special case, and always doing a full rebreak of
7181 the document after undo.
7183 2003-07-23 Angus Leeming <leeming@lyx.org>
7185 * factory.C (createInset): InsetExternal::setParams now takes a
7188 2003-07-23 Angus Leeming <leeming@lyx.org>
7190 * factory.C (createInset): changed interface to the external and
7191 graphics mailers' string2params functions.
7193 2003-07-23 Angus Leeming <leeming@lyx.org>
7195 * factory.C (createInset): pass a
7196 Buffer const * parameter to InsetExternalMailer's string2params.
7198 2003-07-22 John Levon <levon@movementarian.org>
7200 * Thesaurus.h: include the right aiksaurus header
7202 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7204 * MenuBackend.C (expand): check menu shortcuts unconditionally
7206 2003-07-21 Angus Leeming <leeming@lyx.org>
7208 * factory.C (createInset): pass a
7209 buffer_path parameter to InsetGraphicsMailer's string2params.
7211 2003-07-21 Angus Leeming <leeming@lyx.org>
7213 * BufferView_pimpl.C (buffer):
7216 * lyxfunc.C (dispatch):
7217 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7218 rather than the grfx shortcut.
7220 2003-07-21 André Pönitz <poenitz@gmx.net>
7222 * rowpainter.C: remove unused variables
7225 * tabular_funcs.h: move to tabular.C
7226 * Makefile.am: adjust
7228 * tabular.[Ch]: basic optical cleaning
7230 * author.h: pass references, not values
7232 2003-07-18 André Pönitz <poenitz@gmx.net>
7240 * text3.C: two-phase drawing for InsetText and InsetTabular
7241 some float -> int changes.
7243 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7245 * lyx_main.C: fix the fix
7247 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7249 * lyx_main.C: fix a crash in batch mode if no files specified
7252 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7254 * format.[Ch] (papersize): moved to BufferParams
7255 * converter.[Ch] (dvips_options): moved to BufferParams
7256 (dvipdfm_options): moved to anon namespace
7257 * bufferparams.[Ch]: added above functions.
7259 2003-07-17 André Pönitz <poenitz@gmx.net>
7263 * text2.C: don't call inset->update() anymore
7265 * metricsinfo.[Ch]: add convenience constructor
7267 2003-07-16 André Pönitz <poenitz@gmx.net>
7272 * text2.C: replace the LyXCursor::irow_ member with
7273 on-demand computation of the value
7275 2003-07-16 John Levon <levon@movementarian.org>
7277 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7279 2003-07-15 André Pönitz <poenitz@gmx.net>
7282 * text2.C: remove no more needed refresh_row
7284 2003-07-15 André Pönitz <poenitz@gmx.net>
7289 * text3.C: refresh_status tristate -> need_update bool
7291 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7293 * lyxtext.h (init): remove reinit argument (act as if always true)
7294 * text2.C: adjust to that
7296 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7298 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7299 * text3.C: use it to delete selections in some cases
7300 (bugs 441, 673, 702, 954).
7302 2003-07-14 André Pönitz <poenitz@gmx.net>
7304 * rowpainter.[Ch]: reduce interface
7306 2003-07-14 André Pönitz <poenitz@gmx.net>
7308 * BufferView_pimpl.C:
7309 * text2.C: adjust after removing unused BufferView * argument
7311 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7313 * text2.C (init): fix a crash fired on resize
7315 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7317 * buffer.[Ch]: added new closing signal
7318 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7319 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7320 BufferView::Pimpl via the closing the signal
7322 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7324 * buffer.[Ch]: take out all bv-related from buffer
7326 * BufferView_pimpl.[Ch]: connect to new signals
7327 * CutAndPaste.C: removed useless asserts
7328 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7331 * lyxfunc.C: moved view-related funciontality from vc here
7332 * paragraph.C: removed outdated comments
7335 2003-07-10 André Pönitz <poenitz@gmx.net>
7337 * BufferView_pimpl.C:
7341 * text2.C: remove InsetText::InnerCache, clean up consequences
7343 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7345 * ispell.C: fix two typos in error messages
7347 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7349 * Extend Note inset to other forms of annotation like Comment
7350 and Greyedout. Right button click gives dialog.
7352 Files modified or added (+):
7356 * ControlNote.[Ch] +
7358 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7359 frontends/controllers
7363 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7365 * aspell.C: add missing namespace lyx::support
7367 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7369 * BufferView.[Ch] (newFile): Add
7370 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7371 * LaTeX.[Ch] (message): added this signal and use it
7372 * buffer.[Ch] (busy, message): added these signals and use them
7373 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7377 * importer.C: use buffer signals instead of direct bv calling
7378 * lyx_cb.[Ch] (ShowMessage): removed
7381 * paragraph_funcs.C:
7382 * text2.C: use buffer signals
7384 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7386 * introduce namespace lyx::graphics
7388 2003-07-02 André Pönitz <poenitz@gmx.net>
7390 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7392 2003-07-01 André Pönitz <poenitz@gmx.net>
7399 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7400 text*.C to text_func.C
7402 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7404 * introduce namespace lyx::support
7406 2003-06-30 André Pönitz <poenitz@gmx.net>
7411 * text.C: re-enable --with-included-string
7413 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7415 * textcursor.C: add <config.h>
7417 * text.C (getWord): remove const from word_location arg
7419 * lyxvc.C (getLogFile): fix const type order
7421 * lyxtext.h: remove const from word_location arg, add arg name
7423 * lyxlayout.h: currect type on labeltype.
7425 * importer.C: correct \file
7427 * converter.C (intToFormat): use std:: on ret val, ws changes
7429 * bufferlist.h: correct \file
7431 * buffer.C (makeLinuxDocFile): fix const type order
7432 (makeDocBookFile): ditto
7433 (fillWithBibKeys): use std:: on stdlib args.
7435 * CutAndPaste.C: fix authors.
7436 (availableSelections): use std:: on return vector
7438 2003-06-27 André Pönitz <poenitz@gmx.net>
7440 * BufferView_pimpl.C:
7441 * bufferview_funcs.C:
7449 * text3.C: remove LyXCursor::row_ member
7452 * text.C: rename fullRebreak() to partialRebreak() and implement
7453 a fullRebreak() that really bereks fully
7455 * textcursor.h: new struct for cursor-related data
7457 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7459 * lyx_main.C (LyX): get full path of document loaded on the
7462 2003-06-26 André Pönitz <poenitz@gmx.net>
7464 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7465 remove unused/broken operator>,<,>=.
7467 * text.C: remove only use of broken operator<= in an Assert().
7469 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7471 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7472 moved errorlist_.clear to showErrorList
7474 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7476 * converter.C (scanLog, runLaTeX):
7477 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7478 move the bv->showErrorList call to the callers
7479 * lyxfunc.C: i.e. here...
7481 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7482 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7483 namespace, the second to...
7484 * buffer_funcs (BufferFormat, parseErrors): added
7485 * errorlist.C (ErrorList(TeXErrors const &)): removed
7487 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7489 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7491 2003-06-24 "Garst R. Reese" <reese@isn.net>
7495 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7497 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7499 * version.C.in: change docversion to 1.4
7501 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7503 * buffer.C: fix a bug just introduced
7505 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7507 * buffer.[Ch]: added the parseError signal and use it, removed
7509 * BufferView.[Ch] (addError): moved to ...
7510 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7511 to the Buffer::parseError signal to catch (guess what) parse errors
7512 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7514 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7516 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7517 ability to create a buffer and to return an existing one from
7518 the list. Moved these functions to...
7519 * buffer_funcs.[Ch]: added
7520 * BufferView.[Ch] (loadLyXFile): added
7521 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7522 job removed from bufferlist::loadLyXFile.
7523 * buffer.C (setReadOnly): make it work without view
7524 (i.e added an if (users))
7526 2003-06-19 Angus Leeming <leeming@lyx.org>
7529 * LyXAction.C (init):
7530 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7531 with LFUN_DIALOG_SHOW <name> <data>.
7533 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7535 * CutAndPaste.C (availableSelections): small compilation fix for
7536 ancient (gcc 2.9x) compilers
7538 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7540 * text3.C (cursorNext): add tmp var
7542 * text2.C (updateCounters): for function calling out of for clause
7543 (replaceSelectionWithString): ditto
7544 (insertStringAsParagraphs): ditto
7545 (getColumnNearX): add tmp var
7546 (setCursorFromCoordinates): add tmp var
7547 (cursorDownParagraph): add tmp var
7548 (deleteEmptyParagraphMechanism): add tmp var
7550 * text.C (insertChar): add tmp var
7552 * rowpainter.C (paintDepthBar): add tmp var
7554 * CutAndPaste.C (availableSelections): potentially check all
7555 paragraphs in a cut to fill the shown strings.
7557 2003-06-18 André Pönitz <poenitz@gmx.net>
7559 * kbmap.[Ch]: use vector<> instead of list<>
7561 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7563 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7564 pasteSelection with index
7566 * text2.C (pasteSelection): modify, call pasteSelection with index
7568 * paragraph.C (asString): reimplement version with no interval to
7569 call the one with interval.
7571 * lyxtext.h: add index arg to pasteSelection
7573 * MenuBackend.C (MenuItem): handle PasteRecent
7574 (Menu::read::Menutags): add md_pasterecent
7576 (expandPasteRecent): new function
7579 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7581 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7583 (availableSelections): new function
7585 2003-06-17 Angus Leeming <leeming@lyx.org>
7587 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7589 2003-06-17 Angus Leeming <leeming@lyx.org>
7592 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7594 * lyxfunc.C (dispatch): invoke it.
7596 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7598 * iterators.C (operator++, ParPosition): reintroduce some
7599 const_cast for the benefit of older compilers.
7601 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7603 * text3.C (dispatch): do not modify clipboard when doing
7604 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7605 LFUN_DELETE_SKIP on a selection selection
7607 2003-06-16 André Pönitz <poenitz@gmx.net>
7613 * tabular.[Ch]: IU of clone() and getLabelList();
7615 2003-06-13 André Pönitz <poenitz@gmx.net>
7617 * tabular.h: compactification
7619 2003-06-12 André Pönitz <poenitz@gmx.net>
7623 * tabular_funcs.h: some renaming plus whitespace
7625 2003-06-12 André Pönitz <poenitz@gmx.net>
7628 * BufferView_pimpl.C:
7634 * toc.C: Return a Paragraph & for ParIterator::operator*()
7636 2003-06-11 John Levon <levon@movementarian.org>
7640 * ToolbarBackend.C: add "Toolbars" section and
7643 2003-06-10 Angus Leeming <leeming@lyx.org>
7646 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7648 * lyxfunc.C (dispatch): invoke it.
7650 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7652 * main.C: protect <ios> with HAVE_IOS
7653 (main): protect sync_with_stdio with HAVE_IOS
7655 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7657 * text2.C (cutSelection): adjust
7658 (pasteSelection): adjust
7660 * messages.C: handle get of empty string
7662 * main.C (main): use sync_with_stdio(false)
7664 * lyxfunc.C (dispatch): adjust
7666 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7667 (WriteAs): remove unneeded BufferView arg.
7669 * bufferparams.h: use correct types on papersize, papersize2 and
7672 * bufferparams.C (readToken): adjust for type
7673 (writeLaTeX): add missing cases to switch.
7675 * bufferlist.C (quitWriteBuffer): adjust
7678 * buffer.C (asciiParagraph): remove some commented code.
7680 * CutAndPaste.C: remove current_view extern variable.
7681 (cutSelection): add BufferParams arg.
7682 (eraseSelection): add BufferParams arg.
7683 (pasteSelection): add Buffer const & arg
7685 2003-06-07 John Levon <levon@movementarian.org>
7688 * paragraph_funcs.C:
7689 * paragraph_pimpl.C:
7693 * paragraph.C: allow InsetERT to freely space lines,
7694 and some consolidation of code
7696 2003-06-06 José Matos <jamatos@fep.up.pt>
7698 * buffer.C (makeDocBookFile): fix bug #821
7700 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7702 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7704 2003-06-04 Angus Leeming <leeming@lyx.org>
7706 * buffer.C: bump format to 224.
7708 2003-06-05 André Pönitz <poenitz@gmx.net>
7710 * text2.C (redoParagraphs): remove two const_cast<>
7712 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7714 * ParagraphList.h: remove last remnants of NO_STD_LIST
7716 2003-06-03 Angus Leeming <leeming@lyx.org>
7718 * factory.C (createInset): small change to the way InsetExternal's params
7721 2003-06-04 André Pönitz <poenitz@gmx.net>
7723 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7725 * paragraph_pimpl.h:
7726 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7728 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7730 * undo_funcs.C: make some simple cases of undo work again
7732 2003-06-03 John Levon <levon@movementarian.org>
7734 * ispell.C: HPUX doesn't have sys/select.h
7737 2003-06-03 John Levon <levon@movementarian.org>
7739 * CutAndPaste.C: update tabular and include inset
7744 * paragraph.C: remove owningBuffer(), don't pass Buffer
7747 * factory.C: insetGraphicsParams changed
7749 2003-06-02 John Levon <levon@movementarian.org>
7755 * text3.C: remove insetparent
7757 2003-06-02 John Levon <levon@movementarian.org>
7760 * buffer.C: fix inset_iterator.end(), move out of line
7763 2003-06-01 John Levon <levon@movementarian.org>
7765 * text3.C: use a proper cut/paste when doing inset
7766 insert (from Jürgen Spitzmüller)
7768 2003-06-01 John Levon <levon@movementarian.org>
7770 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7772 2003-05-30 André Pönitz <poenitz@gmx.net>
7774 * rowpainter.C: unify second drawing phase
7776 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7778 * trans_mgr.C: remove one case of current_view
7780 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7782 * paragraph_funcs.h: remove paragraph.h include
7784 * paragraph.h: delete NO_STD_LIST stuff
7786 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7788 * buffer.h: remove paragraph.h include
7790 * ParagraphList.C: delete file
7792 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7794 * toc.C (getTocList): adjust
7796 * paragraph_pimpl.C (validate): adjust
7798 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7800 * paragraph.C (Paragraph): adjust
7801 (getPositionOfInset): use const_iterator, adjust
7802 (bibitem): use const_iterator, adjust
7803 (setInsetOwner): adjust
7805 * iterators.C (operator++): adjust
7807 * InsetList.[Ch]: Replace selfmade iterator with standard
7808 vector::iterator also introduce const_iterator. Remove getPos,
7809 getInset and setInset from InsetTable. Adjust accordingly.
7811 * BufferView.C (lockInset): adjust
7812 (ChangeInsets): adjust
7814 * tabular.[Ch]: delete commented same_id functions
7816 2003-05-28 John Levon <levon@movementarian.org>
7818 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7820 2003-05-28 André Pönitz <poenitz@gmx.net>
7822 * metricsinfo.[Ch]: remove 'fullredraw' member
7824 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7826 * lyxtextclass.C (operator): remove caching.
7828 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7832 * text2.C (cursorBottom): adjust
7833 (setCounter): use ParagraphList::find, adjust
7835 * text.C (workWidth): use ParagraphList::find, adjust
7837 * lyxcursor.C (LyXCursor): adjust
7839 * buffer.C (inset_iterator): adjust
7841 * ParagraphList.h: make iterator(value_type) private, make
7842 ParagraphList a friend of iterator.
7844 * ParagraphList.C (find): new function
7846 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7848 2003-05-27 André Pönitz <poenitz@gmx.net>
7850 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7852 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7854 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7856 2003-05-26 John Levon <levon@movementarian.org>
7858 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7860 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7862 * remove same_id from function signatures, adjust.
7864 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7866 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7868 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7870 * paragraph.C (Paragraph): get rid of same_ids parameter
7872 * ParagraphList.C (insert): adjust
7875 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7877 * paragraph_funcs.C (breakParagraph): adjust
7878 (breakParagraphConservative): adjust
7880 * buffer.C (readParagraph): adjust
7882 * ParagraphList.C (insert): take a reference instead of a pointer
7885 * paragraph.[Ch] (id): new function
7887 * bufferlist.C (newFile): adjust
7889 * ParagraphList.C (ParagraphList): adjust
7891 (push_back): take a reference instead of a pointer.
7893 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7895 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7898 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7899 set else use old code.
7901 * ParagraphList.C: remove all NO_NEXT code and only compile this
7902 code of NO_STD_LIST is set.
7904 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7906 * BufferView_pimpl.C:
7916 * graphics/GraphicsConverter.C:
7917 * graphics/PreviewLoader.C: header adjustment
7919 2003-05-23 Angus Leeming <leeming@lyx.org>
7921 * LaTeXFeatures.[Ch] (useBabel): new method.
7922 * bufferparams.C (writeLaTeX): use it.
7924 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7926 * ParagraphList.h (set): remove unused function.
7928 2003-05-23 André Pönitz <poenitz@gmx.net>
7931 * BufferView_pimpl.C:
7935 * undo_funcs.C: setUndo reworked
7937 * iterators.[Ch]: add access to topmost ParagraphList
7939 * lyxtext.[Ch] (workWidth): add a const
7941 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7943 * texrow.[Ch] (increasePos): remove function
7944 * exporter.C (export): removed unused var and outdated comment
7946 2003-05-23 Angus Leeming <leeming@lyx.org>
7948 * latexrunparams.h: rename fragile as moving_arg.
7949 * paragraph.C (simpleTeXOnePar): ditto.
7950 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7952 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7954 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7956 (textUndoOrRedo): comment out a currently unused var.
7958 * paragraph.h (NO_NEXT): enable NO_NEXT
7960 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7962 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7964 * exporter.C (Export): adjust for removeAutoInsets removal.
7966 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7968 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7970 * BufferView.[Ch] (removeAutoInsets): delete function
7972 2003-05-22 Angus Leeming <leeming@lyx.org>
7974 * latexrunparams.h: add a free_spacing variable.
7976 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7977 to pass moving_arg, as the data is stored in runparams.fragile.
7979 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7980 to Inset::latexOptional or to simpleTeXOnePar.
7982 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7983 free_spacing arg to Inset::latexOptional.
7985 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7988 2003-05-22 Angus Leeming <leeming@lyx.org>
7990 * latexrunparams.h: add fragile and use_babel variables.
7992 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7993 * buffer.C (makeLaTeXFile): store this returned value in
7994 runparams.use_babel, thus passing it to the inset::latex methods.
7996 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7997 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7999 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8000 longer has a fragile arg, as it is stored in runparams.fragile.
8002 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8003 moving_arg parameter as the data is stored in runparams.fragile.
8005 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8006 a fragile parameter as the data is stored in runparams.fragile.
8008 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8010 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8012 2003-05-22 Angus Leeming <leeming@lyx.org>
8014 * latexrunparams.h: add a 'bool nice' which defaults to false.
8016 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8017 now encapsulated within runparams.
8019 * bufferlist.C (updateIncludedTeXfiles):
8020 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8022 2003-05-22 Angus Leeming <leeming@lyx.org>
8024 * latexrunparams.h: new file containing struct LatexRunParams.
8025 * Makefile.am: add new file.
8027 * LaTeX.[Ch] (c-tor, run):
8028 * buffer.[Ch] (makeLaTeXFile):
8029 * bufferlist.[Ch] (updateIncludedTeXfiles):
8030 * converter.C (convert, scanLog):
8031 * converter.[Ch] (runLaTeX):
8032 * exporter.C (Export):
8033 * paragraph.[Ch] (simpleTeXOnePar):
8034 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8035 * paragraph_funcs.[Ch] (latexParagraphs):
8036 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8037 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8038 pass around a LatexRunParams parameter.
8040 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8042 * paragraph.[Ch]: remove unused constructor
8044 * ParagraphList.C (erase): new function, taking two iterators
8046 2003-05-22 André Pönitz <poenitz@gmx.net>
8048 * undo_funcs.C: remove duplicated code
8050 * iterator.[Ch]: operator=
8052 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8054 * tabular.C (SetMultiColumn): ws changes
8056 * rowpainter.C (paintFirst): get rid of a ->previous
8058 * lyx_cb.C (getPossibleLabel): parlist simplification
8060 * BufferView.C (ChangeInsets): simplify slightly.
8062 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8064 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8065 * lfuns.h: new LFUN_SPACE
8066 * lyxfunc.C: protected space has a new lfun
8067 * paragraph_funcs.C: read new space insets
8069 * factory.C: handle new space insets
8071 2003-05-22 André Pönitz <poenitz@gmx.net>
8074 * BufferView_pimpl.C:
8077 * undo_funcs.C: return a ParIterator from getParFromID.
8079 * iterators.[Ch]: add two const's
8081 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8083 * toc.C (getTocList): adjust
8085 * iterators.[Ch]: rework for parlist
8087 * buffer.C (par_iterator_begin): adjust
8088 (par_iterator_end): adjust
8090 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8092 * BufferView.C (removeAutoInsets): adjust
8093 (ChangeInsets): adjust
8095 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8097 * text.C (top_y): fix bug 1110
8099 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8101 * errorlist.[Ch]: added
8104 * BufferView_pimpl.C:
8105 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8108 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8110 * Makefile.am: ensure that lyx is relinked upon changes to the
8111 various "convenience" libs.
8113 2003-05-20 Angus Leeming <leeming@lyx.org>
8115 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8116 files are compiled in alphabetical order again.
8118 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8120 2003-05-19 Angus Leeming <leeming@lyx.org>
8122 * gettext.[Ch]: remove "char const * _(char const *)".
8124 2003-05-19 André Pönitz <poenitz@gmx.net>
8126 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8135 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8137 2003-05-19 André Pönitz <poenitz@gmx.net>
8141 * lyxtextclass.[Ch]:
8143 * paragraph_funcs.[Ch]:
8145 * text3.C: more insetenv work
8147 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8149 * ParagraphParameters.C (params2string): small bug fixed
8151 2003-05-16 André Pönitz <poenitz@gmx.net>
8154 * bufferview_funcs.C: patch from Kornel Benko to prevent
8155 crash when _(...) is called twice in a statement
8157 2003-05-16 André Pönitz <poenitz@gmx.net>
8164 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8166 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8168 * lyx_main.C (init): remove spurious static_cast
8170 2003-05-14 André Pönitz <poenitz@gmx.net>
8172 * BufferView.C: fix format string
8174 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8176 * BufferView.[Ch] (insertErrors): removed
8177 * BufferView.[Ch] (showErrorList): added
8178 * buffer.C (runChkTeX):
8179 * converter.C (scanLog): call showErrorList instead of inserterrors
8181 2003-05-13 André Pönitz <poenitz@gmx.net>
8183 * BufferView_pimpl.C:
8185 * bufferview_func.C:
8192 * tabular_funcs.h: tostr() from its own header
8194 * ParagraphParameters.C:
8199 * text3.C: STRCONV()
8201 2003-05-12 André Pönitz <poenitz@gmx.net>
8204 * BufferView_pimpl.C:
8208 * ParagraphParameters.C:
8212 * bufferview_funcs.C:
8225 * paragraph_funcs.C:
8229 * text3.C: boost::format -> bformat all over the place
8232 2003-05-09 André Pönitz <poenitz@gmx.net>
8234 * LColor.[Ch]: Pimpl the #include <map> away
8236 2003-05-09 John Levon <levon@movementarian.org>
8238 * bufferlist.C: never remove emergency saves
8240 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8242 * Makefile.am: better lib building
8244 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8248 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8249 (simpleTeXSpecialChars): adjust
8250 (simpleTeXSpecialChars): adjust
8251 * paragraph.C (simpleTeXOnePar): adjust
8252 * buffer.C (makeLaTeXFile): adjust
8254 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8256 * text2.C (changeDepth): parlist cleanup
8257 (getColumnNearX): ditto
8259 * rowpainter.C (getLabelFont): parlist cleanup
8261 * bufferlist.C (newFile): parlist cleanup
8263 * CutAndPaste.C (eraseSelection): parlist cleanup
8265 * BufferView_pimpl.C (trackChanges): parlist cleanup
8268 * BufferView.C (lockInset): parlist cleanup.
8269 (ChangeInsets): ditto
8271 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8273 * CutAndPaste.h: Update file header.
8275 * CutAndPaste.C: Update file header.
8276 Store the parts cut out of the Document in a limited_stack.
8277 (copySelection): adjust
8278 (pasteSelection): new function, takes the index in the limited stack.
8279 (nrOfParagraphs): adjust
8280 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8281 simplify error inset insertion.
8282 (checkPastePossible): adjust
8284 2003-05-06 John Levon <levon@movementarian.org>
8286 * text2.C: don't cast wrap inset to float
8288 2003-05-05 André Pönitz <poenitz@gmx.net>
8291 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8293 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8294 few naked Paragraph *.
8296 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8298 * bufferparams.C: Output warning if a document with missing
8299 TeX document class is loaded
8300 * exporter.C: Disable TeX exports if the document class is missing
8303 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8304 isTeXClassAvailable()
8306 2003-05-03 John Levon <levon@movementarian.org>
8309 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8310 explicit cursor show/hide
8312 * BufferView_pimpl.h:
8313 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8314 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8316 * lyxfunc.C: hide cursor before dispatching.
8321 * text3.C: remove explicit cursor hides
8323 2003-05-02 André Pönitz <poenitz@gmx.net>
8325 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8328 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8331 * text2.C: tiny whitespace
8333 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8335 * undo_funcs.C: almost only ws changes.
8337 * ParagraphList.C (splice): just return if pl is empty.
8339 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8341 * ParagraphList.C (splice): new function.
8343 * CutAndPaste.C (pasteSelection): use it
8345 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8347 * CutAndPaste.C (pasteSelection): remove the last next and
8348 previous from this file.
8350 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * CutAndPaste.C (pasteSelection): more clean up, user proper
8353 ParagraphList functions for pasteing.
8355 * ParagraphList.C (insert): new function, three arg insert
8357 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8359 * ParagraphList.C (insert): new function, three arg insert
8361 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8364 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8366 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8368 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8370 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8372 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8374 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8375 (copySelection): clean up a bit.
8376 (pasteSelection): use make_pair
8378 * ParagraphList.C (ParagraphList): implement copy constructor
8379 (operator=): implement, base on copy constructor.
8382 * paragraph.C (erase): return a bool
8384 * paragraph_pimpl.C (erasePos): remove function, move contents...
8385 (erase): ... here. Return a bool.
8386 (erase): call erase instead of erasePos.
8388 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8390 * ParagraphList.h: define PitPosPair
8391 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8392 ParagraphList, fix a bug on pasting multiple pars
8393 * text2.C: change interface to C&P
8395 2003-04-30 André Pönitz <poenitz@gmx.net>
8397 * undo_func.C: revert part of yesterday's patch 2
8399 2003-04-30 John Levon <levon@movementarian.org>
8401 * LColor.C: s/tabular/table/
8403 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8405 * text3.C (dispatch): do not convert iterator -> pointer
8406 * undo_funcs.C (setCursorParUndo): ditto
8407 * text_funcs.C (transposeChars): ditto
8409 * text2.C (setLayout): ws changes only
8411 * text.C (breakParagraph): do not convert iterator -> pointer
8413 (acceptChange): ditto
8414 (rejectChange): ditto
8419 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8422 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8424 * text3.C (gotoInset): YABG (yet another bad getChar)
8426 2003-04-29 André Pönitz <poenitz@gmx.net>
8428 * paragraph.h: make operator= private unimplemented as long as
8431 * ParagraphList.C: whitespace
8434 * paragraph_pimpl.[Ch]:
8435 * paragraph_funcs.C:
8437 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8440 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8442 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8444 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8445 * paragraph.[Ch] (erase):
8446 * paragraph_pimpl.[Ch] (erase): change return type and value
8447 * text2.C (cutSelection): some rework
8449 2003-04-28 John Levon <levon@movementarian.org>
8451 * bufferlist.C: changes for unsaved changes dialog
8453 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8455 * bufferlist.C (newFile): set language (messages_) for new
8458 * buffer.C (readFile): ws changes only.
8460 2003-04-28 André Pönitz <poenitz@gmx.net>
8465 * BufferView_pimpl.C:
8466 * BufferView.C: getParFromID related ParagraphList::iterator changes
8468 2003-04-28 André Pönitz <poenitz@gmx.net>
8470 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8473 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8475 * messages.C: remove one more localedir class variable.
8477 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8479 * messages.C (getLocaleDir): singleton generation function
8481 (Messages): add a default constructor.
8483 * main.C (main): do not setup localedir here, do not call
8486 * gettext.C (_): use it.
8487 (gettext_init): delete funciton
8489 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8491 * gettext.C (getLyXMessages): new singleton generating function.
8493 * buffer.C (updateDocLang): adjust
8495 * Makefile.am (messages.o): add target
8496 (main.o): remove target
8498 2003-04-27 John Levon <levon@movementarian.org>
8503 * lyxvc.C: specify cancel button in Alert::prompt
8505 2003-04-26 John Levon <levon@movementarian.org>
8510 * LyXAction.C: add LFUN_INSET_SETTINGS
8512 * lyxfunc.C: don't enable tabular-feature when there's
8513 just any locking inset
8515 2003-04-26 John Levon <levon@movementarian.org>
8517 * bufferlist.C: re-add Cancel to buffer close question
8519 * lyxfunc.C: fix import UI a bit
8521 2003-04-25 John Levon <levon@movementarian.org>
8523 * gettext.C: remove the broken asserts for now
8525 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8527 * messages.C: make case where setlocale cannot comply work better.
8529 * buffer.C (updateDocLang): new function
8530 (changeLanguage): use it
8533 * text2.C (setCounter): use B_ a bit.
8535 * lyxlayout.C (Read): be sure to trim the label strings.
8537 * messages.C (Messages): fix typo in comment
8539 * buffer.C (readFile): set message_ after file is loaded.
8540 (makeDocBookFile): remove double return
8541 (changeLanguage): reset message_ upon language change.
8542 (B_): new func, use this to get translated buffer strings.
8544 * main.C: add myself and Jean Marc as authors.
8546 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8548 * messages.[hC]: pimplify Messages, and three different pimpls to be
8549 used in different circumstances.
8551 * gettext.[Ch]: change for use with new message code.
8553 2003-04-24 André Pönitz <poenitz@gmx.net>
8555 * factory.C: support for eqref
8557 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8559 * messages.[Ch]: add missing char
8561 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8563 * messages.[Ch]: New files
8565 2003-04-18 John Levon <levon@movementarian.org>
8569 * BufferView_pimpl.C:
8573 * text2.C: remove layout-copy/paste (bug 778)
8575 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8577 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8579 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8581 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8582 if they succeed. Act accordingly.
8584 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8586 * text2.C (setCharFont): adjust
8587 (setCounter): adjust
8588 (insertStringAsLines): adjust
8590 * text.C (leftMargin): adjust
8591 (setHeightOfRow): adjust
8593 * rowpainter.C (paintFirst): adjust
8596 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8598 (isFirstInSequence): ditto
8599 (getEndLabel): ditto
8602 * paragraph.C (getParLanguage): comment out some hard stuff.
8604 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8606 (simpleDocBookOnePar): ditto
8607 (makeDocBookFile): use ParagraphList::iterator
8609 * CutAndPaste.C (pasteSelection): adjust
8611 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8613 * text2.C (getFont): adjust
8614 (getLayoutFont): adjust
8615 (getLabelFont): adjust
8617 * paragraph_funcs.C (TeXOnePar): adjust
8619 * buffer.C (simpleLinuxDocOnePar): adjust
8620 (simpleDocBookOnePar): adjust
8622 * CutAndPaste.C (pasteSelection): adjust
8624 * BufferView.C (getEncoding): adjust
8626 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8628 2003-04-16 John Levon <levon@movementarian.org>
8630 * lyxfind.C: use parlist stuff for search/changes
8632 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8634 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8636 * text2.C (deleteEmptyParagraphMechanism): adjust
8638 * text2.[Ch] (ownerParagraph): delete func (both of them
8640 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8642 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8644 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8646 * ParagraphList.C: prepare for NO_NEXT
8648 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8650 * text2.C (getFont): adjust
8651 (getLayoutFont): adjust
8652 (getLabelFont): adjust
8654 * paragraph.C (getFont): adjust
8655 (getLabelFont): adjust
8656 (getLayoutFont): adjust
8658 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8660 2003-04-15 John Levon <levon@movementarian.org>
8664 * lyx_main.C: handle Include in .ui files
8666 2003-04-15 John Levon <levon@movementarian.org>
8668 * MenuBackend.C: make the doc files length shorter
8671 * ToolbarBackend.C: handle toolbar placement flags,
8674 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8676 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8679 * paragraph_funcs.C (TeXOnePar): adjust
8681 * paragraph.C (getLabelFont): add outerfont arg, adjust
8682 (getLayoutFont): ditto
8683 (simpleTeXOnePar): adjust
8685 * paragraph_pimpl.C (realizeFont): delete func
8687 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8689 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8690 row argument, constify cur argument.
8692 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8694 * text2.C (getFont): adjust
8695 (getLayoutFont): adjust
8696 (getLabelFont): adjust
8698 * paragraph_funcs.C (TeXOnePar): adjust
8699 (outerFont): new func...
8700 (realizeFont): ...moved out from here, changed this to facilitate
8703 * paragraph.C (getFont): take outerfont as arg, adjust
8704 (simpleTeXOnePar): add outerfont arg, adjust
8706 * buffer.C (simpleLinuxDocOnePar): adjust
8707 (simpleDocBookOnePar): adjust
8709 * CutAndPaste.C (pasteSelection): adjust
8711 * BufferView.C (getEncoding): adjust
8713 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8715 * text2.C (setCharFont): adjust
8716 (setCounter): adjust
8718 * text.C (leftMargin): adjust
8719 (setHeightOfRow): adjust
8721 * rowpainter.C (paintFirst): adjust
8724 * paragraph_pimpl.C (realizeFont): adjust
8726 * paragraph.C (isFirstInSequence): move from here...
8727 * paragraph_funcs.C (isFirstInSequence): ...to here
8729 * paragraph.C (outerHook): move from here...
8730 * paragraph_funcs.C (outerHook): ...to here
8732 * paragraph.C (depthHook): move from here...
8733 * paragraph_funcs.C (depthHook): ...to here
8735 * paragraph.C (getEndLabel): move from here...
8736 * paragraph_funcs.C (getEndLabel): ...to here
8738 * text2.C (realizeFont): move from here...
8739 * paragraph_funcs.C (realizeFont): ...to here
8741 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8743 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8745 2003-04-14 Angus Leeming <leeming@lyx.org>
8747 * LColor.[Ch]: scrap LColor mathcursor.
8749 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8751 * lyxlex.[Ch] (text): delete function
8752 * trans.C (Load): adjust
8753 * paragraph_funcs.C (readParToken): adjust
8755 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8757 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8758 vector<char> instead of a char[].
8760 * lyxlex_pimpl.C (getString): adjust
8762 (lex): use getString
8766 * lyxlex.C (text): use pimpl_->getString()
8770 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8772 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8773 (makeFontEntriesLayoutSpecific): temp var for par.size()
8774 (setLayout): temp var for ownerParagraphs().end()
8775 (fullRebreak): temp var for rows().end()
8776 (selectionAsString): temp var for boost::next(startpit), realize
8777 that the while really is a regular for loop.
8778 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8779 setCursor in one place.
8780 (setParagraph): temp vr for ownerParagraphs().end()
8781 (updateCounters): make the while loop a for loop
8782 (cutSelection): temp var for ownerParagraphs().end()
8783 (updateInset): make the do {} while() a regular for loop
8784 (getCursorX): use temp vars
8785 (setCurrentFont): use temp vars
8786 (getColumnNearX): use temp vars
8788 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8790 * text.C (transformChar): use temp var for getChar
8791 (computeBidiTables): use temp var for row->par()
8792 (fill): move temp vars for row->par() and pit->layout() earlier in
8794 (labelFill): use temp var for row->par()
8795 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8796 asc and desc, realize that pit never changes and that firstpit is
8797 just a duplicate and not needed. Exchange rit->par() with pit in a
8799 (breakAgain): use a temp var for boost::next(rit)
8800 (breakAgainOneRow): ditto
8801 (breakParagraph): use a temp var for rows().begin()
8802 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8803 (cursorRightOneWord): use temp var for cursor.par() and
8804 cursor.pos(), remove usage of tmpcursor.
8805 (cursorLeftOneWord): use temp var for cursor.par() and
8806 cursor.pos() only set cur at end of function.
8808 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8810 * text.C, text2.C: exchange all usage of Paragraph::next with
8811 boost::next(ParagraphList::iterator)
8813 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8815 * text2.C (cursorTop): simplify implementation
8816 (cursorBottom): ditto
8817 (setParagraph): use ParagraphList::iterator
8818 (setCurrentFont): adjust
8819 (getColumnNearX): adjust
8820 (cursorRight): adjust
8821 (cursorLeft): remove usage of Paragraph::previous
8822 (cursorUpParagraph): ditto
8823 (deleteEmptyParagraphMechanism): slight cleanup
8825 * text.C (isBoundary): take a Paragraph const & instead of a
8827 (addressBreakPoint): ditto
8828 (leftMargin): remove usage of Paragraph::previous.
8829 (setHeightOfRow): ditto
8830 (cursorLeftOneWord): ditto
8831 (selectNextWordToSpellcheck): ditto
8834 (breakParagraph): remove one usage of Paragraph::next
8835 (redoParagraph): ditto
8836 (acceptChange): ditto
8837 (insertChar): adjust
8838 (rowBreakPoint): adjust
8840 * bufferview_funcs.C (toggleAndShow): adjust
8842 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8844 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8845 methods to access it.
8847 * text.C: Added updateRowPositions to compute all row positions.
8848 Make top_y and getRowNearY() to use the cached y position
8850 2003-04-11 John Levon <levon@movementarian.org>
8852 * text.C (rowBreakPoint): reintroduce the labelEnd
8853 checks, code copied from the row fill stuff. Deep voodoo.
8855 * text.C (fill): add a comment and debugging for the
8858 2003-04-11 John Levon <levon@movementarian.org>
8860 * text.C: make sure fullrow insets get wrapped to the next line,
8861 even when they're in a manual label
8863 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8865 * text2.C (insertParagraph): make it take ParagraphList::iterator
8867 (setLayout): make it return ParagraphList::iterator
8868 (redoParagraphs): ditto
8870 (checkParagraph): ditto
8872 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8874 * text2.C: adjust several funcs.
8875 (realizeFont): take a ParagraphList::iterator as arg.
8876 (getLayoutFont): ditto
8877 (getLabelFont): ditto
8878 (setCharFont): ditto
8880 * text.C: adjust several funcs.
8882 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8884 * text.C (selectNextWordToSpellcheck): don't accidentally
8887 2003-04-10 John Levon <levon@movementarian.org>
8889 * ToolbarBackend.C (getIcon): special handling for
8892 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8894 * text2.C (cursorRight): a getChar assert fixed
8896 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8898 * text2.C (getFont): change to take a ParagraphList::iterator
8899 instead of Paragraph*
8900 Adjust several functions.
8902 * text.C (transformChar): change to take a ParagraphList::iterator
8903 instead of Paragraph*
8904 (singleWidth): ditto
8905 Adjust several functions.
8907 * rowpainter.C: adjust several functions
8908 * rowpainter.h:store a ParagraphList::iterator and not a
8912 2003-04-09 John Levon <levon@movementarian.org>
8917 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8918 and the "help" bits as well
8920 2003-04-09 John Levon <levon@movementarian.org>
8923 * ToolbarBackend.C: allow multiple toolbars
8925 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8927 * undo_funcs.C (setCursorParUndo): adjust
8929 * text_funcs.C (transposeChars): adjust
8931 * text3.C (gotoNextInset): adjust
8934 * text2.C (setLayout): adjust
8935 (changeDepth): adjust
8937 (redoParagraphs): adjust
8938 (selectionAsString): adjust
8939 (setParagraph): adjust
8940 (insertInset): adjust
8941 (cutSelection): adjust
8942 (copySelection): adjust
8943 (pasteSelection): adjust
8944 (insertStringAsLines): adjust
8945 (updateInset): adjust
8946 (setCursor): change to take a ParagraphList::iterator parameter
8947 (setCursorIntern): change to take a ParagraphList::iterator parameter
8948 (setCurrentFont): adjust
8949 (cursorLeft): adjust
8950 (cursorRight): adjust
8951 (deleteEmptyParagraphMechanism): adjust
8953 * text.C (breakParagraph): adjust
8954 (insertChar): adjust
8955 (acceptChange): adjust
8956 (rejectChange): adjust
8957 (selectNextWordToSpellcheck): adjust
8958 (changeCase): adjust
8962 * lyxfind.C (SearchForward): adjust
8963 (SearchBackward): adjust
8964 (nextChange): adjust
8966 * lyxcursor.C (par): adjust
8968 * lyxcursor.h: store a ParagraphList::iterator instead of a
8971 * lyx_cb.C (getPossibleLabel): adjust
8973 * bufferview_funcs.C (toggleAndShow): adjust
8975 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8978 * BufferView.C (removeAutoInsets): adjust
8979 (lockedInsetStoreUndo): adjust
8981 2003-04-09 John Levon <levon@movementarian.org>
8983 * ToolbarBackend.C: try icon without argument
8984 if with argument fails
8986 2003-04-08 John Levon <levon@movementarian.org>
8989 * ToolbarBackend.C: add getIcon(), handle tooltip,
8990 and change from "Icon" to "Item".
8992 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8994 * BufferView.C (lockInset): another bad getchar crunched
8996 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8998 * text2.C (changeDepth): do not setUndo on test_only (make undo work
9001 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
9003 * lyxfind.C (searchForward, searchBackwards): bug 782
9005 2003-04-07 John Levon <levon@movementarian.org>
9007 * paragraph.C: remove dead comment
9009 * text.C: remove troublesome depth-fiddling code
9010 in leftMargin() and rightMargin() (bug 1017)
9012 * text.C: fix breaking of rows in nested lists
9015 * text2.C (updateCounters): fix up depth values
9018 2003-04-07 John Levon <levon@movementarian.org>
9020 * BufferView_pimpl.C: clear message when doc finishes resizing,
9021 and after a mouse event
9023 * lyxfunc.C: clear message after exiting inset
9025 2003-04-07 John Levon <levon@movementarian.org>
9027 * bufferview_funcs.C: show math status not outside
9028 status in the statusbar
9030 2003-04-07 John Levon <levon@movementarian.org>
9032 * lyxfunc.C: note status changed after a depth change
9034 2003-04-04 Angus Leeming <leeming@lyx.org>
9036 * LaTeX.h: move AuxInfo operator==, != out of line.
9037 Remove LaTeX virtual destructor; nothing derives from it.
9038 Move operator()() out of public area and rename it startscript().
9039 Change protected for private.
9041 2003-04-04 Angus Leeming <leeming@lyx.org>
9044 * text2.C: remove unneeded #includes.
9046 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9048 * text2.C (dEPM): fix the heigth of the next row
9050 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9052 * text.C: squashed an invalid getChar requester + some ws changes
9054 2003-04-03 John Levon <levon@movementarian.org>
9056 * bufferview_funcs.h:
9057 * bufferview_funcs.C:
9060 * text2.C: make getStatus work for the env depth lfuns
9062 2003-04-03 John Levon <levon@movementarian.org>
9064 * bufferview_funcs.h:
9065 * bufferview_funcs.C:
9068 * text2.C: parlistize decDepth(), by merging it with incDepth()
9070 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9072 * lyxrow.h: store a ParagraphList::iterator instead of a
9073 Paragraph* and adjust other class functions to suit.
9075 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9078 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9080 * text2.C (setCursor): do not anchor to cursor row for the time being
9082 2003-04-02 John Levon <levon@movementarian.org>
9089 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9091 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9093 * paragraph.h: make ParagraphList and ParagraphList::iterator
9094 friends of Paragraph.
9096 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9098 * ParagraphList.C: Use the private next_ and previous_ from
9101 2003-04-01 John Levon <levon@movementarian.org>
9105 * Makefile.am: rename, remove defaults gunk
9108 * MenuBackend.C: remove defaults gunk
9111 * Languages.C: remove defaults gunk
9114 * lyx_main.C: error out if files couldn't be found.
9116 2003-04-02 John Levon <levon@movementarian.org>
9118 * text2.C: make incDepth() use parlist
9120 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9122 * undo_funcs.C (firstUndoParagraph): adjust
9124 * text3.C (gotoInset): adjust
9125 (dispatch): adjust, and rewrite loop.
9127 * text2.C (init): adjust, and rewrite loop.
9128 (redoParagraphs): adjust
9129 (updateInset): adjust, and rewrite loop.
9130 (deleteEmptyParagraphMechanism): adjust
9132 * tabular.C (LyXTabular): adjust
9133 (SetMultiColumn): adjust
9136 * lyxtext.[Ch] (ownerParagraph): delete function
9137 (ownerParagraphs): new function returns a ParagraphList.
9139 * BufferView.C (removeAutoInsets): adjust
9140 (insertErrors): adjust
9141 (setCursorFromRow): adjust
9143 2003-04-01 Angus Leeming <leeming@lyx.org>
9145 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9148 2003-04-02 John Levon <levon@movementarian.org>
9154 * text_funcs.C: make transposeChars a free function
9156 * lyxrow_funcs.C: remove wrong comment
9158 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9161 * rowpainter.C: adjust
9166 * lyxrow_funcs. [Ch]: new files
9168 * lyxrow.[Ch]: remove next and previous pointers
9169 (next,previous): remove accessor functions
9170 (isParEnd): move to lyxrow_funcs
9171 (lastPos): move to lyxrow_funcs
9172 (nextRowIsAllInset): move to lyxrow_funcs
9173 (lastPrintablePos): move to lyxrow_funcs
9174 (numberOfSeparators): move to lyxrow_funcs
9175 (numberOfHfills): move to lyxrow_funcs
9176 (numberOfLabelHfills): move to lyxrow_funcs
9177 (hfillExpansion): move to lyxrow_funcs
9181 * bufferview_funcs.C (toggleAndShow): adjust
9183 * RowList.h: Remove class RowList from file leave just a
9186 * RowList.C: delete file
9188 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9191 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9193 * text3.C (cursorPrevious): adjust
9194 (cursorNext): adjust
9197 * text2.C (redoHeightOfParagraph): adjust
9198 (redoDrawingOfParagraph): adjust
9201 * text.C (breakParagraph): adjust
9202 (insertChar): adjust
9205 * rowpainter.C (RowPainter): adjust
9206 (leftMargin): simplify and adjust
9207 (most rowpainter functions): adjust.
9209 * rowpainter.h: store the row as RowList::iterator not as Row*
9211 * lyxcursor.C (row): taka RowList::iterator as arg
9214 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9217 2003-04-01 Angus Leeming <leeming@lyx.org>
9219 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9220 stuff like bool Bool.
9222 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9224 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9227 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9229 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9232 * lyxtext.h (rows): drop one version and leve a const variant that
9233 returns a RowList::iterator.
9235 2003-03-31 Angus Leeming <leeming@lyx.org>
9237 * text.C (fill): ensure that the signature is the same as that in the
9240 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9242 * text2.C (redoParagraphs): adjust
9243 (updateCounters): adjust
9244 (checkParagraph): adjust
9245 (getColumnNearX): adjust and reformat a bit.
9247 * text.C (top_y): adjust
9249 (leftMargin): adjust
9250 (prepareToPrint): adjust
9252 (getRowNearY): adjust
9254 * lyxtext.h: make rowlist_ mutable.
9256 * RowList.h: add const_iterator
9257 * RowList.C: adjust for RowList::const_iterator.
9259 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9262 2003-03-31 John Levon <levon@movementarian.org>
9265 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9267 * lyx_main.C: set default fonts from using lyx_gui funcs
9269 * exporter.C: pdf_mode moved from lyxrc
9272 * lyxfunc.C: changes from above
9274 2003-03-31 John Levon <levon@movementarian.org>
9276 * lyx_main.C: fix to the last fix
9278 2003-03-31 John Levon <levon@movementarian.org>
9280 * bufferlist.C: "Load original" -> "Load Original"
9286 * format.C: more Alert cleanups
9288 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9290 * text2.C (removeParagraph): make it take a RowList::iterator as
9292 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9293 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9295 * text.C (anchor_row): make it take a RowList::iterator as arg,
9297 (computeBidiTables): make it take a const reference to Row instead
9298 of Row pointer, adjust.
9299 (leftMargin): make it take a RowList::iterator as arg, adjust.
9300 (rowBreakPoint): adjust
9301 (breakAgainOneRow): make it take a RowList::iterator as arg,
9303 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9305 * bufferview_funcs.C (toggleAndShow): adjust
9307 2003-03-30 John Levon <levon@movementarian.org>
9311 * boost-inst.C: moved to support
9313 * several files: changes as a result
9315 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9317 * text2.C (LyXText): adjust.
9319 (removeRow): make it take a RowList::iterator as arg, adjust.
9320 (fullRebreak): adjust
9321 (deleteEmptyParagraphMechanism): adjust
9322 (clearPaint): adjust
9325 * text.C (top_y): adjust
9326 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9327 (breakAgain): make it take a RowList::iterator as arg, adjust.
9328 (breakParagraph): adjust
9329 (insertChar): adjust
9332 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9333 need_break_row, and refresh_row.
9335 * text3.C (dispatch): adjust
9337 * text2.C (checkParagraph): adjust
9339 (setCursorFromCoordinates): adjust
9341 * text.C (top_y): adjust
9343 (getRow): make it return a RowList::iterator, adjust
9344 (getRowNearY): make it return a RowList::iterator, adjust
9346 * text2.C (init): adjust
9347 (insertRow): remove function
9348 (insertParagraph): adjust
9349 (redoParagraphs): adjust
9350 (fullRebreak): adjust
9351 (updateCounters): adjust
9353 * text.C (top_y): rewrite to use RowList iterators.
9355 (setHeightOfRow): rewrite to sue RowList iterators.
9356 (appendParagraph): adjust
9357 (breakAgain): adjust
9358 (breakAgainOneRow): adjust
9359 (breakParagraph): adjust
9361 (getRowNearY): adjust, and remove commented code.
9363 * lyxtext.h (firstRow): delete function
9364 (lastRow): delete function
9365 (rows): new function (const and non-const versions.)
9366 (insertRow): delete function
9368 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9370 2003-03-29 John Levon <levon@movementarian.org>
9372 * BufferView_pimpl.C: always update scrollbar top
9373 because pasting text when we're anchored could mean we
9374 miss an update altogether
9376 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9378 * text2.C (init): use rowlist_.end() and not 0.
9379 (insertRow): change to take a RowList::iterator as arg, adjust
9381 (insertParagraph): change to take a RowList::iterator as arg,
9383 (redoParagraphs): remove some debug msgs.
9385 * text.C (appendParagraph): change to take a RowList::iterator
9386 arg, adjust for this.
9387 (breakAgain): add an assert
9388 (breakAgainOneRow): ditto
9390 2003-03-29 John Levon <levon@movementarian.org>
9392 * text2.C: do not clear selection after inc/decDepth
9395 2003-03-29 John Levon <levon@movementarian.org>
9398 * buffer.C: fix broken strerrors according to Lars
9400 2003-03-29 John Levon <levon@movementarian.org>
9402 * converters.C: more Alert cleanups
9404 2003-03-29 John Levon <levon@movementarian.org>
9406 * bufferview_funcs.C: remove pointless Alert
9408 * buffer.C: fix confusing error message when
9409 a template is chmoded 000
9411 2003-03-29 John Levon <levon@movementarian.org>
9415 * BufferView_pimpl.C: Alert fixes
9419 * tabular-old.C: remove unused table compat reading
9421 2003-03-29 John Levon <levon@movementarian.org>
9426 * lyx_cb.C: more Alert cleanups
9428 * lyxfunc.C: don't allow chktex if not latex document
9430 2003-03-29 John Levon <levon@movementarian.org>
9434 * buffer.C: warnings pushed down from support/,
9437 2003-03-29 John Levon <levon@movementarian.org>
9439 * lyxfunc.C: safety check for C-r (revert)
9441 2003-03-29 John Levon <levon@movementarian.org>
9444 * bufferlist.C: several UI fixes using Alert::prompt.
9445 Fix the pointless looping quit code. Fix stupid revert
9450 * lyx_cb.C: use Alert::prompt
9452 * lyx_main.C: remove a silly question
9454 * lyxfunc.C: remove a couple of silly questions,
9457 2003-03-28 John Levon <levon@movementarian.org>
9459 * text2.C: fix bug 974 (End on empty par)
9461 2003-03-28 John Levon <levon@movementarian.org>
9463 * BufferView_pimpl.C:
9465 * lfuns.h: remove do-nothing math greek lfuns
9467 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9469 * lyxgluelength.h (isValidGlueLength): add default arg on
9470 parameter 2. Remove default arg from friend in class.
9472 * lyxlength.h (isValidLength): add default arg on parameter 2.
9473 Remove default arg from friend in class.
9475 * text2.C (LyXText): adjust, initialize refresh_row.
9479 (insertParagraph): adjst
9480 (redoParagraphs): adjust
9481 (fullRebreak): adjust
9482 (updateCounters): adjust
9483 (deleteEmptyParagraphMechanism): first attempt at fixing a
9486 * text.C (top_y): adjust
9487 (setHeightOfRow): adjust
9489 (getRowNearY): adjust
9491 * lyxtext.h: include RowList.h
9492 (~LyXText): not needed anymore, deleted.
9493 (firstRow): modify for RowList
9494 (lastRow): new function
9495 Delete firstrow and lastrow class variables, add a Rowlist
9496 rowlist_ class variable.
9498 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9501 * RowList.C (insert): fix case where it == begin().
9503 2003-03-26 Angus Leeming <leeming@lyx.org>
9505 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9506 the thesaurus dialog.
9508 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9510 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9512 * RowList.[Ch]: new files
9514 * ParagraphList.C (erase): handle the case where it == begin
9517 2003-03-25 John Levon <levon@movementarian.org>
9521 * aspell.C: add new aspell support
9524 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9527 2003-03-25 Angus Leeming <leeming@lyx.org>
9530 * LyXAction.C (init): new LFUN_INSET_INSERT.
9532 * BufferView_pimpl.C (dispatch): split out part of the
9533 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9535 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9538 2003-03-25 Angus Leeming <leeming@lyx.org>
9540 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9542 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9545 * text3.C: remove useless row->height(0)
9547 2003-03-25 John Levon <levon@movementarian.org>
9551 * text3.C: rename the refreshing stuff to better names
9553 2003-03-24 John Levon <levon@movementarian.org>
9555 * BufferView_pimpl.h:
9556 * BufferView_pimpl.C: update layout choice on a mouse
9559 2003-03-23 John Levon <levon@movementarian.org>
9561 * Makefile.am: fix commandtags.h reference
9563 2003-03-22 John Levon <levon@movementarian.org>
9565 * BufferView_pimpl.C:
9570 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9572 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9575 * text.C: take the rtl methods out of line
9577 2003-03-21 André Pönitz <poenitz@gmx.net>
9579 * metricsinfo.[Ch]: new files containing structures to be passed around
9580 during the two-phase-drawing...
9582 2003-03-21 André Pönitz <poenitz@gmx.net>
9584 * lyxtextclass.C: read 'environment' tag.
9586 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9588 * text2.C (removeRow): fix bug 964
9590 2003-03-20 John Levon <levon@movementarian.org>
9594 * text2.C: paint cleanups. Inset::update() dropped font
9597 2003-03-19 John Levon <levon@movementarian.org>
9599 * lyxfunc.C: only fitcursor/markDirty if available()
9601 2003-03-19 John Levon <levon@movementarian.org>
9603 * commandtags.h: rename to ...
9605 * lfuns.h: ... this, and renumber / cleanup
9607 2003-03-19 John Levon <levon@movementarian.org>
9609 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9610 fit the cursor after an lfun
9614 * BufferView_pimpl.h:
9615 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9617 * LyXAction.C: layout-character should have ReadOnly
9619 * ParagraphParameters.C:
9621 * bufferview_funcs.C:
9628 * undo_funcs.C: changes from above
9630 2003-03-18 John Levon <levon@movementarian.org>
9632 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9633 remove it from update()
9635 * lyxfunc.C: update layout choice after an lfun
9637 * text3.C: remove extra updateLayoutChoice()s
9639 2003-03-18 John Levon <levon@movementarian.org>
9641 * text.C: top_y change means full repaint, fix
9642 a drawing bug with cursor movement
9644 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9648 * text2.C: anchor row on setCursor
9650 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9652 * lyxtext.h: remove almost all mutable keywords
9655 * text3.C: remove const keywords accordingly
9657 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9659 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9661 (TeXEnvironment): ditto
9664 2003-03-17 John Levon <levon@movementarian.org>
9666 * text.C (rowBreakPoint): remove attempt to fix displayed
9667 math insets inside a manual label
9669 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9671 * lyxtext.h: remove BufferView* as first arg from almost all class
9673 * other files: adjust.
9675 2003-03-17 John Levon <levon@movementarian.org>
9679 * text2.C: more paint cleanups
9681 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9684 * rowpainter.C: remove "smart" background painting code
9686 2003-03-16 John Levon <levon@movementarian.org>
9691 * text3.C: add helper functions for setting refresh_row/y
9693 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9695 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9696 newline inset which *can* get inserted in the pass_thru layouts.
9697 This is primarily for literate documents.
9699 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9701 * buffer.C: increment LYX_FORMAT to 223
9703 2003-03-14 André Pönitz <poenitz@gmx.net>
9705 * textclass.h: prepare for environment handling, ws changes
9706 * lyxlayout.C: read latexheader and latexfooter tags
9708 2003-03-14 John Levon <levon@movementarian.org>
9710 * text2.C: rewrite ::status() a bit
9712 2003-03-13 John Levon <levon@movementarian.org>
9714 * lyxtext.h: add some docs
9716 2003-03-13 John Levon <levon@movementarian.org>
9721 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9723 2003-03-13 John Levon <levon@movementarian.org>
9725 * text3.C: fix appendix redrawing
9727 2003-03-13 John Levon <levon@movementarian.org>
9729 * text.C (setHeightOfRow):
9731 * rowpainter.C: make appendix mark have the text
9732 "Appendix" so the user knows what it is
9735 * LColor.C: s/appendixline/appendix/ from above
9737 2003-03-13 John Levon <levon@movementarian.org>
9739 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9741 * text.C: fix a getChar(pos) bug properly
9743 2003-03-13 Angus Leeming <leeming@lyx.org>
9746 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9747 Probably only temporary. Let's see how things pan out.
9749 * BufferView.C (unlockInset):
9750 * BufferView_pimpl.C (fitCursor):
9751 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9753 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9754 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9756 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9757 new functions that convert ParagraphParameters to and from a string.
9759 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9760 BufferView::Pimpl's dispatch.
9761 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9763 2003-03-13 André Pönitz <poenitz@gmx.net>
9767 * factory.C: make it aware of InsetEnv
9769 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9771 * text2.C (setCursor): never ask for one past last
9772 (setCursor): add some debugging messages.
9774 * text.C (singleWidth): never ask for one past last
9775 (singleWidth): ditto
9777 (rightMargin): ditto
9778 (rowBreakPoint): ditto
9779 (setHeightOfRow): ditto
9780 (prepareToPrint): ditto
9782 * rowpainter.C (paintBackground): never ask for one past last
9783 (paintText): never ask for one past last
9785 * paragraph_pimpl.C (getChar): make the assert stricter, never
9786 allow the one past last pos to be taken
9788 * paragraph.C (getChar): ws changes only
9790 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9791 (numberOfSeparators): ditto
9792 (numberOfHfills): ditto
9794 2003-03-12 John Levon <levon@movementarian.org>
9800 * paragraph_funcs.C: fix per-buffer authorlists
9802 2003-03-12 John Levon <levon@movementarian.org>
9804 * text.C: fix newline in right address
9806 2003-03-12 Angus Leeming <leeming@lyx.org>
9808 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9809 duplicate those in LyXFunc::dispatch.
9813 * ToolbarDefaults.C:
9814 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9815 Add LFUN_FONTFREE_UPDATE.
9817 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9818 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9820 * bufferview_func.[Ch]: several new functions to facilliate
9821 transfer of data to and from the character dialog.
9823 2003-03-12 John Levon <levon@movementarian.org>
9828 * paragraph_funcs.C:
9829 * paragraph_pimpl.C:
9833 * text3.C: remove META_NEWLINE in favour of an inset
9836 * rowpainter.C: remove paintNewline (done by inset)
9838 2003-03-12 John Levon <levon@movementarian.org>
9840 * paragraph_pimpl.C: complain about bad getChar()s
9841 for a while at least
9843 2003-03-12 John Levon <levon@movementarian.org>
9846 * buffer.C: move paragraph read into a separate function,
9847 a little renaming to reflect that.
9850 * bufferparams.C: remove the author_ids map, not necessary now
9853 * factory.C: moved Buffer::readInset to here
9855 * paragraph_funcs.h:
9856 * paragraph_funcs.C: readParagraph free function moved from
9859 * tabular.C: name change
9861 2003-03-12 John Levon <levon@movementarian.org>
9864 * ParagraphParameters.C: move par params input to
9867 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9868 behave like a normal read from the stream wrt reading
9869 a line vs. a \\token
9871 2003-03-12 John Levon <levon@movementarian.org>
9874 * ParagraphParameters.h:
9875 * ParagraphParameters.C: move output code to a
9878 2003-03-12 John Levon <levon@movementarian.org>
9880 * BufferView.C (insertLyXFile):
9883 * tabular.C: use a parlist iterator for creating the
9886 2003-03-12 John Levon <levon@movementarian.org>
9888 * buffer.C: make current_change static local not
9891 2003-03-12 John Levon <levon@movementarian.org>
9893 * buffer.C: fix insertStringAsLines for change tracking
9895 2003-03-12 John Levon <levon@movementarian.org>
9902 * bufferparams.C: move author list into params. Rename some
9903 functions. Move the header reading into a separate token
9904 loop. Move the header token reading into BufferParams.
9906 2003-03-12 John Levon <levon@movementarian.org>
9908 * changes.C: put debug inside lyxerr.debugging() checks
9910 2003-03-11 André Pönitz <poenitz@gmx.net>
9912 * factory.C: make it aware of InsetHFill
9914 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9916 * buffer.C (latexParagraphs): move function from here...
9917 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9920 2003-03-10 Angus Leeming <leeming@lyx.org>
9922 * LyXAction.C (init): fix bug in poplating array with multiple entries
9923 with the same LFUN (spotted by JMarc).
9925 2003-03-10 John Levon <levon@movementarian.org>
9928 * text2.C: move getColumnNearX() near its
9931 2003-03-10 John Levon <levon@movementarian.org>
9933 * text.C: fix break before a minipage
9935 2003-03-10 John Levon <levon@movementarian.org>
9937 * text.C: fix the last commit
9939 2003-03-09 John Levon <levon@movementarian.org>
9943 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9944 bug 365 (don't break before insets unless needed). Don't
9945 return a value > last under any circumstances.
9947 2003-03-09 Angus Leeming <leeming@lyx.org>
9949 * BufferView_pimpl.C (trackChanges, dispatch): call
9950 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9952 2003-03-09 Angus Leeming <leeming@lyx.org>
9954 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9955 than Dialogs::showAboutlyx().
9957 2003-03-09 Angus Leeming <leeming@lyx.org>
9959 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9960 than Dialogs::showTabularCreate().
9962 2003-03-09 John Levon <levon@movementarian.org>
9966 * text2.C: 3rd arg to nextBreakPoint was always the same.
9969 2003-03-08 John Levon <levon@movementarian.org>
9976 * text2.C: Remove the "main" bit from the "main body"
9979 2003-03-08 John Levon <levon@movementarian.org>
9981 * text.C (leftMargin): The left margin of an empty
9982 manual label paragraph should not include the label width
9985 * text.C (prepareToPrint): don't attempt to measure hfills
9986 for empty manual label paragraphs - the answer should be 0
9988 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9990 * CutAndPaste.C: remove commented code and reindent.
9992 2003-03-08 John Levon <levon@movementarian.org>
9995 * lyxfunc.C: move reloadBuffer()
9998 * BufferView.C: to here
10000 * lyxvc.C: add comment
10003 * vc-backend.C: call bv->reload() to avoid
10004 getStatus() check on MENURELOAD
10006 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
10008 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10009 to an old format .dep file.
10011 2003-03-07 Angus Leeming <leeming@lyx.org>
10013 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10014 when the LFUN_MOUSE_RELEASE should have been handled by
10015 inset->localDispatch.
10017 2003-03-07 Angus Leeming <leeming@lyx.org>
10019 * BufferView_pimpl.C (dispatch):
10020 * LyXAction.C (init):
10021 * ToolbarDefaults.C (init):
10023 * lyxfunc.C (getStatus):
10024 remove LFUN_INSET_GRAPHICS.
10026 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10028 2003-03-07 Angus Leeming <leeming@lyx.org>
10031 * LyXAction.C (init):
10032 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10034 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10037 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10039 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10040 localDispatch method LFUN_INSET_DIALOG_UPDATE.
10042 2003-03-07 Angus Leeming <leeming@lyx.org>
10044 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10047 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10049 * ParagraphList.C (front): new function
10052 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10054 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10055 and top_row_offset_. removed var first_y.
10057 * text2.C (LyXText, removeRow):
10059 * BufferView_pimpl.C:
10060 use these methods instead of using first_y
10062 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10064 * text2.C (pasteSelection): adjust for checkPastePossible
10066 * CutAndPaste.C: remove Paragraph * buf and replace with
10067 ParagraphList paragraphs.
10068 (DeleteBuffer): delete
10069 (cutSelection): change the tc type to textclass_type
10070 (copySelection): change the tc type to textclass_type
10071 (copySelection): adjust for ParagraphList
10072 (pasteSelection): change the tc type to textclass_type
10073 (pasteSelection): adjust for Paragraphlist
10074 (nrOfParagraphs): simplify for ParagraphList
10075 (checkPastePossible): simplify for ParagraphList
10076 (checkPastePossible): remove unused arg
10078 * ParagraphList.C (insert): handle the case where there are no
10081 * CutAndPaste.h: make CutAndPaste a namespace.
10083 * text3.C (dispatch): adjust
10085 * text.C (breakParagraph): add a ParagraphList as arg
10087 * paragraph_funcs.C (breakParagraph): change to take a
10088 BufferParams and a ParagraphList as args.
10089 (breakParagraphConservative): ditto
10090 (mergeParagraph): ditto
10091 (TeXDeeper): add a ParagraphList arg
10092 (TeXEnvironment): ditto
10095 * buffer.C (readLyXformat2): adjust
10096 (insertStringAsLines): adjust
10097 (latexParagraphs): adjust
10099 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10100 (cutSelection): adjust
10101 (pasteSelection): adjust
10103 * BufferView_pimpl.C (insertInset): adjust
10105 2003-03-05 Angus Leeming <leeming@lyx.org>
10108 * LyXAction.C (init):
10109 * BufferView_pimpl.C (dispatch):
10110 * lyxfunc.C (getStatus):
10111 remove LFUN_CHILD_INSERT.
10113 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10115 2003-03-05 Angus Leeming <leeming@lyx.org>
10118 * LyXAction.C (init):
10119 * src/factory.C (createInset):
10120 * lyxfunc.C (getStatus):
10121 * text3.C (dispatch):
10122 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10124 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10126 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10128 * ParagraphList.C (insert): handle insert right before end()
10129 (erase): fix cases where it can be first or last paragraph.
10131 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10133 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10134 Paragraph::next and Paragraph::previous
10137 * text.C (breakParagraph): adjust
10139 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10140 BufferParams& as arg.
10141 (breakParagraph): use ParagraphList::insert
10142 (breakParagraphConservative): take a Buffer* instead of a
10143 BufferParams& as arg.
10144 (breakParagraphConservative): use ParagraphList::insert.
10146 * buffer.C (insertStringAsLines): un-const it
10147 (insertStringAsLines): adjust
10149 * ParagraphList.C (insert): new function
10151 * CutAndPaste.C (pasteSelection): adjust
10153 * text.C (backspace): adjust
10155 * tabular.C (SetMultiColumn): adjust
10157 * CutAndPaste.C (cutSelection): adjust
10158 (pasteSelection): adjust
10160 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10161 Buffer const * as arg
10163 * ParagraphList.C (erase): new function
10164 * paragraph_funcs.C (mergeParagraph): use it
10165 (mergeParagraph): make it take a Buffer* instead of a
10166 BufferParams* as arg
10168 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10170 (breakParagraphConservative): ditto
10172 * paragraph.h: remove the breakParagraph friend
10174 * paragraph.C (eraseIntern): new function
10175 (setChange): new function
10177 * paragraph_funcs.C (mergeParagraph): make it take a
10178 ParagraphList::iterator instead of a Paragraph *, adjust
10181 * paragraph.h: move an #endif so that the change tracking stuff
10182 also works in the NO_NEXT case.
10184 2003-03-04 Angus Leeming <leeming@lyx.org>
10187 * LyXAction.C: new LFUN_INSET_MODIFY.
10189 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10190 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10192 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10194 * several files: ws changes only
10196 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10197 (TeXEnvironment): ditto
10200 * buffer.C (makeLaTeXFile): adjust
10201 (latexParagraphs): make it take ParagraphList::iterator as args
10203 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10205 * buffer.C (latexParagraphs): adjust
10207 * paragraph.C (TeXOnePar): move function...
10208 (optArgInset): move function...
10209 (TeXEnvironment): move function...
10210 * paragraph_pimpl.C (TeXDeeper): move function...
10211 * paragraph_funcs.C: ...here
10213 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10215 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10217 * buffer.C (readInset): remove compability code for old Figure and
10220 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10222 * buffer.C: ws changes
10225 * BufferView_pimpl.C: ditto
10228 * bufferlist.h: ditto
10232 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10234 * converter.[Ch]: split into itself +
10237 * Makefile.am: += graph.[Ch] + format.[Ch]
10244 * lyxrc.C: added #include "format.h"
10246 2003-02-27 Angus Leeming <leeming@lyx.org>
10248 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10251 * factory.C (createInset): add "label" to the factory.
10253 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10254 string and do no more.
10256 2003-02-27 Angus Leeming <leeming@lyx.org>
10259 * LyXAction.C (init):
10260 * factory.C (createInset):
10261 * BufferView_pimpl.C (dispatch):
10262 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10264 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10266 * lyxfunc.C (dispatch):
10267 * text3.C (dispatch): pass name to params2string.
10269 2003-02-26 Angus Leeming <leeming@lyx.org>
10271 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10273 Rearrange the ~includes. Strip out the unnecessary ones.
10275 * factory.C (createInset): reformat.
10276 create new insets for the various LFUN_XYZ_APPLY lfuns.
10278 2003-02-26 John Levon <levon@movementarian.org>
10281 * lyxrow.C: add isParStart,isParEnd helpers
10283 * paragraph.h: make isInserted/DeletedText take refs
10285 * paragraph_funcs.h:
10286 * paragraph_funcs.C: remove #if 0'd code
10291 * text.C: use lyxrow helpers above.
10292 Move draw and paint routines to RowPainter.
10293 Make several methods use refs not pointers.
10294 Make backgroundColor() const.
10295 Add markChangeInDraw(), isInInset().
10296 Merge changeRegionCase into changeCase.
10297 Make workWidth() shouldn't-happen code into an Assert.
10300 * rowpainter.C: new class for painting a row.
10303 * vspace.C: make inPixels take a ref
10305 2003-02-26 Angus Leeming <leeming@lyx.org>
10307 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10310 2003-02-25 John Levon <levon@movementarian.org>
10312 * ispell.C: give the forked command a more accurate name
10314 2003-02-22 John Levon <levon@movementarian.org>
10317 * toc.C: make TocItem store an id not a Paragraph *
10320 2003-02-21 Angus Leeming <leeming@lyx.org>
10322 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10323 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10324 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10325 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10326 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10327 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10329 * BufferView_pimpl.C (dispatch):
10330 * LyXAction.C (init):
10331 * factory.C (createInset):
10332 * lyxfunc.C (getStatus, dispatch):
10333 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10335 2003-02-21 Angus Leeming <leeming@lyx.org>
10337 * BufferView_pimpl.C (MenuInsertLyXFile):
10338 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10339 * lyxfunc.C (menuNew, open, doImport):
10340 no longer pass a LyXView & to fileDlg.
10342 2003-02-21 Angus Leeming <leeming@lyx.org>
10344 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10345 * LyXAction.C: change, BIBKEY to BIBITEM.
10346 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10347 Change InsetBibKey to InsetBibitem.
10348 Change BIBKEY_CODE to BIBITEM_CODE.
10349 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10350 * factory.C: replace insetbib.h with insetbibitem.h.
10351 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10352 * paragraph.C: replace insetbib.h with insetbibitem.h.
10353 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10354 Change bibkey() to bibitem().
10355 * text.C: remove insetbib.h.
10356 * text2.C: replace insetbib.h with insetbibitem.h.
10357 change bibkey() to bibitem().
10358 * text3.C: remove insetbib.h.
10359 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10361 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10363 * lyxrc.C (output): enclose user email in quotes (in case there are
10366 2003-02-18 John Levon <levon@movementarian.org>
10368 * buffer.h: add std::
10370 2003-02-17 John Levon <levon@movementarian.org>
10376 * pspell.C: reworking. Especially in ispell, a large
10377 number of clean ups and bug fixes.
10379 * lyxfunc.C: fix revert to behave sensibly
10381 2003-02-17 André Pönitz <poenitz@gmx.net>
10384 * commandtags.h: new LFUN_INSERT_BIBKEY
10394 * paragraph_func.C: remove special bibkey handling
10396 2003-02-17 John Levon <levon@movementarian.org>
10398 * text.C (Delete): fix case where delete at the end of
10399 the very first paragraph would not merge the pars
10401 2003-02-17 John Levon <levon@movementarian.org>
10403 * lyxrow.C: fix lastPrintablePos()
10405 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10407 * bufferparams.C (writeLaTeX): add a std:here
10409 * buffer.C: and remove a using directive there
10411 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10413 * buffer.C (makeLaTeXFile): move the code that generates the
10416 * bufferparams.C (writeLaTeX): ... in this new method
10418 * LaTeXFeatures.C (getEncodingSet): make const
10419 (getLanguages): make const
10421 * MenuBackend.C (binding): returns the binding associated to this
10423 (add): sets the status of each item by calling getStatus. Adds
10425 (read): add support for OptSubMenu
10426 (expand): remove extra separator at the end of expanded menu
10428 2003-02-15 John Levon <levon@movementarian.org>
10431 * BufferView_pimpl.C:
10433 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10434 inset code that had no actual effect. Remove unneeded status
10437 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10439 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10442 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10444 * text.C (drawLengthMarker): also draw an arrow marker for
10445 symbolic lengths (medskip...)
10447 2003-02-14 John Levon <levon@movementarian.org>
10450 * tabular.C: better method names
10452 2003-02-14 John Levon <levon@movementarian.org>
10454 * BufferView_pimpl.C:
10459 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10460 it's a more accurate name. Remove some pointless uses.
10462 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10464 * text2.C (LyXText): change order of initilizers to shut off
10467 2003-02-14 John Levon <levon@movementarian.org>
10469 * buffer.C: use ParIterator for getParFromID()
10473 * paragraph_pimpl.h:
10474 * paragraph_pimpl.C: remove unused getParFromID()
10476 2003-02-14 John Levon <levon@movementarian.org>
10478 * buffer.C: remove some very old #if 0'd parse code
10480 2003-02-13 John Levon <levon@movementarian.org>
10484 * text2.C: move hfillExpansion(), numberOfSeparators(),
10485 rowLast(), rowLastPrintable(), numberofHfills(),
10486 numberOfLabelHfills() ...
10489 * lyxrow.C: ... to member functions here.
10494 * text.C: remove LyXText::beginningOfMainBody(), and call
10495 p->beginningOfMainBody() directly. Move the check for
10496 LABEL_MANUAL into the latter.
10503 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10509 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10510 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10512 2003-02-13 John Levon <levon@movementarian.org>
10514 * CutAndPaste.C: remove debug
10516 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10518 * paragraph.C (asString): remove two unused variables
10520 * lyxtextclass.C (readTitleType):
10522 (LyXTextClass): handle new members titletype_ and titlename_
10524 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10526 2003-02-09 John Levon <levon@movementarian.org>
10529 * buffer.C: replace hand-coded list with a map for the dep clean
10531 2003-02-08 John Levon <levon@movementarian.org>
10533 * LaTeX.C: consolidate code into showRunMessage() helper
10535 2003-02-08 John Levon <levon@movementarian.org>
10540 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10541 and pass the size in explicitly
10543 * BufferView_pimpl.h:
10544 * BufferView_pimpl.C:
10546 * BufferView.C: add getCurrentChange()
10548 * BufferView_pimpl.h:
10549 * BufferView_pimpl.C: handle change lfuns
10551 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10552 for changes. Mark pasted paragraphs as new.
10554 * support/lyxtime.h:
10555 * support/lyxtime.C:
10556 * DepTable.C: abstract time_t as lyx::time_type
10559 * LColor.C: add colours for new text, deleted text, changebars
10561 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10562 package use "usenames" option.
10566 * LyXAction.C: add change lfuns
10570 * author.C: author handling
10573 * buffer.C: add a per-buffer author list, with first entry as
10574 current author. Handle new .lyx tokens for change tracking. Output
10575 author list to .lyx file. Output dvipost stuff to .tex preamble.
10576 Bump lyx format to 222.
10579 * bufferlist.C: add setCurrentAuthor() to reset current author details
10583 * bufferparams.C: add param for tracking
10585 * bufferview_funcs.C: output change info in minibuffer
10589 * changes.C: add change-tracking structure
10592 * debug.C: add CHANGES debug flag
10595 * lyxfind.C: add code for finding the next change piece
10598 * lyxrc.C: add user_name and user_email
10601 * lyxrow.C: add a metric for the top of the text line
10604 * text.C: implement accept/rejectChange()
10607 * text.C: paint changebars. Paint new/deleted text in the chosen
10608 colours. Strike through deleted text.
10612 * paragraph_pimpl.h:
10613 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10614 in the current change to the insert functions. Rework erase to
10615 mark text as deleted, adding an eraseIntern() and a range-based
10616 erase(). Implement per-paragraph change lookup and
10619 * paragraph_funcs.C: Fixup paste for change tracking.
10621 * tabular.C: mark added row/columns as new.
10623 * text.C: fix rowLast() to never return -1. Don't allow
10624 spellchecking of deleted text. Track transpose changes. Don't
10625 allow paragraph break or merge where appropriate.
10627 * text2.C: leave cursor at end of selection after a cut.
10629 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10631 * text.C (getLengthMarkerHeight):
10632 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10633 visible on screen too.
10635 2003-02-07 John Levon <levon@movementarian.org>
10637 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10639 2003-02-05 Angus Leeming <leeming@lyx.org>
10641 * lyxserver.C (read_ready): revert my patch of 11 September last year
10642 as it sends PC cpu through the roof. Presumably this means that
10643 the lyxserver will no longer run on an Alpha...
10645 2003-01-30 Angus Leeming <leeming@lyx.org>
10647 * factory.C (createInset): create an InsetCommandParam of type "index"
10648 and use it to 'do the right thing'.
10650 * text2.C (getStringToIndex): ensure that cursor position is always
10651 reset to the reset_cursor position.
10653 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10655 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10658 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10662 * lyxfunc.C: Output messages with identical spelling, punctuation,
10665 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10667 * MenuBackend.C (expandFormats): List only viewable export formats
10670 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10673 * lyxfunc.C (getStatus): Make sure that formats other than
10674 "fax" can also be disabled
10676 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10678 * text3.C (dispatch): put the lfuns that insert insets in 3
10679 groups, and call doInsertInset with appropriate arguments.
10680 (doInsertInset): new function, that creates an inset and inserts
10681 it according to some boolean parameters.
10683 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10685 * buffer.C (readFile): remember to pass on 'par' when calling
10686 readFile recursively.
10688 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10690 * MenuBackend.C (expandFormats): add "..." to import formats.
10692 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10694 * paragraph.C (asString): Remove XForms RTL hacks.
10696 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10697 * buffer.C: fix typo
10699 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10701 * Makefile.am (LIBS): delete var
10702 (lyx_LDADD): add @LIBS@ here instead.
10704 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10706 * Clarify the meaning of "wheel mouse jump"
10708 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10710 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10713 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10715 * importer.C (Loaders): do not preallocate 3 elements in the
10716 vector, since one ends up with 6 elements otherwise
10718 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10720 * DepTable.C (write): write the file name as last element of the
10721 .dep file (because it may contain spaces)
10722 (read): read info in the right order
10724 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10726 * paragraph_pimpl.C (simpleTeXBlanks):
10727 (simpleTeXSpecialChars):
10728 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10730 * tabular.C (latex): add some missing case statements. Reindent.
10732 * MenuBackend.C (expandToc): remove unused variable.
10734 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10743 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10746 2003-01-05 John Levon <levon@movementarian.org>
10749 * BufferView.C: add getEncoding()
10752 * kbsequence.C: do not store last keypress
10755 * lyxfunc.C: store last keypress here instead. Pass encoding
10758 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10760 * lyx_main.C (init): remove annoying error message when following
10761 symbolic links (bug #780)
10763 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10765 * text.C (insertChar):
10766 * lyxrc.C (getDescription): remove extra spaces
10768 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10770 * lyxrc.C (getDescription): remove extra spaces
10772 2002-12-20 John Levon <levon@movementarian.org>
10774 * text3.C: hack fix for page up/down across tall rows
10776 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10778 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10781 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10783 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10784 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10785 thesaurus is not compiled in
10787 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10789 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10791 2002-12-16 Angus Leeming <leeming@lyx.org>
10794 * lyx_main.C (init): remove override_x_deadkeys stuff.
10796 2002-12-12 John Levon <levon@movementarian.org>
10798 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10799 insert. Only remove shift modifier under strict
10802 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10804 * MenuBackend.C (expandToc): fix crash.
10806 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10808 * MenuBackend.C (expandToc): gettext on float names.
10810 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10812 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10813 implement bool empty() [bug 490]
10815 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10817 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10819 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10821 * several files: ws changes
10823 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10825 * text2.C (setCounter): clean up a bit, use boost.format.
10826 (updateCounters): initialize par upon declaration.
10828 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10829 if the layout exists. We do not just store the layout any more.
10830 (SwitchLayoutsBetweenClasses): use boost.format
10832 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10834 * converter.C (convert): if from and to files are the same, use a
10835 temporary files as intermediary
10837 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10840 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10842 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10844 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10846 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10848 * tabular.C (asciiPrintCell): use string(size, char) instead of
10851 * sgml.C (openTag): fix order of arguments to string constructor
10854 * lyxfunc.C (dispatch): use boost.format
10856 * lots of files: change "c" -> 'c'
10858 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10860 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10862 2002-11-25 Angus Leeming <leeming@lyx.org>
10864 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10866 * lyx_main.C (init): compile fix.
10868 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10870 * lyx_cb.C (start): boost.formatify
10871 do not include <iostream>
10873 * lengthcommon.C: ws only
10875 * boost-inst.C,BoostFormat.h: add more explict instantations
10877 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10879 * lots of files: handle USE_BOOST_FORMAT
10881 2002-11-21 John Levon <levon@movementarian.org>
10883 * pspell.C: fix compile
10885 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10887 * lyxfunc.C (dispatch): use boost::format
10891 * lyxfont.C (stateText): use boost::format
10893 * lyx_main.C (LyX): use boost::format
10895 (queryUserLyXDir): ditto
10896 (readRcFile): ditto
10898 (typedef boost::function): use the recommened syntax.
10900 * importer.C (Import): use boost::format
10902 * debug.C (showLevel): use boost::format
10904 * converter.C (view): use boost::format
10909 * bufferview_funcs.C (currentState): use boost::format
10911 * bufferlist.C (emergencyWrite): use boost::format
10913 * buffer.C (readLyXformat2): use boost::format
10914 (parseSingleLyXformat2Token): ditto
10916 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10918 * LaTeX.C (run): use boost::format
10920 * Chktex.C (scanLogFile): use boost::format
10922 * BufferView_pimpl.C (savePosition): use boost::format
10923 (restorePosition): ditto
10924 (MenuInsertLyXFile): ditto
10926 * BoostFormat.h: help file for explicit instation.
10928 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10930 * tabular.C (latex): Support for block alignment in fixed width
10933 2002-11-17 John Levon <levon@movementarian.org>
10935 * BufferView_pimpl.C:
10937 * lyxfunc.C: split filedialog into open/save
10939 2002-11-08 Juergen Vigna <jug@sad.it>
10941 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10942 by my last patch (hopefully).
10944 2002-11-08 John Levon <levon@movementarian.org>
10953 * toc.C: ParConstIterator, and use it (from Lars)
10955 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10957 * lyxtextclass.[Ch]: revise and add doxygen comments
10959 2002-11-07 John Levon <levon@movementarian.org>
10961 * text.C: fix progress value for spellchecker
10963 * toc.C: fix navigate menu for insetwrap inside minipage
10965 * paragraph_funcs.C: added FIXME for suspect code
10967 2002-11-07 John Levon <levon@movementarian.org>
10969 * BufferView_pimpl.C: fix redrawing of insets
10972 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10974 * text2.C (updateCounters): fix bug 668
10976 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10978 * text3.C (dispatch): Do not make the buffer dirty when moving the
10981 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10983 * vc-backend.C: STRCONV
10984 (scanMaster): ditto
10986 * text2.C (setCounter): STRCONV
10988 * paragraph.C (asString): STRCONV
10990 * lyxlength.C (asString): STRCONV
10991 (asLatexString): ditto
10993 * lyxgluelength.C (asString): STRCONV
10994 (asLatexString): ditto
10996 * lyxfunc.C (dispatch): STRCONV
10999 * lyxfont.C (stateText): STRCONV
11001 * importer.C (Import): STRCONV
11003 * counters.C (labelItem): STRCONV
11004 (numberLabel): ditto
11005 (numberLabel): remove unused ostringstream o
11010 * bufferview_funcs.C (currentState): STRCONV
11012 * buffer.C (readFile): STRCONV
11013 (asciiParagraph): ditto
11014 (makeLaTeXFile): ditto
11016 * Spacing.C (writeEnvirBegin): STRCONV
11018 * LaTeXFeatures.C (getLanguages): STRCONV
11019 (getPackages): ditto
11021 (getBabelOptions): ditto
11022 (getTClassPreamble): ditto
11023 (getLyXSGMLEntities): ditto
11024 (getIncludedFiles): ditto
11028 (scanAuxFile): ditto
11031 * LString.h: add the STRCONV macros
11033 * BufferView_pimpl.C (savePosition): STRCONV
11034 (restorePosition): ditto
11035 (MenuInsertLyXFile): ditto
11037 * vc-backend.C (scanMaster): change from submatch[...] to
11040 * funcrequest.C: include config.h
11042 * factory.C: include config.h
11044 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11046 * box.C: include config.h
11048 * LaTeX.C (scanAuxFile): change from submatch[...] to
11052 2002-10-25 Angus Leeming <leeming@lyx.org>
11054 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11056 * ispell.[Ch] (setError): new method.
11057 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11058 Use setError() insetead of goto END.
11060 * lyx_cb.C (AutoSave): move out child process into new class
11063 2002-10-30 John Levon <levon@movementarian.org>
11065 * text3.C: make start appendix undoable
11067 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11069 * lyxlength.C (inPixels): Fix returned value.
11071 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11074 2002-10-24 Angus Leeming <leeming@lyx.org>
11076 * lyxgluelength.h: no need to forward declare BufferParams
11077 or BufferView, so don't.
11079 2002-10-21 John Levon <levon@movementarian.org>
11081 * BufferView.C: menuUndo ->undo, redo
11083 * BufferView.h: document, remove dead, make some methods private
11085 * paragraph_funcs.h:
11086 * paragraph_funcs.C:
11087 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11092 * sgml.C: move sgml open/close tag into sgml.C
11094 * bufferview_funcs.h: unused prototype
11097 * lyxfunc.C: remove unused
11100 * text.C: remove unused
11102 2002-10-21 John Levon <levon@movementarian.org>
11106 * BufferView_pimpl.h:
11107 * BufferView_pimpl.C: fix mouse wheel handling based on
11108 patch from Darren Freeman
11110 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11112 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11114 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11116 * lyxlength.C (inPixels): Fix hanfling of negative length.
11117 Fix LyXLength::MU case.
11119 2002-10-16 John Levon <levon@movementarian.org>
11121 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11123 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11125 * converter.C (view): add support for $$i (file name) and $$p
11126 (file path) for the viewer command. If $$i is not specified, then
11127 it is appended to the command (for compatibility with old syntax)
11129 2002-10-14 Juergen Vigna <jug@sad.it>
11131 * undo_funcs.C (textHandleUndo): alter the order in which the
11132 new undopar is added to the LyXText, as we have to set first
11133 the right prev/next and then add it as otherwise the rebuild of
11134 LyXText is not correct. Also reset the cursor to the right paragraph,
11135 with this IMO we could remove the hack in "redoParagraphs()".
11137 2002-10-09 Angus Leeming <leeming@lyx.org>
11139 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11140 to turn off an optimisation if a new inset is to be inserted.
11142 2002-10-11 André Pönitz <poenitz@gmx.net>
11144 * lyxtext.h: make some functions public to allow access
11145 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11147 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11149 * text3.C (dispatch): when changing layout, avoid an infinite loop
11152 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11154 * lyxrc.C (read): treat a viewer or converter command of "none" as
11157 * MenuBackend.C (expandFormats): for an update, also allow the
11158 formats that are not viewable
11160 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11161 script if it is newer than the lyxrc.defaults in user directory
11163 2002-10-07 André Pönitz <poenitz@gmx.net>
11165 * text.C: Vitaly Lipatov's small i18n fix
11167 2002-09-25 Angus Leeming <leeming@lyx.org>
11169 * ispell.h: doxygen fix.
11171 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11173 * buffer.h (readFile): Add a new argument to the method, to allow
11174 reading of old-format templates.
11176 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11178 * toc.C (getTocList): Get TOC from InsetWrap.
11180 2002-09-16 John Levon <levon@movementarian.org>
11182 * lyxfunc.C: check tabular for cut/copy too
11184 2002-09-12 John Levon <levon@movementarian.org>
11186 * LyXAction.C: tidy
11189 * factory.C: add header
11191 * paragraph_funcs.h:
11192 * paragraph_funcs.C: cleanup
11194 2002-09-11 John Levon <levon@movementarian.org>
11196 * PrinterParams.h: odd/even default to true
11198 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11200 * PrinterParams.h: update printer parameters for new xforms dialog
11202 2002-09-11 Angus Leeming <leeming@lyx.org>
11204 * lyxserver.C (read_ready): re-write to make it more transparent
11205 and to make it work in coherent fashion under Tru64 Unix.
11207 2002-09-11 André Pönitz <poenitz@gmx.net>
11211 * text3.C: implement LFUN_WORDSEL
11213 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11215 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11216 make floatlist_ a boost::shared_ptr<FloatList>
11218 * lyxtextclass.C: include FloatList.h
11219 (LyXTextClass): initialize floatlist_
11220 (TextClassTags): add TC_NOFLOAT
11221 (Read): match "nofloat" to TC_NOFLOAT and use it.
11222 (readFloat): modify call to floatlist_
11226 * FloatList.[Ch] (FloatList): remove commented out float
11228 (erase): new function
11230 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11232 * MenuBackend.C (expandToc): fix crash when there is no document
11235 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11237 * many files: Add insetwrap.
11239 2002-09-09 John Levon <levon@movementarian.org>
11241 * text2.C: remove confusing and awkward depth wraparound
11243 2002-09-09 John Levon <levon@movementarian.org>
11245 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11248 * buffer.C: remove getIncludeonlyList()
11251 * lyxfunc.C: remove headers
11253 2002-09-09 Juergen Vigna <jug@sad.it>
11255 * text.C (getColumnNearX): fix form Michael this is most
11256 probably a cut&paste bug.
11258 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11260 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11262 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11263 references, ws changes.
11265 * text2.C (init): update counters after init
11266 (insertParagraph): no need to set counter on idividual paragraphs.
11267 (setCounter): access the counters object in the textclass object
11268 on in the buffer object.
11269 (updateCounters): ditto
11271 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11272 shared_ptr<Counters> to avoid loading counters.h in all
11274 (LyXTextClass): initialize ctrs_
11275 (TextClassTags): add TC_COUNTER, and ...
11276 (Read): use it here.
11277 (CounterTags): new tags
11278 (readCounter): new function
11279 (counters): new funtion
11280 (defaultLayoutName): return a const reference
11282 * counters.C (Counters): remove contructor
11283 (newCounter): remove a couple of unneeded statements.
11284 (newCounter): simplify a bit.
11285 (numberLabel): some small formatting changes.
11287 * buffer.[Ch]: remove all traces of counters, move the Counters
11288 object to the LyXTextClass.
11290 2002-09-06 Alain Castera <castera@in2p3.fr>
11292 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11293 package to set the horizontal alignment on fixed width columns.
11296 * lyx_sty.h: added tabularnewline macro def.
11298 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11300 2002-09-06 John Levon <levon@movementarian.org>
11302 * LyXAction.C: tooltips for sub/superscript
11304 * MenuBackend.C: a bit more verbose
11306 * lyxfunc.C: tiny clean
11308 * undo_funcs.C: document undo_frozen
11310 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11312 * counters.C (Counters): add missing algorithm counter.
11314 * text2.C (setCounter): lookup the counter with layouts latexname
11315 instead of by section number.
11316 (setCounter): use a hackish way to lookup the correct enum
11318 a float name->type change
11319 reset enum couners with counter name directly instead of depth value.
11321 * counters.C (Counters): remove the push_backs, change to use the
11322 float type not the float name.
11323 (labelItem): remove unused string, float name->type change
11325 * counters.h: don't include vector, loose the enums and sects vectors
11327 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11329 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11330 (Read): add float->TC_FLOAT to textclassTags
11331 (Read): and handle it in the switch
11332 (readFloat): new function
11334 * FloatList.C (FloatList): comment out the hardcoded float
11337 * lyxlayout.h: ws change.
11339 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11341 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11343 2002-09-03 Angus Leeming <leeming@lyx.org>
11345 * BufferView_pimpl.h: qualified name is not allowed in member
11346 declaration: WorkArea & Pimpl::workarea() const;
11348 * factory.C: added using std::endl directive.
11350 * text3.C: added using std::find and std::vector directives.
11352 2002-08-29 André Pönitz <poenitz@gmx.net>
11355 * text2.C: remove unused member number_of_rows
11358 * BufferView2.C: remove file, move contents to...
11359 * BufferView.C: ... here
11361 * BufferView_pimpl.C:
11362 * factory.C: move more inset creation to factory
11364 * vspace.C: avoid direct usage of LyXText, ws changes
11367 don't provide direct access to WorkArea, use two simple
11368 acessors haveSelction() and workHeight() instead
11371 2002-08-29 John Levon <levon@movementarian.org>
11373 * BufferView_pimpl.C (dispatch): do not continue when
11376 2002-08-28 André Pönitz <poenitz@gmx.net>
11378 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11381 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11383 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11385 * buffer.C: increment LYX_FORMAT to 221
11387 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11388 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11390 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11392 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11394 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11396 * factory.C (createInset): use LyXTextClass::floats
11398 * MenuBackend.C (expandFloatListInsert):
11399 (expandFloatInsert):
11402 * text2.C (setCounter):
11404 * LaTeXFeatures.C (useFloat):
11405 (getFloatDefinitions):
11407 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11409 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11410 floatlist_, with accessor floats().
11412 * FloatList.h: remove global FloatList
11414 2002-08-26 André Pönitz <poenitz@gmx.net>
11416 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11420 * BufferView_pimpl.C:
11421 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11423 2002-08-25 John Levon <levon@movementarian.org>
11425 * LyXAction.C: fix margin note description
11427 2002-08-24 John Levon <levon@movementarian.org>
11431 * bufferview_funcs.C:
11433 * undo_funcs.C: cleanups
11435 * lyxfunc.C: disable CUT/COPY when no selection
11437 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11439 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11440 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11442 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11443 Add backward compatibility to "mono", "gray" and "no".
11445 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11447 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11448 (and file_format >= 200).
11450 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11452 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11454 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11456 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11458 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11460 * BufferView_pimpl.C:
11467 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11468 inset and code to make it work with the paragraph code. The inset
11469 can be anywhere in the paragraph, but will only do the expected
11470 thing in LaTeX if the layout file contains the parameter line
11472 (or more generally, a nonzero value) for that layout.
11474 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11476 * paragraph.h: remove the declaration of undefined counters class
11479 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11481 * text2.C (setCounter): fixed enumeration mis-count as reported by
11482 Dr. Richard Hawkins.
11484 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11486 * paragraph_funcs.h: remove some unneeded includes
11488 * text.C (backspace): pasteParagraph now in global scipe
11490 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11491 (pasteSelection): ditto
11493 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11494 * paragraph_funcs.C (pasteParagraph): ... here
11496 2002-08-20 André Pönitz <poenitz@gmx.net>
11498 * commandtags.h: new LFUNs for swapping/copying table row/colums
11501 * lyxfunc.C: support for new lfuns
11503 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11506 * buffer.[Ch]: remove NO_COMPABILITY stuff
11508 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11510 * boost.C (throw_exception): new file, with helper function for
11511 boost compiled without exceptions.
11516 * ParameterStruct.h:
11517 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11519 * bufferlist.C (emergencyWriteAll): use boost bind
11521 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11523 * text.C: include paragraph_funcs.h
11524 (breakParagraph): breakParagraph is now in global scope
11526 * paragraph_funcs.[Ch]: new files
11528 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11531 * buffer.C: include paragraph_funcs.h
11532 (insertStringAsLines): breakParagraph is now in global scope
11534 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11537 * CutAndPaste.C: include paragraph_funcs.h
11538 (cutSelection): breakParagraphConservative is now in global scope
11539 (pasteSelection): ditto
11541 * buffer.h: declare oprator== and operator!= for
11542 Buffer::inset_iterator
11544 * bufferlist.C (emergencyWrite): don't use fmt(...)
11546 * text3.C: add using std::endl
11548 * BufferView.C (moveCursorUpdate): remove default arg
11550 2002-08-20 André Pönitz <poenitz@gmx.net>
11552 * buffer.[Ch]: move inline functions to .C
11555 * BufferView_pimpl.C:
11557 * buffer.[Ch]: use improved inset_iterator
11560 * paragraph.[Ch]: write one paragraph at a time
11562 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11564 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11565 style if style is not specified.
11567 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11569 * text2.C (setCounter): when searching for right label for a
11570 caption, make sure to recurse to parent insets (so that a caption
11571 in a minipage in a figure float works) (bug #568)
11573 2002-08-20 André Pönitz <poenitz@gmx.net>
11575 * text3.C: new file for LyXText::dispatch() and helpers
11577 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11579 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11581 2002-08-19 André Pönitz <poenitz@gmx.net>
11584 * text.C: new LyXText::dispatch()
11586 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11588 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11590 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11592 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11595 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11597 * Makefile.am: use $(variables) instead of @substitutions@
11599 2002-08-15 André Pönitz <poenitz@gmx.net>
11602 * BufferView_pimpl.C: streamlining mathed <-> outer world
11606 * LyXAction.C: remove unused LFUN_MATH
11608 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11610 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11612 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11614 * paragraph.C (Paragraph): reformat a bit
11615 (cutIntoMinibuffer): use builtin InsetList function instad of
11619 * buffer.C: include boost/bind.hpp, add using std::for_each
11620 (writeFileAscii): use ParagraphList iterators
11621 (validate): use for_each for validate traversal of paragraphs
11622 (getBibkeyList): use ParagraphList iterators
11623 (resizeInsets): use for_each to resizeInsetsLyXText for all
11625 (getParFromID): use ParagraphList iterators
11627 * BufferView2.C (lockInset): use paragraph list and iterators
11629 2002-08-14 John Levon <levon@movementarian.org>
11631 * lyxserver.C: remove spurious xforms include
11633 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11635 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11637 2002-08-13 André Pönitz <poenitz@gmx.net>
11640 * lyxfunc.C: further cleaning
11642 2002-08-13 André Pönitz <poenitz@gmx.net>
11644 * funcrequest.h: new constructor
11646 * funcrequest.C: move stuff here from .h
11649 * BufferView_pimpl.C:
11652 * lyxfunc.C: subsequent changes
11654 * lyxfunc.h: new view() member function
11656 * lyxfunc.C: subsequent changes
11658 2002-08-13 Angus Leeming <leeming@lyx.org>
11661 * BufferView_pimpl.C:
11669 changes due to the changed LyXView interface that now returns references
11670 to member variables not pointers.
11672 2002-08-13 Angus Leeming <leeming@lyx.org>
11674 * WordLangTuple (word, lang_code): return references to strings,
11679 * lyxtext.h: forward-declare WordLangTuple.
11684 * text.C: #include "WordLangTuple.h".
11687 * text.C: (selectNextWordToSpellcheck): constify return type.
11689 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11695 * paragraph_pimpl.h:
11698 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11699 suggested by Angus.
11700 Made updateCounter always count from start of buffer, and removed
11701 second argument (par).
11702 Reverted floats number display to '#'. Perhaps I'll try again when the
11703 code base is sanitized a bit.
11705 2002-08-12 Angus Leeming <leeming@lyx.org>
11707 * buffer.[Ch] (getLabelList): constify.
11709 2002-08-07 André Pönitz <poenitz@gmx.net>
11711 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11713 * funcrequest.h: extension to keep mouse (x,y) position
11715 2002-08-12 Juergen Vigna <jug@sad.it>
11717 * BufferView2.C (insertErrors): forbid undo when inserting error
11720 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11722 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11724 * ParagraphList.[Ch]: new files
11726 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11728 * BufferView2.C (lockInset): ParagraphList changes
11731 * bufferlist.C: ditto
11735 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11737 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11738 unused class variable counter_,
11740 * paragraph.[Ch] (getFirstCounter): delete unused function
11742 * counters.C: include LAssert.h
11743 (reset): add a new function with no arg, change other version to
11744 not have def. arg and to not allow empty arg.
11746 * text2.C (setCounter): remove empty arg from call to Counters::reset
11748 2002-08-11 John Levon <levon@movementarian.org>
11750 * Makefile.am: add WordLangTuple.h
11752 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11754 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11755 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11757 * insets/insettext.C: InsetList changes
11759 * graphics/GraphicsSupport.C (operator()): InsetList changes
11761 * toc.C (getTocList): InsetList changes
11763 * paragraph_pimpl.[Ch]: InsetList changes
11765 * paragraph.[Ch]: InsetList changes
11767 * buffer.C (inset_iterator): InsetList changes
11768 (setParagraph): ditto
11769 * buffer.h (inset_iterator): ditto
11770 * iterators.C (operator++): ditto
11771 * iterators.h: ditto
11773 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11775 * InsetList.[Ch]: new files, most InsetList handling moved out of
11778 * BufferView2.C (removeAutoInsets): InsetList changes
11780 (ChangeInsets): ditto
11782 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11784 * paragraph_pimpl.h (empty): new function
11786 * paragraph.[Ch] (empty): new function
11788 * other files: use the new Paragraph::empty function
11790 2002-08-09 John Levon <levon@movementarian.org>
11792 * lyxtext.h: remove unused refresh_height
11794 2002-08-09 John Levon <levon@movementarian.org>
11801 * paragraph.C: move sgml char escaping out of paragraph
11804 * paragraph.C: remove id setter
11808 * paragraph_pimpl.C: remove dead tex_code_break_column
11810 * bufferview_funcs.C: small cleanup
11812 * lyxfunc.C: remove dead proto
11814 * lyxtext.h: make some stuff private. Remove some dead stuff.
11816 * lyxgluelength.C: make as[LyX]String() readable
11818 2002-08-08 John Levon <levon@movementarian.org>
11823 * ToolbarDefaults.C:
11826 * toc.C: lyxaction cleanup
11828 2002-08-08 John Levon <levon@movementarian.org>
11830 * BufferView2.C: small cleanup
11833 * lyxfind.C: move unnecessary header into the .C
11835 2002-08-08 John Levon <levon@movementarian.org>
11837 * funcrequest.h: just tedious nonsense
11840 * lyx_main.C: cleanups
11843 * vspace.C: remove dead header lyx_main.h
11845 2002-08-07 Angus Leeming <leeming@lyx.org>
11848 * paragraph_pimpl.h:
11849 Forward declare class Counters in paragraph.h by moving the ctrs member
11850 variable into Paragraph::Pimpl.
11851 (counters): new method, returning a reference to pimpl_->ctrs.
11853 * text2.C: ensuing changes.
11855 2002-08-07 John Levon <levon@movementarian.org>
11857 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11859 * BufferView_pimpl.C: announce X selection on double/triple
11862 * lyx_main.C: use correct bool in batch dispatch
11864 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11866 2002-08-07 André Pönitz <poenitz@gmx.net>
11868 * funcrequest.h: new class to wrap a kb_action and its argument
11871 * BufferView_pimpl[Ch]:
11875 * lyxrc.C: subsequent changes
11878 2002-08-07 John Levon <levon@movementarian.org>
11880 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11881 document options change.
11883 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11888 * makefile.am: move counters functionality over from
11889 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11891 2002-08-06 John Levon <levon@movementarian.org>
11893 * WordLangTuple.h: new file for word + language code tuple
11904 * BufferView2.C: use WordLangTuple
11907 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11909 2002-08-06 John Levon <levon@movementarian.org>
11911 * lyx_main.C: fix cmdline batch handling
11913 2002-08-06 André Pönitz <poenitz@gmx.net>
11915 * lyxrc.C: set default for show_banner to true
11917 2002-08-06 John Levon <levon@movementarian.org>
11919 * pspell.C: fix a crash, and allow new aspell to work
11921 2002-08-06 John Levon <levon@movementarian.org>
11924 * kbmap.C: small cleanup
11927 * vspace.C: add const
11929 2002-08-05 John Levon <levon@movementarian.org>
11931 * LyXAction.C: back to tabular-insert
11933 2002-08-04 John Levon <levon@movementarian.org>
11936 * BufferView.C: cosmetic change
11938 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11948 * BufferView2.C: purge all "Lyx" not "LyX" strings
11951 * lyxcursor.C: attempt to add some documentation
11956 * ToolbarDefaults.C:
11957 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11958 merge with LFUN_TABULAR_INSERT
11965 * pspell.C: split up i/pspell implementations into separate
11966 files, many cleanups
11968 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11970 * text2.C: some cleanup
11972 * lyxfunc.C: don't check for isp_command == "none" any more, it
11973 didn't make any sense
11975 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11980 * makefile.am: move counters functionality over
11981 from text2.C/paragraph.[Ch] to counters.[Ch], and
11983 2002-08-02 John Levon <levon@movementarian.org>
11985 * buffer.C: s/lyxconvert/lyx2lyx/
11987 2002-08-02 Angus Leeming <leeming@lyx.org>
11989 * lyxlex.C: revert John's change as it breaks reading of the user
11992 2002-08-02 Angus Leeming <leeming@lyx.org>
11994 * importer.C (Import):
11995 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11996 changes due to LyXView::view() now returning a boost::shared_ptr.
11998 2002-08-02 John Levon <levon@movementarian.org>
12000 * lyxlex.C: small cleanup
12002 2002-08-02 John Levon <levon@movementarian.org>
12004 * text2.C (status): small cleanup, no logic change
12006 2002-08-01 John Levon <levon@movementarian.org>
12009 * buffer.C (writeFile): don't output alerts, caller
12013 * lyx_cb.C: from above
12015 * lyxfunc.C: allow to open non-existent files
12017 2002-07-31 John Levon <levon@movementarian.org>
12019 * lyxserver.C: don't let incidental errors get
12022 2002-07-30 John Levon <levon@movementarian.org>
12024 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12026 2002-07-30 John Levon <levon@movementarian.org>
12029 * lyxserver.C: remove I/O callback too
12031 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12033 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12036 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
12038 * many files: strip,frontStrip -> trim,ltrim,rtrim
12040 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
12042 * PrinterParams.h: remove extern containsOnly, and include
12043 support/lstrings.h instead.
12045 * LaTeX.C (scanAuxFile): modify because of strip changes
12047 * buffer.C (makeLaTeXFile): ditto
12048 * bufferparams.C (writeFile): ditt
12049 * lyxfont.C (stateText): ditto
12050 * lyxserver.C (read_ready): ditto
12051 * vc-backend.C (scanMaster): ditto
12053 * BufferView_pimpl.h: ws changes
12055 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12057 2002-07-26 André Pönitz <poenitz@gmx.net>
12059 * kb_sequence.C: remove unnedred usings
12061 2002-07-26 Juergen Vigna <jug@sad.it>
12063 * lyxfind.C (LyXReplace): we have to check better if the returned
12064 text is not of theLockingInset()->getLockingInset().
12066 2002-07-25 Juergen Vigna <jug@sad.it>
12068 * lyxfind.C (LyXReplace): don't replace if we don't get the
12071 * undo_funcs.C (createUndo): remove debugging code.
12073 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12075 * buffer.C (parseSingleLyXformat2Token): Use default placement
12076 when reading old floats.
12078 * FloatList.C (FloatList): Change the default placement of figure
12079 and tables to "tbp".
12081 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12083 * MenuBackend.C: using std::max
12085 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12087 * MenuBackend.C (expandToc):
12088 (expandToc2): code moved from xforms menu frontend. It is now
12089 generic and TOCs are transparent to menu frontends.
12091 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12093 * toc.C (getTocList): protect against buf=0
12095 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12096 Menu as first parameter. Now, this calls itself recursively to
12097 expand a whole tree (this will be useful for TOC handling)
12098 (expandFloatInsert): remove 'wide' version of floats
12100 * MenuBackend.h (submenuname): returns the name of the submenu.
12101 (submenu): returns the submenu itself, provided it has been
12102 created by MenuBackend::expand
12104 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12106 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12107 insets which have noFontChange == true. (bug #172)
12109 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12111 * BufferView_pimpl.C: add connection objects and use them...
12114 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * MenuBackend.C (expandLastfiles):
12119 (expandFloatListInsert):
12120 (expandFloatInsert):
12121 (expand): split expand in parts
12123 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12125 * lyx_gui.C: use lyx_gui::exit()
12127 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12129 * LyXAction.C: show the failing pseudo action
12131 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12133 * buffer.C (readFile): Run the lyxconvert script in order to read
12136 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12140 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12142 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12146 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12148 2002-07-22 Herbert Voss <voss@lyx.org>
12151 * lyxlength.[Ch]: add support for the vertical lengths
12153 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12155 * toc.[Ch]: std:: fixes
12157 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12159 * lyxrc.C: do not include lyx_main.h
12161 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12167 * BufferView2.C: include "lyxlex.h"
12170 * bufferparams.h: do not #include "lyxlex.h"
12172 * lyxtextclasslist.C (Add): remove method
12173 (classlist): renamed to classlist_
12175 * paragraph_pimpl.C:
12179 * bufferview_funcs.C:
12184 * toc.C (getTocList): use BufferParams::getLyXTextClass
12186 * toc.C (getTocList): use InsetFloat::addToToc
12188 * toc.[Ch]: new files, containing helper functions to handle table
12191 * lyxfunc.C (dispatch): no need to remove spaces around command
12193 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12194 first command of the sequence; it is not very clever, but I do not
12195 have a better idea, actually
12197 * LyXAction.C (LookupFunc): make sure to remove space at the
12198 beginning and end of the command
12200 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12202 * MenuBackend.C (getMenubar): new method: return the menubar of
12204 (read): treat differently reading of menu and menubar (in
12205 particular, the menubar has no name now)
12206 (Menu::menubar): remove
12208 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12211 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12213 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12214 a bibitem inset in a RTL paragraph.
12216 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12218 * paragraph_pimpl.C: constify
12220 * BufferView_pimpl.C:
12222 * lyxfunc.C: fix dispatch in a nicer way
12224 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12226 * lyxfunc.C (dispatch):
12227 * BufferView_pimpl.C:
12228 * BufferView_pimpl.h:
12230 * BufferView.h: rename Dispatch() to dispatch()
12232 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12234 * lyxlayout.C (Read): honor DependsOn tag
12236 * lyxlayout.[Ch] (depends_on): new method
12238 * version.C.in: update lyx_docversion
12240 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12242 * paragraph.C (validate): remove from here...
12243 * paragraph_pimpl.C (validate): ... and move here
12244 (isTextAt): make it const
12246 * buffer.C (getLists): ws cleanup
12248 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12250 * language.C (read): Use iso8859-1 encoding in latex_lang
12251 (this prevents LyX from crashing when using iso10646-1 encoding).
12253 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12255 * text2.C (toggleInset): if cursor is inside an inset, close the
12256 inset and leave cursor _after_ it
12258 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12260 * lyxfunc.C: move minibuffer completion handling out of here
12262 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12264 * BufferView_pimpl.C:
12265 * LaTeX.C: fix dispatch calls
12267 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12269 * text.C (drawChars): Fix Arabic text rendering.
12271 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12275 * lyxfunc.C: remove message-push/pop
12279 * lyxfunc.C: rationalise some code by removing verboseDispatch
12280 in favour of a bool argument to dispatch()
12282 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12284 * lyx_main.C (init): make sure to read symlinks as absolute paths
12286 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12289 * lyxfunc.C: no need for commandshortcut to be a member
12291 2002-07-15 André Pönitz <poenitz@gmx.net>
12293 * converter.C: add support for $$s (scripts from lib/scripts dir)
12294 * lyx_main.C: white space
12296 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12300 * lyxrc.C: remove second exit confirmation
12302 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12307 * BufferView_pimpl.h:
12308 * BufferView_pimpl.C:
12309 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12311 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12313 * MenuBackend.C (expand): add numeric shortcuts to document menu
12315 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12317 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12319 * lyxfont.C (setLyXFamily):
12326 * buffer.C (asciiParagraph): use ascii_lowercase
12328 2002-07-15 Mike Fabian <mfabian@suse.de>
12330 * lyxlex_pimpl.C (search_kw):
12331 * lyxlex.C (getLongString):
12332 * converter.h (operator<):
12333 * converter.C (operator<):
12334 * buffer.C (parseSingleLyXformat2Token):
12336 * ToolbarDefaults.C (read):
12337 * MenuBackend.C (checkShortcuts):
12339 * LColor.C (getFromGUIName):
12340 (getFromLyXName): use the compare_ascii_no_case instead of
12341 compare_no_case, because in turkish, 'i' is not the lowercase
12342 version of 'I', and thus turkish locale breaks parsing of tags.
12344 2002-07-16 Angus Leeming <leeming@lyx.org>
12346 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12347 now takes a Buffer const & argument.
12349 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12351 * BufferView.C (resize): check there's a buffer to resize
12353 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12355 * lyxfunc.C: remove dead code
12358 * lyxserver.C: use lyx_guii::set_read_callback
12360 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12362 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12363 an inset in a RTL paragraph.
12365 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12367 * lyxfunc.C: repaint after a font size update
12369 2002-07-15 André Pönitz <poenitz@gmx.net>
12371 * lyxlength.C: inBP should be able to return negative values
12373 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12375 * lyxfunc.C: use lyx_gui::update_fonts()
12377 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12379 * lyxfunc.C: use lyx_gui::update_color()
12381 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12387 * lyxrc.C: remove file->new asks for name option, and let
12388 buffer-new take an argument
12390 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12392 * BufferView_pimpl.C: remove unneeded extra repaint()
12394 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12396 * LyXAction.C: allow command-sequence with NoBuffer
12398 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12400 2002-07-10 Angus Leeming <leeming@lyx.org>
12402 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12404 2002-07-09 Angus Leeming <leeming@lyx.org>
12406 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12408 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12410 * lengthcommon.h: whitespace
12412 * lyxfunc.C: update scrollbar after goto paragraph
12414 * lyxtext.h: factor out page break drawing, and fix it so
12415 page break/added space paints as selected nicely
12417 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12419 * BufferView_pimpl.C: add FIXMEs, clean up a little
12421 2002-07-09 André Pönitz <poenitz@gmx.net>
12423 * lyxfont.[Ch]: support for wasy symbols
12425 2002-07-08 André Pönitz <poenitz@gmx.net>
12427 * BufferView_pimpl.C: apply John's patch for #93.
12429 2002-07-05 Angus Leeming <leeming@lyx.org>
12431 * BufferView_pimpl.C (buffer): generate previews if desired.
12433 * LColor.h: add "preview" to the color enum.
12435 * LColor.C (LColor): add a corresponding entry to the items array.
12437 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12440 2002-07-05 Angus Leeming <leeming@lyx.org>
12442 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12443 The body of the code is now in the method that is passed an ostream &
12444 rather than a file name.
12445 Pass an additional only_preamble parameter, useful for the forthcoming
12448 2002-07-03 André Pönitz <poenitz@gmx.net>
12450 * lyxfunc.C: simplify getStatus() a bit for math stuff
12452 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12456 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12458 * text.C (changeRegionCase): do not change case of all the
12459 document when region ends at paragraph end (bug #461)
12461 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12463 * paragraph.C (startTeXParParams):
12464 (endTeXParParams): add \protect when necessary
12466 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12468 * BufferView_pimpl.C (workAreaExpose): remove warning
12470 2002-06-27 Angus Leeming <leeming@lyx.org>
12472 * Makefile.am: add lyxlayout_ptr_fwd.h.
12474 2002-06-26 André Pönitz <poenitz@gmx.net>
12476 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12478 2002-06-25 Angus Leeming <leeming@lyx.org>
12480 * lyxfunc.C (dispatch): Comment out the call to
12481 grfx::GCache::changeDisplay. The method no longer exists now that the
12482 pixmap generation part of the graphics loader has been moved into
12485 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12487 * text2.C: layout as layout
12489 * text.C: layout as layout
12491 * tabular.C (OldFormatRead): layout as layout
12493 * paragraph_pimpl.C (TeXDeeper): layout as layout
12494 (realizeFont): layout as layout
12496 * paragraph.C (writeFile): layout as layout
12497 (validate): layout as layout
12498 (getFont): layout as layout
12499 (getLabelFont): layout as layout
12500 (getLayoutFont): layout as layout
12501 (breakParagraph): layout as layout
12502 (stripLeadingSpaces): layout as layout
12503 (getEndLabel): layout as layout
12504 (getMaxDepthAfter): layout as layout
12505 (applyLayout): layout as layout
12506 (TeXOnePar): layout as layout
12507 (simpleTeXOnePar): layout as layout
12508 (TeXEnvironment): layout as layout
12509 (layout): layout as layout
12510 (layout): layout as layout
12512 * lyxtextclass.C (compare_name): new functor to work with
12513 shared_ptr, layout as layout
12514 (Read): layout as layout
12515 (hasLayout): layout as layout
12516 (operator): layout as layout
12517 (delete_layout): layout as layout
12518 (defaultLayout): layout as layout
12520 * lyxlayout_ptr_fwd.h: new file
12522 * lyxlayout.C (Read): layout as layout
12524 * lyx_cb.C (MenuInsertLabel): layout as layout
12526 * bufferlist.C (newFile): layout as layout
12528 * buffer.C (readLyXformat2): layout as layout
12529 (parseSingleLyXformat2Token): layout as layout
12530 (insertStringAsLines): layout as layout
12531 (asciiParagraph): layout as layout
12532 (latexParagraphs): layout as layout
12533 (makeLinuxDocFile): layout as layout
12534 (simpleLinuxDocOnePar): layout as layout
12535 (makeDocBookFile): layout as layout
12536 (simpleDocBookOnePar): layout as layout
12537 (getLists): layout as layout
12539 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12541 * CutAndPaste.C (cutSelection): layout as layout
12542 (pasteSelection): layout as layout
12543 (SwitchLayoutsBetweenClasses): layout as layout
12545 * BufferView_pimpl.C (Dispatch): layout as layout
12546 (smartQuote): layout as layout
12548 * BufferView2.C (unlockInset): layout as layout
12550 2002-06-24 André Pönitz <poenitz@gmx.net>
12552 * lyxfunc.C: fix #487
12554 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12558 * lyxfunc.C: remove display_shortcuts, show_banner
12560 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12562 * Buffer_pimpl.C: oops, update on resize
12564 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12571 * BufferView.C: use repaint()
12573 * BufferView_pimpl.h:
12574 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12575 as it's a clearer description. Remove superfluous
12578 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12580 * text.C: fix bug 488. Not ideal, but getting
12581 getWord() to work properly for the insets that
12582 matter is more difficult ...
12584 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12586 * BufferView_pimpl.C:
12589 * lyxfunc.C: remove the six million index lyxfuncs to just
12590 one, and DTRT (bug 458)
12592 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12596 * BufferView_pimpl.h:
12597 * BufferView_pimpl.C: clean up resize() stuff,
12598 and unnecessary updateScreen()s
12600 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12604 * BufferView_pimpl.h:
12605 * BufferView_pimpl.C:
12608 * minibuffer.C: remove focus management of workarea,
12609 not needed. Use screen's greyOut()
12611 2002-06-17 Herbert Voss <voss@lyx.org>
12613 * converter.C: (convert) do not post a message, when converting
12614 fails, let the calling function decide what to do in this case
12616 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12618 * lyxfunc.C: tidy up a little
12620 2002-06-16 <alstrup@diku.dk>
12622 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12623 Got rid of FORMS_H_LOCATION include. Now we are
12626 2002-06-15 LyX Development team <lyx@rilke>
12628 * buffer.[Ch] (sgmlOpenTag):
12629 (sgmlCloseTag): Added support for avoiding pernicious mixed
12630 content. Return number of lines written.
12632 (makeLinuxDocFile):
12633 (makeDocBookFile): Fixed calls to sgml*Tag.
12634 Simple white space clean.
12636 (simpleDocBookOnePar): Simple white space clean.
12638 * tabular.[Ch] (docBook): Renamed to docbook and got another
12639 argument to related with the pernicious mixed content.
12641 (docbookRow): Fixed calls for docbook inset method.
12643 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12645 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12646 so it's X11 independent.
12650 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12652 2002-06-15 Lyx Development team <lyx@electronia>
12654 * intl.h: Renamed getTrans to getTransManager.
12656 2002-06-14 Angus Leeming <leeming@lyx.org>
12658 * Makefile.am: nuke forgotten stl_string_fwd.h.
12660 2002-06-12 Angus Leeming <leeming@lyx.org>
12662 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12664 2002-06-13 Angus Leeming <leeming@lyx.org>
12667 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12669 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12671 * kbmap.C (getiso): add support for cyrillic and greek
12673 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12677 * BufferView_pimpl.h:
12678 * BufferView_pimpl.C: move bogus scrolling logic
12681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12684 * BufferView_pimpl.C: view->resize() change
12686 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12688 * BufferView_pimpl.C: topCursorVisible
12691 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12695 * lyx_gui.C: move to frontends/
12699 * lyx_main.C: changes from above
12701 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12708 * lyx_main.C: minor tidy
12710 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12712 * BufferView_pimpl.h:
12713 * BufferView_pimpl.C:
12715 * BufferView.C: make painter() const,
12718 * BufferView2.C: use screen() accessor
12721 * lyx_main.C: some minor cleanup
12723 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12725 * BufferView_pimpl.h:
12726 * BufferView_pimpl.C: remove enter/leaveView,
12729 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12734 * BufferView_pimpl.h:
12735 * BufferView_pimpl.C: only construct screen once,
12738 * lyxrc.C: remove pointless comment
12740 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12743 * BufferView.C: remove active() and belowMouse()
12745 * BufferView_pimpl.h:
12746 * BufferView_pimpl.C: use workarea() not workarea_,
12747 and make it use a scoped_ptr instead
12749 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12751 * lyx_gui.C: add debug message on BadWindow
12753 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12755 * sp_spell.C: fdopen is not part of the C++ standard.
12757 * paragraph.C (InsetIterator): use >= instead of ==
12759 2002-06-07 Angus Leeming <leeming@lyx.org>
12761 Fixes needed to compile with Compaq cxx 6.5.
12762 * BufferView_pimpl.C:
12769 * lyxtextclasslist.C:
12774 all c-library variables have been moved into namespace std. Wrap
12775 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12780 Add a using std::abs declaration.
12782 * kbmap.h (modifier_pair):
12783 * paragraph.h (InsetTable, InsetList):
12784 * lyxfont.h (FontBits):
12785 type definition made public.
12787 * bufferlist.C (emergencyWriteAll): the compiler complains that
12788 there is more than one possible lyx::class_fun template to choose from.
12789 I re-named the void specialisation as lyx::void_class_fun.
12791 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12793 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12794 the compiler is is unable to find tostr in write_attribute.
12796 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12798 * buffer.C (sgmlError): hide #warning
12800 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12802 * xtl/*: get rid of xtl, which is not in use anyway
12804 * LyXAction.C (init):
12805 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12806 were unimplemented xtl experimentation
12808 2002-06-04 André Pönitz <poenitz@gmx.net>
12810 * lyxfunc.C: disable array operation on simple formulae
12812 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12814 * converter.C: constify a bit
12816 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12818 * lyx_gui.C: check xforms version correctly
12820 2002-04-30 Herbert Voss <voss@lyx.org>
12822 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12825 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12827 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12828 attempt to register it with a VCS)
12830 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12832 * lyx_main.C (init): honor variables LYX_DIR_13x and
12835 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12839 * lyx_main.C: fix a crash on bad command line,
12840 and give a useful exit status on error
12842 * lyxfunc.C (doImport): allow -i lyx to work
12844 2002-03-30 André Pönitz <poenitz@gmx.net>
12846 * lyxfunc.C: mathed font changes
12848 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12863 * trans_mgr.h: srcdocs, and some minor cleanups
12865 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12867 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12868 call getFont all the time)
12870 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12872 * switch from SigC signals to boost::signals
12874 2002-05-29 André Pönitz <poenitz@gmx.net>
12876 * paragraph_pimpl.C (getChar): don't call size() too often...
12878 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12880 * paragraph_pimpl.C (insertChar): do not try to update tables when
12881 appending (pos == size())
12883 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12884 in order to reduce drastically the number of comparisons needed to
12885 parse a large document
12887 2002-05-29 André Pönitz <poenitz@gmx.net>
12893 * textclasslist.[Ch]:
12894 * sp_ispell.h: whitespace change
12896 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12898 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12899 lyxaction directly now.
12901 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12905 * lyxvc.C: remove unused headers
12907 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12914 * undo_funcs.C: some cleanups. Use shared_ptr
12915 and a template for the undo stacks.
12917 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12919 * BufferView_pimpl.h:
12920 * BufferView_pimpl.C:
12927 * text2.C: use key_state/mouse_state
12929 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12931 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12934 * chset.C: change include order
12935 (loadFile): use boost regex and get rid of LRegex and LSubstring
12937 * Makefile.am (BOOST_LIBS): new variable
12938 (lyx_LDADD): use it
12940 * LaTeX.C: change include order.
12941 (scanAuxFile): use boost regex and get rid of LRegex and
12945 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12950 * FontInfo.C: moved to frontends/xforms/
12953 * FontLoader.C: moved into frontends for GUIIzation
12958 * lyxfunc.C: changes from above
12960 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12962 * LColor.C: remove spurious X include
12964 * BufferView_pimpl.C:
12969 * text2.C: move font metrics to frontends/
12971 2002-05-24 Juergen Vigna <jug@sad.it>
12973 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12974 setting the undo_cursor.
12976 * ParagraphParameters.h: include local includes first.
12978 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12980 * BufferView_pimpl.C:
12981 * BufferView_pimpl.h:
12985 * screen.C: move WorkArea into frontends/
12991 * BufferView2.C: move LyXScreen into frontends/
12995 * lyx_gui.C: move lyxlookup into frontends/xforms/
12997 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13000 * BufferView_pimpl.C:
13010 * bufferview_funcs.C:
13023 * vc-backend.C: move LyX/XFormsView into frontends/
13025 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13037 * text2.C: move Painter to frontends/
13039 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
13041 * buffer.C: comment out some some code that depend upon lyx_format
13044 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13045 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13047 * buffer.h (NO_COMPABILITY): turn off compability
13049 * ColorHandler.C: include scoped_array.hpp
13051 * font.C: Use more specific smart_ptr header.
13054 * ShareContainer.h: ditto
13055 * lyx_main.h: ditto
13057 * FontInfo.h: ditto
13058 * BufferView_pimpl.h: ditto
13059 * ColorHandler.h: ditto
13061 * kbmap.C (defkey): change call to shared_ptr::reset
13063 2002-05-21 Juergen Vigna <jug@sad.it>
13065 * buffer.C (insertErtContents): fix to insert ert asis if it is
13066 non empty. Skip it completely if it contains only whitespaces.
13068 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13070 * BufferView_pimpl.C:
13071 * BufferView2.C: clear selection on paste (bug 393)
13073 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13075 * DepTable.C: include ctime
13077 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13079 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13081 2002-05-14 Juergen Vigna <jug@sad.it>
13083 * text.C (breakParagraph): fixed function to honor the keepempty
13084 layout in the right maner and also to permit the right breaking
13085 algorithm on empty or non empyt keepempty paragraphs.
13087 * paragraph.C (breakParagraph): we have to check also if the par
13088 is really empty (!size()) for isempty otherwise we do the wrong
13091 2002-05-10 Juergen Vigna <jug@sad.it>
13093 * buffer.[Ch] : The following are only changes to the ert
13094 compatibility read reading old LaTeX layout and font stuff and
13095 convert it to ERTInsets.
13097 * buffer.h: added isErtInset().
13099 * buffer.C (struct ErtComp): add a fromlayout bool to check
13100 if we're inside a LaTeX layout.
13101 (isErtInset): new helper function.
13102 (insertErtContents): look for other ert insets before this one
13103 and insert the contents there, so that we don't have subsequent
13104 ERT insets with nothing between them. This way we create only one
13105 inset with multiple paragraphs. Also check if we don't insert only
13106 spaces ' ' as they are ignored anyway afterwards in the .tex file
13107 so if we have only spaces we will ignore this latex part in the
13109 (parseSingleLyXformat2Token \\layout): better compatibility when
13110 reading layout-latex stuff.
13111 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13113 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13114 stuff after reading the inset only get the information back from
13117 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13119 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13121 * LaTeXFeatures.C (getBabelOptions): New method.
13123 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13125 * BufferView_pimpl.C (Dispatch): work around missing argument for
13128 2002-05-08 Juergen Vigna <jug@sad.it>
13130 * text.C (leftMargin): handle paragraph leftindent.
13132 * paragraph.C (writeFile): write the new \\leftindent tag.
13133 (validate): handle leftindent code.
13134 (TeXEnvironment): handle paragraphleftindent code again.
13136 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13138 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13139 for paragrap_extra indent code and new token \\leftindent.
13140 (latexParagraphs): handle the leftindent as environment.
13142 * ParameterStruct.h: added leftindent support.
13144 * ParagraphParameters.C (leftIndent): added support functions for
13145 the paragraph left indent.
13147 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13150 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13152 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13155 * text.C (computeBidiTables): No bidi in insetERT.
13157 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13160 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13162 * version.C.in: pre 5
13164 2002-05-02 José Matos <jamatos@fep.up.pt>
13165 * buffer.C (makeDocBookFile): white space changes, add newline to
13167 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13169 * tabular.C (docBook): fix typo.
13171 2002-05-03 Juergen Vigna <jug@sad.it>
13173 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13174 change in LyXText as we can not be sure it was not freed.
13175 (drawOneRow): remove unused code.
13177 * text.C (drawInset): redo the calculation of the need_break_row as
13178 it could have a row which was already freed.
13179 (draw): look at the return value of drawInset and return false if
13180 it also returned false.
13181 (paintRowText): look at the return value of draw and return false if
13182 it also returned false.
13184 * lyxtext.h: added bool return type to drawInset() and draw() so that
13185 if we have a change in the row so that the rowbreak has to be redone
13186 we abort drawing as it will be called again.
13188 2002-05-02 Juergen Vigna <jug@sad.it>
13190 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13191 a change in the maintext also if we're inside an inset.
13192 (Dispatch): set the cursor again after a break line and after the
13193 screen has been updated as it could be we're in a different row.
13195 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13196 to set the cursor behind the pargraph with > size().
13197 (setCursor): check also for the same paragraph when checking where
13198 to put the cursor if we have a NFR inset.
13200 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13201 parts of layout read further up as it still was in the wrong
13204 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13206 * screen.C (drawFromTo): change sine fullRebreak always return
13209 * buffer.C (parseSingleLyXformat2Token): reindent some
13211 * BufferView_pimpl.C (update): change since fullRebreak always
13213 (Dispatch): git rid of the last hardcoded "Standard"s.
13215 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13217 * text2.[Ch] (fullRebreak): make it return void now that we always
13220 2002-04-30 Juergen Vigna <jug@sad.it>
13222 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13223 ert compatibility check for "latex" layout.
13225 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13227 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13228 minipages: use col% instead of p%, and also use the current font.
13229 (makeLaTeXFile): Fix use babel condition.
13230 (parseSingleLyXformat2Token): Correct font when reading old floats.
13232 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13234 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13235 inserting list of floats.
13237 2002-04-25 Herbert Voss <voss@lyx.org>
13239 * MenuBackend.C (expand): don't add the graphics extensions to the
13242 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13244 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13245 non-existing layout, do not complain if it was the default layout
13246 of the original class (bug #342)
13248 2002-04-24 Juergen Vigna <jug@sad.it>
13250 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13251 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13253 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13255 * buffer.C (getBibkeyList): If using \bibliography, return the
13256 option field with the reference itself. Enables us to provide natbib
13257 support when using \bibliography.
13259 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13261 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13263 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13264 natbib is provided by the LaTeX class.
13266 2002-04-23 Juergen Vigna <jug@sad.it>
13268 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13271 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13273 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13275 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13277 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13278 ensuremath around textordmasculine, textordfeminine and
13281 2002-04-19 Juergen Vigna <jug@sad.it>
13283 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13284 reinitializing the buffer otherwise row-dimensions may be wrong.
13285 (update): reset also the selection cursors if they do exits otherwise
13286 their x/y positions may be wrong.
13288 * text2.C (cursorDown): don't enter the inset if we came from a row
13289 above and are one row over the inset.
13291 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13292 really leaving an inset.
13294 2002-04-18 Juergen Vigna <jug@sad.it>
13296 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13297 of the selected paragraph does not have the selected layout also if
13300 * text2.C (setLayout): fixed bug which did not change last selected
13303 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13304 changed the read and substituted \\end_float with \\end_inset!
13306 * BufferView_pimpl.C (cursorPrevious):
13307 (cursorNext): fixed to make it work with rows heigher than the work
13308 area without moving the cursor only the draw of the row.
13309 (workAreaMotionNotify): fix jumping over high rows.
13311 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13313 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13316 2002-04-16 Juergen Vigna <jug@sad.it>
13318 * text2.C (setCursor): set also the irow().
13319 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13321 (cursorDown): support for locking an inset if the x_fix value goes
13322 inside it. That way I can transverse insets too with cursor up/down.
13324 * lyxrow.h: added irow helper function same as other (i) functions.
13326 * BufferView_pimpl.C (cursorPrevious):
13327 (cursorNext): fixed for insets!
13329 2002-04-15 Juergen Vigna <jug@sad.it>
13331 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13332 position otherwise it is wrong in some cases.
13334 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13335 inside the inset before the call.
13337 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13339 * buffer.[Ch] (getBibkeyList): make it const.
13341 2002-04-12 Juergen Vigna <jug@sad.it>
13343 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13345 * text2.C (getCursorX): new helper function
13346 (setCursor): compute also ix_
13347 (setCursorFromCoordinates): set also ix.
13349 * lyxcursor.h: added ix_ and helper functions.
13351 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13353 * buffer.C (insertStringAsLines): dont break paragraph if the this
13354 paragraph is inside an inset which does not permit it!
13356 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13357 also with no chars on this paragraph.
13358 (paintRowText): only paint stuff if it's inside the workarea!
13360 * paragraph.C (breakParagraph): honor keepempty flag and break the
13361 paragraph always below not above.
13363 * BufferView2.C (unlockInset): update the paragraph layout on inset
13364 unlock as we changed paragraph in such a case.
13366 * lyxfind.C (LyXFind): clear the former selection if not found!
13368 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13369 again called in insertChar().
13371 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13372 an inset which uses the whole row!
13373 (rightMargin): ditto.
13374 (insertChar): force a rebreak if we inserted an inset!
13376 2002-03-28 Herbert Voss <voss@lyx.org>
13378 * lyxlength.[Ch]: add inBP() to get the right PS-point
13379 units (BigPoint). With inPixels we have rounding errors
13381 2002-04-11 Juergen Vigna <jug@sad.it>
13383 * text2.C (setCursorFromCoordinates): set iy to the right value.
13384 (setCursor): add check if row->previous exists!
13386 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13387 an old float_type as this was the case in the old code!
13389 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13391 * BufferView2.C (showLockedInsetCursor): use iy
13392 (fitLockedInsetCursor): ditto
13394 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13395 locked insets as there we have the right value now.
13397 * lyxcursor.C: added iy_ variable and iy functions to set to the
13398 baseline of cursor-y of the locked inset.
13400 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13401 (setCursor): fixed for insets which need a full row.
13403 * text.C (rowLastPrintable): don't ignore the last space when before
13404 an inset which needs a full row.
13405 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13406 as last character of a row when before a inset which needs a full row.
13408 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13410 * version.C.in: update date
13412 * text2.C (fullRebreak): try to always return true and see what
13415 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13417 * MenuBackend.C (expand): use Floating::listName
13419 * FloatList.C (FloatList): add listName argument to the built-in
13422 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13423 text associated with the float.
13425 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13427 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13429 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13431 * ShareContainer.h: add a couple of missing typenames.
13433 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13435 * lyxrc.C (getDescription): use _() correctly rather than N_().
13437 2002-03-28 Herbert Voss <voss@lyx.org>
13439 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13440 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13442 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13444 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13445 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13447 2002-03-29 Juergen Vigna <jug@sad.it>
13449 * lyxfunc.C (dispatch): add a missing fitCursor call.
13451 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13452 it was scrolled by a cursor move, so return the bool status.
13454 * BufferView.C (fitCursor): return the bool flag also to the outside
13455 world as this is needed.
13457 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13459 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13460 call the edit() as it is not needed (and wrong) IMO.
13461 (workAreaButtonPress): set the screen_first variable before evt.
13462 unlock the inset as this may change screen_first and then we have
13463 a wrong y position for the click!
13465 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13467 * MenuBackend.C (expand): another translation that I missed
13469 2002-03-28 Juergen Vigna <jug@sad.it>
13471 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13473 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13475 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13477 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13479 * MenuBackend.C (expand): fix export/view/update when there is no
13482 2002-03-27 Herbert Voss <voss@lyx.org>
13484 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13487 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13489 * bufferview_funcs.C (currentState): only show paragraph number
13490 for is DEVEL_VERSION is set.
13492 * lyxfunc.C (dispatch): put warning in INFO channel
13494 * MenuBackend.C (expand): translate the name of floats
13496 * FloatList.C (FloatList): mark the float names for translation
13498 * converter.C (convert): use LibScriptSearch
13500 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13502 * MenuBackend.C (defaults): fix default menu (we might as well get
13505 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13507 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13510 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13512 * lyxvc.C: reorder includes.
13514 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13516 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13519 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13521 * CutAndPaste.C: change layouts earlier on paste
13522 to avoid crashing when calling getFont()
13524 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13526 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13529 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13531 * WorkArea.C: remove 'Pending' debug message.
13533 * most files: ws cleanup
13535 * buffer.[Ch]: ws changes
13537 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13539 2002-03-21 Juergen Vigna <jug@sad.it>
13541 * tabular.C (SetMultiColumn): collapse also the contents of the
13542 cells and set the last border right. Added a Buffer const * param.
13544 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13546 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13549 2002-03-19 Juergen Vigna <jug@sad.it>
13551 * text2.C (clearSelection): reset also xsel_cache.
13553 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13554 where it needs to be called (John tells us to do so too :)
13555 (selectionLost): reset sel_cache.
13557 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13559 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13561 * text2.C (setCursorIntern): put debuging code in INSETS channel
13563 2002-03-19 André Pönitz <poenitz@gmx.net>
13565 * lyxfunc.C: tiny whitespace change
13567 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13569 * ToolbarDefaults.C (init):
13570 * LyXAction.C (init):
13572 * BufferView_pimpl.C (Dispatch):
13573 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13575 2002-03-19 Allan Rae <rae@lyx.org>
13577 * exporter.C (Export): removeAutoInsets before doing anything else.
13578 While I've just introduced a dependency on BufferView this really is
13579 the best place to clean the buffer otherwise you need to cleanup in
13580 a dozen places before calling export or cleanup in a dozen functions
13583 * converter.C (runLaTeX):
13584 (scanLog): Better handling of removeAutoInsets and screen updates.
13586 * lyxfunc.C (dispatch): small whitespace changes
13588 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13590 * WorkArea.C (C_WorkAreaEvent): return a value.
13591 (event_cb): return 1 if we handled the event, 0 otherwise.
13593 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13595 2002-03-18 Juergen Vigna <jug@sad.it>
13597 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13598 (GetAdditionalWidth): ditto.
13599 (RightLine): ditto.
13602 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13603 inset if we're there actually (probably not used right now but this
13604 is the direction to go for unifying code).
13605 (paste): disable code to clear the selection.
13607 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13608 inside an InsetText and move the check further up as it is in the
13611 * text2.C (pasteSelection): set a selection over the pasted text.
13613 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13615 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13616 and libgraphics to build on Cygwin.
13618 2002-03-15 Juergen Vigna <jug@sad.it>
13620 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13621 inserting an Inset into the paragraph. I know this is not the best
13622 fix but we already use current_view in CutAndPaste so we will remove
13623 all of it's using at the same time.
13625 * buffer.C (sgmlError): deactivated function till it is rewritten in
13626 the right mode, now it can create problems.
13628 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13629 before accessing it.
13631 2002-03-14 Juergen Vigna <jug@sad.it>
13633 * undo_funcs.C (textHandleUndo): do the right thing when updating
13634 the inset after the undo/redo.
13636 * text2.C (setCursor): just some testcode for #44 not ready yet.
13638 * undo_funcs.C (textHandleUndo): set the next() and previous()
13639 pointers of the paragraph to 0 before deleting otherwise we have
13640 problems with the Paragraph::[destructor].
13642 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13643 on a paragraph insertion.
13645 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13647 * buffer.C (asciiParagraph): use += operator for char append to
13650 * paragraph.C (getFontSettings): compare >= not just >
13651 (highestFontInRange): ditto
13654 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13656 * paragraph.C: change several algorithm to be more appripriate for
13657 the problem domain. This is lookip in FontList and in the InsetList.
13659 2002-03-13 André Pönitz <poenitz@gmx.net>
13662 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13664 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13669 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13671 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13673 * Painter.C (display): anon helper function, adjust code for this
13675 (pixmap): remove function.
13677 * Painter.h: remove private display variable.
13679 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13681 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13683 * WorkArea.[Ch]: remove figinset_canvas cruft.
13685 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13687 * lyxtextclass.C (operator): add one item cache optimization.
13689 * bufferlist.h: doxy changes
13691 * bufferlist.C: ws changes
13693 * DepTable.[Ch] (ext_exist): place const in the right spot.
13695 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13697 (workAreaExpose): call resizeInsets when the with BufferView changes.
13698 (Dispatch): adjust for protectedBlank removal
13699 (specialChar): call updateInset if the insert went ok.
13701 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13702 specialChar instead.
13704 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13706 * BufferView.h: doxy change
13708 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13710 * lyxtextclass.C (operator[]): remove non-const version
13711 (defaultLayout): remove non-const version
13713 2002-03-12 Juergen Vigna <jug@sad.it>
13715 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13716 did resize the LyXText too.
13718 * buffer.C (readLyXformat2): set layout information on newly allocated
13721 * tabular.C (OldFormatRead): set layout information on the paragraph.
13723 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13725 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13727 2002-03-11 Juergen Vigna <jug@sad.it>
13729 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13731 (resizeCurrentBuffer): force also the insets to resize themselfes.
13732 (moveCursorUpdate): fixed up for InsetText.
13734 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13737 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13738 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13739 value of Dialogs::tooltipsEnabled().
13740 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13742 2002-03-08 Juergen Vigna <jug@sad.it>
13744 * BufferView_pimpl.C (updateInset): update inset inside inset also
13745 if it isn't inside theLockingInset().
13747 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13749 * buffer.C (asciiParagraph): redo some of the word and line length
13751 (getLists): look for Caption instead of caption.
13753 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13755 * buffer.C (Buffer): initialize niceFile to true
13757 (makeLinuxDocFile):
13758 (makeDocBookFile): make sure niceFile is true on exit
13760 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13762 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13764 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13766 * LyXSendto.C: remove.
13767 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13768 * lyx_gui.C: remove now-redundant comment.
13769 * ColorHandler.h: remove forward declaration of class WorkArea.
13770 * lyxfunc.C: remove #include "WorkArea.h".
13772 2002-03-07 Juergen Vigna <jug@sad.it>
13774 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13775 got moved away with the DEPM and also set the inset_owner always
13776 right which before could have been omitted.
13778 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13780 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13781 wanted layout is not found.
13783 2002-03-07 Juergen Vigna <jug@sad.it>
13785 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13787 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13789 * paragraph.C (breakParagraph): use default layout not layout of
13791 (Paragraph): clear ParagraphParameters.
13793 2002-03-06 Juergen Vigna <jug@sad.it>
13795 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13796 otherwise it would not be a valid lenght. Fixed a special case in
13797 the minipage compatibility read where we end the document with a
13800 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13801 was set as it could be 0 for InsetTexts first entry.
13803 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13805 * paragraph.C (writeFile): if layout is empty write out
13806 defaultLayoutName().
13808 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13809 file without named layout we set layout to defaultLayoutName().
13811 2002-03-06 Juergen Vigna <jug@sad.it>
13813 * CutAndPaste.C (copySelection): set layout for new paragraph.
13815 * text.C (prepareToPrint): leave ERT inset left aligned
13816 (leftMargin): don't indent paragraphs inside ERT insets
13818 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13820 * paragraph.C (breakParagraph): dont call clear do the work manually
13822 * paragraph.[Ch] (clear): remove function
13824 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13826 * paragraph.C (Paragraph): dont call clear, the work has already
13829 * lyxtextclass.C (operator): assert if n is empty
13831 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13832 work manually instead.
13834 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13836 * BufferView_pimpl.C: protect selectionLost against text == 0
13838 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13840 * text.C (breakParagraph): fix a setting layout to '0' problem.
13842 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13844 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13845 final location of file, for the included files, and graphics.
13847 2002-03-05 Juergen Vigna <jug@sad.it>
13849 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13851 2002-03-04 Juergen Vigna <jug@sad.it>
13853 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13855 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13856 last column of multicolumn cells.
13857 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13859 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13861 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13862 file if it doesn't go to a temporary file.
13864 * buffer.C (sgmlOpenTag):
13865 (sgmlCloseTag): remove extra newline insertion.
13867 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13869 * text.C (getRowNearY): comment out debug msg
13871 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13873 * text2.C: first -> first_y
13875 * text.C (getRowNearY): add some attemts at a possible
13876 optimization, not working.
13878 * tabular.[Ch]: add BufferParams to several function so that newly
13879 created paragraph can be initialized to he default layotu for the
13882 * tabular-old.C (ReadOld): add buf->params to call of Init
13884 * screen.C: rename text->first to text->first_y
13886 * paragraph.C (breakParagraph): always set layout in the broken
13889 * lyxtextclass.C (Read): remove lowercase
13892 (delete_layout): ditto
13894 * lyxtext.h: rename first -> first_y
13896 * lyxlayout.C (Read): remove lowercase
13899 (obsoleted_by): ditto
13901 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13903 * buffer.C (insertErtContents): add params are to InsetERT
13904 (parseSingleLyXformat2Token): add code to check if a paragraphs
13905 layout really exist.
13906 (parseSingleLyXformat2Token): add params to several inset
13908 (asciiParagraph): remove lowercase, do the layout comparisons with
13911 * BufferView_pimpl.C (cursorNext): first -> first_y
13912 (resizeCurrentBuffer): first -> first_y
13913 (updateScrollbar): first -> first_y
13914 (scrollCB): first -> first_y
13915 (workAreaMotionNotify): first -> first_y
13916 (workAreaButtonPress): first -> first_y
13917 (checkInsetHit): first -> first_y
13918 (cursorPrevious): first -> first_y
13919 (cursorNext): first -> first_y
13920 (Dispatch): add buffer_->params to severl inset contructors
13922 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13924 * lyxlayout.C (Read): remove some debug info that I forgot.
13926 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13927 clean up the code slightly.
13928 (makeLinuxDocFile): ditto
13929 (makeDocBookFile): ditto
13931 * text2.C: layout as string
13933 * text.C: layout as string
13935 * paragraph_pimpl.C: layout as string
13937 * paragraph.[Ch]: layout as string
13939 * lyxtextclasslist.[Ch]: layout as string
13941 * lyxtextclass.[Ch]: layout as string
13943 * lyxtext.h: layout as string
13945 * lyxlayout.[Ch]: layout as string
13947 * lyx_cb.C: layout as string
13949 * bufferview_funcs.C: layout as string
13951 * bufferparams.C: layout as string
13953 * buffer.C: layout as string
13955 * LyXView.[Ch]: layout as string
13957 * LaTeXFeatures.[Ch]: layout as string
13959 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13961 * BufferView_pimpl.C: change current_layout to string, remove
13966 (workAreaButtonRelease): layout as string
13968 * BufferView2.C (unlockInset): adjust
13970 * vspace.C (asLatexCommand): use an explict temp variable.
13972 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13974 * Makefile.am: use FRONTEND_*
13976 2002-03-01 Juergen Vigna <jug@sad.it>
13978 * tabular.C (SetWidthOfMulticolCell): changed to something better
13979 I hope but still work in progress.
13980 (recalculateMulticolumnsOfColumn): renamed function from
13981 recalculateMulticolCells as it is more appropriate now.
13982 (SetWidthOfCell): calculate multicols better.
13984 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13986 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13988 * lyxfunc.C (processKeySym): print sequence also if it is
13989 `deleted' (complete)
13991 * kbsequence.C (print): print sequence even if it is deleted
13992 (complete would be a better word, actually).
13994 * lyxfunc.C (dispatch): print complete options after a prefix key
13996 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13998 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
14000 * text2.C (setCharFont): eliminate setCharFont code duplication.
14002 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14004 * BufferView_pimpl.C (Dispatch): remove bogus handling of
14005 LFUN_TABULAR_FEATURE (bug #177)
14007 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
14009 * Makefile.am: remove figure.h
14011 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
14013 * Bufferview_pimpl.C:
14025 * text2.C: remove #include "lyx_gui_misc.h".
14027 * LaTeX.C: added #include <cstdio>
14029 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14031 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14032 that the paragraph following this one can have.
14034 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14036 * vspace.C (asLatexCommand): fix bogus gcc warning
14038 * Makefile.am (lyx_SOURCES): remove vms_defines.h
14040 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
14042 * text2.C (setLayout): get rid of redundant code
14044 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
14046 * text2.C (incDepth): make sure depth cannot be increased beyond
14049 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
14051 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14052 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14054 * PainterBase.h (image):
14055 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14056 a LyXImage const *.
14058 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14062 * BufferView_pimpl.C:
14063 * BufferView_pimpl.h:
14083 * sp_spell.C: remove fig inset, and the crap house of
14084 cards that follows it
14086 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14091 * os2_errortable.h:
14092 * nt_defines.h: move .h into support/
14094 * vms_defines.h: remove
14096 * WorkArea.C: add space in debug output
14100 * buffer.C: add WITH_WARNINGS
14104 * bufferlist.C: s/retrive/retrieve/, add docs
14113 * chset.C: add docs
14115 * lyxgui.C: add ID to X error handler
14117 * lyxtestclass.c: fix typo
14119 2002-02-26 Juergen Vigna <jug@sad.it>
14121 * tabular_funcs.C (write_attribute): changed so that some default
14122 attributes are not written at all.
14123 (getTokenValue): set default values before trying to read the
14124 value so we have the return value always set as default if we don't
14125 find the token we search for.
14127 * tabular.C (Write): write bools as bools not as strings!
14129 2002-02-22 Juergen Vigna <jug@sad.it>
14131 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14132 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14134 * text.C (leftMargin): don't add an indent for paragraphs inside
14135 tabular cells (fix #208).
14137 2002-02-21 José Matos <jamatos@fep.up.pt>
14139 * tabular.C (docBook): fixed support for long tables.
14141 2002-02-20 Juergen Vigna <jug@sad.it>
14143 * text2.C (getFont): get the drawing font of the Inset if this
14144 paragraph is inside an inset (only important for InsetERT for now).
14146 * buffer.C (insertErtContents): use new lanugage params in ERT
14149 * CutAndPaste.C: commenting out seemingly uneeded code.
14151 2002-02-19 Allan Rae <rae@lyx.org>
14153 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14154 Iterators might be simple to use but they also get invalidated.
14155 (removeAutoInsets): renamed saved cursor tracking variables and added
14156 some comments to clarify what everything does.
14158 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14165 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14166 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14169 * vc-backend.h: remove #include "support/syscall.h"
14173 * converter.C: rearrange #includes in Lars' approved fashion.
14175 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14176 forward declare class Timeout in the header file.
14178 * XFormsView.C: changes due to the above.
14180 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14181 similar to LyXView.
14183 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14184 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14186 2002-02-18 José Matos <jamatos@fep.up.pt>
14188 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14191 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14193 * a lot of small ws changes
14194 * add a lot of using std::XXX
14195 * use std construcs some places where approp.
14196 * use some exisint stuff from lyxfunctional where approp.
14197 * Make file changes to use partial linking (lets test this now...)
14199 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14203 remove #include "support/syscontr.h" as it's redundant. Always has been.
14211 change Systemcalls::System to Systemcalls::Wait and
14212 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14213 No change of functionality, just reflects the stripped down Systemcalls
14216 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14218 * debug.[Ch]: add a GRAPHICS type to the enum.
14220 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14222 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14224 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14227 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14229 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14230 match the changes below.
14232 * text2.C (toggleInset): if there is not editable inset at cursor
14233 position, try to see if cursor is _inside_ a collapsable inset
14236 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14238 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14239 document menu has a nice checkbox
14241 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14243 * lyxlength.C (asLatexString): change PW to output as percent of
14246 * lengthcommon.C: change '%' to 't%'
14248 * lyxfunc.C (dispatch): a few comments from Martin
14250 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14254 * BufferView_pimpl.h:
14255 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14258 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14260 * vspace.C (inPixels): fix compiler warning
14262 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14264 * lyxfunc.C (getStatus): fix status message for disabled commands.
14266 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14268 * BufferView_pimpl.C: fix crash on close buffer
14269 during selection (#227)
14271 2002-01-27 Herbert Voss <voss@lyx.org>
14273 * buffer.C: link old Figure to new graphic inset
14275 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14277 * FontLoader.C (getFontinfo): Change the latex font names in order
14278 to match the names of type1inst.
14280 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14282 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14284 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14285 (extchanged): ditto
14287 (remove_files_with_extension): ditto
14288 (remove_file): ditto
14291 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14292 document is smaller than the work area height. Do not initialize
14293 static variables to 0.
14295 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14297 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14299 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14300 LFUN_LAYOUT_PARAGRAPHS.
14302 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14303 tabular. It is possible to provide a possible cell, which will
14304 typically be the actcell from the corresponding insettabular
14306 * lyxfunc.C (getStatus): small cleanup; disable
14307 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14310 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14312 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14314 * paragraph.C (startTeXParParams):
14315 (endTeXParParams): new methods. The LaTeX code to
14316 start/end paragraph formatting
14317 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14318 empty (fixes bug #200)
14320 * vspace.C (inPixels): adapt to the change below
14321 (inPixels): [later] more cleanups (remove unused variables)
14323 * lyxlength.C (inPixels): change to use a width and a height as
14326 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14328 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14329 Replaced with \paperwidth
14331 * DepTable.C (insert): add std:: qualifier
14333 2002-01-18 Allan Rae <rae@lyx.org>
14335 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14338 * text.C (drawInset): Turned out I didn't know enough about how
14339 rebreaking worked. This fixes most of the redraw problems. I see
14340 an occasional cursor trail when a line is broken now and the cursor
14341 placement can seem out by a few pixels also after a rebreak.
14343 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14345 * buffer.C (parseSingleLyXformat2Token): update because minipage
14346 width is now a LyXLength
14348 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14350 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14353 2002-01-17 Juergen Vigna <jug@sad.it>
14355 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14357 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14358 is set correctly and the inset is updated correctly.
14360 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14362 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14363 the beginning of the loop.
14365 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14367 * lyxrc.C: improve help for use_scalable_fonts
14369 2002-01-17 Allan Rae <rae@lyx.org>
14371 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14373 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14375 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14376 make sure to set their inset_owner to the right value (bug #171)
14378 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14381 * DepTable.C: Implement mtime checking to reduce time spent doing
14384 2002-01-16 Juergen Vigna <jug@sad.it>
14386 * tabular.C (GetAdditionalHeight): one of error fixed.
14388 * lyxrc.C (output): small fix in writing use_pspell.
14390 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14392 * sp_base.h: #include LString.h
14394 2002-01-16 Allan Rae <rae@lyx.org>
14396 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14397 Can someone check this please?
14399 * text.C (drawInset): It was possible that p.row would be removed by
14400 breakAgainOneRow upsetting a few other settings. There may be another
14401 small tweak possible by setting need_break_row = 0 when p.row has been
14402 removed but I don't know enough about the logic here.
14404 2002-01-15 Allan Rae <rae@lyx.org>
14406 * text.C (insertChar): removed conditional truism.
14408 * BufferView2.C (removeAutoInsets): More tweaks.
14409 cur_par_prev could be a stray pointer. Check for trailing empty line
14410 in case last line was cur_par and only had an error inset on it.
14412 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14414 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14417 * vc-backend.C (most methods):
14418 * exporter.C (Export):
14419 * converter.C (convert):
14421 * LyXSendto.C (SendtoApplyCB):
14422 * lyxfunc.C (dispatch):
14426 * lyx_cb.C (AutoSave):
14428 * BufferView_pimpl.C (MenuInsertLyXFile):
14429 * buffer.C (runChktex): use Buffer::filePath().
14431 * buffer.h: rename filename to filename_; rename filepath to
14432 filepath_ and make it private
14433 (filePath): new method
14435 * buffer.C (writeFile): use fileName()
14438 * lyx_main.C (init): fix starting of LyX when the binary is a
14439 link from so,ewhere else.
14441 * minibuffer.C: include <cctype> for isprint
14443 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14445 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14446 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14447 name clash with InsetCollapsable's width function.
14449 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14451 * lastfiles.C: include <iterator>
14453 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14455 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14458 * buffer.C (makeLaTeXFile): ditto.
14459 Also make loop operation more transparent.
14461 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14463 * ToolbarDefaults.C: remove trailing comma closing namespace.
14465 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14467 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14470 * trans.C (Load): comment out unused variable, allowed.
14472 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14474 * minibuffer.[Ch] (append_char): new method to recieve input from the
14475 drop-down completion browser. If a key was pressed, then recieve this
14476 char and append it to the existing string.
14477 (peek_event): modify the positioning data passed to the completion
14478 browser so that it can be placed above the minibuffer rather than below.
14479 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14481 * LyXAction.C (init): alloe error-next for readonly documents.
14483 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14486 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14488 * bufferlist.C (readFile): create the buffer _after_ checking that
14491 * lyxfunc.C (verboseDispatch): fix handling of arguments
14493 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14495 * lyxrc.C: use string::erase() instead of initializing to "".
14498 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14500 * BufferView_pimpl.h:
14501 * BufferView_pimpl.C:
14504 * text2.C: tell X when we have made a selection for copying
14506 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14508 * BufferView_pimpl.C (MenuInsertLyXFile):
14509 * lyxfunc.C (menuNew):
14511 (doImport): add shortcuts to directory buttons
14513 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14516 * lyxfunc.C (setStatusMessage):
14517 (getStatusMessage): new methods
14518 (getStatus):use setStatusMessage instead of setErrorMessage
14519 (dispatch): when function is disabled, set error message here
14520 [instead of in getStatus previously]
14522 * BufferView_pimpl.C (workAreaButtonRelease): update
14523 toolbar/menubar here too.
14525 2002-01-13 Allan Rae <rae@lyx.org>
14527 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14528 Now seems indestructible. Remaining task is to audit all other
14529 code affected by deleteEmptyParagraphMechanism. One small quirk
14530 left is that an empty document with an error in the preamble can
14531 be made to report an error but no error box appears. I don't know
14533 (removeAutoInsets): Improved comments.
14535 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14538 * Thesaurus.C: update for Aiksaurus 0.14
14540 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14542 * text2.C (firstParagraph): removed member function, all uses
14543 replaces with ownerParagraph
14544 (redoParagraphs): here
14545 (updateInset): here
14546 (toggleAppendix): here
14547 * BufferView2.C (insertErrors): here
14548 (setCursorFromRow): here
14550 2002-01-13 Allan Rae <rae@lyx.org>
14552 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14553 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14554 There is still a way to segfault this although you may have to do this
14555 multiple times: Have an InsetERT with an unknown command in it.
14556 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14557 <down-arrow>, <Enter> again, View->DVI, BANG!
14559 * text2.C (setCursor):
14560 (deleteEmptyParagraphMechanism):
14561 * lyxtext.h (setCursor):
14562 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14563 Making use of the return value may help fix other bugs.
14565 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14567 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14569 * LyXView.C (updateMenubar): call MenuBar::update here
14570 (updateToolbar): but not here
14571 (showState): do not update toolbar/menubar
14573 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14574 should need to care about that.
14576 * lyxfunc.C (verboseDispatch): simplify a bit
14577 (getStatus): have a version which takes a pseudoaction, and
14578 another which requires a (kb_action,string).
14580 * LyXAction.C (retrieveActionArg): make it work also when action
14581 is not a pseudo-action.
14582 (getActionName): simplify a bit
14585 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14587 * lyxfunc.C (verboseDispatch): new families of methods with
14588 several ways to specify a command and a bool to indicate whether
14589 the command name and shortcut should be displayed in minibuffer
14590 (eventually, we could extend that to a finer bitmask like
14591 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14592 (dispatch): the pristine dispatch command which just, well,
14593 dispatchs! Note it still sets its result to minibuffer; I'm not
14596 * lyxfunc.h: remove setHintMessage
14598 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14600 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14602 * BufferView_pimpl.C (specialChar): delete new inset if we have
14603 not been able to insert it.
14605 * kbmap.C: revert to using int instead of kb_action, since all we
14606 are dealing with is pseudo-actions.
14608 * LyXAction.C (searchActionArg): change to return int instead of
14609 kb_action, since the result is a pseudoaction.
14611 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14613 * buffer.C (insertErtContents): Fix (partially) the font bug.
14615 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14617 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14618 as the other one is broken on my machine!
14620 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14623 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14625 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14627 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14628 reflect their actual use. Provide compatibility code for older lyxrc
14631 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14633 change names of popup font variables in line with the changes to lyxrc.C
14635 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14637 * buffer.C (asciiParagraph): avoid outputing a word twice after
14640 * lyxrc.C (getDescription): document that document_path and
14641 template_path can be empty.
14643 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14645 * LaTeXFeatures.C (getMacros):
14646 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14648 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14650 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14652 (getPackages): rename feature "floats" to "float". Use an array to
14653 iterate over 'simple' features (i.e. just a \usepackage). Add
14654 handling of "amsmath" (renamed from "amsstyle").
14656 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14658 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14661 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14663 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14664 FuncStaus::FuncStatus & FuncStaus::some_method().
14666 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14668 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14669 of the func_satus stuff. Edited and massaged in various ways by
14672 * lyxfunc.C (getStatus): use FuncStatus
14674 2002-01-08 Juergen Vigna <jug@sad.it>
14676 * text.C (nextBreakPoint): use function Inset::isChar().
14678 * paragraph.C (TeXOnePar): use function
14679 Inset::forceDefaultParagraphs.
14681 * buffer.C (latexParagraphs): use function
14682 Inset::forceDefaultParagraphs.
14684 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14686 * lyx_gui.C (init): set the style of the menu popups to
14687 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14689 2002-01-07 Juergen Vigna <jug@sad.it>
14691 * text.C (setHeightOfRow): small fix
14692 (prepareToPrint): don't look at alignment if we don't have the place
14695 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14697 * box.C: New file. Move the Box methods and functions out of box.h,
14698 following Lars' suggestion.
14700 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14702 * box.h: #include "support/LOstream.h", needed for inlined function.
14705 * lyxtextclasslist.C: added some using std declarations.
14707 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14709 * box.h: make signed dimensions to allow insets wider than
14710 the screen (bug #162)
14712 * BufferView_pimpl.C: add some insetHit debug
14714 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14716 * vc-backend.C: add FIXME
14718 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14720 * lyxfunc.C (getStatus): enable code for showing math font status
14723 2002-01-07 Juergen Vigna <jug@sad.it>
14725 * text.C (nextBreakPoint): removed debug output not needed anymore.
14727 2002-01-06 Juergen Vigna <jug@sad.it>
14729 * text.C (nextBreakPoint): fixed up this function we had this bug
14730 since ever but now hopefully we break row better.
14731 (insertChar): we have to check if an inset is the next char as it
14732 could now happen that a large inset is causing a break.
14734 2002-01-05 Juergen Vigna <jug@sad.it>
14736 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14737 if it doesn't like to be drawed.
14739 2002-01-04 Juergen Vigna <jug@sad.it>
14741 * BufferView2.C (lockInset): forgot to set a cursor.
14743 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14745 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14747 * FormMathsPanel.C:
14750 * form_maths_panel.C:
14751 * form_maths_panel.h:
14752 * form_maths_panel.fd: implemented sub- and super- buttons in math
14755 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14756 (or ^ space) to be used as in TeX (req'd by Andr�.
14758 * lyxfunc.C: Allow ^ and _ again to be used both as
14759 super/subscript (mathed) and as themselves (in text).
14761 2002-01-03 Allan Rae <rae@lyx.org>
14763 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14764 "LyX" or the filename of the current buffer if it has one. This is a
14765 modified form of John Levon's patch.
14767 * XFormsView.C (setWindowTitle): also set icon title.
14769 * LyXView.h (setWindowTitle): signature changed.
14770 * XFormsView.h (setWindowTitle): ditto.
14772 2002-01-02 Juergen Vigna <jug@sad.it>
14774 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14776 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14778 * screen.C (topCursorVisible): introduce a temp var for
14779 text->cursor.row(), handle the case where this row is null. (kindo
14782 * text2.C (setCursor): add a couple of asserts.
14784 * paragraph.h (inset_iterator): add -> operator
14786 * paragraph.[Ch] (autoDeleteInsets): remove member function
14788 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14789 cursor pos correctly and handle inset deletion by itself.
14790 (insertErrors): move iterator declaration out of for expression
14792 * lyxtextclass.C: add <algorithm>
14794 * Makefile.am: added the new files to sources, removed layout.C
14796 * layout.C: removed file
14798 * layout.h: remove LYX_DUMMY_LAYOUT
14800 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14804 * lyxtextclass.[Ch]:
14805 * lyxtextclasslist.[Ch]: new files
14807 * include order changes to a lot of files, also changes because of
14810 2001-12-27 Juergen Vigna <jug@sad.it>
14812 * buffer.C (asciiParagraph): more fixes.
14814 * tabular.C (ascii): make ascii export support export of only the
14815 data separated by a column-delimiter.
14816 (ascii): better support for ascii export.
14818 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14820 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * tabular_funcs.C: use a "using std::getline" instead of the
14823 previous fix from Angus (necessary for cxx + lyxstring)
14825 2001-12-24 Juergen Vigna <jug@sad.it>
14827 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14829 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14830 problems. First check a minipage also if we have some ert-contents
14831 (not only on par->size(), second set the right depth of the paragraph
14832 on the relink to the root-paragraph-list!
14834 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14835 which then did not anymore update the main paragraphs on undo/redo!
14837 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14839 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14840 code. Support all font-changing funcs (even those which are not in
14841 menu currently). Support for reporting font settings in
14842 mathed (disabled until Andre provides a function on mathed's side).
14844 * func_status.h (toggle): small helper function to set toggle
14847 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14849 * tabular_funcs.C: getline -> std::getline
14851 2001-12-21 Juergen Vigna <jug@sad.it>
14853 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14854 accessed and could be 0 (I couldn't generate this but it seems
14857 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14859 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14860 * tabular_funcs.h: here and include iosfwd
14862 2001-12-20 Juergen Vigna <jug@sad.it>
14864 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14865 inside inset but undo_par was.
14867 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14869 * Thesaurus.C: always include <config.h> in sources.
14873 * box.h: do not include <config.h> in header files
14875 * text.C (paintLastRow): remove unused variable
14877 * text.C (transformChar):
14879 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14881 * Painter.C (text):
14882 * font.C (width): rewrite to use uppercase() instead of
14885 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14887 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14889 * lyxfind.C: clean up of find failure position change
14891 2001-12-20 Juergen Vigna <jug@sad.it>
14893 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14895 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14896 (TeXRow): added to LaTeX a single tabular row.
14897 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14898 (Latex): simplified and finally good LT-h/f support.
14899 (various_functions): just small adaptions for LT-h/f support.
14901 * tabular_funcs.[hC]: added and moved here all not classfunctions
14904 2001-12-19 Juergen Vigna <jug@sad.it>
14906 * tabular.[Ch]: better support for longtabular options (not finished
14909 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14911 * text.C (paintLastRow): use the label font instead of the font of
14912 the last character to compute the size of *_BOX. This makes more
14913 sense and avoids a crash with empty paragraphs.
14914 Use Painter::rectangle to draw EMPTY_BOX.
14916 2001-12-19 Juergen Vigna <jug@sad.it>
14918 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14919 the paragraphs if the replaced paragraph is not the first one!
14920 Tried to delete not used paragraphs but does not work yet so for
14921 now it's inside #ifdef's and by default off!
14923 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14925 * MenuBackend.C: include "lyx_main.h" instead of declaring
14926 lastfiles (actually was declared as LastFiles* instead of a
14929 2001-12-17 Juergen Vigna <jug@sad.it>
14931 * tabular.C (AppendColumn): applied John's fix
14933 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14937 * BufferView_pimpl.h:
14938 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14941 * box.h: new start of class for above
14943 * lyxfunc.C: ignore space-only minibuffer dispatches.
14944 Show the command name when it doesn't exist
14946 * minibuffer.C: don't add empty lines to the history
14948 * minibuffer.C: add a space on dropdown completion
14950 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14952 * text.C: fix line above/below drawing in insets
14954 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14956 * lyxlength.C (LyXLength): Initialize private variables.
14958 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14960 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14961 when inserting error insets.
14963 2001-12-13 Juergen Vigna <jug@sad.it>
14965 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14966 actually sometimes the before-paragraph.
14967 (setUndo): don't clear the redostack if we're not actually undoing!
14969 2001-12-06 Juergen Vigna <jug@sad.it>
14971 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14972 and fixed redoing of main paragraph, so we can use it now ;)
14974 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14976 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14978 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14981 2001-12-13 André Pönitz <poenitz@gmx.net>
14984 * undo_func.C: minor cleanup
14986 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14988 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14989 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14990 font in urw-fonts package which is marked as -urw-fontspecific and
14991 does not work (incidentally, changing the encoding in the
14992 fonts.dir of this package to -adobe-fontspecific fixes the
14995 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14996 is a crash when undoing first paragraph (Juergen, please take a
14997 look). THis does not mean the undo fix is wrong, just that it
15000 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15001 the (Paragraph*) version when needed instead of duplicating the
15004 * text.C (workWidth): use Inset::parOwner to find out where the
15005 inset has been inserted. This is a huge performance gain for large
15006 documents with lots of insets. If Inset::parOwner is not set, fall
15007 back on the brute force method
15009 * paragraph_pimpl.C (insertInset):
15010 * paragraph.C (Paragraph):
15011 (cutIntoMinibuffer): set parOwner of insets when
15012 inserting/removing them
15014 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15016 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
15022 * mathed/formulabase.C:
15023 * mathed/math_cursor.[Ch]:
15024 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15027 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15029 * lyxlength.[Ch] (operator!=): new function
15031 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15033 * text.C (workWidth): use Inset::parOwner to find out where the
15034 inset has been inserted. This is a huge performance gain for large
15035 documents with lots of insets. If Inset::parOwner is not set, fall
15036 back on the brute force method
15038 * paragraph_pimpl.C (insertInset):
15039 * paragraph.C (Paragraph):
15040 (cutIntoMinibuffer): set parOwner of insets when
15041 inserting/removing them
15043 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15045 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15047 * tabular-old.C (getTokenValue):
15048 * tabular.C (getTokenValue):
15049 (write_attribute): new versions for LyXLength
15050 (everywhere): adjust the use of widths
15052 * tabular.h: change the type of widths from string to LyXLength
15054 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15056 * paragraph.C: fixed missing line number count when exporting
15057 Environments to LaTeX file
15059 * buffer.C: added informational message for checking line numbers.
15061 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15063 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15064 paragraph, do the 'double space' part, but not the 'empty
15067 * text.C (workWidth): small optimization
15068 (getLengthMarkerHeight): use minimal size for negative lengths.
15070 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15072 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15074 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15076 2001-12-11 André Pönitz <poenitz@gmx.net>
15079 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15081 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15083 * text2.C: keep selection on a setFont()
15085 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15087 * lyx_cb.C: another bv->text misuse, from insert label
15089 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15092 * kbsequence.C: re-instate nmodifier mask
15094 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15096 * lyx_main.h: make lyxGUI private.
15098 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15100 * lyxfind.C: place the cursor correctly on failed search
15102 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15104 * text.C (getLengthMarkerHeight): for small heights, the arrows
15105 are not always on top/bottom of the text
15106 (drawLengthMarker): smaller arrows; take the left margin in
15107 account; draw also vfills.
15109 (paintLastRow): remove special code for vfill and standard spaces,
15110 since everything is handled in drawLengthMarker now.
15112 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15114 * buffer.C (insertErtContents): try to handle font and language
15115 interaction a bit better.g
15117 * ColorHandler.C (updateColor): change the hash to cover the whole
15118 LColor enum, ws cleanup
15119 (getGCLinepars): ditto
15120 (getGCLinepars): only lookup in the linecache once.
15122 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15124 * iterators.C (operator++): Make the iterator more robust
15126 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15128 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15130 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15133 * text.C: better added space drawing
15135 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15138 * BufferView2.C: fix layout combo update on inset unlock
15140 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15142 * Makefile.am: don't compile unused files
15144 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15148 * LyXAction.C: remove old LFUN_LAYOUTNO
15150 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15152 * paragraph_pimpl.h:
15153 * paragraph_pimpl.C: isTextAt() doesn't need font param
15155 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15158 * lyxlex.C: little cleanup
15160 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15162 * BufferView_pimpl.C: fix insertAscii for insets
15164 2001-12-05 Juergen Vigna <jug@sad.it>
15166 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15167 set the right font on the "multi" paragraph paste!
15169 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15175 * lyxlength.C: remove out-commented code.
15177 * BufferView_pimpl:
15191 * vc-backend.C: change "while(" to "while ("
15193 * lyxlength.[Ch]: add zero function to check if length is zero or
15195 * lyxgluelength.C: use it
15197 2001-12-05 Allan Rae <rae@lyx.org>
15199 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15200 Works for 2.95.3, from what I understand of Garst's reports this should
15201 work for other g++ versions. We're screwed if the abs(int) definition
15202 changed between bugfix releases of gcc.
15204 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15206 * text.C: fix chapter label offset !
15208 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15211 * text.C: fix hfill at end of line, clean up
15213 2001-12-04 Juergen Vigna <jug@sad.it>
15215 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15216 that we force an update of the inset and it's owners if neccessary.
15218 2001-12-03 Juergen Vigna <jug@sad.it>
15220 * text.C (rowLast): simplified code
15222 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15224 * lyxfunc.C: fix show options on timeout
15226 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15228 * screen.C (topCursorVisible): scroll half a page when the cursor
15229 reached top of bottom of screen
15231 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15233 * minibuffer.C: deactivate on loss of focus
15235 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15237 * vspace.[Ch] (operator!=): add operator.
15239 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15241 * BufferView_pimpl.C: refuse to open an inset when
15242 there's a selection.
15244 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15246 * BufferView_pimpl.C: allow to click on RHS of full row insets
15248 2001-11-30 Juergen Vigna <jug@sad.it>
15250 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15251 insets for undo reasons.
15253 2001-11-28 André Pönitz <poenitz@gmx.net>
15255 * vspace.[Ch]: cosmetical changes
15257 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15267 * kbsequence.C: part re-write of old kb code
15270 * WorkArea.C: remove Lgb_bug_find_hack
15272 2001-11-30 José Matos <jamatos@fep.up.pt>
15274 * buffer.C (makeDocBookFile): add a comment to point a hack.
15275 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15276 Fixed a double write of labels.
15278 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15281 * LaTeX.h Fixed bug in LaTeX class where it would not
15282 re-run latex if no depfiles were changed, but the .dvi was removed.
15284 2001-11-28 André Pönitz <poenitz@gmx.net>
15286 * all the files from the change on 2001/11/26:
15287 use lyx::layout_type instead of LyXTextClass::size_type
15288 use lyx::textclass_type instead of LyXTextClassList::size_type
15290 2001-11-29 Juergen Vigna <jug@sad.it>
15292 * text.C: added support for paragraph::isFreeSpacing()
15294 * buffer.C: same as above
15296 * paragraph.h: inserted isFreeSpacing() function to enable
15297 FreeSpacing inside InsetERT.
15299 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15300 of the paragraph's in the cut/copy buffer to 0!
15302 * text2.C (removeRow): remove the assert as it can!
15304 * lyxtext.h: added helper function firstRow returning firstrow and
15305 made firstrow private again.
15307 * BufferView2.C (lockInset): don't relock if we're already locked!
15309 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15310 the only paragraph.
15311 (removeRow): added Assert::(firstrow)
15313 * debug.C: forgot to add INSETTEXT here.
15315 2001-11-28 Juergen Vigna <jug@sad.it>
15317 * sp_spell.C (initialize): changed error text to more general
15318 spellchecker command use (not only ispell!)
15320 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15322 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15324 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15326 * vspace.C: initialise lyxgluelength on failure
15328 2001-11-28 Allan Rae <rae@lyx.org>
15330 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15331 declaration & definition that looks like a function declaration.
15333 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15335 * BufferView2.C (copy):
15336 (copyEnvironment): do not clear the selection when doing a copy.
15338 * text.C (paintFirstRow): compilation fix
15340 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15342 * tabular.C (Latex): correct line count when writing latex.
15344 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15346 * paragraph_pimpl.h:
15347 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15350 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15354 * LColor.C: change vfillline->added_space
15356 * text.C: add markers and text for added space
15358 * vspace.C: fix comment
15360 2001-11-28 André Pönitz <poenitz@gmx.net>
15362 * paragraph.C: whitespace changes
15363 * all the other files from the change on 2001/11/26:
15364 change *::pos_type into lyx::pos_type
15366 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15368 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15369 language of the document when inserting error insets.
15371 2001-11-26 André Pönitz <poenitz@gmx.net>
15373 * BufferView_pimpl.[Ch]:
15381 * paragraph_pimpl.[Ch]:
15384 * text2.C: reduce header dependencies, introduce type for positions
15386 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15388 * <various>: change to use Alert.h
15390 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15392 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15393 when encountering an unknown token.
15394 (readLyXformat2): Show an error message if there were unknown tokens.
15396 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15399 * BufferView_pimpl.C:
15403 * text2.C: use par->isInset()
15405 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15407 * paragraph_pimpl.h:
15408 * paragraph_pimpl.C: cleanup
15410 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15412 * text2.C (removeRow):
15413 * text.C (setHeightOfRow): remove useless (and costly) call to
15416 2001-11-20 Allan Rae <rae@lyx.org>
15418 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15419 Now need Inset*::checkInsertChar() to return true for appropriate
15420 cases so that the characters in the minibuffer will actually be
15423 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15425 * text.C: change the order of the includes.
15426 (workWidth): initialize it at once.
15427 (workWidth): make maxw unsigned
15428 (setHeightOfRow): remove unused variable (inset)
15429 (selectSelectedWord): remove unused variable (inset)
15430 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15432 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15434 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15435 server is not running.
15437 (closeConnection): add debug info when server is disabled.
15439 * ColorHandler.C (getGCForeground): send debug message to GUI
15442 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15444 * kbmap.C (bind): modify because return conventions of
15445 kb_sequence::parse have changed.
15447 * kbsequence.C (parse): only ignore spaces and not any stupid
15448 control character. This avoids tests like s[i] <= ' ', which are
15449 guaranteed to fail with 8bit characters and signed chars.
15450 Change return code to string::npos when there have been no error
15451 (0 was a bad idea when error is at first character)
15453 2001-11-14 José Matos <jamatos@fep.up.pt>
15456 * buffer.C (simpleDocBookOnePar): removed unused argument.
15458 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15460 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15461 insets which are part of a word. Paragraph::isLetter takes care of
15462 that now. Use Paragraph::isInset to identify insets.
15463 (selectSelectedWord): do not test for hyphenation break.
15465 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15466 that protected spaces are considered as spaces.
15468 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15471 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15474 * lyxserver.C: fix it. and small cleanup.
15476 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15478 * BufferView_pimpl.C: use inline helpers
15481 * LaTeXFeatures.C: fix typos
15484 * Spacing.C: move spacing_string into class
15486 * ToolbarDefaults.C: move stuff into namespace anon
15488 * layout.h: update enum
15490 * lyxfunc.C: use better debug
15492 * minibuffer.h: fix typo
15496 * WorkArea.C: add and use Debug::WORKAREA
15500 * text2.C: code re-organisation, inline helpers
15502 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15504 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15505 std::vector.empty().
15507 2001-11-09 Allan Rae <rae@lyx.org>
15509 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15510 '\n's after tables. Tabular and ERT inset work now makes this no
15513 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15516 * minibuffer.C: fix crash, improve drop-down completion
15518 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15521 * lyxserver.C: invalidate fd's when doing endPipe()
15523 2001-11-08 José Matos <jamatos@fep.up.pt>
15525 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15526 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15529 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15531 2001-11-07 José Matos <jamatos@fep.up.pt>
15534 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15537 * buffer.C (sgmlOpenTag):
15538 * buffer.C (sgmlCloseTag): removed debug info.
15540 * buffer.h (sgmlOpenTag):
15541 * buffer.h (sgmlCloseTag): made public.
15543 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15545 * buffer.C (saveParamsAsDefaults):
15546 * lyx_cb.C (MenuLayoutSave): remove
15548 * LyXAction.C (init):
15550 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15552 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15554 * buffer.C (setPaperStuff): removed from here...
15556 * bufferparams.C (setPaperStuff): ... and moved there.
15558 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15562 * XFormsView.C: add support for drop-down completion
15564 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15566 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15569 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15571 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15574 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15576 * lyx_main.C: change ref to known bugs
15578 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15580 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15581 to work around older babel problems.
15583 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15585 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15587 2001-10-24 Juergen Vigna <jug@sad.it>
15589 * tabular-old.C (ReadOld): below variable changes reflected.
15591 * tabular.[Ch]: added ltType struct for longtable header/footer
15592 defines and changed all instances where they are used. Added
15593 future support for double top/bottom rows.
15595 2001-10-24 José Matos <jamatos@fep.up.pt>
15597 * buffer.h (docbookHandleCaption):
15598 * buffer.C (docbookHandleCaption): removed unused function.
15599 (makeDocBookFile): moved docbook supported version to v4.1.
15601 2001-10-24 José Matos <jamatos@fep.up.pt>
15604 * tabular.C (docbookRow): new function to export docbook code of a row.
15605 (DocBook): now honors the longtable flags.
15607 2001-10-23 José Matos <jamatos@fep.up.pt>
15610 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15611 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15613 * buffer.C (makeLinuxDocFile):
15614 (makeDocBookFile): reworked the preamble, more clean, and with
15615 support for lyx defined entities. Changed the document declaration
15616 to be more XML friendly.
15618 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15619 if we need to output XML that should be done with a filter.
15621 2001-10-22 Juergen Vigna <jug@sad.it>
15623 * sp_pspell.h (class PSpell): add alive function needed in the
15624 controller to see if the spellchecker could be started.
15626 2001-10-22 Juergen Vigna <jug@sad.it>
15628 * buffer.C (insertStringAsLines): modify the font for inserting
15629 chars in certain conditions by calling checkInsertChar(font).
15631 2001-10-19 Juergen Vigna <jug@sad.it>
15633 * text.C (workWidth): use getRow instead of wrong algorithm.
15634 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15636 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15641 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15643 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15645 * text.C (workWidth): do not search for the exact row when
15646 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15647 optimization for big documents.
15649 2001-10-18 Juergen Vigna <jug@sad.it>
15651 * text.C (workWidth): new function with added Inset * parameter.
15653 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15655 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15657 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15658 change return type of getColumnNearX.
15661 * text.C (changeRegionCase): use uppercase/lowercase instead of
15664 (rightMargin): simplify code by factoring out the uses of
15669 (appendParagraph): use Paragraph::size_type
15671 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15673 * vspace.C (asLatexString): add a missing break
15675 2001-10-15 Herbert Voss <voss@perce.de>
15677 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15679 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15681 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15684 2001-10-10 André Pönitz <poenitz@gmx.net>
15686 * lyxfunc.C: removed greek_kb_flag.
15688 2001-10-10 Herbert Voss <voss@perce.de>
15690 * lyx_main.C: delete global string help_lyxdir.
15692 2001-10-09 Herbert Voss <voss@perce.de>
15694 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15696 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15698 * lyx_main.C: added global string help_lyxdir.
15700 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15702 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15704 * lyxrc.C (set_font_norm_type): support iso8859-4
15706 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15708 * LaTeX.C (deplog): add another regex for MikTeX
15710 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15712 * lyxrc.C (set_font_norm_type): support iso8859-3
15714 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15716 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15718 * LaTeXFeatures.C: remove special case of french and index
15720 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15721 before \begin{document}). This solves several incompatibilities.
15723 2001-10-03 Garst Reese <reese@isn.net>
15725 * lyx_cb.C: change CheckTex error msg.
15727 2001-10-03 José Matos <jamatos@fep.up.pt>
15729 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15731 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15733 * .cvsignore: update
15735 * lyx_main.C (commandLineVersionInfo): use new style version info.
15737 * buffer.C (writeFile):
15739 (makeLinuxDocFile):
15740 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15742 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15744 * version.h: update to use stuff in version.C
15746 * version.C.in: new file. Contains version information determined
15747 at compile time. This is a merging of version.h and
15750 2001-10-03 Juergen Vigna <jug@sad.it>
15752 * BufferView_pimpl.C (update): don't change "dirty" status in
15755 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15757 * WorkArea.C (c-tor): re-position version string slightly.
15759 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15761 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15762 revert to previous code.
15764 WorkArea.[Ch]: (show, destroySplash): methods removed.
15766 WorkArea.C: rework code so that it's an amalgam of the codes before and
15767 after the splash screen was moved to WorkArea.
15769 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15772 * vspace.C (inPixels):
15775 * buffer.C (insertStringAsLines):
15776 (asciiParagraph): fix types to be large enough
15778 * lyxlex_pimpl.h: change member status from short to int
15780 * layout.h: fix type of endlabeltype
15783 * kbsequence.C (parse): change return type to string::size_type
15785 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15788 * Bullet.C (bulletSize):
15789 (bulletEntry): do not use short ints as parameters
15791 * BufferView2.C (insertLyXFile): change a char to an int.
15793 * WorkArea.C (WorkArea): remove unneeded floats in computation
15795 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15797 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15799 * paragraph.C (asString): Do not ignore newline/hfill chars when
15800 copying to the clipboard.
15802 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15804 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15805 after a multi-line inset.
15807 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15809 * paragraph.C (validate): Set NeedLyXFootnoteCode
15811 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15813 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15814 and decrease-error to decrease.
15816 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15818 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15819 it more readable (should be equivalent)
15821 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15823 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15825 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15827 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15828 of a cursor (row, etc.) after a character has been deleted
15829 (deleteEmptyParagraphMechanism): call the method above on _all_
15830 cursors held by the LyXText when a double space has been
15833 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15835 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15837 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15839 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15840 background. Use greyOut() and the new show() methods to toggle between
15841 the foreground and background. Add code to remove the splash after
15842 its initial showing.
15844 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15845 (create_forms): no longer call Dialogs::showSplash.
15847 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15849 * .cvsignore: add version_info.h
15851 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15853 * version_info.h.in: new file
15855 * Makefile.am: add version_info.h.in
15857 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15858 version_info.h instead of VERSION_INFO
15860 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15862 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15863 The ERT inset now returns string().
15865 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15867 * lyxtext.h, text.C (selectNextWord): renamed as
15868 selectNextWordToSpellcheck.
15870 * text.C (selectNextWordToSpellcheck): Modified to not select
15871 words inside an ERT inset.
15873 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15875 * lyx_cb.C (MenuLayoutSave): change a bit the question
15877 * sp_base.h: include <sys/types.h>
15879 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15881 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15883 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15885 * several files: fix typos in user-visible strings
15887 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15889 * text2.C (pasteSelection): do not set the selection, since it
15890 will be cleared later. Actually, the intent was to fix the way the
15891 selection was set, but I figured rmoving the code was just as good.
15893 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15895 * FontLoader.C (available): Check if font is available without
15898 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15900 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15902 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15904 * lyxrc.[Ch]: added display_graphics variable and associated code.
15906 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15908 * bufferparams.C (hasClassDefaults): new method. Returns true if
15909 the buffer parameters correspond to known class defaults
15911 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15913 * XFormsView.C (show): set minimum size to the main window.
15915 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15917 * text2.C (copySelection):
15919 * lyxfind.C (LyXReplace):
15920 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15921 LyXText::selectionAsString.
15923 * paragraph.C (asString): add "label" argument to the second form
15925 * text2.C (selectionAsString): add "label" argument and pass it to
15926 Paragraph::asString.
15928 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15930 * lyx_main.C (commandLineHelp): remove version information
15932 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15934 * lyx_main.C: add -version commandline option
15936 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15938 * paragraph.h: make the optional constructor arg required instead.
15939 some modifications to other files because of this.
15941 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15943 * lyxserver.C (C_LyXComm_callback): make it static
15945 * lyx_main.C (error_handler): make it static
15947 * lyx_gui.C (LyX_XErrHandler): make it static
15949 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15951 * WorkArea.C: make the extern "C" methods static.
15953 * Makefile.am (lyx_LDADD): simplify
15955 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15957 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15958 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15960 * LyXAction.C (init):
15961 * lyxfunc.C (dispatch): associated code removal.
15963 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15965 * lyxfont.h (isSymbolFont): shut off warning
15967 * text.C (setHeightOfRow):
15968 (getVisibleRow): fix crash with empty paragraphs which have a
15971 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15973 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15976 2001-09-04 José Matos <jamatos@fep.up.pt>
15979 * tabular.C (docbook): rename docBook method to docbook.
15981 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15983 * Makefile.am: add dependencies to main.o.
15985 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15987 * FontLoader.C (available): Return false if !lyxrc.use_gui
15989 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15991 * FontInfo.C (query):
15992 * converter.C (view):
15993 * importer.C (Import):
15994 * exporter.C (Export): Can not -> cannot.
15996 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15998 * BufferView_pimpl.C: allow to create index inset even if
16001 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16003 * buffer.C (getLists): replace boost::tie code with an explicit pair
16004 as boost::tie can break some compilers.
16006 * iterators.h: Added a std:: declaration to the return type of
16009 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
16011 * lyxrc.C: add help for view_dvi_paper_option, default to safe
16014 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
16016 * iterators.[Ch]: New files. Provide paragraph iterators.
16018 * buffer.C (changeLanguage): Use paragraph iterators.
16019 (isMultiLingual): ditto
16021 * BufferView2.C (ChangeInsets): Use paragraph iterators.
16023 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
16025 * FontLoader.C: Support for cmr font.
16027 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
16029 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16030 (available): New method.
16032 * FontInfo.C (getFontname): Use scalable fonts even when
16033 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16036 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16038 * converter.C (Formats::view): reverted! Incorrect fix.
16040 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16042 * converter.C (Formats::view): only output the -paper option
16043 if the dvi viewer is xdvi, thereby fixing bug #233429.
16045 2001-08-23 Herbert Voss <voss@perce>
16047 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16049 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16051 * Spacing.h (Spacing): Set space to Default on in the default
16054 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16056 * vc-backend.h (RCS::versionString): add RCS to version
16057 (CVS::versionString): add CVS to version
16059 * vc-backend.C (scanMaster): do not add CVS to version.
16060 (scanMaster): do not add RCS to version
16062 * lyxvc.C (versionString): new method
16064 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16066 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16068 * Spacing.C (set): initialize fval
16070 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16072 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16075 2001-08-16 Juergen Vigna <jug@sad.it>
16077 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16079 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16081 * BufferView_pimpl.C:
16084 * text2.C: setParagraph takes linespacing now
16086 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16088 * LyxAction.C: add internal LFUN_CITATION_INSERT
16090 * LyXView.C: actually apply fix
16092 * bufferlist.C: fix open non-existent file
16094 * lyxfind.C: fix indentation
16096 * lyxfunc.C: remove unneeded assert, fix typo
16098 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16100 * MenuBackend.C: use "Floatname List"
16102 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16104 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16105 when converting LaTeX layout to insetERT.
16106 Generate a non-collapsed float when reading old float
16108 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16110 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16113 2001-08-13 Juergen Vigna <jug@sad.it>
16115 * text.C (fill): return 0 instead of 20 as this seems to be the more
16118 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16120 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16123 2001-08-13 Juergen Vigna <jug@sad.it>
16125 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16127 (SearchBackward): comment out the unlocking of the inset_owner this
16128 should not be needed!
16130 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16132 * Many files: Remove inherit_language, and add latex_language
16134 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16135 collapsible insets.
16137 2001-08-10 Juergen Vigna <jug@sad.it>
16139 * text.C (prepareToPrint): fixed hfill-width in draw!
16141 * BufferView2.C (selectLastWord): save the selection cursor as this
16142 now is cleared in the function LyXText::clearSelection!
16144 2001-08-08 Juergen Vigna <jug@sad.it>
16146 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16147 BACKSPACE type functions.
16149 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16150 is only cutted from the document but not put in the cut-buffer, where
16151 still the old stuff should be.
16153 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16155 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16157 * tabular.C (SetWidthOfCell): fixed special case where the width
16159 (LeftLine): handle '|' in align_special.
16161 (LeftAlreadyDrawed): ditto
16162 (SetWidthOfCell): ditto
16164 2001-08-07 Juergen Vigna <jug@sad.it>
16166 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16168 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16170 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16171 * lyxlex.[hC]: ditto
16173 2001-08-06 Juergen Vigna <jug@sad.it>
16175 * text.C (getVisibleRow): fix up row clearing a bit.
16177 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16179 * minibuffer.C: make sure the X server sees the changes in the input.
16181 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16183 * paragraph.C (getFont): split into...
16184 (getLabelFont): this
16185 (getLayoutFont): and this
16186 * paragraph_pimpl.C (realizeFont): calling this
16188 * text2.C (getFont): split into...
16189 (getLayoutFont): this
16190 (getLabelFont): and this
16191 (realizeFont): all three calling this
16193 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16196 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16198 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16200 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16202 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16203 layouts from the Quote inset insertion.
16205 2001-08-03 Juergen Vigna <jug@sad.it>
16207 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16209 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16210 only if status not is already CHANGED_IN_DRAW (second level).
16212 * text.C (draw): don't set the need_break_row when inside an
16215 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16217 * buffer.C (parseSingleLyXformat2Token): handle more latex
16220 * bufferview_funcs.[hC]: change function names to
16221 begin with small char, adjust other files.
16223 2001-08-02 André Pönitz <poenitz@gmx.net>
16226 BufferView_pimpl.C: remove broken special code for math-greek
16228 2001-08-02 Juergen Vigna <jug@sad.it>
16230 * BufferView_pimpl.C (update): redone this function so that we
16231 update the text again if there was a CHANGE_IN_DRAW.
16233 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16234 (drawFromTo): added a new internal bool which is used by draw() and
16236 (general): some cursor drawing problems fixed.
16238 2001-08-01 Juergen Vigna <jug@sad.it>
16240 * lyxfind.C (LyXFind): fixed
16241 (SearchForward): ditto
16242 (SearchBackward): ditto
16244 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16245 spurius drawing of the cursor in the main area.
16247 * text2.C (status): small fix which could lead to a segfault!
16248 (clearSelection): remove unneeded BufferView param.
16250 2001-08-01 André Pönitz <poenitz@gmx.net>
16252 * lyxfunc.C: small change due to changed mathed interface
16254 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16256 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16258 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16260 * lyxfunc.c: fail gracefully if file doesn't exist
16265 * BufferView_pimpl.C: IsDirWriteable() proto changed
16267 * LyXView.C: fix updateWindowTitle() to store the last title
16269 2001-07-31 Juergen Vigna <jug@sad.it>
16271 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16272 the font (wrong since using of Paragraph::highestFontInRange).
16274 * paragraph.C (highestFontInRange): added a default_size parameter.
16276 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16277 (setHeightOfRow): reformat
16279 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16281 * converter.[hC] + affected files: move to (inital-char)lowercase
16284 * ParagraphParameters.C (ParagraphParameters): remove commented code
16286 * PainterBase.[Ch]: remove commented code
16288 * LaTeXFeatures.h: add "bool floats" for float.sty
16290 * LaTeXFeatures.C (LaTeXFeatures): init floats
16291 (require): handle float
16292 (getPackages): do it with floats
16294 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16296 * BufferView_pimpl.C (Dispatch): improve handling of
16297 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16299 * commandtags.h: #include lyxfont.h here temporarily to avoid
16302 * bufferlist.h: include LString.h here.
16304 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16306 * text2.C (getStringToIndex): new method.
16308 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16310 * *: Reduced header file dependencies all over.
16312 2001-07-30 Baruch Even <baruch@lyx.org>
16314 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16316 2001-07-29 Baruch Even <baruch@lyx.org>
16318 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16320 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16322 * ParameterStruct.h (endif): add a default constructor to make
16323 sure that all variables is initialized.
16325 * ParagraphParameters.C (ParagraphParameters): adjust
16327 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16329 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16330 index; also, check that there is something to index, and that it
16331 does not span over several paragraphs.
16332 (doubleClick): use WHOLE_WORD_STRICT for double click.
16334 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16336 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16339 2001-07-26 Baruch Even <baruch@lyx.org>
16341 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16342 an InsetFig figure, backwards compatible reading of old figure code.
16344 2001-07-27 Juergen Vigna <jug@sad.it>
16346 * text2.C: font.realize function adaption.
16348 * text.C (draw): add a warnings lyxerr text if needed.
16350 * layout.C: font.realize function adaption.
16352 * language.C: add inherit_language and implement it's handlings
16354 * bufferview_funcs.C (StyleReset): remove language parameter from
16355 font creation (should be language_inherit now).
16357 * bufferparams.C (writeFile): handle ignore_language.
16359 * paragraph.C (getFontSettings): the language has to be resolved
16360 otherwise we have problems in LyXFont!
16362 * lyxfont.C (lyxWriteChanges): added document_language parameter
16363 (update): removed unneeded language parameter
16365 * paragraph.C (validate): fixed wrong output of color-package when
16366 using interface colors for certain fonts in certain environments,
16367 which should not seen as that on the final output.
16369 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16371 * BufferView_pimpl.C:
16376 * LyXAction.C: add thesaurus support
16379 * lyxfind.C: add "once" parameter, for thesaurus, to not
16380 move to the next match
16382 2001-07-26 Juergen Vigna <jug@sad.it>
16384 * lyxfont.C (realize): honor ignore_language too!
16387 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16389 * text.C (draw): one place more for ignore_language to not draw
16392 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16394 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16396 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16398 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16399 the minipage conversion problem.
16401 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16403 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16406 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16408 * BufferView.h: don't forward declare WorkArea
16410 * BufferView.C: don't include WorkArea.h
16412 2001-07-25 André Pönitz <poenitz@gmx.net>
16416 * lyxfunc.C: new LFUN 'math-space'
16418 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16420 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16422 * text2.C (toggleInset): call open/close
16424 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16426 * lyxfunc.C (dispatch): add debug for the disabled case
16428 * font.C (buttonText): make similar to rectText
16430 * buffer.C (readInset): comment out parsing of insetlist and
16433 * PainterBase.C (rectText): small correction
16435 * BufferView_pimpl.C: comment out insettheorem and insetlist
16436 * LyXAction.C: ditto
16437 * commandtags.h: ditto
16439 2001-07-24 Juergen Vigna <jug@sad.it>
16441 * text.C (draw): honor the ignore_language.
16443 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16445 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16447 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16450 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16452 * lyxtext.h: remove unused (and unimplemented) methods
16454 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16456 * text.C (getVisibleRow): honor background color
16459 * Painter.h: remove default color argument for fillRectangle
16461 * text.C (backgroundColor): new method
16463 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16465 * text.C (getVisibleRow): adjust
16467 * font.[Ch] (rectText): new method, metrics
16468 (buttonText): new method, metrics
16470 * PainterBase.[hC]: make rectText and buttonText always draw and take
16473 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16475 * ToolbarDefaults.C (read):
16476 * MenuBackend.C (read): allow escaping in all strings
16478 * BufferView_pimpl.C (insertAndEditInset): new method.
16479 (Dispatch): use insertAndEditInset whenever appropriate.
16481 * BufferView_pimpl.C (insertNote): removed
16483 * BufferView_pimpl.C (smartQuote): new method, moved from
16484 BufferView; if an insetquote cannot be inserted, insert a '"'
16487 * BufferView2.C: remove insertCorrectQuote();
16489 * lyxfunc.C (getStatus): Add support for all remaingin
16490 inset-insert lfuns.
16492 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16494 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16495 command (necessary to pass " as parameter of self-insert.
16497 * text.C (selectWordWhenUnderCursor):
16498 (selectWord): add word_location parameter
16499 (selectWordWhenUnderCursor): same + remove special code for word
16501 (selectNextWord): use kind() to guess type of insetspecialchar,
16504 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16505 (insertErtContents): create ert insets as collapsed.
16506 (readInset): better compatibility code for Info inset.
16508 2001-07-20 Juergen Vigna <jug@sad.it>
16510 * lyxfunc.C (dispatch): use always LyXFind now!
16512 * text2.C (init): add a reinit flag so that the LyXText can be
16513 reinited instead of deleted and reallocated (used in InsetText).
16515 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16521 2001-07-18 Juergen Vigna <jug@sad.it>
16523 * text.C (selectNextWord): handle insets inside inset by calling
16524 always the bv->text functions so that we can go up the_locking_inset!
16526 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16527 in strange locations when inside an inset!
16529 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16530 handling to include insets.
16532 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16534 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16536 * LyXAction.C (init):
16538 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16539 LIGATURE_BREAK, since the name is so stupid.
16541 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16543 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16546 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16548 * sp_form.[Ch]: remove.
16550 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16552 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16555 * src/buffer.C (readInset): ditto.
16557 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16559 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16560 menuSeparator(), endOfSentenceDot(), ldots() and
16561 hyphenationPoint(), which are therefore removed.
16562 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16564 * LyXAction.C (init):
16565 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16567 * paragraph.C (getWord): removed.
16569 * BufferView_pimpl.C (Dispatch): use last word or selection for
16570 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16572 * lyx_main.C (queryUserLyXDir): do not ask before creating
16573 user_dir, except if it has been named explicitely.
16575 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16577 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16578 a document of zero size.
16580 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16582 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16583 approriately in the c-tor and in require().
16584 (getPackages): output the appropriate LaTeX for natbib support.
16586 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16587 variables "use_natbib" and "use_numerical_citations" when reading the
16589 (readInset): read the various natbib cite commands.
16590 (validate): white-space change.
16592 * bufferparams.[Ch]: new variables "bool use_natbib" and
16593 "bool use_numerical_citations".
16594 (writeFile): output them in the LyX file.
16596 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16598 * lyxfunc.C (getStatus): add support for all the inset insertion
16601 * text2.C (insertInset):
16602 * paragraph.C (insetAllowed):
16603 * BufferView_pimpl.C (insertInset): update to take in account the
16604 renaming of insertInsetAllowed
16606 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16608 * text2.C (getInset): new method. returns inset at cursor position.
16610 * BufferView_pimpl.C (Dispatch): changes because of this.
16612 * LyXAction.C (init): rename open-stuff to inset-toggle.
16614 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16616 * text2.C (toggleInset): renamed from openStuff; use
16619 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16621 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16623 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16625 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16627 * buffer.C (readLyXformat2): Add filename to the error dialog
16629 2001-07-18 Juergen Vigna <jug@sad.it>
16631 * tabular.C (GetCellNumber): put an assert here instead of the check!
16633 2001-07-17 Juergen Vigna <jug@sad.it>
16635 * BufferView_pimpl.C (toggleSelection): adapted too.
16637 * text.C (selectNextWord): adapted for use with insets.
16638 (selectSelectedWord): ditto
16640 2001-07-17 Juergen Vigna <jug@sad.it>
16642 * sp_spell.C (PSpell): fix initialitation order.
16644 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16646 * paragraph.C: spacing
16648 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16650 * sp_spell.C: repair language selection for pspell
16652 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16654 * lyxfunc.h: change more methods to begin with lower char.
16656 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16658 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16659 for unknown layouts.
16661 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16663 * buffer.C (readLyXformat2): Generate an error dialog if there are
16666 2001-07-16 Juergen Vigna <jug@sad.it>
16668 * sp_spell.C: always compile ISpell part.
16670 * lyxrc.C: added use_pspell entry and it's handling.
16672 2001-07-13 Juergen Vigna <jug@sad.it>
16674 * sp_spell.C: removed double includes.
16676 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16678 Consistent use of Lsstream.h:
16679 * Lsstream.h: added using std::stringstream for consistencies sake.
16681 * buffer.C: removed using std::stringstream
16683 * lyxfont.C (stateText):
16684 * paragraph.C (asString):
16685 * text.C (selectNextWord, selectSelectedWord):
16686 * text2.C (setCounter):
16687 * vspace.C (asString, asLatexString):
16688 std::ostringstream -> ostringstream.
16690 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16692 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16693 * commandtags.h: add LFUN_HELP_ABOUTLYX
16694 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16696 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16698 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16700 * lyx_gui_misc.C: remove spellchecker
16701 * lyxfunc.C: showSpellchecker
16703 * sp_ispell.h: added
16704 * sp_pspell.h: added
16705 * sp_spell.C: added
16706 * sp_form.[Ch]: removed
16707 * spellchecker.[Ch]: removed
16709 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16711 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16713 (simpleTeXSpecialChars): Simply print the input character without
16714 any special translation if pass_thru is set.
16716 * layout.h: Added bool pass_thru to layout class for being able to
16717 implement pass through of a paragraph for Literate Programming.
16719 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16720 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16721 * layout.C (Read): add "passthru" to list of layout tags and add
16722 code to set the pass_thru boolean when it is read.
16724 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16726 * trans_decl.h: remove allowed from KmodInfo
16728 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16729 remove allowed code
16732 * paragraph_pimpl.C (erase): use boost::prior
16734 * Painter.C (text): use data() instead of c_str() when length is
16736 * WorkArea.C (putClipboard): ditto
16737 * font.h (width): ditto
16739 * BufferView2.C: use it-> instead of (*it). for iterators
16741 * paragraph_pimpl.C: ditto
16742 * paragraph.C: ditto
16743 * minibuffer.C: ditto
16744 * language.C: ditto
16746 * encoding.C: ditto
16747 * counters.C: ditto
16748 * converter.C: ditto
16750 * Variables.C: ditto
16751 * TextCache.C: ditto
16752 * MenuBackend.C: ditto
16753 * LyXAction.C: ditto
16755 * FloatList.C: ditto
16756 * DepTable.C: ditto
16757 * ColorHandler.C (LyXColorHandler): ditto
16759 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16761 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16763 * text2.C (openStuff): reintroduce this method (which had been
16764 nuked in NEW_INSETS frenzy).
16766 * lyxfunc.C (Dispatch): when an action has not been handled, use
16767 its name in the error message, not its number.
16769 * paragraph.C (inInset): change method name to begin with lowercase.
16772 * text2.C: updates because of this.
16774 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16776 * ToolbarDefaults.C (add): add spaces in error message
16778 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16780 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16781 (readLyXformat2): rename return_par to first_par, use lyxlex's
16782 pushToken and remove the manual push handling.
16783 (parseSingleLyXformat2Token): add another ert comp. variable:
16784 in_tabular, rename return_par to first_par. handle newlines better
16786 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16788 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16790 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16792 * text2.C (getParFromID): removed
16794 * buffer.C (getParFromID): new method moved form lyxtext.
16795 * BufferView2.C (insertErrors): adjust
16796 (setCursorFromRow): adjust
16797 * BufferView_pimpl.C (restorePosition): adjust
16798 * lyxfunc.C (Dispatch): adjust
16799 * undo_funcs.C (textUndo): adjust
16801 (textHandleUndo): adjust
16802 (textHandleUndo): adjust
16804 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16806 * buffer.C: up' the LYX_FORMAT
16808 * lyxfont.h: turn NO_LATEX on as default
16810 * buffer.C (insertErtContents): new methods of tex style compability.
16811 (parseSingleLyXformat2Token): use it several places.
16812 * tabular.C (OldFormatRead): and here
16814 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16816 * text2.C: remove some commented code.
16819 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16820 * trans.C: changes because of the above.
16822 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16824 * text2.C (setCounter): Fix counters bug with bibliography layout.
16826 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16828 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16829 own member functions
16830 (simpleTeXSpecialChars): ditto
16832 2001-07-06 Juergen Vigna <jug@sad.it>
16834 * a lot of files: changed the access to LyXText::status and the
16835 call of undo-functions.
16837 * undo.[Ch]: added a inset_id to the undo informations.
16839 * undo_funcs.[Ch]: added and moved here all undo functions.
16841 * lyxtext.h: give the status enum a weight, made status_ a private
16842 variable and made accessor functions for it, removed the whole bunch
16843 of undo-functions as they are now in their own file, make some
16844 functions publically available. Added function ownerParagraph with
16847 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16848 made InInset() a const function, added getParFromID() function.
16850 * buffer.[Ch]: added const version for inset_iterator functions,
16851 added getInsetFromID() function.
16853 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16854 changed undo functions for new version.
16856 2001-07-05 Juergen Vigna <jug@sad.it>
16858 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16859 unknow mechanism does not call the proper constructor but only this
16860 one also if I request the other!?
16862 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16864 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16866 * text2.C (LyXText): use initialization lists.
16868 * lyxtext.h (Selection): initialize set_ and mark_
16869 (init): remove method
16871 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16873 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16875 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16877 * screen.[Ch]: change method names to begin with lowercase
16879 * BufferView_pimpl.C (updateScrollbar): simplify further and
16880 hopefully make it a bit faster.
16882 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16884 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16885 calling directly xforms functions.
16887 * Painter.C (Painter):
16888 * lyx_cb.C (MenuWrite):
16889 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16892 * lyx_gui.C: remove bogus guiruntime extern declaration.
16894 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16896 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16898 (redoDrawingOfParagraph): ditto
16899 (redoParagraphs): ditto
16900 (cutSelection): don't create a object for CutAndPaste use the
16901 static method directly
16902 (pasteSelection): ditto
16904 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16907 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16909 * modifications to some other files because of this.
16911 * Makefile.am (lyx_SOURCES): add XFormsView
16913 * XFormsView.[Ch]: new files
16915 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16916 the main window. Move the gui dependent stuff to XFormsView
16918 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16920 * tabular.C (GetCellInset): update cur_cell also in the row/col
16921 version of this function.
16923 * lyxfunc.C: no need to include figure_form.h here.
16929 * lyxvc.C: no need to include forms.h here.
16931 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16933 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16935 * lyxfunc.C (Dispatch):
16937 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16938 constructor argument.
16940 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16942 * paragraph.C (Paragraph): dont't clear, and just set layout.
16943 (makeSameLayout): use params's copy contructor.
16945 * ParagraphParameters.[Ch] (makeSame): delete method
16947 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16949 * Variables.[Ch]: fix indentation, rename set to isSet
16951 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16953 * lyxfunc.C (Dispatch): fix typo
16955 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16957 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16960 * bufferlist.C: include assert.h for emergencyWrite().
16962 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16964 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16965 give up at last (bug #425202) !
16967 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16973 * spellchecker.C: strip spellchecker options and bring up
16974 preferences tab instead
16976 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16978 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16979 the istringstream constructor
16981 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16983 * paragraph.C (getLayout): fix return value
16985 * paragraph.h: do not declare getLayout as inline.
16987 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16989 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16991 * lyxcursor.h (operator<): new func
16992 (operator>): new func
16993 (operator>=): new func
16994 (operator<=): new func
16996 * text.C (changeCase): use selection.start and selection.end
16997 (changeRegionCase): require from to be <= to. Require par to be a
17000 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17002 2001-06-27 Juergen Vigna <jug@sad.it>
17004 * text.C (cursorLeftOneWord): changed to return the cursor and added
17005 overlay with BufferView * parameter which calls this one.
17007 (selectWord): use new getWord function.
17008 (changeCase): renamed from changeWordCase as and extended to work
17009 also on selections.
17011 * lyxtext.h: added enum word_location
17013 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17014 changeCase as this operates now also on selections.
17016 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
17018 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17020 * many files: send debug output to Debug::INFO instead of
17023 * converter.C (View):
17025 (Move): send debug output to Debug::FILES instead of console.
17027 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
17029 * lyxfunc.C (getStatus): use func_status
17031 * func_status.h: new header, describing the results of
17032 LyXFunc::getStatus;
17034 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17037 2001-06-25 The LyX Project <jug@sad.it>
17039 * buffer.C (sgmlOpenTag):
17041 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
17043 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17045 * text2.C: remove some dead code
17047 * tabular.C (GetCellInset): store the last cell checked (gotten)
17049 * tabular.h: add the helper for the speedup
17051 * lyxtext.h: remove some dead code
17053 2001-06-26 The LyX Project <Asger>
17055 * paragraph.C: Change export to LaTeX of alignment to
17056 \begin{center} and family for better roundtrip work with reLyX.
17058 * Tune the math drawing a bit.
17060 2001-06-25 The LyX Project <Asger>
17062 * LColor.C (LColor): New color for math background. New color
17065 2001-06-25 The LyX Project <jug@sad.it>
17067 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17069 * lyxfunc.C (Open):
17070 * bufferlist.C (newFile): do not restrict to files ending with
17073 * BufferView_pimpl.C (MenuInsertLyXFile):
17075 2001-06-24 The LyX Project <jug@sad.it>
17077 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17080 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17082 * lyxtext.h: rename most methods to begin with a small char.
17083 Lots of changes because of this.
17085 * paragraph.C (Paragraph): do not call fitToSize
17086 (erase): call Pimpl::erase
17087 (insertChar): call Pimpl::insertChar
17088 (insertInset): call Pipl::insertInset
17089 (breakParagraph): do not call fitToSize
17090 (breakParagraphConservative): do not call fitToSize
17091 (fitToSize): remove method
17093 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17095 2001-06-24 The LyX Project <Asger>
17097 * Fix Qt compilation^2
17099 2001-06-24 The LyX Project <jug@sad.it>
17101 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17102 depthHook(getDepth()-1).
17105 * ParagraphParameters.h:
17106 * ParameterStruct.h: change type of depth to unsigned int ==
17107 depth_type. Many adaptations to other files before of that.
17109 2001-06-24 The LyX Project <Asger>
17111 * Fix Qt compilation.
17113 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17115 * paragraph.h: renamed several methods to begin with small letter.
17116 several changes to many parts of the code because of this.
17118 2001-06-23 The LyX Project <jug@sad.it>
17120 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17121 rewritten to discard all double spaces when KeepEmpty is off
17122 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17123 to only handle newlines but not fiddle with spaces and friends.
17125 * lyxfunc.C (MenuNew): when doing 'new from template', use
17126 template_path as default directory
17128 2001-06-23 The LyX Project <Asger>
17130 * Clean-up of header file includes all over
17131 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17133 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17135 * paragraph.h: renamed from lyxparagraph.h
17137 2001-06-23 Asger <lyx@violet.home.sad.it>
17139 * Buffer.h: Removed Buffer::resize
17140 * BufferList.h: Removed BufferList::resize
17141 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17142 the document lazily when we change the width, or the font settings.
17144 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17146 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17148 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17150 * buffer.h: remove out of date comment
17152 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17155 * screen.C: fix "theoretical" GC leak
17157 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17159 * LaTeX.C (scanAuxFile):
17160 (deplog): remove trailing \r when reading stream (useful under
17163 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17165 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17166 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17167 and BufferView::theLockingInset(Inset*), so should use them and not
17168 access bv_->text->the_locking_inset directly.
17170 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17172 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17175 * tex-defs.h: remove old unused file
17177 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17179 * BufferView_pimpl.C: fix typo, remove minibuffer message
17180 when buffer has loaded
17182 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17184 * lyxfunc.C (Dispatch): use stringstream
17185 (MenuNew): use stringstream
17186 (Open): use stringstream
17188 * importer.C (Import): use stringstream
17190 * bufferview_funcs.C (CurrentState): use stringstream
17192 * LaTeX.C (run): use stringstream
17194 * BufferView_pimpl.C (savePosition): use stringstream
17195 (restorePosition): use stringstream
17196 (MenuInsertLyXFile): use stringstream
17198 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17211 * vspace.C: removed // -*- C++ -*- as first line.
17214 * version.h: added // -*- C++ -*- as first line.
17216 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17218 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17220 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17223 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17225 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17228 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17230 * gettext.C: include LString.h even when --disable-nls is on.
17232 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17234 * converter.h (Get): changed argument type from int to
17235 FormatList::size_type to avoid unnecessary conversion.
17237 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17240 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17242 * gettext.h: include LString.h even when --disable-nls is on.
17244 2001-06-07 Juergen Vigna <jug@sad.it>
17246 * text.C (BreakAgain): subst spaces with tabs.
17248 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17249 (resizeInsetsLyXText): set force on resizeLyXText.
17251 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17253 * gettext.h (gettext_init):
17254 (locale_init): use a real definition instead of a macro
17256 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17258 * Bufferview_pimpl.C:
17260 * LColor.C: further lcolor tidies
17262 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17264 * BufferView_pimpl.C (updateScrollbar): simplify.
17266 * BufferView2.C: don't include insets/insetinfo.h, change
17267 prototype for insertInset and call the Pimpl version. let
17268 updateInset call Pimpl version.
17270 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17271 gotoInset to BufferView::Pimpl
17273 2001-06-01 Juergen Vigna <jug@sad.it>
17275 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17276 inside a LockingInset (is the update needed at all?).
17278 2001-05-31 Juergen Vigna <jug@sad.it>
17280 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17281 here not the old one otherwise how should we compare it afterwards
17284 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17289 * FontInfo.C: bring C functions into global namespace when
17292 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17294 * LString.h: make sure config.h has been loaded before LString.h.
17296 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17297 (one for each char read by EatLine!).
17299 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17302 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17304 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17305 to the same as the par we break from
17307 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17309 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17311 * MenuBackend.C (expand): also create menu entries for wide
17312 versions of the floats.
17314 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17316 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17318 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17319 frontends/Makefile.am
17325 * tabular.C (getTokenValue): add std::
17327 * tabular-old.C (getTokenValue): add std::
17328 (getTokenValue): ditto
17329 (getTokenValue): ditto
17331 * screen.C (ToggleSelection): adjust
17333 * lyxtext.h: put selection cursors inside a Selection struct.
17335 * lyxfunc.C (moveCursorUpdate): adjust
17337 * lyxfont.C (latexWriteStartChanges): add std::
17339 * lyxfind.C: adjust
17341 * font.h: delete with(char const *, LyXFont const &)
17343 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17345 * FontInfo.C (getFontname): add std::
17347 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17348 (workAreaButtonPress): adjust
17349 (tripleClick): adjust
17351 (moveCursorUpdate): adjust
17354 * BufferView2.C (gotoInset): adjust
17356 2001-05-30 Juergen Vigna <jug@sad.it>
17358 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17359 to check pspell I add this as default as I now have new pspell
17360 libraries and they seem to use this.
17362 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17364 * text2.C (CutSelection): make the cursor valid before the call to
17367 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17369 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17370 relied on 0 terminated strings and other horrors. Bug found due to
17371 the new assert in lyxstring!
17373 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17376 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17378 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17381 * lyxfunc.C (processKeySym): change method of getting to the
17384 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17385 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17386 * BufferView_pimpl.[Ch]: here as private methods.
17388 2001-05-28 Juergen Vigna <jug@sad.it>
17390 * text.C (SetHeightOfRow): added the update() call again as it is
17391 needed to initialize inset dimensions!
17393 2001-05-16 Juergen Vigna <jug@sad.it>
17395 * text2.C (SetCharFont): Add new function with BufferView * and
17396 bool toggleall parameters for setting insets internal fonts.
17397 (SetFont): Freeze the undo as we may change fonts in Insets and
17398 all this change should be inside only one Undo!
17400 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17401 setting font's in insets as for them we have the SetFont function!
17403 2001-05-15 Juergen Vigna <jug@sad.it>
17405 * text2.C (ClearSelection): to be sure we REALLY don't have any
17408 * tabular.C (TeXCellPreamble): fixed the left border problem for
17411 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17413 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17416 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17418 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17419 LFUN_BREAKPARAGRAPH.
17421 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17422 help test to "internal only", similar for LFUN_INSERT_URL
17424 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17425 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17426 auto_region_delete and deadkeys.
17428 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17431 * LColor.C: remove some dead entries, tidy a little
17433 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17435 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17437 (Dispatch): implement LFUN_ESCAPE
17439 * commandtags.h: add LFUN_ESCAPE
17441 * LyXAction.C (init): add entry for LFUN_ESCAPE
17443 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17444 Remove commented code.
17445 (insertNote): moved here
17446 (open_new_inset): moved here
17448 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17451 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17453 * kbmap.C (findbinding): clean it up and make it work correctly.
17455 * lyx_main.C (init): do not pass argc and argv as parameters
17457 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17459 * buffer.C: fix path for OS/2 & Win32
17463 * lyx_main.C: Added os:: class.
17465 * os2_defines.h: update
17467 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17469 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17470 better by trying again with reduced state.
17472 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17474 * lyxrc.C (read): print error about invalid key sequence only when
17475 debugging (because not all latinX keysyms are known to some X
17478 * kbsequence.C (getiso): add a few std:: qualifiers
17479 (getiso): comment out extra return statement.
17481 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17483 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17485 (Dispatch): enhance the accent inset a bit. (not perfect)
17487 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17489 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17491 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17493 * bufferlist.C (emergencyWrite): fix assert() call
17495 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17497 * text.C (InsertChar): Added trivial patch to only send the "you
17498 can not do multiple spaces this way" message once during a
17501 2001-05-08 Baruch Even <baruch@lyx.org>
17503 * Makefile.am: Changed order of libraries to get LyX to link properly
17504 with the gnome frontend.
17506 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17508 * LaTeXFeatures.h: add a std:: qualifier
17510 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17512 * paragraph.C (String): use stringstream
17514 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17516 * paragraph.C (writeFile): remove footflag arg
17518 * buffer.C (makeLaTeXFile): use stringstream
17519 (latexParagraphs): remove footnot gurba
17521 * LaTeXFeatures.C (getPackages): use stringstream
17522 (getMacros): likewise
17523 (getTClassPreamble): likewise
17524 (getFloatDefinitions): new method
17526 * paragraph.C (writeFile): reindent
17529 * WorkArea.h: revert the xpos + etc changes.
17531 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17533 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17535 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17536 (pasteSelection): likewise
17537 * text2.C (CreateUndo): likewise
17539 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17541 * minibuffer.C (peek_event): temporarily reduce the functionality
17542 of the minibuffer (to allow args on lfuns)
17544 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17545 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17547 * buffer.C (readInset): add compability reading of old float
17548 lists, add reading of new style float list.
17549 (readInset): avoid reevaluation of inscmd.getCmdName()
17550 (getLists): reindent
17552 * MenuBackend.C (MenuItem): implement parsing of
17553 md_floatlistinsert and md_floatinsert.
17554 (expand::LastFiles): move initalizaton of iterators out of loop,
17555 avoid reevaluation.
17556 (expand::Documents): introduce typdedef vector<string> Strings,
17558 (expand::ExportFormats): introduce typedef vector<Format const *>
17559 Formats, and use it.
17560 (expand): implement FloatListInsert and FloatInsert.
17562 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17563 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17564 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17566 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17568 (Dispatch::LFUN_FLOAT_LIST): implement
17570 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17572 * LaTeX.C (run): Fix problem with --export code.
17574 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17576 * BufferView.[Ch] (workarea): removed.
17577 (getClipboard) new method; wrapper for workarea()->getClipboard()
17579 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17582 * WorkArea.h (width, height, xpos, ypos): These methods all
17583 returned the dimensions of the work_area sub-area of WorkArea,
17584 resulting in a position error if the WorkArea were resized. Now
17585 return the dimensions of the entire WorkArea.
17587 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17589 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17591 * LaTeX.C (deplog): correct the syntax of regex reg1
17593 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17595 * undo.C: remove !NEW_INSETS cruft
17597 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17599 * text2.C: remove !NEW_INSETS cruft
17601 * text.C: remove !NEW_INSETS cruft
17603 * tabular.C: remove !NEW_INSETS cruft
17605 * spellchecker.C: remove !NEW_INSETS cruft
17607 * lyxtext.h: remove !NEW_INSETS cruft
17609 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17611 * lyxfunc.C: remove !NEW_INSETS cruft
17613 * lyxfind.C: remove !NEW_INSETS cruft
17615 * lyx_cb.C: remove !NEW_INSETS cruft
17617 * figureForm.C: remove !NEW_INSETS cruft
17619 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17621 * buffer.[Ch]: remove !NEW_INSETS cruft
17623 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17625 * CutAndPaste.C: remove !NEW_INSETS cruft
17627 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17629 * BufferView2.C: remove !NEW_INSETS cruft
17631 * BufferView.h: remove !NEW_INSETS cruft
17633 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17635 * Lsstream.h: include LString.h before the sstream headers to
17636 fix problem with gcc 2.95.3 and lyxstring
17638 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17640 * lyx_main.C: add using directives when needed for C functions
17641 declared in std:: namespace.
17643 2001-04-27 Juergen Vigna <jug@sad.it>
17645 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17646 (SetHeightOfRow): comment out the update call should not be needed!
17648 2001-04-13 Juergen Vigna <jug@sad.it>
17650 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17651 (LyXTabular): tried to minimize operator= operations (and realized
17652 hopfully Lars wish).
17654 2001-04-27 Juergen Vigna <jug@sad.it>
17656 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17658 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17660 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17662 * buffer.C (readInset): hack to make listof algorithm work
17664 * BufferView_pimpl.C: hack to make listof algorithm work
17666 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17668 * LyXAction.C: removed all !NEW_INSETS cruft
17669 (init): moved lfun_item in method
17671 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17673 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17675 * BufferView2.C (theLockingInset): white space.
17677 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17679 * minibuffer.C: include <iostream>
17681 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17683 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17685 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17687 * text.[Ch] (TransposeChars): new method
17689 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17691 * call message directly through LyXView instead of through LyXFunc
17692 * BufferView2.C: adjust
17693 * BufferView_pimpl.C: adjust
17694 * FontLoader.C: adjust
17696 * bufferview_funcs.C: adjust
17697 * converter.C: adjust
17698 * figureForm.C: adjust
17699 * importer.C: adjust
17701 * lyx_gui_misc.C: adjust
17702 * lyxfunc.C: adjust
17705 + more files in subdirs
17707 * lyxparagraph.h (size): move up int file
17710 * adjust all uses of Assert to lyx::Assert.
17712 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17713 lyxfunctional in namespace lyx
17714 * layout.C (hasLayout): ditto
17717 (delete_layout): ditto
17718 (NumberOfClass): ditto
17719 * converter.C (GetFormat): ditto
17724 * bufferlist.C (getFileNames): ditto
17725 (emergencyWriteAll): ditto
17728 * MenuBackend.C (hasSubmenu): ditto
17731 * BufferView_pimpl.C (getInsetByCode): ditto
17733 2001-04-18 Juergen Vigna <jug@sad.it>
17735 * vspace.C (asLatexString): fixed the 100% problem.
17737 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17739 * lyxfunc.C (Dispatch):
17741 * minibuffer.h: add a few std:: qualifiers
17743 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17745 * minibuffer.[Ch]: reimplement so that commands is initiated and
17746 run from lyxfunc, simplified som handling, and made the completion
17747 and history code for complete. wip.
17749 * lyxfunc.C (processKeySym): call message
17750 (miniDispatch): new temporary method
17751 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17752 (LFUN_MESSAGE): implement
17753 (LFUN_MESSAGE_PUSH): implement
17754 (LFUN_MESSAGE_POP): implement
17755 (initMiniBuffer): the initial/defualt minibuffer message.
17757 * lyxfont.[Ch]: inline some more getters
17759 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17761 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17763 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17764 (AutoSave): use LFUN_MESSAGE
17765 (Reconfigure): ditto
17767 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17769 * figureForm.C: use LFUN_MESSAGE
17771 * converter.C (runLaTeX): use LFUN_MESSAGE
17773 * bufferview_funcs.C: use LFUN_MESSAGE
17775 (changeDepth): ditto
17777 * bufferparams.h: use boost::
17779 * bufferlist.h: inherit privately from noncopyable
17781 * bufferlist.C (loadLyXFile): remove some commented code.
17783 * buffer.C (runChktex): use LFUN_MESSAGE
17785 * ShareContainer.h: inherit privately from noncopyable
17787 * ParagraphParameters.[hC] (depth): inline it.
17789 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17791 (message): new method
17792 (messagePush): ditto
17793 (messagePop): ditto
17794 (show): init minibuffer
17795 (showState): direct call
17797 * LaTeX.[Ch]: inherit privately from noncopyable
17798 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17799 instead of WriteStatus.
17801 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17803 * BufferView_pimpl.C (buffer): don't init minibuffer
17804 (workAreaButtonPress): use LFUN_MESSAGE
17805 (workAreaButtonRelease): ditto
17806 (savePosition): ditto
17807 (restorePosition): ditto
17808 (MenuInsertLyXFile): ditto
17809 (workAreaExpose): don't init minibuffer
17810 (update): remove commented code, simplify
17812 * BufferView2.C (openStuff): use LFUN_MESSAGE
17813 (toggleFloat): ditto
17816 (copyEnvironment): ditto
17817 (pasteEnvironment): ditto
17822 (updateInset): remove some commented code
17824 * lastfiles.h: inherit privately from noncopyable
17827 * lyx_main.h: ditto
17829 * lyxlex_pimpl.h: ditto
17831 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17832 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17833 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17835 * LyXAction.h: inherit privately from noncopyable, add methods
17836 func_begin, func_end, returning iterators to the func map.
17838 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17839 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17840 (func_begin): new method
17841 (func_end): new method
17843 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17845 (copySelection): ditto
17846 (pasteSelection): ditto
17848 * BufferView.C: whitespace change
17849 * BufferView.h: inherit privately from noncopyable
17851 2001-04-16 Allan Rae <rae@lyx.org>
17853 * tabular-old.C (l_getline):
17854 * spellchecker.C (sc_check_word):
17855 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17856 an unrecognised preprocessor directive. So ensure they're wrapped.
17858 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17860 * src/exporter.C (Export): Give an error message when path to file
17863 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17865 * LaTeX.C (deplog): Always check that foundfile exists.
17867 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17870 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17872 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17874 * tabular.[Ch] (getLabelList): implement new method
17876 * minibuffer.h: comment ouf setTiimer
17878 * minibuffer.C (ExecutingCB): constify res
17879 (peek_event): constify s
17880 (Set): constify ntext
17881 (Init): constify nicename
17883 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17885 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17886 (savePosition): use two params to Minibuffer::Set
17887 (restorePosition): ditto
17889 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17891 * lyx_main.C: include language.h
17893 * Makefile.am (lyx_main.o): add language.h
17895 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17901 * CutAndPaste.C: include gettext.h
17903 * lyxfont.h: remove old hack with ON and OFF.
17906 * lyxfont.h: do not include language.h...
17911 * bufferview_funcs.C:
17917 * paragraph.C: ... but do it here instead
17919 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17921 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17923 * tabular.C: small reformat
17925 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17928 (BreakParagraph): ditto
17929 (SetOnlyLayout): ditto
17932 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17935 * lastfiles.C: removed most using decl, add std:: where needed
17937 * buffer.C: ws changes
17939 * MenuBackend.C (class compare_format): put into anon namespace
17940 (expand): constify label, names, action, action2
17943 * text.C (SingleWidth): constify font
17944 (IsBoundary): constify rtl2
17945 (GetVisibleRow): constify ww
17947 * LaTeX.C (deplog): constify logfile
17949 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17951 (workAreaExpose): constify widthChange, heightChange
17953 * lyxrow.C (par): moved
17956 * lyxrow.h: as inlines here
17958 * lyxfont.h (shape): moved from lyxfont.C
17959 (emph): moved from lyxfont.C
17961 * lyxfont.C (LyXFont): use initialization list for all
17963 (shape): move to lyxfont.h as inline
17964 (emph): move to lyxfont.h as inline
17967 2001-04-04 Juergen Vigna <jug@sad.it>
17969 * vspace.C: had to include stdio.h for use of sscanf
17971 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17974 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17975 independent of xforms.
17977 2001-04-02 Juergen Vigna <jug@sad.it>
17979 * spellchecker.C: fixed namespace placing!
17981 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17983 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17984 the LyXParagraph * is 0.
17986 2001-03-29 Juergen Vigna <jug@sad.it>
17988 * vspace.C: added support for %, c%, p%, l%.
17989 (stringFromUnit): added helper function.
17990 (asLatexString): changed to give right results for the %-values.
17992 * buffer.C: convert the widthp in a width%.
17994 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17996 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17999 * figureForm.[Ch]: stripped the FD_from_figure manipulation
18000 code out of lux_cb.[Ch], ready for its (imminent?) removal.
18002 * lyx_cb.[Ch]: see above.
18004 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18008 * lyx.[Ch]: replaced by figure_form.[Ch].
18012 * lyxfunc.C: changed headers associated with above changes.
18014 2001-03-27 Juergen Vigna <jug@sad.it>
18016 * BufferView_pimpl.C: set the temporary cursor right!
18018 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
18020 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18022 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
18024 * LString.h: removed "using std::getline"!
18026 * BufferView_pimpl.C (Dispatch): changes due to changes in
18027 InsetInclude::Params.
18029 * buffer.C (tag_name): removed redundant break statements as they were
18030 producing lots of warnings with my compiler.
18032 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18034 * LString.h: add "using std::getline" when using the real <string>.
18036 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
18038 * buffer.C: removed bitset usage.
18039 PAR_TAG moved to an anonymous name space.
18040 (tag_name): new funtion, also in the anonymous namespace.
18041 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18042 (makeDocBookFile): clean code. Completed transition from string arrays
18044 (SimpleDocBookOnePar): code clean.
18046 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18048 * tabular.C: add some comments.
18050 2001-03-22 Juergen Vigna <jug@sad.it>
18052 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18053 compatibility read a bit and fixed bug with minipage in different
18056 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18058 * buffer.C (pop_tag): removed.
18059 (push_tag): removed.
18060 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18061 array replaced with vector. Added support for CDATA sections.
18062 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18064 (makeDocBookFile): XML conformant declaration of CDATA section,
18065 fixed bug related to <emphasis> in the first paragraph char.
18066 (sgmlOpenTag): exclude empty tags.
18067 (sgmlCloseTag): ditto.
18069 * buffer.h (pop_tag): removed.
18070 (push_tag): removed.
18072 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18074 * language.h (Languages): added size_type and size().
18076 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18078 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18079 response on compability reading of minipages. One probliem is that
18080 the old usage of minipages was flertydig
18082 * several files here and in subdirs: don't use static at file
18083 scope use anon namespaces instead.
18085 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18087 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18088 LaTeX output. This is necessary for Literate document
18091 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18093 * buffer.C: insert hfill when needed.
18095 * tabular.C (l_getline): use string::erase, small whitespace change.
18097 * BufferView_pimpl.C: try the anon namespace.
18098 * WorkArea.C: ditto
18100 2001-03-16 Juergen Vigna <jug@sad.it>
18102 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18103 otherwise it won't open options-dialogs.
18105 * buffer.C: honor pextraWidth(p) on converting minipages.
18107 * tabular.C (l_getline): changed the functions to strip trailing \r.
18109 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18111 * BufferView_pimpl.C:
18112 * minibuffer..C: added "using SigC::slot" declaration.
18114 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18116 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18122 * paragraph.C: ditto
18124 * lyxtext.h: NO_PEXTRA
18126 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18128 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18129 * ParameterStruct.h: ditto
18130 * ParagraphParameters.h: ditto
18131 * lyxparagraph.h: ditto
18133 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18135 * buffer.C: add compability for minipage alignment.
18136 (latexParagraphs): remove unwanted pextra check.
18138 * several files: remove CXX_WORKING_NAMESPACES
18140 * buffer.C (pop_tag): tie is in namespace boost
18142 * BufferView.h: noncopyable is in namespace boost
18144 * lyx_main.h: ditto
18147 * lastfiles.h: ditto
18148 * bufferlist.h: ditto
18149 * ShareContainer.h: ditto
18151 * LyXAction.h: ditto
18154 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18156 * Merging changes from BRANCH_MVC back into HEAD.
18158 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18160 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18162 * BufferView_pimpl.C: change from intl.C
18166 * Makefile.am: move combox.*
18172 * intl.C: remove dialog (covered by prefs)
18174 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18176 * lyxfunc.C (Dispatch): removed redundant break statement.
18178 2001-03-14 Juergen Vigna <jug@sad.it>
18180 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18182 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18184 * buffer.C: add hack to fix compability reading of minipages.
18186 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18188 * buffer.C (getLists): Cleanup.
18190 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18192 * lyxfont.C (update): don't honor toggleall on font size.
18194 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18198 * Makefile.am: moved to frontends/xforms/
18202 * BufferView_pimpl.C: changes for moved mathpanel
18204 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18206 * gettext.h: fix gettext_init() in --disable-nls
18208 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18210 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18212 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18215 * lyx.h: strip external form
18217 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18219 * BufferView_pimpl.C: add comment, destroySplash()
18221 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18223 * BufferView_pimpl.C:
18227 * lyxfunc.C: use re-worked insetinclude
18229 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18231 * buffer.C: add using std::stringstream.
18233 * lyx_cb.C: readd using std::ios.
18235 * buffer.C: add using std::map.
18237 * BufferView_pimpl.C: add using std::vector.
18239 * ShareContainer.h: add std:: to swap.
18241 * buffer.h: add some typedefs
18242 * buffer.C (getLists): use them
18243 (getLists): renamed from getTocList.
18244 add a counter for the different float types and use it in the
18246 (getLists): use the same counter for the NEW_INSETS and the "non"
18249 * lyx_cb.h: remove unused items, includes, using etc.
18251 * ShareContainer.h: remove some commented code, add more comments
18252 and "documentation".
18254 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18256 * buffer.C (getTocList): make the list also when NEW_INSETS is
18259 * buffer.h: remove TocType
18261 * buffer.C (getTocList): change to return a map<string,
18262 vector<TocItem> >, implement for dynamic number of list.
18264 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18265 * text2.C (PasteSelection): adjust
18266 * CutAndPaste.C (pasteSelection): adjust
18268 * FloatList.C (FloatList): update from the new_insets branch.
18269 * Floating.[Ch]: ditto
18270 * LaTeXFeatures.C: ditto
18272 * lyxlex_pimpl.C: ditto
18274 * paragraph.C (Last): remove when NEW_INSETS is defined.
18276 * other file: changes because of the above.
18278 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18280 * lyxparagraph.h: rename next to next_, previous to previous_,
18281 make them private for NEW_INSETS. Rename Next() to next(),
18282 Previous() to previous().
18284 * other files: changes because of the above.
18286 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18289 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18292 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18294 * main.C (main): pass lyx_localedir to gettext_init().
18296 * gettext.h: remove locale_init and gettext_init macros
18298 * gettext.C (locale_init): new function
18299 (gettext_init): new function
18301 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18304 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18306 * Moved credits to frontends:
18307 * credits.[Ch]: removed
18308 * credits_form.[Ch]: removed
18309 * lyx_gui_misc.C: remove credits stuff
18312 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18314 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18316 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18317 unneeded destructor.
18319 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18320 a standalone pointer again.
18322 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18324 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18330 * ToolbarDefaults.C:
18339 * BufferView_pimpl.C: use new file dialog in GUII
18342 * lyx_cb.C: remove LayoutsCB to Toolbar
18344 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18346 * ShareContainer.h (get): add std:: qualifier
18348 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18350 * ShareContainer.h: define a proper ShareContainer::value_type
18351 type (and use typename to please compaq cxx)
18353 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18355 * lyxparagraph.h: move serveral local vars to
18356 ParameterStruct/ParagraphParameters., use ShareContainer in
18357 FontTable., make vars in FontTable private and add getter and
18360 * paragraph.C: changes because of the above.
18362 * lyxfont.h: remove copy constructor and copy assignment. (the
18363 default ones is ok), move number inside FontBits. move inlines to
18366 * lyxfont.C: add number to initializaton of statics, move several
18367 inlines here. constify several local vars. some whitespace
18368 cleanup. Dont hide outerscope variables.
18370 * Spacing.h: add two new constructors to match the set methods.
18372 * ShareContainer.h: new file, will perhaps be moved to support
18374 * ParameterStruct.h: new file
18376 * ParagraphParameters.h: new file
18378 * ParagraphParameters.C: new file
18380 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18381 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18383 * BufferView_pimpl.C: ParagraphParameter changes.
18384 * buffer.C: Likewise.
18385 * bufferview_funcs.C: Likewise.
18386 * text.C: Likewise.
18387 * text2.C: Likewise.
18389 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18391 * lyxfind.C (LyXReplace): do not redefine default argument in
18393 (IsStringInText): ditto
18394 (SearchForward): ditto
18395 (SearchBackward): ditto
18397 2001-03-06 Juergen Vigna <jug@sad.it>
18399 * lyxfind.C (IsStringInText): put parentes around expressions.
18401 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18403 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18405 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18407 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18409 * stl_string_fwd.h: add comment
18411 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18414 * tabular.C: remove unused DocBook methods
18420 killed DO_USE_DEFAULT_LANGUAGE
18422 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18424 * lyx_gui.C: do not include language.h.
18426 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18427 arguments in function implementation.
18429 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18431 * BufferView_pimpl.C: add <ctime>
18433 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18435 * BufferView_pimpl.C: add using std::find_if
18437 2001-02-27 José Matos <jamatos@fep.up.pt>
18439 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18442 2001-02-11 José Matos <jamatos@fep.up.pt>
18444 * buffer.C (makeDocBookFile): command styles now have a parameter as
18445 "title" by default.
18447 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18449 * layout_forms.[Ch]: removed
18450 * lyx_cb.[Ch]: out character
18451 * lyx_gui.C: out character
18452 * lyx_gui_misc.C: out character
18453 * bufferview_funcs.C: : out character,
18454 added toggleall as parameter in ToggleAndShow
18456 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18458 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18460 * text2.C (SetCurrentFont): Disable number property at boundary.
18462 2001-02-26 Juergen Vigna <jug@sad.it>
18464 * lyxfunc.C (getStatus): added a string argument override function so
18465 that this is correctly called from LyXFunc::Dispatch if it contains a
18466 do_not_use_argument which is used!
18467 (Dispatch): added check for "custom" export and call appropriate func.
18469 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18471 * lyxrc.C: Add language_command_local, language_use_babel and
18472 language_global_options.
18474 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18476 * buffer.C (makeLaTeXFile): Use language_use_babel and
18477 language_global_options.
18479 2001-02-23 Juergen Vigna <jug@sad.it>
18481 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18482 which works with LyXText and putted it inside BufferView. Here now we
18483 only call for that part the BufferView::Dispatch() function.
18485 * BufferView.C (Dispatch): added.
18487 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18488 functions which needs to use a LyXText over from LyXFunc.
18489 (MenuInsertLyXFile): added
18490 (getInsetByCode): added
18491 (moveCursorUpdate): added
18492 (static TEXT): added
18494 2001-02-22 Juergen Vigna <jug@sad.it>
18496 * BufferView_pimpl.C (update): call a status update to see if LyXText
18499 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18501 * vc-backend.C (revert): implement for CVS
18502 (getLog): implement for CVS
18504 2001-02-20 Juergen Vigna <jug@sad.it>
18506 * text2.C (ClearSelection): added BufferView param for inset_owner call
18508 * lyxfunc.C (TEXT): added this function and use it instead of
18509 directly owner->view()-text of getLyXText().
18511 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18513 * src/layout_forms.C: out preamble
18514 * src/layout_forms.h: out preamble
18515 * src/lyx_cb.C: out preamble
18516 * src/lyx_cb.h: out preamble
18517 * src/lyx_gui.C: out preamble
18518 * src/lyx_gui_misc.C: out preamble
18519 * src/lyxfunc.C: connect with guii preamble
18521 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18523 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18525 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18527 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18528 whether to run bibtex.
18530 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18532 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18534 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18536 * Makefile.am (lyx_SOURCES): removed bibforms.h
18538 * vspace.h: doxygen
18540 * text.C (GetVisibleRow): make several local vars const
18542 * tabular.C: small cleanup.
18544 * lyxserver.C (callback): use compare instead of strncmp
18546 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18547 inlines to after class or to paragraph.C
18549 * lyxfont.h: remove friend operator!=
18551 * converter.h: move friend bool operator< to non friend and after
18554 * combox.h: small cleanup
18556 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18557 to inlines after class def.
18559 * buffer.C (pop_tag): use string operations instead of strcmp
18561 * bmtable.c: doxygen, small cleanup
18563 * LaTeX.h: remove friend operator==
18565 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18577 * BufferView_pimpl.C:
18578 * BufferView.[Ch]: remove cruft
18580 2001-02-14 Juergen Vigna <jug@sad.it>
18582 * lyxfunc.C: removed #if 0 unused code
18584 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18586 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18588 * text2.C (SetSelection): added a BufferView * parameter
18590 2001-02-13 Juergen Vigna <jug@sad.it>
18592 * lyxfunc.C (Dispatch): fixed protected blank problem.
18593 * BufferView2.C (protectedBlank): added LyxText * parameter.
18595 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18596 (AppendColumn): same as above for column_info.
18598 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18599 (moveCursorUpdate): use a LyXText param for support of InsetText.
18601 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18602 (tripleClick): ditto
18604 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18606 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18608 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18610 * text2.C (SetSelection): set correct update status if inset_owner
18611 (ToggleFree): ditto
18613 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18615 * tabular.C: remove some commented code.
18617 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18619 * BufferView_pimpl.C: call hideSplash()
18621 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18624 * bibforms.h: remove
18627 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18628 add LFUN_CHILD_CREATE
18630 * counters.h: fix tiny typo
18635 * lyx.C: move splash to frontends/xforms/
18637 * lyx_gui_misc.C: move Include and Bibform to frontends
18639 * lyxvc.h: clarify comment
18641 * vspace.C: tiny housekeeping
18643 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18645 * text.C (PrepareToPrint): RTL Fix.
18647 * paragraph.C (GetUChar): New method.
18648 (String): Use GetUChar.
18650 * buffer.C (asciiParagraph): Use GetUChar.
18652 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18654 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18656 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18659 * buffer.C: rename to getLogName(), handle
18660 build log / latex log nicely
18662 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18665 * MenuBackend.h: remove support for reference menuitem type.
18667 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18669 * BufferView_pimpl.C: housekeeping
18670 * BufferView_pimpl.h:
18675 * minibuffer.h: move Timeout GUI-I
18677 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18679 * lyxrc.C (read): Update converters data-structures.
18681 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18683 * LaTeX.h (operator!=): add operator != for Aux_Info
18685 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18687 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18689 * LaTeXLog.C: deleted, useful code moved to Buffer
18692 * buffer.C: new function getLatexLogName()
18698 * lyxfunc.C: use frontends for LaTeX and VC logs
18700 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18702 * LaTeX.h: yet another std:: that Allan forgot.
18704 * Variables.C (set): renamed from isset(), because this clashes
18705 with some HP-UX macros (grr).
18707 2001-02-06 Allan Rae <rae@lyx.org>
18709 * LaTeX.h: Another bug fix. Missing std:: this time.
18711 2001-02-04 Allan Rae <rae@lyx.org>
18713 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18714 floats problem. I've left it commented out because it's not quite
18715 correct. It should also test that the current object is a table or
18716 figure inset. But I haven't gotten around to figuring out how to do
18717 that. I *think* it'll be something like: "table" == inset.type()
18719 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18722 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18724 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18725 all the citation/databases/styles in the auxilary file.
18726 (run): Rerun latex if there was a babel language error.
18728 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18730 * text.C (Backspace): Preserve the font when changing newline char
18732 (BreakParagraph): If the cursor is before a space, delete the space.
18734 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18736 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18738 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18739 new argument (code).
18740 (ChangeCitationsIfUnique): New method.
18742 * paragraph.C (GetPositionOfInset): Handle bibkey.
18744 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18746 * BufferView_pimpl.h: change type of Position::par_pos to
18747 LyXParagraph::size_type.
18749 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18751 * BufferView_pimpl.C (savePosition, restorePosition): Write
18752 messages to minibuffer.
18754 2001-01-28 José Matos <jamatos@fep.up.pt>
18756 * buffer.C (makeDocBookFile): adds support for document language.
18757 A silly restriction on the name of LatexCommand types where removed.
18758 Added support for CDATA sections, allows to chars unescaped, used
18759 among others in code, to avoid escape < and >.
18761 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18763 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18764 saved positions instrad of a stack. Furthermore, a position is
18765 stored using paragraph id/paragraph position.
18767 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18768 Remove LFUN_REF_BACK.
18770 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18772 * converter.C (dvipdfm_options): New method.
18774 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18776 * vspace.C (isValidLength): Fix for empty input string.
18778 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18780 * LyXAction.C (init): change description of LFUN_FIGURE to
18783 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18785 * LaTeX.C: add using directive
18787 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18789 * MenuBackend.C (expand): Fix the sorting of the formats.
18791 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18793 * lyx_main.C: tiny error message fix
18795 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18797 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18798 calling fl_initialize(). This fixes the problem with ',' as
18799 decimal separator in text files.
18801 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18803 * trans.C (process): Fix the keymap bug.
18805 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18807 * LaTeX.C (scanAuxFiles): New method. Provides support for
18808 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18809 (scanLogFile) Scan for "run BibTeX" messages.
18811 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18812 OT1 font encoding. Also, load the aecompl package if the ae
18815 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18817 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18819 * texrow.C (increasePos): turn two error messages into debug
18822 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18824 * LaTeX.C (scanAux): Handle the \@input macro.
18825 (runBibTeX): Use scanAux().
18827 * language.C (latex_options_): New field.
18829 * LaTeXFeatures.C (getMacros): Add language macros.
18831 * buffer.C (makeLaTeXFile): Small fix.
18833 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18835 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18837 * text2.C: add a using directive.
18839 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18844 * lyxfunc.C: kill LyXBell.
18846 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18848 * text.C (IsBoundary): Remove the error message
18850 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18852 * lyxrc.C (setDefaults): Correct initialization value for
18855 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18857 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18860 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18861 and GotoNextNote().
18863 * src/LyXAction.C: Added reference-next.
18865 * text.C (InsertChar): Use contains instead of strchr.
18867 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18869 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18871 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18872 alignment commands (when needed).
18874 * text.C (InsertChar): Add ':' to number separator chars.