1 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
5 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
15 * text3.C: Fix bug 2115: blue language lines (for default font)
16 popping up when the documnent font is different. This includes work
19 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
21 * exporter.C (Backends): Add "lyx" backend
22 * exporter.C (Export): Handle "lyx" backend
23 * graph.C (getReachable): Don't exclude "lyx"
24 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
26 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
28 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
29 for correct in-mathed positioning
31 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
33 * rowpainter.C (paintForeignMark): fix foreign blue line under
36 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
38 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
39 pit of the uno range (bug 2022).
41 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
43 * messages.C (get): Only warn once if setlocale fails (bug 2177)
45 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
47 * text2.C (setCharFont): take inset's own font settings into account
48 when defining the font to reduce to, fixes 2019
50 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
52 * bufferview_funcs.C (coordOffset): remove the check for
53 collapsed collapsables (fix for bug 2094). This is now done
54 on a more general level (cursor.C).
56 * dociterator.[Ch] (forwardPos): add an optional argument
57 bool "ignorecollapsed" (default false), which lets forwardPos
58 skip collapsed insets.
60 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
61 (fixes bug 2241 and 2094).
63 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
65 * buffer.C: change tracking (dvipost) doesn't require
68 * LaTeXFeatures.C (getPackages): no need for the color
69 option "usenames" (bug 2169).
71 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
72 * buffer_funcs.C: Trivial fix - added {} around
73 the statements to be affected by a if-test. Now
74 label in a minipage in a float looks ok on screen again.
76 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
78 * text2.C: fix bug 2015: on screen fonts in nested environments
81 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * converter.C (convert): handle unknown formats
85 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * cursor.C (goUpDown): comment out some debug messages.
89 * counters.C (newCounter): make error messages more explicit
90 (these appear with some textclasses like beamer)
92 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
95 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
96 have origin set to KEYBOARD. (bug 2221)
98 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
100 * rowpainter.C (isCursorOnRow): do not exclude endpos().
102 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
104 * cursor.C (macroModeClose): returns true if an inset actually got
105 inserted; revert faulty fix to bug 2034.
107 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * tabular.C (getLabelList): remove (not used anymore).
111 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
113 * outputparams.[Ch]: add new flag inComment
115 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * text2.C (deleteEmptyParagraphMechanism): since we delete a
118 paragraph, recordUndo should span two paragraphs (bug 2155).
120 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
122 * rowpainter.C (paintPar): always repaint the row with the
125 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
131 * vspace.h: fix syntax error
133 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
135 * text3.C (dispatch): Force refresh if typing into inset changes its
138 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
143 * rowpainter.C: Speed up rendering by only re-painting rows that
144 have changed. When selection or whole-screen update active, all rows
145 are repainted, as are all rows within insets.
147 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
149 * version.C.in: Use PACKAGE_VERSION instead of VERSION
151 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
153 * tabular.C (toggleFixedWidth): Use default layout of text class
154 instead of hardcoded "Standard"
156 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 * lyxfunc.C (dispatch): do not call getStatus again to determine
159 whether a lfun is disabled (bug 2172).
161 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
163 * cursor.C (macroModeClose): set the cursor inside the new math
164 atom if relevant (think \frac{}{}) (bug 2034)
166 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
170 * text3.C (Delete, backspace): force update when merging paragraphs
172 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
174 * BufferView.C (mouseSetCursor): clear the selection properly (bug
177 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
179 * text.C (redoParagraph): honor inset->noFontChange()
180 * rowpainter.C (paintInset): ditto
182 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
184 * lyx_main.C (priv_exec): don't initialize Math on startup
185 (initMath() has been moved to math_hullinset).
187 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
189 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
190 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
191 * paper.h: dispose dead PAPER_PACKAGES enum.
193 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
195 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
198 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
200 * exporter.C (Export): Don't try to copy a file if it does not exist
203 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
205 * text2.C (makeFontEntriesLayoutSpecific): remove.
208 * text.C (insertChar): remove bogus caching of fonts (did not do
211 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
212 ALL_SANE). (bug 2146)
214 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * rowpainter.C (paintFirst): fix centering of
217 LABEL_CENTERED_TOP_ENVIRONMENT.
219 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
221 * BufferView.C (mouseSetCursor): new method. Calls
222 deleteEmptyParagraphMechanism if necessary.
224 * lyxtext.h: make deleteEmptyParagraphMechanism public.
226 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
227 BufferView::mouseSetCursor (bug 2109).
228 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
230 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
232 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
233 do not remove it (this inset behaves differently from the others).
235 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * BufferView_pimpl.C (getStatus): it is only possible to insert a
240 file in a text inset.
242 * buffer.C (readDocument): remove pit argument and code releated
243 to it; set the inset owner correctly (unrelated, but useful).
244 (readFile): get rid of pit argument.
246 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
247 textclass instead of a selection index.
248 (pasteParagraphList): new function.
249 (pasteSelection): make it a wrapper around pasteParagraphList.
251 * BufferView_pimpl.C (MenuInsertLyXFile): use
252 cap::pasteParagraphList to insert a file.
254 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
256 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
258 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
260 * exporter.C: fix typo in text message
262 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
264 * text2.C (setLayout): move recUndo call to other setLayout method
265 * tabular.C (toggleFixedWidth): new, handle cell width changes
266 * tabular.C (setColumnPWidth): move some code from insettabular.C here
267 and use toggleFixedWidth
268 * tabular.C (setMColumnPWidth): ditto
270 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
272 * paragraph.C (asString): use new inset->textString method (fix
275 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * CutAndPaste.C (numberOfSelections): new helper function.
279 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
281 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
282 LyXFunc::getStatus; implement LFUN_PASTE.
284 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
286 * dociterator.[Ch]: new member realInset() that returns the cell
287 for tabulars and the inset for the rest (bug 1952).
288 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
291 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
295 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
299 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
302 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
304 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
305 line after typing ctrl-enter
307 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
309 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
310 math insets do not return a proper editable() state yet (bug 2124).
312 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
314 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
315 docs containing very large paragraphs.
317 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
319 * cursor.C (selectionBegin, selectionEnd):
320 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
321 cursor at different depths.
323 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
325 * bufferview_funcs.C (coordOffset): do not call cursorPos
326 for collapsed collapsables (fix bug 2094).
328 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
330 * paragraph.C (fontSpan): make sure that the FontSpan does not
331 span across beginOfBody (bug 1947).
333 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
335 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
337 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
339 * messages.C: fix crash and localization on MinGW/Windows platform
341 2005-11-02 Angus Leeming <leeming@lyx.org>
344 * lyxtextclass.C: trivial fixes to some MSVS warnings.
346 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * text3.C (getStatus): re-enable disabled code. (bug 2081)
350 * BranchList.h (empty): constify.
352 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
354 * text3.C (getStatus):
355 * MenuBackend.C (expandBranches): take the branch list from the
356 master document (bug 2092).
358 * MenuBackend.C (expandBranches):
359 * bufferparams.C (writeFile): use BranchList type.
361 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
363 * text3.C (dispatch, getStatus):
364 * LyXAction.C (init):
365 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
367 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
371 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * text.C (insertChar): do not reset boundary (bug 2061)
375 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * dociterator.C (updateInsets): new method. Updates the inset_
378 cache of all the slices of the iterator.
380 * text2.C (deleteEmptyParagraphMechanism): compare also containing
381 insets when comparing pit/pos; pass the right cursor to
382 recordUndo; when a paragraph has been deleted, compare `old.top()' to
383 the right cursor slice of `cur'; use updateInsets on cur to make
384 sure that the inset caches are correct; general cleanup.
386 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
388 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
389 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
390 containg inset. If this does not work, the same command will be
391 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
393 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
396 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
398 * lyxtextclass.C (Read): convert layout file if the format is wrong
399 * lyxtextclass.C (layout2layout): new, needed for the above
401 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
403 * messages.C: do not forget to include <cerrno>.
405 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
407 * dociterator.h (StableDocIterator): add access to pos().
408 * undo.C (samePar): new method to check if two
409 iterators are in the same paragraph
410 * undo.C (recordUndo): check for samePar instead of cell identity
411 (which includes pos() and is too strict) (fixes bug 2097)
413 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
415 * text.C (setCursorFromCoordinates): return a bool telling whether
418 * text3.C (cursorPrevious): update if needed after
419 setCursorFromCoordinates (when dEPM triggered).
421 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
422 (otherwise the anchor may be completely wrong and make dEPM assert).
424 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
426 * buffer.C: version upgrade to 245.
427 * bufferparams.C: remove \quotes_times (bug 2090).
428 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
429 quotation marks as default.
431 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
433 * CutAndPaste.C (nrOfParagraphs): remove (unused)
434 * CutAndPaste.C (cutSelection): Remove debug message
435 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
436 undo information and only copy if this is a real cut
437 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
439 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
441 * CutAndPaste.C (eraseSelection): prevent cursor corruption
442 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
443 superflous cur.selection() setting
444 * CutAndPaste.[Ch] (grabSelection): take a const cursor
445 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
447 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
449 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
452 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
454 * BufferView_pimpl.C: comment layout change
456 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
460 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
461 by bibliography managers (bug 2071).
463 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
465 * BufferView_pimpl.C (update): choose arguments to update call so
466 that single-par update works most times
467 * text3.C (dispatch): carefully tune updating separately for
468 whole-screen and current-paragraph
469 * rowpainter.C (paintText): 1) replace painting by caching for
470 the two extra paragraphs, because we can;
471 2) suppress greying out of areas below/above drawn area in case of
473 * lyxfunc.C (dispatch): remove superfluous update
474 * LyXAction.[Ch]: introduce SingleParUpdate
476 2005-10-05 Angus Leeming <leeming@lyx.org>
478 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
479 always initialised before use.
481 * text.C (setHeightOfRow): squash warning about comparison
482 of signed and unsigned types.
484 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
486 * text.C (cursorX): two fixes involving RtL text drawing
488 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
491 items, not only large ones (part of bug 2057)
493 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
495 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
496 argument, use "newcommand".
498 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
500 * cursor.C (setSelection): do not open collapsable insets;
501 the insets do by themselves now (autoopen).
503 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
505 * buffer.C: format is up to 244.
507 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
509 * text.C (redoParagraph): fix calcultation of inset width wrt
510 leftMargin (bug 1957).
512 * text3.C (dispatch): leave inset to the right when hitting ESC
515 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * messages.C: include <boost/current_function.hpp>
522 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
524 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
525 when command is internal. (bug 1941)
527 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
529 * text2.C (cursorRight): do not honor boundary when at the end of
530 a paragraph. (bug 2010 again)
532 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
534 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
536 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
538 * rowpainter.C (paintText): fix RtL space width display bug (2029)
540 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
542 * text2.C (setCursor): remove the unused 'boundary' parameter for
543 the CursorSlice version; adapt the LCursor version.
546 * paragraph_pimpl.C (markErased):
547 * cursor.C (bruteFind2, bruteFond3): fix warnings.
549 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
551 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
552 as is already done for "chapter".
554 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
556 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
557 textclass; do not record undo if nothing is changed.
559 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
561 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
563 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
565 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
567 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
569 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
570 combox, it is necessary to search for the topmost paragraph in the
571 cursor stack (bug 1926)
573 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
575 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
576 end of paragraph. (bug 2010)
578 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
580 * text.C (leftMargin): check for inInset == 0
582 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
584 * text.C (leftMargin): test for insetbase's new neverIndent()
585 bool instead of listing each and every inset that does not
586 wish par indendation.
588 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
590 * buffer_funcs.C (setCounter): put the code to compute enum label
591 here (where it belongs).
593 * counters.C (enumLabel): move code to buffer_funcs.C.
595 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
597 * outputparams.[Ch]: store local_font instead of local_language
598 * paragraph.C (simpleTeXOnePar): adapt to the change above
600 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
603 * counters.[Ch]: clean up special code for Hebrew.
605 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
607 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
610 2005-09-08 Angus Leeming <leeming@lyx.org>
613 * lyxrc.C: correct grammar describing invocation of the
616 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
618 * text.C (read): remove unused variable.
619 (readParToken): remove static Change variable (never good in
620 recursive settings...); add it as a parameter instead.
622 * paragraph_pimpl.C (acceptChange): make debug info conditional.
624 * metricsinfo.C (PainterInfo): add new member erased_.
626 * rowpainter.C (RowPainter): add erased_ member, initialized from
628 (paintInset): pass erased_ to Inset::draw.
630 * lyxfunc.C (lookupChange): new function. Tells whether change
631 tracking is disabled at a given postion.
632 (getStatus): disable some actions when in deleted text with change
635 2005-08-03 John Levon <levon@movementarian.org>
637 * tabular.C (appendColumn, setMultiColumn): adapt to change to
640 * paragraph_pimpl.C (markErased): add bool argument and handle it.
641 Also make sure to mark insets recursively.
642 (rejectChange, erase): be recursive
644 * paragraph.C (markErased): add bool argument.
645 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
647 * lyxfind.C (findNextChange): tiny cleanup.
649 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
650 change tracking with the cursor in an inset; make sure the first
651 change is not skipped.
653 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
655 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
656 tabularStackDirty to work around bug 1919 (tabular needs
657 to know whether its own cell paste buffer or the one of
659 * CutAndPaste.C: mark tabular_stack_ clean after copy.
661 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
663 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
665 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
667 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
668 use old deleteion algorithm when changetracking is on.
670 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
672 * messages.C (get): add debug output.
674 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
676 * text.C (cursorX): fix bug 1965: cursor movement at
677 line end broken in RtL.
678 (drawSelection): fix bug 1970: drawing of single-line
679 selection broken for RtL.
681 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
685 * dociterator.h (clear, push_back, pop_back): change from
688 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
689 and changed to just return the value of the item depth; take a
690 ParIterator as argument; take the itemdepth at outer nesting level
691 in account if necessary; cleanup and comment the code.
692 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
693 and changed to just return true if reset is needed; take a
694 ParIterator as argument; cleanup and comment the code.
695 (setCounter): adapt to above changes.
697 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
699 * text3.C (dispatch): make debug message optional
701 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
703 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
706 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
708 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
710 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
712 * text.C (insertChar):
713 * text2.C (deleteEmptyParagraphMechanism): take care whether
714 a blank has been deleted (in change tracking mode) (bug 1254).
716 2005-07-20 John Levon <levon@movementarian.org>
718 * text2.C (insertStringAsLines): remove old dubious code,
721 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
723 * MenuBackend.C (expandToc): use Floating::listName() as title of
726 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
728 * toc.[Ch]: Do not use translatable strings (bug 1870).
730 2005-07-20 John Levon <levon@movementarian.org>
732 * tabular.C: fix 1748 - setting multicolumn adds
733 left line to the first cell
735 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
738 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
741 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
743 * messages.C: supress some lyxerr messages
745 2005-07-18 Juergen Vigna <jug@lyx.org>
747 * text.C (drawSelection): honor boundary when asking for cursorX.
749 2005-07-17 José Matos <jamatos@fc.up.pt>
751 * tabular.C (recalculateMulticolumns): fix handling of one column
754 2005-07-17 Juergen Vigna <jug@lyx.org>
756 * text.C (Delete, backspace): fixed so that paragraph with the
757 same layout can be merged by Delete/Backspace.
759 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
761 * text.C (readParToken): fix spelling.
763 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
765 * text2.C: fix counter update for DEPM problem reported by
768 2005-07-17 Juergen Vigna <jug@lyx.org>
770 * BufferView_pimpl.C (setBuffer): save/restore the
771 cursor/selection when switching buffers
774 * buffer.C (saveCursor): add saveDocumentIterators to save the
775 cursor when switching buffer.
777 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
780 * buffer.C: clarify message
782 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
784 * dociterator.C (DocIterator): fix initialization order
786 2005-07-17 Juergen Vigna <jug@lyx.org>
788 * text2.C (cursorHome):
789 * text.C (drawSelection, cursorX):
790 * dociterator.C (textRow): add boundary to getRow() call
792 * paragraph.C (getRow): implementation of below
794 * paragraph.h: add parameter boundary for getRow() function
796 2005-07-17 José Matos <jamatos@fc.up.pt>
800 * tex-strings.[Ch]: new file format, remove support for a4.sty,
801 a4wide.sty and a4widemargins.
803 2005-07-17 Juergen Vigna <jug@lyx.org>
805 * text2.C (cursorLeft): fix one of error
807 2005-07-17 Juergen Vigna <jug@lyx.org>
809 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
811 more fixes for boundary handling
813 * text3.C (dispatch): don't reset cursor if boundary has changed
816 2005-07-16 Juergen Vigna <jug@lyx.org>
818 * text2.C (getColumnNearX): hopefully got it right now,
819 check if we are on column 0 for special case.
821 2005-07-16 Juergen Vigna <jug@lyx.org>
823 * text2.C (getColumnNearX): handle special case Newline Inset
825 * text.C (singleWidth): Just remove bogus check
827 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
829 * funcrequest.C (split): avoid reading uninitialized char c
831 2005-07-16 José Matos <jamatos@fc.up.pt>
837 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
838 single papersize variable.
840 2005-07-16 Juergen Vigna <jug@lyx.org>
842 * text3.C (dispatch): honor boundary when checking if a cursor
843 movement has been done
845 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
846 (setCursor, setCursorIntern): fix cursor movement with boundary
848 2005-07-16 Juergen Vigna <jug@lyx.org>
850 * text.C (currentState): output the actual Boundary
852 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
854 * factory.C (createInset): fix bad logic for tabular creation
856 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
858 * lyx_main.C (init): change some reLyX reference to tex2lyx
860 2005-07-16 Juergen Vigna <jug@lyx.org>
862 * dociterator.C (DocIterator): initialize boundary
864 2005-07-16 Juergen Vigna <jug@lyx.org>
866 * text2.C (getColumnNearX): Consider rows without trailing blank.
868 2005-07-16 André Pönitz <poenitz@gmx.net>
870 * lyxfont.h: Change order of declarations to give the compiler
871 a better chance to inline things
873 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
874 questions on unsaved docs for better scritability
876 2005-07-16 André Pönitz <poenitz@gmx.net>
878 * paragraph.h (getChar): remove asserts as the same kind of security
879 can be achieved by using a suitable standard library implementation
880 and the function was in the critical path (25.9% in profiler)
882 2005-07-16 Juergen Vigna <jug@lyx.org>
884 * cursor.C (bruteFind2):
885 * bufferview_funcs.C (coordOffset):
886 * text.C (cursorX,cursorY): Handle cursor position after last char
887 in row before a inset which uses a whole row.
889 2005-07-15 José Matos <jamatos@lyx.org>
891 * output_plaintext.[Ch] (writeFileAscii): control reference title
893 (asciiParagraph): noparbreak was already deal and was incorrectly
896 2005-07-15 Juergen Vigna <jug@lyx.org>
898 * lyxfunc.C (dispatch): save and restore the cursor after a
901 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
903 * text.C (backspace): bug 806 for empty keepempty paragraphs we
904 change the layout to default before letting DEPM do its thing.
906 * paragraph_funcs.C (breakParagraph): dont reset the layout on
909 * text.C (setCursorFromCoordinates): add a debug statement
911 * text2.C (getColumnNearX): bug 1825 make sure that we don't
912 return a pos that is not on the row
914 * output_latex.C (TeXDeeper): get rid of potential dereferencing
915 of past the end iterator
917 2005-07-14 André Pönitz <poenitz@gmx.net>
919 * undo.C (recordUndoFullBuffer): implement undo for
922 2005-07-14 André Pönitz <poenitz@gmx.net>
924 * cursor.C (setSelection): open insets when selection is set there
925 to avoid crashs with cold coord cache
927 2005-07-14 André Pönitz <poenitz@gmx.net>
929 * trans_mgr.C (insert): move cursor to the right after inserting
932 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
934 * BufferView_pimpl.C (update): dampen some of the debug blabbering
935 * factory.C (readInset): ditto
936 * text.C, text2.C: ditto
938 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * buffer.C: format incremented to 242. There is no file format per
941 se, but the "frenchb" language has been removed from lib/language
942 and has to be translated to "french" by lyx2lyx.
944 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
946 * cursor_slice.h, dociterator.h: add some documentation
947 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
949 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
951 * text.C (leftMargin): do not add identation to display() style
952 insets, because they are always centered (bug 1293).
954 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
956 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
957 formatted_time methods in support/lyxtime.
959 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
961 * toc.[Ch]: new method getGuiName, which is used by the frontends
962 to set the toc combo (fixes bug 1870). Make TOC string translatable.
964 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
966 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
967 StableDocIterator const &)
968 * undo.C (recordUndo): use the above instead of cell.size() comparison
969 (fixes bug 1808; instructed by Andr�.
971 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
974 * dociterator.h: Fix the assert when copying rows/cols in math
976 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
978 * BufferView_pimpl.C:
980 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
982 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
983 (findInset): new functions, refactored from goto Inset that return
984 the position of a certain inset without setting the buffer's cursor
986 (gotoInset): rewrite to call findInset and then set the cursor
989 2005-06-16 Angus Leeming <leeming@lyx.org>
991 * lyxrc.C (output, read): wrap all input and output of paths with
992 calls to os::internal_path and os::external_path, respectively.
993 (output): wrap bind_file inside quotes.
995 * format.C (view): enable the viewer to use the '$$s' placeholder.
997 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
999 * LColor.[Ch] (getFromLaTeXName): new
1001 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1003 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1005 2005-06-14 Angus Leeming <leeming@lyx.org>
1007 * lyx_main.C (init): ensure that the LyX binary dir is the first
1008 element in the PATH on non-POSIX builds.
1010 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1012 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1014 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1016 * rowpainter.C (paintInset, paintHebrewComposeChar)
1017 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1018 (paintChars): use getFontSpan to reduce calls to getFont to a
1019 minimum; use Paragraph::lookupChange instead of isXXXText.
1020 (paintForeignMark): rename LyXFont argument.
1021 (paintFromPos): pass a LyXFont object to the various paintXXX
1024 * FontIterator.C (FontIterator, operator++): use
1025 Paragraph::getFontSpan
1027 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1028 version that returns the font span as a pair.
1030 2005-06-09 Angus Leeming <leeming@lyx.org>
1032 * converter.C (convert): Don't forget "outfile = real_outfile" as
1033 the final step in a conversion where the input and output file names
1034 are the same. Otherwise, future conversion steps won't work...
1036 2005-06-09 Angus Leeming <leeming@lyx.org>
1038 * lyxsocket.C: remove stub code as it isn't needed by
1039 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1041 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1043 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1044 effectively disabled -x
1046 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1048 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1049 when it actually makes sense.
1051 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1053 * BufferView_pimpl.C: revert to showCursor in connection with
1054 Lars's front-end stack
1056 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1058 * text.C (redoParagraph): move cursor right after a bibitem
1061 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1063 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1065 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1068 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1070 * BufferView.[Ch] (update):
1071 * BufferView_pimpl.[Ch] (update, metrics):
1072 * dimension.h (operator==):
1073 * lyxfunc.C (dispatch):
1074 * metricsinfo.h (ViewMetricsInfo):
1075 * rowpainter.C (paintText):
1077 * text.C (redoParagraph):
1078 * text3.C (dispatch): Make LyX only repaint current paragraph in
1079 case of character insert --> speedup. Also fix cursor draw
1082 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1084 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1085 avoid a crash (bug 1891)
1087 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1091 * text2.C (getStringToIndex): constify cur argument.
1093 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1094 argument has been given
1095 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1096 try to invoke LFUN_INSET_APPLY).
1098 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1099 if no inset was created by doInsertInset
1100 (doInsertInset): return true if an inset has been inserted.
1102 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1104 * vspace.C (asGUIName): new method. A version of the space
1105 suitable for showing on screen.
1107 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1110 * lyxrc.C: rename "ASCII" to "Plain Text"
1112 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1114 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1115 translate the labelstring.
1116 (setCounter): translate labelstring as needed.
1118 * output_docbook.C (makeCommand): fix expandLabel invokation
1120 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1122 * BufferView.C: fix dialog title
1124 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1126 * lyx_main.C (priv_exec): fix logic error with help from Angus
1127 * lyx_main.C (parse_execute): set is_gui = false and remove now
1128 obsolete comment about a segfault
1130 2005-05-18 Angus Leeming <leeming@lyx.org>
1132 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1134 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1136 * tabular.[hC]: added setCellInset to fix tabular paste.
1138 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1140 * buffer.C (save): check if destination is writable before trying
1143 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1145 * BufferView_pimpl.C (update): fix processEvents -caused update
1148 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1150 * buffer_funcs.C (setCounter): fix test for numbering of
1153 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1154 depth correctly; use optional argument when it exists
1156 * lyxtextclass.C: remove unused MaxCounterTags enum
1157 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1158 (max_toclevel, min_toclevel): new methods.
1160 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1161 the smallest depth in toc.
1163 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1164 layouts that should not appear in a table of contents.
1166 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1168 * cursor.h (undispatched, noUpdate): add comments from Andr�
1169 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1173 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1175 2005-05-07 André Pönitz <poenitz@gmx.net>
1177 * cursor.[Ch] (leaveInset): new function
1179 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1181 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1183 2005-05-04 Angus Leeming <leeming@lyx.org>
1185 * lyxfunc.C (getStatus): disable the spell checker dialog if
1186 none of USE_[AIP]SPELL are defined.
1188 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1190 * tabular.C (setWidthOfCell): remove obsolete comment
1192 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1194 * paragraph.C (bibitem):
1195 * buffer_funcs.C (setCounter):
1196 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1198 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1200 * text3.C (getStatus): immediately return after setOnOff
1202 * rowpainter.C: fix drawing of appendix start
1204 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1206 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1207 SwitchBetweenClasses and remove the unused return value.
1208 Handle character styles, too
1210 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1212 * factory.C (createInset): handle undefined character styles
1214 2005-05-02 Angus Leeming <leeming@lyx.org>
1216 * buffer.C: protect the #include of utime.h with a preprocessor
1219 2005-05-02 Angus Leeming <leeming@lyx.org>
1221 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1222 function so that auto-saving works, albeit in a blocking manner.
1224 * Makefile.am: make compilation of the client sub directory, of
1225 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1226 on conditionals set at configure time.
1228 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1229 it can be compiled in its own right but has no-op functionality.
1231 * aspell.C, pspell.C: remove preprocessor guards. The files should
1232 be compiled only if the necessary functionality exists.
1234 * lyxserver.C, lyxsocket.C: disable on Windows.
1236 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1238 * text.C (leftMargin): Fix the parindent use bug (1764)
1241 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1243 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1246 2005-04-25 Angus Leeming <leeming@lyx.org>
1254 include <config.h> in .C files, not .h ones.
1256 protect headers inside preprocessor guards.
1258 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1260 * FuncStatus.h (StatusCodes): document
1262 2005-04-21 André Pönitz <poenitz@gmx.net>
1264 * FuncStatus.h (enabled, onoff): document
1266 2005-04-19 Angus Leeming <leeming@lyx.org>
1268 * BufferView_pimpl.C (cursorToggle): no longer test whether
1269 any child processes have been reaped before calling
1270 handleCompletedProcesses().
1272 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1274 * text3.C (dispatch): fix, finally fix, the language problem in
1275 new lyxtexts, without disabling on-the-fly font changes (Helge's
1278 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1280 * text3.C (dispatch): set cursor on double/triple click events
1283 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1285 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1286 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1288 * rowpainter.C (paintFirst): simplify the code a little bit. In
1289 particular, remove the test for secnumdepth.
1290 * text.C (setHeightOfRow): only allocate space for chapter number
1291 when updateCounters provided an actual label, instead of looking
1292 at secnumdepth directly.
1294 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1296 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1297 paragraphs when secnumdepth is large enough or, for environments,
1298 when they are not the first in a sequence.
1300 2005-04-17 Angus Leeming <leeming@lyx.org>
1302 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1303 containing space and '~' characters with a call to latex_path().
1305 2005-04-17 Angus Leeming <leeming@lyx.org>
1307 * converter.C (convert): protect all args of convertDefault.sh
1310 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1312 * text3.C (dispatch): change the layout to "Caption" after inserting
1315 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1317 * text3.C (dispatch): fix language problem in newly created
1318 textinsets (and main text) in non-english docs
1320 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1322 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1323 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1324 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1326 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1330 * text2.C (getFont):
1331 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1334 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1336 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1337 output of \item arguments without trailing text.
1339 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1341 * FontIterator.C (operator*): avoid a copy of the font.
1343 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1345 * rowpainter.C (getFont): fix language bug from previous fix
1347 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1349 * rowpainter.C (RowPainter, getFont): fix font inside inset
1352 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1354 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1355 preventing inserted font, deco, delim insets jumping to start of
1358 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1360 * lyxfunc.C (dispatch): translate message before sending it to the
1363 2005-03-29 Angus Leeming <leeming@lyx.org>
1365 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1366 to LyX on the command line.
1368 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1370 * vc-backend.C: use QuoteName to protect file names wherever
1373 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1376 * BranchList.h: fix bugs 1844,1845: document settings don't
1379 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1381 * lyxrc.C (setDefaults, read, output, getDescription): add support
1382 for tex_allows_spaces.
1384 * exporter.C (Export): allows files in directory containing spaces
1385 if tex_allows_spaces is true.
1387 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1388 output it in double quotes.
1390 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1392 * rowpainter.C: use default text height for drawing change tracker
1395 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1397 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1399 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1401 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1402 directory is missing.
1404 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1406 * text2.C: fixed the fix, extended to other case.
1408 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1410 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1412 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1414 * text2.C (cursorUp): get rid of a crash
1415 * text.C (x2pos): add an assert
1417 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1419 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1423 * dociterator.C: include <boost/current_function.hpp>, which is
1424 needed when assertions are disabled.
1426 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1428 * text2.C: fix for stuck cursor when traversing two
1429 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1431 2005-02-25 Andreas Vox <avox@arcor.de>
1433 * output_docbook.C (makeParagraph): suppress trailing newline
1434 after a run of paragraphs
1436 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1438 * paragraph.C: fix for confused change tracker when pasting
1439 text that begins with a lineseparator. [bug 1827]
1440 (setChange(0, Change::INSERTED);)
1442 * paragraph_funcs.C: fix for lost changes on triple-paste
1443 in change tracking mode [bug 1827] (par.setChange()).
1445 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1447 * text2.C (updateCounters, setCounter, expandLabel): move to
1450 * buffer_funcs.C (updateCounters): turn into a free standing
1451 function and add a buffer parameter. Remove dead code for tracking
1453 (setCounter): change into a free-standing function which gets a
1454 dociterator as argument. Use this iterator to fix captions in a
1455 simple way. When no float is found above the caption, use the
1456 labelstring of the caption layout as default.
1458 * text.C (breakParagraph, backspace):
1459 * text2.C (init, setLayout, changeDepth):
1460 * text3.C (dispatch):
1461 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1464 * dociterator.C (forwardPar): make it much faster by calling
1465 forwardPos() only when really necessary.
1467 * output_docbook.C (makeCommand): adapt to expandLabel move.
1469 * cursor.C: remove unused variable
1471 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1473 * paragraph_funcs.C: fix crash when pasting insets in change
1474 tracking mode [bug 1277] (honour change type in moveItem).
1476 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1478 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1480 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1482 * BufferView.C (setCursor): change to use a DocIterator.
1483 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1484 (putSelectionAt): adapt to BufferView::setCursor change.
1486 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1487 moved here from LyXText and rewritten to use proper cursor
1488 methods. Fixes bug 1787, 616 and 835.
1490 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1491 when inside an inset (part of bug 781).
1492 (dispatch): adapt to change of BufferView::setCursor.
1493 (getStatus, dispatch): handle LFUN_GOTOERROR,
1494 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1496 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1497 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1498 * text3.C (gotoNextInset, gotoInset): removed.
1500 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1502 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1504 2005-02-15 Angus Leeming <leeming@lyx.org>
1506 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1507 can be used meaningfully in a comparison.
1509 2005-02-13 André Pönitz <poenitz@gmx.net>
1511 * bufferview_funcs.C (coordOffset): improve cursor drawing
1513 2005-02-13 André Pönitz <poenitz@gmx.net>
1515 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1516 * Cursor.C (dispatch): use fixIfBroken
1517 * lyxfunc.C (getStatus): use fixIfBroken
1519 2005-02-15 Angus Leeming <leeming@lyx.org>
1521 * lyx_main.C (error_handler):
1523 * lyxrc.C (setDefaults):
1525 #include "environment.h".
1527 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1529 2005-02-15 Angus Leeming <leeming@lyx.org>
1531 * lyxserver.C (startPipe): squash MSVC warning "local variable
1532 'fd' used without having been initialized".
1534 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1536 * BufferView_pimpl.C: revert accidental commit.
1538 2005-02-14 André Pönitz <poenitz@gmx.net>
1540 * dociterator.[Ch]: new member forwardPosNoDescent(),
1541 which doesn't enter nested insets.
1542 * text2.C (setFont): use forwardPosNoDescent() instead
1543 of ForwardPos() (fixes crash on font change).
1545 2005-02-13 Angus Leeming <leeming@lyx.org>
1547 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1548 only if lyxrc.path_prefix is not empty.
1550 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1552 * bufferparams.C (readGraphicsDriver): prevent crash
1554 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1556 * text2.C (setCounter): check for inInset() == 0
1558 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1560 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1561 but use update() to get correct screen display; use convert
1562 instead of istringstream.
1563 (getStatus): handle LFUN_GOTO_PARAGRAPH
1565 * lyxfunc.C (dispatch, getStatus): do not handle
1566 LFUN_GOTO_PARAGRAPH here.
1568 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1570 * text3.C (dispatch): size() -> depth()
1572 * text2.C: remove some debug output
1574 * paragraph.C: ws changes only
1576 * lyxfunc.C (getStatus): size() -> depth()
1578 * dociterator.h (clear, push_back, pop_back, internalData,
1579 operator[], resize, empty): new functions
1580 Make StableDocIterator and operator== be friends. Don't inherit
1581 from std::vector use a privat class variable slices_ instead.
1584 * dociterator.C: update because of not inheriting from std::vector
1585 anymore. Call explictly to slices_ instead. Use depth() instead of
1586 size() and top() instead of back()
1588 * cursor.C: chagne size() -> depth and back() -> top(). Also
1589 remove some direct operator[](i) calls in favour of foo[i]
1590 (getFont): remove some dead code
1592 * bufferview_funcs.C (coordOffset): size() -> depth()
1594 * buffer.C: ws changes only
1596 * CutAndPaste.C (eraseSelection): back() -> top()
1598 * BufferView_pimpl.C (selectionRequested): back() -> top()
1600 * BufferView.C (setCursor): size() -> depth()
1602 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1604 * text3.C (cursorPrevious): return true if depm changed something
1606 (dispatch): rename sl to oldTopSlice, remove moving use the new
1607 NoUpdate func attrib instead. Make sure that needsUpdate is set
1608 for function that have NoUpdate, but where depm might have changed
1611 * text2.C (cursorLeft): make us return true if depm changed
1613 (cursorRight): ditto
1614 (cursorUpParagraph): ditto
1615 (curosrDownParagraph): ditto
1616 (cursorUp, cursorDown): ditto, make sure to read comments in code
1617 (deleteEmptyParagraphMechanism): remove an assert, also return
1618 true if just a single char was deleted.
1620 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1621 cursor that we modify, to avoid modifying an active cursor before
1622 we call setCursor. This allows depm to run. Also return true if
1623 depm deleted something.
1625 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1626 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1627 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1628 something was changed in the buffer because of them (ie. depm run)
1630 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1631 debug messages. Make update by default be false. Make sure that
1632 the result of update is retained throught several calls down to
1635 * LyXAction.h: add a new func_attrib: NoUpdate
1637 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1638 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1639 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1641 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1643 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1645 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1646 bv_->owner(), bv_->buffer() by direct references to the private
1648 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1649 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1650 (fitCursor): center() is in BufferView::Pimpl.
1651 (getStatus, trackChanges, dispatch): no need for a temporary buf
1653 (fitCursor, workAreaDispatch): use workarea().workheight()
1655 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1657 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1659 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1661 * buffer.C: format up to 241.
1662 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1663 break if pasting into ERT
1664 * lyxfunc.C (getStatus): suppress mathpanel and
1665 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1667 2005-02-01 Angus Leeming <leeming@lyx.org>
1669 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1671 2005-02-01 Angus Leeming <leeming@lyx.org>
1673 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1674 calling fs::is_directory().
1676 2005-01-31 Angus Leeming <leeming@lyx.org>
1678 * lyx_main.C (priv_exec): specify explicitly the relative location
1679 of the top level build directory when run in-place.
1681 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1683 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1684 LyXText containing the cursor, not the top-level one.
1686 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1688 (insertStringAsLines): rename par to pit; use temporary variable
1689 par to hold a Paragraph; do not store par.layout() in a variable,
1690 since the pointer may die when breaking paragraphs; pass pars to
1691 breakParagraph() instead of Buffer::paragraphs().
1693 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1695 * lyxlex_pimpl.h: #include <fstream>.
1697 * BufferView.[Ch] (getLyXText): add a const version.
1699 * BufferView_pimpl.C: add debug aids.
1704 * paragraph_funcs.h: add commentary explaining what the class does.
1707 * coordcache.[Ch]: add lots of commentary.
1708 (startUpdating, doneUpdating): debug aids.
1709 (arrays, insets, parPos, getParPos): accessors to private data.
1711 * cursor_slice.[Ch] (text): add a const version.
1712 * dociterator.[Ch] (text, innerText): add const versions.
1714 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1717 * paragraph.C (getRow, pos2ros): add asserts.
1719 * paragraph.h: add commentary. Lots of.
1721 * paragraph.[Ch] (metrucs, draw): removed.
1724 * rowpainter.[Ch]: const-correct changes.
1726 * text.C: various obvious clean-ups. Removal of ancient cruft.
1729 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1731 * vc-backend.C (find_file): rewrite to use boost.filesystem
1734 * main.C (main): set default name check for boost.filesystem to
1737 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1740 (actOnUpdatedPrefs): ditto
1742 * lyx_main.C (init): rewrite to use boost.filesystem
1743 (queryUserLyXDir): ditto
1745 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1746 (getContentsOfAsciiFile): ditto
1748 * lastfiles.C (readFile): rewrite to use boost.filesystem
1750 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1752 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1753 (loadLyXFile): ditto
1755 * buffer.C (Buffer): adjust for destroydir
1756 (getLogName): rewrite to use boost.filesystem
1757 (setFileName): ditto
1758 (save): use fs::copy_file (from fs_extras)
1760 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1762 * LaTeX.C (run): rewrite to use boost.filesystem
1763 (scanAuxFiles): ditto
1764 (handleFoundFile): ditto
1766 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1768 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1770 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1772 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * lyxlayout.[Ch]: change some vars from float to double
1776 * buffer.C (readFile): make a local var const
1778 * Several files: use convert<> instead of atoi,strToXXX and friends
1780 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1782 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1783 holds the contents of packages.lst. New functions getAvailable
1784 and isAvailable to parse and check that list, resp.
1788 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1790 * bufferparams.[Ch]: new param output_changes.
1792 * Buffer.C: increase file format to 240.
1793 Use output_changes and isVailable.
1797 * paragraph_pimpl.C: Use output_changes and isVailable.
1799 2005-01-23 Angus Leeming <leeming@lyx.org>
1801 * output_latex.C: #include "insetbibitem.h", rather than
1802 forward declare function bibitemWidest.
1804 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1806 * lyx_main.C (init): make it compile on the Mac.
1808 2005-01-20 Angus Leeming <leeming@lyx.org>
1810 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1811 (setLyXMisc): (char string literal) != (char string literal) is
1812 performing a comparison on the addresses. Convert one operand
1813 explicitly to string to guarantee expected behaviour.
1816 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1819 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1821 * output_plaintext.C: remove unneeded #include gzstream.h.
1823 2005-01-20 Angus Leeming <leeming@lyx.org>
1825 * SpellBase.h: rename some of the elements of the Result enum.
1832 * pspell.C (check): ditto
1834 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1836 * buffer.C: add #include <fstream>.
1838 * lyx_main.C (init): Compile fix.
1840 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1842 2005-01-20 Angus Leeming <leeming@lyx.org>
1844 * mover.h: change commentary to reflect the changed meaning of
1845 the $$s placeholder.
1847 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1849 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1851 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1853 2005-01-20 Angus Leeming <leeming@lyx.org>
1855 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1856 printing diagnostic data by not dereferecing an iterator past the
1859 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1861 * buffer.C (readHeader): use "&&" rather than "and".
1863 * lyxserver.h (inPipeName, outPipeName): make these const.
1865 2005-01-19 Angus Leeming <leeming@lyx.org>
1867 * lyx_main.C (error_handler, init): protect SIGHUP with
1868 #ifdef SIGHUP guards.
1870 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1872 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1874 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1876 * text.C (setHeightOfRow): add a margin at the top and bottom of
1877 the document (bug 1761)
1879 2005-01-17 Angus Leeming <leeming@lyx.org>
1881 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1882 with "python ". Workaround for a brain-dead Windows.
1884 2005-01-16 Angus Leeming <leeming@lyx.org>
1886 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1887 for MacOSX and Windows to use prependEnvPath.
1888 Strip out the hard-coded block to add elements to the PATH for
1889 MacOSX and replace it with a call to prependEnvPath using the
1890 contents of LyXRC::path_prefix.
1891 (queryUserLyXDir): strip out the code to run reconfigure, instead
1892 returning a boolean indicating the necessity to do so.
1893 (reconfigureUserLyXDir): contains the code to reconfigure the
1894 user support directory. Is now called after the various LyXRC data
1895 files have been read.
1897 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1899 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1901 * converter.[Ch] (convert): take a new parameter try_default. Use
1902 a default converter (imagemagick) if try_default is true.
1904 2005-01-13 Angus Leeming <leeming@lyx.org>
1906 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1907 os::cygwin_path_fix.
1908 (write): output LyXRC::cygwin_path_fix as necessary.
1910 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1913 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1915 2005-01-12 Angus Leeming <leeming@lyx.org>
1917 * lyx_main.C (init): set the PATH variable to include the
1918 directory containing the LyX binary when running on Mac or Windows.
1920 2005-01-12 Angus Leeming <leeming@lyx.org>
1922 * lyx_main.C (init): remove cruft that purports to set the locale
1923 dir. It doesn't and is not needed anyway.
1925 2005-01-10 Angus Leeming <leeming@lyx.org>
1927 * Makefile.am: remove the lyx_main.C special casing.
1929 * BufferView_pimpl.C:
1935 * messages.C: use support/package.h to provide the paths to the
1936 various directories used by LyX.
1938 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1940 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1941 layout if pasting into an empty paragraph)
1943 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1945 * tex-accent.C: add <string>
1947 2005-01-06 José Matos <jamatos@lyx.org>
1949 * ParagraphParameters.C (write): put every parameter in its own line.
1950 * paragraph.C (write): reduce number of consecutive empty lines exported.
1951 * buffer.C (LYX_FORMAT): increase file format to 239.
1953 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1955 * everywhere: change support/tostr.h -> support/convert.h
1957 * tabular.C: make all write_attributes templates, tostr -> convert
1959 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1960 (emptyTag): and -> &&, and fix type for ret from getChar
1961 (getFirstWord): fix type for ret from getChar
1962 (onlyText): and -> &&
1963 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1966 * toc.C (goTo, action):
1967 * text3.C (dispatch):
1968 * text.C (currentState):
1969 * tex-accent.C (DoAccent):
1972 * lyxfunc.C (menuNew):
1973 * lyxfinc.C (replace):
1974 * counters.C (laberItem):
1975 * bufferview_funcs.C (font2string):
1976 * bufferparams.C (writeFile):
1977 * buffer.C (readFile):
1979 * MenuBackend.C: tostr -> convert
1981 * LaTeX.C (runMessage): fix format
1982 (scanAuxFiles): tostr -> convert
1984 * BufferView_pimpl.C (savePosition): fix format
1985 (restorePosition): ditto
1988 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1990 * Spacing.[Ch]: New method getValueAsString().
1994 * ParagraphParameters.C:
1997 * text3.C: store/read spacing value as string.
1999 * rowpainter.C: change float value (spacing_val) to double.
2001 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2002 broken custom document spacing).
2004 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2006 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2007 namespace, also more use of temp references and const
2009 * cursor.[Ch] (getStatus): move to lyxfunc.C
2011 * bufferparams.C: reformat slightly
2013 * bufferview_funcs.C (font2string): constify arg
2019 * buffer_funcs.C: (many funcs): constify arg on function
2020 definitions, also make more local vars const, also add ASSERTS on
2023 * buffer.C (LYX_FORMAT): put const in correct place
2024 (many funcs): constify arg on function definitions, also make
2025 more local vars const
2027 * aspell_local.h: remove "struct" from typdef setup
2029 * aspell.C (check): make word_ok const
2030 (nextMiss): simplify slightly
2033 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2035 * lyxrc.[Ch]: store all float values as strings.
2036 use int (not float) for lyxrc.dpi.
2038 2005-01-04 Angus Leeming <leeming@lyx.org>
2040 * lyx_cb.C (Reconfigure):
2041 * lyx_main.C (queryUserLyXDir):
2042 to run the <system_lyxdir>/configure correctly on Windows, prefix
2043 the path to the script with "sh " when generating the string that
2044 is passed to system().
2046 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2048 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2050 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2052 * lyxlength.C (asLatexString): get rid of setprecision
2054 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2056 * text2.C (setLayout): remove unused variable endpit.
2057 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2059 * paragraph.C (onlyText): remove unused variable style.
2061 * cursor.C (bruteFind): remove unused variables beg and end.
2063 * Makefile.am (dist_noinset_DATA): not needed anymore
2065 * cheaders/*: remove.
2067 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2069 * text3.C: fix LFUN_MATH_MODE.
2071 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2073 * buffer_funcs.C (countWords): new function. Counts words between
2076 * BufferView_pimpl.C (getStatus, dispatch): handle
2079 * LyXAction.C (init):
2080 * lfuns.h: add LFUN_WORDS_COUNT.
2082 2004-12-19 Angus Leeming <leeming@lyx.org>
2084 * buffer.C (save): s/slashify_path/internal_path/.
2086 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2088 * lyxfind.C (findChange): do not search for end of pars, because
2089 the change tracker cannot handle this (fixes bug 1719).
2091 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2093 * paragraph.[Ch] (autoBreakRows): remove
2095 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2097 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2098 avoid using the paragraph one
2100 * text2.C (LyXText, insertStringAsLines): adjust
2102 2004-12-16 Angus Leeming <leeming@lyx.org>
2106 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2108 2004-12-14 Angus Leeming <leeming@lyx.org>
2110 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2112 * bufferlist.C (emergencyWrite):
2113 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2116 2004-12-14 Angus Leeming <leeming@lyx.org>
2118 * main.C: (main): no longer pass pointers to os::init.
2120 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2122 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2123 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2125 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2128 * text3.C: remove selection_possible global flag
2130 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2132 * text2.C (getSelectionSpan): remove
2133 (changeDepth, changeDepthAllowed): adjust
2135 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2137 * Makefile.am (BOOST_LIBS): use boost variables
2139 2004-12-03 José Matos <jamatos@lyx.org>
2141 * buffer.C: format up to 238.
2143 2004-12-03 José Matos <jamatos@lyx.org>
2145 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2147 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2149 * cursor.C (goUpDown): remove call to idxUpDown2
2151 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2153 * tabular.[Ch]: use size_t-like types for cell, row and column
2156 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2158 * lyxfunc.C (getStatus): do not lose previous information when
2159 calling BufferView::getStatus; do not set a default "Command
2160 disabled" message at the beginning, but just before returning.
2162 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2164 * cursor.h (getStatus): add better comment from src/cursor.C
2166 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2168 * text3.C (getStatus): return false when the lfun is not handled
2170 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2172 * broken_headers.h: remove
2174 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2176 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2178 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2179 offset_ref accessors
2181 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2182 top_y_, merge fitcursor with update
2183 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2185 (metrics): introduce
2186 (workAreaDispatch): adapt to new coord scheme
2187 (redoCurrentBuffer): remove
2189 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2191 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2194 * coordcache.[Ch]: add paragraph cache and helpers
2196 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2199 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2200 (targetX, setTargetX): introduce
2202 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2203 baseline -> ascent, as the rest of lyx
2205 * lyxtext.h: remove redoParagraphs, updateParPositions,
2206 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2207 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2208 have ascent/descent (ascent is ascent of first par)
2210 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2213 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2215 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2217 * pariterator.C: fix infinite loop introduced in par->pit renaming
2219 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2220 in insets and LyXText, draw two off-screen paragraphs using
2221 NullPainter, and adapt to new coord scheme
2225 * text3.C: adapt lfun handlers to the new coord scheme, which
2226 means: there's only guaranteed coord information for onscreen pars
2227 plus one above and one below. This implies that one can do search
2228 from y coordinates in the range [-1,workHeight]
2230 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2232 * rename a lot of InsetOld to InsetBase
2234 2004-11-25 Angus Leeming <leeming@lyx.org>
2236 * BufferView_pimpl.C:
2238 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2240 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2242 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2243 call BufferView::getStatus if LCursor::getStatus did nothing
2244 (setStatusMessage, getStatusMessage): removed.
2246 * FuncStatus.C (message): new methods. Used to provide an error
2247 message indicating why a command is disabled.
2248 (clear, |=, FuncStatus): update for message.
2250 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2252 * lyxfunc.C (dispatch): always call sendDispatchMessage
2254 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2257 * BufferView_pimpl.C:
2262 * cursor_slice.[Ch]:
2265 * paragraph_funcs.C:
2271 * undo.C: par->pit renaming
2273 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2275 * tabular.C (cellstruct): use initialization, store a shared_ptr
2276 to insettext instead of the insettext directly, adjust to fit.
2277 (operator=): new function
2278 (swap): new function
2279 (rowstruct): use initialization
2280 (columnstruct): use initialization
2281 (ltType): use initialization
2284 * lyxlength.h (swap): new function
2286 * LColor.[Ch] (operator=): use the common semantics
2288 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2290 * lyxfind.C (findNextChange): update the bufferview after setting
2293 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2295 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2296 number of InsetOptArgs has already been inserted.
2298 * output_latex.C (latexOptArgInsets): new method. This outputs all
2299 the optarg insets, up to the limit defined in the layout file.
2300 (optArgInset): removed
2301 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2303 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2305 * paragraph.C (isLetter): remove special spellchecker-related
2306 code; return true also for digits
2307 (isWord, isKomma): remove
2309 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2310 * lyxfind.C (MatchString()): use isLetter instead of isWord
2312 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2314 * pariterator.h (operatir=): comment out un-implemented member
2317 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2320 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * lyxfont.h: include LColor.h to satisfy concept checks.
2324 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2326 * pariterator.h: add typdefs for value_type, difference_type,
2327 pointer and reference to satisfy concept checks. Also add default
2328 constructor for same reason.
2330 * pariterator.C (operator++): add post-increment operator to
2331 satisfy concept checks.
2333 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2336 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2338 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2339 checks. Also rename base_type to BaseType to follow naming
2342 * FloatList.h: include Floating.h to satisfy concept checks.
2344 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2346 * lyxfunc.C (getStatus): when the origin of the request is menu or
2347 toolbar, and the LyXView does not have focus, do as if there was
2348 no buffer (bug 1720)
2350 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2351 FuncRequest to individual entries of LFUN_SEQUENCE
2353 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2355 * output_latex.C (TeXOnePar): override runparams.moving_arg
2356 according to the needprotect value of the current paragraph (bug
2359 * paragraph.C (simpleTeXOnePar): no need to override
2360 runparams.moving_args here
2362 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2364 * vspace.C: fix off-by-one-error, related to fix #1682
2366 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2368 * lengthcommon.C: a more general fix for bug 1682
2370 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2372 * text.C (backspace): fix crash
2374 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2376 * format.[Ch] (getFormatFromFile): new method
2377 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2379 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2381 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2383 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2385 * lyxfunc.C (dispatch): remove the verbose argument
2386 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2389 * kbmap.C (defkey): set the origin of func to KEYBOARD
2391 * MenuBackend.C (MenuItem):
2392 * ToolbarBackend.C (add): set the origin of func to UI
2394 * funcrequest.[Ch]: add origin member, which indicates which part
2395 of LyX requests an action
2397 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2399 * converter.C (move): don't lie in the error message
2400 * converter.h (isReachable, move): document
2402 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * buffer.C: remove unused using lyx::support::atoi
2405 * paragraph_funcs.C: ditto
2407 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * bufferlist.C (exists): use bind and equal_to instead of
2412 * lyxtextclasslist.C (NumberOfClass): ditto
2414 * cursor.C (insert): use for_each instead of explicit for loop
2416 * bufferlist.C (getFileNames): use std::transform and
2417 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2419 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2422 * buffer.C (changeLanguage): use for_each instead of explicit for
2424 (hasParWithID): implement using getParFromID
2426 * LaTeXFeatures.C: ws change only
2428 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2431 * BufferView_pimpl.C (trackChanges): use for_each instead of
2434 2004-11-04 André Pönitz <poenitz@gmx.net>
2437 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2439 * dociterator.C (asDocIterator): use hard assert again.
2441 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2443 * lyxlength.C (asLatexString): rewrite so that it does not use
2446 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2448 * text3.C (specialChar, dispatch): make sure cursor moves to the
2449 right after inserting an inset
2451 2004-11-02 José Matos <jamatos@lyx.org>
2453 * output_docbook.C (docbook):
2454 * paragraph.C (getID):
2455 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2456 garantee that the output is always legal.
2458 * tabular.C (docbook):
2459 * outputprams.[Ch]: remove mixed contents.
2461 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2463 * text2.C (setCounter): prevent endless loop
2465 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2467 * exporter.C (copyFile): use the mover instead of support::copy()
2468 * exporter.C (Export): pass format and latex name to copyFile()
2469 * exporter.h (addExternalFile): document
2470 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2472 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2474 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2476 2004-10-30 José Matos <jamatos@lyx.org>
2478 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2479 text and no inset or font change. This allows to use CDATA
2480 sections just for the whole paragraph.
2482 2004-10-30 José Matos <jamatos@lyx.org>
2484 * paragraph.C (getFirstWord): remove unused variable.
2486 2004-10-30 José Matos <jamatos@lyx.org>
2488 * paragraph.C (getFirstWord): the content should always be escaped
2490 (simpleDocBookOnePar):
2491 * output_docbook.C (makeEnvironment): replace reference to CDATA
2494 2004-10-30 José Matos <jamatos@lyx.org>
2496 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2498 2004-10-30 José Matos <jamatos@lyx.org>
2500 * output_docbook.C (makeParagraphs):
2501 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2502 standard paragraph has only a given type of content drop the wrapper.
2504 2004-10-29 José Matos <jamatos@lyx.org>
2506 * output_docbook.C (makeEnvironment):
2508 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2510 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2512 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2513 (cleanID): sanitize any id.
2515 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2517 * buffer.C, lyxlex_pimpl.C:
2518 * lyxlex_pimpl.C (setFile):
2519 s/getExtFromContents/getFormatFromContents/
2521 2004-10-28 José Matos <jamatos@lyx.org>
2523 * output_docbook.C (makeEnvironment): move id to broadest possible
2526 * sgml.C (openTag): apply substitution of <> for all attributes.
2528 2004-10-28 José Matos <jamatos@lyx.org>
2530 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2531 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2532 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2534 * sgml.[Ch]: new version for open and closeTag for paragraph and
2535 for strings. Now they handle the ids of paragraphs.
2537 2004-10-26 Angus Leeming <leeming@lyx.org>
2539 * Makefile.am: add mover.[Ch].
2541 * converter.C (convert, move): use the new Movers to move external
2542 files to the temp directory.
2544 * lyx_main.C (init): ensure that the global system_movers data
2547 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2550 * mover.[Ch]: new files, defining a Mover as a utility to move an
2551 external file between directories and, if necessary, manipulate this
2552 file using a helper script.
2554 2004-10-25 José Matos <jamatos@lyx.org>
2556 * output_docbook.C (makeCommand): merge two if's that tested the
2559 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2561 * sgml.C (escapeString): fix warning in a better way
2563 2004-10-25 José Matos <jamatos@lyx.org>
2565 * sgml.C (escapeString): import the require boosts header file for
2566 tie, and avoid a signed unsigned comparison.
2568 2004-10-25 José Matos <jamatos@lyx.org>
2570 * sgml.h: add #include <string>
2572 2004-10-25 José Matos <jamatos@lyx.org>
2574 * sgml.[Ch] (escapeString): new function to escape all the string.
2576 2004-10-24 José Matos <jamatos@lyx.org>
2578 * paragraph.[Ch] (getFirstWord): new function to get the first
2579 word. Useful for description.
2580 (simpleDocBookOnePar): remove depth argument, add another that
2581 says where to start the paragraph.
2583 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2584 use the new functions to fix cleanly the support for descriptions.
2586 2004-10-24 José Matos <jamatos@lyx.org>
2588 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2589 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2590 * output_linuxdoc.C (linuxdocParagraphs):
2591 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2592 add buffer as argument.
2594 2004-10-24 José Matos <jamatos@lyx.org>
2596 * output_docbook.C (makeEnvironment, searchEnvironment): place
2597 CDATA inside paragraphs and fix scope for listitems.
2599 2004-10-24 José Matos <jamatos@lyx.org>
2601 * output_docbook.C: remove using statement for stack.
2603 2004-10-23 José Matos <jamatos@lyx.org>
2605 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2606 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2607 docbook. The new scheme is recursive and makes use of iterators, the
2608 same as latex export works.
2609 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2610 directly with the paragraph contents. This code was moved up to
2611 output_docbook.C (docbookParagraphs).
2612 * sgml.C (openTag, closeTag): removed unneeded newlines.
2613 (closeEnvTags) removed.
2615 2004-10-23 André Pönitz <poenitz@gmx.net>
2617 * undo.C (textUndoOrRedo):
2618 * dociterator.C (asDocIterator): work around crash
2620 * cursor.C (getStatus): replace ASSERT by more verbose error message
2621 and manual correction of the problem. Should increase stability
2622 while providing more sensible information.
2624 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2626 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2628 * bufferlist.C (previous, next): new methods
2631 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2633 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2635 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2636 entities to preamble.
2638 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2640 * messages.C (Pimpl): strip off translation context information
2642 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2644 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2645 the cursor is correct (bug 1694)
2647 2004-10-13 José Matos <jamatos@lyx.org>
2649 * output_docbook.C (docbookParagraphs): fix closing tags in the
2650 end of the document.
2652 2004-10-09 José Matos <jamatos@lyx.org>
2654 * buffer.C: format up to 237.
2655 * bufferparams.C (write): use tostr to convert booleans to strings.
2657 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2659 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2661 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2663 * LaTeX.C: implement use of babel language in xindy.
2665 2004-10-05 José Matos <jamatos@lyx.org>
2667 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2668 Add new translators to help reading and writing the lyx file.
2670 2004-10-05 José Matos <jamatos@lyx.org>
2672 * ParagraphParameters.C (read):
2673 * text.C (readParToken): replace nexToken by more appropriate lex
2676 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2678 * LaTeX.C (runMakeIndex):
2679 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2680 (usually 'makeindex') configurable.
2682 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2683 with a variable rather than with a number.
2685 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2687 * output_latex.C (TeXOnePar): make sure font setting is the first
2688 thing that gets output (and the last at the end). Should fix bug
2691 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2693 * pch.h: use proper signal include
2695 * LaTeX.h: Use preferred calling of Boost.Signal
2698 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2700 * pch.h: dont include <boost/function/function0.hpp>
2702 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2704 * paragraph_pimpl.h: remove usage of ShareContainer
2706 * paragraph_pimpl.C: remove initialization of ShareContainer.
2708 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2712 * BufferView.C (putSelectionAt): change the semantics when
2713 backwards == true: now, this just swaps cursor and anchor wrt the
2716 * BufferView.h (putSelectionAt): add some documentation
2718 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2719 make sure backwardChar is done at least once (to avoid getting
2721 (findNextChange): use putSelectionAt in the forward direction
2722 (operator()): use Paragraph::isWord
2724 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2726 * Spacing.C (set): c_str fix
2728 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2730 * lyx_cb.C (Reconfigure): quote the name of configure script in
2731 case it contains spaces
2733 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2737 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2738 (BOOST_LIBS): use top_buildir when looking for the file
2740 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2742 * pch.h: do not use include boost/format.hpp, multiple symbols
2743 will result (gcc bug)
2746 2004-08-23 José Matos <jamatos@lyx.org>
2748 * bufferparams.C (readToken): fix reading of the author field.
2750 2004-08-20 José Matos <jamatos@lyx.org>
2752 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2754 2004-08-20 José Matos <jamatos@lyx.org>
2756 * lyxlex.[Ch] (findToken): remove function.
2758 * ParagraphParameters.C (findToken):
2759 * bufferparams.C (findToken): replace call for previous function
2760 with local copy. This local function has one more argument, the
2761 read string argument.
2763 2004-08-16 José Matos <jamatos@lyx.org>
2765 * ParagraphParameters.C (write):
2766 * Spacing.C (writeFile):
2767 * bufferparams.C (writeLaTeX):
2768 * lyx_cb.C (Reconfigure):
2769 * paragraph.C (write):
2770 * tabular.C (write): remove unnecessary space at end of line.
2773 2004-08-16 José Matos <jamatos@lyx.org>
2775 * text.C (readParagraph): remove debug message.
2777 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2779 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2782 * output_plaintext.C (asciiParagraph): set depth correctly
2784 * outputparams.h: add member depth
2786 * paragraph_funcs.C (ownerPar): remove.
2788 * text2.C (setCounter): remove first_pit; comment out some
2789 non-working code that uses ownerPar
2791 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2794 2004-08-16 José Matos <jamatos@lyx.org>
2796 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2797 For the same level of importance use the same chanel to report problems.
2798 (read): add code to deal with \begin_body and \end_body.
2801 2004-08-15 José Matos <jamatos@lyx.org>
2803 * lyxlex.C (getString): fix comment, buffer::readBody is now
2804 buffer:readDocument.
2806 * tex-strings.C (string_papersize): Default -> default,
2807 Custom -> custom, for consistency with other options.
2809 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2813 * Makefile.am: support pch
2815 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2817 * text.C (readParToken): remove the static LyXFont variable and
2818 pass it as a parameter instead. This fixes a nasty bug where an
2819 inset will be inserted with a bad font in some situations
2820 (readParagraph): adapt
2822 * text2.C (setCounter): reduce number of calls to pars_[pit]
2824 * text.C (singleWidth): add an assert, fix a test
2826 * rowpainter.C (paintText): reduce number of calls to singleWidth
2828 * paragraph.C (isHfill):
2829 (isNewline): ws only
2831 2004-08-14 André Pönitz <poenitz@gmx.net>
2836 * lyxtext.h (several functions): use a Paragraph & argument
2839 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2841 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2843 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2845 * text.C (singleWidth): remove useless test
2847 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2849 * tabular.h: remove bogus comments
2851 * tabular.C (getDescentOfRow):
2852 (isPartOfMultiColumn): add assertions
2854 * lyxlength.C (inPixels): remove #warning
2856 2004-08-14 André Pönitz <poenitz@gmx.net>
2858 * paragraph.h: inline getChar()
2860 * BufferView.h: remove unused declarations
2862 2004-08-14 José Matos <jamatos@lyx.org>
2864 * Buffer.[Ch] (readDocument): new name for old readBody.
2865 * Buffer.C: new file format, new keywords: \begin_document,
2866 \begin_header, \begin_body, \end_body.
2868 * bufferparams.C (readToken): replace all calls to lex.nextToken
2869 by lex.next(). Do the same to eatLine except where really needed.
2871 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2872 line when writing to the lyx file.
2874 * output_plaintext.C (asciiParagraph): fix Bibliography style
2877 * text.C (read): fix end of file handling.
2879 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2881 * MenuBackend.C (Menu::operator[]): new method to access
2882 individual menu items
2883 (Menu::hasFunc): new method. search for an item that corresponds
2885 (MenuBackend::specialMenu): new method
2886 (MenuBackend::expand): if a special menu has been set, skip
2887 entries whose func() appears in this menu
2889 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2891 * text3.C: use Debug::DEBUG a bit more
2893 * text.C (leftMargin): try to simplify a tiny bit change var x to
2894 l_margin. Dont output the wide margins always.
2895 (rightMargin): no margin in inner texts
2897 * rowpainter.h (nestMargin): new func
2898 (changebarMargin): new func
2899 (rightMargin): new func
2901 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2905 * factory.C (createInset): modify setDrawFrame
2907 * cursor.C: use Debug::DEBUG a bit more
2909 2004-08-14 André Pönitz <poenitz@gmx.net>
2912 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2913 cache for all insets in (at least partially) visible (top-level)
2916 * BufferView_pimpl.C: reset external coord cache before every update.
2917 This means the coord cache only contains valid entries.
2919 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2922 * BufferView_pimpl.C (getInsetByCode): move function out of class
2923 and change in to a template in anon namespace. Also fix to do what
2926 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2929 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2931 (breakParagraph): rename par to par_offset and use a local
2932 reference. Add code to keep the language over a rebreak.
2933 (breakParagraphConservative): rename par to par_offset, use a
2935 (mergeParagraph): ditto
2937 (isFirstInSequence): ditto
2938 (outerFont): rename pit to par_offset
2940 * paragraph.C: ws change
2941 * paragraph.h: ditto
2945 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2947 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2950 * paragraph.C (simpleTeXOnePar): when we have a \item with
2951 optional argument, enclose the argument with curly brackets (in
2952 case it contains a closing square bracket)
2956 * text3.C (checkInsetHit): constify
2958 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2960 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2961 documents (bug 1629)
2963 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2965 Fix toggling of collapsable insets with the mouse (bug 1558)
2967 * lyxfunc.C (dispatch): adapt to LCursor changes
2969 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2970 make sure that dispatch is not invoked twice
2972 * cursor.C (needsUpdate): new method
2973 (dispatch): return void
2974 (result): new method, to access the DispatchResult of the cursor.
2976 2004-08-13 José Matos <jamatos@lyx.org>
2978 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2980 2004-08-13 André Pönitz <poenitz@gmx.net>
2982 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2984 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2987 2004-08-12 André Pönitz <poenitz@gmx.net>
2989 * text3.C: take out the 'cursor right' form insertInset and only
2990 do it in those places when it is really needed. Fixes crash on
2993 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2995 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2997 * BufferView_pimpl.C (setBuffer): initialize the current font of
2998 the underlying LyXText
3000 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3002 * kbsequence.C (print): use UI native formatting for menu
3005 * text.C (insertChar): call Paragraph::insertChar with a font
3008 * paragraph.C (insertInset, insertChar): the version that takes a
3009 LyXFont argument is now a wrapper around the other one (the
3010 opposite used to be true).
3012 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3013 argument. Font setting is done in Paragraph now.
3015 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3017 * outputparams.h: add new members intitle and lang.
3019 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3020 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3022 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3024 * text3.C (dispatch): remove special handling of button 4 and 5,
3025 it is now taken care of in the frontend code.
3027 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3029 * Spacing.h: add <string> (STLPort compile fix)
3031 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3033 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3035 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3037 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3040 * converter.C (showMessage): inherit from unary_function, make
3043 * buffer.C (writeFile): initialize retval
3045 * InsetList.h: rename private variable list to list_
3046 * InsetList.[Ch]: adjust accordingly.
3048 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3050 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3051 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3052 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3053 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3054 * ParagraphParameters.C, LaTeXFeatures.C: replace
3055 "support/std_sstream.h" with <sstream>
3057 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3059 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3060 * lyxsocket.C (LyXServerSocket): ditto
3061 (serverCallback): ditto
3063 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3065 * LaTeXFeatures.C: check release date when loading jurabib.
3067 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3069 * lyxserver.C (startPipe): call register_socket_callback
3070 (endPipe): call unregister_socket_callback
3072 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3074 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3075 (LyXServerSocket): register the callback
3076 (LyXServerSocket): unregister the callback
3077 (fd): delete function
3078 (serverCallback): improve error checking and setup the callbacks.
3079 (dataCallback): change arg to fd.
3080 (writeln): new func (copied fro the client socket) used for server
3082 (LyXDataSocket): simplify
3083 (~LyXDataSocket): close ann unregiser callback
3084 (server): delete function
3085 (fd): delete function
3086 (readln): small changes, improve some std::string usage
3087 (writeln): constify a bit
3089 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3091 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3094 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3096 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3097 after it has been populated
3099 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3101 * text2.C (insertInset): move cursor when inserting inset.
3103 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3105 * kbmap.C (findbindings): a couple of new methods. returns a
3106 container of kb_sequence objects. The real work is done by the
3107 private recursive version
3108 (printbindings): uses findbindings to print out a bracketed list
3109 of bindings (renamed from findbinding).
3111 * MenuBackend.C (binding): use kb_keymap::findbindings
3113 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3115 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3117 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3119 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3121 * paragraph.C (isWord): return true on insets that report
3124 * text.C (getWord): use Paragraph::isWord to decide what is in a
3125 word and what is not; fix bug 1609.
3127 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3129 * tex-strings.C: add "none" to string_paperpackages[], fixes
3130 off-by-one-error in the paperpackage selection.
3133 * tex-strings.[Ch]: char const * string[n]
3134 -> char const * const string[]
3136 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3138 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3139 command, return early.
3141 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3143 * debug.h: add DEBUG to enum and fix size of ANY.
3145 * debug.C: add support for Debug::DEBUG
3146 (showTags): cast errorTags.level to unsigned int
3148 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3149 (redoCurrentBuffer): ditto
3150 (updateScrollbar): ditto
3151 * cursor.C (dispatch): ditto
3152 * text2.C (setLayout): ditto
3154 (updateCounters): ditto
3156 (deleteEmptyParagraphMechanism): ditto
3158 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3160 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3161 annotations to cleanup the Makefile slightly.
3163 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3165 * lyxrc.C: do not set user_email to a default value but use empty
3166 instead. The entry used to be translated, which does not work
3167 since at the point where lyxrc is constructed there is no
3168 translation service available
3170 * messages.C (getLocaleDir): remove and use directly
3171 lyx_localedir() instead
3173 2004-06-02 Angus Leeming <leeming@lyx.org>
3175 Fix crash caused by dereferencing null pointer 'exportdata' in
3176 OutputParams by creating a new ExportData variable on the heap,
3177 storing it in a boost::shared_ptr.
3178 The crash was triggered when generating an Instant Preview
3179 of an external inset.
3181 * Makefile.am: add outputparams.C
3183 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3184 (c-tor): allocate memory to it.
3186 * exporter.C (c-tor): associated changes.
3188 2004-06-01 Angus Leeming <leeming@lyx.org>
3190 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3191 contains data before calling isInset(0). (Bug 1513.)
3193 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3195 * exporter.C (checkOverwrite): new method
3196 * exporter.C (copyFile): new method
3197 * exporter.C (Export): copy referenced files to the document dir
3198 * exporter.[Ch]: new class ExportedFile
3199 * exporter.[Ch]: new class ExportData. Contains currently the
3200 names of referenced external files
3201 * outputparams.h: add exportdata member.
3203 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3205 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3208 2004-05-19 Angus Leeming <leeming@lyx.org>
3213 * lyxfunc.C: small changes due to the introduction of namespace
3214 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3216 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3218 * text3.C (dispatch): supress update when only moving the cursor
3219 * cursor.C (selHandle): remove commented code
3221 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3223 * paragraph.C (startTeXParParams): correct column count
3224 * CutAndPaste.C (pasteSelection): remove const_cast
3225 * output_docbook.C (docbookParagraphs): remove const_cast
3226 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3227 const_cast and return ParagraphList::const_iterator
3228 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3229 * output_plaintext.C (writeFileAscii): remove const_cast
3230 * paragraph.[Ch] (simpleTeXOnePar): make const
3231 * paragraph_funcs.C (outerPar): use const iterators
3232 * paragraph_pimpl.C (validate): use const iterators
3233 * text.C (setHeightOfRow): use const iterators
3235 2004-05-17 Angus Leeming <leeming@lyx.org>
3238 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3240 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3241 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3242 if the citation engine has changed.
3244 2004-05-14 José Matos <jamatos@lyx.org>
3246 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3247 if the textclass does not provide it. Have it different for sgml and
3249 support the language of document.
3250 * output_docbook.C (docbookParagraphs):
3251 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3252 first anchor as the id of the paragraph, remove special case code.
3253 * sgml.C (escapeChar): escape only < & >.
3255 2004-05-14 Angus Leeming <leeming@lyx.org>
3257 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3258 dependencies on src/frontends/controllers/biblio.h. Define a
3259 CiteEngine_enum wrapper class to enable the enum to be forward
3262 2004-05-12 Angus Leeming <leeming@lyx.org>
3264 * buffer.C: up LYX_FORMAT to 234.
3265 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3266 use_numerical_citations with a single biblio::CiteEngine cite_engine
3268 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3270 2004-05-13 José Matos <jamatos@lyx.org>
3273 * converter.C (Converter, readFlags): add xml member.
3274 * outputparams.h: add XML flavor.
3275 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3277 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3279 * lyxfunc.C (dispatch):
3280 (getStatus): fix handling of LFUN_SEQUENCE
3282 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3284 * debug.C (showLevel): do not forget the end-of-line marker
3286 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3288 * kbmap.C (read): do not stop parsing a bind file when an error
3291 2004-04-29 Angus Leeming <leeming@lyx.org>
3296 * text2.C: wrap a bunch of #warning statements
3297 inside #ifdef WITH_WARNINGS blocks.
3299 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3301 * buffer.C: increment format to 233.
3303 2004-04-28 Angus Leeming <leeming@lyx.org>
3305 * BufferView_pimpl.C:
3308 s/updateToolbar()/updateToolbars()/
3309 s/Toolbar.h/Toolbars.h/
3311 2004-04-28 Angus Leeming <leeming@lyx.org>
3313 * BufferView.[Ch] (c-tor):
3314 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3315 No longer passes these data to the WorkArea generator.
3317 2004-04-28 Angus Leeming <leeming@lyx.org>
3319 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3321 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3323 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3325 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3327 * output_latex.C (TeXEnvironment): make sure that there is a line
3328 break before \end{foo} for the last paragraph of a document
3329 (TeXOnePar): if the paragraph is at the end of the document (or
3330 inset) and the language has to be reset, then make sure that the
3331 line break is _before_ the language command, not after (fixes bug
3332 1225); also make sure that the language reset command is the first
3333 thing after the paragraph (to ensure proper nesting of
3334 environments and thus fix bug 1404)
3336 2004-04-21 John Levon <levon@movementarian.org>
3339 * ToolbarBackend.C: make "name" be a programmatic name
3340 and a gui_name field.
3342 * lyxfunc.C: display the minibuffer on M-x
3344 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3346 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3349 2004-04-19 Angus Leeming <leeming@lyx.org>
3351 * BufferView_pimpl.C (setBuffer): changed preview interface.
3353 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3356 2004-04-19 John Levon <levon@movementarian.org>
3358 * BufferView_pimpl.C:
3359 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3361 2004-04-05 Angus Leeming <leeming@lyx.org>
3363 * text.C (redoParagraphs): add call to updateCounters(), thereby
3364 fixing the missing "Figure #:" label from the caption of a
3367 2004-04-13 Angus Leeming <leeming@lyx.org>
3369 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3370 cursor is clicked out of an inset.
3372 2004-04-13 Angus Leeming <leeming@lyx.org>
3374 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3375 than an InsetOld one.
3377 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3379 * format.[Ch]: add editor to Format
3380 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3381 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3383 2004-04-08 André Pönitz <poenitz@gmx.net>
3385 * metricsinfo.h: remove PainterInfo::width member
3387 2004-04-08 Angus Leeming <leeming@lyx.org>
3389 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3390 "\providecommand" rather than "\newcommand", thereby preventing
3391 clashes with packages that define "\boldsymbol" themselves.
3394 2004-04-08 Angus Leeming <leeming@lyx.org>
3396 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3397 thereby squashing an unnecessary warning.
3399 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3401 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3404 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3406 * BufferView.C (setCursor): call redoParagraph (some insets could
3408 (putSelectionAt): remove the 'double update' trick
3410 * BufferView_pimpl.C (fitCursor): call refreshPar
3411 (workAreaDispatch): remove an uneeded update call
3412 (dispatch): remove some manual update calls
3414 * cursor.[Ch]: remove cached_y_, updatePos
3415 (selHandle): set noUpdate when appropriate
3417 * lyxfunc.C (dispatch): track if we need an update
3419 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3421 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3422 (paintSelection): cheap optimization, do not call cursorX when not
3424 (paintPars): change signature
3427 (paintTextInset): adjust
3431 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3433 * lengthcommon.C: compilation fix: remove explicit array size from
3434 unit_name[] and friends
3436 2004-04-05 Angus Leeming <leeming@lyx.org>
3438 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3440 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3441 present only for the preferences dialog.
3442 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3444 2004-04-05 Angus Leeming <leeming@lyx.org>
3446 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3447 to enable the frontends to export changes to lyxrc correctly.
3449 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3451 2004-04-07 André Pönitz <poenitz@gmx.net>
3453 * cursor.[Ch] (selClear, adjust): remove math
3455 * cursor_slice.C: more agressive assert
3458 * BufferView_pimpl.C: rework mouse event dispatch
3465 2004-04-05 André Pönitz <poenitz@gmx.net>
3467 * cursor.[Ch] (valign, halign...): remove unneeded functions
3469 2004-04-05 Angus Leeming <leeming@lyx.org>
3471 * lyxlength.[Ch] (unit_name et al.): const-correct.
3473 2004-04-05 Angus Leeming <leeming@lyx.org>
3475 * BufferView_pimpl.C:
3484 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3486 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3488 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3490 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3492 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3493 * BufferView_pimpl.[Ch] (getStatus)
3494 * BufferView.[Ch] (getStatus): add
3495 * lyxfunc.C (getStatus): move lfuns handled in
3496 BufferView::dispatch to te function above
3497 * Cursor.C (setSelection): set selection() = true
3499 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3501 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3503 2004-03-31 Angus Leeming <leeming@lyx.org>
3505 * lyxfunc.C (dispatch): Fall through to the generic
3506 Dialogs::show("preamble").
3508 2004-03-31 Angus Leeming <leeming@lyx.org>
3510 * lyxfunc.C (dispatch): Fall through to the generic
3511 Dialogs::show("spellchecker").
3513 2004-03-31 Angus Leeming <leeming@lyx.org>
3515 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3518 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3523 * insetiterator.[Ch]:
3528 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3530 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3532 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3533 insets where we are putting the cursor.
3535 2004-03-31 Angus Leeming <leeming@lyx.org>
3538 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3540 * lyxrc.[Ch] (read, write): overloaded member functions taking
3541 a std::[io]stream arguments.
3543 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3545 2004-03-31 Angus Leeming <leeming@lyx.org>
3547 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3548 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3550 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3551 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3553 2004-03-31 Angus Leeming <leeming@lyx.org>
3555 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3556 the LFUN_ALL_INSETS_TOGGLE code.
3558 2004-03-30 Angus Leeming <leeming@lyx.org>
3560 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3561 has died. Fall through to the generic Dialogs::show("document").
3563 2004-03-30 Angus Leeming <leeming@lyx.org>
3566 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3567 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3569 * lyxfunc.C (getStatus, dispatch): define the actions for these
3570 lfuns. Little more than a cut and pste job from ControlDocument.C
3572 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3574 2004-03-30 Angus Leeming <leeming@lyx.org>
3577 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3578 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3580 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3581 open/closed state of ollapsable insets. Usage:
3583 all-inset-toggle <state> <name>, where
3584 <state> == "open" || "closed" || "toggle" and
3585 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3587 * lyxtext.h, text2.C (toggleInset): removed.
3589 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3590 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3591 now passes LFUN_INSET_TOGGLE to the found inset.
3593 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3594 is now invoked as "all-insets-toggle toggle branch".
3596 2004-03-30 Angus Leeming <leeming@lyx.org>
3600 * pariterator.[Ch]: added/corrected header blurb.
3602 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3604 * dociterator.[Ch]: add an inset_ member
3605 (backwardPos): implemented
3606 (backwardPos, forwardPos): use inset_ when the stack is empty.
3607 (doc_iterator_begin, doc_iterator_end): implemented
3608 * pariterator.[Ch]: adjust, add begin, end
3609 * insetiterator.[Ch]: adjust, add begin, end
3613 * BufferView_pimpl.C:
3614 * CutAndPaste.C: adjust
3616 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3618 * buffer.C: increment file format to 232.
3619 * LaTeXFeatures.C: add bibtopic package.
3620 * bufferparams.[Ch]: param \use_bibtopic.
3622 * lyxrc.[Ch]: add lyxrc bibtex_command
3623 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3625 * buffer.C: increment file format to 231.
3627 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3629 * dociterator.C: implement forwardPar
3630 * iterators.[Ch]: remove, replaced by
3631 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3633 * BufferView_pimpl.C:
3636 * bufferview_funcs.C:
3642 * Makefile.am: adjust
3644 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3646 * CutAndPaste.C (pasteSelection): fix 2 crashes
3647 (eraseSelection): fix a crash
3648 * paragraph_funcs.C: remove a warning
3650 2004-03-28 Angus Leeming <leeming@lyx.org>
3653 * LyXAction.C (init): new LFUN_PRINT.
3655 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3657 2004-03-27 Angus Leeming <leeming@lyx.org>
3660 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3662 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3664 2004-03-27 Angus Leeming <leeming@lyx.org>
3666 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3667 insetlist always contains non-null pointers to insets.
3669 2004-03-26 Angus Leeming <leeming@lyx.org>
3671 * src/BufferView_pimpl.C:
3672 * src/CutAndPaste.C:
3675 * src/output_plaintext.C:
3676 * src/outputparams.h:
3677 * src/paragraph_funcs.C:
3681 * src/frontends/controllers/ControlErrorList.C:
3682 * src/frontends/gtk/FileDialogPrivate.C:
3683 * src/frontends/gtk/GPainter.C:
3684 * src/frontends/gtk/GToolbar.C:
3685 * src/frontends/qt2/QRef.C:
3686 * src/mathed/math_scriptinset.C: squash compiler warnings.
3688 2004-03-26 Angus Leeming <leeming@lyx.org>
3690 * ispell.C (LaunchIspell::start):
3691 * lyx_cb.C (AutoSaveBuffer::start):
3692 invoke run(DontWait) rather than runNonBlocking().
3694 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3696 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3698 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3700 * kbsequence.C (print): adjust
3702 * kbmap.C (printKeySym): rename and change signature
3703 (printKey): use LyXKeySym::print()
3705 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3707 * undo.C: add using std::advance to compile for stlport
3709 2004-03-24 Angus Leeming <leeming@lyx.org>
3711 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3712 it leads to a crash when no buffer is present.
3714 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3715 Martin Vermeer <martin.vermeer@hut.fi>
3717 * lyxfunc.C (dispatch):
3718 * bufferparams.C (readToken): use the new LColor::setColor
3720 * LColor.[Ch] (setColor): new version that takes two strings as
3721 argument and creates a new color entry if necessary
3723 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3725 * buffer.C (makeLaTeXFile): if the main latex file that is
3726 processed is usually a subdocument of some master, then pretend
3727 for a while that it is actually the master
3729 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3731 * buffer.C (getLabelList):
3732 (getBibkeyList): use getMasterBuffer()
3733 (getMasterBuffer): new method. Returns the main document in the
3734 case where one is using included documents.
3736 2004-03-25 André Pönitz <poenitz@gmx.net>
3740 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3742 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3744 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3745 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3747 * ParameterStruct.h: merge with ParagraphParameters
3749 * lyxtext.h: remove LyXText::parOffset() and getPar()
3751 * text3.C: Remove all 'manual' update calls. We do now one per user
3752 interaction which is completely sufficient.
3756 * BufferView_pimpl.C:
3757 * FontIterator.[Ch]:
3759 * ParagraphParameters.[Ch]:
3764 * cursor_slice.[Ch]:
3771 * output_docbook.[Ch]:
3772 * output_latex.[Ch]:
3773 * output_linuxdoc.[Ch]:
3774 * output_plaintext.[Ch]:
3776 * paragraph_funcs.[Ch]:
3777 * paragraph_pimpl.[Ch]:
3785 * frontends/controllers/ControlDocument.C:
3786 * frontends/controllers/ControlErrorList.C:
3787 * frontends/controllers/ControlSpellchecker.C:
3790 * insets/insetbase.h:
3791 * insets/insetbibitem.C:
3792 * insets/insetbox.C:
3793 * insets/insetbranch.C:
3794 * insets/insetcaption.C:
3795 * insets/insetcharstyle.C:
3796 * insets/insetcharstyle.h:
3797 * insets/insetcollapsable.C:
3798 * insets/insetcollapsable.h:
3799 * insets/insetert.C:
3800 * insets/insetfloat.C:
3801 * insets/insetfoot.C:
3802 * insets/insetmarginal.C:
3803 * insets/insetnote.C:
3804 * insets/insetoptarg.C:
3805 * insets/insettabular.C:
3806 * insets/insettext.C:
3807 * insets/insettext.h:
3808 * insets/insetwrap.C:
3809 * mathed/math_mboxinset.C:
3810 * mathed/math_nestinset.C:
3811 * mathed/math_scriptinset.C:
3812 * mathed/math_scriptinset.h:
3815 2004-03-24 Angus Leeming <leeming@lyx.org>
3817 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3818 deal with any child processes that have finished but are waiting to
3819 communicate this fact to the rest of LyX.
3821 2004-03-24 Angus Leeming <leeming@lyx.org>
3823 64-bit compile fixes.
3825 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3826 (c-tor): pass lyx::pos_types rather than ints.
3828 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3831 * text.C (Delete): compile fix.
3832 (getPar): ensure that function declaration is the same as that in
3835 2004-03-23 Angus Leeming <leeming@lyx.org>
3837 * ispell.C (LaunchIspell):
3838 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3839 a boost::shred_ptr rather than a std::auto_ptr.
3841 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3843 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3844 handle LFUN_FILE_INSERT_*
3846 * lyxrc.C (setDefaults, getDescription, output, read):
3847 * lyxrc.h: remove ps_command
3849 2004-03-22 Angus Leeming <leeming@lyx.org>
3851 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3852 Ensure that error_handler is processed once only and that all data
3853 is saved before attempting to output any warning messages.
3855 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3857 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3859 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3861 2004-03-19 André Pönitz <poenitz@gmx.net>
3863 * cursor.[Ch] (reset): take main text inset as argument
3865 * BufferView: adjust
3866 * BufferView_pimpl.C: adjust
3868 * paragraph.[Ch]: fix completely broken operator=()
3870 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3872 * LColor.C (getFromLyXName): make sure that the color name is used
3875 2004-03-17 Angus Leeming <leeming@lyx.org>
3878 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3880 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3881 dialog and to kill a forked process.
3883 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3885 * text2.C (setCursorFromCoordinates): fix font problem
3887 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3889 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3890 bogus "rebuild cursor" code
3892 2004-03-11 André Pönitz <poenitz@gmx.net>
3894 * buffer.[Ch]: use InsetText instead of LyXText as container for
3897 * dociterator.[Ch]: drop the BufferView * member which is not needed
3898 anymore after the change to buffer.C
3900 * paragraph_funcs.C:
3904 * BufferView_pimpl.[Ch]:
3906 * cursor_slice.[Ch]: adjust
3908 * text3.C: fix bug in mathDispatch
3910 2004-03-08 André Pönitz <poenitz@gmx.net>
3912 * undo.[Ch]: use 'StableDocumentIterator' as base for
3915 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3918 * bufferparams.[Ch]: add jurabib support and param.
3920 * LaTeX.C: add FIXME/comment.
3922 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3924 * buffer.C: increment file format to 230.
3926 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3928 * cursor.C (dispatch): avoid infinite loops
3930 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3932 * rowpainter.C (paintSelection): fix x coordinates
3934 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3936 * text.C (rowBreakPoint): fix breaking before displayed insets
3938 2004-03-01 André Pönitz <poenitz@gmx.net>
3940 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3942 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3946 * BufferView_pimpl.C:
3954 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3960 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3961 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3963 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3965 * Bidi.[Ch] (computeTables): const correctness
3966 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3967 fill_hfill, fill_label_hfill and x from Row
3968 * lyxtext.h: prepareToPrint returns a RowMetrics
3969 * rowPainter.C: adjust
3970 * text.C (prepareToPrint): use width, not textWidth. adjust
3971 (redoParagraphInternal, cursorX): adjust
3972 * text2.C (getColumnNearX): adjust
3973 (init): put a default value to the top LyXText::width
3975 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3977 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3979 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3981 * lyxtext.h: add FontIterator class
3983 * text.C (FontIterator, operator*, operator->, operator++): add
3984 (rowBreakPoint, setRowWidth): adjust (fixing a
3987 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3989 * BufferView_pimpl.C (workAreaDispatch): allow also
3990 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3992 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3994 * text.C (rowBreakPoint): fix a bug showing with very large insets
3996 2004-02-25 André Pönitz <poenitz@gmx.net>
3999 * cursor.[Ch]: move some mathed specific code to mathed
4001 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4003 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4004 use_tempdir in preferences
4005 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4007 * lyx_main.C: ensure that tempdir is valid
4008 * lyxlex.h: correct typo
4009 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4010 * paragraph.[Ch] (isMultiLingual): make const
4011 * cursor.[Ch] (openable): make const
4013 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4015 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4017 2004-02-20 André Pönitz <poenitz@gmx.net>
4019 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4021 * cursor.[Ch]: prepare for localized getStatus()
4027 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4029 2004-02-20 André Pönitz <poenitz@gmx.net>
4031 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4033 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4035 * text2.C (setCursorFromCoordinates): switch to absolute coords
4037 (cursorDown): adjust
4038 * text3.C (dispatch): adjust
4040 2004-02-16 André Pönitz <poenitz@gmx.net>
4042 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4045 * cursor_slice.[Ch]: remove unneeded acessor function
4047 * lyxtext.h: rename rtl() to isRTL()
4055 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4057 * rowpainter.C (paintSelection): coord fix
4059 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4061 * Spacing.C: compile fix
4063 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4065 * cursor.C (dispatch): restore current_ before returning
4067 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4069 * text2.C (cursorUp, cursorDown): fix coords
4072 2004-02-12 André Pönitz <poenitz@gmx.net>
4077 * text3.C: add LCursor & parameter to most cursor movement functions
4078 remove usage of LyXText::cursorRow() and cursorPar()
4080 * cursor.[Ch]: add textRow() needed members
4083 * BufferView_pimpl.C:
4086 * BufferView_pimpl.C: adjust
4088 2004-02-11 André Pönitz <poenitz@gmx.net>
4092 * BufferView_pimpl.C: shift undo/redo handling
4094 * cursor.[Ch]: fix mathed crash
4097 * lyxtext.h: move selectionAsText to LCursor
4105 * rowpainter.C: fix excessive drawing
4107 2004-02-06 André Pönitz <poenitz@gmx.net>
4110 * BufferView_pimpl.[Ch]:
4111 * text3.C: move some text specific LFUN handling
4113 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4115 * text3.C (checkInsetHit): adjust coords
4116 * text2.C (getColumnNearX): adjust coords
4117 (edit): adjust coords
4118 * text.C (getRowNearY): add two asserts
4120 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4123 * format.C: add using std::distance to compile on gcc 2.95/stlport
4125 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4127 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4129 2004-02-04 André Pönitz <poenitz@gmx.net>
4131 * BufferView.[Ch] (insertInset):
4132 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4137 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4139 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4140 on the default clause of the switch
4141 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4142 wasn't catched by LCursor::dispatch
4144 2004-02-03 André Pönitz <poenitz@gmx.net>
4147 * cursor.[Ch]: some additional asserts
4149 * undo.[Ch]: remove LyXText dependency in interface
4153 * lyxtext.h (firstPar, lastPar): remove dead functions
4158 * paragraph.[Ch]: adjust
4160 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4162 * lyxfind.C (find): fix argument order in call to ::find
4164 2004-02-02 André Pönitz <poenitz@gmx.net>
4166 * cursor.[Ch]: remove direct access to anchor
4168 * text.C: remove findText() hack
4170 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4172 * iterators.[Ch] (lockPath): remove in favour of...
4173 * BufferView.[Ch] (setCursor): this addition
4174 * BufferView.C (putSelectionAt): adjust
4175 * undo.C (performUndoOrRedo): adjust
4176 * lyxfunc.C (dispatch): adjust
4178 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4180 * iterators.C (lockPath): add a missing slice
4181 * undo.C (performUndoOrRedo): remove redundant positioning code
4183 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * vc-backend.C (scanMaster): ";" -> ';'
4187 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4189 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4190 std::binary_function
4192 * lyxtextclass.C (compare_name): rename to...
4193 (LayoutNamesEqual): ...this
4195 * lyxlex_pimpl.C (compare_tags): inherit from
4196 std::binary_function, put back into anon namespace
4198 * lyxfind.C (MatchString): inherig from std::binary_function
4199 (findChange): use empty() istead of !size()
4201 * format.C (FormatNamesEqual): new functor
4208 * converter.C (compare_Converter): rename to...
4209 (ConverterEqual): ...this, and fixup a bit.
4210 (getConverter): use it, and make function const
4211 (getNumber): use it, and make function const
4215 * bufferlist.C: add using boost::bind
4217 * MenuBackend.C (MenuNamesEqual): new functor
4218 (hasMenu): use it, and make function const
4219 (hasSubmenu): use nested bind to get rid of compare_memfun.
4221 2004-01-30 André Pönitz <poenitz@gmx.net>
4223 * BufferView_pimpl.C:
4226 * cursor_slice.[Ch]:
4229 * paragraph_funcs.C:
4230 * paragraph_funcs.h:
4234 * text3.C: move some of the edit(x,y) handling to the insets
4235 some coordinate changes.
4237 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * text.C: add using statements for std::advance and std::distance
4241 * paragraph.C: add using statement for std::distance
4243 * lyxfind.C: add using statement for std::advance
4245 * cursor.C (region): remove std:: from swap
4246 (openable): use nucleus in stead of operator->
4248 * BufferView.C: add using statements for std::distance and std::swap
4250 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * iterators.C: Remove the pimple, move the needed structures to
4253 the header file. Create accessor for the positions stack.
4254 (asPosIterator): remove function
4256 * PosIterator.C (PosIterator): move constructors to top of file
4257 (PosIterator): reimplement the constructor taking a ParIterator in
4259 (setFrom): new function
4260 (operator!=): inline it
4262 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4264 * lyxfind.C (replaceAll): use std::advance
4266 * iterators.h: inherit from std::iterator.
4268 * PosIterator.C (advance, distance): remove
4269 * PosIterator.h: interit from std::iterator.
4271 2004-01-26 André Pönitz <poenitz@gmx.net>
4274 * BufferView_pimpl.[Ch]:
4278 * bufferview_funcs.C:
4288 * output_linuxdoc.C:
4289 * output_plaintext.C:
4291 * paragraph_funcs.[Ch]:
4292 * paragraph_pimpl.[Ch]:
4298 * text3.C: more IU: dumps most of the rest of the mathcursor
4299 implementation into cursor.[Ch]; "globalize" a bit of it.
4301 2004-01-25 Angus Leeming <leeming@lyx.org>
4303 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4305 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4307 * LaTeXFeatures.h: add nice_ and nice() const
4308 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4310 2004-01-20 André Pönitz <poenitz@gmx.net>
4313 * BufferView_pimpl.C:
4315 * bufferview_funcs.C:
4317 * cursor_slice.[Ch]:
4328 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4329 LCursor and mathcursor parts to LCursor and InsetBase.
4331 2004-01-15 André Pönitz <poenitz@gmx.net>
4333 * cursor_slice.[Ch]: add a few covienience functions
4335 * funcrequest.[Ch]: remove BufferView * member
4337 * BufferView_pimpl.C:
4344 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4346 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4348 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4349 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4351 2004-01-13 André Pönitz <poenitz@gmx.net>
4354 * lyxtext.h: hide cursor and selection anchor behind accessor function
4357 * BufferView_pimpl.[Ch]:
4359 * bufferview_funcs.C:
4369 * cursor_slice.[Ch]: some integer type changes for inset unification
4371 * lyxcursor.[hC]: remove, it's CursorSlice now.
4374 * BufferView_pimpl.[Ch]:
4375 * bufferview_funcs.C:
4381 * textcursor.[Ch]: adjust
4383 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4385 * text2.C (undoSpan): add and use
4386 * text.C (breakParagraph): use undoSpan (fix bug 578)
4389 2004-01-08 Angus Leeming <leeming@lyx.org>
4391 * BufferView_pimpl.C (MenuInsertLyXFile):
4392 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4393 * lyxfunc.C (menuNew, open, doImport):
4394 FileFilterList change to the FileDialog open and save functions.
4396 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4398 * ShareContainer.h: make isEqual and isUnique adaptable
4400 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4402 2004-01-07 Angus Leeming <leeming@lyx.org>
4405 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4407 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4409 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4410 functions replacing find, replace and replaceAll.
4412 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4413 LFUN_WORDFIND(FORWARD|BACKWARD).
4415 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4417 * text.C (breakParagraph): remove an outdated #warning
4419 2004-01-07 André Pönitz <poenitz@gmx.net>
4421 * lyxfind.C: somewhat clearer logic
4423 * text.C: prevent crash in cursorX on unitialized row cache
4425 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4427 * lyxcursor.[Ch] (operator>): add
4428 * textcursor.C (selStart, selEnd): use std::min and std::max
4430 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * Chktex.C: include boost/format.hpp
4434 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * InsetList.C: replace functor MathcIt with adaptable functor
4438 (insetIterator): modify accordingly
4440 * BranchList.h: move the BranchNamesEqual functor here from...
4441 * BranchList.C: ... to here
4443 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4445 (add): replace a finding loop with std::find_if.
4447 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4449 * output_docbook.C: moving LatexParam functionality into
4452 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4454 * buffer.C: increment format to 229.
4456 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4459 * lyx_sty.[Ch]: remove minipageindent_def
4465 * text3.C: remove LFUN_INSET_MINIPAGE
4467 2003-12-28 Angus Leeming <leeming@lyx.org>
4469 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4471 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4473 * text2.C (setParagraph): fix off-by-one crash
4475 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4477 * output_docbook.C: header stuff for AGU
4479 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4481 * text2.C (redoCursor): remove
4484 * BufferView_pimpl.C: remove calls to redoCursor and
4485 setCursor(cursor.par(), cursor.pos()) all around
4487 2003-12-15 Angus Leeming <leeming@lyx.org>
4489 * buffer.C: up the format to 228.
4491 2003-12-15 André Pönitz <poenitz@gmx.net>
4493 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4498 * BufferView_pimpl.C:
4507 2003-12-15 Angus Leeming <leeming@lyx.org>
4509 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4510 than getFromGUIName to manipulate the color.
4512 2003-12-14 Angus Leeming <leeming@lyx.org>
4514 * BranchList.[Ch]: minimize the API.
4515 (Branch::getBranch, getColor): now return a 'const &'.
4516 (Branch::setSelected) now returns a bool set to true if the
4517 selection status changes.
4518 (BranchList::clear, size, getColor, setColor, setSelected,
4519 allBranches, allSelected, separator): removed.
4520 (BranchList::find): new functions, returning the Branch with
4522 (BranchList::add, remove): return a bool indicating that
4523 the operation was successful.
4525 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4526 new InsetBranch::isBranchSlected member function.
4528 * LColor.[Ch]: mimimize the API.
4529 (fill): renamed as addColor and made private.
4530 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4531 versions of these functions taking a string arg have been removed.
4533 * bufferparams.C (readToken):
4534 * lyxfunc.C (dispatch):
4535 * lyxrc.C (read): changes due to the altered BranchList and
4538 * factory.C (createInset, readInset): changes due to altered
4541 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4544 * lyxfunc.C: remove insetminipage. "minipage-insert"
4545 now produces a frameless minipage box inset.
4547 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4549 * textcursor.[Ch] (selStart,selEnd): add new methods
4550 remove selection::start, end, use LyXCursor::operator<
4551 * lyxcursor.[Ch] (operator<): add
4552 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4553 * BufferView.[Ch] (unsetXSel): add
4554 * text2.C (clearSelection): use unsetXSel,adjust
4557 * rowpainter.C: adjust
4558 * bufferview_funcs.C (put_selection_at): adjust
4560 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4562 * BufferView_pimpl.C: small coord. correction
4564 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4566 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4567 dragging over the splash screen.
4569 2003-12-11 Angus Leeming <leeming@lyx.org>
4571 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4572 as it is now handled in LyXText::dispatch.
4574 * text3.C (doInsertInset): remove a level of nesting.
4576 2003-12-11 Angus Leeming <leeming@lyx.org>
4578 * factory.C (createInset): changes due to the changed interface to
4579 InsetCommandMailer::string2params.
4581 2003-12-10 Angus Leeming <leeming@lyx.org>
4583 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4584 'dialog-show-new-inset <inset name>'
4586 2003-12-10 Angus Leeming <leeming@lyx.org>
4588 * buffer.C: up the format to 227.
4590 * factory.C: the box inset is now identified simply by 'Box'.
4592 2003-12-10 Angus Leeming <leeming@lyx.org>
4594 * buffer.C: up the format to 226.
4596 * factory.C: the note inset is now identified simply by 'Note'.
4598 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4600 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4601 when a pit is enough. Standarize a couple of loops.
4603 2003-12-05 Angus Leeming <leeming@lyx.org>
4605 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4606 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4607 data to the re-worked "log" dialog.
4609 2003-12-03 André Pönitz <poenitz@gmx.net>
4615 * paragraph_funcs.C:
4617 * text2.C: use Inset::getText instead of Inset::getParagraph
4619 2003-12-03 André Pönitz <poenitz@gmx.net>
4623 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4624 InsetText::read() as LyXText::read()
4626 2003-12-02 Angus Leeming <leeming@lyx.org>
4628 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4629 type. Add a comment in the implementation that the function uses
4630 the stream's bad() function rather than fail() as the std::streams
4633 2003-12-02 André Pönitz <poenitz@gmx.net>
4635 * lyxlex.[Ch]: make interface more similar to std::stream
4637 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4639 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4641 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4643 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4645 * vspace.[Ch]: remove VSpace::NONE
4647 2003-12-01 André Pönitz <poenitz@gmx.net>
4650 * lyxtext.h: move ParagraphList member to LyXText
4651 rename LyXText::ownerParagraphs to LyXText::paragraph
4654 * bufferview_funcs.C:
4664 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4666 * undo.C: fix cursor positioning
4668 2003-12-01 John Levon <levon@movementarian.org>
4670 * BufferView_pimpl.C: fix a crash on exit with
4673 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4675 * BranchList.C: fix setSelected() method.
4677 2003-11-28 André Pönitz <poenitz@gmx.net>
4679 * ParagraphParameters.[Ch]:
4680 * ParameterStruct.h: remove space above/below from Paragraph to
4683 * BufferView_pimpl.C:
4689 * paragraph_funcs.C:
4695 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4697 * factory.C: Syntax change for CharStyles
4699 2003-11-28 André Pönitz <poenitz@gmx.net>
4704 * buffer.[Ch]: move LyXText member
4706 2003-11-28 André Pönitz <poenitz@gmx.net>
4708 * BufferView.[Ch]: make LyXText * text a private member
4710 * BufferView_pimpl.C:
4721 * output_plaintext.C: cleanup
4723 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4726 * lyxtextclass.[Ch]: parametrize SGML document header
4728 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4731 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4734 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4736 * text2.C (setFont): rework using PosIterator (no more recursive)
4737 (setCharFont): no more needed
4738 (setLayout): no more selection cursors fiddling (done by redoCursor)
4739 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4740 destroy remaining ones)
4742 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4744 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4746 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4749 * text3.C: adjust + re-allow multi par depth changes
4750 * textcursor.C: simplify a bit
4752 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4758 * src/output_docbook.C:
4759 * src/output_latex.C:
4764 * src/text2.C: Introducing a number of tags parametrizing various
4765 XML formats that we may want to support
4767 2003-11-25 André Pönitz <poenitz@gmx.net>
4769 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4771 * lyxtext.h (leftMargin/rightMargin): simplify interface
4778 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4780 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4781 master file to any child files. Fixes bug 546.
4783 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4785 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4787 2003-11-24 André Pönitz <poenitz@gmx.net>
4789 * rowpainter.C: simplification
4791 * text2.C (updateCounters): remove call to redoParagraph on
4792 changed labels as this is far too expensive.
4794 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4796 * converter.C (convert): fix a crash: this function gets
4797 called with buffer == 0 from importer code.
4799 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * text3.C (cursorPrevious): make sure that we do not compare
4802 iterators form different containers.
4805 * rowpainter.C (paintSelection): make sure that we do not compare
4806 iterators from different containers.
4808 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4809 iterators from different ParagraphList containers.
4812 * text2.C (LyXText): change order of initialization slightly
4813 (operator=): new function. copy all variables except cache_par_
4814 (moveUp): make sure that we do not compare iterators from
4815 different ParagraphList constainers.
4818 * text.C (firstPar): new function
4819 (lastPar): new function
4820 (endPar): new function
4822 * lyxtext.h: move things around and group public functions, public
4823 variables, private functions, private variables
4825 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4827 * factory.C: change call to InsetERT constructor to avoid
4828 additional invocation of method status
4829 * text2.C (toggleInset): remove redundant update() call
4830 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4831 instead of a Bufferview pointer
4833 2003-11-21 André Pönitz <poenitz@gmx.net>
4835 * rowpainter.C: simplification
4837 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4839 * text3.C (dispatch): make possible to extend a word/row selection
4842 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4844 * lyxtext.h: x0_,y0_ -> xo_,yo_
4845 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4846 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4847 * rowpainter.C (paintRows): paint full paragraphs
4849 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4851 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4854 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4856 * lyxtext.h: add x0_, y0_
4857 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4858 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4860 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4862 * text2.C (setCursorIntern): move the x_target update here *
4863 * text3.C: change some bv() to true/false in calls to
4864 cursorUp/Down/Right/Left
4865 * cursor.C: use helper function.
4867 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4869 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4870 * paragraph_funcs.[Ch]: correct comment
4871 * rowpainter.C: do not paint selections away from bv->cursor()
4872 Fix a long standing selection painting bug.
4873 * text3.C: generalize mouse-selection code to LyXTexts other that
4875 * textcursor.C: do not use y coords if we can use par offsets
4877 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4879 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4880 cursor position after e.g. inset insert)
4882 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4884 * lyxfind.C (replace): adjust to locking removal + some
4887 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4889 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4892 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4895 * output_docbook.C: XML sanitation: new layout
4896 parameters InnerTag and CommandDepth
4898 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4900 * BufferView_pimpl.C:
4902 * text3.C: Fix the insertion and modification of button-style
4905 2003-11-13 André Pönitz <poenitz@gmx.net>
4907 * InsetList.[Ch]: remove deleteLyXText
4909 * paragraph.[Ch]: cache beginOfBody position
4914 * text3.C: remove superfluous update() calls
4918 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4920 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4921 * BufferView.C (fitLockedInsetCursor): remove
4922 * cursor.[Ch] (getDim): add
4923 * text.C (getRowNearY): add faster version
4924 * text3.C: remove some update calls
4926 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4938 * text3.C: The Character Style /XML short element patch.
4940 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4943 * factory.C: Small step to solving 'unable to insert some insets'
4946 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4948 * cursor.[Ch] (updatePos): new function for updating the y
4949 position of the tip inset
4950 * bufferview_funcs.C (put_selection_at):
4951 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4953 2003-11-11 André Pönitz <poenitz@gmx.net>
4955 * text.C: remove big comment on invalid Paragraph pointers as it is
4958 2003-11-11 André Pönitz <poenitz@gmx.net>
4960 * text_funcs.[Ch]: merge with ...
4968 * Makefile.am: remove text_funcs.[Ch]
4970 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4972 * cursor.C (getPos): return absolute cached y coord
4974 * BufferView_pimpl.C (fitCursor): new simplistic code
4975 (workAreaDispatch): add a fitCursor call
4977 2003-11-10 André Pönitz <poenitz@gmx.net>
4980 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4982 2003-11-10 André Pönitz <poenitz@gmx.net>
4984 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4985 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4986 indicate that the cursor needs to leave an inset
4988 * lyxtext.h: remove inset locking
4990 * cursor.[Ch]: re-implement functionality provided by inset locking
4993 * BufferView_pimpl.[Ch]:
4995 * bufferview_funcs.[Ch]:
5007 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5009 * PosIterator.[Ch]: replace the stack with a vector, add inset
5011 * iterators.[C]: adjust
5013 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5015 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5017 * paragraph_funcs.C (readParToken): put the correct id in the
5018 error item, not the id of the top paragraph
5020 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5022 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5023 * bufferview_funcs.C (put_selection_at): use the above
5025 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5027 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5029 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5031 * output_linuxdoc.h:
5032 * output_plaintext.h:
5034 * output_docbook.h: add #include statements
5036 2003-11-05 José Matos <jamatos@lyx.org>
5038 * output_docbook.[Ch]:
5039 * output_latex.[Ch]:
5040 * output_linuxdoc.[Ch]:
5041 * output_plaintext.[Ch]: New files for output formats.
5042 * output.[Ch]: New file for helper functions.
5045 * paragraph_funcs.[Ch]: output functions moved to new files.
5047 * outputparams.h: rename of latexrunparams.h
5055 * paragraph_funcs.[Ch]:
5056 * paragraph_pimpl.[Ch]:
5057 * tabular.[Ch]: rename ascii to plaintext
5058 and LatexRunParams to OutputParams.
5060 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5062 * iterators.[Ch] (text): require bv argument
5063 * undo.C (recordUndo):
5064 * lyxfunc.C (dispatch):
5065 * bufferview_funcs.C (put_selection_at): adjust
5067 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5069 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5071 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5073 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5076 2003-11-04 André Pönitz <poenitz@gmx.net>
5078 * cursor.[Ch]: restructure
5081 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5083 * iterators.[Ch] (asCursor): remove
5085 * lfuns.h: remove LFUN_INSET_EDIT
5091 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5093 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5095 * lyxfind.[Ch]: complete overhaul
5096 * BufferView_pimpl.C:
5098 * paragraph.[Ch] (insert): add
5100 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5104 * text.C: remove dead spellcheck code
5106 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * dispatchresult.h: add a val setter
5110 * cursor.C (dispatch): use a tempvar for data_[i]
5112 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5114 * PosIterator.[Ch]: compile fix
5116 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5118 * text.C (cursorPar): deactivate the cursor cache
5120 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5122 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5124 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5126 * text3.C (dispatch): adjust for new DisptchResult semantics.
5128 * lyxfunc.C (dispatch): handle update when return from
5129 Cursor::dispatch, adjust for new DispatchResult semantics.
5131 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5132 DispatchResult(true) mean to not update. Add class functions for
5133 setting dispatched and update, as well as reading.
5135 * cursor.C (dispatch): don't handle update here
5137 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5139 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5140 * trans_mgr.C: adjust
5142 * paragraph_funcs.C (readParToken): exception safety
5144 * lyxvc.h: store the vcs pointer in a scoped_ptr
5147 * lyxsocket.C (serverCallback): exception safety
5149 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5151 * ispell.C (clone): make it return a auto_ptr
5153 * factory.C (createInset): exception safety
5154 (readInset): exception safety
5156 * bufferlist.C (newBuffer): exception safety
5158 * Thesaurus.C (Thesaurus): use initialization for aik_
5160 * MenuBackend.C (expandToc): exception safety.
5162 2003-11-03 André Pönitz <poenitz@gmx.net>
5166 * bufferview_funcs.C: remove getInsetFromId()
5169 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5175 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5177 * PosIterator.C (distance, advance): new
5178 * bufferview_funcs.[Ch] (put_selection_at): new
5179 * iterators.[Ch] (lockPath): new
5181 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5183 * iterators.[Ch] (asPosIterator): added
5184 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5185 * PosIterator.[Ch]: added
5187 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5191 * cursor.C (dispatch):
5192 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5194 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5195 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5196 contructor, add a class function dispatched. Remove operator>=
5198 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5200 * debug.C: only use the default constructor for debugstream
5203 * main.C (main): include debug.h and setup the lyxerr streambuf
5206 2003-10-31 José Matos <jamatos@lyx.org>
5208 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5210 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5211 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5212 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5213 * paragraph_pimpl.C (simpleTeXSpecialC):
5214 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5215 add LatexRunParams argument.
5217 * exporter.C (Export): change call accordingly.
5219 * latexrunparams.h: add new member to take care of the other backends.
5220 2003-10-30 José Matos <jamatos@lyx.org>
5222 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5223 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5224 factorise code for paragraph output.
5226 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5229 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5231 * text3.C (dispatch):
5232 * lyxfunc.C (dispatch):
5233 * cursor.C (dispatch):
5234 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5236 * dispatchresult.h: make the dispatch_result_t ctor explicit
5238 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5241 * buffer.C: small refactoring of docbook stuff
5243 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5245 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5248 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5251 operator dispatch_result_t, and operators for == != and >=
5253 * cursor.C (dispatch): adjust for operator dispatch_result_t
5254 removal. comment out call to update
5256 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5258 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5269 * dispatchresult.h: new file, DispatchResult broken out of
5272 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5274 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5276 * text.C (rowBreakPoint): put a hack inside #if 0
5278 2003-10-28 André Pönitz <poenitz@gmx.net>
5282 * paragraph_funcs.C:
5285 * text2.C: general cleanup (lots of small stuff)
5287 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5289 * text2.C (cursorEnd): simple fix to the "end key goes to one
5290 before the end on last row" bug
5292 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5294 * text.C (backspace): fix the "zombie characters"
5296 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5298 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5300 2003-10-27 André Pönitz <poenitz@gmx.net>
5302 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5304 * factory.C: handle new InsetPagebreak, InsetLine
5306 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5307 and move handling into new InsetPagebreak, InsetLine
5309 * BufferView_pimpl.C:
5311 * ParagraphParameters.C:
5312 * ParameterStruct.h:
5317 * paragraph_funcs.C:
5318 * paragraph_pimpl.C:
5324 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5327 * lyxrow_funcs.[Ch]:
5333 * text3.C: remove lastPos uses in favour of Row::endpos
5335 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5337 * undo.C (performUndoOrRedo): fix two crashes by setting a
5338 cursor by hand and reordering some calls. Use bv->lockInset instead
5339 of inset->edit because the latter loses cursor information
5341 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5343 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5345 (rowBreakPoint): fix width. change point to point + 1.
5346 Add a missing check.
5348 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5351 * lyxfunc.C: fix (at least partly) the problems
5352 with the Nav menu and headers inside branch insets
5355 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5357 * paragraph.C (getChar): add strong asserts
5359 * lyxrow_funcs.C (lastPos): remove hideous hack
5361 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5362 (fill): adjust to that (avoid an infinite loop)
5364 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5366 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5368 2003-10-23 André Pönitz <poenitz@gmx.net>
5370 * RowList_fwd.h: change list<> to vector<> to gain speed
5371 after suggestion from Alfredo
5373 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5375 * lyxtext.h: move the bidi stuff from here...
5378 * Bidi.[Ch]: ... to here
5380 2003-10-23 André Pönitz <poenitz@gmx.net>
5383 * text.C (isLastRow, isFirstRow): new functions
5385 * paragraph.h: new width cache member
5387 * rowpainter.C: replace RowList::iterator with Row & where possible
5389 * lyxfunc.C: replace several view()->text with a single call
5391 * toc.C: fix 'unused' warning
5393 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5395 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5396 when woring with stream::pos_type
5397 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5399 2003-10-22 André Pönitz <poenitz@gmx.net>
5402 * text.C: use Row & instead of RowList::iterator
5404 * lyxrow.h: rename end() to endpos()
5410 2003-10-22 Angus Leeming <leeming@lyx.org>
5412 * buffer.[Ch] (fully_loaded): new member function, returning true
5413 only when the file has been loaded fully.
5414 Used to prevent the premature generation of previews and by the
5415 citation inset to prevent computation of the natbib-style label.
5417 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5418 templates are all set up.
5420 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5422 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5424 * text.C: fixed an "oops" in the "is a bit silly"
5427 2003-10-21 André Pönitz <poenitz@gmx.net>
5429 * FuncStatus.[Ch]: small stuff, whitespace
5431 * lyxfont.[Ch]: operator<<() for debug reasons
5435 * lyxtext.h: whitespace, spelling
5437 * paragraph.C: naming of variables
5440 * text2.C: small stuff
5443 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5445 * text.C: (1) finish off the inset display() work;
5446 (2) fix the "is a bit silly" bug (accessing char
5449 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5451 * text.C: re-introduce display() for insets, fixing the
5452 various bugs (stretch of line above, math inset
5455 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5457 * text.C (rightMargin): remove spurious semicolon
5459 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5462 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5464 * text3.C: fix one crash due to wrong cursor def
5466 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * vc-backend.C (scanMaster): make the regex static
5470 * LaTeX.C (scanAuxFile): make the regexs static
5472 * text3.C (doInsertInset, dispatch, dispatch):
5473 * text2.C (cursorUp, cursorDown):
5474 * text.C (selectNextWordToSpellcheck):
5475 * BufferView_pimpl.C (dispatch):
5476 * lyxfunc.C (dispatch): localDispatch -> dispatch
5478 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5480 * lyxsocket.C: include <cerrno>
5482 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * lyxfunc.C (dispatch): remove textcache stuff
5486 * bufferlist.C (release): remove textcache stuff
5489 * TextCache.C: delete file
5490 * TextCache.h: delete file
5492 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5494 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5495 delete of the bv_->text.
5496 (resizeCurrentBuffer): remove texcache stuff
5497 (workAreaResize): ditto
5499 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5501 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5504 2003-10-16 André Pönitz <poenitz@gmx.net>
5511 * text3.C: speed up by storing y positions per paragraph plus per-row
5512 offset instead of having a 'full' y position in the row.
5514 2003-10-15 André Pönitz <poenitz@gmx.net>
5518 * undo.[Ch]: make undo aware of inner insets
5520 2003-10-14 Angus Leeming <leeming@lyx.org>
5522 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5523 static member functions LyX::ref() and LyX::cref.
5524 (lastfiles): new accessor functions for the new lastfiles_ member var.
5525 (addLyXView, views_): add a new LyXView to the list of views_.
5526 (updateInset): loop over all LyXViews to call their own updateInset
5527 member function, returning a pointer to the Buffer owning the inset.
5529 * BufferView_pimpl.C (loadLyXFile):
5530 * MenuBackend.C (expandLastfiles):
5531 * bufferlist.C (MenuWrite, QuitLyX):
5532 lastfiles is no longer a global variable.
5533 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5535 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5536 static function. Access through LyX::cref().emergencyCleanup().
5538 2003-10-14 André Pönitz <poenitz@gmx.net>
5540 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5542 * undo.[Ch]: restoring part of 'undo in insets'
5545 * undo_funcs.[Ch]: merge with undo.[Ch]
5547 * tabular.C: small cleansing stuff
5549 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5551 * paragraph_funcs.C (readParToken): report unknown insets as error
5552 boxes. Use the outer paragraph as location (also for unknown
5555 * factory.C (readInset): do not abort on reading an unknown inset.
5556 Eat it and return 0.
5558 2003-10-13 Angus Leeming <leeming@lyx.org>
5560 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5562 * lyxrc.C: displayTranslator is now a function,
5563 declared in GraphicsTypes.h.
5565 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5567 * format.C: new placeholder $$a to pass the socket address.
5569 * bufferlist.[Ch]: new function getBufferFromTmp.
5571 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5572 files in the temporary dir.
5574 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5576 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5578 * Makefile.am: add lyxsocket.[Ch].
5580 * lyx_main.C (error_handler): handle SIGPIPE.
5582 2003-10-13 André Pönitz <poenitz@gmx.net>
5584 * BufferView_pimpl.C:
5589 * undo_funcs.[Ch]: use paroffset_type instead of
5590 ParagraphList::iterators to prevent multiple conversion
5591 (and get a more robust interface)
5593 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5595 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5597 * text3.C (dispatch): ditto
5599 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5602 move the onlyfile, use onlyfile instead of foundfile in a couple
5605 * DepTable.C (update): flush the error stream a bit more
5607 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5609 * lyxserver.C (callback): adjust
5611 * lyxfunc.C (getStatus): add a missing brace in commented code
5612 (ensureBufferClean): reindent
5613 (dispatch): delete version taking a string
5615 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5617 * LaTeX.C (deplog): move found file handlig from here...
5618 (handleFoundFile): .. to new function here.
5619 (deplog): make sure to discover several files mentioned on the
5622 2003-10-10 André Pönitz <poenitz@gmx.net>
5629 * text3.C: fix some of the tabular crashes
5631 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5633 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5635 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5637 2003-10-09 André Pönitz <poenitz@gmx.net>
5639 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5642 * BufferView_pimpl.C:
5643 * bufferview_funcs.C:
5654 * undo_funcs.C: adjust
5656 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5658 * text2.C (incrementItemDepth): new function, use a backtracking
5659 algorithm to discover the correct item depth.
5660 (resetEnumCounterIfNeeded): new function, use a backtracking
5661 algorithm to discover if counter reset is needed.
5662 (setCounter): use them. Simplify a bit. Add different labels for
5663 different item depths for itemize.
5665 * paragraph.C (Paragraph): remove initialization of enumdepth
5668 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5669 enumerate and itemize. Change the type of itemdepth to signed char.
5671 2003-10-08 André Pönitz <poenitz@gmx.net>
5673 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5678 * tabular.[Ch]: fix crash after 'row-insert'
5680 2003-10-08 Angus Leeming <leeming@lyx.org>
5682 Fix doxygen warnings.
5684 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5685 Remove CutAndPaste:: prefix from header file declaration.
5687 * LColor.h (fill): remove LColor:: prefix from declaration.
5689 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5690 use lyx::depth_type rather than Paragraph::depth_type so that
5691 header file and .C file match.
5693 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5695 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5696 * aspell.C: \file aspell_local.C -> \file aspell.C
5697 * gettext.C: \file gettext.C -> \file src/gettext.C
5698 * gettext.h: \file gettext.h -> \file src/gettext.h
5699 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5700 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5701 * text.C: \file text.C -> \file src/text.C
5703 * toc.C: move comment so that doxygen is not confused.
5705 2003-10-07 Angus Leeming <leeming@lyx.org>
5707 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5709 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5712 * aspell_local.h: add forgotten std::string's.
5714 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5721 * text3.C: The Box patch. Fancybox support, minipage, parbox
5723 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5729 * ParagraphParameters.h:
5739 * lyxtextclasslist.h:
5742 * paragraph_pimpl.C:
5743 * textcursor.h: add <string> and other small fixes to make Lars'
5744 std::string patch compile with STLport.
5746 2003-10-06 Angus Leeming <leeming@lyx.org>
5748 * LColor.h: Add missing #include <string>.
5750 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * All most all file in all subdirs: Make <string> be the prefered
5753 way of getting to std::string, add using declarations.
5755 2003-10-06 André Pönitz <poenitz@gmx.net>
5757 * metricsinfo.C: initialize LyXFont before changing attribute.
5758 (fixes the 'math in \emph is upright' bug)
5760 2003-10-06 André Pönitz <poenitz@gmx.net>
5762 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5764 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5767 * paragraph_pimpl.C: Small fixes to build using STLport
5769 2003-10-02 André Pönitz <poenitz@gmx.net>
5772 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5774 2003-10-01 André Pönitz <poenitz@gmx.net>
5776 * factory.C: assert early
5778 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5780 * lyx_main.C: remove the global debug object
5782 * debug.h: adjust for new debugstream
5784 * debug.C: adjust for new debugstream and keep the global debug
5787 2003-09-22 Angus Leeming <leeming@lyx.org>
5789 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5790 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5791 an incomplete class LyXFont.
5793 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5795 * factory.C: bug fix in branches
5797 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5799 * lyxfunc.C (processKeySym): adjust
5801 (dispatch): change arg name from ev to func, adjust
5802 (sendDispatchMessage): ditto
5804 * lyx_main.C (defaultKeyBindings): adjust keybindings
5805 (deadKeyBindings): ditto
5807 * kbsequence.C (addkey): return a FuncRequest
5809 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5811 * kbmap.C (bind): take a FuncRequest as arg, adjust
5814 (defkey): change to take a FuncRequest as arg, adjust
5815 (findbinding): take a FuncRequest as arg, adjust.
5817 * funcrequest.h (operator=): added
5819 * funcrequest.C (FuncRequest): default kb_action changed from
5820 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5822 * buffer.C (dispatch): simplify
5823 (dispatch): adjust to take a FuncRequest as arg, adjust
5825 * boost.C (assertion_failed): change assertion message slightly
5827 * ToolbarBackend.C (read): simplify
5829 * MenuBackend.C (binding): adjust call to findbinding, add a
5830 message if no binding is found.
5832 (expandToc): correct by adding a empty FuncRequest
5834 * LyXAction.C: include <boost/assert.hpp>
5835 (isPseudoAction): delete function
5836 (LookupFunc): change name to...
5837 (lookupFunc): this. change return type to FuncRequest.
5838 (getActionName): take kb_action as arg, simplify
5839 (funcHasFlag): add an assert, simplify.
5841 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5843 * toc.C (action): return a FuncRequest, simplify
5845 * lyxfunc.C (processKeySym): adjust
5846 (getStatus): delete version that takes an int.
5848 (dispatch): delete version that takes action as int
5850 (sendDispatchMessage): simplify and adjust
5852 * funcrequest.C (getArg): take unsigned int as arg
5854 * ToolbarBackend.C (read): adjust
5855 (add): delete version that takes func as a string.
5856 (getIton): take a FuncRequest as arg
5858 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5861 * MenuBackend.C (MenuItem): add a new construct that only takes a
5862 Kind, simplify the constructor use for submenus.
5864 (expandLastfiles): adjust
5865 (expandDocuments): adjust
5866 (expandFormats): adjust
5867 (expandFloatListInsert): adjust
5868 (expandFloatInsert): adjust
5869 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5871 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5872 Remove class variables lyx_pseudo_map and lyx_arg_map
5874 * LyXAction.C (searchActionArg): delete function
5875 (getPseudoAction): delete function
5876 (retrieveActionArg): delete function
5877 (LookupFunc): make it return kb_action, simplify.
5878 (getActionName): simplify
5880 * factory.C (createInset): fix new bug
5882 2003-09-19 Angus Leeming <leeming@lyx.org>
5884 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5885 masterFilename_ parameter in the include inset.
5887 * factory.C (createInset): changes due to the changes to InsetInclude.
5889 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5891 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5893 2003-09-18 Angus Leeming <leeming@lyx.org>
5896 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5897 Inset::fillWithBibKeys.
5898 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5900 2003-09-18 Angus Leeming <leeming@lyx.org>
5902 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5904 (ctor): pass and store a 'Buffer const &'
5905 (buffer): new member function.
5907 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5908 '*this' to the LaTeXFeatures ctor.
5910 2003-09-18 Angus Leeming <leeming@lyx.org>
5916 * text.C: rename EnumLColor as LColor_color.
5918 2003-09-18 Angus Leeming <leeming@lyx.org>
5920 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5921 remove #include "insets/insetbase.h" from cursor.h.
5923 2003-09-18 Angus Leeming <leeming@lyx.org>
5925 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5926 InsetOld_code to remove #include "inset.h".
5928 * iterators.C: add #include "insets/inset.h"
5930 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5932 * BufferView.C: remove more locking stuff that apparently doesn't
5933 do anything sensible.
5935 2003-09-16 André Pönitz <poenitz@gmx.net>
5938 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5941 2003-09-16 Angus Leeming <leeming@lyx.org>
5943 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5945 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5948 * paragraph.h: remove #include "lyxfont.h". Forward declare
5951 2003-09-16 Angus Leeming <leeming@lyx.org>
5953 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5954 of support/textutils.h.
5955 (isWord): move the contents of support/textutils.h's IsWordChar here.
5961 * text2.C: add #include "paragraph.h".
5964 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5966 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5972 * LaTeX.C: use namespace alias for lyx::support::os
5974 2003-09-16 Angus Leeming <leeming@lyx.org>
5977 * bufferview_funcs.C:
5980 * paragraph_pimpl.C:
5982 * text.C: add #include "LColor.h".
5984 2003-09-16 Angus Leeming <leeming@lyx.org>
5986 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5987 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5989 Store the FontBits::color variable as an int rather than as an
5990 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5993 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5994 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5995 string calls together.
5997 * lyxrc.C: add #include "LColor.h".
5999 2003-09-15 Angus Leeming <leeming@lyx.org>
6001 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6004 2003-09-15 Angus Leeming <leeming@lyx.org>
6006 * LColor.h: add an EnumLColor wrapper for LColor::color.
6008 * lyxfont.[Ch] (color, setColor, realColor):
6009 * lyxtext.h, text.C (backgroundColor):
6010 pass EnumLColor args to/from the functions, rather than LColor::color
6014 * lyxtext.h: forward declare EnumLColor.
6016 * lyx_main.C: add #include "LColor.h".
6018 2003-09-15 Angus Leeming <leeming@lyx.org>
6020 * .cvsignore: add lyx-gtk.
6022 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6027 * ParagraphParameters.C
6031 * bufferview_funcs.C
6041 * vc-backend.C: remove usage of STRCONV
6043 2003-09-15 Angus Leeming <leeming@lyx.org>
6045 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6046 explicitly define the color passed to the painter.
6048 2003-09-15 Angus Leeming <leeming@lyx.org>
6050 * bufferparams.C (BufferParams): reorder member initializers to avoid
6053 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6055 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6056 * text.C (updateRowPositions): remove an unusual nop
6058 2003-09-12 André Pönitz <poenitz@gmx.net>
6060 * BufferView_pimpl.C:
6069 * Counters.[Ch]: finish the 'automatic counters' job
6071 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6073 * aspell.C: include <boost/assert.cpp> (compile fix)
6075 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6077 * boost.C (assertion_failed): use lyx::support::abort instead of
6080 2003-09-10 Angus Leeming <leeming@lyx.org>
6082 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6083 with their _fwd progeny.
6085 2003-09-09 Angus Leeming <leeming@lyx.org>
6087 134 files throughtout the source tree: replace 'using namespace abc;'
6088 directives with the appropriate 'using abc::xyz;' declarations.
6090 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6092 * boost.C (emergencyCleanup): moved here from LAssert.c
6093 (assertion_failed): new function, called by BOOST_ASSERT
6095 * several files: change Assert to BOOST_ASSERT
6097 2003-09-09 Angus Leeming <leeming@lyx.org>
6099 * buffer.[Ch]: Add an Impl class and move Buffer's member
6100 variables into it. As a result move several header files out of
6103 Add header files to lots of .C files all over the tree as a result.
6105 2003-09-09 Angus Leeming <leeming@lyx.org>
6107 * buffer.[Ch]: make Buffer's member variables private. Add
6110 Lots of changes all over the tree as a result.
6112 2003-09-08 Angus Leeming <leeming@lyx.org>
6114 * graph.C: #include <config.h>.
6116 2003-09-08 Angus Leeming <leeming@lyx.org>
6120 * BufferView_pimpl.C:
6149 * toc.C: remove redundant using directives.
6151 2003-09-07 Angus Leeming <leeming@lyx.org>
6153 * LaTeXFeatures.h: remove #include "support/types.h".
6154 * ToolbarBackend.h: remove #include <algorithm>.
6155 * changes.h: remove #include <ctime>.
6156 * debug.h: remove #include <iosfwd>.
6157 * graph.h: remove #include "support/std_string.h".
6158 * lyx_main.h: remove #include <csignal>.
6159 * lyxlex_pimpl.h: remove #include <fstream>.
6160 * sgml.h: remove #include <algorithm>, <utility>.
6161 * toc.h: remove #include "support/std_ostream.h".
6162 Add #include <iosfwd>.
6164 2003-09-07 Angus Leeming <leeming@lyx.org>
6166 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6168 * converter.h: forward declare LatexRunParams.
6169 * encoding.h: remove #include "lyxrc.h".
6170 * lyxtext.h: remove #include "LColor.h".
6171 * lyxtextclass.h: remove #include "support/types.h".
6172 * trans.h: remove #include "tex-accent.h".
6173 * trans_mgr.h: remove #include "tex-accent.h".
6174 * insets/inset.h: remove #include "support/types.h", <vector>.
6175 * insets/insetcollapsable.h: remove #include "LColor.h".
6176 * insets/insetinclude.h: remove #include "dimension.h".
6177 * insets/insetlatexaccent.h: remove #include "dimension.h".
6178 * insets/insetoptarg.h:: remove #include "insettext.h".
6179 * insets/insettext.h: remove #include "dimension.h",
6180 <boost/shared_ptr.hpp>
6182 * insets/renderers.h: add #include "dimension.h".
6183 * insets/updatableinset.h: add #include "support/types.h".
6185 * many .C files: Associated changes.
6187 2003-09-06 Angus Leeming <leeming@lyx.org>
6189 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6190 one, inside testInvariant.
6192 * PrinterParams.C: new file.
6193 * PrinterParams.[Ch]: move the function bodies out of line.
6195 2003-09-06 Angus Leeming <leeming@lyx.org>
6197 * ParagraphParameters.h: forward declare ParameterStruct rather than
6198 including its header file.
6199 (depth): moved out-of-line.
6201 2003-09-06 Angus Leeming <leeming@lyx.org>
6203 * BufferView_pimpl.h:
6206 * lyxfunc.h: forward declare LyXKeySym rather than
6207 #include "frontends/LyXKeySym.h".
6209 * BufferView_pimpl.C:
6212 * lyxfunc.C: associated changes.
6214 2003-09-06 Angus Leeming <leeming@lyx.org>
6216 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6217 As a result, can remove the #include "insets/inset.h" from BufferView.h
6219 2003-09-06 Angus Leeming <leeming@lyx.org>
6221 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6222 As a result, can remove the #include "insets/inset.h" from BufferView.h
6224 2003-09-06 Angus Leeming <leeming@lyx.org>
6230 * bufferview_funcs.C:
6231 * BufferView_pimpl.C:
6236 * ParagraphParameters.C:
6241 * frontends/controllers/ControlDocument.C:
6242 * insets/insetcaption.C: rearrange the #includes into some sort of
6245 * buffer.h: remove #includes ErrorList.h, undo.h
6247 2003-09-06 Angus Leeming <leeming@lyx.org>
6249 * support/types.h: add a 'depth_type' typedef, used to store the
6250 nesting depth of a paragraph.
6253 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6254 defining explicitly.
6257 * paragraph_funcs.h:
6258 * ParagraphParameters.h:
6259 * sgml.h: use lyx::depth_type rather than Paragraph or
6260 ParameterStruct's depth_type.
6263 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6266 * BufferView_pimpl.C:
6268 * ParagraphParameters.C:
6271 * bufferview_funcs.C:
6278 * frontends/LyXView.C:
6279 * frontends/controllers/ControlDocument.C:
6280 * frontends/controllers/ControlErrorList.C:
6281 * insets/insetbibitem.C:
6282 * insets/insetbranch.C:
6283 * insets/insetcaption.C:
6284 * insets/insetcollapsable.C:
6285 * insets/insetenv.C:
6286 * insets/insetert.C:
6287 * insets/insetfloat.C:
6288 * insets/insetfoot.C:
6289 * insets/insetfootlike.C:
6290 * insets/insetnewline.C:
6291 * insets/insetquotes.C:
6292 * insets/insettabular.C:
6293 * insets/insettext.C:
6294 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6296 * frontends/controllers/ControlChanges.C: #include "changes.h".
6298 2003-09-06 Angus Leeming <leeming@lyx.org>
6300 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6301 than #including paragraph.h.
6304 * RowList.h: deleted. Superfluous.
6314 * insets/insettext.h: use ParagraphList_fwd.h rather than
6317 * paragraph.h: don't forward declare ParagraphList.
6320 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6321 rather than ParagraphList.h. paragraph.h is still needed for the
6322 Paragraph::depth_type parameters.
6324 * textcursor.h: enable it to compile stand-alone in light of the
6327 * bufferview_funcs.C:
6339 * frontends/controllers/ControlParagraph.C:
6340 * frontends/controllers/ControlTabular.C:
6341 * insets/insetmarginal.C:
6342 * insets/insetminipage.C:
6343 * insets/insetnote.C:
6344 * insets/insetoptarg.C: add header files needed to compile again.
6346 2003-09-06 Angus Leeming <leeming@lyx.org>
6348 * RowList_fwd.h: new file, forward-declaring Row rather than
6349 #including lyxrow.h.
6354 * insets/insettext.h: use it instead of RowList.h
6356 * bufferview_funcs.C:
6363 * text3.C: #include "RowList.h".
6365 2003-09-05 Angus Leeming <leeming@lyx.org>
6367 * factory.C (createInset):
6368 * vspace.C (c-tor): replace sscanf call with an istringstream.
6369 * ispell.C: re-add missing HP/UX headers.
6370 * lyxserver.C: re-add missing os2 headers.
6372 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6381 * text3.C: re-add missing system headers, needed for 2.95.2.
6383 2003-09-05 Angus Leeming <leeming@lyx.org>
6385 Changes most place everywhere due to the removal of using directives
6386 from support/std_sstream.h.
6388 2003-09-05 Angus Leeming <leeming@lyx.org>
6390 Replace LString.h with support/std_string.h,
6391 Lsstream.h with support/std_sstream.h,
6392 support/LIstream.h with support/std_istream.h,
6393 support/LOstream.h with support/std_ostream.h.
6395 Changes resulting throughout the tree.
6397 2003-09-05 Angus Leeming <leeming@lyx.org>
6399 * sgml.h: ensure that the header file can be compiled stand-alone.
6400 * *.C: strip out redundant #includes. (320 in total.)
6402 2003-09-04 Angus Leeming <leeming@lyx.org>
6404 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6405 here (from getPackages).
6407 * debug.[Ch]: add a new EXTERNAL tag.
6409 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6411 * text2.C (cursorEnd): simplify
6413 (getColumnNearX): adjust
6415 * text.C (computeBidiTables): adjust
6418 * rowpainter.C (paintChars): adjust
6419 (paintSelection): adjust
6420 (paintChangeBar): adjust
6423 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6425 (numberOfSeparators): adjust
6427 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6433 * text3.C: Restricts the mouse click functionality
6434 of insets like bibtex, include, toc and floatlist to the visible
6435 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6436 up the dialogs. Cursor has to be in front of the inset (i.e.
6437 start of row) for this to function.
6439 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6441 * bufferview_funcs.C (currentState): output row information
6443 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6445 * bufferview_funcs.C (currentState): output paragraph position
6447 2003-09-04 Angus Leeming <leeming@lyx.org>
6449 * FloatList.h: move out #include "Floating.h".
6450 * LaTeX.h: move out #include "DepTable.h".
6451 * LyXAction.h: move out #include "funcrequest.h".
6452 * buffer.h: move out #include "author.h", "iterators.h".
6453 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6454 * lyx_main.h: move out #include "errorlist.h".
6455 * lyxfunc.h: move out #include "FuncStatus.h".
6456 * lyxtext: move out #include "lyxcursor.h".
6457 * paragraph_pimpl.h: move out #include "counters.h".
6459 2003-09-03 Angus Leeming <leeming@lyx.org>
6461 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6462 preamble_snippets list, enabling us to add snippets to the preamble
6463 only if the snippet was not there already.
6465 2003-09-04 Angus Leeming <leeming@lyx.org>
6467 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6469 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6474 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6476 * BranchList.C: point fix, earlier forgotten
6478 2003-09-02 Angus Leeming <leeming@lyx.org>
6480 * box.C (contains): renamed from 'contained' after a fantastic
6483 2003-09-02 John Levon <levon@movementarian.org>
6489 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6491 2003-09-02 John Levon <levon@movementarian.org>
6493 * text2.C: simplification of cursorEnd(), including partial
6496 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6498 * buffer.C (readFile): add a space
6500 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6502 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6504 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6506 * buffer.C (readFile): new function, take a filename and a
6507 ParagraphList::iterator
6509 (readFile): adjust, make it private. don't use setStream, make
6510 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6511 always contain the filename.
6513 * BufferView.C (insertLyXFile): simplify and make it work for
6516 2003-08-30 John Levon <levon@movementarian.org>
6518 * Makefile.am: fix dist (from Kayvan)
6520 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6522 * most files: change to use const Buffer refs
6524 2003-08-27 André Pönitz <poenitz@gmx.net>
6526 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6527 on top of ownerPar().
6529 2003-08-27 John Levon <levon@movementarian.org>
6531 * funcrequest.C: properly initialise POD members
6533 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6535 * lyxtext.h (top_y): move top_y from here
6540 * BufferView_pimpl.[Ch]: to here
6541 * frontends/screen.C:
6542 * insets/insettabular.C:
6543 * insets/insettext.C: adjust
6544 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6546 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6549 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6551 2003-08-26 André Pönitz <poenitz@gmx.net>
6553 * paragraph_func.[Ch] (outerPar): new function
6556 * paragraph_funcs.C:
6557 * paragraph_funcs.h:
6558 * paragraph_pimpl.C:
6559 * text2.C: remove Inset::par_owner
6561 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6566 * text2.C: eliminates the needFullRow/display() stuff
6567 altogether, putting the logic in metrics/draw in the insets.
6569 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6571 * text2.C (redoParagraphInternal, redoParagraphs):
6572 * text.C (redoParagraph): add a call to updateRowPositions at the
6573 end of each 'metrics-like' call. Remove all others.
6574 (getRow): remove the 'y-computing' version.
6575 (getRowNearY): do not compute nor return the real y. Solve the
6576 'y < 0' problem and simplify.
6578 2003-08-22 Angus Leeming <leeming@lyx.org>
6580 * *.[Ch]: clean-up of licence and author blurbs.
6581 Also move config.h out of a few .h files and into a few .C files.
6583 2003-08-22 André Pönitz <poenitz@gmx.net>
6585 * lyxrow.[Ch]: add x_ and *fill_ members
6590 * text2.C: adjust/remove prepareToPrint() calls
6592 2003-08-22 André Pönitz <poenitz@gmx.net>
6594 * lyxrow.[Ch]: add end_ member
6596 * lyxrow_funcs.C: use LyXRow::end_
6598 * lyxtext.h (singleWidth): add LyXFont parameter
6601 * text2.C: adjust LyXText::singleWidth() calls
6603 * text.C (redoParagraph): simplify row breaking logic
6606 2003-08-19 André Pönitz <poenitz@gmx.net>
6608 * funcrequest.C: initialize button_ member
6611 * rowpainter.[Ch]: interface consolidation
6613 2003-08-18 André Pönitz <poenitz@gmx.net>
6616 * BufferView_pimpl.C:
6618 * paragraph_funcs.C:
6620 * text3.C: remove LyXScreen::draw() and fitCursor calls
6622 * BranchList.h: remove spurious semicolons
6624 * MenuBackend.C: fix branchlist related crash
6626 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6634 * bufferparams.[Ch]:
6638 * text3.C: implements the 'branch inset'
6639 idea. This allows the output of various versions of a document
6640 from a single source version, selectively outputing or suppressing
6641 output of parts of the text.
6642 This implementation contains a 'branch list editor' in a separate
6643 tab of the document settings dialog. Branches are user definable
6644 and have a "display colour" to distinguish them on-screen.
6646 ColorHandler was somewhat cleaned up.
6647 (1) make possible a dynamically growing LColor list by allowing
6648 the graphic context cache to grow along (vector);
6649 (2) eliminate an IMHO unnecessary step in colour allocation.
6651 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6653 * BufferView_pimpl.C: compile fix
6655 2003-08-15 André Pönitz <poenitz@gmx.net>
6657 * rowpainter.C: remove extra metrics calls
6659 * lyxtext.h: merge the two constructors into a single one,
6660 pass reference to owner's par list
6662 * BufferView_pimpl.C:
6666 2003-08-15 André Pönitz <poenitz@gmx.net>
6668 * lyxrow_funcs.[Ch]:
6671 * paragraph_funcs.C:
6676 * text_funcs.C: split LyXText::rowlist_ into individual
6677 Paragraph::rows_ chunks
6680 * BufferView_pimpl.[Ch]:
6683 * text3.C: remove toggleSelection()
6685 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6687 * bufferlist.C: beautify two alerts (shorter text of buttons)
6688 * buffer.C: Remove redundant ' ' from message
6690 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6691 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6692 rename VALIGN_CENTER to VALIGN_MIDDLE
6694 2003-08-11 André Pönitz <poenitz@gmx.net>
6696 * lyxtext.h (getPar):
6697 * text.C: new function
6699 2003-08-11 André Pönitz <poenitz@gmx.net>
6702 * tracer.[Ch]: remove unneeded files
6704 * InsetList.[Ch]: remove resizeInsetsLyXText()
6709 * text3.C: merge insertParagraphs() and appendParagraph()
6710 remove breakAgain(), update()
6712 * BufferView_pimpl.[Ch]:
6713 * bufferview_funcs.[Ch]:
6717 * tabular.C: adjust after text & InsetList changes.
6719 2003-08-08 André Pönitz <poenitz@gmx.net>
6721 * text.C (insertChar, backspace): replace rowlist fiddling
6722 with rebreak of full par
6725 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6726 checkParagraph, updateInset): removed
6728 2003-08-07 André Pönitz <poenitz@gmx.net>
6731 * text3.C: merge some LFUN handlers, remove dead code
6733 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6735 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6737 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6739 * text2.C (DEPM): fix part of bug 1255 and 1256
6741 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6743 * BufferView_pimpl.C (workAreaDispatch): change to use
6744 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6745 that are no mouse related.
6747 2003-08-05 André Pönitz <poenitz@gmx.net>
6750 * BufferView_pimpl.[Ch]:
6751 * bufferview_funcs.C:
6753 * text3.C: rip out "deep update"
6755 * textcursor.[Ch] (last_sel_cursor): remove unused member
6757 2003-08-04 André Pönitz <poenitz@gmx.net>
6760 * BufferView_pimpl.[Ch]:
6761 * ParagraphParameters.C:
6762 * bufferview_funcs.C:
6768 * text3.C: replace "complicated" BufferView::update(...) calls with
6771 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6773 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6775 * Makefile.am (lyx_SOURCES): add paper.h
6777 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6779 * Makefile.am: move things around so that both lyx-qt and
6780 lyx-xforms can be built (according to --with-frontend). Then lyx
6781 is a symbolic link to lyx-[firstfrontend]
6783 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6785 * Always use std::endl with lyxerr
6787 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6789 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6791 2003-08-01 André Pönitz <poenitz@gmx.net>
6794 * BufferView_pimpl.[Ch]:
6796 * text3.C: merge BufferView::repaint() and BufferView::update()
6798 2003-08-01 José Matos <jamatos@lyx.org>
6800 * buffer.[Ch]: file_format is no longer a buffer data element.
6802 2003-08-01 André Pönitz <poenitz@gmx.net>
6807 * text2.C: make redoParagraph more independent of current cursor
6809 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6811 * text2.C: remove unneeded members
6813 2003-07-30 André Pönitz <poenitz@gmx.net>
6815 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6817 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6818 create a single function...
6820 * paragraph_funcs.C (moveItem): ... here.
6823 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6825 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6827 * LColor.[Ch]: Add comment and greyedout logical colors.
6829 2003-07-30 André Pönitz <poenitz@gmx.net>
6831 * tabular.C: don't use Assert too heavily. This crashes where it
6834 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6836 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6837 is disabled (bug 1232)
6839 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6841 * factory.C: limited 'arg' scope
6843 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6845 * factory.C: fixed Note submenu issues
6847 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6849 * factory.C: submenu for Note/Comment/Greyedout
6851 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6854 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6856 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6859 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6860 greyedout. Patch provided by Jürgen Spitzmüller.
6862 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6864 * kbmap.C (read): fix error message when reading bind files
6866 2003-07-29 Angus Leeming <leeming@lyx.org>
6868 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6869 certainly does not do what it purports to do. I am doing it, and
6870 us, a favour by killing it.
6872 2003-07-28 José Matos <jamatos@lyx.org>
6874 * buffer.C (readBody, do_writeFile):
6875 * paragraph.C(readParagraph): \end_document replaces \the_end.
6877 2003-07-29 André Pönitz <poenitz@gmx.net>
6880 * BufferView_pimpl.[Ch]:
6884 * textcursor.[Ch]: remove toggleToggle & Co
6886 2003-07-28 José Matos <jamatos@fep.up.pt>
6888 * buffer.C (readParagraph):
6889 * params_func (readParToken, readParagraph):
6890 * paragraph.C (write): \layout -> \begin_layout.
6892 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6894 * lyxlex_pimpl.C (setFile): clean up slightly.
6896 * bufferparams.h: add compressed var
6898 * buffer_funcs.C (readFile): adjust for LyXLex change
6899 (newFile): ditto + simplify
6901 * buffer.C (writeFile): handle writing of compressed files
6903 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6904 Check if the file is compressed and set a bufferparm if so.
6906 * Makefile.am (lyx_LDADD): remove explicit -lz
6908 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6910 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6911 makeDocBookFile): put the real LyX version in the first line of
6915 * version.C.in: remove lyx_docversion
6917 * tabular.C (write_attribute): add a template-based version to
6918 write enums properly
6920 2003-07-28 André Pönitz <poenitz@gmx.net>
6925 * text3.C: use doubles again for x-coordinates. They are needed.
6927 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * messages.C (getLocaleDir): use lyx_localedir()
6931 * lyxlex_pimpl.C (setFile): compress stuff
6933 * buffer.C (writeFile): add some compression stuff
6934 (do_writeFile): new func, dont call expliti close... will this
6937 * Makefile.am (lyx_LDADD): add -lz
6939 2003-07-28 José Matos <jamatos@fep.up.pt>
6941 * buffer.C: increment file format.
6942 * paragraph_funcs (readParagraph, readParToken):
6943 * paragraph.C (readParagraph): add \end_layout.
6945 2003-07-27 Angus Leeming <leeming@lyx.org>
6947 * Makefile.am: remove special casing for configure-time setting of
6948 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6950 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6951 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6953 2003-07-26 André Pönitz <poenitz@gmx.net>
6955 * paragraph_func.[Ch]:
6956 * paragraph.C (realizeFont): inline it whereever it is used
6961 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6964 2003-07-26 André Pönitz <poenitz@gmx.net>
6968 * text2.C: get rid of LyXText::need_break_row
6970 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6972 * toc.[Ch]: put namespace toc inside namespace lyx
6974 * MenuBackend.C (expandToc2): adjust for lyx::toc
6977 * lyxfunc.C (dispatch): adjust for lyx::find
6979 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6980 lyx::find instead. Reorganize a bit.
6981 (LyXReplace): rename to replace
6982 (LyXFind): rename to find
6984 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6987 2003-07-26 André Pönitz <poenitz@gmx.net>
6989 * text.C (setHeightOfRow): restrict scope of temporary variable
6991 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6992 code (never has been used?)
6994 2003-07-27 Asger Alstrup <alstrup@local>
6996 * text.C (fill): Optimise algorithm to exploit that we can reuse
6997 the LyXFont for many characters.
6998 (setHeightOfRow): Same thing.
6999 (rowBreakPoint): Same thing.
7001 2003-07-26 Asger Alstrup <alstrup@local>
7003 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7005 * text.C (singleWidth): Spurious font copying in hot-spot
7006 singleWidth avoided. Reorder tests for arabic for efficiency.
7008 * text.C (fill): handle empty paragraphs better.
7010 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7013 * encoding.h: add includes
7015 * lyxrc.C: remove reading of bind files
7017 * lyx_main.C (init): setup bindings and menus only if we have a
7020 * kbmap.C (read): new method. Do the actual reading of bind
7023 * converter.C (dvipdfm_options):
7026 (output): adapt PAPER_* enums.
7028 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7030 * bufferparams.h: remove paper-related enums from there
7032 * paper.h: New file. A trivial header file to hold paper-related
7033 enums. It should later expand to contain many paper-related
7036 * lyxrc.C: declare extern displayTranslator
7038 2003-07-27 José Matos <jamatos@fep.up.pt>
7040 * tabular.[Ch] (linuxdoc): add support for tables and figures
7043 2003-07-27 José Matos <jamatos@fep.up.pt>
7045 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7046 consistency in both functions.
7047 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7049 2003-07-26 Asger Alstrup <alstrup@local>
7051 * rowpainter.C (paintRows): Change algorithm to work directly on
7052 the insets rather than asking every character in the document
7053 whether its an inset.
7055 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7057 * buffer.C (openFileWrite): factorize some code
7059 2003-07-26 Angus Leeming <leeming@lyx.org>
7062 * lyx_main.[Ch]: replace occurances of system_tempdir with
7065 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * rename Inset to InsetOld
7069 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7071 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7072 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7073 which I think is a bit clearer. EDIT is gone, since it was
7074 premature optimisation, and broken for mathed anyway.
7075 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7076 with cursor positioning in insets as well (math insets still do not
7077 work, but that's a different story anyway.) It mysteriously
7078 crashes sometimes with undo in the first paragraph, but I'm fairly
7079 confident that this is a compiler bug.
7081 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7083 * paragraph.C (Paragraph): adjust for new clone return type
7085 (copyIntoMinibuffer): ditto
7087 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7089 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7090 by not having a special case, and always doing a full rebreak of
7091 the document after undo.
7093 2003-07-23 Angus Leeming <leeming@lyx.org>
7095 * factory.C (createInset): InsetExternal::setParams now takes a
7098 2003-07-23 Angus Leeming <leeming@lyx.org>
7100 * factory.C (createInset): changed interface to the external and
7101 graphics mailers' string2params functions.
7103 2003-07-23 Angus Leeming <leeming@lyx.org>
7105 * factory.C (createInset): pass a
7106 Buffer const * parameter to InsetExternalMailer's string2params.
7108 2003-07-22 John Levon <levon@movementarian.org>
7110 * Thesaurus.h: include the right aiksaurus header
7112 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7114 * MenuBackend.C (expand): check menu shortcuts unconditionally
7116 2003-07-21 Angus Leeming <leeming@lyx.org>
7118 * factory.C (createInset): pass a
7119 buffer_path parameter to InsetGraphicsMailer's string2params.
7121 2003-07-21 Angus Leeming <leeming@lyx.org>
7123 * BufferView_pimpl.C (buffer):
7126 * lyxfunc.C (dispatch):
7127 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7128 rather than the grfx shortcut.
7130 2003-07-21 André Pönitz <poenitz@gmx.net>
7132 * rowpainter.C: remove unused variables
7135 * tabular_funcs.h: move to tabular.C
7136 * Makefile.am: adjust
7138 * tabular.[Ch]: basic optical cleaning
7140 * author.h: pass references, not values
7142 2003-07-18 André Pönitz <poenitz@gmx.net>
7150 * text3.C: two-phase drawing for InsetText and InsetTabular
7151 some float -> int changes.
7153 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7155 * lyx_main.C: fix the fix
7157 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7159 * lyx_main.C: fix a crash in batch mode if no files specified
7162 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7164 * format.[Ch] (papersize): moved to BufferParams
7165 * converter.[Ch] (dvips_options): moved to BufferParams
7166 (dvipdfm_options): moved to anon namespace
7167 * bufferparams.[Ch]: added above functions.
7169 2003-07-17 André Pönitz <poenitz@gmx.net>
7173 * text2.C: don't call inset->update() anymore
7175 * metricsinfo.[Ch]: add convenience constructor
7177 2003-07-16 André Pönitz <poenitz@gmx.net>
7182 * text2.C: replace the LyXCursor::irow_ member with
7183 on-demand computation of the value
7185 2003-07-16 John Levon <levon@movementarian.org>
7187 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7189 2003-07-15 André Pönitz <poenitz@gmx.net>
7192 * text2.C: remove no more needed refresh_row
7194 2003-07-15 André Pönitz <poenitz@gmx.net>
7199 * text3.C: refresh_status tristate -> need_update bool
7201 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7203 * lyxtext.h (init): remove reinit argument (act as if always true)
7204 * text2.C: adjust to that
7206 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7208 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7209 * text3.C: use it to delete selections in some cases
7210 (bugs 441, 673, 702, 954).
7212 2003-07-14 André Pönitz <poenitz@gmx.net>
7214 * rowpainter.[Ch]: reduce interface
7216 2003-07-14 André Pönitz <poenitz@gmx.net>
7218 * BufferView_pimpl.C:
7219 * text2.C: adjust after removing unused BufferView * argument
7221 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7223 * text2.C (init): fix a crash fired on resize
7225 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7227 * buffer.[Ch]: added new closing signal
7228 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7229 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7230 BufferView::Pimpl via the closing the signal
7232 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7234 * buffer.[Ch]: take out all bv-related from buffer
7236 * BufferView_pimpl.[Ch]: connect to new signals
7237 * CutAndPaste.C: removed useless asserts
7238 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7241 * lyxfunc.C: moved view-related funciontality from vc here
7242 * paragraph.C: removed outdated comments
7245 2003-07-10 André Pönitz <poenitz@gmx.net>
7247 * BufferView_pimpl.C:
7251 * text2.C: remove InsetText::InnerCache, clean up consequences
7253 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7255 * ispell.C: fix two typos in error messages
7257 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7259 * Extend Note inset to other forms of annotation like Comment
7260 and Greyedout. Right button click gives dialog.
7262 Files modified or added (+):
7266 * ControlNote.[Ch] +
7268 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7269 frontends/controllers
7273 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7275 * aspell.C: add missing namespace lyx::support
7277 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7279 * BufferView.[Ch] (newFile): Add
7280 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7281 * LaTeX.[Ch] (message): added this signal and use it
7282 * buffer.[Ch] (busy, message): added these signals and use them
7283 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7287 * importer.C: use buffer signals instead of direct bv calling
7288 * lyx_cb.[Ch] (ShowMessage): removed
7291 * paragraph_funcs.C:
7292 * text2.C: use buffer signals
7294 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7296 * introduce namespace lyx::graphics
7298 2003-07-02 André Pönitz <poenitz@gmx.net>
7300 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7302 2003-07-01 André Pönitz <poenitz@gmx.net>
7309 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7310 text*.C to text_func.C
7312 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7314 * introduce namespace lyx::support
7316 2003-06-30 André Pönitz <poenitz@gmx.net>
7321 * text.C: re-enable --with-included-string
7323 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7325 * textcursor.C: add <config.h>
7327 * text.C (getWord): remove const from word_location arg
7329 * lyxvc.C (getLogFile): fix const type order
7331 * lyxtext.h: remove const from word_location arg, add arg name
7333 * lyxlayout.h: currect type on labeltype.
7335 * importer.C: correct \file
7337 * converter.C (intToFormat): use std:: on ret val, ws changes
7339 * bufferlist.h: correct \file
7341 * buffer.C (makeLinuxDocFile): fix const type order
7342 (makeDocBookFile): ditto
7343 (fillWithBibKeys): use std:: on stdlib args.
7345 * CutAndPaste.C: fix authors.
7346 (availableSelections): use std:: on return vector
7348 2003-06-27 André Pönitz <poenitz@gmx.net>
7350 * BufferView_pimpl.C:
7351 * bufferview_funcs.C:
7359 * text3.C: remove LyXCursor::row_ member
7362 * text.C: rename fullRebreak() to partialRebreak() and implement
7363 a fullRebreak() that really bereks fully
7365 * textcursor.h: new struct for cursor-related data
7367 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7369 * lyx_main.C (LyX): get full path of document loaded on the
7372 2003-06-26 André Pönitz <poenitz@gmx.net>
7374 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7375 remove unused/broken operator>,<,>=.
7377 * text.C: remove only use of broken operator<= in an Assert().
7379 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7381 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7382 moved errorlist_.clear to showErrorList
7384 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7386 * converter.C (scanLog, runLaTeX):
7387 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7388 move the bv->showErrorList call to the callers
7389 * lyxfunc.C: i.e. here...
7391 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7392 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7393 namespace, the second to...
7394 * buffer_funcs (BufferFormat, parseErrors): added
7395 * errorlist.C (ErrorList(TeXErrors const &)): removed
7397 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7399 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7401 2003-06-24 "Garst R. Reese" <reese@isn.net>
7405 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7407 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7409 * version.C.in: change docversion to 1.4
7411 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7413 * buffer.C: fix a bug just introduced
7415 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7417 * buffer.[Ch]: added the parseError signal and use it, removed
7419 * BufferView.[Ch] (addError): moved to ...
7420 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7421 to the Buffer::parseError signal to catch (guess what) parse errors
7422 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7424 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7426 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7427 ability to create a buffer and to return an existing one from
7428 the list. Moved these functions to...
7429 * buffer_funcs.[Ch]: added
7430 * BufferView.[Ch] (loadLyXFile): added
7431 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7432 job removed from bufferlist::loadLyXFile.
7433 * buffer.C (setReadOnly): make it work without view
7434 (i.e added an if (users))
7436 2003-06-19 Angus Leeming <leeming@lyx.org>
7439 * LyXAction.C (init):
7440 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7441 with LFUN_DIALOG_SHOW <name> <data>.
7443 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7445 * CutAndPaste.C (availableSelections): small compilation fix for
7446 ancient (gcc 2.9x) compilers
7448 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7450 * text3.C (cursorNext): add tmp var
7452 * text2.C (updateCounters): for function calling out of for clause
7453 (replaceSelectionWithString): ditto
7454 (insertStringAsParagraphs): ditto
7455 (getColumnNearX): add tmp var
7456 (setCursorFromCoordinates): add tmp var
7457 (cursorDownParagraph): add tmp var
7458 (deleteEmptyParagraphMechanism): add tmp var
7460 * text.C (insertChar): add tmp var
7462 * rowpainter.C (paintDepthBar): add tmp var
7464 * CutAndPaste.C (availableSelections): potentially check all
7465 paragraphs in a cut to fill the shown strings.
7467 2003-06-18 André Pönitz <poenitz@gmx.net>
7469 * kbmap.[Ch]: use vector<> instead of list<>
7471 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7473 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7474 pasteSelection with index
7476 * text2.C (pasteSelection): modify, call pasteSelection with index
7478 * paragraph.C (asString): reimplement version with no interval to
7479 call the one with interval.
7481 * lyxtext.h: add index arg to pasteSelection
7483 * MenuBackend.C (MenuItem): handle PasteRecent
7484 (Menu::read::Menutags): add md_pasterecent
7486 (expandPasteRecent): new function
7489 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7491 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7493 (availableSelections): new function
7495 2003-06-17 Angus Leeming <leeming@lyx.org>
7497 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7499 2003-06-17 Angus Leeming <leeming@lyx.org>
7502 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7504 * lyxfunc.C (dispatch): invoke it.
7506 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7508 * iterators.C (operator++, ParPosition): reintroduce some
7509 const_cast for the benefit of older compilers.
7511 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7513 * text3.C (dispatch): do not modify clipboard when doing
7514 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7515 LFUN_DELETE_SKIP on a selection selection
7517 2003-06-16 André Pönitz <poenitz@gmx.net>
7523 * tabular.[Ch]: IU of clone() and getLabelList();
7525 2003-06-13 André Pönitz <poenitz@gmx.net>
7527 * tabular.h: compactification
7529 2003-06-12 André Pönitz <poenitz@gmx.net>
7533 * tabular_funcs.h: some renaming plus whitespace
7535 2003-06-12 André Pönitz <poenitz@gmx.net>
7538 * BufferView_pimpl.C:
7544 * toc.C: Return a Paragraph & for ParIterator::operator*()
7546 2003-06-11 John Levon <levon@movementarian.org>
7550 * ToolbarBackend.C: add "Toolbars" section and
7553 2003-06-10 Angus Leeming <leeming@lyx.org>
7556 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7558 * lyxfunc.C (dispatch): invoke it.
7560 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7562 * main.C: protect <ios> with HAVE_IOS
7563 (main): protect sync_with_stdio with HAVE_IOS
7565 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7567 * text2.C (cutSelection): adjust
7568 (pasteSelection): adjust
7570 * messages.C: handle get of empty string
7572 * main.C (main): use sync_with_stdio(false)
7574 * lyxfunc.C (dispatch): adjust
7576 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7577 (WriteAs): remove unneeded BufferView arg.
7579 * bufferparams.h: use correct types on papersize, papersize2 and
7582 * bufferparams.C (readToken): adjust for type
7583 (writeLaTeX): add missing cases to switch.
7585 * bufferlist.C (quitWriteBuffer): adjust
7588 * buffer.C (asciiParagraph): remove some commented code.
7590 * CutAndPaste.C: remove current_view extern variable.
7591 (cutSelection): add BufferParams arg.
7592 (eraseSelection): add BufferParams arg.
7593 (pasteSelection): add Buffer const & arg
7595 2003-06-07 John Levon <levon@movementarian.org>
7598 * paragraph_funcs.C:
7599 * paragraph_pimpl.C:
7603 * paragraph.C: allow InsetERT to freely space lines,
7604 and some consolidation of code
7606 2003-06-06 José Matos <jamatos@fep.up.pt>
7608 * buffer.C (makeDocBookFile): fix bug #821
7610 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7612 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7614 2003-06-04 Angus Leeming <leeming@lyx.org>
7616 * buffer.C: bump format to 224.
7618 2003-06-05 André Pönitz <poenitz@gmx.net>
7620 * text2.C (redoParagraphs): remove two const_cast<>
7622 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7624 * ParagraphList.h: remove last remnants of NO_STD_LIST
7626 2003-06-03 Angus Leeming <leeming@lyx.org>
7628 * factory.C (createInset): small change to the way InsetExternal's params
7631 2003-06-04 André Pönitz <poenitz@gmx.net>
7633 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7635 * paragraph_pimpl.h:
7636 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7638 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7640 * undo_funcs.C: make some simple cases of undo work again
7642 2003-06-03 John Levon <levon@movementarian.org>
7644 * ispell.C: HPUX doesn't have sys/select.h
7647 2003-06-03 John Levon <levon@movementarian.org>
7649 * CutAndPaste.C: update tabular and include inset
7654 * paragraph.C: remove owningBuffer(), don't pass Buffer
7657 * factory.C: insetGraphicsParams changed
7659 2003-06-02 John Levon <levon@movementarian.org>
7665 * text3.C: remove insetparent
7667 2003-06-02 John Levon <levon@movementarian.org>
7670 * buffer.C: fix inset_iterator.end(), move out of line
7673 2003-06-01 John Levon <levon@movementarian.org>
7675 * text3.C: use a proper cut/paste when doing inset
7676 insert (from Jürgen Spitzmüller)
7678 2003-06-01 John Levon <levon@movementarian.org>
7680 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7682 2003-05-30 André Pönitz <poenitz@gmx.net>
7684 * rowpainter.C: unify second drawing phase
7686 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7688 * trans_mgr.C: remove one case of current_view
7690 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7692 * paragraph_funcs.h: remove paragraph.h include
7694 * paragraph.h: delete NO_STD_LIST stuff
7696 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7698 * buffer.h: remove paragraph.h include
7700 * ParagraphList.C: delete file
7702 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7704 * toc.C (getTocList): adjust
7706 * paragraph_pimpl.C (validate): adjust
7708 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7710 * paragraph.C (Paragraph): adjust
7711 (getPositionOfInset): use const_iterator, adjust
7712 (bibitem): use const_iterator, adjust
7713 (setInsetOwner): adjust
7715 * iterators.C (operator++): adjust
7717 * InsetList.[Ch]: Replace selfmade iterator with standard
7718 vector::iterator also introduce const_iterator. Remove getPos,
7719 getInset and setInset from InsetTable. Adjust accordingly.
7721 * BufferView.C (lockInset): adjust
7722 (ChangeInsets): adjust
7724 * tabular.[Ch]: delete commented same_id functions
7726 2003-05-28 John Levon <levon@movementarian.org>
7728 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7730 2003-05-28 André Pönitz <poenitz@gmx.net>
7732 * metricsinfo.[Ch]: remove 'fullredraw' member
7734 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7736 * lyxtextclass.C (operator): remove caching.
7738 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7742 * text2.C (cursorBottom): adjust
7743 (setCounter): use ParagraphList::find, adjust
7745 * text.C (workWidth): use ParagraphList::find, adjust
7747 * lyxcursor.C (LyXCursor): adjust
7749 * buffer.C (inset_iterator): adjust
7751 * ParagraphList.h: make iterator(value_type) private, make
7752 ParagraphList a friend of iterator.
7754 * ParagraphList.C (find): new function
7756 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7758 2003-05-27 André Pönitz <poenitz@gmx.net>
7760 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7762 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7764 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7766 2003-05-26 John Levon <levon@movementarian.org>
7768 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7770 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7772 * remove same_id from function signatures, adjust.
7774 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7776 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7778 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7780 * paragraph.C (Paragraph): get rid of same_ids parameter
7782 * ParagraphList.C (insert): adjust
7785 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7787 * paragraph_funcs.C (breakParagraph): adjust
7788 (breakParagraphConservative): adjust
7790 * buffer.C (readParagraph): adjust
7792 * ParagraphList.C (insert): take a reference instead of a pointer
7795 * paragraph.[Ch] (id): new function
7797 * bufferlist.C (newFile): adjust
7799 * ParagraphList.C (ParagraphList): adjust
7801 (push_back): take a reference instead of a pointer.
7803 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7805 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7808 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7809 set else use old code.
7811 * ParagraphList.C: remove all NO_NEXT code and only compile this
7812 code of NO_STD_LIST is set.
7814 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7816 * BufferView_pimpl.C:
7826 * graphics/GraphicsConverter.C:
7827 * graphics/PreviewLoader.C: header adjustment
7829 2003-05-23 Angus Leeming <leeming@lyx.org>
7831 * LaTeXFeatures.[Ch] (useBabel): new method.
7832 * bufferparams.C (writeLaTeX): use it.
7834 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7836 * ParagraphList.h (set): remove unused function.
7838 2003-05-23 André Pönitz <poenitz@gmx.net>
7841 * BufferView_pimpl.C:
7845 * undo_funcs.C: setUndo reworked
7847 * iterators.[Ch]: add access to topmost ParagraphList
7849 * lyxtext.[Ch] (workWidth): add a const
7851 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7853 * texrow.[Ch] (increasePos): remove function
7854 * exporter.C (export): removed unused var and outdated comment
7856 2003-05-23 Angus Leeming <leeming@lyx.org>
7858 * latexrunparams.h: rename fragile as moving_arg.
7859 * paragraph.C (simpleTeXOnePar): ditto.
7860 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7862 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7864 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7866 (textUndoOrRedo): comment out a currently unused var.
7868 * paragraph.h (NO_NEXT): enable NO_NEXT
7870 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7872 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7874 * exporter.C (Export): adjust for removeAutoInsets removal.
7876 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7878 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7880 * BufferView.[Ch] (removeAutoInsets): delete function
7882 2003-05-22 Angus Leeming <leeming@lyx.org>
7884 * latexrunparams.h: add a free_spacing variable.
7886 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7887 to pass moving_arg, as the data is stored in runparams.fragile.
7889 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7890 to Inset::latexOptional or to simpleTeXOnePar.
7892 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7893 free_spacing arg to Inset::latexOptional.
7895 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7898 2003-05-22 Angus Leeming <leeming@lyx.org>
7900 * latexrunparams.h: add fragile and use_babel variables.
7902 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7903 * buffer.C (makeLaTeXFile): store this returned value in
7904 runparams.use_babel, thus passing it to the inset::latex methods.
7906 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7907 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7909 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7910 longer has a fragile arg, as it is stored in runparams.fragile.
7912 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7913 moving_arg parameter as the data is stored in runparams.fragile.
7915 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7916 a fragile parameter as the data is stored in runparams.fragile.
7918 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7920 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7922 2003-05-22 Angus Leeming <leeming@lyx.org>
7924 * latexrunparams.h: add a 'bool nice' which defaults to false.
7926 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7927 now encapsulated within runparams.
7929 * bufferlist.C (updateIncludedTeXfiles):
7930 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7932 2003-05-22 Angus Leeming <leeming@lyx.org>
7934 * latexrunparams.h: new file containing struct LatexRunParams.
7935 * Makefile.am: add new file.
7937 * LaTeX.[Ch] (c-tor, run):
7938 * buffer.[Ch] (makeLaTeXFile):
7939 * bufferlist.[Ch] (updateIncludedTeXfiles):
7940 * converter.C (convert, scanLog):
7941 * converter.[Ch] (runLaTeX):
7942 * exporter.C (Export):
7943 * paragraph.[Ch] (simpleTeXOnePar):
7944 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7945 * paragraph_funcs.[Ch] (latexParagraphs):
7946 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7947 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7948 pass around a LatexRunParams parameter.
7950 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7952 * paragraph.[Ch]: remove unused constructor
7954 * ParagraphList.C (erase): new function, taking two iterators
7956 2003-05-22 André Pönitz <poenitz@gmx.net>
7958 * undo_funcs.C: remove duplicated code
7960 * iterator.[Ch]: operator=
7962 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7964 * tabular.C (SetMultiColumn): ws changes
7966 * rowpainter.C (paintFirst): get rid of a ->previous
7968 * lyx_cb.C (getPossibleLabel): parlist simplification
7970 * BufferView.C (ChangeInsets): simplify slightly.
7972 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7974 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7975 * lfuns.h: new LFUN_SPACE
7976 * lyxfunc.C: protected space has a new lfun
7977 * paragraph_funcs.C: read new space insets
7979 * factory.C: handle new space insets
7981 2003-05-22 André Pönitz <poenitz@gmx.net>
7984 * BufferView_pimpl.C:
7987 * undo_funcs.C: return a ParIterator from getParFromID.
7989 * iterators.[Ch]: add two const's
7991 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7993 * toc.C (getTocList): adjust
7995 * iterators.[Ch]: rework for parlist
7997 * buffer.C (par_iterator_begin): adjust
7998 (par_iterator_end): adjust
8000 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8002 * BufferView.C (removeAutoInsets): adjust
8003 (ChangeInsets): adjust
8005 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8007 * text.C (top_y): fix bug 1110
8009 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8011 * errorlist.[Ch]: added
8014 * BufferView_pimpl.C:
8015 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8018 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8020 * Makefile.am: ensure that lyx is relinked upon changes to the
8021 various "convenience" libs.
8023 2003-05-20 Angus Leeming <leeming@lyx.org>
8025 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8026 files are compiled in alphabetical order again.
8028 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8030 2003-05-19 Angus Leeming <leeming@lyx.org>
8032 * gettext.[Ch]: remove "char const * _(char const *)".
8034 2003-05-19 André Pönitz <poenitz@gmx.net>
8036 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8045 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8047 2003-05-19 André Pönitz <poenitz@gmx.net>
8051 * lyxtextclass.[Ch]:
8053 * paragraph_funcs.[Ch]:
8055 * text3.C: more insetenv work
8057 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8059 * ParagraphParameters.C (params2string): small bug fixed
8061 2003-05-16 André Pönitz <poenitz@gmx.net>
8064 * bufferview_funcs.C: patch from Kornel Benko to prevent
8065 crash when _(...) is called twice in a statement
8067 2003-05-16 André Pönitz <poenitz@gmx.net>
8074 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8076 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8078 * lyx_main.C (init): remove spurious static_cast
8080 2003-05-14 André Pönitz <poenitz@gmx.net>
8082 * BufferView.C: fix format string
8084 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8086 * BufferView.[Ch] (insertErrors): removed
8087 * BufferView.[Ch] (showErrorList): added
8088 * buffer.C (runChkTeX):
8089 * converter.C (scanLog): call showErrorList instead of inserterrors
8091 2003-05-13 André Pönitz <poenitz@gmx.net>
8093 * BufferView_pimpl.C:
8095 * bufferview_func.C:
8102 * tabular_funcs.h: tostr() from its own header
8104 * ParagraphParameters.C:
8109 * text3.C: STRCONV()
8111 2003-05-12 André Pönitz <poenitz@gmx.net>
8114 * BufferView_pimpl.C:
8118 * ParagraphParameters.C:
8122 * bufferview_funcs.C:
8135 * paragraph_funcs.C:
8139 * text3.C: boost::format -> bformat all over the place
8142 2003-05-09 André Pönitz <poenitz@gmx.net>
8144 * LColor.[Ch]: Pimpl the #include <map> away
8146 2003-05-09 John Levon <levon@movementarian.org>
8148 * bufferlist.C: never remove emergency saves
8150 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * Makefile.am: better lib building
8154 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8158 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8159 (simpleTeXSpecialChars): adjust
8160 (simpleTeXSpecialChars): adjust
8161 * paragraph.C (simpleTeXOnePar): adjust
8162 * buffer.C (makeLaTeXFile): adjust
8164 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8166 * text2.C (changeDepth): parlist cleanup
8167 (getColumnNearX): ditto
8169 * rowpainter.C (getLabelFont): parlist cleanup
8171 * bufferlist.C (newFile): parlist cleanup
8173 * CutAndPaste.C (eraseSelection): parlist cleanup
8175 * BufferView_pimpl.C (trackChanges): parlist cleanup
8178 * BufferView.C (lockInset): parlist cleanup.
8179 (ChangeInsets): ditto
8181 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8183 * CutAndPaste.h: Update file header.
8185 * CutAndPaste.C: Update file header.
8186 Store the parts cut out of the Document in a limited_stack.
8187 (copySelection): adjust
8188 (pasteSelection): new function, takes the index in the limited stack.
8189 (nrOfParagraphs): adjust
8190 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8191 simplify error inset insertion.
8192 (checkPastePossible): adjust
8194 2003-05-06 John Levon <levon@movementarian.org>
8196 * text2.C: don't cast wrap inset to float
8198 2003-05-05 André Pönitz <poenitz@gmx.net>
8201 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8203 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8204 few naked Paragraph *.
8206 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8208 * bufferparams.C: Output warning if a document with missing
8209 TeX document class is loaded
8210 * exporter.C: Disable TeX exports if the document class is missing
8213 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8214 isTeXClassAvailable()
8216 2003-05-03 John Levon <levon@movementarian.org>
8219 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8220 explicit cursor show/hide
8222 * BufferView_pimpl.h:
8223 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8224 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8226 * lyxfunc.C: hide cursor before dispatching.
8231 * text3.C: remove explicit cursor hides
8233 2003-05-02 André Pönitz <poenitz@gmx.net>
8235 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8238 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8241 * text2.C: tiny whitespace
8243 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8245 * undo_funcs.C: almost only ws changes.
8247 * ParagraphList.C (splice): just return if pl is empty.
8249 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8251 * ParagraphList.C (splice): new function.
8253 * CutAndPaste.C (pasteSelection): use it
8255 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8257 * CutAndPaste.C (pasteSelection): remove the last next and
8258 previous from this file.
8260 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8262 * CutAndPaste.C (pasteSelection): more clean up, user proper
8263 ParagraphList functions for pasteing.
8265 * ParagraphList.C (insert): new function, three arg insert
8267 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8269 * ParagraphList.C (insert): new function, three arg insert
8271 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8274 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8276 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8278 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8282 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8284 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8285 (copySelection): clean up a bit.
8286 (pasteSelection): use make_pair
8288 * ParagraphList.C (ParagraphList): implement copy constructor
8289 (operator=): implement, base on copy constructor.
8292 * paragraph.C (erase): return a bool
8294 * paragraph_pimpl.C (erasePos): remove function, move contents...
8295 (erase): ... here. Return a bool.
8296 (erase): call erase instead of erasePos.
8298 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8300 * ParagraphList.h: define PitPosPair
8301 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8302 ParagraphList, fix a bug on pasting multiple pars
8303 * text2.C: change interface to C&P
8305 2003-04-30 André Pönitz <poenitz@gmx.net>
8307 * undo_func.C: revert part of yesterday's patch 2
8309 2003-04-30 John Levon <levon@movementarian.org>
8311 * LColor.C: s/tabular/table/
8313 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8315 * text3.C (dispatch): do not convert iterator -> pointer
8316 * undo_funcs.C (setCursorParUndo): ditto
8317 * text_funcs.C (transposeChars): ditto
8319 * text2.C (setLayout): ws changes only
8321 * text.C (breakParagraph): do not convert iterator -> pointer
8323 (acceptChange): ditto
8324 (rejectChange): ditto
8329 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8332 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8334 * text3.C (gotoInset): YABG (yet another bad getChar)
8336 2003-04-29 André Pönitz <poenitz@gmx.net>
8338 * paragraph.h: make operator= private unimplemented as long as
8341 * ParagraphList.C: whitespace
8344 * paragraph_pimpl.[Ch]:
8345 * paragraph_funcs.C:
8347 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8350 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8352 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8354 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8355 * paragraph.[Ch] (erase):
8356 * paragraph_pimpl.[Ch] (erase): change return type and value
8357 * text2.C (cutSelection): some rework
8359 2003-04-28 John Levon <levon@movementarian.org>
8361 * bufferlist.C: changes for unsaved changes dialog
8363 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8365 * bufferlist.C (newFile): set language (messages_) for new
8368 * buffer.C (readFile): ws changes only.
8370 2003-04-28 André Pönitz <poenitz@gmx.net>
8375 * BufferView_pimpl.C:
8376 * BufferView.C: getParFromID related ParagraphList::iterator changes
8378 2003-04-28 André Pönitz <poenitz@gmx.net>
8380 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8383 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8385 * messages.C: remove one more localedir class variable.
8387 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8389 * messages.C (getLocaleDir): singleton generation function
8391 (Messages): add a default constructor.
8393 * main.C (main): do not setup localedir here, do not call
8396 * gettext.C (_): use it.
8397 (gettext_init): delete funciton
8399 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8401 * gettext.C (getLyXMessages): new singleton generating function.
8403 * buffer.C (updateDocLang): adjust
8405 * Makefile.am (messages.o): add target
8406 (main.o): remove target
8408 2003-04-27 John Levon <levon@movementarian.org>
8413 * lyxvc.C: specify cancel button in Alert::prompt
8415 2003-04-26 John Levon <levon@movementarian.org>
8420 * LyXAction.C: add LFUN_INSET_SETTINGS
8422 * lyxfunc.C: don't enable tabular-feature when there's
8423 just any locking inset
8425 2003-04-26 John Levon <levon@movementarian.org>
8427 * bufferlist.C: re-add Cancel to buffer close question
8429 * lyxfunc.C: fix import UI a bit
8431 2003-04-25 John Levon <levon@movementarian.org>
8433 * gettext.C: remove the broken asserts for now
8435 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8437 * messages.C: make case where setlocale cannot comply work better.
8439 * buffer.C (updateDocLang): new function
8440 (changeLanguage): use it
8443 * text2.C (setCounter): use B_ a bit.
8445 * lyxlayout.C (Read): be sure to trim the label strings.
8447 * messages.C (Messages): fix typo in comment
8449 * buffer.C (readFile): set message_ after file is loaded.
8450 (makeDocBookFile): remove double return
8451 (changeLanguage): reset message_ upon language change.
8452 (B_): new func, use this to get translated buffer strings.
8454 * main.C: add myself and Jean Marc as authors.
8456 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8458 * messages.[hC]: pimplify Messages, and three different pimpls to be
8459 used in different circumstances.
8461 * gettext.[Ch]: change for use with new message code.
8463 2003-04-24 André Pönitz <poenitz@gmx.net>
8465 * factory.C: support for eqref
8467 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8469 * messages.[Ch]: add missing char
8471 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8473 * messages.[Ch]: New files
8475 2003-04-18 John Levon <levon@movementarian.org>
8479 * BufferView_pimpl.C:
8483 * text2.C: remove layout-copy/paste (bug 778)
8485 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8487 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8489 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8491 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8492 if they succeed. Act accordingly.
8494 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8496 * text2.C (setCharFont): adjust
8497 (setCounter): adjust
8498 (insertStringAsLines): adjust
8500 * text.C (leftMargin): adjust
8501 (setHeightOfRow): adjust
8503 * rowpainter.C (paintFirst): adjust
8506 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8508 (isFirstInSequence): ditto
8509 (getEndLabel): ditto
8512 * paragraph.C (getParLanguage): comment out some hard stuff.
8514 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8516 (simpleDocBookOnePar): ditto
8517 (makeDocBookFile): use ParagraphList::iterator
8519 * CutAndPaste.C (pasteSelection): adjust
8521 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8523 * text2.C (getFont): adjust
8524 (getLayoutFont): adjust
8525 (getLabelFont): adjust
8527 * paragraph_funcs.C (TeXOnePar): adjust
8529 * buffer.C (simpleLinuxDocOnePar): adjust
8530 (simpleDocBookOnePar): adjust
8532 * CutAndPaste.C (pasteSelection): adjust
8534 * BufferView.C (getEncoding): adjust
8536 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8538 2003-04-16 John Levon <levon@movementarian.org>
8540 * lyxfind.C: use parlist stuff for search/changes
8542 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8544 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8546 * text2.C (deleteEmptyParagraphMechanism): adjust
8548 * text2.[Ch] (ownerParagraph): delete func (both of them
8550 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8552 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8554 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8556 * ParagraphList.C: prepare for NO_NEXT
8558 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8560 * text2.C (getFont): adjust
8561 (getLayoutFont): adjust
8562 (getLabelFont): adjust
8564 * paragraph.C (getFont): adjust
8565 (getLabelFont): adjust
8566 (getLayoutFont): adjust
8568 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8570 2003-04-15 John Levon <levon@movementarian.org>
8574 * lyx_main.C: handle Include in .ui files
8576 2003-04-15 John Levon <levon@movementarian.org>
8578 * MenuBackend.C: make the doc files length shorter
8581 * ToolbarBackend.C: handle toolbar placement flags,
8584 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8586 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8589 * paragraph_funcs.C (TeXOnePar): adjust
8591 * paragraph.C (getLabelFont): add outerfont arg, adjust
8592 (getLayoutFont): ditto
8593 (simpleTeXOnePar): adjust
8595 * paragraph_pimpl.C (realizeFont): delete func
8597 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8599 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8600 row argument, constify cur argument.
8602 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8604 * text2.C (getFont): adjust
8605 (getLayoutFont): adjust
8606 (getLabelFont): adjust
8608 * paragraph_funcs.C (TeXOnePar): adjust
8609 (outerFont): new func...
8610 (realizeFont): ...moved out from here, changed this to facilitate
8613 * paragraph.C (getFont): take outerfont as arg, adjust
8614 (simpleTeXOnePar): add outerfont arg, adjust
8616 * buffer.C (simpleLinuxDocOnePar): adjust
8617 (simpleDocBookOnePar): adjust
8619 * CutAndPaste.C (pasteSelection): adjust
8621 * BufferView.C (getEncoding): adjust
8623 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8625 * text2.C (setCharFont): adjust
8626 (setCounter): adjust
8628 * text.C (leftMargin): adjust
8629 (setHeightOfRow): adjust
8631 * rowpainter.C (paintFirst): adjust
8634 * paragraph_pimpl.C (realizeFont): adjust
8636 * paragraph.C (isFirstInSequence): move from here...
8637 * paragraph_funcs.C (isFirstInSequence): ...to here
8639 * paragraph.C (outerHook): move from here...
8640 * paragraph_funcs.C (outerHook): ...to here
8642 * paragraph.C (depthHook): move from here...
8643 * paragraph_funcs.C (depthHook): ...to here
8645 * paragraph.C (getEndLabel): move from here...
8646 * paragraph_funcs.C (getEndLabel): ...to here
8648 * text2.C (realizeFont): move from here...
8649 * paragraph_funcs.C (realizeFont): ...to here
8651 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8653 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8655 2003-04-14 Angus Leeming <leeming@lyx.org>
8657 * LColor.[Ch]: scrap LColor mathcursor.
8659 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8661 * lyxlex.[Ch] (text): delete function
8662 * trans.C (Load): adjust
8663 * paragraph_funcs.C (readParToken): adjust
8665 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8667 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8668 vector<char> instead of a char[].
8670 * lyxlex_pimpl.C (getString): adjust
8672 (lex): use getString
8676 * lyxlex.C (text): use pimpl_->getString()
8680 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8682 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8683 (makeFontEntriesLayoutSpecific): temp var for par.size()
8684 (setLayout): temp var for ownerParagraphs().end()
8685 (fullRebreak): temp var for rows().end()
8686 (selectionAsString): temp var for boost::next(startpit), realize
8687 that the while really is a regular for loop.
8688 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8689 setCursor in one place.
8690 (setParagraph): temp vr for ownerParagraphs().end()
8691 (updateCounters): make the while loop a for loop
8692 (cutSelection): temp var for ownerParagraphs().end()
8693 (updateInset): make the do {} while() a regular for loop
8694 (getCursorX): use temp vars
8695 (setCurrentFont): use temp vars
8696 (getColumnNearX): use temp vars
8698 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8700 * text.C (transformChar): use temp var for getChar
8701 (computeBidiTables): use temp var for row->par()
8702 (fill): move temp vars for row->par() and pit->layout() earlier in
8704 (labelFill): use temp var for row->par()
8705 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8706 asc and desc, realize that pit never changes and that firstpit is
8707 just a duplicate and not needed. Exchange rit->par() with pit in a
8709 (breakAgain): use a temp var for boost::next(rit)
8710 (breakAgainOneRow): ditto
8711 (breakParagraph): use a temp var for rows().begin()
8712 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8713 (cursorRightOneWord): use temp var for cursor.par() and
8714 cursor.pos(), remove usage of tmpcursor.
8715 (cursorLeftOneWord): use temp var for cursor.par() and
8716 cursor.pos() only set cur at end of function.
8718 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8720 * text.C, text2.C: exchange all usage of Paragraph::next with
8721 boost::next(ParagraphList::iterator)
8723 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8725 * text2.C (cursorTop): simplify implementation
8726 (cursorBottom): ditto
8727 (setParagraph): use ParagraphList::iterator
8728 (setCurrentFont): adjust
8729 (getColumnNearX): adjust
8730 (cursorRight): adjust
8731 (cursorLeft): remove usage of Paragraph::previous
8732 (cursorUpParagraph): ditto
8733 (deleteEmptyParagraphMechanism): slight cleanup
8735 * text.C (isBoundary): take a Paragraph const & instead of a
8737 (addressBreakPoint): ditto
8738 (leftMargin): remove usage of Paragraph::previous.
8739 (setHeightOfRow): ditto
8740 (cursorLeftOneWord): ditto
8741 (selectNextWordToSpellcheck): ditto
8744 (breakParagraph): remove one usage of Paragraph::next
8745 (redoParagraph): ditto
8746 (acceptChange): ditto
8747 (insertChar): adjust
8748 (rowBreakPoint): adjust
8750 * bufferview_funcs.C (toggleAndShow): adjust
8752 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8754 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8755 methods to access it.
8757 * text.C: Added updateRowPositions to compute all row positions.
8758 Make top_y and getRowNearY() to use the cached y position
8760 2003-04-11 John Levon <levon@movementarian.org>
8762 * text.C (rowBreakPoint): reintroduce the labelEnd
8763 checks, code copied from the row fill stuff. Deep voodoo.
8765 * text.C (fill): add a comment and debugging for the
8768 2003-04-11 John Levon <levon@movementarian.org>
8770 * text.C: make sure fullrow insets get wrapped to the next line,
8771 even when they're in a manual label
8773 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8775 * text2.C (insertParagraph): make it take ParagraphList::iterator
8777 (setLayout): make it return ParagraphList::iterator
8778 (redoParagraphs): ditto
8780 (checkParagraph): ditto
8782 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8784 * text2.C: adjust several funcs.
8785 (realizeFont): take a ParagraphList::iterator as arg.
8786 (getLayoutFont): ditto
8787 (getLabelFont): ditto
8788 (setCharFont): ditto
8790 * text.C: adjust several funcs.
8792 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8794 * text.C (selectNextWordToSpellcheck): don't accidentally
8797 2003-04-10 John Levon <levon@movementarian.org>
8799 * ToolbarBackend.C (getIcon): special handling for
8802 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8804 * text2.C (cursorRight): a getChar assert fixed
8806 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8808 * text2.C (getFont): change to take a ParagraphList::iterator
8809 instead of Paragraph*
8810 Adjust several functions.
8812 * text.C (transformChar): change to take a ParagraphList::iterator
8813 instead of Paragraph*
8814 (singleWidth): ditto
8815 Adjust several functions.
8817 * rowpainter.C: adjust several functions
8818 * rowpainter.h:store a ParagraphList::iterator and not a
8822 2003-04-09 John Levon <levon@movementarian.org>
8827 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8828 and the "help" bits as well
8830 2003-04-09 John Levon <levon@movementarian.org>
8833 * ToolbarBackend.C: allow multiple toolbars
8835 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8837 * undo_funcs.C (setCursorParUndo): adjust
8839 * text_funcs.C (transposeChars): adjust
8841 * text3.C (gotoNextInset): adjust
8844 * text2.C (setLayout): adjust
8845 (changeDepth): adjust
8847 (redoParagraphs): adjust
8848 (selectionAsString): adjust
8849 (setParagraph): adjust
8850 (insertInset): adjust
8851 (cutSelection): adjust
8852 (copySelection): adjust
8853 (pasteSelection): adjust
8854 (insertStringAsLines): adjust
8855 (updateInset): adjust
8856 (setCursor): change to take a ParagraphList::iterator parameter
8857 (setCursorIntern): change to take a ParagraphList::iterator parameter
8858 (setCurrentFont): adjust
8859 (cursorLeft): adjust
8860 (cursorRight): adjust
8861 (deleteEmptyParagraphMechanism): adjust
8863 * text.C (breakParagraph): adjust
8864 (insertChar): adjust
8865 (acceptChange): adjust
8866 (rejectChange): adjust
8867 (selectNextWordToSpellcheck): adjust
8868 (changeCase): adjust
8872 * lyxfind.C (SearchForward): adjust
8873 (SearchBackward): adjust
8874 (nextChange): adjust
8876 * lyxcursor.C (par): adjust
8878 * lyxcursor.h: store a ParagraphList::iterator instead of a
8881 * lyx_cb.C (getPossibleLabel): adjust
8883 * bufferview_funcs.C (toggleAndShow): adjust
8885 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8888 * BufferView.C (removeAutoInsets): adjust
8889 (lockedInsetStoreUndo): adjust
8891 2003-04-09 John Levon <levon@movementarian.org>
8893 * ToolbarBackend.C: try icon without argument
8894 if with argument fails
8896 2003-04-08 John Levon <levon@movementarian.org>
8899 * ToolbarBackend.C: add getIcon(), handle tooltip,
8900 and change from "Icon" to "Item".
8902 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8904 * BufferView.C (lockInset): another bad getchar crunched
8906 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8908 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8911 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8913 * lyxfind.C (searchForward, searchBackwards): bug 782
8915 2003-04-07 John Levon <levon@movementarian.org>
8917 * paragraph.C: remove dead comment
8919 * text.C: remove troublesome depth-fiddling code
8920 in leftMargin() and rightMargin() (bug 1017)
8922 * text.C: fix breaking of rows in nested lists
8925 * text2.C (updateCounters): fix up depth values
8928 2003-04-07 John Levon <levon@movementarian.org>
8930 * BufferView_pimpl.C: clear message when doc finishes resizing,
8931 and after a mouse event
8933 * lyxfunc.C: clear message after exiting inset
8935 2003-04-07 John Levon <levon@movementarian.org>
8937 * bufferview_funcs.C: show math status not outside
8938 status in the statusbar
8940 2003-04-07 John Levon <levon@movementarian.org>
8942 * lyxfunc.C: note status changed after a depth change
8944 2003-04-04 Angus Leeming <leeming@lyx.org>
8946 * LaTeX.h: move AuxInfo operator==, != out of line.
8947 Remove LaTeX virtual destructor; nothing derives from it.
8948 Move operator()() out of public area and rename it startscript().
8949 Change protected for private.
8951 2003-04-04 Angus Leeming <leeming@lyx.org>
8954 * text2.C: remove unneeded #includes.
8956 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8958 * text2.C (dEPM): fix the heigth of the next row
8960 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8962 * text.C: squashed an invalid getChar requester + some ws changes
8964 2003-04-03 John Levon <levon@movementarian.org>
8966 * bufferview_funcs.h:
8967 * bufferview_funcs.C:
8970 * text2.C: make getStatus work for the env depth lfuns
8972 2003-04-03 John Levon <levon@movementarian.org>
8974 * bufferview_funcs.h:
8975 * bufferview_funcs.C:
8978 * text2.C: parlistize decDepth(), by merging it with incDepth()
8980 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8982 * lyxrow.h: store a ParagraphList::iterator instead of a
8983 Paragraph* and adjust other class functions to suit.
8985 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8988 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8990 * text2.C (setCursor): do not anchor to cursor row for the time being
8992 2003-04-02 John Levon <levon@movementarian.org>
8999 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9001 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9003 * paragraph.h: make ParagraphList and ParagraphList::iterator
9004 friends of Paragraph.
9006 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9008 * ParagraphList.C: Use the private next_ and previous_ from
9011 2003-04-01 John Levon <levon@movementarian.org>
9015 * Makefile.am: rename, remove defaults gunk
9018 * MenuBackend.C: remove defaults gunk
9021 * Languages.C: remove defaults gunk
9024 * lyx_main.C: error out if files couldn't be found.
9026 2003-04-02 John Levon <levon@movementarian.org>
9028 * text2.C: make incDepth() use parlist
9030 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9032 * undo_funcs.C (firstUndoParagraph): adjust
9034 * text3.C (gotoInset): adjust
9035 (dispatch): adjust, and rewrite loop.
9037 * text2.C (init): adjust, and rewrite loop.
9038 (redoParagraphs): adjust
9039 (updateInset): adjust, and rewrite loop.
9040 (deleteEmptyParagraphMechanism): adjust
9042 * tabular.C (LyXTabular): adjust
9043 (SetMultiColumn): adjust
9046 * lyxtext.[Ch] (ownerParagraph): delete function
9047 (ownerParagraphs): new function returns a ParagraphList.
9049 * BufferView.C (removeAutoInsets): adjust
9050 (insertErrors): adjust
9051 (setCursorFromRow): adjust
9053 2003-04-01 Angus Leeming <leeming@lyx.org>
9055 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9058 2003-04-02 John Levon <levon@movementarian.org>
9064 * text_funcs.C: make transposeChars a free function
9066 * lyxrow_funcs.C: remove wrong comment
9068 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9071 * rowpainter.C: adjust
9076 * lyxrow_funcs. [Ch]: new files
9078 * lyxrow.[Ch]: remove next and previous pointers
9079 (next,previous): remove accessor functions
9080 (isParEnd): move to lyxrow_funcs
9081 (lastPos): move to lyxrow_funcs
9082 (nextRowIsAllInset): move to lyxrow_funcs
9083 (lastPrintablePos): move to lyxrow_funcs
9084 (numberOfSeparators): move to lyxrow_funcs
9085 (numberOfHfills): move to lyxrow_funcs
9086 (numberOfLabelHfills): move to lyxrow_funcs
9087 (hfillExpansion): move to lyxrow_funcs
9091 * bufferview_funcs.C (toggleAndShow): adjust
9093 * RowList.h: Remove class RowList from file leave just a
9096 * RowList.C: delete file
9098 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9101 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9103 * text3.C (cursorPrevious): adjust
9104 (cursorNext): adjust
9107 * text2.C (redoHeightOfParagraph): adjust
9108 (redoDrawingOfParagraph): adjust
9111 * text.C (breakParagraph): adjust
9112 (insertChar): adjust
9115 * rowpainter.C (RowPainter): adjust
9116 (leftMargin): simplify and adjust
9117 (most rowpainter functions): adjust.
9119 * rowpainter.h: store the row as RowList::iterator not as Row*
9121 * lyxcursor.C (row): taka RowList::iterator as arg
9124 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9127 2003-04-01 Angus Leeming <leeming@lyx.org>
9129 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9130 stuff like bool Bool.
9132 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9134 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9137 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9139 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9142 * lyxtext.h (rows): drop one version and leve a const variant that
9143 returns a RowList::iterator.
9145 2003-03-31 Angus Leeming <leeming@lyx.org>
9147 * text.C (fill): ensure that the signature is the same as that in the
9150 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9152 * text2.C (redoParagraphs): adjust
9153 (updateCounters): adjust
9154 (checkParagraph): adjust
9155 (getColumnNearX): adjust and reformat a bit.
9157 * text.C (top_y): adjust
9159 (leftMargin): adjust
9160 (prepareToPrint): adjust
9162 (getRowNearY): adjust
9164 * lyxtext.h: make rowlist_ mutable.
9166 * RowList.h: add const_iterator
9167 * RowList.C: adjust for RowList::const_iterator.
9169 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9172 2003-03-31 John Levon <levon@movementarian.org>
9175 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9177 * lyx_main.C: set default fonts from using lyx_gui funcs
9179 * exporter.C: pdf_mode moved from lyxrc
9182 * lyxfunc.C: changes from above
9184 2003-03-31 John Levon <levon@movementarian.org>
9186 * lyx_main.C: fix to the last fix
9188 2003-03-31 John Levon <levon@movementarian.org>
9190 * bufferlist.C: "Load original" -> "Load Original"
9196 * format.C: more Alert cleanups
9198 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9200 * text2.C (removeParagraph): make it take a RowList::iterator as
9202 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9203 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9205 * text.C (anchor_row): make it take a RowList::iterator as arg,
9207 (computeBidiTables): make it take a const reference to Row instead
9208 of Row pointer, adjust.
9209 (leftMargin): make it take a RowList::iterator as arg, adjust.
9210 (rowBreakPoint): adjust
9211 (breakAgainOneRow): make it take a RowList::iterator as arg,
9213 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9215 * bufferview_funcs.C (toggleAndShow): adjust
9217 2003-03-30 John Levon <levon@movementarian.org>
9221 * boost-inst.C: moved to support
9223 * several files: changes as a result
9225 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9227 * text2.C (LyXText): adjust.
9229 (removeRow): make it take a RowList::iterator as arg, adjust.
9230 (fullRebreak): adjust
9231 (deleteEmptyParagraphMechanism): adjust
9232 (clearPaint): adjust
9235 * text.C (top_y): adjust
9236 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9237 (breakAgain): make it take a RowList::iterator as arg, adjust.
9238 (breakParagraph): adjust
9239 (insertChar): adjust
9242 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9243 need_break_row, and refresh_row.
9245 * text3.C (dispatch): adjust
9247 * text2.C (checkParagraph): adjust
9249 (setCursorFromCoordinates): adjust
9251 * text.C (top_y): adjust
9253 (getRow): make it return a RowList::iterator, adjust
9254 (getRowNearY): make it return a RowList::iterator, adjust
9256 * text2.C (init): adjust
9257 (insertRow): remove function
9258 (insertParagraph): adjust
9259 (redoParagraphs): adjust
9260 (fullRebreak): adjust
9261 (updateCounters): adjust
9263 * text.C (top_y): rewrite to use RowList iterators.
9265 (setHeightOfRow): rewrite to sue RowList iterators.
9266 (appendParagraph): adjust
9267 (breakAgain): adjust
9268 (breakAgainOneRow): adjust
9269 (breakParagraph): adjust
9271 (getRowNearY): adjust, and remove commented code.
9273 * lyxtext.h (firstRow): delete function
9274 (lastRow): delete function
9275 (rows): new function (const and non-const versions.)
9276 (insertRow): delete function
9278 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9280 2003-03-29 John Levon <levon@movementarian.org>
9282 * BufferView_pimpl.C: always update scrollbar top
9283 because pasting text when we're anchored could mean we
9284 miss an update altogether
9286 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9288 * text2.C (init): use rowlist_.end() and not 0.
9289 (insertRow): change to take a RowList::iterator as arg, adjust
9291 (insertParagraph): change to take a RowList::iterator as arg,
9293 (redoParagraphs): remove some debug msgs.
9295 * text.C (appendParagraph): change to take a RowList::iterator
9296 arg, adjust for this.
9297 (breakAgain): add an assert
9298 (breakAgainOneRow): ditto
9300 2003-03-29 John Levon <levon@movementarian.org>
9302 * text2.C: do not clear selection after inc/decDepth
9305 2003-03-29 John Levon <levon@movementarian.org>
9308 * buffer.C: fix broken strerrors according to Lars
9310 2003-03-29 John Levon <levon@movementarian.org>
9312 * converters.C: more Alert cleanups
9314 2003-03-29 John Levon <levon@movementarian.org>
9316 * bufferview_funcs.C: remove pointless Alert
9318 * buffer.C: fix confusing error message when
9319 a template is chmoded 000
9321 2003-03-29 John Levon <levon@movementarian.org>
9325 * BufferView_pimpl.C: Alert fixes
9329 * tabular-old.C: remove unused table compat reading
9331 2003-03-29 John Levon <levon@movementarian.org>
9336 * lyx_cb.C: more Alert cleanups
9338 * lyxfunc.C: don't allow chktex if not latex document
9340 2003-03-29 John Levon <levon@movementarian.org>
9344 * buffer.C: warnings pushed down from support/,
9347 2003-03-29 John Levon <levon@movementarian.org>
9349 * lyxfunc.C: safety check for C-r (revert)
9351 2003-03-29 John Levon <levon@movementarian.org>
9354 * bufferlist.C: several UI fixes using Alert::prompt.
9355 Fix the pointless looping quit code. Fix stupid revert
9360 * lyx_cb.C: use Alert::prompt
9362 * lyx_main.C: remove a silly question
9364 * lyxfunc.C: remove a couple of silly questions,
9367 2003-03-28 John Levon <levon@movementarian.org>
9369 * text2.C: fix bug 974 (End on empty par)
9371 2003-03-28 John Levon <levon@movementarian.org>
9373 * BufferView_pimpl.C:
9375 * lfuns.h: remove do-nothing math greek lfuns
9377 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9379 * lyxgluelength.h (isValidGlueLength): add default arg on
9380 parameter 2. Remove default arg from friend in class.
9382 * lyxlength.h (isValidLength): add default arg on parameter 2.
9383 Remove default arg from friend in class.
9385 * text2.C (LyXText): adjust, initialize refresh_row.
9389 (insertParagraph): adjst
9390 (redoParagraphs): adjust
9391 (fullRebreak): adjust
9392 (updateCounters): adjust
9393 (deleteEmptyParagraphMechanism): first attempt at fixing a
9396 * text.C (top_y): adjust
9397 (setHeightOfRow): adjust
9399 (getRowNearY): adjust
9401 * lyxtext.h: include RowList.h
9402 (~LyXText): not needed anymore, deleted.
9403 (firstRow): modify for RowList
9404 (lastRow): new function
9405 Delete firstrow and lastrow class variables, add a Rowlist
9406 rowlist_ class variable.
9408 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9411 * RowList.C (insert): fix case where it == begin().
9413 2003-03-26 Angus Leeming <leeming@lyx.org>
9415 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9416 the thesaurus dialog.
9418 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9420 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9422 * RowList.[Ch]: new files
9424 * ParagraphList.C (erase): handle the case where it == begin
9427 2003-03-25 John Levon <levon@movementarian.org>
9431 * aspell.C: add new aspell support
9434 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9437 2003-03-25 Angus Leeming <leeming@lyx.org>
9440 * LyXAction.C (init): new LFUN_INSET_INSERT.
9442 * BufferView_pimpl.C (dispatch): split out part of the
9443 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9445 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9448 2003-03-25 Angus Leeming <leeming@lyx.org>
9450 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9452 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9455 * text3.C: remove useless row->height(0)
9457 2003-03-25 John Levon <levon@movementarian.org>
9461 * text3.C: rename the refreshing stuff to better names
9463 2003-03-24 John Levon <levon@movementarian.org>
9465 * BufferView_pimpl.h:
9466 * BufferView_pimpl.C: update layout choice on a mouse
9469 2003-03-23 John Levon <levon@movementarian.org>
9471 * Makefile.am: fix commandtags.h reference
9473 2003-03-22 John Levon <levon@movementarian.org>
9475 * BufferView_pimpl.C:
9480 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9482 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9485 * text.C: take the rtl methods out of line
9487 2003-03-21 André Pönitz <poenitz@gmx.net>
9489 * metricsinfo.[Ch]: new files containing structures to be passed around
9490 during the two-phase-drawing...
9492 2003-03-21 André Pönitz <poenitz@gmx.net>
9494 * lyxtextclass.C: read 'environment' tag.
9496 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9498 * text2.C (removeRow): fix bug 964
9500 2003-03-20 John Levon <levon@movementarian.org>
9504 * text2.C: paint cleanups. Inset::update() dropped font
9507 2003-03-19 John Levon <levon@movementarian.org>
9509 * lyxfunc.C: only fitcursor/markDirty if available()
9511 2003-03-19 John Levon <levon@movementarian.org>
9513 * commandtags.h: rename to ...
9515 * lfuns.h: ... this, and renumber / cleanup
9517 2003-03-19 John Levon <levon@movementarian.org>
9519 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9520 fit the cursor after an lfun
9524 * BufferView_pimpl.h:
9525 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9527 * LyXAction.C: layout-character should have ReadOnly
9529 * ParagraphParameters.C:
9531 * bufferview_funcs.C:
9538 * undo_funcs.C: changes from above
9540 2003-03-18 John Levon <levon@movementarian.org>
9542 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9543 remove it from update()
9545 * lyxfunc.C: update layout choice after an lfun
9547 * text3.C: remove extra updateLayoutChoice()s
9549 2003-03-18 John Levon <levon@movementarian.org>
9551 * text.C: top_y change means full repaint, fix
9552 a drawing bug with cursor movement
9554 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9558 * text2.C: anchor row on setCursor
9560 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9562 * lyxtext.h: remove almost all mutable keywords
9565 * text3.C: remove const keywords accordingly
9567 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9569 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9571 (TeXEnvironment): ditto
9574 2003-03-17 John Levon <levon@movementarian.org>
9576 * text.C (rowBreakPoint): remove attempt to fix displayed
9577 math insets inside a manual label
9579 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9581 * lyxtext.h: remove BufferView* as first arg from almost all class
9583 * other files: adjust.
9585 2003-03-17 John Levon <levon@movementarian.org>
9589 * text2.C: more paint cleanups
9591 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9594 * rowpainter.C: remove "smart" background painting code
9596 2003-03-16 John Levon <levon@movementarian.org>
9601 * text3.C: add helper functions for setting refresh_row/y
9603 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9605 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9606 newline inset which *can* get inserted in the pass_thru layouts.
9607 This is primarily for literate documents.
9609 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9611 * buffer.C: increment LYX_FORMAT to 223
9613 2003-03-14 André Pönitz <poenitz@gmx.net>
9615 * textclass.h: prepare for environment handling, ws changes
9616 * lyxlayout.C: read latexheader and latexfooter tags
9618 2003-03-14 John Levon <levon@movementarian.org>
9620 * text2.C: rewrite ::status() a bit
9622 2003-03-13 John Levon <levon@movementarian.org>
9624 * lyxtext.h: add some docs
9626 2003-03-13 John Levon <levon@movementarian.org>
9631 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9633 2003-03-13 John Levon <levon@movementarian.org>
9635 * text3.C: fix appendix redrawing
9637 2003-03-13 John Levon <levon@movementarian.org>
9639 * text.C (setHeightOfRow):
9641 * rowpainter.C: make appendix mark have the text
9642 "Appendix" so the user knows what it is
9645 * LColor.C: s/appendixline/appendix/ from above
9647 2003-03-13 John Levon <levon@movementarian.org>
9649 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9651 * text.C: fix a getChar(pos) bug properly
9653 2003-03-13 Angus Leeming <leeming@lyx.org>
9656 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9657 Probably only temporary. Let's see how things pan out.
9659 * BufferView.C (unlockInset):
9660 * BufferView_pimpl.C (fitCursor):
9661 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9663 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9664 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9666 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9667 new functions that convert ParagraphParameters to and from a string.
9669 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9670 BufferView::Pimpl's dispatch.
9671 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9673 2003-03-13 André Pönitz <poenitz@gmx.net>
9677 * factory.C: make it aware of InsetEnv
9679 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9681 * text2.C (setCursor): never ask for one past last
9682 (setCursor): add some debugging messages.
9684 * text.C (singleWidth): never ask for one past last
9685 (singleWidth): ditto
9687 (rightMargin): ditto
9688 (rowBreakPoint): ditto
9689 (setHeightOfRow): ditto
9690 (prepareToPrint): ditto
9692 * rowpainter.C (paintBackground): never ask for one past last
9693 (paintText): never ask for one past last
9695 * paragraph_pimpl.C (getChar): make the assert stricter, never
9696 allow the one past last pos to be taken
9698 * paragraph.C (getChar): ws changes only
9700 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9701 (numberOfSeparators): ditto
9702 (numberOfHfills): ditto
9704 2003-03-12 John Levon <levon@movementarian.org>
9710 * paragraph_funcs.C: fix per-buffer authorlists
9712 2003-03-12 John Levon <levon@movementarian.org>
9714 * text.C: fix newline in right address
9716 2003-03-12 Angus Leeming <leeming@lyx.org>
9718 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9719 duplicate those in LyXFunc::dispatch.
9723 * ToolbarDefaults.C:
9724 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9725 Add LFUN_FONTFREE_UPDATE.
9727 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9728 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9730 * bufferview_func.[Ch]: several new functions to facilliate
9731 transfer of data to and from the character dialog.
9733 2003-03-12 John Levon <levon@movementarian.org>
9738 * paragraph_funcs.C:
9739 * paragraph_pimpl.C:
9743 * text3.C: remove META_NEWLINE in favour of an inset
9746 * rowpainter.C: remove paintNewline (done by inset)
9748 2003-03-12 John Levon <levon@movementarian.org>
9750 * paragraph_pimpl.C: complain about bad getChar()s
9751 for a while at least
9753 2003-03-12 John Levon <levon@movementarian.org>
9756 * buffer.C: move paragraph read into a separate function,
9757 a little renaming to reflect that.
9760 * bufferparams.C: remove the author_ids map, not necessary now
9763 * factory.C: moved Buffer::readInset to here
9765 * paragraph_funcs.h:
9766 * paragraph_funcs.C: readParagraph free function moved from
9769 * tabular.C: name change
9771 2003-03-12 John Levon <levon@movementarian.org>
9774 * ParagraphParameters.C: move par params input to
9777 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9778 behave like a normal read from the stream wrt reading
9779 a line vs. a \\token
9781 2003-03-12 John Levon <levon@movementarian.org>
9784 * ParagraphParameters.h:
9785 * ParagraphParameters.C: move output code to a
9788 2003-03-12 John Levon <levon@movementarian.org>
9790 * BufferView.C (insertLyXFile):
9793 * tabular.C: use a parlist iterator for creating the
9796 2003-03-12 John Levon <levon@movementarian.org>
9798 * buffer.C: make current_change static local not
9801 2003-03-12 John Levon <levon@movementarian.org>
9803 * buffer.C: fix insertStringAsLines for change tracking
9805 2003-03-12 John Levon <levon@movementarian.org>
9812 * bufferparams.C: move author list into params. Rename some
9813 functions. Move the header reading into a separate token
9814 loop. Move the header token reading into BufferParams.
9816 2003-03-12 John Levon <levon@movementarian.org>
9818 * changes.C: put debug inside lyxerr.debugging() checks
9820 2003-03-11 André Pönitz <poenitz@gmx.net>
9822 * factory.C: make it aware of InsetHFill
9824 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9826 * buffer.C (latexParagraphs): move function from here...
9827 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9830 2003-03-10 Angus Leeming <leeming@lyx.org>
9832 * LyXAction.C (init): fix bug in poplating array with multiple entries
9833 with the same LFUN (spotted by JMarc).
9835 2003-03-10 John Levon <levon@movementarian.org>
9838 * text2.C: move getColumnNearX() near its
9841 2003-03-10 John Levon <levon@movementarian.org>
9843 * text.C: fix break before a minipage
9845 2003-03-10 John Levon <levon@movementarian.org>
9847 * text.C: fix the last commit
9849 2003-03-09 John Levon <levon@movementarian.org>
9853 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9854 bug 365 (don't break before insets unless needed). Don't
9855 return a value > last under any circumstances.
9857 2003-03-09 Angus Leeming <leeming@lyx.org>
9859 * BufferView_pimpl.C (trackChanges, dispatch): call
9860 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9862 2003-03-09 Angus Leeming <leeming@lyx.org>
9864 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9865 than Dialogs::showAboutlyx().
9867 2003-03-09 Angus Leeming <leeming@lyx.org>
9869 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9870 than Dialogs::showTabularCreate().
9872 2003-03-09 John Levon <levon@movementarian.org>
9876 * text2.C: 3rd arg to nextBreakPoint was always the same.
9879 2003-03-08 John Levon <levon@movementarian.org>
9886 * text2.C: Remove the "main" bit from the "main body"
9889 2003-03-08 John Levon <levon@movementarian.org>
9891 * text.C (leftMargin): The left margin of an empty
9892 manual label paragraph should not include the label width
9895 * text.C (prepareToPrint): don't attempt to measure hfills
9896 for empty manual label paragraphs - the answer should be 0
9898 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9900 * CutAndPaste.C: remove commented code and reindent.
9902 2003-03-08 John Levon <levon@movementarian.org>
9905 * lyxfunc.C: move reloadBuffer()
9908 * BufferView.C: to here
9910 * lyxvc.C: add comment
9913 * vc-backend.C: call bv->reload() to avoid
9914 getStatus() check on MENURELOAD
9916 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9918 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9919 to an old format .dep file.
9921 2003-03-07 Angus Leeming <leeming@lyx.org>
9923 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9924 when the LFUN_MOUSE_RELEASE should have been handled by
9925 inset->localDispatch.
9927 2003-03-07 Angus Leeming <leeming@lyx.org>
9929 * BufferView_pimpl.C (dispatch):
9930 * LyXAction.C (init):
9931 * ToolbarDefaults.C (init):
9933 * lyxfunc.C (getStatus):
9934 remove LFUN_INSET_GRAPHICS.
9936 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9938 2003-03-07 Angus Leeming <leeming@lyx.org>
9941 * LyXAction.C (init):
9942 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9944 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9947 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9949 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9950 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9952 2003-03-07 Angus Leeming <leeming@lyx.org>
9954 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9957 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9959 * ParagraphList.C (front): new function
9962 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9964 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9965 and top_row_offset_. removed var first_y.
9967 * text2.C (LyXText, removeRow):
9969 * BufferView_pimpl.C:
9970 use these methods instead of using first_y
9972 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9974 * text2.C (pasteSelection): adjust for checkPastePossible
9976 * CutAndPaste.C: remove Paragraph * buf and replace with
9977 ParagraphList paragraphs.
9978 (DeleteBuffer): delete
9979 (cutSelection): change the tc type to textclass_type
9980 (copySelection): change the tc type to textclass_type
9981 (copySelection): adjust for ParagraphList
9982 (pasteSelection): change the tc type to textclass_type
9983 (pasteSelection): adjust for Paragraphlist
9984 (nrOfParagraphs): simplify for ParagraphList
9985 (checkPastePossible): simplify for ParagraphList
9986 (checkPastePossible): remove unused arg
9988 * ParagraphList.C (insert): handle the case where there are no
9991 * CutAndPaste.h: make CutAndPaste a namespace.
9993 * text3.C (dispatch): adjust
9995 * text.C (breakParagraph): add a ParagraphList as arg
9997 * paragraph_funcs.C (breakParagraph): change to take a
9998 BufferParams and a ParagraphList as args.
9999 (breakParagraphConservative): ditto
10000 (mergeParagraph): ditto
10001 (TeXDeeper): add a ParagraphList arg
10002 (TeXEnvironment): ditto
10005 * buffer.C (readLyXformat2): adjust
10006 (insertStringAsLines): adjust
10007 (latexParagraphs): adjust
10009 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10010 (cutSelection): adjust
10011 (pasteSelection): adjust
10013 * BufferView_pimpl.C (insertInset): adjust
10015 2003-03-05 Angus Leeming <leeming@lyx.org>
10018 * LyXAction.C (init):
10019 * BufferView_pimpl.C (dispatch):
10020 * lyxfunc.C (getStatus):
10021 remove LFUN_CHILD_INSERT.
10023 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10025 2003-03-05 Angus Leeming <leeming@lyx.org>
10028 * LyXAction.C (init):
10029 * src/factory.C (createInset):
10030 * lyxfunc.C (getStatus):
10031 * text3.C (dispatch):
10032 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10034 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10036 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10038 * ParagraphList.C (insert): handle insert right before end()
10039 (erase): fix cases where it can be first or last paragraph.
10041 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10043 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10044 Paragraph::next and Paragraph::previous
10047 * text.C (breakParagraph): adjust
10049 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10050 BufferParams& as arg.
10051 (breakParagraph): use ParagraphList::insert
10052 (breakParagraphConservative): take a Buffer* instead of a
10053 BufferParams& as arg.
10054 (breakParagraphConservative): use ParagraphList::insert.
10056 * buffer.C (insertStringAsLines): un-const it
10057 (insertStringAsLines): adjust
10059 * ParagraphList.C (insert): new function
10061 * CutAndPaste.C (pasteSelection): adjust
10063 * text.C (backspace): adjust
10065 * tabular.C (SetMultiColumn): adjust
10067 * CutAndPaste.C (cutSelection): adjust
10068 (pasteSelection): adjust
10070 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10071 Buffer const * as arg
10073 * ParagraphList.C (erase): new function
10074 * paragraph_funcs.C (mergeParagraph): use it
10075 (mergeParagraph): make it take a Buffer* instead of a
10076 BufferParams* as arg
10078 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10080 (breakParagraphConservative): ditto
10082 * paragraph.h: remove the breakParagraph friend
10084 * paragraph.C (eraseIntern): new function
10085 (setChange): new function
10087 * paragraph_funcs.C (mergeParagraph): make it take a
10088 ParagraphList::iterator instead of a Paragraph *, adjust
10091 * paragraph.h: move an #endif so that the change tracking stuff
10092 also works in the NO_NEXT case.
10094 2003-03-04 Angus Leeming <leeming@lyx.org>
10097 * LyXAction.C: new LFUN_INSET_MODIFY.
10099 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10100 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10102 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10104 * several files: ws changes only
10106 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10107 (TeXEnvironment): ditto
10110 * buffer.C (makeLaTeXFile): adjust
10111 (latexParagraphs): make it take ParagraphList::iterator as args
10113 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10115 * buffer.C (latexParagraphs): adjust
10117 * paragraph.C (TeXOnePar): move function...
10118 (optArgInset): move function...
10119 (TeXEnvironment): move function...
10120 * paragraph_pimpl.C (TeXDeeper): move function...
10121 * paragraph_funcs.C: ...here
10123 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10125 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10127 * buffer.C (readInset): remove compability code for old Figure and
10130 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10132 * buffer.C: ws changes
10135 * BufferView_pimpl.C: ditto
10138 * bufferlist.h: ditto
10142 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10144 * converter.[Ch]: split into itself +
10147 * Makefile.am: += graph.[Ch] + format.[Ch]
10154 * lyxrc.C: added #include "format.h"
10156 2003-02-27 Angus Leeming <leeming@lyx.org>
10158 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10161 * factory.C (createInset): add "label" to the factory.
10163 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10164 string and do no more.
10166 2003-02-27 Angus Leeming <leeming@lyx.org>
10169 * LyXAction.C (init):
10170 * factory.C (createInset):
10171 * BufferView_pimpl.C (dispatch):
10172 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10174 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10176 * lyxfunc.C (dispatch):
10177 * text3.C (dispatch): pass name to params2string.
10179 2003-02-26 Angus Leeming <leeming@lyx.org>
10181 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10183 Rearrange the ~includes. Strip out the unnecessary ones.
10185 * factory.C (createInset): reformat.
10186 create new insets for the various LFUN_XYZ_APPLY lfuns.
10188 2003-02-26 John Levon <levon@movementarian.org>
10191 * lyxrow.C: add isParStart,isParEnd helpers
10193 * paragraph.h: make isInserted/DeletedText take refs
10195 * paragraph_funcs.h:
10196 * paragraph_funcs.C: remove #if 0'd code
10201 * text.C: use lyxrow helpers above.
10202 Move draw and paint routines to RowPainter.
10203 Make several methods use refs not pointers.
10204 Make backgroundColor() const.
10205 Add markChangeInDraw(), isInInset().
10206 Merge changeRegionCase into changeCase.
10207 Make workWidth() shouldn't-happen code into an Assert.
10210 * rowpainter.C: new class for painting a row.
10213 * vspace.C: make inPixels take a ref
10215 2003-02-26 Angus Leeming <leeming@lyx.org>
10217 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10220 2003-02-25 John Levon <levon@movementarian.org>
10222 * ispell.C: give the forked command a more accurate name
10224 2003-02-22 John Levon <levon@movementarian.org>
10227 * toc.C: make TocItem store an id not a Paragraph *
10230 2003-02-21 Angus Leeming <leeming@lyx.org>
10232 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10233 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10234 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10235 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10236 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10237 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10239 * BufferView_pimpl.C (dispatch):
10240 * LyXAction.C (init):
10241 * factory.C (createInset):
10242 * lyxfunc.C (getStatus, dispatch):
10243 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10245 2003-02-21 Angus Leeming <leeming@lyx.org>
10247 * BufferView_pimpl.C (MenuInsertLyXFile):
10248 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10249 * lyxfunc.C (menuNew, open, doImport):
10250 no longer pass a LyXView & to fileDlg.
10252 2003-02-21 Angus Leeming <leeming@lyx.org>
10254 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10255 * LyXAction.C: change, BIBKEY to BIBITEM.
10256 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10257 Change InsetBibKey to InsetBibitem.
10258 Change BIBKEY_CODE to BIBITEM_CODE.
10259 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10260 * factory.C: replace insetbib.h with insetbibitem.h.
10261 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10262 * paragraph.C: replace insetbib.h with insetbibitem.h.
10263 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10264 Change bibkey() to bibitem().
10265 * text.C: remove insetbib.h.
10266 * text2.C: replace insetbib.h with insetbibitem.h.
10267 change bibkey() to bibitem().
10268 * text3.C: remove insetbib.h.
10269 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10271 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10273 * lyxrc.C (output): enclose user email in quotes (in case there are
10276 2003-02-18 John Levon <levon@movementarian.org>
10278 * buffer.h: add std::
10280 2003-02-17 John Levon <levon@movementarian.org>
10286 * pspell.C: reworking. Especially in ispell, a large
10287 number of clean ups and bug fixes.
10289 * lyxfunc.C: fix revert to behave sensibly
10291 2003-02-17 André Pönitz <poenitz@gmx.net>
10294 * commandtags.h: new LFUN_INSERT_BIBKEY
10304 * paragraph_func.C: remove special bibkey handling
10306 2003-02-17 John Levon <levon@movementarian.org>
10308 * text.C (Delete): fix case where delete at the end of
10309 the very first paragraph would not merge the pars
10311 2003-02-17 John Levon <levon@movementarian.org>
10313 * lyxrow.C: fix lastPrintablePos()
10315 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10317 * bufferparams.C (writeLaTeX): add a std:here
10319 * buffer.C: and remove a using directive there
10321 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10323 * buffer.C (makeLaTeXFile): move the code that generates the
10326 * bufferparams.C (writeLaTeX): ... in this new method
10328 * LaTeXFeatures.C (getEncodingSet): make const
10329 (getLanguages): make const
10331 * MenuBackend.C (binding): returns the binding associated to this
10333 (add): sets the status of each item by calling getStatus. Adds
10335 (read): add support for OptSubMenu
10336 (expand): remove extra separator at the end of expanded menu
10338 2003-02-15 John Levon <levon@movementarian.org>
10341 * BufferView_pimpl.C:
10343 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10344 inset code that had no actual effect. Remove unneeded status
10347 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10349 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10352 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10354 * text.C (drawLengthMarker): also draw an arrow marker for
10355 symbolic lengths (medskip...)
10357 2003-02-14 John Levon <levon@movementarian.org>
10360 * tabular.C: better method names
10362 2003-02-14 John Levon <levon@movementarian.org>
10364 * BufferView_pimpl.C:
10369 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10370 it's a more accurate name. Remove some pointless uses.
10372 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10374 * text2.C (LyXText): change order of initilizers to shut off
10377 2003-02-14 John Levon <levon@movementarian.org>
10379 * buffer.C: use ParIterator for getParFromID()
10383 * paragraph_pimpl.h:
10384 * paragraph_pimpl.C: remove unused getParFromID()
10386 2003-02-14 John Levon <levon@movementarian.org>
10388 * buffer.C: remove some very old #if 0'd parse code
10390 2003-02-13 John Levon <levon@movementarian.org>
10394 * text2.C: move hfillExpansion(), numberOfSeparators(),
10395 rowLast(), rowLastPrintable(), numberofHfills(),
10396 numberOfLabelHfills() ...
10399 * lyxrow.C: ... to member functions here.
10404 * text.C: remove LyXText::beginningOfMainBody(), and call
10405 p->beginningOfMainBody() directly. Move the check for
10406 LABEL_MANUAL into the latter.
10413 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10419 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10420 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10422 2003-02-13 John Levon <levon@movementarian.org>
10424 * CutAndPaste.C: remove debug
10426 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10428 * paragraph.C (asString): remove two unused variables
10430 * lyxtextclass.C (readTitleType):
10432 (LyXTextClass): handle new members titletype_ and titlename_
10434 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10436 2003-02-09 John Levon <levon@movementarian.org>
10439 * buffer.C: replace hand-coded list with a map for the dep clean
10441 2003-02-08 John Levon <levon@movementarian.org>
10443 * LaTeX.C: consolidate code into showRunMessage() helper
10445 2003-02-08 John Levon <levon@movementarian.org>
10450 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10451 and pass the size in explicitly
10453 * BufferView_pimpl.h:
10454 * BufferView_pimpl.C:
10456 * BufferView.C: add getCurrentChange()
10458 * BufferView_pimpl.h:
10459 * BufferView_pimpl.C: handle change lfuns
10461 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10462 for changes. Mark pasted paragraphs as new.
10464 * support/lyxtime.h:
10465 * support/lyxtime.C:
10466 * DepTable.C: abstract time_t as lyx::time_type
10469 * LColor.C: add colours for new text, deleted text, changebars
10471 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10472 package use "usenames" option.
10476 * LyXAction.C: add change lfuns
10480 * author.C: author handling
10483 * buffer.C: add a per-buffer author list, with first entry as
10484 current author. Handle new .lyx tokens for change tracking. Output
10485 author list to .lyx file. Output dvipost stuff to .tex preamble.
10486 Bump lyx format to 222.
10489 * bufferlist.C: add setCurrentAuthor() to reset current author details
10493 * bufferparams.C: add param for tracking
10495 * bufferview_funcs.C: output change info in minibuffer
10499 * changes.C: add change-tracking structure
10502 * debug.C: add CHANGES debug flag
10505 * lyxfind.C: add code for finding the next change piece
10508 * lyxrc.C: add user_name and user_email
10511 * lyxrow.C: add a metric for the top of the text line
10514 * text.C: implement accept/rejectChange()
10517 * text.C: paint changebars. Paint new/deleted text in the chosen
10518 colours. Strike through deleted text.
10522 * paragraph_pimpl.h:
10523 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10524 in the current change to the insert functions. Rework erase to
10525 mark text as deleted, adding an eraseIntern() and a range-based
10526 erase(). Implement per-paragraph change lookup and
10529 * paragraph_funcs.C: Fixup paste for change tracking.
10531 * tabular.C: mark added row/columns as new.
10533 * text.C: fix rowLast() to never return -1. Don't allow
10534 spellchecking of deleted text. Track transpose changes. Don't
10535 allow paragraph break or merge where appropriate.
10537 * text2.C: leave cursor at end of selection after a cut.
10539 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10541 * text.C (getLengthMarkerHeight):
10542 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10543 visible on screen too.
10545 2003-02-07 John Levon <levon@movementarian.org>
10547 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10549 2003-02-05 Angus Leeming <leeming@lyx.org>
10551 * lyxserver.C (read_ready): revert my patch of 11 September last year
10552 as it sends PC cpu through the roof. Presumably this means that
10553 the lyxserver will no longer run on an Alpha...
10555 2003-01-30 Angus Leeming <leeming@lyx.org>
10557 * factory.C (createInset): create an InsetCommandParam of type "index"
10558 and use it to 'do the right thing'.
10560 * text2.C (getStringToIndex): ensure that cursor position is always
10561 reset to the reset_cursor position.
10563 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10565 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10568 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10572 * lyxfunc.C: Output messages with identical spelling, punctuation,
10575 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10577 * MenuBackend.C (expandFormats): List only viewable export formats
10580 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10583 * lyxfunc.C (getStatus): Make sure that formats other than
10584 "fax" can also be disabled
10586 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10588 * text3.C (dispatch): put the lfuns that insert insets in 3
10589 groups, and call doInsertInset with appropriate arguments.
10590 (doInsertInset): new function, that creates an inset and inserts
10591 it according to some boolean parameters.
10593 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10595 * buffer.C (readFile): remember to pass on 'par' when calling
10596 readFile recursively.
10598 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10600 * MenuBackend.C (expandFormats): add "..." to import formats.
10602 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10604 * paragraph.C (asString): Remove XForms RTL hacks.
10606 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10607 * buffer.C: fix typo
10609 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10611 * Makefile.am (LIBS): delete var
10612 (lyx_LDADD): add @LIBS@ here instead.
10614 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10616 * Clarify the meaning of "wheel mouse jump"
10618 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10620 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10623 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10625 * importer.C (Loaders): do not preallocate 3 elements in the
10626 vector, since one ends up with 6 elements otherwise
10628 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10630 * DepTable.C (write): write the file name as last element of the
10631 .dep file (because it may contain spaces)
10632 (read): read info in the right order
10634 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10636 * paragraph_pimpl.C (simpleTeXBlanks):
10637 (simpleTeXSpecialChars):
10638 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10640 * tabular.C (latex): add some missing case statements. Reindent.
10642 * MenuBackend.C (expandToc): remove unused variable.
10644 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10653 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10656 2003-01-05 John Levon <levon@movementarian.org>
10659 * BufferView.C: add getEncoding()
10662 * kbsequence.C: do not store last keypress
10665 * lyxfunc.C: store last keypress here instead. Pass encoding
10668 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10670 * lyx_main.C (init): remove annoying error message when following
10671 symbolic links (bug #780)
10673 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10675 * text.C (insertChar):
10676 * lyxrc.C (getDescription): remove extra spaces
10678 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10680 * lyxrc.C (getDescription): remove extra spaces
10682 2002-12-20 John Levon <levon@movementarian.org>
10684 * text3.C: hack fix for page up/down across tall rows
10686 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10688 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10691 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10693 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10694 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10695 thesaurus is not compiled in
10697 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10699 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10701 2002-12-16 Angus Leeming <leeming@lyx.org>
10704 * lyx_main.C (init): remove override_x_deadkeys stuff.
10706 2002-12-12 John Levon <levon@movementarian.org>
10708 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10709 insert. Only remove shift modifier under strict
10712 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10714 * MenuBackend.C (expandToc): fix crash.
10716 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10718 * MenuBackend.C (expandToc): gettext on float names.
10720 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10722 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10723 implement bool empty() [bug 490]
10725 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10727 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10729 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10731 * several files: ws changes
10733 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10735 * text2.C (setCounter): clean up a bit, use boost.format.
10736 (updateCounters): initialize par upon declaration.
10738 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10739 if the layout exists. We do not just store the layout any more.
10740 (SwitchLayoutsBetweenClasses): use boost.format
10742 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10744 * converter.C (convert): if from and to files are the same, use a
10745 temporary files as intermediary
10747 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10750 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10752 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10754 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10756 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10758 * tabular.C (asciiPrintCell): use string(size, char) instead of
10761 * sgml.C (openTag): fix order of arguments to string constructor
10764 * lyxfunc.C (dispatch): use boost.format
10766 * lots of files: change "c" -> 'c'
10768 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10770 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10772 2002-11-25 Angus Leeming <leeming@lyx.org>
10774 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10776 * lyx_main.C (init): compile fix.
10778 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10780 * lyx_cb.C (start): boost.formatify
10781 do not include <iostream>
10783 * lengthcommon.C: ws only
10785 * boost-inst.C,BoostFormat.h: add more explict instantations
10787 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10789 * lots of files: handle USE_BOOST_FORMAT
10791 2002-11-21 John Levon <levon@movementarian.org>
10793 * pspell.C: fix compile
10795 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10797 * lyxfunc.C (dispatch): use boost::format
10801 * lyxfont.C (stateText): use boost::format
10803 * lyx_main.C (LyX): use boost::format
10805 (queryUserLyXDir): ditto
10806 (readRcFile): ditto
10808 (typedef boost::function): use the recommened syntax.
10810 * importer.C (Import): use boost::format
10812 * debug.C (showLevel): use boost::format
10814 * converter.C (view): use boost::format
10819 * bufferview_funcs.C (currentState): use boost::format
10821 * bufferlist.C (emergencyWrite): use boost::format
10823 * buffer.C (readLyXformat2): use boost::format
10824 (parseSingleLyXformat2Token): ditto
10826 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10828 * LaTeX.C (run): use boost::format
10830 * Chktex.C (scanLogFile): use boost::format
10832 * BufferView_pimpl.C (savePosition): use boost::format
10833 (restorePosition): ditto
10834 (MenuInsertLyXFile): ditto
10836 * BoostFormat.h: help file for explicit instation.
10838 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10840 * tabular.C (latex): Support for block alignment in fixed width
10843 2002-11-17 John Levon <levon@movementarian.org>
10845 * BufferView_pimpl.C:
10847 * lyxfunc.C: split filedialog into open/save
10849 2002-11-08 Juergen Vigna <jug@sad.it>
10851 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10852 by my last patch (hopefully).
10854 2002-11-08 John Levon <levon@movementarian.org>
10863 * toc.C: ParConstIterator, and use it (from Lars)
10865 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10867 * lyxtextclass.[Ch]: revise and add doxygen comments
10869 2002-11-07 John Levon <levon@movementarian.org>
10871 * text.C: fix progress value for spellchecker
10873 * toc.C: fix navigate menu for insetwrap inside minipage
10875 * paragraph_funcs.C: added FIXME for suspect code
10877 2002-11-07 John Levon <levon@movementarian.org>
10879 * BufferView_pimpl.C: fix redrawing of insets
10882 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10884 * text2.C (updateCounters): fix bug 668
10886 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10888 * text3.C (dispatch): Do not make the buffer dirty when moving the
10891 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10893 * vc-backend.C: STRCONV
10894 (scanMaster): ditto
10896 * text2.C (setCounter): STRCONV
10898 * paragraph.C (asString): STRCONV
10900 * lyxlength.C (asString): STRCONV
10901 (asLatexString): ditto
10903 * lyxgluelength.C (asString): STRCONV
10904 (asLatexString): ditto
10906 * lyxfunc.C (dispatch): STRCONV
10909 * lyxfont.C (stateText): STRCONV
10911 * importer.C (Import): STRCONV
10913 * counters.C (labelItem): STRCONV
10914 (numberLabel): ditto
10915 (numberLabel): remove unused ostringstream o
10920 * bufferview_funcs.C (currentState): STRCONV
10922 * buffer.C (readFile): STRCONV
10923 (asciiParagraph): ditto
10924 (makeLaTeXFile): ditto
10926 * Spacing.C (writeEnvirBegin): STRCONV
10928 * LaTeXFeatures.C (getLanguages): STRCONV
10929 (getPackages): ditto
10931 (getBabelOptions): ditto
10932 (getTClassPreamble): ditto
10933 (getLyXSGMLEntities): ditto
10934 (getIncludedFiles): ditto
10938 (scanAuxFile): ditto
10941 * LString.h: add the STRCONV macros
10943 * BufferView_pimpl.C (savePosition): STRCONV
10944 (restorePosition): ditto
10945 (MenuInsertLyXFile): ditto
10947 * vc-backend.C (scanMaster): change from submatch[...] to
10950 * funcrequest.C: include config.h
10952 * factory.C: include config.h
10954 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10956 * box.C: include config.h
10958 * LaTeX.C (scanAuxFile): change from submatch[...] to
10962 2002-10-25 Angus Leeming <leeming@lyx.org>
10964 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10966 * ispell.[Ch] (setError): new method.
10967 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10968 Use setError() insetead of goto END.
10970 * lyx_cb.C (AutoSave): move out child process into new class
10973 2002-10-30 John Levon <levon@movementarian.org>
10975 * text3.C: make start appendix undoable
10977 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10979 * lyxlength.C (inPixels): Fix returned value.
10981 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10984 2002-10-24 Angus Leeming <leeming@lyx.org>
10986 * lyxgluelength.h: no need to forward declare BufferParams
10987 or BufferView, so don't.
10989 2002-10-21 John Levon <levon@movementarian.org>
10991 * BufferView.C: menuUndo ->undo, redo
10993 * BufferView.h: document, remove dead, make some methods private
10995 * paragraph_funcs.h:
10996 * paragraph_funcs.C:
10997 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11002 * sgml.C: move sgml open/close tag into sgml.C
11004 * bufferview_funcs.h: unused prototype
11007 * lyxfunc.C: remove unused
11010 * text.C: remove unused
11012 2002-10-21 John Levon <levon@movementarian.org>
11016 * BufferView_pimpl.h:
11017 * BufferView_pimpl.C: fix mouse wheel handling based on
11018 patch from Darren Freeman
11020 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11022 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11024 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11026 * lyxlength.C (inPixels): Fix hanfling of negative length.
11027 Fix LyXLength::MU case.
11029 2002-10-16 John Levon <levon@movementarian.org>
11031 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11033 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11035 * converter.C (view): add support for $$i (file name) and $$p
11036 (file path) for the viewer command. If $$i is not specified, then
11037 it is appended to the command (for compatibility with old syntax)
11039 2002-10-14 Juergen Vigna <jug@sad.it>
11041 * undo_funcs.C (textHandleUndo): alter the order in which the
11042 new undopar is added to the LyXText, as we have to set first
11043 the right prev/next and then add it as otherwise the rebuild of
11044 LyXText is not correct. Also reset the cursor to the right paragraph,
11045 with this IMO we could remove the hack in "redoParagraphs()".
11047 2002-10-09 Angus Leeming <leeming@lyx.org>
11049 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11050 to turn off an optimisation if a new inset is to be inserted.
11052 2002-10-11 André Pönitz <poenitz@gmx.net>
11054 * lyxtext.h: make some functions public to allow access
11055 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11057 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11059 * text3.C (dispatch): when changing layout, avoid an infinite loop
11062 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11064 * lyxrc.C (read): treat a viewer or converter command of "none" as
11067 * MenuBackend.C (expandFormats): for an update, also allow the
11068 formats that are not viewable
11070 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11071 script if it is newer than the lyxrc.defaults in user directory
11073 2002-10-07 André Pönitz <poenitz@gmx.net>
11075 * text.C: Vitaly Lipatov's small i18n fix
11077 2002-09-25 Angus Leeming <leeming@lyx.org>
11079 * ispell.h: doxygen fix.
11081 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11083 * buffer.h (readFile): Add a new argument to the method, to allow
11084 reading of old-format templates.
11086 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11088 * toc.C (getTocList): Get TOC from InsetWrap.
11090 2002-09-16 John Levon <levon@movementarian.org>
11092 * lyxfunc.C: check tabular for cut/copy too
11094 2002-09-12 John Levon <levon@movementarian.org>
11096 * LyXAction.C: tidy
11099 * factory.C: add header
11101 * paragraph_funcs.h:
11102 * paragraph_funcs.C: cleanup
11104 2002-09-11 John Levon <levon@movementarian.org>
11106 * PrinterParams.h: odd/even default to true
11108 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11110 * PrinterParams.h: update printer parameters for new xforms dialog
11112 2002-09-11 Angus Leeming <leeming@lyx.org>
11114 * lyxserver.C (read_ready): re-write to make it more transparent
11115 and to make it work in coherent fashion under Tru64 Unix.
11117 2002-09-11 André Pönitz <poenitz@gmx.net>
11121 * text3.C: implement LFUN_WORDSEL
11123 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11125 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11126 make floatlist_ a boost::shared_ptr<FloatList>
11128 * lyxtextclass.C: include FloatList.h
11129 (LyXTextClass): initialize floatlist_
11130 (TextClassTags): add TC_NOFLOAT
11131 (Read): match "nofloat" to TC_NOFLOAT and use it.
11132 (readFloat): modify call to floatlist_
11136 * FloatList.[Ch] (FloatList): remove commented out float
11138 (erase): new function
11140 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11142 * MenuBackend.C (expandToc): fix crash when there is no document
11145 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11147 * many files: Add insetwrap.
11149 2002-09-09 John Levon <levon@movementarian.org>
11151 * text2.C: remove confusing and awkward depth wraparound
11153 2002-09-09 John Levon <levon@movementarian.org>
11155 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11158 * buffer.C: remove getIncludeonlyList()
11161 * lyxfunc.C: remove headers
11163 2002-09-09 Juergen Vigna <jug@sad.it>
11165 * text.C (getColumnNearX): fix form Michael this is most
11166 probably a cut&paste bug.
11168 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11170 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11172 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11173 references, ws changes.
11175 * text2.C (init): update counters after init
11176 (insertParagraph): no need to set counter on idividual paragraphs.
11177 (setCounter): access the counters object in the textclass object
11178 on in the buffer object.
11179 (updateCounters): ditto
11181 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11182 shared_ptr<Counters> to avoid loading counters.h in all
11184 (LyXTextClass): initialize ctrs_
11185 (TextClassTags): add TC_COUNTER, and ...
11186 (Read): use it here.
11187 (CounterTags): new tags
11188 (readCounter): new function
11189 (counters): new funtion
11190 (defaultLayoutName): return a const reference
11192 * counters.C (Counters): remove contructor
11193 (newCounter): remove a couple of unneeded statements.
11194 (newCounter): simplify a bit.
11195 (numberLabel): some small formatting changes.
11197 * buffer.[Ch]: remove all traces of counters, move the Counters
11198 object to the LyXTextClass.
11200 2002-09-06 Alain Castera <castera@in2p3.fr>
11202 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11203 package to set the horizontal alignment on fixed width columns.
11206 * lyx_sty.h: added tabularnewline macro def.
11208 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11210 2002-09-06 John Levon <levon@movementarian.org>
11212 * LyXAction.C: tooltips for sub/superscript
11214 * MenuBackend.C: a bit more verbose
11216 * lyxfunc.C: tiny clean
11218 * undo_funcs.C: document undo_frozen
11220 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11222 * counters.C (Counters): add missing algorithm counter.
11224 * text2.C (setCounter): lookup the counter with layouts latexname
11225 instead of by section number.
11226 (setCounter): use a hackish way to lookup the correct enum
11228 a float name->type change
11229 reset enum couners with counter name directly instead of depth value.
11231 * counters.C (Counters): remove the push_backs, change to use the
11232 float type not the float name.
11233 (labelItem): remove unused string, float name->type change
11235 * counters.h: don't include vector, loose the enums and sects vectors
11237 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11239 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11240 (Read): add float->TC_FLOAT to textclassTags
11241 (Read): and handle it in the switch
11242 (readFloat): new function
11244 * FloatList.C (FloatList): comment out the hardcoded float
11247 * lyxlayout.h: ws change.
11249 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11251 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11253 2002-09-03 Angus Leeming <leeming@lyx.org>
11255 * BufferView_pimpl.h: qualified name is not allowed in member
11256 declaration: WorkArea & Pimpl::workarea() const;
11258 * factory.C: added using std::endl directive.
11260 * text3.C: added using std::find and std::vector directives.
11262 2002-08-29 André Pönitz <poenitz@gmx.net>
11265 * text2.C: remove unused member number_of_rows
11268 * BufferView2.C: remove file, move contents to...
11269 * BufferView.C: ... here
11271 * BufferView_pimpl.C:
11272 * factory.C: move more inset creation to factory
11274 * vspace.C: avoid direct usage of LyXText, ws changes
11277 don't provide direct access to WorkArea, use two simple
11278 acessors haveSelction() and workHeight() instead
11281 2002-08-29 John Levon <levon@movementarian.org>
11283 * BufferView_pimpl.C (dispatch): do not continue when
11286 2002-08-28 André Pönitz <poenitz@gmx.net>
11288 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11291 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11293 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11295 * buffer.C: increment LYX_FORMAT to 221
11297 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11298 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11300 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11302 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11304 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11306 * factory.C (createInset): use LyXTextClass::floats
11308 * MenuBackend.C (expandFloatListInsert):
11309 (expandFloatInsert):
11312 * text2.C (setCounter):
11314 * LaTeXFeatures.C (useFloat):
11315 (getFloatDefinitions):
11317 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11319 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11320 floatlist_, with accessor floats().
11322 * FloatList.h: remove global FloatList
11324 2002-08-26 André Pönitz <poenitz@gmx.net>
11326 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11330 * BufferView_pimpl.C:
11331 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11333 2002-08-25 John Levon <levon@movementarian.org>
11335 * LyXAction.C: fix margin note description
11337 2002-08-24 John Levon <levon@movementarian.org>
11341 * bufferview_funcs.C:
11343 * undo_funcs.C: cleanups
11345 * lyxfunc.C: disable CUT/COPY when no selection
11347 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11349 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11350 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11352 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11353 Add backward compatibility to "mono", "gray" and "no".
11355 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11357 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11358 (and file_format >= 200).
11360 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11362 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11364 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11366 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11368 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11370 * BufferView_pimpl.C:
11377 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11378 inset and code to make it work with the paragraph code. The inset
11379 can be anywhere in the paragraph, but will only do the expected
11380 thing in LaTeX if the layout file contains the parameter line
11382 (or more generally, a nonzero value) for that layout.
11384 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11386 * paragraph.h: remove the declaration of undefined counters class
11389 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11391 * text2.C (setCounter): fixed enumeration mis-count as reported by
11392 Dr. Richard Hawkins.
11394 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11396 * paragraph_funcs.h: remove some unneeded includes
11398 * text.C (backspace): pasteParagraph now in global scipe
11400 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11401 (pasteSelection): ditto
11403 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11404 * paragraph_funcs.C (pasteParagraph): ... here
11406 2002-08-20 André Pönitz <poenitz@gmx.net>
11408 * commandtags.h: new LFUNs for swapping/copying table row/colums
11411 * lyxfunc.C: support for new lfuns
11413 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11416 * buffer.[Ch]: remove NO_COMPABILITY stuff
11418 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11420 * boost.C (throw_exception): new file, with helper function for
11421 boost compiled without exceptions.
11426 * ParameterStruct.h:
11427 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11429 * bufferlist.C (emergencyWriteAll): use boost bind
11431 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11433 * text.C: include paragraph_funcs.h
11434 (breakParagraph): breakParagraph is now in global scope
11436 * paragraph_funcs.[Ch]: new files
11438 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11441 * buffer.C: include paragraph_funcs.h
11442 (insertStringAsLines): breakParagraph is now in global scope
11444 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11447 * CutAndPaste.C: include paragraph_funcs.h
11448 (cutSelection): breakParagraphConservative is now in global scope
11449 (pasteSelection): ditto
11451 * buffer.h: declare oprator== and operator!= for
11452 Buffer::inset_iterator
11454 * bufferlist.C (emergencyWrite): don't use fmt(...)
11456 * text3.C: add using std::endl
11458 * BufferView.C (moveCursorUpdate): remove default arg
11460 2002-08-20 André Pönitz <poenitz@gmx.net>
11462 * buffer.[Ch]: move inline functions to .C
11465 * BufferView_pimpl.C:
11467 * buffer.[Ch]: use improved inset_iterator
11470 * paragraph.[Ch]: write one paragraph at a time
11472 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11474 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11475 style if style is not specified.
11477 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11479 * text2.C (setCounter): when searching for right label for a
11480 caption, make sure to recurse to parent insets (so that a caption
11481 in a minipage in a figure float works) (bug #568)
11483 2002-08-20 André Pönitz <poenitz@gmx.net>
11485 * text3.C: new file for LyXText::dispatch() and helpers
11487 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11489 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11491 2002-08-19 André Pönitz <poenitz@gmx.net>
11494 * text.C: new LyXText::dispatch()
11496 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11498 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11500 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11502 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11505 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11507 * Makefile.am: use $(variables) instead of @substitutions@
11509 2002-08-15 André Pönitz <poenitz@gmx.net>
11512 * BufferView_pimpl.C: streamlining mathed <-> outer world
11516 * LyXAction.C: remove unused LFUN_MATH
11518 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11520 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11522 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11524 * paragraph.C (Paragraph): reformat a bit
11525 (cutIntoMinibuffer): use builtin InsetList function instad of
11529 * buffer.C: include boost/bind.hpp, add using std::for_each
11530 (writeFileAscii): use ParagraphList iterators
11531 (validate): use for_each for validate traversal of paragraphs
11532 (getBibkeyList): use ParagraphList iterators
11533 (resizeInsets): use for_each to resizeInsetsLyXText for all
11535 (getParFromID): use ParagraphList iterators
11537 * BufferView2.C (lockInset): use paragraph list and iterators
11539 2002-08-14 John Levon <levon@movementarian.org>
11541 * lyxserver.C: remove spurious xforms include
11543 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11545 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11547 2002-08-13 André Pönitz <poenitz@gmx.net>
11550 * lyxfunc.C: further cleaning
11552 2002-08-13 André Pönitz <poenitz@gmx.net>
11554 * funcrequest.h: new constructor
11556 * funcrequest.C: move stuff here from .h
11559 * BufferView_pimpl.C:
11562 * lyxfunc.C: subsequent changes
11564 * lyxfunc.h: new view() member function
11566 * lyxfunc.C: subsequent changes
11568 2002-08-13 Angus Leeming <leeming@lyx.org>
11571 * BufferView_pimpl.C:
11579 changes due to the changed LyXView interface that now returns references
11580 to member variables not pointers.
11582 2002-08-13 Angus Leeming <leeming@lyx.org>
11584 * WordLangTuple (word, lang_code): return references to strings,
11589 * lyxtext.h: forward-declare WordLangTuple.
11594 * text.C: #include "WordLangTuple.h".
11597 * text.C: (selectNextWordToSpellcheck): constify return type.
11599 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11605 * paragraph_pimpl.h:
11608 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11609 suggested by Angus.
11610 Made updateCounter always count from start of buffer, and removed
11611 second argument (par).
11612 Reverted floats number display to '#'. Perhaps I'll try again when the
11613 code base is sanitized a bit.
11615 2002-08-12 Angus Leeming <leeming@lyx.org>
11617 * buffer.[Ch] (getLabelList): constify.
11619 2002-08-07 André Pönitz <poenitz@gmx.net>
11621 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11623 * funcrequest.h: extension to keep mouse (x,y) position
11625 2002-08-12 Juergen Vigna <jug@sad.it>
11627 * BufferView2.C (insertErrors): forbid undo when inserting error
11630 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11632 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11634 * ParagraphList.[Ch]: new files
11636 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11638 * BufferView2.C (lockInset): ParagraphList changes
11641 * bufferlist.C: ditto
11645 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11647 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11648 unused class variable counter_,
11650 * paragraph.[Ch] (getFirstCounter): delete unused function
11652 * counters.C: include LAssert.h
11653 (reset): add a new function with no arg, change other version to
11654 not have def. arg and to not allow empty arg.
11656 * text2.C (setCounter): remove empty arg from call to Counters::reset
11658 2002-08-11 John Levon <levon@movementarian.org>
11660 * Makefile.am: add WordLangTuple.h
11662 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11664 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11665 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11667 * insets/insettext.C: InsetList changes
11669 * graphics/GraphicsSupport.C (operator()): InsetList changes
11671 * toc.C (getTocList): InsetList changes
11673 * paragraph_pimpl.[Ch]: InsetList changes
11675 * paragraph.[Ch]: InsetList changes
11677 * buffer.C (inset_iterator): InsetList changes
11678 (setParagraph): ditto
11679 * buffer.h (inset_iterator): ditto
11680 * iterators.C (operator++): ditto
11681 * iterators.h: ditto
11683 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11685 * InsetList.[Ch]: new files, most InsetList handling moved out of
11688 * BufferView2.C (removeAutoInsets): InsetList changes
11690 (ChangeInsets): ditto
11692 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11694 * paragraph_pimpl.h (empty): new function
11696 * paragraph.[Ch] (empty): new function
11698 * other files: use the new Paragraph::empty function
11700 2002-08-09 John Levon <levon@movementarian.org>
11702 * lyxtext.h: remove unused refresh_height
11704 2002-08-09 John Levon <levon@movementarian.org>
11711 * paragraph.C: move sgml char escaping out of paragraph
11714 * paragraph.C: remove id setter
11718 * paragraph_pimpl.C: remove dead tex_code_break_column
11720 * bufferview_funcs.C: small cleanup
11722 * lyxfunc.C: remove dead proto
11724 * lyxtext.h: make some stuff private. Remove some dead stuff.
11726 * lyxgluelength.C: make as[LyX]String() readable
11728 2002-08-08 John Levon <levon@movementarian.org>
11733 * ToolbarDefaults.C:
11736 * toc.C: lyxaction cleanup
11738 2002-08-08 John Levon <levon@movementarian.org>
11740 * BufferView2.C: small cleanup
11743 * lyxfind.C: move unnecessary header into the .C
11745 2002-08-08 John Levon <levon@movementarian.org>
11747 * funcrequest.h: just tedious nonsense
11750 * lyx_main.C: cleanups
11753 * vspace.C: remove dead header lyx_main.h
11755 2002-08-07 Angus Leeming <leeming@lyx.org>
11758 * paragraph_pimpl.h:
11759 Forward declare class Counters in paragraph.h by moving the ctrs member
11760 variable into Paragraph::Pimpl.
11761 (counters): new method, returning a reference to pimpl_->ctrs.
11763 * text2.C: ensuing changes.
11765 2002-08-07 John Levon <levon@movementarian.org>
11767 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11769 * BufferView_pimpl.C: announce X selection on double/triple
11772 * lyx_main.C: use correct bool in batch dispatch
11774 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11776 2002-08-07 André Pönitz <poenitz@gmx.net>
11778 * funcrequest.h: new class to wrap a kb_action and its argument
11781 * BufferView_pimpl[Ch]:
11785 * lyxrc.C: subsequent changes
11788 2002-08-07 John Levon <levon@movementarian.org>
11790 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11791 document options change.
11793 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11798 * makefile.am: move counters functionality over from
11799 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11801 2002-08-06 John Levon <levon@movementarian.org>
11803 * WordLangTuple.h: new file for word + language code tuple
11814 * BufferView2.C: use WordLangTuple
11817 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11819 2002-08-06 John Levon <levon@movementarian.org>
11821 * lyx_main.C: fix cmdline batch handling
11823 2002-08-06 André Pönitz <poenitz@gmx.net>
11825 * lyxrc.C: set default for show_banner to true
11827 2002-08-06 John Levon <levon@movementarian.org>
11829 * pspell.C: fix a crash, and allow new aspell to work
11831 2002-08-06 John Levon <levon@movementarian.org>
11834 * kbmap.C: small cleanup
11837 * vspace.C: add const
11839 2002-08-05 John Levon <levon@movementarian.org>
11841 * LyXAction.C: back to tabular-insert
11843 2002-08-04 John Levon <levon@movementarian.org>
11846 * BufferView.C: cosmetic change
11848 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11858 * BufferView2.C: purge all "Lyx" not "LyX" strings
11861 * lyxcursor.C: attempt to add some documentation
11866 * ToolbarDefaults.C:
11867 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11868 merge with LFUN_TABULAR_INSERT
11875 * pspell.C: split up i/pspell implementations into separate
11876 files, many cleanups
11878 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11880 * text2.C: some cleanup
11882 * lyxfunc.C: don't check for isp_command == "none" any more, it
11883 didn't make any sense
11885 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11890 * makefile.am: move counters functionality over
11891 from text2.C/paragraph.[Ch] to counters.[Ch], and
11893 2002-08-02 John Levon <levon@movementarian.org>
11895 * buffer.C: s/lyxconvert/lyx2lyx/
11897 2002-08-02 Angus Leeming <leeming@lyx.org>
11899 * lyxlex.C: revert John's change as it breaks reading of the user
11902 2002-08-02 Angus Leeming <leeming@lyx.org>
11904 * importer.C (Import):
11905 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11906 changes due to LyXView::view() now returning a boost::shared_ptr.
11908 2002-08-02 John Levon <levon@movementarian.org>
11910 * lyxlex.C: small cleanup
11912 2002-08-02 John Levon <levon@movementarian.org>
11914 * text2.C (status): small cleanup, no logic change
11916 2002-08-01 John Levon <levon@movementarian.org>
11919 * buffer.C (writeFile): don't output alerts, caller
11923 * lyx_cb.C: from above
11925 * lyxfunc.C: allow to open non-existent files
11927 2002-07-31 John Levon <levon@movementarian.org>
11929 * lyxserver.C: don't let incidental errors get
11932 2002-07-30 John Levon <levon@movementarian.org>
11934 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11936 2002-07-30 John Levon <levon@movementarian.org>
11939 * lyxserver.C: remove I/O callback too
11941 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11943 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11946 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11948 * many files: strip,frontStrip -> trim,ltrim,rtrim
11950 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11952 * PrinterParams.h: remove extern containsOnly, and include
11953 support/lstrings.h instead.
11955 * LaTeX.C (scanAuxFile): modify because of strip changes
11957 * buffer.C (makeLaTeXFile): ditto
11958 * bufferparams.C (writeFile): ditt
11959 * lyxfont.C (stateText): ditto
11960 * lyxserver.C (read_ready): ditto
11961 * vc-backend.C (scanMaster): ditto
11963 * BufferView_pimpl.h: ws changes
11965 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11967 2002-07-26 André Pönitz <poenitz@gmx.net>
11969 * kb_sequence.C: remove unnedred usings
11971 2002-07-26 Juergen Vigna <jug@sad.it>
11973 * lyxfind.C (LyXReplace): we have to check better if the returned
11974 text is not of theLockingInset()->getLockingInset().
11976 2002-07-25 Juergen Vigna <jug@sad.it>
11978 * lyxfind.C (LyXReplace): don't replace if we don't get the
11981 * undo_funcs.C (createUndo): remove debugging code.
11983 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11985 * buffer.C (parseSingleLyXformat2Token): Use default placement
11986 when reading old floats.
11988 * FloatList.C (FloatList): Change the default placement of figure
11989 and tables to "tbp".
11991 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11993 * MenuBackend.C: using std::max
11995 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11997 * MenuBackend.C (expandToc):
11998 (expandToc2): code moved from xforms menu frontend. It is now
11999 generic and TOCs are transparent to menu frontends.
12001 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12003 * toc.C (getTocList): protect against buf=0
12005 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12006 Menu as first parameter. Now, this calls itself recursively to
12007 expand a whole tree (this will be useful for TOC handling)
12008 (expandFloatInsert): remove 'wide' version of floats
12010 * MenuBackend.h (submenuname): returns the name of the submenu.
12011 (submenu): returns the submenu itself, provided it has been
12012 created by MenuBackend::expand
12014 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12016 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12017 insets which have noFontChange == true. (bug #172)
12019 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12021 * BufferView_pimpl.C: add connection objects and use them...
12024 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12026 * MenuBackend.C (expandLastfiles):
12029 (expandFloatListInsert):
12030 (expandFloatInsert):
12031 (expand): split expand in parts
12033 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12035 * lyx_gui.C: use lyx_gui::exit()
12037 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12039 * LyXAction.C: show the failing pseudo action
12041 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12043 * buffer.C (readFile): Run the lyxconvert script in order to read
12046 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12050 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12052 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12056 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12058 2002-07-22 Herbert Voss <voss@lyx.org>
12061 * lyxlength.[Ch]: add support for the vertical lengths
12063 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12065 * toc.[Ch]: std:: fixes
12067 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12069 * lyxrc.C: do not include lyx_main.h
12071 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12077 * BufferView2.C: include "lyxlex.h"
12080 * bufferparams.h: do not #include "lyxlex.h"
12082 * lyxtextclasslist.C (Add): remove method
12083 (classlist): renamed to classlist_
12085 * paragraph_pimpl.C:
12089 * bufferview_funcs.C:
12094 * toc.C (getTocList): use BufferParams::getLyXTextClass
12096 * toc.C (getTocList): use InsetFloat::addToToc
12098 * toc.[Ch]: new files, containing helper functions to handle table
12101 * lyxfunc.C (dispatch): no need to remove spaces around command
12103 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12104 first command of the sequence; it is not very clever, but I do not
12105 have a better idea, actually
12107 * LyXAction.C (LookupFunc): make sure to remove space at the
12108 beginning and end of the command
12110 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12112 * MenuBackend.C (getMenubar): new method: return the menubar of
12114 (read): treat differently reading of menu and menubar (in
12115 particular, the menubar has no name now)
12116 (Menu::menubar): remove
12118 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12121 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12123 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12124 a bibitem inset in a RTL paragraph.
12126 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12128 * paragraph_pimpl.C: constify
12130 * BufferView_pimpl.C:
12132 * lyxfunc.C: fix dispatch in a nicer way
12134 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12136 * lyxfunc.C (dispatch):
12137 * BufferView_pimpl.C:
12138 * BufferView_pimpl.h:
12140 * BufferView.h: rename Dispatch() to dispatch()
12142 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12144 * lyxlayout.C (Read): honor DependsOn tag
12146 * lyxlayout.[Ch] (depends_on): new method
12148 * version.C.in: update lyx_docversion
12150 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12152 * paragraph.C (validate): remove from here...
12153 * paragraph_pimpl.C (validate): ... and move here
12154 (isTextAt): make it const
12156 * buffer.C (getLists): ws cleanup
12158 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12160 * language.C (read): Use iso8859-1 encoding in latex_lang
12161 (this prevents LyX from crashing when using iso10646-1 encoding).
12163 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12165 * text2.C (toggleInset): if cursor is inside an inset, close the
12166 inset and leave cursor _after_ it
12168 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12170 * lyxfunc.C: move minibuffer completion handling out of here
12172 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12174 * BufferView_pimpl.C:
12175 * LaTeX.C: fix dispatch calls
12177 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12179 * text.C (drawChars): Fix Arabic text rendering.
12181 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12185 * lyxfunc.C: remove message-push/pop
12189 * lyxfunc.C: rationalise some code by removing verboseDispatch
12190 in favour of a bool argument to dispatch()
12192 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12194 * lyx_main.C (init): make sure to read symlinks as absolute paths
12196 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12199 * lyxfunc.C: no need for commandshortcut to be a member
12201 2002-07-15 André Pönitz <poenitz@gmx.net>
12203 * converter.C: add support for $$s (scripts from lib/scripts dir)
12204 * lyx_main.C: white space
12206 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12210 * lyxrc.C: remove second exit confirmation
12212 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12217 * BufferView_pimpl.h:
12218 * BufferView_pimpl.C:
12219 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12221 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12223 * MenuBackend.C (expand): add numeric shortcuts to document menu
12225 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12227 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12229 * lyxfont.C (setLyXFamily):
12236 * buffer.C (asciiParagraph): use ascii_lowercase
12238 2002-07-15 Mike Fabian <mfabian@suse.de>
12240 * lyxlex_pimpl.C (search_kw):
12241 * lyxlex.C (getLongString):
12242 * converter.h (operator<):
12243 * converter.C (operator<):
12244 * buffer.C (parseSingleLyXformat2Token):
12246 * ToolbarDefaults.C (read):
12247 * MenuBackend.C (checkShortcuts):
12249 * LColor.C (getFromGUIName):
12250 (getFromLyXName): use the compare_ascii_no_case instead of
12251 compare_no_case, because in turkish, 'i' is not the lowercase
12252 version of 'I', and thus turkish locale breaks parsing of tags.
12254 2002-07-16 Angus Leeming <leeming@lyx.org>
12256 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12257 now takes a Buffer const & argument.
12259 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12261 * BufferView.C (resize): check there's a buffer to resize
12263 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12265 * lyxfunc.C: remove dead code
12268 * lyxserver.C: use lyx_guii::set_read_callback
12270 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12272 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12273 an inset in a RTL paragraph.
12275 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12277 * lyxfunc.C: repaint after a font size update
12279 2002-07-15 André Pönitz <poenitz@gmx.net>
12281 * lyxlength.C: inBP should be able to return negative values
12283 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12285 * lyxfunc.C: use lyx_gui::update_fonts()
12287 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12289 * lyxfunc.C: use lyx_gui::update_color()
12291 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12297 * lyxrc.C: remove file->new asks for name option, and let
12298 buffer-new take an argument
12300 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12302 * BufferView_pimpl.C: remove unneeded extra repaint()
12304 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12306 * LyXAction.C: allow command-sequence with NoBuffer
12308 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12310 2002-07-10 Angus Leeming <leeming@lyx.org>
12312 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12314 2002-07-09 Angus Leeming <leeming@lyx.org>
12316 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12318 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12320 * lengthcommon.h: whitespace
12322 * lyxfunc.C: update scrollbar after goto paragraph
12324 * lyxtext.h: factor out page break drawing, and fix it so
12325 page break/added space paints as selected nicely
12327 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12329 * BufferView_pimpl.C: add FIXMEs, clean up a little
12331 2002-07-09 André Pönitz <poenitz@gmx.net>
12333 * lyxfont.[Ch]: support for wasy symbols
12335 2002-07-08 André Pönitz <poenitz@gmx.net>
12337 * BufferView_pimpl.C: apply John's patch for #93.
12339 2002-07-05 Angus Leeming <leeming@lyx.org>
12341 * BufferView_pimpl.C (buffer): generate previews if desired.
12343 * LColor.h: add "preview" to the color enum.
12345 * LColor.C (LColor): add a corresponding entry to the items array.
12347 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12350 2002-07-05 Angus Leeming <leeming@lyx.org>
12352 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12353 The body of the code is now in the method that is passed an ostream &
12354 rather than a file name.
12355 Pass an additional only_preamble parameter, useful for the forthcoming
12358 2002-07-03 André Pönitz <poenitz@gmx.net>
12360 * lyxfunc.C: simplify getStatus() a bit for math stuff
12362 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12366 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12368 * text.C (changeRegionCase): do not change case of all the
12369 document when region ends at paragraph end (bug #461)
12371 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12373 * paragraph.C (startTeXParParams):
12374 (endTeXParParams): add \protect when necessary
12376 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12378 * BufferView_pimpl.C (workAreaExpose): remove warning
12380 2002-06-27 Angus Leeming <leeming@lyx.org>
12382 * Makefile.am: add lyxlayout_ptr_fwd.h.
12384 2002-06-26 André Pönitz <poenitz@gmx.net>
12386 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12388 2002-06-25 Angus Leeming <leeming@lyx.org>
12390 * lyxfunc.C (dispatch): Comment out the call to
12391 grfx::GCache::changeDisplay. The method no longer exists now that the
12392 pixmap generation part of the graphics loader has been moved into
12395 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12397 * text2.C: layout as layout
12399 * text.C: layout as layout
12401 * tabular.C (OldFormatRead): layout as layout
12403 * paragraph_pimpl.C (TeXDeeper): layout as layout
12404 (realizeFont): layout as layout
12406 * paragraph.C (writeFile): layout as layout
12407 (validate): layout as layout
12408 (getFont): layout as layout
12409 (getLabelFont): layout as layout
12410 (getLayoutFont): layout as layout
12411 (breakParagraph): layout as layout
12412 (stripLeadingSpaces): layout as layout
12413 (getEndLabel): layout as layout
12414 (getMaxDepthAfter): layout as layout
12415 (applyLayout): layout as layout
12416 (TeXOnePar): layout as layout
12417 (simpleTeXOnePar): layout as layout
12418 (TeXEnvironment): layout as layout
12419 (layout): layout as layout
12420 (layout): layout as layout
12422 * lyxtextclass.C (compare_name): new functor to work with
12423 shared_ptr, layout as layout
12424 (Read): layout as layout
12425 (hasLayout): layout as layout
12426 (operator): layout as layout
12427 (delete_layout): layout as layout
12428 (defaultLayout): layout as layout
12430 * lyxlayout_ptr_fwd.h: new file
12432 * lyxlayout.C (Read): layout as layout
12434 * lyx_cb.C (MenuInsertLabel): layout as layout
12436 * bufferlist.C (newFile): layout as layout
12438 * buffer.C (readLyXformat2): layout as layout
12439 (parseSingleLyXformat2Token): layout as layout
12440 (insertStringAsLines): layout as layout
12441 (asciiParagraph): layout as layout
12442 (latexParagraphs): layout as layout
12443 (makeLinuxDocFile): layout as layout
12444 (simpleLinuxDocOnePar): layout as layout
12445 (makeDocBookFile): layout as layout
12446 (simpleDocBookOnePar): layout as layout
12447 (getLists): layout as layout
12449 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12451 * CutAndPaste.C (cutSelection): layout as layout
12452 (pasteSelection): layout as layout
12453 (SwitchLayoutsBetweenClasses): layout as layout
12455 * BufferView_pimpl.C (Dispatch): layout as layout
12456 (smartQuote): layout as layout
12458 * BufferView2.C (unlockInset): layout as layout
12460 2002-06-24 André Pönitz <poenitz@gmx.net>
12462 * lyxfunc.C: fix #487
12464 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12468 * lyxfunc.C: remove display_shortcuts, show_banner
12470 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12472 * Buffer_pimpl.C: oops, update on resize
12474 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12481 * BufferView.C: use repaint()
12483 * BufferView_pimpl.h:
12484 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12485 as it's a clearer description. Remove superfluous
12488 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12490 * text.C: fix bug 488. Not ideal, but getting
12491 getWord() to work properly for the insets that
12492 matter is more difficult ...
12494 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12496 * BufferView_pimpl.C:
12499 * lyxfunc.C: remove the six million index lyxfuncs to just
12500 one, and DTRT (bug 458)
12502 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12506 * BufferView_pimpl.h:
12507 * BufferView_pimpl.C: clean up resize() stuff,
12508 and unnecessary updateScreen()s
12510 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12514 * BufferView_pimpl.h:
12515 * BufferView_pimpl.C:
12518 * minibuffer.C: remove focus management of workarea,
12519 not needed. Use screen's greyOut()
12521 2002-06-17 Herbert Voss <voss@lyx.org>
12523 * converter.C: (convert) do not post a message, when converting
12524 fails, let the calling function decide what to do in this case
12526 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12528 * lyxfunc.C: tidy up a little
12530 2002-06-16 <alstrup@diku.dk>
12532 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12533 Got rid of FORMS_H_LOCATION include. Now we are
12536 2002-06-15 LyX Development team <lyx@rilke>
12538 * buffer.[Ch] (sgmlOpenTag):
12539 (sgmlCloseTag): Added support for avoiding pernicious mixed
12540 content. Return number of lines written.
12542 (makeLinuxDocFile):
12543 (makeDocBookFile): Fixed calls to sgml*Tag.
12544 Simple white space clean.
12546 (simpleDocBookOnePar): Simple white space clean.
12548 * tabular.[Ch] (docBook): Renamed to docbook and got another
12549 argument to related with the pernicious mixed content.
12551 (docbookRow): Fixed calls for docbook inset method.
12553 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12555 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12556 so it's X11 independent.
12560 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12562 2002-06-15 Lyx Development team <lyx@electronia>
12564 * intl.h: Renamed getTrans to getTransManager.
12566 2002-06-14 Angus Leeming <leeming@lyx.org>
12568 * Makefile.am: nuke forgotten stl_string_fwd.h.
12570 2002-06-12 Angus Leeming <leeming@lyx.org>
12572 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12574 2002-06-13 Angus Leeming <leeming@lyx.org>
12577 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12579 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12581 * kbmap.C (getiso): add support for cyrillic and greek
12583 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12587 * BufferView_pimpl.h:
12588 * BufferView_pimpl.C: move bogus scrolling logic
12591 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12594 * BufferView_pimpl.C: view->resize() change
12596 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12598 * BufferView_pimpl.C: topCursorVisible
12601 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12605 * lyx_gui.C: move to frontends/
12609 * lyx_main.C: changes from above
12611 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12618 * lyx_main.C: minor tidy
12620 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12622 * BufferView_pimpl.h:
12623 * BufferView_pimpl.C:
12625 * BufferView.C: make painter() const,
12628 * BufferView2.C: use screen() accessor
12631 * lyx_main.C: some minor cleanup
12633 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12635 * BufferView_pimpl.h:
12636 * BufferView_pimpl.C: remove enter/leaveView,
12639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12644 * BufferView_pimpl.h:
12645 * BufferView_pimpl.C: only construct screen once,
12648 * lyxrc.C: remove pointless comment
12650 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12653 * BufferView.C: remove active() and belowMouse()
12655 * BufferView_pimpl.h:
12656 * BufferView_pimpl.C: use workarea() not workarea_,
12657 and make it use a scoped_ptr instead
12659 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12661 * lyx_gui.C: add debug message on BadWindow
12663 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12665 * sp_spell.C: fdopen is not part of the C++ standard.
12667 * paragraph.C (InsetIterator): use >= instead of ==
12669 2002-06-07 Angus Leeming <leeming@lyx.org>
12671 Fixes needed to compile with Compaq cxx 6.5.
12672 * BufferView_pimpl.C:
12679 * lyxtextclasslist.C:
12684 all c-library variables have been moved into namespace std. Wrap
12685 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12690 Add a using std::abs declaration.
12692 * kbmap.h (modifier_pair):
12693 * paragraph.h (InsetTable, InsetList):
12694 * lyxfont.h (FontBits):
12695 type definition made public.
12697 * bufferlist.C (emergencyWriteAll): the compiler complains that
12698 there is more than one possible lyx::class_fun template to choose from.
12699 I re-named the void specialisation as lyx::void_class_fun.
12701 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12703 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12704 the compiler is is unable to find tostr in write_attribute.
12706 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12708 * buffer.C (sgmlError): hide #warning
12710 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12712 * xtl/*: get rid of xtl, which is not in use anyway
12714 * LyXAction.C (init):
12715 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12716 were unimplemented xtl experimentation
12718 2002-06-04 André Pönitz <poenitz@gmx.net>
12720 * lyxfunc.C: disable array operation on simple formulae
12722 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12724 * converter.C: constify a bit
12726 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12728 * lyx_gui.C: check xforms version correctly
12730 2002-04-30 Herbert Voss <voss@lyx.org>
12732 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12735 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12737 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12738 attempt to register it with a VCS)
12740 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12742 * lyx_main.C (init): honor variables LYX_DIR_13x and
12745 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12749 * lyx_main.C: fix a crash on bad command line,
12750 and give a useful exit status on error
12752 * lyxfunc.C (doImport): allow -i lyx to work
12754 2002-03-30 André Pönitz <poenitz@gmx.net>
12756 * lyxfunc.C: mathed font changes
12758 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12773 * trans_mgr.h: srcdocs, and some minor cleanups
12775 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12777 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12778 call getFont all the time)
12780 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * switch from SigC signals to boost::signals
12784 2002-05-29 André Pönitz <poenitz@gmx.net>
12786 * paragraph_pimpl.C (getChar): don't call size() too often...
12788 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12790 * paragraph_pimpl.C (insertChar): do not try to update tables when
12791 appending (pos == size())
12793 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12794 in order to reduce drastically the number of comparisons needed to
12795 parse a large document
12797 2002-05-29 André Pönitz <poenitz@gmx.net>
12803 * textclasslist.[Ch]:
12804 * sp_ispell.h: whitespace change
12806 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12808 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12809 lyxaction directly now.
12811 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12815 * lyxvc.C: remove unused headers
12817 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12824 * undo_funcs.C: some cleanups. Use shared_ptr
12825 and a template for the undo stacks.
12827 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12829 * BufferView_pimpl.h:
12830 * BufferView_pimpl.C:
12837 * text2.C: use key_state/mouse_state
12839 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12841 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12844 * chset.C: change include order
12845 (loadFile): use boost regex and get rid of LRegex and LSubstring
12847 * Makefile.am (BOOST_LIBS): new variable
12848 (lyx_LDADD): use it
12850 * LaTeX.C: change include order.
12851 (scanAuxFile): use boost regex and get rid of LRegex and
12855 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12860 * FontInfo.C: moved to frontends/xforms/
12863 * FontLoader.C: moved into frontends for GUIIzation
12868 * lyxfunc.C: changes from above
12870 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12872 * LColor.C: remove spurious X include
12874 * BufferView_pimpl.C:
12879 * text2.C: move font metrics to frontends/
12881 2002-05-24 Juergen Vigna <jug@sad.it>
12883 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12884 setting the undo_cursor.
12886 * ParagraphParameters.h: include local includes first.
12888 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12890 * BufferView_pimpl.C:
12891 * BufferView_pimpl.h:
12895 * screen.C: move WorkArea into frontends/
12901 * BufferView2.C: move LyXScreen into frontends/
12905 * lyx_gui.C: move lyxlookup into frontends/xforms/
12907 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12910 * BufferView_pimpl.C:
12920 * bufferview_funcs.C:
12933 * vc-backend.C: move LyX/XFormsView into frontends/
12935 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12947 * text2.C: move Painter to frontends/
12949 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12951 * buffer.C: comment out some some code that depend upon lyx_format
12954 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12955 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12957 * buffer.h (NO_COMPABILITY): turn off compability
12959 * ColorHandler.C: include scoped_array.hpp
12961 * font.C: Use more specific smart_ptr header.
12964 * ShareContainer.h: ditto
12965 * lyx_main.h: ditto
12967 * FontInfo.h: ditto
12968 * BufferView_pimpl.h: ditto
12969 * ColorHandler.h: ditto
12971 * kbmap.C (defkey): change call to shared_ptr::reset
12973 2002-05-21 Juergen Vigna <jug@sad.it>
12975 * buffer.C (insertErtContents): fix to insert ert asis if it is
12976 non empty. Skip it completely if it contains only whitespaces.
12978 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12980 * BufferView_pimpl.C:
12981 * BufferView2.C: clear selection on paste (bug 393)
12983 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * DepTable.C: include ctime
12987 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12989 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12991 2002-05-14 Juergen Vigna <jug@sad.it>
12993 * text.C (breakParagraph): fixed function to honor the keepempty
12994 layout in the right maner and also to permit the right breaking
12995 algorithm on empty or non empyt keepempty paragraphs.
12997 * paragraph.C (breakParagraph): we have to check also if the par
12998 is really empty (!size()) for isempty otherwise we do the wrong
13001 2002-05-10 Juergen Vigna <jug@sad.it>
13003 * buffer.[Ch] : The following are only changes to the ert
13004 compatibility read reading old LaTeX layout and font stuff and
13005 convert it to ERTInsets.
13007 * buffer.h: added isErtInset().
13009 * buffer.C (struct ErtComp): add a fromlayout bool to check
13010 if we're inside a LaTeX layout.
13011 (isErtInset): new helper function.
13012 (insertErtContents): look for other ert insets before this one
13013 and insert the contents there, so that we don't have subsequent
13014 ERT insets with nothing between them. This way we create only one
13015 inset with multiple paragraphs. Also check if we don't insert only
13016 spaces ' ' as they are ignored anyway afterwards in the .tex file
13017 so if we have only spaces we will ignore this latex part in the
13019 (parseSingleLyXformat2Token \\layout): better compatibility when
13020 reading layout-latex stuff.
13021 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13023 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13024 stuff after reading the inset only get the information back from
13027 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13029 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13031 * LaTeXFeatures.C (getBabelOptions): New method.
13033 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13035 * BufferView_pimpl.C (Dispatch): work around missing argument for
13038 2002-05-08 Juergen Vigna <jug@sad.it>
13040 * text.C (leftMargin): handle paragraph leftindent.
13042 * paragraph.C (writeFile): write the new \\leftindent tag.
13043 (validate): handle leftindent code.
13044 (TeXEnvironment): handle paragraphleftindent code again.
13046 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13048 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13049 for paragrap_extra indent code and new token \\leftindent.
13050 (latexParagraphs): handle the leftindent as environment.
13052 * ParameterStruct.h: added leftindent support.
13054 * ParagraphParameters.C (leftIndent): added support functions for
13055 the paragraph left indent.
13057 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13060 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13062 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13065 * text.C (computeBidiTables): No bidi in insetERT.
13067 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13070 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * version.C.in: pre 5
13074 2002-05-02 José Matos <jamatos@fep.up.pt>
13075 * buffer.C (makeDocBookFile): white space changes, add newline to
13077 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13079 * tabular.C (docBook): fix typo.
13081 2002-05-03 Juergen Vigna <jug@sad.it>
13083 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13084 change in LyXText as we can not be sure it was not freed.
13085 (drawOneRow): remove unused code.
13087 * text.C (drawInset): redo the calculation of the need_break_row as
13088 it could have a row which was already freed.
13089 (draw): look at the return value of drawInset and return false if
13090 it also returned false.
13091 (paintRowText): look at the return value of draw and return false if
13092 it also returned false.
13094 * lyxtext.h: added bool return type to drawInset() and draw() so that
13095 if we have a change in the row so that the rowbreak has to be redone
13096 we abort drawing as it will be called again.
13098 2002-05-02 Juergen Vigna <jug@sad.it>
13100 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13101 a change in the maintext also if we're inside an inset.
13102 (Dispatch): set the cursor again after a break line and after the
13103 screen has been updated as it could be we're in a different row.
13105 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13106 to set the cursor behind the pargraph with > size().
13107 (setCursor): check also for the same paragraph when checking where
13108 to put the cursor if we have a NFR inset.
13110 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13111 parts of layout read further up as it still was in the wrong
13114 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13116 * screen.C (drawFromTo): change sine fullRebreak always return
13119 * buffer.C (parseSingleLyXformat2Token): reindent some
13121 * BufferView_pimpl.C (update): change since fullRebreak always
13123 (Dispatch): git rid of the last hardcoded "Standard"s.
13125 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13127 * text2.[Ch] (fullRebreak): make it return void now that we always
13130 2002-04-30 Juergen Vigna <jug@sad.it>
13132 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13133 ert compatibility check for "latex" layout.
13135 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13137 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13138 minipages: use col% instead of p%, and also use the current font.
13139 (makeLaTeXFile): Fix use babel condition.
13140 (parseSingleLyXformat2Token): Correct font when reading old floats.
13142 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13144 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13145 inserting list of floats.
13147 2002-04-25 Herbert Voss <voss@lyx.org>
13149 * MenuBackend.C (expand): don't add the graphics extensions to the
13152 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13154 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13155 non-existing layout, do not complain if it was the default layout
13156 of the original class (bug #342)
13158 2002-04-24 Juergen Vigna <jug@sad.it>
13160 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13161 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13163 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13165 * buffer.C (getBibkeyList): If using \bibliography, return the
13166 option field with the reference itself. Enables us to provide natbib
13167 support when using \bibliography.
13169 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13171 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13173 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13174 natbib is provided by the LaTeX class.
13176 2002-04-23 Juergen Vigna <jug@sad.it>
13178 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13181 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13183 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13185 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13187 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13188 ensuremath around textordmasculine, textordfeminine and
13191 2002-04-19 Juergen Vigna <jug@sad.it>
13193 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13194 reinitializing the buffer otherwise row-dimensions may be wrong.
13195 (update): reset also the selection cursors if they do exits otherwise
13196 their x/y positions may be wrong.
13198 * text2.C (cursorDown): don't enter the inset if we came from a row
13199 above and are one row over the inset.
13201 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13202 really leaving an inset.
13204 2002-04-18 Juergen Vigna <jug@sad.it>
13206 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13207 of the selected paragraph does not have the selected layout also if
13210 * text2.C (setLayout): fixed bug which did not change last selected
13213 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13214 changed the read and substituted \\end_float with \\end_inset!
13216 * BufferView_pimpl.C (cursorPrevious):
13217 (cursorNext): fixed to make it work with rows heigher than the work
13218 area without moving the cursor only the draw of the row.
13219 (workAreaMotionNotify): fix jumping over high rows.
13221 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13223 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13226 2002-04-16 Juergen Vigna <jug@sad.it>
13228 * text2.C (setCursor): set also the irow().
13229 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13231 (cursorDown): support for locking an inset if the x_fix value goes
13232 inside it. That way I can transverse insets too with cursor up/down.
13234 * lyxrow.h: added irow helper function same as other (i) functions.
13236 * BufferView_pimpl.C (cursorPrevious):
13237 (cursorNext): fixed for insets!
13239 2002-04-15 Juergen Vigna <jug@sad.it>
13241 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13242 position otherwise it is wrong in some cases.
13244 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13245 inside the inset before the call.
13247 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13249 * buffer.[Ch] (getBibkeyList): make it const.
13251 2002-04-12 Juergen Vigna <jug@sad.it>
13253 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13255 * text2.C (getCursorX): new helper function
13256 (setCursor): compute also ix_
13257 (setCursorFromCoordinates): set also ix.
13259 * lyxcursor.h: added ix_ and helper functions.
13261 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13263 * buffer.C (insertStringAsLines): dont break paragraph if the this
13264 paragraph is inside an inset which does not permit it!
13266 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13267 also with no chars on this paragraph.
13268 (paintRowText): only paint stuff if it's inside the workarea!
13270 * paragraph.C (breakParagraph): honor keepempty flag and break the
13271 paragraph always below not above.
13273 * BufferView2.C (unlockInset): update the paragraph layout on inset
13274 unlock as we changed paragraph in such a case.
13276 * lyxfind.C (LyXFind): clear the former selection if not found!
13278 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13279 again called in insertChar().
13281 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13282 an inset which uses the whole row!
13283 (rightMargin): ditto.
13284 (insertChar): force a rebreak if we inserted an inset!
13286 2002-03-28 Herbert Voss <voss@lyx.org>
13288 * lyxlength.[Ch]: add inBP() to get the right PS-point
13289 units (BigPoint). With inPixels we have rounding errors
13291 2002-04-11 Juergen Vigna <jug@sad.it>
13293 * text2.C (setCursorFromCoordinates): set iy to the right value.
13294 (setCursor): add check if row->previous exists!
13296 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13297 an old float_type as this was the case in the old code!
13299 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13301 * BufferView2.C (showLockedInsetCursor): use iy
13302 (fitLockedInsetCursor): ditto
13304 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13305 locked insets as there we have the right value now.
13307 * lyxcursor.C: added iy_ variable and iy functions to set to the
13308 baseline of cursor-y of the locked inset.
13310 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13311 (setCursor): fixed for insets which need a full row.
13313 * text.C (rowLastPrintable): don't ignore the last space when before
13314 an inset which needs a full row.
13315 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13316 as last character of a row when before a inset which needs a full row.
13318 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13320 * version.C.in: update date
13322 * text2.C (fullRebreak): try to always return true and see what
13325 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13327 * MenuBackend.C (expand): use Floating::listName
13329 * FloatList.C (FloatList): add listName argument to the built-in
13332 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13333 text associated with the float.
13335 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13337 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13339 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13341 * ShareContainer.h: add a couple of missing typenames.
13343 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13345 * lyxrc.C (getDescription): use _() correctly rather than N_().
13347 2002-03-28 Herbert Voss <voss@lyx.org>
13349 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13350 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13352 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13354 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13355 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13357 2002-03-29 Juergen Vigna <jug@sad.it>
13359 * lyxfunc.C (dispatch): add a missing fitCursor call.
13361 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13362 it was scrolled by a cursor move, so return the bool status.
13364 * BufferView.C (fitCursor): return the bool flag also to the outside
13365 world as this is needed.
13367 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13369 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13370 call the edit() as it is not needed (and wrong) IMO.
13371 (workAreaButtonPress): set the screen_first variable before evt.
13372 unlock the inset as this may change screen_first and then we have
13373 a wrong y position for the click!
13375 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13377 * MenuBackend.C (expand): another translation that I missed
13379 2002-03-28 Juergen Vigna <jug@sad.it>
13381 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13383 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13385 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13387 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13389 * MenuBackend.C (expand): fix export/view/update when there is no
13392 2002-03-27 Herbert Voss <voss@lyx.org>
13394 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13397 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13399 * bufferview_funcs.C (currentState): only show paragraph number
13400 for is DEVEL_VERSION is set.
13402 * lyxfunc.C (dispatch): put warning in INFO channel
13404 * MenuBackend.C (expand): translate the name of floats
13406 * FloatList.C (FloatList): mark the float names for translation
13408 * converter.C (convert): use LibScriptSearch
13410 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13412 * MenuBackend.C (defaults): fix default menu (we might as well get
13415 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13417 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13420 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13422 * lyxvc.C: reorder includes.
13424 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13426 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13429 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13431 * CutAndPaste.C: change layouts earlier on paste
13432 to avoid crashing when calling getFont()
13434 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13436 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13439 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13441 * WorkArea.C: remove 'Pending' debug message.
13443 * most files: ws cleanup
13445 * buffer.[Ch]: ws changes
13447 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13449 2002-03-21 Juergen Vigna <jug@sad.it>
13451 * tabular.C (SetMultiColumn): collapse also the contents of the
13452 cells and set the last border right. Added a Buffer const * param.
13454 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13456 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13459 2002-03-19 Juergen Vigna <jug@sad.it>
13461 * text2.C (clearSelection): reset also xsel_cache.
13463 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13464 where it needs to be called (John tells us to do so too :)
13465 (selectionLost): reset sel_cache.
13467 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13469 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13471 * text2.C (setCursorIntern): put debuging code in INSETS channel
13473 2002-03-19 André Pönitz <poenitz@gmx.net>
13475 * lyxfunc.C: tiny whitespace change
13477 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13479 * ToolbarDefaults.C (init):
13480 * LyXAction.C (init):
13482 * BufferView_pimpl.C (Dispatch):
13483 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13485 2002-03-19 Allan Rae <rae@lyx.org>
13487 * exporter.C (Export): removeAutoInsets before doing anything else.
13488 While I've just introduced a dependency on BufferView this really is
13489 the best place to clean the buffer otherwise you need to cleanup in
13490 a dozen places before calling export or cleanup in a dozen functions
13493 * converter.C (runLaTeX):
13494 (scanLog): Better handling of removeAutoInsets and screen updates.
13496 * lyxfunc.C (dispatch): small whitespace changes
13498 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13500 * WorkArea.C (C_WorkAreaEvent): return a value.
13501 (event_cb): return 1 if we handled the event, 0 otherwise.
13503 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13505 2002-03-18 Juergen Vigna <jug@sad.it>
13507 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13508 (GetAdditionalWidth): ditto.
13509 (RightLine): ditto.
13512 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13513 inset if we're there actually (probably not used right now but this
13514 is the direction to go for unifying code).
13515 (paste): disable code to clear the selection.
13517 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13518 inside an InsetText and move the check further up as it is in the
13521 * text2.C (pasteSelection): set a selection over the pasted text.
13523 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13525 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13526 and libgraphics to build on Cygwin.
13528 2002-03-15 Juergen Vigna <jug@sad.it>
13530 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13531 inserting an Inset into the paragraph. I know this is not the best
13532 fix but we already use current_view in CutAndPaste so we will remove
13533 all of it's using at the same time.
13535 * buffer.C (sgmlError): deactivated function till it is rewritten in
13536 the right mode, now it can create problems.
13538 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13539 before accessing it.
13541 2002-03-14 Juergen Vigna <jug@sad.it>
13543 * undo_funcs.C (textHandleUndo): do the right thing when updating
13544 the inset after the undo/redo.
13546 * text2.C (setCursor): just some testcode for #44 not ready yet.
13548 * undo_funcs.C (textHandleUndo): set the next() and previous()
13549 pointers of the paragraph to 0 before deleting otherwise we have
13550 problems with the Paragraph::[destructor].
13552 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13553 on a paragraph insertion.
13555 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13557 * buffer.C (asciiParagraph): use += operator for char append to
13560 * paragraph.C (getFontSettings): compare >= not just >
13561 (highestFontInRange): ditto
13564 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13566 * paragraph.C: change several algorithm to be more appripriate for
13567 the problem domain. This is lookip in FontList and in the InsetList.
13569 2002-03-13 André Pönitz <poenitz@gmx.net>
13572 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13574 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13579 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13581 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13583 * Painter.C (display): anon helper function, adjust code for this
13585 (pixmap): remove function.
13587 * Painter.h: remove private display variable.
13589 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13591 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13593 * WorkArea.[Ch]: remove figinset_canvas cruft.
13595 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13597 * lyxtextclass.C (operator): add one item cache optimization.
13599 * bufferlist.h: doxy changes
13601 * bufferlist.C: ws changes
13603 * DepTable.[Ch] (ext_exist): place const in the right spot.
13605 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13607 (workAreaExpose): call resizeInsets when the with BufferView changes.
13608 (Dispatch): adjust for protectedBlank removal
13609 (specialChar): call updateInset if the insert went ok.
13611 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13612 specialChar instead.
13614 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13616 * BufferView.h: doxy change
13618 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13620 * lyxtextclass.C (operator[]): remove non-const version
13621 (defaultLayout): remove non-const version
13623 2002-03-12 Juergen Vigna <jug@sad.it>
13625 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13626 did resize the LyXText too.
13628 * buffer.C (readLyXformat2): set layout information on newly allocated
13631 * tabular.C (OldFormatRead): set layout information on the paragraph.
13633 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13635 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13637 2002-03-11 Juergen Vigna <jug@sad.it>
13639 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13641 (resizeCurrentBuffer): force also the insets to resize themselfes.
13642 (moveCursorUpdate): fixed up for InsetText.
13644 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13647 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13648 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13649 value of Dialogs::tooltipsEnabled().
13650 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13652 2002-03-08 Juergen Vigna <jug@sad.it>
13654 * BufferView_pimpl.C (updateInset): update inset inside inset also
13655 if it isn't inside theLockingInset().
13657 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13659 * buffer.C (asciiParagraph): redo some of the word and line length
13661 (getLists): look for Caption instead of caption.
13663 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13665 * buffer.C (Buffer): initialize niceFile to true
13667 (makeLinuxDocFile):
13668 (makeDocBookFile): make sure niceFile is true on exit
13670 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13672 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13674 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13676 * LyXSendto.C: remove.
13677 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13678 * lyx_gui.C: remove now-redundant comment.
13679 * ColorHandler.h: remove forward declaration of class WorkArea.
13680 * lyxfunc.C: remove #include "WorkArea.h".
13682 2002-03-07 Juergen Vigna <jug@sad.it>
13684 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13685 got moved away with the DEPM and also set the inset_owner always
13686 right which before could have been omitted.
13688 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13690 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13691 wanted layout is not found.
13693 2002-03-07 Juergen Vigna <jug@sad.it>
13695 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13697 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13699 * paragraph.C (breakParagraph): use default layout not layout of
13701 (Paragraph): clear ParagraphParameters.
13703 2002-03-06 Juergen Vigna <jug@sad.it>
13705 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13706 otherwise it would not be a valid lenght. Fixed a special case in
13707 the minipage compatibility read where we end the document with a
13710 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13711 was set as it could be 0 for InsetTexts first entry.
13713 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13715 * paragraph.C (writeFile): if layout is empty write out
13716 defaultLayoutName().
13718 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13719 file without named layout we set layout to defaultLayoutName().
13721 2002-03-06 Juergen Vigna <jug@sad.it>
13723 * CutAndPaste.C (copySelection): set layout for new paragraph.
13725 * text.C (prepareToPrint): leave ERT inset left aligned
13726 (leftMargin): don't indent paragraphs inside ERT insets
13728 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * paragraph.C (breakParagraph): dont call clear do the work manually
13732 * paragraph.[Ch] (clear): remove function
13734 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13736 * paragraph.C (Paragraph): dont call clear, the work has already
13739 * lyxtextclass.C (operator): assert if n is empty
13741 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13742 work manually instead.
13744 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13746 * BufferView_pimpl.C: protect selectionLost against text == 0
13748 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13750 * text.C (breakParagraph): fix a setting layout to '0' problem.
13752 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13754 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13755 final location of file, for the included files, and graphics.
13757 2002-03-05 Juergen Vigna <jug@sad.it>
13759 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13761 2002-03-04 Juergen Vigna <jug@sad.it>
13763 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13765 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13766 last column of multicolumn cells.
13767 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13769 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13771 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13772 file if it doesn't go to a temporary file.
13774 * buffer.C (sgmlOpenTag):
13775 (sgmlCloseTag): remove extra newline insertion.
13777 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13779 * text.C (getRowNearY): comment out debug msg
13781 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13783 * text2.C: first -> first_y
13785 * text.C (getRowNearY): add some attemts at a possible
13786 optimization, not working.
13788 * tabular.[Ch]: add BufferParams to several function so that newly
13789 created paragraph can be initialized to he default layotu for the
13792 * tabular-old.C (ReadOld): add buf->params to call of Init
13794 * screen.C: rename text->first to text->first_y
13796 * paragraph.C (breakParagraph): always set layout in the broken
13799 * lyxtextclass.C (Read): remove lowercase
13802 (delete_layout): ditto
13804 * lyxtext.h: rename first -> first_y
13806 * lyxlayout.C (Read): remove lowercase
13809 (obsoleted_by): ditto
13811 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13813 * buffer.C (insertErtContents): add params are to InsetERT
13814 (parseSingleLyXformat2Token): add code to check if a paragraphs
13815 layout really exist.
13816 (parseSingleLyXformat2Token): add params to several inset
13818 (asciiParagraph): remove lowercase, do the layout comparisons with
13821 * BufferView_pimpl.C (cursorNext): first -> first_y
13822 (resizeCurrentBuffer): first -> first_y
13823 (updateScrollbar): first -> first_y
13824 (scrollCB): first -> first_y
13825 (workAreaMotionNotify): first -> first_y
13826 (workAreaButtonPress): first -> first_y
13827 (checkInsetHit): first -> first_y
13828 (cursorPrevious): first -> first_y
13829 (cursorNext): first -> first_y
13830 (Dispatch): add buffer_->params to severl inset contructors
13832 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13834 * lyxlayout.C (Read): remove some debug info that I forgot.
13836 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13837 clean up the code slightly.
13838 (makeLinuxDocFile): ditto
13839 (makeDocBookFile): ditto
13841 * text2.C: layout as string
13843 * text.C: layout as string
13845 * paragraph_pimpl.C: layout as string
13847 * paragraph.[Ch]: layout as string
13849 * lyxtextclasslist.[Ch]: layout as string
13851 * lyxtextclass.[Ch]: layout as string
13853 * lyxtext.h: layout as string
13855 * lyxlayout.[Ch]: layout as string
13857 * lyx_cb.C: layout as string
13859 * bufferview_funcs.C: layout as string
13861 * bufferparams.C: layout as string
13863 * buffer.C: layout as string
13865 * LyXView.[Ch]: layout as string
13867 * LaTeXFeatures.[Ch]: layout as string
13869 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13871 * BufferView_pimpl.C: change current_layout to string, remove
13876 (workAreaButtonRelease): layout as string
13878 * BufferView2.C (unlockInset): adjust
13880 * vspace.C (asLatexCommand): use an explict temp variable.
13882 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13884 * Makefile.am: use FRONTEND_*
13886 2002-03-01 Juergen Vigna <jug@sad.it>
13888 * tabular.C (SetWidthOfMulticolCell): changed to something better
13889 I hope but still work in progress.
13890 (recalculateMulticolumnsOfColumn): renamed function from
13891 recalculateMulticolCells as it is more appropriate now.
13892 (SetWidthOfCell): calculate multicols better.
13894 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13896 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13898 * lyxfunc.C (processKeySym): print sequence also if it is
13899 `deleted' (complete)
13901 * kbsequence.C (print): print sequence even if it is deleted
13902 (complete would be a better word, actually).
13904 * lyxfunc.C (dispatch): print complete options after a prefix key
13906 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13908 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13910 * text2.C (setCharFont): eliminate setCharFont code duplication.
13912 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13914 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13915 LFUN_TABULAR_FEATURE (bug #177)
13917 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13919 * Makefile.am: remove figure.h
13921 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13923 * Bufferview_pimpl.C:
13935 * text2.C: remove #include "lyx_gui_misc.h".
13937 * LaTeX.C: added #include <cstdio>
13939 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13941 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13942 that the paragraph following this one can have.
13944 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13946 * vspace.C (asLatexCommand): fix bogus gcc warning
13948 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13950 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13952 * text2.C (setLayout): get rid of redundant code
13954 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13956 * text2.C (incDepth): make sure depth cannot be increased beyond
13959 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13961 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13962 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13964 * PainterBase.h (image):
13965 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13966 a LyXImage const *.
13968 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13972 * BufferView_pimpl.C:
13973 * BufferView_pimpl.h:
13993 * sp_spell.C: remove fig inset, and the crap house of
13994 cards that follows it
13996 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14001 * os2_errortable.h:
14002 * nt_defines.h: move .h into support/
14004 * vms_defines.h: remove
14006 * WorkArea.C: add space in debug output
14010 * buffer.C: add WITH_WARNINGS
14014 * bufferlist.C: s/retrive/retrieve/, add docs
14023 * chset.C: add docs
14025 * lyxgui.C: add ID to X error handler
14027 * lyxtestclass.c: fix typo
14029 2002-02-26 Juergen Vigna <jug@sad.it>
14031 * tabular_funcs.C (write_attribute): changed so that some default
14032 attributes are not written at all.
14033 (getTokenValue): set default values before trying to read the
14034 value so we have the return value always set as default if we don't
14035 find the token we search for.
14037 * tabular.C (Write): write bools as bools not as strings!
14039 2002-02-22 Juergen Vigna <jug@sad.it>
14041 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14042 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14044 * text.C (leftMargin): don't add an indent for paragraphs inside
14045 tabular cells (fix #208).
14047 2002-02-21 José Matos <jamatos@fep.up.pt>
14049 * tabular.C (docBook): fixed support for long tables.
14051 2002-02-20 Juergen Vigna <jug@sad.it>
14053 * text2.C (getFont): get the drawing font of the Inset if this
14054 paragraph is inside an inset (only important for InsetERT for now).
14056 * buffer.C (insertErtContents): use new lanugage params in ERT
14059 * CutAndPaste.C: commenting out seemingly uneeded code.
14061 2002-02-19 Allan Rae <rae@lyx.org>
14063 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14064 Iterators might be simple to use but they also get invalidated.
14065 (removeAutoInsets): renamed saved cursor tracking variables and added
14066 some comments to clarify what everything does.
14068 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14075 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14076 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14079 * vc-backend.h: remove #include "support/syscall.h"
14083 * converter.C: rearrange #includes in Lars' approved fashion.
14085 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14086 forward declare class Timeout in the header file.
14088 * XFormsView.C: changes due to the above.
14090 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14091 similar to LyXView.
14093 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14094 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14096 2002-02-18 José Matos <jamatos@fep.up.pt>
14098 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14101 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14103 * a lot of small ws changes
14104 * add a lot of using std::XXX
14105 * use std construcs some places where approp.
14106 * use some exisint stuff from lyxfunctional where approp.
14107 * Make file changes to use partial linking (lets test this now...)
14109 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14113 remove #include "support/syscontr.h" as it's redundant. Always has been.
14121 change Systemcalls::System to Systemcalls::Wait and
14122 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14123 No change of functionality, just reflects the stripped down Systemcalls
14126 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14128 * debug.[Ch]: add a GRAPHICS type to the enum.
14130 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14132 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14134 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14137 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14139 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14140 match the changes below.
14142 * text2.C (toggleInset): if there is not editable inset at cursor
14143 position, try to see if cursor is _inside_ a collapsable inset
14146 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14148 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14149 document menu has a nice checkbox
14151 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14153 * lyxlength.C (asLatexString): change PW to output as percent of
14156 * lengthcommon.C: change '%' to 't%'
14158 * lyxfunc.C (dispatch): a few comments from Martin
14160 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14164 * BufferView_pimpl.h:
14165 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14168 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14170 * vspace.C (inPixels): fix compiler warning
14172 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14174 * lyxfunc.C (getStatus): fix status message for disabled commands.
14176 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14178 * BufferView_pimpl.C: fix crash on close buffer
14179 during selection (#227)
14181 2002-01-27 Herbert Voss <voss@lyx.org>
14183 * buffer.C: link old Figure to new graphic inset
14185 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14187 * FontLoader.C (getFontinfo): Change the latex font names in order
14188 to match the names of type1inst.
14190 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14192 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14194 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14195 (extchanged): ditto
14197 (remove_files_with_extension): ditto
14198 (remove_file): ditto
14201 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14202 document is smaller than the work area height. Do not initialize
14203 static variables to 0.
14205 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14207 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14209 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14210 LFUN_LAYOUT_PARAGRAPHS.
14212 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14213 tabular. It is possible to provide a possible cell, which will
14214 typically be the actcell from the corresponding insettabular
14216 * lyxfunc.C (getStatus): small cleanup; disable
14217 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14220 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14222 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14224 * paragraph.C (startTeXParParams):
14225 (endTeXParParams): new methods. The LaTeX code to
14226 start/end paragraph formatting
14227 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14228 empty (fixes bug #200)
14230 * vspace.C (inPixels): adapt to the change below
14231 (inPixels): [later] more cleanups (remove unused variables)
14233 * lyxlength.C (inPixels): change to use a width and a height as
14236 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14238 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14239 Replaced with \paperwidth
14241 * DepTable.C (insert): add std:: qualifier
14243 2002-01-18 Allan Rae <rae@lyx.org>
14245 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14248 * text.C (drawInset): Turned out I didn't know enough about how
14249 rebreaking worked. This fixes most of the redraw problems. I see
14250 an occasional cursor trail when a line is broken now and the cursor
14251 placement can seem out by a few pixels also after a rebreak.
14253 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14255 * buffer.C (parseSingleLyXformat2Token): update because minipage
14256 width is now a LyXLength
14258 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14260 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14263 2002-01-17 Juergen Vigna <jug@sad.it>
14265 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14267 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14268 is set correctly and the inset is updated correctly.
14270 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14272 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14273 the beginning of the loop.
14275 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14277 * lyxrc.C: improve help for use_scalable_fonts
14279 2002-01-17 Allan Rae <rae@lyx.org>
14281 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14283 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14285 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14286 make sure to set their inset_owner to the right value (bug #171)
14288 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14291 * DepTable.C: Implement mtime checking to reduce time spent doing
14294 2002-01-16 Juergen Vigna <jug@sad.it>
14296 * tabular.C (GetAdditionalHeight): one of error fixed.
14298 * lyxrc.C (output): small fix in writing use_pspell.
14300 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14302 * sp_base.h: #include LString.h
14304 2002-01-16 Allan Rae <rae@lyx.org>
14306 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14307 Can someone check this please?
14309 * text.C (drawInset): It was possible that p.row would be removed by
14310 breakAgainOneRow upsetting a few other settings. There may be another
14311 small tweak possible by setting need_break_row = 0 when p.row has been
14312 removed but I don't know enough about the logic here.
14314 2002-01-15 Allan Rae <rae@lyx.org>
14316 * text.C (insertChar): removed conditional truism.
14318 * BufferView2.C (removeAutoInsets): More tweaks.
14319 cur_par_prev could be a stray pointer. Check for trailing empty line
14320 in case last line was cur_par and only had an error inset on it.
14322 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14324 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14327 * vc-backend.C (most methods):
14328 * exporter.C (Export):
14329 * converter.C (convert):
14331 * LyXSendto.C (SendtoApplyCB):
14332 * lyxfunc.C (dispatch):
14336 * lyx_cb.C (AutoSave):
14338 * BufferView_pimpl.C (MenuInsertLyXFile):
14339 * buffer.C (runChktex): use Buffer::filePath().
14341 * buffer.h: rename filename to filename_; rename filepath to
14342 filepath_ and make it private
14343 (filePath): new method
14345 * buffer.C (writeFile): use fileName()
14348 * lyx_main.C (init): fix starting of LyX when the binary is a
14349 link from so,ewhere else.
14351 * minibuffer.C: include <cctype> for isprint
14353 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14355 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14356 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14357 name clash with InsetCollapsable's width function.
14359 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14361 * lastfiles.C: include <iterator>
14363 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14365 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14368 * buffer.C (makeLaTeXFile): ditto.
14369 Also make loop operation more transparent.
14371 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14373 * ToolbarDefaults.C: remove trailing comma closing namespace.
14375 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14377 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14380 * trans.C (Load): comment out unused variable, allowed.
14382 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14384 * minibuffer.[Ch] (append_char): new method to recieve input from the
14385 drop-down completion browser. If a key was pressed, then recieve this
14386 char and append it to the existing string.
14387 (peek_event): modify the positioning data passed to the completion
14388 browser so that it can be placed above the minibuffer rather than below.
14389 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14391 * LyXAction.C (init): alloe error-next for readonly documents.
14393 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14396 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14398 * bufferlist.C (readFile): create the buffer _after_ checking that
14401 * lyxfunc.C (verboseDispatch): fix handling of arguments
14403 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14405 * lyxrc.C: use string::erase() instead of initializing to "".
14408 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14410 * BufferView_pimpl.h:
14411 * BufferView_pimpl.C:
14414 * text2.C: tell X when we have made a selection for copying
14416 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14418 * BufferView_pimpl.C (MenuInsertLyXFile):
14419 * lyxfunc.C (menuNew):
14421 (doImport): add shortcuts to directory buttons
14423 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14426 * lyxfunc.C (setStatusMessage):
14427 (getStatusMessage): new methods
14428 (getStatus):use setStatusMessage instead of setErrorMessage
14429 (dispatch): when function is disabled, set error message here
14430 [instead of in getStatus previously]
14432 * BufferView_pimpl.C (workAreaButtonRelease): update
14433 toolbar/menubar here too.
14435 2002-01-13 Allan Rae <rae@lyx.org>
14437 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14438 Now seems indestructible. Remaining task is to audit all other
14439 code affected by deleteEmptyParagraphMechanism. One small quirk
14440 left is that an empty document with an error in the preamble can
14441 be made to report an error but no error box appears. I don't know
14443 (removeAutoInsets): Improved comments.
14445 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14448 * Thesaurus.C: update for Aiksaurus 0.14
14450 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14452 * text2.C (firstParagraph): removed member function, all uses
14453 replaces with ownerParagraph
14454 (redoParagraphs): here
14455 (updateInset): here
14456 (toggleAppendix): here
14457 * BufferView2.C (insertErrors): here
14458 (setCursorFromRow): here
14460 2002-01-13 Allan Rae <rae@lyx.org>
14462 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14463 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14464 There is still a way to segfault this although you may have to do this
14465 multiple times: Have an InsetERT with an unknown command in it.
14466 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14467 <down-arrow>, <Enter> again, View->DVI, BANG!
14469 * text2.C (setCursor):
14470 (deleteEmptyParagraphMechanism):
14471 * lyxtext.h (setCursor):
14472 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14473 Making use of the return value may help fix other bugs.
14475 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14477 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14479 * LyXView.C (updateMenubar): call MenuBar::update here
14480 (updateToolbar): but not here
14481 (showState): do not update toolbar/menubar
14483 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14484 should need to care about that.
14486 * lyxfunc.C (verboseDispatch): simplify a bit
14487 (getStatus): have a version which takes a pseudoaction, and
14488 another which requires a (kb_action,string).
14490 * LyXAction.C (retrieveActionArg): make it work also when action
14491 is not a pseudo-action.
14492 (getActionName): simplify a bit
14495 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14497 * lyxfunc.C (verboseDispatch): new families of methods with
14498 several ways to specify a command and a bool to indicate whether
14499 the command name and shortcut should be displayed in minibuffer
14500 (eventually, we could extend that to a finer bitmask like
14501 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14502 (dispatch): the pristine dispatch command which just, well,
14503 dispatchs! Note it still sets its result to minibuffer; I'm not
14506 * lyxfunc.h: remove setHintMessage
14508 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14510 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14512 * BufferView_pimpl.C (specialChar): delete new inset if we have
14513 not been able to insert it.
14515 * kbmap.C: revert to using int instead of kb_action, since all we
14516 are dealing with is pseudo-actions.
14518 * LyXAction.C (searchActionArg): change to return int instead of
14519 kb_action, since the result is a pseudoaction.
14521 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14523 * buffer.C (insertErtContents): Fix (partially) the font bug.
14525 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14527 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14528 as the other one is broken on my machine!
14530 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14533 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14535 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14537 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14538 reflect their actual use. Provide compatibility code for older lyxrc
14541 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14543 change names of popup font variables in line with the changes to lyxrc.C
14545 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14547 * buffer.C (asciiParagraph): avoid outputing a word twice after
14550 * lyxrc.C (getDescription): document that document_path and
14551 template_path can be empty.
14553 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14555 * LaTeXFeatures.C (getMacros):
14556 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14558 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14560 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14562 (getPackages): rename feature "floats" to "float". Use an array to
14563 iterate over 'simple' features (i.e. just a \usepackage). Add
14564 handling of "amsmath" (renamed from "amsstyle").
14566 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14568 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14571 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14573 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14574 FuncStaus::FuncStatus & FuncStaus::some_method().
14576 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14578 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14579 of the func_satus stuff. Edited and massaged in various ways by
14582 * lyxfunc.C (getStatus): use FuncStatus
14584 2002-01-08 Juergen Vigna <jug@sad.it>
14586 * text.C (nextBreakPoint): use function Inset::isChar().
14588 * paragraph.C (TeXOnePar): use function
14589 Inset::forceDefaultParagraphs.
14591 * buffer.C (latexParagraphs): use function
14592 Inset::forceDefaultParagraphs.
14594 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14596 * lyx_gui.C (init): set the style of the menu popups to
14597 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14599 2002-01-07 Juergen Vigna <jug@sad.it>
14601 * text.C (setHeightOfRow): small fix
14602 (prepareToPrint): don't look at alignment if we don't have the place
14605 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14607 * box.C: New file. Move the Box methods and functions out of box.h,
14608 following Lars' suggestion.
14610 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14612 * box.h: #include "support/LOstream.h", needed for inlined function.
14615 * lyxtextclasslist.C: added some using std declarations.
14617 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14619 * box.h: make signed dimensions to allow insets wider than
14620 the screen (bug #162)
14622 * BufferView_pimpl.C: add some insetHit debug
14624 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14626 * vc-backend.C: add FIXME
14628 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14630 * lyxfunc.C (getStatus): enable code for showing math font status
14633 2002-01-07 Juergen Vigna <jug@sad.it>
14635 * text.C (nextBreakPoint): removed debug output not needed anymore.
14637 2002-01-06 Juergen Vigna <jug@sad.it>
14639 * text.C (nextBreakPoint): fixed up this function we had this bug
14640 since ever but now hopefully we break row better.
14641 (insertChar): we have to check if an inset is the next char as it
14642 could now happen that a large inset is causing a break.
14644 2002-01-05 Juergen Vigna <jug@sad.it>
14646 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14647 if it doesn't like to be drawed.
14649 2002-01-04 Juergen Vigna <jug@sad.it>
14651 * BufferView2.C (lockInset): forgot to set a cursor.
14653 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14655 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14657 * FormMathsPanel.C:
14660 * form_maths_panel.C:
14661 * form_maths_panel.h:
14662 * form_maths_panel.fd: implemented sub- and super- buttons in math
14665 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14666 (or ^ space) to be used as in TeX (req'd by Andr�.
14668 * lyxfunc.C: Allow ^ and _ again to be used both as
14669 super/subscript (mathed) and as themselves (in text).
14671 2002-01-03 Allan Rae <rae@lyx.org>
14673 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14674 "LyX" or the filename of the current buffer if it has one. This is a
14675 modified form of John Levon's patch.
14677 * XFormsView.C (setWindowTitle): also set icon title.
14679 * LyXView.h (setWindowTitle): signature changed.
14680 * XFormsView.h (setWindowTitle): ditto.
14682 2002-01-02 Juergen Vigna <jug@sad.it>
14684 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14686 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14688 * screen.C (topCursorVisible): introduce a temp var for
14689 text->cursor.row(), handle the case where this row is null. (kindo
14692 * text2.C (setCursor): add a couple of asserts.
14694 * paragraph.h (inset_iterator): add -> operator
14696 * paragraph.[Ch] (autoDeleteInsets): remove member function
14698 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14699 cursor pos correctly and handle inset deletion by itself.
14700 (insertErrors): move iterator declaration out of for expression
14702 * lyxtextclass.C: add <algorithm>
14704 * Makefile.am: added the new files to sources, removed layout.C
14706 * layout.C: removed file
14708 * layout.h: remove LYX_DUMMY_LAYOUT
14710 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14714 * lyxtextclass.[Ch]:
14715 * lyxtextclasslist.[Ch]: new files
14717 * include order changes to a lot of files, also changes because of
14720 2001-12-27 Juergen Vigna <jug@sad.it>
14722 * buffer.C (asciiParagraph): more fixes.
14724 * tabular.C (ascii): make ascii export support export of only the
14725 data separated by a column-delimiter.
14726 (ascii): better support for ascii export.
14728 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14730 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14732 * tabular_funcs.C: use a "using std::getline" instead of the
14733 previous fix from Angus (necessary for cxx + lyxstring)
14735 2001-12-24 Juergen Vigna <jug@sad.it>
14737 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14739 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14740 problems. First check a minipage also if we have some ert-contents
14741 (not only on par->size(), second set the right depth of the paragraph
14742 on the relink to the root-paragraph-list!
14744 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14745 which then did not anymore update the main paragraphs on undo/redo!
14747 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14749 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14750 code. Support all font-changing funcs (even those which are not in
14751 menu currently). Support for reporting font settings in
14752 mathed (disabled until Andre provides a function on mathed's side).
14754 * func_status.h (toggle): small helper function to set toggle
14757 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14759 * tabular_funcs.C: getline -> std::getline
14761 2001-12-21 Juergen Vigna <jug@sad.it>
14763 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14764 accessed and could be 0 (I couldn't generate this but it seems
14767 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14769 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14770 * tabular_funcs.h: here and include iosfwd
14772 2001-12-20 Juergen Vigna <jug@sad.it>
14774 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14775 inside inset but undo_par was.
14777 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14779 * Thesaurus.C: always include <config.h> in sources.
14783 * box.h: do not include <config.h> in header files
14785 * text.C (paintLastRow): remove unused variable
14787 * text.C (transformChar):
14789 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14791 * Painter.C (text):
14792 * font.C (width): rewrite to use uppercase() instead of
14795 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14797 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14799 * lyxfind.C: clean up of find failure position change
14801 2001-12-20 Juergen Vigna <jug@sad.it>
14803 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14805 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14806 (TeXRow): added to LaTeX a single tabular row.
14807 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14808 (Latex): simplified and finally good LT-h/f support.
14809 (various_functions): just small adaptions for LT-h/f support.
14811 * tabular_funcs.[hC]: added and moved here all not classfunctions
14814 2001-12-19 Juergen Vigna <jug@sad.it>
14816 * tabular.[Ch]: better support for longtabular options (not finished
14819 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14821 * text.C (paintLastRow): use the label font instead of the font of
14822 the last character to compute the size of *_BOX. This makes more
14823 sense and avoids a crash with empty paragraphs.
14824 Use Painter::rectangle to draw EMPTY_BOX.
14826 2001-12-19 Juergen Vigna <jug@sad.it>
14828 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14829 the paragraphs if the replaced paragraph is not the first one!
14830 Tried to delete not used paragraphs but does not work yet so for
14831 now it's inside #ifdef's and by default off!
14833 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14835 * MenuBackend.C: include "lyx_main.h" instead of declaring
14836 lastfiles (actually was declared as LastFiles* instead of a
14839 2001-12-17 Juergen Vigna <jug@sad.it>
14841 * tabular.C (AppendColumn): applied John's fix
14843 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14847 * BufferView_pimpl.h:
14848 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14851 * box.h: new start of class for above
14853 * lyxfunc.C: ignore space-only minibuffer dispatches.
14854 Show the command name when it doesn't exist
14856 * minibuffer.C: don't add empty lines to the history
14858 * minibuffer.C: add a space on dropdown completion
14860 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14862 * text.C: fix line above/below drawing in insets
14864 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14866 * lyxlength.C (LyXLength): Initialize private variables.
14868 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14870 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14871 when inserting error insets.
14873 2001-12-13 Juergen Vigna <jug@sad.it>
14875 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14876 actually sometimes the before-paragraph.
14877 (setUndo): don't clear the redostack if we're not actually undoing!
14879 2001-12-06 Juergen Vigna <jug@sad.it>
14881 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14882 and fixed redoing of main paragraph, so we can use it now ;)
14884 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14886 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14888 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14891 2001-12-13 André Pönitz <poenitz@gmx.net>
14894 * undo_func.C: minor cleanup
14896 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14898 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14899 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14900 font in urw-fonts package which is marked as -urw-fontspecific and
14901 does not work (incidentally, changing the encoding in the
14902 fonts.dir of this package to -adobe-fontspecific fixes the
14905 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14906 is a crash when undoing first paragraph (Juergen, please take a
14907 look). THis does not mean the undo fix is wrong, just that it
14910 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14911 the (Paragraph*) version when needed instead of duplicating the
14914 * text.C (workWidth): use Inset::parOwner to find out where the
14915 inset has been inserted. This is a huge performance gain for large
14916 documents with lots of insets. If Inset::parOwner is not set, fall
14917 back on the brute force method
14919 * paragraph_pimpl.C (insertInset):
14920 * paragraph.C (Paragraph):
14921 (cutIntoMinibuffer): set parOwner of insets when
14922 inserting/removing them
14924 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14926 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14932 * mathed/formulabase.C:
14933 * mathed/math_cursor.[Ch]:
14934 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14937 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14939 * lyxlength.[Ch] (operator!=): new function
14941 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14943 * text.C (workWidth): use Inset::parOwner to find out where the
14944 inset has been inserted. This is a huge performance gain for large
14945 documents with lots of insets. If Inset::parOwner is not set, fall
14946 back on the brute force method
14948 * paragraph_pimpl.C (insertInset):
14949 * paragraph.C (Paragraph):
14950 (cutIntoMinibuffer): set parOwner of insets when
14951 inserting/removing them
14953 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14955 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14957 * tabular-old.C (getTokenValue):
14958 * tabular.C (getTokenValue):
14959 (write_attribute): new versions for LyXLength
14960 (everywhere): adjust the use of widths
14962 * tabular.h: change the type of widths from string to LyXLength
14964 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14966 * paragraph.C: fixed missing line number count when exporting
14967 Environments to LaTeX file
14969 * buffer.C: added informational message for checking line numbers.
14971 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14973 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14974 paragraph, do the 'double space' part, but not the 'empty
14977 * text.C (workWidth): small optimization
14978 (getLengthMarkerHeight): use minimal size for negative lengths.
14980 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14982 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14984 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14986 2001-12-11 André Pönitz <poenitz@gmx.net>
14989 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14991 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14993 * text2.C: keep selection on a setFont()
14995 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14997 * lyx_cb.C: another bv->text misuse, from insert label
14999 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15002 * kbsequence.C: re-instate nmodifier mask
15004 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15006 * lyx_main.h: make lyxGUI private.
15008 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15010 * lyxfind.C: place the cursor correctly on failed search
15012 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15014 * text.C (getLengthMarkerHeight): for small heights, the arrows
15015 are not always on top/bottom of the text
15016 (drawLengthMarker): smaller arrows; take the left margin in
15017 account; draw also vfills.
15019 (paintLastRow): remove special code for vfill and standard spaces,
15020 since everything is handled in drawLengthMarker now.
15022 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15024 * buffer.C (insertErtContents): try to handle font and language
15025 interaction a bit better.g
15027 * ColorHandler.C (updateColor): change the hash to cover the whole
15028 LColor enum, ws cleanup
15029 (getGCLinepars): ditto
15030 (getGCLinepars): only lookup in the linecache once.
15032 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15034 * iterators.C (operator++): Make the iterator more robust
15036 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15038 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15040 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15043 * text.C: better added space drawing
15045 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15048 * BufferView2.C: fix layout combo update on inset unlock
15050 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15052 * Makefile.am: don't compile unused files
15054 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15058 * LyXAction.C: remove old LFUN_LAYOUTNO
15060 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15062 * paragraph_pimpl.h:
15063 * paragraph_pimpl.C: isTextAt() doesn't need font param
15065 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15068 * lyxlex.C: little cleanup
15070 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15072 * BufferView_pimpl.C: fix insertAscii for insets
15074 2001-12-05 Juergen Vigna <jug@sad.it>
15076 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15077 set the right font on the "multi" paragraph paste!
15079 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15085 * lyxlength.C: remove out-commented code.
15087 * BufferView_pimpl:
15101 * vc-backend.C: change "while(" to "while ("
15103 * lyxlength.[Ch]: add zero function to check if length is zero or
15105 * lyxgluelength.C: use it
15107 2001-12-05 Allan Rae <rae@lyx.org>
15109 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15110 Works for 2.95.3, from what I understand of Garst's reports this should
15111 work for other g++ versions. We're screwed if the abs(int) definition
15112 changed between bugfix releases of gcc.
15114 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15116 * text.C: fix chapter label offset !
15118 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15121 * text.C: fix hfill at end of line, clean up
15123 2001-12-04 Juergen Vigna <jug@sad.it>
15125 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15126 that we force an update of the inset and it's owners if neccessary.
15128 2001-12-03 Juergen Vigna <jug@sad.it>
15130 * text.C (rowLast): simplified code
15132 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15134 * lyxfunc.C: fix show options on timeout
15136 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15138 * screen.C (topCursorVisible): scroll half a page when the cursor
15139 reached top of bottom of screen
15141 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15143 * minibuffer.C: deactivate on loss of focus
15145 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15147 * vspace.[Ch] (operator!=): add operator.
15149 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15151 * BufferView_pimpl.C: refuse to open an inset when
15152 there's a selection.
15154 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15156 * BufferView_pimpl.C: allow to click on RHS of full row insets
15158 2001-11-30 Juergen Vigna <jug@sad.it>
15160 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15161 insets for undo reasons.
15163 2001-11-28 André Pönitz <poenitz@gmx.net>
15165 * vspace.[Ch]: cosmetical changes
15167 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15177 * kbsequence.C: part re-write of old kb code
15180 * WorkArea.C: remove Lgb_bug_find_hack
15182 2001-11-30 José Matos <jamatos@fep.up.pt>
15184 * buffer.C (makeDocBookFile): add a comment to point a hack.
15185 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15186 Fixed a double write of labels.
15188 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15191 * LaTeX.h Fixed bug in LaTeX class where it would not
15192 re-run latex if no depfiles were changed, but the .dvi was removed.
15194 2001-11-28 André Pönitz <poenitz@gmx.net>
15196 * all the files from the change on 2001/11/26:
15197 use lyx::layout_type instead of LyXTextClass::size_type
15198 use lyx::textclass_type instead of LyXTextClassList::size_type
15200 2001-11-29 Juergen Vigna <jug@sad.it>
15202 * text.C: added support for paragraph::isFreeSpacing()
15204 * buffer.C: same as above
15206 * paragraph.h: inserted isFreeSpacing() function to enable
15207 FreeSpacing inside InsetERT.
15209 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15210 of the paragraph's in the cut/copy buffer to 0!
15212 * text2.C (removeRow): remove the assert as it can!
15214 * lyxtext.h: added helper function firstRow returning firstrow and
15215 made firstrow private again.
15217 * BufferView2.C (lockInset): don't relock if we're already locked!
15219 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15220 the only paragraph.
15221 (removeRow): added Assert::(firstrow)
15223 * debug.C: forgot to add INSETTEXT here.
15225 2001-11-28 Juergen Vigna <jug@sad.it>
15227 * sp_spell.C (initialize): changed error text to more general
15228 spellchecker command use (not only ispell!)
15230 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15232 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15234 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15236 * vspace.C: initialise lyxgluelength on failure
15238 2001-11-28 Allan Rae <rae@lyx.org>
15240 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15241 declaration & definition that looks like a function declaration.
15243 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15245 * BufferView2.C (copy):
15246 (copyEnvironment): do not clear the selection when doing a copy.
15248 * text.C (paintFirstRow): compilation fix
15250 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15252 * tabular.C (Latex): correct line count when writing latex.
15254 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15256 * paragraph_pimpl.h:
15257 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15260 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15264 * LColor.C: change vfillline->added_space
15266 * text.C: add markers and text for added space
15268 * vspace.C: fix comment
15270 2001-11-28 André Pönitz <poenitz@gmx.net>
15272 * paragraph.C: whitespace changes
15273 * all the other files from the change on 2001/11/26:
15274 change *::pos_type into lyx::pos_type
15276 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15278 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15279 language of the document when inserting error insets.
15281 2001-11-26 André Pönitz <poenitz@gmx.net>
15283 * BufferView_pimpl.[Ch]:
15291 * paragraph_pimpl.[Ch]:
15294 * text2.C: reduce header dependencies, introduce type for positions
15296 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15298 * <various>: change to use Alert.h
15300 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15302 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15303 when encountering an unknown token.
15304 (readLyXformat2): Show an error message if there were unknown tokens.
15306 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15309 * BufferView_pimpl.C:
15313 * text2.C: use par->isInset()
15315 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15317 * paragraph_pimpl.h:
15318 * paragraph_pimpl.C: cleanup
15320 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15322 * text2.C (removeRow):
15323 * text.C (setHeightOfRow): remove useless (and costly) call to
15326 2001-11-20 Allan Rae <rae@lyx.org>
15328 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15329 Now need Inset*::checkInsertChar() to return true for appropriate
15330 cases so that the characters in the minibuffer will actually be
15333 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15335 * text.C: change the order of the includes.
15336 (workWidth): initialize it at once.
15337 (workWidth): make maxw unsigned
15338 (setHeightOfRow): remove unused variable (inset)
15339 (selectSelectedWord): remove unused variable (inset)
15340 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15342 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15344 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15345 server is not running.
15347 (closeConnection): add debug info when server is disabled.
15349 * ColorHandler.C (getGCForeground): send debug message to GUI
15352 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15354 * kbmap.C (bind): modify because return conventions of
15355 kb_sequence::parse have changed.
15357 * kbsequence.C (parse): only ignore spaces and not any stupid
15358 control character. This avoids tests like s[i] <= ' ', which are
15359 guaranteed to fail with 8bit characters and signed chars.
15360 Change return code to string::npos when there have been no error
15361 (0 was a bad idea when error is at first character)
15363 2001-11-14 José Matos <jamatos@fep.up.pt>
15366 * buffer.C (simpleDocBookOnePar): removed unused argument.
15368 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15370 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15371 insets which are part of a word. Paragraph::isLetter takes care of
15372 that now. Use Paragraph::isInset to identify insets.
15373 (selectSelectedWord): do not test for hyphenation break.
15375 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15376 that protected spaces are considered as spaces.
15378 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15381 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15384 * lyxserver.C: fix it. and small cleanup.
15386 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15388 * BufferView_pimpl.C: use inline helpers
15391 * LaTeXFeatures.C: fix typos
15394 * Spacing.C: move spacing_string into class
15396 * ToolbarDefaults.C: move stuff into namespace anon
15398 * layout.h: update enum
15400 * lyxfunc.C: use better debug
15402 * minibuffer.h: fix typo
15406 * WorkArea.C: add and use Debug::WORKAREA
15410 * text2.C: code re-organisation, inline helpers
15412 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15414 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15415 std::vector.empty().
15417 2001-11-09 Allan Rae <rae@lyx.org>
15419 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15420 '\n's after tables. Tabular and ERT inset work now makes this no
15423 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15426 * minibuffer.C: fix crash, improve drop-down completion
15428 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15431 * lyxserver.C: invalidate fd's when doing endPipe()
15433 2001-11-08 José Matos <jamatos@fep.up.pt>
15435 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15436 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15439 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15441 2001-11-07 José Matos <jamatos@fep.up.pt>
15444 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15447 * buffer.C (sgmlOpenTag):
15448 * buffer.C (sgmlCloseTag): removed debug info.
15450 * buffer.h (sgmlOpenTag):
15451 * buffer.h (sgmlCloseTag): made public.
15453 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15455 * buffer.C (saveParamsAsDefaults):
15456 * lyx_cb.C (MenuLayoutSave): remove
15458 * LyXAction.C (init):
15460 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15462 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15464 * buffer.C (setPaperStuff): removed from here...
15466 * bufferparams.C (setPaperStuff): ... and moved there.
15468 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15472 * XFormsView.C: add support for drop-down completion
15474 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15476 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15479 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15481 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15484 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15486 * lyx_main.C: change ref to known bugs
15488 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15490 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15491 to work around older babel problems.
15493 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15495 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15497 2001-10-24 Juergen Vigna <jug@sad.it>
15499 * tabular-old.C (ReadOld): below variable changes reflected.
15501 * tabular.[Ch]: added ltType struct for longtable header/footer
15502 defines and changed all instances where they are used. Added
15503 future support for double top/bottom rows.
15505 2001-10-24 José Matos <jamatos@fep.up.pt>
15507 * buffer.h (docbookHandleCaption):
15508 * buffer.C (docbookHandleCaption): removed unused function.
15509 (makeDocBookFile): moved docbook supported version to v4.1.
15511 2001-10-24 José Matos <jamatos@fep.up.pt>
15514 * tabular.C (docbookRow): new function to export docbook code of a row.
15515 (DocBook): now honors the longtable flags.
15517 2001-10-23 José Matos <jamatos@fep.up.pt>
15520 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15521 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15523 * buffer.C (makeLinuxDocFile):
15524 (makeDocBookFile): reworked the preamble, more clean, and with
15525 support for lyx defined entities. Changed the document declaration
15526 to be more XML friendly.
15528 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15529 if we need to output XML that should be done with a filter.
15531 2001-10-22 Juergen Vigna <jug@sad.it>
15533 * sp_pspell.h (class PSpell): add alive function needed in the
15534 controller to see if the spellchecker could be started.
15536 2001-10-22 Juergen Vigna <jug@sad.it>
15538 * buffer.C (insertStringAsLines): modify the font for inserting
15539 chars in certain conditions by calling checkInsertChar(font).
15541 2001-10-19 Juergen Vigna <jug@sad.it>
15543 * text.C (workWidth): use getRow instead of wrong algorithm.
15544 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15546 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15551 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15553 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15555 * text.C (workWidth): do not search for the exact row when
15556 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15557 optimization for big documents.
15559 2001-10-18 Juergen Vigna <jug@sad.it>
15561 * text.C (workWidth): new function with added Inset * parameter.
15563 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15565 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15567 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15568 change return type of getColumnNearX.
15571 * text.C (changeRegionCase): use uppercase/lowercase instead of
15574 (rightMargin): simplify code by factoring out the uses of
15579 (appendParagraph): use Paragraph::size_type
15581 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15583 * vspace.C (asLatexString): add a missing break
15585 2001-10-15 Herbert Voss <voss@perce.de>
15587 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15589 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15591 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15594 2001-10-10 André Pönitz <poenitz@gmx.net>
15596 * lyxfunc.C: removed greek_kb_flag.
15598 2001-10-10 Herbert Voss <voss@perce.de>
15600 * lyx_main.C: delete global string help_lyxdir.
15602 2001-10-09 Herbert Voss <voss@perce.de>
15604 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15606 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15608 * lyx_main.C: added global string help_lyxdir.
15610 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15612 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15614 * lyxrc.C (set_font_norm_type): support iso8859-4
15616 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15618 * LaTeX.C (deplog): add another regex for MikTeX
15620 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15622 * lyxrc.C (set_font_norm_type): support iso8859-3
15624 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15626 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15628 * LaTeXFeatures.C: remove special case of french and index
15630 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15631 before \begin{document}). This solves several incompatibilities.
15633 2001-10-03 Garst Reese <reese@isn.net>
15635 * lyx_cb.C: change CheckTex error msg.
15637 2001-10-03 José Matos <jamatos@fep.up.pt>
15639 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15641 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15643 * .cvsignore: update
15645 * lyx_main.C (commandLineVersionInfo): use new style version info.
15647 * buffer.C (writeFile):
15649 (makeLinuxDocFile):
15650 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15652 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15654 * version.h: update to use stuff in version.C
15656 * version.C.in: new file. Contains version information determined
15657 at compile time. This is a merging of version.h and
15660 2001-10-03 Juergen Vigna <jug@sad.it>
15662 * BufferView_pimpl.C (update): don't change "dirty" status in
15665 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15667 * WorkArea.C (c-tor): re-position version string slightly.
15669 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15671 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15672 revert to previous code.
15674 WorkArea.[Ch]: (show, destroySplash): methods removed.
15676 WorkArea.C: rework code so that it's an amalgam of the codes before and
15677 after the splash screen was moved to WorkArea.
15679 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15682 * vspace.C (inPixels):
15685 * buffer.C (insertStringAsLines):
15686 (asciiParagraph): fix types to be large enough
15688 * lyxlex_pimpl.h: change member status from short to int
15690 * layout.h: fix type of endlabeltype
15693 * kbsequence.C (parse): change return type to string::size_type
15695 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15698 * Bullet.C (bulletSize):
15699 (bulletEntry): do not use short ints as parameters
15701 * BufferView2.C (insertLyXFile): change a char to an int.
15703 * WorkArea.C (WorkArea): remove unneeded floats in computation
15705 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15707 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15709 * paragraph.C (asString): Do not ignore newline/hfill chars when
15710 copying to the clipboard.
15712 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15714 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15715 after a multi-line inset.
15717 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15719 * paragraph.C (validate): Set NeedLyXFootnoteCode
15721 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15723 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15724 and decrease-error to decrease.
15726 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15728 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15729 it more readable (should be equivalent)
15731 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15733 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15735 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15737 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15738 of a cursor (row, etc.) after a character has been deleted
15739 (deleteEmptyParagraphMechanism): call the method above on _all_
15740 cursors held by the LyXText when a double space has been
15743 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15745 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15747 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15749 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15750 background. Use greyOut() and the new show() methods to toggle between
15751 the foreground and background. Add code to remove the splash after
15752 its initial showing.
15754 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15755 (create_forms): no longer call Dialogs::showSplash.
15757 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15759 * .cvsignore: add version_info.h
15761 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15763 * version_info.h.in: new file
15765 * Makefile.am: add version_info.h.in
15767 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15768 version_info.h instead of VERSION_INFO
15770 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15772 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15773 The ERT inset now returns string().
15775 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15777 * lyxtext.h, text.C (selectNextWord): renamed as
15778 selectNextWordToSpellcheck.
15780 * text.C (selectNextWordToSpellcheck): Modified to not select
15781 words inside an ERT inset.
15783 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15785 * lyx_cb.C (MenuLayoutSave): change a bit the question
15787 * sp_base.h: include <sys/types.h>
15789 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15791 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15793 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15795 * several files: fix typos in user-visible strings
15797 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15799 * text2.C (pasteSelection): do not set the selection, since it
15800 will be cleared later. Actually, the intent was to fix the way the
15801 selection was set, but I figured rmoving the code was just as good.
15803 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15805 * FontLoader.C (available): Check if font is available without
15808 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15810 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15812 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15814 * lyxrc.[Ch]: added display_graphics variable and associated code.
15816 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15818 * bufferparams.C (hasClassDefaults): new method. Returns true if
15819 the buffer parameters correspond to known class defaults
15821 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15823 * XFormsView.C (show): set minimum size to the main window.
15825 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15827 * text2.C (copySelection):
15829 * lyxfind.C (LyXReplace):
15830 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15831 LyXText::selectionAsString.
15833 * paragraph.C (asString): add "label" argument to the second form
15835 * text2.C (selectionAsString): add "label" argument and pass it to
15836 Paragraph::asString.
15838 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15840 * lyx_main.C (commandLineHelp): remove version information
15842 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15844 * lyx_main.C: add -version commandline option
15846 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15848 * paragraph.h: make the optional constructor arg required instead.
15849 some modifications to other files because of this.
15851 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15853 * lyxserver.C (C_LyXComm_callback): make it static
15855 * lyx_main.C (error_handler): make it static
15857 * lyx_gui.C (LyX_XErrHandler): make it static
15859 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15861 * WorkArea.C: make the extern "C" methods static.
15863 * Makefile.am (lyx_LDADD): simplify
15865 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15867 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15868 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15870 * LyXAction.C (init):
15871 * lyxfunc.C (dispatch): associated code removal.
15873 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15875 * lyxfont.h (isSymbolFont): shut off warning
15877 * text.C (setHeightOfRow):
15878 (getVisibleRow): fix crash with empty paragraphs which have a
15881 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15883 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15886 2001-09-04 José Matos <jamatos@fep.up.pt>
15889 * tabular.C (docbook): rename docBook method to docbook.
15891 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15893 * Makefile.am: add dependencies to main.o.
15895 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15897 * FontLoader.C (available): Return false if !lyxrc.use_gui
15899 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15901 * FontInfo.C (query):
15902 * converter.C (view):
15903 * importer.C (Import):
15904 * exporter.C (Export): Can not -> cannot.
15906 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15908 * BufferView_pimpl.C: allow to create index inset even if
15911 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15913 * buffer.C (getLists): replace boost::tie code with an explicit pair
15914 as boost::tie can break some compilers.
15916 * iterators.h: Added a std:: declaration to the return type of
15919 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15921 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15924 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15926 * iterators.[Ch]: New files. Provide paragraph iterators.
15928 * buffer.C (changeLanguage): Use paragraph iterators.
15929 (isMultiLingual): ditto
15931 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15933 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15935 * FontLoader.C: Support for cmr font.
15937 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15939 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15940 (available): New method.
15942 * FontInfo.C (getFontname): Use scalable fonts even when
15943 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15946 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15948 * converter.C (Formats::view): reverted! Incorrect fix.
15950 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15952 * converter.C (Formats::view): only output the -paper option
15953 if the dvi viewer is xdvi, thereby fixing bug #233429.
15955 2001-08-23 Herbert Voss <voss@perce>
15957 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15959 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15961 * Spacing.h (Spacing): Set space to Default on in the default
15964 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15966 * vc-backend.h (RCS::versionString): add RCS to version
15967 (CVS::versionString): add CVS to version
15969 * vc-backend.C (scanMaster): do not add CVS to version.
15970 (scanMaster): do not add RCS to version
15972 * lyxvc.C (versionString): new method
15974 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15976 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15978 * Spacing.C (set): initialize fval
15980 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15982 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15985 2001-08-16 Juergen Vigna <jug@sad.it>
15987 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15989 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15991 * BufferView_pimpl.C:
15994 * text2.C: setParagraph takes linespacing now
15996 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15998 * LyxAction.C: add internal LFUN_CITATION_INSERT
16000 * LyXView.C: actually apply fix
16002 * bufferlist.C: fix open non-existent file
16004 * lyxfind.C: fix indentation
16006 * lyxfunc.C: remove unneeded assert, fix typo
16008 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16010 * MenuBackend.C: use "Floatname List"
16012 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16014 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16015 when converting LaTeX layout to insetERT.
16016 Generate a non-collapsed float when reading old float
16018 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16020 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16023 2001-08-13 Juergen Vigna <jug@sad.it>
16025 * text.C (fill): return 0 instead of 20 as this seems to be the more
16028 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16030 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16033 2001-08-13 Juergen Vigna <jug@sad.it>
16035 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16037 (SearchBackward): comment out the unlocking of the inset_owner this
16038 should not be needed!
16040 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16042 * Many files: Remove inherit_language, and add latex_language
16044 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16045 collapsible insets.
16047 2001-08-10 Juergen Vigna <jug@sad.it>
16049 * text.C (prepareToPrint): fixed hfill-width in draw!
16051 * BufferView2.C (selectLastWord): save the selection cursor as this
16052 now is cleared in the function LyXText::clearSelection!
16054 2001-08-08 Juergen Vigna <jug@sad.it>
16056 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16057 BACKSPACE type functions.
16059 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16060 is only cutted from the document but not put in the cut-buffer, where
16061 still the old stuff should be.
16063 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16065 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16067 * tabular.C (SetWidthOfCell): fixed special case where the width
16069 (LeftLine): handle '|' in align_special.
16071 (LeftAlreadyDrawed): ditto
16072 (SetWidthOfCell): ditto
16074 2001-08-07 Juergen Vigna <jug@sad.it>
16076 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16078 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16080 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16081 * lyxlex.[hC]: ditto
16083 2001-08-06 Juergen Vigna <jug@sad.it>
16085 * text.C (getVisibleRow): fix up row clearing a bit.
16087 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16089 * minibuffer.C: make sure the X server sees the changes in the input.
16091 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16093 * paragraph.C (getFont): split into...
16094 (getLabelFont): this
16095 (getLayoutFont): and this
16096 * paragraph_pimpl.C (realizeFont): calling this
16098 * text2.C (getFont): split into...
16099 (getLayoutFont): this
16100 (getLabelFont): and this
16101 (realizeFont): all three calling this
16103 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16106 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16108 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16110 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16112 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16113 layouts from the Quote inset insertion.
16115 2001-08-03 Juergen Vigna <jug@sad.it>
16117 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16119 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16120 only if status not is already CHANGED_IN_DRAW (second level).
16122 * text.C (draw): don't set the need_break_row when inside an
16125 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16127 * buffer.C (parseSingleLyXformat2Token): handle more latex
16130 * bufferview_funcs.[hC]: change function names to
16131 begin with small char, adjust other files.
16133 2001-08-02 André Pönitz <poenitz@gmx.net>
16136 BufferView_pimpl.C: remove broken special code for math-greek
16138 2001-08-02 Juergen Vigna <jug@sad.it>
16140 * BufferView_pimpl.C (update): redone this function so that we
16141 update the text again if there was a CHANGE_IN_DRAW.
16143 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16144 (drawFromTo): added a new internal bool which is used by draw() and
16146 (general): some cursor drawing problems fixed.
16148 2001-08-01 Juergen Vigna <jug@sad.it>
16150 * lyxfind.C (LyXFind): fixed
16151 (SearchForward): ditto
16152 (SearchBackward): ditto
16154 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16155 spurius drawing of the cursor in the main area.
16157 * text2.C (status): small fix which could lead to a segfault!
16158 (clearSelection): remove unneeded BufferView param.
16160 2001-08-01 André Pönitz <poenitz@gmx.net>
16162 * lyxfunc.C: small change due to changed mathed interface
16164 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16166 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16168 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16170 * lyxfunc.c: fail gracefully if file doesn't exist
16175 * BufferView_pimpl.C: IsDirWriteable() proto changed
16177 * LyXView.C: fix updateWindowTitle() to store the last title
16179 2001-07-31 Juergen Vigna <jug@sad.it>
16181 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16182 the font (wrong since using of Paragraph::highestFontInRange).
16184 * paragraph.C (highestFontInRange): added a default_size parameter.
16186 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16187 (setHeightOfRow): reformat
16189 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16191 * converter.[hC] + affected files: move to (inital-char)lowercase
16194 * ParagraphParameters.C (ParagraphParameters): remove commented code
16196 * PainterBase.[Ch]: remove commented code
16198 * LaTeXFeatures.h: add "bool floats" for float.sty
16200 * LaTeXFeatures.C (LaTeXFeatures): init floats
16201 (require): handle float
16202 (getPackages): do it with floats
16204 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16206 * BufferView_pimpl.C (Dispatch): improve handling of
16207 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16209 * commandtags.h: #include lyxfont.h here temporarily to avoid
16212 * bufferlist.h: include LString.h here.
16214 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16216 * text2.C (getStringToIndex): new method.
16218 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16220 * *: Reduced header file dependencies all over.
16222 2001-07-30 Baruch Even <baruch@lyx.org>
16224 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16226 2001-07-29 Baruch Even <baruch@lyx.org>
16228 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16230 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16232 * ParameterStruct.h (endif): add a default constructor to make
16233 sure that all variables is initialized.
16235 * ParagraphParameters.C (ParagraphParameters): adjust
16237 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16239 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16240 index; also, check that there is something to index, and that it
16241 does not span over several paragraphs.
16242 (doubleClick): use WHOLE_WORD_STRICT for double click.
16244 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16246 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16249 2001-07-26 Baruch Even <baruch@lyx.org>
16251 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16252 an InsetFig figure, backwards compatible reading of old figure code.
16254 2001-07-27 Juergen Vigna <jug@sad.it>
16256 * text2.C: font.realize function adaption.
16258 * text.C (draw): add a warnings lyxerr text if needed.
16260 * layout.C: font.realize function adaption.
16262 * language.C: add inherit_language and implement it's handlings
16264 * bufferview_funcs.C (StyleReset): remove language parameter from
16265 font creation (should be language_inherit now).
16267 * bufferparams.C (writeFile): handle ignore_language.
16269 * paragraph.C (getFontSettings): the language has to be resolved
16270 otherwise we have problems in LyXFont!
16272 * lyxfont.C (lyxWriteChanges): added document_language parameter
16273 (update): removed unneeded language parameter
16275 * paragraph.C (validate): fixed wrong output of color-package when
16276 using interface colors for certain fonts in certain environments,
16277 which should not seen as that on the final output.
16279 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16281 * BufferView_pimpl.C:
16286 * LyXAction.C: add thesaurus support
16289 * lyxfind.C: add "once" parameter, for thesaurus, to not
16290 move to the next match
16292 2001-07-26 Juergen Vigna <jug@sad.it>
16294 * lyxfont.C (realize): honor ignore_language too!
16297 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16299 * text.C (draw): one place more for ignore_language to not draw
16302 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16304 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16306 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16308 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16309 the minipage conversion problem.
16311 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16313 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16316 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16318 * BufferView.h: don't forward declare WorkArea
16320 * BufferView.C: don't include WorkArea.h
16322 2001-07-25 André Pönitz <poenitz@gmx.net>
16326 * lyxfunc.C: new LFUN 'math-space'
16328 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16330 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16332 * text2.C (toggleInset): call open/close
16334 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16336 * lyxfunc.C (dispatch): add debug for the disabled case
16338 * font.C (buttonText): make similar to rectText
16340 * buffer.C (readInset): comment out parsing of insetlist and
16343 * PainterBase.C (rectText): small correction
16345 * BufferView_pimpl.C: comment out insettheorem and insetlist
16346 * LyXAction.C: ditto
16347 * commandtags.h: ditto
16349 2001-07-24 Juergen Vigna <jug@sad.it>
16351 * text.C (draw): honor the ignore_language.
16353 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16355 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16357 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16360 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16362 * lyxtext.h: remove unused (and unimplemented) methods
16364 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16366 * text.C (getVisibleRow): honor background color
16369 * Painter.h: remove default color argument for fillRectangle
16371 * text.C (backgroundColor): new method
16373 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16375 * text.C (getVisibleRow): adjust
16377 * font.[Ch] (rectText): new method, metrics
16378 (buttonText): new method, metrics
16380 * PainterBase.[hC]: make rectText and buttonText always draw and take
16383 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16385 * ToolbarDefaults.C (read):
16386 * MenuBackend.C (read): allow escaping in all strings
16388 * BufferView_pimpl.C (insertAndEditInset): new method.
16389 (Dispatch): use insertAndEditInset whenever appropriate.
16391 * BufferView_pimpl.C (insertNote): removed
16393 * BufferView_pimpl.C (smartQuote): new method, moved from
16394 BufferView; if an insetquote cannot be inserted, insert a '"'
16397 * BufferView2.C: remove insertCorrectQuote();
16399 * lyxfunc.C (getStatus): Add support for all remaingin
16400 inset-insert lfuns.
16402 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16404 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16405 command (necessary to pass " as parameter of self-insert.
16407 * text.C (selectWordWhenUnderCursor):
16408 (selectWord): add word_location parameter
16409 (selectWordWhenUnderCursor): same + remove special code for word
16411 (selectNextWord): use kind() to guess type of insetspecialchar,
16414 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16415 (insertErtContents): create ert insets as collapsed.
16416 (readInset): better compatibility code for Info inset.
16418 2001-07-20 Juergen Vigna <jug@sad.it>
16420 * lyxfunc.C (dispatch): use always LyXFind now!
16422 * text2.C (init): add a reinit flag so that the LyXText can be
16423 reinited instead of deleted and reallocated (used in InsetText).
16425 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16431 2001-07-18 Juergen Vigna <jug@sad.it>
16433 * text.C (selectNextWord): handle insets inside inset by calling
16434 always the bv->text functions so that we can go up the_locking_inset!
16436 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16437 in strange locations when inside an inset!
16439 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16440 handling to include insets.
16442 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16444 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16446 * LyXAction.C (init):
16448 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16449 LIGATURE_BREAK, since the name is so stupid.
16451 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16453 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16456 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16458 * sp_form.[Ch]: remove.
16460 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16462 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16465 * src/buffer.C (readInset): ditto.
16467 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16469 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16470 menuSeparator(), endOfSentenceDot(), ldots() and
16471 hyphenationPoint(), which are therefore removed.
16472 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16474 * LyXAction.C (init):
16475 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16477 * paragraph.C (getWord): removed.
16479 * BufferView_pimpl.C (Dispatch): use last word or selection for
16480 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16482 * lyx_main.C (queryUserLyXDir): do not ask before creating
16483 user_dir, except if it has been named explicitely.
16485 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16487 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16488 a document of zero size.
16490 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16492 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16493 approriately in the c-tor and in require().
16494 (getPackages): output the appropriate LaTeX for natbib support.
16496 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16497 variables "use_natbib" and "use_numerical_citations" when reading the
16499 (readInset): read the various natbib cite commands.
16500 (validate): white-space change.
16502 * bufferparams.[Ch]: new variables "bool use_natbib" and
16503 "bool use_numerical_citations".
16504 (writeFile): output them in the LyX file.
16506 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16508 * lyxfunc.C (getStatus): add support for all the inset insertion
16511 * text2.C (insertInset):
16512 * paragraph.C (insetAllowed):
16513 * BufferView_pimpl.C (insertInset): update to take in account the
16514 renaming of insertInsetAllowed
16516 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16518 * text2.C (getInset): new method. returns inset at cursor position.
16520 * BufferView_pimpl.C (Dispatch): changes because of this.
16522 * LyXAction.C (init): rename open-stuff to inset-toggle.
16524 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16526 * text2.C (toggleInset): renamed from openStuff; use
16529 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16531 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16533 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16535 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16537 * buffer.C (readLyXformat2): Add filename to the error dialog
16539 2001-07-18 Juergen Vigna <jug@sad.it>
16541 * tabular.C (GetCellNumber): put an assert here instead of the check!
16543 2001-07-17 Juergen Vigna <jug@sad.it>
16545 * BufferView_pimpl.C (toggleSelection): adapted too.
16547 * text.C (selectNextWord): adapted for use with insets.
16548 (selectSelectedWord): ditto
16550 2001-07-17 Juergen Vigna <jug@sad.it>
16552 * sp_spell.C (PSpell): fix initialitation order.
16554 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16556 * paragraph.C: spacing
16558 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16560 * sp_spell.C: repair language selection for pspell
16562 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16564 * lyxfunc.h: change more methods to begin with lower char.
16566 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16568 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16569 for unknown layouts.
16571 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16573 * buffer.C (readLyXformat2): Generate an error dialog if there are
16576 2001-07-16 Juergen Vigna <jug@sad.it>
16578 * sp_spell.C: always compile ISpell part.
16580 * lyxrc.C: added use_pspell entry and it's handling.
16582 2001-07-13 Juergen Vigna <jug@sad.it>
16584 * sp_spell.C: removed double includes.
16586 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16588 Consistent use of Lsstream.h:
16589 * Lsstream.h: added using std::stringstream for consistencies sake.
16591 * buffer.C: removed using std::stringstream
16593 * lyxfont.C (stateText):
16594 * paragraph.C (asString):
16595 * text.C (selectNextWord, selectSelectedWord):
16596 * text2.C (setCounter):
16597 * vspace.C (asString, asLatexString):
16598 std::ostringstream -> ostringstream.
16600 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16602 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16603 * commandtags.h: add LFUN_HELP_ABOUTLYX
16604 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16606 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16608 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16610 * lyx_gui_misc.C: remove spellchecker
16611 * lyxfunc.C: showSpellchecker
16613 * sp_ispell.h: added
16614 * sp_pspell.h: added
16615 * sp_spell.C: added
16616 * sp_form.[Ch]: removed
16617 * spellchecker.[Ch]: removed
16619 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16621 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16623 (simpleTeXSpecialChars): Simply print the input character without
16624 any special translation if pass_thru is set.
16626 * layout.h: Added bool pass_thru to layout class for being able to
16627 implement pass through of a paragraph for Literate Programming.
16629 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16630 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16631 * layout.C (Read): add "passthru" to list of layout tags and add
16632 code to set the pass_thru boolean when it is read.
16634 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16636 * trans_decl.h: remove allowed from KmodInfo
16638 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16639 remove allowed code
16642 * paragraph_pimpl.C (erase): use boost::prior
16644 * Painter.C (text): use data() instead of c_str() when length is
16646 * WorkArea.C (putClipboard): ditto
16647 * font.h (width): ditto
16649 * BufferView2.C: use it-> instead of (*it). for iterators
16651 * paragraph_pimpl.C: ditto
16652 * paragraph.C: ditto
16653 * minibuffer.C: ditto
16654 * language.C: ditto
16656 * encoding.C: ditto
16657 * counters.C: ditto
16658 * converter.C: ditto
16660 * Variables.C: ditto
16661 * TextCache.C: ditto
16662 * MenuBackend.C: ditto
16663 * LyXAction.C: ditto
16665 * FloatList.C: ditto
16666 * DepTable.C: ditto
16667 * ColorHandler.C (LyXColorHandler): ditto
16669 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16671 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16673 * text2.C (openStuff): reintroduce this method (which had been
16674 nuked in NEW_INSETS frenzy).
16676 * lyxfunc.C (Dispatch): when an action has not been handled, use
16677 its name in the error message, not its number.
16679 * paragraph.C (inInset): change method name to begin with lowercase.
16682 * text2.C: updates because of this.
16684 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16686 * ToolbarDefaults.C (add): add spaces in error message
16688 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16690 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16691 (readLyXformat2): rename return_par to first_par, use lyxlex's
16692 pushToken and remove the manual push handling.
16693 (parseSingleLyXformat2Token): add another ert comp. variable:
16694 in_tabular, rename return_par to first_par. handle newlines better
16696 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16698 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16700 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16702 * text2.C (getParFromID): removed
16704 * buffer.C (getParFromID): new method moved form lyxtext.
16705 * BufferView2.C (insertErrors): adjust
16706 (setCursorFromRow): adjust
16707 * BufferView_pimpl.C (restorePosition): adjust
16708 * lyxfunc.C (Dispatch): adjust
16709 * undo_funcs.C (textUndo): adjust
16711 (textHandleUndo): adjust
16712 (textHandleUndo): adjust
16714 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16716 * buffer.C: up' the LYX_FORMAT
16718 * lyxfont.h: turn NO_LATEX on as default
16720 * buffer.C (insertErtContents): new methods of tex style compability.
16721 (parseSingleLyXformat2Token): use it several places.
16722 * tabular.C (OldFormatRead): and here
16724 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16726 * text2.C: remove some commented code.
16729 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16730 * trans.C: changes because of the above.
16732 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16734 * text2.C (setCounter): Fix counters bug with bibliography layout.
16736 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16738 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16739 own member functions
16740 (simpleTeXSpecialChars): ditto
16742 2001-07-06 Juergen Vigna <jug@sad.it>
16744 * a lot of files: changed the access to LyXText::status and the
16745 call of undo-functions.
16747 * undo.[Ch]: added a inset_id to the undo informations.
16749 * undo_funcs.[Ch]: added and moved here all undo functions.
16751 * lyxtext.h: give the status enum a weight, made status_ a private
16752 variable and made accessor functions for it, removed the whole bunch
16753 of undo-functions as they are now in their own file, make some
16754 functions publically available. Added function ownerParagraph with
16757 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16758 made InInset() a const function, added getParFromID() function.
16760 * buffer.[Ch]: added const version for inset_iterator functions,
16761 added getInsetFromID() function.
16763 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16764 changed undo functions for new version.
16766 2001-07-05 Juergen Vigna <jug@sad.it>
16768 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16769 unknow mechanism does not call the proper constructor but only this
16770 one also if I request the other!?
16772 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16774 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16776 * text2.C (LyXText): use initialization lists.
16778 * lyxtext.h (Selection): initialize set_ and mark_
16779 (init): remove method
16781 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16783 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16785 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16787 * screen.[Ch]: change method names to begin with lowercase
16789 * BufferView_pimpl.C (updateScrollbar): simplify further and
16790 hopefully make it a bit faster.
16792 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16794 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16795 calling directly xforms functions.
16797 * Painter.C (Painter):
16798 * lyx_cb.C (MenuWrite):
16799 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16802 * lyx_gui.C: remove bogus guiruntime extern declaration.
16804 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16806 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16808 (redoDrawingOfParagraph): ditto
16809 (redoParagraphs): ditto
16810 (cutSelection): don't create a object for CutAndPaste use the
16811 static method directly
16812 (pasteSelection): ditto
16814 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16817 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16819 * modifications to some other files because of this.
16821 * Makefile.am (lyx_SOURCES): add XFormsView
16823 * XFormsView.[Ch]: new files
16825 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16826 the main window. Move the gui dependent stuff to XFormsView
16828 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16830 * tabular.C (GetCellInset): update cur_cell also in the row/col
16831 version of this function.
16833 * lyxfunc.C: no need to include figure_form.h here.
16839 * lyxvc.C: no need to include forms.h here.
16841 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16843 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16845 * lyxfunc.C (Dispatch):
16847 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16848 constructor argument.
16850 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16852 * paragraph.C (Paragraph): dont't clear, and just set layout.
16853 (makeSameLayout): use params's copy contructor.
16855 * ParagraphParameters.[Ch] (makeSame): delete method
16857 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16859 * Variables.[Ch]: fix indentation, rename set to isSet
16861 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16863 * lyxfunc.C (Dispatch): fix typo
16865 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16867 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16870 * bufferlist.C: include assert.h for emergencyWrite().
16872 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16874 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16875 give up at last (bug #425202) !
16877 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16883 * spellchecker.C: strip spellchecker options and bring up
16884 preferences tab instead
16886 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16888 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16889 the istringstream constructor
16891 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16893 * paragraph.C (getLayout): fix return value
16895 * paragraph.h: do not declare getLayout as inline.
16897 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16899 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16901 * lyxcursor.h (operator<): new func
16902 (operator>): new func
16903 (operator>=): new func
16904 (operator<=): new func
16906 * text.C (changeCase): use selection.start and selection.end
16907 (changeRegionCase): require from to be <= to. Require par to be a
16910 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16912 2001-06-27 Juergen Vigna <jug@sad.it>
16914 * text.C (cursorLeftOneWord): changed to return the cursor and added
16915 overlay with BufferView * parameter which calls this one.
16917 (selectWord): use new getWord function.
16918 (changeCase): renamed from changeWordCase as and extended to work
16919 also on selections.
16921 * lyxtext.h: added enum word_location
16923 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16924 changeCase as this operates now also on selections.
16926 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16928 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16930 * many files: send debug output to Debug::INFO instead of
16933 * converter.C (View):
16935 (Move): send debug output to Debug::FILES instead of console.
16937 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16939 * lyxfunc.C (getStatus): use func_status
16941 * func_status.h: new header, describing the results of
16942 LyXFunc::getStatus;
16944 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16947 2001-06-25 The LyX Project <jug@sad.it>
16949 * buffer.C (sgmlOpenTag):
16951 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16953 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16955 * text2.C: remove some dead code
16957 * tabular.C (GetCellInset): store the last cell checked (gotten)
16959 * tabular.h: add the helper for the speedup
16961 * lyxtext.h: remove some dead code
16963 2001-06-26 The LyX Project <Asger>
16965 * paragraph.C: Change export to LaTeX of alignment to
16966 \begin{center} and family for better roundtrip work with reLyX.
16968 * Tune the math drawing a bit.
16970 2001-06-25 The LyX Project <Asger>
16972 * LColor.C (LColor): New color for math background. New color
16975 2001-06-25 The LyX Project <jug@sad.it>
16977 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16979 * lyxfunc.C (Open):
16980 * bufferlist.C (newFile): do not restrict to files ending with
16983 * BufferView_pimpl.C (MenuInsertLyXFile):
16985 2001-06-24 The LyX Project <jug@sad.it>
16987 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16990 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16992 * lyxtext.h: rename most methods to begin with a small char.
16993 Lots of changes because of this.
16995 * paragraph.C (Paragraph): do not call fitToSize
16996 (erase): call Pimpl::erase
16997 (insertChar): call Pimpl::insertChar
16998 (insertInset): call Pipl::insertInset
16999 (breakParagraph): do not call fitToSize
17000 (breakParagraphConservative): do not call fitToSize
17001 (fitToSize): remove method
17003 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17005 2001-06-24 The LyX Project <Asger>
17007 * Fix Qt compilation^2
17009 2001-06-24 The LyX Project <jug@sad.it>
17011 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17012 depthHook(getDepth()-1).
17015 * ParagraphParameters.h:
17016 * ParameterStruct.h: change type of depth to unsigned int ==
17017 depth_type. Many adaptations to other files before of that.
17019 2001-06-24 The LyX Project <Asger>
17021 * Fix Qt compilation.
17023 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17025 * paragraph.h: renamed several methods to begin with small letter.
17026 several changes to many parts of the code because of this.
17028 2001-06-23 The LyX Project <jug@sad.it>
17030 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17031 rewritten to discard all double spaces when KeepEmpty is off
17032 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17033 to only handle newlines but not fiddle with spaces and friends.
17035 * lyxfunc.C (MenuNew): when doing 'new from template', use
17036 template_path as default directory
17038 2001-06-23 The LyX Project <Asger>
17040 * Clean-up of header file includes all over
17041 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17043 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17045 * paragraph.h: renamed from lyxparagraph.h
17047 2001-06-23 Asger <lyx@violet.home.sad.it>
17049 * Buffer.h: Removed Buffer::resize
17050 * BufferList.h: Removed BufferList::resize
17051 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17052 the document lazily when we change the width, or the font settings.
17054 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17056 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17058 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17060 * buffer.h: remove out of date comment
17062 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17065 * screen.C: fix "theoretical" GC leak
17067 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17069 * LaTeX.C (scanAuxFile):
17070 (deplog): remove trailing \r when reading stream (useful under
17073 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17075 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17076 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17077 and BufferView::theLockingInset(Inset*), so should use them and not
17078 access bv_->text->the_locking_inset directly.
17080 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17082 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17085 * tex-defs.h: remove old unused file
17087 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17089 * BufferView_pimpl.C: fix typo, remove minibuffer message
17090 when buffer has loaded
17092 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17094 * lyxfunc.C (Dispatch): use stringstream
17095 (MenuNew): use stringstream
17096 (Open): use stringstream
17098 * importer.C (Import): use stringstream
17100 * bufferview_funcs.C (CurrentState): use stringstream
17102 * LaTeX.C (run): use stringstream
17104 * BufferView_pimpl.C (savePosition): use stringstream
17105 (restorePosition): use stringstream
17106 (MenuInsertLyXFile): use stringstream
17108 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17121 * vspace.C: removed // -*- C++ -*- as first line.
17124 * version.h: added // -*- C++ -*- as first line.
17126 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17128 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17130 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17133 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17135 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17138 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17140 * gettext.C: include LString.h even when --disable-nls is on.
17142 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17144 * converter.h (Get): changed argument type from int to
17145 FormatList::size_type to avoid unnecessary conversion.
17147 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17150 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17152 * gettext.h: include LString.h even when --disable-nls is on.
17154 2001-06-07 Juergen Vigna <jug@sad.it>
17156 * text.C (BreakAgain): subst spaces with tabs.
17158 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17159 (resizeInsetsLyXText): set force on resizeLyXText.
17161 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17163 * gettext.h (gettext_init):
17164 (locale_init): use a real definition instead of a macro
17166 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17168 * Bufferview_pimpl.C:
17170 * LColor.C: further lcolor tidies
17172 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17174 * BufferView_pimpl.C (updateScrollbar): simplify.
17176 * BufferView2.C: don't include insets/insetinfo.h, change
17177 prototype for insertInset and call the Pimpl version. let
17178 updateInset call Pimpl version.
17180 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17181 gotoInset to BufferView::Pimpl
17183 2001-06-01 Juergen Vigna <jug@sad.it>
17185 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17186 inside a LockingInset (is the update needed at all?).
17188 2001-05-31 Juergen Vigna <jug@sad.it>
17190 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17191 here not the old one otherwise how should we compare it afterwards
17194 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17199 * FontInfo.C: bring C functions into global namespace when
17202 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17204 * LString.h: make sure config.h has been loaded before LString.h.
17206 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17207 (one for each char read by EatLine!).
17209 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17212 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17214 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17215 to the same as the par we break from
17217 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17219 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17221 * MenuBackend.C (expand): also create menu entries for wide
17222 versions of the floats.
17224 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17226 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17228 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17229 frontends/Makefile.am
17235 * tabular.C (getTokenValue): add std::
17237 * tabular-old.C (getTokenValue): add std::
17238 (getTokenValue): ditto
17239 (getTokenValue): ditto
17241 * screen.C (ToggleSelection): adjust
17243 * lyxtext.h: put selection cursors inside a Selection struct.
17245 * lyxfunc.C (moveCursorUpdate): adjust
17247 * lyxfont.C (latexWriteStartChanges): add std::
17249 * lyxfind.C: adjust
17251 * font.h: delete with(char const *, LyXFont const &)
17253 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17255 * FontInfo.C (getFontname): add std::
17257 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17258 (workAreaButtonPress): adjust
17259 (tripleClick): adjust
17261 (moveCursorUpdate): adjust
17264 * BufferView2.C (gotoInset): adjust
17266 2001-05-30 Juergen Vigna <jug@sad.it>
17268 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17269 to check pspell I add this as default as I now have new pspell
17270 libraries and they seem to use this.
17272 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17274 * text2.C (CutSelection): make the cursor valid before the call to
17277 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17279 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17280 relied on 0 terminated strings and other horrors. Bug found due to
17281 the new assert in lyxstring!
17283 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17286 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17288 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17291 * lyxfunc.C (processKeySym): change method of getting to the
17294 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17295 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17296 * BufferView_pimpl.[Ch]: here as private methods.
17298 2001-05-28 Juergen Vigna <jug@sad.it>
17300 * text.C (SetHeightOfRow): added the update() call again as it is
17301 needed to initialize inset dimensions!
17303 2001-05-16 Juergen Vigna <jug@sad.it>
17305 * text2.C (SetCharFont): Add new function with BufferView * and
17306 bool toggleall parameters for setting insets internal fonts.
17307 (SetFont): Freeze the undo as we may change fonts in Insets and
17308 all this change should be inside only one Undo!
17310 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17311 setting font's in insets as for them we have the SetFont function!
17313 2001-05-15 Juergen Vigna <jug@sad.it>
17315 * text2.C (ClearSelection): to be sure we REALLY don't have any
17318 * tabular.C (TeXCellPreamble): fixed the left border problem for
17321 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17323 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17326 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17328 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17329 LFUN_BREAKPARAGRAPH.
17331 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17332 help test to "internal only", similar for LFUN_INSERT_URL
17334 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17335 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17336 auto_region_delete and deadkeys.
17338 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17341 * LColor.C: remove some dead entries, tidy a little
17343 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17345 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17347 (Dispatch): implement LFUN_ESCAPE
17349 * commandtags.h: add LFUN_ESCAPE
17351 * LyXAction.C (init): add entry for LFUN_ESCAPE
17353 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17354 Remove commented code.
17355 (insertNote): moved here
17356 (open_new_inset): moved here
17358 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17361 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17363 * kbmap.C (findbinding): clean it up and make it work correctly.
17365 * lyx_main.C (init): do not pass argc and argv as parameters
17367 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17369 * buffer.C: fix path for OS/2 & Win32
17373 * lyx_main.C: Added os:: class.
17375 * os2_defines.h: update
17377 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17379 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17380 better by trying again with reduced state.
17382 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17384 * lyxrc.C (read): print error about invalid key sequence only when
17385 debugging (because not all latinX keysyms are known to some X
17388 * kbsequence.C (getiso): add a few std:: qualifiers
17389 (getiso): comment out extra return statement.
17391 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17393 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17395 (Dispatch): enhance the accent inset a bit. (not perfect)
17397 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17399 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17401 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17403 * bufferlist.C (emergencyWrite): fix assert() call
17405 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17407 * text.C (InsertChar): Added trivial patch to only send the "you
17408 can not do multiple spaces this way" message once during a
17411 2001-05-08 Baruch Even <baruch@lyx.org>
17413 * Makefile.am: Changed order of libraries to get LyX to link properly
17414 with the gnome frontend.
17416 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17418 * LaTeXFeatures.h: add a std:: qualifier
17420 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17422 * paragraph.C (String): use stringstream
17424 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17426 * paragraph.C (writeFile): remove footflag arg
17428 * buffer.C (makeLaTeXFile): use stringstream
17429 (latexParagraphs): remove footnot gurba
17431 * LaTeXFeatures.C (getPackages): use stringstream
17432 (getMacros): likewise
17433 (getTClassPreamble): likewise
17434 (getFloatDefinitions): new method
17436 * paragraph.C (writeFile): reindent
17439 * WorkArea.h: revert the xpos + etc changes.
17441 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17443 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17445 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17446 (pasteSelection): likewise
17447 * text2.C (CreateUndo): likewise
17449 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17451 * minibuffer.C (peek_event): temporarily reduce the functionality
17452 of the minibuffer (to allow args on lfuns)
17454 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17455 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17457 * buffer.C (readInset): add compability reading of old float
17458 lists, add reading of new style float list.
17459 (readInset): avoid reevaluation of inscmd.getCmdName()
17460 (getLists): reindent
17462 * MenuBackend.C (MenuItem): implement parsing of
17463 md_floatlistinsert and md_floatinsert.
17464 (expand::LastFiles): move initalizaton of iterators out of loop,
17465 avoid reevaluation.
17466 (expand::Documents): introduce typdedef vector<string> Strings,
17468 (expand::ExportFormats): introduce typedef vector<Format const *>
17469 Formats, and use it.
17470 (expand): implement FloatListInsert and FloatInsert.
17472 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17473 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17474 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17476 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17478 (Dispatch::LFUN_FLOAT_LIST): implement
17480 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17482 * LaTeX.C (run): Fix problem with --export code.
17484 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17486 * BufferView.[Ch] (workarea): removed.
17487 (getClipboard) new method; wrapper for workarea()->getClipboard()
17489 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17492 * WorkArea.h (width, height, xpos, ypos): These methods all
17493 returned the dimensions of the work_area sub-area of WorkArea,
17494 resulting in a position error if the WorkArea were resized. Now
17495 return the dimensions of the entire WorkArea.
17497 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17499 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17501 * LaTeX.C (deplog): correct the syntax of regex reg1
17503 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17505 * undo.C: remove !NEW_INSETS cruft
17507 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17509 * text2.C: remove !NEW_INSETS cruft
17511 * text.C: remove !NEW_INSETS cruft
17513 * tabular.C: remove !NEW_INSETS cruft
17515 * spellchecker.C: remove !NEW_INSETS cruft
17517 * lyxtext.h: remove !NEW_INSETS cruft
17519 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17521 * lyxfunc.C: remove !NEW_INSETS cruft
17523 * lyxfind.C: remove !NEW_INSETS cruft
17525 * lyx_cb.C: remove !NEW_INSETS cruft
17527 * figureForm.C: remove !NEW_INSETS cruft
17529 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17531 * buffer.[Ch]: remove !NEW_INSETS cruft
17533 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17535 * CutAndPaste.C: remove !NEW_INSETS cruft
17537 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17539 * BufferView2.C: remove !NEW_INSETS cruft
17541 * BufferView.h: remove !NEW_INSETS cruft
17543 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17545 * Lsstream.h: include LString.h before the sstream headers to
17546 fix problem with gcc 2.95.3 and lyxstring
17548 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17550 * lyx_main.C: add using directives when needed for C functions
17551 declared in std:: namespace.
17553 2001-04-27 Juergen Vigna <jug@sad.it>
17555 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17556 (SetHeightOfRow): comment out the update call should not be needed!
17558 2001-04-13 Juergen Vigna <jug@sad.it>
17560 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17561 (LyXTabular): tried to minimize operator= operations (and realized
17562 hopfully Lars wish).
17564 2001-04-27 Juergen Vigna <jug@sad.it>
17566 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17568 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17570 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17572 * buffer.C (readInset): hack to make listof algorithm work
17574 * BufferView_pimpl.C: hack to make listof algorithm work
17576 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17578 * LyXAction.C: removed all !NEW_INSETS cruft
17579 (init): moved lfun_item in method
17581 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17583 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17585 * BufferView2.C (theLockingInset): white space.
17587 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17589 * minibuffer.C: include <iostream>
17591 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17593 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17595 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17597 * text.[Ch] (TransposeChars): new method
17599 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17601 * call message directly through LyXView instead of through LyXFunc
17602 * BufferView2.C: adjust
17603 * BufferView_pimpl.C: adjust
17604 * FontLoader.C: adjust
17606 * bufferview_funcs.C: adjust
17607 * converter.C: adjust
17608 * figureForm.C: adjust
17609 * importer.C: adjust
17611 * lyx_gui_misc.C: adjust
17612 * lyxfunc.C: adjust
17615 + more files in subdirs
17617 * lyxparagraph.h (size): move up int file
17620 * adjust all uses of Assert to lyx::Assert.
17622 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17623 lyxfunctional in namespace lyx
17624 * layout.C (hasLayout): ditto
17627 (delete_layout): ditto
17628 (NumberOfClass): ditto
17629 * converter.C (GetFormat): ditto
17634 * bufferlist.C (getFileNames): ditto
17635 (emergencyWriteAll): ditto
17638 * MenuBackend.C (hasSubmenu): ditto
17641 * BufferView_pimpl.C (getInsetByCode): ditto
17643 2001-04-18 Juergen Vigna <jug@sad.it>
17645 * vspace.C (asLatexString): fixed the 100% problem.
17647 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17649 * lyxfunc.C (Dispatch):
17651 * minibuffer.h: add a few std:: qualifiers
17653 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17655 * minibuffer.[Ch]: reimplement so that commands is initiated and
17656 run from lyxfunc, simplified som handling, and made the completion
17657 and history code for complete. wip.
17659 * lyxfunc.C (processKeySym): call message
17660 (miniDispatch): new temporary method
17661 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17662 (LFUN_MESSAGE): implement
17663 (LFUN_MESSAGE_PUSH): implement
17664 (LFUN_MESSAGE_POP): implement
17665 (initMiniBuffer): the initial/defualt minibuffer message.
17667 * lyxfont.[Ch]: inline some more getters
17669 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17671 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17673 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17674 (AutoSave): use LFUN_MESSAGE
17675 (Reconfigure): ditto
17677 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17679 * figureForm.C: use LFUN_MESSAGE
17681 * converter.C (runLaTeX): use LFUN_MESSAGE
17683 * bufferview_funcs.C: use LFUN_MESSAGE
17685 (changeDepth): ditto
17687 * bufferparams.h: use boost::
17689 * bufferlist.h: inherit privately from noncopyable
17691 * bufferlist.C (loadLyXFile): remove some commented code.
17693 * buffer.C (runChktex): use LFUN_MESSAGE
17695 * ShareContainer.h: inherit privately from noncopyable
17697 * ParagraphParameters.[hC] (depth): inline it.
17699 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17701 (message): new method
17702 (messagePush): ditto
17703 (messagePop): ditto
17704 (show): init minibuffer
17705 (showState): direct call
17707 * LaTeX.[Ch]: inherit privately from noncopyable
17708 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17709 instead of WriteStatus.
17711 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17713 * BufferView_pimpl.C (buffer): don't init minibuffer
17714 (workAreaButtonPress): use LFUN_MESSAGE
17715 (workAreaButtonRelease): ditto
17716 (savePosition): ditto
17717 (restorePosition): ditto
17718 (MenuInsertLyXFile): ditto
17719 (workAreaExpose): don't init minibuffer
17720 (update): remove commented code, simplify
17722 * BufferView2.C (openStuff): use LFUN_MESSAGE
17723 (toggleFloat): ditto
17726 (copyEnvironment): ditto
17727 (pasteEnvironment): ditto
17732 (updateInset): remove some commented code
17734 * lastfiles.h: inherit privately from noncopyable
17737 * lyx_main.h: ditto
17739 * lyxlex_pimpl.h: ditto
17741 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17742 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17743 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17745 * LyXAction.h: inherit privately from noncopyable, add methods
17746 func_begin, func_end, returning iterators to the func map.
17748 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17749 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17750 (func_begin): new method
17751 (func_end): new method
17753 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17755 (copySelection): ditto
17756 (pasteSelection): ditto
17758 * BufferView.C: whitespace change
17759 * BufferView.h: inherit privately from noncopyable
17761 2001-04-16 Allan Rae <rae@lyx.org>
17763 * tabular-old.C (l_getline):
17764 * spellchecker.C (sc_check_word):
17765 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17766 an unrecognised preprocessor directive. So ensure they're wrapped.
17768 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17770 * src/exporter.C (Export): Give an error message when path to file
17773 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17775 * LaTeX.C (deplog): Always check that foundfile exists.
17777 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17780 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17782 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17784 * tabular.[Ch] (getLabelList): implement new method
17786 * minibuffer.h: comment ouf setTiimer
17788 * minibuffer.C (ExecutingCB): constify res
17789 (peek_event): constify s
17790 (Set): constify ntext
17791 (Init): constify nicename
17793 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17795 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17796 (savePosition): use two params to Minibuffer::Set
17797 (restorePosition): ditto
17799 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17801 * lyx_main.C: include language.h
17803 * Makefile.am (lyx_main.o): add language.h
17805 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17811 * CutAndPaste.C: include gettext.h
17813 * lyxfont.h: remove old hack with ON and OFF.
17816 * lyxfont.h: do not include language.h...
17821 * bufferview_funcs.C:
17827 * paragraph.C: ... but do it here instead
17829 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17831 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17833 * tabular.C: small reformat
17835 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17838 (BreakParagraph): ditto
17839 (SetOnlyLayout): ditto
17842 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17845 * lastfiles.C: removed most using decl, add std:: where needed
17847 * buffer.C: ws changes
17849 * MenuBackend.C (class compare_format): put into anon namespace
17850 (expand): constify label, names, action, action2
17853 * text.C (SingleWidth): constify font
17854 (IsBoundary): constify rtl2
17855 (GetVisibleRow): constify ww
17857 * LaTeX.C (deplog): constify logfile
17859 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17861 (workAreaExpose): constify widthChange, heightChange
17863 * lyxrow.C (par): moved
17866 * lyxrow.h: as inlines here
17868 * lyxfont.h (shape): moved from lyxfont.C
17869 (emph): moved from lyxfont.C
17871 * lyxfont.C (LyXFont): use initialization list for all
17873 (shape): move to lyxfont.h as inline
17874 (emph): move to lyxfont.h as inline
17877 2001-04-04 Juergen Vigna <jug@sad.it>
17879 * vspace.C: had to include stdio.h for use of sscanf
17881 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17884 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17885 independent of xforms.
17887 2001-04-02 Juergen Vigna <jug@sad.it>
17889 * spellchecker.C: fixed namespace placing!
17891 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17893 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17894 the LyXParagraph * is 0.
17896 2001-03-29 Juergen Vigna <jug@sad.it>
17898 * vspace.C: added support for %, c%, p%, l%.
17899 (stringFromUnit): added helper function.
17900 (asLatexString): changed to give right results for the %-values.
17902 * buffer.C: convert the widthp in a width%.
17904 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17906 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17909 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17910 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17912 * lyx_cb.[Ch]: see above.
17914 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17918 * lyx.[Ch]: replaced by figure_form.[Ch].
17922 * lyxfunc.C: changed headers associated with above changes.
17924 2001-03-27 Juergen Vigna <jug@sad.it>
17926 * BufferView_pimpl.C: set the temporary cursor right!
17928 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17930 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17932 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17934 * LString.h: removed "using std::getline"!
17936 * BufferView_pimpl.C (Dispatch): changes due to changes in
17937 InsetInclude::Params.
17939 * buffer.C (tag_name): removed redundant break statements as they were
17940 producing lots of warnings with my compiler.
17942 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17944 * LString.h: add "using std::getline" when using the real <string>.
17946 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17948 * buffer.C: removed bitset usage.
17949 PAR_TAG moved to an anonymous name space.
17950 (tag_name): new funtion, also in the anonymous namespace.
17951 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17952 (makeDocBookFile): clean code. Completed transition from string arrays
17954 (SimpleDocBookOnePar): code clean.
17956 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17958 * tabular.C: add some comments.
17960 2001-03-22 Juergen Vigna <jug@sad.it>
17962 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17963 compatibility read a bit and fixed bug with minipage in different
17966 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17968 * buffer.C (pop_tag): removed.
17969 (push_tag): removed.
17970 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17971 array replaced with vector. Added support for CDATA sections.
17972 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17974 (makeDocBookFile): XML conformant declaration of CDATA section,
17975 fixed bug related to <emphasis> in the first paragraph char.
17976 (sgmlOpenTag): exclude empty tags.
17977 (sgmlCloseTag): ditto.
17979 * buffer.h (pop_tag): removed.
17980 (push_tag): removed.
17982 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17984 * language.h (Languages): added size_type and size().
17986 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17988 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17989 response on compability reading of minipages. One probliem is that
17990 the old usage of minipages was flertydig
17992 * several files here and in subdirs: don't use static at file
17993 scope use anon namespaces instead.
17995 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17997 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17998 LaTeX output. This is necessary for Literate document
18001 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18003 * buffer.C: insert hfill when needed.
18005 * tabular.C (l_getline): use string::erase, small whitespace change.
18007 * BufferView_pimpl.C: try the anon namespace.
18008 * WorkArea.C: ditto
18010 2001-03-16 Juergen Vigna <jug@sad.it>
18012 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18013 otherwise it won't open options-dialogs.
18015 * buffer.C: honor pextraWidth(p) on converting minipages.
18017 * tabular.C (l_getline): changed the functions to strip trailing \r.
18019 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18021 * BufferView_pimpl.C:
18022 * minibuffer..C: added "using SigC::slot" declaration.
18024 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18026 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18032 * paragraph.C: ditto
18034 * lyxtext.h: NO_PEXTRA
18036 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18038 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18039 * ParameterStruct.h: ditto
18040 * ParagraphParameters.h: ditto
18041 * lyxparagraph.h: ditto
18043 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18045 * buffer.C: add compability for minipage alignment.
18046 (latexParagraphs): remove unwanted pextra check.
18048 * several files: remove CXX_WORKING_NAMESPACES
18050 * buffer.C (pop_tag): tie is in namespace boost
18052 * BufferView.h: noncopyable is in namespace boost
18054 * lyx_main.h: ditto
18057 * lastfiles.h: ditto
18058 * bufferlist.h: ditto
18059 * ShareContainer.h: ditto
18061 * LyXAction.h: ditto
18064 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18066 * Merging changes from BRANCH_MVC back into HEAD.
18068 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18070 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18072 * BufferView_pimpl.C: change from intl.C
18076 * Makefile.am: move combox.*
18082 * intl.C: remove dialog (covered by prefs)
18084 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18086 * lyxfunc.C (Dispatch): removed redundant break statement.
18088 2001-03-14 Juergen Vigna <jug@sad.it>
18090 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18092 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18094 * buffer.C: add hack to fix compability reading of minipages.
18096 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18098 * buffer.C (getLists): Cleanup.
18100 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18102 * lyxfont.C (update): don't honor toggleall on font size.
18104 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18108 * Makefile.am: moved to frontends/xforms/
18112 * BufferView_pimpl.C: changes for moved mathpanel
18114 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18116 * gettext.h: fix gettext_init() in --disable-nls
18118 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18120 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18122 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18125 * lyx.h: strip external form
18127 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18129 * BufferView_pimpl.C: add comment, destroySplash()
18131 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18133 * BufferView_pimpl.C:
18137 * lyxfunc.C: use re-worked insetinclude
18139 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18141 * buffer.C: add using std::stringstream.
18143 * lyx_cb.C: readd using std::ios.
18145 * buffer.C: add using std::map.
18147 * BufferView_pimpl.C: add using std::vector.
18149 * ShareContainer.h: add std:: to swap.
18151 * buffer.h: add some typedefs
18152 * buffer.C (getLists): use them
18153 (getLists): renamed from getTocList.
18154 add a counter for the different float types and use it in the
18156 (getLists): use the same counter for the NEW_INSETS and the "non"
18159 * lyx_cb.h: remove unused items, includes, using etc.
18161 * ShareContainer.h: remove some commented code, add more comments
18162 and "documentation".
18164 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18166 * buffer.C (getTocList): make the list also when NEW_INSETS is
18169 * buffer.h: remove TocType
18171 * buffer.C (getTocList): change to return a map<string,
18172 vector<TocItem> >, implement for dynamic number of list.
18174 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18175 * text2.C (PasteSelection): adjust
18176 * CutAndPaste.C (pasteSelection): adjust
18178 * FloatList.C (FloatList): update from the new_insets branch.
18179 * Floating.[Ch]: ditto
18180 * LaTeXFeatures.C: ditto
18182 * lyxlex_pimpl.C: ditto
18184 * paragraph.C (Last): remove when NEW_INSETS is defined.
18186 * other file: changes because of the above.
18188 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18190 * lyxparagraph.h: rename next to next_, previous to previous_,
18191 make them private for NEW_INSETS. Rename Next() to next(),
18192 Previous() to previous().
18194 * other files: changes because of the above.
18196 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18199 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18202 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18204 * main.C (main): pass lyx_localedir to gettext_init().
18206 * gettext.h: remove locale_init and gettext_init macros
18208 * gettext.C (locale_init): new function
18209 (gettext_init): new function
18211 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18214 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18216 * Moved credits to frontends:
18217 * credits.[Ch]: removed
18218 * credits_form.[Ch]: removed
18219 * lyx_gui_misc.C: remove credits stuff
18222 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18224 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18226 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18227 unneeded destructor.
18229 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18230 a standalone pointer again.
18232 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18234 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18240 * ToolbarDefaults.C:
18249 * BufferView_pimpl.C: use new file dialog in GUII
18252 * lyx_cb.C: remove LayoutsCB to Toolbar
18254 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18256 * ShareContainer.h (get): add std:: qualifier
18258 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18260 * ShareContainer.h: define a proper ShareContainer::value_type
18261 type (and use typename to please compaq cxx)
18263 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18265 * lyxparagraph.h: move serveral local vars to
18266 ParameterStruct/ParagraphParameters., use ShareContainer in
18267 FontTable., make vars in FontTable private and add getter and
18270 * paragraph.C: changes because of the above.
18272 * lyxfont.h: remove copy constructor and copy assignment. (the
18273 default ones is ok), move number inside FontBits. move inlines to
18276 * lyxfont.C: add number to initializaton of statics, move several
18277 inlines here. constify several local vars. some whitespace
18278 cleanup. Dont hide outerscope variables.
18280 * Spacing.h: add two new constructors to match the set methods.
18282 * ShareContainer.h: new file, will perhaps be moved to support
18284 * ParameterStruct.h: new file
18286 * ParagraphParameters.h: new file
18288 * ParagraphParameters.C: new file
18290 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18291 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18293 * BufferView_pimpl.C: ParagraphParameter changes.
18294 * buffer.C: Likewise.
18295 * bufferview_funcs.C: Likewise.
18296 * text.C: Likewise.
18297 * text2.C: Likewise.
18299 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18301 * lyxfind.C (LyXReplace): do not redefine default argument in
18303 (IsStringInText): ditto
18304 (SearchForward): ditto
18305 (SearchBackward): ditto
18307 2001-03-06 Juergen Vigna <jug@sad.it>
18309 * lyxfind.C (IsStringInText): put parentes around expressions.
18311 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18313 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18315 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18317 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18319 * stl_string_fwd.h: add comment
18321 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18324 * tabular.C: remove unused DocBook methods
18330 killed DO_USE_DEFAULT_LANGUAGE
18332 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18334 * lyx_gui.C: do not include language.h.
18336 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18337 arguments in function implementation.
18339 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18341 * BufferView_pimpl.C: add <ctime>
18343 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18345 * BufferView_pimpl.C: add using std::find_if
18347 2001-02-27 José Matos <jamatos@fep.up.pt>
18349 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18352 2001-02-11 José Matos <jamatos@fep.up.pt>
18354 * buffer.C (makeDocBookFile): command styles now have a parameter as
18355 "title" by default.
18357 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18359 * layout_forms.[Ch]: removed
18360 * lyx_cb.[Ch]: out character
18361 * lyx_gui.C: out character
18362 * lyx_gui_misc.C: out character
18363 * bufferview_funcs.C: : out character,
18364 added toggleall as parameter in ToggleAndShow
18366 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18368 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18370 * text2.C (SetCurrentFont): Disable number property at boundary.
18372 2001-02-26 Juergen Vigna <jug@sad.it>
18374 * lyxfunc.C (getStatus): added a string argument override function so
18375 that this is correctly called from LyXFunc::Dispatch if it contains a
18376 do_not_use_argument which is used!
18377 (Dispatch): added check for "custom" export and call appropriate func.
18379 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18381 * lyxrc.C: Add language_command_local, language_use_babel and
18382 language_global_options.
18384 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18386 * buffer.C (makeLaTeXFile): Use language_use_babel and
18387 language_global_options.
18389 2001-02-23 Juergen Vigna <jug@sad.it>
18391 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18392 which works with LyXText and putted it inside BufferView. Here now we
18393 only call for that part the BufferView::Dispatch() function.
18395 * BufferView.C (Dispatch): added.
18397 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18398 functions which needs to use a LyXText over from LyXFunc.
18399 (MenuInsertLyXFile): added
18400 (getInsetByCode): added
18401 (moveCursorUpdate): added
18402 (static TEXT): added
18404 2001-02-22 Juergen Vigna <jug@sad.it>
18406 * BufferView_pimpl.C (update): call a status update to see if LyXText
18409 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18411 * vc-backend.C (revert): implement for CVS
18412 (getLog): implement for CVS
18414 2001-02-20 Juergen Vigna <jug@sad.it>
18416 * text2.C (ClearSelection): added BufferView param for inset_owner call
18418 * lyxfunc.C (TEXT): added this function and use it instead of
18419 directly owner->view()-text of getLyXText().
18421 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18423 * src/layout_forms.C: out preamble
18424 * src/layout_forms.h: out preamble
18425 * src/lyx_cb.C: out preamble
18426 * src/lyx_cb.h: out preamble
18427 * src/lyx_gui.C: out preamble
18428 * src/lyx_gui_misc.C: out preamble
18429 * src/lyxfunc.C: connect with guii preamble
18431 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18433 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18435 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18437 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18438 whether to run bibtex.
18440 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18442 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18444 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18446 * Makefile.am (lyx_SOURCES): removed bibforms.h
18448 * vspace.h: doxygen
18450 * text.C (GetVisibleRow): make several local vars const
18452 * tabular.C: small cleanup.
18454 * lyxserver.C (callback): use compare instead of strncmp
18456 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18457 inlines to after class or to paragraph.C
18459 * lyxfont.h: remove friend operator!=
18461 * converter.h: move friend bool operator< to non friend and after
18464 * combox.h: small cleanup
18466 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18467 to inlines after class def.
18469 * buffer.C (pop_tag): use string operations instead of strcmp
18471 * bmtable.c: doxygen, small cleanup
18473 * LaTeX.h: remove friend operator==
18475 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18487 * BufferView_pimpl.C:
18488 * BufferView.[Ch]: remove cruft
18490 2001-02-14 Juergen Vigna <jug@sad.it>
18492 * lyxfunc.C: removed #if 0 unused code
18494 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18496 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18498 * text2.C (SetSelection): added a BufferView * parameter
18500 2001-02-13 Juergen Vigna <jug@sad.it>
18502 * lyxfunc.C (Dispatch): fixed protected blank problem.
18503 * BufferView2.C (protectedBlank): added LyxText * parameter.
18505 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18506 (AppendColumn): same as above for column_info.
18508 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18509 (moveCursorUpdate): use a LyXText param for support of InsetText.
18511 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18512 (tripleClick): ditto
18514 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18516 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18518 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18520 * text2.C (SetSelection): set correct update status if inset_owner
18521 (ToggleFree): ditto
18523 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18525 * tabular.C: remove some commented code.
18527 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18529 * BufferView_pimpl.C: call hideSplash()
18531 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18534 * bibforms.h: remove
18537 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18538 add LFUN_CHILD_CREATE
18540 * counters.h: fix tiny typo
18545 * lyx.C: move splash to frontends/xforms/
18547 * lyx_gui_misc.C: move Include and Bibform to frontends
18549 * lyxvc.h: clarify comment
18551 * vspace.C: tiny housekeeping
18553 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18555 * text.C (PrepareToPrint): RTL Fix.
18557 * paragraph.C (GetUChar): New method.
18558 (String): Use GetUChar.
18560 * buffer.C (asciiParagraph): Use GetUChar.
18562 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18564 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18566 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18569 * buffer.C: rename to getLogName(), handle
18570 build log / latex log nicely
18572 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18575 * MenuBackend.h: remove support for reference menuitem type.
18577 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18579 * BufferView_pimpl.C: housekeeping
18580 * BufferView_pimpl.h:
18585 * minibuffer.h: move Timeout GUI-I
18587 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18589 * lyxrc.C (read): Update converters data-structures.
18591 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18593 * LaTeX.h (operator!=): add operator != for Aux_Info
18595 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18597 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18599 * LaTeXLog.C: deleted, useful code moved to Buffer
18602 * buffer.C: new function getLatexLogName()
18608 * lyxfunc.C: use frontends for LaTeX and VC logs
18610 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18612 * LaTeX.h: yet another std:: that Allan forgot.
18614 * Variables.C (set): renamed from isset(), because this clashes
18615 with some HP-UX macros (grr).
18617 2001-02-06 Allan Rae <rae@lyx.org>
18619 * LaTeX.h: Another bug fix. Missing std:: this time.
18621 2001-02-04 Allan Rae <rae@lyx.org>
18623 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18624 floats problem. I've left it commented out because it's not quite
18625 correct. It should also test that the current object is a table or
18626 figure inset. But I haven't gotten around to figuring out how to do
18627 that. I *think* it'll be something like: "table" == inset.type()
18629 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18632 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18634 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18635 all the citation/databases/styles in the auxilary file.
18636 (run): Rerun latex if there was a babel language error.
18638 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18640 * text.C (Backspace): Preserve the font when changing newline char
18642 (BreakParagraph): If the cursor is before a space, delete the space.
18644 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18646 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18648 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18649 new argument (code).
18650 (ChangeCitationsIfUnique): New method.
18652 * paragraph.C (GetPositionOfInset): Handle bibkey.
18654 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18656 * BufferView_pimpl.h: change type of Position::par_pos to
18657 LyXParagraph::size_type.
18659 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18661 * BufferView_pimpl.C (savePosition, restorePosition): Write
18662 messages to minibuffer.
18664 2001-01-28 José Matos <jamatos@fep.up.pt>
18666 * buffer.C (makeDocBookFile): adds support for document language.
18667 A silly restriction on the name of LatexCommand types where removed.
18668 Added support for CDATA sections, allows to chars unescaped, used
18669 among others in code, to avoid escape < and >.
18671 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18673 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18674 saved positions instrad of a stack. Furthermore, a position is
18675 stored using paragraph id/paragraph position.
18677 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18678 Remove LFUN_REF_BACK.
18680 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18682 * converter.C (dvipdfm_options): New method.
18684 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18686 * vspace.C (isValidLength): Fix for empty input string.
18688 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18690 * LyXAction.C (init): change description of LFUN_FIGURE to
18693 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18695 * LaTeX.C: add using directive
18697 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18699 * MenuBackend.C (expand): Fix the sorting of the formats.
18701 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18703 * lyx_main.C: tiny error message fix
18705 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18707 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18708 calling fl_initialize(). This fixes the problem with ',' as
18709 decimal separator in text files.
18711 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18713 * trans.C (process): Fix the keymap bug.
18715 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18717 * LaTeX.C (scanAuxFiles): New method. Provides support for
18718 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18719 (scanLogFile) Scan for "run BibTeX" messages.
18721 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18722 OT1 font encoding. Also, load the aecompl package if the ae
18725 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18727 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18729 * texrow.C (increasePos): turn two error messages into debug
18732 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18734 * LaTeX.C (scanAux): Handle the \@input macro.
18735 (runBibTeX): Use scanAux().
18737 * language.C (latex_options_): New field.
18739 * LaTeXFeatures.C (getMacros): Add language macros.
18741 * buffer.C (makeLaTeXFile): Small fix.
18743 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18745 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18747 * text2.C: add a using directive.
18749 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18754 * lyxfunc.C: kill LyXBell.
18756 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18758 * text.C (IsBoundary): Remove the error message
18760 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18762 * lyxrc.C (setDefaults): Correct initialization value for
18765 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18767 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18770 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18771 and GotoNextNote().
18773 * src/LyXAction.C: Added reference-next.
18775 * text.C (InsertChar): Use contains instead of strchr.
18777 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18779 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18781 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18782 alignment commands (when needed).
18784 * text.C (InsertChar): Add ':' to number separator chars.