1 2006-03-11 Martin Vermeer <martin.vermeer@hut.fi>
3 * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
5 * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
6 rejectChange, erase; added setChangeFull):
7 * CutAndPaste.C (eraseSelectionHelper):
9 * text.C (readParToken, readParagraph, breakParagraph,
10 acceptChange, rejectChange, backspace, currentState;
12 * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
13 * lyxfind.C (findChange, findNextChange): fix bug 880: Change
14 tracked paragraphs should still allow a paragraph split (and related
15 things, i.e., multi-paragraph change tracking)
17 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
19 * BufferView_pimpl.C: fix bug 2212: First change is skipped is
20 "Merge changes..." dialog
22 2006-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
24 * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX
25 error if the class has not defined them yet (bug 2053).
27 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
30 * BufferView_pimpl.[Ch]:
34 * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
36 2006-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
38 * pch.h: fix nullstream.hpp location for boost 1.33.0
40 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
44 * support/debugstream.h: Use the correct nullstream.
46 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
48 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
50 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
52 * cursor.C (niceInsert): fix (properly) insertion of
53 fonts/decorations around selection
55 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
57 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
59 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * text3.C (mathDispatch): fix crash when selection is not empty
62 but selectionAsString is empty (bug 2321).
64 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
66 * text.C (changeCase): avoid crash in empty paragraph or on last
67 word of the paragraph. (buf 2323)
68 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
70 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
72 * buffer.C (readHeader): also erase params.preamble in advance
73 so that an empty preamble is actually recognized (bug 2317).
75 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
77 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
79 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
81 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
91 * text3.C: Fix bug 2115: blue language lines (for default font)
92 popping up when the documnent font is different. This includes work
95 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * exporter.C (Backends): Add "lyx" backend
98 * exporter.C (Export): Handle "lyx" backend
99 * graph.C (getReachable): Don't exclude "lyx"
100 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
102 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
104 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
105 for correct in-mathed positioning
107 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
109 * rowpainter.C (paintForeignMark): fix foreign blue line under
112 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
114 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
115 pit of the uno range (bug 2022).
117 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
119 * messages.C (get): Only warn once if setlocale fails (bug 2177)
121 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
123 * text2.C (setCharFont): take inset's own font settings into account
124 when defining the font to reduce to, fixes 2019
126 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
128 * bufferview_funcs.C (coordOffset): remove the check for
129 collapsed collapsables (fix for bug 2094). This is now done
130 on a more general level (cursor.C).
132 * dociterator.[Ch] (forwardPos): add an optional argument
133 bool "ignorecollapsed" (default false), which lets forwardPos
134 skip collapsed insets.
136 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
137 (fixes bug 2241 and 2094).
139 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
141 * buffer.C: change tracking (dvipost) doesn't require
144 * LaTeXFeatures.C (getPackages): no need for the color
145 option "usenames" (bug 2169).
147 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
148 * buffer_funcs.C: Trivial fix - added {} around
149 the statements to be affected by a if-test. Now
150 label in a minipage in a float looks ok on screen again.
152 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
154 * text2.C: fix bug 2015: on screen fonts in nested environments
157 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
159 * converter.C (convert): handle unknown formats
161 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
163 * cursor.C (goUpDown): comment out some debug messages.
165 * counters.C (newCounter): make error messages more explicit
166 (these appear with some textclasses like beamer)
168 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
172 have origin set to KEYBOARD. (bug 2221)
174 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
176 * rowpainter.C (isCursorOnRow): do not exclude endpos().
178 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * cursor.C (macroModeClose): returns true if an inset actually got
181 inserted; revert faulty fix to bug 2034.
183 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * tabular.C (getLabelList): remove (not used anymore).
187 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
189 * outputparams.[Ch]: add new flag inComment
191 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * text2.C (deleteEmptyParagraphMechanism): since we delete a
194 paragraph, recordUndo should span two paragraphs (bug 2155).
196 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
198 * rowpainter.C (paintPar): always repaint the row with the
201 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
207 * vspace.h: fix syntax error
209 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
211 * text3.C (dispatch): Force refresh if typing into inset changes its
214 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
219 * rowpainter.C: Speed up rendering by only re-painting rows that
220 have changed. When selection or whole-screen update active, all rows
221 are repainted, as are all rows within insets.
223 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
225 * version.C.in: Use PACKAGE_VERSION instead of VERSION
227 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
229 * tabular.C (toggleFixedWidth): Use default layout of text class
230 instead of hardcoded "Standard"
232 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * lyxfunc.C (dispatch): do not call getStatus again to determine
235 whether a lfun is disabled (bug 2172).
237 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * cursor.C (macroModeClose): set the cursor inside the new math
240 atom if relevant (think \frac{}{}) (bug 2034)
242 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
246 * text3.C (Delete, backspace): force update when merging paragraphs
248 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * BufferView.C (mouseSetCursor): clear the selection properly (bug
253 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
255 * text.C (redoParagraph): honor inset->noFontChange()
256 * rowpainter.C (paintInset): ditto
258 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
260 * lyx_main.C (priv_exec): don't initialize Math on startup
261 (initMath() has been moved to math_hullinset).
263 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
265 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
266 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
267 * paper.h: dispose dead PAPER_PACKAGES enum.
269 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
274 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
276 * exporter.C (Export): Don't try to copy a file if it does not exist
279 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
281 * text2.C (makeFontEntriesLayoutSpecific): remove.
284 * text.C (insertChar): remove bogus caching of fonts (did not do
287 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
288 ALL_SANE). (bug 2146)
290 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
292 * rowpainter.C (paintFirst): fix centering of
293 LABEL_CENTERED_TOP_ENVIRONMENT.
295 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
297 * BufferView.C (mouseSetCursor): new method. Calls
298 deleteEmptyParagraphMechanism if necessary.
300 * lyxtext.h: make deleteEmptyParagraphMechanism public.
302 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
303 BufferView::mouseSetCursor (bug 2109).
304 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
306 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
309 do not remove it (this inset behaves differently from the others).
311 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
315 * BufferView_pimpl.C (getStatus): it is only possible to insert a
316 file in a text inset.
318 * buffer.C (readDocument): remove pit argument and code releated
319 to it; set the inset owner correctly (unrelated, but useful).
320 (readFile): get rid of pit argument.
322 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
323 textclass instead of a selection index.
324 (pasteParagraphList): new function.
325 (pasteSelection): make it a wrapper around pasteParagraphList.
327 * BufferView_pimpl.C (MenuInsertLyXFile): use
328 cap::pasteParagraphList to insert a file.
330 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
332 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
334 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
336 * exporter.C: fix typo in text message
338 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
340 * text2.C (setLayout): move recUndo call to other setLayout method
341 * tabular.C (toggleFixedWidth): new, handle cell width changes
342 * tabular.C (setColumnPWidth): move some code from insettabular.C here
343 and use toggleFixedWidth
344 * tabular.C (setMColumnPWidth): ditto
346 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
348 * paragraph.C (asString): use new inset->textString method (fix
351 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * CutAndPaste.C (numberOfSelections): new helper function.
355 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
357 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
358 LyXFunc::getStatus; implement LFUN_PASTE.
360 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
362 * dociterator.[Ch]: new member realInset() that returns the cell
363 for tabulars and the inset for the rest (bug 1952).
364 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
367 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
371 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
375 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
378 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
380 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
381 line after typing ctrl-enter
383 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
385 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
386 math insets do not return a proper editable() state yet (bug 2124).
388 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
390 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
391 docs containing very large paragraphs.
393 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
395 * cursor.C (selectionBegin, selectionEnd):
396 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
397 cursor at different depths.
399 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
401 * bufferview_funcs.C (coordOffset): do not call cursorPos
402 for collapsed collapsables (fix bug 2094).
404 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * paragraph.C (fontSpan): make sure that the FontSpan does not
407 span across beginOfBody (bug 1947).
409 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
413 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
415 * messages.C: fix crash and localization on MinGW/Windows platform
417 2005-11-02 Angus Leeming <leeming@lyx.org>
420 * lyxtextclass.C: trivial fixes to some MSVS warnings.
422 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
424 * text3.C (getStatus): re-enable disabled code. (bug 2081)
426 * BranchList.h (empty): constify.
428 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
430 * text3.C (getStatus):
431 * MenuBackend.C (expandBranches): take the branch list from the
432 master document (bug 2092).
434 * MenuBackend.C (expandBranches):
435 * bufferparams.C (writeFile): use BranchList type.
437 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
439 * text3.C (dispatch, getStatus):
440 * LyXAction.C (init):
441 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
443 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
447 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * text.C (insertChar): do not reset boundary (bug 2061)
451 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
453 * dociterator.C (updateInsets): new method. Updates the inset_
454 cache of all the slices of the iterator.
456 * text2.C (deleteEmptyParagraphMechanism): compare also containing
457 insets when comparing pit/pos; pass the right cursor to
458 recordUndo; when a paragraph has been deleted, compare `old.top()' to
459 the right cursor slice of `cur'; use updateInsets on cur to make
460 sure that the inset caches are correct; general cleanup.
462 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
464 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
465 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
466 containg inset. If this does not work, the same command will be
467 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
469 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
472 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
474 * lyxtextclass.C (Read): convert layout file if the format is wrong
475 * lyxtextclass.C (layout2layout): new, needed for the above
477 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
479 * messages.C: do not forget to include <cerrno>.
481 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
483 * dociterator.h (StableDocIterator): add access to pos().
484 * undo.C (samePar): new method to check if two
485 iterators are in the same paragraph
486 * undo.C (recordUndo): check for samePar instead of cell identity
487 (which includes pos() and is too strict) (fixes bug 2097)
489 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
491 * text.C (setCursorFromCoordinates): return a bool telling whether
494 * text3.C (cursorPrevious): update if needed after
495 setCursorFromCoordinates (when dEPM triggered).
497 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
498 (otherwise the anchor may be completely wrong and make dEPM assert).
500 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
502 * buffer.C: version upgrade to 245.
503 * bufferparams.C: remove \quotes_times (bug 2090).
504 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
505 quotation marks as default.
507 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
509 * CutAndPaste.C (nrOfParagraphs): remove (unused)
510 * CutAndPaste.C (cutSelection): Remove debug message
511 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
512 undo information and only copy if this is a real cut
513 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
515 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
517 * CutAndPaste.C (eraseSelection): prevent cursor corruption
518 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
519 superflous cur.selection() setting
520 * CutAndPaste.[Ch] (grabSelection): take a const cursor
521 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
523 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
525 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
528 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
530 * BufferView_pimpl.C: comment layout change
532 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
536 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
537 by bibliography managers (bug 2071).
539 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
541 * BufferView_pimpl.C (update): choose arguments to update call so
542 that single-par update works most times
543 * text3.C (dispatch): carefully tune updating separately for
544 whole-screen and current-paragraph
545 * rowpainter.C (paintText): 1) replace painting by caching for
546 the two extra paragraphs, because we can;
547 2) suppress greying out of areas below/above drawn area in case of
549 * lyxfunc.C (dispatch): remove superfluous update
550 * LyXAction.[Ch]: introduce SingleParUpdate
552 2005-10-05 Angus Leeming <leeming@lyx.org>
554 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
555 always initialised before use.
557 * text.C (setHeightOfRow): squash warning about comparison
558 of signed and unsigned types.
560 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
562 * text.C (cursorX): two fixes involving RtL text drawing
564 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
566 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
567 items, not only large ones (part of bug 2057)
569 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
571 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
572 argument, use "newcommand".
574 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
576 * cursor.C (setSelection): do not open collapsable insets;
577 the insets do by themselves now (autoopen).
579 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
581 * buffer.C: format is up to 244.
583 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
585 * text.C (redoParagraph): fix calcultation of inset width wrt
586 leftMargin (bug 1957).
588 * text3.C (dispatch): leave inset to the right when hitting ESC
591 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * messages.C: include <boost/current_function.hpp>
598 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
601 when command is internal. (bug 1941)
603 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
605 * text2.C (cursorRight): do not honor boundary when at the end of
606 a paragraph. (bug 2010 again)
608 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
610 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
612 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
614 * rowpainter.C (paintText): fix RtL space width display bug (2029)
616 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
618 * text2.C (setCursor): remove the unused 'boundary' parameter for
619 the CursorSlice version; adapt the LCursor version.
622 * paragraph_pimpl.C (markErased):
623 * cursor.C (bruteFind2, bruteFond3): fix warnings.
625 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
627 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
628 as is already done for "chapter".
630 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
632 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
633 textclass; do not record undo if nothing is changed.
635 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
637 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
639 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
641 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
643 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
645 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
646 combox, it is necessary to search for the topmost paragraph in the
647 cursor stack (bug 1926)
649 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
651 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
652 end of paragraph. (bug 2010)
654 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
656 * text.C (leftMargin): check for inInset == 0
658 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
660 * text.C (leftMargin): test for insetbase's new neverIndent()
661 bool instead of listing each and every inset that does not
662 wish par indendation.
664 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
666 * buffer_funcs.C (setCounter): put the code to compute enum label
667 here (where it belongs).
669 * counters.C (enumLabel): move code to buffer_funcs.C.
671 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
673 * outputparams.[Ch]: store local_font instead of local_language
674 * paragraph.C (simpleTeXOnePar): adapt to the change above
676 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
679 * counters.[Ch]: clean up special code for Hebrew.
681 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
683 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
686 2005-09-08 Angus Leeming <leeming@lyx.org>
689 * lyxrc.C: correct grammar describing invocation of the
692 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
694 * text.C (read): remove unused variable.
695 (readParToken): remove static Change variable (never good in
696 recursive settings...); add it as a parameter instead.
698 * paragraph_pimpl.C (acceptChange): make debug info conditional.
700 * metricsinfo.C (PainterInfo): add new member erased_.
702 * rowpainter.C (RowPainter): add erased_ member, initialized from
704 (paintInset): pass erased_ to Inset::draw.
706 * lyxfunc.C (lookupChange): new function. Tells whether change
707 tracking is disabled at a given postion.
708 (getStatus): disable some actions when in deleted text with change
711 2005-08-03 John Levon <levon@movementarian.org>
713 * tabular.C (appendColumn, setMultiColumn): adapt to change to
716 * paragraph_pimpl.C (markErased): add bool argument and handle it.
717 Also make sure to mark insets recursively.
718 (rejectChange, erase): be recursive
720 * paragraph.C (markErased): add bool argument.
721 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
723 * lyxfind.C (findNextChange): tiny cleanup.
725 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
726 change tracking with the cursor in an inset; make sure the first
727 change is not skipped.
729 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
731 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
732 tabularStackDirty to work around bug 1919 (tabular needs
733 to know whether its own cell paste buffer or the one of
735 * CutAndPaste.C: mark tabular_stack_ clean after copy.
737 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
739 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
741 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
743 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
744 use old deleteion algorithm when changetracking is on.
746 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
748 * messages.C (get): add debug output.
750 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
752 * text.C (cursorX): fix bug 1965: cursor movement at
753 line end broken in RtL.
754 (drawSelection): fix bug 1970: drawing of single-line
755 selection broken for RtL.
757 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
761 * dociterator.h (clear, push_back, pop_back): change from
764 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
765 and changed to just return the value of the item depth; take a
766 ParIterator as argument; take the itemdepth at outer nesting level
767 in account if necessary; cleanup and comment the code.
768 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
769 and changed to just return true if reset is needed; take a
770 ParIterator as argument; cleanup and comment the code.
771 (setCounter): adapt to above changes.
773 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
775 * text3.C (dispatch): make debug message optional
777 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
779 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
782 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
784 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
786 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
788 * text.C (insertChar):
789 * text2.C (deleteEmptyParagraphMechanism): take care whether
790 a blank has been deleted (in change tracking mode) (bug 1254).
792 2005-07-20 John Levon <levon@movementarian.org>
794 * text2.C (insertStringAsLines): remove old dubious code,
797 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
799 * MenuBackend.C (expandToc): use Floating::listName() as title of
802 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
804 * toc.[Ch]: Do not use translatable strings (bug 1870).
806 2005-07-20 John Levon <levon@movementarian.org>
808 * tabular.C: fix 1748 - setting multicolumn adds
809 left line to the first cell
811 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
814 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
817 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
819 * messages.C: supress some lyxerr messages
821 2005-07-18 Juergen Vigna <jug@lyx.org>
823 * text.C (drawSelection): honor boundary when asking for cursorX.
825 2005-07-17 José Matos <jamatos@fc.up.pt>
827 * tabular.C (recalculateMulticolumns): fix handling of one column
830 2005-07-17 Juergen Vigna <jug@lyx.org>
832 * text.C (Delete, backspace): fixed so that paragraph with the
833 same layout can be merged by Delete/Backspace.
835 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
837 * text.C (readParToken): fix spelling.
839 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
841 * text2.C: fix counter update for DEPM problem reported by
844 2005-07-17 Juergen Vigna <jug@lyx.org>
846 * BufferView_pimpl.C (setBuffer): save/restore the
847 cursor/selection when switching buffers
850 * buffer.C (saveCursor): add saveDocumentIterators to save the
851 cursor when switching buffer.
853 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
856 * buffer.C: clarify message
858 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
860 * dociterator.C (DocIterator): fix initialization order
862 2005-07-17 Juergen Vigna <jug@lyx.org>
864 * text2.C (cursorHome):
865 * text.C (drawSelection, cursorX):
866 * dociterator.C (textRow): add boundary to getRow() call
868 * paragraph.C (getRow): implementation of below
870 * paragraph.h: add parameter boundary for getRow() function
872 2005-07-17 José Matos <jamatos@fc.up.pt>
876 * tex-strings.[Ch]: new file format, remove support for a4.sty,
877 a4wide.sty and a4widemargins.
879 2005-07-17 Juergen Vigna <jug@lyx.org>
881 * text2.C (cursorLeft): fix one of error
883 2005-07-17 Juergen Vigna <jug@lyx.org>
885 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
887 more fixes for boundary handling
889 * text3.C (dispatch): don't reset cursor if boundary has changed
892 2005-07-16 Juergen Vigna <jug@lyx.org>
894 * text2.C (getColumnNearX): hopefully got it right now,
895 check if we are on column 0 for special case.
897 2005-07-16 Juergen Vigna <jug@lyx.org>
899 * text2.C (getColumnNearX): handle special case Newline Inset
901 * text.C (singleWidth): Just remove bogus check
903 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
905 * funcrequest.C (split): avoid reading uninitialized char c
907 2005-07-16 José Matos <jamatos@fc.up.pt>
913 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
914 single papersize variable.
916 2005-07-16 Juergen Vigna <jug@lyx.org>
918 * text3.C (dispatch): honor boundary when checking if a cursor
919 movement has been done
921 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
922 (setCursor, setCursorIntern): fix cursor movement with boundary
924 2005-07-16 Juergen Vigna <jug@lyx.org>
926 * text.C (currentState): output the actual Boundary
928 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * factory.C (createInset): fix bad logic for tabular creation
932 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
934 * lyx_main.C (init): change some reLyX reference to tex2lyx
936 2005-07-16 Juergen Vigna <jug@lyx.org>
938 * dociterator.C (DocIterator): initialize boundary
940 2005-07-16 Juergen Vigna <jug@lyx.org>
942 * text2.C (getColumnNearX): Consider rows without trailing blank.
944 2005-07-16 André Pönitz <poenitz@gmx.net>
946 * lyxfont.h: Change order of declarations to give the compiler
947 a better chance to inline things
949 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
950 questions on unsaved docs for better scritability
952 2005-07-16 André Pönitz <poenitz@gmx.net>
954 * paragraph.h (getChar): remove asserts as the same kind of security
955 can be achieved by using a suitable standard library implementation
956 and the function was in the critical path (25.9% in profiler)
958 2005-07-16 Juergen Vigna <jug@lyx.org>
960 * cursor.C (bruteFind2):
961 * bufferview_funcs.C (coordOffset):
962 * text.C (cursorX,cursorY): Handle cursor position after last char
963 in row before a inset which uses a whole row.
965 2005-07-15 José Matos <jamatos@lyx.org>
967 * output_plaintext.[Ch] (writeFileAscii): control reference title
969 (asciiParagraph): noparbreak was already deal and was incorrectly
972 2005-07-15 Juergen Vigna <jug@lyx.org>
974 * lyxfunc.C (dispatch): save and restore the cursor after a
977 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
979 * text.C (backspace): bug 806 for empty keepempty paragraphs we
980 change the layout to default before letting DEPM do its thing.
982 * paragraph_funcs.C (breakParagraph): dont reset the layout on
985 * text.C (setCursorFromCoordinates): add a debug statement
987 * text2.C (getColumnNearX): bug 1825 make sure that we don't
988 return a pos that is not on the row
990 * output_latex.C (TeXDeeper): get rid of potential dereferencing
991 of past the end iterator
993 2005-07-14 André Pönitz <poenitz@gmx.net>
995 * undo.C (recordUndoFullBuffer): implement undo for
998 2005-07-14 André Pönitz <poenitz@gmx.net>
1000 * cursor.C (setSelection): open insets when selection is set there
1001 to avoid crashs with cold coord cache
1003 2005-07-14 André Pönitz <poenitz@gmx.net>
1005 * trans_mgr.C (insert): move cursor to the right after inserting
1008 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1010 * BufferView_pimpl.C (update): dampen some of the debug blabbering
1011 * factory.C (readInset): ditto
1012 * text.C, text2.C: ditto
1014 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1016 * buffer.C: format incremented to 242. There is no file format per
1017 se, but the "frenchb" language has been removed from lib/language
1018 and has to be translated to "french" by lyx2lyx.
1020 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1022 * cursor_slice.h, dociterator.h: add some documentation
1023 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1025 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1027 * text.C (leftMargin): do not add identation to display() style
1028 insets, because they are always centered (bug 1293).
1030 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1032 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1033 formatted_time methods in support/lyxtime.
1035 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1037 * toc.[Ch]: new method getGuiName, which is used by the frontends
1038 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1040 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1042 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1043 StableDocIterator const &)
1044 * undo.C (recordUndo): use the above instead of cell.size() comparison
1045 (fixes bug 1808; instructed by Andr�.
1047 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1050 * dociterator.h: Fix the assert when copying rows/cols in math
1052 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1054 * BufferView_pimpl.C:
1056 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1058 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1059 (findInset): new functions, refactored from goto Inset that return
1060 the position of a certain inset without setting the buffer's cursor
1062 (gotoInset): rewrite to call findInset and then set the cursor
1065 2005-06-16 Angus Leeming <leeming@lyx.org>
1067 * lyxrc.C (output, read): wrap all input and output of paths with
1068 calls to os::internal_path and os::external_path, respectively.
1069 (output): wrap bind_file inside quotes.
1071 * format.C (view): enable the viewer to use the '$$s' placeholder.
1073 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1075 * LColor.[Ch] (getFromLaTeXName): new
1077 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1079 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1081 2005-06-14 Angus Leeming <leeming@lyx.org>
1083 * lyx_main.C (init): ensure that the LyX binary dir is the first
1084 element in the PATH on non-POSIX builds.
1086 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1088 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1090 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1092 * rowpainter.C (paintInset, paintHebrewComposeChar)
1093 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1094 (paintChars): use getFontSpan to reduce calls to getFont to a
1095 minimum; use Paragraph::lookupChange instead of isXXXText.
1096 (paintForeignMark): rename LyXFont argument.
1097 (paintFromPos): pass a LyXFont object to the various paintXXX
1100 * FontIterator.C (FontIterator, operator++): use
1101 Paragraph::getFontSpan
1103 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1104 version that returns the font span as a pair.
1106 2005-06-09 Angus Leeming <leeming@lyx.org>
1108 * converter.C (convert): Don't forget "outfile = real_outfile" as
1109 the final step in a conversion where the input and output file names
1110 are the same. Otherwise, future conversion steps won't work...
1112 2005-06-09 Angus Leeming <leeming@lyx.org>
1114 * lyxsocket.C: remove stub code as it isn't needed by
1115 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1117 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1119 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1120 effectively disabled -x
1122 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1124 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1125 when it actually makes sense.
1127 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1129 * BufferView_pimpl.C: revert to showCursor in connection with
1130 Lars's front-end stack
1132 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1134 * text.C (redoParagraph): move cursor right after a bibitem
1137 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1139 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1141 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1144 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1146 * BufferView.[Ch] (update):
1147 * BufferView_pimpl.[Ch] (update, metrics):
1148 * dimension.h (operator==):
1149 * lyxfunc.C (dispatch):
1150 * metricsinfo.h (ViewMetricsInfo):
1151 * rowpainter.C (paintText):
1153 * text.C (redoParagraph):
1154 * text3.C (dispatch): Make LyX only repaint current paragraph in
1155 case of character insert --> speedup. Also fix cursor draw
1158 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1160 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1161 avoid a crash (bug 1891)
1163 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1167 * text2.C (getStringToIndex): constify cur argument.
1169 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1170 argument has been given
1171 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1172 try to invoke LFUN_INSET_APPLY).
1174 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1175 if no inset was created by doInsertInset
1176 (doInsertInset): return true if an inset has been inserted.
1178 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1180 * vspace.C (asGUIName): new method. A version of the space
1181 suitable for showing on screen.
1183 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1186 * lyxrc.C: rename "ASCII" to "Plain Text"
1188 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1190 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1191 translate the labelstring.
1192 (setCounter): translate labelstring as needed.
1194 * output_docbook.C (makeCommand): fix expandLabel invokation
1196 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1198 * BufferView.C: fix dialog title
1200 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1202 * lyx_main.C (priv_exec): fix logic error with help from Angus
1203 * lyx_main.C (parse_execute): set is_gui = false and remove now
1204 obsolete comment about a segfault
1206 2005-05-18 Angus Leeming <leeming@lyx.org>
1208 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1210 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1212 * tabular.[hC]: added setCellInset to fix tabular paste.
1214 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1216 * buffer.C (save): check if destination is writable before trying
1219 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1221 * BufferView_pimpl.C (update): fix processEvents -caused update
1224 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1226 * buffer_funcs.C (setCounter): fix test for numbering of
1229 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1230 depth correctly; use optional argument when it exists
1232 * lyxtextclass.C: remove unused MaxCounterTags enum
1233 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1234 (max_toclevel, min_toclevel): new methods.
1236 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1237 the smallest depth in toc.
1239 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1240 layouts that should not appear in a table of contents.
1242 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1244 * cursor.h (undispatched, noUpdate): add comments from Andr�
1245 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1249 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1251 2005-05-07 André Pönitz <poenitz@gmx.net>
1253 * cursor.[Ch] (leaveInset): new function
1255 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1257 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1259 2005-05-04 Angus Leeming <leeming@lyx.org>
1261 * lyxfunc.C (getStatus): disable the spell checker dialog if
1262 none of USE_[AIP]SPELL are defined.
1264 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1266 * tabular.C (setWidthOfCell): remove obsolete comment
1268 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1270 * paragraph.C (bibitem):
1271 * buffer_funcs.C (setCounter):
1272 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1274 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1276 * text3.C (getStatus): immediately return after setOnOff
1278 * rowpainter.C: fix drawing of appendix start
1280 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1282 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1283 SwitchBetweenClasses and remove the unused return value.
1284 Handle character styles, too
1286 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1288 * factory.C (createInset): handle undefined character styles
1290 2005-05-02 Angus Leeming <leeming@lyx.org>
1292 * buffer.C: protect the #include of utime.h with a preprocessor
1295 2005-05-02 Angus Leeming <leeming@lyx.org>
1297 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1298 function so that auto-saving works, albeit in a blocking manner.
1300 * Makefile.am: make compilation of the client sub directory, of
1301 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1302 on conditionals set at configure time.
1304 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1305 it can be compiled in its own right but has no-op functionality.
1307 * aspell.C, pspell.C: remove preprocessor guards. The files should
1308 be compiled only if the necessary functionality exists.
1310 * lyxserver.C, lyxsocket.C: disable on Windows.
1312 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1314 * text.C (leftMargin): Fix the parindent use bug (1764)
1317 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1319 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1322 2005-04-25 Angus Leeming <leeming@lyx.org>
1330 include <config.h> in .C files, not .h ones.
1332 protect headers inside preprocessor guards.
1334 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1336 * FuncStatus.h (StatusCodes): document
1338 2005-04-21 André Pönitz <poenitz@gmx.net>
1340 * FuncStatus.h (enabled, onoff): document
1342 2005-04-19 Angus Leeming <leeming@lyx.org>
1344 * BufferView_pimpl.C (cursorToggle): no longer test whether
1345 any child processes have been reaped before calling
1346 handleCompletedProcesses().
1348 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1350 * text3.C (dispatch): fix, finally fix, the language problem in
1351 new lyxtexts, without disabling on-the-fly font changes (Helge's
1354 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1356 * text3.C (dispatch): set cursor on double/triple click events
1359 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1361 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1362 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1364 * rowpainter.C (paintFirst): simplify the code a little bit. In
1365 particular, remove the test for secnumdepth.
1366 * text.C (setHeightOfRow): only allocate space for chapter number
1367 when updateCounters provided an actual label, instead of looking
1368 at secnumdepth directly.
1370 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1372 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1373 paragraphs when secnumdepth is large enough or, for environments,
1374 when they are not the first in a sequence.
1376 2005-04-17 Angus Leeming <leeming@lyx.org>
1378 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1379 containing space and '~' characters with a call to latex_path().
1381 2005-04-17 Angus Leeming <leeming@lyx.org>
1383 * converter.C (convert): protect all args of convertDefault.sh
1386 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1388 * text3.C (dispatch): change the layout to "Caption" after inserting
1391 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1393 * text3.C (dispatch): fix language problem in newly created
1394 textinsets (and main text) in non-english docs
1396 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1398 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1399 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1400 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1402 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1406 * text2.C (getFont):
1407 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1410 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1412 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1413 output of \item arguments without trailing text.
1415 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1417 * FontIterator.C (operator*): avoid a copy of the font.
1419 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1421 * rowpainter.C (getFont): fix language bug from previous fix
1423 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1425 * rowpainter.C (RowPainter, getFont): fix font inside inset
1428 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1430 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1431 preventing inserted font, deco, delim insets jumping to start of
1434 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1436 * lyxfunc.C (dispatch): translate message before sending it to the
1439 2005-03-29 Angus Leeming <leeming@lyx.org>
1441 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1442 to LyX on the command line.
1444 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1446 * vc-backend.C: use QuoteName to protect file names wherever
1449 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1452 * BranchList.h: fix bugs 1844,1845: document settings don't
1455 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1457 * lyxrc.C (setDefaults, read, output, getDescription): add support
1458 for tex_allows_spaces.
1460 * exporter.C (Export): allows files in directory containing spaces
1461 if tex_allows_spaces is true.
1463 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1464 output it in double quotes.
1466 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1468 * rowpainter.C: use default text height for drawing change tracker
1471 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1473 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1475 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1477 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1478 directory is missing.
1480 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1482 * text2.C: fixed the fix, extended to other case.
1484 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1486 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1488 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1490 * text2.C (cursorUp): get rid of a crash
1491 * text.C (x2pos): add an assert
1493 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1495 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1499 * dociterator.C: include <boost/current_function.hpp>, which is
1500 needed when assertions are disabled.
1502 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1504 * text2.C: fix for stuck cursor when traversing two
1505 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1507 2005-02-25 Andreas Vox <avox@arcor.de>
1509 * output_docbook.C (makeParagraph): suppress trailing newline
1510 after a run of paragraphs
1512 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1514 * paragraph.C: fix for confused change tracker when pasting
1515 text that begins with a lineseparator. [bug 1827]
1516 (setChange(0, Change::INSERTED);)
1518 * paragraph_funcs.C: fix for lost changes on triple-paste
1519 in change tracking mode [bug 1827] (par.setChange()).
1521 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1523 * text2.C (updateCounters, setCounter, expandLabel): move to
1526 * buffer_funcs.C (updateCounters): turn into a free standing
1527 function and add a buffer parameter. Remove dead code for tracking
1529 (setCounter): change into a free-standing function which gets a
1530 dociterator as argument. Use this iterator to fix captions in a
1531 simple way. When no float is found above the caption, use the
1532 labelstring of the caption layout as default.
1534 * text.C (breakParagraph, backspace):
1535 * text2.C (init, setLayout, changeDepth):
1536 * text3.C (dispatch):
1537 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1540 * dociterator.C (forwardPar): make it much faster by calling
1541 forwardPos() only when really necessary.
1543 * output_docbook.C (makeCommand): adapt to expandLabel move.
1545 * cursor.C: remove unused variable
1547 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1549 * paragraph_funcs.C: fix crash when pasting insets in change
1550 tracking mode [bug 1277] (honour change type in moveItem).
1552 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1554 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1556 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1558 * BufferView.C (setCursor): change to use a DocIterator.
1559 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1560 (putSelectionAt): adapt to BufferView::setCursor change.
1562 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1563 moved here from LyXText and rewritten to use proper cursor
1564 methods. Fixes bug 1787, 616 and 835.
1566 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1567 when inside an inset (part of bug 781).
1568 (dispatch): adapt to change of BufferView::setCursor.
1569 (getStatus, dispatch): handle LFUN_GOTOERROR,
1570 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1572 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1573 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1574 * text3.C (gotoNextInset, gotoInset): removed.
1576 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1578 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1580 2005-02-15 Angus Leeming <leeming@lyx.org>
1582 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1583 can be used meaningfully in a comparison.
1585 2005-02-13 André Pönitz <poenitz@gmx.net>
1587 * bufferview_funcs.C (coordOffset): improve cursor drawing
1589 2005-02-13 André Pönitz <poenitz@gmx.net>
1591 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1592 * Cursor.C (dispatch): use fixIfBroken
1593 * lyxfunc.C (getStatus): use fixIfBroken
1595 2005-02-15 Angus Leeming <leeming@lyx.org>
1597 * lyx_main.C (error_handler):
1599 * lyxrc.C (setDefaults):
1601 #include "environment.h".
1603 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1605 2005-02-15 Angus Leeming <leeming@lyx.org>
1607 * lyxserver.C (startPipe): squash MSVC warning "local variable
1608 'fd' used without having been initialized".
1610 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1612 * BufferView_pimpl.C: revert accidental commit.
1614 2005-02-14 André Pönitz <poenitz@gmx.net>
1616 * dociterator.[Ch]: new member forwardPosNoDescent(),
1617 which doesn't enter nested insets.
1618 * text2.C (setFont): use forwardPosNoDescent() instead
1619 of ForwardPos() (fixes crash on font change).
1621 2005-02-13 Angus Leeming <leeming@lyx.org>
1623 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1624 only if lyxrc.path_prefix is not empty.
1626 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1628 * bufferparams.C (readGraphicsDriver): prevent crash
1630 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1632 * text2.C (setCounter): check for inInset() == 0
1634 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1636 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1637 but use update() to get correct screen display; use convert
1638 instead of istringstream.
1639 (getStatus): handle LFUN_GOTO_PARAGRAPH
1641 * lyxfunc.C (dispatch, getStatus): do not handle
1642 LFUN_GOTO_PARAGRAPH here.
1644 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1646 * text3.C (dispatch): size() -> depth()
1648 * text2.C: remove some debug output
1650 * paragraph.C: ws changes only
1652 * lyxfunc.C (getStatus): size() -> depth()
1654 * dociterator.h (clear, push_back, pop_back, internalData,
1655 operator[], resize, empty): new functions
1656 Make StableDocIterator and operator== be friends. Don't inherit
1657 from std::vector use a privat class variable slices_ instead.
1660 * dociterator.C: update because of not inheriting from std::vector
1661 anymore. Call explictly to slices_ instead. Use depth() instead of
1662 size() and top() instead of back()
1664 * cursor.C: chagne size() -> depth and back() -> top(). Also
1665 remove some direct operator[](i) calls in favour of foo[i]
1666 (getFont): remove some dead code
1668 * bufferview_funcs.C (coordOffset): size() -> depth()
1670 * buffer.C: ws changes only
1672 * CutAndPaste.C (eraseSelection): back() -> top()
1674 * BufferView_pimpl.C (selectionRequested): back() -> top()
1676 * BufferView.C (setCursor): size() -> depth()
1678 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1680 * text3.C (cursorPrevious): return true if depm changed something
1682 (dispatch): rename sl to oldTopSlice, remove moving use the new
1683 NoUpdate func attrib instead. Make sure that needsUpdate is set
1684 for function that have NoUpdate, but where depm might have changed
1687 * text2.C (cursorLeft): make us return true if depm changed
1689 (cursorRight): ditto
1690 (cursorUpParagraph): ditto
1691 (curosrDownParagraph): ditto
1692 (cursorUp, cursorDown): ditto, make sure to read comments in code
1693 (deleteEmptyParagraphMechanism): remove an assert, also return
1694 true if just a single char was deleted.
1696 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1697 cursor that we modify, to avoid modifying an active cursor before
1698 we call setCursor. This allows depm to run. Also return true if
1699 depm deleted something.
1701 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1702 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1703 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1704 something was changed in the buffer because of them (ie. depm run)
1706 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1707 debug messages. Make update by default be false. Make sure that
1708 the result of update is retained throught several calls down to
1711 * LyXAction.h: add a new func_attrib: NoUpdate
1713 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1714 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1715 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1717 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1719 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1721 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1722 bv_->owner(), bv_->buffer() by direct references to the private
1724 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1725 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1726 (fitCursor): center() is in BufferView::Pimpl.
1727 (getStatus, trackChanges, dispatch): no need for a temporary buf
1729 (fitCursor, workAreaDispatch): use workarea().workheight()
1731 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1733 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1735 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1737 * buffer.C: format up to 241.
1738 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1739 break if pasting into ERT
1740 * lyxfunc.C (getStatus): suppress mathpanel and
1741 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1743 2005-02-01 Angus Leeming <leeming@lyx.org>
1745 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1747 2005-02-01 Angus Leeming <leeming@lyx.org>
1749 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1750 calling fs::is_directory().
1752 2005-01-31 Angus Leeming <leeming@lyx.org>
1754 * lyx_main.C (priv_exec): specify explicitly the relative location
1755 of the top level build directory when run in-place.
1757 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1759 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1760 LyXText containing the cursor, not the top-level one.
1762 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1764 (insertStringAsLines): rename par to pit; use temporary variable
1765 par to hold a Paragraph; do not store par.layout() in a variable,
1766 since the pointer may die when breaking paragraphs; pass pars to
1767 breakParagraph() instead of Buffer::paragraphs().
1769 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1771 * lyxlex_pimpl.h: #include <fstream>.
1773 * BufferView.[Ch] (getLyXText): add a const version.
1775 * BufferView_pimpl.C: add debug aids.
1780 * paragraph_funcs.h: add commentary explaining what the class does.
1783 * coordcache.[Ch]: add lots of commentary.
1784 (startUpdating, doneUpdating): debug aids.
1785 (arrays, insets, parPos, getParPos): accessors to private data.
1787 * cursor_slice.[Ch] (text): add a const version.
1788 * dociterator.[Ch] (text, innerText): add const versions.
1790 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1793 * paragraph.C (getRow, pos2ros): add asserts.
1795 * paragraph.h: add commentary. Lots of.
1797 * paragraph.[Ch] (metrucs, draw): removed.
1800 * rowpainter.[Ch]: const-correct changes.
1802 * text.C: various obvious clean-ups. Removal of ancient cruft.
1805 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * vc-backend.C (find_file): rewrite to use boost.filesystem
1810 * main.C (main): set default name check for boost.filesystem to
1813 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1816 (actOnUpdatedPrefs): ditto
1818 * lyx_main.C (init): rewrite to use boost.filesystem
1819 (queryUserLyXDir): ditto
1821 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1822 (getContentsOfAsciiFile): ditto
1824 * lastfiles.C (readFile): rewrite to use boost.filesystem
1826 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1828 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1829 (loadLyXFile): ditto
1831 * buffer.C (Buffer): adjust for destroydir
1832 (getLogName): rewrite to use boost.filesystem
1833 (setFileName): ditto
1834 (save): use fs::copy_file (from fs_extras)
1836 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1838 * LaTeX.C (run): rewrite to use boost.filesystem
1839 (scanAuxFiles): ditto
1840 (handleFoundFile): ditto
1842 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1844 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1846 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1848 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1850 * lyxlayout.[Ch]: change some vars from float to double
1852 * buffer.C (readFile): make a local var const
1854 * Several files: use convert<> instead of atoi,strToXXX and friends
1856 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1858 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1859 holds the contents of packages.lst. New functions getAvailable
1860 and isAvailable to parse and check that list, resp.
1864 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1866 * bufferparams.[Ch]: new param output_changes.
1868 * Buffer.C: increase file format to 240.
1869 Use output_changes and isVailable.
1873 * paragraph_pimpl.C: Use output_changes and isVailable.
1875 2005-01-23 Angus Leeming <leeming@lyx.org>
1877 * output_latex.C: #include "insetbibitem.h", rather than
1878 forward declare function bibitemWidest.
1880 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1882 * lyx_main.C (init): make it compile on the Mac.
1884 2005-01-20 Angus Leeming <leeming@lyx.org>
1886 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1887 (setLyXMisc): (char string literal) != (char string literal) is
1888 performing a comparison on the addresses. Convert one operand
1889 explicitly to string to guarantee expected behaviour.
1892 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1895 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1897 * output_plaintext.C: remove unneeded #include gzstream.h.
1899 2005-01-20 Angus Leeming <leeming@lyx.org>
1901 * SpellBase.h: rename some of the elements of the Result enum.
1908 * pspell.C (check): ditto
1910 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1912 * buffer.C: add #include <fstream>.
1914 * lyx_main.C (init): Compile fix.
1916 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1918 2005-01-20 Angus Leeming <leeming@lyx.org>
1920 * mover.h: change commentary to reflect the changed meaning of
1921 the $$s placeholder.
1923 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1925 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1927 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1929 2005-01-20 Angus Leeming <leeming@lyx.org>
1931 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1932 printing diagnostic data by not dereferecing an iterator past the
1935 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1937 * buffer.C (readHeader): use "&&" rather than "and".
1939 * lyxserver.h (inPipeName, outPipeName): make these const.
1941 2005-01-19 Angus Leeming <leeming@lyx.org>
1943 * lyx_main.C (error_handler, init): protect SIGHUP with
1944 #ifdef SIGHUP guards.
1946 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1948 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1950 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1952 * text.C (setHeightOfRow): add a margin at the top and bottom of
1953 the document (bug 1761)
1955 2005-01-17 Angus Leeming <leeming@lyx.org>
1957 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1958 with "python ". Workaround for a brain-dead Windows.
1960 2005-01-16 Angus Leeming <leeming@lyx.org>
1962 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1963 for MacOSX and Windows to use prependEnvPath.
1964 Strip out the hard-coded block to add elements to the PATH for
1965 MacOSX and replace it with a call to prependEnvPath using the
1966 contents of LyXRC::path_prefix.
1967 (queryUserLyXDir): strip out the code to run reconfigure, instead
1968 returning a boolean indicating the necessity to do so.
1969 (reconfigureUserLyXDir): contains the code to reconfigure the
1970 user support directory. Is now called after the various LyXRC data
1971 files have been read.
1973 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1975 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1977 * converter.[Ch] (convert): take a new parameter try_default. Use
1978 a default converter (imagemagick) if try_default is true.
1980 2005-01-13 Angus Leeming <leeming@lyx.org>
1982 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1983 os::cygwin_path_fix.
1984 (write): output LyXRC::cygwin_path_fix as necessary.
1986 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1989 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1991 2005-01-12 Angus Leeming <leeming@lyx.org>
1993 * lyx_main.C (init): set the PATH variable to include the
1994 directory containing the LyX binary when running on Mac or Windows.
1996 2005-01-12 Angus Leeming <leeming@lyx.org>
1998 * lyx_main.C (init): remove cruft that purports to set the locale
1999 dir. It doesn't and is not needed anyway.
2001 2005-01-10 Angus Leeming <leeming@lyx.org>
2003 * Makefile.am: remove the lyx_main.C special casing.
2005 * BufferView_pimpl.C:
2011 * messages.C: use support/package.h to provide the paths to the
2012 various directories used by LyX.
2014 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2016 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2017 layout if pasting into an empty paragraph)
2019 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * tex-accent.C: add <string>
2023 2005-01-06 José Matos <jamatos@lyx.org>
2025 * ParagraphParameters.C (write): put every parameter in its own line.
2026 * paragraph.C (write): reduce number of consecutive empty lines exported.
2027 * buffer.C (LYX_FORMAT): increase file format to 239.
2029 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2031 * everywhere: change support/tostr.h -> support/convert.h
2033 * tabular.C: make all write_attributes templates, tostr -> convert
2035 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2036 (emptyTag): and -> &&, and fix type for ret from getChar
2037 (getFirstWord): fix type for ret from getChar
2038 (onlyText): and -> &&
2039 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2042 * toc.C (goTo, action):
2043 * text3.C (dispatch):
2044 * text.C (currentState):
2045 * tex-accent.C (DoAccent):
2048 * lyxfunc.C (menuNew):
2049 * lyxfinc.C (replace):
2050 * counters.C (laberItem):
2051 * bufferview_funcs.C (font2string):
2052 * bufferparams.C (writeFile):
2053 * buffer.C (readFile):
2055 * MenuBackend.C: tostr -> convert
2057 * LaTeX.C (runMessage): fix format
2058 (scanAuxFiles): tostr -> convert
2060 * BufferView_pimpl.C (savePosition): fix format
2061 (restorePosition): ditto
2064 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2066 * Spacing.[Ch]: New method getValueAsString().
2070 * ParagraphParameters.C:
2073 * text3.C: store/read spacing value as string.
2075 * rowpainter.C: change float value (spacing_val) to double.
2077 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2078 broken custom document spacing).
2080 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2083 namespace, also more use of temp references and const
2085 * cursor.[Ch] (getStatus): move to lyxfunc.C
2087 * bufferparams.C: reformat slightly
2089 * bufferview_funcs.C (font2string): constify arg
2095 * buffer_funcs.C: (many funcs): constify arg on function
2096 definitions, also make more local vars const, also add ASSERTS on
2099 * buffer.C (LYX_FORMAT): put const in correct place
2100 (many funcs): constify arg on function definitions, also make
2101 more local vars const
2103 * aspell_local.h: remove "struct" from typdef setup
2105 * aspell.C (check): make word_ok const
2106 (nextMiss): simplify slightly
2109 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2111 * lyxrc.[Ch]: store all float values as strings.
2112 use int (not float) for lyxrc.dpi.
2114 2005-01-04 Angus Leeming <leeming@lyx.org>
2116 * lyx_cb.C (Reconfigure):
2117 * lyx_main.C (queryUserLyXDir):
2118 to run the <system_lyxdir>/configure correctly on Windows, prefix
2119 the path to the script with "sh " when generating the string that
2120 is passed to system().
2122 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2124 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2126 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2128 * lyxlength.C (asLatexString): get rid of setprecision
2130 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2132 * text2.C (setLayout): remove unused variable endpit.
2133 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2135 * paragraph.C (onlyText): remove unused variable style.
2137 * cursor.C (bruteFind): remove unused variables beg and end.
2139 * Makefile.am (dist_noinset_DATA): not needed anymore
2141 * cheaders/*: remove.
2143 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2145 * text3.C: fix LFUN_MATH_MODE.
2147 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * buffer_funcs.C (countWords): new function. Counts words between
2152 * BufferView_pimpl.C (getStatus, dispatch): handle
2155 * LyXAction.C (init):
2156 * lfuns.h: add LFUN_WORDS_COUNT.
2158 2004-12-19 Angus Leeming <leeming@lyx.org>
2160 * buffer.C (save): s/slashify_path/internal_path/.
2162 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2164 * lyxfind.C (findChange): do not search for end of pars, because
2165 the change tracker cannot handle this (fixes bug 1719).
2167 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2169 * paragraph.[Ch] (autoBreakRows): remove
2171 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2173 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2174 avoid using the paragraph one
2176 * text2.C (LyXText, insertStringAsLines): adjust
2178 2004-12-16 Angus Leeming <leeming@lyx.org>
2182 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2184 2004-12-14 Angus Leeming <leeming@lyx.org>
2186 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2188 * bufferlist.C (emergencyWrite):
2189 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2192 2004-12-14 Angus Leeming <leeming@lyx.org>
2194 * main.C: (main): no longer pass pointers to os::init.
2196 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2198 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2199 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2201 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2204 * text3.C: remove selection_possible global flag
2206 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2208 * text2.C (getSelectionSpan): remove
2209 (changeDepth, changeDepthAllowed): adjust
2211 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2213 * Makefile.am (BOOST_LIBS): use boost variables
2215 2004-12-03 José Matos <jamatos@lyx.org>
2217 * buffer.C: format up to 238.
2219 2004-12-03 José Matos <jamatos@lyx.org>
2221 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2223 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2225 * cursor.C (goUpDown): remove call to idxUpDown2
2227 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2229 * tabular.[Ch]: use size_t-like types for cell, row and column
2232 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2234 * lyxfunc.C (getStatus): do not lose previous information when
2235 calling BufferView::getStatus; do not set a default "Command
2236 disabled" message at the beginning, but just before returning.
2238 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2240 * cursor.h (getStatus): add better comment from src/cursor.C
2242 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2244 * text3.C (getStatus): return false when the lfun is not handled
2246 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2248 * broken_headers.h: remove
2250 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2252 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2254 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2255 offset_ref accessors
2257 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2258 top_y_, merge fitcursor with update
2259 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2261 (metrics): introduce
2262 (workAreaDispatch): adapt to new coord scheme
2263 (redoCurrentBuffer): remove
2265 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2267 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2270 * coordcache.[Ch]: add paragraph cache and helpers
2272 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2275 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2276 (targetX, setTargetX): introduce
2278 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2279 baseline -> ascent, as the rest of lyx
2281 * lyxtext.h: remove redoParagraphs, updateParPositions,
2282 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2283 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2284 have ascent/descent (ascent is ascent of first par)
2286 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2289 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2291 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2293 * pariterator.C: fix infinite loop introduced in par->pit renaming
2295 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2296 in insets and LyXText, draw two off-screen paragraphs using
2297 NullPainter, and adapt to new coord scheme
2301 * text3.C: adapt lfun handlers to the new coord scheme, which
2302 means: there's only guaranteed coord information for onscreen pars
2303 plus one above and one below. This implies that one can do search
2304 from y coordinates in the range [-1,workHeight]
2306 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2308 * rename a lot of InsetOld to InsetBase
2310 2004-11-25 Angus Leeming <leeming@lyx.org>
2312 * BufferView_pimpl.C:
2314 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2316 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2318 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2319 call BufferView::getStatus if LCursor::getStatus did nothing
2320 (setStatusMessage, getStatusMessage): removed.
2322 * FuncStatus.C (message): new methods. Used to provide an error
2323 message indicating why a command is disabled.
2324 (clear, |=, FuncStatus): update for message.
2326 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2328 * lyxfunc.C (dispatch): always call sendDispatchMessage
2330 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2333 * BufferView_pimpl.C:
2338 * cursor_slice.[Ch]:
2341 * paragraph_funcs.C:
2347 * undo.C: par->pit renaming
2349 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * tabular.C (cellstruct): use initialization, store a shared_ptr
2352 to insettext instead of the insettext directly, adjust to fit.
2353 (operator=): new function
2354 (swap): new function
2355 (rowstruct): use initialization
2356 (columnstruct): use initialization
2357 (ltType): use initialization
2360 * lyxlength.h (swap): new function
2362 * LColor.[Ch] (operator=): use the common semantics
2364 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2366 * lyxfind.C (findNextChange): update the bufferview after setting
2369 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2371 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2372 number of InsetOptArgs has already been inserted.
2374 * output_latex.C (latexOptArgInsets): new method. This outputs all
2375 the optarg insets, up to the limit defined in the layout file.
2376 (optArgInset): removed
2377 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2379 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2381 * paragraph.C (isLetter): remove special spellchecker-related
2382 code; return true also for digits
2383 (isWord, isKomma): remove
2385 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2386 * lyxfind.C (MatchString()): use isLetter instead of isWord
2388 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2390 * pariterator.h (operatir=): comment out un-implemented member
2393 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2396 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2398 * lyxfont.h: include LColor.h to satisfy concept checks.
2400 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2402 * pariterator.h: add typdefs for value_type, difference_type,
2403 pointer and reference to satisfy concept checks. Also add default
2404 constructor for same reason.
2406 * pariterator.C (operator++): add post-increment operator to
2407 satisfy concept checks.
2409 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2412 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2414 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2415 checks. Also rename base_type to BaseType to follow naming
2418 * FloatList.h: include Floating.h to satisfy concept checks.
2420 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2422 * lyxfunc.C (getStatus): when the origin of the request is menu or
2423 toolbar, and the LyXView does not have focus, do as if there was
2424 no buffer (bug 1720)
2426 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2427 FuncRequest to individual entries of LFUN_SEQUENCE
2429 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2431 * output_latex.C (TeXOnePar): override runparams.moving_arg
2432 according to the needprotect value of the current paragraph (bug
2435 * paragraph.C (simpleTeXOnePar): no need to override
2436 runparams.moving_args here
2438 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2440 * vspace.C: fix off-by-one-error, related to fix #1682
2442 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2444 * lengthcommon.C: a more general fix for bug 1682
2446 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2448 * text.C (backspace): fix crash
2450 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2452 * format.[Ch] (getFormatFromFile): new method
2453 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2455 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2457 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2459 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2461 * lyxfunc.C (dispatch): remove the verbose argument
2462 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2465 * kbmap.C (defkey): set the origin of func to KEYBOARD
2467 * MenuBackend.C (MenuItem):
2468 * ToolbarBackend.C (add): set the origin of func to UI
2470 * funcrequest.[Ch]: add origin member, which indicates which part
2471 of LyX requests an action
2473 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2475 * converter.C (move): don't lie in the error message
2476 * converter.h (isReachable, move): document
2478 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * buffer.C: remove unused using lyx::support::atoi
2481 * paragraph_funcs.C: ditto
2483 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * bufferlist.C (exists): use bind and equal_to instead of
2488 * lyxtextclasslist.C (NumberOfClass): ditto
2490 * cursor.C (insert): use for_each instead of explicit for loop
2492 * bufferlist.C (getFileNames): use std::transform and
2493 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2495 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2498 * buffer.C (changeLanguage): use for_each instead of explicit for
2500 (hasParWithID): implement using getParFromID
2502 * LaTeXFeatures.C: ws change only
2504 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2507 * BufferView_pimpl.C (trackChanges): use for_each instead of
2510 2004-11-04 André Pönitz <poenitz@gmx.net>
2513 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2515 * dociterator.C (asDocIterator): use hard assert again.
2517 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2519 * lyxlength.C (asLatexString): rewrite so that it does not use
2522 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2524 * text3.C (specialChar, dispatch): make sure cursor moves to the
2525 right after inserting an inset
2527 2004-11-02 José Matos <jamatos@lyx.org>
2529 * output_docbook.C (docbook):
2530 * paragraph.C (getID):
2531 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2532 garantee that the output is always legal.
2534 * tabular.C (docbook):
2535 * outputprams.[Ch]: remove mixed contents.
2537 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2539 * text2.C (setCounter): prevent endless loop
2541 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2543 * exporter.C (copyFile): use the mover instead of support::copy()
2544 * exporter.C (Export): pass format and latex name to copyFile()
2545 * exporter.h (addExternalFile): document
2546 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2548 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2550 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2552 2004-10-30 José Matos <jamatos@lyx.org>
2554 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2555 text and no inset or font change. This allows to use CDATA
2556 sections just for the whole paragraph.
2558 2004-10-30 José Matos <jamatos@lyx.org>
2560 * paragraph.C (getFirstWord): remove unused variable.
2562 2004-10-30 José Matos <jamatos@lyx.org>
2564 * paragraph.C (getFirstWord): the content should always be escaped
2566 (simpleDocBookOnePar):
2567 * output_docbook.C (makeEnvironment): replace reference to CDATA
2570 2004-10-30 José Matos <jamatos@lyx.org>
2572 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2574 2004-10-30 José Matos <jamatos@lyx.org>
2576 * output_docbook.C (makeParagraphs):
2577 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2578 standard paragraph has only a given type of content drop the wrapper.
2580 2004-10-29 José Matos <jamatos@lyx.org>
2582 * output_docbook.C (makeEnvironment):
2584 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2586 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2588 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2589 (cleanID): sanitize any id.
2591 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2593 * buffer.C, lyxlex_pimpl.C:
2594 * lyxlex_pimpl.C (setFile):
2595 s/getExtFromContents/getFormatFromContents/
2597 2004-10-28 José Matos <jamatos@lyx.org>
2599 * output_docbook.C (makeEnvironment): move id to broadest possible
2602 * sgml.C (openTag): apply substitution of <> for all attributes.
2604 2004-10-28 José Matos <jamatos@lyx.org>
2606 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2607 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2608 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2610 * sgml.[Ch]: new version for open and closeTag for paragraph and
2611 for strings. Now they handle the ids of paragraphs.
2613 2004-10-26 Angus Leeming <leeming@lyx.org>
2615 * Makefile.am: add mover.[Ch].
2617 * converter.C (convert, move): use the new Movers to move external
2618 files to the temp directory.
2620 * lyx_main.C (init): ensure that the global system_movers data
2623 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2626 * mover.[Ch]: new files, defining a Mover as a utility to move an
2627 external file between directories and, if necessary, manipulate this
2628 file using a helper script.
2630 2004-10-25 José Matos <jamatos@lyx.org>
2632 * output_docbook.C (makeCommand): merge two if's that tested the
2635 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2637 * sgml.C (escapeString): fix warning in a better way
2639 2004-10-25 José Matos <jamatos@lyx.org>
2641 * sgml.C (escapeString): import the require boosts header file for
2642 tie, and avoid a signed unsigned comparison.
2644 2004-10-25 José Matos <jamatos@lyx.org>
2646 * sgml.h: add #include <string>
2648 2004-10-25 José Matos <jamatos@lyx.org>
2650 * sgml.[Ch] (escapeString): new function to escape all the string.
2652 2004-10-24 José Matos <jamatos@lyx.org>
2654 * paragraph.[Ch] (getFirstWord): new function to get the first
2655 word. Useful for description.
2656 (simpleDocBookOnePar): remove depth argument, add another that
2657 says where to start the paragraph.
2659 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2660 use the new functions to fix cleanly the support for descriptions.
2662 2004-10-24 José Matos <jamatos@lyx.org>
2664 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2665 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2666 * output_linuxdoc.C (linuxdocParagraphs):
2667 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2668 add buffer as argument.
2670 2004-10-24 José Matos <jamatos@lyx.org>
2672 * output_docbook.C (makeEnvironment, searchEnvironment): place
2673 CDATA inside paragraphs and fix scope for listitems.
2675 2004-10-24 José Matos <jamatos@lyx.org>
2677 * output_docbook.C: remove using statement for stack.
2679 2004-10-23 José Matos <jamatos@lyx.org>
2681 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2682 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2683 docbook. The new scheme is recursive and makes use of iterators, the
2684 same as latex export works.
2685 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2686 directly with the paragraph contents. This code was moved up to
2687 output_docbook.C (docbookParagraphs).
2688 * sgml.C (openTag, closeTag): removed unneeded newlines.
2689 (closeEnvTags) removed.
2691 2004-10-23 André Pönitz <poenitz@gmx.net>
2693 * undo.C (textUndoOrRedo):
2694 * dociterator.C (asDocIterator): work around crash
2696 * cursor.C (getStatus): replace ASSERT by more verbose error message
2697 and manual correction of the problem. Should increase stability
2698 while providing more sensible information.
2700 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2702 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2704 * bufferlist.C (previous, next): new methods
2707 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2709 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2711 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2712 entities to preamble.
2714 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2716 * messages.C (Pimpl): strip off translation context information
2718 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2720 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2721 the cursor is correct (bug 1694)
2723 2004-10-13 José Matos <jamatos@lyx.org>
2725 * output_docbook.C (docbookParagraphs): fix closing tags in the
2726 end of the document.
2728 2004-10-09 José Matos <jamatos@lyx.org>
2730 * buffer.C: format up to 237.
2731 * bufferparams.C (write): use tostr to convert booleans to strings.
2733 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2735 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2737 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2739 * LaTeX.C: implement use of babel language in xindy.
2741 2004-10-05 José Matos <jamatos@lyx.org>
2743 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2744 Add new translators to help reading and writing the lyx file.
2746 2004-10-05 José Matos <jamatos@lyx.org>
2748 * ParagraphParameters.C (read):
2749 * text.C (readParToken): replace nexToken by more appropriate lex
2752 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2754 * LaTeX.C (runMakeIndex):
2755 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2756 (usually 'makeindex') configurable.
2758 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2759 with a variable rather than with a number.
2761 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2763 * output_latex.C (TeXOnePar): make sure font setting is the first
2764 thing that gets output (and the last at the end). Should fix bug
2767 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2769 * pch.h: use proper signal include
2771 * LaTeX.h: Use preferred calling of Boost.Signal
2774 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * pch.h: dont include <boost/function/function0.hpp>
2778 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2780 * paragraph_pimpl.h: remove usage of ShareContainer
2782 * paragraph_pimpl.C: remove initialization of ShareContainer.
2784 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2788 * BufferView.C (putSelectionAt): change the semantics when
2789 backwards == true: now, this just swaps cursor and anchor wrt the
2792 * BufferView.h (putSelectionAt): add some documentation
2794 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2795 make sure backwardChar is done at least once (to avoid getting
2797 (findNextChange): use putSelectionAt in the forward direction
2798 (operator()): use Paragraph::isWord
2800 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2802 * Spacing.C (set): c_str fix
2804 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2806 * lyx_cb.C (Reconfigure): quote the name of configure script in
2807 case it contains spaces
2809 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2813 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2814 (BOOST_LIBS): use top_buildir when looking for the file
2816 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * pch.h: do not use include boost/format.hpp, multiple symbols
2819 will result (gcc bug)
2822 2004-08-23 José Matos <jamatos@lyx.org>
2824 * bufferparams.C (readToken): fix reading of the author field.
2826 2004-08-20 José Matos <jamatos@lyx.org>
2828 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2830 2004-08-20 José Matos <jamatos@lyx.org>
2832 * lyxlex.[Ch] (findToken): remove function.
2834 * ParagraphParameters.C (findToken):
2835 * bufferparams.C (findToken): replace call for previous function
2836 with local copy. This local function has one more argument, the
2837 read string argument.
2839 2004-08-16 José Matos <jamatos@lyx.org>
2841 * ParagraphParameters.C (write):
2842 * Spacing.C (writeFile):
2843 * bufferparams.C (writeLaTeX):
2844 * lyx_cb.C (Reconfigure):
2845 * paragraph.C (write):
2846 * tabular.C (write): remove unnecessary space at end of line.
2849 2004-08-16 José Matos <jamatos@lyx.org>
2851 * text.C (readParagraph): remove debug message.
2853 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2855 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2858 * output_plaintext.C (asciiParagraph): set depth correctly
2860 * outputparams.h: add member depth
2862 * paragraph_funcs.C (ownerPar): remove.
2864 * text2.C (setCounter): remove first_pit; comment out some
2865 non-working code that uses ownerPar
2867 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2870 2004-08-16 José Matos <jamatos@lyx.org>
2872 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2873 For the same level of importance use the same chanel to report problems.
2874 (read): add code to deal with \begin_body and \end_body.
2877 2004-08-15 José Matos <jamatos@lyx.org>
2879 * lyxlex.C (getString): fix comment, buffer::readBody is now
2880 buffer:readDocument.
2882 * tex-strings.C (string_papersize): Default -> default,
2883 Custom -> custom, for consistency with other options.
2885 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2889 * Makefile.am: support pch
2891 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2893 * text.C (readParToken): remove the static LyXFont variable and
2894 pass it as a parameter instead. This fixes a nasty bug where an
2895 inset will be inserted with a bad font in some situations
2896 (readParagraph): adapt
2898 * text2.C (setCounter): reduce number of calls to pars_[pit]
2900 * text.C (singleWidth): add an assert, fix a test
2902 * rowpainter.C (paintText): reduce number of calls to singleWidth
2904 * paragraph.C (isHfill):
2905 (isNewline): ws only
2907 2004-08-14 André Pönitz <poenitz@gmx.net>
2912 * lyxtext.h (several functions): use a Paragraph & argument
2915 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2917 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2919 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2921 * text.C (singleWidth): remove useless test
2923 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2925 * tabular.h: remove bogus comments
2927 * tabular.C (getDescentOfRow):
2928 (isPartOfMultiColumn): add assertions
2930 * lyxlength.C (inPixels): remove #warning
2932 2004-08-14 André Pönitz <poenitz@gmx.net>
2934 * paragraph.h: inline getChar()
2936 * BufferView.h: remove unused declarations
2938 2004-08-14 José Matos <jamatos@lyx.org>
2940 * Buffer.[Ch] (readDocument): new name for old readBody.
2941 * Buffer.C: new file format, new keywords: \begin_document,
2942 \begin_header, \begin_body, \end_body.
2944 * bufferparams.C (readToken): replace all calls to lex.nextToken
2945 by lex.next(). Do the same to eatLine except where really needed.
2947 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2948 line when writing to the lyx file.
2950 * output_plaintext.C (asciiParagraph): fix Bibliography style
2953 * text.C (read): fix end of file handling.
2955 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2957 * MenuBackend.C (Menu::operator[]): new method to access
2958 individual menu items
2959 (Menu::hasFunc): new method. search for an item that corresponds
2961 (MenuBackend::specialMenu): new method
2962 (MenuBackend::expand): if a special menu has been set, skip
2963 entries whose func() appears in this menu
2965 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2967 * text3.C: use Debug::DEBUG a bit more
2969 * text.C (leftMargin): try to simplify a tiny bit change var x to
2970 l_margin. Dont output the wide margins always.
2971 (rightMargin): no margin in inner texts
2973 * rowpainter.h (nestMargin): new func
2974 (changebarMargin): new func
2975 (rightMargin): new func
2977 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2981 * factory.C (createInset): modify setDrawFrame
2983 * cursor.C: use Debug::DEBUG a bit more
2985 2004-08-14 André Pönitz <poenitz@gmx.net>
2988 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2989 cache for all insets in (at least partially) visible (top-level)
2992 * BufferView_pimpl.C: reset external coord cache before every update.
2993 This means the coord cache only contains valid entries.
2995 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2998 * BufferView_pimpl.C (getInsetByCode): move function out of class
2999 and change in to a template in anon namespace. Also fix to do what
3002 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
3005 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3007 (breakParagraph): rename par to par_offset and use a local
3008 reference. Add code to keep the language over a rebreak.
3009 (breakParagraphConservative): rename par to par_offset, use a
3011 (mergeParagraph): ditto
3013 (isFirstInSequence): ditto
3014 (outerFont): rename pit to par_offset
3016 * paragraph.C: ws change
3017 * paragraph.h: ditto
3021 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3023 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3026 * paragraph.C (simpleTeXOnePar): when we have a \item with
3027 optional argument, enclose the argument with curly brackets (in
3028 case it contains a closing square bracket)
3032 * text3.C (checkInsetHit): constify
3034 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3036 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3037 documents (bug 1629)
3039 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3041 Fix toggling of collapsable insets with the mouse (bug 1558)
3043 * lyxfunc.C (dispatch): adapt to LCursor changes
3045 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3046 make sure that dispatch is not invoked twice
3048 * cursor.C (needsUpdate): new method
3049 (dispatch): return void
3050 (result): new method, to access the DispatchResult of the cursor.
3052 2004-08-13 José Matos <jamatos@lyx.org>
3054 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3056 2004-08-13 André Pönitz <poenitz@gmx.net>
3058 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3060 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3063 2004-08-12 André Pönitz <poenitz@gmx.net>
3065 * text3.C: take out the 'cursor right' form insertInset and only
3066 do it in those places when it is really needed. Fixes crash on
3069 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3071 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3073 * BufferView_pimpl.C (setBuffer): initialize the current font of
3074 the underlying LyXText
3076 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3078 * kbsequence.C (print): use UI native formatting for menu
3081 * text.C (insertChar): call Paragraph::insertChar with a font
3084 * paragraph.C (insertInset, insertChar): the version that takes a
3085 LyXFont argument is now a wrapper around the other one (the
3086 opposite used to be true).
3088 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3089 argument. Font setting is done in Paragraph now.
3091 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3093 * outputparams.h: add new members intitle and lang.
3095 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3096 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3098 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3100 * text3.C (dispatch): remove special handling of button 4 and 5,
3101 it is now taken care of in the frontend code.
3103 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3105 * Spacing.h: add <string> (STLPort compile fix)
3107 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3109 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3111 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3113 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3116 * converter.C (showMessage): inherit from unary_function, make
3119 * buffer.C (writeFile): initialize retval
3121 * InsetList.h: rename private variable list to list_
3122 * InsetList.[Ch]: adjust accordingly.
3124 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3126 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3127 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3128 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3129 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3130 * ParagraphParameters.C, LaTeXFeatures.C: replace
3131 "support/std_sstream.h" with <sstream>
3133 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3136 * lyxsocket.C (LyXServerSocket): ditto
3137 (serverCallback): ditto
3139 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3141 * LaTeXFeatures.C: check release date when loading jurabib.
3143 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3145 * lyxserver.C (startPipe): call register_socket_callback
3146 (endPipe): call unregister_socket_callback
3148 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3151 (LyXServerSocket): register the callback
3152 (LyXServerSocket): unregister the callback
3153 (fd): delete function
3154 (serverCallback): improve error checking and setup the callbacks.
3155 (dataCallback): change arg to fd.
3156 (writeln): new func (copied fro the client socket) used for server
3158 (LyXDataSocket): simplify
3159 (~LyXDataSocket): close ann unregiser callback
3160 (server): delete function
3161 (fd): delete function
3162 (readln): small changes, improve some std::string usage
3163 (writeln): constify a bit
3165 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3167 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3170 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3172 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3173 after it has been populated
3175 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3177 * text2.C (insertInset): move cursor when inserting inset.
3179 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3181 * kbmap.C (findbindings): a couple of new methods. returns a
3182 container of kb_sequence objects. The real work is done by the
3183 private recursive version
3184 (printbindings): uses findbindings to print out a bracketed list
3185 of bindings (renamed from findbinding).
3187 * MenuBackend.C (binding): use kb_keymap::findbindings
3189 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3191 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3193 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3195 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3197 * paragraph.C (isWord): return true on insets that report
3200 * text.C (getWord): use Paragraph::isWord to decide what is in a
3201 word and what is not; fix bug 1609.
3203 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3205 * tex-strings.C: add "none" to string_paperpackages[], fixes
3206 off-by-one-error in the paperpackage selection.
3209 * tex-strings.[Ch]: char const * string[n]
3210 -> char const * const string[]
3212 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3214 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3215 command, return early.
3217 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * debug.h: add DEBUG to enum and fix size of ANY.
3221 * debug.C: add support for Debug::DEBUG
3222 (showTags): cast errorTags.level to unsigned int
3224 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3225 (redoCurrentBuffer): ditto
3226 (updateScrollbar): ditto
3227 * cursor.C (dispatch): ditto
3228 * text2.C (setLayout): ditto
3230 (updateCounters): ditto
3232 (deleteEmptyParagraphMechanism): ditto
3234 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3236 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3237 annotations to cleanup the Makefile slightly.
3239 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3241 * lyxrc.C: do not set user_email to a default value but use empty
3242 instead. The entry used to be translated, which does not work
3243 since at the point where lyxrc is constructed there is no
3244 translation service available
3246 * messages.C (getLocaleDir): remove and use directly
3247 lyx_localedir() instead
3249 2004-06-02 Angus Leeming <leeming@lyx.org>
3251 Fix crash caused by dereferencing null pointer 'exportdata' in
3252 OutputParams by creating a new ExportData variable on the heap,
3253 storing it in a boost::shared_ptr.
3254 The crash was triggered when generating an Instant Preview
3255 of an external inset.
3257 * Makefile.am: add outputparams.C
3259 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3260 (c-tor): allocate memory to it.
3262 * exporter.C (c-tor): associated changes.
3264 2004-06-01 Angus Leeming <leeming@lyx.org>
3266 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3267 contains data before calling isInset(0). (Bug 1513.)
3269 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3271 * exporter.C (checkOverwrite): new method
3272 * exporter.C (copyFile): new method
3273 * exporter.C (Export): copy referenced files to the document dir
3274 * exporter.[Ch]: new class ExportedFile
3275 * exporter.[Ch]: new class ExportData. Contains currently the
3276 names of referenced external files
3277 * outputparams.h: add exportdata member.
3279 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3281 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3284 2004-05-19 Angus Leeming <leeming@lyx.org>
3289 * lyxfunc.C: small changes due to the introduction of namespace
3290 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3292 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3294 * text3.C (dispatch): supress update when only moving the cursor
3295 * cursor.C (selHandle): remove commented code
3297 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3299 * paragraph.C (startTeXParParams): correct column count
3300 * CutAndPaste.C (pasteSelection): remove const_cast
3301 * output_docbook.C (docbookParagraphs): remove const_cast
3302 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3303 const_cast and return ParagraphList::const_iterator
3304 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3305 * output_plaintext.C (writeFileAscii): remove const_cast
3306 * paragraph.[Ch] (simpleTeXOnePar): make const
3307 * paragraph_funcs.C (outerPar): use const iterators
3308 * paragraph_pimpl.C (validate): use const iterators
3309 * text.C (setHeightOfRow): use const iterators
3311 2004-05-17 Angus Leeming <leeming@lyx.org>
3314 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3316 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3317 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3318 if the citation engine has changed.
3320 2004-05-14 José Matos <jamatos@lyx.org>
3322 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3323 if the textclass does not provide it. Have it different for sgml and
3325 support the language of document.
3326 * output_docbook.C (docbookParagraphs):
3327 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3328 first anchor as the id of the paragraph, remove special case code.
3329 * sgml.C (escapeChar): escape only < & >.
3331 2004-05-14 Angus Leeming <leeming@lyx.org>
3333 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3334 dependencies on src/frontends/controllers/biblio.h. Define a
3335 CiteEngine_enum wrapper class to enable the enum to be forward
3338 2004-05-12 Angus Leeming <leeming@lyx.org>
3340 * buffer.C: up LYX_FORMAT to 234.
3341 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3342 use_numerical_citations with a single biblio::CiteEngine cite_engine
3344 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3346 2004-05-13 José Matos <jamatos@lyx.org>
3349 * converter.C (Converter, readFlags): add xml member.
3350 * outputparams.h: add XML flavor.
3351 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3353 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3355 * lyxfunc.C (dispatch):
3356 (getStatus): fix handling of LFUN_SEQUENCE
3358 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3360 * debug.C (showLevel): do not forget the end-of-line marker
3362 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3364 * kbmap.C (read): do not stop parsing a bind file when an error
3367 2004-04-29 Angus Leeming <leeming@lyx.org>
3372 * text2.C: wrap a bunch of #warning statements
3373 inside #ifdef WITH_WARNINGS blocks.
3375 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3377 * buffer.C: increment format to 233.
3379 2004-04-28 Angus Leeming <leeming@lyx.org>
3381 * BufferView_pimpl.C:
3384 s/updateToolbar()/updateToolbars()/
3385 s/Toolbar.h/Toolbars.h/
3387 2004-04-28 Angus Leeming <leeming@lyx.org>
3389 * BufferView.[Ch] (c-tor):
3390 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3391 No longer passes these data to the WorkArea generator.
3393 2004-04-28 Angus Leeming <leeming@lyx.org>
3395 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3397 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3399 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3401 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3403 * output_latex.C (TeXEnvironment): make sure that there is a line
3404 break before \end{foo} for the last paragraph of a document
3405 (TeXOnePar): if the paragraph is at the end of the document (or
3406 inset) and the language has to be reset, then make sure that the
3407 line break is _before_ the language command, not after (fixes bug
3408 1225); also make sure that the language reset command is the first
3409 thing after the paragraph (to ensure proper nesting of
3410 environments and thus fix bug 1404)
3412 2004-04-21 John Levon <levon@movementarian.org>
3415 * ToolbarBackend.C: make "name" be a programmatic name
3416 and a gui_name field.
3418 * lyxfunc.C: display the minibuffer on M-x
3420 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3422 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3425 2004-04-19 Angus Leeming <leeming@lyx.org>
3427 * BufferView_pimpl.C (setBuffer): changed preview interface.
3429 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3432 2004-04-19 John Levon <levon@movementarian.org>
3434 * BufferView_pimpl.C:
3435 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3437 2004-04-05 Angus Leeming <leeming@lyx.org>
3439 * text.C (redoParagraphs): add call to updateCounters(), thereby
3440 fixing the missing "Figure #:" label from the caption of a
3443 2004-04-13 Angus Leeming <leeming@lyx.org>
3445 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3446 cursor is clicked out of an inset.
3448 2004-04-13 Angus Leeming <leeming@lyx.org>
3450 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3451 than an InsetOld one.
3453 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3455 * format.[Ch]: add editor to Format
3456 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3457 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3459 2004-04-08 André Pönitz <poenitz@gmx.net>
3461 * metricsinfo.h: remove PainterInfo::width member
3463 2004-04-08 Angus Leeming <leeming@lyx.org>
3465 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3466 "\providecommand" rather than "\newcommand", thereby preventing
3467 clashes with packages that define "\boldsymbol" themselves.
3470 2004-04-08 Angus Leeming <leeming@lyx.org>
3472 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3473 thereby squashing an unnecessary warning.
3475 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3477 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3480 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3482 * BufferView.C (setCursor): call redoParagraph (some insets could
3484 (putSelectionAt): remove the 'double update' trick
3486 * BufferView_pimpl.C (fitCursor): call refreshPar
3487 (workAreaDispatch): remove an uneeded update call
3488 (dispatch): remove some manual update calls
3490 * cursor.[Ch]: remove cached_y_, updatePos
3491 (selHandle): set noUpdate when appropriate
3493 * lyxfunc.C (dispatch): track if we need an update
3495 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3497 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3498 (paintSelection): cheap optimization, do not call cursorX when not
3500 (paintPars): change signature
3503 (paintTextInset): adjust
3507 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3509 * lengthcommon.C: compilation fix: remove explicit array size from
3510 unit_name[] and friends
3512 2004-04-05 Angus Leeming <leeming@lyx.org>
3514 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3516 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3517 present only for the preferences dialog.
3518 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3520 2004-04-05 Angus Leeming <leeming@lyx.org>
3522 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3523 to enable the frontends to export changes to lyxrc correctly.
3525 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3527 2004-04-07 André Pönitz <poenitz@gmx.net>
3529 * cursor.[Ch] (selClear, adjust): remove math
3531 * cursor_slice.C: more agressive assert
3534 * BufferView_pimpl.C: rework mouse event dispatch
3541 2004-04-05 André Pönitz <poenitz@gmx.net>
3543 * cursor.[Ch] (valign, halign...): remove unneeded functions
3545 2004-04-05 Angus Leeming <leeming@lyx.org>
3547 * lyxlength.[Ch] (unit_name et al.): const-correct.
3549 2004-04-05 Angus Leeming <leeming@lyx.org>
3551 * BufferView_pimpl.C:
3560 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3562 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3564 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3566 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3568 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3569 * BufferView_pimpl.[Ch] (getStatus)
3570 * BufferView.[Ch] (getStatus): add
3571 * lyxfunc.C (getStatus): move lfuns handled in
3572 BufferView::dispatch to te function above
3573 * Cursor.C (setSelection): set selection() = true
3575 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3577 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3579 2004-03-31 Angus Leeming <leeming@lyx.org>
3581 * lyxfunc.C (dispatch): Fall through to the generic
3582 Dialogs::show("preamble").
3584 2004-03-31 Angus Leeming <leeming@lyx.org>
3586 * lyxfunc.C (dispatch): Fall through to the generic
3587 Dialogs::show("spellchecker").
3589 2004-03-31 Angus Leeming <leeming@lyx.org>
3591 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3594 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3599 * insetiterator.[Ch]:
3604 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3606 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3608 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3609 insets where we are putting the cursor.
3611 2004-03-31 Angus Leeming <leeming@lyx.org>
3614 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3616 * lyxrc.[Ch] (read, write): overloaded member functions taking
3617 a std::[io]stream arguments.
3619 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3621 2004-03-31 Angus Leeming <leeming@lyx.org>
3623 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3624 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3626 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3627 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3629 2004-03-31 Angus Leeming <leeming@lyx.org>
3631 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3632 the LFUN_ALL_INSETS_TOGGLE code.
3634 2004-03-30 Angus Leeming <leeming@lyx.org>
3636 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3637 has died. Fall through to the generic Dialogs::show("document").
3639 2004-03-30 Angus Leeming <leeming@lyx.org>
3642 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3643 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3645 * lyxfunc.C (getStatus, dispatch): define the actions for these
3646 lfuns. Little more than a cut and pste job from ControlDocument.C
3648 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3650 2004-03-30 Angus Leeming <leeming@lyx.org>
3653 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3654 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3656 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3657 open/closed state of ollapsable insets. Usage:
3659 all-inset-toggle <state> <name>, where
3660 <state> == "open" || "closed" || "toggle" and
3661 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3663 * lyxtext.h, text2.C (toggleInset): removed.
3665 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3666 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3667 now passes LFUN_INSET_TOGGLE to the found inset.
3669 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3670 is now invoked as "all-insets-toggle toggle branch".
3672 2004-03-30 Angus Leeming <leeming@lyx.org>
3676 * pariterator.[Ch]: added/corrected header blurb.
3678 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3680 * dociterator.[Ch]: add an inset_ member
3681 (backwardPos): implemented
3682 (backwardPos, forwardPos): use inset_ when the stack is empty.
3683 (doc_iterator_begin, doc_iterator_end): implemented
3684 * pariterator.[Ch]: adjust, add begin, end
3685 * insetiterator.[Ch]: adjust, add begin, end
3689 * BufferView_pimpl.C:
3690 * CutAndPaste.C: adjust
3692 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3694 * buffer.C: increment file format to 232.
3695 * LaTeXFeatures.C: add bibtopic package.
3696 * bufferparams.[Ch]: param \use_bibtopic.
3698 * lyxrc.[Ch]: add lyxrc bibtex_command
3699 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3701 * buffer.C: increment file format to 231.
3703 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3705 * dociterator.C: implement forwardPar
3706 * iterators.[Ch]: remove, replaced by
3707 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3709 * BufferView_pimpl.C:
3712 * bufferview_funcs.C:
3718 * Makefile.am: adjust
3720 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3722 * CutAndPaste.C (pasteSelection): fix 2 crashes
3723 (eraseSelection): fix a crash
3724 * paragraph_funcs.C: remove a warning
3726 2004-03-28 Angus Leeming <leeming@lyx.org>
3729 * LyXAction.C (init): new LFUN_PRINT.
3731 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3733 2004-03-27 Angus Leeming <leeming@lyx.org>
3736 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3738 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3740 2004-03-27 Angus Leeming <leeming@lyx.org>
3742 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3743 insetlist always contains non-null pointers to insets.
3745 2004-03-26 Angus Leeming <leeming@lyx.org>
3747 * src/BufferView_pimpl.C:
3748 * src/CutAndPaste.C:
3751 * src/output_plaintext.C:
3752 * src/outputparams.h:
3753 * src/paragraph_funcs.C:
3757 * src/frontends/controllers/ControlErrorList.C:
3758 * src/frontends/gtk/FileDialogPrivate.C:
3759 * src/frontends/gtk/GPainter.C:
3760 * src/frontends/gtk/GToolbar.C:
3761 * src/frontends/qt2/QRef.C:
3762 * src/mathed/math_scriptinset.C: squash compiler warnings.
3764 2004-03-26 Angus Leeming <leeming@lyx.org>
3766 * ispell.C (LaunchIspell::start):
3767 * lyx_cb.C (AutoSaveBuffer::start):
3768 invoke run(DontWait) rather than runNonBlocking().
3770 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3772 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3774 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3776 * kbsequence.C (print): adjust
3778 * kbmap.C (printKeySym): rename and change signature
3779 (printKey): use LyXKeySym::print()
3781 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3783 * undo.C: add using std::advance to compile for stlport
3785 2004-03-24 Angus Leeming <leeming@lyx.org>
3787 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3788 it leads to a crash when no buffer is present.
3790 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3791 Martin Vermeer <martin.vermeer@hut.fi>
3793 * lyxfunc.C (dispatch):
3794 * bufferparams.C (readToken): use the new LColor::setColor
3796 * LColor.[Ch] (setColor): new version that takes two strings as
3797 argument and creates a new color entry if necessary
3799 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3801 * buffer.C (makeLaTeXFile): if the main latex file that is
3802 processed is usually a subdocument of some master, then pretend
3803 for a while that it is actually the master
3805 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3807 * buffer.C (getLabelList):
3808 (getBibkeyList): use getMasterBuffer()
3809 (getMasterBuffer): new method. Returns the main document in the
3810 case where one is using included documents.
3812 2004-03-25 André Pönitz <poenitz@gmx.net>
3816 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3818 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3820 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3821 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3823 * ParameterStruct.h: merge with ParagraphParameters
3825 * lyxtext.h: remove LyXText::parOffset() and getPar()
3827 * text3.C: Remove all 'manual' update calls. We do now one per user
3828 interaction which is completely sufficient.
3832 * BufferView_pimpl.C:
3833 * FontIterator.[Ch]:
3835 * ParagraphParameters.[Ch]:
3840 * cursor_slice.[Ch]:
3847 * output_docbook.[Ch]:
3848 * output_latex.[Ch]:
3849 * output_linuxdoc.[Ch]:
3850 * output_plaintext.[Ch]:
3852 * paragraph_funcs.[Ch]:
3853 * paragraph_pimpl.[Ch]:
3861 * frontends/controllers/ControlDocument.C:
3862 * frontends/controllers/ControlErrorList.C:
3863 * frontends/controllers/ControlSpellchecker.C:
3866 * insets/insetbase.h:
3867 * insets/insetbibitem.C:
3868 * insets/insetbox.C:
3869 * insets/insetbranch.C:
3870 * insets/insetcaption.C:
3871 * insets/insetcharstyle.C:
3872 * insets/insetcharstyle.h:
3873 * insets/insetcollapsable.C:
3874 * insets/insetcollapsable.h:
3875 * insets/insetert.C:
3876 * insets/insetfloat.C:
3877 * insets/insetfoot.C:
3878 * insets/insetmarginal.C:
3879 * insets/insetnote.C:
3880 * insets/insetoptarg.C:
3881 * insets/insettabular.C:
3882 * insets/insettext.C:
3883 * insets/insettext.h:
3884 * insets/insetwrap.C:
3885 * mathed/math_mboxinset.C:
3886 * mathed/math_nestinset.C:
3887 * mathed/math_scriptinset.C:
3888 * mathed/math_scriptinset.h:
3891 2004-03-24 Angus Leeming <leeming@lyx.org>
3893 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3894 deal with any child processes that have finished but are waiting to
3895 communicate this fact to the rest of LyX.
3897 2004-03-24 Angus Leeming <leeming@lyx.org>
3899 64-bit compile fixes.
3901 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3902 (c-tor): pass lyx::pos_types rather than ints.
3904 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3907 * text.C (Delete): compile fix.
3908 (getPar): ensure that function declaration is the same as that in
3911 2004-03-23 Angus Leeming <leeming@lyx.org>
3913 * ispell.C (LaunchIspell):
3914 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3915 a boost::shred_ptr rather than a std::auto_ptr.
3917 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3919 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3920 handle LFUN_FILE_INSERT_*
3922 * lyxrc.C (setDefaults, getDescription, output, read):
3923 * lyxrc.h: remove ps_command
3925 2004-03-22 Angus Leeming <leeming@lyx.org>
3927 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3928 Ensure that error_handler is processed once only and that all data
3929 is saved before attempting to output any warning messages.
3931 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3933 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3935 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3937 2004-03-19 André Pönitz <poenitz@gmx.net>
3939 * cursor.[Ch] (reset): take main text inset as argument
3941 * BufferView: adjust
3942 * BufferView_pimpl.C: adjust
3944 * paragraph.[Ch]: fix completely broken operator=()
3946 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3948 * LColor.C (getFromLyXName): make sure that the color name is used
3951 2004-03-17 Angus Leeming <leeming@lyx.org>
3954 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3956 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3957 dialog and to kill a forked process.
3959 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3961 * text2.C (setCursorFromCoordinates): fix font problem
3963 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3965 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3966 bogus "rebuild cursor" code
3968 2004-03-11 André Pönitz <poenitz@gmx.net>
3970 * buffer.[Ch]: use InsetText instead of LyXText as container for
3973 * dociterator.[Ch]: drop the BufferView * member which is not needed
3974 anymore after the change to buffer.C
3976 * paragraph_funcs.C:
3980 * BufferView_pimpl.[Ch]:
3982 * cursor_slice.[Ch]: adjust
3984 * text3.C: fix bug in mathDispatch
3986 2004-03-08 André Pönitz <poenitz@gmx.net>
3988 * undo.[Ch]: use 'StableDocumentIterator' as base for
3991 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3994 * bufferparams.[Ch]: add jurabib support and param.
3996 * LaTeX.C: add FIXME/comment.
3998 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4000 * buffer.C: increment file format to 230.
4002 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
4004 * cursor.C (dispatch): avoid infinite loops
4006 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4008 * rowpainter.C (paintSelection): fix x coordinates
4010 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4012 * text.C (rowBreakPoint): fix breaking before displayed insets
4014 2004-03-01 André Pönitz <poenitz@gmx.net>
4016 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4018 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4022 * BufferView_pimpl.C:
4030 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4036 * BufferView_pimpl.C: rename textwidth -> maxwidth,
4037 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4039 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4041 * Bidi.[Ch] (computeTables): const correctness
4042 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4043 fill_hfill, fill_label_hfill and x from Row
4044 * lyxtext.h: prepareToPrint returns a RowMetrics
4045 * rowPainter.C: adjust
4046 * text.C (prepareToPrint): use width, not textWidth. adjust
4047 (redoParagraphInternal, cursorX): adjust
4048 * text2.C (getColumnNearX): adjust
4049 (init): put a default value to the top LyXText::width
4051 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4053 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4055 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4057 * lyxtext.h: add FontIterator class
4059 * text.C (FontIterator, operator*, operator->, operator++): add
4060 (rowBreakPoint, setRowWidth): adjust (fixing a
4063 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4065 * BufferView_pimpl.C (workAreaDispatch): allow also
4066 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4068 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4070 * text.C (rowBreakPoint): fix a bug showing with very large insets
4072 2004-02-25 André Pönitz <poenitz@gmx.net>
4075 * cursor.[Ch]: move some mathed specific code to mathed
4077 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4079 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4080 use_tempdir in preferences
4081 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4083 * lyx_main.C: ensure that tempdir is valid
4084 * lyxlex.h: correct typo
4085 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4086 * paragraph.[Ch] (isMultiLingual): make const
4087 * cursor.[Ch] (openable): make const
4089 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4091 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4093 2004-02-20 André Pönitz <poenitz@gmx.net>
4095 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4097 * cursor.[Ch]: prepare for localized getStatus()
4103 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4105 2004-02-20 André Pönitz <poenitz@gmx.net>
4107 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4109 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4111 * text2.C (setCursorFromCoordinates): switch to absolute coords
4113 (cursorDown): adjust
4114 * text3.C (dispatch): adjust
4116 2004-02-16 André Pönitz <poenitz@gmx.net>
4118 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4121 * cursor_slice.[Ch]: remove unneeded acessor function
4123 * lyxtext.h: rename rtl() to isRTL()
4131 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4133 * rowpainter.C (paintSelection): coord fix
4135 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4137 * Spacing.C: compile fix
4139 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4141 * cursor.C (dispatch): restore current_ before returning
4143 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4145 * text2.C (cursorUp, cursorDown): fix coords
4148 2004-02-12 André Pönitz <poenitz@gmx.net>
4153 * text3.C: add LCursor & parameter to most cursor movement functions
4154 remove usage of LyXText::cursorRow() and cursorPar()
4156 * cursor.[Ch]: add textRow() needed members
4159 * BufferView_pimpl.C:
4162 * BufferView_pimpl.C: adjust
4164 2004-02-11 André Pönitz <poenitz@gmx.net>
4168 * BufferView_pimpl.C: shift undo/redo handling
4170 * cursor.[Ch]: fix mathed crash
4173 * lyxtext.h: move selectionAsText to LCursor
4181 * rowpainter.C: fix excessive drawing
4183 2004-02-06 André Pönitz <poenitz@gmx.net>
4186 * BufferView_pimpl.[Ch]:
4187 * text3.C: move some text specific LFUN handling
4189 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4191 * text3.C (checkInsetHit): adjust coords
4192 * text2.C (getColumnNearX): adjust coords
4193 (edit): adjust coords
4194 * text.C (getRowNearY): add two asserts
4196 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4199 * format.C: add using std::distance to compile on gcc 2.95/stlport
4201 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4203 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4205 2004-02-04 André Pönitz <poenitz@gmx.net>
4207 * BufferView.[Ch] (insertInset):
4208 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4213 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4215 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4216 on the default clause of the switch
4217 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4218 wasn't catched by LCursor::dispatch
4220 2004-02-03 André Pönitz <poenitz@gmx.net>
4223 * cursor.[Ch]: some additional asserts
4225 * undo.[Ch]: remove LyXText dependency in interface
4229 * lyxtext.h (firstPar, lastPar): remove dead functions
4234 * paragraph.[Ch]: adjust
4236 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4238 * lyxfind.C (find): fix argument order in call to ::find
4240 2004-02-02 André Pönitz <poenitz@gmx.net>
4242 * cursor.[Ch]: remove direct access to anchor
4244 * text.C: remove findText() hack
4246 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4248 * iterators.[Ch] (lockPath): remove in favour of...
4249 * BufferView.[Ch] (setCursor): this addition
4250 * BufferView.C (putSelectionAt): adjust
4251 * undo.C (performUndoOrRedo): adjust
4252 * lyxfunc.C (dispatch): adjust
4254 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4256 * iterators.C (lockPath): add a missing slice
4257 * undo.C (performUndoOrRedo): remove redundant positioning code
4259 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4261 * vc-backend.C (scanMaster): ";" -> ';'
4263 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4265 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4266 std::binary_function
4268 * lyxtextclass.C (compare_name): rename to...
4269 (LayoutNamesEqual): ...this
4271 * lyxlex_pimpl.C (compare_tags): inherit from
4272 std::binary_function, put back into anon namespace
4274 * lyxfind.C (MatchString): inherig from std::binary_function
4275 (findChange): use empty() istead of !size()
4277 * format.C (FormatNamesEqual): new functor
4284 * converter.C (compare_Converter): rename to...
4285 (ConverterEqual): ...this, and fixup a bit.
4286 (getConverter): use it, and make function const
4287 (getNumber): use it, and make function const
4291 * bufferlist.C: add using boost::bind
4293 * MenuBackend.C (MenuNamesEqual): new functor
4294 (hasMenu): use it, and make function const
4295 (hasSubmenu): use nested bind to get rid of compare_memfun.
4297 2004-01-30 André Pönitz <poenitz@gmx.net>
4299 * BufferView_pimpl.C:
4302 * cursor_slice.[Ch]:
4305 * paragraph_funcs.C:
4306 * paragraph_funcs.h:
4310 * text3.C: move some of the edit(x,y) handling to the insets
4311 some coordinate changes.
4313 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * text.C: add using statements for std::advance and std::distance
4317 * paragraph.C: add using statement for std::distance
4319 * lyxfind.C: add using statement for std::advance
4321 * cursor.C (region): remove std:: from swap
4322 (openable): use nucleus in stead of operator->
4324 * BufferView.C: add using statements for std::distance and std::swap
4326 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4328 * iterators.C: Remove the pimple, move the needed structures to
4329 the header file. Create accessor for the positions stack.
4330 (asPosIterator): remove function
4332 * PosIterator.C (PosIterator): move constructors to top of file
4333 (PosIterator): reimplement the constructor taking a ParIterator in
4335 (setFrom): new function
4336 (operator!=): inline it
4338 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4340 * lyxfind.C (replaceAll): use std::advance
4342 * iterators.h: inherit from std::iterator.
4344 * PosIterator.C (advance, distance): remove
4345 * PosIterator.h: interit from std::iterator.
4347 2004-01-26 André Pönitz <poenitz@gmx.net>
4350 * BufferView_pimpl.[Ch]:
4354 * bufferview_funcs.C:
4364 * output_linuxdoc.C:
4365 * output_plaintext.C:
4367 * paragraph_funcs.[Ch]:
4368 * paragraph_pimpl.[Ch]:
4374 * text3.C: more IU: dumps most of the rest of the mathcursor
4375 implementation into cursor.[Ch]; "globalize" a bit of it.
4377 2004-01-25 Angus Leeming <leeming@lyx.org>
4379 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4381 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4383 * LaTeXFeatures.h: add nice_ and nice() const
4384 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4386 2004-01-20 André Pönitz <poenitz@gmx.net>
4389 * BufferView_pimpl.C:
4391 * bufferview_funcs.C:
4393 * cursor_slice.[Ch]:
4404 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4405 LCursor and mathcursor parts to LCursor and InsetBase.
4407 2004-01-15 André Pönitz <poenitz@gmx.net>
4409 * cursor_slice.[Ch]: add a few covienience functions
4411 * funcrequest.[Ch]: remove BufferView * member
4413 * BufferView_pimpl.C:
4420 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4422 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4424 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4425 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4427 2004-01-13 André Pönitz <poenitz@gmx.net>
4430 * lyxtext.h: hide cursor and selection anchor behind accessor function
4433 * BufferView_pimpl.[Ch]:
4435 * bufferview_funcs.C:
4445 * cursor_slice.[Ch]: some integer type changes for inset unification
4447 * lyxcursor.[hC]: remove, it's CursorSlice now.
4450 * BufferView_pimpl.[Ch]:
4451 * bufferview_funcs.C:
4457 * textcursor.[Ch]: adjust
4459 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4461 * text2.C (undoSpan): add and use
4462 * text.C (breakParagraph): use undoSpan (fix bug 578)
4465 2004-01-08 Angus Leeming <leeming@lyx.org>
4467 * BufferView_pimpl.C (MenuInsertLyXFile):
4468 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4469 * lyxfunc.C (menuNew, open, doImport):
4470 FileFilterList change to the FileDialog open and save functions.
4472 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4474 * ShareContainer.h: make isEqual and isUnique adaptable
4476 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4478 2004-01-07 Angus Leeming <leeming@lyx.org>
4481 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4483 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4485 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4486 functions replacing find, replace and replaceAll.
4488 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4489 LFUN_WORDFIND(FORWARD|BACKWARD).
4491 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4493 * text.C (breakParagraph): remove an outdated #warning
4495 2004-01-07 André Pönitz <poenitz@gmx.net>
4497 * lyxfind.C: somewhat clearer logic
4499 * text.C: prevent crash in cursorX on unitialized row cache
4501 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4503 * lyxcursor.[Ch] (operator>): add
4504 * textcursor.C (selStart, selEnd): use std::min and std::max
4506 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * Chktex.C: include boost/format.hpp
4510 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4512 * InsetList.C: replace functor MathcIt with adaptable functor
4514 (insetIterator): modify accordingly
4516 * BranchList.h: move the BranchNamesEqual functor here from...
4517 * BranchList.C: ... to here
4519 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4521 (add): replace a finding loop with std::find_if.
4523 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4525 * output_docbook.C: moving LatexParam functionality into
4528 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4530 * buffer.C: increment format to 229.
4532 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4535 * lyx_sty.[Ch]: remove minipageindent_def
4541 * text3.C: remove LFUN_INSET_MINIPAGE
4543 2003-12-28 Angus Leeming <leeming@lyx.org>
4545 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4547 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4549 * text2.C (setParagraph): fix off-by-one crash
4551 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4553 * output_docbook.C: header stuff for AGU
4555 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4557 * text2.C (redoCursor): remove
4560 * BufferView_pimpl.C: remove calls to redoCursor and
4561 setCursor(cursor.par(), cursor.pos()) all around
4563 2003-12-15 Angus Leeming <leeming@lyx.org>
4565 * buffer.C: up the format to 228.
4567 2003-12-15 André Pönitz <poenitz@gmx.net>
4569 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4574 * BufferView_pimpl.C:
4583 2003-12-15 Angus Leeming <leeming@lyx.org>
4585 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4586 than getFromGUIName to manipulate the color.
4588 2003-12-14 Angus Leeming <leeming@lyx.org>
4590 * BranchList.[Ch]: minimize the API.
4591 (Branch::getBranch, getColor): now return a 'const &'.
4592 (Branch::setSelected) now returns a bool set to true if the
4593 selection status changes.
4594 (BranchList::clear, size, getColor, setColor, setSelected,
4595 allBranches, allSelected, separator): removed.
4596 (BranchList::find): new functions, returning the Branch with
4598 (BranchList::add, remove): return a bool indicating that
4599 the operation was successful.
4601 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4602 new InsetBranch::isBranchSlected member function.
4604 * LColor.[Ch]: mimimize the API.
4605 (fill): renamed as addColor and made private.
4606 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4607 versions of these functions taking a string arg have been removed.
4609 * bufferparams.C (readToken):
4610 * lyxfunc.C (dispatch):
4611 * lyxrc.C (read): changes due to the altered BranchList and
4614 * factory.C (createInset, readInset): changes due to altered
4617 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4620 * lyxfunc.C: remove insetminipage. "minipage-insert"
4621 now produces a frameless minipage box inset.
4623 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4625 * textcursor.[Ch] (selStart,selEnd): add new methods
4626 remove selection::start, end, use LyXCursor::operator<
4627 * lyxcursor.[Ch] (operator<): add
4628 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4629 * BufferView.[Ch] (unsetXSel): add
4630 * text2.C (clearSelection): use unsetXSel,adjust
4633 * rowpainter.C: adjust
4634 * bufferview_funcs.C (put_selection_at): adjust
4636 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4638 * BufferView_pimpl.C: small coord. correction
4640 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4642 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4643 dragging over the splash screen.
4645 2003-12-11 Angus Leeming <leeming@lyx.org>
4647 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4648 as it is now handled in LyXText::dispatch.
4650 * text3.C (doInsertInset): remove a level of nesting.
4652 2003-12-11 Angus Leeming <leeming@lyx.org>
4654 * factory.C (createInset): changes due to the changed interface to
4655 InsetCommandMailer::string2params.
4657 2003-12-10 Angus Leeming <leeming@lyx.org>
4659 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4660 'dialog-show-new-inset <inset name>'
4662 2003-12-10 Angus Leeming <leeming@lyx.org>
4664 * buffer.C: up the format to 227.
4666 * factory.C: the box inset is now identified simply by 'Box'.
4668 2003-12-10 Angus Leeming <leeming@lyx.org>
4670 * buffer.C: up the format to 226.
4672 * factory.C: the note inset is now identified simply by 'Note'.
4674 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4676 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4677 when a pit is enough. Standarize a couple of loops.
4679 2003-12-05 Angus Leeming <leeming@lyx.org>
4681 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4682 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4683 data to the re-worked "log" dialog.
4685 2003-12-03 André Pönitz <poenitz@gmx.net>
4691 * paragraph_funcs.C:
4693 * text2.C: use Inset::getText instead of Inset::getParagraph
4695 2003-12-03 André Pönitz <poenitz@gmx.net>
4699 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4700 InsetText::read() as LyXText::read()
4702 2003-12-02 Angus Leeming <leeming@lyx.org>
4704 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4705 type. Add a comment in the implementation that the function uses
4706 the stream's bad() function rather than fail() as the std::streams
4709 2003-12-02 André Pönitz <poenitz@gmx.net>
4711 * lyxlex.[Ch]: make interface more similar to std::stream
4713 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4715 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4717 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4719 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4721 * vspace.[Ch]: remove VSpace::NONE
4723 2003-12-01 André Pönitz <poenitz@gmx.net>
4726 * lyxtext.h: move ParagraphList member to LyXText
4727 rename LyXText::ownerParagraphs to LyXText::paragraph
4730 * bufferview_funcs.C:
4740 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4742 * undo.C: fix cursor positioning
4744 2003-12-01 John Levon <levon@movementarian.org>
4746 * BufferView_pimpl.C: fix a crash on exit with
4749 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4751 * BranchList.C: fix setSelected() method.
4753 2003-11-28 André Pönitz <poenitz@gmx.net>
4755 * ParagraphParameters.[Ch]:
4756 * ParameterStruct.h: remove space above/below from Paragraph to
4759 * BufferView_pimpl.C:
4765 * paragraph_funcs.C:
4771 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4773 * factory.C: Syntax change for CharStyles
4775 2003-11-28 André Pönitz <poenitz@gmx.net>
4780 * buffer.[Ch]: move LyXText member
4782 2003-11-28 André Pönitz <poenitz@gmx.net>
4784 * BufferView.[Ch]: make LyXText * text a private member
4786 * BufferView_pimpl.C:
4797 * output_plaintext.C: cleanup
4799 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4802 * lyxtextclass.[Ch]: parametrize SGML document header
4804 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4807 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4810 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4812 * text2.C (setFont): rework using PosIterator (no more recursive)
4813 (setCharFont): no more needed
4814 (setLayout): no more selection cursors fiddling (done by redoCursor)
4815 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4816 destroy remaining ones)
4818 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4820 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4822 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4825 * text3.C: adjust + re-allow multi par depth changes
4826 * textcursor.C: simplify a bit
4828 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4834 * src/output_docbook.C:
4835 * src/output_latex.C:
4840 * src/text2.C: Introducing a number of tags parametrizing various
4841 XML formats that we may want to support
4843 2003-11-25 André Pönitz <poenitz@gmx.net>
4845 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4847 * lyxtext.h (leftMargin/rightMargin): simplify interface
4854 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4856 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4857 master file to any child files. Fixes bug 546.
4859 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4861 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4863 2003-11-24 André Pönitz <poenitz@gmx.net>
4865 * rowpainter.C: simplification
4867 * text2.C (updateCounters): remove call to redoParagraph on
4868 changed labels as this is far too expensive.
4870 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4872 * converter.C (convert): fix a crash: this function gets
4873 called with buffer == 0 from importer code.
4875 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4877 * text3.C (cursorPrevious): make sure that we do not compare
4878 iterators form different containers.
4881 * rowpainter.C (paintSelection): make sure that we do not compare
4882 iterators from different containers.
4884 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4885 iterators from different ParagraphList containers.
4888 * text2.C (LyXText): change order of initialization slightly
4889 (operator=): new function. copy all variables except cache_par_
4890 (moveUp): make sure that we do not compare iterators from
4891 different ParagraphList constainers.
4894 * text.C (firstPar): new function
4895 (lastPar): new function
4896 (endPar): new function
4898 * lyxtext.h: move things around and group public functions, public
4899 variables, private functions, private variables
4901 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4903 * factory.C: change call to InsetERT constructor to avoid
4904 additional invocation of method status
4905 * text2.C (toggleInset): remove redundant update() call
4906 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4907 instead of a Bufferview pointer
4909 2003-11-21 André Pönitz <poenitz@gmx.net>
4911 * rowpainter.C: simplification
4913 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4915 * text3.C (dispatch): make possible to extend a word/row selection
4918 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4920 * lyxtext.h: x0_,y0_ -> xo_,yo_
4921 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4922 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4923 * rowpainter.C (paintRows): paint full paragraphs
4925 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4927 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4930 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4932 * lyxtext.h: add x0_, y0_
4933 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4934 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4936 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4938 * text2.C (setCursorIntern): move the x_target update here *
4939 * text3.C: change some bv() to true/false in calls to
4940 cursorUp/Down/Right/Left
4941 * cursor.C: use helper function.
4943 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4945 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4946 * paragraph_funcs.[Ch]: correct comment
4947 * rowpainter.C: do not paint selections away from bv->cursor()
4948 Fix a long standing selection painting bug.
4949 * text3.C: generalize mouse-selection code to LyXTexts other that
4951 * textcursor.C: do not use y coords if we can use par offsets
4953 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4955 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4956 cursor position after e.g. inset insert)
4958 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4960 * lyxfind.C (replace): adjust to locking removal + some
4963 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4965 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4968 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4971 * output_docbook.C: XML sanitation: new layout
4972 parameters InnerTag and CommandDepth
4974 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4976 * BufferView_pimpl.C:
4978 * text3.C: Fix the insertion and modification of button-style
4981 2003-11-13 André Pönitz <poenitz@gmx.net>
4983 * InsetList.[Ch]: remove deleteLyXText
4985 * paragraph.[Ch]: cache beginOfBody position
4990 * text3.C: remove superfluous update() calls
4994 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4996 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4997 * BufferView.C (fitLockedInsetCursor): remove
4998 * cursor.[Ch] (getDim): add
4999 * text.C (getRowNearY): add faster version
5000 * text3.C: remove some update calls
5002 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
5014 * text3.C: The Character Style /XML short element patch.
5016 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
5019 * factory.C: Small step to solving 'unable to insert some insets'
5022 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
5024 * cursor.[Ch] (updatePos): new function for updating the y
5025 position of the tip inset
5026 * bufferview_funcs.C (put_selection_at):
5027 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5029 2003-11-11 André Pönitz <poenitz@gmx.net>
5031 * text.C: remove big comment on invalid Paragraph pointers as it is
5034 2003-11-11 André Pönitz <poenitz@gmx.net>
5036 * text_funcs.[Ch]: merge with ...
5044 * Makefile.am: remove text_funcs.[Ch]
5046 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5048 * cursor.C (getPos): return absolute cached y coord
5050 * BufferView_pimpl.C (fitCursor): new simplistic code
5051 (workAreaDispatch): add a fitCursor call
5053 2003-11-10 André Pönitz <poenitz@gmx.net>
5056 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5058 2003-11-10 André Pönitz <poenitz@gmx.net>
5060 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5061 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5062 indicate that the cursor needs to leave an inset
5064 * lyxtext.h: remove inset locking
5066 * cursor.[Ch]: re-implement functionality provided by inset locking
5069 * BufferView_pimpl.[Ch]:
5071 * bufferview_funcs.[Ch]:
5083 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5085 * PosIterator.[Ch]: replace the stack with a vector, add inset
5087 * iterators.[C]: adjust
5089 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5091 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5093 * paragraph_funcs.C (readParToken): put the correct id in the
5094 error item, not the id of the top paragraph
5096 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5098 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5099 * bufferview_funcs.C (put_selection_at): use the above
5101 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5103 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5105 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5107 * output_linuxdoc.h:
5108 * output_plaintext.h:
5110 * output_docbook.h: add #include statements
5112 2003-11-05 José Matos <jamatos@lyx.org>
5114 * output_docbook.[Ch]:
5115 * output_latex.[Ch]:
5116 * output_linuxdoc.[Ch]:
5117 * output_plaintext.[Ch]: New files for output formats.
5118 * output.[Ch]: New file for helper functions.
5121 * paragraph_funcs.[Ch]: output functions moved to new files.
5123 * outputparams.h: rename of latexrunparams.h
5131 * paragraph_funcs.[Ch]:
5132 * paragraph_pimpl.[Ch]:
5133 * tabular.[Ch]: rename ascii to plaintext
5134 and LatexRunParams to OutputParams.
5136 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5138 * iterators.[Ch] (text): require bv argument
5139 * undo.C (recordUndo):
5140 * lyxfunc.C (dispatch):
5141 * bufferview_funcs.C (put_selection_at): adjust
5143 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5145 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5147 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5149 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5152 2003-11-04 André Pönitz <poenitz@gmx.net>
5154 * cursor.[Ch]: restructure
5157 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5159 * iterators.[Ch] (asCursor): remove
5161 * lfuns.h: remove LFUN_INSET_EDIT
5167 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5169 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5171 * lyxfind.[Ch]: complete overhaul
5172 * BufferView_pimpl.C:
5174 * paragraph.[Ch] (insert): add
5176 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5180 * text.C: remove dead spellcheck code
5182 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5184 * dispatchresult.h: add a val setter
5186 * cursor.C (dispatch): use a tempvar for data_[i]
5188 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5190 * PosIterator.[Ch]: compile fix
5192 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5194 * text.C (cursorPar): deactivate the cursor cache
5196 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5198 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5200 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5202 * text3.C (dispatch): adjust for new DisptchResult semantics.
5204 * lyxfunc.C (dispatch): handle update when return from
5205 Cursor::dispatch, adjust for new DispatchResult semantics.
5207 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5208 DispatchResult(true) mean to not update. Add class functions for
5209 setting dispatched and update, as well as reading.
5211 * cursor.C (dispatch): don't handle update here
5213 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5216 * trans_mgr.C: adjust
5218 * paragraph_funcs.C (readParToken): exception safety
5220 * lyxvc.h: store the vcs pointer in a scoped_ptr
5223 * lyxsocket.C (serverCallback): exception safety
5225 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5227 * ispell.C (clone): make it return a auto_ptr
5229 * factory.C (createInset): exception safety
5230 (readInset): exception safety
5232 * bufferlist.C (newBuffer): exception safety
5234 * Thesaurus.C (Thesaurus): use initialization for aik_
5236 * MenuBackend.C (expandToc): exception safety.
5238 2003-11-03 André Pönitz <poenitz@gmx.net>
5242 * bufferview_funcs.C: remove getInsetFromId()
5245 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5251 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5253 * PosIterator.C (distance, advance): new
5254 * bufferview_funcs.[Ch] (put_selection_at): new
5255 * iterators.[Ch] (lockPath): new
5257 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5259 * iterators.[Ch] (asPosIterator): added
5260 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5261 * PosIterator.[Ch]: added
5263 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * cursor.C (dispatch):
5268 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5270 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5271 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5272 contructor, add a class function dispatched. Remove operator>=
5274 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5276 * debug.C: only use the default constructor for debugstream
5279 * main.C (main): include debug.h and setup the lyxerr streambuf
5282 2003-10-31 José Matos <jamatos@lyx.org>
5284 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5286 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5287 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5288 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5289 * paragraph_pimpl.C (simpleTeXSpecialC):
5290 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5291 add LatexRunParams argument.
5293 * exporter.C (Export): change call accordingly.
5295 * latexrunparams.h: add new member to take care of the other backends.
5296 2003-10-30 José Matos <jamatos@lyx.org>
5298 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5299 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5300 factorise code for paragraph output.
5302 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5305 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5307 * text3.C (dispatch):
5308 * lyxfunc.C (dispatch):
5309 * cursor.C (dispatch):
5310 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5312 * dispatchresult.h: make the dispatch_result_t ctor explicit
5314 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5317 * buffer.C: small refactoring of docbook stuff
5319 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5321 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5324 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5326 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5327 operator dispatch_result_t, and operators for == != and >=
5329 * cursor.C (dispatch): adjust for operator dispatch_result_t
5330 removal. comment out call to update
5332 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5334 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5342 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5345 * dispatchresult.h: new file, DispatchResult broken out of
5348 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5350 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5352 * text.C (rowBreakPoint): put a hack inside #if 0
5354 2003-10-28 André Pönitz <poenitz@gmx.net>
5358 * paragraph_funcs.C:
5361 * text2.C: general cleanup (lots of small stuff)
5363 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5365 * text2.C (cursorEnd): simple fix to the "end key goes to one
5366 before the end on last row" bug
5368 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5370 * text.C (backspace): fix the "zombie characters"
5372 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5374 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5376 2003-10-27 André Pönitz <poenitz@gmx.net>
5378 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5380 * factory.C: handle new InsetPagebreak, InsetLine
5382 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5383 and move handling into new InsetPagebreak, InsetLine
5385 * BufferView_pimpl.C:
5387 * ParagraphParameters.C:
5388 * ParameterStruct.h:
5393 * paragraph_funcs.C:
5394 * paragraph_pimpl.C:
5400 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5403 * lyxrow_funcs.[Ch]:
5409 * text3.C: remove lastPos uses in favour of Row::endpos
5411 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5413 * undo.C (performUndoOrRedo): fix two crashes by setting a
5414 cursor by hand and reordering some calls. Use bv->lockInset instead
5415 of inset->edit because the latter loses cursor information
5417 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5419 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5421 (rowBreakPoint): fix width. change point to point + 1.
5422 Add a missing check.
5424 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5427 * lyxfunc.C: fix (at least partly) the problems
5428 with the Nav menu and headers inside branch insets
5431 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5433 * paragraph.C (getChar): add strong asserts
5435 * lyxrow_funcs.C (lastPos): remove hideous hack
5437 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5438 (fill): adjust to that (avoid an infinite loop)
5440 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5442 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5444 2003-10-23 André Pönitz <poenitz@gmx.net>
5446 * RowList_fwd.h: change list<> to vector<> to gain speed
5447 after suggestion from Alfredo
5449 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5451 * lyxtext.h: move the bidi stuff from here...
5454 * Bidi.[Ch]: ... to here
5456 2003-10-23 André Pönitz <poenitz@gmx.net>
5459 * text.C (isLastRow, isFirstRow): new functions
5461 * paragraph.h: new width cache member
5463 * rowpainter.C: replace RowList::iterator with Row & where possible
5465 * lyxfunc.C: replace several view()->text with a single call
5467 * toc.C: fix 'unused' warning
5469 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5471 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5472 when woring with stream::pos_type
5473 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5475 2003-10-22 André Pönitz <poenitz@gmx.net>
5478 * text.C: use Row & instead of RowList::iterator
5480 * lyxrow.h: rename end() to endpos()
5486 2003-10-22 Angus Leeming <leeming@lyx.org>
5488 * buffer.[Ch] (fully_loaded): new member function, returning true
5489 only when the file has been loaded fully.
5490 Used to prevent the premature generation of previews and by the
5491 citation inset to prevent computation of the natbib-style label.
5493 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5494 templates are all set up.
5496 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5498 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5500 * text.C: fixed an "oops" in the "is a bit silly"
5503 2003-10-21 André Pönitz <poenitz@gmx.net>
5505 * FuncStatus.[Ch]: small stuff, whitespace
5507 * lyxfont.[Ch]: operator<<() for debug reasons
5511 * lyxtext.h: whitespace, spelling
5513 * paragraph.C: naming of variables
5516 * text2.C: small stuff
5519 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5521 * text.C: (1) finish off the inset display() work;
5522 (2) fix the "is a bit silly" bug (accessing char
5525 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5527 * text.C: re-introduce display() for insets, fixing the
5528 various bugs (stretch of line above, math inset
5531 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5533 * text.C (rightMargin): remove spurious semicolon
5535 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5538 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5540 * text3.C: fix one crash due to wrong cursor def
5542 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5544 * vc-backend.C (scanMaster): make the regex static
5546 * LaTeX.C (scanAuxFile): make the regexs static
5548 * text3.C (doInsertInset, dispatch, dispatch):
5549 * text2.C (cursorUp, cursorDown):
5550 * text.C (selectNextWordToSpellcheck):
5551 * BufferView_pimpl.C (dispatch):
5552 * lyxfunc.C (dispatch): localDispatch -> dispatch
5554 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5556 * lyxsocket.C: include <cerrno>
5558 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5560 * lyxfunc.C (dispatch): remove textcache stuff
5562 * bufferlist.C (release): remove textcache stuff
5565 * TextCache.C: delete file
5566 * TextCache.h: delete file
5568 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5570 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5571 delete of the bv_->text.
5572 (resizeCurrentBuffer): remove texcache stuff
5573 (workAreaResize): ditto
5575 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5580 2003-10-16 André Pönitz <poenitz@gmx.net>
5587 * text3.C: speed up by storing y positions per paragraph plus per-row
5588 offset instead of having a 'full' y position in the row.
5590 2003-10-15 André Pönitz <poenitz@gmx.net>
5594 * undo.[Ch]: make undo aware of inner insets
5596 2003-10-14 Angus Leeming <leeming@lyx.org>
5598 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5599 static member functions LyX::ref() and LyX::cref.
5600 (lastfiles): new accessor functions for the new lastfiles_ member var.
5601 (addLyXView, views_): add a new LyXView to the list of views_.
5602 (updateInset): loop over all LyXViews to call their own updateInset
5603 member function, returning a pointer to the Buffer owning the inset.
5605 * BufferView_pimpl.C (loadLyXFile):
5606 * MenuBackend.C (expandLastfiles):
5607 * bufferlist.C (MenuWrite, QuitLyX):
5608 lastfiles is no longer a global variable.
5609 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5611 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5612 static function. Access through LyX::cref().emergencyCleanup().
5614 2003-10-14 André Pönitz <poenitz@gmx.net>
5616 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5618 * undo.[Ch]: restoring part of 'undo in insets'
5621 * undo_funcs.[Ch]: merge with undo.[Ch]
5623 * tabular.C: small cleansing stuff
5625 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5627 * paragraph_funcs.C (readParToken): report unknown insets as error
5628 boxes. Use the outer paragraph as location (also for unknown
5631 * factory.C (readInset): do not abort on reading an unknown inset.
5632 Eat it and return 0.
5634 2003-10-13 Angus Leeming <leeming@lyx.org>
5636 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5638 * lyxrc.C: displayTranslator is now a function,
5639 declared in GraphicsTypes.h.
5641 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5643 * format.C: new placeholder $$a to pass the socket address.
5645 * bufferlist.[Ch]: new function getBufferFromTmp.
5647 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5648 files in the temporary dir.
5650 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5652 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5654 * Makefile.am: add lyxsocket.[Ch].
5656 * lyx_main.C (error_handler): handle SIGPIPE.
5658 2003-10-13 André Pönitz <poenitz@gmx.net>
5660 * BufferView_pimpl.C:
5665 * undo_funcs.[Ch]: use paroffset_type instead of
5666 ParagraphList::iterators to prevent multiple conversion
5667 (and get a more robust interface)
5669 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5673 * text3.C (dispatch): ditto
5675 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5678 move the onlyfile, use onlyfile instead of foundfile in a couple
5681 * DepTable.C (update): flush the error stream a bit more
5683 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5685 * lyxserver.C (callback): adjust
5687 * lyxfunc.C (getStatus): add a missing brace in commented code
5688 (ensureBufferClean): reindent
5689 (dispatch): delete version taking a string
5691 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5693 * LaTeX.C (deplog): move found file handlig from here...
5694 (handleFoundFile): .. to new function here.
5695 (deplog): make sure to discover several files mentioned on the
5698 2003-10-10 André Pönitz <poenitz@gmx.net>
5705 * text3.C: fix some of the tabular crashes
5707 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5709 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5711 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5713 2003-10-09 André Pönitz <poenitz@gmx.net>
5715 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5718 * BufferView_pimpl.C:
5719 * bufferview_funcs.C:
5730 * undo_funcs.C: adjust
5732 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5734 * text2.C (incrementItemDepth): new function, use a backtracking
5735 algorithm to discover the correct item depth.
5736 (resetEnumCounterIfNeeded): new function, use a backtracking
5737 algorithm to discover if counter reset is needed.
5738 (setCounter): use them. Simplify a bit. Add different labels for
5739 different item depths for itemize.
5741 * paragraph.C (Paragraph): remove initialization of enumdepth
5744 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5745 enumerate and itemize. Change the type of itemdepth to signed char.
5747 2003-10-08 André Pönitz <poenitz@gmx.net>
5749 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5754 * tabular.[Ch]: fix crash after 'row-insert'
5756 2003-10-08 Angus Leeming <leeming@lyx.org>
5758 Fix doxygen warnings.
5760 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5761 Remove CutAndPaste:: prefix from header file declaration.
5763 * LColor.h (fill): remove LColor:: prefix from declaration.
5765 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5766 use lyx::depth_type rather than Paragraph::depth_type so that
5767 header file and .C file match.
5769 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5771 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5772 * aspell.C: \file aspell_local.C -> \file aspell.C
5773 * gettext.C: \file gettext.C -> \file src/gettext.C
5774 * gettext.h: \file gettext.h -> \file src/gettext.h
5775 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5776 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5777 * text.C: \file text.C -> \file src/text.C
5779 * toc.C: move comment so that doxygen is not confused.
5781 2003-10-07 Angus Leeming <leeming@lyx.org>
5783 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5785 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5788 * aspell_local.h: add forgotten std::string's.
5790 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5797 * text3.C: The Box patch. Fancybox support, minipage, parbox
5799 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5805 * ParagraphParameters.h:
5815 * lyxtextclasslist.h:
5818 * paragraph_pimpl.C:
5819 * textcursor.h: add <string> and other small fixes to make Lars'
5820 std::string patch compile with STLport.
5822 2003-10-06 Angus Leeming <leeming@lyx.org>
5824 * LColor.h: Add missing #include <string>.
5826 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5828 * All most all file in all subdirs: Make <string> be the prefered
5829 way of getting to std::string, add using declarations.
5831 2003-10-06 André Pönitz <poenitz@gmx.net>
5833 * metricsinfo.C: initialize LyXFont before changing attribute.
5834 (fixes the 'math in \emph is upright' bug)
5836 2003-10-06 André Pönitz <poenitz@gmx.net>
5838 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5840 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5843 * paragraph_pimpl.C: Small fixes to build using STLport
5845 2003-10-02 André Pönitz <poenitz@gmx.net>
5848 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5850 2003-10-01 André Pönitz <poenitz@gmx.net>
5852 * factory.C: assert early
5854 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * lyx_main.C: remove the global debug object
5858 * debug.h: adjust for new debugstream
5860 * debug.C: adjust for new debugstream and keep the global debug
5863 2003-09-22 Angus Leeming <leeming@lyx.org>
5865 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5866 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5867 an incomplete class LyXFont.
5869 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5871 * factory.C: bug fix in branches
5873 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5875 * lyxfunc.C (processKeySym): adjust
5877 (dispatch): change arg name from ev to func, adjust
5878 (sendDispatchMessage): ditto
5880 * lyx_main.C (defaultKeyBindings): adjust keybindings
5881 (deadKeyBindings): ditto
5883 * kbsequence.C (addkey): return a FuncRequest
5885 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5887 * kbmap.C (bind): take a FuncRequest as arg, adjust
5890 (defkey): change to take a FuncRequest as arg, adjust
5891 (findbinding): take a FuncRequest as arg, adjust.
5893 * funcrequest.h (operator=): added
5895 * funcrequest.C (FuncRequest): default kb_action changed from
5896 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5898 * buffer.C (dispatch): simplify
5899 (dispatch): adjust to take a FuncRequest as arg, adjust
5901 * boost.C (assertion_failed): change assertion message slightly
5903 * ToolbarBackend.C (read): simplify
5905 * MenuBackend.C (binding): adjust call to findbinding, add a
5906 message if no binding is found.
5908 (expandToc): correct by adding a empty FuncRequest
5910 * LyXAction.C: include <boost/assert.hpp>
5911 (isPseudoAction): delete function
5912 (LookupFunc): change name to...
5913 (lookupFunc): this. change return type to FuncRequest.
5914 (getActionName): take kb_action as arg, simplify
5915 (funcHasFlag): add an assert, simplify.
5917 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5919 * toc.C (action): return a FuncRequest, simplify
5921 * lyxfunc.C (processKeySym): adjust
5922 (getStatus): delete version that takes an int.
5924 (dispatch): delete version that takes action as int
5926 (sendDispatchMessage): simplify and adjust
5928 * funcrequest.C (getArg): take unsigned int as arg
5930 * ToolbarBackend.C (read): adjust
5931 (add): delete version that takes func as a string.
5932 (getIton): take a FuncRequest as arg
5934 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5937 * MenuBackend.C (MenuItem): add a new construct that only takes a
5938 Kind, simplify the constructor use for submenus.
5940 (expandLastfiles): adjust
5941 (expandDocuments): adjust
5942 (expandFormats): adjust
5943 (expandFloatListInsert): adjust
5944 (expandFloatInsert): adjust
5945 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5947 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5948 Remove class variables lyx_pseudo_map and lyx_arg_map
5950 * LyXAction.C (searchActionArg): delete function
5951 (getPseudoAction): delete function
5952 (retrieveActionArg): delete function
5953 (LookupFunc): make it return kb_action, simplify.
5954 (getActionName): simplify
5956 * factory.C (createInset): fix new bug
5958 2003-09-19 Angus Leeming <leeming@lyx.org>
5960 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5961 masterFilename_ parameter in the include inset.
5963 * factory.C (createInset): changes due to the changes to InsetInclude.
5965 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5967 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5969 2003-09-18 Angus Leeming <leeming@lyx.org>
5972 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5973 Inset::fillWithBibKeys.
5974 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5976 2003-09-18 Angus Leeming <leeming@lyx.org>
5978 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5980 (ctor): pass and store a 'Buffer const &'
5981 (buffer): new member function.
5983 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5984 '*this' to the LaTeXFeatures ctor.
5986 2003-09-18 Angus Leeming <leeming@lyx.org>
5992 * text.C: rename EnumLColor as LColor_color.
5994 2003-09-18 Angus Leeming <leeming@lyx.org>
5996 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5997 remove #include "insets/insetbase.h" from cursor.h.
5999 2003-09-18 Angus Leeming <leeming@lyx.org>
6001 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6002 InsetOld_code to remove #include "inset.h".
6004 * iterators.C: add #include "insets/inset.h"
6006 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
6008 * BufferView.C: remove more locking stuff that apparently doesn't
6009 do anything sensible.
6011 2003-09-16 André Pönitz <poenitz@gmx.net>
6014 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6017 2003-09-16 Angus Leeming <leeming@lyx.org>
6019 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6021 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6024 * paragraph.h: remove #include "lyxfont.h". Forward declare
6027 2003-09-16 Angus Leeming <leeming@lyx.org>
6029 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6030 of support/textutils.h.
6031 (isWord): move the contents of support/textutils.h's IsWordChar here.
6037 * text2.C: add #include "paragraph.h".
6040 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6042 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6048 * LaTeX.C: use namespace alias for lyx::support::os
6050 2003-09-16 Angus Leeming <leeming@lyx.org>
6053 * bufferview_funcs.C:
6056 * paragraph_pimpl.C:
6058 * text.C: add #include "LColor.h".
6060 2003-09-16 Angus Leeming <leeming@lyx.org>
6062 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6063 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6065 Store the FontBits::color variable as an int rather than as an
6066 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6069 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6070 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6071 string calls together.
6073 * lyxrc.C: add #include "LColor.h".
6075 2003-09-15 Angus Leeming <leeming@lyx.org>
6077 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6080 2003-09-15 Angus Leeming <leeming@lyx.org>
6082 * LColor.h: add an EnumLColor wrapper for LColor::color.
6084 * lyxfont.[Ch] (color, setColor, realColor):
6085 * lyxtext.h, text.C (backgroundColor):
6086 pass EnumLColor args to/from the functions, rather than LColor::color
6090 * lyxtext.h: forward declare EnumLColor.
6092 * lyx_main.C: add #include "LColor.h".
6094 2003-09-15 Angus Leeming <leeming@lyx.org>
6096 * .cvsignore: add lyx-gtk.
6098 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6103 * ParagraphParameters.C
6107 * bufferview_funcs.C
6117 * vc-backend.C: remove usage of STRCONV
6119 2003-09-15 Angus Leeming <leeming@lyx.org>
6121 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6122 explicitly define the color passed to the painter.
6124 2003-09-15 Angus Leeming <leeming@lyx.org>
6126 * bufferparams.C (BufferParams): reorder member initializers to avoid
6129 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6131 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6132 * text.C (updateRowPositions): remove an unusual nop
6134 2003-09-12 André Pönitz <poenitz@gmx.net>
6136 * BufferView_pimpl.C:
6145 * Counters.[Ch]: finish the 'automatic counters' job
6147 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6149 * aspell.C: include <boost/assert.cpp> (compile fix)
6151 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6153 * boost.C (assertion_failed): use lyx::support::abort instead of
6156 2003-09-10 Angus Leeming <leeming@lyx.org>
6158 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6159 with their _fwd progeny.
6161 2003-09-09 Angus Leeming <leeming@lyx.org>
6163 134 files throughtout the source tree: replace 'using namespace abc;'
6164 directives with the appropriate 'using abc::xyz;' declarations.
6166 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6168 * boost.C (emergencyCleanup): moved here from LAssert.c
6169 (assertion_failed): new function, called by BOOST_ASSERT
6171 * several files: change Assert to BOOST_ASSERT
6173 2003-09-09 Angus Leeming <leeming@lyx.org>
6175 * buffer.[Ch]: Add an Impl class and move Buffer's member
6176 variables into it. As a result move several header files out of
6179 Add header files to lots of .C files all over the tree as a result.
6181 2003-09-09 Angus Leeming <leeming@lyx.org>
6183 * buffer.[Ch]: make Buffer's member variables private. Add
6186 Lots of changes all over the tree as a result.
6188 2003-09-08 Angus Leeming <leeming@lyx.org>
6190 * graph.C: #include <config.h>.
6192 2003-09-08 Angus Leeming <leeming@lyx.org>
6196 * BufferView_pimpl.C:
6225 * toc.C: remove redundant using directives.
6227 2003-09-07 Angus Leeming <leeming@lyx.org>
6229 * LaTeXFeatures.h: remove #include "support/types.h".
6230 * ToolbarBackend.h: remove #include <algorithm>.
6231 * changes.h: remove #include <ctime>.
6232 * debug.h: remove #include <iosfwd>.
6233 * graph.h: remove #include "support/std_string.h".
6234 * lyx_main.h: remove #include <csignal>.
6235 * lyxlex_pimpl.h: remove #include <fstream>.
6236 * sgml.h: remove #include <algorithm>, <utility>.
6237 * toc.h: remove #include "support/std_ostream.h".
6238 Add #include <iosfwd>.
6240 2003-09-07 Angus Leeming <leeming@lyx.org>
6242 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6244 * converter.h: forward declare LatexRunParams.
6245 * encoding.h: remove #include "lyxrc.h".
6246 * lyxtext.h: remove #include "LColor.h".
6247 * lyxtextclass.h: remove #include "support/types.h".
6248 * trans.h: remove #include "tex-accent.h".
6249 * trans_mgr.h: remove #include "tex-accent.h".
6250 * insets/inset.h: remove #include "support/types.h", <vector>.
6251 * insets/insetcollapsable.h: remove #include "LColor.h".
6252 * insets/insetinclude.h: remove #include "dimension.h".
6253 * insets/insetlatexaccent.h: remove #include "dimension.h".
6254 * insets/insetoptarg.h:: remove #include "insettext.h".
6255 * insets/insettext.h: remove #include "dimension.h",
6256 <boost/shared_ptr.hpp>
6258 * insets/renderers.h: add #include "dimension.h".
6259 * insets/updatableinset.h: add #include "support/types.h".
6261 * many .C files: Associated changes.
6263 2003-09-06 Angus Leeming <leeming@lyx.org>
6265 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6266 one, inside testInvariant.
6268 * PrinterParams.C: new file.
6269 * PrinterParams.[Ch]: move the function bodies out of line.
6271 2003-09-06 Angus Leeming <leeming@lyx.org>
6273 * ParagraphParameters.h: forward declare ParameterStruct rather than
6274 including its header file.
6275 (depth): moved out-of-line.
6277 2003-09-06 Angus Leeming <leeming@lyx.org>
6279 * BufferView_pimpl.h:
6282 * lyxfunc.h: forward declare LyXKeySym rather than
6283 #include "frontends/LyXKeySym.h".
6285 * BufferView_pimpl.C:
6288 * lyxfunc.C: associated changes.
6290 2003-09-06 Angus Leeming <leeming@lyx.org>
6292 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6293 As a result, can remove the #include "insets/inset.h" from BufferView.h
6295 2003-09-06 Angus Leeming <leeming@lyx.org>
6297 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6298 As a result, can remove the #include "insets/inset.h" from BufferView.h
6300 2003-09-06 Angus Leeming <leeming@lyx.org>
6306 * bufferview_funcs.C:
6307 * BufferView_pimpl.C:
6312 * ParagraphParameters.C:
6317 * frontends/controllers/ControlDocument.C:
6318 * insets/insetcaption.C: rearrange the #includes into some sort of
6321 * buffer.h: remove #includes ErrorList.h, undo.h
6323 2003-09-06 Angus Leeming <leeming@lyx.org>
6325 * support/types.h: add a 'depth_type' typedef, used to store the
6326 nesting depth of a paragraph.
6329 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6330 defining explicitly.
6333 * paragraph_funcs.h:
6334 * ParagraphParameters.h:
6335 * sgml.h: use lyx::depth_type rather than Paragraph or
6336 ParameterStruct's depth_type.
6339 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6342 * BufferView_pimpl.C:
6344 * ParagraphParameters.C:
6347 * bufferview_funcs.C:
6354 * frontends/LyXView.C:
6355 * frontends/controllers/ControlDocument.C:
6356 * frontends/controllers/ControlErrorList.C:
6357 * insets/insetbibitem.C:
6358 * insets/insetbranch.C:
6359 * insets/insetcaption.C:
6360 * insets/insetcollapsable.C:
6361 * insets/insetenv.C:
6362 * insets/insetert.C:
6363 * insets/insetfloat.C:
6364 * insets/insetfoot.C:
6365 * insets/insetfootlike.C:
6366 * insets/insetnewline.C:
6367 * insets/insetquotes.C:
6368 * insets/insettabular.C:
6369 * insets/insettext.C:
6370 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6372 * frontends/controllers/ControlChanges.C: #include "changes.h".
6374 2003-09-06 Angus Leeming <leeming@lyx.org>
6376 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6377 than #including paragraph.h.
6380 * RowList.h: deleted. Superfluous.
6390 * insets/insettext.h: use ParagraphList_fwd.h rather than
6393 * paragraph.h: don't forward declare ParagraphList.
6396 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6397 rather than ParagraphList.h. paragraph.h is still needed for the
6398 Paragraph::depth_type parameters.
6400 * textcursor.h: enable it to compile stand-alone in light of the
6403 * bufferview_funcs.C:
6415 * frontends/controllers/ControlParagraph.C:
6416 * frontends/controllers/ControlTabular.C:
6417 * insets/insetmarginal.C:
6418 * insets/insetminipage.C:
6419 * insets/insetnote.C:
6420 * insets/insetoptarg.C: add header files needed to compile again.
6422 2003-09-06 Angus Leeming <leeming@lyx.org>
6424 * RowList_fwd.h: new file, forward-declaring Row rather than
6425 #including lyxrow.h.
6430 * insets/insettext.h: use it instead of RowList.h
6432 * bufferview_funcs.C:
6439 * text3.C: #include "RowList.h".
6441 2003-09-05 Angus Leeming <leeming@lyx.org>
6443 * factory.C (createInset):
6444 * vspace.C (c-tor): replace sscanf call with an istringstream.
6445 * ispell.C: re-add missing HP/UX headers.
6446 * lyxserver.C: re-add missing os2 headers.
6448 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6457 * text3.C: re-add missing system headers, needed for 2.95.2.
6459 2003-09-05 Angus Leeming <leeming@lyx.org>
6461 Changes most place everywhere due to the removal of using directives
6462 from support/std_sstream.h.
6464 2003-09-05 Angus Leeming <leeming@lyx.org>
6466 Replace LString.h with support/std_string.h,
6467 Lsstream.h with support/std_sstream.h,
6468 support/LIstream.h with support/std_istream.h,
6469 support/LOstream.h with support/std_ostream.h.
6471 Changes resulting throughout the tree.
6473 2003-09-05 Angus Leeming <leeming@lyx.org>
6475 * sgml.h: ensure that the header file can be compiled stand-alone.
6476 * *.C: strip out redundant #includes. (320 in total.)
6478 2003-09-04 Angus Leeming <leeming@lyx.org>
6480 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6481 here (from getPackages).
6483 * debug.[Ch]: add a new EXTERNAL tag.
6485 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6487 * text2.C (cursorEnd): simplify
6489 (getColumnNearX): adjust
6491 * text.C (computeBidiTables): adjust
6494 * rowpainter.C (paintChars): adjust
6495 (paintSelection): adjust
6496 (paintChangeBar): adjust
6499 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6501 (numberOfSeparators): adjust
6503 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6509 * text3.C: Restricts the mouse click functionality
6510 of insets like bibtex, include, toc and floatlist to the visible
6511 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6512 up the dialogs. Cursor has to be in front of the inset (i.e.
6513 start of row) for this to function.
6515 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6517 * bufferview_funcs.C (currentState): output row information
6519 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6521 * bufferview_funcs.C (currentState): output paragraph position
6523 2003-09-04 Angus Leeming <leeming@lyx.org>
6525 * FloatList.h: move out #include "Floating.h".
6526 * LaTeX.h: move out #include "DepTable.h".
6527 * LyXAction.h: move out #include "funcrequest.h".
6528 * buffer.h: move out #include "author.h", "iterators.h".
6529 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6530 * lyx_main.h: move out #include "errorlist.h".
6531 * lyxfunc.h: move out #include "FuncStatus.h".
6532 * lyxtext: move out #include "lyxcursor.h".
6533 * paragraph_pimpl.h: move out #include "counters.h".
6535 2003-09-03 Angus Leeming <leeming@lyx.org>
6537 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6538 preamble_snippets list, enabling us to add snippets to the preamble
6539 only if the snippet was not there already.
6541 2003-09-04 Angus Leeming <leeming@lyx.org>
6543 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6545 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6547 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6550 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6552 * BranchList.C: point fix, earlier forgotten
6554 2003-09-02 Angus Leeming <leeming@lyx.org>
6556 * box.C (contains): renamed from 'contained' after a fantastic
6559 2003-09-02 John Levon <levon@movementarian.org>
6565 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6567 2003-09-02 John Levon <levon@movementarian.org>
6569 * text2.C: simplification of cursorEnd(), including partial
6572 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6574 * buffer.C (readFile): add a space
6576 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6578 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6580 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6582 * buffer.C (readFile): new function, take a filename and a
6583 ParagraphList::iterator
6585 (readFile): adjust, make it private. don't use setStream, make
6586 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6587 always contain the filename.
6589 * BufferView.C (insertLyXFile): simplify and make it work for
6592 2003-08-30 John Levon <levon@movementarian.org>
6594 * Makefile.am: fix dist (from Kayvan)
6596 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * most files: change to use const Buffer refs
6600 2003-08-27 André Pönitz <poenitz@gmx.net>
6602 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6603 on top of ownerPar().
6605 2003-08-27 John Levon <levon@movementarian.org>
6607 * funcrequest.C: properly initialise POD members
6609 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6611 * lyxtext.h (top_y): move top_y from here
6616 * BufferView_pimpl.[Ch]: to here
6617 * frontends/screen.C:
6618 * insets/insettabular.C:
6619 * insets/insettext.C: adjust
6620 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6622 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6625 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6627 2003-08-26 André Pönitz <poenitz@gmx.net>
6629 * paragraph_func.[Ch] (outerPar): new function
6632 * paragraph_funcs.C:
6633 * paragraph_funcs.h:
6634 * paragraph_pimpl.C:
6635 * text2.C: remove Inset::par_owner
6637 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6642 * text2.C: eliminates the needFullRow/display() stuff
6643 altogether, putting the logic in metrics/draw in the insets.
6645 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6647 * text2.C (redoParagraphInternal, redoParagraphs):
6648 * text.C (redoParagraph): add a call to updateRowPositions at the
6649 end of each 'metrics-like' call. Remove all others.
6650 (getRow): remove the 'y-computing' version.
6651 (getRowNearY): do not compute nor return the real y. Solve the
6652 'y < 0' problem and simplify.
6654 2003-08-22 Angus Leeming <leeming@lyx.org>
6656 * *.[Ch]: clean-up of licence and author blurbs.
6657 Also move config.h out of a few .h files and into a few .C files.
6659 2003-08-22 André Pönitz <poenitz@gmx.net>
6661 * lyxrow.[Ch]: add x_ and *fill_ members
6666 * text2.C: adjust/remove prepareToPrint() calls
6668 2003-08-22 André Pönitz <poenitz@gmx.net>
6670 * lyxrow.[Ch]: add end_ member
6672 * lyxrow_funcs.C: use LyXRow::end_
6674 * lyxtext.h (singleWidth): add LyXFont parameter
6677 * text2.C: adjust LyXText::singleWidth() calls
6679 * text.C (redoParagraph): simplify row breaking logic
6682 2003-08-19 André Pönitz <poenitz@gmx.net>
6684 * funcrequest.C: initialize button_ member
6687 * rowpainter.[Ch]: interface consolidation
6689 2003-08-18 André Pönitz <poenitz@gmx.net>
6692 * BufferView_pimpl.C:
6694 * paragraph_funcs.C:
6696 * text3.C: remove LyXScreen::draw() and fitCursor calls
6698 * BranchList.h: remove spurious semicolons
6700 * MenuBackend.C: fix branchlist related crash
6702 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6710 * bufferparams.[Ch]:
6714 * text3.C: implements the 'branch inset'
6715 idea. This allows the output of various versions of a document
6716 from a single source version, selectively outputing or suppressing
6717 output of parts of the text.
6718 This implementation contains a 'branch list editor' in a separate
6719 tab of the document settings dialog. Branches are user definable
6720 and have a "display colour" to distinguish them on-screen.
6722 ColorHandler was somewhat cleaned up.
6723 (1) make possible a dynamically growing LColor list by allowing
6724 the graphic context cache to grow along (vector);
6725 (2) eliminate an IMHO unnecessary step in colour allocation.
6727 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6729 * BufferView_pimpl.C: compile fix
6731 2003-08-15 André Pönitz <poenitz@gmx.net>
6733 * rowpainter.C: remove extra metrics calls
6735 * lyxtext.h: merge the two constructors into a single one,
6736 pass reference to owner's par list
6738 * BufferView_pimpl.C:
6742 2003-08-15 André Pönitz <poenitz@gmx.net>
6744 * lyxrow_funcs.[Ch]:
6747 * paragraph_funcs.C:
6752 * text_funcs.C: split LyXText::rowlist_ into individual
6753 Paragraph::rows_ chunks
6756 * BufferView_pimpl.[Ch]:
6759 * text3.C: remove toggleSelection()
6761 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6763 * bufferlist.C: beautify two alerts (shorter text of buttons)
6764 * buffer.C: Remove redundant ' ' from message
6766 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6767 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6768 rename VALIGN_CENTER to VALIGN_MIDDLE
6770 2003-08-11 André Pönitz <poenitz@gmx.net>
6772 * lyxtext.h (getPar):
6773 * text.C: new function
6775 2003-08-11 André Pönitz <poenitz@gmx.net>
6778 * tracer.[Ch]: remove unneeded files
6780 * InsetList.[Ch]: remove resizeInsetsLyXText()
6785 * text3.C: merge insertParagraphs() and appendParagraph()
6786 remove breakAgain(), update()
6788 * BufferView_pimpl.[Ch]:
6789 * bufferview_funcs.[Ch]:
6793 * tabular.C: adjust after text & InsetList changes.
6795 2003-08-08 André Pönitz <poenitz@gmx.net>
6797 * text.C (insertChar, backspace): replace rowlist fiddling
6798 with rebreak of full par
6801 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6802 checkParagraph, updateInset): removed
6804 2003-08-07 André Pönitz <poenitz@gmx.net>
6807 * text3.C: merge some LFUN handlers, remove dead code
6809 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6811 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6813 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6815 * text2.C (DEPM): fix part of bug 1255 and 1256
6817 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6819 * BufferView_pimpl.C (workAreaDispatch): change to use
6820 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6821 that are no mouse related.
6823 2003-08-05 André Pönitz <poenitz@gmx.net>
6826 * BufferView_pimpl.[Ch]:
6827 * bufferview_funcs.C:
6829 * text3.C: rip out "deep update"
6831 * textcursor.[Ch] (last_sel_cursor): remove unused member
6833 2003-08-04 André Pönitz <poenitz@gmx.net>
6836 * BufferView_pimpl.[Ch]:
6837 * ParagraphParameters.C:
6838 * bufferview_funcs.C:
6844 * text3.C: replace "complicated" BufferView::update(...) calls with
6847 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6849 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6851 * Makefile.am (lyx_SOURCES): add paper.h
6853 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6855 * Makefile.am: move things around so that both lyx-qt and
6856 lyx-xforms can be built (according to --with-frontend). Then lyx
6857 is a symbolic link to lyx-[firstfrontend]
6859 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6861 * Always use std::endl with lyxerr
6863 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6865 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6867 2003-08-01 André Pönitz <poenitz@gmx.net>
6870 * BufferView_pimpl.[Ch]:
6872 * text3.C: merge BufferView::repaint() and BufferView::update()
6874 2003-08-01 José Matos <jamatos@lyx.org>
6876 * buffer.[Ch]: file_format is no longer a buffer data element.
6878 2003-08-01 André Pönitz <poenitz@gmx.net>
6883 * text2.C: make redoParagraph more independent of current cursor
6885 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6887 * text2.C: remove unneeded members
6889 2003-07-30 André Pönitz <poenitz@gmx.net>
6891 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6893 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6894 create a single function...
6896 * paragraph_funcs.C (moveItem): ... here.
6899 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6901 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6903 * LColor.[Ch]: Add comment and greyedout logical colors.
6905 2003-07-30 André Pönitz <poenitz@gmx.net>
6907 * tabular.C: don't use Assert too heavily. This crashes where it
6910 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6912 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6913 is disabled (bug 1232)
6915 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6917 * factory.C: limited 'arg' scope
6919 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6921 * factory.C: fixed Note submenu issues
6923 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6925 * factory.C: submenu for Note/Comment/Greyedout
6927 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6930 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6932 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6935 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6936 greyedout. Patch provided by Jürgen Spitzmüller.
6938 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6940 * kbmap.C (read): fix error message when reading bind files
6942 2003-07-29 Angus Leeming <leeming@lyx.org>
6944 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6945 certainly does not do what it purports to do. I am doing it, and
6946 us, a favour by killing it.
6948 2003-07-28 José Matos <jamatos@lyx.org>
6950 * buffer.C (readBody, do_writeFile):
6951 * paragraph.C(readParagraph): \end_document replaces \the_end.
6953 2003-07-29 André Pönitz <poenitz@gmx.net>
6956 * BufferView_pimpl.[Ch]:
6960 * textcursor.[Ch]: remove toggleToggle & Co
6962 2003-07-28 José Matos <jamatos@fep.up.pt>
6964 * buffer.C (readParagraph):
6965 * params_func (readParToken, readParagraph):
6966 * paragraph.C (write): \layout -> \begin_layout.
6968 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6970 * lyxlex_pimpl.C (setFile): clean up slightly.
6972 * bufferparams.h: add compressed var
6974 * buffer_funcs.C (readFile): adjust for LyXLex change
6975 (newFile): ditto + simplify
6977 * buffer.C (writeFile): handle writing of compressed files
6979 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6980 Check if the file is compressed and set a bufferparm if so.
6982 * Makefile.am (lyx_LDADD): remove explicit -lz
6984 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6986 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6987 makeDocBookFile): put the real LyX version in the first line of
6991 * version.C.in: remove lyx_docversion
6993 * tabular.C (write_attribute): add a template-based version to
6994 write enums properly
6996 2003-07-28 André Pönitz <poenitz@gmx.net>
7001 * text3.C: use doubles again for x-coordinates. They are needed.
7003 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7005 * messages.C (getLocaleDir): use lyx_localedir()
7007 * lyxlex_pimpl.C (setFile): compress stuff
7009 * buffer.C (writeFile): add some compression stuff
7010 (do_writeFile): new func, dont call expliti close... will this
7013 * Makefile.am (lyx_LDADD): add -lz
7015 2003-07-28 José Matos <jamatos@fep.up.pt>
7017 * buffer.C: increment file format.
7018 * paragraph_funcs (readParagraph, readParToken):
7019 * paragraph.C (readParagraph): add \end_layout.
7021 2003-07-27 Angus Leeming <leeming@lyx.org>
7023 * Makefile.am: remove special casing for configure-time setting of
7024 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7026 * lyx_main.C (init): remove all Jean-Marc's magic setting of
7027 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7029 2003-07-26 André Pönitz <poenitz@gmx.net>
7031 * paragraph_func.[Ch]:
7032 * paragraph.C (realizeFont): inline it whereever it is used
7037 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7040 2003-07-26 André Pönitz <poenitz@gmx.net>
7044 * text2.C: get rid of LyXText::need_break_row
7046 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7048 * toc.[Ch]: put namespace toc inside namespace lyx
7050 * MenuBackend.C (expandToc2): adjust for lyx::toc
7053 * lyxfunc.C (dispatch): adjust for lyx::find
7055 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7056 lyx::find instead. Reorganize a bit.
7057 (LyXReplace): rename to replace
7058 (LyXFind): rename to find
7060 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7063 2003-07-26 André Pönitz <poenitz@gmx.net>
7065 * text.C (setHeightOfRow): restrict scope of temporary variable
7067 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7068 code (never has been used?)
7070 2003-07-27 Asger Alstrup <alstrup@local>
7072 * text.C (fill): Optimise algorithm to exploit that we can reuse
7073 the LyXFont for many characters.
7074 (setHeightOfRow): Same thing.
7075 (rowBreakPoint): Same thing.
7077 2003-07-26 Asger Alstrup <alstrup@local>
7079 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7081 * text.C (singleWidth): Spurious font copying in hot-spot
7082 singleWidth avoided. Reorder tests for arabic for efficiency.
7084 * text.C (fill): handle empty paragraphs better.
7086 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7089 * encoding.h: add includes
7091 * lyxrc.C: remove reading of bind files
7093 * lyx_main.C (init): setup bindings and menus only if we have a
7096 * kbmap.C (read): new method. Do the actual reading of bind
7099 * converter.C (dvipdfm_options):
7102 (output): adapt PAPER_* enums.
7104 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7106 * bufferparams.h: remove paper-related enums from there
7108 * paper.h: New file. A trivial header file to hold paper-related
7109 enums. It should later expand to contain many paper-related
7112 * lyxrc.C: declare extern displayTranslator
7114 2003-07-27 José Matos <jamatos@fep.up.pt>
7116 * tabular.[Ch] (linuxdoc): add support for tables and figures
7119 2003-07-27 José Matos <jamatos@fep.up.pt>
7121 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7122 consistency in both functions.
7123 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7125 2003-07-26 Asger Alstrup <alstrup@local>
7127 * rowpainter.C (paintRows): Change algorithm to work directly on
7128 the insets rather than asking every character in the document
7129 whether its an inset.
7131 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7133 * buffer.C (openFileWrite): factorize some code
7135 2003-07-26 Angus Leeming <leeming@lyx.org>
7138 * lyx_main.[Ch]: replace occurances of system_tempdir with
7141 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7143 * rename Inset to InsetOld
7145 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7147 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7148 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7149 which I think is a bit clearer. EDIT is gone, since it was
7150 premature optimisation, and broken for mathed anyway.
7151 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7152 with cursor positioning in insets as well (math insets still do not
7153 work, but that's a different story anyway.) It mysteriously
7154 crashes sometimes with undo in the first paragraph, but I'm fairly
7155 confident that this is a compiler bug.
7157 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7159 * paragraph.C (Paragraph): adjust for new clone return type
7161 (copyIntoMinibuffer): ditto
7163 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7165 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7166 by not having a special case, and always doing a full rebreak of
7167 the document after undo.
7169 2003-07-23 Angus Leeming <leeming@lyx.org>
7171 * factory.C (createInset): InsetExternal::setParams now takes a
7174 2003-07-23 Angus Leeming <leeming@lyx.org>
7176 * factory.C (createInset): changed interface to the external and
7177 graphics mailers' string2params functions.
7179 2003-07-23 Angus Leeming <leeming@lyx.org>
7181 * factory.C (createInset): pass a
7182 Buffer const * parameter to InsetExternalMailer's string2params.
7184 2003-07-22 John Levon <levon@movementarian.org>
7186 * Thesaurus.h: include the right aiksaurus header
7188 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7190 * MenuBackend.C (expand): check menu shortcuts unconditionally
7192 2003-07-21 Angus Leeming <leeming@lyx.org>
7194 * factory.C (createInset): pass a
7195 buffer_path parameter to InsetGraphicsMailer's string2params.
7197 2003-07-21 Angus Leeming <leeming@lyx.org>
7199 * BufferView_pimpl.C (buffer):
7202 * lyxfunc.C (dispatch):
7203 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7204 rather than the grfx shortcut.
7206 2003-07-21 André Pönitz <poenitz@gmx.net>
7208 * rowpainter.C: remove unused variables
7211 * tabular_funcs.h: move to tabular.C
7212 * Makefile.am: adjust
7214 * tabular.[Ch]: basic optical cleaning
7216 * author.h: pass references, not values
7218 2003-07-18 André Pönitz <poenitz@gmx.net>
7226 * text3.C: two-phase drawing for InsetText and InsetTabular
7227 some float -> int changes.
7229 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7231 * lyx_main.C: fix the fix
7233 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7235 * lyx_main.C: fix a crash in batch mode if no files specified
7238 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7240 * format.[Ch] (papersize): moved to BufferParams
7241 * converter.[Ch] (dvips_options): moved to BufferParams
7242 (dvipdfm_options): moved to anon namespace
7243 * bufferparams.[Ch]: added above functions.
7245 2003-07-17 André Pönitz <poenitz@gmx.net>
7249 * text2.C: don't call inset->update() anymore
7251 * metricsinfo.[Ch]: add convenience constructor
7253 2003-07-16 André Pönitz <poenitz@gmx.net>
7258 * text2.C: replace the LyXCursor::irow_ member with
7259 on-demand computation of the value
7261 2003-07-16 John Levon <levon@movementarian.org>
7263 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7265 2003-07-15 André Pönitz <poenitz@gmx.net>
7268 * text2.C: remove no more needed refresh_row
7270 2003-07-15 André Pönitz <poenitz@gmx.net>
7275 * text3.C: refresh_status tristate -> need_update bool
7277 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7279 * lyxtext.h (init): remove reinit argument (act as if always true)
7280 * text2.C: adjust to that
7282 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7284 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7285 * text3.C: use it to delete selections in some cases
7286 (bugs 441, 673, 702, 954).
7288 2003-07-14 André Pönitz <poenitz@gmx.net>
7290 * rowpainter.[Ch]: reduce interface
7292 2003-07-14 André Pönitz <poenitz@gmx.net>
7294 * BufferView_pimpl.C:
7295 * text2.C: adjust after removing unused BufferView * argument
7297 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7299 * text2.C (init): fix a crash fired on resize
7301 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7303 * buffer.[Ch]: added new closing signal
7304 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7305 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7306 BufferView::Pimpl via the closing the signal
7308 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7310 * buffer.[Ch]: take out all bv-related from buffer
7312 * BufferView_pimpl.[Ch]: connect to new signals
7313 * CutAndPaste.C: removed useless asserts
7314 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7317 * lyxfunc.C: moved view-related funciontality from vc here
7318 * paragraph.C: removed outdated comments
7321 2003-07-10 André Pönitz <poenitz@gmx.net>
7323 * BufferView_pimpl.C:
7327 * text2.C: remove InsetText::InnerCache, clean up consequences
7329 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7331 * ispell.C: fix two typos in error messages
7333 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7335 * Extend Note inset to other forms of annotation like Comment
7336 and Greyedout. Right button click gives dialog.
7338 Files modified or added (+):
7342 * ControlNote.[Ch] +
7344 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7345 frontends/controllers
7349 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7351 * aspell.C: add missing namespace lyx::support
7353 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7355 * BufferView.[Ch] (newFile): Add
7356 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7357 * LaTeX.[Ch] (message): added this signal and use it
7358 * buffer.[Ch] (busy, message): added these signals and use them
7359 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7363 * importer.C: use buffer signals instead of direct bv calling
7364 * lyx_cb.[Ch] (ShowMessage): removed
7367 * paragraph_funcs.C:
7368 * text2.C: use buffer signals
7370 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7372 * introduce namespace lyx::graphics
7374 2003-07-02 André Pönitz <poenitz@gmx.net>
7376 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7378 2003-07-01 André Pönitz <poenitz@gmx.net>
7385 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7386 text*.C to text_func.C
7388 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7390 * introduce namespace lyx::support
7392 2003-06-30 André Pönitz <poenitz@gmx.net>
7397 * text.C: re-enable --with-included-string
7399 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7401 * textcursor.C: add <config.h>
7403 * text.C (getWord): remove const from word_location arg
7405 * lyxvc.C (getLogFile): fix const type order
7407 * lyxtext.h: remove const from word_location arg, add arg name
7409 * lyxlayout.h: currect type on labeltype.
7411 * importer.C: correct \file
7413 * converter.C (intToFormat): use std:: on ret val, ws changes
7415 * bufferlist.h: correct \file
7417 * buffer.C (makeLinuxDocFile): fix const type order
7418 (makeDocBookFile): ditto
7419 (fillWithBibKeys): use std:: on stdlib args.
7421 * CutAndPaste.C: fix authors.
7422 (availableSelections): use std:: on return vector
7424 2003-06-27 André Pönitz <poenitz@gmx.net>
7426 * BufferView_pimpl.C:
7427 * bufferview_funcs.C:
7435 * text3.C: remove LyXCursor::row_ member
7438 * text.C: rename fullRebreak() to partialRebreak() and implement
7439 a fullRebreak() that really bereks fully
7441 * textcursor.h: new struct for cursor-related data
7443 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7445 * lyx_main.C (LyX): get full path of document loaded on the
7448 2003-06-26 André Pönitz <poenitz@gmx.net>
7450 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7451 remove unused/broken operator>,<,>=.
7453 * text.C: remove only use of broken operator<= in an Assert().
7455 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7457 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7458 moved errorlist_.clear to showErrorList
7460 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7462 * converter.C (scanLog, runLaTeX):
7463 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7464 move the bv->showErrorList call to the callers
7465 * lyxfunc.C: i.e. here...
7467 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7468 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7469 namespace, the second to...
7470 * buffer_funcs (BufferFormat, parseErrors): added
7471 * errorlist.C (ErrorList(TeXErrors const &)): removed
7473 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7475 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7477 2003-06-24 "Garst R. Reese" <reese@isn.net>
7481 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7483 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7485 * version.C.in: change docversion to 1.4
7487 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7489 * buffer.C: fix a bug just introduced
7491 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7493 * buffer.[Ch]: added the parseError signal and use it, removed
7495 * BufferView.[Ch] (addError): moved to ...
7496 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7497 to the Buffer::parseError signal to catch (guess what) parse errors
7498 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7500 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7502 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7503 ability to create a buffer and to return an existing one from
7504 the list. Moved these functions to...
7505 * buffer_funcs.[Ch]: added
7506 * BufferView.[Ch] (loadLyXFile): added
7507 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7508 job removed from bufferlist::loadLyXFile.
7509 * buffer.C (setReadOnly): make it work without view
7510 (i.e added an if (users))
7512 2003-06-19 Angus Leeming <leeming@lyx.org>
7515 * LyXAction.C (init):
7516 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7517 with LFUN_DIALOG_SHOW <name> <data>.
7519 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7521 * CutAndPaste.C (availableSelections): small compilation fix for
7522 ancient (gcc 2.9x) compilers
7524 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7526 * text3.C (cursorNext): add tmp var
7528 * text2.C (updateCounters): for function calling out of for clause
7529 (replaceSelectionWithString): ditto
7530 (insertStringAsParagraphs): ditto
7531 (getColumnNearX): add tmp var
7532 (setCursorFromCoordinates): add tmp var
7533 (cursorDownParagraph): add tmp var
7534 (deleteEmptyParagraphMechanism): add tmp var
7536 * text.C (insertChar): add tmp var
7538 * rowpainter.C (paintDepthBar): add tmp var
7540 * CutAndPaste.C (availableSelections): potentially check all
7541 paragraphs in a cut to fill the shown strings.
7543 2003-06-18 André Pönitz <poenitz@gmx.net>
7545 * kbmap.[Ch]: use vector<> instead of list<>
7547 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7549 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7550 pasteSelection with index
7552 * text2.C (pasteSelection): modify, call pasteSelection with index
7554 * paragraph.C (asString): reimplement version with no interval to
7555 call the one with interval.
7557 * lyxtext.h: add index arg to pasteSelection
7559 * MenuBackend.C (MenuItem): handle PasteRecent
7560 (Menu::read::Menutags): add md_pasterecent
7562 (expandPasteRecent): new function
7565 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7567 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7569 (availableSelections): new function
7571 2003-06-17 Angus Leeming <leeming@lyx.org>
7573 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7575 2003-06-17 Angus Leeming <leeming@lyx.org>
7578 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7580 * lyxfunc.C (dispatch): invoke it.
7582 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7584 * iterators.C (operator++, ParPosition): reintroduce some
7585 const_cast for the benefit of older compilers.
7587 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7589 * text3.C (dispatch): do not modify clipboard when doing
7590 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7591 LFUN_DELETE_SKIP on a selection selection
7593 2003-06-16 André Pönitz <poenitz@gmx.net>
7599 * tabular.[Ch]: IU of clone() and getLabelList();
7601 2003-06-13 André Pönitz <poenitz@gmx.net>
7603 * tabular.h: compactification
7605 2003-06-12 André Pönitz <poenitz@gmx.net>
7609 * tabular_funcs.h: some renaming plus whitespace
7611 2003-06-12 André Pönitz <poenitz@gmx.net>
7614 * BufferView_pimpl.C:
7620 * toc.C: Return a Paragraph & for ParIterator::operator*()
7622 2003-06-11 John Levon <levon@movementarian.org>
7626 * ToolbarBackend.C: add "Toolbars" section and
7629 2003-06-10 Angus Leeming <leeming@lyx.org>
7632 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7634 * lyxfunc.C (dispatch): invoke it.
7636 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7638 * main.C: protect <ios> with HAVE_IOS
7639 (main): protect sync_with_stdio with HAVE_IOS
7641 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7643 * text2.C (cutSelection): adjust
7644 (pasteSelection): adjust
7646 * messages.C: handle get of empty string
7648 * main.C (main): use sync_with_stdio(false)
7650 * lyxfunc.C (dispatch): adjust
7652 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7653 (WriteAs): remove unneeded BufferView arg.
7655 * bufferparams.h: use correct types on papersize, papersize2 and
7658 * bufferparams.C (readToken): adjust for type
7659 (writeLaTeX): add missing cases to switch.
7661 * bufferlist.C (quitWriteBuffer): adjust
7664 * buffer.C (asciiParagraph): remove some commented code.
7666 * CutAndPaste.C: remove current_view extern variable.
7667 (cutSelection): add BufferParams arg.
7668 (eraseSelection): add BufferParams arg.
7669 (pasteSelection): add Buffer const & arg
7671 2003-06-07 John Levon <levon@movementarian.org>
7674 * paragraph_funcs.C:
7675 * paragraph_pimpl.C:
7679 * paragraph.C: allow InsetERT to freely space lines,
7680 and some consolidation of code
7682 2003-06-06 José Matos <jamatos@fep.up.pt>
7684 * buffer.C (makeDocBookFile): fix bug #821
7686 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7688 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7690 2003-06-04 Angus Leeming <leeming@lyx.org>
7692 * buffer.C: bump format to 224.
7694 2003-06-05 André Pönitz <poenitz@gmx.net>
7696 * text2.C (redoParagraphs): remove two const_cast<>
7698 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7700 * ParagraphList.h: remove last remnants of NO_STD_LIST
7702 2003-06-03 Angus Leeming <leeming@lyx.org>
7704 * factory.C (createInset): small change to the way InsetExternal's params
7707 2003-06-04 André Pönitz <poenitz@gmx.net>
7709 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7711 * paragraph_pimpl.h:
7712 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7714 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7716 * undo_funcs.C: make some simple cases of undo work again
7718 2003-06-03 John Levon <levon@movementarian.org>
7720 * ispell.C: HPUX doesn't have sys/select.h
7723 2003-06-03 John Levon <levon@movementarian.org>
7725 * CutAndPaste.C: update tabular and include inset
7730 * paragraph.C: remove owningBuffer(), don't pass Buffer
7733 * factory.C: insetGraphicsParams changed
7735 2003-06-02 John Levon <levon@movementarian.org>
7741 * text3.C: remove insetparent
7743 2003-06-02 John Levon <levon@movementarian.org>
7746 * buffer.C: fix inset_iterator.end(), move out of line
7749 2003-06-01 John Levon <levon@movementarian.org>
7751 * text3.C: use a proper cut/paste when doing inset
7752 insert (from Jürgen Spitzmüller)
7754 2003-06-01 John Levon <levon@movementarian.org>
7756 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7758 2003-05-30 André Pönitz <poenitz@gmx.net>
7760 * rowpainter.C: unify second drawing phase
7762 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7764 * trans_mgr.C: remove one case of current_view
7766 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7768 * paragraph_funcs.h: remove paragraph.h include
7770 * paragraph.h: delete NO_STD_LIST stuff
7772 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7774 * buffer.h: remove paragraph.h include
7776 * ParagraphList.C: delete file
7778 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7780 * toc.C (getTocList): adjust
7782 * paragraph_pimpl.C (validate): adjust
7784 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7786 * paragraph.C (Paragraph): adjust
7787 (getPositionOfInset): use const_iterator, adjust
7788 (bibitem): use const_iterator, adjust
7789 (setInsetOwner): adjust
7791 * iterators.C (operator++): adjust
7793 * InsetList.[Ch]: Replace selfmade iterator with standard
7794 vector::iterator also introduce const_iterator. Remove getPos,
7795 getInset and setInset from InsetTable. Adjust accordingly.
7797 * BufferView.C (lockInset): adjust
7798 (ChangeInsets): adjust
7800 * tabular.[Ch]: delete commented same_id functions
7802 2003-05-28 John Levon <levon@movementarian.org>
7804 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7806 2003-05-28 André Pönitz <poenitz@gmx.net>
7808 * metricsinfo.[Ch]: remove 'fullredraw' member
7810 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7812 * lyxtextclass.C (operator): remove caching.
7814 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7818 * text2.C (cursorBottom): adjust
7819 (setCounter): use ParagraphList::find, adjust
7821 * text.C (workWidth): use ParagraphList::find, adjust
7823 * lyxcursor.C (LyXCursor): adjust
7825 * buffer.C (inset_iterator): adjust
7827 * ParagraphList.h: make iterator(value_type) private, make
7828 ParagraphList a friend of iterator.
7830 * ParagraphList.C (find): new function
7832 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7834 2003-05-27 André Pönitz <poenitz@gmx.net>
7836 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7838 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7840 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7842 2003-05-26 John Levon <levon@movementarian.org>
7844 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7846 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7848 * remove same_id from function signatures, adjust.
7850 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7852 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7854 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7856 * paragraph.C (Paragraph): get rid of same_ids parameter
7858 * ParagraphList.C (insert): adjust
7861 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7863 * paragraph_funcs.C (breakParagraph): adjust
7864 (breakParagraphConservative): adjust
7866 * buffer.C (readParagraph): adjust
7868 * ParagraphList.C (insert): take a reference instead of a pointer
7871 * paragraph.[Ch] (id): new function
7873 * bufferlist.C (newFile): adjust
7875 * ParagraphList.C (ParagraphList): adjust
7877 (push_back): take a reference instead of a pointer.
7879 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7881 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7884 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7885 set else use old code.
7887 * ParagraphList.C: remove all NO_NEXT code and only compile this
7888 code of NO_STD_LIST is set.
7890 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7892 * BufferView_pimpl.C:
7902 * graphics/GraphicsConverter.C:
7903 * graphics/PreviewLoader.C: header adjustment
7905 2003-05-23 Angus Leeming <leeming@lyx.org>
7907 * LaTeXFeatures.[Ch] (useBabel): new method.
7908 * bufferparams.C (writeLaTeX): use it.
7910 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7912 * ParagraphList.h (set): remove unused function.
7914 2003-05-23 André Pönitz <poenitz@gmx.net>
7917 * BufferView_pimpl.C:
7921 * undo_funcs.C: setUndo reworked
7923 * iterators.[Ch]: add access to topmost ParagraphList
7925 * lyxtext.[Ch] (workWidth): add a const
7927 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7929 * texrow.[Ch] (increasePos): remove function
7930 * exporter.C (export): removed unused var and outdated comment
7932 2003-05-23 Angus Leeming <leeming@lyx.org>
7934 * latexrunparams.h: rename fragile as moving_arg.
7935 * paragraph.C (simpleTeXOnePar): ditto.
7936 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7938 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7940 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7942 (textUndoOrRedo): comment out a currently unused var.
7944 * paragraph.h (NO_NEXT): enable NO_NEXT
7946 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7948 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7950 * exporter.C (Export): adjust for removeAutoInsets removal.
7952 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7954 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7956 * BufferView.[Ch] (removeAutoInsets): delete function
7958 2003-05-22 Angus Leeming <leeming@lyx.org>
7960 * latexrunparams.h: add a free_spacing variable.
7962 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7963 to pass moving_arg, as the data is stored in runparams.fragile.
7965 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7966 to Inset::latexOptional or to simpleTeXOnePar.
7968 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7969 free_spacing arg to Inset::latexOptional.
7971 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7974 2003-05-22 Angus Leeming <leeming@lyx.org>
7976 * latexrunparams.h: add fragile and use_babel variables.
7978 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7979 * buffer.C (makeLaTeXFile): store this returned value in
7980 runparams.use_babel, thus passing it to the inset::latex methods.
7982 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7983 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7985 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7986 longer has a fragile arg, as it is stored in runparams.fragile.
7988 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7989 moving_arg parameter as the data is stored in runparams.fragile.
7991 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7992 a fragile parameter as the data is stored in runparams.fragile.
7994 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7996 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7998 2003-05-22 Angus Leeming <leeming@lyx.org>
8000 * latexrunparams.h: add a 'bool nice' which defaults to false.
8002 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8003 now encapsulated within runparams.
8005 * bufferlist.C (updateIncludedTeXfiles):
8006 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8008 2003-05-22 Angus Leeming <leeming@lyx.org>
8010 * latexrunparams.h: new file containing struct LatexRunParams.
8011 * Makefile.am: add new file.
8013 * LaTeX.[Ch] (c-tor, run):
8014 * buffer.[Ch] (makeLaTeXFile):
8015 * bufferlist.[Ch] (updateIncludedTeXfiles):
8016 * converter.C (convert, scanLog):
8017 * converter.[Ch] (runLaTeX):
8018 * exporter.C (Export):
8019 * paragraph.[Ch] (simpleTeXOnePar):
8020 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8021 * paragraph_funcs.[Ch] (latexParagraphs):
8022 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8023 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8024 pass around a LatexRunParams parameter.
8026 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8028 * paragraph.[Ch]: remove unused constructor
8030 * ParagraphList.C (erase): new function, taking two iterators
8032 2003-05-22 André Pönitz <poenitz@gmx.net>
8034 * undo_funcs.C: remove duplicated code
8036 * iterator.[Ch]: operator=
8038 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8040 * tabular.C (SetMultiColumn): ws changes
8042 * rowpainter.C (paintFirst): get rid of a ->previous
8044 * lyx_cb.C (getPossibleLabel): parlist simplification
8046 * BufferView.C (ChangeInsets): simplify slightly.
8048 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8050 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8051 * lfuns.h: new LFUN_SPACE
8052 * lyxfunc.C: protected space has a new lfun
8053 * paragraph_funcs.C: read new space insets
8055 * factory.C: handle new space insets
8057 2003-05-22 André Pönitz <poenitz@gmx.net>
8060 * BufferView_pimpl.C:
8063 * undo_funcs.C: return a ParIterator from getParFromID.
8065 * iterators.[Ch]: add two const's
8067 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8069 * toc.C (getTocList): adjust
8071 * iterators.[Ch]: rework for parlist
8073 * buffer.C (par_iterator_begin): adjust
8074 (par_iterator_end): adjust
8076 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8078 * BufferView.C (removeAutoInsets): adjust
8079 (ChangeInsets): adjust
8081 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8083 * text.C (top_y): fix bug 1110
8085 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8087 * errorlist.[Ch]: added
8090 * BufferView_pimpl.C:
8091 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8094 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8096 * Makefile.am: ensure that lyx is relinked upon changes to the
8097 various "convenience" libs.
8099 2003-05-20 Angus Leeming <leeming@lyx.org>
8101 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8102 files are compiled in alphabetical order again.
8104 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8106 2003-05-19 Angus Leeming <leeming@lyx.org>
8108 * gettext.[Ch]: remove "char const * _(char const *)".
8110 2003-05-19 André Pönitz <poenitz@gmx.net>
8112 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8121 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8123 2003-05-19 André Pönitz <poenitz@gmx.net>
8127 * lyxtextclass.[Ch]:
8129 * paragraph_funcs.[Ch]:
8131 * text3.C: more insetenv work
8133 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8135 * ParagraphParameters.C (params2string): small bug fixed
8137 2003-05-16 André Pönitz <poenitz@gmx.net>
8140 * bufferview_funcs.C: patch from Kornel Benko to prevent
8141 crash when _(...) is called twice in a statement
8143 2003-05-16 André Pönitz <poenitz@gmx.net>
8150 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8152 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8154 * lyx_main.C (init): remove spurious static_cast
8156 2003-05-14 André Pönitz <poenitz@gmx.net>
8158 * BufferView.C: fix format string
8160 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8162 * BufferView.[Ch] (insertErrors): removed
8163 * BufferView.[Ch] (showErrorList): added
8164 * buffer.C (runChkTeX):
8165 * converter.C (scanLog): call showErrorList instead of inserterrors
8167 2003-05-13 André Pönitz <poenitz@gmx.net>
8169 * BufferView_pimpl.C:
8171 * bufferview_func.C:
8178 * tabular_funcs.h: tostr() from its own header
8180 * ParagraphParameters.C:
8185 * text3.C: STRCONV()
8187 2003-05-12 André Pönitz <poenitz@gmx.net>
8190 * BufferView_pimpl.C:
8194 * ParagraphParameters.C:
8198 * bufferview_funcs.C:
8211 * paragraph_funcs.C:
8215 * text3.C: boost::format -> bformat all over the place
8218 2003-05-09 André Pönitz <poenitz@gmx.net>
8220 * LColor.[Ch]: Pimpl the #include <map> away
8222 2003-05-09 John Levon <levon@movementarian.org>
8224 * bufferlist.C: never remove emergency saves
8226 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8228 * Makefile.am: better lib building
8230 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8232 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8234 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8235 (simpleTeXSpecialChars): adjust
8236 (simpleTeXSpecialChars): adjust
8237 * paragraph.C (simpleTeXOnePar): adjust
8238 * buffer.C (makeLaTeXFile): adjust
8240 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8242 * text2.C (changeDepth): parlist cleanup
8243 (getColumnNearX): ditto
8245 * rowpainter.C (getLabelFont): parlist cleanup
8247 * bufferlist.C (newFile): parlist cleanup
8249 * CutAndPaste.C (eraseSelection): parlist cleanup
8251 * BufferView_pimpl.C (trackChanges): parlist cleanup
8254 * BufferView.C (lockInset): parlist cleanup.
8255 (ChangeInsets): ditto
8257 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8259 * CutAndPaste.h: Update file header.
8261 * CutAndPaste.C: Update file header.
8262 Store the parts cut out of the Document in a limited_stack.
8263 (copySelection): adjust
8264 (pasteSelection): new function, takes the index in the limited stack.
8265 (nrOfParagraphs): adjust
8266 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8267 simplify error inset insertion.
8268 (checkPastePossible): adjust
8270 2003-05-06 John Levon <levon@movementarian.org>
8272 * text2.C: don't cast wrap inset to float
8274 2003-05-05 André Pönitz <poenitz@gmx.net>
8277 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8279 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8280 few naked Paragraph *.
8282 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8284 * bufferparams.C: Output warning if a document with missing
8285 TeX document class is loaded
8286 * exporter.C: Disable TeX exports if the document class is missing
8289 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8290 isTeXClassAvailable()
8292 2003-05-03 John Levon <levon@movementarian.org>
8295 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8296 explicit cursor show/hide
8298 * BufferView_pimpl.h:
8299 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8300 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8302 * lyxfunc.C: hide cursor before dispatching.
8307 * text3.C: remove explicit cursor hides
8309 2003-05-02 André Pönitz <poenitz@gmx.net>
8311 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8314 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8317 * text2.C: tiny whitespace
8319 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8321 * undo_funcs.C: almost only ws changes.
8323 * ParagraphList.C (splice): just return if pl is empty.
8325 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8327 * ParagraphList.C (splice): new function.
8329 * CutAndPaste.C (pasteSelection): use it
8331 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8333 * CutAndPaste.C (pasteSelection): remove the last next and
8334 previous from this file.
8336 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8338 * CutAndPaste.C (pasteSelection): more clean up, user proper
8339 ParagraphList functions for pasteing.
8341 * ParagraphList.C (insert): new function, three arg insert
8343 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8345 * ParagraphList.C (insert): new function, three arg insert
8347 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8350 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8354 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8356 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8358 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8360 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8361 (copySelection): clean up a bit.
8362 (pasteSelection): use make_pair
8364 * ParagraphList.C (ParagraphList): implement copy constructor
8365 (operator=): implement, base on copy constructor.
8368 * paragraph.C (erase): return a bool
8370 * paragraph_pimpl.C (erasePos): remove function, move contents...
8371 (erase): ... here. Return a bool.
8372 (erase): call erase instead of erasePos.
8374 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8376 * ParagraphList.h: define PitPosPair
8377 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8378 ParagraphList, fix a bug on pasting multiple pars
8379 * text2.C: change interface to C&P
8381 2003-04-30 André Pönitz <poenitz@gmx.net>
8383 * undo_func.C: revert part of yesterday's patch 2
8385 2003-04-30 John Levon <levon@movementarian.org>
8387 * LColor.C: s/tabular/table/
8389 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * text3.C (dispatch): do not convert iterator -> pointer
8392 * undo_funcs.C (setCursorParUndo): ditto
8393 * text_funcs.C (transposeChars): ditto
8395 * text2.C (setLayout): ws changes only
8397 * text.C (breakParagraph): do not convert iterator -> pointer
8399 (acceptChange): ditto
8400 (rejectChange): ditto
8405 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8408 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8410 * text3.C (gotoInset): YABG (yet another bad getChar)
8412 2003-04-29 André Pönitz <poenitz@gmx.net>
8414 * paragraph.h: make operator= private unimplemented as long as
8417 * ParagraphList.C: whitespace
8420 * paragraph_pimpl.[Ch]:
8421 * paragraph_funcs.C:
8423 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8426 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8428 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8430 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8431 * paragraph.[Ch] (erase):
8432 * paragraph_pimpl.[Ch] (erase): change return type and value
8433 * text2.C (cutSelection): some rework
8435 2003-04-28 John Levon <levon@movementarian.org>
8437 * bufferlist.C: changes for unsaved changes dialog
8439 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8441 * bufferlist.C (newFile): set language (messages_) for new
8444 * buffer.C (readFile): ws changes only.
8446 2003-04-28 André Pönitz <poenitz@gmx.net>
8451 * BufferView_pimpl.C:
8452 * BufferView.C: getParFromID related ParagraphList::iterator changes
8454 2003-04-28 André Pönitz <poenitz@gmx.net>
8456 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8459 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8461 * messages.C: remove one more localedir class variable.
8463 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8465 * messages.C (getLocaleDir): singleton generation function
8467 (Messages): add a default constructor.
8469 * main.C (main): do not setup localedir here, do not call
8472 * gettext.C (_): use it.
8473 (gettext_init): delete funciton
8475 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8477 * gettext.C (getLyXMessages): new singleton generating function.
8479 * buffer.C (updateDocLang): adjust
8481 * Makefile.am (messages.o): add target
8482 (main.o): remove target
8484 2003-04-27 John Levon <levon@movementarian.org>
8489 * lyxvc.C: specify cancel button in Alert::prompt
8491 2003-04-26 John Levon <levon@movementarian.org>
8496 * LyXAction.C: add LFUN_INSET_SETTINGS
8498 * lyxfunc.C: don't enable tabular-feature when there's
8499 just any locking inset
8501 2003-04-26 John Levon <levon@movementarian.org>
8503 * bufferlist.C: re-add Cancel to buffer close question
8505 * lyxfunc.C: fix import UI a bit
8507 2003-04-25 John Levon <levon@movementarian.org>
8509 * gettext.C: remove the broken asserts for now
8511 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8513 * messages.C: make case where setlocale cannot comply work better.
8515 * buffer.C (updateDocLang): new function
8516 (changeLanguage): use it
8519 * text2.C (setCounter): use B_ a bit.
8521 * lyxlayout.C (Read): be sure to trim the label strings.
8523 * messages.C (Messages): fix typo in comment
8525 * buffer.C (readFile): set message_ after file is loaded.
8526 (makeDocBookFile): remove double return
8527 (changeLanguage): reset message_ upon language change.
8528 (B_): new func, use this to get translated buffer strings.
8530 * main.C: add myself and Jean Marc as authors.
8532 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8534 * messages.[hC]: pimplify Messages, and three different pimpls to be
8535 used in different circumstances.
8537 * gettext.[Ch]: change for use with new message code.
8539 2003-04-24 André Pönitz <poenitz@gmx.net>
8541 * factory.C: support for eqref
8543 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8545 * messages.[Ch]: add missing char
8547 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8549 * messages.[Ch]: New files
8551 2003-04-18 John Levon <levon@movementarian.org>
8555 * BufferView_pimpl.C:
8559 * text2.C: remove layout-copy/paste (bug 778)
8561 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8563 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8565 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8567 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8568 if they succeed. Act accordingly.
8570 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8572 * text2.C (setCharFont): adjust
8573 (setCounter): adjust
8574 (insertStringAsLines): adjust
8576 * text.C (leftMargin): adjust
8577 (setHeightOfRow): adjust
8579 * rowpainter.C (paintFirst): adjust
8582 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8584 (isFirstInSequence): ditto
8585 (getEndLabel): ditto
8588 * paragraph.C (getParLanguage): comment out some hard stuff.
8590 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8592 (simpleDocBookOnePar): ditto
8593 (makeDocBookFile): use ParagraphList::iterator
8595 * CutAndPaste.C (pasteSelection): adjust
8597 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8599 * text2.C (getFont): adjust
8600 (getLayoutFont): adjust
8601 (getLabelFont): adjust
8603 * paragraph_funcs.C (TeXOnePar): adjust
8605 * buffer.C (simpleLinuxDocOnePar): adjust
8606 (simpleDocBookOnePar): adjust
8608 * CutAndPaste.C (pasteSelection): adjust
8610 * BufferView.C (getEncoding): adjust
8612 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8614 2003-04-16 John Levon <levon@movementarian.org>
8616 * lyxfind.C: use parlist stuff for search/changes
8618 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8620 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8622 * text2.C (deleteEmptyParagraphMechanism): adjust
8624 * text2.[Ch] (ownerParagraph): delete func (both of them
8626 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8628 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8630 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8632 * ParagraphList.C: prepare for NO_NEXT
8634 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8636 * text2.C (getFont): adjust
8637 (getLayoutFont): adjust
8638 (getLabelFont): adjust
8640 * paragraph.C (getFont): adjust
8641 (getLabelFont): adjust
8642 (getLayoutFont): adjust
8644 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8646 2003-04-15 John Levon <levon@movementarian.org>
8650 * lyx_main.C: handle Include in .ui files
8652 2003-04-15 John Levon <levon@movementarian.org>
8654 * MenuBackend.C: make the doc files length shorter
8657 * ToolbarBackend.C: handle toolbar placement flags,
8660 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8662 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8665 * paragraph_funcs.C (TeXOnePar): adjust
8667 * paragraph.C (getLabelFont): add outerfont arg, adjust
8668 (getLayoutFont): ditto
8669 (simpleTeXOnePar): adjust
8671 * paragraph_pimpl.C (realizeFont): delete func
8673 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8675 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8676 row argument, constify cur argument.
8678 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8680 * text2.C (getFont): adjust
8681 (getLayoutFont): adjust
8682 (getLabelFont): adjust
8684 * paragraph_funcs.C (TeXOnePar): adjust
8685 (outerFont): new func...
8686 (realizeFont): ...moved out from here, changed this to facilitate
8689 * paragraph.C (getFont): take outerfont as arg, adjust
8690 (simpleTeXOnePar): add outerfont arg, adjust
8692 * buffer.C (simpleLinuxDocOnePar): adjust
8693 (simpleDocBookOnePar): adjust
8695 * CutAndPaste.C (pasteSelection): adjust
8697 * BufferView.C (getEncoding): adjust
8699 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8701 * text2.C (setCharFont): adjust
8702 (setCounter): adjust
8704 * text.C (leftMargin): adjust
8705 (setHeightOfRow): adjust
8707 * rowpainter.C (paintFirst): adjust
8710 * paragraph_pimpl.C (realizeFont): adjust
8712 * paragraph.C (isFirstInSequence): move from here...
8713 * paragraph_funcs.C (isFirstInSequence): ...to here
8715 * paragraph.C (outerHook): move from here...
8716 * paragraph_funcs.C (outerHook): ...to here
8718 * paragraph.C (depthHook): move from here...
8719 * paragraph_funcs.C (depthHook): ...to here
8721 * paragraph.C (getEndLabel): move from here...
8722 * paragraph_funcs.C (getEndLabel): ...to here
8724 * text2.C (realizeFont): move from here...
8725 * paragraph_funcs.C (realizeFont): ...to here
8727 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8729 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8731 2003-04-14 Angus Leeming <leeming@lyx.org>
8733 * LColor.[Ch]: scrap LColor mathcursor.
8735 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8737 * lyxlex.[Ch] (text): delete function
8738 * trans.C (Load): adjust
8739 * paragraph_funcs.C (readParToken): adjust
8741 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8743 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8744 vector<char> instead of a char[].
8746 * lyxlex_pimpl.C (getString): adjust
8748 (lex): use getString
8752 * lyxlex.C (text): use pimpl_->getString()
8756 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8758 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8759 (makeFontEntriesLayoutSpecific): temp var for par.size()
8760 (setLayout): temp var for ownerParagraphs().end()
8761 (fullRebreak): temp var for rows().end()
8762 (selectionAsString): temp var for boost::next(startpit), realize
8763 that the while really is a regular for loop.
8764 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8765 setCursor in one place.
8766 (setParagraph): temp vr for ownerParagraphs().end()
8767 (updateCounters): make the while loop a for loop
8768 (cutSelection): temp var for ownerParagraphs().end()
8769 (updateInset): make the do {} while() a regular for loop
8770 (getCursorX): use temp vars
8771 (setCurrentFont): use temp vars
8772 (getColumnNearX): use temp vars
8774 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8776 * text.C (transformChar): use temp var for getChar
8777 (computeBidiTables): use temp var for row->par()
8778 (fill): move temp vars for row->par() and pit->layout() earlier in
8780 (labelFill): use temp var for row->par()
8781 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8782 asc and desc, realize that pit never changes and that firstpit is
8783 just a duplicate and not needed. Exchange rit->par() with pit in a
8785 (breakAgain): use a temp var for boost::next(rit)
8786 (breakAgainOneRow): ditto
8787 (breakParagraph): use a temp var for rows().begin()
8788 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8789 (cursorRightOneWord): use temp var for cursor.par() and
8790 cursor.pos(), remove usage of tmpcursor.
8791 (cursorLeftOneWord): use temp var for cursor.par() and
8792 cursor.pos() only set cur at end of function.
8794 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8796 * text.C, text2.C: exchange all usage of Paragraph::next with
8797 boost::next(ParagraphList::iterator)
8799 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8801 * text2.C (cursorTop): simplify implementation
8802 (cursorBottom): ditto
8803 (setParagraph): use ParagraphList::iterator
8804 (setCurrentFont): adjust
8805 (getColumnNearX): adjust
8806 (cursorRight): adjust
8807 (cursorLeft): remove usage of Paragraph::previous
8808 (cursorUpParagraph): ditto
8809 (deleteEmptyParagraphMechanism): slight cleanup
8811 * text.C (isBoundary): take a Paragraph const & instead of a
8813 (addressBreakPoint): ditto
8814 (leftMargin): remove usage of Paragraph::previous.
8815 (setHeightOfRow): ditto
8816 (cursorLeftOneWord): ditto
8817 (selectNextWordToSpellcheck): ditto
8820 (breakParagraph): remove one usage of Paragraph::next
8821 (redoParagraph): ditto
8822 (acceptChange): ditto
8823 (insertChar): adjust
8824 (rowBreakPoint): adjust
8826 * bufferview_funcs.C (toggleAndShow): adjust
8828 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8830 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8831 methods to access it.
8833 * text.C: Added updateRowPositions to compute all row positions.
8834 Make top_y and getRowNearY() to use the cached y position
8836 2003-04-11 John Levon <levon@movementarian.org>
8838 * text.C (rowBreakPoint): reintroduce the labelEnd
8839 checks, code copied from the row fill stuff. Deep voodoo.
8841 * text.C (fill): add a comment and debugging for the
8844 2003-04-11 John Levon <levon@movementarian.org>
8846 * text.C: make sure fullrow insets get wrapped to the next line,
8847 even when they're in a manual label
8849 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8851 * text2.C (insertParagraph): make it take ParagraphList::iterator
8853 (setLayout): make it return ParagraphList::iterator
8854 (redoParagraphs): ditto
8856 (checkParagraph): ditto
8858 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8860 * text2.C: adjust several funcs.
8861 (realizeFont): take a ParagraphList::iterator as arg.
8862 (getLayoutFont): ditto
8863 (getLabelFont): ditto
8864 (setCharFont): ditto
8866 * text.C: adjust several funcs.
8868 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8870 * text.C (selectNextWordToSpellcheck): don't accidentally
8873 2003-04-10 John Levon <levon@movementarian.org>
8875 * ToolbarBackend.C (getIcon): special handling for
8878 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8880 * text2.C (cursorRight): a getChar assert fixed
8882 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8884 * text2.C (getFont): change to take a ParagraphList::iterator
8885 instead of Paragraph*
8886 Adjust several functions.
8888 * text.C (transformChar): change to take a ParagraphList::iterator
8889 instead of Paragraph*
8890 (singleWidth): ditto
8891 Adjust several functions.
8893 * rowpainter.C: adjust several functions
8894 * rowpainter.h:store a ParagraphList::iterator and not a
8898 2003-04-09 John Levon <levon@movementarian.org>
8903 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8904 and the "help" bits as well
8906 2003-04-09 John Levon <levon@movementarian.org>
8909 * ToolbarBackend.C: allow multiple toolbars
8911 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8913 * undo_funcs.C (setCursorParUndo): adjust
8915 * text_funcs.C (transposeChars): adjust
8917 * text3.C (gotoNextInset): adjust
8920 * text2.C (setLayout): adjust
8921 (changeDepth): adjust
8923 (redoParagraphs): adjust
8924 (selectionAsString): adjust
8925 (setParagraph): adjust
8926 (insertInset): adjust
8927 (cutSelection): adjust
8928 (copySelection): adjust
8929 (pasteSelection): adjust
8930 (insertStringAsLines): adjust
8931 (updateInset): adjust
8932 (setCursor): change to take a ParagraphList::iterator parameter
8933 (setCursorIntern): change to take a ParagraphList::iterator parameter
8934 (setCurrentFont): adjust
8935 (cursorLeft): adjust
8936 (cursorRight): adjust
8937 (deleteEmptyParagraphMechanism): adjust
8939 * text.C (breakParagraph): adjust
8940 (insertChar): adjust
8941 (acceptChange): adjust
8942 (rejectChange): adjust
8943 (selectNextWordToSpellcheck): adjust
8944 (changeCase): adjust
8948 * lyxfind.C (SearchForward): adjust
8949 (SearchBackward): adjust
8950 (nextChange): adjust
8952 * lyxcursor.C (par): adjust
8954 * lyxcursor.h: store a ParagraphList::iterator instead of a
8957 * lyx_cb.C (getPossibleLabel): adjust
8959 * bufferview_funcs.C (toggleAndShow): adjust
8961 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8964 * BufferView.C (removeAutoInsets): adjust
8965 (lockedInsetStoreUndo): adjust
8967 2003-04-09 John Levon <levon@movementarian.org>
8969 * ToolbarBackend.C: try icon without argument
8970 if with argument fails
8972 2003-04-08 John Levon <levon@movementarian.org>
8975 * ToolbarBackend.C: add getIcon(), handle tooltip,
8976 and change from "Icon" to "Item".
8978 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8980 * BufferView.C (lockInset): another bad getchar crunched
8982 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8984 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8987 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8989 * lyxfind.C (searchForward, searchBackwards): bug 782
8991 2003-04-07 John Levon <levon@movementarian.org>
8993 * paragraph.C: remove dead comment
8995 * text.C: remove troublesome depth-fiddling code
8996 in leftMargin() and rightMargin() (bug 1017)
8998 * text.C: fix breaking of rows in nested lists
9001 * text2.C (updateCounters): fix up depth values
9004 2003-04-07 John Levon <levon@movementarian.org>
9006 * BufferView_pimpl.C: clear message when doc finishes resizing,
9007 and after a mouse event
9009 * lyxfunc.C: clear message after exiting inset
9011 2003-04-07 John Levon <levon@movementarian.org>
9013 * bufferview_funcs.C: show math status not outside
9014 status in the statusbar
9016 2003-04-07 John Levon <levon@movementarian.org>
9018 * lyxfunc.C: note status changed after a depth change
9020 2003-04-04 Angus Leeming <leeming@lyx.org>
9022 * LaTeX.h: move AuxInfo operator==, != out of line.
9023 Remove LaTeX virtual destructor; nothing derives from it.
9024 Move operator()() out of public area and rename it startscript().
9025 Change protected for private.
9027 2003-04-04 Angus Leeming <leeming@lyx.org>
9030 * text2.C: remove unneeded #includes.
9032 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9034 * text2.C (dEPM): fix the heigth of the next row
9036 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9038 * text.C: squashed an invalid getChar requester + some ws changes
9040 2003-04-03 John Levon <levon@movementarian.org>
9042 * bufferview_funcs.h:
9043 * bufferview_funcs.C:
9046 * text2.C: make getStatus work for the env depth lfuns
9048 2003-04-03 John Levon <levon@movementarian.org>
9050 * bufferview_funcs.h:
9051 * bufferview_funcs.C:
9054 * text2.C: parlistize decDepth(), by merging it with incDepth()
9056 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9058 * lyxrow.h: store a ParagraphList::iterator instead of a
9059 Paragraph* and adjust other class functions to suit.
9061 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9064 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9066 * text2.C (setCursor): do not anchor to cursor row for the time being
9068 2003-04-02 John Levon <levon@movementarian.org>
9075 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9077 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9079 * paragraph.h: make ParagraphList and ParagraphList::iterator
9080 friends of Paragraph.
9082 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9084 * ParagraphList.C: Use the private next_ and previous_ from
9087 2003-04-01 John Levon <levon@movementarian.org>
9091 * Makefile.am: rename, remove defaults gunk
9094 * MenuBackend.C: remove defaults gunk
9097 * Languages.C: remove defaults gunk
9100 * lyx_main.C: error out if files couldn't be found.
9102 2003-04-02 John Levon <levon@movementarian.org>
9104 * text2.C: make incDepth() use parlist
9106 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9108 * undo_funcs.C (firstUndoParagraph): adjust
9110 * text3.C (gotoInset): adjust
9111 (dispatch): adjust, and rewrite loop.
9113 * text2.C (init): adjust, and rewrite loop.
9114 (redoParagraphs): adjust
9115 (updateInset): adjust, and rewrite loop.
9116 (deleteEmptyParagraphMechanism): adjust
9118 * tabular.C (LyXTabular): adjust
9119 (SetMultiColumn): adjust
9122 * lyxtext.[Ch] (ownerParagraph): delete function
9123 (ownerParagraphs): new function returns a ParagraphList.
9125 * BufferView.C (removeAutoInsets): adjust
9126 (insertErrors): adjust
9127 (setCursorFromRow): adjust
9129 2003-04-01 Angus Leeming <leeming@lyx.org>
9131 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9134 2003-04-02 John Levon <levon@movementarian.org>
9140 * text_funcs.C: make transposeChars a free function
9142 * lyxrow_funcs.C: remove wrong comment
9144 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9147 * rowpainter.C: adjust
9152 * lyxrow_funcs. [Ch]: new files
9154 * lyxrow.[Ch]: remove next and previous pointers
9155 (next,previous): remove accessor functions
9156 (isParEnd): move to lyxrow_funcs
9157 (lastPos): move to lyxrow_funcs
9158 (nextRowIsAllInset): move to lyxrow_funcs
9159 (lastPrintablePos): move to lyxrow_funcs
9160 (numberOfSeparators): move to lyxrow_funcs
9161 (numberOfHfills): move to lyxrow_funcs
9162 (numberOfLabelHfills): move to lyxrow_funcs
9163 (hfillExpansion): move to lyxrow_funcs
9167 * bufferview_funcs.C (toggleAndShow): adjust
9169 * RowList.h: Remove class RowList from file leave just a
9172 * RowList.C: delete file
9174 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9177 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9179 * text3.C (cursorPrevious): adjust
9180 (cursorNext): adjust
9183 * text2.C (redoHeightOfParagraph): adjust
9184 (redoDrawingOfParagraph): adjust
9187 * text.C (breakParagraph): adjust
9188 (insertChar): adjust
9191 * rowpainter.C (RowPainter): adjust
9192 (leftMargin): simplify and adjust
9193 (most rowpainter functions): adjust.
9195 * rowpainter.h: store the row as RowList::iterator not as Row*
9197 * lyxcursor.C (row): taka RowList::iterator as arg
9200 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9203 2003-04-01 Angus Leeming <leeming@lyx.org>
9205 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9206 stuff like bool Bool.
9208 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9210 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9213 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9215 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9218 * lyxtext.h (rows): drop one version and leve a const variant that
9219 returns a RowList::iterator.
9221 2003-03-31 Angus Leeming <leeming@lyx.org>
9223 * text.C (fill): ensure that the signature is the same as that in the
9226 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9228 * text2.C (redoParagraphs): adjust
9229 (updateCounters): adjust
9230 (checkParagraph): adjust
9231 (getColumnNearX): adjust and reformat a bit.
9233 * text.C (top_y): adjust
9235 (leftMargin): adjust
9236 (prepareToPrint): adjust
9238 (getRowNearY): adjust
9240 * lyxtext.h: make rowlist_ mutable.
9242 * RowList.h: add const_iterator
9243 * RowList.C: adjust for RowList::const_iterator.
9245 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9248 2003-03-31 John Levon <levon@movementarian.org>
9251 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9253 * lyx_main.C: set default fonts from using lyx_gui funcs
9255 * exporter.C: pdf_mode moved from lyxrc
9258 * lyxfunc.C: changes from above
9260 2003-03-31 John Levon <levon@movementarian.org>
9262 * lyx_main.C: fix to the last fix
9264 2003-03-31 John Levon <levon@movementarian.org>
9266 * bufferlist.C: "Load original" -> "Load Original"
9272 * format.C: more Alert cleanups
9274 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9276 * text2.C (removeParagraph): make it take a RowList::iterator as
9278 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9279 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9281 * text.C (anchor_row): make it take a RowList::iterator as arg,
9283 (computeBidiTables): make it take a const reference to Row instead
9284 of Row pointer, adjust.
9285 (leftMargin): make it take a RowList::iterator as arg, adjust.
9286 (rowBreakPoint): adjust
9287 (breakAgainOneRow): make it take a RowList::iterator as arg,
9289 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9291 * bufferview_funcs.C (toggleAndShow): adjust
9293 2003-03-30 John Levon <levon@movementarian.org>
9297 * boost-inst.C: moved to support
9299 * several files: changes as a result
9301 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9303 * text2.C (LyXText): adjust.
9305 (removeRow): make it take a RowList::iterator as arg, adjust.
9306 (fullRebreak): adjust
9307 (deleteEmptyParagraphMechanism): adjust
9308 (clearPaint): adjust
9311 * text.C (top_y): adjust
9312 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9313 (breakAgain): make it take a RowList::iterator as arg, adjust.
9314 (breakParagraph): adjust
9315 (insertChar): adjust
9318 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9319 need_break_row, and refresh_row.
9321 * text3.C (dispatch): adjust
9323 * text2.C (checkParagraph): adjust
9325 (setCursorFromCoordinates): adjust
9327 * text.C (top_y): adjust
9329 (getRow): make it return a RowList::iterator, adjust
9330 (getRowNearY): make it return a RowList::iterator, adjust
9332 * text2.C (init): adjust
9333 (insertRow): remove function
9334 (insertParagraph): adjust
9335 (redoParagraphs): adjust
9336 (fullRebreak): adjust
9337 (updateCounters): adjust
9339 * text.C (top_y): rewrite to use RowList iterators.
9341 (setHeightOfRow): rewrite to sue RowList iterators.
9342 (appendParagraph): adjust
9343 (breakAgain): adjust
9344 (breakAgainOneRow): adjust
9345 (breakParagraph): adjust
9347 (getRowNearY): adjust, and remove commented code.
9349 * lyxtext.h (firstRow): delete function
9350 (lastRow): delete function
9351 (rows): new function (const and non-const versions.)
9352 (insertRow): delete function
9354 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9356 2003-03-29 John Levon <levon@movementarian.org>
9358 * BufferView_pimpl.C: always update scrollbar top
9359 because pasting text when we're anchored could mean we
9360 miss an update altogether
9362 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9364 * text2.C (init): use rowlist_.end() and not 0.
9365 (insertRow): change to take a RowList::iterator as arg, adjust
9367 (insertParagraph): change to take a RowList::iterator as arg,
9369 (redoParagraphs): remove some debug msgs.
9371 * text.C (appendParagraph): change to take a RowList::iterator
9372 arg, adjust for this.
9373 (breakAgain): add an assert
9374 (breakAgainOneRow): ditto
9376 2003-03-29 John Levon <levon@movementarian.org>
9378 * text2.C: do not clear selection after inc/decDepth
9381 2003-03-29 John Levon <levon@movementarian.org>
9384 * buffer.C: fix broken strerrors according to Lars
9386 2003-03-29 John Levon <levon@movementarian.org>
9388 * converters.C: more Alert cleanups
9390 2003-03-29 John Levon <levon@movementarian.org>
9392 * bufferview_funcs.C: remove pointless Alert
9394 * buffer.C: fix confusing error message when
9395 a template is chmoded 000
9397 2003-03-29 John Levon <levon@movementarian.org>
9401 * BufferView_pimpl.C: Alert fixes
9405 * tabular-old.C: remove unused table compat reading
9407 2003-03-29 John Levon <levon@movementarian.org>
9412 * lyx_cb.C: more Alert cleanups
9414 * lyxfunc.C: don't allow chktex if not latex document
9416 2003-03-29 John Levon <levon@movementarian.org>
9420 * buffer.C: warnings pushed down from support/,
9423 2003-03-29 John Levon <levon@movementarian.org>
9425 * lyxfunc.C: safety check for C-r (revert)
9427 2003-03-29 John Levon <levon@movementarian.org>
9430 * bufferlist.C: several UI fixes using Alert::prompt.
9431 Fix the pointless looping quit code. Fix stupid revert
9436 * lyx_cb.C: use Alert::prompt
9438 * lyx_main.C: remove a silly question
9440 * lyxfunc.C: remove a couple of silly questions,
9443 2003-03-28 John Levon <levon@movementarian.org>
9445 * text2.C: fix bug 974 (End on empty par)
9447 2003-03-28 John Levon <levon@movementarian.org>
9449 * BufferView_pimpl.C:
9451 * lfuns.h: remove do-nothing math greek lfuns
9453 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9455 * lyxgluelength.h (isValidGlueLength): add default arg on
9456 parameter 2. Remove default arg from friend in class.
9458 * lyxlength.h (isValidLength): add default arg on parameter 2.
9459 Remove default arg from friend in class.
9461 * text2.C (LyXText): adjust, initialize refresh_row.
9465 (insertParagraph): adjst
9466 (redoParagraphs): adjust
9467 (fullRebreak): adjust
9468 (updateCounters): adjust
9469 (deleteEmptyParagraphMechanism): first attempt at fixing a
9472 * text.C (top_y): adjust
9473 (setHeightOfRow): adjust
9475 (getRowNearY): adjust
9477 * lyxtext.h: include RowList.h
9478 (~LyXText): not needed anymore, deleted.
9479 (firstRow): modify for RowList
9480 (lastRow): new function
9481 Delete firstrow and lastrow class variables, add a Rowlist
9482 rowlist_ class variable.
9484 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9487 * RowList.C (insert): fix case where it == begin().
9489 2003-03-26 Angus Leeming <leeming@lyx.org>
9491 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9492 the thesaurus dialog.
9494 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9496 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9498 * RowList.[Ch]: new files
9500 * ParagraphList.C (erase): handle the case where it == begin
9503 2003-03-25 John Levon <levon@movementarian.org>
9507 * aspell.C: add new aspell support
9510 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9513 2003-03-25 Angus Leeming <leeming@lyx.org>
9516 * LyXAction.C (init): new LFUN_INSET_INSERT.
9518 * BufferView_pimpl.C (dispatch): split out part of the
9519 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9521 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9524 2003-03-25 Angus Leeming <leeming@lyx.org>
9526 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9528 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9531 * text3.C: remove useless row->height(0)
9533 2003-03-25 John Levon <levon@movementarian.org>
9537 * text3.C: rename the refreshing stuff to better names
9539 2003-03-24 John Levon <levon@movementarian.org>
9541 * BufferView_pimpl.h:
9542 * BufferView_pimpl.C: update layout choice on a mouse
9545 2003-03-23 John Levon <levon@movementarian.org>
9547 * Makefile.am: fix commandtags.h reference
9549 2003-03-22 John Levon <levon@movementarian.org>
9551 * BufferView_pimpl.C:
9556 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9558 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9561 * text.C: take the rtl methods out of line
9563 2003-03-21 André Pönitz <poenitz@gmx.net>
9565 * metricsinfo.[Ch]: new files containing structures to be passed around
9566 during the two-phase-drawing...
9568 2003-03-21 André Pönitz <poenitz@gmx.net>
9570 * lyxtextclass.C: read 'environment' tag.
9572 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9574 * text2.C (removeRow): fix bug 964
9576 2003-03-20 John Levon <levon@movementarian.org>
9580 * text2.C: paint cleanups. Inset::update() dropped font
9583 2003-03-19 John Levon <levon@movementarian.org>
9585 * lyxfunc.C: only fitcursor/markDirty if available()
9587 2003-03-19 John Levon <levon@movementarian.org>
9589 * commandtags.h: rename to ...
9591 * lfuns.h: ... this, and renumber / cleanup
9593 2003-03-19 John Levon <levon@movementarian.org>
9595 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9596 fit the cursor after an lfun
9600 * BufferView_pimpl.h:
9601 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9603 * LyXAction.C: layout-character should have ReadOnly
9605 * ParagraphParameters.C:
9607 * bufferview_funcs.C:
9614 * undo_funcs.C: changes from above
9616 2003-03-18 John Levon <levon@movementarian.org>
9618 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9619 remove it from update()
9621 * lyxfunc.C: update layout choice after an lfun
9623 * text3.C: remove extra updateLayoutChoice()s
9625 2003-03-18 John Levon <levon@movementarian.org>
9627 * text.C: top_y change means full repaint, fix
9628 a drawing bug with cursor movement
9630 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9634 * text2.C: anchor row on setCursor
9636 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9638 * lyxtext.h: remove almost all mutable keywords
9641 * text3.C: remove const keywords accordingly
9643 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9645 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9647 (TeXEnvironment): ditto
9650 2003-03-17 John Levon <levon@movementarian.org>
9652 * text.C (rowBreakPoint): remove attempt to fix displayed
9653 math insets inside a manual label
9655 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9657 * lyxtext.h: remove BufferView* as first arg from almost all class
9659 * other files: adjust.
9661 2003-03-17 John Levon <levon@movementarian.org>
9665 * text2.C: more paint cleanups
9667 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9670 * rowpainter.C: remove "smart" background painting code
9672 2003-03-16 John Levon <levon@movementarian.org>
9677 * text3.C: add helper functions for setting refresh_row/y
9679 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9681 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9682 newline inset which *can* get inserted in the pass_thru layouts.
9683 This is primarily for literate documents.
9685 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9687 * buffer.C: increment LYX_FORMAT to 223
9689 2003-03-14 André Pönitz <poenitz@gmx.net>
9691 * textclass.h: prepare for environment handling, ws changes
9692 * lyxlayout.C: read latexheader and latexfooter tags
9694 2003-03-14 John Levon <levon@movementarian.org>
9696 * text2.C: rewrite ::status() a bit
9698 2003-03-13 John Levon <levon@movementarian.org>
9700 * lyxtext.h: add some docs
9702 2003-03-13 John Levon <levon@movementarian.org>
9707 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9709 2003-03-13 John Levon <levon@movementarian.org>
9711 * text3.C: fix appendix redrawing
9713 2003-03-13 John Levon <levon@movementarian.org>
9715 * text.C (setHeightOfRow):
9717 * rowpainter.C: make appendix mark have the text
9718 "Appendix" so the user knows what it is
9721 * LColor.C: s/appendixline/appendix/ from above
9723 2003-03-13 John Levon <levon@movementarian.org>
9725 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9727 * text.C: fix a getChar(pos) bug properly
9729 2003-03-13 Angus Leeming <leeming@lyx.org>
9732 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9733 Probably only temporary. Let's see how things pan out.
9735 * BufferView.C (unlockInset):
9736 * BufferView_pimpl.C (fitCursor):
9737 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9739 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9740 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9742 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9743 new functions that convert ParagraphParameters to and from a string.
9745 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9746 BufferView::Pimpl's dispatch.
9747 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9749 2003-03-13 André Pönitz <poenitz@gmx.net>
9753 * factory.C: make it aware of InsetEnv
9755 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9757 * text2.C (setCursor): never ask for one past last
9758 (setCursor): add some debugging messages.
9760 * text.C (singleWidth): never ask for one past last
9761 (singleWidth): ditto
9763 (rightMargin): ditto
9764 (rowBreakPoint): ditto
9765 (setHeightOfRow): ditto
9766 (prepareToPrint): ditto
9768 * rowpainter.C (paintBackground): never ask for one past last
9769 (paintText): never ask for one past last
9771 * paragraph_pimpl.C (getChar): make the assert stricter, never
9772 allow the one past last pos to be taken
9774 * paragraph.C (getChar): ws changes only
9776 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9777 (numberOfSeparators): ditto
9778 (numberOfHfills): ditto
9780 2003-03-12 John Levon <levon@movementarian.org>
9786 * paragraph_funcs.C: fix per-buffer authorlists
9788 2003-03-12 John Levon <levon@movementarian.org>
9790 * text.C: fix newline in right address
9792 2003-03-12 Angus Leeming <leeming@lyx.org>
9794 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9795 duplicate those in LyXFunc::dispatch.
9799 * ToolbarDefaults.C:
9800 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9801 Add LFUN_FONTFREE_UPDATE.
9803 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9804 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9806 * bufferview_func.[Ch]: several new functions to facilliate
9807 transfer of data to and from the character dialog.
9809 2003-03-12 John Levon <levon@movementarian.org>
9814 * paragraph_funcs.C:
9815 * paragraph_pimpl.C:
9819 * text3.C: remove META_NEWLINE in favour of an inset
9822 * rowpainter.C: remove paintNewline (done by inset)
9824 2003-03-12 John Levon <levon@movementarian.org>
9826 * paragraph_pimpl.C: complain about bad getChar()s
9827 for a while at least
9829 2003-03-12 John Levon <levon@movementarian.org>
9832 * buffer.C: move paragraph read into a separate function,
9833 a little renaming to reflect that.
9836 * bufferparams.C: remove the author_ids map, not necessary now
9839 * factory.C: moved Buffer::readInset to here
9841 * paragraph_funcs.h:
9842 * paragraph_funcs.C: readParagraph free function moved from
9845 * tabular.C: name change
9847 2003-03-12 John Levon <levon@movementarian.org>
9850 * ParagraphParameters.C: move par params input to
9853 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9854 behave like a normal read from the stream wrt reading
9855 a line vs. a \\token
9857 2003-03-12 John Levon <levon@movementarian.org>
9860 * ParagraphParameters.h:
9861 * ParagraphParameters.C: move output code to a
9864 2003-03-12 John Levon <levon@movementarian.org>
9866 * BufferView.C (insertLyXFile):
9869 * tabular.C: use a parlist iterator for creating the
9872 2003-03-12 John Levon <levon@movementarian.org>
9874 * buffer.C: make current_change static local not
9877 2003-03-12 John Levon <levon@movementarian.org>
9879 * buffer.C: fix insertStringAsLines for change tracking
9881 2003-03-12 John Levon <levon@movementarian.org>
9888 * bufferparams.C: move author list into params. Rename some
9889 functions. Move the header reading into a separate token
9890 loop. Move the header token reading into BufferParams.
9892 2003-03-12 John Levon <levon@movementarian.org>
9894 * changes.C: put debug inside lyxerr.debugging() checks
9896 2003-03-11 André Pönitz <poenitz@gmx.net>
9898 * factory.C: make it aware of InsetHFill
9900 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9902 * buffer.C (latexParagraphs): move function from here...
9903 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9906 2003-03-10 Angus Leeming <leeming@lyx.org>
9908 * LyXAction.C (init): fix bug in poplating array with multiple entries
9909 with the same LFUN (spotted by JMarc).
9911 2003-03-10 John Levon <levon@movementarian.org>
9914 * text2.C: move getColumnNearX() near its
9917 2003-03-10 John Levon <levon@movementarian.org>
9919 * text.C: fix break before a minipage
9921 2003-03-10 John Levon <levon@movementarian.org>
9923 * text.C: fix the last commit
9925 2003-03-09 John Levon <levon@movementarian.org>
9929 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9930 bug 365 (don't break before insets unless needed). Don't
9931 return a value > last under any circumstances.
9933 2003-03-09 Angus Leeming <leeming@lyx.org>
9935 * BufferView_pimpl.C (trackChanges, dispatch): call
9936 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9938 2003-03-09 Angus Leeming <leeming@lyx.org>
9940 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9941 than Dialogs::showAboutlyx().
9943 2003-03-09 Angus Leeming <leeming@lyx.org>
9945 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9946 than Dialogs::showTabularCreate().
9948 2003-03-09 John Levon <levon@movementarian.org>
9952 * text2.C: 3rd arg to nextBreakPoint was always the same.
9955 2003-03-08 John Levon <levon@movementarian.org>
9962 * text2.C: Remove the "main" bit from the "main body"
9965 2003-03-08 John Levon <levon@movementarian.org>
9967 * text.C (leftMargin): The left margin of an empty
9968 manual label paragraph should not include the label width
9971 * text.C (prepareToPrint): don't attempt to measure hfills
9972 for empty manual label paragraphs - the answer should be 0
9974 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9976 * CutAndPaste.C: remove commented code and reindent.
9978 2003-03-08 John Levon <levon@movementarian.org>
9981 * lyxfunc.C: move reloadBuffer()
9984 * BufferView.C: to here
9986 * lyxvc.C: add comment
9989 * vc-backend.C: call bv->reload() to avoid
9990 getStatus() check on MENURELOAD
9992 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9994 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9995 to an old format .dep file.
9997 2003-03-07 Angus Leeming <leeming@lyx.org>
9999 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10000 when the LFUN_MOUSE_RELEASE should have been handled by
10001 inset->localDispatch.
10003 2003-03-07 Angus Leeming <leeming@lyx.org>
10005 * BufferView_pimpl.C (dispatch):
10006 * LyXAction.C (init):
10007 * ToolbarDefaults.C (init):
10009 * lyxfunc.C (getStatus):
10010 remove LFUN_INSET_GRAPHICS.
10012 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10014 2003-03-07 Angus Leeming <leeming@lyx.org>
10017 * LyXAction.C (init):
10018 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10020 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10023 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10025 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10026 localDispatch method LFUN_INSET_DIALOG_UPDATE.
10028 2003-03-07 Angus Leeming <leeming@lyx.org>
10030 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10033 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10035 * ParagraphList.C (front): new function
10038 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10040 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10041 and top_row_offset_. removed var first_y.
10043 * text2.C (LyXText, removeRow):
10045 * BufferView_pimpl.C:
10046 use these methods instead of using first_y
10048 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10050 * text2.C (pasteSelection): adjust for checkPastePossible
10052 * CutAndPaste.C: remove Paragraph * buf and replace with
10053 ParagraphList paragraphs.
10054 (DeleteBuffer): delete
10055 (cutSelection): change the tc type to textclass_type
10056 (copySelection): change the tc type to textclass_type
10057 (copySelection): adjust for ParagraphList
10058 (pasteSelection): change the tc type to textclass_type
10059 (pasteSelection): adjust for Paragraphlist
10060 (nrOfParagraphs): simplify for ParagraphList
10061 (checkPastePossible): simplify for ParagraphList
10062 (checkPastePossible): remove unused arg
10064 * ParagraphList.C (insert): handle the case where there are no
10067 * CutAndPaste.h: make CutAndPaste a namespace.
10069 * text3.C (dispatch): adjust
10071 * text.C (breakParagraph): add a ParagraphList as arg
10073 * paragraph_funcs.C (breakParagraph): change to take a
10074 BufferParams and a ParagraphList as args.
10075 (breakParagraphConservative): ditto
10076 (mergeParagraph): ditto
10077 (TeXDeeper): add a ParagraphList arg
10078 (TeXEnvironment): ditto
10081 * buffer.C (readLyXformat2): adjust
10082 (insertStringAsLines): adjust
10083 (latexParagraphs): adjust
10085 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10086 (cutSelection): adjust
10087 (pasteSelection): adjust
10089 * BufferView_pimpl.C (insertInset): adjust
10091 2003-03-05 Angus Leeming <leeming@lyx.org>
10094 * LyXAction.C (init):
10095 * BufferView_pimpl.C (dispatch):
10096 * lyxfunc.C (getStatus):
10097 remove LFUN_CHILD_INSERT.
10099 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10101 2003-03-05 Angus Leeming <leeming@lyx.org>
10104 * LyXAction.C (init):
10105 * src/factory.C (createInset):
10106 * lyxfunc.C (getStatus):
10107 * text3.C (dispatch):
10108 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10110 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10112 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10114 * ParagraphList.C (insert): handle insert right before end()
10115 (erase): fix cases where it can be first or last paragraph.
10117 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10119 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10120 Paragraph::next and Paragraph::previous
10123 * text.C (breakParagraph): adjust
10125 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10126 BufferParams& as arg.
10127 (breakParagraph): use ParagraphList::insert
10128 (breakParagraphConservative): take a Buffer* instead of a
10129 BufferParams& as arg.
10130 (breakParagraphConservative): use ParagraphList::insert.
10132 * buffer.C (insertStringAsLines): un-const it
10133 (insertStringAsLines): adjust
10135 * ParagraphList.C (insert): new function
10137 * CutAndPaste.C (pasteSelection): adjust
10139 * text.C (backspace): adjust
10141 * tabular.C (SetMultiColumn): adjust
10143 * CutAndPaste.C (cutSelection): adjust
10144 (pasteSelection): adjust
10146 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10147 Buffer const * as arg
10149 * ParagraphList.C (erase): new function
10150 * paragraph_funcs.C (mergeParagraph): use it
10151 (mergeParagraph): make it take a Buffer* instead of a
10152 BufferParams* as arg
10154 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10156 (breakParagraphConservative): ditto
10158 * paragraph.h: remove the breakParagraph friend
10160 * paragraph.C (eraseIntern): new function
10161 (setChange): new function
10163 * paragraph_funcs.C (mergeParagraph): make it take a
10164 ParagraphList::iterator instead of a Paragraph *, adjust
10167 * paragraph.h: move an #endif so that the change tracking stuff
10168 also works in the NO_NEXT case.
10170 2003-03-04 Angus Leeming <leeming@lyx.org>
10173 * LyXAction.C: new LFUN_INSET_MODIFY.
10175 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10176 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10178 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10180 * several files: ws changes only
10182 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10183 (TeXEnvironment): ditto
10186 * buffer.C (makeLaTeXFile): adjust
10187 (latexParagraphs): make it take ParagraphList::iterator as args
10189 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10191 * buffer.C (latexParagraphs): adjust
10193 * paragraph.C (TeXOnePar): move function...
10194 (optArgInset): move function...
10195 (TeXEnvironment): move function...
10196 * paragraph_pimpl.C (TeXDeeper): move function...
10197 * paragraph_funcs.C: ...here
10199 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10201 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10203 * buffer.C (readInset): remove compability code for old Figure and
10206 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10208 * buffer.C: ws changes
10211 * BufferView_pimpl.C: ditto
10214 * bufferlist.h: ditto
10218 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10220 * converter.[Ch]: split into itself +
10223 * Makefile.am: += graph.[Ch] + format.[Ch]
10230 * lyxrc.C: added #include "format.h"
10232 2003-02-27 Angus Leeming <leeming@lyx.org>
10234 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10237 * factory.C (createInset): add "label" to the factory.
10239 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10240 string and do no more.
10242 2003-02-27 Angus Leeming <leeming@lyx.org>
10245 * LyXAction.C (init):
10246 * factory.C (createInset):
10247 * BufferView_pimpl.C (dispatch):
10248 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10250 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10252 * lyxfunc.C (dispatch):
10253 * text3.C (dispatch): pass name to params2string.
10255 2003-02-26 Angus Leeming <leeming@lyx.org>
10257 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10259 Rearrange the ~includes. Strip out the unnecessary ones.
10261 * factory.C (createInset): reformat.
10262 create new insets for the various LFUN_XYZ_APPLY lfuns.
10264 2003-02-26 John Levon <levon@movementarian.org>
10267 * lyxrow.C: add isParStart,isParEnd helpers
10269 * paragraph.h: make isInserted/DeletedText take refs
10271 * paragraph_funcs.h:
10272 * paragraph_funcs.C: remove #if 0'd code
10277 * text.C: use lyxrow helpers above.
10278 Move draw and paint routines to RowPainter.
10279 Make several methods use refs not pointers.
10280 Make backgroundColor() const.
10281 Add markChangeInDraw(), isInInset().
10282 Merge changeRegionCase into changeCase.
10283 Make workWidth() shouldn't-happen code into an Assert.
10286 * rowpainter.C: new class for painting a row.
10289 * vspace.C: make inPixels take a ref
10291 2003-02-26 Angus Leeming <leeming@lyx.org>
10293 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10296 2003-02-25 John Levon <levon@movementarian.org>
10298 * ispell.C: give the forked command a more accurate name
10300 2003-02-22 John Levon <levon@movementarian.org>
10303 * toc.C: make TocItem store an id not a Paragraph *
10306 2003-02-21 Angus Leeming <leeming@lyx.org>
10308 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10309 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10310 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10311 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10312 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10313 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10315 * BufferView_pimpl.C (dispatch):
10316 * LyXAction.C (init):
10317 * factory.C (createInset):
10318 * lyxfunc.C (getStatus, dispatch):
10319 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10321 2003-02-21 Angus Leeming <leeming@lyx.org>
10323 * BufferView_pimpl.C (MenuInsertLyXFile):
10324 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10325 * lyxfunc.C (menuNew, open, doImport):
10326 no longer pass a LyXView & to fileDlg.
10328 2003-02-21 Angus Leeming <leeming@lyx.org>
10330 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10331 * LyXAction.C: change, BIBKEY to BIBITEM.
10332 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10333 Change InsetBibKey to InsetBibitem.
10334 Change BIBKEY_CODE to BIBITEM_CODE.
10335 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10336 * factory.C: replace insetbib.h with insetbibitem.h.
10337 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10338 * paragraph.C: replace insetbib.h with insetbibitem.h.
10339 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10340 Change bibkey() to bibitem().
10341 * text.C: remove insetbib.h.
10342 * text2.C: replace insetbib.h with insetbibitem.h.
10343 change bibkey() to bibitem().
10344 * text3.C: remove insetbib.h.
10345 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10347 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10349 * lyxrc.C (output): enclose user email in quotes (in case there are
10352 2003-02-18 John Levon <levon@movementarian.org>
10354 * buffer.h: add std::
10356 2003-02-17 John Levon <levon@movementarian.org>
10362 * pspell.C: reworking. Especially in ispell, a large
10363 number of clean ups and bug fixes.
10365 * lyxfunc.C: fix revert to behave sensibly
10367 2003-02-17 André Pönitz <poenitz@gmx.net>
10370 * commandtags.h: new LFUN_INSERT_BIBKEY
10380 * paragraph_func.C: remove special bibkey handling
10382 2003-02-17 John Levon <levon@movementarian.org>
10384 * text.C (Delete): fix case where delete at the end of
10385 the very first paragraph would not merge the pars
10387 2003-02-17 John Levon <levon@movementarian.org>
10389 * lyxrow.C: fix lastPrintablePos()
10391 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10393 * bufferparams.C (writeLaTeX): add a std:here
10395 * buffer.C: and remove a using directive there
10397 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10399 * buffer.C (makeLaTeXFile): move the code that generates the
10402 * bufferparams.C (writeLaTeX): ... in this new method
10404 * LaTeXFeatures.C (getEncodingSet): make const
10405 (getLanguages): make const
10407 * MenuBackend.C (binding): returns the binding associated to this
10409 (add): sets the status of each item by calling getStatus. Adds
10411 (read): add support for OptSubMenu
10412 (expand): remove extra separator at the end of expanded menu
10414 2003-02-15 John Levon <levon@movementarian.org>
10417 * BufferView_pimpl.C:
10419 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10420 inset code that had no actual effect. Remove unneeded status
10423 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10425 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10428 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10430 * text.C (drawLengthMarker): also draw an arrow marker for
10431 symbolic lengths (medskip...)
10433 2003-02-14 John Levon <levon@movementarian.org>
10436 * tabular.C: better method names
10438 2003-02-14 John Levon <levon@movementarian.org>
10440 * BufferView_pimpl.C:
10445 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10446 it's a more accurate name. Remove some pointless uses.
10448 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10450 * text2.C (LyXText): change order of initilizers to shut off
10453 2003-02-14 John Levon <levon@movementarian.org>
10455 * buffer.C: use ParIterator for getParFromID()
10459 * paragraph_pimpl.h:
10460 * paragraph_pimpl.C: remove unused getParFromID()
10462 2003-02-14 John Levon <levon@movementarian.org>
10464 * buffer.C: remove some very old #if 0'd parse code
10466 2003-02-13 John Levon <levon@movementarian.org>
10470 * text2.C: move hfillExpansion(), numberOfSeparators(),
10471 rowLast(), rowLastPrintable(), numberofHfills(),
10472 numberOfLabelHfills() ...
10475 * lyxrow.C: ... to member functions here.
10480 * text.C: remove LyXText::beginningOfMainBody(), and call
10481 p->beginningOfMainBody() directly. Move the check for
10482 LABEL_MANUAL into the latter.
10489 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10495 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10496 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10498 2003-02-13 John Levon <levon@movementarian.org>
10500 * CutAndPaste.C: remove debug
10502 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10504 * paragraph.C (asString): remove two unused variables
10506 * lyxtextclass.C (readTitleType):
10508 (LyXTextClass): handle new members titletype_ and titlename_
10510 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10512 2003-02-09 John Levon <levon@movementarian.org>
10515 * buffer.C: replace hand-coded list with a map for the dep clean
10517 2003-02-08 John Levon <levon@movementarian.org>
10519 * LaTeX.C: consolidate code into showRunMessage() helper
10521 2003-02-08 John Levon <levon@movementarian.org>
10526 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10527 and pass the size in explicitly
10529 * BufferView_pimpl.h:
10530 * BufferView_pimpl.C:
10532 * BufferView.C: add getCurrentChange()
10534 * BufferView_pimpl.h:
10535 * BufferView_pimpl.C: handle change lfuns
10537 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10538 for changes. Mark pasted paragraphs as new.
10540 * support/lyxtime.h:
10541 * support/lyxtime.C:
10542 * DepTable.C: abstract time_t as lyx::time_type
10545 * LColor.C: add colours for new text, deleted text, changebars
10547 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10548 package use "usenames" option.
10552 * LyXAction.C: add change lfuns
10556 * author.C: author handling
10559 * buffer.C: add a per-buffer author list, with first entry as
10560 current author. Handle new .lyx tokens for change tracking. Output
10561 author list to .lyx file. Output dvipost stuff to .tex preamble.
10562 Bump lyx format to 222.
10565 * bufferlist.C: add setCurrentAuthor() to reset current author details
10569 * bufferparams.C: add param for tracking
10571 * bufferview_funcs.C: output change info in minibuffer
10575 * changes.C: add change-tracking structure
10578 * debug.C: add CHANGES debug flag
10581 * lyxfind.C: add code for finding the next change piece
10584 * lyxrc.C: add user_name and user_email
10587 * lyxrow.C: add a metric for the top of the text line
10590 * text.C: implement accept/rejectChange()
10593 * text.C: paint changebars. Paint new/deleted text in the chosen
10594 colours. Strike through deleted text.
10598 * paragraph_pimpl.h:
10599 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10600 in the current change to the insert functions. Rework erase to
10601 mark text as deleted, adding an eraseIntern() and a range-based
10602 erase(). Implement per-paragraph change lookup and
10605 * paragraph_funcs.C: Fixup paste for change tracking.
10607 * tabular.C: mark added row/columns as new.
10609 * text.C: fix rowLast() to never return -1. Don't allow
10610 spellchecking of deleted text. Track transpose changes. Don't
10611 allow paragraph break or merge where appropriate.
10613 * text2.C: leave cursor at end of selection after a cut.
10615 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10617 * text.C (getLengthMarkerHeight):
10618 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10619 visible on screen too.
10621 2003-02-07 John Levon <levon@movementarian.org>
10623 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10625 2003-02-05 Angus Leeming <leeming@lyx.org>
10627 * lyxserver.C (read_ready): revert my patch of 11 September last year
10628 as it sends PC cpu through the roof. Presumably this means that
10629 the lyxserver will no longer run on an Alpha...
10631 2003-01-30 Angus Leeming <leeming@lyx.org>
10633 * factory.C (createInset): create an InsetCommandParam of type "index"
10634 and use it to 'do the right thing'.
10636 * text2.C (getStringToIndex): ensure that cursor position is always
10637 reset to the reset_cursor position.
10639 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10641 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10644 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10648 * lyxfunc.C: Output messages with identical spelling, punctuation,
10651 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10653 * MenuBackend.C (expandFormats): List only viewable export formats
10656 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10659 * lyxfunc.C (getStatus): Make sure that formats other than
10660 "fax" can also be disabled
10662 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10664 * text3.C (dispatch): put the lfuns that insert insets in 3
10665 groups, and call doInsertInset with appropriate arguments.
10666 (doInsertInset): new function, that creates an inset and inserts
10667 it according to some boolean parameters.
10669 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10671 * buffer.C (readFile): remember to pass on 'par' when calling
10672 readFile recursively.
10674 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10676 * MenuBackend.C (expandFormats): add "..." to import formats.
10678 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10680 * paragraph.C (asString): Remove XForms RTL hacks.
10682 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10683 * buffer.C: fix typo
10685 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10687 * Makefile.am (LIBS): delete var
10688 (lyx_LDADD): add @LIBS@ here instead.
10690 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10692 * Clarify the meaning of "wheel mouse jump"
10694 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10696 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10699 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10701 * importer.C (Loaders): do not preallocate 3 elements in the
10702 vector, since one ends up with 6 elements otherwise
10704 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10706 * DepTable.C (write): write the file name as last element of the
10707 .dep file (because it may contain spaces)
10708 (read): read info in the right order
10710 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10712 * paragraph_pimpl.C (simpleTeXBlanks):
10713 (simpleTeXSpecialChars):
10714 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10716 * tabular.C (latex): add some missing case statements. Reindent.
10718 * MenuBackend.C (expandToc): remove unused variable.
10720 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10729 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10732 2003-01-05 John Levon <levon@movementarian.org>
10735 * BufferView.C: add getEncoding()
10738 * kbsequence.C: do not store last keypress
10741 * lyxfunc.C: store last keypress here instead. Pass encoding
10744 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10746 * lyx_main.C (init): remove annoying error message when following
10747 symbolic links (bug #780)
10749 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10751 * text.C (insertChar):
10752 * lyxrc.C (getDescription): remove extra spaces
10754 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10756 * lyxrc.C (getDescription): remove extra spaces
10758 2002-12-20 John Levon <levon@movementarian.org>
10760 * text3.C: hack fix for page up/down across tall rows
10762 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10764 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10767 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10769 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10770 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10771 thesaurus is not compiled in
10773 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10775 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10777 2002-12-16 Angus Leeming <leeming@lyx.org>
10780 * lyx_main.C (init): remove override_x_deadkeys stuff.
10782 2002-12-12 John Levon <levon@movementarian.org>
10784 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10785 insert. Only remove shift modifier under strict
10788 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10790 * MenuBackend.C (expandToc): fix crash.
10792 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10794 * MenuBackend.C (expandToc): gettext on float names.
10796 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10798 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10799 implement bool empty() [bug 490]
10801 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10803 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10805 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10807 * several files: ws changes
10809 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10811 * text2.C (setCounter): clean up a bit, use boost.format.
10812 (updateCounters): initialize par upon declaration.
10814 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10815 if the layout exists. We do not just store the layout any more.
10816 (SwitchLayoutsBetweenClasses): use boost.format
10818 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10820 * converter.C (convert): if from and to files are the same, use a
10821 temporary files as intermediary
10823 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10826 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10828 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10830 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10832 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10834 * tabular.C (asciiPrintCell): use string(size, char) instead of
10837 * sgml.C (openTag): fix order of arguments to string constructor
10840 * lyxfunc.C (dispatch): use boost.format
10842 * lots of files: change "c" -> 'c'
10844 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10846 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10848 2002-11-25 Angus Leeming <leeming@lyx.org>
10850 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10852 * lyx_main.C (init): compile fix.
10854 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10856 * lyx_cb.C (start): boost.formatify
10857 do not include <iostream>
10859 * lengthcommon.C: ws only
10861 * boost-inst.C,BoostFormat.h: add more explict instantations
10863 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10865 * lots of files: handle USE_BOOST_FORMAT
10867 2002-11-21 John Levon <levon@movementarian.org>
10869 * pspell.C: fix compile
10871 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10873 * lyxfunc.C (dispatch): use boost::format
10877 * lyxfont.C (stateText): use boost::format
10879 * lyx_main.C (LyX): use boost::format
10881 (queryUserLyXDir): ditto
10882 (readRcFile): ditto
10884 (typedef boost::function): use the recommened syntax.
10886 * importer.C (Import): use boost::format
10888 * debug.C (showLevel): use boost::format
10890 * converter.C (view): use boost::format
10895 * bufferview_funcs.C (currentState): use boost::format
10897 * bufferlist.C (emergencyWrite): use boost::format
10899 * buffer.C (readLyXformat2): use boost::format
10900 (parseSingleLyXformat2Token): ditto
10902 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10904 * LaTeX.C (run): use boost::format
10906 * Chktex.C (scanLogFile): use boost::format
10908 * BufferView_pimpl.C (savePosition): use boost::format
10909 (restorePosition): ditto
10910 (MenuInsertLyXFile): ditto
10912 * BoostFormat.h: help file for explicit instation.
10914 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10916 * tabular.C (latex): Support for block alignment in fixed width
10919 2002-11-17 John Levon <levon@movementarian.org>
10921 * BufferView_pimpl.C:
10923 * lyxfunc.C: split filedialog into open/save
10925 2002-11-08 Juergen Vigna <jug@sad.it>
10927 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10928 by my last patch (hopefully).
10930 2002-11-08 John Levon <levon@movementarian.org>
10939 * toc.C: ParConstIterator, and use it (from Lars)
10941 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10943 * lyxtextclass.[Ch]: revise and add doxygen comments
10945 2002-11-07 John Levon <levon@movementarian.org>
10947 * text.C: fix progress value for spellchecker
10949 * toc.C: fix navigate menu for insetwrap inside minipage
10951 * paragraph_funcs.C: added FIXME for suspect code
10953 2002-11-07 John Levon <levon@movementarian.org>
10955 * BufferView_pimpl.C: fix redrawing of insets
10958 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10960 * text2.C (updateCounters): fix bug 668
10962 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10964 * text3.C (dispatch): Do not make the buffer dirty when moving the
10967 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10969 * vc-backend.C: STRCONV
10970 (scanMaster): ditto
10972 * text2.C (setCounter): STRCONV
10974 * paragraph.C (asString): STRCONV
10976 * lyxlength.C (asString): STRCONV
10977 (asLatexString): ditto
10979 * lyxgluelength.C (asString): STRCONV
10980 (asLatexString): ditto
10982 * lyxfunc.C (dispatch): STRCONV
10985 * lyxfont.C (stateText): STRCONV
10987 * importer.C (Import): STRCONV
10989 * counters.C (labelItem): STRCONV
10990 (numberLabel): ditto
10991 (numberLabel): remove unused ostringstream o
10996 * bufferview_funcs.C (currentState): STRCONV
10998 * buffer.C (readFile): STRCONV
10999 (asciiParagraph): ditto
11000 (makeLaTeXFile): ditto
11002 * Spacing.C (writeEnvirBegin): STRCONV
11004 * LaTeXFeatures.C (getLanguages): STRCONV
11005 (getPackages): ditto
11007 (getBabelOptions): ditto
11008 (getTClassPreamble): ditto
11009 (getLyXSGMLEntities): ditto
11010 (getIncludedFiles): ditto
11014 (scanAuxFile): ditto
11017 * LString.h: add the STRCONV macros
11019 * BufferView_pimpl.C (savePosition): STRCONV
11020 (restorePosition): ditto
11021 (MenuInsertLyXFile): ditto
11023 * vc-backend.C (scanMaster): change from submatch[...] to
11026 * funcrequest.C: include config.h
11028 * factory.C: include config.h
11030 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11032 * box.C: include config.h
11034 * LaTeX.C (scanAuxFile): change from submatch[...] to
11038 2002-10-25 Angus Leeming <leeming@lyx.org>
11040 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11042 * ispell.[Ch] (setError): new method.
11043 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11044 Use setError() insetead of goto END.
11046 * lyx_cb.C (AutoSave): move out child process into new class
11049 2002-10-30 John Levon <levon@movementarian.org>
11051 * text3.C: make start appendix undoable
11053 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11055 * lyxlength.C (inPixels): Fix returned value.
11057 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11060 2002-10-24 Angus Leeming <leeming@lyx.org>
11062 * lyxgluelength.h: no need to forward declare BufferParams
11063 or BufferView, so don't.
11065 2002-10-21 John Levon <levon@movementarian.org>
11067 * BufferView.C: menuUndo ->undo, redo
11069 * BufferView.h: document, remove dead, make some methods private
11071 * paragraph_funcs.h:
11072 * paragraph_funcs.C:
11073 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11078 * sgml.C: move sgml open/close tag into sgml.C
11080 * bufferview_funcs.h: unused prototype
11083 * lyxfunc.C: remove unused
11086 * text.C: remove unused
11088 2002-10-21 John Levon <levon@movementarian.org>
11092 * BufferView_pimpl.h:
11093 * BufferView_pimpl.C: fix mouse wheel handling based on
11094 patch from Darren Freeman
11096 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11098 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11100 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11102 * lyxlength.C (inPixels): Fix hanfling of negative length.
11103 Fix LyXLength::MU case.
11105 2002-10-16 John Levon <levon@movementarian.org>
11107 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11109 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11111 * converter.C (view): add support for $$i (file name) and $$p
11112 (file path) for the viewer command. If $$i is not specified, then
11113 it is appended to the command (for compatibility with old syntax)
11115 2002-10-14 Juergen Vigna <jug@sad.it>
11117 * undo_funcs.C (textHandleUndo): alter the order in which the
11118 new undopar is added to the LyXText, as we have to set first
11119 the right prev/next and then add it as otherwise the rebuild of
11120 LyXText is not correct. Also reset the cursor to the right paragraph,
11121 with this IMO we could remove the hack in "redoParagraphs()".
11123 2002-10-09 Angus Leeming <leeming@lyx.org>
11125 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11126 to turn off an optimisation if a new inset is to be inserted.
11128 2002-10-11 André Pönitz <poenitz@gmx.net>
11130 * lyxtext.h: make some functions public to allow access
11131 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11133 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11135 * text3.C (dispatch): when changing layout, avoid an infinite loop
11138 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11140 * lyxrc.C (read): treat a viewer or converter command of "none" as
11143 * MenuBackend.C (expandFormats): for an update, also allow the
11144 formats that are not viewable
11146 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11147 script if it is newer than the lyxrc.defaults in user directory
11149 2002-10-07 André Pönitz <poenitz@gmx.net>
11151 * text.C: Vitaly Lipatov's small i18n fix
11153 2002-09-25 Angus Leeming <leeming@lyx.org>
11155 * ispell.h: doxygen fix.
11157 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11159 * buffer.h (readFile): Add a new argument to the method, to allow
11160 reading of old-format templates.
11162 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11164 * toc.C (getTocList): Get TOC from InsetWrap.
11166 2002-09-16 John Levon <levon@movementarian.org>
11168 * lyxfunc.C: check tabular for cut/copy too
11170 2002-09-12 John Levon <levon@movementarian.org>
11172 * LyXAction.C: tidy
11175 * factory.C: add header
11177 * paragraph_funcs.h:
11178 * paragraph_funcs.C: cleanup
11180 2002-09-11 John Levon <levon@movementarian.org>
11182 * PrinterParams.h: odd/even default to true
11184 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11186 * PrinterParams.h: update printer parameters for new xforms dialog
11188 2002-09-11 Angus Leeming <leeming@lyx.org>
11190 * lyxserver.C (read_ready): re-write to make it more transparent
11191 and to make it work in coherent fashion under Tru64 Unix.
11193 2002-09-11 André Pönitz <poenitz@gmx.net>
11197 * text3.C: implement LFUN_WORDSEL
11199 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11201 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11202 make floatlist_ a boost::shared_ptr<FloatList>
11204 * lyxtextclass.C: include FloatList.h
11205 (LyXTextClass): initialize floatlist_
11206 (TextClassTags): add TC_NOFLOAT
11207 (Read): match "nofloat" to TC_NOFLOAT and use it.
11208 (readFloat): modify call to floatlist_
11212 * FloatList.[Ch] (FloatList): remove commented out float
11214 (erase): new function
11216 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11218 * MenuBackend.C (expandToc): fix crash when there is no document
11221 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11223 * many files: Add insetwrap.
11225 2002-09-09 John Levon <levon@movementarian.org>
11227 * text2.C: remove confusing and awkward depth wraparound
11229 2002-09-09 John Levon <levon@movementarian.org>
11231 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11234 * buffer.C: remove getIncludeonlyList()
11237 * lyxfunc.C: remove headers
11239 2002-09-09 Juergen Vigna <jug@sad.it>
11241 * text.C (getColumnNearX): fix form Michael this is most
11242 probably a cut&paste bug.
11244 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11246 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11248 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11249 references, ws changes.
11251 * text2.C (init): update counters after init
11252 (insertParagraph): no need to set counter on idividual paragraphs.
11253 (setCounter): access the counters object in the textclass object
11254 on in the buffer object.
11255 (updateCounters): ditto
11257 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11258 shared_ptr<Counters> to avoid loading counters.h in all
11260 (LyXTextClass): initialize ctrs_
11261 (TextClassTags): add TC_COUNTER, and ...
11262 (Read): use it here.
11263 (CounterTags): new tags
11264 (readCounter): new function
11265 (counters): new funtion
11266 (defaultLayoutName): return a const reference
11268 * counters.C (Counters): remove contructor
11269 (newCounter): remove a couple of unneeded statements.
11270 (newCounter): simplify a bit.
11271 (numberLabel): some small formatting changes.
11273 * buffer.[Ch]: remove all traces of counters, move the Counters
11274 object to the LyXTextClass.
11276 2002-09-06 Alain Castera <castera@in2p3.fr>
11278 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11279 package to set the horizontal alignment on fixed width columns.
11282 * lyx_sty.h: added tabularnewline macro def.
11284 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11286 2002-09-06 John Levon <levon@movementarian.org>
11288 * LyXAction.C: tooltips for sub/superscript
11290 * MenuBackend.C: a bit more verbose
11292 * lyxfunc.C: tiny clean
11294 * undo_funcs.C: document undo_frozen
11296 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11298 * counters.C (Counters): add missing algorithm counter.
11300 * text2.C (setCounter): lookup the counter with layouts latexname
11301 instead of by section number.
11302 (setCounter): use a hackish way to lookup the correct enum
11304 a float name->type change
11305 reset enum couners with counter name directly instead of depth value.
11307 * counters.C (Counters): remove the push_backs, change to use the
11308 float type not the float name.
11309 (labelItem): remove unused string, float name->type change
11311 * counters.h: don't include vector, loose the enums and sects vectors
11313 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11315 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11316 (Read): add float->TC_FLOAT to textclassTags
11317 (Read): and handle it in the switch
11318 (readFloat): new function
11320 * FloatList.C (FloatList): comment out the hardcoded float
11323 * lyxlayout.h: ws change.
11325 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11327 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11329 2002-09-03 Angus Leeming <leeming@lyx.org>
11331 * BufferView_pimpl.h: qualified name is not allowed in member
11332 declaration: WorkArea & Pimpl::workarea() const;
11334 * factory.C: added using std::endl directive.
11336 * text3.C: added using std::find and std::vector directives.
11338 2002-08-29 André Pönitz <poenitz@gmx.net>
11341 * text2.C: remove unused member number_of_rows
11344 * BufferView2.C: remove file, move contents to...
11345 * BufferView.C: ... here
11347 * BufferView_pimpl.C:
11348 * factory.C: move more inset creation to factory
11350 * vspace.C: avoid direct usage of LyXText, ws changes
11353 don't provide direct access to WorkArea, use two simple
11354 acessors haveSelction() and workHeight() instead
11357 2002-08-29 John Levon <levon@movementarian.org>
11359 * BufferView_pimpl.C (dispatch): do not continue when
11362 2002-08-28 André Pönitz <poenitz@gmx.net>
11364 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11367 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11369 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11371 * buffer.C: increment LYX_FORMAT to 221
11373 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11374 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11376 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11378 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11380 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11382 * factory.C (createInset): use LyXTextClass::floats
11384 * MenuBackend.C (expandFloatListInsert):
11385 (expandFloatInsert):
11388 * text2.C (setCounter):
11390 * LaTeXFeatures.C (useFloat):
11391 (getFloatDefinitions):
11393 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11395 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11396 floatlist_, with accessor floats().
11398 * FloatList.h: remove global FloatList
11400 2002-08-26 André Pönitz <poenitz@gmx.net>
11402 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11406 * BufferView_pimpl.C:
11407 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11409 2002-08-25 John Levon <levon@movementarian.org>
11411 * LyXAction.C: fix margin note description
11413 2002-08-24 John Levon <levon@movementarian.org>
11417 * bufferview_funcs.C:
11419 * undo_funcs.C: cleanups
11421 * lyxfunc.C: disable CUT/COPY when no selection
11423 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11425 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11426 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11428 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11429 Add backward compatibility to "mono", "gray" and "no".
11431 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11433 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11434 (and file_format >= 200).
11436 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11438 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11440 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11442 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11444 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11446 * BufferView_pimpl.C:
11453 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11454 inset and code to make it work with the paragraph code. The inset
11455 can be anywhere in the paragraph, but will only do the expected
11456 thing in LaTeX if the layout file contains the parameter line
11458 (or more generally, a nonzero value) for that layout.
11460 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11462 * paragraph.h: remove the declaration of undefined counters class
11465 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11467 * text2.C (setCounter): fixed enumeration mis-count as reported by
11468 Dr. Richard Hawkins.
11470 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11472 * paragraph_funcs.h: remove some unneeded includes
11474 * text.C (backspace): pasteParagraph now in global scipe
11476 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11477 (pasteSelection): ditto
11479 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11480 * paragraph_funcs.C (pasteParagraph): ... here
11482 2002-08-20 André Pönitz <poenitz@gmx.net>
11484 * commandtags.h: new LFUNs for swapping/copying table row/colums
11487 * lyxfunc.C: support for new lfuns
11489 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11492 * buffer.[Ch]: remove NO_COMPABILITY stuff
11494 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11496 * boost.C (throw_exception): new file, with helper function for
11497 boost compiled without exceptions.
11502 * ParameterStruct.h:
11503 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11505 * bufferlist.C (emergencyWriteAll): use boost bind
11507 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11509 * text.C: include paragraph_funcs.h
11510 (breakParagraph): breakParagraph is now in global scope
11512 * paragraph_funcs.[Ch]: new files
11514 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11517 * buffer.C: include paragraph_funcs.h
11518 (insertStringAsLines): breakParagraph is now in global scope
11520 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11523 * CutAndPaste.C: include paragraph_funcs.h
11524 (cutSelection): breakParagraphConservative is now in global scope
11525 (pasteSelection): ditto
11527 * buffer.h: declare oprator== and operator!= for
11528 Buffer::inset_iterator
11530 * bufferlist.C (emergencyWrite): don't use fmt(...)
11532 * text3.C: add using std::endl
11534 * BufferView.C (moveCursorUpdate): remove default arg
11536 2002-08-20 André Pönitz <poenitz@gmx.net>
11538 * buffer.[Ch]: move inline functions to .C
11541 * BufferView_pimpl.C:
11543 * buffer.[Ch]: use improved inset_iterator
11546 * paragraph.[Ch]: write one paragraph at a time
11548 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11550 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11551 style if style is not specified.
11553 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11555 * text2.C (setCounter): when searching for right label for a
11556 caption, make sure to recurse to parent insets (so that a caption
11557 in a minipage in a figure float works) (bug #568)
11559 2002-08-20 André Pönitz <poenitz@gmx.net>
11561 * text3.C: new file for LyXText::dispatch() and helpers
11563 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11565 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11567 2002-08-19 André Pönitz <poenitz@gmx.net>
11570 * text.C: new LyXText::dispatch()
11572 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11574 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11576 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11578 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11581 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11583 * Makefile.am: use $(variables) instead of @substitutions@
11585 2002-08-15 André Pönitz <poenitz@gmx.net>
11588 * BufferView_pimpl.C: streamlining mathed <-> outer world
11592 * LyXAction.C: remove unused LFUN_MATH
11594 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11596 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11598 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11600 * paragraph.C (Paragraph): reformat a bit
11601 (cutIntoMinibuffer): use builtin InsetList function instad of
11605 * buffer.C: include boost/bind.hpp, add using std::for_each
11606 (writeFileAscii): use ParagraphList iterators
11607 (validate): use for_each for validate traversal of paragraphs
11608 (getBibkeyList): use ParagraphList iterators
11609 (resizeInsets): use for_each to resizeInsetsLyXText for all
11611 (getParFromID): use ParagraphList iterators
11613 * BufferView2.C (lockInset): use paragraph list and iterators
11615 2002-08-14 John Levon <levon@movementarian.org>
11617 * lyxserver.C: remove spurious xforms include
11619 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11621 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11623 2002-08-13 André Pönitz <poenitz@gmx.net>
11626 * lyxfunc.C: further cleaning
11628 2002-08-13 André Pönitz <poenitz@gmx.net>
11630 * funcrequest.h: new constructor
11632 * funcrequest.C: move stuff here from .h
11635 * BufferView_pimpl.C:
11638 * lyxfunc.C: subsequent changes
11640 * lyxfunc.h: new view() member function
11642 * lyxfunc.C: subsequent changes
11644 2002-08-13 Angus Leeming <leeming@lyx.org>
11647 * BufferView_pimpl.C:
11655 changes due to the changed LyXView interface that now returns references
11656 to member variables not pointers.
11658 2002-08-13 Angus Leeming <leeming@lyx.org>
11660 * WordLangTuple (word, lang_code): return references to strings,
11665 * lyxtext.h: forward-declare WordLangTuple.
11670 * text.C: #include "WordLangTuple.h".
11673 * text.C: (selectNextWordToSpellcheck): constify return type.
11675 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11681 * paragraph_pimpl.h:
11684 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11685 suggested by Angus.
11686 Made updateCounter always count from start of buffer, and removed
11687 second argument (par).
11688 Reverted floats number display to '#'. Perhaps I'll try again when the
11689 code base is sanitized a bit.
11691 2002-08-12 Angus Leeming <leeming@lyx.org>
11693 * buffer.[Ch] (getLabelList): constify.
11695 2002-08-07 André Pönitz <poenitz@gmx.net>
11697 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11699 * funcrequest.h: extension to keep mouse (x,y) position
11701 2002-08-12 Juergen Vigna <jug@sad.it>
11703 * BufferView2.C (insertErrors): forbid undo when inserting error
11706 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11708 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11710 * ParagraphList.[Ch]: new files
11712 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11714 * BufferView2.C (lockInset): ParagraphList changes
11717 * bufferlist.C: ditto
11721 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11723 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11724 unused class variable counter_,
11726 * paragraph.[Ch] (getFirstCounter): delete unused function
11728 * counters.C: include LAssert.h
11729 (reset): add a new function with no arg, change other version to
11730 not have def. arg and to not allow empty arg.
11732 * text2.C (setCounter): remove empty arg from call to Counters::reset
11734 2002-08-11 John Levon <levon@movementarian.org>
11736 * Makefile.am: add WordLangTuple.h
11738 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11740 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11741 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11743 * insets/insettext.C: InsetList changes
11745 * graphics/GraphicsSupport.C (operator()): InsetList changes
11747 * toc.C (getTocList): InsetList changes
11749 * paragraph_pimpl.[Ch]: InsetList changes
11751 * paragraph.[Ch]: InsetList changes
11753 * buffer.C (inset_iterator): InsetList changes
11754 (setParagraph): ditto
11755 * buffer.h (inset_iterator): ditto
11756 * iterators.C (operator++): ditto
11757 * iterators.h: ditto
11759 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11761 * InsetList.[Ch]: new files, most InsetList handling moved out of
11764 * BufferView2.C (removeAutoInsets): InsetList changes
11766 (ChangeInsets): ditto
11768 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11770 * paragraph_pimpl.h (empty): new function
11772 * paragraph.[Ch] (empty): new function
11774 * other files: use the new Paragraph::empty function
11776 2002-08-09 John Levon <levon@movementarian.org>
11778 * lyxtext.h: remove unused refresh_height
11780 2002-08-09 John Levon <levon@movementarian.org>
11787 * paragraph.C: move sgml char escaping out of paragraph
11790 * paragraph.C: remove id setter
11794 * paragraph_pimpl.C: remove dead tex_code_break_column
11796 * bufferview_funcs.C: small cleanup
11798 * lyxfunc.C: remove dead proto
11800 * lyxtext.h: make some stuff private. Remove some dead stuff.
11802 * lyxgluelength.C: make as[LyX]String() readable
11804 2002-08-08 John Levon <levon@movementarian.org>
11809 * ToolbarDefaults.C:
11812 * toc.C: lyxaction cleanup
11814 2002-08-08 John Levon <levon@movementarian.org>
11816 * BufferView2.C: small cleanup
11819 * lyxfind.C: move unnecessary header into the .C
11821 2002-08-08 John Levon <levon@movementarian.org>
11823 * funcrequest.h: just tedious nonsense
11826 * lyx_main.C: cleanups
11829 * vspace.C: remove dead header lyx_main.h
11831 2002-08-07 Angus Leeming <leeming@lyx.org>
11834 * paragraph_pimpl.h:
11835 Forward declare class Counters in paragraph.h by moving the ctrs member
11836 variable into Paragraph::Pimpl.
11837 (counters): new method, returning a reference to pimpl_->ctrs.
11839 * text2.C: ensuing changes.
11841 2002-08-07 John Levon <levon@movementarian.org>
11843 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11845 * BufferView_pimpl.C: announce X selection on double/triple
11848 * lyx_main.C: use correct bool in batch dispatch
11850 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11852 2002-08-07 André Pönitz <poenitz@gmx.net>
11854 * funcrequest.h: new class to wrap a kb_action and its argument
11857 * BufferView_pimpl[Ch]:
11861 * lyxrc.C: subsequent changes
11864 2002-08-07 John Levon <levon@movementarian.org>
11866 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11867 document options change.
11869 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11874 * makefile.am: move counters functionality over from
11875 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11877 2002-08-06 John Levon <levon@movementarian.org>
11879 * WordLangTuple.h: new file for word + language code tuple
11890 * BufferView2.C: use WordLangTuple
11893 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11895 2002-08-06 John Levon <levon@movementarian.org>
11897 * lyx_main.C: fix cmdline batch handling
11899 2002-08-06 André Pönitz <poenitz@gmx.net>
11901 * lyxrc.C: set default for show_banner to true
11903 2002-08-06 John Levon <levon@movementarian.org>
11905 * pspell.C: fix a crash, and allow new aspell to work
11907 2002-08-06 John Levon <levon@movementarian.org>
11910 * kbmap.C: small cleanup
11913 * vspace.C: add const
11915 2002-08-05 John Levon <levon@movementarian.org>
11917 * LyXAction.C: back to tabular-insert
11919 2002-08-04 John Levon <levon@movementarian.org>
11922 * BufferView.C: cosmetic change
11924 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11934 * BufferView2.C: purge all "Lyx" not "LyX" strings
11937 * lyxcursor.C: attempt to add some documentation
11942 * ToolbarDefaults.C:
11943 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11944 merge with LFUN_TABULAR_INSERT
11951 * pspell.C: split up i/pspell implementations into separate
11952 files, many cleanups
11954 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11956 * text2.C: some cleanup
11958 * lyxfunc.C: don't check for isp_command == "none" any more, it
11959 didn't make any sense
11961 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11966 * makefile.am: move counters functionality over
11967 from text2.C/paragraph.[Ch] to counters.[Ch], and
11969 2002-08-02 John Levon <levon@movementarian.org>
11971 * buffer.C: s/lyxconvert/lyx2lyx/
11973 2002-08-02 Angus Leeming <leeming@lyx.org>
11975 * lyxlex.C: revert John's change as it breaks reading of the user
11978 2002-08-02 Angus Leeming <leeming@lyx.org>
11980 * importer.C (Import):
11981 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11982 changes due to LyXView::view() now returning a boost::shared_ptr.
11984 2002-08-02 John Levon <levon@movementarian.org>
11986 * lyxlex.C: small cleanup
11988 2002-08-02 John Levon <levon@movementarian.org>
11990 * text2.C (status): small cleanup, no logic change
11992 2002-08-01 John Levon <levon@movementarian.org>
11995 * buffer.C (writeFile): don't output alerts, caller
11999 * lyx_cb.C: from above
12001 * lyxfunc.C: allow to open non-existent files
12003 2002-07-31 John Levon <levon@movementarian.org>
12005 * lyxserver.C: don't let incidental errors get
12008 2002-07-30 John Levon <levon@movementarian.org>
12010 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12012 2002-07-30 John Levon <levon@movementarian.org>
12015 * lyxserver.C: remove I/O callback too
12017 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12019 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12022 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
12024 * many files: strip,frontStrip -> trim,ltrim,rtrim
12026 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
12028 * PrinterParams.h: remove extern containsOnly, and include
12029 support/lstrings.h instead.
12031 * LaTeX.C (scanAuxFile): modify because of strip changes
12033 * buffer.C (makeLaTeXFile): ditto
12034 * bufferparams.C (writeFile): ditt
12035 * lyxfont.C (stateText): ditto
12036 * lyxserver.C (read_ready): ditto
12037 * vc-backend.C (scanMaster): ditto
12039 * BufferView_pimpl.h: ws changes
12041 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12043 2002-07-26 André Pönitz <poenitz@gmx.net>
12045 * kb_sequence.C: remove unnedred usings
12047 2002-07-26 Juergen Vigna <jug@sad.it>
12049 * lyxfind.C (LyXReplace): we have to check better if the returned
12050 text is not of theLockingInset()->getLockingInset().
12052 2002-07-25 Juergen Vigna <jug@sad.it>
12054 * lyxfind.C (LyXReplace): don't replace if we don't get the
12057 * undo_funcs.C (createUndo): remove debugging code.
12059 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12061 * buffer.C (parseSingleLyXformat2Token): Use default placement
12062 when reading old floats.
12064 * FloatList.C (FloatList): Change the default placement of figure
12065 and tables to "tbp".
12067 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12069 * MenuBackend.C: using std::max
12071 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12073 * MenuBackend.C (expandToc):
12074 (expandToc2): code moved from xforms menu frontend. It is now
12075 generic and TOCs are transparent to menu frontends.
12077 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12079 * toc.C (getTocList): protect against buf=0
12081 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12082 Menu as first parameter. Now, this calls itself recursively to
12083 expand a whole tree (this will be useful for TOC handling)
12084 (expandFloatInsert): remove 'wide' version of floats
12086 * MenuBackend.h (submenuname): returns the name of the submenu.
12087 (submenu): returns the submenu itself, provided it has been
12088 created by MenuBackend::expand
12090 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12092 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12093 insets which have noFontChange == true. (bug #172)
12095 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12097 * BufferView_pimpl.C: add connection objects and use them...
12100 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12102 * MenuBackend.C (expandLastfiles):
12105 (expandFloatListInsert):
12106 (expandFloatInsert):
12107 (expand): split expand in parts
12109 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12111 * lyx_gui.C: use lyx_gui::exit()
12113 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12115 * LyXAction.C: show the failing pseudo action
12117 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12119 * buffer.C (readFile): Run the lyxconvert script in order to read
12122 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12126 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12128 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12132 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12134 2002-07-22 Herbert Voss <voss@lyx.org>
12137 * lyxlength.[Ch]: add support for the vertical lengths
12139 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12141 * toc.[Ch]: std:: fixes
12143 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12145 * lyxrc.C: do not include lyx_main.h
12147 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12153 * BufferView2.C: include "lyxlex.h"
12156 * bufferparams.h: do not #include "lyxlex.h"
12158 * lyxtextclasslist.C (Add): remove method
12159 (classlist): renamed to classlist_
12161 * paragraph_pimpl.C:
12165 * bufferview_funcs.C:
12170 * toc.C (getTocList): use BufferParams::getLyXTextClass
12172 * toc.C (getTocList): use InsetFloat::addToToc
12174 * toc.[Ch]: new files, containing helper functions to handle table
12177 * lyxfunc.C (dispatch): no need to remove spaces around command
12179 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12180 first command of the sequence; it is not very clever, but I do not
12181 have a better idea, actually
12183 * LyXAction.C (LookupFunc): make sure to remove space at the
12184 beginning and end of the command
12186 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12188 * MenuBackend.C (getMenubar): new method: return the menubar of
12190 (read): treat differently reading of menu and menubar (in
12191 particular, the menubar has no name now)
12192 (Menu::menubar): remove
12194 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12197 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12199 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12200 a bibitem inset in a RTL paragraph.
12202 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12204 * paragraph_pimpl.C: constify
12206 * BufferView_pimpl.C:
12208 * lyxfunc.C: fix dispatch in a nicer way
12210 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12212 * lyxfunc.C (dispatch):
12213 * BufferView_pimpl.C:
12214 * BufferView_pimpl.h:
12216 * BufferView.h: rename Dispatch() to dispatch()
12218 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12220 * lyxlayout.C (Read): honor DependsOn tag
12222 * lyxlayout.[Ch] (depends_on): new method
12224 * version.C.in: update lyx_docversion
12226 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12228 * paragraph.C (validate): remove from here...
12229 * paragraph_pimpl.C (validate): ... and move here
12230 (isTextAt): make it const
12232 * buffer.C (getLists): ws cleanup
12234 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12236 * language.C (read): Use iso8859-1 encoding in latex_lang
12237 (this prevents LyX from crashing when using iso10646-1 encoding).
12239 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12241 * text2.C (toggleInset): if cursor is inside an inset, close the
12242 inset and leave cursor _after_ it
12244 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12246 * lyxfunc.C: move minibuffer completion handling out of here
12248 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12250 * BufferView_pimpl.C:
12251 * LaTeX.C: fix dispatch calls
12253 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12255 * text.C (drawChars): Fix Arabic text rendering.
12257 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12261 * lyxfunc.C: remove message-push/pop
12265 * lyxfunc.C: rationalise some code by removing verboseDispatch
12266 in favour of a bool argument to dispatch()
12268 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12270 * lyx_main.C (init): make sure to read symlinks as absolute paths
12272 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12275 * lyxfunc.C: no need for commandshortcut to be a member
12277 2002-07-15 André Pönitz <poenitz@gmx.net>
12279 * converter.C: add support for $$s (scripts from lib/scripts dir)
12280 * lyx_main.C: white space
12282 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12286 * lyxrc.C: remove second exit confirmation
12288 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12293 * BufferView_pimpl.h:
12294 * BufferView_pimpl.C:
12295 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12297 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12299 * MenuBackend.C (expand): add numeric shortcuts to document menu
12301 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12303 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12305 * lyxfont.C (setLyXFamily):
12312 * buffer.C (asciiParagraph): use ascii_lowercase
12314 2002-07-15 Mike Fabian <mfabian@suse.de>
12316 * lyxlex_pimpl.C (search_kw):
12317 * lyxlex.C (getLongString):
12318 * converter.h (operator<):
12319 * converter.C (operator<):
12320 * buffer.C (parseSingleLyXformat2Token):
12322 * ToolbarDefaults.C (read):
12323 * MenuBackend.C (checkShortcuts):
12325 * LColor.C (getFromGUIName):
12326 (getFromLyXName): use the compare_ascii_no_case instead of
12327 compare_no_case, because in turkish, 'i' is not the lowercase
12328 version of 'I', and thus turkish locale breaks parsing of tags.
12330 2002-07-16 Angus Leeming <leeming@lyx.org>
12332 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12333 now takes a Buffer const & argument.
12335 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12337 * BufferView.C (resize): check there's a buffer to resize
12339 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12341 * lyxfunc.C: remove dead code
12344 * lyxserver.C: use lyx_guii::set_read_callback
12346 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12348 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12349 an inset in a RTL paragraph.
12351 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12353 * lyxfunc.C: repaint after a font size update
12355 2002-07-15 André Pönitz <poenitz@gmx.net>
12357 * lyxlength.C: inBP should be able to return negative values
12359 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12361 * lyxfunc.C: use lyx_gui::update_fonts()
12363 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12365 * lyxfunc.C: use lyx_gui::update_color()
12367 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12373 * lyxrc.C: remove file->new asks for name option, and let
12374 buffer-new take an argument
12376 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12378 * BufferView_pimpl.C: remove unneeded extra repaint()
12380 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12382 * LyXAction.C: allow command-sequence with NoBuffer
12384 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12386 2002-07-10 Angus Leeming <leeming@lyx.org>
12388 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12390 2002-07-09 Angus Leeming <leeming@lyx.org>
12392 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12394 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12396 * lengthcommon.h: whitespace
12398 * lyxfunc.C: update scrollbar after goto paragraph
12400 * lyxtext.h: factor out page break drawing, and fix it so
12401 page break/added space paints as selected nicely
12403 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12405 * BufferView_pimpl.C: add FIXMEs, clean up a little
12407 2002-07-09 André Pönitz <poenitz@gmx.net>
12409 * lyxfont.[Ch]: support for wasy symbols
12411 2002-07-08 André Pönitz <poenitz@gmx.net>
12413 * BufferView_pimpl.C: apply John's patch for #93.
12415 2002-07-05 Angus Leeming <leeming@lyx.org>
12417 * BufferView_pimpl.C (buffer): generate previews if desired.
12419 * LColor.h: add "preview" to the color enum.
12421 * LColor.C (LColor): add a corresponding entry to the items array.
12423 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12426 2002-07-05 Angus Leeming <leeming@lyx.org>
12428 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12429 The body of the code is now in the method that is passed an ostream &
12430 rather than a file name.
12431 Pass an additional only_preamble parameter, useful for the forthcoming
12434 2002-07-03 André Pönitz <poenitz@gmx.net>
12436 * lyxfunc.C: simplify getStatus() a bit for math stuff
12438 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12440 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12442 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12444 * text.C (changeRegionCase): do not change case of all the
12445 document when region ends at paragraph end (bug #461)
12447 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12449 * paragraph.C (startTeXParParams):
12450 (endTeXParParams): add \protect when necessary
12452 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12454 * BufferView_pimpl.C (workAreaExpose): remove warning
12456 2002-06-27 Angus Leeming <leeming@lyx.org>
12458 * Makefile.am: add lyxlayout_ptr_fwd.h.
12460 2002-06-26 André Pönitz <poenitz@gmx.net>
12462 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12464 2002-06-25 Angus Leeming <leeming@lyx.org>
12466 * lyxfunc.C (dispatch): Comment out the call to
12467 grfx::GCache::changeDisplay. The method no longer exists now that the
12468 pixmap generation part of the graphics loader has been moved into
12471 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12473 * text2.C: layout as layout
12475 * text.C: layout as layout
12477 * tabular.C (OldFormatRead): layout as layout
12479 * paragraph_pimpl.C (TeXDeeper): layout as layout
12480 (realizeFont): layout as layout
12482 * paragraph.C (writeFile): layout as layout
12483 (validate): layout as layout
12484 (getFont): layout as layout
12485 (getLabelFont): layout as layout
12486 (getLayoutFont): layout as layout
12487 (breakParagraph): layout as layout
12488 (stripLeadingSpaces): layout as layout
12489 (getEndLabel): layout as layout
12490 (getMaxDepthAfter): layout as layout
12491 (applyLayout): layout as layout
12492 (TeXOnePar): layout as layout
12493 (simpleTeXOnePar): layout as layout
12494 (TeXEnvironment): layout as layout
12495 (layout): layout as layout
12496 (layout): layout as layout
12498 * lyxtextclass.C (compare_name): new functor to work with
12499 shared_ptr, layout as layout
12500 (Read): layout as layout
12501 (hasLayout): layout as layout
12502 (operator): layout as layout
12503 (delete_layout): layout as layout
12504 (defaultLayout): layout as layout
12506 * lyxlayout_ptr_fwd.h: new file
12508 * lyxlayout.C (Read): layout as layout
12510 * lyx_cb.C (MenuInsertLabel): layout as layout
12512 * bufferlist.C (newFile): layout as layout
12514 * buffer.C (readLyXformat2): layout as layout
12515 (parseSingleLyXformat2Token): layout as layout
12516 (insertStringAsLines): layout as layout
12517 (asciiParagraph): layout as layout
12518 (latexParagraphs): layout as layout
12519 (makeLinuxDocFile): layout as layout
12520 (simpleLinuxDocOnePar): layout as layout
12521 (makeDocBookFile): layout as layout
12522 (simpleDocBookOnePar): layout as layout
12523 (getLists): layout as layout
12525 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12527 * CutAndPaste.C (cutSelection): layout as layout
12528 (pasteSelection): layout as layout
12529 (SwitchLayoutsBetweenClasses): layout as layout
12531 * BufferView_pimpl.C (Dispatch): layout as layout
12532 (smartQuote): layout as layout
12534 * BufferView2.C (unlockInset): layout as layout
12536 2002-06-24 André Pönitz <poenitz@gmx.net>
12538 * lyxfunc.C: fix #487
12540 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12544 * lyxfunc.C: remove display_shortcuts, show_banner
12546 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12548 * Buffer_pimpl.C: oops, update on resize
12550 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12557 * BufferView.C: use repaint()
12559 * BufferView_pimpl.h:
12560 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12561 as it's a clearer description. Remove superfluous
12564 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12566 * text.C: fix bug 488. Not ideal, but getting
12567 getWord() to work properly for the insets that
12568 matter is more difficult ...
12570 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12572 * BufferView_pimpl.C:
12575 * lyxfunc.C: remove the six million index lyxfuncs to just
12576 one, and DTRT (bug 458)
12578 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12582 * BufferView_pimpl.h:
12583 * BufferView_pimpl.C: clean up resize() stuff,
12584 and unnecessary updateScreen()s
12586 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12590 * BufferView_pimpl.h:
12591 * BufferView_pimpl.C:
12594 * minibuffer.C: remove focus management of workarea,
12595 not needed. Use screen's greyOut()
12597 2002-06-17 Herbert Voss <voss@lyx.org>
12599 * converter.C: (convert) do not post a message, when converting
12600 fails, let the calling function decide what to do in this case
12602 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12604 * lyxfunc.C: tidy up a little
12606 2002-06-16 <alstrup@diku.dk>
12608 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12609 Got rid of FORMS_H_LOCATION include. Now we are
12612 2002-06-15 LyX Development team <lyx@rilke>
12614 * buffer.[Ch] (sgmlOpenTag):
12615 (sgmlCloseTag): Added support for avoiding pernicious mixed
12616 content. Return number of lines written.
12618 (makeLinuxDocFile):
12619 (makeDocBookFile): Fixed calls to sgml*Tag.
12620 Simple white space clean.
12622 (simpleDocBookOnePar): Simple white space clean.
12624 * tabular.[Ch] (docBook): Renamed to docbook and got another
12625 argument to related with the pernicious mixed content.
12627 (docbookRow): Fixed calls for docbook inset method.
12629 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12631 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12632 so it's X11 independent.
12636 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12638 2002-06-15 Lyx Development team <lyx@electronia>
12640 * intl.h: Renamed getTrans to getTransManager.
12642 2002-06-14 Angus Leeming <leeming@lyx.org>
12644 * Makefile.am: nuke forgotten stl_string_fwd.h.
12646 2002-06-12 Angus Leeming <leeming@lyx.org>
12648 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12650 2002-06-13 Angus Leeming <leeming@lyx.org>
12653 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12655 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12657 * kbmap.C (getiso): add support for cyrillic and greek
12659 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12663 * BufferView_pimpl.h:
12664 * BufferView_pimpl.C: move bogus scrolling logic
12667 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12670 * BufferView_pimpl.C: view->resize() change
12672 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12674 * BufferView_pimpl.C: topCursorVisible
12677 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12681 * lyx_gui.C: move to frontends/
12685 * lyx_main.C: changes from above
12687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12694 * lyx_main.C: minor tidy
12696 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12698 * BufferView_pimpl.h:
12699 * BufferView_pimpl.C:
12701 * BufferView.C: make painter() const,
12704 * BufferView2.C: use screen() accessor
12707 * lyx_main.C: some minor cleanup
12709 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12711 * BufferView_pimpl.h:
12712 * BufferView_pimpl.C: remove enter/leaveView,
12715 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12720 * BufferView_pimpl.h:
12721 * BufferView_pimpl.C: only construct screen once,
12724 * lyxrc.C: remove pointless comment
12726 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12729 * BufferView.C: remove active() and belowMouse()
12731 * BufferView_pimpl.h:
12732 * BufferView_pimpl.C: use workarea() not workarea_,
12733 and make it use a scoped_ptr instead
12735 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12737 * lyx_gui.C: add debug message on BadWindow
12739 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12741 * sp_spell.C: fdopen is not part of the C++ standard.
12743 * paragraph.C (InsetIterator): use >= instead of ==
12745 2002-06-07 Angus Leeming <leeming@lyx.org>
12747 Fixes needed to compile with Compaq cxx 6.5.
12748 * BufferView_pimpl.C:
12755 * lyxtextclasslist.C:
12760 all c-library variables have been moved into namespace std. Wrap
12761 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12766 Add a using std::abs declaration.
12768 * kbmap.h (modifier_pair):
12769 * paragraph.h (InsetTable, InsetList):
12770 * lyxfont.h (FontBits):
12771 type definition made public.
12773 * bufferlist.C (emergencyWriteAll): the compiler complains that
12774 there is more than one possible lyx::class_fun template to choose from.
12775 I re-named the void specialisation as lyx::void_class_fun.
12777 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12779 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12780 the compiler is is unable to find tostr in write_attribute.
12782 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12784 * buffer.C (sgmlError): hide #warning
12786 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12788 * xtl/*: get rid of xtl, which is not in use anyway
12790 * LyXAction.C (init):
12791 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12792 were unimplemented xtl experimentation
12794 2002-06-04 André Pönitz <poenitz@gmx.net>
12796 * lyxfunc.C: disable array operation on simple formulae
12798 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12800 * converter.C: constify a bit
12802 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12804 * lyx_gui.C: check xforms version correctly
12806 2002-04-30 Herbert Voss <voss@lyx.org>
12808 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12811 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12813 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12814 attempt to register it with a VCS)
12816 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12818 * lyx_main.C (init): honor variables LYX_DIR_13x and
12821 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12825 * lyx_main.C: fix a crash on bad command line,
12826 and give a useful exit status on error
12828 * lyxfunc.C (doImport): allow -i lyx to work
12830 2002-03-30 André Pönitz <poenitz@gmx.net>
12832 * lyxfunc.C: mathed font changes
12834 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12849 * trans_mgr.h: srcdocs, and some minor cleanups
12851 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12853 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12854 call getFont all the time)
12856 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12858 * switch from SigC signals to boost::signals
12860 2002-05-29 André Pönitz <poenitz@gmx.net>
12862 * paragraph_pimpl.C (getChar): don't call size() too often...
12864 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12866 * paragraph_pimpl.C (insertChar): do not try to update tables when
12867 appending (pos == size())
12869 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12870 in order to reduce drastically the number of comparisons needed to
12871 parse a large document
12873 2002-05-29 André Pönitz <poenitz@gmx.net>
12879 * textclasslist.[Ch]:
12880 * sp_ispell.h: whitespace change
12882 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12884 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12885 lyxaction directly now.
12887 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12891 * lyxvc.C: remove unused headers
12893 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12900 * undo_funcs.C: some cleanups. Use shared_ptr
12901 and a template for the undo stacks.
12903 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12905 * BufferView_pimpl.h:
12906 * BufferView_pimpl.C:
12913 * text2.C: use key_state/mouse_state
12915 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12920 * chset.C: change include order
12921 (loadFile): use boost regex and get rid of LRegex and LSubstring
12923 * Makefile.am (BOOST_LIBS): new variable
12924 (lyx_LDADD): use it
12926 * LaTeX.C: change include order.
12927 (scanAuxFile): use boost regex and get rid of LRegex and
12931 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12936 * FontInfo.C: moved to frontends/xforms/
12939 * FontLoader.C: moved into frontends for GUIIzation
12944 * lyxfunc.C: changes from above
12946 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12948 * LColor.C: remove spurious X include
12950 * BufferView_pimpl.C:
12955 * text2.C: move font metrics to frontends/
12957 2002-05-24 Juergen Vigna <jug@sad.it>
12959 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12960 setting the undo_cursor.
12962 * ParagraphParameters.h: include local includes first.
12964 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12966 * BufferView_pimpl.C:
12967 * BufferView_pimpl.h:
12971 * screen.C: move WorkArea into frontends/
12977 * BufferView2.C: move LyXScreen into frontends/
12981 * lyx_gui.C: move lyxlookup into frontends/xforms/
12983 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12986 * BufferView_pimpl.C:
12996 * bufferview_funcs.C:
13009 * vc-backend.C: move LyX/XFormsView into frontends/
13011 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13023 * text2.C: move Painter to frontends/
13025 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
13027 * buffer.C: comment out some some code that depend upon lyx_format
13030 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13031 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13033 * buffer.h (NO_COMPABILITY): turn off compability
13035 * ColorHandler.C: include scoped_array.hpp
13037 * font.C: Use more specific smart_ptr header.
13040 * ShareContainer.h: ditto
13041 * lyx_main.h: ditto
13043 * FontInfo.h: ditto
13044 * BufferView_pimpl.h: ditto
13045 * ColorHandler.h: ditto
13047 * kbmap.C (defkey): change call to shared_ptr::reset
13049 2002-05-21 Juergen Vigna <jug@sad.it>
13051 * buffer.C (insertErtContents): fix to insert ert asis if it is
13052 non empty. Skip it completely if it contains only whitespaces.
13054 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13056 * BufferView_pimpl.C:
13057 * BufferView2.C: clear selection on paste (bug 393)
13059 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13061 * DepTable.C: include ctime
13063 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13065 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13067 2002-05-14 Juergen Vigna <jug@sad.it>
13069 * text.C (breakParagraph): fixed function to honor the keepempty
13070 layout in the right maner and also to permit the right breaking
13071 algorithm on empty or non empyt keepempty paragraphs.
13073 * paragraph.C (breakParagraph): we have to check also if the par
13074 is really empty (!size()) for isempty otherwise we do the wrong
13077 2002-05-10 Juergen Vigna <jug@sad.it>
13079 * buffer.[Ch] : The following are only changes to the ert
13080 compatibility read reading old LaTeX layout and font stuff and
13081 convert it to ERTInsets.
13083 * buffer.h: added isErtInset().
13085 * buffer.C (struct ErtComp): add a fromlayout bool to check
13086 if we're inside a LaTeX layout.
13087 (isErtInset): new helper function.
13088 (insertErtContents): look for other ert insets before this one
13089 and insert the contents there, so that we don't have subsequent
13090 ERT insets with nothing between them. This way we create only one
13091 inset with multiple paragraphs. Also check if we don't insert only
13092 spaces ' ' as they are ignored anyway afterwards in the .tex file
13093 so if we have only spaces we will ignore this latex part in the
13095 (parseSingleLyXformat2Token \\layout): better compatibility when
13096 reading layout-latex stuff.
13097 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13099 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13100 stuff after reading the inset only get the information back from
13103 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13105 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13107 * LaTeXFeatures.C (getBabelOptions): New method.
13109 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * BufferView_pimpl.C (Dispatch): work around missing argument for
13114 2002-05-08 Juergen Vigna <jug@sad.it>
13116 * text.C (leftMargin): handle paragraph leftindent.
13118 * paragraph.C (writeFile): write the new \\leftindent tag.
13119 (validate): handle leftindent code.
13120 (TeXEnvironment): handle paragraphleftindent code again.
13122 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13124 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13125 for paragrap_extra indent code and new token \\leftindent.
13126 (latexParagraphs): handle the leftindent as environment.
13128 * ParameterStruct.h: added leftindent support.
13130 * ParagraphParameters.C (leftIndent): added support functions for
13131 the paragraph left indent.
13133 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13136 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13138 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13141 * text.C (computeBidiTables): No bidi in insetERT.
13143 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13146 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * version.C.in: pre 5
13150 2002-05-02 José Matos <jamatos@fep.up.pt>
13151 * buffer.C (makeDocBookFile): white space changes, add newline to
13153 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13155 * tabular.C (docBook): fix typo.
13157 2002-05-03 Juergen Vigna <jug@sad.it>
13159 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13160 change in LyXText as we can not be sure it was not freed.
13161 (drawOneRow): remove unused code.
13163 * text.C (drawInset): redo the calculation of the need_break_row as
13164 it could have a row which was already freed.
13165 (draw): look at the return value of drawInset and return false if
13166 it also returned false.
13167 (paintRowText): look at the return value of draw and return false if
13168 it also returned false.
13170 * lyxtext.h: added bool return type to drawInset() and draw() so that
13171 if we have a change in the row so that the rowbreak has to be redone
13172 we abort drawing as it will be called again.
13174 2002-05-02 Juergen Vigna <jug@sad.it>
13176 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13177 a change in the maintext also if we're inside an inset.
13178 (Dispatch): set the cursor again after a break line and after the
13179 screen has been updated as it could be we're in a different row.
13181 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13182 to set the cursor behind the pargraph with > size().
13183 (setCursor): check also for the same paragraph when checking where
13184 to put the cursor if we have a NFR inset.
13186 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13187 parts of layout read further up as it still was in the wrong
13190 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13192 * screen.C (drawFromTo): change sine fullRebreak always return
13195 * buffer.C (parseSingleLyXformat2Token): reindent some
13197 * BufferView_pimpl.C (update): change since fullRebreak always
13199 (Dispatch): git rid of the last hardcoded "Standard"s.
13201 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13203 * text2.[Ch] (fullRebreak): make it return void now that we always
13206 2002-04-30 Juergen Vigna <jug@sad.it>
13208 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13209 ert compatibility check for "latex" layout.
13211 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13213 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13214 minipages: use col% instead of p%, and also use the current font.
13215 (makeLaTeXFile): Fix use babel condition.
13216 (parseSingleLyXformat2Token): Correct font when reading old floats.
13218 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13220 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13221 inserting list of floats.
13223 2002-04-25 Herbert Voss <voss@lyx.org>
13225 * MenuBackend.C (expand): don't add the graphics extensions to the
13228 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13230 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13231 non-existing layout, do not complain if it was the default layout
13232 of the original class (bug #342)
13234 2002-04-24 Juergen Vigna <jug@sad.it>
13236 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13237 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13239 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13241 * buffer.C (getBibkeyList): If using \bibliography, return the
13242 option field with the reference itself. Enables us to provide natbib
13243 support when using \bibliography.
13245 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13247 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13249 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13250 natbib is provided by the LaTeX class.
13252 2002-04-23 Juergen Vigna <jug@sad.it>
13254 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13257 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13259 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13261 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13263 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13264 ensuremath around textordmasculine, textordfeminine and
13267 2002-04-19 Juergen Vigna <jug@sad.it>
13269 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13270 reinitializing the buffer otherwise row-dimensions may be wrong.
13271 (update): reset also the selection cursors if they do exits otherwise
13272 their x/y positions may be wrong.
13274 * text2.C (cursorDown): don't enter the inset if we came from a row
13275 above and are one row over the inset.
13277 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13278 really leaving an inset.
13280 2002-04-18 Juergen Vigna <jug@sad.it>
13282 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13283 of the selected paragraph does not have the selected layout also if
13286 * text2.C (setLayout): fixed bug which did not change last selected
13289 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13290 changed the read and substituted \\end_float with \\end_inset!
13292 * BufferView_pimpl.C (cursorPrevious):
13293 (cursorNext): fixed to make it work with rows heigher than the work
13294 area without moving the cursor only the draw of the row.
13295 (workAreaMotionNotify): fix jumping over high rows.
13297 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13302 2002-04-16 Juergen Vigna <jug@sad.it>
13304 * text2.C (setCursor): set also the irow().
13305 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13307 (cursorDown): support for locking an inset if the x_fix value goes
13308 inside it. That way I can transverse insets too with cursor up/down.
13310 * lyxrow.h: added irow helper function same as other (i) functions.
13312 * BufferView_pimpl.C (cursorPrevious):
13313 (cursorNext): fixed for insets!
13315 2002-04-15 Juergen Vigna <jug@sad.it>
13317 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13318 position otherwise it is wrong in some cases.
13320 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13321 inside the inset before the call.
13323 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13325 * buffer.[Ch] (getBibkeyList): make it const.
13327 2002-04-12 Juergen Vigna <jug@sad.it>
13329 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13331 * text2.C (getCursorX): new helper function
13332 (setCursor): compute also ix_
13333 (setCursorFromCoordinates): set also ix.
13335 * lyxcursor.h: added ix_ and helper functions.
13337 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13339 * buffer.C (insertStringAsLines): dont break paragraph if the this
13340 paragraph is inside an inset which does not permit it!
13342 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13343 also with no chars on this paragraph.
13344 (paintRowText): only paint stuff if it's inside the workarea!
13346 * paragraph.C (breakParagraph): honor keepempty flag and break the
13347 paragraph always below not above.
13349 * BufferView2.C (unlockInset): update the paragraph layout on inset
13350 unlock as we changed paragraph in such a case.
13352 * lyxfind.C (LyXFind): clear the former selection if not found!
13354 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13355 again called in insertChar().
13357 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13358 an inset which uses the whole row!
13359 (rightMargin): ditto.
13360 (insertChar): force a rebreak if we inserted an inset!
13362 2002-03-28 Herbert Voss <voss@lyx.org>
13364 * lyxlength.[Ch]: add inBP() to get the right PS-point
13365 units (BigPoint). With inPixels we have rounding errors
13367 2002-04-11 Juergen Vigna <jug@sad.it>
13369 * text2.C (setCursorFromCoordinates): set iy to the right value.
13370 (setCursor): add check if row->previous exists!
13372 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13373 an old float_type as this was the case in the old code!
13375 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13377 * BufferView2.C (showLockedInsetCursor): use iy
13378 (fitLockedInsetCursor): ditto
13380 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13381 locked insets as there we have the right value now.
13383 * lyxcursor.C: added iy_ variable and iy functions to set to the
13384 baseline of cursor-y of the locked inset.
13386 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13387 (setCursor): fixed for insets which need a full row.
13389 * text.C (rowLastPrintable): don't ignore the last space when before
13390 an inset which needs a full row.
13391 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13392 as last character of a row when before a inset which needs a full row.
13394 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13396 * version.C.in: update date
13398 * text2.C (fullRebreak): try to always return true and see what
13401 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13403 * MenuBackend.C (expand): use Floating::listName
13405 * FloatList.C (FloatList): add listName argument to the built-in
13408 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13409 text associated with the float.
13411 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13413 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13415 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13417 * ShareContainer.h: add a couple of missing typenames.
13419 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13421 * lyxrc.C (getDescription): use _() correctly rather than N_().
13423 2002-03-28 Herbert Voss <voss@lyx.org>
13425 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13426 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13428 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13430 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13431 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13433 2002-03-29 Juergen Vigna <jug@sad.it>
13435 * lyxfunc.C (dispatch): add a missing fitCursor call.
13437 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13438 it was scrolled by a cursor move, so return the bool status.
13440 * BufferView.C (fitCursor): return the bool flag also to the outside
13441 world as this is needed.
13443 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13445 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13446 call the edit() as it is not needed (and wrong) IMO.
13447 (workAreaButtonPress): set the screen_first variable before evt.
13448 unlock the inset as this may change screen_first and then we have
13449 a wrong y position for the click!
13451 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13453 * MenuBackend.C (expand): another translation that I missed
13455 2002-03-28 Juergen Vigna <jug@sad.it>
13457 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13459 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13461 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13463 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13465 * MenuBackend.C (expand): fix export/view/update when there is no
13468 2002-03-27 Herbert Voss <voss@lyx.org>
13470 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13473 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13475 * bufferview_funcs.C (currentState): only show paragraph number
13476 for is DEVEL_VERSION is set.
13478 * lyxfunc.C (dispatch): put warning in INFO channel
13480 * MenuBackend.C (expand): translate the name of floats
13482 * FloatList.C (FloatList): mark the float names for translation
13484 * converter.C (convert): use LibScriptSearch
13486 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13488 * MenuBackend.C (defaults): fix default menu (we might as well get
13491 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13493 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13496 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13498 * lyxvc.C: reorder includes.
13500 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13502 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13505 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13507 * CutAndPaste.C: change layouts earlier on paste
13508 to avoid crashing when calling getFont()
13510 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13512 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13515 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13517 * WorkArea.C: remove 'Pending' debug message.
13519 * most files: ws cleanup
13521 * buffer.[Ch]: ws changes
13523 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13525 2002-03-21 Juergen Vigna <jug@sad.it>
13527 * tabular.C (SetMultiColumn): collapse also the contents of the
13528 cells and set the last border right. Added a Buffer const * param.
13530 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13535 2002-03-19 Juergen Vigna <jug@sad.it>
13537 * text2.C (clearSelection): reset also xsel_cache.
13539 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13540 where it needs to be called (John tells us to do so too :)
13541 (selectionLost): reset sel_cache.
13543 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13545 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13547 * text2.C (setCursorIntern): put debuging code in INSETS channel
13549 2002-03-19 André Pönitz <poenitz@gmx.net>
13551 * lyxfunc.C: tiny whitespace change
13553 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13555 * ToolbarDefaults.C (init):
13556 * LyXAction.C (init):
13558 * BufferView_pimpl.C (Dispatch):
13559 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13561 2002-03-19 Allan Rae <rae@lyx.org>
13563 * exporter.C (Export): removeAutoInsets before doing anything else.
13564 While I've just introduced a dependency on BufferView this really is
13565 the best place to clean the buffer otherwise you need to cleanup in
13566 a dozen places before calling export or cleanup in a dozen functions
13569 * converter.C (runLaTeX):
13570 (scanLog): Better handling of removeAutoInsets and screen updates.
13572 * lyxfunc.C (dispatch): small whitespace changes
13574 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * WorkArea.C (C_WorkAreaEvent): return a value.
13577 (event_cb): return 1 if we handled the event, 0 otherwise.
13579 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13581 2002-03-18 Juergen Vigna <jug@sad.it>
13583 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13584 (GetAdditionalWidth): ditto.
13585 (RightLine): ditto.
13588 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13589 inset if we're there actually (probably not used right now but this
13590 is the direction to go for unifying code).
13591 (paste): disable code to clear the selection.
13593 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13594 inside an InsetText and move the check further up as it is in the
13597 * text2.C (pasteSelection): set a selection over the pasted text.
13599 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13601 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13602 and libgraphics to build on Cygwin.
13604 2002-03-15 Juergen Vigna <jug@sad.it>
13606 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13607 inserting an Inset into the paragraph. I know this is not the best
13608 fix but we already use current_view in CutAndPaste so we will remove
13609 all of it's using at the same time.
13611 * buffer.C (sgmlError): deactivated function till it is rewritten in
13612 the right mode, now it can create problems.
13614 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13615 before accessing it.
13617 2002-03-14 Juergen Vigna <jug@sad.it>
13619 * undo_funcs.C (textHandleUndo): do the right thing when updating
13620 the inset after the undo/redo.
13622 * text2.C (setCursor): just some testcode for #44 not ready yet.
13624 * undo_funcs.C (textHandleUndo): set the next() and previous()
13625 pointers of the paragraph to 0 before deleting otherwise we have
13626 problems with the Paragraph::[destructor].
13628 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13629 on a paragraph insertion.
13631 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13633 * buffer.C (asciiParagraph): use += operator for char append to
13636 * paragraph.C (getFontSettings): compare >= not just >
13637 (highestFontInRange): ditto
13640 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13642 * paragraph.C: change several algorithm to be more appripriate for
13643 the problem domain. This is lookip in FontList and in the InsetList.
13645 2002-03-13 André Pönitz <poenitz@gmx.net>
13648 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13650 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13655 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13657 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13659 * Painter.C (display): anon helper function, adjust code for this
13661 (pixmap): remove function.
13663 * Painter.h: remove private display variable.
13665 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13667 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13669 * WorkArea.[Ch]: remove figinset_canvas cruft.
13671 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13673 * lyxtextclass.C (operator): add one item cache optimization.
13675 * bufferlist.h: doxy changes
13677 * bufferlist.C: ws changes
13679 * DepTable.[Ch] (ext_exist): place const in the right spot.
13681 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13683 (workAreaExpose): call resizeInsets when the with BufferView changes.
13684 (Dispatch): adjust for protectedBlank removal
13685 (specialChar): call updateInset if the insert went ok.
13687 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13688 specialChar instead.
13690 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13692 * BufferView.h: doxy change
13694 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13696 * lyxtextclass.C (operator[]): remove non-const version
13697 (defaultLayout): remove non-const version
13699 2002-03-12 Juergen Vigna <jug@sad.it>
13701 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13702 did resize the LyXText too.
13704 * buffer.C (readLyXformat2): set layout information on newly allocated
13707 * tabular.C (OldFormatRead): set layout information on the paragraph.
13709 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13711 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13713 2002-03-11 Juergen Vigna <jug@sad.it>
13715 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13717 (resizeCurrentBuffer): force also the insets to resize themselfes.
13718 (moveCursorUpdate): fixed up for InsetText.
13720 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13723 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13724 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13725 value of Dialogs::tooltipsEnabled().
13726 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13728 2002-03-08 Juergen Vigna <jug@sad.it>
13730 * BufferView_pimpl.C (updateInset): update inset inside inset also
13731 if it isn't inside theLockingInset().
13733 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13735 * buffer.C (asciiParagraph): redo some of the word and line length
13737 (getLists): look for Caption instead of caption.
13739 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13741 * buffer.C (Buffer): initialize niceFile to true
13743 (makeLinuxDocFile):
13744 (makeDocBookFile): make sure niceFile is true on exit
13746 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13748 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13750 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13752 * LyXSendto.C: remove.
13753 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13754 * lyx_gui.C: remove now-redundant comment.
13755 * ColorHandler.h: remove forward declaration of class WorkArea.
13756 * lyxfunc.C: remove #include "WorkArea.h".
13758 2002-03-07 Juergen Vigna <jug@sad.it>
13760 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13761 got moved away with the DEPM and also set the inset_owner always
13762 right which before could have been omitted.
13764 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13766 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13767 wanted layout is not found.
13769 2002-03-07 Juergen Vigna <jug@sad.it>
13771 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13773 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13775 * paragraph.C (breakParagraph): use default layout not layout of
13777 (Paragraph): clear ParagraphParameters.
13779 2002-03-06 Juergen Vigna <jug@sad.it>
13781 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13782 otherwise it would not be a valid lenght. Fixed a special case in
13783 the minipage compatibility read where we end the document with a
13786 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13787 was set as it could be 0 for InsetTexts first entry.
13789 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13791 * paragraph.C (writeFile): if layout is empty write out
13792 defaultLayoutName().
13794 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13795 file without named layout we set layout to defaultLayoutName().
13797 2002-03-06 Juergen Vigna <jug@sad.it>
13799 * CutAndPaste.C (copySelection): set layout for new paragraph.
13801 * text.C (prepareToPrint): leave ERT inset left aligned
13802 (leftMargin): don't indent paragraphs inside ERT insets
13804 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13806 * paragraph.C (breakParagraph): dont call clear do the work manually
13808 * paragraph.[Ch] (clear): remove function
13810 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13812 * paragraph.C (Paragraph): dont call clear, the work has already
13815 * lyxtextclass.C (operator): assert if n is empty
13817 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13818 work manually instead.
13820 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13822 * BufferView_pimpl.C: protect selectionLost against text == 0
13824 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13826 * text.C (breakParagraph): fix a setting layout to '0' problem.
13828 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13830 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13831 final location of file, for the included files, and graphics.
13833 2002-03-05 Juergen Vigna <jug@sad.it>
13835 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13837 2002-03-04 Juergen Vigna <jug@sad.it>
13839 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13841 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13842 last column of multicolumn cells.
13843 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13845 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13847 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13848 file if it doesn't go to a temporary file.
13850 * buffer.C (sgmlOpenTag):
13851 (sgmlCloseTag): remove extra newline insertion.
13853 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13855 * text.C (getRowNearY): comment out debug msg
13857 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13859 * text2.C: first -> first_y
13861 * text.C (getRowNearY): add some attemts at a possible
13862 optimization, not working.
13864 * tabular.[Ch]: add BufferParams to several function so that newly
13865 created paragraph can be initialized to he default layotu for the
13868 * tabular-old.C (ReadOld): add buf->params to call of Init
13870 * screen.C: rename text->first to text->first_y
13872 * paragraph.C (breakParagraph): always set layout in the broken
13875 * lyxtextclass.C (Read): remove lowercase
13878 (delete_layout): ditto
13880 * lyxtext.h: rename first -> first_y
13882 * lyxlayout.C (Read): remove lowercase
13885 (obsoleted_by): ditto
13887 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13889 * buffer.C (insertErtContents): add params are to InsetERT
13890 (parseSingleLyXformat2Token): add code to check if a paragraphs
13891 layout really exist.
13892 (parseSingleLyXformat2Token): add params to several inset
13894 (asciiParagraph): remove lowercase, do the layout comparisons with
13897 * BufferView_pimpl.C (cursorNext): first -> first_y
13898 (resizeCurrentBuffer): first -> first_y
13899 (updateScrollbar): first -> first_y
13900 (scrollCB): first -> first_y
13901 (workAreaMotionNotify): first -> first_y
13902 (workAreaButtonPress): first -> first_y
13903 (checkInsetHit): first -> first_y
13904 (cursorPrevious): first -> first_y
13905 (cursorNext): first -> first_y
13906 (Dispatch): add buffer_->params to severl inset contructors
13908 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13910 * lyxlayout.C (Read): remove some debug info that I forgot.
13912 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13913 clean up the code slightly.
13914 (makeLinuxDocFile): ditto
13915 (makeDocBookFile): ditto
13917 * text2.C: layout as string
13919 * text.C: layout as string
13921 * paragraph_pimpl.C: layout as string
13923 * paragraph.[Ch]: layout as string
13925 * lyxtextclasslist.[Ch]: layout as string
13927 * lyxtextclass.[Ch]: layout as string
13929 * lyxtext.h: layout as string
13931 * lyxlayout.[Ch]: layout as string
13933 * lyx_cb.C: layout as string
13935 * bufferview_funcs.C: layout as string
13937 * bufferparams.C: layout as string
13939 * buffer.C: layout as string
13941 * LyXView.[Ch]: layout as string
13943 * LaTeXFeatures.[Ch]: layout as string
13945 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13947 * BufferView_pimpl.C: change current_layout to string, remove
13952 (workAreaButtonRelease): layout as string
13954 * BufferView2.C (unlockInset): adjust
13956 * vspace.C (asLatexCommand): use an explict temp variable.
13958 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13960 * Makefile.am: use FRONTEND_*
13962 2002-03-01 Juergen Vigna <jug@sad.it>
13964 * tabular.C (SetWidthOfMulticolCell): changed to something better
13965 I hope but still work in progress.
13966 (recalculateMulticolumnsOfColumn): renamed function from
13967 recalculateMulticolCells as it is more appropriate now.
13968 (SetWidthOfCell): calculate multicols better.
13970 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13972 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13974 * lyxfunc.C (processKeySym): print sequence also if it is
13975 `deleted' (complete)
13977 * kbsequence.C (print): print sequence even if it is deleted
13978 (complete would be a better word, actually).
13980 * lyxfunc.C (dispatch): print complete options after a prefix key
13982 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13984 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13986 * text2.C (setCharFont): eliminate setCharFont code duplication.
13988 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13990 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13991 LFUN_TABULAR_FEATURE (bug #177)
13993 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13995 * Makefile.am: remove figure.h
13997 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13999 * Bufferview_pimpl.C:
14011 * text2.C: remove #include "lyx_gui_misc.h".
14013 * LaTeX.C: added #include <cstdio>
14015 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14017 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14018 that the paragraph following this one can have.
14020 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14022 * vspace.C (asLatexCommand): fix bogus gcc warning
14024 * Makefile.am (lyx_SOURCES): remove vms_defines.h
14026 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
14028 * text2.C (setLayout): get rid of redundant code
14030 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
14032 * text2.C (incDepth): make sure depth cannot be increased beyond
14035 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
14037 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14038 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14040 * PainterBase.h (image):
14041 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14042 a LyXImage const *.
14044 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14048 * BufferView_pimpl.C:
14049 * BufferView_pimpl.h:
14069 * sp_spell.C: remove fig inset, and the crap house of
14070 cards that follows it
14072 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14077 * os2_errortable.h:
14078 * nt_defines.h: move .h into support/
14080 * vms_defines.h: remove
14082 * WorkArea.C: add space in debug output
14086 * buffer.C: add WITH_WARNINGS
14090 * bufferlist.C: s/retrive/retrieve/, add docs
14099 * chset.C: add docs
14101 * lyxgui.C: add ID to X error handler
14103 * lyxtestclass.c: fix typo
14105 2002-02-26 Juergen Vigna <jug@sad.it>
14107 * tabular_funcs.C (write_attribute): changed so that some default
14108 attributes are not written at all.
14109 (getTokenValue): set default values before trying to read the
14110 value so we have the return value always set as default if we don't
14111 find the token we search for.
14113 * tabular.C (Write): write bools as bools not as strings!
14115 2002-02-22 Juergen Vigna <jug@sad.it>
14117 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14118 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14120 * text.C (leftMargin): don't add an indent for paragraphs inside
14121 tabular cells (fix #208).
14123 2002-02-21 José Matos <jamatos@fep.up.pt>
14125 * tabular.C (docBook): fixed support for long tables.
14127 2002-02-20 Juergen Vigna <jug@sad.it>
14129 * text2.C (getFont): get the drawing font of the Inset if this
14130 paragraph is inside an inset (only important for InsetERT for now).
14132 * buffer.C (insertErtContents): use new lanugage params in ERT
14135 * CutAndPaste.C: commenting out seemingly uneeded code.
14137 2002-02-19 Allan Rae <rae@lyx.org>
14139 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14140 Iterators might be simple to use but they also get invalidated.
14141 (removeAutoInsets): renamed saved cursor tracking variables and added
14142 some comments to clarify what everything does.
14144 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14151 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14152 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14155 * vc-backend.h: remove #include "support/syscall.h"
14159 * converter.C: rearrange #includes in Lars' approved fashion.
14161 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14162 forward declare class Timeout in the header file.
14164 * XFormsView.C: changes due to the above.
14166 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14167 similar to LyXView.
14169 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14170 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14172 2002-02-18 José Matos <jamatos@fep.up.pt>
14174 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14177 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14179 * a lot of small ws changes
14180 * add a lot of using std::XXX
14181 * use std construcs some places where approp.
14182 * use some exisint stuff from lyxfunctional where approp.
14183 * Make file changes to use partial linking (lets test this now...)
14185 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14189 remove #include "support/syscontr.h" as it's redundant. Always has been.
14197 change Systemcalls::System to Systemcalls::Wait and
14198 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14199 No change of functionality, just reflects the stripped down Systemcalls
14202 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14204 * debug.[Ch]: add a GRAPHICS type to the enum.
14206 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14208 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14210 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14213 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14215 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14216 match the changes below.
14218 * text2.C (toggleInset): if there is not editable inset at cursor
14219 position, try to see if cursor is _inside_ a collapsable inset
14222 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14224 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14225 document menu has a nice checkbox
14227 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14229 * lyxlength.C (asLatexString): change PW to output as percent of
14232 * lengthcommon.C: change '%' to 't%'
14234 * lyxfunc.C (dispatch): a few comments from Martin
14236 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14240 * BufferView_pimpl.h:
14241 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14244 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14246 * vspace.C (inPixels): fix compiler warning
14248 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14250 * lyxfunc.C (getStatus): fix status message for disabled commands.
14252 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14254 * BufferView_pimpl.C: fix crash on close buffer
14255 during selection (#227)
14257 2002-01-27 Herbert Voss <voss@lyx.org>
14259 * buffer.C: link old Figure to new graphic inset
14261 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14263 * FontLoader.C (getFontinfo): Change the latex font names in order
14264 to match the names of type1inst.
14266 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14268 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14270 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14271 (extchanged): ditto
14273 (remove_files_with_extension): ditto
14274 (remove_file): ditto
14277 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14278 document is smaller than the work area height. Do not initialize
14279 static variables to 0.
14281 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14283 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14285 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14286 LFUN_LAYOUT_PARAGRAPHS.
14288 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14289 tabular. It is possible to provide a possible cell, which will
14290 typically be the actcell from the corresponding insettabular
14292 * lyxfunc.C (getStatus): small cleanup; disable
14293 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14296 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14298 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14300 * paragraph.C (startTeXParParams):
14301 (endTeXParParams): new methods. The LaTeX code to
14302 start/end paragraph formatting
14303 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14304 empty (fixes bug #200)
14306 * vspace.C (inPixels): adapt to the change below
14307 (inPixels): [later] more cleanups (remove unused variables)
14309 * lyxlength.C (inPixels): change to use a width and a height as
14312 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14314 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14315 Replaced with \paperwidth
14317 * DepTable.C (insert): add std:: qualifier
14319 2002-01-18 Allan Rae <rae@lyx.org>
14321 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14324 * text.C (drawInset): Turned out I didn't know enough about how
14325 rebreaking worked. This fixes most of the redraw problems. I see
14326 an occasional cursor trail when a line is broken now and the cursor
14327 placement can seem out by a few pixels also after a rebreak.
14329 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14331 * buffer.C (parseSingleLyXformat2Token): update because minipage
14332 width is now a LyXLength
14334 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14336 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14339 2002-01-17 Juergen Vigna <jug@sad.it>
14341 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14343 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14344 is set correctly and the inset is updated correctly.
14346 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14348 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14349 the beginning of the loop.
14351 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14353 * lyxrc.C: improve help for use_scalable_fonts
14355 2002-01-17 Allan Rae <rae@lyx.org>
14357 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14359 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14361 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14362 make sure to set their inset_owner to the right value (bug #171)
14364 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14367 * DepTable.C: Implement mtime checking to reduce time spent doing
14370 2002-01-16 Juergen Vigna <jug@sad.it>
14372 * tabular.C (GetAdditionalHeight): one of error fixed.
14374 * lyxrc.C (output): small fix in writing use_pspell.
14376 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14378 * sp_base.h: #include LString.h
14380 2002-01-16 Allan Rae <rae@lyx.org>
14382 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14383 Can someone check this please?
14385 * text.C (drawInset): It was possible that p.row would be removed by
14386 breakAgainOneRow upsetting a few other settings. There may be another
14387 small tweak possible by setting need_break_row = 0 when p.row has been
14388 removed but I don't know enough about the logic here.
14390 2002-01-15 Allan Rae <rae@lyx.org>
14392 * text.C (insertChar): removed conditional truism.
14394 * BufferView2.C (removeAutoInsets): More tweaks.
14395 cur_par_prev could be a stray pointer. Check for trailing empty line
14396 in case last line was cur_par and only had an error inset on it.
14398 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14400 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14403 * vc-backend.C (most methods):
14404 * exporter.C (Export):
14405 * converter.C (convert):
14407 * LyXSendto.C (SendtoApplyCB):
14408 * lyxfunc.C (dispatch):
14412 * lyx_cb.C (AutoSave):
14414 * BufferView_pimpl.C (MenuInsertLyXFile):
14415 * buffer.C (runChktex): use Buffer::filePath().
14417 * buffer.h: rename filename to filename_; rename filepath to
14418 filepath_ and make it private
14419 (filePath): new method
14421 * buffer.C (writeFile): use fileName()
14424 * lyx_main.C (init): fix starting of LyX when the binary is a
14425 link from so,ewhere else.
14427 * minibuffer.C: include <cctype> for isprint
14429 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14431 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14432 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14433 name clash with InsetCollapsable's width function.
14435 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14437 * lastfiles.C: include <iterator>
14439 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14441 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14444 * buffer.C (makeLaTeXFile): ditto.
14445 Also make loop operation more transparent.
14447 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14449 * ToolbarDefaults.C: remove trailing comma closing namespace.
14451 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14453 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14456 * trans.C (Load): comment out unused variable, allowed.
14458 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14460 * minibuffer.[Ch] (append_char): new method to recieve input from the
14461 drop-down completion browser. If a key was pressed, then recieve this
14462 char and append it to the existing string.
14463 (peek_event): modify the positioning data passed to the completion
14464 browser so that it can be placed above the minibuffer rather than below.
14465 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14467 * LyXAction.C (init): alloe error-next for readonly documents.
14469 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14472 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14474 * bufferlist.C (readFile): create the buffer _after_ checking that
14477 * lyxfunc.C (verboseDispatch): fix handling of arguments
14479 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14481 * lyxrc.C: use string::erase() instead of initializing to "".
14484 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14486 * BufferView_pimpl.h:
14487 * BufferView_pimpl.C:
14490 * text2.C: tell X when we have made a selection for copying
14492 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14494 * BufferView_pimpl.C (MenuInsertLyXFile):
14495 * lyxfunc.C (menuNew):
14497 (doImport): add shortcuts to directory buttons
14499 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14502 * lyxfunc.C (setStatusMessage):
14503 (getStatusMessage): new methods
14504 (getStatus):use setStatusMessage instead of setErrorMessage
14505 (dispatch): when function is disabled, set error message here
14506 [instead of in getStatus previously]
14508 * BufferView_pimpl.C (workAreaButtonRelease): update
14509 toolbar/menubar here too.
14511 2002-01-13 Allan Rae <rae@lyx.org>
14513 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14514 Now seems indestructible. Remaining task is to audit all other
14515 code affected by deleteEmptyParagraphMechanism. One small quirk
14516 left is that an empty document with an error in the preamble can
14517 be made to report an error but no error box appears. I don't know
14519 (removeAutoInsets): Improved comments.
14521 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14524 * Thesaurus.C: update for Aiksaurus 0.14
14526 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14528 * text2.C (firstParagraph): removed member function, all uses
14529 replaces with ownerParagraph
14530 (redoParagraphs): here
14531 (updateInset): here
14532 (toggleAppendix): here
14533 * BufferView2.C (insertErrors): here
14534 (setCursorFromRow): here
14536 2002-01-13 Allan Rae <rae@lyx.org>
14538 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14539 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14540 There is still a way to segfault this although you may have to do this
14541 multiple times: Have an InsetERT with an unknown command in it.
14542 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14543 <down-arrow>, <Enter> again, View->DVI, BANG!
14545 * text2.C (setCursor):
14546 (deleteEmptyParagraphMechanism):
14547 * lyxtext.h (setCursor):
14548 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14549 Making use of the return value may help fix other bugs.
14551 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14553 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14555 * LyXView.C (updateMenubar): call MenuBar::update here
14556 (updateToolbar): but not here
14557 (showState): do not update toolbar/menubar
14559 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14560 should need to care about that.
14562 * lyxfunc.C (verboseDispatch): simplify a bit
14563 (getStatus): have a version which takes a pseudoaction, and
14564 another which requires a (kb_action,string).
14566 * LyXAction.C (retrieveActionArg): make it work also when action
14567 is not a pseudo-action.
14568 (getActionName): simplify a bit
14571 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14573 * lyxfunc.C (verboseDispatch): new families of methods with
14574 several ways to specify a command and a bool to indicate whether
14575 the command name and shortcut should be displayed in minibuffer
14576 (eventually, we could extend that to a finer bitmask like
14577 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14578 (dispatch): the pristine dispatch command which just, well,
14579 dispatchs! Note it still sets its result to minibuffer; I'm not
14582 * lyxfunc.h: remove setHintMessage
14584 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14586 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14588 * BufferView_pimpl.C (specialChar): delete new inset if we have
14589 not been able to insert it.
14591 * kbmap.C: revert to using int instead of kb_action, since all we
14592 are dealing with is pseudo-actions.
14594 * LyXAction.C (searchActionArg): change to return int instead of
14595 kb_action, since the result is a pseudoaction.
14597 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14599 * buffer.C (insertErtContents): Fix (partially) the font bug.
14601 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14603 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14604 as the other one is broken on my machine!
14606 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14609 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14611 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14613 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14614 reflect their actual use. Provide compatibility code for older lyxrc
14617 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14619 change names of popup font variables in line with the changes to lyxrc.C
14621 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14623 * buffer.C (asciiParagraph): avoid outputing a word twice after
14626 * lyxrc.C (getDescription): document that document_path and
14627 template_path can be empty.
14629 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14631 * LaTeXFeatures.C (getMacros):
14632 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14634 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14636 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14638 (getPackages): rename feature "floats" to "float". Use an array to
14639 iterate over 'simple' features (i.e. just a \usepackage). Add
14640 handling of "amsmath" (renamed from "amsstyle").
14642 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14644 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14647 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14649 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14650 FuncStaus::FuncStatus & FuncStaus::some_method().
14652 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14654 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14655 of the func_satus stuff. Edited and massaged in various ways by
14658 * lyxfunc.C (getStatus): use FuncStatus
14660 2002-01-08 Juergen Vigna <jug@sad.it>
14662 * text.C (nextBreakPoint): use function Inset::isChar().
14664 * paragraph.C (TeXOnePar): use function
14665 Inset::forceDefaultParagraphs.
14667 * buffer.C (latexParagraphs): use function
14668 Inset::forceDefaultParagraphs.
14670 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14672 * lyx_gui.C (init): set the style of the menu popups to
14673 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14675 2002-01-07 Juergen Vigna <jug@sad.it>
14677 * text.C (setHeightOfRow): small fix
14678 (prepareToPrint): don't look at alignment if we don't have the place
14681 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14683 * box.C: New file. Move the Box methods and functions out of box.h,
14684 following Lars' suggestion.
14686 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14688 * box.h: #include "support/LOstream.h", needed for inlined function.
14691 * lyxtextclasslist.C: added some using std declarations.
14693 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14695 * box.h: make signed dimensions to allow insets wider than
14696 the screen (bug #162)
14698 * BufferView_pimpl.C: add some insetHit debug
14700 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14702 * vc-backend.C: add FIXME
14704 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14706 * lyxfunc.C (getStatus): enable code for showing math font status
14709 2002-01-07 Juergen Vigna <jug@sad.it>
14711 * text.C (nextBreakPoint): removed debug output not needed anymore.
14713 2002-01-06 Juergen Vigna <jug@sad.it>
14715 * text.C (nextBreakPoint): fixed up this function we had this bug
14716 since ever but now hopefully we break row better.
14717 (insertChar): we have to check if an inset is the next char as it
14718 could now happen that a large inset is causing a break.
14720 2002-01-05 Juergen Vigna <jug@sad.it>
14722 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14723 if it doesn't like to be drawed.
14725 2002-01-04 Juergen Vigna <jug@sad.it>
14727 * BufferView2.C (lockInset): forgot to set a cursor.
14729 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14731 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14733 * FormMathsPanel.C:
14736 * form_maths_panel.C:
14737 * form_maths_panel.h:
14738 * form_maths_panel.fd: implemented sub- and super- buttons in math
14741 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14742 (or ^ space) to be used as in TeX (req'd by Andr�.
14744 * lyxfunc.C: Allow ^ and _ again to be used both as
14745 super/subscript (mathed) and as themselves (in text).
14747 2002-01-03 Allan Rae <rae@lyx.org>
14749 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14750 "LyX" or the filename of the current buffer if it has one. This is a
14751 modified form of John Levon's patch.
14753 * XFormsView.C (setWindowTitle): also set icon title.
14755 * LyXView.h (setWindowTitle): signature changed.
14756 * XFormsView.h (setWindowTitle): ditto.
14758 2002-01-02 Juergen Vigna <jug@sad.it>
14760 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14762 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14764 * screen.C (topCursorVisible): introduce a temp var for
14765 text->cursor.row(), handle the case where this row is null. (kindo
14768 * text2.C (setCursor): add a couple of asserts.
14770 * paragraph.h (inset_iterator): add -> operator
14772 * paragraph.[Ch] (autoDeleteInsets): remove member function
14774 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14775 cursor pos correctly and handle inset deletion by itself.
14776 (insertErrors): move iterator declaration out of for expression
14778 * lyxtextclass.C: add <algorithm>
14780 * Makefile.am: added the new files to sources, removed layout.C
14782 * layout.C: removed file
14784 * layout.h: remove LYX_DUMMY_LAYOUT
14786 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14790 * lyxtextclass.[Ch]:
14791 * lyxtextclasslist.[Ch]: new files
14793 * include order changes to a lot of files, also changes because of
14796 2001-12-27 Juergen Vigna <jug@sad.it>
14798 * buffer.C (asciiParagraph): more fixes.
14800 * tabular.C (ascii): make ascii export support export of only the
14801 data separated by a column-delimiter.
14802 (ascii): better support for ascii export.
14804 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14806 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14808 * tabular_funcs.C: use a "using std::getline" instead of the
14809 previous fix from Angus (necessary for cxx + lyxstring)
14811 2001-12-24 Juergen Vigna <jug@sad.it>
14813 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14815 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14816 problems. First check a minipage also if we have some ert-contents
14817 (not only on par->size(), second set the right depth of the paragraph
14818 on the relink to the root-paragraph-list!
14820 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14821 which then did not anymore update the main paragraphs on undo/redo!
14823 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14825 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14826 code. Support all font-changing funcs (even those which are not in
14827 menu currently). Support for reporting font settings in
14828 mathed (disabled until Andre provides a function on mathed's side).
14830 * func_status.h (toggle): small helper function to set toggle
14833 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14835 * tabular_funcs.C: getline -> std::getline
14837 2001-12-21 Juergen Vigna <jug@sad.it>
14839 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14840 accessed and could be 0 (I couldn't generate this but it seems
14843 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14845 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14846 * tabular_funcs.h: here and include iosfwd
14848 2001-12-20 Juergen Vigna <jug@sad.it>
14850 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14851 inside inset but undo_par was.
14853 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14855 * Thesaurus.C: always include <config.h> in sources.
14859 * box.h: do not include <config.h> in header files
14861 * text.C (paintLastRow): remove unused variable
14863 * text.C (transformChar):
14865 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14867 * Painter.C (text):
14868 * font.C (width): rewrite to use uppercase() instead of
14871 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14873 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14875 * lyxfind.C: clean up of find failure position change
14877 2001-12-20 Juergen Vigna <jug@sad.it>
14879 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14881 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14882 (TeXRow): added to LaTeX a single tabular row.
14883 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14884 (Latex): simplified and finally good LT-h/f support.
14885 (various_functions): just small adaptions for LT-h/f support.
14887 * tabular_funcs.[hC]: added and moved here all not classfunctions
14890 2001-12-19 Juergen Vigna <jug@sad.it>
14892 * tabular.[Ch]: better support for longtabular options (not finished
14895 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14897 * text.C (paintLastRow): use the label font instead of the font of
14898 the last character to compute the size of *_BOX. This makes more
14899 sense and avoids a crash with empty paragraphs.
14900 Use Painter::rectangle to draw EMPTY_BOX.
14902 2001-12-19 Juergen Vigna <jug@sad.it>
14904 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14905 the paragraphs if the replaced paragraph is not the first one!
14906 Tried to delete not used paragraphs but does not work yet so for
14907 now it's inside #ifdef's and by default off!
14909 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14911 * MenuBackend.C: include "lyx_main.h" instead of declaring
14912 lastfiles (actually was declared as LastFiles* instead of a
14915 2001-12-17 Juergen Vigna <jug@sad.it>
14917 * tabular.C (AppendColumn): applied John's fix
14919 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14923 * BufferView_pimpl.h:
14924 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14927 * box.h: new start of class for above
14929 * lyxfunc.C: ignore space-only minibuffer dispatches.
14930 Show the command name when it doesn't exist
14932 * minibuffer.C: don't add empty lines to the history
14934 * minibuffer.C: add a space on dropdown completion
14936 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14938 * text.C: fix line above/below drawing in insets
14940 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14942 * lyxlength.C (LyXLength): Initialize private variables.
14944 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14946 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14947 when inserting error insets.
14949 2001-12-13 Juergen Vigna <jug@sad.it>
14951 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14952 actually sometimes the before-paragraph.
14953 (setUndo): don't clear the redostack if we're not actually undoing!
14955 2001-12-06 Juergen Vigna <jug@sad.it>
14957 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14958 and fixed redoing of main paragraph, so we can use it now ;)
14960 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14962 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14964 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14967 2001-12-13 André Pönitz <poenitz@gmx.net>
14970 * undo_func.C: minor cleanup
14972 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14974 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14975 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14976 font in urw-fonts package which is marked as -urw-fontspecific and
14977 does not work (incidentally, changing the encoding in the
14978 fonts.dir of this package to -adobe-fontspecific fixes the
14981 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14982 is a crash when undoing first paragraph (Juergen, please take a
14983 look). THis does not mean the undo fix is wrong, just that it
14986 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14987 the (Paragraph*) version when needed instead of duplicating the
14990 * text.C (workWidth): use Inset::parOwner to find out where the
14991 inset has been inserted. This is a huge performance gain for large
14992 documents with lots of insets. If Inset::parOwner is not set, fall
14993 back on the brute force method
14995 * paragraph_pimpl.C (insertInset):
14996 * paragraph.C (Paragraph):
14997 (cutIntoMinibuffer): set parOwner of insets when
14998 inserting/removing them
15000 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15002 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
15008 * mathed/formulabase.C:
15009 * mathed/math_cursor.[Ch]:
15010 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15013 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15015 * lyxlength.[Ch] (operator!=): new function
15017 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15019 * text.C (workWidth): use Inset::parOwner to find out where the
15020 inset has been inserted. This is a huge performance gain for large
15021 documents with lots of insets. If Inset::parOwner is not set, fall
15022 back on the brute force method
15024 * paragraph_pimpl.C (insertInset):
15025 * paragraph.C (Paragraph):
15026 (cutIntoMinibuffer): set parOwner of insets when
15027 inserting/removing them
15029 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15031 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15033 * tabular-old.C (getTokenValue):
15034 * tabular.C (getTokenValue):
15035 (write_attribute): new versions for LyXLength
15036 (everywhere): adjust the use of widths
15038 * tabular.h: change the type of widths from string to LyXLength
15040 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15042 * paragraph.C: fixed missing line number count when exporting
15043 Environments to LaTeX file
15045 * buffer.C: added informational message for checking line numbers.
15047 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15049 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15050 paragraph, do the 'double space' part, but not the 'empty
15053 * text.C (workWidth): small optimization
15054 (getLengthMarkerHeight): use minimal size for negative lengths.
15056 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15058 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15060 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15062 2001-12-11 André Pönitz <poenitz@gmx.net>
15065 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15067 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15069 * text2.C: keep selection on a setFont()
15071 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15073 * lyx_cb.C: another bv->text misuse, from insert label
15075 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15078 * kbsequence.C: re-instate nmodifier mask
15080 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15082 * lyx_main.h: make lyxGUI private.
15084 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15086 * lyxfind.C: place the cursor correctly on failed search
15088 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15090 * text.C (getLengthMarkerHeight): for small heights, the arrows
15091 are not always on top/bottom of the text
15092 (drawLengthMarker): smaller arrows; take the left margin in
15093 account; draw also vfills.
15095 (paintLastRow): remove special code for vfill and standard spaces,
15096 since everything is handled in drawLengthMarker now.
15098 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15100 * buffer.C (insertErtContents): try to handle font and language
15101 interaction a bit better.g
15103 * ColorHandler.C (updateColor): change the hash to cover the whole
15104 LColor enum, ws cleanup
15105 (getGCLinepars): ditto
15106 (getGCLinepars): only lookup in the linecache once.
15108 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15110 * iterators.C (operator++): Make the iterator more robust
15112 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15114 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15116 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15119 * text.C: better added space drawing
15121 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15124 * BufferView2.C: fix layout combo update on inset unlock
15126 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15128 * Makefile.am: don't compile unused files
15130 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15134 * LyXAction.C: remove old LFUN_LAYOUTNO
15136 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15138 * paragraph_pimpl.h:
15139 * paragraph_pimpl.C: isTextAt() doesn't need font param
15141 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15144 * lyxlex.C: little cleanup
15146 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15148 * BufferView_pimpl.C: fix insertAscii for insets
15150 2001-12-05 Juergen Vigna <jug@sad.it>
15152 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15153 set the right font on the "multi" paragraph paste!
15155 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15161 * lyxlength.C: remove out-commented code.
15163 * BufferView_pimpl:
15177 * vc-backend.C: change "while(" to "while ("
15179 * lyxlength.[Ch]: add zero function to check if length is zero or
15181 * lyxgluelength.C: use it
15183 2001-12-05 Allan Rae <rae@lyx.org>
15185 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15186 Works for 2.95.3, from what I understand of Garst's reports this should
15187 work for other g++ versions. We're screwed if the abs(int) definition
15188 changed between bugfix releases of gcc.
15190 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15192 * text.C: fix chapter label offset !
15194 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15197 * text.C: fix hfill at end of line, clean up
15199 2001-12-04 Juergen Vigna <jug@sad.it>
15201 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15202 that we force an update of the inset and it's owners if neccessary.
15204 2001-12-03 Juergen Vigna <jug@sad.it>
15206 * text.C (rowLast): simplified code
15208 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15210 * lyxfunc.C: fix show options on timeout
15212 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15214 * screen.C (topCursorVisible): scroll half a page when the cursor
15215 reached top of bottom of screen
15217 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15219 * minibuffer.C: deactivate on loss of focus
15221 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15223 * vspace.[Ch] (operator!=): add operator.
15225 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15227 * BufferView_pimpl.C: refuse to open an inset when
15228 there's a selection.
15230 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15232 * BufferView_pimpl.C: allow to click on RHS of full row insets
15234 2001-11-30 Juergen Vigna <jug@sad.it>
15236 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15237 insets for undo reasons.
15239 2001-11-28 André Pönitz <poenitz@gmx.net>
15241 * vspace.[Ch]: cosmetical changes
15243 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15253 * kbsequence.C: part re-write of old kb code
15256 * WorkArea.C: remove Lgb_bug_find_hack
15258 2001-11-30 José Matos <jamatos@fep.up.pt>
15260 * buffer.C (makeDocBookFile): add a comment to point a hack.
15261 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15262 Fixed a double write of labels.
15264 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15267 * LaTeX.h Fixed bug in LaTeX class where it would not
15268 re-run latex if no depfiles were changed, but the .dvi was removed.
15270 2001-11-28 André Pönitz <poenitz@gmx.net>
15272 * all the files from the change on 2001/11/26:
15273 use lyx::layout_type instead of LyXTextClass::size_type
15274 use lyx::textclass_type instead of LyXTextClassList::size_type
15276 2001-11-29 Juergen Vigna <jug@sad.it>
15278 * text.C: added support for paragraph::isFreeSpacing()
15280 * buffer.C: same as above
15282 * paragraph.h: inserted isFreeSpacing() function to enable
15283 FreeSpacing inside InsetERT.
15285 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15286 of the paragraph's in the cut/copy buffer to 0!
15288 * text2.C (removeRow): remove the assert as it can!
15290 * lyxtext.h: added helper function firstRow returning firstrow and
15291 made firstrow private again.
15293 * BufferView2.C (lockInset): don't relock if we're already locked!
15295 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15296 the only paragraph.
15297 (removeRow): added Assert::(firstrow)
15299 * debug.C: forgot to add INSETTEXT here.
15301 2001-11-28 Juergen Vigna <jug@sad.it>
15303 * sp_spell.C (initialize): changed error text to more general
15304 spellchecker command use (not only ispell!)
15306 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15308 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15310 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15312 * vspace.C: initialise lyxgluelength on failure
15314 2001-11-28 Allan Rae <rae@lyx.org>
15316 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15317 declaration & definition that looks like a function declaration.
15319 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15321 * BufferView2.C (copy):
15322 (copyEnvironment): do not clear the selection when doing a copy.
15324 * text.C (paintFirstRow): compilation fix
15326 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15328 * tabular.C (Latex): correct line count when writing latex.
15330 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15332 * paragraph_pimpl.h:
15333 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15336 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15340 * LColor.C: change vfillline->added_space
15342 * text.C: add markers and text for added space
15344 * vspace.C: fix comment
15346 2001-11-28 André Pönitz <poenitz@gmx.net>
15348 * paragraph.C: whitespace changes
15349 * all the other files from the change on 2001/11/26:
15350 change *::pos_type into lyx::pos_type
15352 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15354 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15355 language of the document when inserting error insets.
15357 2001-11-26 André Pönitz <poenitz@gmx.net>
15359 * BufferView_pimpl.[Ch]:
15367 * paragraph_pimpl.[Ch]:
15370 * text2.C: reduce header dependencies, introduce type for positions
15372 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15374 * <various>: change to use Alert.h
15376 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15378 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15379 when encountering an unknown token.
15380 (readLyXformat2): Show an error message if there were unknown tokens.
15382 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15385 * BufferView_pimpl.C:
15389 * text2.C: use par->isInset()
15391 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15393 * paragraph_pimpl.h:
15394 * paragraph_pimpl.C: cleanup
15396 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15398 * text2.C (removeRow):
15399 * text.C (setHeightOfRow): remove useless (and costly) call to
15402 2001-11-20 Allan Rae <rae@lyx.org>
15404 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15405 Now need Inset*::checkInsertChar() to return true for appropriate
15406 cases so that the characters in the minibuffer will actually be
15409 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15411 * text.C: change the order of the includes.
15412 (workWidth): initialize it at once.
15413 (workWidth): make maxw unsigned
15414 (setHeightOfRow): remove unused variable (inset)
15415 (selectSelectedWord): remove unused variable (inset)
15416 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15418 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15420 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15421 server is not running.
15423 (closeConnection): add debug info when server is disabled.
15425 * ColorHandler.C (getGCForeground): send debug message to GUI
15428 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15430 * kbmap.C (bind): modify because return conventions of
15431 kb_sequence::parse have changed.
15433 * kbsequence.C (parse): only ignore spaces and not any stupid
15434 control character. This avoids tests like s[i] <= ' ', which are
15435 guaranteed to fail with 8bit characters and signed chars.
15436 Change return code to string::npos when there have been no error
15437 (0 was a bad idea when error is at first character)
15439 2001-11-14 José Matos <jamatos@fep.up.pt>
15442 * buffer.C (simpleDocBookOnePar): removed unused argument.
15444 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15446 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15447 insets which are part of a word. Paragraph::isLetter takes care of
15448 that now. Use Paragraph::isInset to identify insets.
15449 (selectSelectedWord): do not test for hyphenation break.
15451 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15452 that protected spaces are considered as spaces.
15454 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15457 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15460 * lyxserver.C: fix it. and small cleanup.
15462 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15464 * BufferView_pimpl.C: use inline helpers
15467 * LaTeXFeatures.C: fix typos
15470 * Spacing.C: move spacing_string into class
15472 * ToolbarDefaults.C: move stuff into namespace anon
15474 * layout.h: update enum
15476 * lyxfunc.C: use better debug
15478 * minibuffer.h: fix typo
15482 * WorkArea.C: add and use Debug::WORKAREA
15486 * text2.C: code re-organisation, inline helpers
15488 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15490 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15491 std::vector.empty().
15493 2001-11-09 Allan Rae <rae@lyx.org>
15495 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15496 '\n's after tables. Tabular and ERT inset work now makes this no
15499 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15502 * minibuffer.C: fix crash, improve drop-down completion
15504 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15507 * lyxserver.C: invalidate fd's when doing endPipe()
15509 2001-11-08 José Matos <jamatos@fep.up.pt>
15511 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15512 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15515 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15517 2001-11-07 José Matos <jamatos@fep.up.pt>
15520 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15523 * buffer.C (sgmlOpenTag):
15524 * buffer.C (sgmlCloseTag): removed debug info.
15526 * buffer.h (sgmlOpenTag):
15527 * buffer.h (sgmlCloseTag): made public.
15529 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15531 * buffer.C (saveParamsAsDefaults):
15532 * lyx_cb.C (MenuLayoutSave): remove
15534 * LyXAction.C (init):
15536 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15538 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15540 * buffer.C (setPaperStuff): removed from here...
15542 * bufferparams.C (setPaperStuff): ... and moved there.
15544 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15548 * XFormsView.C: add support for drop-down completion
15550 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15552 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15555 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15557 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15560 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15562 * lyx_main.C: change ref to known bugs
15564 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15566 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15567 to work around older babel problems.
15569 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15571 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15573 2001-10-24 Juergen Vigna <jug@sad.it>
15575 * tabular-old.C (ReadOld): below variable changes reflected.
15577 * tabular.[Ch]: added ltType struct for longtable header/footer
15578 defines and changed all instances where they are used. Added
15579 future support for double top/bottom rows.
15581 2001-10-24 José Matos <jamatos@fep.up.pt>
15583 * buffer.h (docbookHandleCaption):
15584 * buffer.C (docbookHandleCaption): removed unused function.
15585 (makeDocBookFile): moved docbook supported version to v4.1.
15587 2001-10-24 José Matos <jamatos@fep.up.pt>
15590 * tabular.C (docbookRow): new function to export docbook code of a row.
15591 (DocBook): now honors the longtable flags.
15593 2001-10-23 José Matos <jamatos@fep.up.pt>
15596 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15597 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15599 * buffer.C (makeLinuxDocFile):
15600 (makeDocBookFile): reworked the preamble, more clean, and with
15601 support for lyx defined entities. Changed the document declaration
15602 to be more XML friendly.
15604 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15605 if we need to output XML that should be done with a filter.
15607 2001-10-22 Juergen Vigna <jug@sad.it>
15609 * sp_pspell.h (class PSpell): add alive function needed in the
15610 controller to see if the spellchecker could be started.
15612 2001-10-22 Juergen Vigna <jug@sad.it>
15614 * buffer.C (insertStringAsLines): modify the font for inserting
15615 chars in certain conditions by calling checkInsertChar(font).
15617 2001-10-19 Juergen Vigna <jug@sad.it>
15619 * text.C (workWidth): use getRow instead of wrong algorithm.
15620 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15622 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15627 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15629 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15631 * text.C (workWidth): do not search for the exact row when
15632 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15633 optimization for big documents.
15635 2001-10-18 Juergen Vigna <jug@sad.it>
15637 * text.C (workWidth): new function with added Inset * parameter.
15639 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15641 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15643 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15644 change return type of getColumnNearX.
15647 * text.C (changeRegionCase): use uppercase/lowercase instead of
15650 (rightMargin): simplify code by factoring out the uses of
15655 (appendParagraph): use Paragraph::size_type
15657 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15659 * vspace.C (asLatexString): add a missing break
15661 2001-10-15 Herbert Voss <voss@perce.de>
15663 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15665 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15667 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15670 2001-10-10 André Pönitz <poenitz@gmx.net>
15672 * lyxfunc.C: removed greek_kb_flag.
15674 2001-10-10 Herbert Voss <voss@perce.de>
15676 * lyx_main.C: delete global string help_lyxdir.
15678 2001-10-09 Herbert Voss <voss@perce.de>
15680 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15682 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15684 * lyx_main.C: added global string help_lyxdir.
15686 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15688 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15690 * lyxrc.C (set_font_norm_type): support iso8859-4
15692 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15694 * LaTeX.C (deplog): add another regex for MikTeX
15696 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15698 * lyxrc.C (set_font_norm_type): support iso8859-3
15700 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15702 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15704 * LaTeXFeatures.C: remove special case of french and index
15706 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15707 before \begin{document}). This solves several incompatibilities.
15709 2001-10-03 Garst Reese <reese@isn.net>
15711 * lyx_cb.C: change CheckTex error msg.
15713 2001-10-03 José Matos <jamatos@fep.up.pt>
15715 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15717 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15719 * .cvsignore: update
15721 * lyx_main.C (commandLineVersionInfo): use new style version info.
15723 * buffer.C (writeFile):
15725 (makeLinuxDocFile):
15726 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15728 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15730 * version.h: update to use stuff in version.C
15732 * version.C.in: new file. Contains version information determined
15733 at compile time. This is a merging of version.h and
15736 2001-10-03 Juergen Vigna <jug@sad.it>
15738 * BufferView_pimpl.C (update): don't change "dirty" status in
15741 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15743 * WorkArea.C (c-tor): re-position version string slightly.
15745 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15747 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15748 revert to previous code.
15750 WorkArea.[Ch]: (show, destroySplash): methods removed.
15752 WorkArea.C: rework code so that it's an amalgam of the codes before and
15753 after the splash screen was moved to WorkArea.
15755 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15758 * vspace.C (inPixels):
15761 * buffer.C (insertStringAsLines):
15762 (asciiParagraph): fix types to be large enough
15764 * lyxlex_pimpl.h: change member status from short to int
15766 * layout.h: fix type of endlabeltype
15769 * kbsequence.C (parse): change return type to string::size_type
15771 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15774 * Bullet.C (bulletSize):
15775 (bulletEntry): do not use short ints as parameters
15777 * BufferView2.C (insertLyXFile): change a char to an int.
15779 * WorkArea.C (WorkArea): remove unneeded floats in computation
15781 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15783 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15785 * paragraph.C (asString): Do not ignore newline/hfill chars when
15786 copying to the clipboard.
15788 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15790 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15791 after a multi-line inset.
15793 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15795 * paragraph.C (validate): Set NeedLyXFootnoteCode
15797 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15799 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15800 and decrease-error to decrease.
15802 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15804 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15805 it more readable (should be equivalent)
15807 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15809 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15811 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15813 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15814 of a cursor (row, etc.) after a character has been deleted
15815 (deleteEmptyParagraphMechanism): call the method above on _all_
15816 cursors held by the LyXText when a double space has been
15819 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15821 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15823 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15825 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15826 background. Use greyOut() and the new show() methods to toggle between
15827 the foreground and background. Add code to remove the splash after
15828 its initial showing.
15830 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15831 (create_forms): no longer call Dialogs::showSplash.
15833 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15835 * .cvsignore: add version_info.h
15837 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15839 * version_info.h.in: new file
15841 * Makefile.am: add version_info.h.in
15843 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15844 version_info.h instead of VERSION_INFO
15846 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15848 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15849 The ERT inset now returns string().
15851 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15853 * lyxtext.h, text.C (selectNextWord): renamed as
15854 selectNextWordToSpellcheck.
15856 * text.C (selectNextWordToSpellcheck): Modified to not select
15857 words inside an ERT inset.
15859 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15861 * lyx_cb.C (MenuLayoutSave): change a bit the question
15863 * sp_base.h: include <sys/types.h>
15865 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15867 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15869 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15871 * several files: fix typos in user-visible strings
15873 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15875 * text2.C (pasteSelection): do not set the selection, since it
15876 will be cleared later. Actually, the intent was to fix the way the
15877 selection was set, but I figured rmoving the code was just as good.
15879 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15881 * FontLoader.C (available): Check if font is available without
15884 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15886 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15888 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15890 * lyxrc.[Ch]: added display_graphics variable and associated code.
15892 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15894 * bufferparams.C (hasClassDefaults): new method. Returns true if
15895 the buffer parameters correspond to known class defaults
15897 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15899 * XFormsView.C (show): set minimum size to the main window.
15901 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15903 * text2.C (copySelection):
15905 * lyxfind.C (LyXReplace):
15906 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15907 LyXText::selectionAsString.
15909 * paragraph.C (asString): add "label" argument to the second form
15911 * text2.C (selectionAsString): add "label" argument and pass it to
15912 Paragraph::asString.
15914 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15916 * lyx_main.C (commandLineHelp): remove version information
15918 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15920 * lyx_main.C: add -version commandline option
15922 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15924 * paragraph.h: make the optional constructor arg required instead.
15925 some modifications to other files because of this.
15927 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15929 * lyxserver.C (C_LyXComm_callback): make it static
15931 * lyx_main.C (error_handler): make it static
15933 * lyx_gui.C (LyX_XErrHandler): make it static
15935 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15937 * WorkArea.C: make the extern "C" methods static.
15939 * Makefile.am (lyx_LDADD): simplify
15941 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15943 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15944 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15946 * LyXAction.C (init):
15947 * lyxfunc.C (dispatch): associated code removal.
15949 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15951 * lyxfont.h (isSymbolFont): shut off warning
15953 * text.C (setHeightOfRow):
15954 (getVisibleRow): fix crash with empty paragraphs which have a
15957 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15959 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15962 2001-09-04 José Matos <jamatos@fep.up.pt>
15965 * tabular.C (docbook): rename docBook method to docbook.
15967 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15969 * Makefile.am: add dependencies to main.o.
15971 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15973 * FontLoader.C (available): Return false if !lyxrc.use_gui
15975 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15977 * FontInfo.C (query):
15978 * converter.C (view):
15979 * importer.C (Import):
15980 * exporter.C (Export): Can not -> cannot.
15982 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15984 * BufferView_pimpl.C: allow to create index inset even if
15987 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15989 * buffer.C (getLists): replace boost::tie code with an explicit pair
15990 as boost::tie can break some compilers.
15992 * iterators.h: Added a std:: declaration to the return type of
15995 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15997 * lyxrc.C: add help for view_dvi_paper_option, default to safe
16000 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
16002 * iterators.[Ch]: New files. Provide paragraph iterators.
16004 * buffer.C (changeLanguage): Use paragraph iterators.
16005 (isMultiLingual): ditto
16007 * BufferView2.C (ChangeInsets): Use paragraph iterators.
16009 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
16011 * FontLoader.C: Support for cmr font.
16013 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
16015 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16016 (available): New method.
16018 * FontInfo.C (getFontname): Use scalable fonts even when
16019 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16022 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16024 * converter.C (Formats::view): reverted! Incorrect fix.
16026 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16028 * converter.C (Formats::view): only output the -paper option
16029 if the dvi viewer is xdvi, thereby fixing bug #233429.
16031 2001-08-23 Herbert Voss <voss@perce>
16033 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16035 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16037 * Spacing.h (Spacing): Set space to Default on in the default
16040 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16042 * vc-backend.h (RCS::versionString): add RCS to version
16043 (CVS::versionString): add CVS to version
16045 * vc-backend.C (scanMaster): do not add CVS to version.
16046 (scanMaster): do not add RCS to version
16048 * lyxvc.C (versionString): new method
16050 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16052 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16054 * Spacing.C (set): initialize fval
16056 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16058 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16061 2001-08-16 Juergen Vigna <jug@sad.it>
16063 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16065 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16067 * BufferView_pimpl.C:
16070 * text2.C: setParagraph takes linespacing now
16072 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16074 * LyxAction.C: add internal LFUN_CITATION_INSERT
16076 * LyXView.C: actually apply fix
16078 * bufferlist.C: fix open non-existent file
16080 * lyxfind.C: fix indentation
16082 * lyxfunc.C: remove unneeded assert, fix typo
16084 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16086 * MenuBackend.C: use "Floatname List"
16088 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16090 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16091 when converting LaTeX layout to insetERT.
16092 Generate a non-collapsed float when reading old float
16094 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16096 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16099 2001-08-13 Juergen Vigna <jug@sad.it>
16101 * text.C (fill): return 0 instead of 20 as this seems to be the more
16104 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16106 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16109 2001-08-13 Juergen Vigna <jug@sad.it>
16111 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16113 (SearchBackward): comment out the unlocking of the inset_owner this
16114 should not be needed!
16116 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16118 * Many files: Remove inherit_language, and add latex_language
16120 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16121 collapsible insets.
16123 2001-08-10 Juergen Vigna <jug@sad.it>
16125 * text.C (prepareToPrint): fixed hfill-width in draw!
16127 * BufferView2.C (selectLastWord): save the selection cursor as this
16128 now is cleared in the function LyXText::clearSelection!
16130 2001-08-08 Juergen Vigna <jug@sad.it>
16132 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16133 BACKSPACE type functions.
16135 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16136 is only cutted from the document but not put in the cut-buffer, where
16137 still the old stuff should be.
16139 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16141 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16143 * tabular.C (SetWidthOfCell): fixed special case where the width
16145 (LeftLine): handle '|' in align_special.
16147 (LeftAlreadyDrawed): ditto
16148 (SetWidthOfCell): ditto
16150 2001-08-07 Juergen Vigna <jug@sad.it>
16152 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16154 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16156 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16157 * lyxlex.[hC]: ditto
16159 2001-08-06 Juergen Vigna <jug@sad.it>
16161 * text.C (getVisibleRow): fix up row clearing a bit.
16163 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16165 * minibuffer.C: make sure the X server sees the changes in the input.
16167 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16169 * paragraph.C (getFont): split into...
16170 (getLabelFont): this
16171 (getLayoutFont): and this
16172 * paragraph_pimpl.C (realizeFont): calling this
16174 * text2.C (getFont): split into...
16175 (getLayoutFont): this
16176 (getLabelFont): and this
16177 (realizeFont): all three calling this
16179 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16182 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16184 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16186 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16188 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16189 layouts from the Quote inset insertion.
16191 2001-08-03 Juergen Vigna <jug@sad.it>
16193 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16195 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16196 only if status not is already CHANGED_IN_DRAW (second level).
16198 * text.C (draw): don't set the need_break_row when inside an
16201 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16203 * buffer.C (parseSingleLyXformat2Token): handle more latex
16206 * bufferview_funcs.[hC]: change function names to
16207 begin with small char, adjust other files.
16209 2001-08-02 André Pönitz <poenitz@gmx.net>
16212 BufferView_pimpl.C: remove broken special code for math-greek
16214 2001-08-02 Juergen Vigna <jug@sad.it>
16216 * BufferView_pimpl.C (update): redone this function so that we
16217 update the text again if there was a CHANGE_IN_DRAW.
16219 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16220 (drawFromTo): added a new internal bool which is used by draw() and
16222 (general): some cursor drawing problems fixed.
16224 2001-08-01 Juergen Vigna <jug@sad.it>
16226 * lyxfind.C (LyXFind): fixed
16227 (SearchForward): ditto
16228 (SearchBackward): ditto
16230 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16231 spurius drawing of the cursor in the main area.
16233 * text2.C (status): small fix which could lead to a segfault!
16234 (clearSelection): remove unneeded BufferView param.
16236 2001-08-01 André Pönitz <poenitz@gmx.net>
16238 * lyxfunc.C: small change due to changed mathed interface
16240 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16242 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16244 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16246 * lyxfunc.c: fail gracefully if file doesn't exist
16251 * BufferView_pimpl.C: IsDirWriteable() proto changed
16253 * LyXView.C: fix updateWindowTitle() to store the last title
16255 2001-07-31 Juergen Vigna <jug@sad.it>
16257 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16258 the font (wrong since using of Paragraph::highestFontInRange).
16260 * paragraph.C (highestFontInRange): added a default_size parameter.
16262 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16263 (setHeightOfRow): reformat
16265 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16267 * converter.[hC] + affected files: move to (inital-char)lowercase
16270 * ParagraphParameters.C (ParagraphParameters): remove commented code
16272 * PainterBase.[Ch]: remove commented code
16274 * LaTeXFeatures.h: add "bool floats" for float.sty
16276 * LaTeXFeatures.C (LaTeXFeatures): init floats
16277 (require): handle float
16278 (getPackages): do it with floats
16280 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16282 * BufferView_pimpl.C (Dispatch): improve handling of
16283 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16285 * commandtags.h: #include lyxfont.h here temporarily to avoid
16288 * bufferlist.h: include LString.h here.
16290 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16292 * text2.C (getStringToIndex): new method.
16294 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16296 * *: Reduced header file dependencies all over.
16298 2001-07-30 Baruch Even <baruch@lyx.org>
16300 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16302 2001-07-29 Baruch Even <baruch@lyx.org>
16304 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16306 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16308 * ParameterStruct.h (endif): add a default constructor to make
16309 sure that all variables is initialized.
16311 * ParagraphParameters.C (ParagraphParameters): adjust
16313 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16315 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16316 index; also, check that there is something to index, and that it
16317 does not span over several paragraphs.
16318 (doubleClick): use WHOLE_WORD_STRICT for double click.
16320 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16322 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16325 2001-07-26 Baruch Even <baruch@lyx.org>
16327 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16328 an InsetFig figure, backwards compatible reading of old figure code.
16330 2001-07-27 Juergen Vigna <jug@sad.it>
16332 * text2.C: font.realize function adaption.
16334 * text.C (draw): add a warnings lyxerr text if needed.
16336 * layout.C: font.realize function adaption.
16338 * language.C: add inherit_language and implement it's handlings
16340 * bufferview_funcs.C (StyleReset): remove language parameter from
16341 font creation (should be language_inherit now).
16343 * bufferparams.C (writeFile): handle ignore_language.
16345 * paragraph.C (getFontSettings): the language has to be resolved
16346 otherwise we have problems in LyXFont!
16348 * lyxfont.C (lyxWriteChanges): added document_language parameter
16349 (update): removed unneeded language parameter
16351 * paragraph.C (validate): fixed wrong output of color-package when
16352 using interface colors for certain fonts in certain environments,
16353 which should not seen as that on the final output.
16355 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16357 * BufferView_pimpl.C:
16362 * LyXAction.C: add thesaurus support
16365 * lyxfind.C: add "once" parameter, for thesaurus, to not
16366 move to the next match
16368 2001-07-26 Juergen Vigna <jug@sad.it>
16370 * lyxfont.C (realize): honor ignore_language too!
16373 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16375 * text.C (draw): one place more for ignore_language to not draw
16378 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16380 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16382 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16384 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16385 the minipage conversion problem.
16387 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16389 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16392 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16394 * BufferView.h: don't forward declare WorkArea
16396 * BufferView.C: don't include WorkArea.h
16398 2001-07-25 André Pönitz <poenitz@gmx.net>
16402 * lyxfunc.C: new LFUN 'math-space'
16404 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16406 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16408 * text2.C (toggleInset): call open/close
16410 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16412 * lyxfunc.C (dispatch): add debug for the disabled case
16414 * font.C (buttonText): make similar to rectText
16416 * buffer.C (readInset): comment out parsing of insetlist and
16419 * PainterBase.C (rectText): small correction
16421 * BufferView_pimpl.C: comment out insettheorem and insetlist
16422 * LyXAction.C: ditto
16423 * commandtags.h: ditto
16425 2001-07-24 Juergen Vigna <jug@sad.it>
16427 * text.C (draw): honor the ignore_language.
16429 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16431 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16433 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16436 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16438 * lyxtext.h: remove unused (and unimplemented) methods
16440 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16442 * text.C (getVisibleRow): honor background color
16445 * Painter.h: remove default color argument for fillRectangle
16447 * text.C (backgroundColor): new method
16449 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16451 * text.C (getVisibleRow): adjust
16453 * font.[Ch] (rectText): new method, metrics
16454 (buttonText): new method, metrics
16456 * PainterBase.[hC]: make rectText and buttonText always draw and take
16459 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16461 * ToolbarDefaults.C (read):
16462 * MenuBackend.C (read): allow escaping in all strings
16464 * BufferView_pimpl.C (insertAndEditInset): new method.
16465 (Dispatch): use insertAndEditInset whenever appropriate.
16467 * BufferView_pimpl.C (insertNote): removed
16469 * BufferView_pimpl.C (smartQuote): new method, moved from
16470 BufferView; if an insetquote cannot be inserted, insert a '"'
16473 * BufferView2.C: remove insertCorrectQuote();
16475 * lyxfunc.C (getStatus): Add support for all remaingin
16476 inset-insert lfuns.
16478 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16480 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16481 command (necessary to pass " as parameter of self-insert.
16483 * text.C (selectWordWhenUnderCursor):
16484 (selectWord): add word_location parameter
16485 (selectWordWhenUnderCursor): same + remove special code for word
16487 (selectNextWord): use kind() to guess type of insetspecialchar,
16490 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16491 (insertErtContents): create ert insets as collapsed.
16492 (readInset): better compatibility code for Info inset.
16494 2001-07-20 Juergen Vigna <jug@sad.it>
16496 * lyxfunc.C (dispatch): use always LyXFind now!
16498 * text2.C (init): add a reinit flag so that the LyXText can be
16499 reinited instead of deleted and reallocated (used in InsetText).
16501 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16507 2001-07-18 Juergen Vigna <jug@sad.it>
16509 * text.C (selectNextWord): handle insets inside inset by calling
16510 always the bv->text functions so that we can go up the_locking_inset!
16512 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16513 in strange locations when inside an inset!
16515 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16516 handling to include insets.
16518 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16520 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16522 * LyXAction.C (init):
16524 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16525 LIGATURE_BREAK, since the name is so stupid.
16527 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16529 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16532 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16534 * sp_form.[Ch]: remove.
16536 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16538 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16541 * src/buffer.C (readInset): ditto.
16543 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16545 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16546 menuSeparator(), endOfSentenceDot(), ldots() and
16547 hyphenationPoint(), which are therefore removed.
16548 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16550 * LyXAction.C (init):
16551 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16553 * paragraph.C (getWord): removed.
16555 * BufferView_pimpl.C (Dispatch): use last word or selection for
16556 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16558 * lyx_main.C (queryUserLyXDir): do not ask before creating
16559 user_dir, except if it has been named explicitely.
16561 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16563 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16564 a document of zero size.
16566 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16568 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16569 approriately in the c-tor and in require().
16570 (getPackages): output the appropriate LaTeX for natbib support.
16572 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16573 variables "use_natbib" and "use_numerical_citations" when reading the
16575 (readInset): read the various natbib cite commands.
16576 (validate): white-space change.
16578 * bufferparams.[Ch]: new variables "bool use_natbib" and
16579 "bool use_numerical_citations".
16580 (writeFile): output them in the LyX file.
16582 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16584 * lyxfunc.C (getStatus): add support for all the inset insertion
16587 * text2.C (insertInset):
16588 * paragraph.C (insetAllowed):
16589 * BufferView_pimpl.C (insertInset): update to take in account the
16590 renaming of insertInsetAllowed
16592 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16594 * text2.C (getInset): new method. returns inset at cursor position.
16596 * BufferView_pimpl.C (Dispatch): changes because of this.
16598 * LyXAction.C (init): rename open-stuff to inset-toggle.
16600 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16602 * text2.C (toggleInset): renamed from openStuff; use
16605 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16607 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16609 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16611 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16613 * buffer.C (readLyXformat2): Add filename to the error dialog
16615 2001-07-18 Juergen Vigna <jug@sad.it>
16617 * tabular.C (GetCellNumber): put an assert here instead of the check!
16619 2001-07-17 Juergen Vigna <jug@sad.it>
16621 * BufferView_pimpl.C (toggleSelection): adapted too.
16623 * text.C (selectNextWord): adapted for use with insets.
16624 (selectSelectedWord): ditto
16626 2001-07-17 Juergen Vigna <jug@sad.it>
16628 * sp_spell.C (PSpell): fix initialitation order.
16630 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16632 * paragraph.C: spacing
16634 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16636 * sp_spell.C: repair language selection for pspell
16638 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16640 * lyxfunc.h: change more methods to begin with lower char.
16642 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16644 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16645 for unknown layouts.
16647 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16649 * buffer.C (readLyXformat2): Generate an error dialog if there are
16652 2001-07-16 Juergen Vigna <jug@sad.it>
16654 * sp_spell.C: always compile ISpell part.
16656 * lyxrc.C: added use_pspell entry and it's handling.
16658 2001-07-13 Juergen Vigna <jug@sad.it>
16660 * sp_spell.C: removed double includes.
16662 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16664 Consistent use of Lsstream.h:
16665 * Lsstream.h: added using std::stringstream for consistencies sake.
16667 * buffer.C: removed using std::stringstream
16669 * lyxfont.C (stateText):
16670 * paragraph.C (asString):
16671 * text.C (selectNextWord, selectSelectedWord):
16672 * text2.C (setCounter):
16673 * vspace.C (asString, asLatexString):
16674 std::ostringstream -> ostringstream.
16676 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16678 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16679 * commandtags.h: add LFUN_HELP_ABOUTLYX
16680 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16682 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16684 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16686 * lyx_gui_misc.C: remove spellchecker
16687 * lyxfunc.C: showSpellchecker
16689 * sp_ispell.h: added
16690 * sp_pspell.h: added
16691 * sp_spell.C: added
16692 * sp_form.[Ch]: removed
16693 * spellchecker.[Ch]: removed
16695 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16697 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16699 (simpleTeXSpecialChars): Simply print the input character without
16700 any special translation if pass_thru is set.
16702 * layout.h: Added bool pass_thru to layout class for being able to
16703 implement pass through of a paragraph for Literate Programming.
16705 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16706 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16707 * layout.C (Read): add "passthru" to list of layout tags and add
16708 code to set the pass_thru boolean when it is read.
16710 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16712 * trans_decl.h: remove allowed from KmodInfo
16714 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16715 remove allowed code
16718 * paragraph_pimpl.C (erase): use boost::prior
16720 * Painter.C (text): use data() instead of c_str() when length is
16722 * WorkArea.C (putClipboard): ditto
16723 * font.h (width): ditto
16725 * BufferView2.C: use it-> instead of (*it). for iterators
16727 * paragraph_pimpl.C: ditto
16728 * paragraph.C: ditto
16729 * minibuffer.C: ditto
16730 * language.C: ditto
16732 * encoding.C: ditto
16733 * counters.C: ditto
16734 * converter.C: ditto
16736 * Variables.C: ditto
16737 * TextCache.C: ditto
16738 * MenuBackend.C: ditto
16739 * LyXAction.C: ditto
16741 * FloatList.C: ditto
16742 * DepTable.C: ditto
16743 * ColorHandler.C (LyXColorHandler): ditto
16745 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16747 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16749 * text2.C (openStuff): reintroduce this method (which had been
16750 nuked in NEW_INSETS frenzy).
16752 * lyxfunc.C (Dispatch): when an action has not been handled, use
16753 its name in the error message, not its number.
16755 * paragraph.C (inInset): change method name to begin with lowercase.
16758 * text2.C: updates because of this.
16760 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16762 * ToolbarDefaults.C (add): add spaces in error message
16764 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16766 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16767 (readLyXformat2): rename return_par to first_par, use lyxlex's
16768 pushToken and remove the manual push handling.
16769 (parseSingleLyXformat2Token): add another ert comp. variable:
16770 in_tabular, rename return_par to first_par. handle newlines better
16772 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16774 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16776 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16778 * text2.C (getParFromID): removed
16780 * buffer.C (getParFromID): new method moved form lyxtext.
16781 * BufferView2.C (insertErrors): adjust
16782 (setCursorFromRow): adjust
16783 * BufferView_pimpl.C (restorePosition): adjust
16784 * lyxfunc.C (Dispatch): adjust
16785 * undo_funcs.C (textUndo): adjust
16787 (textHandleUndo): adjust
16788 (textHandleUndo): adjust
16790 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16792 * buffer.C: up' the LYX_FORMAT
16794 * lyxfont.h: turn NO_LATEX on as default
16796 * buffer.C (insertErtContents): new methods of tex style compability.
16797 (parseSingleLyXformat2Token): use it several places.
16798 * tabular.C (OldFormatRead): and here
16800 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16802 * text2.C: remove some commented code.
16805 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16806 * trans.C: changes because of the above.
16808 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16810 * text2.C (setCounter): Fix counters bug with bibliography layout.
16812 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16814 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16815 own member functions
16816 (simpleTeXSpecialChars): ditto
16818 2001-07-06 Juergen Vigna <jug@sad.it>
16820 * a lot of files: changed the access to LyXText::status and the
16821 call of undo-functions.
16823 * undo.[Ch]: added a inset_id to the undo informations.
16825 * undo_funcs.[Ch]: added and moved here all undo functions.
16827 * lyxtext.h: give the status enum a weight, made status_ a private
16828 variable and made accessor functions for it, removed the whole bunch
16829 of undo-functions as they are now in their own file, make some
16830 functions publically available. Added function ownerParagraph with
16833 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16834 made InInset() a const function, added getParFromID() function.
16836 * buffer.[Ch]: added const version for inset_iterator functions,
16837 added getInsetFromID() function.
16839 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16840 changed undo functions for new version.
16842 2001-07-05 Juergen Vigna <jug@sad.it>
16844 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16845 unknow mechanism does not call the proper constructor but only this
16846 one also if I request the other!?
16848 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16850 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16852 * text2.C (LyXText): use initialization lists.
16854 * lyxtext.h (Selection): initialize set_ and mark_
16855 (init): remove method
16857 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16859 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16861 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16863 * screen.[Ch]: change method names to begin with lowercase
16865 * BufferView_pimpl.C (updateScrollbar): simplify further and
16866 hopefully make it a bit faster.
16868 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16870 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16871 calling directly xforms functions.
16873 * Painter.C (Painter):
16874 * lyx_cb.C (MenuWrite):
16875 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16878 * lyx_gui.C: remove bogus guiruntime extern declaration.
16880 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16882 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16884 (redoDrawingOfParagraph): ditto
16885 (redoParagraphs): ditto
16886 (cutSelection): don't create a object for CutAndPaste use the
16887 static method directly
16888 (pasteSelection): ditto
16890 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16893 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16895 * modifications to some other files because of this.
16897 * Makefile.am (lyx_SOURCES): add XFormsView
16899 * XFormsView.[Ch]: new files
16901 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16902 the main window. Move the gui dependent stuff to XFormsView
16904 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16906 * tabular.C (GetCellInset): update cur_cell also in the row/col
16907 version of this function.
16909 * lyxfunc.C: no need to include figure_form.h here.
16915 * lyxvc.C: no need to include forms.h here.
16917 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16919 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16921 * lyxfunc.C (Dispatch):
16923 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16924 constructor argument.
16926 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16928 * paragraph.C (Paragraph): dont't clear, and just set layout.
16929 (makeSameLayout): use params's copy contructor.
16931 * ParagraphParameters.[Ch] (makeSame): delete method
16933 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16935 * Variables.[Ch]: fix indentation, rename set to isSet
16937 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16939 * lyxfunc.C (Dispatch): fix typo
16941 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16943 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16946 * bufferlist.C: include assert.h for emergencyWrite().
16948 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16950 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16951 give up at last (bug #425202) !
16953 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16959 * spellchecker.C: strip spellchecker options and bring up
16960 preferences tab instead
16962 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16964 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16965 the istringstream constructor
16967 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16969 * paragraph.C (getLayout): fix return value
16971 * paragraph.h: do not declare getLayout as inline.
16973 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16975 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16977 * lyxcursor.h (operator<): new func
16978 (operator>): new func
16979 (operator>=): new func
16980 (operator<=): new func
16982 * text.C (changeCase): use selection.start and selection.end
16983 (changeRegionCase): require from to be <= to. Require par to be a
16986 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16988 2001-06-27 Juergen Vigna <jug@sad.it>
16990 * text.C (cursorLeftOneWord): changed to return the cursor and added
16991 overlay with BufferView * parameter which calls this one.
16993 (selectWord): use new getWord function.
16994 (changeCase): renamed from changeWordCase as and extended to work
16995 also on selections.
16997 * lyxtext.h: added enum word_location
16999 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17000 changeCase as this operates now also on selections.
17002 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
17004 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17006 * many files: send debug output to Debug::INFO instead of
17009 * converter.C (View):
17011 (Move): send debug output to Debug::FILES instead of console.
17013 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
17015 * lyxfunc.C (getStatus): use func_status
17017 * func_status.h: new header, describing the results of
17018 LyXFunc::getStatus;
17020 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17023 2001-06-25 The LyX Project <jug@sad.it>
17025 * buffer.C (sgmlOpenTag):
17027 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
17029 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17031 * text2.C: remove some dead code
17033 * tabular.C (GetCellInset): store the last cell checked (gotten)
17035 * tabular.h: add the helper for the speedup
17037 * lyxtext.h: remove some dead code
17039 2001-06-26 The LyX Project <Asger>
17041 * paragraph.C: Change export to LaTeX of alignment to
17042 \begin{center} and family for better roundtrip work with reLyX.
17044 * Tune the math drawing a bit.
17046 2001-06-25 The LyX Project <Asger>
17048 * LColor.C (LColor): New color for math background. New color
17051 2001-06-25 The LyX Project <jug@sad.it>
17053 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17055 * lyxfunc.C (Open):
17056 * bufferlist.C (newFile): do not restrict to files ending with
17059 * BufferView_pimpl.C (MenuInsertLyXFile):
17061 2001-06-24 The LyX Project <jug@sad.it>
17063 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17066 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17068 * lyxtext.h: rename most methods to begin with a small char.
17069 Lots of changes because of this.
17071 * paragraph.C (Paragraph): do not call fitToSize
17072 (erase): call Pimpl::erase
17073 (insertChar): call Pimpl::insertChar
17074 (insertInset): call Pipl::insertInset
17075 (breakParagraph): do not call fitToSize
17076 (breakParagraphConservative): do not call fitToSize
17077 (fitToSize): remove method
17079 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17081 2001-06-24 The LyX Project <Asger>
17083 * Fix Qt compilation^2
17085 2001-06-24 The LyX Project <jug@sad.it>
17087 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17088 depthHook(getDepth()-1).
17091 * ParagraphParameters.h:
17092 * ParameterStruct.h: change type of depth to unsigned int ==
17093 depth_type. Many adaptations to other files before of that.
17095 2001-06-24 The LyX Project <Asger>
17097 * Fix Qt compilation.
17099 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17101 * paragraph.h: renamed several methods to begin with small letter.
17102 several changes to many parts of the code because of this.
17104 2001-06-23 The LyX Project <jug@sad.it>
17106 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17107 rewritten to discard all double spaces when KeepEmpty is off
17108 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17109 to only handle newlines but not fiddle with spaces and friends.
17111 * lyxfunc.C (MenuNew): when doing 'new from template', use
17112 template_path as default directory
17114 2001-06-23 The LyX Project <Asger>
17116 * Clean-up of header file includes all over
17117 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17119 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17121 * paragraph.h: renamed from lyxparagraph.h
17123 2001-06-23 Asger <lyx@violet.home.sad.it>
17125 * Buffer.h: Removed Buffer::resize
17126 * BufferList.h: Removed BufferList::resize
17127 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17128 the document lazily when we change the width, or the font settings.
17130 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17132 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17134 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17136 * buffer.h: remove out of date comment
17138 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17141 * screen.C: fix "theoretical" GC leak
17143 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17145 * LaTeX.C (scanAuxFile):
17146 (deplog): remove trailing \r when reading stream (useful under
17149 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17151 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17152 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17153 and BufferView::theLockingInset(Inset*), so should use them and not
17154 access bv_->text->the_locking_inset directly.
17156 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17158 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17161 * tex-defs.h: remove old unused file
17163 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17165 * BufferView_pimpl.C: fix typo, remove minibuffer message
17166 when buffer has loaded
17168 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17170 * lyxfunc.C (Dispatch): use stringstream
17171 (MenuNew): use stringstream
17172 (Open): use stringstream
17174 * importer.C (Import): use stringstream
17176 * bufferview_funcs.C (CurrentState): use stringstream
17178 * LaTeX.C (run): use stringstream
17180 * BufferView_pimpl.C (savePosition): use stringstream
17181 (restorePosition): use stringstream
17182 (MenuInsertLyXFile): use stringstream
17184 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17197 * vspace.C: removed // -*- C++ -*- as first line.
17200 * version.h: added // -*- C++ -*- as first line.
17202 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17204 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17206 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17209 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17211 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17214 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17216 * gettext.C: include LString.h even when --disable-nls is on.
17218 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17220 * converter.h (Get): changed argument type from int to
17221 FormatList::size_type to avoid unnecessary conversion.
17223 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17226 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17228 * gettext.h: include LString.h even when --disable-nls is on.
17230 2001-06-07 Juergen Vigna <jug@sad.it>
17232 * text.C (BreakAgain): subst spaces with tabs.
17234 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17235 (resizeInsetsLyXText): set force on resizeLyXText.
17237 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17239 * gettext.h (gettext_init):
17240 (locale_init): use a real definition instead of a macro
17242 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17244 * Bufferview_pimpl.C:
17246 * LColor.C: further lcolor tidies
17248 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17250 * BufferView_pimpl.C (updateScrollbar): simplify.
17252 * BufferView2.C: don't include insets/insetinfo.h, change
17253 prototype for insertInset and call the Pimpl version. let
17254 updateInset call Pimpl version.
17256 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17257 gotoInset to BufferView::Pimpl
17259 2001-06-01 Juergen Vigna <jug@sad.it>
17261 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17262 inside a LockingInset (is the update needed at all?).
17264 2001-05-31 Juergen Vigna <jug@sad.it>
17266 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17267 here not the old one otherwise how should we compare it afterwards
17270 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17275 * FontInfo.C: bring C functions into global namespace when
17278 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17280 * LString.h: make sure config.h has been loaded before LString.h.
17282 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17283 (one for each char read by EatLine!).
17285 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17288 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17290 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17291 to the same as the par we break from
17293 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17295 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17297 * MenuBackend.C (expand): also create menu entries for wide
17298 versions of the floats.
17300 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17302 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17304 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17305 frontends/Makefile.am
17311 * tabular.C (getTokenValue): add std::
17313 * tabular-old.C (getTokenValue): add std::
17314 (getTokenValue): ditto
17315 (getTokenValue): ditto
17317 * screen.C (ToggleSelection): adjust
17319 * lyxtext.h: put selection cursors inside a Selection struct.
17321 * lyxfunc.C (moveCursorUpdate): adjust
17323 * lyxfont.C (latexWriteStartChanges): add std::
17325 * lyxfind.C: adjust
17327 * font.h: delete with(char const *, LyXFont const &)
17329 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17331 * FontInfo.C (getFontname): add std::
17333 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17334 (workAreaButtonPress): adjust
17335 (tripleClick): adjust
17337 (moveCursorUpdate): adjust
17340 * BufferView2.C (gotoInset): adjust
17342 2001-05-30 Juergen Vigna <jug@sad.it>
17344 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17345 to check pspell I add this as default as I now have new pspell
17346 libraries and they seem to use this.
17348 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17350 * text2.C (CutSelection): make the cursor valid before the call to
17353 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17355 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17356 relied on 0 terminated strings and other horrors. Bug found due to
17357 the new assert in lyxstring!
17359 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17362 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17364 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17367 * lyxfunc.C (processKeySym): change method of getting to the
17370 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17371 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17372 * BufferView_pimpl.[Ch]: here as private methods.
17374 2001-05-28 Juergen Vigna <jug@sad.it>
17376 * text.C (SetHeightOfRow): added the update() call again as it is
17377 needed to initialize inset dimensions!
17379 2001-05-16 Juergen Vigna <jug@sad.it>
17381 * text2.C (SetCharFont): Add new function with BufferView * and
17382 bool toggleall parameters for setting insets internal fonts.
17383 (SetFont): Freeze the undo as we may change fonts in Insets and
17384 all this change should be inside only one Undo!
17386 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17387 setting font's in insets as for them we have the SetFont function!
17389 2001-05-15 Juergen Vigna <jug@sad.it>
17391 * text2.C (ClearSelection): to be sure we REALLY don't have any
17394 * tabular.C (TeXCellPreamble): fixed the left border problem for
17397 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17399 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17402 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17404 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17405 LFUN_BREAKPARAGRAPH.
17407 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17408 help test to "internal only", similar for LFUN_INSERT_URL
17410 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17411 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17412 auto_region_delete and deadkeys.
17414 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17417 * LColor.C: remove some dead entries, tidy a little
17419 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17421 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17423 (Dispatch): implement LFUN_ESCAPE
17425 * commandtags.h: add LFUN_ESCAPE
17427 * LyXAction.C (init): add entry for LFUN_ESCAPE
17429 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17430 Remove commented code.
17431 (insertNote): moved here
17432 (open_new_inset): moved here
17434 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17437 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17439 * kbmap.C (findbinding): clean it up and make it work correctly.
17441 * lyx_main.C (init): do not pass argc and argv as parameters
17443 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17445 * buffer.C: fix path for OS/2 & Win32
17449 * lyx_main.C: Added os:: class.
17451 * os2_defines.h: update
17453 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17455 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17456 better by trying again with reduced state.
17458 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17460 * lyxrc.C (read): print error about invalid key sequence only when
17461 debugging (because not all latinX keysyms are known to some X
17464 * kbsequence.C (getiso): add a few std:: qualifiers
17465 (getiso): comment out extra return statement.
17467 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17469 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17471 (Dispatch): enhance the accent inset a bit. (not perfect)
17473 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17475 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17477 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17479 * bufferlist.C (emergencyWrite): fix assert() call
17481 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17483 * text.C (InsertChar): Added trivial patch to only send the "you
17484 can not do multiple spaces this way" message once during a
17487 2001-05-08 Baruch Even <baruch@lyx.org>
17489 * Makefile.am: Changed order of libraries to get LyX to link properly
17490 with the gnome frontend.
17492 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17494 * LaTeXFeatures.h: add a std:: qualifier
17496 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17498 * paragraph.C (String): use stringstream
17500 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17502 * paragraph.C (writeFile): remove footflag arg
17504 * buffer.C (makeLaTeXFile): use stringstream
17505 (latexParagraphs): remove footnot gurba
17507 * LaTeXFeatures.C (getPackages): use stringstream
17508 (getMacros): likewise
17509 (getTClassPreamble): likewise
17510 (getFloatDefinitions): new method
17512 * paragraph.C (writeFile): reindent
17515 * WorkArea.h: revert the xpos + etc changes.
17517 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17519 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17521 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17522 (pasteSelection): likewise
17523 * text2.C (CreateUndo): likewise
17525 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17527 * minibuffer.C (peek_event): temporarily reduce the functionality
17528 of the minibuffer (to allow args on lfuns)
17530 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17531 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17533 * buffer.C (readInset): add compability reading of old float
17534 lists, add reading of new style float list.
17535 (readInset): avoid reevaluation of inscmd.getCmdName()
17536 (getLists): reindent
17538 * MenuBackend.C (MenuItem): implement parsing of
17539 md_floatlistinsert and md_floatinsert.
17540 (expand::LastFiles): move initalizaton of iterators out of loop,
17541 avoid reevaluation.
17542 (expand::Documents): introduce typdedef vector<string> Strings,
17544 (expand::ExportFormats): introduce typedef vector<Format const *>
17545 Formats, and use it.
17546 (expand): implement FloatListInsert and FloatInsert.
17548 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17549 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17550 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17552 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17554 (Dispatch::LFUN_FLOAT_LIST): implement
17556 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17558 * LaTeX.C (run): Fix problem with --export code.
17560 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17562 * BufferView.[Ch] (workarea): removed.
17563 (getClipboard) new method; wrapper for workarea()->getClipboard()
17565 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17568 * WorkArea.h (width, height, xpos, ypos): These methods all
17569 returned the dimensions of the work_area sub-area of WorkArea,
17570 resulting in a position error if the WorkArea were resized. Now
17571 return the dimensions of the entire WorkArea.
17573 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17575 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17577 * LaTeX.C (deplog): correct the syntax of regex reg1
17579 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17581 * undo.C: remove !NEW_INSETS cruft
17583 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17585 * text2.C: remove !NEW_INSETS cruft
17587 * text.C: remove !NEW_INSETS cruft
17589 * tabular.C: remove !NEW_INSETS cruft
17591 * spellchecker.C: remove !NEW_INSETS cruft
17593 * lyxtext.h: remove !NEW_INSETS cruft
17595 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17597 * lyxfunc.C: remove !NEW_INSETS cruft
17599 * lyxfind.C: remove !NEW_INSETS cruft
17601 * lyx_cb.C: remove !NEW_INSETS cruft
17603 * figureForm.C: remove !NEW_INSETS cruft
17605 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17607 * buffer.[Ch]: remove !NEW_INSETS cruft
17609 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17611 * CutAndPaste.C: remove !NEW_INSETS cruft
17613 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17615 * BufferView2.C: remove !NEW_INSETS cruft
17617 * BufferView.h: remove !NEW_INSETS cruft
17619 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17621 * Lsstream.h: include LString.h before the sstream headers to
17622 fix problem with gcc 2.95.3 and lyxstring
17624 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17626 * lyx_main.C: add using directives when needed for C functions
17627 declared in std:: namespace.
17629 2001-04-27 Juergen Vigna <jug@sad.it>
17631 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17632 (SetHeightOfRow): comment out the update call should not be needed!
17634 2001-04-13 Juergen Vigna <jug@sad.it>
17636 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17637 (LyXTabular): tried to minimize operator= operations (and realized
17638 hopfully Lars wish).
17640 2001-04-27 Juergen Vigna <jug@sad.it>
17642 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17644 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17646 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17648 * buffer.C (readInset): hack to make listof algorithm work
17650 * BufferView_pimpl.C: hack to make listof algorithm work
17652 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17654 * LyXAction.C: removed all !NEW_INSETS cruft
17655 (init): moved lfun_item in method
17657 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17659 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17661 * BufferView2.C (theLockingInset): white space.
17663 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17665 * minibuffer.C: include <iostream>
17667 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17669 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17671 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17673 * text.[Ch] (TransposeChars): new method
17675 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17677 * call message directly through LyXView instead of through LyXFunc
17678 * BufferView2.C: adjust
17679 * BufferView_pimpl.C: adjust
17680 * FontLoader.C: adjust
17682 * bufferview_funcs.C: adjust
17683 * converter.C: adjust
17684 * figureForm.C: adjust
17685 * importer.C: adjust
17687 * lyx_gui_misc.C: adjust
17688 * lyxfunc.C: adjust
17691 + more files in subdirs
17693 * lyxparagraph.h (size): move up int file
17696 * adjust all uses of Assert to lyx::Assert.
17698 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17699 lyxfunctional in namespace lyx
17700 * layout.C (hasLayout): ditto
17703 (delete_layout): ditto
17704 (NumberOfClass): ditto
17705 * converter.C (GetFormat): ditto
17710 * bufferlist.C (getFileNames): ditto
17711 (emergencyWriteAll): ditto
17714 * MenuBackend.C (hasSubmenu): ditto
17717 * BufferView_pimpl.C (getInsetByCode): ditto
17719 2001-04-18 Juergen Vigna <jug@sad.it>
17721 * vspace.C (asLatexString): fixed the 100% problem.
17723 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17725 * lyxfunc.C (Dispatch):
17727 * minibuffer.h: add a few std:: qualifiers
17729 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17731 * minibuffer.[Ch]: reimplement so that commands is initiated and
17732 run from lyxfunc, simplified som handling, and made the completion
17733 and history code for complete. wip.
17735 * lyxfunc.C (processKeySym): call message
17736 (miniDispatch): new temporary method
17737 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17738 (LFUN_MESSAGE): implement
17739 (LFUN_MESSAGE_PUSH): implement
17740 (LFUN_MESSAGE_POP): implement
17741 (initMiniBuffer): the initial/defualt minibuffer message.
17743 * lyxfont.[Ch]: inline some more getters
17745 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17747 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17749 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17750 (AutoSave): use LFUN_MESSAGE
17751 (Reconfigure): ditto
17753 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17755 * figureForm.C: use LFUN_MESSAGE
17757 * converter.C (runLaTeX): use LFUN_MESSAGE
17759 * bufferview_funcs.C: use LFUN_MESSAGE
17761 (changeDepth): ditto
17763 * bufferparams.h: use boost::
17765 * bufferlist.h: inherit privately from noncopyable
17767 * bufferlist.C (loadLyXFile): remove some commented code.
17769 * buffer.C (runChktex): use LFUN_MESSAGE
17771 * ShareContainer.h: inherit privately from noncopyable
17773 * ParagraphParameters.[hC] (depth): inline it.
17775 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17777 (message): new method
17778 (messagePush): ditto
17779 (messagePop): ditto
17780 (show): init minibuffer
17781 (showState): direct call
17783 * LaTeX.[Ch]: inherit privately from noncopyable
17784 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17785 instead of WriteStatus.
17787 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17789 * BufferView_pimpl.C (buffer): don't init minibuffer
17790 (workAreaButtonPress): use LFUN_MESSAGE
17791 (workAreaButtonRelease): ditto
17792 (savePosition): ditto
17793 (restorePosition): ditto
17794 (MenuInsertLyXFile): ditto
17795 (workAreaExpose): don't init minibuffer
17796 (update): remove commented code, simplify
17798 * BufferView2.C (openStuff): use LFUN_MESSAGE
17799 (toggleFloat): ditto
17802 (copyEnvironment): ditto
17803 (pasteEnvironment): ditto
17808 (updateInset): remove some commented code
17810 * lastfiles.h: inherit privately from noncopyable
17813 * lyx_main.h: ditto
17815 * lyxlex_pimpl.h: ditto
17817 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17818 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17819 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17821 * LyXAction.h: inherit privately from noncopyable, add methods
17822 func_begin, func_end, returning iterators to the func map.
17824 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17825 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17826 (func_begin): new method
17827 (func_end): new method
17829 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17831 (copySelection): ditto
17832 (pasteSelection): ditto
17834 * BufferView.C: whitespace change
17835 * BufferView.h: inherit privately from noncopyable
17837 2001-04-16 Allan Rae <rae@lyx.org>
17839 * tabular-old.C (l_getline):
17840 * spellchecker.C (sc_check_word):
17841 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17842 an unrecognised preprocessor directive. So ensure they're wrapped.
17844 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17846 * src/exporter.C (Export): Give an error message when path to file
17849 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17851 * LaTeX.C (deplog): Always check that foundfile exists.
17853 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17856 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17858 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17860 * tabular.[Ch] (getLabelList): implement new method
17862 * minibuffer.h: comment ouf setTiimer
17864 * minibuffer.C (ExecutingCB): constify res
17865 (peek_event): constify s
17866 (Set): constify ntext
17867 (Init): constify nicename
17869 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17871 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17872 (savePosition): use two params to Minibuffer::Set
17873 (restorePosition): ditto
17875 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17877 * lyx_main.C: include language.h
17879 * Makefile.am (lyx_main.o): add language.h
17881 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17887 * CutAndPaste.C: include gettext.h
17889 * lyxfont.h: remove old hack with ON and OFF.
17892 * lyxfont.h: do not include language.h...
17897 * bufferview_funcs.C:
17903 * paragraph.C: ... but do it here instead
17905 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17907 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17909 * tabular.C: small reformat
17911 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17914 (BreakParagraph): ditto
17915 (SetOnlyLayout): ditto
17918 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17921 * lastfiles.C: removed most using decl, add std:: where needed
17923 * buffer.C: ws changes
17925 * MenuBackend.C (class compare_format): put into anon namespace
17926 (expand): constify label, names, action, action2
17929 * text.C (SingleWidth): constify font
17930 (IsBoundary): constify rtl2
17931 (GetVisibleRow): constify ww
17933 * LaTeX.C (deplog): constify logfile
17935 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17937 (workAreaExpose): constify widthChange, heightChange
17939 * lyxrow.C (par): moved
17942 * lyxrow.h: as inlines here
17944 * lyxfont.h (shape): moved from lyxfont.C
17945 (emph): moved from lyxfont.C
17947 * lyxfont.C (LyXFont): use initialization list for all
17949 (shape): move to lyxfont.h as inline
17950 (emph): move to lyxfont.h as inline
17953 2001-04-04 Juergen Vigna <jug@sad.it>
17955 * vspace.C: had to include stdio.h for use of sscanf
17957 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17960 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17961 independent of xforms.
17963 2001-04-02 Juergen Vigna <jug@sad.it>
17965 * spellchecker.C: fixed namespace placing!
17967 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17969 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17970 the LyXParagraph * is 0.
17972 2001-03-29 Juergen Vigna <jug@sad.it>
17974 * vspace.C: added support for %, c%, p%, l%.
17975 (stringFromUnit): added helper function.
17976 (asLatexString): changed to give right results for the %-values.
17978 * buffer.C: convert the widthp in a width%.
17980 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17982 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17985 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17986 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17988 * lyx_cb.[Ch]: see above.
17990 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17994 * lyx.[Ch]: replaced by figure_form.[Ch].
17998 * lyxfunc.C: changed headers associated with above changes.
18000 2001-03-27 Juergen Vigna <jug@sad.it>
18002 * BufferView_pimpl.C: set the temporary cursor right!
18004 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
18006 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18008 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
18010 * LString.h: removed "using std::getline"!
18012 * BufferView_pimpl.C (Dispatch): changes due to changes in
18013 InsetInclude::Params.
18015 * buffer.C (tag_name): removed redundant break statements as they were
18016 producing lots of warnings with my compiler.
18018 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18020 * LString.h: add "using std::getline" when using the real <string>.
18022 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
18024 * buffer.C: removed bitset usage.
18025 PAR_TAG moved to an anonymous name space.
18026 (tag_name): new funtion, also in the anonymous namespace.
18027 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18028 (makeDocBookFile): clean code. Completed transition from string arrays
18030 (SimpleDocBookOnePar): code clean.
18032 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18034 * tabular.C: add some comments.
18036 2001-03-22 Juergen Vigna <jug@sad.it>
18038 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18039 compatibility read a bit and fixed bug with minipage in different
18042 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18044 * buffer.C (pop_tag): removed.
18045 (push_tag): removed.
18046 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18047 array replaced with vector. Added support for CDATA sections.
18048 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18050 (makeDocBookFile): XML conformant declaration of CDATA section,
18051 fixed bug related to <emphasis> in the first paragraph char.
18052 (sgmlOpenTag): exclude empty tags.
18053 (sgmlCloseTag): ditto.
18055 * buffer.h (pop_tag): removed.
18056 (push_tag): removed.
18058 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18060 * language.h (Languages): added size_type and size().
18062 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18064 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18065 response on compability reading of minipages. One probliem is that
18066 the old usage of minipages was flertydig
18068 * several files here and in subdirs: don't use static at file
18069 scope use anon namespaces instead.
18071 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18073 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18074 LaTeX output. This is necessary for Literate document
18077 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18079 * buffer.C: insert hfill when needed.
18081 * tabular.C (l_getline): use string::erase, small whitespace change.
18083 * BufferView_pimpl.C: try the anon namespace.
18084 * WorkArea.C: ditto
18086 2001-03-16 Juergen Vigna <jug@sad.it>
18088 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18089 otherwise it won't open options-dialogs.
18091 * buffer.C: honor pextraWidth(p) on converting minipages.
18093 * tabular.C (l_getline): changed the functions to strip trailing \r.
18095 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18097 * BufferView_pimpl.C:
18098 * minibuffer..C: added "using SigC::slot" declaration.
18100 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18102 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18108 * paragraph.C: ditto
18110 * lyxtext.h: NO_PEXTRA
18112 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18114 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18115 * ParameterStruct.h: ditto
18116 * ParagraphParameters.h: ditto
18117 * lyxparagraph.h: ditto
18119 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18121 * buffer.C: add compability for minipage alignment.
18122 (latexParagraphs): remove unwanted pextra check.
18124 * several files: remove CXX_WORKING_NAMESPACES
18126 * buffer.C (pop_tag): tie is in namespace boost
18128 * BufferView.h: noncopyable is in namespace boost
18130 * lyx_main.h: ditto
18133 * lastfiles.h: ditto
18134 * bufferlist.h: ditto
18135 * ShareContainer.h: ditto
18137 * LyXAction.h: ditto
18140 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18142 * Merging changes from BRANCH_MVC back into HEAD.
18144 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18146 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18148 * BufferView_pimpl.C: change from intl.C
18152 * Makefile.am: move combox.*
18158 * intl.C: remove dialog (covered by prefs)
18160 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18162 * lyxfunc.C (Dispatch): removed redundant break statement.
18164 2001-03-14 Juergen Vigna <jug@sad.it>
18166 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18168 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18170 * buffer.C: add hack to fix compability reading of minipages.
18172 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18174 * buffer.C (getLists): Cleanup.
18176 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18178 * lyxfont.C (update): don't honor toggleall on font size.
18180 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18184 * Makefile.am: moved to frontends/xforms/
18188 * BufferView_pimpl.C: changes for moved mathpanel
18190 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18192 * gettext.h: fix gettext_init() in --disable-nls
18194 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18196 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18198 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18201 * lyx.h: strip external form
18203 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18205 * BufferView_pimpl.C: add comment, destroySplash()
18207 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18209 * BufferView_pimpl.C:
18213 * lyxfunc.C: use re-worked insetinclude
18215 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18217 * buffer.C: add using std::stringstream.
18219 * lyx_cb.C: readd using std::ios.
18221 * buffer.C: add using std::map.
18223 * BufferView_pimpl.C: add using std::vector.
18225 * ShareContainer.h: add std:: to swap.
18227 * buffer.h: add some typedefs
18228 * buffer.C (getLists): use them
18229 (getLists): renamed from getTocList.
18230 add a counter for the different float types and use it in the
18232 (getLists): use the same counter for the NEW_INSETS and the "non"
18235 * lyx_cb.h: remove unused items, includes, using etc.
18237 * ShareContainer.h: remove some commented code, add more comments
18238 and "documentation".
18240 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18242 * buffer.C (getTocList): make the list also when NEW_INSETS is
18245 * buffer.h: remove TocType
18247 * buffer.C (getTocList): change to return a map<string,
18248 vector<TocItem> >, implement for dynamic number of list.
18250 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18251 * text2.C (PasteSelection): adjust
18252 * CutAndPaste.C (pasteSelection): adjust
18254 * FloatList.C (FloatList): update from the new_insets branch.
18255 * Floating.[Ch]: ditto
18256 * LaTeXFeatures.C: ditto
18258 * lyxlex_pimpl.C: ditto
18260 * paragraph.C (Last): remove when NEW_INSETS is defined.
18262 * other file: changes because of the above.
18264 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18266 * lyxparagraph.h: rename next to next_, previous to previous_,
18267 make them private for NEW_INSETS. Rename Next() to next(),
18268 Previous() to previous().
18270 * other files: changes because of the above.
18272 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18275 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18278 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18280 * main.C (main): pass lyx_localedir to gettext_init().
18282 * gettext.h: remove locale_init and gettext_init macros
18284 * gettext.C (locale_init): new function
18285 (gettext_init): new function
18287 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18290 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18292 * Moved credits to frontends:
18293 * credits.[Ch]: removed
18294 * credits_form.[Ch]: removed
18295 * lyx_gui_misc.C: remove credits stuff
18298 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18300 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18302 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18303 unneeded destructor.
18305 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18306 a standalone pointer again.
18308 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18310 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18316 * ToolbarDefaults.C:
18325 * BufferView_pimpl.C: use new file dialog in GUII
18328 * lyx_cb.C: remove LayoutsCB to Toolbar
18330 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18332 * ShareContainer.h (get): add std:: qualifier
18334 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18336 * ShareContainer.h: define a proper ShareContainer::value_type
18337 type (and use typename to please compaq cxx)
18339 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18341 * lyxparagraph.h: move serveral local vars to
18342 ParameterStruct/ParagraphParameters., use ShareContainer in
18343 FontTable., make vars in FontTable private and add getter and
18346 * paragraph.C: changes because of the above.
18348 * lyxfont.h: remove copy constructor and copy assignment. (the
18349 default ones is ok), move number inside FontBits. move inlines to
18352 * lyxfont.C: add number to initializaton of statics, move several
18353 inlines here. constify several local vars. some whitespace
18354 cleanup. Dont hide outerscope variables.
18356 * Spacing.h: add two new constructors to match the set methods.
18358 * ShareContainer.h: new file, will perhaps be moved to support
18360 * ParameterStruct.h: new file
18362 * ParagraphParameters.h: new file
18364 * ParagraphParameters.C: new file
18366 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18367 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18369 * BufferView_pimpl.C: ParagraphParameter changes.
18370 * buffer.C: Likewise.
18371 * bufferview_funcs.C: Likewise.
18372 * text.C: Likewise.
18373 * text2.C: Likewise.
18375 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18377 * lyxfind.C (LyXReplace): do not redefine default argument in
18379 (IsStringInText): ditto
18380 (SearchForward): ditto
18381 (SearchBackward): ditto
18383 2001-03-06 Juergen Vigna <jug@sad.it>
18385 * lyxfind.C (IsStringInText): put parentes around expressions.
18387 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18389 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18391 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18393 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18395 * stl_string_fwd.h: add comment
18397 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18400 * tabular.C: remove unused DocBook methods
18406 killed DO_USE_DEFAULT_LANGUAGE
18408 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18410 * lyx_gui.C: do not include language.h.
18412 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18413 arguments in function implementation.
18415 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18417 * BufferView_pimpl.C: add <ctime>
18419 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18421 * BufferView_pimpl.C: add using std::find_if
18423 2001-02-27 José Matos <jamatos@fep.up.pt>
18425 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18428 2001-02-11 José Matos <jamatos@fep.up.pt>
18430 * buffer.C (makeDocBookFile): command styles now have a parameter as
18431 "title" by default.
18433 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18435 * layout_forms.[Ch]: removed
18436 * lyx_cb.[Ch]: out character
18437 * lyx_gui.C: out character
18438 * lyx_gui_misc.C: out character
18439 * bufferview_funcs.C: : out character,
18440 added toggleall as parameter in ToggleAndShow
18442 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18444 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18446 * text2.C (SetCurrentFont): Disable number property at boundary.
18448 2001-02-26 Juergen Vigna <jug@sad.it>
18450 * lyxfunc.C (getStatus): added a string argument override function so
18451 that this is correctly called from LyXFunc::Dispatch if it contains a
18452 do_not_use_argument which is used!
18453 (Dispatch): added check for "custom" export and call appropriate func.
18455 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18457 * lyxrc.C: Add language_command_local, language_use_babel and
18458 language_global_options.
18460 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18462 * buffer.C (makeLaTeXFile): Use language_use_babel and
18463 language_global_options.
18465 2001-02-23 Juergen Vigna <jug@sad.it>
18467 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18468 which works with LyXText and putted it inside BufferView. Here now we
18469 only call for that part the BufferView::Dispatch() function.
18471 * BufferView.C (Dispatch): added.
18473 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18474 functions which needs to use a LyXText over from LyXFunc.
18475 (MenuInsertLyXFile): added
18476 (getInsetByCode): added
18477 (moveCursorUpdate): added
18478 (static TEXT): added
18480 2001-02-22 Juergen Vigna <jug@sad.it>
18482 * BufferView_pimpl.C (update): call a status update to see if LyXText
18485 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18487 * vc-backend.C (revert): implement for CVS
18488 (getLog): implement for CVS
18490 2001-02-20 Juergen Vigna <jug@sad.it>
18492 * text2.C (ClearSelection): added BufferView param for inset_owner call
18494 * lyxfunc.C (TEXT): added this function and use it instead of
18495 directly owner->view()-text of getLyXText().
18497 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18499 * src/layout_forms.C: out preamble
18500 * src/layout_forms.h: out preamble
18501 * src/lyx_cb.C: out preamble
18502 * src/lyx_cb.h: out preamble
18503 * src/lyx_gui.C: out preamble
18504 * src/lyx_gui_misc.C: out preamble
18505 * src/lyxfunc.C: connect with guii preamble
18507 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18509 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18511 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18513 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18514 whether to run bibtex.
18516 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18518 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18520 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18522 * Makefile.am (lyx_SOURCES): removed bibforms.h
18524 * vspace.h: doxygen
18526 * text.C (GetVisibleRow): make several local vars const
18528 * tabular.C: small cleanup.
18530 * lyxserver.C (callback): use compare instead of strncmp
18532 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18533 inlines to after class or to paragraph.C
18535 * lyxfont.h: remove friend operator!=
18537 * converter.h: move friend bool operator< to non friend and after
18540 * combox.h: small cleanup
18542 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18543 to inlines after class def.
18545 * buffer.C (pop_tag): use string operations instead of strcmp
18547 * bmtable.c: doxygen, small cleanup
18549 * LaTeX.h: remove friend operator==
18551 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18563 * BufferView_pimpl.C:
18564 * BufferView.[Ch]: remove cruft
18566 2001-02-14 Juergen Vigna <jug@sad.it>
18568 * lyxfunc.C: removed #if 0 unused code
18570 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18572 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18574 * text2.C (SetSelection): added a BufferView * parameter
18576 2001-02-13 Juergen Vigna <jug@sad.it>
18578 * lyxfunc.C (Dispatch): fixed protected blank problem.
18579 * BufferView2.C (protectedBlank): added LyxText * parameter.
18581 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18582 (AppendColumn): same as above for column_info.
18584 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18585 (moveCursorUpdate): use a LyXText param for support of InsetText.
18587 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18588 (tripleClick): ditto
18590 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18592 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18594 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18596 * text2.C (SetSelection): set correct update status if inset_owner
18597 (ToggleFree): ditto
18599 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18601 * tabular.C: remove some commented code.
18603 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18605 * BufferView_pimpl.C: call hideSplash()
18607 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18610 * bibforms.h: remove
18613 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18614 add LFUN_CHILD_CREATE
18616 * counters.h: fix tiny typo
18621 * lyx.C: move splash to frontends/xforms/
18623 * lyx_gui_misc.C: move Include and Bibform to frontends
18625 * lyxvc.h: clarify comment
18627 * vspace.C: tiny housekeeping
18629 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18631 * text.C (PrepareToPrint): RTL Fix.
18633 * paragraph.C (GetUChar): New method.
18634 (String): Use GetUChar.
18636 * buffer.C (asciiParagraph): Use GetUChar.
18638 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18640 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18642 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18645 * buffer.C: rename to getLogName(), handle
18646 build log / latex log nicely
18648 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18651 * MenuBackend.h: remove support for reference menuitem type.
18653 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18655 * BufferView_pimpl.C: housekeeping
18656 * BufferView_pimpl.h:
18661 * minibuffer.h: move Timeout GUI-I
18663 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18665 * lyxrc.C (read): Update converters data-structures.
18667 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18669 * LaTeX.h (operator!=): add operator != for Aux_Info
18671 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18673 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18675 * LaTeXLog.C: deleted, useful code moved to Buffer
18678 * buffer.C: new function getLatexLogName()
18684 * lyxfunc.C: use frontends for LaTeX and VC logs
18686 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18688 * LaTeX.h: yet another std:: that Allan forgot.
18690 * Variables.C (set): renamed from isset(), because this clashes
18691 with some HP-UX macros (grr).
18693 2001-02-06 Allan Rae <rae@lyx.org>
18695 * LaTeX.h: Another bug fix. Missing std:: this time.
18697 2001-02-04 Allan Rae <rae@lyx.org>
18699 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18700 floats problem. I've left it commented out because it's not quite
18701 correct. It should also test that the current object is a table or
18702 figure inset. But I haven't gotten around to figuring out how to do
18703 that. I *think* it'll be something like: "table" == inset.type()
18705 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18708 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18710 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18711 all the citation/databases/styles in the auxilary file.
18712 (run): Rerun latex if there was a babel language error.
18714 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18716 * text.C (Backspace): Preserve the font when changing newline char
18718 (BreakParagraph): If the cursor is before a space, delete the space.
18720 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18722 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18724 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18725 new argument (code).
18726 (ChangeCitationsIfUnique): New method.
18728 * paragraph.C (GetPositionOfInset): Handle bibkey.
18730 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18732 * BufferView_pimpl.h: change type of Position::par_pos to
18733 LyXParagraph::size_type.
18735 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18737 * BufferView_pimpl.C (savePosition, restorePosition): Write
18738 messages to minibuffer.
18740 2001-01-28 José Matos <jamatos@fep.up.pt>
18742 * buffer.C (makeDocBookFile): adds support for document language.
18743 A silly restriction on the name of LatexCommand types where removed.
18744 Added support for CDATA sections, allows to chars unescaped, used
18745 among others in code, to avoid escape < and >.
18747 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18749 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18750 saved positions instrad of a stack. Furthermore, a position is
18751 stored using paragraph id/paragraph position.
18753 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18754 Remove LFUN_REF_BACK.
18756 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18758 * converter.C (dvipdfm_options): New method.
18760 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18762 * vspace.C (isValidLength): Fix for empty input string.
18764 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18766 * LyXAction.C (init): change description of LFUN_FIGURE to
18769 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18771 * LaTeX.C: add using directive
18773 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18775 * MenuBackend.C (expand): Fix the sorting of the formats.
18777 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18779 * lyx_main.C: tiny error message fix
18781 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18783 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18784 calling fl_initialize(). This fixes the problem with ',' as
18785 decimal separator in text files.
18787 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18789 * trans.C (process): Fix the keymap bug.
18791 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18793 * LaTeX.C (scanAuxFiles): New method. Provides support for
18794 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18795 (scanLogFile) Scan for "run BibTeX" messages.
18797 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18798 OT1 font encoding. Also, load the aecompl package if the ae
18801 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18803 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18805 * texrow.C (increasePos): turn two error messages into debug
18808 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18810 * LaTeX.C (scanAux): Handle the \@input macro.
18811 (runBibTeX): Use scanAux().
18813 * language.C (latex_options_): New field.
18815 * LaTeXFeatures.C (getMacros): Add language macros.
18817 * buffer.C (makeLaTeXFile): Small fix.
18819 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18821 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18823 * text2.C: add a using directive.
18825 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18830 * lyxfunc.C: kill LyXBell.
18832 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18834 * text.C (IsBoundary): Remove the error message
18836 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18838 * lyxrc.C (setDefaults): Correct initialization value for
18841 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18843 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18846 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18847 and GotoNextNote().
18849 * src/LyXAction.C: Added reference-next.
18851 * text.C (InsertChar): Use contains instead of strchr.
18853 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18855 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18857 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18858 alignment commands (when needed).
18860 * text.C (InsertChar): Add ':' to number separator chars.