1 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
5 * support/debugstream.h: Use the correct nullstream.
7 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
9 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
11 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
13 * cursor.C (niceInsert): fix (properly) insertion of
14 fonts/decorations around selection
16 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
18 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
20 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
22 * text3.C (mathDispatch): fix crash when selection is not empty
23 but selectionAsString is empty (bug 2321).
25 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * text.C (changeCase): avoid crash in empty paragraph or on last
28 word of the paragraph. (buf 2323)
29 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
31 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
33 * buffer.C (readHeader): also erase params.preamble in advance
34 so that an empty preamble is actually recognized (bug 2317).
36 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
38 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
40 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
42 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
52 * text3.C: Fix bug 2115: blue language lines (for default font)
53 popping up when the documnent font is different. This includes work
56 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
58 * exporter.C (Backends): Add "lyx" backend
59 * exporter.C (Export): Handle "lyx" backend
60 * graph.C (getReachable): Don't exclude "lyx"
61 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
63 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
65 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
66 for correct in-mathed positioning
68 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
70 * rowpainter.C (paintForeignMark): fix foreign blue line under
73 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
75 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
76 pit of the uno range (bug 2022).
78 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
80 * messages.C (get): Only warn once if setlocale fails (bug 2177)
82 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
84 * text2.C (setCharFont): take inset's own font settings into account
85 when defining the font to reduce to, fixes 2019
87 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
89 * bufferview_funcs.C (coordOffset): remove the check for
90 collapsed collapsables (fix for bug 2094). This is now done
91 on a more general level (cursor.C).
93 * dociterator.[Ch] (forwardPos): add an optional argument
94 bool "ignorecollapsed" (default false), which lets forwardPos
95 skip collapsed insets.
97 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
98 (fixes bug 2241 and 2094).
100 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
102 * buffer.C: change tracking (dvipost) doesn't require
105 * LaTeXFeatures.C (getPackages): no need for the color
106 option "usenames" (bug 2169).
108 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
109 * buffer_funcs.C: Trivial fix - added {} around
110 the statements to be affected by a if-test. Now
111 label in a minipage in a float looks ok on screen again.
113 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
115 * text2.C: fix bug 2015: on screen fonts in nested environments
118 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
120 * converter.C (convert): handle unknown formats
122 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
124 * cursor.C (goUpDown): comment out some debug messages.
126 * counters.C (newCounter): make error messages more explicit
127 (these appear with some textclasses like beamer)
129 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
132 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
133 have origin set to KEYBOARD. (bug 2221)
135 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
137 * rowpainter.C (isCursorOnRow): do not exclude endpos().
139 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * cursor.C (macroModeClose): returns true if an inset actually got
142 inserted; revert faulty fix to bug 2034.
144 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * tabular.C (getLabelList): remove (not used anymore).
148 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
150 * outputparams.[Ch]: add new flag inComment
152 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * text2.C (deleteEmptyParagraphMechanism): since we delete a
155 paragraph, recordUndo should span two paragraphs (bug 2155).
157 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
159 * rowpainter.C (paintPar): always repaint the row with the
162 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
168 * vspace.h: fix syntax error
170 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
172 * text3.C (dispatch): Force refresh if typing into inset changes its
175 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
180 * rowpainter.C: Speed up rendering by only re-painting rows that
181 have changed. When selection or whole-screen update active, all rows
182 are repainted, as are all rows within insets.
184 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
186 * version.C.in: Use PACKAGE_VERSION instead of VERSION
188 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
190 * tabular.C (toggleFixedWidth): Use default layout of text class
191 instead of hardcoded "Standard"
193 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
195 * lyxfunc.C (dispatch): do not call getStatus again to determine
196 whether a lfun is disabled (bug 2172).
198 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
200 * cursor.C (macroModeClose): set the cursor inside the new math
201 atom if relevant (think \frac{}{}) (bug 2034)
203 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
207 * text3.C (Delete, backspace): force update when merging paragraphs
209 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * BufferView.C (mouseSetCursor): clear the selection properly (bug
214 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
216 * text.C (redoParagraph): honor inset->noFontChange()
217 * rowpainter.C (paintInset): ditto
219 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
221 * lyx_main.C (priv_exec): don't initialize Math on startup
222 (initMath() has been moved to math_hullinset).
224 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
226 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
227 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
228 * paper.h: dispose dead PAPER_PACKAGES enum.
230 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
232 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
235 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
237 * exporter.C (Export): Don't try to copy a file if it does not exist
240 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
242 * text2.C (makeFontEntriesLayoutSpecific): remove.
245 * text.C (insertChar): remove bogus caching of fonts (did not do
248 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
249 ALL_SANE). (bug 2146)
251 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * rowpainter.C (paintFirst): fix centering of
254 LABEL_CENTERED_TOP_ENVIRONMENT.
256 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * BufferView.C (mouseSetCursor): new method. Calls
259 deleteEmptyParagraphMechanism if necessary.
261 * lyxtext.h: make deleteEmptyParagraphMechanism public.
263 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
264 BufferView::mouseSetCursor (bug 2109).
265 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
267 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
270 do not remove it (this inset behaves differently from the others).
272 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * BufferView_pimpl.C (getStatus): it is only possible to insert a
277 file in a text inset.
279 * buffer.C (readDocument): remove pit argument and code releated
280 to it; set the inset owner correctly (unrelated, but useful).
281 (readFile): get rid of pit argument.
283 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
284 textclass instead of a selection index.
285 (pasteParagraphList): new function.
286 (pasteSelection): make it a wrapper around pasteParagraphList.
288 * BufferView_pimpl.C (MenuInsertLyXFile): use
289 cap::pasteParagraphList to insert a file.
291 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
293 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
295 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
297 * exporter.C: fix typo in text message
299 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
301 * text2.C (setLayout): move recUndo call to other setLayout method
302 * tabular.C (toggleFixedWidth): new, handle cell width changes
303 * tabular.C (setColumnPWidth): move some code from insettabular.C here
304 and use toggleFixedWidth
305 * tabular.C (setMColumnPWidth): ditto
307 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
309 * paragraph.C (asString): use new inset->textString method (fix
312 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * CutAndPaste.C (numberOfSelections): new helper function.
316 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
318 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
319 LyXFunc::getStatus; implement LFUN_PASTE.
321 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
323 * dociterator.[Ch]: new member realInset() that returns the cell
324 for tabulars and the inset for the rest (bug 1952).
325 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
328 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
330 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
332 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
336 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
339 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
341 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
342 line after typing ctrl-enter
344 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
346 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
347 math insets do not return a proper editable() state yet (bug 2124).
349 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
351 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
352 docs containing very large paragraphs.
354 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
356 * cursor.C (selectionBegin, selectionEnd):
357 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
358 cursor at different depths.
360 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
362 * bufferview_funcs.C (coordOffset): do not call cursorPos
363 for collapsed collapsables (fix bug 2094).
365 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 * paragraph.C (fontSpan): make sure that the FontSpan does not
368 span across beginOfBody (bug 1947).
370 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
374 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
376 * messages.C: fix crash and localization on MinGW/Windows platform
378 2005-11-02 Angus Leeming <leeming@lyx.org>
381 * lyxtextclass.C: trivial fixes to some MSVS warnings.
383 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
385 * text3.C (getStatus): re-enable disabled code. (bug 2081)
387 * BranchList.h (empty): constify.
389 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
391 * text3.C (getStatus):
392 * MenuBackend.C (expandBranches): take the branch list from the
393 master document (bug 2092).
395 * MenuBackend.C (expandBranches):
396 * bufferparams.C (writeFile): use BranchList type.
398 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
400 * text3.C (dispatch, getStatus):
401 * LyXAction.C (init):
402 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
404 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
408 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
410 * text.C (insertChar): do not reset boundary (bug 2061)
412 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
414 * dociterator.C (updateInsets): new method. Updates the inset_
415 cache of all the slices of the iterator.
417 * text2.C (deleteEmptyParagraphMechanism): compare also containing
418 insets when comparing pit/pos; pass the right cursor to
419 recordUndo; when a paragraph has been deleted, compare `old.top()' to
420 the right cursor slice of `cur'; use updateInsets on cur to make
421 sure that the inset caches are correct; general cleanup.
423 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
426 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
427 containg inset. If this does not work, the same command will be
428 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
430 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
433 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
435 * lyxtextclass.C (Read): convert layout file if the format is wrong
436 * lyxtextclass.C (layout2layout): new, needed for the above
438 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * messages.C: do not forget to include <cerrno>.
442 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
444 * dociterator.h (StableDocIterator): add access to pos().
445 * undo.C (samePar): new method to check if two
446 iterators are in the same paragraph
447 * undo.C (recordUndo): check for samePar instead of cell identity
448 (which includes pos() and is too strict) (fixes bug 2097)
450 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
452 * text.C (setCursorFromCoordinates): return a bool telling whether
455 * text3.C (cursorPrevious): update if needed after
456 setCursorFromCoordinates (when dEPM triggered).
458 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
459 (otherwise the anchor may be completely wrong and make dEPM assert).
461 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
463 * buffer.C: version upgrade to 245.
464 * bufferparams.C: remove \quotes_times (bug 2090).
465 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
466 quotation marks as default.
468 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
470 * CutAndPaste.C (nrOfParagraphs): remove (unused)
471 * CutAndPaste.C (cutSelection): Remove debug message
472 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
473 undo information and only copy if this is a real cut
474 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
476 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
478 * CutAndPaste.C (eraseSelection): prevent cursor corruption
479 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
480 superflous cur.selection() setting
481 * CutAndPaste.[Ch] (grabSelection): take a const cursor
482 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
484 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
486 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
489 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
491 * BufferView_pimpl.C: comment layout change
493 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
497 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
498 by bibliography managers (bug 2071).
500 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
502 * BufferView_pimpl.C (update): choose arguments to update call so
503 that single-par update works most times
504 * text3.C (dispatch): carefully tune updating separately for
505 whole-screen and current-paragraph
506 * rowpainter.C (paintText): 1) replace painting by caching for
507 the two extra paragraphs, because we can;
508 2) suppress greying out of areas below/above drawn area in case of
510 * lyxfunc.C (dispatch): remove superfluous update
511 * LyXAction.[Ch]: introduce SingleParUpdate
513 2005-10-05 Angus Leeming <leeming@lyx.org>
515 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
516 always initialised before use.
518 * text.C (setHeightOfRow): squash warning about comparison
519 of signed and unsigned types.
521 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
523 * text.C (cursorX): two fixes involving RtL text drawing
525 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
528 items, not only large ones (part of bug 2057)
530 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
532 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
533 argument, use "newcommand".
535 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
537 * cursor.C (setSelection): do not open collapsable insets;
538 the insets do by themselves now (autoopen).
540 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
542 * buffer.C: format is up to 244.
544 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
546 * text.C (redoParagraph): fix calcultation of inset width wrt
547 leftMargin (bug 1957).
549 * text3.C (dispatch): leave inset to the right when hitting ESC
552 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
557 * messages.C: include <boost/current_function.hpp>
559 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
561 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
562 when command is internal. (bug 1941)
564 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
566 * text2.C (cursorRight): do not honor boundary when at the end of
567 a paragraph. (bug 2010 again)
569 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
571 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
573 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
575 * rowpainter.C (paintText): fix RtL space width display bug (2029)
577 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
579 * text2.C (setCursor): remove the unused 'boundary' parameter for
580 the CursorSlice version; adapt the LCursor version.
583 * paragraph_pimpl.C (markErased):
584 * cursor.C (bruteFind2, bruteFond3): fix warnings.
586 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
588 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
589 as is already done for "chapter".
591 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
593 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
594 textclass; do not record undo if nothing is changed.
596 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
598 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
600 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
602 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
604 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
606 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
607 combox, it is necessary to search for the topmost paragraph in the
608 cursor stack (bug 1926)
610 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
612 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
613 end of paragraph. (bug 2010)
615 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
617 * text.C (leftMargin): check for inInset == 0
619 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
621 * text.C (leftMargin): test for insetbase's new neverIndent()
622 bool instead of listing each and every inset that does not
623 wish par indendation.
625 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
627 * buffer_funcs.C (setCounter): put the code to compute enum label
628 here (where it belongs).
630 * counters.C (enumLabel): move code to buffer_funcs.C.
632 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
634 * outputparams.[Ch]: store local_font instead of local_language
635 * paragraph.C (simpleTeXOnePar): adapt to the change above
637 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
640 * counters.[Ch]: clean up special code for Hebrew.
642 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
644 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
647 2005-09-08 Angus Leeming <leeming@lyx.org>
650 * lyxrc.C: correct grammar describing invocation of the
653 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
655 * text.C (read): remove unused variable.
656 (readParToken): remove static Change variable (never good in
657 recursive settings...); add it as a parameter instead.
659 * paragraph_pimpl.C (acceptChange): make debug info conditional.
661 * metricsinfo.C (PainterInfo): add new member erased_.
663 * rowpainter.C (RowPainter): add erased_ member, initialized from
665 (paintInset): pass erased_ to Inset::draw.
667 * lyxfunc.C (lookupChange): new function. Tells whether change
668 tracking is disabled at a given postion.
669 (getStatus): disable some actions when in deleted text with change
672 2005-08-03 John Levon <levon@movementarian.org>
674 * tabular.C (appendColumn, setMultiColumn): adapt to change to
677 * paragraph_pimpl.C (markErased): add bool argument and handle it.
678 Also make sure to mark insets recursively.
679 (rejectChange, erase): be recursive
681 * paragraph.C (markErased): add bool argument.
682 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
684 * lyxfind.C (findNextChange): tiny cleanup.
686 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
687 change tracking with the cursor in an inset; make sure the first
688 change is not skipped.
690 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
692 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
693 tabularStackDirty to work around bug 1919 (tabular needs
694 to know whether its own cell paste buffer or the one of
696 * CutAndPaste.C: mark tabular_stack_ clean after copy.
698 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
700 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
702 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
705 use old deleteion algorithm when changetracking is on.
707 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
709 * messages.C (get): add debug output.
711 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
713 * text.C (cursorX): fix bug 1965: cursor movement at
714 line end broken in RtL.
715 (drawSelection): fix bug 1970: drawing of single-line
716 selection broken for RtL.
718 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
722 * dociterator.h (clear, push_back, pop_back): change from
725 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
726 and changed to just return the value of the item depth; take a
727 ParIterator as argument; take the itemdepth at outer nesting level
728 in account if necessary; cleanup and comment the code.
729 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
730 and changed to just return true if reset is needed; take a
731 ParIterator as argument; cleanup and comment the code.
732 (setCounter): adapt to above changes.
734 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
736 * text3.C (dispatch): make debug message optional
738 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
740 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
743 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
745 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
747 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
749 * text.C (insertChar):
750 * text2.C (deleteEmptyParagraphMechanism): take care whether
751 a blank has been deleted (in change tracking mode) (bug 1254).
753 2005-07-20 John Levon <levon@movementarian.org>
755 * text2.C (insertStringAsLines): remove old dubious code,
758 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
760 * MenuBackend.C (expandToc): use Floating::listName() as title of
763 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
765 * toc.[Ch]: Do not use translatable strings (bug 1870).
767 2005-07-20 John Levon <levon@movementarian.org>
769 * tabular.C: fix 1748 - setting multicolumn adds
770 left line to the first cell
772 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
775 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
778 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
780 * messages.C: supress some lyxerr messages
782 2005-07-18 Juergen Vigna <jug@lyx.org>
784 * text.C (drawSelection): honor boundary when asking for cursorX.
786 2005-07-17 José Matos <jamatos@fc.up.pt>
788 * tabular.C (recalculateMulticolumns): fix handling of one column
791 2005-07-17 Juergen Vigna <jug@lyx.org>
793 * text.C (Delete, backspace): fixed so that paragraph with the
794 same layout can be merged by Delete/Backspace.
796 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
798 * text.C (readParToken): fix spelling.
800 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
802 * text2.C: fix counter update for DEPM problem reported by
805 2005-07-17 Juergen Vigna <jug@lyx.org>
807 * BufferView_pimpl.C (setBuffer): save/restore the
808 cursor/selection when switching buffers
811 * buffer.C (saveCursor): add saveDocumentIterators to save the
812 cursor when switching buffer.
814 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
817 * buffer.C: clarify message
819 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
821 * dociterator.C (DocIterator): fix initialization order
823 2005-07-17 Juergen Vigna <jug@lyx.org>
825 * text2.C (cursorHome):
826 * text.C (drawSelection, cursorX):
827 * dociterator.C (textRow): add boundary to getRow() call
829 * paragraph.C (getRow): implementation of below
831 * paragraph.h: add parameter boundary for getRow() function
833 2005-07-17 José Matos <jamatos@fc.up.pt>
837 * tex-strings.[Ch]: new file format, remove support for a4.sty,
838 a4wide.sty and a4widemargins.
840 2005-07-17 Juergen Vigna <jug@lyx.org>
842 * text2.C (cursorLeft): fix one of error
844 2005-07-17 Juergen Vigna <jug@lyx.org>
846 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
848 more fixes for boundary handling
850 * text3.C (dispatch): don't reset cursor if boundary has changed
853 2005-07-16 Juergen Vigna <jug@lyx.org>
855 * text2.C (getColumnNearX): hopefully got it right now,
856 check if we are on column 0 for special case.
858 2005-07-16 Juergen Vigna <jug@lyx.org>
860 * text2.C (getColumnNearX): handle special case Newline Inset
862 * text.C (singleWidth): Just remove bogus check
864 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
866 * funcrequest.C (split): avoid reading uninitialized char c
868 2005-07-16 José Matos <jamatos@fc.up.pt>
874 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
875 single papersize variable.
877 2005-07-16 Juergen Vigna <jug@lyx.org>
879 * text3.C (dispatch): honor boundary when checking if a cursor
880 movement has been done
882 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
883 (setCursor, setCursorIntern): fix cursor movement with boundary
885 2005-07-16 Juergen Vigna <jug@lyx.org>
887 * text.C (currentState): output the actual Boundary
889 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
891 * factory.C (createInset): fix bad logic for tabular creation
893 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
895 * lyx_main.C (init): change some reLyX reference to tex2lyx
897 2005-07-16 Juergen Vigna <jug@lyx.org>
899 * dociterator.C (DocIterator): initialize boundary
901 2005-07-16 Juergen Vigna <jug@lyx.org>
903 * text2.C (getColumnNearX): Consider rows without trailing blank.
905 2005-07-16 André Pönitz <poenitz@gmx.net>
907 * lyxfont.h: Change order of declarations to give the compiler
908 a better chance to inline things
910 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
911 questions on unsaved docs for better scritability
913 2005-07-16 André Pönitz <poenitz@gmx.net>
915 * paragraph.h (getChar): remove asserts as the same kind of security
916 can be achieved by using a suitable standard library implementation
917 and the function was in the critical path (25.9% in profiler)
919 2005-07-16 Juergen Vigna <jug@lyx.org>
921 * cursor.C (bruteFind2):
922 * bufferview_funcs.C (coordOffset):
923 * text.C (cursorX,cursorY): Handle cursor position after last char
924 in row before a inset which uses a whole row.
926 2005-07-15 José Matos <jamatos@lyx.org>
928 * output_plaintext.[Ch] (writeFileAscii): control reference title
930 (asciiParagraph): noparbreak was already deal and was incorrectly
933 2005-07-15 Juergen Vigna <jug@lyx.org>
935 * lyxfunc.C (dispatch): save and restore the cursor after a
938 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
940 * text.C (backspace): bug 806 for empty keepempty paragraphs we
941 change the layout to default before letting DEPM do its thing.
943 * paragraph_funcs.C (breakParagraph): dont reset the layout on
946 * text.C (setCursorFromCoordinates): add a debug statement
948 * text2.C (getColumnNearX): bug 1825 make sure that we don't
949 return a pos that is not on the row
951 * output_latex.C (TeXDeeper): get rid of potential dereferencing
952 of past the end iterator
954 2005-07-14 André Pönitz <poenitz@gmx.net>
956 * undo.C (recordUndoFullBuffer): implement undo for
959 2005-07-14 André Pönitz <poenitz@gmx.net>
961 * cursor.C (setSelection): open insets when selection is set there
962 to avoid crashs with cold coord cache
964 2005-07-14 André Pönitz <poenitz@gmx.net>
966 * trans_mgr.C (insert): move cursor to the right after inserting
969 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
971 * BufferView_pimpl.C (update): dampen some of the debug blabbering
972 * factory.C (readInset): ditto
973 * text.C, text2.C: ditto
975 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
977 * buffer.C: format incremented to 242. There is no file format per
978 se, but the "frenchb" language has been removed from lib/language
979 and has to be translated to "french" by lyx2lyx.
981 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
983 * cursor_slice.h, dociterator.h: add some documentation
984 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
986 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
988 * text.C (leftMargin): do not add identation to display() style
989 insets, because they are always centered (bug 1293).
991 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
993 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
994 formatted_time methods in support/lyxtime.
996 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
998 * toc.[Ch]: new method getGuiName, which is used by the frontends
999 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1001 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1003 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1004 StableDocIterator const &)
1005 * undo.C (recordUndo): use the above instead of cell.size() comparison
1006 (fixes bug 1808; instructed by Andr�.
1008 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1011 * dociterator.h: Fix the assert when copying rows/cols in math
1013 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1015 * BufferView_pimpl.C:
1017 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1019 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1020 (findInset): new functions, refactored from goto Inset that return
1021 the position of a certain inset without setting the buffer's cursor
1023 (gotoInset): rewrite to call findInset and then set the cursor
1026 2005-06-16 Angus Leeming <leeming@lyx.org>
1028 * lyxrc.C (output, read): wrap all input and output of paths with
1029 calls to os::internal_path and os::external_path, respectively.
1030 (output): wrap bind_file inside quotes.
1032 * format.C (view): enable the viewer to use the '$$s' placeholder.
1034 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1036 * LColor.[Ch] (getFromLaTeXName): new
1038 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1040 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1042 2005-06-14 Angus Leeming <leeming@lyx.org>
1044 * lyx_main.C (init): ensure that the LyX binary dir is the first
1045 element in the PATH on non-POSIX builds.
1047 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1049 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1051 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1053 * rowpainter.C (paintInset, paintHebrewComposeChar)
1054 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1055 (paintChars): use getFontSpan to reduce calls to getFont to a
1056 minimum; use Paragraph::lookupChange instead of isXXXText.
1057 (paintForeignMark): rename LyXFont argument.
1058 (paintFromPos): pass a LyXFont object to the various paintXXX
1061 * FontIterator.C (FontIterator, operator++): use
1062 Paragraph::getFontSpan
1064 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1065 version that returns the font span as a pair.
1067 2005-06-09 Angus Leeming <leeming@lyx.org>
1069 * converter.C (convert): Don't forget "outfile = real_outfile" as
1070 the final step in a conversion where the input and output file names
1071 are the same. Otherwise, future conversion steps won't work...
1073 2005-06-09 Angus Leeming <leeming@lyx.org>
1075 * lyxsocket.C: remove stub code as it isn't needed by
1076 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1078 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1080 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1081 effectively disabled -x
1083 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1085 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1086 when it actually makes sense.
1088 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1090 * BufferView_pimpl.C: revert to showCursor in connection with
1091 Lars's front-end stack
1093 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1095 * text.C (redoParagraph): move cursor right after a bibitem
1098 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1100 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1102 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1105 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1107 * BufferView.[Ch] (update):
1108 * BufferView_pimpl.[Ch] (update, metrics):
1109 * dimension.h (operator==):
1110 * lyxfunc.C (dispatch):
1111 * metricsinfo.h (ViewMetricsInfo):
1112 * rowpainter.C (paintText):
1114 * text.C (redoParagraph):
1115 * text3.C (dispatch): Make LyX only repaint current paragraph in
1116 case of character insert --> speedup. Also fix cursor draw
1119 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1121 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1122 avoid a crash (bug 1891)
1124 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1128 * text2.C (getStringToIndex): constify cur argument.
1130 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1131 argument has been given
1132 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1133 try to invoke LFUN_INSET_APPLY).
1135 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1136 if no inset was created by doInsertInset
1137 (doInsertInset): return true if an inset has been inserted.
1139 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1141 * vspace.C (asGUIName): new method. A version of the space
1142 suitable for showing on screen.
1144 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1147 * lyxrc.C: rename "ASCII" to "Plain Text"
1149 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1151 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1152 translate the labelstring.
1153 (setCounter): translate labelstring as needed.
1155 * output_docbook.C (makeCommand): fix expandLabel invokation
1157 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1159 * BufferView.C: fix dialog title
1161 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1163 * lyx_main.C (priv_exec): fix logic error with help from Angus
1164 * lyx_main.C (parse_execute): set is_gui = false and remove now
1165 obsolete comment about a segfault
1167 2005-05-18 Angus Leeming <leeming@lyx.org>
1169 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1171 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1173 * tabular.[hC]: added setCellInset to fix tabular paste.
1175 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1177 * buffer.C (save): check if destination is writable before trying
1180 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1182 * BufferView_pimpl.C (update): fix processEvents -caused update
1185 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1187 * buffer_funcs.C (setCounter): fix test for numbering of
1190 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1191 depth correctly; use optional argument when it exists
1193 * lyxtextclass.C: remove unused MaxCounterTags enum
1194 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1195 (max_toclevel, min_toclevel): new methods.
1197 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1198 the smallest depth in toc.
1200 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1201 layouts that should not appear in a table of contents.
1203 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1205 * cursor.h (undispatched, noUpdate): add comments from Andr�
1206 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1210 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1212 2005-05-07 André Pönitz <poenitz@gmx.net>
1214 * cursor.[Ch] (leaveInset): new function
1216 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1218 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1220 2005-05-04 Angus Leeming <leeming@lyx.org>
1222 * lyxfunc.C (getStatus): disable the spell checker dialog if
1223 none of USE_[AIP]SPELL are defined.
1225 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1227 * tabular.C (setWidthOfCell): remove obsolete comment
1229 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1231 * paragraph.C (bibitem):
1232 * buffer_funcs.C (setCounter):
1233 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1235 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1237 * text3.C (getStatus): immediately return after setOnOff
1239 * rowpainter.C: fix drawing of appendix start
1241 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1243 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1244 SwitchBetweenClasses and remove the unused return value.
1245 Handle character styles, too
1247 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1249 * factory.C (createInset): handle undefined character styles
1251 2005-05-02 Angus Leeming <leeming@lyx.org>
1253 * buffer.C: protect the #include of utime.h with a preprocessor
1256 2005-05-02 Angus Leeming <leeming@lyx.org>
1258 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1259 function so that auto-saving works, albeit in a blocking manner.
1261 * Makefile.am: make compilation of the client sub directory, of
1262 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1263 on conditionals set at configure time.
1265 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1266 it can be compiled in its own right but has no-op functionality.
1268 * aspell.C, pspell.C: remove preprocessor guards. The files should
1269 be compiled only if the necessary functionality exists.
1271 * lyxserver.C, lyxsocket.C: disable on Windows.
1273 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1275 * text.C (leftMargin): Fix the parindent use bug (1764)
1278 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1280 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1283 2005-04-25 Angus Leeming <leeming@lyx.org>
1291 include <config.h> in .C files, not .h ones.
1293 protect headers inside preprocessor guards.
1295 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1297 * FuncStatus.h (StatusCodes): document
1299 2005-04-21 André Pönitz <poenitz@gmx.net>
1301 * FuncStatus.h (enabled, onoff): document
1303 2005-04-19 Angus Leeming <leeming@lyx.org>
1305 * BufferView_pimpl.C (cursorToggle): no longer test whether
1306 any child processes have been reaped before calling
1307 handleCompletedProcesses().
1309 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1311 * text3.C (dispatch): fix, finally fix, the language problem in
1312 new lyxtexts, without disabling on-the-fly font changes (Helge's
1315 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1317 * text3.C (dispatch): set cursor on double/triple click events
1320 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1322 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1323 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1325 * rowpainter.C (paintFirst): simplify the code a little bit. In
1326 particular, remove the test for secnumdepth.
1327 * text.C (setHeightOfRow): only allocate space for chapter number
1328 when updateCounters provided an actual label, instead of looking
1329 at secnumdepth directly.
1331 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1333 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1334 paragraphs when secnumdepth is large enough or, for environments,
1335 when they are not the first in a sequence.
1337 2005-04-17 Angus Leeming <leeming@lyx.org>
1339 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1340 containing space and '~' characters with a call to latex_path().
1342 2005-04-17 Angus Leeming <leeming@lyx.org>
1344 * converter.C (convert): protect all args of convertDefault.sh
1347 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1349 * text3.C (dispatch): change the layout to "Caption" after inserting
1352 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1354 * text3.C (dispatch): fix language problem in newly created
1355 textinsets (and main text) in non-english docs
1357 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1359 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1360 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1361 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1363 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1367 * text2.C (getFont):
1368 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1371 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1373 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1374 output of \item arguments without trailing text.
1376 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1378 * FontIterator.C (operator*): avoid a copy of the font.
1380 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1382 * rowpainter.C (getFont): fix language bug from previous fix
1384 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1386 * rowpainter.C (RowPainter, getFont): fix font inside inset
1389 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1391 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1392 preventing inserted font, deco, delim insets jumping to start of
1395 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1397 * lyxfunc.C (dispatch): translate message before sending it to the
1400 2005-03-29 Angus Leeming <leeming@lyx.org>
1402 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1403 to LyX on the command line.
1405 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1407 * vc-backend.C: use QuoteName to protect file names wherever
1410 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1413 * BranchList.h: fix bugs 1844,1845: document settings don't
1416 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1418 * lyxrc.C (setDefaults, read, output, getDescription): add support
1419 for tex_allows_spaces.
1421 * exporter.C (Export): allows files in directory containing spaces
1422 if tex_allows_spaces is true.
1424 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1425 output it in double quotes.
1427 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1429 * rowpainter.C: use default text height for drawing change tracker
1432 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1434 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1436 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1438 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1439 directory is missing.
1441 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1443 * text2.C: fixed the fix, extended to other case.
1445 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1447 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1449 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1451 * text2.C (cursorUp): get rid of a crash
1452 * text.C (x2pos): add an assert
1454 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1456 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1460 * dociterator.C: include <boost/current_function.hpp>, which is
1461 needed when assertions are disabled.
1463 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1465 * text2.C: fix for stuck cursor when traversing two
1466 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1468 2005-02-25 Andreas Vox <avox@arcor.de>
1470 * output_docbook.C (makeParagraph): suppress trailing newline
1471 after a run of paragraphs
1473 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1475 * paragraph.C: fix for confused change tracker when pasting
1476 text that begins with a lineseparator. [bug 1827]
1477 (setChange(0, Change::INSERTED);)
1479 * paragraph_funcs.C: fix for lost changes on triple-paste
1480 in change tracking mode [bug 1827] (par.setChange()).
1482 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1484 * text2.C (updateCounters, setCounter, expandLabel): move to
1487 * buffer_funcs.C (updateCounters): turn into a free standing
1488 function and add a buffer parameter. Remove dead code for tracking
1490 (setCounter): change into a free-standing function which gets a
1491 dociterator as argument. Use this iterator to fix captions in a
1492 simple way. When no float is found above the caption, use the
1493 labelstring of the caption layout as default.
1495 * text.C (breakParagraph, backspace):
1496 * text2.C (init, setLayout, changeDepth):
1497 * text3.C (dispatch):
1498 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1501 * dociterator.C (forwardPar): make it much faster by calling
1502 forwardPos() only when really necessary.
1504 * output_docbook.C (makeCommand): adapt to expandLabel move.
1506 * cursor.C: remove unused variable
1508 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1510 * paragraph_funcs.C: fix crash when pasting insets in change
1511 tracking mode [bug 1277] (honour change type in moveItem).
1513 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1515 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1517 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1519 * BufferView.C (setCursor): change to use a DocIterator.
1520 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1521 (putSelectionAt): adapt to BufferView::setCursor change.
1523 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1524 moved here from LyXText and rewritten to use proper cursor
1525 methods. Fixes bug 1787, 616 and 835.
1527 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1528 when inside an inset (part of bug 781).
1529 (dispatch): adapt to change of BufferView::setCursor.
1530 (getStatus, dispatch): handle LFUN_GOTOERROR,
1531 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1533 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1534 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1535 * text3.C (gotoNextInset, gotoInset): removed.
1537 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1539 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1541 2005-02-15 Angus Leeming <leeming@lyx.org>
1543 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1544 can be used meaningfully in a comparison.
1546 2005-02-13 André Pönitz <poenitz@gmx.net>
1548 * bufferview_funcs.C (coordOffset): improve cursor drawing
1550 2005-02-13 André Pönitz <poenitz@gmx.net>
1552 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1553 * Cursor.C (dispatch): use fixIfBroken
1554 * lyxfunc.C (getStatus): use fixIfBroken
1556 2005-02-15 Angus Leeming <leeming@lyx.org>
1558 * lyx_main.C (error_handler):
1560 * lyxrc.C (setDefaults):
1562 #include "environment.h".
1564 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1566 2005-02-15 Angus Leeming <leeming@lyx.org>
1568 * lyxserver.C (startPipe): squash MSVC warning "local variable
1569 'fd' used without having been initialized".
1571 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1573 * BufferView_pimpl.C: revert accidental commit.
1575 2005-02-14 André Pönitz <poenitz@gmx.net>
1577 * dociterator.[Ch]: new member forwardPosNoDescent(),
1578 which doesn't enter nested insets.
1579 * text2.C (setFont): use forwardPosNoDescent() instead
1580 of ForwardPos() (fixes crash on font change).
1582 2005-02-13 Angus Leeming <leeming@lyx.org>
1584 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1585 only if lyxrc.path_prefix is not empty.
1587 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1589 * bufferparams.C (readGraphicsDriver): prevent crash
1591 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1593 * text2.C (setCounter): check for inInset() == 0
1595 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1597 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1598 but use update() to get correct screen display; use convert
1599 instead of istringstream.
1600 (getStatus): handle LFUN_GOTO_PARAGRAPH
1602 * lyxfunc.C (dispatch, getStatus): do not handle
1603 LFUN_GOTO_PARAGRAPH here.
1605 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1607 * text3.C (dispatch): size() -> depth()
1609 * text2.C: remove some debug output
1611 * paragraph.C: ws changes only
1613 * lyxfunc.C (getStatus): size() -> depth()
1615 * dociterator.h (clear, push_back, pop_back, internalData,
1616 operator[], resize, empty): new functions
1617 Make StableDocIterator and operator== be friends. Don't inherit
1618 from std::vector use a privat class variable slices_ instead.
1621 * dociterator.C: update because of not inheriting from std::vector
1622 anymore. Call explictly to slices_ instead. Use depth() instead of
1623 size() and top() instead of back()
1625 * cursor.C: chagne size() -> depth and back() -> top(). Also
1626 remove some direct operator[](i) calls in favour of foo[i]
1627 (getFont): remove some dead code
1629 * bufferview_funcs.C (coordOffset): size() -> depth()
1631 * buffer.C: ws changes only
1633 * CutAndPaste.C (eraseSelection): back() -> top()
1635 * BufferView_pimpl.C (selectionRequested): back() -> top()
1637 * BufferView.C (setCursor): size() -> depth()
1639 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1641 * text3.C (cursorPrevious): return true if depm changed something
1643 (dispatch): rename sl to oldTopSlice, remove moving use the new
1644 NoUpdate func attrib instead. Make sure that needsUpdate is set
1645 for function that have NoUpdate, but where depm might have changed
1648 * text2.C (cursorLeft): make us return true if depm changed
1650 (cursorRight): ditto
1651 (cursorUpParagraph): ditto
1652 (curosrDownParagraph): ditto
1653 (cursorUp, cursorDown): ditto, make sure to read comments in code
1654 (deleteEmptyParagraphMechanism): remove an assert, also return
1655 true if just a single char was deleted.
1657 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1658 cursor that we modify, to avoid modifying an active cursor before
1659 we call setCursor. This allows depm to run. Also return true if
1660 depm deleted something.
1662 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1663 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1664 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1665 something was changed in the buffer because of them (ie. depm run)
1667 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1668 debug messages. Make update by default be false. Make sure that
1669 the result of update is retained throught several calls down to
1672 * LyXAction.h: add a new func_attrib: NoUpdate
1674 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1675 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1676 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1678 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1680 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1682 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1683 bv_->owner(), bv_->buffer() by direct references to the private
1685 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1686 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1687 (fitCursor): center() is in BufferView::Pimpl.
1688 (getStatus, trackChanges, dispatch): no need for a temporary buf
1690 (fitCursor, workAreaDispatch): use workarea().workheight()
1692 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1694 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1696 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1698 * buffer.C: format up to 241.
1699 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1700 break if pasting into ERT
1701 * lyxfunc.C (getStatus): suppress mathpanel and
1702 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1704 2005-02-01 Angus Leeming <leeming@lyx.org>
1706 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1708 2005-02-01 Angus Leeming <leeming@lyx.org>
1710 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1711 calling fs::is_directory().
1713 2005-01-31 Angus Leeming <leeming@lyx.org>
1715 * lyx_main.C (priv_exec): specify explicitly the relative location
1716 of the top level build directory when run in-place.
1718 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1720 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1721 LyXText containing the cursor, not the top-level one.
1723 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1725 (insertStringAsLines): rename par to pit; use temporary variable
1726 par to hold a Paragraph; do not store par.layout() in a variable,
1727 since the pointer may die when breaking paragraphs; pass pars to
1728 breakParagraph() instead of Buffer::paragraphs().
1730 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1732 * lyxlex_pimpl.h: #include <fstream>.
1734 * BufferView.[Ch] (getLyXText): add a const version.
1736 * BufferView_pimpl.C: add debug aids.
1741 * paragraph_funcs.h: add commentary explaining what the class does.
1744 * coordcache.[Ch]: add lots of commentary.
1745 (startUpdating, doneUpdating): debug aids.
1746 (arrays, insets, parPos, getParPos): accessors to private data.
1748 * cursor_slice.[Ch] (text): add a const version.
1749 * dociterator.[Ch] (text, innerText): add const versions.
1751 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1754 * paragraph.C (getRow, pos2ros): add asserts.
1756 * paragraph.h: add commentary. Lots of.
1758 * paragraph.[Ch] (metrucs, draw): removed.
1761 * rowpainter.[Ch]: const-correct changes.
1763 * text.C: various obvious clean-ups. Removal of ancient cruft.
1766 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1768 * vc-backend.C (find_file): rewrite to use boost.filesystem
1771 * main.C (main): set default name check for boost.filesystem to
1774 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1777 (actOnUpdatedPrefs): ditto
1779 * lyx_main.C (init): rewrite to use boost.filesystem
1780 (queryUserLyXDir): ditto
1782 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1783 (getContentsOfAsciiFile): ditto
1785 * lastfiles.C (readFile): rewrite to use boost.filesystem
1787 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1789 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1790 (loadLyXFile): ditto
1792 * buffer.C (Buffer): adjust for destroydir
1793 (getLogName): rewrite to use boost.filesystem
1794 (setFileName): ditto
1795 (save): use fs::copy_file (from fs_extras)
1797 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1799 * LaTeX.C (run): rewrite to use boost.filesystem
1800 (scanAuxFiles): ditto
1801 (handleFoundFile): ditto
1803 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1805 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1807 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1809 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1811 * lyxlayout.[Ch]: change some vars from float to double
1813 * buffer.C (readFile): make a local var const
1815 * Several files: use convert<> instead of atoi,strToXXX and friends
1817 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1819 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1820 holds the contents of packages.lst. New functions getAvailable
1821 and isAvailable to parse and check that list, resp.
1825 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1827 * bufferparams.[Ch]: new param output_changes.
1829 * Buffer.C: increase file format to 240.
1830 Use output_changes and isVailable.
1834 * paragraph_pimpl.C: Use output_changes and isVailable.
1836 2005-01-23 Angus Leeming <leeming@lyx.org>
1838 * output_latex.C: #include "insetbibitem.h", rather than
1839 forward declare function bibitemWidest.
1841 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1843 * lyx_main.C (init): make it compile on the Mac.
1845 2005-01-20 Angus Leeming <leeming@lyx.org>
1847 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1848 (setLyXMisc): (char string literal) != (char string literal) is
1849 performing a comparison on the addresses. Convert one operand
1850 explicitly to string to guarantee expected behaviour.
1853 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1856 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1858 * output_plaintext.C: remove unneeded #include gzstream.h.
1860 2005-01-20 Angus Leeming <leeming@lyx.org>
1862 * SpellBase.h: rename some of the elements of the Result enum.
1869 * pspell.C (check): ditto
1871 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1873 * buffer.C: add #include <fstream>.
1875 * lyx_main.C (init): Compile fix.
1877 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1879 2005-01-20 Angus Leeming <leeming@lyx.org>
1881 * mover.h: change commentary to reflect the changed meaning of
1882 the $$s placeholder.
1884 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1886 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1888 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1890 2005-01-20 Angus Leeming <leeming@lyx.org>
1892 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1893 printing diagnostic data by not dereferecing an iterator past the
1896 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1898 * buffer.C (readHeader): use "&&" rather than "and".
1900 * lyxserver.h (inPipeName, outPipeName): make these const.
1902 2005-01-19 Angus Leeming <leeming@lyx.org>
1904 * lyx_main.C (error_handler, init): protect SIGHUP with
1905 #ifdef SIGHUP guards.
1907 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1909 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1911 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1913 * text.C (setHeightOfRow): add a margin at the top and bottom of
1914 the document (bug 1761)
1916 2005-01-17 Angus Leeming <leeming@lyx.org>
1918 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1919 with "python ". Workaround for a brain-dead Windows.
1921 2005-01-16 Angus Leeming <leeming@lyx.org>
1923 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1924 for MacOSX and Windows to use prependEnvPath.
1925 Strip out the hard-coded block to add elements to the PATH for
1926 MacOSX and replace it with a call to prependEnvPath using the
1927 contents of LyXRC::path_prefix.
1928 (queryUserLyXDir): strip out the code to run reconfigure, instead
1929 returning a boolean indicating the necessity to do so.
1930 (reconfigureUserLyXDir): contains the code to reconfigure the
1931 user support directory. Is now called after the various LyXRC data
1932 files have been read.
1934 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1936 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1938 * converter.[Ch] (convert): take a new parameter try_default. Use
1939 a default converter (imagemagick) if try_default is true.
1941 2005-01-13 Angus Leeming <leeming@lyx.org>
1943 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1944 os::cygwin_path_fix.
1945 (write): output LyXRC::cygwin_path_fix as necessary.
1947 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1950 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1952 2005-01-12 Angus Leeming <leeming@lyx.org>
1954 * lyx_main.C (init): set the PATH variable to include the
1955 directory containing the LyX binary when running on Mac or Windows.
1957 2005-01-12 Angus Leeming <leeming@lyx.org>
1959 * lyx_main.C (init): remove cruft that purports to set the locale
1960 dir. It doesn't and is not needed anyway.
1962 2005-01-10 Angus Leeming <leeming@lyx.org>
1964 * Makefile.am: remove the lyx_main.C special casing.
1966 * BufferView_pimpl.C:
1972 * messages.C: use support/package.h to provide the paths to the
1973 various directories used by LyX.
1975 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1977 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1978 layout if pasting into an empty paragraph)
1980 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1982 * tex-accent.C: add <string>
1984 2005-01-06 José Matos <jamatos@lyx.org>
1986 * ParagraphParameters.C (write): put every parameter in its own line.
1987 * paragraph.C (write): reduce number of consecutive empty lines exported.
1988 * buffer.C (LYX_FORMAT): increase file format to 239.
1990 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1992 * everywhere: change support/tostr.h -> support/convert.h
1994 * tabular.C: make all write_attributes templates, tostr -> convert
1996 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1997 (emptyTag): and -> &&, and fix type for ret from getChar
1998 (getFirstWord): fix type for ret from getChar
1999 (onlyText): and -> &&
2000 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2003 * toc.C (goTo, action):
2004 * text3.C (dispatch):
2005 * text.C (currentState):
2006 * tex-accent.C (DoAccent):
2009 * lyxfunc.C (menuNew):
2010 * lyxfinc.C (replace):
2011 * counters.C (laberItem):
2012 * bufferview_funcs.C (font2string):
2013 * bufferparams.C (writeFile):
2014 * buffer.C (readFile):
2016 * MenuBackend.C: tostr -> convert
2018 * LaTeX.C (runMessage): fix format
2019 (scanAuxFiles): tostr -> convert
2021 * BufferView_pimpl.C (savePosition): fix format
2022 (restorePosition): ditto
2025 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2027 * Spacing.[Ch]: New method getValueAsString().
2031 * ParagraphParameters.C:
2034 * text3.C: store/read spacing value as string.
2036 * rowpainter.C: change float value (spacing_val) to double.
2038 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2039 broken custom document spacing).
2041 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2043 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2044 namespace, also more use of temp references and const
2046 * cursor.[Ch] (getStatus): move to lyxfunc.C
2048 * bufferparams.C: reformat slightly
2050 * bufferview_funcs.C (font2string): constify arg
2056 * buffer_funcs.C: (many funcs): constify arg on function
2057 definitions, also make more local vars const, also add ASSERTS on
2060 * buffer.C (LYX_FORMAT): put const in correct place
2061 (many funcs): constify arg on function definitions, also make
2062 more local vars const
2064 * aspell_local.h: remove "struct" from typdef setup
2066 * aspell.C (check): make word_ok const
2067 (nextMiss): simplify slightly
2070 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2072 * lyxrc.[Ch]: store all float values as strings.
2073 use int (not float) for lyxrc.dpi.
2075 2005-01-04 Angus Leeming <leeming@lyx.org>
2077 * lyx_cb.C (Reconfigure):
2078 * lyx_main.C (queryUserLyXDir):
2079 to run the <system_lyxdir>/configure correctly on Windows, prefix
2080 the path to the script with "sh " when generating the string that
2081 is passed to system().
2083 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2085 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2087 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2089 * lyxlength.C (asLatexString): get rid of setprecision
2091 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * text2.C (setLayout): remove unused variable endpit.
2094 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2096 * paragraph.C (onlyText): remove unused variable style.
2098 * cursor.C (bruteFind): remove unused variables beg and end.
2100 * Makefile.am (dist_noinset_DATA): not needed anymore
2102 * cheaders/*: remove.
2104 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2106 * text3.C: fix LFUN_MATH_MODE.
2108 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2110 * buffer_funcs.C (countWords): new function. Counts words between
2113 * BufferView_pimpl.C (getStatus, dispatch): handle
2116 * LyXAction.C (init):
2117 * lfuns.h: add LFUN_WORDS_COUNT.
2119 2004-12-19 Angus Leeming <leeming@lyx.org>
2121 * buffer.C (save): s/slashify_path/internal_path/.
2123 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2125 * lyxfind.C (findChange): do not search for end of pars, because
2126 the change tracker cannot handle this (fixes bug 1719).
2128 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2130 * paragraph.[Ch] (autoBreakRows): remove
2132 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2134 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2135 avoid using the paragraph one
2137 * text2.C (LyXText, insertStringAsLines): adjust
2139 2004-12-16 Angus Leeming <leeming@lyx.org>
2143 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2145 2004-12-14 Angus Leeming <leeming@lyx.org>
2147 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2149 * bufferlist.C (emergencyWrite):
2150 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2153 2004-12-14 Angus Leeming <leeming@lyx.org>
2155 * main.C: (main): no longer pass pointers to os::init.
2157 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2159 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2160 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2162 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2165 * text3.C: remove selection_possible global flag
2167 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2169 * text2.C (getSelectionSpan): remove
2170 (changeDepth, changeDepthAllowed): adjust
2172 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2174 * Makefile.am (BOOST_LIBS): use boost variables
2176 2004-12-03 José Matos <jamatos@lyx.org>
2178 * buffer.C: format up to 238.
2180 2004-12-03 José Matos <jamatos@lyx.org>
2182 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2184 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2186 * cursor.C (goUpDown): remove call to idxUpDown2
2188 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2190 * tabular.[Ch]: use size_t-like types for cell, row and column
2193 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2195 * lyxfunc.C (getStatus): do not lose previous information when
2196 calling BufferView::getStatus; do not set a default "Command
2197 disabled" message at the beginning, but just before returning.
2199 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2201 * cursor.h (getStatus): add better comment from src/cursor.C
2203 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2205 * text3.C (getStatus): return false when the lfun is not handled
2207 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2209 * broken_headers.h: remove
2211 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2213 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2215 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2216 offset_ref accessors
2218 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2219 top_y_, merge fitcursor with update
2220 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2222 (metrics): introduce
2223 (workAreaDispatch): adapt to new coord scheme
2224 (redoCurrentBuffer): remove
2226 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2228 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2231 * coordcache.[Ch]: add paragraph cache and helpers
2233 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2236 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2237 (targetX, setTargetX): introduce
2239 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2240 baseline -> ascent, as the rest of lyx
2242 * lyxtext.h: remove redoParagraphs, updateParPositions,
2243 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2244 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2245 have ascent/descent (ascent is ascent of first par)
2247 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2250 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2252 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2254 * pariterator.C: fix infinite loop introduced in par->pit renaming
2256 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2257 in insets and LyXText, draw two off-screen paragraphs using
2258 NullPainter, and adapt to new coord scheme
2262 * text3.C: adapt lfun handlers to the new coord scheme, which
2263 means: there's only guaranteed coord information for onscreen pars
2264 plus one above and one below. This implies that one can do search
2265 from y coordinates in the range [-1,workHeight]
2267 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * rename a lot of InsetOld to InsetBase
2271 2004-11-25 Angus Leeming <leeming@lyx.org>
2273 * BufferView_pimpl.C:
2275 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2277 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2279 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2280 call BufferView::getStatus if LCursor::getStatus did nothing
2281 (setStatusMessage, getStatusMessage): removed.
2283 * FuncStatus.C (message): new methods. Used to provide an error
2284 message indicating why a command is disabled.
2285 (clear, |=, FuncStatus): update for message.
2287 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2289 * lyxfunc.C (dispatch): always call sendDispatchMessage
2291 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2294 * BufferView_pimpl.C:
2299 * cursor_slice.[Ch]:
2302 * paragraph_funcs.C:
2308 * undo.C: par->pit renaming
2310 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * tabular.C (cellstruct): use initialization, store a shared_ptr
2313 to insettext instead of the insettext directly, adjust to fit.
2314 (operator=): new function
2315 (swap): new function
2316 (rowstruct): use initialization
2317 (columnstruct): use initialization
2318 (ltType): use initialization
2321 * lyxlength.h (swap): new function
2323 * LColor.[Ch] (operator=): use the common semantics
2325 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2327 * lyxfind.C (findNextChange): update the bufferview after setting
2330 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2332 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2333 number of InsetOptArgs has already been inserted.
2335 * output_latex.C (latexOptArgInsets): new method. This outputs all
2336 the optarg insets, up to the limit defined in the layout file.
2337 (optArgInset): removed
2338 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2340 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2342 * paragraph.C (isLetter): remove special spellchecker-related
2343 code; return true also for digits
2344 (isWord, isKomma): remove
2346 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2347 * lyxfind.C (MatchString()): use isLetter instead of isWord
2349 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * pariterator.h (operatir=): comment out un-implemented member
2354 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2357 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2359 * lyxfont.h: include LColor.h to satisfy concept checks.
2361 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2363 * pariterator.h: add typdefs for value_type, difference_type,
2364 pointer and reference to satisfy concept checks. Also add default
2365 constructor for same reason.
2367 * pariterator.C (operator++): add post-increment operator to
2368 satisfy concept checks.
2370 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2373 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2375 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2376 checks. Also rename base_type to BaseType to follow naming
2379 * FloatList.h: include Floating.h to satisfy concept checks.
2381 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2383 * lyxfunc.C (getStatus): when the origin of the request is menu or
2384 toolbar, and the LyXView does not have focus, do as if there was
2385 no buffer (bug 1720)
2387 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2388 FuncRequest to individual entries of LFUN_SEQUENCE
2390 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2392 * output_latex.C (TeXOnePar): override runparams.moving_arg
2393 according to the needprotect value of the current paragraph (bug
2396 * paragraph.C (simpleTeXOnePar): no need to override
2397 runparams.moving_args here
2399 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2401 * vspace.C: fix off-by-one-error, related to fix #1682
2403 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2405 * lengthcommon.C: a more general fix for bug 1682
2407 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2409 * text.C (backspace): fix crash
2411 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2413 * format.[Ch] (getFormatFromFile): new method
2414 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2416 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2418 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2420 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2422 * lyxfunc.C (dispatch): remove the verbose argument
2423 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2426 * kbmap.C (defkey): set the origin of func to KEYBOARD
2428 * MenuBackend.C (MenuItem):
2429 * ToolbarBackend.C (add): set the origin of func to UI
2431 * funcrequest.[Ch]: add origin member, which indicates which part
2432 of LyX requests an action
2434 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2436 * converter.C (move): don't lie in the error message
2437 * converter.h (isReachable, move): document
2439 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2441 * buffer.C: remove unused using lyx::support::atoi
2442 * paragraph_funcs.C: ditto
2444 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2446 * bufferlist.C (exists): use bind and equal_to instead of
2449 * lyxtextclasslist.C (NumberOfClass): ditto
2451 * cursor.C (insert): use for_each instead of explicit for loop
2453 * bufferlist.C (getFileNames): use std::transform and
2454 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2456 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2459 * buffer.C (changeLanguage): use for_each instead of explicit for
2461 (hasParWithID): implement using getParFromID
2463 * LaTeXFeatures.C: ws change only
2465 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2468 * BufferView_pimpl.C (trackChanges): use for_each instead of
2471 2004-11-04 André Pönitz <poenitz@gmx.net>
2474 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2476 * dociterator.C (asDocIterator): use hard assert again.
2478 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2480 * lyxlength.C (asLatexString): rewrite so that it does not use
2483 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2485 * text3.C (specialChar, dispatch): make sure cursor moves to the
2486 right after inserting an inset
2488 2004-11-02 José Matos <jamatos@lyx.org>
2490 * output_docbook.C (docbook):
2491 * paragraph.C (getID):
2492 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2493 garantee that the output is always legal.
2495 * tabular.C (docbook):
2496 * outputprams.[Ch]: remove mixed contents.
2498 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2500 * text2.C (setCounter): prevent endless loop
2502 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2504 * exporter.C (copyFile): use the mover instead of support::copy()
2505 * exporter.C (Export): pass format and latex name to copyFile()
2506 * exporter.h (addExternalFile): document
2507 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2509 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2511 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2513 2004-10-30 José Matos <jamatos@lyx.org>
2515 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2516 text and no inset or font change. This allows to use CDATA
2517 sections just for the whole paragraph.
2519 2004-10-30 José Matos <jamatos@lyx.org>
2521 * paragraph.C (getFirstWord): remove unused variable.
2523 2004-10-30 José Matos <jamatos@lyx.org>
2525 * paragraph.C (getFirstWord): the content should always be escaped
2527 (simpleDocBookOnePar):
2528 * output_docbook.C (makeEnvironment): replace reference to CDATA
2531 2004-10-30 José Matos <jamatos@lyx.org>
2533 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2535 2004-10-30 José Matos <jamatos@lyx.org>
2537 * output_docbook.C (makeParagraphs):
2538 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2539 standard paragraph has only a given type of content drop the wrapper.
2541 2004-10-29 José Matos <jamatos@lyx.org>
2543 * output_docbook.C (makeEnvironment):
2545 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2547 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2549 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2550 (cleanID): sanitize any id.
2552 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2554 * buffer.C, lyxlex_pimpl.C:
2555 * lyxlex_pimpl.C (setFile):
2556 s/getExtFromContents/getFormatFromContents/
2558 2004-10-28 José Matos <jamatos@lyx.org>
2560 * output_docbook.C (makeEnvironment): move id to broadest possible
2563 * sgml.C (openTag): apply substitution of <> for all attributes.
2565 2004-10-28 José Matos <jamatos@lyx.org>
2567 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2568 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2569 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2571 * sgml.[Ch]: new version for open and closeTag for paragraph and
2572 for strings. Now they handle the ids of paragraphs.
2574 2004-10-26 Angus Leeming <leeming@lyx.org>
2576 * Makefile.am: add mover.[Ch].
2578 * converter.C (convert, move): use the new Movers to move external
2579 files to the temp directory.
2581 * lyx_main.C (init): ensure that the global system_movers data
2584 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2587 * mover.[Ch]: new files, defining a Mover as a utility to move an
2588 external file between directories and, if necessary, manipulate this
2589 file using a helper script.
2591 2004-10-25 José Matos <jamatos@lyx.org>
2593 * output_docbook.C (makeCommand): merge two if's that tested the
2596 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2598 * sgml.C (escapeString): fix warning in a better way
2600 2004-10-25 José Matos <jamatos@lyx.org>
2602 * sgml.C (escapeString): import the require boosts header file for
2603 tie, and avoid a signed unsigned comparison.
2605 2004-10-25 José Matos <jamatos@lyx.org>
2607 * sgml.h: add #include <string>
2609 2004-10-25 José Matos <jamatos@lyx.org>
2611 * sgml.[Ch] (escapeString): new function to escape all the string.
2613 2004-10-24 José Matos <jamatos@lyx.org>
2615 * paragraph.[Ch] (getFirstWord): new function to get the first
2616 word. Useful for description.
2617 (simpleDocBookOnePar): remove depth argument, add another that
2618 says where to start the paragraph.
2620 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2621 use the new functions to fix cleanly the support for descriptions.
2623 2004-10-24 José Matos <jamatos@lyx.org>
2625 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2626 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2627 * output_linuxdoc.C (linuxdocParagraphs):
2628 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2629 add buffer as argument.
2631 2004-10-24 José Matos <jamatos@lyx.org>
2633 * output_docbook.C (makeEnvironment, searchEnvironment): place
2634 CDATA inside paragraphs and fix scope for listitems.
2636 2004-10-24 José Matos <jamatos@lyx.org>
2638 * output_docbook.C: remove using statement for stack.
2640 2004-10-23 José Matos <jamatos@lyx.org>
2642 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2643 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2644 docbook. The new scheme is recursive and makes use of iterators, the
2645 same as latex export works.
2646 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2647 directly with the paragraph contents. This code was moved up to
2648 output_docbook.C (docbookParagraphs).
2649 * sgml.C (openTag, closeTag): removed unneeded newlines.
2650 (closeEnvTags) removed.
2652 2004-10-23 André Pönitz <poenitz@gmx.net>
2654 * undo.C (textUndoOrRedo):
2655 * dociterator.C (asDocIterator): work around crash
2657 * cursor.C (getStatus): replace ASSERT by more verbose error message
2658 and manual correction of the problem. Should increase stability
2659 while providing more sensible information.
2661 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2663 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2665 * bufferlist.C (previous, next): new methods
2668 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2670 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2672 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2673 entities to preamble.
2675 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2677 * messages.C (Pimpl): strip off translation context information
2679 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2681 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2682 the cursor is correct (bug 1694)
2684 2004-10-13 José Matos <jamatos@lyx.org>
2686 * output_docbook.C (docbookParagraphs): fix closing tags in the
2687 end of the document.
2689 2004-10-09 José Matos <jamatos@lyx.org>
2691 * buffer.C: format up to 237.
2692 * bufferparams.C (write): use tostr to convert booleans to strings.
2694 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2696 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2698 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2700 * LaTeX.C: implement use of babel language in xindy.
2702 2004-10-05 José Matos <jamatos@lyx.org>
2704 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2705 Add new translators to help reading and writing the lyx file.
2707 2004-10-05 José Matos <jamatos@lyx.org>
2709 * ParagraphParameters.C (read):
2710 * text.C (readParToken): replace nexToken by more appropriate lex
2713 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2715 * LaTeX.C (runMakeIndex):
2716 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2717 (usually 'makeindex') configurable.
2719 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2720 with a variable rather than with a number.
2722 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2724 * output_latex.C (TeXOnePar): make sure font setting is the first
2725 thing that gets output (and the last at the end). Should fix bug
2728 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2730 * pch.h: use proper signal include
2732 * LaTeX.h: Use preferred calling of Boost.Signal
2735 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2737 * pch.h: dont include <boost/function/function0.hpp>
2739 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2741 * paragraph_pimpl.h: remove usage of ShareContainer
2743 * paragraph_pimpl.C: remove initialization of ShareContainer.
2745 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2749 * BufferView.C (putSelectionAt): change the semantics when
2750 backwards == true: now, this just swaps cursor and anchor wrt the
2753 * BufferView.h (putSelectionAt): add some documentation
2755 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2756 make sure backwardChar is done at least once (to avoid getting
2758 (findNextChange): use putSelectionAt in the forward direction
2759 (operator()): use Paragraph::isWord
2761 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2763 * Spacing.C (set): c_str fix
2765 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2767 * lyx_cb.C (Reconfigure): quote the name of configure script in
2768 case it contains spaces
2770 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2774 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2775 (BOOST_LIBS): use top_buildir when looking for the file
2777 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2779 * pch.h: do not use include boost/format.hpp, multiple symbols
2780 will result (gcc bug)
2783 2004-08-23 José Matos <jamatos@lyx.org>
2785 * bufferparams.C (readToken): fix reading of the author field.
2787 2004-08-20 José Matos <jamatos@lyx.org>
2789 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2791 2004-08-20 José Matos <jamatos@lyx.org>
2793 * lyxlex.[Ch] (findToken): remove function.
2795 * ParagraphParameters.C (findToken):
2796 * bufferparams.C (findToken): replace call for previous function
2797 with local copy. This local function has one more argument, the
2798 read string argument.
2800 2004-08-16 José Matos <jamatos@lyx.org>
2802 * ParagraphParameters.C (write):
2803 * Spacing.C (writeFile):
2804 * bufferparams.C (writeLaTeX):
2805 * lyx_cb.C (Reconfigure):
2806 * paragraph.C (write):
2807 * tabular.C (write): remove unnecessary space at end of line.
2810 2004-08-16 José Matos <jamatos@lyx.org>
2812 * text.C (readParagraph): remove debug message.
2814 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2816 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2819 * output_plaintext.C (asciiParagraph): set depth correctly
2821 * outputparams.h: add member depth
2823 * paragraph_funcs.C (ownerPar): remove.
2825 * text2.C (setCounter): remove first_pit; comment out some
2826 non-working code that uses ownerPar
2828 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2831 2004-08-16 José Matos <jamatos@lyx.org>
2833 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2834 For the same level of importance use the same chanel to report problems.
2835 (read): add code to deal with \begin_body and \end_body.
2838 2004-08-15 José Matos <jamatos@lyx.org>
2840 * lyxlex.C (getString): fix comment, buffer::readBody is now
2841 buffer:readDocument.
2843 * tex-strings.C (string_papersize): Default -> default,
2844 Custom -> custom, for consistency with other options.
2846 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2850 * Makefile.am: support pch
2852 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2854 * text.C (readParToken): remove the static LyXFont variable and
2855 pass it as a parameter instead. This fixes a nasty bug where an
2856 inset will be inserted with a bad font in some situations
2857 (readParagraph): adapt
2859 * text2.C (setCounter): reduce number of calls to pars_[pit]
2861 * text.C (singleWidth): add an assert, fix a test
2863 * rowpainter.C (paintText): reduce number of calls to singleWidth
2865 * paragraph.C (isHfill):
2866 (isNewline): ws only
2868 2004-08-14 André Pönitz <poenitz@gmx.net>
2873 * lyxtext.h (several functions): use a Paragraph & argument
2876 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2878 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2880 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2882 * text.C (singleWidth): remove useless test
2884 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2886 * tabular.h: remove bogus comments
2888 * tabular.C (getDescentOfRow):
2889 (isPartOfMultiColumn): add assertions
2891 * lyxlength.C (inPixels): remove #warning
2893 2004-08-14 André Pönitz <poenitz@gmx.net>
2895 * paragraph.h: inline getChar()
2897 * BufferView.h: remove unused declarations
2899 2004-08-14 José Matos <jamatos@lyx.org>
2901 * Buffer.[Ch] (readDocument): new name for old readBody.
2902 * Buffer.C: new file format, new keywords: \begin_document,
2903 \begin_header, \begin_body, \end_body.
2905 * bufferparams.C (readToken): replace all calls to lex.nextToken
2906 by lex.next(). Do the same to eatLine except where really needed.
2908 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2909 line when writing to the lyx file.
2911 * output_plaintext.C (asciiParagraph): fix Bibliography style
2914 * text.C (read): fix end of file handling.
2916 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2918 * MenuBackend.C (Menu::operator[]): new method to access
2919 individual menu items
2920 (Menu::hasFunc): new method. search for an item that corresponds
2922 (MenuBackend::specialMenu): new method
2923 (MenuBackend::expand): if a special menu has been set, skip
2924 entries whose func() appears in this menu
2926 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2928 * text3.C: use Debug::DEBUG a bit more
2930 * text.C (leftMargin): try to simplify a tiny bit change var x to
2931 l_margin. Dont output the wide margins always.
2932 (rightMargin): no margin in inner texts
2934 * rowpainter.h (nestMargin): new func
2935 (changebarMargin): new func
2936 (rightMargin): new func
2938 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2942 * factory.C (createInset): modify setDrawFrame
2944 * cursor.C: use Debug::DEBUG a bit more
2946 2004-08-14 André Pönitz <poenitz@gmx.net>
2949 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2950 cache for all insets in (at least partially) visible (top-level)
2953 * BufferView_pimpl.C: reset external coord cache before every update.
2954 This means the coord cache only contains valid entries.
2956 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2959 * BufferView_pimpl.C (getInsetByCode): move function out of class
2960 and change in to a template in anon namespace. Also fix to do what
2963 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2966 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2968 (breakParagraph): rename par to par_offset and use a local
2969 reference. Add code to keep the language over a rebreak.
2970 (breakParagraphConservative): rename par to par_offset, use a
2972 (mergeParagraph): ditto
2974 (isFirstInSequence): ditto
2975 (outerFont): rename pit to par_offset
2977 * paragraph.C: ws change
2978 * paragraph.h: ditto
2982 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2984 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2987 * paragraph.C (simpleTeXOnePar): when we have a \item with
2988 optional argument, enclose the argument with curly brackets (in
2989 case it contains a closing square bracket)
2993 * text3.C (checkInsetHit): constify
2995 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2997 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2998 documents (bug 1629)
3000 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3002 Fix toggling of collapsable insets with the mouse (bug 1558)
3004 * lyxfunc.C (dispatch): adapt to LCursor changes
3006 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3007 make sure that dispatch is not invoked twice
3009 * cursor.C (needsUpdate): new method
3010 (dispatch): return void
3011 (result): new method, to access the DispatchResult of the cursor.
3013 2004-08-13 José Matos <jamatos@lyx.org>
3015 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3017 2004-08-13 André Pönitz <poenitz@gmx.net>
3019 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3021 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3024 2004-08-12 André Pönitz <poenitz@gmx.net>
3026 * text3.C: take out the 'cursor right' form insertInset and only
3027 do it in those places when it is really needed. Fixes crash on
3030 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3032 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3034 * BufferView_pimpl.C (setBuffer): initialize the current font of
3035 the underlying LyXText
3037 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3039 * kbsequence.C (print): use UI native formatting for menu
3042 * text.C (insertChar): call Paragraph::insertChar with a font
3045 * paragraph.C (insertInset, insertChar): the version that takes a
3046 LyXFont argument is now a wrapper around the other one (the
3047 opposite used to be true).
3049 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3050 argument. Font setting is done in Paragraph now.
3052 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3054 * outputparams.h: add new members intitle and lang.
3056 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3057 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3059 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3061 * text3.C (dispatch): remove special handling of button 4 and 5,
3062 it is now taken care of in the frontend code.
3064 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3066 * Spacing.h: add <string> (STLPort compile fix)
3068 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3070 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3072 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3074 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3077 * converter.C (showMessage): inherit from unary_function, make
3080 * buffer.C (writeFile): initialize retval
3082 * InsetList.h: rename private variable list to list_
3083 * InsetList.[Ch]: adjust accordingly.
3085 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3088 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3089 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3090 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3091 * ParagraphParameters.C, LaTeXFeatures.C: replace
3092 "support/std_sstream.h" with <sstream>
3094 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3097 * lyxsocket.C (LyXServerSocket): ditto
3098 (serverCallback): ditto
3100 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3102 * LaTeXFeatures.C: check release date when loading jurabib.
3104 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3106 * lyxserver.C (startPipe): call register_socket_callback
3107 (endPipe): call unregister_socket_callback
3109 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3111 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3112 (LyXServerSocket): register the callback
3113 (LyXServerSocket): unregister the callback
3114 (fd): delete function
3115 (serverCallback): improve error checking and setup the callbacks.
3116 (dataCallback): change arg to fd.
3117 (writeln): new func (copied fro the client socket) used for server
3119 (LyXDataSocket): simplify
3120 (~LyXDataSocket): close ann unregiser callback
3121 (server): delete function
3122 (fd): delete function
3123 (readln): small changes, improve some std::string usage
3124 (writeln): constify a bit
3126 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3128 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3131 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3133 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3134 after it has been populated
3136 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3138 * text2.C (insertInset): move cursor when inserting inset.
3140 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3142 * kbmap.C (findbindings): a couple of new methods. returns a
3143 container of kb_sequence objects. The real work is done by the
3144 private recursive version
3145 (printbindings): uses findbindings to print out a bracketed list
3146 of bindings (renamed from findbinding).
3148 * MenuBackend.C (binding): use kb_keymap::findbindings
3150 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3152 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3154 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3156 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3158 * paragraph.C (isWord): return true on insets that report
3161 * text.C (getWord): use Paragraph::isWord to decide what is in a
3162 word and what is not; fix bug 1609.
3164 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3166 * tex-strings.C: add "none" to string_paperpackages[], fixes
3167 off-by-one-error in the paperpackage selection.
3170 * tex-strings.[Ch]: char const * string[n]
3171 -> char const * const string[]
3173 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3175 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3176 command, return early.
3178 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3180 * debug.h: add DEBUG to enum and fix size of ANY.
3182 * debug.C: add support for Debug::DEBUG
3183 (showTags): cast errorTags.level to unsigned int
3185 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3186 (redoCurrentBuffer): ditto
3187 (updateScrollbar): ditto
3188 * cursor.C (dispatch): ditto
3189 * text2.C (setLayout): ditto
3191 (updateCounters): ditto
3193 (deleteEmptyParagraphMechanism): ditto
3195 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3197 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3198 annotations to cleanup the Makefile slightly.
3200 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3202 * lyxrc.C: do not set user_email to a default value but use empty
3203 instead. The entry used to be translated, which does not work
3204 since at the point where lyxrc is constructed there is no
3205 translation service available
3207 * messages.C (getLocaleDir): remove and use directly
3208 lyx_localedir() instead
3210 2004-06-02 Angus Leeming <leeming@lyx.org>
3212 Fix crash caused by dereferencing null pointer 'exportdata' in
3213 OutputParams by creating a new ExportData variable on the heap,
3214 storing it in a boost::shared_ptr.
3215 The crash was triggered when generating an Instant Preview
3216 of an external inset.
3218 * Makefile.am: add outputparams.C
3220 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3221 (c-tor): allocate memory to it.
3223 * exporter.C (c-tor): associated changes.
3225 2004-06-01 Angus Leeming <leeming@lyx.org>
3227 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3228 contains data before calling isInset(0). (Bug 1513.)
3230 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3232 * exporter.C (checkOverwrite): new method
3233 * exporter.C (copyFile): new method
3234 * exporter.C (Export): copy referenced files to the document dir
3235 * exporter.[Ch]: new class ExportedFile
3236 * exporter.[Ch]: new class ExportData. Contains currently the
3237 names of referenced external files
3238 * outputparams.h: add exportdata member.
3240 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3242 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3245 2004-05-19 Angus Leeming <leeming@lyx.org>
3250 * lyxfunc.C: small changes due to the introduction of namespace
3251 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3253 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3255 * text3.C (dispatch): supress update when only moving the cursor
3256 * cursor.C (selHandle): remove commented code
3258 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3260 * paragraph.C (startTeXParParams): correct column count
3261 * CutAndPaste.C (pasteSelection): remove const_cast
3262 * output_docbook.C (docbookParagraphs): remove const_cast
3263 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3264 const_cast and return ParagraphList::const_iterator
3265 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3266 * output_plaintext.C (writeFileAscii): remove const_cast
3267 * paragraph.[Ch] (simpleTeXOnePar): make const
3268 * paragraph_funcs.C (outerPar): use const iterators
3269 * paragraph_pimpl.C (validate): use const iterators
3270 * text.C (setHeightOfRow): use const iterators
3272 2004-05-17 Angus Leeming <leeming@lyx.org>
3275 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3277 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3278 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3279 if the citation engine has changed.
3281 2004-05-14 José Matos <jamatos@lyx.org>
3283 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3284 if the textclass does not provide it. Have it different for sgml and
3286 support the language of document.
3287 * output_docbook.C (docbookParagraphs):
3288 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3289 first anchor as the id of the paragraph, remove special case code.
3290 * sgml.C (escapeChar): escape only < & >.
3292 2004-05-14 Angus Leeming <leeming@lyx.org>
3294 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3295 dependencies on src/frontends/controllers/biblio.h. Define a
3296 CiteEngine_enum wrapper class to enable the enum to be forward
3299 2004-05-12 Angus Leeming <leeming@lyx.org>
3301 * buffer.C: up LYX_FORMAT to 234.
3302 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3303 use_numerical_citations with a single biblio::CiteEngine cite_engine
3305 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3307 2004-05-13 José Matos <jamatos@lyx.org>
3310 * converter.C (Converter, readFlags): add xml member.
3311 * outputparams.h: add XML flavor.
3312 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3314 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3316 * lyxfunc.C (dispatch):
3317 (getStatus): fix handling of LFUN_SEQUENCE
3319 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3321 * debug.C (showLevel): do not forget the end-of-line marker
3323 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3325 * kbmap.C (read): do not stop parsing a bind file when an error
3328 2004-04-29 Angus Leeming <leeming@lyx.org>
3333 * text2.C: wrap a bunch of #warning statements
3334 inside #ifdef WITH_WARNINGS blocks.
3336 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3338 * buffer.C: increment format to 233.
3340 2004-04-28 Angus Leeming <leeming@lyx.org>
3342 * BufferView_pimpl.C:
3345 s/updateToolbar()/updateToolbars()/
3346 s/Toolbar.h/Toolbars.h/
3348 2004-04-28 Angus Leeming <leeming@lyx.org>
3350 * BufferView.[Ch] (c-tor):
3351 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3352 No longer passes these data to the WorkArea generator.
3354 2004-04-28 Angus Leeming <leeming@lyx.org>
3356 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3358 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3360 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3362 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3364 * output_latex.C (TeXEnvironment): make sure that there is a line
3365 break before \end{foo} for the last paragraph of a document
3366 (TeXOnePar): if the paragraph is at the end of the document (or
3367 inset) and the language has to be reset, then make sure that the
3368 line break is _before_ the language command, not after (fixes bug
3369 1225); also make sure that the language reset command is the first
3370 thing after the paragraph (to ensure proper nesting of
3371 environments and thus fix bug 1404)
3373 2004-04-21 John Levon <levon@movementarian.org>
3376 * ToolbarBackend.C: make "name" be a programmatic name
3377 and a gui_name field.
3379 * lyxfunc.C: display the minibuffer on M-x
3381 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3383 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3386 2004-04-19 Angus Leeming <leeming@lyx.org>
3388 * BufferView_pimpl.C (setBuffer): changed preview interface.
3390 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3393 2004-04-19 John Levon <levon@movementarian.org>
3395 * BufferView_pimpl.C:
3396 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3398 2004-04-05 Angus Leeming <leeming@lyx.org>
3400 * text.C (redoParagraphs): add call to updateCounters(), thereby
3401 fixing the missing "Figure #:" label from the caption of a
3404 2004-04-13 Angus Leeming <leeming@lyx.org>
3406 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3407 cursor is clicked out of an inset.
3409 2004-04-13 Angus Leeming <leeming@lyx.org>
3411 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3412 than an InsetOld one.
3414 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3416 * format.[Ch]: add editor to Format
3417 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3418 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3420 2004-04-08 André Pönitz <poenitz@gmx.net>
3422 * metricsinfo.h: remove PainterInfo::width member
3424 2004-04-08 Angus Leeming <leeming@lyx.org>
3426 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3427 "\providecommand" rather than "\newcommand", thereby preventing
3428 clashes with packages that define "\boldsymbol" themselves.
3431 2004-04-08 Angus Leeming <leeming@lyx.org>
3433 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3434 thereby squashing an unnecessary warning.
3436 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3438 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3441 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3443 * BufferView.C (setCursor): call redoParagraph (some insets could
3445 (putSelectionAt): remove the 'double update' trick
3447 * BufferView_pimpl.C (fitCursor): call refreshPar
3448 (workAreaDispatch): remove an uneeded update call
3449 (dispatch): remove some manual update calls
3451 * cursor.[Ch]: remove cached_y_, updatePos
3452 (selHandle): set noUpdate when appropriate
3454 * lyxfunc.C (dispatch): track if we need an update
3456 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3458 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3459 (paintSelection): cheap optimization, do not call cursorX when not
3461 (paintPars): change signature
3464 (paintTextInset): adjust
3468 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3470 * lengthcommon.C: compilation fix: remove explicit array size from
3471 unit_name[] and friends
3473 2004-04-05 Angus Leeming <leeming@lyx.org>
3475 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3477 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3478 present only for the preferences dialog.
3479 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3481 2004-04-05 Angus Leeming <leeming@lyx.org>
3483 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3484 to enable the frontends to export changes to lyxrc correctly.
3486 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3488 2004-04-07 André Pönitz <poenitz@gmx.net>
3490 * cursor.[Ch] (selClear, adjust): remove math
3492 * cursor_slice.C: more agressive assert
3495 * BufferView_pimpl.C: rework mouse event dispatch
3502 2004-04-05 André Pönitz <poenitz@gmx.net>
3504 * cursor.[Ch] (valign, halign...): remove unneeded functions
3506 2004-04-05 Angus Leeming <leeming@lyx.org>
3508 * lyxlength.[Ch] (unit_name et al.): const-correct.
3510 2004-04-05 Angus Leeming <leeming@lyx.org>
3512 * BufferView_pimpl.C:
3521 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3523 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3525 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3527 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3529 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3530 * BufferView_pimpl.[Ch] (getStatus)
3531 * BufferView.[Ch] (getStatus): add
3532 * lyxfunc.C (getStatus): move lfuns handled in
3533 BufferView::dispatch to te function above
3534 * Cursor.C (setSelection): set selection() = true
3536 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3538 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3540 2004-03-31 Angus Leeming <leeming@lyx.org>
3542 * lyxfunc.C (dispatch): Fall through to the generic
3543 Dialogs::show("preamble").
3545 2004-03-31 Angus Leeming <leeming@lyx.org>
3547 * lyxfunc.C (dispatch): Fall through to the generic
3548 Dialogs::show("spellchecker").
3550 2004-03-31 Angus Leeming <leeming@lyx.org>
3552 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3555 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3560 * insetiterator.[Ch]:
3565 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3567 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3569 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3570 insets where we are putting the cursor.
3572 2004-03-31 Angus Leeming <leeming@lyx.org>
3575 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3577 * lyxrc.[Ch] (read, write): overloaded member functions taking
3578 a std::[io]stream arguments.
3580 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3582 2004-03-31 Angus Leeming <leeming@lyx.org>
3584 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3585 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3587 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3588 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3590 2004-03-31 Angus Leeming <leeming@lyx.org>
3592 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3593 the LFUN_ALL_INSETS_TOGGLE code.
3595 2004-03-30 Angus Leeming <leeming@lyx.org>
3597 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3598 has died. Fall through to the generic Dialogs::show("document").
3600 2004-03-30 Angus Leeming <leeming@lyx.org>
3603 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3604 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3606 * lyxfunc.C (getStatus, dispatch): define the actions for these
3607 lfuns. Little more than a cut and pste job from ControlDocument.C
3609 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3611 2004-03-30 Angus Leeming <leeming@lyx.org>
3614 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3615 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3617 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3618 open/closed state of ollapsable insets. Usage:
3620 all-inset-toggle <state> <name>, where
3621 <state> == "open" || "closed" || "toggle" and
3622 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3624 * lyxtext.h, text2.C (toggleInset): removed.
3626 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3627 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3628 now passes LFUN_INSET_TOGGLE to the found inset.
3630 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3631 is now invoked as "all-insets-toggle toggle branch".
3633 2004-03-30 Angus Leeming <leeming@lyx.org>
3637 * pariterator.[Ch]: added/corrected header blurb.
3639 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3641 * dociterator.[Ch]: add an inset_ member
3642 (backwardPos): implemented
3643 (backwardPos, forwardPos): use inset_ when the stack is empty.
3644 (doc_iterator_begin, doc_iterator_end): implemented
3645 * pariterator.[Ch]: adjust, add begin, end
3646 * insetiterator.[Ch]: adjust, add begin, end
3650 * BufferView_pimpl.C:
3651 * CutAndPaste.C: adjust
3653 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3655 * buffer.C: increment file format to 232.
3656 * LaTeXFeatures.C: add bibtopic package.
3657 * bufferparams.[Ch]: param \use_bibtopic.
3659 * lyxrc.[Ch]: add lyxrc bibtex_command
3660 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3662 * buffer.C: increment file format to 231.
3664 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3666 * dociterator.C: implement forwardPar
3667 * iterators.[Ch]: remove, replaced by
3668 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3670 * BufferView_pimpl.C:
3673 * bufferview_funcs.C:
3679 * Makefile.am: adjust
3681 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3683 * CutAndPaste.C (pasteSelection): fix 2 crashes
3684 (eraseSelection): fix a crash
3685 * paragraph_funcs.C: remove a warning
3687 2004-03-28 Angus Leeming <leeming@lyx.org>
3690 * LyXAction.C (init): new LFUN_PRINT.
3692 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3694 2004-03-27 Angus Leeming <leeming@lyx.org>
3697 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3699 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3701 2004-03-27 Angus Leeming <leeming@lyx.org>
3703 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3704 insetlist always contains non-null pointers to insets.
3706 2004-03-26 Angus Leeming <leeming@lyx.org>
3708 * src/BufferView_pimpl.C:
3709 * src/CutAndPaste.C:
3712 * src/output_plaintext.C:
3713 * src/outputparams.h:
3714 * src/paragraph_funcs.C:
3718 * src/frontends/controllers/ControlErrorList.C:
3719 * src/frontends/gtk/FileDialogPrivate.C:
3720 * src/frontends/gtk/GPainter.C:
3721 * src/frontends/gtk/GToolbar.C:
3722 * src/frontends/qt2/QRef.C:
3723 * src/mathed/math_scriptinset.C: squash compiler warnings.
3725 2004-03-26 Angus Leeming <leeming@lyx.org>
3727 * ispell.C (LaunchIspell::start):
3728 * lyx_cb.C (AutoSaveBuffer::start):
3729 invoke run(DontWait) rather than runNonBlocking().
3731 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3733 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3735 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3737 * kbsequence.C (print): adjust
3739 * kbmap.C (printKeySym): rename and change signature
3740 (printKey): use LyXKeySym::print()
3742 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3744 * undo.C: add using std::advance to compile for stlport
3746 2004-03-24 Angus Leeming <leeming@lyx.org>
3748 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3749 it leads to a crash when no buffer is present.
3751 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3752 Martin Vermeer <martin.vermeer@hut.fi>
3754 * lyxfunc.C (dispatch):
3755 * bufferparams.C (readToken): use the new LColor::setColor
3757 * LColor.[Ch] (setColor): new version that takes two strings as
3758 argument and creates a new color entry if necessary
3760 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3762 * buffer.C (makeLaTeXFile): if the main latex file that is
3763 processed is usually a subdocument of some master, then pretend
3764 for a while that it is actually the master
3766 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3768 * buffer.C (getLabelList):
3769 (getBibkeyList): use getMasterBuffer()
3770 (getMasterBuffer): new method. Returns the main document in the
3771 case where one is using included documents.
3773 2004-03-25 André Pönitz <poenitz@gmx.net>
3777 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3779 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3781 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3782 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3784 * ParameterStruct.h: merge with ParagraphParameters
3786 * lyxtext.h: remove LyXText::parOffset() and getPar()
3788 * text3.C: Remove all 'manual' update calls. We do now one per user
3789 interaction which is completely sufficient.
3793 * BufferView_pimpl.C:
3794 * FontIterator.[Ch]:
3796 * ParagraphParameters.[Ch]:
3801 * cursor_slice.[Ch]:
3808 * output_docbook.[Ch]:
3809 * output_latex.[Ch]:
3810 * output_linuxdoc.[Ch]:
3811 * output_plaintext.[Ch]:
3813 * paragraph_funcs.[Ch]:
3814 * paragraph_pimpl.[Ch]:
3822 * frontends/controllers/ControlDocument.C:
3823 * frontends/controllers/ControlErrorList.C:
3824 * frontends/controllers/ControlSpellchecker.C:
3827 * insets/insetbase.h:
3828 * insets/insetbibitem.C:
3829 * insets/insetbox.C:
3830 * insets/insetbranch.C:
3831 * insets/insetcaption.C:
3832 * insets/insetcharstyle.C:
3833 * insets/insetcharstyle.h:
3834 * insets/insetcollapsable.C:
3835 * insets/insetcollapsable.h:
3836 * insets/insetert.C:
3837 * insets/insetfloat.C:
3838 * insets/insetfoot.C:
3839 * insets/insetmarginal.C:
3840 * insets/insetnote.C:
3841 * insets/insetoptarg.C:
3842 * insets/insettabular.C:
3843 * insets/insettext.C:
3844 * insets/insettext.h:
3845 * insets/insetwrap.C:
3846 * mathed/math_mboxinset.C:
3847 * mathed/math_nestinset.C:
3848 * mathed/math_scriptinset.C:
3849 * mathed/math_scriptinset.h:
3852 2004-03-24 Angus Leeming <leeming@lyx.org>
3854 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3855 deal with any child processes that have finished but are waiting to
3856 communicate this fact to the rest of LyX.
3858 2004-03-24 Angus Leeming <leeming@lyx.org>
3860 64-bit compile fixes.
3862 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3863 (c-tor): pass lyx::pos_types rather than ints.
3865 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3868 * text.C (Delete): compile fix.
3869 (getPar): ensure that function declaration is the same as that in
3872 2004-03-23 Angus Leeming <leeming@lyx.org>
3874 * ispell.C (LaunchIspell):
3875 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3876 a boost::shred_ptr rather than a std::auto_ptr.
3878 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3880 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3881 handle LFUN_FILE_INSERT_*
3883 * lyxrc.C (setDefaults, getDescription, output, read):
3884 * lyxrc.h: remove ps_command
3886 2004-03-22 Angus Leeming <leeming@lyx.org>
3888 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3889 Ensure that error_handler is processed once only and that all data
3890 is saved before attempting to output any warning messages.
3892 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3894 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3896 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3898 2004-03-19 André Pönitz <poenitz@gmx.net>
3900 * cursor.[Ch] (reset): take main text inset as argument
3902 * BufferView: adjust
3903 * BufferView_pimpl.C: adjust
3905 * paragraph.[Ch]: fix completely broken operator=()
3907 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3909 * LColor.C (getFromLyXName): make sure that the color name is used
3912 2004-03-17 Angus Leeming <leeming@lyx.org>
3915 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3917 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3918 dialog and to kill a forked process.
3920 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3922 * text2.C (setCursorFromCoordinates): fix font problem
3924 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3926 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3927 bogus "rebuild cursor" code
3929 2004-03-11 André Pönitz <poenitz@gmx.net>
3931 * buffer.[Ch]: use InsetText instead of LyXText as container for
3934 * dociterator.[Ch]: drop the BufferView * member which is not needed
3935 anymore after the change to buffer.C
3937 * paragraph_funcs.C:
3941 * BufferView_pimpl.[Ch]:
3943 * cursor_slice.[Ch]: adjust
3945 * text3.C: fix bug in mathDispatch
3947 2004-03-08 André Pönitz <poenitz@gmx.net>
3949 * undo.[Ch]: use 'StableDocumentIterator' as base for
3952 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3955 * bufferparams.[Ch]: add jurabib support and param.
3957 * LaTeX.C: add FIXME/comment.
3959 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3961 * buffer.C: increment file format to 230.
3963 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3965 * cursor.C (dispatch): avoid infinite loops
3967 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3969 * rowpainter.C (paintSelection): fix x coordinates
3971 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3973 * text.C (rowBreakPoint): fix breaking before displayed insets
3975 2004-03-01 André Pönitz <poenitz@gmx.net>
3977 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3979 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3983 * BufferView_pimpl.C:
3991 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3997 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3998 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4000 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4002 * Bidi.[Ch] (computeTables): const correctness
4003 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4004 fill_hfill, fill_label_hfill and x from Row
4005 * lyxtext.h: prepareToPrint returns a RowMetrics
4006 * rowPainter.C: adjust
4007 * text.C (prepareToPrint): use width, not textWidth. adjust
4008 (redoParagraphInternal, cursorX): adjust
4009 * text2.C (getColumnNearX): adjust
4010 (init): put a default value to the top LyXText::width
4012 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4014 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4016 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4018 * lyxtext.h: add FontIterator class
4020 * text.C (FontIterator, operator*, operator->, operator++): add
4021 (rowBreakPoint, setRowWidth): adjust (fixing a
4024 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4026 * BufferView_pimpl.C (workAreaDispatch): allow also
4027 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4029 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4031 * text.C (rowBreakPoint): fix a bug showing with very large insets
4033 2004-02-25 André Pönitz <poenitz@gmx.net>
4036 * cursor.[Ch]: move some mathed specific code to mathed
4038 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4040 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4041 use_tempdir in preferences
4042 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4044 * lyx_main.C: ensure that tempdir is valid
4045 * lyxlex.h: correct typo
4046 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4047 * paragraph.[Ch] (isMultiLingual): make const
4048 * cursor.[Ch] (openable): make const
4050 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4052 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4054 2004-02-20 André Pönitz <poenitz@gmx.net>
4056 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4058 * cursor.[Ch]: prepare for localized getStatus()
4064 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4066 2004-02-20 André Pönitz <poenitz@gmx.net>
4068 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4070 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4072 * text2.C (setCursorFromCoordinates): switch to absolute coords
4074 (cursorDown): adjust
4075 * text3.C (dispatch): adjust
4077 2004-02-16 André Pönitz <poenitz@gmx.net>
4079 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4082 * cursor_slice.[Ch]: remove unneeded acessor function
4084 * lyxtext.h: rename rtl() to isRTL()
4092 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4094 * rowpainter.C (paintSelection): coord fix
4096 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4098 * Spacing.C: compile fix
4100 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4102 * cursor.C (dispatch): restore current_ before returning
4104 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4106 * text2.C (cursorUp, cursorDown): fix coords
4109 2004-02-12 André Pönitz <poenitz@gmx.net>
4114 * text3.C: add LCursor & parameter to most cursor movement functions
4115 remove usage of LyXText::cursorRow() and cursorPar()
4117 * cursor.[Ch]: add textRow() needed members
4120 * BufferView_pimpl.C:
4123 * BufferView_pimpl.C: adjust
4125 2004-02-11 André Pönitz <poenitz@gmx.net>
4129 * BufferView_pimpl.C: shift undo/redo handling
4131 * cursor.[Ch]: fix mathed crash
4134 * lyxtext.h: move selectionAsText to LCursor
4142 * rowpainter.C: fix excessive drawing
4144 2004-02-06 André Pönitz <poenitz@gmx.net>
4147 * BufferView_pimpl.[Ch]:
4148 * text3.C: move some text specific LFUN handling
4150 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4152 * text3.C (checkInsetHit): adjust coords
4153 * text2.C (getColumnNearX): adjust coords
4154 (edit): adjust coords
4155 * text.C (getRowNearY): add two asserts
4157 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4160 * format.C: add using std::distance to compile on gcc 2.95/stlport
4162 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4164 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4166 2004-02-04 André Pönitz <poenitz@gmx.net>
4168 * BufferView.[Ch] (insertInset):
4169 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4174 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4176 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4177 on the default clause of the switch
4178 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4179 wasn't catched by LCursor::dispatch
4181 2004-02-03 André Pönitz <poenitz@gmx.net>
4184 * cursor.[Ch]: some additional asserts
4186 * undo.[Ch]: remove LyXText dependency in interface
4190 * lyxtext.h (firstPar, lastPar): remove dead functions
4195 * paragraph.[Ch]: adjust
4197 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4199 * lyxfind.C (find): fix argument order in call to ::find
4201 2004-02-02 André Pönitz <poenitz@gmx.net>
4203 * cursor.[Ch]: remove direct access to anchor
4205 * text.C: remove findText() hack
4207 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4209 * iterators.[Ch] (lockPath): remove in favour of...
4210 * BufferView.[Ch] (setCursor): this addition
4211 * BufferView.C (putSelectionAt): adjust
4212 * undo.C (performUndoOrRedo): adjust
4213 * lyxfunc.C (dispatch): adjust
4215 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4217 * iterators.C (lockPath): add a missing slice
4218 * undo.C (performUndoOrRedo): remove redundant positioning code
4220 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4222 * vc-backend.C (scanMaster): ";" -> ';'
4224 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4226 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4227 std::binary_function
4229 * lyxtextclass.C (compare_name): rename to...
4230 (LayoutNamesEqual): ...this
4232 * lyxlex_pimpl.C (compare_tags): inherit from
4233 std::binary_function, put back into anon namespace
4235 * lyxfind.C (MatchString): inherig from std::binary_function
4236 (findChange): use empty() istead of !size()
4238 * format.C (FormatNamesEqual): new functor
4245 * converter.C (compare_Converter): rename to...
4246 (ConverterEqual): ...this, and fixup a bit.
4247 (getConverter): use it, and make function const
4248 (getNumber): use it, and make function const
4252 * bufferlist.C: add using boost::bind
4254 * MenuBackend.C (MenuNamesEqual): new functor
4255 (hasMenu): use it, and make function const
4256 (hasSubmenu): use nested bind to get rid of compare_memfun.
4258 2004-01-30 André Pönitz <poenitz@gmx.net>
4260 * BufferView_pimpl.C:
4263 * cursor_slice.[Ch]:
4266 * paragraph_funcs.C:
4267 * paragraph_funcs.h:
4271 * text3.C: move some of the edit(x,y) handling to the insets
4272 some coordinate changes.
4274 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * text.C: add using statements for std::advance and std::distance
4278 * paragraph.C: add using statement for std::distance
4280 * lyxfind.C: add using statement for std::advance
4282 * cursor.C (region): remove std:: from swap
4283 (openable): use nucleus in stead of operator->
4285 * BufferView.C: add using statements for std::distance and std::swap
4287 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * iterators.C: Remove the pimple, move the needed structures to
4290 the header file. Create accessor for the positions stack.
4291 (asPosIterator): remove function
4293 * PosIterator.C (PosIterator): move constructors to top of file
4294 (PosIterator): reimplement the constructor taking a ParIterator in
4296 (setFrom): new function
4297 (operator!=): inline it
4299 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4301 * lyxfind.C (replaceAll): use std::advance
4303 * iterators.h: inherit from std::iterator.
4305 * PosIterator.C (advance, distance): remove
4306 * PosIterator.h: interit from std::iterator.
4308 2004-01-26 André Pönitz <poenitz@gmx.net>
4311 * BufferView_pimpl.[Ch]:
4315 * bufferview_funcs.C:
4325 * output_linuxdoc.C:
4326 * output_plaintext.C:
4328 * paragraph_funcs.[Ch]:
4329 * paragraph_pimpl.[Ch]:
4335 * text3.C: more IU: dumps most of the rest of the mathcursor
4336 implementation into cursor.[Ch]; "globalize" a bit of it.
4338 2004-01-25 Angus Leeming <leeming@lyx.org>
4340 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4342 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4344 * LaTeXFeatures.h: add nice_ and nice() const
4345 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4347 2004-01-20 André Pönitz <poenitz@gmx.net>
4350 * BufferView_pimpl.C:
4352 * bufferview_funcs.C:
4354 * cursor_slice.[Ch]:
4365 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4366 LCursor and mathcursor parts to LCursor and InsetBase.
4368 2004-01-15 André Pönitz <poenitz@gmx.net>
4370 * cursor_slice.[Ch]: add a few covienience functions
4372 * funcrequest.[Ch]: remove BufferView * member
4374 * BufferView_pimpl.C:
4381 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4383 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4385 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4386 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4388 2004-01-13 André Pönitz <poenitz@gmx.net>
4391 * lyxtext.h: hide cursor and selection anchor behind accessor function
4394 * BufferView_pimpl.[Ch]:
4396 * bufferview_funcs.C:
4406 * cursor_slice.[Ch]: some integer type changes for inset unification
4408 * lyxcursor.[hC]: remove, it's CursorSlice now.
4411 * BufferView_pimpl.[Ch]:
4412 * bufferview_funcs.C:
4418 * textcursor.[Ch]: adjust
4420 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4422 * text2.C (undoSpan): add and use
4423 * text.C (breakParagraph): use undoSpan (fix bug 578)
4426 2004-01-08 Angus Leeming <leeming@lyx.org>
4428 * BufferView_pimpl.C (MenuInsertLyXFile):
4429 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4430 * lyxfunc.C (menuNew, open, doImport):
4431 FileFilterList change to the FileDialog open and save functions.
4433 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4435 * ShareContainer.h: make isEqual and isUnique adaptable
4437 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4439 2004-01-07 Angus Leeming <leeming@lyx.org>
4442 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4444 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4446 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4447 functions replacing find, replace and replaceAll.
4449 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4450 LFUN_WORDFIND(FORWARD|BACKWARD).
4452 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4454 * text.C (breakParagraph): remove an outdated #warning
4456 2004-01-07 André Pönitz <poenitz@gmx.net>
4458 * lyxfind.C: somewhat clearer logic
4460 * text.C: prevent crash in cursorX on unitialized row cache
4462 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4464 * lyxcursor.[Ch] (operator>): add
4465 * textcursor.C (selStart, selEnd): use std::min and std::max
4467 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4469 * Chktex.C: include boost/format.hpp
4471 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4473 * InsetList.C: replace functor MathcIt with adaptable functor
4475 (insetIterator): modify accordingly
4477 * BranchList.h: move the BranchNamesEqual functor here from...
4478 * BranchList.C: ... to here
4480 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4482 (add): replace a finding loop with std::find_if.
4484 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4486 * output_docbook.C: moving LatexParam functionality into
4489 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4491 * buffer.C: increment format to 229.
4493 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4496 * lyx_sty.[Ch]: remove minipageindent_def
4502 * text3.C: remove LFUN_INSET_MINIPAGE
4504 2003-12-28 Angus Leeming <leeming@lyx.org>
4506 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4508 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4510 * text2.C (setParagraph): fix off-by-one crash
4512 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4514 * output_docbook.C: header stuff for AGU
4516 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4518 * text2.C (redoCursor): remove
4521 * BufferView_pimpl.C: remove calls to redoCursor and
4522 setCursor(cursor.par(), cursor.pos()) all around
4524 2003-12-15 Angus Leeming <leeming@lyx.org>
4526 * buffer.C: up the format to 228.
4528 2003-12-15 André Pönitz <poenitz@gmx.net>
4530 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4535 * BufferView_pimpl.C:
4544 2003-12-15 Angus Leeming <leeming@lyx.org>
4546 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4547 than getFromGUIName to manipulate the color.
4549 2003-12-14 Angus Leeming <leeming@lyx.org>
4551 * BranchList.[Ch]: minimize the API.
4552 (Branch::getBranch, getColor): now return a 'const &'.
4553 (Branch::setSelected) now returns a bool set to true if the
4554 selection status changes.
4555 (BranchList::clear, size, getColor, setColor, setSelected,
4556 allBranches, allSelected, separator): removed.
4557 (BranchList::find): new functions, returning the Branch with
4559 (BranchList::add, remove): return a bool indicating that
4560 the operation was successful.
4562 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4563 new InsetBranch::isBranchSlected member function.
4565 * LColor.[Ch]: mimimize the API.
4566 (fill): renamed as addColor and made private.
4567 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4568 versions of these functions taking a string arg have been removed.
4570 * bufferparams.C (readToken):
4571 * lyxfunc.C (dispatch):
4572 * lyxrc.C (read): changes due to the altered BranchList and
4575 * factory.C (createInset, readInset): changes due to altered
4578 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4581 * lyxfunc.C: remove insetminipage. "minipage-insert"
4582 now produces a frameless minipage box inset.
4584 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4586 * textcursor.[Ch] (selStart,selEnd): add new methods
4587 remove selection::start, end, use LyXCursor::operator<
4588 * lyxcursor.[Ch] (operator<): add
4589 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4590 * BufferView.[Ch] (unsetXSel): add
4591 * text2.C (clearSelection): use unsetXSel,adjust
4594 * rowpainter.C: adjust
4595 * bufferview_funcs.C (put_selection_at): adjust
4597 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4599 * BufferView_pimpl.C: small coord. correction
4601 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4603 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4604 dragging over the splash screen.
4606 2003-12-11 Angus Leeming <leeming@lyx.org>
4608 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4609 as it is now handled in LyXText::dispatch.
4611 * text3.C (doInsertInset): remove a level of nesting.
4613 2003-12-11 Angus Leeming <leeming@lyx.org>
4615 * factory.C (createInset): changes due to the changed interface to
4616 InsetCommandMailer::string2params.
4618 2003-12-10 Angus Leeming <leeming@lyx.org>
4620 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4621 'dialog-show-new-inset <inset name>'
4623 2003-12-10 Angus Leeming <leeming@lyx.org>
4625 * buffer.C: up the format to 227.
4627 * factory.C: the box inset is now identified simply by 'Box'.
4629 2003-12-10 Angus Leeming <leeming@lyx.org>
4631 * buffer.C: up the format to 226.
4633 * factory.C: the note inset is now identified simply by 'Note'.
4635 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4637 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4638 when a pit is enough. Standarize a couple of loops.
4640 2003-12-05 Angus Leeming <leeming@lyx.org>
4642 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4643 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4644 data to the re-worked "log" dialog.
4646 2003-12-03 André Pönitz <poenitz@gmx.net>
4652 * paragraph_funcs.C:
4654 * text2.C: use Inset::getText instead of Inset::getParagraph
4656 2003-12-03 André Pönitz <poenitz@gmx.net>
4660 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4661 InsetText::read() as LyXText::read()
4663 2003-12-02 Angus Leeming <leeming@lyx.org>
4665 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4666 type. Add a comment in the implementation that the function uses
4667 the stream's bad() function rather than fail() as the std::streams
4670 2003-12-02 André Pönitz <poenitz@gmx.net>
4672 * lyxlex.[Ch]: make interface more similar to std::stream
4674 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4676 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4678 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4680 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4682 * vspace.[Ch]: remove VSpace::NONE
4684 2003-12-01 André Pönitz <poenitz@gmx.net>
4687 * lyxtext.h: move ParagraphList member to LyXText
4688 rename LyXText::ownerParagraphs to LyXText::paragraph
4691 * bufferview_funcs.C:
4701 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4703 * undo.C: fix cursor positioning
4705 2003-12-01 John Levon <levon@movementarian.org>
4707 * BufferView_pimpl.C: fix a crash on exit with
4710 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4712 * BranchList.C: fix setSelected() method.
4714 2003-11-28 André Pönitz <poenitz@gmx.net>
4716 * ParagraphParameters.[Ch]:
4717 * ParameterStruct.h: remove space above/below from Paragraph to
4720 * BufferView_pimpl.C:
4726 * paragraph_funcs.C:
4732 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4734 * factory.C: Syntax change for CharStyles
4736 2003-11-28 André Pönitz <poenitz@gmx.net>
4741 * buffer.[Ch]: move LyXText member
4743 2003-11-28 André Pönitz <poenitz@gmx.net>
4745 * BufferView.[Ch]: make LyXText * text a private member
4747 * BufferView_pimpl.C:
4758 * output_plaintext.C: cleanup
4760 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4763 * lyxtextclass.[Ch]: parametrize SGML document header
4765 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4768 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4771 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4773 * text2.C (setFont): rework using PosIterator (no more recursive)
4774 (setCharFont): no more needed
4775 (setLayout): no more selection cursors fiddling (done by redoCursor)
4776 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4777 destroy remaining ones)
4779 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4781 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4783 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4786 * text3.C: adjust + re-allow multi par depth changes
4787 * textcursor.C: simplify a bit
4789 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4795 * src/output_docbook.C:
4796 * src/output_latex.C:
4801 * src/text2.C: Introducing a number of tags parametrizing various
4802 XML formats that we may want to support
4804 2003-11-25 André Pönitz <poenitz@gmx.net>
4806 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4808 * lyxtext.h (leftMargin/rightMargin): simplify interface
4815 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4817 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4818 master file to any child files. Fixes bug 546.
4820 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4822 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4824 2003-11-24 André Pönitz <poenitz@gmx.net>
4826 * rowpainter.C: simplification
4828 * text2.C (updateCounters): remove call to redoParagraph on
4829 changed labels as this is far too expensive.
4831 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4833 * converter.C (convert): fix a crash: this function gets
4834 called with buffer == 0 from importer code.
4836 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4838 * text3.C (cursorPrevious): make sure that we do not compare
4839 iterators form different containers.
4842 * rowpainter.C (paintSelection): make sure that we do not compare
4843 iterators from different containers.
4845 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4846 iterators from different ParagraphList containers.
4849 * text2.C (LyXText): change order of initialization slightly
4850 (operator=): new function. copy all variables except cache_par_
4851 (moveUp): make sure that we do not compare iterators from
4852 different ParagraphList constainers.
4855 * text.C (firstPar): new function
4856 (lastPar): new function
4857 (endPar): new function
4859 * lyxtext.h: move things around and group public functions, public
4860 variables, private functions, private variables
4862 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4864 * factory.C: change call to InsetERT constructor to avoid
4865 additional invocation of method status
4866 * text2.C (toggleInset): remove redundant update() call
4867 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4868 instead of a Bufferview pointer
4870 2003-11-21 André Pönitz <poenitz@gmx.net>
4872 * rowpainter.C: simplification
4874 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4876 * text3.C (dispatch): make possible to extend a word/row selection
4879 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4881 * lyxtext.h: x0_,y0_ -> xo_,yo_
4882 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4883 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4884 * rowpainter.C (paintRows): paint full paragraphs
4886 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4888 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4891 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4893 * lyxtext.h: add x0_, y0_
4894 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4895 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4897 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4899 * text2.C (setCursorIntern): move the x_target update here *
4900 * text3.C: change some bv() to true/false in calls to
4901 cursorUp/Down/Right/Left
4902 * cursor.C: use helper function.
4904 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4906 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4907 * paragraph_funcs.[Ch]: correct comment
4908 * rowpainter.C: do not paint selections away from bv->cursor()
4909 Fix a long standing selection painting bug.
4910 * text3.C: generalize mouse-selection code to LyXTexts other that
4912 * textcursor.C: do not use y coords if we can use par offsets
4914 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4916 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4917 cursor position after e.g. inset insert)
4919 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4921 * lyxfind.C (replace): adjust to locking removal + some
4924 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4926 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4929 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4932 * output_docbook.C: XML sanitation: new layout
4933 parameters InnerTag and CommandDepth
4935 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4937 * BufferView_pimpl.C:
4939 * text3.C: Fix the insertion and modification of button-style
4942 2003-11-13 André Pönitz <poenitz@gmx.net>
4944 * InsetList.[Ch]: remove deleteLyXText
4946 * paragraph.[Ch]: cache beginOfBody position
4951 * text3.C: remove superfluous update() calls
4955 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4957 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4958 * BufferView.C (fitLockedInsetCursor): remove
4959 * cursor.[Ch] (getDim): add
4960 * text.C (getRowNearY): add faster version
4961 * text3.C: remove some update calls
4963 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4975 * text3.C: The Character Style /XML short element patch.
4977 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4980 * factory.C: Small step to solving 'unable to insert some insets'
4983 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4985 * cursor.[Ch] (updatePos): new function for updating the y
4986 position of the tip inset
4987 * bufferview_funcs.C (put_selection_at):
4988 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4990 2003-11-11 André Pönitz <poenitz@gmx.net>
4992 * text.C: remove big comment on invalid Paragraph pointers as it is
4995 2003-11-11 André Pönitz <poenitz@gmx.net>
4997 * text_funcs.[Ch]: merge with ...
5005 * Makefile.am: remove text_funcs.[Ch]
5007 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5009 * cursor.C (getPos): return absolute cached y coord
5011 * BufferView_pimpl.C (fitCursor): new simplistic code
5012 (workAreaDispatch): add a fitCursor call
5014 2003-11-10 André Pönitz <poenitz@gmx.net>
5017 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5019 2003-11-10 André Pönitz <poenitz@gmx.net>
5021 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5022 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5023 indicate that the cursor needs to leave an inset
5025 * lyxtext.h: remove inset locking
5027 * cursor.[Ch]: re-implement functionality provided by inset locking
5030 * BufferView_pimpl.[Ch]:
5032 * bufferview_funcs.[Ch]:
5044 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5046 * PosIterator.[Ch]: replace the stack with a vector, add inset
5048 * iterators.[C]: adjust
5050 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5052 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5054 * paragraph_funcs.C (readParToken): put the correct id in the
5055 error item, not the id of the top paragraph
5057 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5059 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5060 * bufferview_funcs.C (put_selection_at): use the above
5062 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5064 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5066 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5068 * output_linuxdoc.h:
5069 * output_plaintext.h:
5071 * output_docbook.h: add #include statements
5073 2003-11-05 José Matos <jamatos@lyx.org>
5075 * output_docbook.[Ch]:
5076 * output_latex.[Ch]:
5077 * output_linuxdoc.[Ch]:
5078 * output_plaintext.[Ch]: New files for output formats.
5079 * output.[Ch]: New file for helper functions.
5082 * paragraph_funcs.[Ch]: output functions moved to new files.
5084 * outputparams.h: rename of latexrunparams.h
5092 * paragraph_funcs.[Ch]:
5093 * paragraph_pimpl.[Ch]:
5094 * tabular.[Ch]: rename ascii to plaintext
5095 and LatexRunParams to OutputParams.
5097 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5099 * iterators.[Ch] (text): require bv argument
5100 * undo.C (recordUndo):
5101 * lyxfunc.C (dispatch):
5102 * bufferview_funcs.C (put_selection_at): adjust
5104 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5106 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5108 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5110 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5113 2003-11-04 André Pönitz <poenitz@gmx.net>
5115 * cursor.[Ch]: restructure
5118 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5120 * iterators.[Ch] (asCursor): remove
5122 * lfuns.h: remove LFUN_INSET_EDIT
5128 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5130 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5132 * lyxfind.[Ch]: complete overhaul
5133 * BufferView_pimpl.C:
5135 * paragraph.[Ch] (insert): add
5137 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5141 * text.C: remove dead spellcheck code
5143 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5145 * dispatchresult.h: add a val setter
5147 * cursor.C (dispatch): use a tempvar for data_[i]
5149 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5151 * PosIterator.[Ch]: compile fix
5153 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5155 * text.C (cursorPar): deactivate the cursor cache
5157 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5159 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5161 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5163 * text3.C (dispatch): adjust for new DisptchResult semantics.
5165 * lyxfunc.C (dispatch): handle update when return from
5166 Cursor::dispatch, adjust for new DispatchResult semantics.
5168 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5169 DispatchResult(true) mean to not update. Add class functions for
5170 setting dispatched and update, as well as reading.
5172 * cursor.C (dispatch): don't handle update here
5174 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5176 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5177 * trans_mgr.C: adjust
5179 * paragraph_funcs.C (readParToken): exception safety
5181 * lyxvc.h: store the vcs pointer in a scoped_ptr
5184 * lyxsocket.C (serverCallback): exception safety
5186 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5188 * ispell.C (clone): make it return a auto_ptr
5190 * factory.C (createInset): exception safety
5191 (readInset): exception safety
5193 * bufferlist.C (newBuffer): exception safety
5195 * Thesaurus.C (Thesaurus): use initialization for aik_
5197 * MenuBackend.C (expandToc): exception safety.
5199 2003-11-03 André Pönitz <poenitz@gmx.net>
5203 * bufferview_funcs.C: remove getInsetFromId()
5206 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5212 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5214 * PosIterator.C (distance, advance): new
5215 * bufferview_funcs.[Ch] (put_selection_at): new
5216 * iterators.[Ch] (lockPath): new
5218 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5220 * iterators.[Ch] (asPosIterator): added
5221 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5222 * PosIterator.[Ch]: added
5224 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5228 * cursor.C (dispatch):
5229 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5231 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5232 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5233 contructor, add a class function dispatched. Remove operator>=
5235 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * debug.C: only use the default constructor for debugstream
5240 * main.C (main): include debug.h and setup the lyxerr streambuf
5243 2003-10-31 José Matos <jamatos@lyx.org>
5245 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5247 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5248 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5249 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5250 * paragraph_pimpl.C (simpleTeXSpecialC):
5251 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5252 add LatexRunParams argument.
5254 * exporter.C (Export): change call accordingly.
5256 * latexrunparams.h: add new member to take care of the other backends.
5257 2003-10-30 José Matos <jamatos@lyx.org>
5259 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5260 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5261 factorise code for paragraph output.
5263 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5266 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5268 * text3.C (dispatch):
5269 * lyxfunc.C (dispatch):
5270 * cursor.C (dispatch):
5271 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5273 * dispatchresult.h: make the dispatch_result_t ctor explicit
5275 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5278 * buffer.C: small refactoring of docbook stuff
5280 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5285 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5287 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5288 operator dispatch_result_t, and operators for == != and >=
5290 * cursor.C (dispatch): adjust for operator dispatch_result_t
5291 removal. comment out call to update
5293 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5295 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5303 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5306 * dispatchresult.h: new file, DispatchResult broken out of
5309 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5311 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5313 * text.C (rowBreakPoint): put a hack inside #if 0
5315 2003-10-28 André Pönitz <poenitz@gmx.net>
5319 * paragraph_funcs.C:
5322 * text2.C: general cleanup (lots of small stuff)
5324 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5326 * text2.C (cursorEnd): simple fix to the "end key goes to one
5327 before the end on last row" bug
5329 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5331 * text.C (backspace): fix the "zombie characters"
5333 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5335 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5337 2003-10-27 André Pönitz <poenitz@gmx.net>
5339 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5341 * factory.C: handle new InsetPagebreak, InsetLine
5343 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5344 and move handling into new InsetPagebreak, InsetLine
5346 * BufferView_pimpl.C:
5348 * ParagraphParameters.C:
5349 * ParameterStruct.h:
5354 * paragraph_funcs.C:
5355 * paragraph_pimpl.C:
5361 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5364 * lyxrow_funcs.[Ch]:
5370 * text3.C: remove lastPos uses in favour of Row::endpos
5372 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5374 * undo.C (performUndoOrRedo): fix two crashes by setting a
5375 cursor by hand and reordering some calls. Use bv->lockInset instead
5376 of inset->edit because the latter loses cursor information
5378 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5380 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5382 (rowBreakPoint): fix width. change point to point + 1.
5383 Add a missing check.
5385 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5388 * lyxfunc.C: fix (at least partly) the problems
5389 with the Nav menu and headers inside branch insets
5392 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5394 * paragraph.C (getChar): add strong asserts
5396 * lyxrow_funcs.C (lastPos): remove hideous hack
5398 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5399 (fill): adjust to that (avoid an infinite loop)
5401 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5403 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5405 2003-10-23 André Pönitz <poenitz@gmx.net>
5407 * RowList_fwd.h: change list<> to vector<> to gain speed
5408 after suggestion from Alfredo
5410 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5412 * lyxtext.h: move the bidi stuff from here...
5415 * Bidi.[Ch]: ... to here
5417 2003-10-23 André Pönitz <poenitz@gmx.net>
5420 * text.C (isLastRow, isFirstRow): new functions
5422 * paragraph.h: new width cache member
5424 * rowpainter.C: replace RowList::iterator with Row & where possible
5426 * lyxfunc.C: replace several view()->text with a single call
5428 * toc.C: fix 'unused' warning
5430 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5432 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5433 when woring with stream::pos_type
5434 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5436 2003-10-22 André Pönitz <poenitz@gmx.net>
5439 * text.C: use Row & instead of RowList::iterator
5441 * lyxrow.h: rename end() to endpos()
5447 2003-10-22 Angus Leeming <leeming@lyx.org>
5449 * buffer.[Ch] (fully_loaded): new member function, returning true
5450 only when the file has been loaded fully.
5451 Used to prevent the premature generation of previews and by the
5452 citation inset to prevent computation of the natbib-style label.
5454 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5455 templates are all set up.
5457 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5459 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5461 * text.C: fixed an "oops" in the "is a bit silly"
5464 2003-10-21 André Pönitz <poenitz@gmx.net>
5466 * FuncStatus.[Ch]: small stuff, whitespace
5468 * lyxfont.[Ch]: operator<<() for debug reasons
5472 * lyxtext.h: whitespace, spelling
5474 * paragraph.C: naming of variables
5477 * text2.C: small stuff
5480 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5482 * text.C: (1) finish off the inset display() work;
5483 (2) fix the "is a bit silly" bug (accessing char
5486 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5488 * text.C: re-introduce display() for insets, fixing the
5489 various bugs (stretch of line above, math inset
5492 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5494 * text.C (rightMargin): remove spurious semicolon
5496 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5499 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5501 * text3.C: fix one crash due to wrong cursor def
5503 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5505 * vc-backend.C (scanMaster): make the regex static
5507 * LaTeX.C (scanAuxFile): make the regexs static
5509 * text3.C (doInsertInset, dispatch, dispatch):
5510 * text2.C (cursorUp, cursorDown):
5511 * text.C (selectNextWordToSpellcheck):
5512 * BufferView_pimpl.C (dispatch):
5513 * lyxfunc.C (dispatch): localDispatch -> dispatch
5515 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5517 * lyxsocket.C: include <cerrno>
5519 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5521 * lyxfunc.C (dispatch): remove textcache stuff
5523 * bufferlist.C (release): remove textcache stuff
5526 * TextCache.C: delete file
5527 * TextCache.h: delete file
5529 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5531 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5532 delete of the bv_->text.
5533 (resizeCurrentBuffer): remove texcache stuff
5534 (workAreaResize): ditto
5536 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5538 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5541 2003-10-16 André Pönitz <poenitz@gmx.net>
5548 * text3.C: speed up by storing y positions per paragraph plus per-row
5549 offset instead of having a 'full' y position in the row.
5551 2003-10-15 André Pönitz <poenitz@gmx.net>
5555 * undo.[Ch]: make undo aware of inner insets
5557 2003-10-14 Angus Leeming <leeming@lyx.org>
5559 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5560 static member functions LyX::ref() and LyX::cref.
5561 (lastfiles): new accessor functions for the new lastfiles_ member var.
5562 (addLyXView, views_): add a new LyXView to the list of views_.
5563 (updateInset): loop over all LyXViews to call their own updateInset
5564 member function, returning a pointer to the Buffer owning the inset.
5566 * BufferView_pimpl.C (loadLyXFile):
5567 * MenuBackend.C (expandLastfiles):
5568 * bufferlist.C (MenuWrite, QuitLyX):
5569 lastfiles is no longer a global variable.
5570 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5572 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5573 static function. Access through LyX::cref().emergencyCleanup().
5575 2003-10-14 André Pönitz <poenitz@gmx.net>
5577 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5579 * undo.[Ch]: restoring part of 'undo in insets'
5582 * undo_funcs.[Ch]: merge with undo.[Ch]
5584 * tabular.C: small cleansing stuff
5586 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5588 * paragraph_funcs.C (readParToken): report unknown insets as error
5589 boxes. Use the outer paragraph as location (also for unknown
5592 * factory.C (readInset): do not abort on reading an unknown inset.
5593 Eat it and return 0.
5595 2003-10-13 Angus Leeming <leeming@lyx.org>
5597 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5599 * lyxrc.C: displayTranslator is now a function,
5600 declared in GraphicsTypes.h.
5602 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5604 * format.C: new placeholder $$a to pass the socket address.
5606 * bufferlist.[Ch]: new function getBufferFromTmp.
5608 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5609 files in the temporary dir.
5611 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5613 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5615 * Makefile.am: add lyxsocket.[Ch].
5617 * lyx_main.C (error_handler): handle SIGPIPE.
5619 2003-10-13 André Pönitz <poenitz@gmx.net>
5621 * BufferView_pimpl.C:
5626 * undo_funcs.[Ch]: use paroffset_type instead of
5627 ParagraphList::iterators to prevent multiple conversion
5628 (and get a more robust interface)
5630 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5634 * text3.C (dispatch): ditto
5636 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5638 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5639 move the onlyfile, use onlyfile instead of foundfile in a couple
5642 * DepTable.C (update): flush the error stream a bit more
5644 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5646 * lyxserver.C (callback): adjust
5648 * lyxfunc.C (getStatus): add a missing brace in commented code
5649 (ensureBufferClean): reindent
5650 (dispatch): delete version taking a string
5652 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5654 * LaTeX.C (deplog): move found file handlig from here...
5655 (handleFoundFile): .. to new function here.
5656 (deplog): make sure to discover several files mentioned on the
5659 2003-10-10 André Pönitz <poenitz@gmx.net>
5666 * text3.C: fix some of the tabular crashes
5668 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5670 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5672 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5674 2003-10-09 André Pönitz <poenitz@gmx.net>
5676 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5679 * BufferView_pimpl.C:
5680 * bufferview_funcs.C:
5691 * undo_funcs.C: adjust
5693 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5695 * text2.C (incrementItemDepth): new function, use a backtracking
5696 algorithm to discover the correct item depth.
5697 (resetEnumCounterIfNeeded): new function, use a backtracking
5698 algorithm to discover if counter reset is needed.
5699 (setCounter): use them. Simplify a bit. Add different labels for
5700 different item depths for itemize.
5702 * paragraph.C (Paragraph): remove initialization of enumdepth
5705 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5706 enumerate and itemize. Change the type of itemdepth to signed char.
5708 2003-10-08 André Pönitz <poenitz@gmx.net>
5710 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5715 * tabular.[Ch]: fix crash after 'row-insert'
5717 2003-10-08 Angus Leeming <leeming@lyx.org>
5719 Fix doxygen warnings.
5721 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5722 Remove CutAndPaste:: prefix from header file declaration.
5724 * LColor.h (fill): remove LColor:: prefix from declaration.
5726 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5727 use lyx::depth_type rather than Paragraph::depth_type so that
5728 header file and .C file match.
5730 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5732 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5733 * aspell.C: \file aspell_local.C -> \file aspell.C
5734 * gettext.C: \file gettext.C -> \file src/gettext.C
5735 * gettext.h: \file gettext.h -> \file src/gettext.h
5736 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5737 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5738 * text.C: \file text.C -> \file src/text.C
5740 * toc.C: move comment so that doxygen is not confused.
5742 2003-10-07 Angus Leeming <leeming@lyx.org>
5744 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5746 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5749 * aspell_local.h: add forgotten std::string's.
5751 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5758 * text3.C: The Box patch. Fancybox support, minipage, parbox
5760 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5766 * ParagraphParameters.h:
5776 * lyxtextclasslist.h:
5779 * paragraph_pimpl.C:
5780 * textcursor.h: add <string> and other small fixes to make Lars'
5781 std::string patch compile with STLport.
5783 2003-10-06 Angus Leeming <leeming@lyx.org>
5785 * LColor.h: Add missing #include <string>.
5787 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5789 * All most all file in all subdirs: Make <string> be the prefered
5790 way of getting to std::string, add using declarations.
5792 2003-10-06 André Pönitz <poenitz@gmx.net>
5794 * metricsinfo.C: initialize LyXFont before changing attribute.
5795 (fixes the 'math in \emph is upright' bug)
5797 2003-10-06 André Pönitz <poenitz@gmx.net>
5799 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5801 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5804 * paragraph_pimpl.C: Small fixes to build using STLport
5806 2003-10-02 André Pönitz <poenitz@gmx.net>
5809 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5811 2003-10-01 André Pönitz <poenitz@gmx.net>
5813 * factory.C: assert early
5815 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5817 * lyx_main.C: remove the global debug object
5819 * debug.h: adjust for new debugstream
5821 * debug.C: adjust for new debugstream and keep the global debug
5824 2003-09-22 Angus Leeming <leeming@lyx.org>
5826 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5827 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5828 an incomplete class LyXFont.
5830 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5832 * factory.C: bug fix in branches
5834 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5836 * lyxfunc.C (processKeySym): adjust
5838 (dispatch): change arg name from ev to func, adjust
5839 (sendDispatchMessage): ditto
5841 * lyx_main.C (defaultKeyBindings): adjust keybindings
5842 (deadKeyBindings): ditto
5844 * kbsequence.C (addkey): return a FuncRequest
5846 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5848 * kbmap.C (bind): take a FuncRequest as arg, adjust
5851 (defkey): change to take a FuncRequest as arg, adjust
5852 (findbinding): take a FuncRequest as arg, adjust.
5854 * funcrequest.h (operator=): added
5856 * funcrequest.C (FuncRequest): default kb_action changed from
5857 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5859 * buffer.C (dispatch): simplify
5860 (dispatch): adjust to take a FuncRequest as arg, adjust
5862 * boost.C (assertion_failed): change assertion message slightly
5864 * ToolbarBackend.C (read): simplify
5866 * MenuBackend.C (binding): adjust call to findbinding, add a
5867 message if no binding is found.
5869 (expandToc): correct by adding a empty FuncRequest
5871 * LyXAction.C: include <boost/assert.hpp>
5872 (isPseudoAction): delete function
5873 (LookupFunc): change name to...
5874 (lookupFunc): this. change return type to FuncRequest.
5875 (getActionName): take kb_action as arg, simplify
5876 (funcHasFlag): add an assert, simplify.
5878 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5880 * toc.C (action): return a FuncRequest, simplify
5882 * lyxfunc.C (processKeySym): adjust
5883 (getStatus): delete version that takes an int.
5885 (dispatch): delete version that takes action as int
5887 (sendDispatchMessage): simplify and adjust
5889 * funcrequest.C (getArg): take unsigned int as arg
5891 * ToolbarBackend.C (read): adjust
5892 (add): delete version that takes func as a string.
5893 (getIton): take a FuncRequest as arg
5895 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5898 * MenuBackend.C (MenuItem): add a new construct that only takes a
5899 Kind, simplify the constructor use for submenus.
5901 (expandLastfiles): adjust
5902 (expandDocuments): adjust
5903 (expandFormats): adjust
5904 (expandFloatListInsert): adjust
5905 (expandFloatInsert): adjust
5906 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5908 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5909 Remove class variables lyx_pseudo_map and lyx_arg_map
5911 * LyXAction.C (searchActionArg): delete function
5912 (getPseudoAction): delete function
5913 (retrieveActionArg): delete function
5914 (LookupFunc): make it return kb_action, simplify.
5915 (getActionName): simplify
5917 * factory.C (createInset): fix new bug
5919 2003-09-19 Angus Leeming <leeming@lyx.org>
5921 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5922 masterFilename_ parameter in the include inset.
5924 * factory.C (createInset): changes due to the changes to InsetInclude.
5926 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5928 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5930 2003-09-18 Angus Leeming <leeming@lyx.org>
5933 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5934 Inset::fillWithBibKeys.
5935 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5937 2003-09-18 Angus Leeming <leeming@lyx.org>
5939 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5941 (ctor): pass and store a 'Buffer const &'
5942 (buffer): new member function.
5944 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5945 '*this' to the LaTeXFeatures ctor.
5947 2003-09-18 Angus Leeming <leeming@lyx.org>
5953 * text.C: rename EnumLColor as LColor_color.
5955 2003-09-18 Angus Leeming <leeming@lyx.org>
5957 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5958 remove #include "insets/insetbase.h" from cursor.h.
5960 2003-09-18 Angus Leeming <leeming@lyx.org>
5962 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5963 InsetOld_code to remove #include "inset.h".
5965 * iterators.C: add #include "insets/inset.h"
5967 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5969 * BufferView.C: remove more locking stuff that apparently doesn't
5970 do anything sensible.
5972 2003-09-16 André Pönitz <poenitz@gmx.net>
5975 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5978 2003-09-16 Angus Leeming <leeming@lyx.org>
5980 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5982 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5985 * paragraph.h: remove #include "lyxfont.h". Forward declare
5988 2003-09-16 Angus Leeming <leeming@lyx.org>
5990 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5991 of support/textutils.h.
5992 (isWord): move the contents of support/textutils.h's IsWordChar here.
5998 * text2.C: add #include "paragraph.h".
6001 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6003 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6009 * LaTeX.C: use namespace alias for lyx::support::os
6011 2003-09-16 Angus Leeming <leeming@lyx.org>
6014 * bufferview_funcs.C:
6017 * paragraph_pimpl.C:
6019 * text.C: add #include "LColor.h".
6021 2003-09-16 Angus Leeming <leeming@lyx.org>
6023 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6024 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6026 Store the FontBits::color variable as an int rather than as an
6027 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6030 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6031 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6032 string calls together.
6034 * lyxrc.C: add #include "LColor.h".
6036 2003-09-15 Angus Leeming <leeming@lyx.org>
6038 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6041 2003-09-15 Angus Leeming <leeming@lyx.org>
6043 * LColor.h: add an EnumLColor wrapper for LColor::color.
6045 * lyxfont.[Ch] (color, setColor, realColor):
6046 * lyxtext.h, text.C (backgroundColor):
6047 pass EnumLColor args to/from the functions, rather than LColor::color
6051 * lyxtext.h: forward declare EnumLColor.
6053 * lyx_main.C: add #include "LColor.h".
6055 2003-09-15 Angus Leeming <leeming@lyx.org>
6057 * .cvsignore: add lyx-gtk.
6059 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6064 * ParagraphParameters.C
6068 * bufferview_funcs.C
6078 * vc-backend.C: remove usage of STRCONV
6080 2003-09-15 Angus Leeming <leeming@lyx.org>
6082 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6083 explicitly define the color passed to the painter.
6085 2003-09-15 Angus Leeming <leeming@lyx.org>
6087 * bufferparams.C (BufferParams): reorder member initializers to avoid
6090 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6092 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6093 * text.C (updateRowPositions): remove an unusual nop
6095 2003-09-12 André Pönitz <poenitz@gmx.net>
6097 * BufferView_pimpl.C:
6106 * Counters.[Ch]: finish the 'automatic counters' job
6108 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6110 * aspell.C: include <boost/assert.cpp> (compile fix)
6112 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6114 * boost.C (assertion_failed): use lyx::support::abort instead of
6117 2003-09-10 Angus Leeming <leeming@lyx.org>
6119 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6120 with their _fwd progeny.
6122 2003-09-09 Angus Leeming <leeming@lyx.org>
6124 134 files throughtout the source tree: replace 'using namespace abc;'
6125 directives with the appropriate 'using abc::xyz;' declarations.
6127 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6129 * boost.C (emergencyCleanup): moved here from LAssert.c
6130 (assertion_failed): new function, called by BOOST_ASSERT
6132 * several files: change Assert to BOOST_ASSERT
6134 2003-09-09 Angus Leeming <leeming@lyx.org>
6136 * buffer.[Ch]: Add an Impl class and move Buffer's member
6137 variables into it. As a result move several header files out of
6140 Add header files to lots of .C files all over the tree as a result.
6142 2003-09-09 Angus Leeming <leeming@lyx.org>
6144 * buffer.[Ch]: make Buffer's member variables private. Add
6147 Lots of changes all over the tree as a result.
6149 2003-09-08 Angus Leeming <leeming@lyx.org>
6151 * graph.C: #include <config.h>.
6153 2003-09-08 Angus Leeming <leeming@lyx.org>
6157 * BufferView_pimpl.C:
6186 * toc.C: remove redundant using directives.
6188 2003-09-07 Angus Leeming <leeming@lyx.org>
6190 * LaTeXFeatures.h: remove #include "support/types.h".
6191 * ToolbarBackend.h: remove #include <algorithm>.
6192 * changes.h: remove #include <ctime>.
6193 * debug.h: remove #include <iosfwd>.
6194 * graph.h: remove #include "support/std_string.h".
6195 * lyx_main.h: remove #include <csignal>.
6196 * lyxlex_pimpl.h: remove #include <fstream>.
6197 * sgml.h: remove #include <algorithm>, <utility>.
6198 * toc.h: remove #include "support/std_ostream.h".
6199 Add #include <iosfwd>.
6201 2003-09-07 Angus Leeming <leeming@lyx.org>
6203 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6205 * converter.h: forward declare LatexRunParams.
6206 * encoding.h: remove #include "lyxrc.h".
6207 * lyxtext.h: remove #include "LColor.h".
6208 * lyxtextclass.h: remove #include "support/types.h".
6209 * trans.h: remove #include "tex-accent.h".
6210 * trans_mgr.h: remove #include "tex-accent.h".
6211 * insets/inset.h: remove #include "support/types.h", <vector>.
6212 * insets/insetcollapsable.h: remove #include "LColor.h".
6213 * insets/insetinclude.h: remove #include "dimension.h".
6214 * insets/insetlatexaccent.h: remove #include "dimension.h".
6215 * insets/insetoptarg.h:: remove #include "insettext.h".
6216 * insets/insettext.h: remove #include "dimension.h",
6217 <boost/shared_ptr.hpp>
6219 * insets/renderers.h: add #include "dimension.h".
6220 * insets/updatableinset.h: add #include "support/types.h".
6222 * many .C files: Associated changes.
6224 2003-09-06 Angus Leeming <leeming@lyx.org>
6226 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6227 one, inside testInvariant.
6229 * PrinterParams.C: new file.
6230 * PrinterParams.[Ch]: move the function bodies out of line.
6232 2003-09-06 Angus Leeming <leeming@lyx.org>
6234 * ParagraphParameters.h: forward declare ParameterStruct rather than
6235 including its header file.
6236 (depth): moved out-of-line.
6238 2003-09-06 Angus Leeming <leeming@lyx.org>
6240 * BufferView_pimpl.h:
6243 * lyxfunc.h: forward declare LyXKeySym rather than
6244 #include "frontends/LyXKeySym.h".
6246 * BufferView_pimpl.C:
6249 * lyxfunc.C: associated changes.
6251 2003-09-06 Angus Leeming <leeming@lyx.org>
6253 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6254 As a result, can remove the #include "insets/inset.h" from BufferView.h
6256 2003-09-06 Angus Leeming <leeming@lyx.org>
6258 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6259 As a result, can remove the #include "insets/inset.h" from BufferView.h
6261 2003-09-06 Angus Leeming <leeming@lyx.org>
6267 * bufferview_funcs.C:
6268 * BufferView_pimpl.C:
6273 * ParagraphParameters.C:
6278 * frontends/controllers/ControlDocument.C:
6279 * insets/insetcaption.C: rearrange the #includes into some sort of
6282 * buffer.h: remove #includes ErrorList.h, undo.h
6284 2003-09-06 Angus Leeming <leeming@lyx.org>
6286 * support/types.h: add a 'depth_type' typedef, used to store the
6287 nesting depth of a paragraph.
6290 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6291 defining explicitly.
6294 * paragraph_funcs.h:
6295 * ParagraphParameters.h:
6296 * sgml.h: use lyx::depth_type rather than Paragraph or
6297 ParameterStruct's depth_type.
6300 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6303 * BufferView_pimpl.C:
6305 * ParagraphParameters.C:
6308 * bufferview_funcs.C:
6315 * frontends/LyXView.C:
6316 * frontends/controllers/ControlDocument.C:
6317 * frontends/controllers/ControlErrorList.C:
6318 * insets/insetbibitem.C:
6319 * insets/insetbranch.C:
6320 * insets/insetcaption.C:
6321 * insets/insetcollapsable.C:
6322 * insets/insetenv.C:
6323 * insets/insetert.C:
6324 * insets/insetfloat.C:
6325 * insets/insetfoot.C:
6326 * insets/insetfootlike.C:
6327 * insets/insetnewline.C:
6328 * insets/insetquotes.C:
6329 * insets/insettabular.C:
6330 * insets/insettext.C:
6331 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6333 * frontends/controllers/ControlChanges.C: #include "changes.h".
6335 2003-09-06 Angus Leeming <leeming@lyx.org>
6337 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6338 than #including paragraph.h.
6341 * RowList.h: deleted. Superfluous.
6351 * insets/insettext.h: use ParagraphList_fwd.h rather than
6354 * paragraph.h: don't forward declare ParagraphList.
6357 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6358 rather than ParagraphList.h. paragraph.h is still needed for the
6359 Paragraph::depth_type parameters.
6361 * textcursor.h: enable it to compile stand-alone in light of the
6364 * bufferview_funcs.C:
6376 * frontends/controllers/ControlParagraph.C:
6377 * frontends/controllers/ControlTabular.C:
6378 * insets/insetmarginal.C:
6379 * insets/insetminipage.C:
6380 * insets/insetnote.C:
6381 * insets/insetoptarg.C: add header files needed to compile again.
6383 2003-09-06 Angus Leeming <leeming@lyx.org>
6385 * RowList_fwd.h: new file, forward-declaring Row rather than
6386 #including lyxrow.h.
6391 * insets/insettext.h: use it instead of RowList.h
6393 * bufferview_funcs.C:
6400 * text3.C: #include "RowList.h".
6402 2003-09-05 Angus Leeming <leeming@lyx.org>
6404 * factory.C (createInset):
6405 * vspace.C (c-tor): replace sscanf call with an istringstream.
6406 * ispell.C: re-add missing HP/UX headers.
6407 * lyxserver.C: re-add missing os2 headers.
6409 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6418 * text3.C: re-add missing system headers, needed for 2.95.2.
6420 2003-09-05 Angus Leeming <leeming@lyx.org>
6422 Changes most place everywhere due to the removal of using directives
6423 from support/std_sstream.h.
6425 2003-09-05 Angus Leeming <leeming@lyx.org>
6427 Replace LString.h with support/std_string.h,
6428 Lsstream.h with support/std_sstream.h,
6429 support/LIstream.h with support/std_istream.h,
6430 support/LOstream.h with support/std_ostream.h.
6432 Changes resulting throughout the tree.
6434 2003-09-05 Angus Leeming <leeming@lyx.org>
6436 * sgml.h: ensure that the header file can be compiled stand-alone.
6437 * *.C: strip out redundant #includes. (320 in total.)
6439 2003-09-04 Angus Leeming <leeming@lyx.org>
6441 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6442 here (from getPackages).
6444 * debug.[Ch]: add a new EXTERNAL tag.
6446 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6448 * text2.C (cursorEnd): simplify
6450 (getColumnNearX): adjust
6452 * text.C (computeBidiTables): adjust
6455 * rowpainter.C (paintChars): adjust
6456 (paintSelection): adjust
6457 (paintChangeBar): adjust
6460 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6462 (numberOfSeparators): adjust
6464 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6470 * text3.C: Restricts the mouse click functionality
6471 of insets like bibtex, include, toc and floatlist to the visible
6472 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6473 up the dialogs. Cursor has to be in front of the inset (i.e.
6474 start of row) for this to function.
6476 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6478 * bufferview_funcs.C (currentState): output row information
6480 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6482 * bufferview_funcs.C (currentState): output paragraph position
6484 2003-09-04 Angus Leeming <leeming@lyx.org>
6486 * FloatList.h: move out #include "Floating.h".
6487 * LaTeX.h: move out #include "DepTable.h".
6488 * LyXAction.h: move out #include "funcrequest.h".
6489 * buffer.h: move out #include "author.h", "iterators.h".
6490 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6491 * lyx_main.h: move out #include "errorlist.h".
6492 * lyxfunc.h: move out #include "FuncStatus.h".
6493 * lyxtext: move out #include "lyxcursor.h".
6494 * paragraph_pimpl.h: move out #include "counters.h".
6496 2003-09-03 Angus Leeming <leeming@lyx.org>
6498 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6499 preamble_snippets list, enabling us to add snippets to the preamble
6500 only if the snippet was not there already.
6502 2003-09-04 Angus Leeming <leeming@lyx.org>
6504 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6506 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6508 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6511 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6513 * BranchList.C: point fix, earlier forgotten
6515 2003-09-02 Angus Leeming <leeming@lyx.org>
6517 * box.C (contains): renamed from 'contained' after a fantastic
6520 2003-09-02 John Levon <levon@movementarian.org>
6526 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6528 2003-09-02 John Levon <levon@movementarian.org>
6530 * text2.C: simplification of cursorEnd(), including partial
6533 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6535 * buffer.C (readFile): add a space
6537 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6539 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6541 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6543 * buffer.C (readFile): new function, take a filename and a
6544 ParagraphList::iterator
6546 (readFile): adjust, make it private. don't use setStream, make
6547 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6548 always contain the filename.
6550 * BufferView.C (insertLyXFile): simplify and make it work for
6553 2003-08-30 John Levon <levon@movementarian.org>
6555 * Makefile.am: fix dist (from Kayvan)
6557 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * most files: change to use const Buffer refs
6561 2003-08-27 André Pönitz <poenitz@gmx.net>
6563 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6564 on top of ownerPar().
6566 2003-08-27 John Levon <levon@movementarian.org>
6568 * funcrequest.C: properly initialise POD members
6570 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6572 * lyxtext.h (top_y): move top_y from here
6577 * BufferView_pimpl.[Ch]: to here
6578 * frontends/screen.C:
6579 * insets/insettabular.C:
6580 * insets/insettext.C: adjust
6581 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6583 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6586 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6588 2003-08-26 André Pönitz <poenitz@gmx.net>
6590 * paragraph_func.[Ch] (outerPar): new function
6593 * paragraph_funcs.C:
6594 * paragraph_funcs.h:
6595 * paragraph_pimpl.C:
6596 * text2.C: remove Inset::par_owner
6598 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6603 * text2.C: eliminates the needFullRow/display() stuff
6604 altogether, putting the logic in metrics/draw in the insets.
6606 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6608 * text2.C (redoParagraphInternal, redoParagraphs):
6609 * text.C (redoParagraph): add a call to updateRowPositions at the
6610 end of each 'metrics-like' call. Remove all others.
6611 (getRow): remove the 'y-computing' version.
6612 (getRowNearY): do not compute nor return the real y. Solve the
6613 'y < 0' problem and simplify.
6615 2003-08-22 Angus Leeming <leeming@lyx.org>
6617 * *.[Ch]: clean-up of licence and author blurbs.
6618 Also move config.h out of a few .h files and into a few .C files.
6620 2003-08-22 André Pönitz <poenitz@gmx.net>
6622 * lyxrow.[Ch]: add x_ and *fill_ members
6627 * text2.C: adjust/remove prepareToPrint() calls
6629 2003-08-22 André Pönitz <poenitz@gmx.net>
6631 * lyxrow.[Ch]: add end_ member
6633 * lyxrow_funcs.C: use LyXRow::end_
6635 * lyxtext.h (singleWidth): add LyXFont parameter
6638 * text2.C: adjust LyXText::singleWidth() calls
6640 * text.C (redoParagraph): simplify row breaking logic
6643 2003-08-19 André Pönitz <poenitz@gmx.net>
6645 * funcrequest.C: initialize button_ member
6648 * rowpainter.[Ch]: interface consolidation
6650 2003-08-18 André Pönitz <poenitz@gmx.net>
6653 * BufferView_pimpl.C:
6655 * paragraph_funcs.C:
6657 * text3.C: remove LyXScreen::draw() and fitCursor calls
6659 * BranchList.h: remove spurious semicolons
6661 * MenuBackend.C: fix branchlist related crash
6663 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6671 * bufferparams.[Ch]:
6675 * text3.C: implements the 'branch inset'
6676 idea. This allows the output of various versions of a document
6677 from a single source version, selectively outputing or suppressing
6678 output of parts of the text.
6679 This implementation contains a 'branch list editor' in a separate
6680 tab of the document settings dialog. Branches are user definable
6681 and have a "display colour" to distinguish them on-screen.
6683 ColorHandler was somewhat cleaned up.
6684 (1) make possible a dynamically growing LColor list by allowing
6685 the graphic context cache to grow along (vector);
6686 (2) eliminate an IMHO unnecessary step in colour allocation.
6688 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6690 * BufferView_pimpl.C: compile fix
6692 2003-08-15 André Pönitz <poenitz@gmx.net>
6694 * rowpainter.C: remove extra metrics calls
6696 * lyxtext.h: merge the two constructors into a single one,
6697 pass reference to owner's par list
6699 * BufferView_pimpl.C:
6703 2003-08-15 André Pönitz <poenitz@gmx.net>
6705 * lyxrow_funcs.[Ch]:
6708 * paragraph_funcs.C:
6713 * text_funcs.C: split LyXText::rowlist_ into individual
6714 Paragraph::rows_ chunks
6717 * BufferView_pimpl.[Ch]:
6720 * text3.C: remove toggleSelection()
6722 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6724 * bufferlist.C: beautify two alerts (shorter text of buttons)
6725 * buffer.C: Remove redundant ' ' from message
6727 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6728 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6729 rename VALIGN_CENTER to VALIGN_MIDDLE
6731 2003-08-11 André Pönitz <poenitz@gmx.net>
6733 * lyxtext.h (getPar):
6734 * text.C: new function
6736 2003-08-11 André Pönitz <poenitz@gmx.net>
6739 * tracer.[Ch]: remove unneeded files
6741 * InsetList.[Ch]: remove resizeInsetsLyXText()
6746 * text3.C: merge insertParagraphs() and appendParagraph()
6747 remove breakAgain(), update()
6749 * BufferView_pimpl.[Ch]:
6750 * bufferview_funcs.[Ch]:
6754 * tabular.C: adjust after text & InsetList changes.
6756 2003-08-08 André Pönitz <poenitz@gmx.net>
6758 * text.C (insertChar, backspace): replace rowlist fiddling
6759 with rebreak of full par
6762 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6763 checkParagraph, updateInset): removed
6765 2003-08-07 André Pönitz <poenitz@gmx.net>
6768 * text3.C: merge some LFUN handlers, remove dead code
6770 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6772 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6774 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6776 * text2.C (DEPM): fix part of bug 1255 and 1256
6778 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6780 * BufferView_pimpl.C (workAreaDispatch): change to use
6781 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6782 that are no mouse related.
6784 2003-08-05 André Pönitz <poenitz@gmx.net>
6787 * BufferView_pimpl.[Ch]:
6788 * bufferview_funcs.C:
6790 * text3.C: rip out "deep update"
6792 * textcursor.[Ch] (last_sel_cursor): remove unused member
6794 2003-08-04 André Pönitz <poenitz@gmx.net>
6797 * BufferView_pimpl.[Ch]:
6798 * ParagraphParameters.C:
6799 * bufferview_funcs.C:
6805 * text3.C: replace "complicated" BufferView::update(...) calls with
6808 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6810 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6812 * Makefile.am (lyx_SOURCES): add paper.h
6814 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6816 * Makefile.am: move things around so that both lyx-qt and
6817 lyx-xforms can be built (according to --with-frontend). Then lyx
6818 is a symbolic link to lyx-[firstfrontend]
6820 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6822 * Always use std::endl with lyxerr
6824 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6826 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6828 2003-08-01 André Pönitz <poenitz@gmx.net>
6831 * BufferView_pimpl.[Ch]:
6833 * text3.C: merge BufferView::repaint() and BufferView::update()
6835 2003-08-01 José Matos <jamatos@lyx.org>
6837 * buffer.[Ch]: file_format is no longer a buffer data element.
6839 2003-08-01 André Pönitz <poenitz@gmx.net>
6844 * text2.C: make redoParagraph more independent of current cursor
6846 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6848 * text2.C: remove unneeded members
6850 2003-07-30 André Pönitz <poenitz@gmx.net>
6852 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6854 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6855 create a single function...
6857 * paragraph_funcs.C (moveItem): ... here.
6860 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6862 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6864 * LColor.[Ch]: Add comment and greyedout logical colors.
6866 2003-07-30 André Pönitz <poenitz@gmx.net>
6868 * tabular.C: don't use Assert too heavily. This crashes where it
6871 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6873 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6874 is disabled (bug 1232)
6876 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6878 * factory.C: limited 'arg' scope
6880 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6882 * factory.C: fixed Note submenu issues
6884 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6886 * factory.C: submenu for Note/Comment/Greyedout
6888 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6891 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6893 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6896 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6897 greyedout. Patch provided by Jürgen Spitzmüller.
6899 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6901 * kbmap.C (read): fix error message when reading bind files
6903 2003-07-29 Angus Leeming <leeming@lyx.org>
6905 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6906 certainly does not do what it purports to do. I am doing it, and
6907 us, a favour by killing it.
6909 2003-07-28 José Matos <jamatos@lyx.org>
6911 * buffer.C (readBody, do_writeFile):
6912 * paragraph.C(readParagraph): \end_document replaces \the_end.
6914 2003-07-29 André Pönitz <poenitz@gmx.net>
6917 * BufferView_pimpl.[Ch]:
6921 * textcursor.[Ch]: remove toggleToggle & Co
6923 2003-07-28 José Matos <jamatos@fep.up.pt>
6925 * buffer.C (readParagraph):
6926 * params_func (readParToken, readParagraph):
6927 * paragraph.C (write): \layout -> \begin_layout.
6929 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6931 * lyxlex_pimpl.C (setFile): clean up slightly.
6933 * bufferparams.h: add compressed var
6935 * buffer_funcs.C (readFile): adjust for LyXLex change
6936 (newFile): ditto + simplify
6938 * buffer.C (writeFile): handle writing of compressed files
6940 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6941 Check if the file is compressed and set a bufferparm if so.
6943 * Makefile.am (lyx_LDADD): remove explicit -lz
6945 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6947 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6948 makeDocBookFile): put the real LyX version in the first line of
6952 * version.C.in: remove lyx_docversion
6954 * tabular.C (write_attribute): add a template-based version to
6955 write enums properly
6957 2003-07-28 André Pönitz <poenitz@gmx.net>
6962 * text3.C: use doubles again for x-coordinates. They are needed.
6964 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6966 * messages.C (getLocaleDir): use lyx_localedir()
6968 * lyxlex_pimpl.C (setFile): compress stuff
6970 * buffer.C (writeFile): add some compression stuff
6971 (do_writeFile): new func, dont call expliti close... will this
6974 * Makefile.am (lyx_LDADD): add -lz
6976 2003-07-28 José Matos <jamatos@fep.up.pt>
6978 * buffer.C: increment file format.
6979 * paragraph_funcs (readParagraph, readParToken):
6980 * paragraph.C (readParagraph): add \end_layout.
6982 2003-07-27 Angus Leeming <leeming@lyx.org>
6984 * Makefile.am: remove special casing for configure-time setting of
6985 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6987 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6988 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6990 2003-07-26 André Pönitz <poenitz@gmx.net>
6992 * paragraph_func.[Ch]:
6993 * paragraph.C (realizeFont): inline it whereever it is used
6998 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7001 2003-07-26 André Pönitz <poenitz@gmx.net>
7005 * text2.C: get rid of LyXText::need_break_row
7007 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7009 * toc.[Ch]: put namespace toc inside namespace lyx
7011 * MenuBackend.C (expandToc2): adjust for lyx::toc
7014 * lyxfunc.C (dispatch): adjust for lyx::find
7016 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7017 lyx::find instead. Reorganize a bit.
7018 (LyXReplace): rename to replace
7019 (LyXFind): rename to find
7021 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7024 2003-07-26 André Pönitz <poenitz@gmx.net>
7026 * text.C (setHeightOfRow): restrict scope of temporary variable
7028 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7029 code (never has been used?)
7031 2003-07-27 Asger Alstrup <alstrup@local>
7033 * text.C (fill): Optimise algorithm to exploit that we can reuse
7034 the LyXFont for many characters.
7035 (setHeightOfRow): Same thing.
7036 (rowBreakPoint): Same thing.
7038 2003-07-26 Asger Alstrup <alstrup@local>
7040 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7042 * text.C (singleWidth): Spurious font copying in hot-spot
7043 singleWidth avoided. Reorder tests for arabic for efficiency.
7045 * text.C (fill): handle empty paragraphs better.
7047 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7050 * encoding.h: add includes
7052 * lyxrc.C: remove reading of bind files
7054 * lyx_main.C (init): setup bindings and menus only if we have a
7057 * kbmap.C (read): new method. Do the actual reading of bind
7060 * converter.C (dvipdfm_options):
7063 (output): adapt PAPER_* enums.
7065 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7067 * bufferparams.h: remove paper-related enums from there
7069 * paper.h: New file. A trivial header file to hold paper-related
7070 enums. It should later expand to contain many paper-related
7073 * lyxrc.C: declare extern displayTranslator
7075 2003-07-27 José Matos <jamatos@fep.up.pt>
7077 * tabular.[Ch] (linuxdoc): add support for tables and figures
7080 2003-07-27 José Matos <jamatos@fep.up.pt>
7082 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7083 consistency in both functions.
7084 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7086 2003-07-26 Asger Alstrup <alstrup@local>
7088 * rowpainter.C (paintRows): Change algorithm to work directly on
7089 the insets rather than asking every character in the document
7090 whether its an inset.
7092 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7094 * buffer.C (openFileWrite): factorize some code
7096 2003-07-26 Angus Leeming <leeming@lyx.org>
7099 * lyx_main.[Ch]: replace occurances of system_tempdir with
7102 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7104 * rename Inset to InsetOld
7106 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7108 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7109 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7110 which I think is a bit clearer. EDIT is gone, since it was
7111 premature optimisation, and broken for mathed anyway.
7112 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7113 with cursor positioning in insets as well (math insets still do not
7114 work, but that's a different story anyway.) It mysteriously
7115 crashes sometimes with undo in the first paragraph, but I'm fairly
7116 confident that this is a compiler bug.
7118 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7120 * paragraph.C (Paragraph): adjust for new clone return type
7122 (copyIntoMinibuffer): ditto
7124 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7126 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7127 by not having a special case, and always doing a full rebreak of
7128 the document after undo.
7130 2003-07-23 Angus Leeming <leeming@lyx.org>
7132 * factory.C (createInset): InsetExternal::setParams now takes a
7135 2003-07-23 Angus Leeming <leeming@lyx.org>
7137 * factory.C (createInset): changed interface to the external and
7138 graphics mailers' string2params functions.
7140 2003-07-23 Angus Leeming <leeming@lyx.org>
7142 * factory.C (createInset): pass a
7143 Buffer const * parameter to InsetExternalMailer's string2params.
7145 2003-07-22 John Levon <levon@movementarian.org>
7147 * Thesaurus.h: include the right aiksaurus header
7149 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7151 * MenuBackend.C (expand): check menu shortcuts unconditionally
7153 2003-07-21 Angus Leeming <leeming@lyx.org>
7155 * factory.C (createInset): pass a
7156 buffer_path parameter to InsetGraphicsMailer's string2params.
7158 2003-07-21 Angus Leeming <leeming@lyx.org>
7160 * BufferView_pimpl.C (buffer):
7163 * lyxfunc.C (dispatch):
7164 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7165 rather than the grfx shortcut.
7167 2003-07-21 André Pönitz <poenitz@gmx.net>
7169 * rowpainter.C: remove unused variables
7172 * tabular_funcs.h: move to tabular.C
7173 * Makefile.am: adjust
7175 * tabular.[Ch]: basic optical cleaning
7177 * author.h: pass references, not values
7179 2003-07-18 André Pönitz <poenitz@gmx.net>
7187 * text3.C: two-phase drawing for InsetText and InsetTabular
7188 some float -> int changes.
7190 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7192 * lyx_main.C: fix the fix
7194 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7196 * lyx_main.C: fix a crash in batch mode if no files specified
7199 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7201 * format.[Ch] (papersize): moved to BufferParams
7202 * converter.[Ch] (dvips_options): moved to BufferParams
7203 (dvipdfm_options): moved to anon namespace
7204 * bufferparams.[Ch]: added above functions.
7206 2003-07-17 André Pönitz <poenitz@gmx.net>
7210 * text2.C: don't call inset->update() anymore
7212 * metricsinfo.[Ch]: add convenience constructor
7214 2003-07-16 André Pönitz <poenitz@gmx.net>
7219 * text2.C: replace the LyXCursor::irow_ member with
7220 on-demand computation of the value
7222 2003-07-16 John Levon <levon@movementarian.org>
7224 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7226 2003-07-15 André Pönitz <poenitz@gmx.net>
7229 * text2.C: remove no more needed refresh_row
7231 2003-07-15 André Pönitz <poenitz@gmx.net>
7236 * text3.C: refresh_status tristate -> need_update bool
7238 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7240 * lyxtext.h (init): remove reinit argument (act as if always true)
7241 * text2.C: adjust to that
7243 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7245 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7246 * text3.C: use it to delete selections in some cases
7247 (bugs 441, 673, 702, 954).
7249 2003-07-14 André Pönitz <poenitz@gmx.net>
7251 * rowpainter.[Ch]: reduce interface
7253 2003-07-14 André Pönitz <poenitz@gmx.net>
7255 * BufferView_pimpl.C:
7256 * text2.C: adjust after removing unused BufferView * argument
7258 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7260 * text2.C (init): fix a crash fired on resize
7262 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7264 * buffer.[Ch]: added new closing signal
7265 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7266 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7267 BufferView::Pimpl via the closing the signal
7269 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7271 * buffer.[Ch]: take out all bv-related from buffer
7273 * BufferView_pimpl.[Ch]: connect to new signals
7274 * CutAndPaste.C: removed useless asserts
7275 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7278 * lyxfunc.C: moved view-related funciontality from vc here
7279 * paragraph.C: removed outdated comments
7282 2003-07-10 André Pönitz <poenitz@gmx.net>
7284 * BufferView_pimpl.C:
7288 * text2.C: remove InsetText::InnerCache, clean up consequences
7290 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7292 * ispell.C: fix two typos in error messages
7294 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7296 * Extend Note inset to other forms of annotation like Comment
7297 and Greyedout. Right button click gives dialog.
7299 Files modified or added (+):
7303 * ControlNote.[Ch] +
7305 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7306 frontends/controllers
7310 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7312 * aspell.C: add missing namespace lyx::support
7314 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7316 * BufferView.[Ch] (newFile): Add
7317 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7318 * LaTeX.[Ch] (message): added this signal and use it
7319 * buffer.[Ch] (busy, message): added these signals and use them
7320 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7324 * importer.C: use buffer signals instead of direct bv calling
7325 * lyx_cb.[Ch] (ShowMessage): removed
7328 * paragraph_funcs.C:
7329 * text2.C: use buffer signals
7331 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * introduce namespace lyx::graphics
7335 2003-07-02 André Pönitz <poenitz@gmx.net>
7337 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7339 2003-07-01 André Pönitz <poenitz@gmx.net>
7346 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7347 text*.C to text_func.C
7349 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7351 * introduce namespace lyx::support
7353 2003-06-30 André Pönitz <poenitz@gmx.net>
7358 * text.C: re-enable --with-included-string
7360 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7362 * textcursor.C: add <config.h>
7364 * text.C (getWord): remove const from word_location arg
7366 * lyxvc.C (getLogFile): fix const type order
7368 * lyxtext.h: remove const from word_location arg, add arg name
7370 * lyxlayout.h: currect type on labeltype.
7372 * importer.C: correct \file
7374 * converter.C (intToFormat): use std:: on ret val, ws changes
7376 * bufferlist.h: correct \file
7378 * buffer.C (makeLinuxDocFile): fix const type order
7379 (makeDocBookFile): ditto
7380 (fillWithBibKeys): use std:: on stdlib args.
7382 * CutAndPaste.C: fix authors.
7383 (availableSelections): use std:: on return vector
7385 2003-06-27 André Pönitz <poenitz@gmx.net>
7387 * BufferView_pimpl.C:
7388 * bufferview_funcs.C:
7396 * text3.C: remove LyXCursor::row_ member
7399 * text.C: rename fullRebreak() to partialRebreak() and implement
7400 a fullRebreak() that really bereks fully
7402 * textcursor.h: new struct for cursor-related data
7404 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7406 * lyx_main.C (LyX): get full path of document loaded on the
7409 2003-06-26 André Pönitz <poenitz@gmx.net>
7411 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7412 remove unused/broken operator>,<,>=.
7414 * text.C: remove only use of broken operator<= in an Assert().
7416 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7418 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7419 moved errorlist_.clear to showErrorList
7421 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7423 * converter.C (scanLog, runLaTeX):
7424 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7425 move the bv->showErrorList call to the callers
7426 * lyxfunc.C: i.e. here...
7428 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7429 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7430 namespace, the second to...
7431 * buffer_funcs (BufferFormat, parseErrors): added
7432 * errorlist.C (ErrorList(TeXErrors const &)): removed
7434 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7436 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7438 2003-06-24 "Garst R. Reese" <reese@isn.net>
7442 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7444 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7446 * version.C.in: change docversion to 1.4
7448 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7450 * buffer.C: fix a bug just introduced
7452 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7454 * buffer.[Ch]: added the parseError signal and use it, removed
7456 * BufferView.[Ch] (addError): moved to ...
7457 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7458 to the Buffer::parseError signal to catch (guess what) parse errors
7459 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7461 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7463 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7464 ability to create a buffer and to return an existing one from
7465 the list. Moved these functions to...
7466 * buffer_funcs.[Ch]: added
7467 * BufferView.[Ch] (loadLyXFile): added
7468 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7469 job removed from bufferlist::loadLyXFile.
7470 * buffer.C (setReadOnly): make it work without view
7471 (i.e added an if (users))
7473 2003-06-19 Angus Leeming <leeming@lyx.org>
7476 * LyXAction.C (init):
7477 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7478 with LFUN_DIALOG_SHOW <name> <data>.
7480 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7482 * CutAndPaste.C (availableSelections): small compilation fix for
7483 ancient (gcc 2.9x) compilers
7485 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7487 * text3.C (cursorNext): add tmp var
7489 * text2.C (updateCounters): for function calling out of for clause
7490 (replaceSelectionWithString): ditto
7491 (insertStringAsParagraphs): ditto
7492 (getColumnNearX): add tmp var
7493 (setCursorFromCoordinates): add tmp var
7494 (cursorDownParagraph): add tmp var
7495 (deleteEmptyParagraphMechanism): add tmp var
7497 * text.C (insertChar): add tmp var
7499 * rowpainter.C (paintDepthBar): add tmp var
7501 * CutAndPaste.C (availableSelections): potentially check all
7502 paragraphs in a cut to fill the shown strings.
7504 2003-06-18 André Pönitz <poenitz@gmx.net>
7506 * kbmap.[Ch]: use vector<> instead of list<>
7508 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7510 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7511 pasteSelection with index
7513 * text2.C (pasteSelection): modify, call pasteSelection with index
7515 * paragraph.C (asString): reimplement version with no interval to
7516 call the one with interval.
7518 * lyxtext.h: add index arg to pasteSelection
7520 * MenuBackend.C (MenuItem): handle PasteRecent
7521 (Menu::read::Menutags): add md_pasterecent
7523 (expandPasteRecent): new function
7526 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7528 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7530 (availableSelections): new function
7532 2003-06-17 Angus Leeming <leeming@lyx.org>
7534 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7536 2003-06-17 Angus Leeming <leeming@lyx.org>
7539 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7541 * lyxfunc.C (dispatch): invoke it.
7543 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7545 * iterators.C (operator++, ParPosition): reintroduce some
7546 const_cast for the benefit of older compilers.
7548 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7550 * text3.C (dispatch): do not modify clipboard when doing
7551 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7552 LFUN_DELETE_SKIP on a selection selection
7554 2003-06-16 André Pönitz <poenitz@gmx.net>
7560 * tabular.[Ch]: IU of clone() and getLabelList();
7562 2003-06-13 André Pönitz <poenitz@gmx.net>
7564 * tabular.h: compactification
7566 2003-06-12 André Pönitz <poenitz@gmx.net>
7570 * tabular_funcs.h: some renaming plus whitespace
7572 2003-06-12 André Pönitz <poenitz@gmx.net>
7575 * BufferView_pimpl.C:
7581 * toc.C: Return a Paragraph & for ParIterator::operator*()
7583 2003-06-11 John Levon <levon@movementarian.org>
7587 * ToolbarBackend.C: add "Toolbars" section and
7590 2003-06-10 Angus Leeming <leeming@lyx.org>
7593 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7595 * lyxfunc.C (dispatch): invoke it.
7597 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7599 * main.C: protect <ios> with HAVE_IOS
7600 (main): protect sync_with_stdio with HAVE_IOS
7602 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7604 * text2.C (cutSelection): adjust
7605 (pasteSelection): adjust
7607 * messages.C: handle get of empty string
7609 * main.C (main): use sync_with_stdio(false)
7611 * lyxfunc.C (dispatch): adjust
7613 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7614 (WriteAs): remove unneeded BufferView arg.
7616 * bufferparams.h: use correct types on papersize, papersize2 and
7619 * bufferparams.C (readToken): adjust for type
7620 (writeLaTeX): add missing cases to switch.
7622 * bufferlist.C (quitWriteBuffer): adjust
7625 * buffer.C (asciiParagraph): remove some commented code.
7627 * CutAndPaste.C: remove current_view extern variable.
7628 (cutSelection): add BufferParams arg.
7629 (eraseSelection): add BufferParams arg.
7630 (pasteSelection): add Buffer const & arg
7632 2003-06-07 John Levon <levon@movementarian.org>
7635 * paragraph_funcs.C:
7636 * paragraph_pimpl.C:
7640 * paragraph.C: allow InsetERT to freely space lines,
7641 and some consolidation of code
7643 2003-06-06 José Matos <jamatos@fep.up.pt>
7645 * buffer.C (makeDocBookFile): fix bug #821
7647 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7649 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7651 2003-06-04 Angus Leeming <leeming@lyx.org>
7653 * buffer.C: bump format to 224.
7655 2003-06-05 André Pönitz <poenitz@gmx.net>
7657 * text2.C (redoParagraphs): remove two const_cast<>
7659 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7661 * ParagraphList.h: remove last remnants of NO_STD_LIST
7663 2003-06-03 Angus Leeming <leeming@lyx.org>
7665 * factory.C (createInset): small change to the way InsetExternal's params
7668 2003-06-04 André Pönitz <poenitz@gmx.net>
7670 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7672 * paragraph_pimpl.h:
7673 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7675 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7677 * undo_funcs.C: make some simple cases of undo work again
7679 2003-06-03 John Levon <levon@movementarian.org>
7681 * ispell.C: HPUX doesn't have sys/select.h
7684 2003-06-03 John Levon <levon@movementarian.org>
7686 * CutAndPaste.C: update tabular and include inset
7691 * paragraph.C: remove owningBuffer(), don't pass Buffer
7694 * factory.C: insetGraphicsParams changed
7696 2003-06-02 John Levon <levon@movementarian.org>
7702 * text3.C: remove insetparent
7704 2003-06-02 John Levon <levon@movementarian.org>
7707 * buffer.C: fix inset_iterator.end(), move out of line
7710 2003-06-01 John Levon <levon@movementarian.org>
7712 * text3.C: use a proper cut/paste when doing inset
7713 insert (from Jürgen Spitzmüller)
7715 2003-06-01 John Levon <levon@movementarian.org>
7717 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7719 2003-05-30 André Pönitz <poenitz@gmx.net>
7721 * rowpainter.C: unify second drawing phase
7723 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * trans_mgr.C: remove one case of current_view
7727 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7729 * paragraph_funcs.h: remove paragraph.h include
7731 * paragraph.h: delete NO_STD_LIST stuff
7733 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7735 * buffer.h: remove paragraph.h include
7737 * ParagraphList.C: delete file
7739 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7741 * toc.C (getTocList): adjust
7743 * paragraph_pimpl.C (validate): adjust
7745 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7747 * paragraph.C (Paragraph): adjust
7748 (getPositionOfInset): use const_iterator, adjust
7749 (bibitem): use const_iterator, adjust
7750 (setInsetOwner): adjust
7752 * iterators.C (operator++): adjust
7754 * InsetList.[Ch]: Replace selfmade iterator with standard
7755 vector::iterator also introduce const_iterator. Remove getPos,
7756 getInset and setInset from InsetTable. Adjust accordingly.
7758 * BufferView.C (lockInset): adjust
7759 (ChangeInsets): adjust
7761 * tabular.[Ch]: delete commented same_id functions
7763 2003-05-28 John Levon <levon@movementarian.org>
7765 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7767 2003-05-28 André Pönitz <poenitz@gmx.net>
7769 * metricsinfo.[Ch]: remove 'fullredraw' member
7771 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7773 * lyxtextclass.C (operator): remove caching.
7775 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7779 * text2.C (cursorBottom): adjust
7780 (setCounter): use ParagraphList::find, adjust
7782 * text.C (workWidth): use ParagraphList::find, adjust
7784 * lyxcursor.C (LyXCursor): adjust
7786 * buffer.C (inset_iterator): adjust
7788 * ParagraphList.h: make iterator(value_type) private, make
7789 ParagraphList a friend of iterator.
7791 * ParagraphList.C (find): new function
7793 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7795 2003-05-27 André Pönitz <poenitz@gmx.net>
7797 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7799 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7801 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7803 2003-05-26 John Levon <levon@movementarian.org>
7805 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7807 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7809 * remove same_id from function signatures, adjust.
7811 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7815 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7817 * paragraph.C (Paragraph): get rid of same_ids parameter
7819 * ParagraphList.C (insert): adjust
7822 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7824 * paragraph_funcs.C (breakParagraph): adjust
7825 (breakParagraphConservative): adjust
7827 * buffer.C (readParagraph): adjust
7829 * ParagraphList.C (insert): take a reference instead of a pointer
7832 * paragraph.[Ch] (id): new function
7834 * bufferlist.C (newFile): adjust
7836 * ParagraphList.C (ParagraphList): adjust
7838 (push_back): take a reference instead of a pointer.
7840 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7842 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7845 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7846 set else use old code.
7848 * ParagraphList.C: remove all NO_NEXT code and only compile this
7849 code of NO_STD_LIST is set.
7851 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7853 * BufferView_pimpl.C:
7863 * graphics/GraphicsConverter.C:
7864 * graphics/PreviewLoader.C: header adjustment
7866 2003-05-23 Angus Leeming <leeming@lyx.org>
7868 * LaTeXFeatures.[Ch] (useBabel): new method.
7869 * bufferparams.C (writeLaTeX): use it.
7871 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7873 * ParagraphList.h (set): remove unused function.
7875 2003-05-23 André Pönitz <poenitz@gmx.net>
7878 * BufferView_pimpl.C:
7882 * undo_funcs.C: setUndo reworked
7884 * iterators.[Ch]: add access to topmost ParagraphList
7886 * lyxtext.[Ch] (workWidth): add a const
7888 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7890 * texrow.[Ch] (increasePos): remove function
7891 * exporter.C (export): removed unused var and outdated comment
7893 2003-05-23 Angus Leeming <leeming@lyx.org>
7895 * latexrunparams.h: rename fragile as moving_arg.
7896 * paragraph.C (simpleTeXOnePar): ditto.
7897 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7899 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7901 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7903 (textUndoOrRedo): comment out a currently unused var.
7905 * paragraph.h (NO_NEXT): enable NO_NEXT
7907 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7909 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7911 * exporter.C (Export): adjust for removeAutoInsets removal.
7913 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7915 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7917 * BufferView.[Ch] (removeAutoInsets): delete function
7919 2003-05-22 Angus Leeming <leeming@lyx.org>
7921 * latexrunparams.h: add a free_spacing variable.
7923 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7924 to pass moving_arg, as the data is stored in runparams.fragile.
7926 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7927 to Inset::latexOptional or to simpleTeXOnePar.
7929 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7930 free_spacing arg to Inset::latexOptional.
7932 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7935 2003-05-22 Angus Leeming <leeming@lyx.org>
7937 * latexrunparams.h: add fragile and use_babel variables.
7939 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7940 * buffer.C (makeLaTeXFile): store this returned value in
7941 runparams.use_babel, thus passing it to the inset::latex methods.
7943 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7944 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7946 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7947 longer has a fragile arg, as it is stored in runparams.fragile.
7949 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7950 moving_arg parameter as the data is stored in runparams.fragile.
7952 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7953 a fragile parameter as the data is stored in runparams.fragile.
7955 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7957 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7959 2003-05-22 Angus Leeming <leeming@lyx.org>
7961 * latexrunparams.h: add a 'bool nice' which defaults to false.
7963 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7964 now encapsulated within runparams.
7966 * bufferlist.C (updateIncludedTeXfiles):
7967 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7969 2003-05-22 Angus Leeming <leeming@lyx.org>
7971 * latexrunparams.h: new file containing struct LatexRunParams.
7972 * Makefile.am: add new file.
7974 * LaTeX.[Ch] (c-tor, run):
7975 * buffer.[Ch] (makeLaTeXFile):
7976 * bufferlist.[Ch] (updateIncludedTeXfiles):
7977 * converter.C (convert, scanLog):
7978 * converter.[Ch] (runLaTeX):
7979 * exporter.C (Export):
7980 * paragraph.[Ch] (simpleTeXOnePar):
7981 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7982 * paragraph_funcs.[Ch] (latexParagraphs):
7983 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7984 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7985 pass around a LatexRunParams parameter.
7987 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * paragraph.[Ch]: remove unused constructor
7991 * ParagraphList.C (erase): new function, taking two iterators
7993 2003-05-22 André Pönitz <poenitz@gmx.net>
7995 * undo_funcs.C: remove duplicated code
7997 * iterator.[Ch]: operator=
7999 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8001 * tabular.C (SetMultiColumn): ws changes
8003 * rowpainter.C (paintFirst): get rid of a ->previous
8005 * lyx_cb.C (getPossibleLabel): parlist simplification
8007 * BufferView.C (ChangeInsets): simplify slightly.
8009 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8011 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8012 * lfuns.h: new LFUN_SPACE
8013 * lyxfunc.C: protected space has a new lfun
8014 * paragraph_funcs.C: read new space insets
8016 * factory.C: handle new space insets
8018 2003-05-22 André Pönitz <poenitz@gmx.net>
8021 * BufferView_pimpl.C:
8024 * undo_funcs.C: return a ParIterator from getParFromID.
8026 * iterators.[Ch]: add two const's
8028 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8030 * toc.C (getTocList): adjust
8032 * iterators.[Ch]: rework for parlist
8034 * buffer.C (par_iterator_begin): adjust
8035 (par_iterator_end): adjust
8037 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8039 * BufferView.C (removeAutoInsets): adjust
8040 (ChangeInsets): adjust
8042 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8044 * text.C (top_y): fix bug 1110
8046 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8048 * errorlist.[Ch]: added
8051 * BufferView_pimpl.C:
8052 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8055 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8057 * Makefile.am: ensure that lyx is relinked upon changes to the
8058 various "convenience" libs.
8060 2003-05-20 Angus Leeming <leeming@lyx.org>
8062 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8063 files are compiled in alphabetical order again.
8065 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8067 2003-05-19 Angus Leeming <leeming@lyx.org>
8069 * gettext.[Ch]: remove "char const * _(char const *)".
8071 2003-05-19 André Pönitz <poenitz@gmx.net>
8073 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8082 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8084 2003-05-19 André Pönitz <poenitz@gmx.net>
8088 * lyxtextclass.[Ch]:
8090 * paragraph_funcs.[Ch]:
8092 * text3.C: more insetenv work
8094 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8096 * ParagraphParameters.C (params2string): small bug fixed
8098 2003-05-16 André Pönitz <poenitz@gmx.net>
8101 * bufferview_funcs.C: patch from Kornel Benko to prevent
8102 crash when _(...) is called twice in a statement
8104 2003-05-16 André Pönitz <poenitz@gmx.net>
8111 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8113 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8115 * lyx_main.C (init): remove spurious static_cast
8117 2003-05-14 André Pönitz <poenitz@gmx.net>
8119 * BufferView.C: fix format string
8121 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8123 * BufferView.[Ch] (insertErrors): removed
8124 * BufferView.[Ch] (showErrorList): added
8125 * buffer.C (runChkTeX):
8126 * converter.C (scanLog): call showErrorList instead of inserterrors
8128 2003-05-13 André Pönitz <poenitz@gmx.net>
8130 * BufferView_pimpl.C:
8132 * bufferview_func.C:
8139 * tabular_funcs.h: tostr() from its own header
8141 * ParagraphParameters.C:
8146 * text3.C: STRCONV()
8148 2003-05-12 André Pönitz <poenitz@gmx.net>
8151 * BufferView_pimpl.C:
8155 * ParagraphParameters.C:
8159 * bufferview_funcs.C:
8172 * paragraph_funcs.C:
8176 * text3.C: boost::format -> bformat all over the place
8179 2003-05-09 André Pönitz <poenitz@gmx.net>
8181 * LColor.[Ch]: Pimpl the #include <map> away
8183 2003-05-09 John Levon <levon@movementarian.org>
8185 * bufferlist.C: never remove emergency saves
8187 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8189 * Makefile.am: better lib building
8191 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8193 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8195 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8196 (simpleTeXSpecialChars): adjust
8197 (simpleTeXSpecialChars): adjust
8198 * paragraph.C (simpleTeXOnePar): adjust
8199 * buffer.C (makeLaTeXFile): adjust
8201 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8203 * text2.C (changeDepth): parlist cleanup
8204 (getColumnNearX): ditto
8206 * rowpainter.C (getLabelFont): parlist cleanup
8208 * bufferlist.C (newFile): parlist cleanup
8210 * CutAndPaste.C (eraseSelection): parlist cleanup
8212 * BufferView_pimpl.C (trackChanges): parlist cleanup
8215 * BufferView.C (lockInset): parlist cleanup.
8216 (ChangeInsets): ditto
8218 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8220 * CutAndPaste.h: Update file header.
8222 * CutAndPaste.C: Update file header.
8223 Store the parts cut out of the Document in a limited_stack.
8224 (copySelection): adjust
8225 (pasteSelection): new function, takes the index in the limited stack.
8226 (nrOfParagraphs): adjust
8227 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8228 simplify error inset insertion.
8229 (checkPastePossible): adjust
8231 2003-05-06 John Levon <levon@movementarian.org>
8233 * text2.C: don't cast wrap inset to float
8235 2003-05-05 André Pönitz <poenitz@gmx.net>
8238 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8240 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8241 few naked Paragraph *.
8243 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8245 * bufferparams.C: Output warning if a document with missing
8246 TeX document class is loaded
8247 * exporter.C: Disable TeX exports if the document class is missing
8250 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8251 isTeXClassAvailable()
8253 2003-05-03 John Levon <levon@movementarian.org>
8256 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8257 explicit cursor show/hide
8259 * BufferView_pimpl.h:
8260 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8261 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8263 * lyxfunc.C: hide cursor before dispatching.
8268 * text3.C: remove explicit cursor hides
8270 2003-05-02 André Pönitz <poenitz@gmx.net>
8272 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8275 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8278 * text2.C: tiny whitespace
8280 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * undo_funcs.C: almost only ws changes.
8284 * ParagraphList.C (splice): just return if pl is empty.
8286 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8288 * ParagraphList.C (splice): new function.
8290 * CutAndPaste.C (pasteSelection): use it
8292 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8294 * CutAndPaste.C (pasteSelection): remove the last next and
8295 previous from this file.
8297 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8299 * CutAndPaste.C (pasteSelection): more clean up, user proper
8300 ParagraphList functions for pasteing.
8302 * ParagraphList.C (insert): new function, three arg insert
8304 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8306 * ParagraphList.C (insert): new function, three arg insert
8308 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8311 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8313 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8315 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8317 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8319 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8321 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8322 (copySelection): clean up a bit.
8323 (pasteSelection): use make_pair
8325 * ParagraphList.C (ParagraphList): implement copy constructor
8326 (operator=): implement, base on copy constructor.
8329 * paragraph.C (erase): return a bool
8331 * paragraph_pimpl.C (erasePos): remove function, move contents...
8332 (erase): ... here. Return a bool.
8333 (erase): call erase instead of erasePos.
8335 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8337 * ParagraphList.h: define PitPosPair
8338 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8339 ParagraphList, fix a bug on pasting multiple pars
8340 * text2.C: change interface to C&P
8342 2003-04-30 André Pönitz <poenitz@gmx.net>
8344 * undo_func.C: revert part of yesterday's patch 2
8346 2003-04-30 John Levon <levon@movementarian.org>
8348 * LColor.C: s/tabular/table/
8350 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * text3.C (dispatch): do not convert iterator -> pointer
8353 * undo_funcs.C (setCursorParUndo): ditto
8354 * text_funcs.C (transposeChars): ditto
8356 * text2.C (setLayout): ws changes only
8358 * text.C (breakParagraph): do not convert iterator -> pointer
8360 (acceptChange): ditto
8361 (rejectChange): ditto
8366 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8369 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8371 * text3.C (gotoInset): YABG (yet another bad getChar)
8373 2003-04-29 André Pönitz <poenitz@gmx.net>
8375 * paragraph.h: make operator= private unimplemented as long as
8378 * ParagraphList.C: whitespace
8381 * paragraph_pimpl.[Ch]:
8382 * paragraph_funcs.C:
8384 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8387 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8389 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8391 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8392 * paragraph.[Ch] (erase):
8393 * paragraph_pimpl.[Ch] (erase): change return type and value
8394 * text2.C (cutSelection): some rework
8396 2003-04-28 John Levon <levon@movementarian.org>
8398 * bufferlist.C: changes for unsaved changes dialog
8400 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8402 * bufferlist.C (newFile): set language (messages_) for new
8405 * buffer.C (readFile): ws changes only.
8407 2003-04-28 André Pönitz <poenitz@gmx.net>
8412 * BufferView_pimpl.C:
8413 * BufferView.C: getParFromID related ParagraphList::iterator changes
8415 2003-04-28 André Pönitz <poenitz@gmx.net>
8417 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8420 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8422 * messages.C: remove one more localedir class variable.
8424 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * messages.C (getLocaleDir): singleton generation function
8428 (Messages): add a default constructor.
8430 * main.C (main): do not setup localedir here, do not call
8433 * gettext.C (_): use it.
8434 (gettext_init): delete funciton
8436 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8438 * gettext.C (getLyXMessages): new singleton generating function.
8440 * buffer.C (updateDocLang): adjust
8442 * Makefile.am (messages.o): add target
8443 (main.o): remove target
8445 2003-04-27 John Levon <levon@movementarian.org>
8450 * lyxvc.C: specify cancel button in Alert::prompt
8452 2003-04-26 John Levon <levon@movementarian.org>
8457 * LyXAction.C: add LFUN_INSET_SETTINGS
8459 * lyxfunc.C: don't enable tabular-feature when there's
8460 just any locking inset
8462 2003-04-26 John Levon <levon@movementarian.org>
8464 * bufferlist.C: re-add Cancel to buffer close question
8466 * lyxfunc.C: fix import UI a bit
8468 2003-04-25 John Levon <levon@movementarian.org>
8470 * gettext.C: remove the broken asserts for now
8472 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8474 * messages.C: make case where setlocale cannot comply work better.
8476 * buffer.C (updateDocLang): new function
8477 (changeLanguage): use it
8480 * text2.C (setCounter): use B_ a bit.
8482 * lyxlayout.C (Read): be sure to trim the label strings.
8484 * messages.C (Messages): fix typo in comment
8486 * buffer.C (readFile): set message_ after file is loaded.
8487 (makeDocBookFile): remove double return
8488 (changeLanguage): reset message_ upon language change.
8489 (B_): new func, use this to get translated buffer strings.
8491 * main.C: add myself and Jean Marc as authors.
8493 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8495 * messages.[hC]: pimplify Messages, and three different pimpls to be
8496 used in different circumstances.
8498 * gettext.[Ch]: change for use with new message code.
8500 2003-04-24 André Pönitz <poenitz@gmx.net>
8502 * factory.C: support for eqref
8504 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8506 * messages.[Ch]: add missing char
8508 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8510 * messages.[Ch]: New files
8512 2003-04-18 John Levon <levon@movementarian.org>
8516 * BufferView_pimpl.C:
8520 * text2.C: remove layout-copy/paste (bug 778)
8522 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8524 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8526 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8528 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8529 if they succeed. Act accordingly.
8531 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8533 * text2.C (setCharFont): adjust
8534 (setCounter): adjust
8535 (insertStringAsLines): adjust
8537 * text.C (leftMargin): adjust
8538 (setHeightOfRow): adjust
8540 * rowpainter.C (paintFirst): adjust
8543 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8545 (isFirstInSequence): ditto
8546 (getEndLabel): ditto
8549 * paragraph.C (getParLanguage): comment out some hard stuff.
8551 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8553 (simpleDocBookOnePar): ditto
8554 (makeDocBookFile): use ParagraphList::iterator
8556 * CutAndPaste.C (pasteSelection): adjust
8558 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8560 * text2.C (getFont): adjust
8561 (getLayoutFont): adjust
8562 (getLabelFont): adjust
8564 * paragraph_funcs.C (TeXOnePar): adjust
8566 * buffer.C (simpleLinuxDocOnePar): adjust
8567 (simpleDocBookOnePar): adjust
8569 * CutAndPaste.C (pasteSelection): adjust
8571 * BufferView.C (getEncoding): adjust
8573 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8575 2003-04-16 John Levon <levon@movementarian.org>
8577 * lyxfind.C: use parlist stuff for search/changes
8579 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8581 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8583 * text2.C (deleteEmptyParagraphMechanism): adjust
8585 * text2.[Ch] (ownerParagraph): delete func (both of them
8587 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8589 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8591 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8593 * ParagraphList.C: prepare for NO_NEXT
8595 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8597 * text2.C (getFont): adjust
8598 (getLayoutFont): adjust
8599 (getLabelFont): adjust
8601 * paragraph.C (getFont): adjust
8602 (getLabelFont): adjust
8603 (getLayoutFont): adjust
8605 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8607 2003-04-15 John Levon <levon@movementarian.org>
8611 * lyx_main.C: handle Include in .ui files
8613 2003-04-15 John Levon <levon@movementarian.org>
8615 * MenuBackend.C: make the doc files length shorter
8618 * ToolbarBackend.C: handle toolbar placement flags,
8621 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8623 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8626 * paragraph_funcs.C (TeXOnePar): adjust
8628 * paragraph.C (getLabelFont): add outerfont arg, adjust
8629 (getLayoutFont): ditto
8630 (simpleTeXOnePar): adjust
8632 * paragraph_pimpl.C (realizeFont): delete func
8634 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8636 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8637 row argument, constify cur argument.
8639 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8641 * text2.C (getFont): adjust
8642 (getLayoutFont): adjust
8643 (getLabelFont): adjust
8645 * paragraph_funcs.C (TeXOnePar): adjust
8646 (outerFont): new func...
8647 (realizeFont): ...moved out from here, changed this to facilitate
8650 * paragraph.C (getFont): take outerfont as arg, adjust
8651 (simpleTeXOnePar): add outerfont arg, adjust
8653 * buffer.C (simpleLinuxDocOnePar): adjust
8654 (simpleDocBookOnePar): adjust
8656 * CutAndPaste.C (pasteSelection): adjust
8658 * BufferView.C (getEncoding): adjust
8660 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8662 * text2.C (setCharFont): adjust
8663 (setCounter): adjust
8665 * text.C (leftMargin): adjust
8666 (setHeightOfRow): adjust
8668 * rowpainter.C (paintFirst): adjust
8671 * paragraph_pimpl.C (realizeFont): adjust
8673 * paragraph.C (isFirstInSequence): move from here...
8674 * paragraph_funcs.C (isFirstInSequence): ...to here
8676 * paragraph.C (outerHook): move from here...
8677 * paragraph_funcs.C (outerHook): ...to here
8679 * paragraph.C (depthHook): move from here...
8680 * paragraph_funcs.C (depthHook): ...to here
8682 * paragraph.C (getEndLabel): move from here...
8683 * paragraph_funcs.C (getEndLabel): ...to here
8685 * text2.C (realizeFont): move from here...
8686 * paragraph_funcs.C (realizeFont): ...to here
8688 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8690 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8692 2003-04-14 Angus Leeming <leeming@lyx.org>
8694 * LColor.[Ch]: scrap LColor mathcursor.
8696 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8698 * lyxlex.[Ch] (text): delete function
8699 * trans.C (Load): adjust
8700 * paragraph_funcs.C (readParToken): adjust
8702 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8704 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8705 vector<char> instead of a char[].
8707 * lyxlex_pimpl.C (getString): adjust
8709 (lex): use getString
8713 * lyxlex.C (text): use pimpl_->getString()
8717 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8719 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8720 (makeFontEntriesLayoutSpecific): temp var for par.size()
8721 (setLayout): temp var for ownerParagraphs().end()
8722 (fullRebreak): temp var for rows().end()
8723 (selectionAsString): temp var for boost::next(startpit), realize
8724 that the while really is a regular for loop.
8725 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8726 setCursor in one place.
8727 (setParagraph): temp vr for ownerParagraphs().end()
8728 (updateCounters): make the while loop a for loop
8729 (cutSelection): temp var for ownerParagraphs().end()
8730 (updateInset): make the do {} while() a regular for loop
8731 (getCursorX): use temp vars
8732 (setCurrentFont): use temp vars
8733 (getColumnNearX): use temp vars
8735 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8737 * text.C (transformChar): use temp var for getChar
8738 (computeBidiTables): use temp var for row->par()
8739 (fill): move temp vars for row->par() and pit->layout() earlier in
8741 (labelFill): use temp var for row->par()
8742 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8743 asc and desc, realize that pit never changes and that firstpit is
8744 just a duplicate and not needed. Exchange rit->par() with pit in a
8746 (breakAgain): use a temp var for boost::next(rit)
8747 (breakAgainOneRow): ditto
8748 (breakParagraph): use a temp var for rows().begin()
8749 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8750 (cursorRightOneWord): use temp var for cursor.par() and
8751 cursor.pos(), remove usage of tmpcursor.
8752 (cursorLeftOneWord): use temp var for cursor.par() and
8753 cursor.pos() only set cur at end of function.
8755 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8757 * text.C, text2.C: exchange all usage of Paragraph::next with
8758 boost::next(ParagraphList::iterator)
8760 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8762 * text2.C (cursorTop): simplify implementation
8763 (cursorBottom): ditto
8764 (setParagraph): use ParagraphList::iterator
8765 (setCurrentFont): adjust
8766 (getColumnNearX): adjust
8767 (cursorRight): adjust
8768 (cursorLeft): remove usage of Paragraph::previous
8769 (cursorUpParagraph): ditto
8770 (deleteEmptyParagraphMechanism): slight cleanup
8772 * text.C (isBoundary): take a Paragraph const & instead of a
8774 (addressBreakPoint): ditto
8775 (leftMargin): remove usage of Paragraph::previous.
8776 (setHeightOfRow): ditto
8777 (cursorLeftOneWord): ditto
8778 (selectNextWordToSpellcheck): ditto
8781 (breakParagraph): remove one usage of Paragraph::next
8782 (redoParagraph): ditto
8783 (acceptChange): ditto
8784 (insertChar): adjust
8785 (rowBreakPoint): adjust
8787 * bufferview_funcs.C (toggleAndShow): adjust
8789 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8791 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8792 methods to access it.
8794 * text.C: Added updateRowPositions to compute all row positions.
8795 Make top_y and getRowNearY() to use the cached y position
8797 2003-04-11 John Levon <levon@movementarian.org>
8799 * text.C (rowBreakPoint): reintroduce the labelEnd
8800 checks, code copied from the row fill stuff. Deep voodoo.
8802 * text.C (fill): add a comment and debugging for the
8805 2003-04-11 John Levon <levon@movementarian.org>
8807 * text.C: make sure fullrow insets get wrapped to the next line,
8808 even when they're in a manual label
8810 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8812 * text2.C (insertParagraph): make it take ParagraphList::iterator
8814 (setLayout): make it return ParagraphList::iterator
8815 (redoParagraphs): ditto
8817 (checkParagraph): ditto
8819 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8821 * text2.C: adjust several funcs.
8822 (realizeFont): take a ParagraphList::iterator as arg.
8823 (getLayoutFont): ditto
8824 (getLabelFont): ditto
8825 (setCharFont): ditto
8827 * text.C: adjust several funcs.
8829 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8831 * text.C (selectNextWordToSpellcheck): don't accidentally
8834 2003-04-10 John Levon <levon@movementarian.org>
8836 * ToolbarBackend.C (getIcon): special handling for
8839 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8841 * text2.C (cursorRight): a getChar assert fixed
8843 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8845 * text2.C (getFont): change to take a ParagraphList::iterator
8846 instead of Paragraph*
8847 Adjust several functions.
8849 * text.C (transformChar): change to take a ParagraphList::iterator
8850 instead of Paragraph*
8851 (singleWidth): ditto
8852 Adjust several functions.
8854 * rowpainter.C: adjust several functions
8855 * rowpainter.h:store a ParagraphList::iterator and not a
8859 2003-04-09 John Levon <levon@movementarian.org>
8864 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8865 and the "help" bits as well
8867 2003-04-09 John Levon <levon@movementarian.org>
8870 * ToolbarBackend.C: allow multiple toolbars
8872 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8874 * undo_funcs.C (setCursorParUndo): adjust
8876 * text_funcs.C (transposeChars): adjust
8878 * text3.C (gotoNextInset): adjust
8881 * text2.C (setLayout): adjust
8882 (changeDepth): adjust
8884 (redoParagraphs): adjust
8885 (selectionAsString): adjust
8886 (setParagraph): adjust
8887 (insertInset): adjust
8888 (cutSelection): adjust
8889 (copySelection): adjust
8890 (pasteSelection): adjust
8891 (insertStringAsLines): adjust
8892 (updateInset): adjust
8893 (setCursor): change to take a ParagraphList::iterator parameter
8894 (setCursorIntern): change to take a ParagraphList::iterator parameter
8895 (setCurrentFont): adjust
8896 (cursorLeft): adjust
8897 (cursorRight): adjust
8898 (deleteEmptyParagraphMechanism): adjust
8900 * text.C (breakParagraph): adjust
8901 (insertChar): adjust
8902 (acceptChange): adjust
8903 (rejectChange): adjust
8904 (selectNextWordToSpellcheck): adjust
8905 (changeCase): adjust
8909 * lyxfind.C (SearchForward): adjust
8910 (SearchBackward): adjust
8911 (nextChange): adjust
8913 * lyxcursor.C (par): adjust
8915 * lyxcursor.h: store a ParagraphList::iterator instead of a
8918 * lyx_cb.C (getPossibleLabel): adjust
8920 * bufferview_funcs.C (toggleAndShow): adjust
8922 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8925 * BufferView.C (removeAutoInsets): adjust
8926 (lockedInsetStoreUndo): adjust
8928 2003-04-09 John Levon <levon@movementarian.org>
8930 * ToolbarBackend.C: try icon without argument
8931 if with argument fails
8933 2003-04-08 John Levon <levon@movementarian.org>
8936 * ToolbarBackend.C: add getIcon(), handle tooltip,
8937 and change from "Icon" to "Item".
8939 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8941 * BufferView.C (lockInset): another bad getchar crunched
8943 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8945 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8948 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8950 * lyxfind.C (searchForward, searchBackwards): bug 782
8952 2003-04-07 John Levon <levon@movementarian.org>
8954 * paragraph.C: remove dead comment
8956 * text.C: remove troublesome depth-fiddling code
8957 in leftMargin() and rightMargin() (bug 1017)
8959 * text.C: fix breaking of rows in nested lists
8962 * text2.C (updateCounters): fix up depth values
8965 2003-04-07 John Levon <levon@movementarian.org>
8967 * BufferView_pimpl.C: clear message when doc finishes resizing,
8968 and after a mouse event
8970 * lyxfunc.C: clear message after exiting inset
8972 2003-04-07 John Levon <levon@movementarian.org>
8974 * bufferview_funcs.C: show math status not outside
8975 status in the statusbar
8977 2003-04-07 John Levon <levon@movementarian.org>
8979 * lyxfunc.C: note status changed after a depth change
8981 2003-04-04 Angus Leeming <leeming@lyx.org>
8983 * LaTeX.h: move AuxInfo operator==, != out of line.
8984 Remove LaTeX virtual destructor; nothing derives from it.
8985 Move operator()() out of public area and rename it startscript().
8986 Change protected for private.
8988 2003-04-04 Angus Leeming <leeming@lyx.org>
8991 * text2.C: remove unneeded #includes.
8993 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8995 * text2.C (dEPM): fix the heigth of the next row
8997 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8999 * text.C: squashed an invalid getChar requester + some ws changes
9001 2003-04-03 John Levon <levon@movementarian.org>
9003 * bufferview_funcs.h:
9004 * bufferview_funcs.C:
9007 * text2.C: make getStatus work for the env depth lfuns
9009 2003-04-03 John Levon <levon@movementarian.org>
9011 * bufferview_funcs.h:
9012 * bufferview_funcs.C:
9015 * text2.C: parlistize decDepth(), by merging it with incDepth()
9017 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9019 * lyxrow.h: store a ParagraphList::iterator instead of a
9020 Paragraph* and adjust other class functions to suit.
9022 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9025 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9027 * text2.C (setCursor): do not anchor to cursor row for the time being
9029 2003-04-02 John Levon <levon@movementarian.org>
9036 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9038 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9040 * paragraph.h: make ParagraphList and ParagraphList::iterator
9041 friends of Paragraph.
9043 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9045 * ParagraphList.C: Use the private next_ and previous_ from
9048 2003-04-01 John Levon <levon@movementarian.org>
9052 * Makefile.am: rename, remove defaults gunk
9055 * MenuBackend.C: remove defaults gunk
9058 * Languages.C: remove defaults gunk
9061 * lyx_main.C: error out if files couldn't be found.
9063 2003-04-02 John Levon <levon@movementarian.org>
9065 * text2.C: make incDepth() use parlist
9067 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9069 * undo_funcs.C (firstUndoParagraph): adjust
9071 * text3.C (gotoInset): adjust
9072 (dispatch): adjust, and rewrite loop.
9074 * text2.C (init): adjust, and rewrite loop.
9075 (redoParagraphs): adjust
9076 (updateInset): adjust, and rewrite loop.
9077 (deleteEmptyParagraphMechanism): adjust
9079 * tabular.C (LyXTabular): adjust
9080 (SetMultiColumn): adjust
9083 * lyxtext.[Ch] (ownerParagraph): delete function
9084 (ownerParagraphs): new function returns a ParagraphList.
9086 * BufferView.C (removeAutoInsets): adjust
9087 (insertErrors): adjust
9088 (setCursorFromRow): adjust
9090 2003-04-01 Angus Leeming <leeming@lyx.org>
9092 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9095 2003-04-02 John Levon <levon@movementarian.org>
9101 * text_funcs.C: make transposeChars a free function
9103 * lyxrow_funcs.C: remove wrong comment
9105 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9108 * rowpainter.C: adjust
9113 * lyxrow_funcs. [Ch]: new files
9115 * lyxrow.[Ch]: remove next and previous pointers
9116 (next,previous): remove accessor functions
9117 (isParEnd): move to lyxrow_funcs
9118 (lastPos): move to lyxrow_funcs
9119 (nextRowIsAllInset): move to lyxrow_funcs
9120 (lastPrintablePos): move to lyxrow_funcs
9121 (numberOfSeparators): move to lyxrow_funcs
9122 (numberOfHfills): move to lyxrow_funcs
9123 (numberOfLabelHfills): move to lyxrow_funcs
9124 (hfillExpansion): move to lyxrow_funcs
9128 * bufferview_funcs.C (toggleAndShow): adjust
9130 * RowList.h: Remove class RowList from file leave just a
9133 * RowList.C: delete file
9135 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9138 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9140 * text3.C (cursorPrevious): adjust
9141 (cursorNext): adjust
9144 * text2.C (redoHeightOfParagraph): adjust
9145 (redoDrawingOfParagraph): adjust
9148 * text.C (breakParagraph): adjust
9149 (insertChar): adjust
9152 * rowpainter.C (RowPainter): adjust
9153 (leftMargin): simplify and adjust
9154 (most rowpainter functions): adjust.
9156 * rowpainter.h: store the row as RowList::iterator not as Row*
9158 * lyxcursor.C (row): taka RowList::iterator as arg
9161 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9164 2003-04-01 Angus Leeming <leeming@lyx.org>
9166 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9167 stuff like bool Bool.
9169 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9171 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9174 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9176 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9179 * lyxtext.h (rows): drop one version and leve a const variant that
9180 returns a RowList::iterator.
9182 2003-03-31 Angus Leeming <leeming@lyx.org>
9184 * text.C (fill): ensure that the signature is the same as that in the
9187 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9189 * text2.C (redoParagraphs): adjust
9190 (updateCounters): adjust
9191 (checkParagraph): adjust
9192 (getColumnNearX): adjust and reformat a bit.
9194 * text.C (top_y): adjust
9196 (leftMargin): adjust
9197 (prepareToPrint): adjust
9199 (getRowNearY): adjust
9201 * lyxtext.h: make rowlist_ mutable.
9203 * RowList.h: add const_iterator
9204 * RowList.C: adjust for RowList::const_iterator.
9206 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9209 2003-03-31 John Levon <levon@movementarian.org>
9212 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9214 * lyx_main.C: set default fonts from using lyx_gui funcs
9216 * exporter.C: pdf_mode moved from lyxrc
9219 * lyxfunc.C: changes from above
9221 2003-03-31 John Levon <levon@movementarian.org>
9223 * lyx_main.C: fix to the last fix
9225 2003-03-31 John Levon <levon@movementarian.org>
9227 * bufferlist.C: "Load original" -> "Load Original"
9233 * format.C: more Alert cleanups
9235 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9237 * text2.C (removeParagraph): make it take a RowList::iterator as
9239 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9240 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9242 * text.C (anchor_row): make it take a RowList::iterator as arg,
9244 (computeBidiTables): make it take a const reference to Row instead
9245 of Row pointer, adjust.
9246 (leftMargin): make it take a RowList::iterator as arg, adjust.
9247 (rowBreakPoint): adjust
9248 (breakAgainOneRow): make it take a RowList::iterator as arg,
9250 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9252 * bufferview_funcs.C (toggleAndShow): adjust
9254 2003-03-30 John Levon <levon@movementarian.org>
9258 * boost-inst.C: moved to support
9260 * several files: changes as a result
9262 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9264 * text2.C (LyXText): adjust.
9266 (removeRow): make it take a RowList::iterator as arg, adjust.
9267 (fullRebreak): adjust
9268 (deleteEmptyParagraphMechanism): adjust
9269 (clearPaint): adjust
9272 * text.C (top_y): adjust
9273 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9274 (breakAgain): make it take a RowList::iterator as arg, adjust.
9275 (breakParagraph): adjust
9276 (insertChar): adjust
9279 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9280 need_break_row, and refresh_row.
9282 * text3.C (dispatch): adjust
9284 * text2.C (checkParagraph): adjust
9286 (setCursorFromCoordinates): adjust
9288 * text.C (top_y): adjust
9290 (getRow): make it return a RowList::iterator, adjust
9291 (getRowNearY): make it return a RowList::iterator, adjust
9293 * text2.C (init): adjust
9294 (insertRow): remove function
9295 (insertParagraph): adjust
9296 (redoParagraphs): adjust
9297 (fullRebreak): adjust
9298 (updateCounters): adjust
9300 * text.C (top_y): rewrite to use RowList iterators.
9302 (setHeightOfRow): rewrite to sue RowList iterators.
9303 (appendParagraph): adjust
9304 (breakAgain): adjust
9305 (breakAgainOneRow): adjust
9306 (breakParagraph): adjust
9308 (getRowNearY): adjust, and remove commented code.
9310 * lyxtext.h (firstRow): delete function
9311 (lastRow): delete function
9312 (rows): new function (const and non-const versions.)
9313 (insertRow): delete function
9315 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9317 2003-03-29 John Levon <levon@movementarian.org>
9319 * BufferView_pimpl.C: always update scrollbar top
9320 because pasting text when we're anchored could mean we
9321 miss an update altogether
9323 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9325 * text2.C (init): use rowlist_.end() and not 0.
9326 (insertRow): change to take a RowList::iterator as arg, adjust
9328 (insertParagraph): change to take a RowList::iterator as arg,
9330 (redoParagraphs): remove some debug msgs.
9332 * text.C (appendParagraph): change to take a RowList::iterator
9333 arg, adjust for this.
9334 (breakAgain): add an assert
9335 (breakAgainOneRow): ditto
9337 2003-03-29 John Levon <levon@movementarian.org>
9339 * text2.C: do not clear selection after inc/decDepth
9342 2003-03-29 John Levon <levon@movementarian.org>
9345 * buffer.C: fix broken strerrors according to Lars
9347 2003-03-29 John Levon <levon@movementarian.org>
9349 * converters.C: more Alert cleanups
9351 2003-03-29 John Levon <levon@movementarian.org>
9353 * bufferview_funcs.C: remove pointless Alert
9355 * buffer.C: fix confusing error message when
9356 a template is chmoded 000
9358 2003-03-29 John Levon <levon@movementarian.org>
9362 * BufferView_pimpl.C: Alert fixes
9366 * tabular-old.C: remove unused table compat reading
9368 2003-03-29 John Levon <levon@movementarian.org>
9373 * lyx_cb.C: more Alert cleanups
9375 * lyxfunc.C: don't allow chktex if not latex document
9377 2003-03-29 John Levon <levon@movementarian.org>
9381 * buffer.C: warnings pushed down from support/,
9384 2003-03-29 John Levon <levon@movementarian.org>
9386 * lyxfunc.C: safety check for C-r (revert)
9388 2003-03-29 John Levon <levon@movementarian.org>
9391 * bufferlist.C: several UI fixes using Alert::prompt.
9392 Fix the pointless looping quit code. Fix stupid revert
9397 * lyx_cb.C: use Alert::prompt
9399 * lyx_main.C: remove a silly question
9401 * lyxfunc.C: remove a couple of silly questions,
9404 2003-03-28 John Levon <levon@movementarian.org>
9406 * text2.C: fix bug 974 (End on empty par)
9408 2003-03-28 John Levon <levon@movementarian.org>
9410 * BufferView_pimpl.C:
9412 * lfuns.h: remove do-nothing math greek lfuns
9414 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9416 * lyxgluelength.h (isValidGlueLength): add default arg on
9417 parameter 2. Remove default arg from friend in class.
9419 * lyxlength.h (isValidLength): add default arg on parameter 2.
9420 Remove default arg from friend in class.
9422 * text2.C (LyXText): adjust, initialize refresh_row.
9426 (insertParagraph): adjst
9427 (redoParagraphs): adjust
9428 (fullRebreak): adjust
9429 (updateCounters): adjust
9430 (deleteEmptyParagraphMechanism): first attempt at fixing a
9433 * text.C (top_y): adjust
9434 (setHeightOfRow): adjust
9436 (getRowNearY): adjust
9438 * lyxtext.h: include RowList.h
9439 (~LyXText): not needed anymore, deleted.
9440 (firstRow): modify for RowList
9441 (lastRow): new function
9442 Delete firstrow and lastrow class variables, add a Rowlist
9443 rowlist_ class variable.
9445 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9448 * RowList.C (insert): fix case where it == begin().
9450 2003-03-26 Angus Leeming <leeming@lyx.org>
9452 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9453 the thesaurus dialog.
9455 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9457 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9459 * RowList.[Ch]: new files
9461 * ParagraphList.C (erase): handle the case where it == begin
9464 2003-03-25 John Levon <levon@movementarian.org>
9468 * aspell.C: add new aspell support
9471 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9474 2003-03-25 Angus Leeming <leeming@lyx.org>
9477 * LyXAction.C (init): new LFUN_INSET_INSERT.
9479 * BufferView_pimpl.C (dispatch): split out part of the
9480 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9482 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9485 2003-03-25 Angus Leeming <leeming@lyx.org>
9487 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9489 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9492 * text3.C: remove useless row->height(0)
9494 2003-03-25 John Levon <levon@movementarian.org>
9498 * text3.C: rename the refreshing stuff to better names
9500 2003-03-24 John Levon <levon@movementarian.org>
9502 * BufferView_pimpl.h:
9503 * BufferView_pimpl.C: update layout choice on a mouse
9506 2003-03-23 John Levon <levon@movementarian.org>
9508 * Makefile.am: fix commandtags.h reference
9510 2003-03-22 John Levon <levon@movementarian.org>
9512 * BufferView_pimpl.C:
9517 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9519 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9522 * text.C: take the rtl methods out of line
9524 2003-03-21 André Pönitz <poenitz@gmx.net>
9526 * metricsinfo.[Ch]: new files containing structures to be passed around
9527 during the two-phase-drawing...
9529 2003-03-21 André Pönitz <poenitz@gmx.net>
9531 * lyxtextclass.C: read 'environment' tag.
9533 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9535 * text2.C (removeRow): fix bug 964
9537 2003-03-20 John Levon <levon@movementarian.org>
9541 * text2.C: paint cleanups. Inset::update() dropped font
9544 2003-03-19 John Levon <levon@movementarian.org>
9546 * lyxfunc.C: only fitcursor/markDirty if available()
9548 2003-03-19 John Levon <levon@movementarian.org>
9550 * commandtags.h: rename to ...
9552 * lfuns.h: ... this, and renumber / cleanup
9554 2003-03-19 John Levon <levon@movementarian.org>
9556 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9557 fit the cursor after an lfun
9561 * BufferView_pimpl.h:
9562 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9564 * LyXAction.C: layout-character should have ReadOnly
9566 * ParagraphParameters.C:
9568 * bufferview_funcs.C:
9575 * undo_funcs.C: changes from above
9577 2003-03-18 John Levon <levon@movementarian.org>
9579 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9580 remove it from update()
9582 * lyxfunc.C: update layout choice after an lfun
9584 * text3.C: remove extra updateLayoutChoice()s
9586 2003-03-18 John Levon <levon@movementarian.org>
9588 * text.C: top_y change means full repaint, fix
9589 a drawing bug with cursor movement
9591 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9595 * text2.C: anchor row on setCursor
9597 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9599 * lyxtext.h: remove almost all mutable keywords
9602 * text3.C: remove const keywords accordingly
9604 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9606 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9608 (TeXEnvironment): ditto
9611 2003-03-17 John Levon <levon@movementarian.org>
9613 * text.C (rowBreakPoint): remove attempt to fix displayed
9614 math insets inside a manual label
9616 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9618 * lyxtext.h: remove BufferView* as first arg from almost all class
9620 * other files: adjust.
9622 2003-03-17 John Levon <levon@movementarian.org>
9626 * text2.C: more paint cleanups
9628 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9631 * rowpainter.C: remove "smart" background painting code
9633 2003-03-16 John Levon <levon@movementarian.org>
9638 * text3.C: add helper functions for setting refresh_row/y
9640 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9642 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9643 newline inset which *can* get inserted in the pass_thru layouts.
9644 This is primarily for literate documents.
9646 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9648 * buffer.C: increment LYX_FORMAT to 223
9650 2003-03-14 André Pönitz <poenitz@gmx.net>
9652 * textclass.h: prepare for environment handling, ws changes
9653 * lyxlayout.C: read latexheader and latexfooter tags
9655 2003-03-14 John Levon <levon@movementarian.org>
9657 * text2.C: rewrite ::status() a bit
9659 2003-03-13 John Levon <levon@movementarian.org>
9661 * lyxtext.h: add some docs
9663 2003-03-13 John Levon <levon@movementarian.org>
9668 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9670 2003-03-13 John Levon <levon@movementarian.org>
9672 * text3.C: fix appendix redrawing
9674 2003-03-13 John Levon <levon@movementarian.org>
9676 * text.C (setHeightOfRow):
9678 * rowpainter.C: make appendix mark have the text
9679 "Appendix" so the user knows what it is
9682 * LColor.C: s/appendixline/appendix/ from above
9684 2003-03-13 John Levon <levon@movementarian.org>
9686 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9688 * text.C: fix a getChar(pos) bug properly
9690 2003-03-13 Angus Leeming <leeming@lyx.org>
9693 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9694 Probably only temporary. Let's see how things pan out.
9696 * BufferView.C (unlockInset):
9697 * BufferView_pimpl.C (fitCursor):
9698 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9700 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9701 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9703 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9704 new functions that convert ParagraphParameters to and from a string.
9706 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9707 BufferView::Pimpl's dispatch.
9708 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9710 2003-03-13 André Pönitz <poenitz@gmx.net>
9714 * factory.C: make it aware of InsetEnv
9716 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9718 * text2.C (setCursor): never ask for one past last
9719 (setCursor): add some debugging messages.
9721 * text.C (singleWidth): never ask for one past last
9722 (singleWidth): ditto
9724 (rightMargin): ditto
9725 (rowBreakPoint): ditto
9726 (setHeightOfRow): ditto
9727 (prepareToPrint): ditto
9729 * rowpainter.C (paintBackground): never ask for one past last
9730 (paintText): never ask for one past last
9732 * paragraph_pimpl.C (getChar): make the assert stricter, never
9733 allow the one past last pos to be taken
9735 * paragraph.C (getChar): ws changes only
9737 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9738 (numberOfSeparators): ditto
9739 (numberOfHfills): ditto
9741 2003-03-12 John Levon <levon@movementarian.org>
9747 * paragraph_funcs.C: fix per-buffer authorlists
9749 2003-03-12 John Levon <levon@movementarian.org>
9751 * text.C: fix newline in right address
9753 2003-03-12 Angus Leeming <leeming@lyx.org>
9755 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9756 duplicate those in LyXFunc::dispatch.
9760 * ToolbarDefaults.C:
9761 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9762 Add LFUN_FONTFREE_UPDATE.
9764 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9765 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9767 * bufferview_func.[Ch]: several new functions to facilliate
9768 transfer of data to and from the character dialog.
9770 2003-03-12 John Levon <levon@movementarian.org>
9775 * paragraph_funcs.C:
9776 * paragraph_pimpl.C:
9780 * text3.C: remove META_NEWLINE in favour of an inset
9783 * rowpainter.C: remove paintNewline (done by inset)
9785 2003-03-12 John Levon <levon@movementarian.org>
9787 * paragraph_pimpl.C: complain about bad getChar()s
9788 for a while at least
9790 2003-03-12 John Levon <levon@movementarian.org>
9793 * buffer.C: move paragraph read into a separate function,
9794 a little renaming to reflect that.
9797 * bufferparams.C: remove the author_ids map, not necessary now
9800 * factory.C: moved Buffer::readInset to here
9802 * paragraph_funcs.h:
9803 * paragraph_funcs.C: readParagraph free function moved from
9806 * tabular.C: name change
9808 2003-03-12 John Levon <levon@movementarian.org>
9811 * ParagraphParameters.C: move par params input to
9814 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9815 behave like a normal read from the stream wrt reading
9816 a line vs. a \\token
9818 2003-03-12 John Levon <levon@movementarian.org>
9821 * ParagraphParameters.h:
9822 * ParagraphParameters.C: move output code to a
9825 2003-03-12 John Levon <levon@movementarian.org>
9827 * BufferView.C (insertLyXFile):
9830 * tabular.C: use a parlist iterator for creating the
9833 2003-03-12 John Levon <levon@movementarian.org>
9835 * buffer.C: make current_change static local not
9838 2003-03-12 John Levon <levon@movementarian.org>
9840 * buffer.C: fix insertStringAsLines for change tracking
9842 2003-03-12 John Levon <levon@movementarian.org>
9849 * bufferparams.C: move author list into params. Rename some
9850 functions. Move the header reading into a separate token
9851 loop. Move the header token reading into BufferParams.
9853 2003-03-12 John Levon <levon@movementarian.org>
9855 * changes.C: put debug inside lyxerr.debugging() checks
9857 2003-03-11 André Pönitz <poenitz@gmx.net>
9859 * factory.C: make it aware of InsetHFill
9861 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9863 * buffer.C (latexParagraphs): move function from here...
9864 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9867 2003-03-10 Angus Leeming <leeming@lyx.org>
9869 * LyXAction.C (init): fix bug in poplating array with multiple entries
9870 with the same LFUN (spotted by JMarc).
9872 2003-03-10 John Levon <levon@movementarian.org>
9875 * text2.C: move getColumnNearX() near its
9878 2003-03-10 John Levon <levon@movementarian.org>
9880 * text.C: fix break before a minipage
9882 2003-03-10 John Levon <levon@movementarian.org>
9884 * text.C: fix the last commit
9886 2003-03-09 John Levon <levon@movementarian.org>
9890 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9891 bug 365 (don't break before insets unless needed). Don't
9892 return a value > last under any circumstances.
9894 2003-03-09 Angus Leeming <leeming@lyx.org>
9896 * BufferView_pimpl.C (trackChanges, dispatch): call
9897 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9899 2003-03-09 Angus Leeming <leeming@lyx.org>
9901 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9902 than Dialogs::showAboutlyx().
9904 2003-03-09 Angus Leeming <leeming@lyx.org>
9906 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9907 than Dialogs::showTabularCreate().
9909 2003-03-09 John Levon <levon@movementarian.org>
9913 * text2.C: 3rd arg to nextBreakPoint was always the same.
9916 2003-03-08 John Levon <levon@movementarian.org>
9923 * text2.C: Remove the "main" bit from the "main body"
9926 2003-03-08 John Levon <levon@movementarian.org>
9928 * text.C (leftMargin): The left margin of an empty
9929 manual label paragraph should not include the label width
9932 * text.C (prepareToPrint): don't attempt to measure hfills
9933 for empty manual label paragraphs - the answer should be 0
9935 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9937 * CutAndPaste.C: remove commented code and reindent.
9939 2003-03-08 John Levon <levon@movementarian.org>
9942 * lyxfunc.C: move reloadBuffer()
9945 * BufferView.C: to here
9947 * lyxvc.C: add comment
9950 * vc-backend.C: call bv->reload() to avoid
9951 getStatus() check on MENURELOAD
9953 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9955 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9956 to an old format .dep file.
9958 2003-03-07 Angus Leeming <leeming@lyx.org>
9960 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9961 when the LFUN_MOUSE_RELEASE should have been handled by
9962 inset->localDispatch.
9964 2003-03-07 Angus Leeming <leeming@lyx.org>
9966 * BufferView_pimpl.C (dispatch):
9967 * LyXAction.C (init):
9968 * ToolbarDefaults.C (init):
9970 * lyxfunc.C (getStatus):
9971 remove LFUN_INSET_GRAPHICS.
9973 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9975 2003-03-07 Angus Leeming <leeming@lyx.org>
9978 * LyXAction.C (init):
9979 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9981 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9984 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9986 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9987 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9989 2003-03-07 Angus Leeming <leeming@lyx.org>
9991 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9994 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9996 * ParagraphList.C (front): new function
9999 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10001 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10002 and top_row_offset_. removed var first_y.
10004 * text2.C (LyXText, removeRow):
10006 * BufferView_pimpl.C:
10007 use these methods instead of using first_y
10009 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10011 * text2.C (pasteSelection): adjust for checkPastePossible
10013 * CutAndPaste.C: remove Paragraph * buf and replace with
10014 ParagraphList paragraphs.
10015 (DeleteBuffer): delete
10016 (cutSelection): change the tc type to textclass_type
10017 (copySelection): change the tc type to textclass_type
10018 (copySelection): adjust for ParagraphList
10019 (pasteSelection): change the tc type to textclass_type
10020 (pasteSelection): adjust for Paragraphlist
10021 (nrOfParagraphs): simplify for ParagraphList
10022 (checkPastePossible): simplify for ParagraphList
10023 (checkPastePossible): remove unused arg
10025 * ParagraphList.C (insert): handle the case where there are no
10028 * CutAndPaste.h: make CutAndPaste a namespace.
10030 * text3.C (dispatch): adjust
10032 * text.C (breakParagraph): add a ParagraphList as arg
10034 * paragraph_funcs.C (breakParagraph): change to take a
10035 BufferParams and a ParagraphList as args.
10036 (breakParagraphConservative): ditto
10037 (mergeParagraph): ditto
10038 (TeXDeeper): add a ParagraphList arg
10039 (TeXEnvironment): ditto
10042 * buffer.C (readLyXformat2): adjust
10043 (insertStringAsLines): adjust
10044 (latexParagraphs): adjust
10046 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10047 (cutSelection): adjust
10048 (pasteSelection): adjust
10050 * BufferView_pimpl.C (insertInset): adjust
10052 2003-03-05 Angus Leeming <leeming@lyx.org>
10055 * LyXAction.C (init):
10056 * BufferView_pimpl.C (dispatch):
10057 * lyxfunc.C (getStatus):
10058 remove LFUN_CHILD_INSERT.
10060 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10062 2003-03-05 Angus Leeming <leeming@lyx.org>
10065 * LyXAction.C (init):
10066 * src/factory.C (createInset):
10067 * lyxfunc.C (getStatus):
10068 * text3.C (dispatch):
10069 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10071 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10073 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10075 * ParagraphList.C (insert): handle insert right before end()
10076 (erase): fix cases where it can be first or last paragraph.
10078 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10080 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10081 Paragraph::next and Paragraph::previous
10084 * text.C (breakParagraph): adjust
10086 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10087 BufferParams& as arg.
10088 (breakParagraph): use ParagraphList::insert
10089 (breakParagraphConservative): take a Buffer* instead of a
10090 BufferParams& as arg.
10091 (breakParagraphConservative): use ParagraphList::insert.
10093 * buffer.C (insertStringAsLines): un-const it
10094 (insertStringAsLines): adjust
10096 * ParagraphList.C (insert): new function
10098 * CutAndPaste.C (pasteSelection): adjust
10100 * text.C (backspace): adjust
10102 * tabular.C (SetMultiColumn): adjust
10104 * CutAndPaste.C (cutSelection): adjust
10105 (pasteSelection): adjust
10107 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10108 Buffer const * as arg
10110 * ParagraphList.C (erase): new function
10111 * paragraph_funcs.C (mergeParagraph): use it
10112 (mergeParagraph): make it take a Buffer* instead of a
10113 BufferParams* as arg
10115 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10117 (breakParagraphConservative): ditto
10119 * paragraph.h: remove the breakParagraph friend
10121 * paragraph.C (eraseIntern): new function
10122 (setChange): new function
10124 * paragraph_funcs.C (mergeParagraph): make it take a
10125 ParagraphList::iterator instead of a Paragraph *, adjust
10128 * paragraph.h: move an #endif so that the change tracking stuff
10129 also works in the NO_NEXT case.
10131 2003-03-04 Angus Leeming <leeming@lyx.org>
10134 * LyXAction.C: new LFUN_INSET_MODIFY.
10136 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10137 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10139 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10141 * several files: ws changes only
10143 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10144 (TeXEnvironment): ditto
10147 * buffer.C (makeLaTeXFile): adjust
10148 (latexParagraphs): make it take ParagraphList::iterator as args
10150 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10152 * buffer.C (latexParagraphs): adjust
10154 * paragraph.C (TeXOnePar): move function...
10155 (optArgInset): move function...
10156 (TeXEnvironment): move function...
10157 * paragraph_pimpl.C (TeXDeeper): move function...
10158 * paragraph_funcs.C: ...here
10160 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10162 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10164 * buffer.C (readInset): remove compability code for old Figure and
10167 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10169 * buffer.C: ws changes
10172 * BufferView_pimpl.C: ditto
10175 * bufferlist.h: ditto
10179 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10181 * converter.[Ch]: split into itself +
10184 * Makefile.am: += graph.[Ch] + format.[Ch]
10191 * lyxrc.C: added #include "format.h"
10193 2003-02-27 Angus Leeming <leeming@lyx.org>
10195 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10198 * factory.C (createInset): add "label" to the factory.
10200 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10201 string and do no more.
10203 2003-02-27 Angus Leeming <leeming@lyx.org>
10206 * LyXAction.C (init):
10207 * factory.C (createInset):
10208 * BufferView_pimpl.C (dispatch):
10209 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10211 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10213 * lyxfunc.C (dispatch):
10214 * text3.C (dispatch): pass name to params2string.
10216 2003-02-26 Angus Leeming <leeming@lyx.org>
10218 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10220 Rearrange the ~includes. Strip out the unnecessary ones.
10222 * factory.C (createInset): reformat.
10223 create new insets for the various LFUN_XYZ_APPLY lfuns.
10225 2003-02-26 John Levon <levon@movementarian.org>
10228 * lyxrow.C: add isParStart,isParEnd helpers
10230 * paragraph.h: make isInserted/DeletedText take refs
10232 * paragraph_funcs.h:
10233 * paragraph_funcs.C: remove #if 0'd code
10238 * text.C: use lyxrow helpers above.
10239 Move draw and paint routines to RowPainter.
10240 Make several methods use refs not pointers.
10241 Make backgroundColor() const.
10242 Add markChangeInDraw(), isInInset().
10243 Merge changeRegionCase into changeCase.
10244 Make workWidth() shouldn't-happen code into an Assert.
10247 * rowpainter.C: new class for painting a row.
10250 * vspace.C: make inPixels take a ref
10252 2003-02-26 Angus Leeming <leeming@lyx.org>
10254 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10257 2003-02-25 John Levon <levon@movementarian.org>
10259 * ispell.C: give the forked command a more accurate name
10261 2003-02-22 John Levon <levon@movementarian.org>
10264 * toc.C: make TocItem store an id not a Paragraph *
10267 2003-02-21 Angus Leeming <leeming@lyx.org>
10269 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10270 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10271 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10272 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10273 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10274 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10276 * BufferView_pimpl.C (dispatch):
10277 * LyXAction.C (init):
10278 * factory.C (createInset):
10279 * lyxfunc.C (getStatus, dispatch):
10280 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10282 2003-02-21 Angus Leeming <leeming@lyx.org>
10284 * BufferView_pimpl.C (MenuInsertLyXFile):
10285 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10286 * lyxfunc.C (menuNew, open, doImport):
10287 no longer pass a LyXView & to fileDlg.
10289 2003-02-21 Angus Leeming <leeming@lyx.org>
10291 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10292 * LyXAction.C: change, BIBKEY to BIBITEM.
10293 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10294 Change InsetBibKey to InsetBibitem.
10295 Change BIBKEY_CODE to BIBITEM_CODE.
10296 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10297 * factory.C: replace insetbib.h with insetbibitem.h.
10298 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10299 * paragraph.C: replace insetbib.h with insetbibitem.h.
10300 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10301 Change bibkey() to bibitem().
10302 * text.C: remove insetbib.h.
10303 * text2.C: replace insetbib.h with insetbibitem.h.
10304 change bibkey() to bibitem().
10305 * text3.C: remove insetbib.h.
10306 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10308 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10310 * lyxrc.C (output): enclose user email in quotes (in case there are
10313 2003-02-18 John Levon <levon@movementarian.org>
10315 * buffer.h: add std::
10317 2003-02-17 John Levon <levon@movementarian.org>
10323 * pspell.C: reworking. Especially in ispell, a large
10324 number of clean ups and bug fixes.
10326 * lyxfunc.C: fix revert to behave sensibly
10328 2003-02-17 André Pönitz <poenitz@gmx.net>
10331 * commandtags.h: new LFUN_INSERT_BIBKEY
10341 * paragraph_func.C: remove special bibkey handling
10343 2003-02-17 John Levon <levon@movementarian.org>
10345 * text.C (Delete): fix case where delete at the end of
10346 the very first paragraph would not merge the pars
10348 2003-02-17 John Levon <levon@movementarian.org>
10350 * lyxrow.C: fix lastPrintablePos()
10352 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10354 * bufferparams.C (writeLaTeX): add a std:here
10356 * buffer.C: and remove a using directive there
10358 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10360 * buffer.C (makeLaTeXFile): move the code that generates the
10363 * bufferparams.C (writeLaTeX): ... in this new method
10365 * LaTeXFeatures.C (getEncodingSet): make const
10366 (getLanguages): make const
10368 * MenuBackend.C (binding): returns the binding associated to this
10370 (add): sets the status of each item by calling getStatus. Adds
10372 (read): add support for OptSubMenu
10373 (expand): remove extra separator at the end of expanded menu
10375 2003-02-15 John Levon <levon@movementarian.org>
10378 * BufferView_pimpl.C:
10380 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10381 inset code that had no actual effect. Remove unneeded status
10384 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10386 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10389 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10391 * text.C (drawLengthMarker): also draw an arrow marker for
10392 symbolic lengths (medskip...)
10394 2003-02-14 John Levon <levon@movementarian.org>
10397 * tabular.C: better method names
10399 2003-02-14 John Levon <levon@movementarian.org>
10401 * BufferView_pimpl.C:
10406 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10407 it's a more accurate name. Remove some pointless uses.
10409 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10411 * text2.C (LyXText): change order of initilizers to shut off
10414 2003-02-14 John Levon <levon@movementarian.org>
10416 * buffer.C: use ParIterator for getParFromID()
10420 * paragraph_pimpl.h:
10421 * paragraph_pimpl.C: remove unused getParFromID()
10423 2003-02-14 John Levon <levon@movementarian.org>
10425 * buffer.C: remove some very old #if 0'd parse code
10427 2003-02-13 John Levon <levon@movementarian.org>
10431 * text2.C: move hfillExpansion(), numberOfSeparators(),
10432 rowLast(), rowLastPrintable(), numberofHfills(),
10433 numberOfLabelHfills() ...
10436 * lyxrow.C: ... to member functions here.
10441 * text.C: remove LyXText::beginningOfMainBody(), and call
10442 p->beginningOfMainBody() directly. Move the check for
10443 LABEL_MANUAL into the latter.
10450 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10456 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10457 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10459 2003-02-13 John Levon <levon@movementarian.org>
10461 * CutAndPaste.C: remove debug
10463 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10465 * paragraph.C (asString): remove two unused variables
10467 * lyxtextclass.C (readTitleType):
10469 (LyXTextClass): handle new members titletype_ and titlename_
10471 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10473 2003-02-09 John Levon <levon@movementarian.org>
10476 * buffer.C: replace hand-coded list with a map for the dep clean
10478 2003-02-08 John Levon <levon@movementarian.org>
10480 * LaTeX.C: consolidate code into showRunMessage() helper
10482 2003-02-08 John Levon <levon@movementarian.org>
10487 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10488 and pass the size in explicitly
10490 * BufferView_pimpl.h:
10491 * BufferView_pimpl.C:
10493 * BufferView.C: add getCurrentChange()
10495 * BufferView_pimpl.h:
10496 * BufferView_pimpl.C: handle change lfuns
10498 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10499 for changes. Mark pasted paragraphs as new.
10501 * support/lyxtime.h:
10502 * support/lyxtime.C:
10503 * DepTable.C: abstract time_t as lyx::time_type
10506 * LColor.C: add colours for new text, deleted text, changebars
10508 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10509 package use "usenames" option.
10513 * LyXAction.C: add change lfuns
10517 * author.C: author handling
10520 * buffer.C: add a per-buffer author list, with first entry as
10521 current author. Handle new .lyx tokens for change tracking. Output
10522 author list to .lyx file. Output dvipost stuff to .tex preamble.
10523 Bump lyx format to 222.
10526 * bufferlist.C: add setCurrentAuthor() to reset current author details
10530 * bufferparams.C: add param for tracking
10532 * bufferview_funcs.C: output change info in minibuffer
10536 * changes.C: add change-tracking structure
10539 * debug.C: add CHANGES debug flag
10542 * lyxfind.C: add code for finding the next change piece
10545 * lyxrc.C: add user_name and user_email
10548 * lyxrow.C: add a metric for the top of the text line
10551 * text.C: implement accept/rejectChange()
10554 * text.C: paint changebars. Paint new/deleted text in the chosen
10555 colours. Strike through deleted text.
10559 * paragraph_pimpl.h:
10560 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10561 in the current change to the insert functions. Rework erase to
10562 mark text as deleted, adding an eraseIntern() and a range-based
10563 erase(). Implement per-paragraph change lookup and
10566 * paragraph_funcs.C: Fixup paste for change tracking.
10568 * tabular.C: mark added row/columns as new.
10570 * text.C: fix rowLast() to never return -1. Don't allow
10571 spellchecking of deleted text. Track transpose changes. Don't
10572 allow paragraph break or merge where appropriate.
10574 * text2.C: leave cursor at end of selection after a cut.
10576 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10578 * text.C (getLengthMarkerHeight):
10579 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10580 visible on screen too.
10582 2003-02-07 John Levon <levon@movementarian.org>
10584 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10586 2003-02-05 Angus Leeming <leeming@lyx.org>
10588 * lyxserver.C (read_ready): revert my patch of 11 September last year
10589 as it sends PC cpu through the roof. Presumably this means that
10590 the lyxserver will no longer run on an Alpha...
10592 2003-01-30 Angus Leeming <leeming@lyx.org>
10594 * factory.C (createInset): create an InsetCommandParam of type "index"
10595 and use it to 'do the right thing'.
10597 * text2.C (getStringToIndex): ensure that cursor position is always
10598 reset to the reset_cursor position.
10600 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10602 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10605 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10609 * lyxfunc.C: Output messages with identical spelling, punctuation,
10612 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10614 * MenuBackend.C (expandFormats): List only viewable export formats
10617 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10620 * lyxfunc.C (getStatus): Make sure that formats other than
10621 "fax" can also be disabled
10623 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10625 * text3.C (dispatch): put the lfuns that insert insets in 3
10626 groups, and call doInsertInset with appropriate arguments.
10627 (doInsertInset): new function, that creates an inset and inserts
10628 it according to some boolean parameters.
10630 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10632 * buffer.C (readFile): remember to pass on 'par' when calling
10633 readFile recursively.
10635 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10637 * MenuBackend.C (expandFormats): add "..." to import formats.
10639 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10641 * paragraph.C (asString): Remove XForms RTL hacks.
10643 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10644 * buffer.C: fix typo
10646 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10648 * Makefile.am (LIBS): delete var
10649 (lyx_LDADD): add @LIBS@ here instead.
10651 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10653 * Clarify the meaning of "wheel mouse jump"
10655 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10657 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10660 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10662 * importer.C (Loaders): do not preallocate 3 elements in the
10663 vector, since one ends up with 6 elements otherwise
10665 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10667 * DepTable.C (write): write the file name as last element of the
10668 .dep file (because it may contain spaces)
10669 (read): read info in the right order
10671 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10673 * paragraph_pimpl.C (simpleTeXBlanks):
10674 (simpleTeXSpecialChars):
10675 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10677 * tabular.C (latex): add some missing case statements. Reindent.
10679 * MenuBackend.C (expandToc): remove unused variable.
10681 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10690 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10693 2003-01-05 John Levon <levon@movementarian.org>
10696 * BufferView.C: add getEncoding()
10699 * kbsequence.C: do not store last keypress
10702 * lyxfunc.C: store last keypress here instead. Pass encoding
10705 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10707 * lyx_main.C (init): remove annoying error message when following
10708 symbolic links (bug #780)
10710 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10712 * text.C (insertChar):
10713 * lyxrc.C (getDescription): remove extra spaces
10715 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10717 * lyxrc.C (getDescription): remove extra spaces
10719 2002-12-20 John Levon <levon@movementarian.org>
10721 * text3.C: hack fix for page up/down across tall rows
10723 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10725 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10728 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10730 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10731 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10732 thesaurus is not compiled in
10734 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10736 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10738 2002-12-16 Angus Leeming <leeming@lyx.org>
10741 * lyx_main.C (init): remove override_x_deadkeys stuff.
10743 2002-12-12 John Levon <levon@movementarian.org>
10745 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10746 insert. Only remove shift modifier under strict
10749 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10751 * MenuBackend.C (expandToc): fix crash.
10753 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10755 * MenuBackend.C (expandToc): gettext on float names.
10757 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10759 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10760 implement bool empty() [bug 490]
10762 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10764 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10766 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10768 * several files: ws changes
10770 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10772 * text2.C (setCounter): clean up a bit, use boost.format.
10773 (updateCounters): initialize par upon declaration.
10775 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10776 if the layout exists. We do not just store the layout any more.
10777 (SwitchLayoutsBetweenClasses): use boost.format
10779 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10781 * converter.C (convert): if from and to files are the same, use a
10782 temporary files as intermediary
10784 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10787 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10789 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10791 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10793 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10795 * tabular.C (asciiPrintCell): use string(size, char) instead of
10798 * sgml.C (openTag): fix order of arguments to string constructor
10801 * lyxfunc.C (dispatch): use boost.format
10803 * lots of files: change "c" -> 'c'
10805 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10807 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10809 2002-11-25 Angus Leeming <leeming@lyx.org>
10811 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10813 * lyx_main.C (init): compile fix.
10815 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10817 * lyx_cb.C (start): boost.formatify
10818 do not include <iostream>
10820 * lengthcommon.C: ws only
10822 * boost-inst.C,BoostFormat.h: add more explict instantations
10824 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10826 * lots of files: handle USE_BOOST_FORMAT
10828 2002-11-21 John Levon <levon@movementarian.org>
10830 * pspell.C: fix compile
10832 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10834 * lyxfunc.C (dispatch): use boost::format
10838 * lyxfont.C (stateText): use boost::format
10840 * lyx_main.C (LyX): use boost::format
10842 (queryUserLyXDir): ditto
10843 (readRcFile): ditto
10845 (typedef boost::function): use the recommened syntax.
10847 * importer.C (Import): use boost::format
10849 * debug.C (showLevel): use boost::format
10851 * converter.C (view): use boost::format
10856 * bufferview_funcs.C (currentState): use boost::format
10858 * bufferlist.C (emergencyWrite): use boost::format
10860 * buffer.C (readLyXformat2): use boost::format
10861 (parseSingleLyXformat2Token): ditto
10863 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10865 * LaTeX.C (run): use boost::format
10867 * Chktex.C (scanLogFile): use boost::format
10869 * BufferView_pimpl.C (savePosition): use boost::format
10870 (restorePosition): ditto
10871 (MenuInsertLyXFile): ditto
10873 * BoostFormat.h: help file for explicit instation.
10875 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10877 * tabular.C (latex): Support for block alignment in fixed width
10880 2002-11-17 John Levon <levon@movementarian.org>
10882 * BufferView_pimpl.C:
10884 * lyxfunc.C: split filedialog into open/save
10886 2002-11-08 Juergen Vigna <jug@sad.it>
10888 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10889 by my last patch (hopefully).
10891 2002-11-08 John Levon <levon@movementarian.org>
10900 * toc.C: ParConstIterator, and use it (from Lars)
10902 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10904 * lyxtextclass.[Ch]: revise and add doxygen comments
10906 2002-11-07 John Levon <levon@movementarian.org>
10908 * text.C: fix progress value for spellchecker
10910 * toc.C: fix navigate menu for insetwrap inside minipage
10912 * paragraph_funcs.C: added FIXME for suspect code
10914 2002-11-07 John Levon <levon@movementarian.org>
10916 * BufferView_pimpl.C: fix redrawing of insets
10919 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10921 * text2.C (updateCounters): fix bug 668
10923 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10925 * text3.C (dispatch): Do not make the buffer dirty when moving the
10928 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10930 * vc-backend.C: STRCONV
10931 (scanMaster): ditto
10933 * text2.C (setCounter): STRCONV
10935 * paragraph.C (asString): STRCONV
10937 * lyxlength.C (asString): STRCONV
10938 (asLatexString): ditto
10940 * lyxgluelength.C (asString): STRCONV
10941 (asLatexString): ditto
10943 * lyxfunc.C (dispatch): STRCONV
10946 * lyxfont.C (stateText): STRCONV
10948 * importer.C (Import): STRCONV
10950 * counters.C (labelItem): STRCONV
10951 (numberLabel): ditto
10952 (numberLabel): remove unused ostringstream o
10957 * bufferview_funcs.C (currentState): STRCONV
10959 * buffer.C (readFile): STRCONV
10960 (asciiParagraph): ditto
10961 (makeLaTeXFile): ditto
10963 * Spacing.C (writeEnvirBegin): STRCONV
10965 * LaTeXFeatures.C (getLanguages): STRCONV
10966 (getPackages): ditto
10968 (getBabelOptions): ditto
10969 (getTClassPreamble): ditto
10970 (getLyXSGMLEntities): ditto
10971 (getIncludedFiles): ditto
10975 (scanAuxFile): ditto
10978 * LString.h: add the STRCONV macros
10980 * BufferView_pimpl.C (savePosition): STRCONV
10981 (restorePosition): ditto
10982 (MenuInsertLyXFile): ditto
10984 * vc-backend.C (scanMaster): change from submatch[...] to
10987 * funcrequest.C: include config.h
10989 * factory.C: include config.h
10991 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10993 * box.C: include config.h
10995 * LaTeX.C (scanAuxFile): change from submatch[...] to
10999 2002-10-25 Angus Leeming <leeming@lyx.org>
11001 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11003 * ispell.[Ch] (setError): new method.
11004 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11005 Use setError() insetead of goto END.
11007 * lyx_cb.C (AutoSave): move out child process into new class
11010 2002-10-30 John Levon <levon@movementarian.org>
11012 * text3.C: make start appendix undoable
11014 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11016 * lyxlength.C (inPixels): Fix returned value.
11018 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11021 2002-10-24 Angus Leeming <leeming@lyx.org>
11023 * lyxgluelength.h: no need to forward declare BufferParams
11024 or BufferView, so don't.
11026 2002-10-21 John Levon <levon@movementarian.org>
11028 * BufferView.C: menuUndo ->undo, redo
11030 * BufferView.h: document, remove dead, make some methods private
11032 * paragraph_funcs.h:
11033 * paragraph_funcs.C:
11034 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11039 * sgml.C: move sgml open/close tag into sgml.C
11041 * bufferview_funcs.h: unused prototype
11044 * lyxfunc.C: remove unused
11047 * text.C: remove unused
11049 2002-10-21 John Levon <levon@movementarian.org>
11053 * BufferView_pimpl.h:
11054 * BufferView_pimpl.C: fix mouse wheel handling based on
11055 patch from Darren Freeman
11057 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11059 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11061 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11063 * lyxlength.C (inPixels): Fix hanfling of negative length.
11064 Fix LyXLength::MU case.
11066 2002-10-16 John Levon <levon@movementarian.org>
11068 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11070 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11072 * converter.C (view): add support for $$i (file name) and $$p
11073 (file path) for the viewer command. If $$i is not specified, then
11074 it is appended to the command (for compatibility with old syntax)
11076 2002-10-14 Juergen Vigna <jug@sad.it>
11078 * undo_funcs.C (textHandleUndo): alter the order in which the
11079 new undopar is added to the LyXText, as we have to set first
11080 the right prev/next and then add it as otherwise the rebuild of
11081 LyXText is not correct. Also reset the cursor to the right paragraph,
11082 with this IMO we could remove the hack in "redoParagraphs()".
11084 2002-10-09 Angus Leeming <leeming@lyx.org>
11086 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11087 to turn off an optimisation if a new inset is to be inserted.
11089 2002-10-11 André Pönitz <poenitz@gmx.net>
11091 * lyxtext.h: make some functions public to allow access
11092 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11094 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11096 * text3.C (dispatch): when changing layout, avoid an infinite loop
11099 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11101 * lyxrc.C (read): treat a viewer or converter command of "none" as
11104 * MenuBackend.C (expandFormats): for an update, also allow the
11105 formats that are not viewable
11107 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11108 script if it is newer than the lyxrc.defaults in user directory
11110 2002-10-07 André Pönitz <poenitz@gmx.net>
11112 * text.C: Vitaly Lipatov's small i18n fix
11114 2002-09-25 Angus Leeming <leeming@lyx.org>
11116 * ispell.h: doxygen fix.
11118 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11120 * buffer.h (readFile): Add a new argument to the method, to allow
11121 reading of old-format templates.
11123 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11125 * toc.C (getTocList): Get TOC from InsetWrap.
11127 2002-09-16 John Levon <levon@movementarian.org>
11129 * lyxfunc.C: check tabular for cut/copy too
11131 2002-09-12 John Levon <levon@movementarian.org>
11133 * LyXAction.C: tidy
11136 * factory.C: add header
11138 * paragraph_funcs.h:
11139 * paragraph_funcs.C: cleanup
11141 2002-09-11 John Levon <levon@movementarian.org>
11143 * PrinterParams.h: odd/even default to true
11145 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11147 * PrinterParams.h: update printer parameters for new xforms dialog
11149 2002-09-11 Angus Leeming <leeming@lyx.org>
11151 * lyxserver.C (read_ready): re-write to make it more transparent
11152 and to make it work in coherent fashion under Tru64 Unix.
11154 2002-09-11 André Pönitz <poenitz@gmx.net>
11158 * text3.C: implement LFUN_WORDSEL
11160 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11162 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11163 make floatlist_ a boost::shared_ptr<FloatList>
11165 * lyxtextclass.C: include FloatList.h
11166 (LyXTextClass): initialize floatlist_
11167 (TextClassTags): add TC_NOFLOAT
11168 (Read): match "nofloat" to TC_NOFLOAT and use it.
11169 (readFloat): modify call to floatlist_
11173 * FloatList.[Ch] (FloatList): remove commented out float
11175 (erase): new function
11177 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11179 * MenuBackend.C (expandToc): fix crash when there is no document
11182 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11184 * many files: Add insetwrap.
11186 2002-09-09 John Levon <levon@movementarian.org>
11188 * text2.C: remove confusing and awkward depth wraparound
11190 2002-09-09 John Levon <levon@movementarian.org>
11192 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11195 * buffer.C: remove getIncludeonlyList()
11198 * lyxfunc.C: remove headers
11200 2002-09-09 Juergen Vigna <jug@sad.it>
11202 * text.C (getColumnNearX): fix form Michael this is most
11203 probably a cut&paste bug.
11205 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11207 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11209 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11210 references, ws changes.
11212 * text2.C (init): update counters after init
11213 (insertParagraph): no need to set counter on idividual paragraphs.
11214 (setCounter): access the counters object in the textclass object
11215 on in the buffer object.
11216 (updateCounters): ditto
11218 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11219 shared_ptr<Counters> to avoid loading counters.h in all
11221 (LyXTextClass): initialize ctrs_
11222 (TextClassTags): add TC_COUNTER, and ...
11223 (Read): use it here.
11224 (CounterTags): new tags
11225 (readCounter): new function
11226 (counters): new funtion
11227 (defaultLayoutName): return a const reference
11229 * counters.C (Counters): remove contructor
11230 (newCounter): remove a couple of unneeded statements.
11231 (newCounter): simplify a bit.
11232 (numberLabel): some small formatting changes.
11234 * buffer.[Ch]: remove all traces of counters, move the Counters
11235 object to the LyXTextClass.
11237 2002-09-06 Alain Castera <castera@in2p3.fr>
11239 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11240 package to set the horizontal alignment on fixed width columns.
11243 * lyx_sty.h: added tabularnewline macro def.
11245 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11247 2002-09-06 John Levon <levon@movementarian.org>
11249 * LyXAction.C: tooltips for sub/superscript
11251 * MenuBackend.C: a bit more verbose
11253 * lyxfunc.C: tiny clean
11255 * undo_funcs.C: document undo_frozen
11257 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11259 * counters.C (Counters): add missing algorithm counter.
11261 * text2.C (setCounter): lookup the counter with layouts latexname
11262 instead of by section number.
11263 (setCounter): use a hackish way to lookup the correct enum
11265 a float name->type change
11266 reset enum couners with counter name directly instead of depth value.
11268 * counters.C (Counters): remove the push_backs, change to use the
11269 float type not the float name.
11270 (labelItem): remove unused string, float name->type change
11272 * counters.h: don't include vector, loose the enums and sects vectors
11274 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11276 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11277 (Read): add float->TC_FLOAT to textclassTags
11278 (Read): and handle it in the switch
11279 (readFloat): new function
11281 * FloatList.C (FloatList): comment out the hardcoded float
11284 * lyxlayout.h: ws change.
11286 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11288 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11290 2002-09-03 Angus Leeming <leeming@lyx.org>
11292 * BufferView_pimpl.h: qualified name is not allowed in member
11293 declaration: WorkArea & Pimpl::workarea() const;
11295 * factory.C: added using std::endl directive.
11297 * text3.C: added using std::find and std::vector directives.
11299 2002-08-29 André Pönitz <poenitz@gmx.net>
11302 * text2.C: remove unused member number_of_rows
11305 * BufferView2.C: remove file, move contents to...
11306 * BufferView.C: ... here
11308 * BufferView_pimpl.C:
11309 * factory.C: move more inset creation to factory
11311 * vspace.C: avoid direct usage of LyXText, ws changes
11314 don't provide direct access to WorkArea, use two simple
11315 acessors haveSelction() and workHeight() instead
11318 2002-08-29 John Levon <levon@movementarian.org>
11320 * BufferView_pimpl.C (dispatch): do not continue when
11323 2002-08-28 André Pönitz <poenitz@gmx.net>
11325 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11328 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11330 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11332 * buffer.C: increment LYX_FORMAT to 221
11334 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11335 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11337 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11339 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11341 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11343 * factory.C (createInset): use LyXTextClass::floats
11345 * MenuBackend.C (expandFloatListInsert):
11346 (expandFloatInsert):
11349 * text2.C (setCounter):
11351 * LaTeXFeatures.C (useFloat):
11352 (getFloatDefinitions):
11354 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11356 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11357 floatlist_, with accessor floats().
11359 * FloatList.h: remove global FloatList
11361 2002-08-26 André Pönitz <poenitz@gmx.net>
11363 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11367 * BufferView_pimpl.C:
11368 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11370 2002-08-25 John Levon <levon@movementarian.org>
11372 * LyXAction.C: fix margin note description
11374 2002-08-24 John Levon <levon@movementarian.org>
11378 * bufferview_funcs.C:
11380 * undo_funcs.C: cleanups
11382 * lyxfunc.C: disable CUT/COPY when no selection
11384 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11386 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11387 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11389 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11390 Add backward compatibility to "mono", "gray" and "no".
11392 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11394 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11395 (and file_format >= 200).
11397 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11399 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11401 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11403 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11405 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11407 * BufferView_pimpl.C:
11414 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11415 inset and code to make it work with the paragraph code. The inset
11416 can be anywhere in the paragraph, but will only do the expected
11417 thing in LaTeX if the layout file contains the parameter line
11419 (or more generally, a nonzero value) for that layout.
11421 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11423 * paragraph.h: remove the declaration of undefined counters class
11426 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11428 * text2.C (setCounter): fixed enumeration mis-count as reported by
11429 Dr. Richard Hawkins.
11431 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11433 * paragraph_funcs.h: remove some unneeded includes
11435 * text.C (backspace): pasteParagraph now in global scipe
11437 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11438 (pasteSelection): ditto
11440 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11441 * paragraph_funcs.C (pasteParagraph): ... here
11443 2002-08-20 André Pönitz <poenitz@gmx.net>
11445 * commandtags.h: new LFUNs for swapping/copying table row/colums
11448 * lyxfunc.C: support for new lfuns
11450 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11453 * buffer.[Ch]: remove NO_COMPABILITY stuff
11455 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11457 * boost.C (throw_exception): new file, with helper function for
11458 boost compiled without exceptions.
11463 * ParameterStruct.h:
11464 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11466 * bufferlist.C (emergencyWriteAll): use boost bind
11468 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11470 * text.C: include paragraph_funcs.h
11471 (breakParagraph): breakParagraph is now in global scope
11473 * paragraph_funcs.[Ch]: new files
11475 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11478 * buffer.C: include paragraph_funcs.h
11479 (insertStringAsLines): breakParagraph is now in global scope
11481 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11484 * CutAndPaste.C: include paragraph_funcs.h
11485 (cutSelection): breakParagraphConservative is now in global scope
11486 (pasteSelection): ditto
11488 * buffer.h: declare oprator== and operator!= for
11489 Buffer::inset_iterator
11491 * bufferlist.C (emergencyWrite): don't use fmt(...)
11493 * text3.C: add using std::endl
11495 * BufferView.C (moveCursorUpdate): remove default arg
11497 2002-08-20 André Pönitz <poenitz@gmx.net>
11499 * buffer.[Ch]: move inline functions to .C
11502 * BufferView_pimpl.C:
11504 * buffer.[Ch]: use improved inset_iterator
11507 * paragraph.[Ch]: write one paragraph at a time
11509 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11511 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11512 style if style is not specified.
11514 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11516 * text2.C (setCounter): when searching for right label for a
11517 caption, make sure to recurse to parent insets (so that a caption
11518 in a minipage in a figure float works) (bug #568)
11520 2002-08-20 André Pönitz <poenitz@gmx.net>
11522 * text3.C: new file for LyXText::dispatch() and helpers
11524 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11526 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11528 2002-08-19 André Pönitz <poenitz@gmx.net>
11531 * text.C: new LyXText::dispatch()
11533 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11535 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11537 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11539 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11542 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11544 * Makefile.am: use $(variables) instead of @substitutions@
11546 2002-08-15 André Pönitz <poenitz@gmx.net>
11549 * BufferView_pimpl.C: streamlining mathed <-> outer world
11553 * LyXAction.C: remove unused LFUN_MATH
11555 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11557 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11559 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11561 * paragraph.C (Paragraph): reformat a bit
11562 (cutIntoMinibuffer): use builtin InsetList function instad of
11566 * buffer.C: include boost/bind.hpp, add using std::for_each
11567 (writeFileAscii): use ParagraphList iterators
11568 (validate): use for_each for validate traversal of paragraphs
11569 (getBibkeyList): use ParagraphList iterators
11570 (resizeInsets): use for_each to resizeInsetsLyXText for all
11572 (getParFromID): use ParagraphList iterators
11574 * BufferView2.C (lockInset): use paragraph list and iterators
11576 2002-08-14 John Levon <levon@movementarian.org>
11578 * lyxserver.C: remove spurious xforms include
11580 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11582 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11584 2002-08-13 André Pönitz <poenitz@gmx.net>
11587 * lyxfunc.C: further cleaning
11589 2002-08-13 André Pönitz <poenitz@gmx.net>
11591 * funcrequest.h: new constructor
11593 * funcrequest.C: move stuff here from .h
11596 * BufferView_pimpl.C:
11599 * lyxfunc.C: subsequent changes
11601 * lyxfunc.h: new view() member function
11603 * lyxfunc.C: subsequent changes
11605 2002-08-13 Angus Leeming <leeming@lyx.org>
11608 * BufferView_pimpl.C:
11616 changes due to the changed LyXView interface that now returns references
11617 to member variables not pointers.
11619 2002-08-13 Angus Leeming <leeming@lyx.org>
11621 * WordLangTuple (word, lang_code): return references to strings,
11626 * lyxtext.h: forward-declare WordLangTuple.
11631 * text.C: #include "WordLangTuple.h".
11634 * text.C: (selectNextWordToSpellcheck): constify return type.
11636 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11642 * paragraph_pimpl.h:
11645 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11646 suggested by Angus.
11647 Made updateCounter always count from start of buffer, and removed
11648 second argument (par).
11649 Reverted floats number display to '#'. Perhaps I'll try again when the
11650 code base is sanitized a bit.
11652 2002-08-12 Angus Leeming <leeming@lyx.org>
11654 * buffer.[Ch] (getLabelList): constify.
11656 2002-08-07 André Pönitz <poenitz@gmx.net>
11658 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11660 * funcrequest.h: extension to keep mouse (x,y) position
11662 2002-08-12 Juergen Vigna <jug@sad.it>
11664 * BufferView2.C (insertErrors): forbid undo when inserting error
11667 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11669 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11671 * ParagraphList.[Ch]: new files
11673 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11675 * BufferView2.C (lockInset): ParagraphList changes
11678 * bufferlist.C: ditto
11682 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11684 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11685 unused class variable counter_,
11687 * paragraph.[Ch] (getFirstCounter): delete unused function
11689 * counters.C: include LAssert.h
11690 (reset): add a new function with no arg, change other version to
11691 not have def. arg and to not allow empty arg.
11693 * text2.C (setCounter): remove empty arg from call to Counters::reset
11695 2002-08-11 John Levon <levon@movementarian.org>
11697 * Makefile.am: add WordLangTuple.h
11699 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11701 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11702 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11704 * insets/insettext.C: InsetList changes
11706 * graphics/GraphicsSupport.C (operator()): InsetList changes
11708 * toc.C (getTocList): InsetList changes
11710 * paragraph_pimpl.[Ch]: InsetList changes
11712 * paragraph.[Ch]: InsetList changes
11714 * buffer.C (inset_iterator): InsetList changes
11715 (setParagraph): ditto
11716 * buffer.h (inset_iterator): ditto
11717 * iterators.C (operator++): ditto
11718 * iterators.h: ditto
11720 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11722 * InsetList.[Ch]: new files, most InsetList handling moved out of
11725 * BufferView2.C (removeAutoInsets): InsetList changes
11727 (ChangeInsets): ditto
11729 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11731 * paragraph_pimpl.h (empty): new function
11733 * paragraph.[Ch] (empty): new function
11735 * other files: use the new Paragraph::empty function
11737 2002-08-09 John Levon <levon@movementarian.org>
11739 * lyxtext.h: remove unused refresh_height
11741 2002-08-09 John Levon <levon@movementarian.org>
11748 * paragraph.C: move sgml char escaping out of paragraph
11751 * paragraph.C: remove id setter
11755 * paragraph_pimpl.C: remove dead tex_code_break_column
11757 * bufferview_funcs.C: small cleanup
11759 * lyxfunc.C: remove dead proto
11761 * lyxtext.h: make some stuff private. Remove some dead stuff.
11763 * lyxgluelength.C: make as[LyX]String() readable
11765 2002-08-08 John Levon <levon@movementarian.org>
11770 * ToolbarDefaults.C:
11773 * toc.C: lyxaction cleanup
11775 2002-08-08 John Levon <levon@movementarian.org>
11777 * BufferView2.C: small cleanup
11780 * lyxfind.C: move unnecessary header into the .C
11782 2002-08-08 John Levon <levon@movementarian.org>
11784 * funcrequest.h: just tedious nonsense
11787 * lyx_main.C: cleanups
11790 * vspace.C: remove dead header lyx_main.h
11792 2002-08-07 Angus Leeming <leeming@lyx.org>
11795 * paragraph_pimpl.h:
11796 Forward declare class Counters in paragraph.h by moving the ctrs member
11797 variable into Paragraph::Pimpl.
11798 (counters): new method, returning a reference to pimpl_->ctrs.
11800 * text2.C: ensuing changes.
11802 2002-08-07 John Levon <levon@movementarian.org>
11804 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11806 * BufferView_pimpl.C: announce X selection on double/triple
11809 * lyx_main.C: use correct bool in batch dispatch
11811 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11813 2002-08-07 André Pönitz <poenitz@gmx.net>
11815 * funcrequest.h: new class to wrap a kb_action and its argument
11818 * BufferView_pimpl[Ch]:
11822 * lyxrc.C: subsequent changes
11825 2002-08-07 John Levon <levon@movementarian.org>
11827 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11828 document options change.
11830 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11835 * makefile.am: move counters functionality over from
11836 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11838 2002-08-06 John Levon <levon@movementarian.org>
11840 * WordLangTuple.h: new file for word + language code tuple
11851 * BufferView2.C: use WordLangTuple
11854 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11856 2002-08-06 John Levon <levon@movementarian.org>
11858 * lyx_main.C: fix cmdline batch handling
11860 2002-08-06 André Pönitz <poenitz@gmx.net>
11862 * lyxrc.C: set default for show_banner to true
11864 2002-08-06 John Levon <levon@movementarian.org>
11866 * pspell.C: fix a crash, and allow new aspell to work
11868 2002-08-06 John Levon <levon@movementarian.org>
11871 * kbmap.C: small cleanup
11874 * vspace.C: add const
11876 2002-08-05 John Levon <levon@movementarian.org>
11878 * LyXAction.C: back to tabular-insert
11880 2002-08-04 John Levon <levon@movementarian.org>
11883 * BufferView.C: cosmetic change
11885 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11895 * BufferView2.C: purge all "Lyx" not "LyX" strings
11898 * lyxcursor.C: attempt to add some documentation
11903 * ToolbarDefaults.C:
11904 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11905 merge with LFUN_TABULAR_INSERT
11912 * pspell.C: split up i/pspell implementations into separate
11913 files, many cleanups
11915 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11917 * text2.C: some cleanup
11919 * lyxfunc.C: don't check for isp_command == "none" any more, it
11920 didn't make any sense
11922 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11927 * makefile.am: move counters functionality over
11928 from text2.C/paragraph.[Ch] to counters.[Ch], and
11930 2002-08-02 John Levon <levon@movementarian.org>
11932 * buffer.C: s/lyxconvert/lyx2lyx/
11934 2002-08-02 Angus Leeming <leeming@lyx.org>
11936 * lyxlex.C: revert John's change as it breaks reading of the user
11939 2002-08-02 Angus Leeming <leeming@lyx.org>
11941 * importer.C (Import):
11942 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11943 changes due to LyXView::view() now returning a boost::shared_ptr.
11945 2002-08-02 John Levon <levon@movementarian.org>
11947 * lyxlex.C: small cleanup
11949 2002-08-02 John Levon <levon@movementarian.org>
11951 * text2.C (status): small cleanup, no logic change
11953 2002-08-01 John Levon <levon@movementarian.org>
11956 * buffer.C (writeFile): don't output alerts, caller
11960 * lyx_cb.C: from above
11962 * lyxfunc.C: allow to open non-existent files
11964 2002-07-31 John Levon <levon@movementarian.org>
11966 * lyxserver.C: don't let incidental errors get
11969 2002-07-30 John Levon <levon@movementarian.org>
11971 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11973 2002-07-30 John Levon <levon@movementarian.org>
11976 * lyxserver.C: remove I/O callback too
11978 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11980 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11983 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11985 * many files: strip,frontStrip -> trim,ltrim,rtrim
11987 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11989 * PrinterParams.h: remove extern containsOnly, and include
11990 support/lstrings.h instead.
11992 * LaTeX.C (scanAuxFile): modify because of strip changes
11994 * buffer.C (makeLaTeXFile): ditto
11995 * bufferparams.C (writeFile): ditt
11996 * lyxfont.C (stateText): ditto
11997 * lyxserver.C (read_ready): ditto
11998 * vc-backend.C (scanMaster): ditto
12000 * BufferView_pimpl.h: ws changes
12002 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12004 2002-07-26 André Pönitz <poenitz@gmx.net>
12006 * kb_sequence.C: remove unnedred usings
12008 2002-07-26 Juergen Vigna <jug@sad.it>
12010 * lyxfind.C (LyXReplace): we have to check better if the returned
12011 text is not of theLockingInset()->getLockingInset().
12013 2002-07-25 Juergen Vigna <jug@sad.it>
12015 * lyxfind.C (LyXReplace): don't replace if we don't get the
12018 * undo_funcs.C (createUndo): remove debugging code.
12020 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12022 * buffer.C (parseSingleLyXformat2Token): Use default placement
12023 when reading old floats.
12025 * FloatList.C (FloatList): Change the default placement of figure
12026 and tables to "tbp".
12028 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12030 * MenuBackend.C: using std::max
12032 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12034 * MenuBackend.C (expandToc):
12035 (expandToc2): code moved from xforms menu frontend. It is now
12036 generic and TOCs are transparent to menu frontends.
12038 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12040 * toc.C (getTocList): protect against buf=0
12042 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12043 Menu as first parameter. Now, this calls itself recursively to
12044 expand a whole tree (this will be useful for TOC handling)
12045 (expandFloatInsert): remove 'wide' version of floats
12047 * MenuBackend.h (submenuname): returns the name of the submenu.
12048 (submenu): returns the submenu itself, provided it has been
12049 created by MenuBackend::expand
12051 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12053 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12054 insets which have noFontChange == true. (bug #172)
12056 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12058 * BufferView_pimpl.C: add connection objects and use them...
12061 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12063 * MenuBackend.C (expandLastfiles):
12066 (expandFloatListInsert):
12067 (expandFloatInsert):
12068 (expand): split expand in parts
12070 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12072 * lyx_gui.C: use lyx_gui::exit()
12074 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12076 * LyXAction.C: show the failing pseudo action
12078 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12080 * buffer.C (readFile): Run the lyxconvert script in order to read
12083 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12087 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12089 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12093 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12095 2002-07-22 Herbert Voss <voss@lyx.org>
12098 * lyxlength.[Ch]: add support for the vertical lengths
12100 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12102 * toc.[Ch]: std:: fixes
12104 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12106 * lyxrc.C: do not include lyx_main.h
12108 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12114 * BufferView2.C: include "lyxlex.h"
12117 * bufferparams.h: do not #include "lyxlex.h"
12119 * lyxtextclasslist.C (Add): remove method
12120 (classlist): renamed to classlist_
12122 * paragraph_pimpl.C:
12126 * bufferview_funcs.C:
12131 * toc.C (getTocList): use BufferParams::getLyXTextClass
12133 * toc.C (getTocList): use InsetFloat::addToToc
12135 * toc.[Ch]: new files, containing helper functions to handle table
12138 * lyxfunc.C (dispatch): no need to remove spaces around command
12140 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12141 first command of the sequence; it is not very clever, but I do not
12142 have a better idea, actually
12144 * LyXAction.C (LookupFunc): make sure to remove space at the
12145 beginning and end of the command
12147 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12149 * MenuBackend.C (getMenubar): new method: return the menubar of
12151 (read): treat differently reading of menu and menubar (in
12152 particular, the menubar has no name now)
12153 (Menu::menubar): remove
12155 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12158 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12160 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12161 a bibitem inset in a RTL paragraph.
12163 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12165 * paragraph_pimpl.C: constify
12167 * BufferView_pimpl.C:
12169 * lyxfunc.C: fix dispatch in a nicer way
12171 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12173 * lyxfunc.C (dispatch):
12174 * BufferView_pimpl.C:
12175 * BufferView_pimpl.h:
12177 * BufferView.h: rename Dispatch() to dispatch()
12179 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12181 * lyxlayout.C (Read): honor DependsOn tag
12183 * lyxlayout.[Ch] (depends_on): new method
12185 * version.C.in: update lyx_docversion
12187 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12189 * paragraph.C (validate): remove from here...
12190 * paragraph_pimpl.C (validate): ... and move here
12191 (isTextAt): make it const
12193 * buffer.C (getLists): ws cleanup
12195 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12197 * language.C (read): Use iso8859-1 encoding in latex_lang
12198 (this prevents LyX from crashing when using iso10646-1 encoding).
12200 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12202 * text2.C (toggleInset): if cursor is inside an inset, close the
12203 inset and leave cursor _after_ it
12205 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12207 * lyxfunc.C: move minibuffer completion handling out of here
12209 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12211 * BufferView_pimpl.C:
12212 * LaTeX.C: fix dispatch calls
12214 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12216 * text.C (drawChars): Fix Arabic text rendering.
12218 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12222 * lyxfunc.C: remove message-push/pop
12226 * lyxfunc.C: rationalise some code by removing verboseDispatch
12227 in favour of a bool argument to dispatch()
12229 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12231 * lyx_main.C (init): make sure to read symlinks as absolute paths
12233 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12236 * lyxfunc.C: no need for commandshortcut to be a member
12238 2002-07-15 André Pönitz <poenitz@gmx.net>
12240 * converter.C: add support for $$s (scripts from lib/scripts dir)
12241 * lyx_main.C: white space
12243 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12247 * lyxrc.C: remove second exit confirmation
12249 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12254 * BufferView_pimpl.h:
12255 * BufferView_pimpl.C:
12256 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12258 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12260 * MenuBackend.C (expand): add numeric shortcuts to document menu
12262 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12264 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12266 * lyxfont.C (setLyXFamily):
12273 * buffer.C (asciiParagraph): use ascii_lowercase
12275 2002-07-15 Mike Fabian <mfabian@suse.de>
12277 * lyxlex_pimpl.C (search_kw):
12278 * lyxlex.C (getLongString):
12279 * converter.h (operator<):
12280 * converter.C (operator<):
12281 * buffer.C (parseSingleLyXformat2Token):
12283 * ToolbarDefaults.C (read):
12284 * MenuBackend.C (checkShortcuts):
12286 * LColor.C (getFromGUIName):
12287 (getFromLyXName): use the compare_ascii_no_case instead of
12288 compare_no_case, because in turkish, 'i' is not the lowercase
12289 version of 'I', and thus turkish locale breaks parsing of tags.
12291 2002-07-16 Angus Leeming <leeming@lyx.org>
12293 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12294 now takes a Buffer const & argument.
12296 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12298 * BufferView.C (resize): check there's a buffer to resize
12300 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12302 * lyxfunc.C: remove dead code
12305 * lyxserver.C: use lyx_guii::set_read_callback
12307 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12309 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12310 an inset in a RTL paragraph.
12312 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12314 * lyxfunc.C: repaint after a font size update
12316 2002-07-15 André Pönitz <poenitz@gmx.net>
12318 * lyxlength.C: inBP should be able to return negative values
12320 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12322 * lyxfunc.C: use lyx_gui::update_fonts()
12324 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12326 * lyxfunc.C: use lyx_gui::update_color()
12328 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12334 * lyxrc.C: remove file->new asks for name option, and let
12335 buffer-new take an argument
12337 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12339 * BufferView_pimpl.C: remove unneeded extra repaint()
12341 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12343 * LyXAction.C: allow command-sequence with NoBuffer
12345 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12347 2002-07-10 Angus Leeming <leeming@lyx.org>
12349 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12351 2002-07-09 Angus Leeming <leeming@lyx.org>
12353 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12355 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12357 * lengthcommon.h: whitespace
12359 * lyxfunc.C: update scrollbar after goto paragraph
12361 * lyxtext.h: factor out page break drawing, and fix it so
12362 page break/added space paints as selected nicely
12364 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12366 * BufferView_pimpl.C: add FIXMEs, clean up a little
12368 2002-07-09 André Pönitz <poenitz@gmx.net>
12370 * lyxfont.[Ch]: support for wasy symbols
12372 2002-07-08 André Pönitz <poenitz@gmx.net>
12374 * BufferView_pimpl.C: apply John's patch for #93.
12376 2002-07-05 Angus Leeming <leeming@lyx.org>
12378 * BufferView_pimpl.C (buffer): generate previews if desired.
12380 * LColor.h: add "preview" to the color enum.
12382 * LColor.C (LColor): add a corresponding entry to the items array.
12384 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12387 2002-07-05 Angus Leeming <leeming@lyx.org>
12389 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12390 The body of the code is now in the method that is passed an ostream &
12391 rather than a file name.
12392 Pass an additional only_preamble parameter, useful for the forthcoming
12395 2002-07-03 André Pönitz <poenitz@gmx.net>
12397 * lyxfunc.C: simplify getStatus() a bit for math stuff
12399 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12401 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12403 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12405 * text.C (changeRegionCase): do not change case of all the
12406 document when region ends at paragraph end (bug #461)
12408 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12410 * paragraph.C (startTeXParParams):
12411 (endTeXParParams): add \protect when necessary
12413 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12415 * BufferView_pimpl.C (workAreaExpose): remove warning
12417 2002-06-27 Angus Leeming <leeming@lyx.org>
12419 * Makefile.am: add lyxlayout_ptr_fwd.h.
12421 2002-06-26 André Pönitz <poenitz@gmx.net>
12423 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12425 2002-06-25 Angus Leeming <leeming@lyx.org>
12427 * lyxfunc.C (dispatch): Comment out the call to
12428 grfx::GCache::changeDisplay. The method no longer exists now that the
12429 pixmap generation part of the graphics loader has been moved into
12432 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12434 * text2.C: layout as layout
12436 * text.C: layout as layout
12438 * tabular.C (OldFormatRead): layout as layout
12440 * paragraph_pimpl.C (TeXDeeper): layout as layout
12441 (realizeFont): layout as layout
12443 * paragraph.C (writeFile): layout as layout
12444 (validate): layout as layout
12445 (getFont): layout as layout
12446 (getLabelFont): layout as layout
12447 (getLayoutFont): layout as layout
12448 (breakParagraph): layout as layout
12449 (stripLeadingSpaces): layout as layout
12450 (getEndLabel): layout as layout
12451 (getMaxDepthAfter): layout as layout
12452 (applyLayout): layout as layout
12453 (TeXOnePar): layout as layout
12454 (simpleTeXOnePar): layout as layout
12455 (TeXEnvironment): layout as layout
12456 (layout): layout as layout
12457 (layout): layout as layout
12459 * lyxtextclass.C (compare_name): new functor to work with
12460 shared_ptr, layout as layout
12461 (Read): layout as layout
12462 (hasLayout): layout as layout
12463 (operator): layout as layout
12464 (delete_layout): layout as layout
12465 (defaultLayout): layout as layout
12467 * lyxlayout_ptr_fwd.h: new file
12469 * lyxlayout.C (Read): layout as layout
12471 * lyx_cb.C (MenuInsertLabel): layout as layout
12473 * bufferlist.C (newFile): layout as layout
12475 * buffer.C (readLyXformat2): layout as layout
12476 (parseSingleLyXformat2Token): layout as layout
12477 (insertStringAsLines): layout as layout
12478 (asciiParagraph): layout as layout
12479 (latexParagraphs): layout as layout
12480 (makeLinuxDocFile): layout as layout
12481 (simpleLinuxDocOnePar): layout as layout
12482 (makeDocBookFile): layout as layout
12483 (simpleDocBookOnePar): layout as layout
12484 (getLists): layout as layout
12486 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12488 * CutAndPaste.C (cutSelection): layout as layout
12489 (pasteSelection): layout as layout
12490 (SwitchLayoutsBetweenClasses): layout as layout
12492 * BufferView_pimpl.C (Dispatch): layout as layout
12493 (smartQuote): layout as layout
12495 * BufferView2.C (unlockInset): layout as layout
12497 2002-06-24 André Pönitz <poenitz@gmx.net>
12499 * lyxfunc.C: fix #487
12501 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12505 * lyxfunc.C: remove display_shortcuts, show_banner
12507 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12509 * Buffer_pimpl.C: oops, update on resize
12511 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12518 * BufferView.C: use repaint()
12520 * BufferView_pimpl.h:
12521 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12522 as it's a clearer description. Remove superfluous
12525 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12527 * text.C: fix bug 488. Not ideal, but getting
12528 getWord() to work properly for the insets that
12529 matter is more difficult ...
12531 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12533 * BufferView_pimpl.C:
12536 * lyxfunc.C: remove the six million index lyxfuncs to just
12537 one, and DTRT (bug 458)
12539 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12543 * BufferView_pimpl.h:
12544 * BufferView_pimpl.C: clean up resize() stuff,
12545 and unnecessary updateScreen()s
12547 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12551 * BufferView_pimpl.h:
12552 * BufferView_pimpl.C:
12555 * minibuffer.C: remove focus management of workarea,
12556 not needed. Use screen's greyOut()
12558 2002-06-17 Herbert Voss <voss@lyx.org>
12560 * converter.C: (convert) do not post a message, when converting
12561 fails, let the calling function decide what to do in this case
12563 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12565 * lyxfunc.C: tidy up a little
12567 2002-06-16 <alstrup@diku.dk>
12569 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12570 Got rid of FORMS_H_LOCATION include. Now we are
12573 2002-06-15 LyX Development team <lyx@rilke>
12575 * buffer.[Ch] (sgmlOpenTag):
12576 (sgmlCloseTag): Added support for avoiding pernicious mixed
12577 content. Return number of lines written.
12579 (makeLinuxDocFile):
12580 (makeDocBookFile): Fixed calls to sgml*Tag.
12581 Simple white space clean.
12583 (simpleDocBookOnePar): Simple white space clean.
12585 * tabular.[Ch] (docBook): Renamed to docbook and got another
12586 argument to related with the pernicious mixed content.
12588 (docbookRow): Fixed calls for docbook inset method.
12590 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12592 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12593 so it's X11 independent.
12597 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12599 2002-06-15 Lyx Development team <lyx@electronia>
12601 * intl.h: Renamed getTrans to getTransManager.
12603 2002-06-14 Angus Leeming <leeming@lyx.org>
12605 * Makefile.am: nuke forgotten stl_string_fwd.h.
12607 2002-06-12 Angus Leeming <leeming@lyx.org>
12609 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12611 2002-06-13 Angus Leeming <leeming@lyx.org>
12614 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12616 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12618 * kbmap.C (getiso): add support for cyrillic and greek
12620 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12624 * BufferView_pimpl.h:
12625 * BufferView_pimpl.C: move bogus scrolling logic
12628 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12631 * BufferView_pimpl.C: view->resize() change
12633 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12635 * BufferView_pimpl.C: topCursorVisible
12638 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12642 * lyx_gui.C: move to frontends/
12646 * lyx_main.C: changes from above
12648 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12655 * lyx_main.C: minor tidy
12657 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12659 * BufferView_pimpl.h:
12660 * BufferView_pimpl.C:
12662 * BufferView.C: make painter() const,
12665 * BufferView2.C: use screen() accessor
12668 * lyx_main.C: some minor cleanup
12670 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12672 * BufferView_pimpl.h:
12673 * BufferView_pimpl.C: remove enter/leaveView,
12676 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12681 * BufferView_pimpl.h:
12682 * BufferView_pimpl.C: only construct screen once,
12685 * lyxrc.C: remove pointless comment
12687 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12690 * BufferView.C: remove active() and belowMouse()
12692 * BufferView_pimpl.h:
12693 * BufferView_pimpl.C: use workarea() not workarea_,
12694 and make it use a scoped_ptr instead
12696 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12698 * lyx_gui.C: add debug message on BadWindow
12700 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12702 * sp_spell.C: fdopen is not part of the C++ standard.
12704 * paragraph.C (InsetIterator): use >= instead of ==
12706 2002-06-07 Angus Leeming <leeming@lyx.org>
12708 Fixes needed to compile with Compaq cxx 6.5.
12709 * BufferView_pimpl.C:
12716 * lyxtextclasslist.C:
12721 all c-library variables have been moved into namespace std. Wrap
12722 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12727 Add a using std::abs declaration.
12729 * kbmap.h (modifier_pair):
12730 * paragraph.h (InsetTable, InsetList):
12731 * lyxfont.h (FontBits):
12732 type definition made public.
12734 * bufferlist.C (emergencyWriteAll): the compiler complains that
12735 there is more than one possible lyx::class_fun template to choose from.
12736 I re-named the void specialisation as lyx::void_class_fun.
12738 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12740 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12741 the compiler is is unable to find tostr in write_attribute.
12743 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12745 * buffer.C (sgmlError): hide #warning
12747 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12749 * xtl/*: get rid of xtl, which is not in use anyway
12751 * LyXAction.C (init):
12752 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12753 were unimplemented xtl experimentation
12755 2002-06-04 André Pönitz <poenitz@gmx.net>
12757 * lyxfunc.C: disable array operation on simple formulae
12759 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12761 * converter.C: constify a bit
12763 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12765 * lyx_gui.C: check xforms version correctly
12767 2002-04-30 Herbert Voss <voss@lyx.org>
12769 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12772 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12774 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12775 attempt to register it with a VCS)
12777 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12779 * lyx_main.C (init): honor variables LYX_DIR_13x and
12782 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12786 * lyx_main.C: fix a crash on bad command line,
12787 and give a useful exit status on error
12789 * lyxfunc.C (doImport): allow -i lyx to work
12791 2002-03-30 André Pönitz <poenitz@gmx.net>
12793 * lyxfunc.C: mathed font changes
12795 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12810 * trans_mgr.h: srcdocs, and some minor cleanups
12812 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12814 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12815 call getFont all the time)
12817 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12819 * switch from SigC signals to boost::signals
12821 2002-05-29 André Pönitz <poenitz@gmx.net>
12823 * paragraph_pimpl.C (getChar): don't call size() too often...
12825 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12827 * paragraph_pimpl.C (insertChar): do not try to update tables when
12828 appending (pos == size())
12830 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12831 in order to reduce drastically the number of comparisons needed to
12832 parse a large document
12834 2002-05-29 André Pönitz <poenitz@gmx.net>
12840 * textclasslist.[Ch]:
12841 * sp_ispell.h: whitespace change
12843 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12845 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12846 lyxaction directly now.
12848 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12852 * lyxvc.C: remove unused headers
12854 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12861 * undo_funcs.C: some cleanups. Use shared_ptr
12862 and a template for the undo stacks.
12864 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12866 * BufferView_pimpl.h:
12867 * BufferView_pimpl.C:
12874 * text2.C: use key_state/mouse_state
12876 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12878 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12881 * chset.C: change include order
12882 (loadFile): use boost regex and get rid of LRegex and LSubstring
12884 * Makefile.am (BOOST_LIBS): new variable
12885 (lyx_LDADD): use it
12887 * LaTeX.C: change include order.
12888 (scanAuxFile): use boost regex and get rid of LRegex and
12892 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12897 * FontInfo.C: moved to frontends/xforms/
12900 * FontLoader.C: moved into frontends for GUIIzation
12905 * lyxfunc.C: changes from above
12907 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12909 * LColor.C: remove spurious X include
12911 * BufferView_pimpl.C:
12916 * text2.C: move font metrics to frontends/
12918 2002-05-24 Juergen Vigna <jug@sad.it>
12920 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12921 setting the undo_cursor.
12923 * ParagraphParameters.h: include local includes first.
12925 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12927 * BufferView_pimpl.C:
12928 * BufferView_pimpl.h:
12932 * screen.C: move WorkArea into frontends/
12938 * BufferView2.C: move LyXScreen into frontends/
12942 * lyx_gui.C: move lyxlookup into frontends/xforms/
12944 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12947 * BufferView_pimpl.C:
12957 * bufferview_funcs.C:
12970 * vc-backend.C: move LyX/XFormsView into frontends/
12972 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12984 * text2.C: move Painter to frontends/
12986 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12988 * buffer.C: comment out some some code that depend upon lyx_format
12991 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12992 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12994 * buffer.h (NO_COMPABILITY): turn off compability
12996 * ColorHandler.C: include scoped_array.hpp
12998 * font.C: Use more specific smart_ptr header.
13001 * ShareContainer.h: ditto
13002 * lyx_main.h: ditto
13004 * FontInfo.h: ditto
13005 * BufferView_pimpl.h: ditto
13006 * ColorHandler.h: ditto
13008 * kbmap.C (defkey): change call to shared_ptr::reset
13010 2002-05-21 Juergen Vigna <jug@sad.it>
13012 * buffer.C (insertErtContents): fix to insert ert asis if it is
13013 non empty. Skip it completely if it contains only whitespaces.
13015 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13017 * BufferView_pimpl.C:
13018 * BufferView2.C: clear selection on paste (bug 393)
13020 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13022 * DepTable.C: include ctime
13024 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13026 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13028 2002-05-14 Juergen Vigna <jug@sad.it>
13030 * text.C (breakParagraph): fixed function to honor the keepempty
13031 layout in the right maner and also to permit the right breaking
13032 algorithm on empty or non empyt keepempty paragraphs.
13034 * paragraph.C (breakParagraph): we have to check also if the par
13035 is really empty (!size()) for isempty otherwise we do the wrong
13038 2002-05-10 Juergen Vigna <jug@sad.it>
13040 * buffer.[Ch] : The following are only changes to the ert
13041 compatibility read reading old LaTeX layout and font stuff and
13042 convert it to ERTInsets.
13044 * buffer.h: added isErtInset().
13046 * buffer.C (struct ErtComp): add a fromlayout bool to check
13047 if we're inside a LaTeX layout.
13048 (isErtInset): new helper function.
13049 (insertErtContents): look for other ert insets before this one
13050 and insert the contents there, so that we don't have subsequent
13051 ERT insets with nothing between them. This way we create only one
13052 inset with multiple paragraphs. Also check if we don't insert only
13053 spaces ' ' as they are ignored anyway afterwards in the .tex file
13054 so if we have only spaces we will ignore this latex part in the
13056 (parseSingleLyXformat2Token \\layout): better compatibility when
13057 reading layout-latex stuff.
13058 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13060 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13061 stuff after reading the inset only get the information back from
13064 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13066 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13068 * LaTeXFeatures.C (getBabelOptions): New method.
13070 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * BufferView_pimpl.C (Dispatch): work around missing argument for
13075 2002-05-08 Juergen Vigna <jug@sad.it>
13077 * text.C (leftMargin): handle paragraph leftindent.
13079 * paragraph.C (writeFile): write the new \\leftindent tag.
13080 (validate): handle leftindent code.
13081 (TeXEnvironment): handle paragraphleftindent code again.
13083 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13085 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13086 for paragrap_extra indent code and new token \\leftindent.
13087 (latexParagraphs): handle the leftindent as environment.
13089 * ParameterStruct.h: added leftindent support.
13091 * ParagraphParameters.C (leftIndent): added support functions for
13092 the paragraph left indent.
13094 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13097 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13099 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13102 * text.C (computeBidiTables): No bidi in insetERT.
13104 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13107 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13109 * version.C.in: pre 5
13111 2002-05-02 José Matos <jamatos@fep.up.pt>
13112 * buffer.C (makeDocBookFile): white space changes, add newline to
13114 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13116 * tabular.C (docBook): fix typo.
13118 2002-05-03 Juergen Vigna <jug@sad.it>
13120 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13121 change in LyXText as we can not be sure it was not freed.
13122 (drawOneRow): remove unused code.
13124 * text.C (drawInset): redo the calculation of the need_break_row as
13125 it could have a row which was already freed.
13126 (draw): look at the return value of drawInset and return false if
13127 it also returned false.
13128 (paintRowText): look at the return value of draw and return false if
13129 it also returned false.
13131 * lyxtext.h: added bool return type to drawInset() and draw() so that
13132 if we have a change in the row so that the rowbreak has to be redone
13133 we abort drawing as it will be called again.
13135 2002-05-02 Juergen Vigna <jug@sad.it>
13137 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13138 a change in the maintext also if we're inside an inset.
13139 (Dispatch): set the cursor again after a break line and after the
13140 screen has been updated as it could be we're in a different row.
13142 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13143 to set the cursor behind the pargraph with > size().
13144 (setCursor): check also for the same paragraph when checking where
13145 to put the cursor if we have a NFR inset.
13147 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13148 parts of layout read further up as it still was in the wrong
13151 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13153 * screen.C (drawFromTo): change sine fullRebreak always return
13156 * buffer.C (parseSingleLyXformat2Token): reindent some
13158 * BufferView_pimpl.C (update): change since fullRebreak always
13160 (Dispatch): git rid of the last hardcoded "Standard"s.
13162 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * text2.[Ch] (fullRebreak): make it return void now that we always
13167 2002-04-30 Juergen Vigna <jug@sad.it>
13169 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13170 ert compatibility check for "latex" layout.
13172 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13174 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13175 minipages: use col% instead of p%, and also use the current font.
13176 (makeLaTeXFile): Fix use babel condition.
13177 (parseSingleLyXformat2Token): Correct font when reading old floats.
13179 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13181 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13182 inserting list of floats.
13184 2002-04-25 Herbert Voss <voss@lyx.org>
13186 * MenuBackend.C (expand): don't add the graphics extensions to the
13189 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13191 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13192 non-existing layout, do not complain if it was the default layout
13193 of the original class (bug #342)
13195 2002-04-24 Juergen Vigna <jug@sad.it>
13197 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13198 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13200 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13202 * buffer.C (getBibkeyList): If using \bibliography, return the
13203 option field with the reference itself. Enables us to provide natbib
13204 support when using \bibliography.
13206 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13208 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13210 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13211 natbib is provided by the LaTeX class.
13213 2002-04-23 Juergen Vigna <jug@sad.it>
13215 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13218 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13220 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13222 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13224 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13225 ensuremath around textordmasculine, textordfeminine and
13228 2002-04-19 Juergen Vigna <jug@sad.it>
13230 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13231 reinitializing the buffer otherwise row-dimensions may be wrong.
13232 (update): reset also the selection cursors if they do exits otherwise
13233 their x/y positions may be wrong.
13235 * text2.C (cursorDown): don't enter the inset if we came from a row
13236 above and are one row over the inset.
13238 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13239 really leaving an inset.
13241 2002-04-18 Juergen Vigna <jug@sad.it>
13243 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13244 of the selected paragraph does not have the selected layout also if
13247 * text2.C (setLayout): fixed bug which did not change last selected
13250 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13251 changed the read and substituted \\end_float with \\end_inset!
13253 * BufferView_pimpl.C (cursorPrevious):
13254 (cursorNext): fixed to make it work with rows heigher than the work
13255 area without moving the cursor only the draw of the row.
13256 (workAreaMotionNotify): fix jumping over high rows.
13258 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13260 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13263 2002-04-16 Juergen Vigna <jug@sad.it>
13265 * text2.C (setCursor): set also the irow().
13266 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13268 (cursorDown): support for locking an inset if the x_fix value goes
13269 inside it. That way I can transverse insets too with cursor up/down.
13271 * lyxrow.h: added irow helper function same as other (i) functions.
13273 * BufferView_pimpl.C (cursorPrevious):
13274 (cursorNext): fixed for insets!
13276 2002-04-15 Juergen Vigna <jug@sad.it>
13278 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13279 position otherwise it is wrong in some cases.
13281 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13282 inside the inset before the call.
13284 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13286 * buffer.[Ch] (getBibkeyList): make it const.
13288 2002-04-12 Juergen Vigna <jug@sad.it>
13290 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13292 * text2.C (getCursorX): new helper function
13293 (setCursor): compute also ix_
13294 (setCursorFromCoordinates): set also ix.
13296 * lyxcursor.h: added ix_ and helper functions.
13298 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13300 * buffer.C (insertStringAsLines): dont break paragraph if the this
13301 paragraph is inside an inset which does not permit it!
13303 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13304 also with no chars on this paragraph.
13305 (paintRowText): only paint stuff if it's inside the workarea!
13307 * paragraph.C (breakParagraph): honor keepempty flag and break the
13308 paragraph always below not above.
13310 * BufferView2.C (unlockInset): update the paragraph layout on inset
13311 unlock as we changed paragraph in such a case.
13313 * lyxfind.C (LyXFind): clear the former selection if not found!
13315 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13316 again called in insertChar().
13318 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13319 an inset which uses the whole row!
13320 (rightMargin): ditto.
13321 (insertChar): force a rebreak if we inserted an inset!
13323 2002-03-28 Herbert Voss <voss@lyx.org>
13325 * lyxlength.[Ch]: add inBP() to get the right PS-point
13326 units (BigPoint). With inPixels we have rounding errors
13328 2002-04-11 Juergen Vigna <jug@sad.it>
13330 * text2.C (setCursorFromCoordinates): set iy to the right value.
13331 (setCursor): add check if row->previous exists!
13333 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13334 an old float_type as this was the case in the old code!
13336 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13338 * BufferView2.C (showLockedInsetCursor): use iy
13339 (fitLockedInsetCursor): ditto
13341 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13342 locked insets as there we have the right value now.
13344 * lyxcursor.C: added iy_ variable and iy functions to set to the
13345 baseline of cursor-y of the locked inset.
13347 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13348 (setCursor): fixed for insets which need a full row.
13350 * text.C (rowLastPrintable): don't ignore the last space when before
13351 an inset which needs a full row.
13352 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13353 as last character of a row when before a inset which needs a full row.
13355 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13357 * version.C.in: update date
13359 * text2.C (fullRebreak): try to always return true and see what
13362 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13364 * MenuBackend.C (expand): use Floating::listName
13366 * FloatList.C (FloatList): add listName argument to the built-in
13369 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13370 text associated with the float.
13372 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13374 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13376 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13378 * ShareContainer.h: add a couple of missing typenames.
13380 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13382 * lyxrc.C (getDescription): use _() correctly rather than N_().
13384 2002-03-28 Herbert Voss <voss@lyx.org>
13386 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13387 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13389 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13391 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13392 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13394 2002-03-29 Juergen Vigna <jug@sad.it>
13396 * lyxfunc.C (dispatch): add a missing fitCursor call.
13398 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13399 it was scrolled by a cursor move, so return the bool status.
13401 * BufferView.C (fitCursor): return the bool flag also to the outside
13402 world as this is needed.
13404 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13406 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13407 call the edit() as it is not needed (and wrong) IMO.
13408 (workAreaButtonPress): set the screen_first variable before evt.
13409 unlock the inset as this may change screen_first and then we have
13410 a wrong y position for the click!
13412 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13414 * MenuBackend.C (expand): another translation that I missed
13416 2002-03-28 Juergen Vigna <jug@sad.it>
13418 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13420 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13422 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13424 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13426 * MenuBackend.C (expand): fix export/view/update when there is no
13429 2002-03-27 Herbert Voss <voss@lyx.org>
13431 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13434 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13436 * bufferview_funcs.C (currentState): only show paragraph number
13437 for is DEVEL_VERSION is set.
13439 * lyxfunc.C (dispatch): put warning in INFO channel
13441 * MenuBackend.C (expand): translate the name of floats
13443 * FloatList.C (FloatList): mark the float names for translation
13445 * converter.C (convert): use LibScriptSearch
13447 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13449 * MenuBackend.C (defaults): fix default menu (we might as well get
13452 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13454 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13457 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13459 * lyxvc.C: reorder includes.
13461 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13463 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13466 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13468 * CutAndPaste.C: change layouts earlier on paste
13469 to avoid crashing when calling getFont()
13471 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13473 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13476 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13478 * WorkArea.C: remove 'Pending' debug message.
13480 * most files: ws cleanup
13482 * buffer.[Ch]: ws changes
13484 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13486 2002-03-21 Juergen Vigna <jug@sad.it>
13488 * tabular.C (SetMultiColumn): collapse also the contents of the
13489 cells and set the last border right. Added a Buffer const * param.
13491 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13493 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13496 2002-03-19 Juergen Vigna <jug@sad.it>
13498 * text2.C (clearSelection): reset also xsel_cache.
13500 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13501 where it needs to be called (John tells us to do so too :)
13502 (selectionLost): reset sel_cache.
13504 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13506 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13508 * text2.C (setCursorIntern): put debuging code in INSETS channel
13510 2002-03-19 André Pönitz <poenitz@gmx.net>
13512 * lyxfunc.C: tiny whitespace change
13514 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13516 * ToolbarDefaults.C (init):
13517 * LyXAction.C (init):
13519 * BufferView_pimpl.C (Dispatch):
13520 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13522 2002-03-19 Allan Rae <rae@lyx.org>
13524 * exporter.C (Export): removeAutoInsets before doing anything else.
13525 While I've just introduced a dependency on BufferView this really is
13526 the best place to clean the buffer otherwise you need to cleanup in
13527 a dozen places before calling export or cleanup in a dozen functions
13530 * converter.C (runLaTeX):
13531 (scanLog): Better handling of removeAutoInsets and screen updates.
13533 * lyxfunc.C (dispatch): small whitespace changes
13535 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13537 * WorkArea.C (C_WorkAreaEvent): return a value.
13538 (event_cb): return 1 if we handled the event, 0 otherwise.
13540 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13542 2002-03-18 Juergen Vigna <jug@sad.it>
13544 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13545 (GetAdditionalWidth): ditto.
13546 (RightLine): ditto.
13549 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13550 inset if we're there actually (probably not used right now but this
13551 is the direction to go for unifying code).
13552 (paste): disable code to clear the selection.
13554 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13555 inside an InsetText and move the check further up as it is in the
13558 * text2.C (pasteSelection): set a selection over the pasted text.
13560 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13562 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13563 and libgraphics to build on Cygwin.
13565 2002-03-15 Juergen Vigna <jug@sad.it>
13567 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13568 inserting an Inset into the paragraph. I know this is not the best
13569 fix but we already use current_view in CutAndPaste so we will remove
13570 all of it's using at the same time.
13572 * buffer.C (sgmlError): deactivated function till it is rewritten in
13573 the right mode, now it can create problems.
13575 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13576 before accessing it.
13578 2002-03-14 Juergen Vigna <jug@sad.it>
13580 * undo_funcs.C (textHandleUndo): do the right thing when updating
13581 the inset after the undo/redo.
13583 * text2.C (setCursor): just some testcode for #44 not ready yet.
13585 * undo_funcs.C (textHandleUndo): set the next() and previous()
13586 pointers of the paragraph to 0 before deleting otherwise we have
13587 problems with the Paragraph::[destructor].
13589 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13590 on a paragraph insertion.
13592 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13594 * buffer.C (asciiParagraph): use += operator for char append to
13597 * paragraph.C (getFontSettings): compare >= not just >
13598 (highestFontInRange): ditto
13601 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13603 * paragraph.C: change several algorithm to be more appripriate for
13604 the problem domain. This is lookip in FontList and in the InsetList.
13606 2002-03-13 André Pönitz <poenitz@gmx.net>
13609 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13611 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13616 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13618 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13620 * Painter.C (display): anon helper function, adjust code for this
13622 (pixmap): remove function.
13624 * Painter.h: remove private display variable.
13626 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13628 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13630 * WorkArea.[Ch]: remove figinset_canvas cruft.
13632 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13634 * lyxtextclass.C (operator): add one item cache optimization.
13636 * bufferlist.h: doxy changes
13638 * bufferlist.C: ws changes
13640 * DepTable.[Ch] (ext_exist): place const in the right spot.
13642 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13644 (workAreaExpose): call resizeInsets when the with BufferView changes.
13645 (Dispatch): adjust for protectedBlank removal
13646 (specialChar): call updateInset if the insert went ok.
13648 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13649 specialChar instead.
13651 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13653 * BufferView.h: doxy change
13655 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13657 * lyxtextclass.C (operator[]): remove non-const version
13658 (defaultLayout): remove non-const version
13660 2002-03-12 Juergen Vigna <jug@sad.it>
13662 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13663 did resize the LyXText too.
13665 * buffer.C (readLyXformat2): set layout information on newly allocated
13668 * tabular.C (OldFormatRead): set layout information on the paragraph.
13670 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13672 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13674 2002-03-11 Juergen Vigna <jug@sad.it>
13676 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13678 (resizeCurrentBuffer): force also the insets to resize themselfes.
13679 (moveCursorUpdate): fixed up for InsetText.
13681 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13684 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13685 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13686 value of Dialogs::tooltipsEnabled().
13687 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13689 2002-03-08 Juergen Vigna <jug@sad.it>
13691 * BufferView_pimpl.C (updateInset): update inset inside inset also
13692 if it isn't inside theLockingInset().
13694 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13696 * buffer.C (asciiParagraph): redo some of the word and line length
13698 (getLists): look for Caption instead of caption.
13700 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13702 * buffer.C (Buffer): initialize niceFile to true
13704 (makeLinuxDocFile):
13705 (makeDocBookFile): make sure niceFile is true on exit
13707 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13709 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13711 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13713 * LyXSendto.C: remove.
13714 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13715 * lyx_gui.C: remove now-redundant comment.
13716 * ColorHandler.h: remove forward declaration of class WorkArea.
13717 * lyxfunc.C: remove #include "WorkArea.h".
13719 2002-03-07 Juergen Vigna <jug@sad.it>
13721 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13722 got moved away with the DEPM and also set the inset_owner always
13723 right which before could have been omitted.
13725 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13727 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13728 wanted layout is not found.
13730 2002-03-07 Juergen Vigna <jug@sad.it>
13732 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13734 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13736 * paragraph.C (breakParagraph): use default layout not layout of
13738 (Paragraph): clear ParagraphParameters.
13740 2002-03-06 Juergen Vigna <jug@sad.it>
13742 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13743 otherwise it would not be a valid lenght. Fixed a special case in
13744 the minipage compatibility read where we end the document with a
13747 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13748 was set as it could be 0 for InsetTexts first entry.
13750 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13752 * paragraph.C (writeFile): if layout is empty write out
13753 defaultLayoutName().
13755 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13756 file without named layout we set layout to defaultLayoutName().
13758 2002-03-06 Juergen Vigna <jug@sad.it>
13760 * CutAndPaste.C (copySelection): set layout for new paragraph.
13762 * text.C (prepareToPrint): leave ERT inset left aligned
13763 (leftMargin): don't indent paragraphs inside ERT insets
13765 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13767 * paragraph.C (breakParagraph): dont call clear do the work manually
13769 * paragraph.[Ch] (clear): remove function
13771 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13773 * paragraph.C (Paragraph): dont call clear, the work has already
13776 * lyxtextclass.C (operator): assert if n is empty
13778 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13779 work manually instead.
13781 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13783 * BufferView_pimpl.C: protect selectionLost against text == 0
13785 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13787 * text.C (breakParagraph): fix a setting layout to '0' problem.
13789 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13791 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13792 final location of file, for the included files, and graphics.
13794 2002-03-05 Juergen Vigna <jug@sad.it>
13796 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13798 2002-03-04 Juergen Vigna <jug@sad.it>
13800 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13802 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13803 last column of multicolumn cells.
13804 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13806 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13808 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13809 file if it doesn't go to a temporary file.
13811 * buffer.C (sgmlOpenTag):
13812 (sgmlCloseTag): remove extra newline insertion.
13814 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13816 * text.C (getRowNearY): comment out debug msg
13818 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13820 * text2.C: first -> first_y
13822 * text.C (getRowNearY): add some attemts at a possible
13823 optimization, not working.
13825 * tabular.[Ch]: add BufferParams to several function so that newly
13826 created paragraph can be initialized to he default layotu for the
13829 * tabular-old.C (ReadOld): add buf->params to call of Init
13831 * screen.C: rename text->first to text->first_y
13833 * paragraph.C (breakParagraph): always set layout in the broken
13836 * lyxtextclass.C (Read): remove lowercase
13839 (delete_layout): ditto
13841 * lyxtext.h: rename first -> first_y
13843 * lyxlayout.C (Read): remove lowercase
13846 (obsoleted_by): ditto
13848 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13850 * buffer.C (insertErtContents): add params are to InsetERT
13851 (parseSingleLyXformat2Token): add code to check if a paragraphs
13852 layout really exist.
13853 (parseSingleLyXformat2Token): add params to several inset
13855 (asciiParagraph): remove lowercase, do the layout comparisons with
13858 * BufferView_pimpl.C (cursorNext): first -> first_y
13859 (resizeCurrentBuffer): first -> first_y
13860 (updateScrollbar): first -> first_y
13861 (scrollCB): first -> first_y
13862 (workAreaMotionNotify): first -> first_y
13863 (workAreaButtonPress): first -> first_y
13864 (checkInsetHit): first -> first_y
13865 (cursorPrevious): first -> first_y
13866 (cursorNext): first -> first_y
13867 (Dispatch): add buffer_->params to severl inset contructors
13869 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13871 * lyxlayout.C (Read): remove some debug info that I forgot.
13873 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13874 clean up the code slightly.
13875 (makeLinuxDocFile): ditto
13876 (makeDocBookFile): ditto
13878 * text2.C: layout as string
13880 * text.C: layout as string
13882 * paragraph_pimpl.C: layout as string
13884 * paragraph.[Ch]: layout as string
13886 * lyxtextclasslist.[Ch]: layout as string
13888 * lyxtextclass.[Ch]: layout as string
13890 * lyxtext.h: layout as string
13892 * lyxlayout.[Ch]: layout as string
13894 * lyx_cb.C: layout as string
13896 * bufferview_funcs.C: layout as string
13898 * bufferparams.C: layout as string
13900 * buffer.C: layout as string
13902 * LyXView.[Ch]: layout as string
13904 * LaTeXFeatures.[Ch]: layout as string
13906 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13908 * BufferView_pimpl.C: change current_layout to string, remove
13913 (workAreaButtonRelease): layout as string
13915 * BufferView2.C (unlockInset): adjust
13917 * vspace.C (asLatexCommand): use an explict temp variable.
13919 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13921 * Makefile.am: use FRONTEND_*
13923 2002-03-01 Juergen Vigna <jug@sad.it>
13925 * tabular.C (SetWidthOfMulticolCell): changed to something better
13926 I hope but still work in progress.
13927 (recalculateMulticolumnsOfColumn): renamed function from
13928 recalculateMulticolCells as it is more appropriate now.
13929 (SetWidthOfCell): calculate multicols better.
13931 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13933 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13935 * lyxfunc.C (processKeySym): print sequence also if it is
13936 `deleted' (complete)
13938 * kbsequence.C (print): print sequence even if it is deleted
13939 (complete would be a better word, actually).
13941 * lyxfunc.C (dispatch): print complete options after a prefix key
13943 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13945 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13947 * text2.C (setCharFont): eliminate setCharFont code duplication.
13949 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13951 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13952 LFUN_TABULAR_FEATURE (bug #177)
13954 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13956 * Makefile.am: remove figure.h
13958 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13960 * Bufferview_pimpl.C:
13972 * text2.C: remove #include "lyx_gui_misc.h".
13974 * LaTeX.C: added #include <cstdio>
13976 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13978 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13979 that the paragraph following this one can have.
13981 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13983 * vspace.C (asLatexCommand): fix bogus gcc warning
13985 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13987 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13989 * text2.C (setLayout): get rid of redundant code
13991 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13993 * text2.C (incDepth): make sure depth cannot be increased beyond
13996 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13998 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13999 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14001 * PainterBase.h (image):
14002 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14003 a LyXImage const *.
14005 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14009 * BufferView_pimpl.C:
14010 * BufferView_pimpl.h:
14030 * sp_spell.C: remove fig inset, and the crap house of
14031 cards that follows it
14033 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14038 * os2_errortable.h:
14039 * nt_defines.h: move .h into support/
14041 * vms_defines.h: remove
14043 * WorkArea.C: add space in debug output
14047 * buffer.C: add WITH_WARNINGS
14051 * bufferlist.C: s/retrive/retrieve/, add docs
14060 * chset.C: add docs
14062 * lyxgui.C: add ID to X error handler
14064 * lyxtestclass.c: fix typo
14066 2002-02-26 Juergen Vigna <jug@sad.it>
14068 * tabular_funcs.C (write_attribute): changed so that some default
14069 attributes are not written at all.
14070 (getTokenValue): set default values before trying to read the
14071 value so we have the return value always set as default if we don't
14072 find the token we search for.
14074 * tabular.C (Write): write bools as bools not as strings!
14076 2002-02-22 Juergen Vigna <jug@sad.it>
14078 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14079 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14081 * text.C (leftMargin): don't add an indent for paragraphs inside
14082 tabular cells (fix #208).
14084 2002-02-21 José Matos <jamatos@fep.up.pt>
14086 * tabular.C (docBook): fixed support for long tables.
14088 2002-02-20 Juergen Vigna <jug@sad.it>
14090 * text2.C (getFont): get the drawing font of the Inset if this
14091 paragraph is inside an inset (only important for InsetERT for now).
14093 * buffer.C (insertErtContents): use new lanugage params in ERT
14096 * CutAndPaste.C: commenting out seemingly uneeded code.
14098 2002-02-19 Allan Rae <rae@lyx.org>
14100 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14101 Iterators might be simple to use but they also get invalidated.
14102 (removeAutoInsets): renamed saved cursor tracking variables and added
14103 some comments to clarify what everything does.
14105 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14112 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14113 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14116 * vc-backend.h: remove #include "support/syscall.h"
14120 * converter.C: rearrange #includes in Lars' approved fashion.
14122 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14123 forward declare class Timeout in the header file.
14125 * XFormsView.C: changes due to the above.
14127 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14128 similar to LyXView.
14130 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14131 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14133 2002-02-18 José Matos <jamatos@fep.up.pt>
14135 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14138 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14140 * a lot of small ws changes
14141 * add a lot of using std::XXX
14142 * use std construcs some places where approp.
14143 * use some exisint stuff from lyxfunctional where approp.
14144 * Make file changes to use partial linking (lets test this now...)
14146 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14150 remove #include "support/syscontr.h" as it's redundant. Always has been.
14158 change Systemcalls::System to Systemcalls::Wait and
14159 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14160 No change of functionality, just reflects the stripped down Systemcalls
14163 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14165 * debug.[Ch]: add a GRAPHICS type to the enum.
14167 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14169 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14171 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14174 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14176 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14177 match the changes below.
14179 * text2.C (toggleInset): if there is not editable inset at cursor
14180 position, try to see if cursor is _inside_ a collapsable inset
14183 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14185 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14186 document menu has a nice checkbox
14188 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14190 * lyxlength.C (asLatexString): change PW to output as percent of
14193 * lengthcommon.C: change '%' to 't%'
14195 * lyxfunc.C (dispatch): a few comments from Martin
14197 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14201 * BufferView_pimpl.h:
14202 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14205 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14207 * vspace.C (inPixels): fix compiler warning
14209 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14211 * lyxfunc.C (getStatus): fix status message for disabled commands.
14213 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14215 * BufferView_pimpl.C: fix crash on close buffer
14216 during selection (#227)
14218 2002-01-27 Herbert Voss <voss@lyx.org>
14220 * buffer.C: link old Figure to new graphic inset
14222 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14224 * FontLoader.C (getFontinfo): Change the latex font names in order
14225 to match the names of type1inst.
14227 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14229 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14231 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14232 (extchanged): ditto
14234 (remove_files_with_extension): ditto
14235 (remove_file): ditto
14238 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14239 document is smaller than the work area height. Do not initialize
14240 static variables to 0.
14242 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14244 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14246 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14247 LFUN_LAYOUT_PARAGRAPHS.
14249 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14250 tabular. It is possible to provide a possible cell, which will
14251 typically be the actcell from the corresponding insettabular
14253 * lyxfunc.C (getStatus): small cleanup; disable
14254 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14257 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14259 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14261 * paragraph.C (startTeXParParams):
14262 (endTeXParParams): new methods. The LaTeX code to
14263 start/end paragraph formatting
14264 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14265 empty (fixes bug #200)
14267 * vspace.C (inPixels): adapt to the change below
14268 (inPixels): [later] more cleanups (remove unused variables)
14270 * lyxlength.C (inPixels): change to use a width and a height as
14273 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14275 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14276 Replaced with \paperwidth
14278 * DepTable.C (insert): add std:: qualifier
14280 2002-01-18 Allan Rae <rae@lyx.org>
14282 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14285 * text.C (drawInset): Turned out I didn't know enough about how
14286 rebreaking worked. This fixes most of the redraw problems. I see
14287 an occasional cursor trail when a line is broken now and the cursor
14288 placement can seem out by a few pixels also after a rebreak.
14290 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14292 * buffer.C (parseSingleLyXformat2Token): update because minipage
14293 width is now a LyXLength
14295 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14297 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14300 2002-01-17 Juergen Vigna <jug@sad.it>
14302 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14304 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14305 is set correctly and the inset is updated correctly.
14307 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14309 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14310 the beginning of the loop.
14312 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14314 * lyxrc.C: improve help for use_scalable_fonts
14316 2002-01-17 Allan Rae <rae@lyx.org>
14318 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14320 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14322 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14323 make sure to set their inset_owner to the right value (bug #171)
14325 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14328 * DepTable.C: Implement mtime checking to reduce time spent doing
14331 2002-01-16 Juergen Vigna <jug@sad.it>
14333 * tabular.C (GetAdditionalHeight): one of error fixed.
14335 * lyxrc.C (output): small fix in writing use_pspell.
14337 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14339 * sp_base.h: #include LString.h
14341 2002-01-16 Allan Rae <rae@lyx.org>
14343 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14344 Can someone check this please?
14346 * text.C (drawInset): It was possible that p.row would be removed by
14347 breakAgainOneRow upsetting a few other settings. There may be another
14348 small tweak possible by setting need_break_row = 0 when p.row has been
14349 removed but I don't know enough about the logic here.
14351 2002-01-15 Allan Rae <rae@lyx.org>
14353 * text.C (insertChar): removed conditional truism.
14355 * BufferView2.C (removeAutoInsets): More tweaks.
14356 cur_par_prev could be a stray pointer. Check for trailing empty line
14357 in case last line was cur_par and only had an error inset on it.
14359 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14361 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14364 * vc-backend.C (most methods):
14365 * exporter.C (Export):
14366 * converter.C (convert):
14368 * LyXSendto.C (SendtoApplyCB):
14369 * lyxfunc.C (dispatch):
14373 * lyx_cb.C (AutoSave):
14375 * BufferView_pimpl.C (MenuInsertLyXFile):
14376 * buffer.C (runChktex): use Buffer::filePath().
14378 * buffer.h: rename filename to filename_; rename filepath to
14379 filepath_ and make it private
14380 (filePath): new method
14382 * buffer.C (writeFile): use fileName()
14385 * lyx_main.C (init): fix starting of LyX when the binary is a
14386 link from so,ewhere else.
14388 * minibuffer.C: include <cctype> for isprint
14390 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14392 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14393 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14394 name clash with InsetCollapsable's width function.
14396 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14398 * lastfiles.C: include <iterator>
14400 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14402 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14405 * buffer.C (makeLaTeXFile): ditto.
14406 Also make loop operation more transparent.
14408 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14410 * ToolbarDefaults.C: remove trailing comma closing namespace.
14412 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14414 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14417 * trans.C (Load): comment out unused variable, allowed.
14419 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14421 * minibuffer.[Ch] (append_char): new method to recieve input from the
14422 drop-down completion browser. If a key was pressed, then recieve this
14423 char and append it to the existing string.
14424 (peek_event): modify the positioning data passed to the completion
14425 browser so that it can be placed above the minibuffer rather than below.
14426 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14428 * LyXAction.C (init): alloe error-next for readonly documents.
14430 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14433 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14435 * bufferlist.C (readFile): create the buffer _after_ checking that
14438 * lyxfunc.C (verboseDispatch): fix handling of arguments
14440 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14442 * lyxrc.C: use string::erase() instead of initializing to "".
14445 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14447 * BufferView_pimpl.h:
14448 * BufferView_pimpl.C:
14451 * text2.C: tell X when we have made a selection for copying
14453 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14455 * BufferView_pimpl.C (MenuInsertLyXFile):
14456 * lyxfunc.C (menuNew):
14458 (doImport): add shortcuts to directory buttons
14460 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14463 * lyxfunc.C (setStatusMessage):
14464 (getStatusMessage): new methods
14465 (getStatus):use setStatusMessage instead of setErrorMessage
14466 (dispatch): when function is disabled, set error message here
14467 [instead of in getStatus previously]
14469 * BufferView_pimpl.C (workAreaButtonRelease): update
14470 toolbar/menubar here too.
14472 2002-01-13 Allan Rae <rae@lyx.org>
14474 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14475 Now seems indestructible. Remaining task is to audit all other
14476 code affected by deleteEmptyParagraphMechanism. One small quirk
14477 left is that an empty document with an error in the preamble can
14478 be made to report an error but no error box appears. I don't know
14480 (removeAutoInsets): Improved comments.
14482 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14485 * Thesaurus.C: update for Aiksaurus 0.14
14487 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14489 * text2.C (firstParagraph): removed member function, all uses
14490 replaces with ownerParagraph
14491 (redoParagraphs): here
14492 (updateInset): here
14493 (toggleAppendix): here
14494 * BufferView2.C (insertErrors): here
14495 (setCursorFromRow): here
14497 2002-01-13 Allan Rae <rae@lyx.org>
14499 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14500 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14501 There is still a way to segfault this although you may have to do this
14502 multiple times: Have an InsetERT with an unknown command in it.
14503 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14504 <down-arrow>, <Enter> again, View->DVI, BANG!
14506 * text2.C (setCursor):
14507 (deleteEmptyParagraphMechanism):
14508 * lyxtext.h (setCursor):
14509 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14510 Making use of the return value may help fix other bugs.
14512 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14514 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14516 * LyXView.C (updateMenubar): call MenuBar::update here
14517 (updateToolbar): but not here
14518 (showState): do not update toolbar/menubar
14520 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14521 should need to care about that.
14523 * lyxfunc.C (verboseDispatch): simplify a bit
14524 (getStatus): have a version which takes a pseudoaction, and
14525 another which requires a (kb_action,string).
14527 * LyXAction.C (retrieveActionArg): make it work also when action
14528 is not a pseudo-action.
14529 (getActionName): simplify a bit
14532 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14534 * lyxfunc.C (verboseDispatch): new families of methods with
14535 several ways to specify a command and a bool to indicate whether
14536 the command name and shortcut should be displayed in minibuffer
14537 (eventually, we could extend that to a finer bitmask like
14538 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14539 (dispatch): the pristine dispatch command which just, well,
14540 dispatchs! Note it still sets its result to minibuffer; I'm not
14543 * lyxfunc.h: remove setHintMessage
14545 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14547 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14549 * BufferView_pimpl.C (specialChar): delete new inset if we have
14550 not been able to insert it.
14552 * kbmap.C: revert to using int instead of kb_action, since all we
14553 are dealing with is pseudo-actions.
14555 * LyXAction.C (searchActionArg): change to return int instead of
14556 kb_action, since the result is a pseudoaction.
14558 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14560 * buffer.C (insertErtContents): Fix (partially) the font bug.
14562 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14564 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14565 as the other one is broken on my machine!
14567 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14570 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14572 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14574 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14575 reflect their actual use. Provide compatibility code for older lyxrc
14578 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14580 change names of popup font variables in line with the changes to lyxrc.C
14582 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14584 * buffer.C (asciiParagraph): avoid outputing a word twice after
14587 * lyxrc.C (getDescription): document that document_path and
14588 template_path can be empty.
14590 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14592 * LaTeXFeatures.C (getMacros):
14593 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14595 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14597 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14599 (getPackages): rename feature "floats" to "float". Use an array to
14600 iterate over 'simple' features (i.e. just a \usepackage). Add
14601 handling of "amsmath" (renamed from "amsstyle").
14603 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14605 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14608 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14610 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14611 FuncStaus::FuncStatus & FuncStaus::some_method().
14613 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14615 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14616 of the func_satus stuff. Edited and massaged in various ways by
14619 * lyxfunc.C (getStatus): use FuncStatus
14621 2002-01-08 Juergen Vigna <jug@sad.it>
14623 * text.C (nextBreakPoint): use function Inset::isChar().
14625 * paragraph.C (TeXOnePar): use function
14626 Inset::forceDefaultParagraphs.
14628 * buffer.C (latexParagraphs): use function
14629 Inset::forceDefaultParagraphs.
14631 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14633 * lyx_gui.C (init): set the style of the menu popups to
14634 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14636 2002-01-07 Juergen Vigna <jug@sad.it>
14638 * text.C (setHeightOfRow): small fix
14639 (prepareToPrint): don't look at alignment if we don't have the place
14642 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14644 * box.C: New file. Move the Box methods and functions out of box.h,
14645 following Lars' suggestion.
14647 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14649 * box.h: #include "support/LOstream.h", needed for inlined function.
14652 * lyxtextclasslist.C: added some using std declarations.
14654 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14656 * box.h: make signed dimensions to allow insets wider than
14657 the screen (bug #162)
14659 * BufferView_pimpl.C: add some insetHit debug
14661 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14663 * vc-backend.C: add FIXME
14665 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14667 * lyxfunc.C (getStatus): enable code for showing math font status
14670 2002-01-07 Juergen Vigna <jug@sad.it>
14672 * text.C (nextBreakPoint): removed debug output not needed anymore.
14674 2002-01-06 Juergen Vigna <jug@sad.it>
14676 * text.C (nextBreakPoint): fixed up this function we had this bug
14677 since ever but now hopefully we break row better.
14678 (insertChar): we have to check if an inset is the next char as it
14679 could now happen that a large inset is causing a break.
14681 2002-01-05 Juergen Vigna <jug@sad.it>
14683 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14684 if it doesn't like to be drawed.
14686 2002-01-04 Juergen Vigna <jug@sad.it>
14688 * BufferView2.C (lockInset): forgot to set a cursor.
14690 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14692 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14694 * FormMathsPanel.C:
14697 * form_maths_panel.C:
14698 * form_maths_panel.h:
14699 * form_maths_panel.fd: implemented sub- and super- buttons in math
14702 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14703 (or ^ space) to be used as in TeX (req'd by Andr�.
14705 * lyxfunc.C: Allow ^ and _ again to be used both as
14706 super/subscript (mathed) and as themselves (in text).
14708 2002-01-03 Allan Rae <rae@lyx.org>
14710 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14711 "LyX" or the filename of the current buffer if it has one. This is a
14712 modified form of John Levon's patch.
14714 * XFormsView.C (setWindowTitle): also set icon title.
14716 * LyXView.h (setWindowTitle): signature changed.
14717 * XFormsView.h (setWindowTitle): ditto.
14719 2002-01-02 Juergen Vigna <jug@sad.it>
14721 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14723 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14725 * screen.C (topCursorVisible): introduce a temp var for
14726 text->cursor.row(), handle the case where this row is null. (kindo
14729 * text2.C (setCursor): add a couple of asserts.
14731 * paragraph.h (inset_iterator): add -> operator
14733 * paragraph.[Ch] (autoDeleteInsets): remove member function
14735 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14736 cursor pos correctly and handle inset deletion by itself.
14737 (insertErrors): move iterator declaration out of for expression
14739 * lyxtextclass.C: add <algorithm>
14741 * Makefile.am: added the new files to sources, removed layout.C
14743 * layout.C: removed file
14745 * layout.h: remove LYX_DUMMY_LAYOUT
14747 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14751 * lyxtextclass.[Ch]:
14752 * lyxtextclasslist.[Ch]: new files
14754 * include order changes to a lot of files, also changes because of
14757 2001-12-27 Juergen Vigna <jug@sad.it>
14759 * buffer.C (asciiParagraph): more fixes.
14761 * tabular.C (ascii): make ascii export support export of only the
14762 data separated by a column-delimiter.
14763 (ascii): better support for ascii export.
14765 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14767 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14769 * tabular_funcs.C: use a "using std::getline" instead of the
14770 previous fix from Angus (necessary for cxx + lyxstring)
14772 2001-12-24 Juergen Vigna <jug@sad.it>
14774 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14776 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14777 problems. First check a minipage also if we have some ert-contents
14778 (not only on par->size(), second set the right depth of the paragraph
14779 on the relink to the root-paragraph-list!
14781 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14782 which then did not anymore update the main paragraphs on undo/redo!
14784 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14786 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14787 code. Support all font-changing funcs (even those which are not in
14788 menu currently). Support for reporting font settings in
14789 mathed (disabled until Andre provides a function on mathed's side).
14791 * func_status.h (toggle): small helper function to set toggle
14794 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14796 * tabular_funcs.C: getline -> std::getline
14798 2001-12-21 Juergen Vigna <jug@sad.it>
14800 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14801 accessed and could be 0 (I couldn't generate this but it seems
14804 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14806 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14807 * tabular_funcs.h: here and include iosfwd
14809 2001-12-20 Juergen Vigna <jug@sad.it>
14811 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14812 inside inset but undo_par was.
14814 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14816 * Thesaurus.C: always include <config.h> in sources.
14820 * box.h: do not include <config.h> in header files
14822 * text.C (paintLastRow): remove unused variable
14824 * text.C (transformChar):
14826 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14828 * Painter.C (text):
14829 * font.C (width): rewrite to use uppercase() instead of
14832 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14834 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14836 * lyxfind.C: clean up of find failure position change
14838 2001-12-20 Juergen Vigna <jug@sad.it>
14840 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14842 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14843 (TeXRow): added to LaTeX a single tabular row.
14844 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14845 (Latex): simplified and finally good LT-h/f support.
14846 (various_functions): just small adaptions for LT-h/f support.
14848 * tabular_funcs.[hC]: added and moved here all not classfunctions
14851 2001-12-19 Juergen Vigna <jug@sad.it>
14853 * tabular.[Ch]: better support for longtabular options (not finished
14856 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14858 * text.C (paintLastRow): use the label font instead of the font of
14859 the last character to compute the size of *_BOX. This makes more
14860 sense and avoids a crash with empty paragraphs.
14861 Use Painter::rectangle to draw EMPTY_BOX.
14863 2001-12-19 Juergen Vigna <jug@sad.it>
14865 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14866 the paragraphs if the replaced paragraph is not the first one!
14867 Tried to delete not used paragraphs but does not work yet so for
14868 now it's inside #ifdef's and by default off!
14870 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14872 * MenuBackend.C: include "lyx_main.h" instead of declaring
14873 lastfiles (actually was declared as LastFiles* instead of a
14876 2001-12-17 Juergen Vigna <jug@sad.it>
14878 * tabular.C (AppendColumn): applied John's fix
14880 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14884 * BufferView_pimpl.h:
14885 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14888 * box.h: new start of class for above
14890 * lyxfunc.C: ignore space-only minibuffer dispatches.
14891 Show the command name when it doesn't exist
14893 * minibuffer.C: don't add empty lines to the history
14895 * minibuffer.C: add a space on dropdown completion
14897 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14899 * text.C: fix line above/below drawing in insets
14901 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14903 * lyxlength.C (LyXLength): Initialize private variables.
14905 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14907 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14908 when inserting error insets.
14910 2001-12-13 Juergen Vigna <jug@sad.it>
14912 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14913 actually sometimes the before-paragraph.
14914 (setUndo): don't clear the redostack if we're not actually undoing!
14916 2001-12-06 Juergen Vigna <jug@sad.it>
14918 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14919 and fixed redoing of main paragraph, so we can use it now ;)
14921 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14923 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14925 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14928 2001-12-13 André Pönitz <poenitz@gmx.net>
14931 * undo_func.C: minor cleanup
14933 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14935 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14936 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14937 font in urw-fonts package which is marked as -urw-fontspecific and
14938 does not work (incidentally, changing the encoding in the
14939 fonts.dir of this package to -adobe-fontspecific fixes the
14942 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14943 is a crash when undoing first paragraph (Juergen, please take a
14944 look). THis does not mean the undo fix is wrong, just that it
14947 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14948 the (Paragraph*) version when needed instead of duplicating the
14951 * text.C (workWidth): use Inset::parOwner to find out where the
14952 inset has been inserted. This is a huge performance gain for large
14953 documents with lots of insets. If Inset::parOwner is not set, fall
14954 back on the brute force method
14956 * paragraph_pimpl.C (insertInset):
14957 * paragraph.C (Paragraph):
14958 (cutIntoMinibuffer): set parOwner of insets when
14959 inserting/removing them
14961 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14963 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14969 * mathed/formulabase.C:
14970 * mathed/math_cursor.[Ch]:
14971 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14974 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14976 * lyxlength.[Ch] (operator!=): new function
14978 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14980 * text.C (workWidth): use Inset::parOwner to find out where the
14981 inset has been inserted. This is a huge performance gain for large
14982 documents with lots of insets. If Inset::parOwner is not set, fall
14983 back on the brute force method
14985 * paragraph_pimpl.C (insertInset):
14986 * paragraph.C (Paragraph):
14987 (cutIntoMinibuffer): set parOwner of insets when
14988 inserting/removing them
14990 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14992 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14994 * tabular-old.C (getTokenValue):
14995 * tabular.C (getTokenValue):
14996 (write_attribute): new versions for LyXLength
14997 (everywhere): adjust the use of widths
14999 * tabular.h: change the type of widths from string to LyXLength
15001 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15003 * paragraph.C: fixed missing line number count when exporting
15004 Environments to LaTeX file
15006 * buffer.C: added informational message for checking line numbers.
15008 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15010 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15011 paragraph, do the 'double space' part, but not the 'empty
15014 * text.C (workWidth): small optimization
15015 (getLengthMarkerHeight): use minimal size for negative lengths.
15017 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15019 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15021 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15023 2001-12-11 André Pönitz <poenitz@gmx.net>
15026 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15028 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15030 * text2.C: keep selection on a setFont()
15032 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15034 * lyx_cb.C: another bv->text misuse, from insert label
15036 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15039 * kbsequence.C: re-instate nmodifier mask
15041 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15043 * lyx_main.h: make lyxGUI private.
15045 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15047 * lyxfind.C: place the cursor correctly on failed search
15049 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15051 * text.C (getLengthMarkerHeight): for small heights, the arrows
15052 are not always on top/bottom of the text
15053 (drawLengthMarker): smaller arrows; take the left margin in
15054 account; draw also vfills.
15056 (paintLastRow): remove special code for vfill and standard spaces,
15057 since everything is handled in drawLengthMarker now.
15059 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15061 * buffer.C (insertErtContents): try to handle font and language
15062 interaction a bit better.g
15064 * ColorHandler.C (updateColor): change the hash to cover the whole
15065 LColor enum, ws cleanup
15066 (getGCLinepars): ditto
15067 (getGCLinepars): only lookup in the linecache once.
15069 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15071 * iterators.C (operator++): Make the iterator more robust
15073 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15075 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15077 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15080 * text.C: better added space drawing
15082 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15085 * BufferView2.C: fix layout combo update on inset unlock
15087 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15089 * Makefile.am: don't compile unused files
15091 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15095 * LyXAction.C: remove old LFUN_LAYOUTNO
15097 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15099 * paragraph_pimpl.h:
15100 * paragraph_pimpl.C: isTextAt() doesn't need font param
15102 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15105 * lyxlex.C: little cleanup
15107 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15109 * BufferView_pimpl.C: fix insertAscii for insets
15111 2001-12-05 Juergen Vigna <jug@sad.it>
15113 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15114 set the right font on the "multi" paragraph paste!
15116 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15122 * lyxlength.C: remove out-commented code.
15124 * BufferView_pimpl:
15138 * vc-backend.C: change "while(" to "while ("
15140 * lyxlength.[Ch]: add zero function to check if length is zero or
15142 * lyxgluelength.C: use it
15144 2001-12-05 Allan Rae <rae@lyx.org>
15146 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15147 Works for 2.95.3, from what I understand of Garst's reports this should
15148 work for other g++ versions. We're screwed if the abs(int) definition
15149 changed between bugfix releases of gcc.
15151 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15153 * text.C: fix chapter label offset !
15155 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15158 * text.C: fix hfill at end of line, clean up
15160 2001-12-04 Juergen Vigna <jug@sad.it>
15162 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15163 that we force an update of the inset and it's owners if neccessary.
15165 2001-12-03 Juergen Vigna <jug@sad.it>
15167 * text.C (rowLast): simplified code
15169 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15171 * lyxfunc.C: fix show options on timeout
15173 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15175 * screen.C (topCursorVisible): scroll half a page when the cursor
15176 reached top of bottom of screen
15178 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15180 * minibuffer.C: deactivate on loss of focus
15182 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15184 * vspace.[Ch] (operator!=): add operator.
15186 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15188 * BufferView_pimpl.C: refuse to open an inset when
15189 there's a selection.
15191 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15193 * BufferView_pimpl.C: allow to click on RHS of full row insets
15195 2001-11-30 Juergen Vigna <jug@sad.it>
15197 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15198 insets for undo reasons.
15200 2001-11-28 André Pönitz <poenitz@gmx.net>
15202 * vspace.[Ch]: cosmetical changes
15204 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15214 * kbsequence.C: part re-write of old kb code
15217 * WorkArea.C: remove Lgb_bug_find_hack
15219 2001-11-30 José Matos <jamatos@fep.up.pt>
15221 * buffer.C (makeDocBookFile): add a comment to point a hack.
15222 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15223 Fixed a double write of labels.
15225 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15228 * LaTeX.h Fixed bug in LaTeX class where it would not
15229 re-run latex if no depfiles were changed, but the .dvi was removed.
15231 2001-11-28 André Pönitz <poenitz@gmx.net>
15233 * all the files from the change on 2001/11/26:
15234 use lyx::layout_type instead of LyXTextClass::size_type
15235 use lyx::textclass_type instead of LyXTextClassList::size_type
15237 2001-11-29 Juergen Vigna <jug@sad.it>
15239 * text.C: added support for paragraph::isFreeSpacing()
15241 * buffer.C: same as above
15243 * paragraph.h: inserted isFreeSpacing() function to enable
15244 FreeSpacing inside InsetERT.
15246 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15247 of the paragraph's in the cut/copy buffer to 0!
15249 * text2.C (removeRow): remove the assert as it can!
15251 * lyxtext.h: added helper function firstRow returning firstrow and
15252 made firstrow private again.
15254 * BufferView2.C (lockInset): don't relock if we're already locked!
15256 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15257 the only paragraph.
15258 (removeRow): added Assert::(firstrow)
15260 * debug.C: forgot to add INSETTEXT here.
15262 2001-11-28 Juergen Vigna <jug@sad.it>
15264 * sp_spell.C (initialize): changed error text to more general
15265 spellchecker command use (not only ispell!)
15267 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15269 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15271 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15273 * vspace.C: initialise lyxgluelength on failure
15275 2001-11-28 Allan Rae <rae@lyx.org>
15277 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15278 declaration & definition that looks like a function declaration.
15280 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * BufferView2.C (copy):
15283 (copyEnvironment): do not clear the selection when doing a copy.
15285 * text.C (paintFirstRow): compilation fix
15287 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15289 * tabular.C (Latex): correct line count when writing latex.
15291 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15293 * paragraph_pimpl.h:
15294 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15297 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15301 * LColor.C: change vfillline->added_space
15303 * text.C: add markers and text for added space
15305 * vspace.C: fix comment
15307 2001-11-28 André Pönitz <poenitz@gmx.net>
15309 * paragraph.C: whitespace changes
15310 * all the other files from the change on 2001/11/26:
15311 change *::pos_type into lyx::pos_type
15313 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15315 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15316 language of the document when inserting error insets.
15318 2001-11-26 André Pönitz <poenitz@gmx.net>
15320 * BufferView_pimpl.[Ch]:
15328 * paragraph_pimpl.[Ch]:
15331 * text2.C: reduce header dependencies, introduce type for positions
15333 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15335 * <various>: change to use Alert.h
15337 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15339 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15340 when encountering an unknown token.
15341 (readLyXformat2): Show an error message if there were unknown tokens.
15343 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15346 * BufferView_pimpl.C:
15350 * text2.C: use par->isInset()
15352 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15354 * paragraph_pimpl.h:
15355 * paragraph_pimpl.C: cleanup
15357 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15359 * text2.C (removeRow):
15360 * text.C (setHeightOfRow): remove useless (and costly) call to
15363 2001-11-20 Allan Rae <rae@lyx.org>
15365 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15366 Now need Inset*::checkInsertChar() to return true for appropriate
15367 cases so that the characters in the minibuffer will actually be
15370 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15372 * text.C: change the order of the includes.
15373 (workWidth): initialize it at once.
15374 (workWidth): make maxw unsigned
15375 (setHeightOfRow): remove unused variable (inset)
15376 (selectSelectedWord): remove unused variable (inset)
15377 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15379 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15382 server is not running.
15384 (closeConnection): add debug info when server is disabled.
15386 * ColorHandler.C (getGCForeground): send debug message to GUI
15389 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15391 * kbmap.C (bind): modify because return conventions of
15392 kb_sequence::parse have changed.
15394 * kbsequence.C (parse): only ignore spaces and not any stupid
15395 control character. This avoids tests like s[i] <= ' ', which are
15396 guaranteed to fail with 8bit characters and signed chars.
15397 Change return code to string::npos when there have been no error
15398 (0 was a bad idea when error is at first character)
15400 2001-11-14 José Matos <jamatos@fep.up.pt>
15403 * buffer.C (simpleDocBookOnePar): removed unused argument.
15405 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15407 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15408 insets which are part of a word. Paragraph::isLetter takes care of
15409 that now. Use Paragraph::isInset to identify insets.
15410 (selectSelectedWord): do not test for hyphenation break.
15412 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15413 that protected spaces are considered as spaces.
15415 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15418 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15421 * lyxserver.C: fix it. and small cleanup.
15423 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15425 * BufferView_pimpl.C: use inline helpers
15428 * LaTeXFeatures.C: fix typos
15431 * Spacing.C: move spacing_string into class
15433 * ToolbarDefaults.C: move stuff into namespace anon
15435 * layout.h: update enum
15437 * lyxfunc.C: use better debug
15439 * minibuffer.h: fix typo
15443 * WorkArea.C: add and use Debug::WORKAREA
15447 * text2.C: code re-organisation, inline helpers
15449 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15451 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15452 std::vector.empty().
15454 2001-11-09 Allan Rae <rae@lyx.org>
15456 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15457 '\n's after tables. Tabular and ERT inset work now makes this no
15460 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15463 * minibuffer.C: fix crash, improve drop-down completion
15465 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15468 * lyxserver.C: invalidate fd's when doing endPipe()
15470 2001-11-08 José Matos <jamatos@fep.up.pt>
15472 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15473 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15476 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15478 2001-11-07 José Matos <jamatos@fep.up.pt>
15481 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15484 * buffer.C (sgmlOpenTag):
15485 * buffer.C (sgmlCloseTag): removed debug info.
15487 * buffer.h (sgmlOpenTag):
15488 * buffer.h (sgmlCloseTag): made public.
15490 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15492 * buffer.C (saveParamsAsDefaults):
15493 * lyx_cb.C (MenuLayoutSave): remove
15495 * LyXAction.C (init):
15497 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15499 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15501 * buffer.C (setPaperStuff): removed from here...
15503 * bufferparams.C (setPaperStuff): ... and moved there.
15505 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15509 * XFormsView.C: add support for drop-down completion
15511 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15513 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15516 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15518 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15521 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15523 * lyx_main.C: change ref to known bugs
15525 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15527 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15528 to work around older babel problems.
15530 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15532 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15534 2001-10-24 Juergen Vigna <jug@sad.it>
15536 * tabular-old.C (ReadOld): below variable changes reflected.
15538 * tabular.[Ch]: added ltType struct for longtable header/footer
15539 defines and changed all instances where they are used. Added
15540 future support for double top/bottom rows.
15542 2001-10-24 José Matos <jamatos@fep.up.pt>
15544 * buffer.h (docbookHandleCaption):
15545 * buffer.C (docbookHandleCaption): removed unused function.
15546 (makeDocBookFile): moved docbook supported version to v4.1.
15548 2001-10-24 José Matos <jamatos@fep.up.pt>
15551 * tabular.C (docbookRow): new function to export docbook code of a row.
15552 (DocBook): now honors the longtable flags.
15554 2001-10-23 José Matos <jamatos@fep.up.pt>
15557 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15558 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15560 * buffer.C (makeLinuxDocFile):
15561 (makeDocBookFile): reworked the preamble, more clean, and with
15562 support for lyx defined entities. Changed the document declaration
15563 to be more XML friendly.
15565 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15566 if we need to output XML that should be done with a filter.
15568 2001-10-22 Juergen Vigna <jug@sad.it>
15570 * sp_pspell.h (class PSpell): add alive function needed in the
15571 controller to see if the spellchecker could be started.
15573 2001-10-22 Juergen Vigna <jug@sad.it>
15575 * buffer.C (insertStringAsLines): modify the font for inserting
15576 chars in certain conditions by calling checkInsertChar(font).
15578 2001-10-19 Juergen Vigna <jug@sad.it>
15580 * text.C (workWidth): use getRow instead of wrong algorithm.
15581 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15583 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15588 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15590 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15592 * text.C (workWidth): do not search for the exact row when
15593 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15594 optimization for big documents.
15596 2001-10-18 Juergen Vigna <jug@sad.it>
15598 * text.C (workWidth): new function with added Inset * parameter.
15600 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15602 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15604 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15605 change return type of getColumnNearX.
15608 * text.C (changeRegionCase): use uppercase/lowercase instead of
15611 (rightMargin): simplify code by factoring out the uses of
15616 (appendParagraph): use Paragraph::size_type
15618 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15620 * vspace.C (asLatexString): add a missing break
15622 2001-10-15 Herbert Voss <voss@perce.de>
15624 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15626 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15628 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15631 2001-10-10 André Pönitz <poenitz@gmx.net>
15633 * lyxfunc.C: removed greek_kb_flag.
15635 2001-10-10 Herbert Voss <voss@perce.de>
15637 * lyx_main.C: delete global string help_lyxdir.
15639 2001-10-09 Herbert Voss <voss@perce.de>
15641 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15643 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15645 * lyx_main.C: added global string help_lyxdir.
15647 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15649 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15651 * lyxrc.C (set_font_norm_type): support iso8859-4
15653 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15655 * LaTeX.C (deplog): add another regex for MikTeX
15657 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15659 * lyxrc.C (set_font_norm_type): support iso8859-3
15661 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15663 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15665 * LaTeXFeatures.C: remove special case of french and index
15667 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15668 before \begin{document}). This solves several incompatibilities.
15670 2001-10-03 Garst Reese <reese@isn.net>
15672 * lyx_cb.C: change CheckTex error msg.
15674 2001-10-03 José Matos <jamatos@fep.up.pt>
15676 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15678 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15680 * .cvsignore: update
15682 * lyx_main.C (commandLineVersionInfo): use new style version info.
15684 * buffer.C (writeFile):
15686 (makeLinuxDocFile):
15687 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15689 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15691 * version.h: update to use stuff in version.C
15693 * version.C.in: new file. Contains version information determined
15694 at compile time. This is a merging of version.h and
15697 2001-10-03 Juergen Vigna <jug@sad.it>
15699 * BufferView_pimpl.C (update): don't change "dirty" status in
15702 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15704 * WorkArea.C (c-tor): re-position version string slightly.
15706 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15708 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15709 revert to previous code.
15711 WorkArea.[Ch]: (show, destroySplash): methods removed.
15713 WorkArea.C: rework code so that it's an amalgam of the codes before and
15714 after the splash screen was moved to WorkArea.
15716 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15719 * vspace.C (inPixels):
15722 * buffer.C (insertStringAsLines):
15723 (asciiParagraph): fix types to be large enough
15725 * lyxlex_pimpl.h: change member status from short to int
15727 * layout.h: fix type of endlabeltype
15730 * kbsequence.C (parse): change return type to string::size_type
15732 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15735 * Bullet.C (bulletSize):
15736 (bulletEntry): do not use short ints as parameters
15738 * BufferView2.C (insertLyXFile): change a char to an int.
15740 * WorkArea.C (WorkArea): remove unneeded floats in computation
15742 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15744 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15746 * paragraph.C (asString): Do not ignore newline/hfill chars when
15747 copying to the clipboard.
15749 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15751 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15752 after a multi-line inset.
15754 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15756 * paragraph.C (validate): Set NeedLyXFootnoteCode
15758 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15760 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15761 and decrease-error to decrease.
15763 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15765 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15766 it more readable (should be equivalent)
15768 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15770 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15772 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15774 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15775 of a cursor (row, etc.) after a character has been deleted
15776 (deleteEmptyParagraphMechanism): call the method above on _all_
15777 cursors held by the LyXText when a double space has been
15780 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15782 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15784 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15786 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15787 background. Use greyOut() and the new show() methods to toggle between
15788 the foreground and background. Add code to remove the splash after
15789 its initial showing.
15791 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15792 (create_forms): no longer call Dialogs::showSplash.
15794 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15796 * .cvsignore: add version_info.h
15798 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15800 * version_info.h.in: new file
15802 * Makefile.am: add version_info.h.in
15804 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15805 version_info.h instead of VERSION_INFO
15807 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15809 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15810 The ERT inset now returns string().
15812 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15814 * lyxtext.h, text.C (selectNextWord): renamed as
15815 selectNextWordToSpellcheck.
15817 * text.C (selectNextWordToSpellcheck): Modified to not select
15818 words inside an ERT inset.
15820 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15822 * lyx_cb.C (MenuLayoutSave): change a bit the question
15824 * sp_base.h: include <sys/types.h>
15826 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15828 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15830 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15832 * several files: fix typos in user-visible strings
15834 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15836 * text2.C (pasteSelection): do not set the selection, since it
15837 will be cleared later. Actually, the intent was to fix the way the
15838 selection was set, but I figured rmoving the code was just as good.
15840 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15842 * FontLoader.C (available): Check if font is available without
15845 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15847 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15849 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15851 * lyxrc.[Ch]: added display_graphics variable and associated code.
15853 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15855 * bufferparams.C (hasClassDefaults): new method. Returns true if
15856 the buffer parameters correspond to known class defaults
15858 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15860 * XFormsView.C (show): set minimum size to the main window.
15862 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15864 * text2.C (copySelection):
15866 * lyxfind.C (LyXReplace):
15867 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15868 LyXText::selectionAsString.
15870 * paragraph.C (asString): add "label" argument to the second form
15872 * text2.C (selectionAsString): add "label" argument and pass it to
15873 Paragraph::asString.
15875 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15877 * lyx_main.C (commandLineHelp): remove version information
15879 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15881 * lyx_main.C: add -version commandline option
15883 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15885 * paragraph.h: make the optional constructor arg required instead.
15886 some modifications to other files because of this.
15888 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15890 * lyxserver.C (C_LyXComm_callback): make it static
15892 * lyx_main.C (error_handler): make it static
15894 * lyx_gui.C (LyX_XErrHandler): make it static
15896 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15898 * WorkArea.C: make the extern "C" methods static.
15900 * Makefile.am (lyx_LDADD): simplify
15902 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15904 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15905 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15907 * LyXAction.C (init):
15908 * lyxfunc.C (dispatch): associated code removal.
15910 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15912 * lyxfont.h (isSymbolFont): shut off warning
15914 * text.C (setHeightOfRow):
15915 (getVisibleRow): fix crash with empty paragraphs which have a
15918 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15920 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15923 2001-09-04 José Matos <jamatos@fep.up.pt>
15926 * tabular.C (docbook): rename docBook method to docbook.
15928 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15930 * Makefile.am: add dependencies to main.o.
15932 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15934 * FontLoader.C (available): Return false if !lyxrc.use_gui
15936 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15938 * FontInfo.C (query):
15939 * converter.C (view):
15940 * importer.C (Import):
15941 * exporter.C (Export): Can not -> cannot.
15943 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15945 * BufferView_pimpl.C: allow to create index inset even if
15948 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15950 * buffer.C (getLists): replace boost::tie code with an explicit pair
15951 as boost::tie can break some compilers.
15953 * iterators.h: Added a std:: declaration to the return type of
15956 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15958 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15961 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15963 * iterators.[Ch]: New files. Provide paragraph iterators.
15965 * buffer.C (changeLanguage): Use paragraph iterators.
15966 (isMultiLingual): ditto
15968 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15970 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15972 * FontLoader.C: Support for cmr font.
15974 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15976 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15977 (available): New method.
15979 * FontInfo.C (getFontname): Use scalable fonts even when
15980 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15983 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15985 * converter.C (Formats::view): reverted! Incorrect fix.
15987 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15989 * converter.C (Formats::view): only output the -paper option
15990 if the dvi viewer is xdvi, thereby fixing bug #233429.
15992 2001-08-23 Herbert Voss <voss@perce>
15994 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15996 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15998 * Spacing.h (Spacing): Set space to Default on in the default
16001 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16003 * vc-backend.h (RCS::versionString): add RCS to version
16004 (CVS::versionString): add CVS to version
16006 * vc-backend.C (scanMaster): do not add CVS to version.
16007 (scanMaster): do not add RCS to version
16009 * lyxvc.C (versionString): new method
16011 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16013 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16015 * Spacing.C (set): initialize fval
16017 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16019 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16022 2001-08-16 Juergen Vigna <jug@sad.it>
16024 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16026 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16028 * BufferView_pimpl.C:
16031 * text2.C: setParagraph takes linespacing now
16033 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16035 * LyxAction.C: add internal LFUN_CITATION_INSERT
16037 * LyXView.C: actually apply fix
16039 * bufferlist.C: fix open non-existent file
16041 * lyxfind.C: fix indentation
16043 * lyxfunc.C: remove unneeded assert, fix typo
16045 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16047 * MenuBackend.C: use "Floatname List"
16049 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16051 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16052 when converting LaTeX layout to insetERT.
16053 Generate a non-collapsed float when reading old float
16055 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16057 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16060 2001-08-13 Juergen Vigna <jug@sad.it>
16062 * text.C (fill): return 0 instead of 20 as this seems to be the more
16065 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16067 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16070 2001-08-13 Juergen Vigna <jug@sad.it>
16072 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16074 (SearchBackward): comment out the unlocking of the inset_owner this
16075 should not be needed!
16077 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16079 * Many files: Remove inherit_language, and add latex_language
16081 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16082 collapsible insets.
16084 2001-08-10 Juergen Vigna <jug@sad.it>
16086 * text.C (prepareToPrint): fixed hfill-width in draw!
16088 * BufferView2.C (selectLastWord): save the selection cursor as this
16089 now is cleared in the function LyXText::clearSelection!
16091 2001-08-08 Juergen Vigna <jug@sad.it>
16093 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16094 BACKSPACE type functions.
16096 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16097 is only cutted from the document but not put in the cut-buffer, where
16098 still the old stuff should be.
16100 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16102 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16104 * tabular.C (SetWidthOfCell): fixed special case where the width
16106 (LeftLine): handle '|' in align_special.
16108 (LeftAlreadyDrawed): ditto
16109 (SetWidthOfCell): ditto
16111 2001-08-07 Juergen Vigna <jug@sad.it>
16113 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16115 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16117 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16118 * lyxlex.[hC]: ditto
16120 2001-08-06 Juergen Vigna <jug@sad.it>
16122 * text.C (getVisibleRow): fix up row clearing a bit.
16124 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16126 * minibuffer.C: make sure the X server sees the changes in the input.
16128 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16130 * paragraph.C (getFont): split into...
16131 (getLabelFont): this
16132 (getLayoutFont): and this
16133 * paragraph_pimpl.C (realizeFont): calling this
16135 * text2.C (getFont): split into...
16136 (getLayoutFont): this
16137 (getLabelFont): and this
16138 (realizeFont): all three calling this
16140 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16143 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16145 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16147 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16149 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16150 layouts from the Quote inset insertion.
16152 2001-08-03 Juergen Vigna <jug@sad.it>
16154 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16156 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16157 only if status not is already CHANGED_IN_DRAW (second level).
16159 * text.C (draw): don't set the need_break_row when inside an
16162 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16164 * buffer.C (parseSingleLyXformat2Token): handle more latex
16167 * bufferview_funcs.[hC]: change function names to
16168 begin with small char, adjust other files.
16170 2001-08-02 André Pönitz <poenitz@gmx.net>
16173 BufferView_pimpl.C: remove broken special code for math-greek
16175 2001-08-02 Juergen Vigna <jug@sad.it>
16177 * BufferView_pimpl.C (update): redone this function so that we
16178 update the text again if there was a CHANGE_IN_DRAW.
16180 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16181 (drawFromTo): added a new internal bool which is used by draw() and
16183 (general): some cursor drawing problems fixed.
16185 2001-08-01 Juergen Vigna <jug@sad.it>
16187 * lyxfind.C (LyXFind): fixed
16188 (SearchForward): ditto
16189 (SearchBackward): ditto
16191 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16192 spurius drawing of the cursor in the main area.
16194 * text2.C (status): small fix which could lead to a segfault!
16195 (clearSelection): remove unneeded BufferView param.
16197 2001-08-01 André Pönitz <poenitz@gmx.net>
16199 * lyxfunc.C: small change due to changed mathed interface
16201 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16203 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16205 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16207 * lyxfunc.c: fail gracefully if file doesn't exist
16212 * BufferView_pimpl.C: IsDirWriteable() proto changed
16214 * LyXView.C: fix updateWindowTitle() to store the last title
16216 2001-07-31 Juergen Vigna <jug@sad.it>
16218 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16219 the font (wrong since using of Paragraph::highestFontInRange).
16221 * paragraph.C (highestFontInRange): added a default_size parameter.
16223 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16224 (setHeightOfRow): reformat
16226 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16228 * converter.[hC] + affected files: move to (inital-char)lowercase
16231 * ParagraphParameters.C (ParagraphParameters): remove commented code
16233 * PainterBase.[Ch]: remove commented code
16235 * LaTeXFeatures.h: add "bool floats" for float.sty
16237 * LaTeXFeatures.C (LaTeXFeatures): init floats
16238 (require): handle float
16239 (getPackages): do it with floats
16241 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16243 * BufferView_pimpl.C (Dispatch): improve handling of
16244 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16246 * commandtags.h: #include lyxfont.h here temporarily to avoid
16249 * bufferlist.h: include LString.h here.
16251 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16253 * text2.C (getStringToIndex): new method.
16255 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16257 * *: Reduced header file dependencies all over.
16259 2001-07-30 Baruch Even <baruch@lyx.org>
16261 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16263 2001-07-29 Baruch Even <baruch@lyx.org>
16265 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16267 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16269 * ParameterStruct.h (endif): add a default constructor to make
16270 sure that all variables is initialized.
16272 * ParagraphParameters.C (ParagraphParameters): adjust
16274 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16276 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16277 index; also, check that there is something to index, and that it
16278 does not span over several paragraphs.
16279 (doubleClick): use WHOLE_WORD_STRICT for double click.
16281 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16283 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16286 2001-07-26 Baruch Even <baruch@lyx.org>
16288 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16289 an InsetFig figure, backwards compatible reading of old figure code.
16291 2001-07-27 Juergen Vigna <jug@sad.it>
16293 * text2.C: font.realize function adaption.
16295 * text.C (draw): add a warnings lyxerr text if needed.
16297 * layout.C: font.realize function adaption.
16299 * language.C: add inherit_language and implement it's handlings
16301 * bufferview_funcs.C (StyleReset): remove language parameter from
16302 font creation (should be language_inherit now).
16304 * bufferparams.C (writeFile): handle ignore_language.
16306 * paragraph.C (getFontSettings): the language has to be resolved
16307 otherwise we have problems in LyXFont!
16309 * lyxfont.C (lyxWriteChanges): added document_language parameter
16310 (update): removed unneeded language parameter
16312 * paragraph.C (validate): fixed wrong output of color-package when
16313 using interface colors for certain fonts in certain environments,
16314 which should not seen as that on the final output.
16316 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16318 * BufferView_pimpl.C:
16323 * LyXAction.C: add thesaurus support
16326 * lyxfind.C: add "once" parameter, for thesaurus, to not
16327 move to the next match
16329 2001-07-26 Juergen Vigna <jug@sad.it>
16331 * lyxfont.C (realize): honor ignore_language too!
16334 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16336 * text.C (draw): one place more for ignore_language to not draw
16339 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16341 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16343 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16345 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16346 the minipage conversion problem.
16348 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16350 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16353 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16355 * BufferView.h: don't forward declare WorkArea
16357 * BufferView.C: don't include WorkArea.h
16359 2001-07-25 André Pönitz <poenitz@gmx.net>
16363 * lyxfunc.C: new LFUN 'math-space'
16365 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16367 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16369 * text2.C (toggleInset): call open/close
16371 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16373 * lyxfunc.C (dispatch): add debug for the disabled case
16375 * font.C (buttonText): make similar to rectText
16377 * buffer.C (readInset): comment out parsing of insetlist and
16380 * PainterBase.C (rectText): small correction
16382 * BufferView_pimpl.C: comment out insettheorem and insetlist
16383 * LyXAction.C: ditto
16384 * commandtags.h: ditto
16386 2001-07-24 Juergen Vigna <jug@sad.it>
16388 * text.C (draw): honor the ignore_language.
16390 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16392 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16394 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16397 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16399 * lyxtext.h: remove unused (and unimplemented) methods
16401 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16403 * text.C (getVisibleRow): honor background color
16406 * Painter.h: remove default color argument for fillRectangle
16408 * text.C (backgroundColor): new method
16410 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16412 * text.C (getVisibleRow): adjust
16414 * font.[Ch] (rectText): new method, metrics
16415 (buttonText): new method, metrics
16417 * PainterBase.[hC]: make rectText and buttonText always draw and take
16420 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16422 * ToolbarDefaults.C (read):
16423 * MenuBackend.C (read): allow escaping in all strings
16425 * BufferView_pimpl.C (insertAndEditInset): new method.
16426 (Dispatch): use insertAndEditInset whenever appropriate.
16428 * BufferView_pimpl.C (insertNote): removed
16430 * BufferView_pimpl.C (smartQuote): new method, moved from
16431 BufferView; if an insetquote cannot be inserted, insert a '"'
16434 * BufferView2.C: remove insertCorrectQuote();
16436 * lyxfunc.C (getStatus): Add support for all remaingin
16437 inset-insert lfuns.
16439 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16441 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16442 command (necessary to pass " as parameter of self-insert.
16444 * text.C (selectWordWhenUnderCursor):
16445 (selectWord): add word_location parameter
16446 (selectWordWhenUnderCursor): same + remove special code for word
16448 (selectNextWord): use kind() to guess type of insetspecialchar,
16451 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16452 (insertErtContents): create ert insets as collapsed.
16453 (readInset): better compatibility code for Info inset.
16455 2001-07-20 Juergen Vigna <jug@sad.it>
16457 * lyxfunc.C (dispatch): use always LyXFind now!
16459 * text2.C (init): add a reinit flag so that the LyXText can be
16460 reinited instead of deleted and reallocated (used in InsetText).
16462 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16468 2001-07-18 Juergen Vigna <jug@sad.it>
16470 * text.C (selectNextWord): handle insets inside inset by calling
16471 always the bv->text functions so that we can go up the_locking_inset!
16473 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16474 in strange locations when inside an inset!
16476 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16477 handling to include insets.
16479 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16481 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16483 * LyXAction.C (init):
16485 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16486 LIGATURE_BREAK, since the name is so stupid.
16488 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16490 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16493 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16495 * sp_form.[Ch]: remove.
16497 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16499 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16502 * src/buffer.C (readInset): ditto.
16504 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16506 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16507 menuSeparator(), endOfSentenceDot(), ldots() and
16508 hyphenationPoint(), which are therefore removed.
16509 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16511 * LyXAction.C (init):
16512 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16514 * paragraph.C (getWord): removed.
16516 * BufferView_pimpl.C (Dispatch): use last word or selection for
16517 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16519 * lyx_main.C (queryUserLyXDir): do not ask before creating
16520 user_dir, except if it has been named explicitely.
16522 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16524 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16525 a document of zero size.
16527 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16529 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16530 approriately in the c-tor and in require().
16531 (getPackages): output the appropriate LaTeX for natbib support.
16533 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16534 variables "use_natbib" and "use_numerical_citations" when reading the
16536 (readInset): read the various natbib cite commands.
16537 (validate): white-space change.
16539 * bufferparams.[Ch]: new variables "bool use_natbib" and
16540 "bool use_numerical_citations".
16541 (writeFile): output them in the LyX file.
16543 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16545 * lyxfunc.C (getStatus): add support for all the inset insertion
16548 * text2.C (insertInset):
16549 * paragraph.C (insetAllowed):
16550 * BufferView_pimpl.C (insertInset): update to take in account the
16551 renaming of insertInsetAllowed
16553 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16555 * text2.C (getInset): new method. returns inset at cursor position.
16557 * BufferView_pimpl.C (Dispatch): changes because of this.
16559 * LyXAction.C (init): rename open-stuff to inset-toggle.
16561 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16563 * text2.C (toggleInset): renamed from openStuff; use
16566 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16568 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16570 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16572 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16574 * buffer.C (readLyXformat2): Add filename to the error dialog
16576 2001-07-18 Juergen Vigna <jug@sad.it>
16578 * tabular.C (GetCellNumber): put an assert here instead of the check!
16580 2001-07-17 Juergen Vigna <jug@sad.it>
16582 * BufferView_pimpl.C (toggleSelection): adapted too.
16584 * text.C (selectNextWord): adapted for use with insets.
16585 (selectSelectedWord): ditto
16587 2001-07-17 Juergen Vigna <jug@sad.it>
16589 * sp_spell.C (PSpell): fix initialitation order.
16591 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16593 * paragraph.C: spacing
16595 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16597 * sp_spell.C: repair language selection for pspell
16599 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16601 * lyxfunc.h: change more methods to begin with lower char.
16603 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16605 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16606 for unknown layouts.
16608 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16610 * buffer.C (readLyXformat2): Generate an error dialog if there are
16613 2001-07-16 Juergen Vigna <jug@sad.it>
16615 * sp_spell.C: always compile ISpell part.
16617 * lyxrc.C: added use_pspell entry and it's handling.
16619 2001-07-13 Juergen Vigna <jug@sad.it>
16621 * sp_spell.C: removed double includes.
16623 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16625 Consistent use of Lsstream.h:
16626 * Lsstream.h: added using std::stringstream for consistencies sake.
16628 * buffer.C: removed using std::stringstream
16630 * lyxfont.C (stateText):
16631 * paragraph.C (asString):
16632 * text.C (selectNextWord, selectSelectedWord):
16633 * text2.C (setCounter):
16634 * vspace.C (asString, asLatexString):
16635 std::ostringstream -> ostringstream.
16637 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16639 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16640 * commandtags.h: add LFUN_HELP_ABOUTLYX
16641 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16643 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16645 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16647 * lyx_gui_misc.C: remove spellchecker
16648 * lyxfunc.C: showSpellchecker
16650 * sp_ispell.h: added
16651 * sp_pspell.h: added
16652 * sp_spell.C: added
16653 * sp_form.[Ch]: removed
16654 * spellchecker.[Ch]: removed
16656 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16658 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16660 (simpleTeXSpecialChars): Simply print the input character without
16661 any special translation if pass_thru is set.
16663 * layout.h: Added bool pass_thru to layout class for being able to
16664 implement pass through of a paragraph for Literate Programming.
16666 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16667 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16668 * layout.C (Read): add "passthru" to list of layout tags and add
16669 code to set the pass_thru boolean when it is read.
16671 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16673 * trans_decl.h: remove allowed from KmodInfo
16675 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16676 remove allowed code
16679 * paragraph_pimpl.C (erase): use boost::prior
16681 * Painter.C (text): use data() instead of c_str() when length is
16683 * WorkArea.C (putClipboard): ditto
16684 * font.h (width): ditto
16686 * BufferView2.C: use it-> instead of (*it). for iterators
16688 * paragraph_pimpl.C: ditto
16689 * paragraph.C: ditto
16690 * minibuffer.C: ditto
16691 * language.C: ditto
16693 * encoding.C: ditto
16694 * counters.C: ditto
16695 * converter.C: ditto
16697 * Variables.C: ditto
16698 * TextCache.C: ditto
16699 * MenuBackend.C: ditto
16700 * LyXAction.C: ditto
16702 * FloatList.C: ditto
16703 * DepTable.C: ditto
16704 * ColorHandler.C (LyXColorHandler): ditto
16706 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16708 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16710 * text2.C (openStuff): reintroduce this method (which had been
16711 nuked in NEW_INSETS frenzy).
16713 * lyxfunc.C (Dispatch): when an action has not been handled, use
16714 its name in the error message, not its number.
16716 * paragraph.C (inInset): change method name to begin with lowercase.
16719 * text2.C: updates because of this.
16721 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16723 * ToolbarDefaults.C (add): add spaces in error message
16725 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16727 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16728 (readLyXformat2): rename return_par to first_par, use lyxlex's
16729 pushToken and remove the manual push handling.
16730 (parseSingleLyXformat2Token): add another ert comp. variable:
16731 in_tabular, rename return_par to first_par. handle newlines better
16733 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16735 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16737 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16739 * text2.C (getParFromID): removed
16741 * buffer.C (getParFromID): new method moved form lyxtext.
16742 * BufferView2.C (insertErrors): adjust
16743 (setCursorFromRow): adjust
16744 * BufferView_pimpl.C (restorePosition): adjust
16745 * lyxfunc.C (Dispatch): adjust
16746 * undo_funcs.C (textUndo): adjust
16748 (textHandleUndo): adjust
16749 (textHandleUndo): adjust
16751 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16753 * buffer.C: up' the LYX_FORMAT
16755 * lyxfont.h: turn NO_LATEX on as default
16757 * buffer.C (insertErtContents): new methods of tex style compability.
16758 (parseSingleLyXformat2Token): use it several places.
16759 * tabular.C (OldFormatRead): and here
16761 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16763 * text2.C: remove some commented code.
16766 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16767 * trans.C: changes because of the above.
16769 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16771 * text2.C (setCounter): Fix counters bug with bibliography layout.
16773 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16775 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16776 own member functions
16777 (simpleTeXSpecialChars): ditto
16779 2001-07-06 Juergen Vigna <jug@sad.it>
16781 * a lot of files: changed the access to LyXText::status and the
16782 call of undo-functions.
16784 * undo.[Ch]: added a inset_id to the undo informations.
16786 * undo_funcs.[Ch]: added and moved here all undo functions.
16788 * lyxtext.h: give the status enum a weight, made status_ a private
16789 variable and made accessor functions for it, removed the whole bunch
16790 of undo-functions as they are now in their own file, make some
16791 functions publically available. Added function ownerParagraph with
16794 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16795 made InInset() a const function, added getParFromID() function.
16797 * buffer.[Ch]: added const version for inset_iterator functions,
16798 added getInsetFromID() function.
16800 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16801 changed undo functions for new version.
16803 2001-07-05 Juergen Vigna <jug@sad.it>
16805 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16806 unknow mechanism does not call the proper constructor but only this
16807 one also if I request the other!?
16809 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16811 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16813 * text2.C (LyXText): use initialization lists.
16815 * lyxtext.h (Selection): initialize set_ and mark_
16816 (init): remove method
16818 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16820 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16822 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16824 * screen.[Ch]: change method names to begin with lowercase
16826 * BufferView_pimpl.C (updateScrollbar): simplify further and
16827 hopefully make it a bit faster.
16829 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16831 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16832 calling directly xforms functions.
16834 * Painter.C (Painter):
16835 * lyx_cb.C (MenuWrite):
16836 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16839 * lyx_gui.C: remove bogus guiruntime extern declaration.
16841 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16843 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16845 (redoDrawingOfParagraph): ditto
16846 (redoParagraphs): ditto
16847 (cutSelection): don't create a object for CutAndPaste use the
16848 static method directly
16849 (pasteSelection): ditto
16851 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16854 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16856 * modifications to some other files because of this.
16858 * Makefile.am (lyx_SOURCES): add XFormsView
16860 * XFormsView.[Ch]: new files
16862 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16863 the main window. Move the gui dependent stuff to XFormsView
16865 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16867 * tabular.C (GetCellInset): update cur_cell also in the row/col
16868 version of this function.
16870 * lyxfunc.C: no need to include figure_form.h here.
16876 * lyxvc.C: no need to include forms.h here.
16878 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16880 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16882 * lyxfunc.C (Dispatch):
16884 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16885 constructor argument.
16887 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16889 * paragraph.C (Paragraph): dont't clear, and just set layout.
16890 (makeSameLayout): use params's copy contructor.
16892 * ParagraphParameters.[Ch] (makeSame): delete method
16894 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16896 * Variables.[Ch]: fix indentation, rename set to isSet
16898 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16900 * lyxfunc.C (Dispatch): fix typo
16902 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16904 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16907 * bufferlist.C: include assert.h for emergencyWrite().
16909 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16911 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16912 give up at last (bug #425202) !
16914 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16920 * spellchecker.C: strip spellchecker options and bring up
16921 preferences tab instead
16923 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16925 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16926 the istringstream constructor
16928 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16930 * paragraph.C (getLayout): fix return value
16932 * paragraph.h: do not declare getLayout as inline.
16934 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16936 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16938 * lyxcursor.h (operator<): new func
16939 (operator>): new func
16940 (operator>=): new func
16941 (operator<=): new func
16943 * text.C (changeCase): use selection.start and selection.end
16944 (changeRegionCase): require from to be <= to. Require par to be a
16947 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16949 2001-06-27 Juergen Vigna <jug@sad.it>
16951 * text.C (cursorLeftOneWord): changed to return the cursor and added
16952 overlay with BufferView * parameter which calls this one.
16954 (selectWord): use new getWord function.
16955 (changeCase): renamed from changeWordCase as and extended to work
16956 also on selections.
16958 * lyxtext.h: added enum word_location
16960 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16961 changeCase as this operates now also on selections.
16963 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16965 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16967 * many files: send debug output to Debug::INFO instead of
16970 * converter.C (View):
16972 (Move): send debug output to Debug::FILES instead of console.
16974 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16976 * lyxfunc.C (getStatus): use func_status
16978 * func_status.h: new header, describing the results of
16979 LyXFunc::getStatus;
16981 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16984 2001-06-25 The LyX Project <jug@sad.it>
16986 * buffer.C (sgmlOpenTag):
16988 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16990 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16992 * text2.C: remove some dead code
16994 * tabular.C (GetCellInset): store the last cell checked (gotten)
16996 * tabular.h: add the helper for the speedup
16998 * lyxtext.h: remove some dead code
17000 2001-06-26 The LyX Project <Asger>
17002 * paragraph.C: Change export to LaTeX of alignment to
17003 \begin{center} and family for better roundtrip work with reLyX.
17005 * Tune the math drawing a bit.
17007 2001-06-25 The LyX Project <Asger>
17009 * LColor.C (LColor): New color for math background. New color
17012 2001-06-25 The LyX Project <jug@sad.it>
17014 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17016 * lyxfunc.C (Open):
17017 * bufferlist.C (newFile): do not restrict to files ending with
17020 * BufferView_pimpl.C (MenuInsertLyXFile):
17022 2001-06-24 The LyX Project <jug@sad.it>
17024 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17027 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17029 * lyxtext.h: rename most methods to begin with a small char.
17030 Lots of changes because of this.
17032 * paragraph.C (Paragraph): do not call fitToSize
17033 (erase): call Pimpl::erase
17034 (insertChar): call Pimpl::insertChar
17035 (insertInset): call Pipl::insertInset
17036 (breakParagraph): do not call fitToSize
17037 (breakParagraphConservative): do not call fitToSize
17038 (fitToSize): remove method
17040 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17042 2001-06-24 The LyX Project <Asger>
17044 * Fix Qt compilation^2
17046 2001-06-24 The LyX Project <jug@sad.it>
17048 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17049 depthHook(getDepth()-1).
17052 * ParagraphParameters.h:
17053 * ParameterStruct.h: change type of depth to unsigned int ==
17054 depth_type. Many adaptations to other files before of that.
17056 2001-06-24 The LyX Project <Asger>
17058 * Fix Qt compilation.
17060 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17062 * paragraph.h: renamed several methods to begin with small letter.
17063 several changes to many parts of the code because of this.
17065 2001-06-23 The LyX Project <jug@sad.it>
17067 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17068 rewritten to discard all double spaces when KeepEmpty is off
17069 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17070 to only handle newlines but not fiddle with spaces and friends.
17072 * lyxfunc.C (MenuNew): when doing 'new from template', use
17073 template_path as default directory
17075 2001-06-23 The LyX Project <Asger>
17077 * Clean-up of header file includes all over
17078 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17080 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17082 * paragraph.h: renamed from lyxparagraph.h
17084 2001-06-23 Asger <lyx@violet.home.sad.it>
17086 * Buffer.h: Removed Buffer::resize
17087 * BufferList.h: Removed BufferList::resize
17088 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17089 the document lazily when we change the width, or the font settings.
17091 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17093 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17095 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17097 * buffer.h: remove out of date comment
17099 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17102 * screen.C: fix "theoretical" GC leak
17104 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17106 * LaTeX.C (scanAuxFile):
17107 (deplog): remove trailing \r when reading stream (useful under
17110 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17112 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17113 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17114 and BufferView::theLockingInset(Inset*), so should use them and not
17115 access bv_->text->the_locking_inset directly.
17117 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17119 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17122 * tex-defs.h: remove old unused file
17124 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17126 * BufferView_pimpl.C: fix typo, remove minibuffer message
17127 when buffer has loaded
17129 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17131 * lyxfunc.C (Dispatch): use stringstream
17132 (MenuNew): use stringstream
17133 (Open): use stringstream
17135 * importer.C (Import): use stringstream
17137 * bufferview_funcs.C (CurrentState): use stringstream
17139 * LaTeX.C (run): use stringstream
17141 * BufferView_pimpl.C (savePosition): use stringstream
17142 (restorePosition): use stringstream
17143 (MenuInsertLyXFile): use stringstream
17145 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17158 * vspace.C: removed // -*- C++ -*- as first line.
17161 * version.h: added // -*- C++ -*- as first line.
17163 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17165 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17167 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17170 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17172 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17175 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17177 * gettext.C: include LString.h even when --disable-nls is on.
17179 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17181 * converter.h (Get): changed argument type from int to
17182 FormatList::size_type to avoid unnecessary conversion.
17184 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17187 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17189 * gettext.h: include LString.h even when --disable-nls is on.
17191 2001-06-07 Juergen Vigna <jug@sad.it>
17193 * text.C (BreakAgain): subst spaces with tabs.
17195 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17196 (resizeInsetsLyXText): set force on resizeLyXText.
17198 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17200 * gettext.h (gettext_init):
17201 (locale_init): use a real definition instead of a macro
17203 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17205 * Bufferview_pimpl.C:
17207 * LColor.C: further lcolor tidies
17209 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17211 * BufferView_pimpl.C (updateScrollbar): simplify.
17213 * BufferView2.C: don't include insets/insetinfo.h, change
17214 prototype for insertInset and call the Pimpl version. let
17215 updateInset call Pimpl version.
17217 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17218 gotoInset to BufferView::Pimpl
17220 2001-06-01 Juergen Vigna <jug@sad.it>
17222 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17223 inside a LockingInset (is the update needed at all?).
17225 2001-05-31 Juergen Vigna <jug@sad.it>
17227 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17228 here not the old one otherwise how should we compare it afterwards
17231 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17236 * FontInfo.C: bring C functions into global namespace when
17239 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17241 * LString.h: make sure config.h has been loaded before LString.h.
17243 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17244 (one for each char read by EatLine!).
17246 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17249 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17251 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17252 to the same as the par we break from
17254 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17256 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17258 * MenuBackend.C (expand): also create menu entries for wide
17259 versions of the floats.
17261 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17263 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17265 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17266 frontends/Makefile.am
17272 * tabular.C (getTokenValue): add std::
17274 * tabular-old.C (getTokenValue): add std::
17275 (getTokenValue): ditto
17276 (getTokenValue): ditto
17278 * screen.C (ToggleSelection): adjust
17280 * lyxtext.h: put selection cursors inside a Selection struct.
17282 * lyxfunc.C (moveCursorUpdate): adjust
17284 * lyxfont.C (latexWriteStartChanges): add std::
17286 * lyxfind.C: adjust
17288 * font.h: delete with(char const *, LyXFont const &)
17290 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17292 * FontInfo.C (getFontname): add std::
17294 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17295 (workAreaButtonPress): adjust
17296 (tripleClick): adjust
17298 (moveCursorUpdate): adjust
17301 * BufferView2.C (gotoInset): adjust
17303 2001-05-30 Juergen Vigna <jug@sad.it>
17305 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17306 to check pspell I add this as default as I now have new pspell
17307 libraries and they seem to use this.
17309 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17311 * text2.C (CutSelection): make the cursor valid before the call to
17314 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17316 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17317 relied on 0 terminated strings and other horrors. Bug found due to
17318 the new assert in lyxstring!
17320 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17323 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17325 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17328 * lyxfunc.C (processKeySym): change method of getting to the
17331 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17332 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17333 * BufferView_pimpl.[Ch]: here as private methods.
17335 2001-05-28 Juergen Vigna <jug@sad.it>
17337 * text.C (SetHeightOfRow): added the update() call again as it is
17338 needed to initialize inset dimensions!
17340 2001-05-16 Juergen Vigna <jug@sad.it>
17342 * text2.C (SetCharFont): Add new function with BufferView * and
17343 bool toggleall parameters for setting insets internal fonts.
17344 (SetFont): Freeze the undo as we may change fonts in Insets and
17345 all this change should be inside only one Undo!
17347 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17348 setting font's in insets as for them we have the SetFont function!
17350 2001-05-15 Juergen Vigna <jug@sad.it>
17352 * text2.C (ClearSelection): to be sure we REALLY don't have any
17355 * tabular.C (TeXCellPreamble): fixed the left border problem for
17358 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17360 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17363 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17365 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17366 LFUN_BREAKPARAGRAPH.
17368 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17369 help test to "internal only", similar for LFUN_INSERT_URL
17371 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17372 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17373 auto_region_delete and deadkeys.
17375 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17378 * LColor.C: remove some dead entries, tidy a little
17380 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17382 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17384 (Dispatch): implement LFUN_ESCAPE
17386 * commandtags.h: add LFUN_ESCAPE
17388 * LyXAction.C (init): add entry for LFUN_ESCAPE
17390 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17391 Remove commented code.
17392 (insertNote): moved here
17393 (open_new_inset): moved here
17395 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17398 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17400 * kbmap.C (findbinding): clean it up and make it work correctly.
17402 * lyx_main.C (init): do not pass argc and argv as parameters
17404 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17406 * buffer.C: fix path for OS/2 & Win32
17410 * lyx_main.C: Added os:: class.
17412 * os2_defines.h: update
17414 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17416 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17417 better by trying again with reduced state.
17419 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17421 * lyxrc.C (read): print error about invalid key sequence only when
17422 debugging (because not all latinX keysyms are known to some X
17425 * kbsequence.C (getiso): add a few std:: qualifiers
17426 (getiso): comment out extra return statement.
17428 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17430 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17432 (Dispatch): enhance the accent inset a bit. (not perfect)
17434 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17436 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17438 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17440 * bufferlist.C (emergencyWrite): fix assert() call
17442 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17444 * text.C (InsertChar): Added trivial patch to only send the "you
17445 can not do multiple spaces this way" message once during a
17448 2001-05-08 Baruch Even <baruch@lyx.org>
17450 * Makefile.am: Changed order of libraries to get LyX to link properly
17451 with the gnome frontend.
17453 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17455 * LaTeXFeatures.h: add a std:: qualifier
17457 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17459 * paragraph.C (String): use stringstream
17461 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17463 * paragraph.C (writeFile): remove footflag arg
17465 * buffer.C (makeLaTeXFile): use stringstream
17466 (latexParagraphs): remove footnot gurba
17468 * LaTeXFeatures.C (getPackages): use stringstream
17469 (getMacros): likewise
17470 (getTClassPreamble): likewise
17471 (getFloatDefinitions): new method
17473 * paragraph.C (writeFile): reindent
17476 * WorkArea.h: revert the xpos + etc changes.
17478 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17480 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17482 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17483 (pasteSelection): likewise
17484 * text2.C (CreateUndo): likewise
17486 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17488 * minibuffer.C (peek_event): temporarily reduce the functionality
17489 of the minibuffer (to allow args on lfuns)
17491 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17492 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17494 * buffer.C (readInset): add compability reading of old float
17495 lists, add reading of new style float list.
17496 (readInset): avoid reevaluation of inscmd.getCmdName()
17497 (getLists): reindent
17499 * MenuBackend.C (MenuItem): implement parsing of
17500 md_floatlistinsert and md_floatinsert.
17501 (expand::LastFiles): move initalizaton of iterators out of loop,
17502 avoid reevaluation.
17503 (expand::Documents): introduce typdedef vector<string> Strings,
17505 (expand::ExportFormats): introduce typedef vector<Format const *>
17506 Formats, and use it.
17507 (expand): implement FloatListInsert and FloatInsert.
17509 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17510 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17511 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17513 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17515 (Dispatch::LFUN_FLOAT_LIST): implement
17517 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17519 * LaTeX.C (run): Fix problem with --export code.
17521 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17523 * BufferView.[Ch] (workarea): removed.
17524 (getClipboard) new method; wrapper for workarea()->getClipboard()
17526 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17529 * WorkArea.h (width, height, xpos, ypos): These methods all
17530 returned the dimensions of the work_area sub-area of WorkArea,
17531 resulting in a position error if the WorkArea were resized. Now
17532 return the dimensions of the entire WorkArea.
17534 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17536 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17538 * LaTeX.C (deplog): correct the syntax of regex reg1
17540 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17542 * undo.C: remove !NEW_INSETS cruft
17544 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17546 * text2.C: remove !NEW_INSETS cruft
17548 * text.C: remove !NEW_INSETS cruft
17550 * tabular.C: remove !NEW_INSETS cruft
17552 * spellchecker.C: remove !NEW_INSETS cruft
17554 * lyxtext.h: remove !NEW_INSETS cruft
17556 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17558 * lyxfunc.C: remove !NEW_INSETS cruft
17560 * lyxfind.C: remove !NEW_INSETS cruft
17562 * lyx_cb.C: remove !NEW_INSETS cruft
17564 * figureForm.C: remove !NEW_INSETS cruft
17566 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17568 * buffer.[Ch]: remove !NEW_INSETS cruft
17570 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17572 * CutAndPaste.C: remove !NEW_INSETS cruft
17574 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17576 * BufferView2.C: remove !NEW_INSETS cruft
17578 * BufferView.h: remove !NEW_INSETS cruft
17580 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17582 * Lsstream.h: include LString.h before the sstream headers to
17583 fix problem with gcc 2.95.3 and lyxstring
17585 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17587 * lyx_main.C: add using directives when needed for C functions
17588 declared in std:: namespace.
17590 2001-04-27 Juergen Vigna <jug@sad.it>
17592 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17593 (SetHeightOfRow): comment out the update call should not be needed!
17595 2001-04-13 Juergen Vigna <jug@sad.it>
17597 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17598 (LyXTabular): tried to minimize operator= operations (and realized
17599 hopfully Lars wish).
17601 2001-04-27 Juergen Vigna <jug@sad.it>
17603 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17605 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17607 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17609 * buffer.C (readInset): hack to make listof algorithm work
17611 * BufferView_pimpl.C: hack to make listof algorithm work
17613 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17615 * LyXAction.C: removed all !NEW_INSETS cruft
17616 (init): moved lfun_item in method
17618 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17620 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17622 * BufferView2.C (theLockingInset): white space.
17624 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17626 * minibuffer.C: include <iostream>
17628 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17630 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17632 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17634 * text.[Ch] (TransposeChars): new method
17636 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17638 * call message directly through LyXView instead of through LyXFunc
17639 * BufferView2.C: adjust
17640 * BufferView_pimpl.C: adjust
17641 * FontLoader.C: adjust
17643 * bufferview_funcs.C: adjust
17644 * converter.C: adjust
17645 * figureForm.C: adjust
17646 * importer.C: adjust
17648 * lyx_gui_misc.C: adjust
17649 * lyxfunc.C: adjust
17652 + more files in subdirs
17654 * lyxparagraph.h (size): move up int file
17657 * adjust all uses of Assert to lyx::Assert.
17659 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17660 lyxfunctional in namespace lyx
17661 * layout.C (hasLayout): ditto
17664 (delete_layout): ditto
17665 (NumberOfClass): ditto
17666 * converter.C (GetFormat): ditto
17671 * bufferlist.C (getFileNames): ditto
17672 (emergencyWriteAll): ditto
17675 * MenuBackend.C (hasSubmenu): ditto
17678 * BufferView_pimpl.C (getInsetByCode): ditto
17680 2001-04-18 Juergen Vigna <jug@sad.it>
17682 * vspace.C (asLatexString): fixed the 100% problem.
17684 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17686 * lyxfunc.C (Dispatch):
17688 * minibuffer.h: add a few std:: qualifiers
17690 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17692 * minibuffer.[Ch]: reimplement so that commands is initiated and
17693 run from lyxfunc, simplified som handling, and made the completion
17694 and history code for complete. wip.
17696 * lyxfunc.C (processKeySym): call message
17697 (miniDispatch): new temporary method
17698 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17699 (LFUN_MESSAGE): implement
17700 (LFUN_MESSAGE_PUSH): implement
17701 (LFUN_MESSAGE_POP): implement
17702 (initMiniBuffer): the initial/defualt minibuffer message.
17704 * lyxfont.[Ch]: inline some more getters
17706 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17708 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17710 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17711 (AutoSave): use LFUN_MESSAGE
17712 (Reconfigure): ditto
17714 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17716 * figureForm.C: use LFUN_MESSAGE
17718 * converter.C (runLaTeX): use LFUN_MESSAGE
17720 * bufferview_funcs.C: use LFUN_MESSAGE
17722 (changeDepth): ditto
17724 * bufferparams.h: use boost::
17726 * bufferlist.h: inherit privately from noncopyable
17728 * bufferlist.C (loadLyXFile): remove some commented code.
17730 * buffer.C (runChktex): use LFUN_MESSAGE
17732 * ShareContainer.h: inherit privately from noncopyable
17734 * ParagraphParameters.[hC] (depth): inline it.
17736 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17738 (message): new method
17739 (messagePush): ditto
17740 (messagePop): ditto
17741 (show): init minibuffer
17742 (showState): direct call
17744 * LaTeX.[Ch]: inherit privately from noncopyable
17745 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17746 instead of WriteStatus.
17748 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17750 * BufferView_pimpl.C (buffer): don't init minibuffer
17751 (workAreaButtonPress): use LFUN_MESSAGE
17752 (workAreaButtonRelease): ditto
17753 (savePosition): ditto
17754 (restorePosition): ditto
17755 (MenuInsertLyXFile): ditto
17756 (workAreaExpose): don't init minibuffer
17757 (update): remove commented code, simplify
17759 * BufferView2.C (openStuff): use LFUN_MESSAGE
17760 (toggleFloat): ditto
17763 (copyEnvironment): ditto
17764 (pasteEnvironment): ditto
17769 (updateInset): remove some commented code
17771 * lastfiles.h: inherit privately from noncopyable
17774 * lyx_main.h: ditto
17776 * lyxlex_pimpl.h: ditto
17778 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17779 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17780 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17782 * LyXAction.h: inherit privately from noncopyable, add methods
17783 func_begin, func_end, returning iterators to the func map.
17785 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17786 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17787 (func_begin): new method
17788 (func_end): new method
17790 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17792 (copySelection): ditto
17793 (pasteSelection): ditto
17795 * BufferView.C: whitespace change
17796 * BufferView.h: inherit privately from noncopyable
17798 2001-04-16 Allan Rae <rae@lyx.org>
17800 * tabular-old.C (l_getline):
17801 * spellchecker.C (sc_check_word):
17802 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17803 an unrecognised preprocessor directive. So ensure they're wrapped.
17805 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17807 * src/exporter.C (Export): Give an error message when path to file
17810 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17812 * LaTeX.C (deplog): Always check that foundfile exists.
17814 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17817 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17819 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17821 * tabular.[Ch] (getLabelList): implement new method
17823 * minibuffer.h: comment ouf setTiimer
17825 * minibuffer.C (ExecutingCB): constify res
17826 (peek_event): constify s
17827 (Set): constify ntext
17828 (Init): constify nicename
17830 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17832 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17833 (savePosition): use two params to Minibuffer::Set
17834 (restorePosition): ditto
17836 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17838 * lyx_main.C: include language.h
17840 * Makefile.am (lyx_main.o): add language.h
17842 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17848 * CutAndPaste.C: include gettext.h
17850 * lyxfont.h: remove old hack with ON and OFF.
17853 * lyxfont.h: do not include language.h...
17858 * bufferview_funcs.C:
17864 * paragraph.C: ... but do it here instead
17866 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17868 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17870 * tabular.C: small reformat
17872 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17875 (BreakParagraph): ditto
17876 (SetOnlyLayout): ditto
17879 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17882 * lastfiles.C: removed most using decl, add std:: where needed
17884 * buffer.C: ws changes
17886 * MenuBackend.C (class compare_format): put into anon namespace
17887 (expand): constify label, names, action, action2
17890 * text.C (SingleWidth): constify font
17891 (IsBoundary): constify rtl2
17892 (GetVisibleRow): constify ww
17894 * LaTeX.C (deplog): constify logfile
17896 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17898 (workAreaExpose): constify widthChange, heightChange
17900 * lyxrow.C (par): moved
17903 * lyxrow.h: as inlines here
17905 * lyxfont.h (shape): moved from lyxfont.C
17906 (emph): moved from lyxfont.C
17908 * lyxfont.C (LyXFont): use initialization list for all
17910 (shape): move to lyxfont.h as inline
17911 (emph): move to lyxfont.h as inline
17914 2001-04-04 Juergen Vigna <jug@sad.it>
17916 * vspace.C: had to include stdio.h for use of sscanf
17918 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17921 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17922 independent of xforms.
17924 2001-04-02 Juergen Vigna <jug@sad.it>
17926 * spellchecker.C: fixed namespace placing!
17928 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17930 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17931 the LyXParagraph * is 0.
17933 2001-03-29 Juergen Vigna <jug@sad.it>
17935 * vspace.C: added support for %, c%, p%, l%.
17936 (stringFromUnit): added helper function.
17937 (asLatexString): changed to give right results for the %-values.
17939 * buffer.C: convert the widthp in a width%.
17941 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17943 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17946 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17947 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17949 * lyx_cb.[Ch]: see above.
17951 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17955 * lyx.[Ch]: replaced by figure_form.[Ch].
17959 * lyxfunc.C: changed headers associated with above changes.
17961 2001-03-27 Juergen Vigna <jug@sad.it>
17963 * BufferView_pimpl.C: set the temporary cursor right!
17965 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17967 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17969 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17971 * LString.h: removed "using std::getline"!
17973 * BufferView_pimpl.C (Dispatch): changes due to changes in
17974 InsetInclude::Params.
17976 * buffer.C (tag_name): removed redundant break statements as they were
17977 producing lots of warnings with my compiler.
17979 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17981 * LString.h: add "using std::getline" when using the real <string>.
17983 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17985 * buffer.C: removed bitset usage.
17986 PAR_TAG moved to an anonymous name space.
17987 (tag_name): new funtion, also in the anonymous namespace.
17988 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17989 (makeDocBookFile): clean code. Completed transition from string arrays
17991 (SimpleDocBookOnePar): code clean.
17993 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17995 * tabular.C: add some comments.
17997 2001-03-22 Juergen Vigna <jug@sad.it>
17999 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18000 compatibility read a bit and fixed bug with minipage in different
18003 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18005 * buffer.C (pop_tag): removed.
18006 (push_tag): removed.
18007 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18008 array replaced with vector. Added support for CDATA sections.
18009 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18011 (makeDocBookFile): XML conformant declaration of CDATA section,
18012 fixed bug related to <emphasis> in the first paragraph char.
18013 (sgmlOpenTag): exclude empty tags.
18014 (sgmlCloseTag): ditto.
18016 * buffer.h (pop_tag): removed.
18017 (push_tag): removed.
18019 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18021 * language.h (Languages): added size_type and size().
18023 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18025 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18026 response on compability reading of minipages. One probliem is that
18027 the old usage of minipages was flertydig
18029 * several files here and in subdirs: don't use static at file
18030 scope use anon namespaces instead.
18032 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18034 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18035 LaTeX output. This is necessary for Literate document
18038 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18040 * buffer.C: insert hfill when needed.
18042 * tabular.C (l_getline): use string::erase, small whitespace change.
18044 * BufferView_pimpl.C: try the anon namespace.
18045 * WorkArea.C: ditto
18047 2001-03-16 Juergen Vigna <jug@sad.it>
18049 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18050 otherwise it won't open options-dialogs.
18052 * buffer.C: honor pextraWidth(p) on converting minipages.
18054 * tabular.C (l_getline): changed the functions to strip trailing \r.
18056 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18058 * BufferView_pimpl.C:
18059 * minibuffer..C: added "using SigC::slot" declaration.
18061 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18063 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18069 * paragraph.C: ditto
18071 * lyxtext.h: NO_PEXTRA
18073 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18075 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18076 * ParameterStruct.h: ditto
18077 * ParagraphParameters.h: ditto
18078 * lyxparagraph.h: ditto
18080 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18082 * buffer.C: add compability for minipage alignment.
18083 (latexParagraphs): remove unwanted pextra check.
18085 * several files: remove CXX_WORKING_NAMESPACES
18087 * buffer.C (pop_tag): tie is in namespace boost
18089 * BufferView.h: noncopyable is in namespace boost
18091 * lyx_main.h: ditto
18094 * lastfiles.h: ditto
18095 * bufferlist.h: ditto
18096 * ShareContainer.h: ditto
18098 * LyXAction.h: ditto
18101 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18103 * Merging changes from BRANCH_MVC back into HEAD.
18105 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18107 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18109 * BufferView_pimpl.C: change from intl.C
18113 * Makefile.am: move combox.*
18119 * intl.C: remove dialog (covered by prefs)
18121 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18123 * lyxfunc.C (Dispatch): removed redundant break statement.
18125 2001-03-14 Juergen Vigna <jug@sad.it>
18127 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18129 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18131 * buffer.C: add hack to fix compability reading of minipages.
18133 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18135 * buffer.C (getLists): Cleanup.
18137 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18139 * lyxfont.C (update): don't honor toggleall on font size.
18141 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18145 * Makefile.am: moved to frontends/xforms/
18149 * BufferView_pimpl.C: changes for moved mathpanel
18151 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18153 * gettext.h: fix gettext_init() in --disable-nls
18155 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18157 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18159 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18162 * lyx.h: strip external form
18164 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18166 * BufferView_pimpl.C: add comment, destroySplash()
18168 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18170 * BufferView_pimpl.C:
18174 * lyxfunc.C: use re-worked insetinclude
18176 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18178 * buffer.C: add using std::stringstream.
18180 * lyx_cb.C: readd using std::ios.
18182 * buffer.C: add using std::map.
18184 * BufferView_pimpl.C: add using std::vector.
18186 * ShareContainer.h: add std:: to swap.
18188 * buffer.h: add some typedefs
18189 * buffer.C (getLists): use them
18190 (getLists): renamed from getTocList.
18191 add a counter for the different float types and use it in the
18193 (getLists): use the same counter for the NEW_INSETS and the "non"
18196 * lyx_cb.h: remove unused items, includes, using etc.
18198 * ShareContainer.h: remove some commented code, add more comments
18199 and "documentation".
18201 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18203 * buffer.C (getTocList): make the list also when NEW_INSETS is
18206 * buffer.h: remove TocType
18208 * buffer.C (getTocList): change to return a map<string,
18209 vector<TocItem> >, implement for dynamic number of list.
18211 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18212 * text2.C (PasteSelection): adjust
18213 * CutAndPaste.C (pasteSelection): adjust
18215 * FloatList.C (FloatList): update from the new_insets branch.
18216 * Floating.[Ch]: ditto
18217 * LaTeXFeatures.C: ditto
18219 * lyxlex_pimpl.C: ditto
18221 * paragraph.C (Last): remove when NEW_INSETS is defined.
18223 * other file: changes because of the above.
18225 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18227 * lyxparagraph.h: rename next to next_, previous to previous_,
18228 make them private for NEW_INSETS. Rename Next() to next(),
18229 Previous() to previous().
18231 * other files: changes because of the above.
18233 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18236 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18239 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18241 * main.C (main): pass lyx_localedir to gettext_init().
18243 * gettext.h: remove locale_init and gettext_init macros
18245 * gettext.C (locale_init): new function
18246 (gettext_init): new function
18248 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18251 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18253 * Moved credits to frontends:
18254 * credits.[Ch]: removed
18255 * credits_form.[Ch]: removed
18256 * lyx_gui_misc.C: remove credits stuff
18259 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18261 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18263 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18264 unneeded destructor.
18266 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18267 a standalone pointer again.
18269 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18271 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18277 * ToolbarDefaults.C:
18286 * BufferView_pimpl.C: use new file dialog in GUII
18289 * lyx_cb.C: remove LayoutsCB to Toolbar
18291 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18293 * ShareContainer.h (get): add std:: qualifier
18295 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18297 * ShareContainer.h: define a proper ShareContainer::value_type
18298 type (and use typename to please compaq cxx)
18300 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18302 * lyxparagraph.h: move serveral local vars to
18303 ParameterStruct/ParagraphParameters., use ShareContainer in
18304 FontTable., make vars in FontTable private and add getter and
18307 * paragraph.C: changes because of the above.
18309 * lyxfont.h: remove copy constructor and copy assignment. (the
18310 default ones is ok), move number inside FontBits. move inlines to
18313 * lyxfont.C: add number to initializaton of statics, move several
18314 inlines here. constify several local vars. some whitespace
18315 cleanup. Dont hide outerscope variables.
18317 * Spacing.h: add two new constructors to match the set methods.
18319 * ShareContainer.h: new file, will perhaps be moved to support
18321 * ParameterStruct.h: new file
18323 * ParagraphParameters.h: new file
18325 * ParagraphParameters.C: new file
18327 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18328 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18330 * BufferView_pimpl.C: ParagraphParameter changes.
18331 * buffer.C: Likewise.
18332 * bufferview_funcs.C: Likewise.
18333 * text.C: Likewise.
18334 * text2.C: Likewise.
18336 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18338 * lyxfind.C (LyXReplace): do not redefine default argument in
18340 (IsStringInText): ditto
18341 (SearchForward): ditto
18342 (SearchBackward): ditto
18344 2001-03-06 Juergen Vigna <jug@sad.it>
18346 * lyxfind.C (IsStringInText): put parentes around expressions.
18348 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18350 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18352 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18354 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18356 * stl_string_fwd.h: add comment
18358 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18361 * tabular.C: remove unused DocBook methods
18367 killed DO_USE_DEFAULT_LANGUAGE
18369 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18371 * lyx_gui.C: do not include language.h.
18373 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18374 arguments in function implementation.
18376 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18378 * BufferView_pimpl.C: add <ctime>
18380 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18382 * BufferView_pimpl.C: add using std::find_if
18384 2001-02-27 José Matos <jamatos@fep.up.pt>
18386 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18389 2001-02-11 José Matos <jamatos@fep.up.pt>
18391 * buffer.C (makeDocBookFile): command styles now have a parameter as
18392 "title" by default.
18394 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18396 * layout_forms.[Ch]: removed
18397 * lyx_cb.[Ch]: out character
18398 * lyx_gui.C: out character
18399 * lyx_gui_misc.C: out character
18400 * bufferview_funcs.C: : out character,
18401 added toggleall as parameter in ToggleAndShow
18403 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18405 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18407 * text2.C (SetCurrentFont): Disable number property at boundary.
18409 2001-02-26 Juergen Vigna <jug@sad.it>
18411 * lyxfunc.C (getStatus): added a string argument override function so
18412 that this is correctly called from LyXFunc::Dispatch if it contains a
18413 do_not_use_argument which is used!
18414 (Dispatch): added check for "custom" export and call appropriate func.
18416 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18418 * lyxrc.C: Add language_command_local, language_use_babel and
18419 language_global_options.
18421 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18423 * buffer.C (makeLaTeXFile): Use language_use_babel and
18424 language_global_options.
18426 2001-02-23 Juergen Vigna <jug@sad.it>
18428 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18429 which works with LyXText and putted it inside BufferView. Here now we
18430 only call for that part the BufferView::Dispatch() function.
18432 * BufferView.C (Dispatch): added.
18434 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18435 functions which needs to use a LyXText over from LyXFunc.
18436 (MenuInsertLyXFile): added
18437 (getInsetByCode): added
18438 (moveCursorUpdate): added
18439 (static TEXT): added
18441 2001-02-22 Juergen Vigna <jug@sad.it>
18443 * BufferView_pimpl.C (update): call a status update to see if LyXText
18446 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18448 * vc-backend.C (revert): implement for CVS
18449 (getLog): implement for CVS
18451 2001-02-20 Juergen Vigna <jug@sad.it>
18453 * text2.C (ClearSelection): added BufferView param for inset_owner call
18455 * lyxfunc.C (TEXT): added this function and use it instead of
18456 directly owner->view()-text of getLyXText().
18458 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18460 * src/layout_forms.C: out preamble
18461 * src/layout_forms.h: out preamble
18462 * src/lyx_cb.C: out preamble
18463 * src/lyx_cb.h: out preamble
18464 * src/lyx_gui.C: out preamble
18465 * src/lyx_gui_misc.C: out preamble
18466 * src/lyxfunc.C: connect with guii preamble
18468 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18470 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18472 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18474 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18475 whether to run bibtex.
18477 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18479 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18481 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18483 * Makefile.am (lyx_SOURCES): removed bibforms.h
18485 * vspace.h: doxygen
18487 * text.C (GetVisibleRow): make several local vars const
18489 * tabular.C: small cleanup.
18491 * lyxserver.C (callback): use compare instead of strncmp
18493 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18494 inlines to after class or to paragraph.C
18496 * lyxfont.h: remove friend operator!=
18498 * converter.h: move friend bool operator< to non friend and after
18501 * combox.h: small cleanup
18503 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18504 to inlines after class def.
18506 * buffer.C (pop_tag): use string operations instead of strcmp
18508 * bmtable.c: doxygen, small cleanup
18510 * LaTeX.h: remove friend operator==
18512 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18524 * BufferView_pimpl.C:
18525 * BufferView.[Ch]: remove cruft
18527 2001-02-14 Juergen Vigna <jug@sad.it>
18529 * lyxfunc.C: removed #if 0 unused code
18531 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18533 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18535 * text2.C (SetSelection): added a BufferView * parameter
18537 2001-02-13 Juergen Vigna <jug@sad.it>
18539 * lyxfunc.C (Dispatch): fixed protected blank problem.
18540 * BufferView2.C (protectedBlank): added LyxText * parameter.
18542 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18543 (AppendColumn): same as above for column_info.
18545 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18546 (moveCursorUpdate): use a LyXText param for support of InsetText.
18548 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18549 (tripleClick): ditto
18551 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18553 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18555 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18557 * text2.C (SetSelection): set correct update status if inset_owner
18558 (ToggleFree): ditto
18560 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18562 * tabular.C: remove some commented code.
18564 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18566 * BufferView_pimpl.C: call hideSplash()
18568 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18571 * bibforms.h: remove
18574 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18575 add LFUN_CHILD_CREATE
18577 * counters.h: fix tiny typo
18582 * lyx.C: move splash to frontends/xforms/
18584 * lyx_gui_misc.C: move Include and Bibform to frontends
18586 * lyxvc.h: clarify comment
18588 * vspace.C: tiny housekeeping
18590 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18592 * text.C (PrepareToPrint): RTL Fix.
18594 * paragraph.C (GetUChar): New method.
18595 (String): Use GetUChar.
18597 * buffer.C (asciiParagraph): Use GetUChar.
18599 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18601 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18603 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18606 * buffer.C: rename to getLogName(), handle
18607 build log / latex log nicely
18609 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18612 * MenuBackend.h: remove support for reference menuitem type.
18614 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18616 * BufferView_pimpl.C: housekeeping
18617 * BufferView_pimpl.h:
18622 * minibuffer.h: move Timeout GUI-I
18624 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18626 * lyxrc.C (read): Update converters data-structures.
18628 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18630 * LaTeX.h (operator!=): add operator != for Aux_Info
18632 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18634 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18636 * LaTeXLog.C: deleted, useful code moved to Buffer
18639 * buffer.C: new function getLatexLogName()
18645 * lyxfunc.C: use frontends for LaTeX and VC logs
18647 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18649 * LaTeX.h: yet another std:: that Allan forgot.
18651 * Variables.C (set): renamed from isset(), because this clashes
18652 with some HP-UX macros (grr).
18654 2001-02-06 Allan Rae <rae@lyx.org>
18656 * LaTeX.h: Another bug fix. Missing std:: this time.
18658 2001-02-04 Allan Rae <rae@lyx.org>
18660 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18661 floats problem. I've left it commented out because it's not quite
18662 correct. It should also test that the current object is a table or
18663 figure inset. But I haven't gotten around to figuring out how to do
18664 that. I *think* it'll be something like: "table" == inset.type()
18666 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18669 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18671 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18672 all the citation/databases/styles in the auxilary file.
18673 (run): Rerun latex if there was a babel language error.
18675 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18677 * text.C (Backspace): Preserve the font when changing newline char
18679 (BreakParagraph): If the cursor is before a space, delete the space.
18681 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18683 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18685 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18686 new argument (code).
18687 (ChangeCitationsIfUnique): New method.
18689 * paragraph.C (GetPositionOfInset): Handle bibkey.
18691 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18693 * BufferView_pimpl.h: change type of Position::par_pos to
18694 LyXParagraph::size_type.
18696 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18698 * BufferView_pimpl.C (savePosition, restorePosition): Write
18699 messages to minibuffer.
18701 2001-01-28 José Matos <jamatos@fep.up.pt>
18703 * buffer.C (makeDocBookFile): adds support for document language.
18704 A silly restriction on the name of LatexCommand types where removed.
18705 Added support for CDATA sections, allows to chars unescaped, used
18706 among others in code, to avoid escape < and >.
18708 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18710 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18711 saved positions instrad of a stack. Furthermore, a position is
18712 stored using paragraph id/paragraph position.
18714 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18715 Remove LFUN_REF_BACK.
18717 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18719 * converter.C (dvipdfm_options): New method.
18721 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18723 * vspace.C (isValidLength): Fix for empty input string.
18725 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18727 * LyXAction.C (init): change description of LFUN_FIGURE to
18730 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18732 * LaTeX.C: add using directive
18734 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18736 * MenuBackend.C (expand): Fix the sorting of the formats.
18738 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18740 * lyx_main.C: tiny error message fix
18742 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18744 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18745 calling fl_initialize(). This fixes the problem with ',' as
18746 decimal separator in text files.
18748 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18750 * trans.C (process): Fix the keymap bug.
18752 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18754 * LaTeX.C (scanAuxFiles): New method. Provides support for
18755 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18756 (scanLogFile) Scan for "run BibTeX" messages.
18758 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18759 OT1 font encoding. Also, load the aecompl package if the ae
18762 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18764 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18766 * texrow.C (increasePos): turn two error messages into debug
18769 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18771 * LaTeX.C (scanAux): Handle the \@input macro.
18772 (runBibTeX): Use scanAux().
18774 * language.C (latex_options_): New field.
18776 * LaTeXFeatures.C (getMacros): Add language macros.
18778 * buffer.C (makeLaTeXFile): Small fix.
18780 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18782 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18784 * text2.C: add a using directive.
18786 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18791 * lyxfunc.C: kill LyXBell.
18793 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18795 * text.C (IsBoundary): Remove the error message
18797 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18799 * lyxrc.C (setDefaults): Correct initialization value for
18802 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18804 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18807 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18808 and GotoNextNote().
18810 * src/LyXAction.C: Added reference-next.
18812 * text.C (InsertChar): Use contains instead of strchr.
18814 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18816 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18818 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18819 alignment commands (when needed).
18821 * text.C (InsertChar): Add ':' to number separator chars.