1 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
11 * text3.C: Fix bug 2115: blue language lines (for default font)
12 popping up when the documnent font is different. This includes work
15 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
17 * exporter.C (Backends): Add "lyx" backend
18 * exporter.C (Export): Handle "lyx" backend
19 * graph.C (getReachable): Don't exclude "lyx"
20 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
22 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
24 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
25 for correct in-mathed positioning
27 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
29 * rowpainter.C (paintForeignMark): fix foreign blue line under
32 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
34 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
35 pit of the uno range (bug 2022).
37 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
39 * messages.C (get): Only warn once if setlocale fails (bug 2177)
41 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
43 * text2.C (setCharFont): take inset's own font settings into account
44 when defining the font to reduce to, fixes 2019
46 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
48 * bufferview_funcs.C (coordOffset): remove the check for
49 collapsed collapsables (fix for bug 2094). This is now done
50 on a more general level (cursor.C).
52 * dociterator.[Ch] (forwardPos): add an optional argument
53 bool "ignorecollapsed" (default false), which lets forwardPos
54 skip collapsed insets.
56 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
57 (fixes bug 2241 and 2094).
59 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
61 * buffer.C: change tracking (dvipost) doesn't require
64 * LaTeXFeatures.C (getPackages): no need for the color
65 option "usenames" (bug 2169).
67 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
68 * buffer_funcs.C: Trivial fix - added {} around
69 the statements to be affected by a if-test. Now
70 label in a minipage in a float looks ok on screen again.
72 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
74 * text2.C: fix bug 2015: on screen fonts in nested environments
77 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
79 * converter.C (convert): handle unknown formats
81 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * cursor.C (goUpDown): comment out some debug messages.
85 * counters.C (newCounter): make error messages more explicit
86 (these appear with some textclasses like beamer)
88 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
92 have origin set to KEYBOARD. (bug 2221)
94 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * rowpainter.C (isCursorOnRow): do not exclude endpos().
98 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * cursor.C (macroModeClose): returns true if an inset actually got
101 inserted; revert faulty fix to bug 2034.
103 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
105 * tabular.C (getLabelList): remove (not used anymore).
107 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * outputparams.[Ch]: add new flag inComment
111 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
113 * text2.C (deleteEmptyParagraphMechanism): since we delete a
114 paragraph, recordUndo should span two paragraphs (bug 2155).
116 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
118 * rowpainter.C (paintPar): always repaint the row with the
121 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
127 * vspace.h: fix syntax error
129 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
131 * text3.C (dispatch): Force refresh if typing into inset changes its
134 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
139 * rowpainter.C: Speed up rendering by only re-painting rows that
140 have changed. When selection or whole-screen update active, all rows
141 are repainted, as are all rows within insets.
143 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
145 * version.C.in: Use PACKAGE_VERSION instead of VERSION
147 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
149 * tabular.C (toggleFixedWidth): Use default layout of text class
150 instead of hardcoded "Standard"
152 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * lyxfunc.C (dispatch): do not call getStatus again to determine
155 whether a lfun is disabled (bug 2172).
157 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * cursor.C (macroModeClose): set the cursor inside the new math
160 atom if relevant (think \frac{}{}) (bug 2034)
162 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
166 * text3.C (Delete, backspace): force update when merging paragraphs
168 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
170 * BufferView.C (mouseSetCursor): clear the selection properly (bug
173 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * text.C (redoParagraph): honor inset->noFontChange()
176 * rowpainter.C (paintInset): ditto
178 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
180 * lyx_main.C (priv_exec): don't initialize Math on startup
181 (initMath() has been moved to math_hullinset).
183 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
185 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
186 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
187 * paper.h: dispose dead PAPER_PACKAGES enum.
189 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
191 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
194 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
196 * exporter.C (Export): Don't try to copy a file if it does not exist
199 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
201 * text2.C (makeFontEntriesLayoutSpecific): remove.
204 * text.C (insertChar): remove bogus caching of fonts (did not do
207 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
208 ALL_SANE). (bug 2146)
210 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * rowpainter.C (paintFirst): fix centering of
213 LABEL_CENTERED_TOP_ENVIRONMENT.
215 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * BufferView.C (mouseSetCursor): new method. Calls
218 deleteEmptyParagraphMechanism if necessary.
220 * lyxtext.h: make deleteEmptyParagraphMechanism public.
222 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
223 BufferView::mouseSetCursor (bug 2109).
224 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
226 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
229 do not remove it (this inset behaves differently from the others).
231 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * BufferView_pimpl.C (getStatus): it is only possible to insert a
236 file in a text inset.
238 * buffer.C (readDocument): remove pit argument and code releated
239 to it; set the inset owner correctly (unrelated, but useful).
240 (readFile): get rid of pit argument.
242 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
243 textclass instead of a selection index.
244 (pasteParagraphList): new function.
245 (pasteSelection): make it a wrapper around pasteParagraphList.
247 * BufferView_pimpl.C (MenuInsertLyXFile): use
248 cap::pasteParagraphList to insert a file.
250 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
252 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
254 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
256 * exporter.C: fix typo in text message
258 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
260 * text2.C (setLayout): move recUndo call to other setLayout method
261 * tabular.C (toggleFixedWidth): new, handle cell width changes
262 * tabular.C (setColumnPWidth): move some code from insettabular.C here
263 and use toggleFixedWidth
264 * tabular.C (setMColumnPWidth): ditto
266 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
268 * paragraph.C (asString): use new inset->textString method (fix
271 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * CutAndPaste.C (numberOfSelections): new helper function.
275 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
277 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
278 LyXFunc::getStatus; implement LFUN_PASTE.
280 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
282 * dociterator.[Ch]: new member realInset() that returns the cell
283 for tabulars and the inset for the rest (bug 1952).
284 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
287 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
291 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
295 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
298 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
300 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
301 line after typing ctrl-enter
303 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
305 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
306 math insets do not return a proper editable() state yet (bug 2124).
308 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
310 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
311 docs containing very large paragraphs.
313 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
315 * cursor.C (selectionBegin, selectionEnd):
316 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
317 cursor at different depths.
319 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
321 * bufferview_funcs.C (coordOffset): do not call cursorPos
322 for collapsed collapsables (fix bug 2094).
324 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
326 * paragraph.C (fontSpan): make sure that the FontSpan does not
327 span across beginOfBody (bug 1947).
329 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
331 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
333 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
335 * messages.C: fix crash and localization on MinGW/Windows platform
337 2005-11-02 Angus Leeming <leeming@lyx.org>
340 * lyxtextclass.C: trivial fixes to some MSVS warnings.
342 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * text3.C (getStatus): re-enable disabled code. (bug 2081)
346 * BranchList.h (empty): constify.
348 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
350 * text3.C (getStatus):
351 * MenuBackend.C (expandBranches): take the branch list from the
352 master document (bug 2092).
354 * MenuBackend.C (expandBranches):
355 * bufferparams.C (writeFile): use BranchList type.
357 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * text3.C (dispatch, getStatus):
360 * LyXAction.C (init):
361 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
363 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
367 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * text.C (insertChar): do not reset boundary (bug 2061)
371 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * dociterator.C (updateInsets): new method. Updates the inset_
374 cache of all the slices of the iterator.
376 * text2.C (deleteEmptyParagraphMechanism): compare also containing
377 insets when comparing pit/pos; pass the right cursor to
378 recordUndo; when a paragraph has been deleted, compare `old.top()' to
379 the right cursor slice of `cur'; use updateInsets on cur to make
380 sure that the inset caches are correct; general cleanup.
382 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
385 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
386 containg inset. If this does not work, the same command will be
387 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
389 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
392 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
394 * lyxtextclass.C (Read): convert layout file if the format is wrong
395 * lyxtextclass.C (layout2layout): new, needed for the above
397 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
399 * messages.C: do not forget to include <cerrno>.
401 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
403 * dociterator.h (StableDocIterator): add access to pos().
404 * undo.C (samePar): new method to check if two
405 iterators are in the same paragraph
406 * undo.C (recordUndo): check for samePar instead of cell identity
407 (which includes pos() and is too strict) (fixes bug 2097)
409 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 * text.C (setCursorFromCoordinates): return a bool telling whether
414 * text3.C (cursorPrevious): update if needed after
415 setCursorFromCoordinates (when dEPM triggered).
417 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
418 (otherwise the anchor may be completely wrong and make dEPM assert).
420 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
422 * buffer.C: version upgrade to 245.
423 * bufferparams.C: remove \quotes_times (bug 2090).
424 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
425 quotation marks as default.
427 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
429 * CutAndPaste.C (nrOfParagraphs): remove (unused)
430 * CutAndPaste.C (cutSelection): Remove debug message
431 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
432 undo information and only copy if this is a real cut
433 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
435 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
437 * CutAndPaste.C (eraseSelection): prevent cursor corruption
438 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
439 superflous cur.selection() setting
440 * CutAndPaste.[Ch] (grabSelection): take a const cursor
441 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
443 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
445 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
448 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
450 * BufferView_pimpl.C: comment layout change
452 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
456 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
457 by bibliography managers (bug 2071).
459 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
461 * BufferView_pimpl.C (update): choose arguments to update call so
462 that single-par update works most times
463 * text3.C (dispatch): carefully tune updating separately for
464 whole-screen and current-paragraph
465 * rowpainter.C (paintText): 1) replace painting by caching for
466 the two extra paragraphs, because we can;
467 2) suppress greying out of areas below/above drawn area in case of
469 * lyxfunc.C (dispatch): remove superfluous update
470 * LyXAction.[Ch]: introduce SingleParUpdate
472 2005-10-05 Angus Leeming <leeming@lyx.org>
474 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
475 always initialised before use.
477 * text.C (setHeightOfRow): squash warning about comparison
478 of signed and unsigned types.
480 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
482 * text.C (cursorX): two fixes involving RtL text drawing
484 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
486 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
487 items, not only large ones (part of bug 2057)
489 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
491 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
492 argument, use "newcommand".
494 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
496 * cursor.C (setSelection): do not open collapsable insets;
497 the insets do by themselves now (autoopen).
499 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
501 * buffer.C: format is up to 244.
503 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
505 * text.C (redoParagraph): fix calcultation of inset width wrt
506 leftMargin (bug 1957).
508 * text3.C (dispatch): leave inset to the right when hitting ESC
511 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
516 * messages.C: include <boost/current_function.hpp>
518 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
521 when command is internal. (bug 1941)
523 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
525 * text2.C (cursorRight): do not honor boundary when at the end of
526 a paragraph. (bug 2010 again)
528 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
530 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
532 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
534 * rowpainter.C (paintText): fix RtL space width display bug (2029)
536 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
538 * text2.C (setCursor): remove the unused 'boundary' parameter for
539 the CursorSlice version; adapt the LCursor version.
542 * paragraph_pimpl.C (markErased):
543 * cursor.C (bruteFind2, bruteFond3): fix warnings.
545 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
547 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
548 as is already done for "chapter".
550 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
552 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
553 textclass; do not record undo if nothing is changed.
555 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
557 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
559 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
561 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
563 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
565 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
566 combox, it is necessary to search for the topmost paragraph in the
567 cursor stack (bug 1926)
569 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
571 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
572 end of paragraph. (bug 2010)
574 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
576 * text.C (leftMargin): check for inInset == 0
578 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
580 * text.C (leftMargin): test for insetbase's new neverIndent()
581 bool instead of listing each and every inset that does not
582 wish par indendation.
584 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
586 * buffer_funcs.C (setCounter): put the code to compute enum label
587 here (where it belongs).
589 * counters.C (enumLabel): move code to buffer_funcs.C.
591 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
593 * outputparams.[Ch]: store local_font instead of local_language
594 * paragraph.C (simpleTeXOnePar): adapt to the change above
596 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
599 * counters.[Ch]: clean up special code for Hebrew.
601 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
603 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
606 2005-09-08 Angus Leeming <leeming@lyx.org>
609 * lyxrc.C: correct grammar describing invocation of the
612 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
614 * text.C (read): remove unused variable.
615 (readParToken): remove static Change variable (never good in
616 recursive settings...); add it as a parameter instead.
618 * paragraph_pimpl.C (acceptChange): make debug info conditional.
620 * metricsinfo.C (PainterInfo): add new member erased_.
622 * rowpainter.C (RowPainter): add erased_ member, initialized from
624 (paintInset): pass erased_ to Inset::draw.
626 * lyxfunc.C (lookupChange): new function. Tells whether change
627 tracking is disabled at a given postion.
628 (getStatus): disable some actions when in deleted text with change
631 2005-08-03 John Levon <levon@movementarian.org>
633 * tabular.C (appendColumn, setMultiColumn): adapt to change to
636 * paragraph_pimpl.C (markErased): add bool argument and handle it.
637 Also make sure to mark insets recursively.
638 (rejectChange, erase): be recursive
640 * paragraph.C (markErased): add bool argument.
641 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
643 * lyxfind.C (findNextChange): tiny cleanup.
645 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
646 change tracking with the cursor in an inset; make sure the first
647 change is not skipped.
649 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
651 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
652 tabularStackDirty to work around bug 1919 (tabular needs
653 to know whether its own cell paste buffer or the one of
655 * CutAndPaste.C: mark tabular_stack_ clean after copy.
657 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
659 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
661 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
663 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
664 use old deleteion algorithm when changetracking is on.
666 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
668 * messages.C (get): add debug output.
670 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
672 * text.C (cursorX): fix bug 1965: cursor movement at
673 line end broken in RtL.
674 (drawSelection): fix bug 1970: drawing of single-line
675 selection broken for RtL.
677 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * dociterator.h (clear, push_back, pop_back): change from
684 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
685 and changed to just return the value of the item depth; take a
686 ParIterator as argument; take the itemdepth at outer nesting level
687 in account if necessary; cleanup and comment the code.
688 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
689 and changed to just return true if reset is needed; take a
690 ParIterator as argument; cleanup and comment the code.
691 (setCounter): adapt to above changes.
693 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
695 * text3.C (dispatch): make debug message optional
697 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
699 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
702 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
704 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
706 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
708 * text.C (insertChar):
709 * text2.C (deleteEmptyParagraphMechanism): take care whether
710 a blank has been deleted (in change tracking mode) (bug 1254).
712 2005-07-20 John Levon <levon@movementarian.org>
714 * text2.C (insertStringAsLines): remove old dubious code,
717 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
719 * MenuBackend.C (expandToc): use Floating::listName() as title of
722 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
724 * toc.[Ch]: Do not use translatable strings (bug 1870).
726 2005-07-20 John Levon <levon@movementarian.org>
728 * tabular.C: fix 1748 - setting multicolumn adds
729 left line to the first cell
731 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
734 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
737 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
739 * messages.C: supress some lyxerr messages
741 2005-07-18 Juergen Vigna <jug@lyx.org>
743 * text.C (drawSelection): honor boundary when asking for cursorX.
745 2005-07-17 José Matos <jamatos@fc.up.pt>
747 * tabular.C (recalculateMulticolumns): fix handling of one column
750 2005-07-17 Juergen Vigna <jug@lyx.org>
752 * text.C (Delete, backspace): fixed so that paragraph with the
753 same layout can be merged by Delete/Backspace.
755 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
757 * text.C (readParToken): fix spelling.
759 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
761 * text2.C: fix counter update for DEPM problem reported by
764 2005-07-17 Juergen Vigna <jug@lyx.org>
766 * BufferView_pimpl.C (setBuffer): save/restore the
767 cursor/selection when switching buffers
770 * buffer.C (saveCursor): add saveDocumentIterators to save the
771 cursor when switching buffer.
773 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
776 * buffer.C: clarify message
778 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
780 * dociterator.C (DocIterator): fix initialization order
782 2005-07-17 Juergen Vigna <jug@lyx.org>
784 * text2.C (cursorHome):
785 * text.C (drawSelection, cursorX):
786 * dociterator.C (textRow): add boundary to getRow() call
788 * paragraph.C (getRow): implementation of below
790 * paragraph.h: add parameter boundary for getRow() function
792 2005-07-17 José Matos <jamatos@fc.up.pt>
796 * tex-strings.[Ch]: new file format, remove support for a4.sty,
797 a4wide.sty and a4widemargins.
799 2005-07-17 Juergen Vigna <jug@lyx.org>
801 * text2.C (cursorLeft): fix one of error
803 2005-07-17 Juergen Vigna <jug@lyx.org>
805 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
807 more fixes for boundary handling
809 * text3.C (dispatch): don't reset cursor if boundary has changed
812 2005-07-16 Juergen Vigna <jug@lyx.org>
814 * text2.C (getColumnNearX): hopefully got it right now,
815 check if we are on column 0 for special case.
817 2005-07-16 Juergen Vigna <jug@lyx.org>
819 * text2.C (getColumnNearX): handle special case Newline Inset
821 * text.C (singleWidth): Just remove bogus check
823 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
825 * funcrequest.C (split): avoid reading uninitialized char c
827 2005-07-16 José Matos <jamatos@fc.up.pt>
833 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
834 single papersize variable.
836 2005-07-16 Juergen Vigna <jug@lyx.org>
838 * text3.C (dispatch): honor boundary when checking if a cursor
839 movement has been done
841 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
842 (setCursor, setCursorIntern): fix cursor movement with boundary
844 2005-07-16 Juergen Vigna <jug@lyx.org>
846 * text.C (currentState): output the actual Boundary
848 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
850 * factory.C (createInset): fix bad logic for tabular creation
852 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
854 * lyx_main.C (init): change some reLyX reference to tex2lyx
856 2005-07-16 Juergen Vigna <jug@lyx.org>
858 * dociterator.C (DocIterator): initialize boundary
860 2005-07-16 Juergen Vigna <jug@lyx.org>
862 * text2.C (getColumnNearX): Consider rows without trailing blank.
864 2005-07-16 André Pönitz <poenitz@gmx.net>
866 * lyxfont.h: Change order of declarations to give the compiler
867 a better chance to inline things
869 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
870 questions on unsaved docs for better scritability
872 2005-07-16 André Pönitz <poenitz@gmx.net>
874 * paragraph.h (getChar): remove asserts as the same kind of security
875 can be achieved by using a suitable standard library implementation
876 and the function was in the critical path (25.9% in profiler)
878 2005-07-16 Juergen Vigna <jug@lyx.org>
880 * cursor.C (bruteFind2):
881 * bufferview_funcs.C (coordOffset):
882 * text.C (cursorX,cursorY): Handle cursor position after last char
883 in row before a inset which uses a whole row.
885 2005-07-15 José Matos <jamatos@lyx.org>
887 * output_plaintext.[Ch] (writeFileAscii): control reference title
889 (asciiParagraph): noparbreak was already deal and was incorrectly
892 2005-07-15 Juergen Vigna <jug@lyx.org>
894 * lyxfunc.C (dispatch): save and restore the cursor after a
897 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
899 * text.C (backspace): bug 806 for empty keepempty paragraphs we
900 change the layout to default before letting DEPM do its thing.
902 * paragraph_funcs.C (breakParagraph): dont reset the layout on
905 * text.C (setCursorFromCoordinates): add a debug statement
907 * text2.C (getColumnNearX): bug 1825 make sure that we don't
908 return a pos that is not on the row
910 * output_latex.C (TeXDeeper): get rid of potential dereferencing
911 of past the end iterator
913 2005-07-14 André Pönitz <poenitz@gmx.net>
915 * undo.C (recordUndoFullBuffer): implement undo for
918 2005-07-14 André Pönitz <poenitz@gmx.net>
920 * cursor.C (setSelection): open insets when selection is set there
921 to avoid crashs with cold coord cache
923 2005-07-14 André Pönitz <poenitz@gmx.net>
925 * trans_mgr.C (insert): move cursor to the right after inserting
928 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
930 * BufferView_pimpl.C (update): dampen some of the debug blabbering
931 * factory.C (readInset): ditto
932 * text.C, text2.C: ditto
934 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
936 * buffer.C: format incremented to 242. There is no file format per
937 se, but the "frenchb" language has been removed from lib/language
938 and has to be translated to "french" by lyx2lyx.
940 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
942 * cursor_slice.h, dociterator.h: add some documentation
943 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
945 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
947 * text.C (leftMargin): do not add identation to display() style
948 insets, because they are always centered (bug 1293).
950 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
952 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
953 formatted_time methods in support/lyxtime.
955 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
957 * toc.[Ch]: new method getGuiName, which is used by the frontends
958 to set the toc combo (fixes bug 1870). Make TOC string translatable.
960 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
962 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
963 StableDocIterator const &)
964 * undo.C (recordUndo): use the above instead of cell.size() comparison
965 (fixes bug 1808; instructed by Andr�.
967 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
970 * dociterator.h: Fix the assert when copying rows/cols in math
972 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
974 * BufferView_pimpl.C:
976 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
978 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
979 (findInset): new functions, refactored from goto Inset that return
980 the position of a certain inset without setting the buffer's cursor
982 (gotoInset): rewrite to call findInset and then set the cursor
985 2005-06-16 Angus Leeming <leeming@lyx.org>
987 * lyxrc.C (output, read): wrap all input and output of paths with
988 calls to os::internal_path and os::external_path, respectively.
989 (output): wrap bind_file inside quotes.
991 * format.C (view): enable the viewer to use the '$$s' placeholder.
993 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
995 * LColor.[Ch] (getFromLaTeXName): new
997 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
999 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1001 2005-06-14 Angus Leeming <leeming@lyx.org>
1003 * lyx_main.C (init): ensure that the LyX binary dir is the first
1004 element in the PATH on non-POSIX builds.
1006 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1008 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1010 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1012 * rowpainter.C (paintInset, paintHebrewComposeChar)
1013 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1014 (paintChars): use getFontSpan to reduce calls to getFont to a
1015 minimum; use Paragraph::lookupChange instead of isXXXText.
1016 (paintForeignMark): rename LyXFont argument.
1017 (paintFromPos): pass a LyXFont object to the various paintXXX
1020 * FontIterator.C (FontIterator, operator++): use
1021 Paragraph::getFontSpan
1023 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1024 version that returns the font span as a pair.
1026 2005-06-09 Angus Leeming <leeming@lyx.org>
1028 * converter.C (convert): Don't forget "outfile = real_outfile" as
1029 the final step in a conversion where the input and output file names
1030 are the same. Otherwise, future conversion steps won't work...
1032 2005-06-09 Angus Leeming <leeming@lyx.org>
1034 * lyxsocket.C: remove stub code as it isn't needed by
1035 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1037 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1039 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1040 effectively disabled -x
1042 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1044 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1045 when it actually makes sense.
1047 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1049 * BufferView_pimpl.C: revert to showCursor in connection with
1050 Lars's front-end stack
1052 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1054 * text.C (redoParagraph): move cursor right after a bibitem
1057 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1059 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1061 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1064 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1066 * BufferView.[Ch] (update):
1067 * BufferView_pimpl.[Ch] (update, metrics):
1068 * dimension.h (operator==):
1069 * lyxfunc.C (dispatch):
1070 * metricsinfo.h (ViewMetricsInfo):
1071 * rowpainter.C (paintText):
1073 * text.C (redoParagraph):
1074 * text3.C (dispatch): Make LyX only repaint current paragraph in
1075 case of character insert --> speedup. Also fix cursor draw
1078 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1080 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1081 avoid a crash (bug 1891)
1083 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 * text2.C (getStringToIndex): constify cur argument.
1089 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1090 argument has been given
1091 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1092 try to invoke LFUN_INSET_APPLY).
1094 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1095 if no inset was created by doInsertInset
1096 (doInsertInset): return true if an inset has been inserted.
1098 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1100 * vspace.C (asGUIName): new method. A version of the space
1101 suitable for showing on screen.
1103 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1106 * lyxrc.C: rename "ASCII" to "Plain Text"
1108 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1110 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1111 translate the labelstring.
1112 (setCounter): translate labelstring as needed.
1114 * output_docbook.C (makeCommand): fix expandLabel invokation
1116 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1118 * BufferView.C: fix dialog title
1120 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1122 * lyx_main.C (priv_exec): fix logic error with help from Angus
1123 * lyx_main.C (parse_execute): set is_gui = false and remove now
1124 obsolete comment about a segfault
1126 2005-05-18 Angus Leeming <leeming@lyx.org>
1128 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1130 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1132 * tabular.[hC]: added setCellInset to fix tabular paste.
1134 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1136 * buffer.C (save): check if destination is writable before trying
1139 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1141 * BufferView_pimpl.C (update): fix processEvents -caused update
1144 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * buffer_funcs.C (setCounter): fix test for numbering of
1149 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1150 depth correctly; use optional argument when it exists
1152 * lyxtextclass.C: remove unused MaxCounterTags enum
1153 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1154 (max_toclevel, min_toclevel): new methods.
1156 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1157 the smallest depth in toc.
1159 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1160 layouts that should not appear in a table of contents.
1162 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1164 * cursor.h (undispatched, noUpdate): add comments from Andr�
1165 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1169 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1171 2005-05-07 André Pönitz <poenitz@gmx.net>
1173 * cursor.[Ch] (leaveInset): new function
1175 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1177 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1179 2005-05-04 Angus Leeming <leeming@lyx.org>
1181 * lyxfunc.C (getStatus): disable the spell checker dialog if
1182 none of USE_[AIP]SPELL are defined.
1184 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1186 * tabular.C (setWidthOfCell): remove obsolete comment
1188 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1190 * paragraph.C (bibitem):
1191 * buffer_funcs.C (setCounter):
1192 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1194 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1196 * text3.C (getStatus): immediately return after setOnOff
1198 * rowpainter.C: fix drawing of appendix start
1200 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1202 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1203 SwitchBetweenClasses and remove the unused return value.
1204 Handle character styles, too
1206 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1208 * factory.C (createInset): handle undefined character styles
1210 2005-05-02 Angus Leeming <leeming@lyx.org>
1212 * buffer.C: protect the #include of utime.h with a preprocessor
1215 2005-05-02 Angus Leeming <leeming@lyx.org>
1217 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1218 function so that auto-saving works, albeit in a blocking manner.
1220 * Makefile.am: make compilation of the client sub directory, of
1221 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1222 on conditionals set at configure time.
1224 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1225 it can be compiled in its own right but has no-op functionality.
1227 * aspell.C, pspell.C: remove preprocessor guards. The files should
1228 be compiled only if the necessary functionality exists.
1230 * lyxserver.C, lyxsocket.C: disable on Windows.
1232 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1234 * text.C (leftMargin): Fix the parindent use bug (1764)
1237 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1239 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1242 2005-04-25 Angus Leeming <leeming@lyx.org>
1250 include <config.h> in .C files, not .h ones.
1252 protect headers inside preprocessor guards.
1254 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1256 * FuncStatus.h (StatusCodes): document
1258 2005-04-21 André Pönitz <poenitz@gmx.net>
1260 * FuncStatus.h (enabled, onoff): document
1262 2005-04-19 Angus Leeming <leeming@lyx.org>
1264 * BufferView_pimpl.C (cursorToggle): no longer test whether
1265 any child processes have been reaped before calling
1266 handleCompletedProcesses().
1268 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1270 * text3.C (dispatch): fix, finally fix, the language problem in
1271 new lyxtexts, without disabling on-the-fly font changes (Helge's
1274 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1276 * text3.C (dispatch): set cursor on double/triple click events
1279 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1281 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1282 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1284 * rowpainter.C (paintFirst): simplify the code a little bit. In
1285 particular, remove the test for secnumdepth.
1286 * text.C (setHeightOfRow): only allocate space for chapter number
1287 when updateCounters provided an actual label, instead of looking
1288 at secnumdepth directly.
1290 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1292 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1293 paragraphs when secnumdepth is large enough or, for environments,
1294 when they are not the first in a sequence.
1296 2005-04-17 Angus Leeming <leeming@lyx.org>
1298 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1299 containing space and '~' characters with a call to latex_path().
1301 2005-04-17 Angus Leeming <leeming@lyx.org>
1303 * converter.C (convert): protect all args of convertDefault.sh
1306 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1308 * text3.C (dispatch): change the layout to "Caption" after inserting
1311 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1313 * text3.C (dispatch): fix language problem in newly created
1314 textinsets (and main text) in non-english docs
1316 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1318 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1319 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1320 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1322 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1326 * text2.C (getFont):
1327 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1330 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1332 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1333 output of \item arguments without trailing text.
1335 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1337 * FontIterator.C (operator*): avoid a copy of the font.
1339 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1341 * rowpainter.C (getFont): fix language bug from previous fix
1343 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1345 * rowpainter.C (RowPainter, getFont): fix font inside inset
1348 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1350 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1351 preventing inserted font, deco, delim insets jumping to start of
1354 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1356 * lyxfunc.C (dispatch): translate message before sending it to the
1359 2005-03-29 Angus Leeming <leeming@lyx.org>
1361 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1362 to LyX on the command line.
1364 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1366 * vc-backend.C: use QuoteName to protect file names wherever
1369 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1372 * BranchList.h: fix bugs 1844,1845: document settings don't
1375 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1377 * lyxrc.C (setDefaults, read, output, getDescription): add support
1378 for tex_allows_spaces.
1380 * exporter.C (Export): allows files in directory containing spaces
1381 if tex_allows_spaces is true.
1383 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1384 output it in double quotes.
1386 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1388 * rowpainter.C: use default text height for drawing change tracker
1391 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1393 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1395 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1397 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1398 directory is missing.
1400 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1402 * text2.C: fixed the fix, extended to other case.
1404 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1406 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1408 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1410 * text2.C (cursorUp): get rid of a crash
1411 * text.C (x2pos): add an assert
1413 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1415 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1419 * dociterator.C: include <boost/current_function.hpp>, which is
1420 needed when assertions are disabled.
1422 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1424 * text2.C: fix for stuck cursor when traversing two
1425 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1427 2005-02-25 Andreas Vox <avox@arcor.de>
1429 * output_docbook.C (makeParagraph): suppress trailing newline
1430 after a run of paragraphs
1432 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1434 * paragraph.C: fix for confused change tracker when pasting
1435 text that begins with a lineseparator. [bug 1827]
1436 (setChange(0, Change::INSERTED);)
1438 * paragraph_funcs.C: fix for lost changes on triple-paste
1439 in change tracking mode [bug 1827] (par.setChange()).
1441 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1443 * text2.C (updateCounters, setCounter, expandLabel): move to
1446 * buffer_funcs.C (updateCounters): turn into a free standing
1447 function and add a buffer parameter. Remove dead code for tracking
1449 (setCounter): change into a free-standing function which gets a
1450 dociterator as argument. Use this iterator to fix captions in a
1451 simple way. When no float is found above the caption, use the
1452 labelstring of the caption layout as default.
1454 * text.C (breakParagraph, backspace):
1455 * text2.C (init, setLayout, changeDepth):
1456 * text3.C (dispatch):
1457 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1460 * dociterator.C (forwardPar): make it much faster by calling
1461 forwardPos() only when really necessary.
1463 * output_docbook.C (makeCommand): adapt to expandLabel move.
1465 * cursor.C: remove unused variable
1467 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1469 * paragraph_funcs.C: fix crash when pasting insets in change
1470 tracking mode [bug 1277] (honour change type in moveItem).
1472 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1474 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1476 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1478 * BufferView.C (setCursor): change to use a DocIterator.
1479 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1480 (putSelectionAt): adapt to BufferView::setCursor change.
1482 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1483 moved here from LyXText and rewritten to use proper cursor
1484 methods. Fixes bug 1787, 616 and 835.
1486 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1487 when inside an inset (part of bug 781).
1488 (dispatch): adapt to change of BufferView::setCursor.
1489 (getStatus, dispatch): handle LFUN_GOTOERROR,
1490 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1492 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1493 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1494 * text3.C (gotoNextInset, gotoInset): removed.
1496 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1498 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1500 2005-02-15 Angus Leeming <leeming@lyx.org>
1502 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1503 can be used meaningfully in a comparison.
1505 2005-02-13 André Pönitz <poenitz@gmx.net>
1507 * bufferview_funcs.C (coordOffset): improve cursor drawing
1509 2005-02-13 André Pönitz <poenitz@gmx.net>
1511 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1512 * Cursor.C (dispatch): use fixIfBroken
1513 * lyxfunc.C (getStatus): use fixIfBroken
1515 2005-02-15 Angus Leeming <leeming@lyx.org>
1517 * lyx_main.C (error_handler):
1519 * lyxrc.C (setDefaults):
1521 #include "environment.h".
1523 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1525 2005-02-15 Angus Leeming <leeming@lyx.org>
1527 * lyxserver.C (startPipe): squash MSVC warning "local variable
1528 'fd' used without having been initialized".
1530 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1532 * BufferView_pimpl.C: revert accidental commit.
1534 2005-02-14 André Pönitz <poenitz@gmx.net>
1536 * dociterator.[Ch]: new member forwardPosNoDescent(),
1537 which doesn't enter nested insets.
1538 * text2.C (setFont): use forwardPosNoDescent() instead
1539 of ForwardPos() (fixes crash on font change).
1541 2005-02-13 Angus Leeming <leeming@lyx.org>
1543 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1544 only if lyxrc.path_prefix is not empty.
1546 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1548 * bufferparams.C (readGraphicsDriver): prevent crash
1550 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1552 * text2.C (setCounter): check for inInset() == 0
1554 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1556 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1557 but use update() to get correct screen display; use convert
1558 instead of istringstream.
1559 (getStatus): handle LFUN_GOTO_PARAGRAPH
1561 * lyxfunc.C (dispatch, getStatus): do not handle
1562 LFUN_GOTO_PARAGRAPH here.
1564 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1566 * text3.C (dispatch): size() -> depth()
1568 * text2.C: remove some debug output
1570 * paragraph.C: ws changes only
1572 * lyxfunc.C (getStatus): size() -> depth()
1574 * dociterator.h (clear, push_back, pop_back, internalData,
1575 operator[], resize, empty): new functions
1576 Make StableDocIterator and operator== be friends. Don't inherit
1577 from std::vector use a privat class variable slices_ instead.
1580 * dociterator.C: update because of not inheriting from std::vector
1581 anymore. Call explictly to slices_ instead. Use depth() instead of
1582 size() and top() instead of back()
1584 * cursor.C: chagne size() -> depth and back() -> top(). Also
1585 remove some direct operator[](i) calls in favour of foo[i]
1586 (getFont): remove some dead code
1588 * bufferview_funcs.C (coordOffset): size() -> depth()
1590 * buffer.C: ws changes only
1592 * CutAndPaste.C (eraseSelection): back() -> top()
1594 * BufferView_pimpl.C (selectionRequested): back() -> top()
1596 * BufferView.C (setCursor): size() -> depth()
1598 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1600 * text3.C (cursorPrevious): return true if depm changed something
1602 (dispatch): rename sl to oldTopSlice, remove moving use the new
1603 NoUpdate func attrib instead. Make sure that needsUpdate is set
1604 for function that have NoUpdate, but where depm might have changed
1607 * text2.C (cursorLeft): make us return true if depm changed
1609 (cursorRight): ditto
1610 (cursorUpParagraph): ditto
1611 (curosrDownParagraph): ditto
1612 (cursorUp, cursorDown): ditto, make sure to read comments in code
1613 (deleteEmptyParagraphMechanism): remove an assert, also return
1614 true if just a single char was deleted.
1616 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1617 cursor that we modify, to avoid modifying an active cursor before
1618 we call setCursor. This allows depm to run. Also return true if
1619 depm deleted something.
1621 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1622 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1623 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1624 something was changed in the buffer because of them (ie. depm run)
1626 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1627 debug messages. Make update by default be false. Make sure that
1628 the result of update is retained throught several calls down to
1631 * LyXAction.h: add a new func_attrib: NoUpdate
1633 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1634 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1635 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1637 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1639 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1641 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1642 bv_->owner(), bv_->buffer() by direct references to the private
1644 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1645 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1646 (fitCursor): center() is in BufferView::Pimpl.
1647 (getStatus, trackChanges, dispatch): no need for a temporary buf
1649 (fitCursor, workAreaDispatch): use workarea().workheight()
1651 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1653 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1655 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1657 * buffer.C: format up to 241.
1658 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1659 break if pasting into ERT
1660 * lyxfunc.C (getStatus): suppress mathpanel and
1661 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1663 2005-02-01 Angus Leeming <leeming@lyx.org>
1665 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1667 2005-02-01 Angus Leeming <leeming@lyx.org>
1669 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1670 calling fs::is_directory().
1672 2005-01-31 Angus Leeming <leeming@lyx.org>
1674 * lyx_main.C (priv_exec): specify explicitly the relative location
1675 of the top level build directory when run in-place.
1677 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1679 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1680 LyXText containing the cursor, not the top-level one.
1682 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1684 (insertStringAsLines): rename par to pit; use temporary variable
1685 par to hold a Paragraph; do not store par.layout() in a variable,
1686 since the pointer may die when breaking paragraphs; pass pars to
1687 breakParagraph() instead of Buffer::paragraphs().
1689 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1691 * lyxlex_pimpl.h: #include <fstream>.
1693 * BufferView.[Ch] (getLyXText): add a const version.
1695 * BufferView_pimpl.C: add debug aids.
1700 * paragraph_funcs.h: add commentary explaining what the class does.
1703 * coordcache.[Ch]: add lots of commentary.
1704 (startUpdating, doneUpdating): debug aids.
1705 (arrays, insets, parPos, getParPos): accessors to private data.
1707 * cursor_slice.[Ch] (text): add a const version.
1708 * dociterator.[Ch] (text, innerText): add const versions.
1710 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1713 * paragraph.C (getRow, pos2ros): add asserts.
1715 * paragraph.h: add commentary. Lots of.
1717 * paragraph.[Ch] (metrucs, draw): removed.
1720 * rowpainter.[Ch]: const-correct changes.
1722 * text.C: various obvious clean-ups. Removal of ancient cruft.
1725 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * vc-backend.C (find_file): rewrite to use boost.filesystem
1730 * main.C (main): set default name check for boost.filesystem to
1733 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1736 (actOnUpdatedPrefs): ditto
1738 * lyx_main.C (init): rewrite to use boost.filesystem
1739 (queryUserLyXDir): ditto
1741 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1742 (getContentsOfAsciiFile): ditto
1744 * lastfiles.C (readFile): rewrite to use boost.filesystem
1746 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1748 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1749 (loadLyXFile): ditto
1751 * buffer.C (Buffer): adjust for destroydir
1752 (getLogName): rewrite to use boost.filesystem
1753 (setFileName): ditto
1754 (save): use fs::copy_file (from fs_extras)
1756 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1758 * LaTeX.C (run): rewrite to use boost.filesystem
1759 (scanAuxFiles): ditto
1760 (handleFoundFile): ditto
1762 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1764 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1766 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1768 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1770 * lyxlayout.[Ch]: change some vars from float to double
1772 * buffer.C (readFile): make a local var const
1774 * Several files: use convert<> instead of atoi,strToXXX and friends
1776 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1778 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1779 holds the contents of packages.lst. New functions getAvailable
1780 and isAvailable to parse and check that list, resp.
1784 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1786 * bufferparams.[Ch]: new param output_changes.
1788 * Buffer.C: increase file format to 240.
1789 Use output_changes and isVailable.
1793 * paragraph_pimpl.C: Use output_changes and isVailable.
1795 2005-01-23 Angus Leeming <leeming@lyx.org>
1797 * output_latex.C: #include "insetbibitem.h", rather than
1798 forward declare function bibitemWidest.
1800 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1802 * lyx_main.C (init): make it compile on the Mac.
1804 2005-01-20 Angus Leeming <leeming@lyx.org>
1806 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1807 (setLyXMisc): (char string literal) != (char string literal) is
1808 performing a comparison on the addresses. Convert one operand
1809 explicitly to string to guarantee expected behaviour.
1812 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1815 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1817 * output_plaintext.C: remove unneeded #include gzstream.h.
1819 2005-01-20 Angus Leeming <leeming@lyx.org>
1821 * SpellBase.h: rename some of the elements of the Result enum.
1828 * pspell.C (check): ditto
1830 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1832 * buffer.C: add #include <fstream>.
1834 * lyx_main.C (init): Compile fix.
1836 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1838 2005-01-20 Angus Leeming <leeming@lyx.org>
1840 * mover.h: change commentary to reflect the changed meaning of
1841 the $$s placeholder.
1843 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1845 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1847 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1849 2005-01-20 Angus Leeming <leeming@lyx.org>
1851 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1852 printing diagnostic data by not dereferecing an iterator past the
1855 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1857 * buffer.C (readHeader): use "&&" rather than "and".
1859 * lyxserver.h (inPipeName, outPipeName): make these const.
1861 2005-01-19 Angus Leeming <leeming@lyx.org>
1863 * lyx_main.C (error_handler, init): protect SIGHUP with
1864 #ifdef SIGHUP guards.
1866 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1868 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1870 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1872 * text.C (setHeightOfRow): add a margin at the top and bottom of
1873 the document (bug 1761)
1875 2005-01-17 Angus Leeming <leeming@lyx.org>
1877 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1878 with "python ". Workaround for a brain-dead Windows.
1880 2005-01-16 Angus Leeming <leeming@lyx.org>
1882 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1883 for MacOSX and Windows to use prependEnvPath.
1884 Strip out the hard-coded block to add elements to the PATH for
1885 MacOSX and replace it with a call to prependEnvPath using the
1886 contents of LyXRC::path_prefix.
1887 (queryUserLyXDir): strip out the code to run reconfigure, instead
1888 returning a boolean indicating the necessity to do so.
1889 (reconfigureUserLyXDir): contains the code to reconfigure the
1890 user support directory. Is now called after the various LyXRC data
1891 files have been read.
1893 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1895 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1897 * converter.[Ch] (convert): take a new parameter try_default. Use
1898 a default converter (imagemagick) if try_default is true.
1900 2005-01-13 Angus Leeming <leeming@lyx.org>
1902 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1903 os::cygwin_path_fix.
1904 (write): output LyXRC::cygwin_path_fix as necessary.
1906 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1909 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1911 2005-01-12 Angus Leeming <leeming@lyx.org>
1913 * lyx_main.C (init): set the PATH variable to include the
1914 directory containing the LyX binary when running on Mac or Windows.
1916 2005-01-12 Angus Leeming <leeming@lyx.org>
1918 * lyx_main.C (init): remove cruft that purports to set the locale
1919 dir. It doesn't and is not needed anyway.
1921 2005-01-10 Angus Leeming <leeming@lyx.org>
1923 * Makefile.am: remove the lyx_main.C special casing.
1925 * BufferView_pimpl.C:
1931 * messages.C: use support/package.h to provide the paths to the
1932 various directories used by LyX.
1934 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1936 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1937 layout if pasting into an empty paragraph)
1939 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1941 * tex-accent.C: add <string>
1943 2005-01-06 José Matos <jamatos@lyx.org>
1945 * ParagraphParameters.C (write): put every parameter in its own line.
1946 * paragraph.C (write): reduce number of consecutive empty lines exported.
1947 * buffer.C (LYX_FORMAT): increase file format to 239.
1949 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1951 * everywhere: change support/tostr.h -> support/convert.h
1953 * tabular.C: make all write_attributes templates, tostr -> convert
1955 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1956 (emptyTag): and -> &&, and fix type for ret from getChar
1957 (getFirstWord): fix type for ret from getChar
1958 (onlyText): and -> &&
1959 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1962 * toc.C (goTo, action):
1963 * text3.C (dispatch):
1964 * text.C (currentState):
1965 * tex-accent.C (DoAccent):
1968 * lyxfunc.C (menuNew):
1969 * lyxfinc.C (replace):
1970 * counters.C (laberItem):
1971 * bufferview_funcs.C (font2string):
1972 * bufferparams.C (writeFile):
1973 * buffer.C (readFile):
1975 * MenuBackend.C: tostr -> convert
1977 * LaTeX.C (runMessage): fix format
1978 (scanAuxFiles): tostr -> convert
1980 * BufferView_pimpl.C (savePosition): fix format
1981 (restorePosition): ditto
1984 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1986 * Spacing.[Ch]: New method getValueAsString().
1990 * ParagraphParameters.C:
1993 * text3.C: store/read spacing value as string.
1995 * rowpainter.C: change float value (spacing_val) to double.
1997 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1998 broken custom document spacing).
2000 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2002 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2003 namespace, also more use of temp references and const
2005 * cursor.[Ch] (getStatus): move to lyxfunc.C
2007 * bufferparams.C: reformat slightly
2009 * bufferview_funcs.C (font2string): constify arg
2015 * buffer_funcs.C: (many funcs): constify arg on function
2016 definitions, also make more local vars const, also add ASSERTS on
2019 * buffer.C (LYX_FORMAT): put const in correct place
2020 (many funcs): constify arg on function definitions, also make
2021 more local vars const
2023 * aspell_local.h: remove "struct" from typdef setup
2025 * aspell.C (check): make word_ok const
2026 (nextMiss): simplify slightly
2029 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2031 * lyxrc.[Ch]: store all float values as strings.
2032 use int (not float) for lyxrc.dpi.
2034 2005-01-04 Angus Leeming <leeming@lyx.org>
2036 * lyx_cb.C (Reconfigure):
2037 * lyx_main.C (queryUserLyXDir):
2038 to run the <system_lyxdir>/configure correctly on Windows, prefix
2039 the path to the script with "sh " when generating the string that
2040 is passed to system().
2042 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2044 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2046 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2048 * lyxlength.C (asLatexString): get rid of setprecision
2050 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2052 * text2.C (setLayout): remove unused variable endpit.
2053 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2055 * paragraph.C (onlyText): remove unused variable style.
2057 * cursor.C (bruteFind): remove unused variables beg and end.
2059 * Makefile.am (dist_noinset_DATA): not needed anymore
2061 * cheaders/*: remove.
2063 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2065 * text3.C: fix LFUN_MATH_MODE.
2067 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2069 * buffer_funcs.C (countWords): new function. Counts words between
2072 * BufferView_pimpl.C (getStatus, dispatch): handle
2075 * LyXAction.C (init):
2076 * lfuns.h: add LFUN_WORDS_COUNT.
2078 2004-12-19 Angus Leeming <leeming@lyx.org>
2080 * buffer.C (save): s/slashify_path/internal_path/.
2082 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2084 * lyxfind.C (findChange): do not search for end of pars, because
2085 the change tracker cannot handle this (fixes bug 1719).
2087 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2089 * paragraph.[Ch] (autoBreakRows): remove
2091 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2093 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2094 avoid using the paragraph one
2096 * text2.C (LyXText, insertStringAsLines): adjust
2098 2004-12-16 Angus Leeming <leeming@lyx.org>
2102 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2104 2004-12-14 Angus Leeming <leeming@lyx.org>
2106 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2108 * bufferlist.C (emergencyWrite):
2109 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2112 2004-12-14 Angus Leeming <leeming@lyx.org>
2114 * main.C: (main): no longer pass pointers to os::init.
2116 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2118 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2119 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2121 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2124 * text3.C: remove selection_possible global flag
2126 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2128 * text2.C (getSelectionSpan): remove
2129 (changeDepth, changeDepthAllowed): adjust
2131 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2133 * Makefile.am (BOOST_LIBS): use boost variables
2135 2004-12-03 José Matos <jamatos@lyx.org>
2137 * buffer.C: format up to 238.
2139 2004-12-03 José Matos <jamatos@lyx.org>
2141 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2143 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2145 * cursor.C (goUpDown): remove call to idxUpDown2
2147 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2149 * tabular.[Ch]: use size_t-like types for cell, row and column
2152 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2154 * lyxfunc.C (getStatus): do not lose previous information when
2155 calling BufferView::getStatus; do not set a default "Command
2156 disabled" message at the beginning, but just before returning.
2158 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2160 * cursor.h (getStatus): add better comment from src/cursor.C
2162 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2164 * text3.C (getStatus): return false when the lfun is not handled
2166 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2168 * broken_headers.h: remove
2170 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2172 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2174 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2175 offset_ref accessors
2177 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2178 top_y_, merge fitcursor with update
2179 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2181 (metrics): introduce
2182 (workAreaDispatch): adapt to new coord scheme
2183 (redoCurrentBuffer): remove
2185 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2187 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2190 * coordcache.[Ch]: add paragraph cache and helpers
2192 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2195 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2196 (targetX, setTargetX): introduce
2198 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2199 baseline -> ascent, as the rest of lyx
2201 * lyxtext.h: remove redoParagraphs, updateParPositions,
2202 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2203 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2204 have ascent/descent (ascent is ascent of first par)
2206 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2209 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2211 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2213 * pariterator.C: fix infinite loop introduced in par->pit renaming
2215 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2216 in insets and LyXText, draw two off-screen paragraphs using
2217 NullPainter, and adapt to new coord scheme
2221 * text3.C: adapt lfun handlers to the new coord scheme, which
2222 means: there's only guaranteed coord information for onscreen pars
2223 plus one above and one below. This implies that one can do search
2224 from y coordinates in the range [-1,workHeight]
2226 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2228 * rename a lot of InsetOld to InsetBase
2230 2004-11-25 Angus Leeming <leeming@lyx.org>
2232 * BufferView_pimpl.C:
2234 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2236 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2238 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2239 call BufferView::getStatus if LCursor::getStatus did nothing
2240 (setStatusMessage, getStatusMessage): removed.
2242 * FuncStatus.C (message): new methods. Used to provide an error
2243 message indicating why a command is disabled.
2244 (clear, |=, FuncStatus): update for message.
2246 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2248 * lyxfunc.C (dispatch): always call sendDispatchMessage
2250 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2253 * BufferView_pimpl.C:
2258 * cursor_slice.[Ch]:
2261 * paragraph_funcs.C:
2267 * undo.C: par->pit renaming
2269 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2271 * tabular.C (cellstruct): use initialization, store a shared_ptr
2272 to insettext instead of the insettext directly, adjust to fit.
2273 (operator=): new function
2274 (swap): new function
2275 (rowstruct): use initialization
2276 (columnstruct): use initialization
2277 (ltType): use initialization
2280 * lyxlength.h (swap): new function
2282 * LColor.[Ch] (operator=): use the common semantics
2284 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2286 * lyxfind.C (findNextChange): update the bufferview after setting
2289 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2291 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2292 number of InsetOptArgs has already been inserted.
2294 * output_latex.C (latexOptArgInsets): new method. This outputs all
2295 the optarg insets, up to the limit defined in the layout file.
2296 (optArgInset): removed
2297 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2299 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2301 * paragraph.C (isLetter): remove special spellchecker-related
2302 code; return true also for digits
2303 (isWord, isKomma): remove
2305 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2306 * lyxfind.C (MatchString()): use isLetter instead of isWord
2308 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2310 * pariterator.h (operatir=): comment out un-implemented member
2313 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2316 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2318 * lyxfont.h: include LColor.h to satisfy concept checks.
2320 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * pariterator.h: add typdefs for value_type, difference_type,
2323 pointer and reference to satisfy concept checks. Also add default
2324 constructor for same reason.
2326 * pariterator.C (operator++): add post-increment operator to
2327 satisfy concept checks.
2329 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2332 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2334 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2335 checks. Also rename base_type to BaseType to follow naming
2338 * FloatList.h: include Floating.h to satisfy concept checks.
2340 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2342 * lyxfunc.C (getStatus): when the origin of the request is menu or
2343 toolbar, and the LyXView does not have focus, do as if there was
2344 no buffer (bug 1720)
2346 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2347 FuncRequest to individual entries of LFUN_SEQUENCE
2349 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2351 * output_latex.C (TeXOnePar): override runparams.moving_arg
2352 according to the needprotect value of the current paragraph (bug
2355 * paragraph.C (simpleTeXOnePar): no need to override
2356 runparams.moving_args here
2358 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2360 * vspace.C: fix off-by-one-error, related to fix #1682
2362 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2364 * lengthcommon.C: a more general fix for bug 1682
2366 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2368 * text.C (backspace): fix crash
2370 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2372 * format.[Ch] (getFormatFromFile): new method
2373 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2375 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2377 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2379 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2381 * lyxfunc.C (dispatch): remove the verbose argument
2382 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2385 * kbmap.C (defkey): set the origin of func to KEYBOARD
2387 * MenuBackend.C (MenuItem):
2388 * ToolbarBackend.C (add): set the origin of func to UI
2390 * funcrequest.[Ch]: add origin member, which indicates which part
2391 of LyX requests an action
2393 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2395 * converter.C (move): don't lie in the error message
2396 * converter.h (isReachable, move): document
2398 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2400 * buffer.C: remove unused using lyx::support::atoi
2401 * paragraph_funcs.C: ditto
2403 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * bufferlist.C (exists): use bind and equal_to instead of
2408 * lyxtextclasslist.C (NumberOfClass): ditto
2410 * cursor.C (insert): use for_each instead of explicit for loop
2412 * bufferlist.C (getFileNames): use std::transform and
2413 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2415 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2418 * buffer.C (changeLanguage): use for_each instead of explicit for
2420 (hasParWithID): implement using getParFromID
2422 * LaTeXFeatures.C: ws change only
2424 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2427 * BufferView_pimpl.C (trackChanges): use for_each instead of
2430 2004-11-04 André Pönitz <poenitz@gmx.net>
2433 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2435 * dociterator.C (asDocIterator): use hard assert again.
2437 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2439 * lyxlength.C (asLatexString): rewrite so that it does not use
2442 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2444 * text3.C (specialChar, dispatch): make sure cursor moves to the
2445 right after inserting an inset
2447 2004-11-02 José Matos <jamatos@lyx.org>
2449 * output_docbook.C (docbook):
2450 * paragraph.C (getID):
2451 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2452 garantee that the output is always legal.
2454 * tabular.C (docbook):
2455 * outputprams.[Ch]: remove mixed contents.
2457 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2459 * text2.C (setCounter): prevent endless loop
2461 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2463 * exporter.C (copyFile): use the mover instead of support::copy()
2464 * exporter.C (Export): pass format and latex name to copyFile()
2465 * exporter.h (addExternalFile): document
2466 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2468 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2470 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2472 2004-10-30 José Matos <jamatos@lyx.org>
2474 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2475 text and no inset or font change. This allows to use CDATA
2476 sections just for the whole paragraph.
2478 2004-10-30 José Matos <jamatos@lyx.org>
2480 * paragraph.C (getFirstWord): remove unused variable.
2482 2004-10-30 José Matos <jamatos@lyx.org>
2484 * paragraph.C (getFirstWord): the content should always be escaped
2486 (simpleDocBookOnePar):
2487 * output_docbook.C (makeEnvironment): replace reference to CDATA
2490 2004-10-30 José Matos <jamatos@lyx.org>
2492 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2494 2004-10-30 José Matos <jamatos@lyx.org>
2496 * output_docbook.C (makeParagraphs):
2497 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2498 standard paragraph has only a given type of content drop the wrapper.
2500 2004-10-29 José Matos <jamatos@lyx.org>
2502 * output_docbook.C (makeEnvironment):
2504 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2506 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2508 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2509 (cleanID): sanitize any id.
2511 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2513 * buffer.C, lyxlex_pimpl.C:
2514 * lyxlex_pimpl.C (setFile):
2515 s/getExtFromContents/getFormatFromContents/
2517 2004-10-28 José Matos <jamatos@lyx.org>
2519 * output_docbook.C (makeEnvironment): move id to broadest possible
2522 * sgml.C (openTag): apply substitution of <> for all attributes.
2524 2004-10-28 José Matos <jamatos@lyx.org>
2526 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2527 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2528 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2530 * sgml.[Ch]: new version for open and closeTag for paragraph and
2531 for strings. Now they handle the ids of paragraphs.
2533 2004-10-26 Angus Leeming <leeming@lyx.org>
2535 * Makefile.am: add mover.[Ch].
2537 * converter.C (convert, move): use the new Movers to move external
2538 files to the temp directory.
2540 * lyx_main.C (init): ensure that the global system_movers data
2543 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2546 * mover.[Ch]: new files, defining a Mover as a utility to move an
2547 external file between directories and, if necessary, manipulate this
2548 file using a helper script.
2550 2004-10-25 José Matos <jamatos@lyx.org>
2552 * output_docbook.C (makeCommand): merge two if's that tested the
2555 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2557 * sgml.C (escapeString): fix warning in a better way
2559 2004-10-25 José Matos <jamatos@lyx.org>
2561 * sgml.C (escapeString): import the require boosts header file for
2562 tie, and avoid a signed unsigned comparison.
2564 2004-10-25 José Matos <jamatos@lyx.org>
2566 * sgml.h: add #include <string>
2568 2004-10-25 José Matos <jamatos@lyx.org>
2570 * sgml.[Ch] (escapeString): new function to escape all the string.
2572 2004-10-24 José Matos <jamatos@lyx.org>
2574 * paragraph.[Ch] (getFirstWord): new function to get the first
2575 word. Useful for description.
2576 (simpleDocBookOnePar): remove depth argument, add another that
2577 says where to start the paragraph.
2579 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2580 use the new functions to fix cleanly the support for descriptions.
2582 2004-10-24 José Matos <jamatos@lyx.org>
2584 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2585 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2586 * output_linuxdoc.C (linuxdocParagraphs):
2587 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2588 add buffer as argument.
2590 2004-10-24 José Matos <jamatos@lyx.org>
2592 * output_docbook.C (makeEnvironment, searchEnvironment): place
2593 CDATA inside paragraphs and fix scope for listitems.
2595 2004-10-24 José Matos <jamatos@lyx.org>
2597 * output_docbook.C: remove using statement for stack.
2599 2004-10-23 José Matos <jamatos@lyx.org>
2601 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2602 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2603 docbook. The new scheme is recursive and makes use of iterators, the
2604 same as latex export works.
2605 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2606 directly with the paragraph contents. This code was moved up to
2607 output_docbook.C (docbookParagraphs).
2608 * sgml.C (openTag, closeTag): removed unneeded newlines.
2609 (closeEnvTags) removed.
2611 2004-10-23 André Pönitz <poenitz@gmx.net>
2613 * undo.C (textUndoOrRedo):
2614 * dociterator.C (asDocIterator): work around crash
2616 * cursor.C (getStatus): replace ASSERT by more verbose error message
2617 and manual correction of the problem. Should increase stability
2618 while providing more sensible information.
2620 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2622 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2624 * bufferlist.C (previous, next): new methods
2627 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2629 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2631 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2632 entities to preamble.
2634 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2636 * messages.C (Pimpl): strip off translation context information
2638 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2640 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2641 the cursor is correct (bug 1694)
2643 2004-10-13 José Matos <jamatos@lyx.org>
2645 * output_docbook.C (docbookParagraphs): fix closing tags in the
2646 end of the document.
2648 2004-10-09 José Matos <jamatos@lyx.org>
2650 * buffer.C: format up to 237.
2651 * bufferparams.C (write): use tostr to convert booleans to strings.
2653 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2655 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2657 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2659 * LaTeX.C: implement use of babel language in xindy.
2661 2004-10-05 José Matos <jamatos@lyx.org>
2663 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2664 Add new translators to help reading and writing the lyx file.
2666 2004-10-05 José Matos <jamatos@lyx.org>
2668 * ParagraphParameters.C (read):
2669 * text.C (readParToken): replace nexToken by more appropriate lex
2672 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2674 * LaTeX.C (runMakeIndex):
2675 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2676 (usually 'makeindex') configurable.
2678 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2679 with a variable rather than with a number.
2681 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2683 * output_latex.C (TeXOnePar): make sure font setting is the first
2684 thing that gets output (and the last at the end). Should fix bug
2687 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2689 * pch.h: use proper signal include
2691 * LaTeX.h: Use preferred calling of Boost.Signal
2694 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2696 * pch.h: dont include <boost/function/function0.hpp>
2698 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2700 * paragraph_pimpl.h: remove usage of ShareContainer
2702 * paragraph_pimpl.C: remove initialization of ShareContainer.
2704 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2708 * BufferView.C (putSelectionAt): change the semantics when
2709 backwards == true: now, this just swaps cursor and anchor wrt the
2712 * BufferView.h (putSelectionAt): add some documentation
2714 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2715 make sure backwardChar is done at least once (to avoid getting
2717 (findNextChange): use putSelectionAt in the forward direction
2718 (operator()): use Paragraph::isWord
2720 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2722 * Spacing.C (set): c_str fix
2724 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2726 * lyx_cb.C (Reconfigure): quote the name of configure script in
2727 case it contains spaces
2729 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2733 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2734 (BOOST_LIBS): use top_buildir when looking for the file
2736 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2738 * pch.h: do not use include boost/format.hpp, multiple symbols
2739 will result (gcc bug)
2742 2004-08-23 José Matos <jamatos@lyx.org>
2744 * bufferparams.C (readToken): fix reading of the author field.
2746 2004-08-20 José Matos <jamatos@lyx.org>
2748 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2750 2004-08-20 José Matos <jamatos@lyx.org>
2752 * lyxlex.[Ch] (findToken): remove function.
2754 * ParagraphParameters.C (findToken):
2755 * bufferparams.C (findToken): replace call for previous function
2756 with local copy. This local function has one more argument, the
2757 read string argument.
2759 2004-08-16 José Matos <jamatos@lyx.org>
2761 * ParagraphParameters.C (write):
2762 * Spacing.C (writeFile):
2763 * bufferparams.C (writeLaTeX):
2764 * lyx_cb.C (Reconfigure):
2765 * paragraph.C (write):
2766 * tabular.C (write): remove unnecessary space at end of line.
2769 2004-08-16 José Matos <jamatos@lyx.org>
2771 * text.C (readParagraph): remove debug message.
2773 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2775 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2778 * output_plaintext.C (asciiParagraph): set depth correctly
2780 * outputparams.h: add member depth
2782 * paragraph_funcs.C (ownerPar): remove.
2784 * text2.C (setCounter): remove first_pit; comment out some
2785 non-working code that uses ownerPar
2787 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2790 2004-08-16 José Matos <jamatos@lyx.org>
2792 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2793 For the same level of importance use the same chanel to report problems.
2794 (read): add code to deal with \begin_body and \end_body.
2797 2004-08-15 José Matos <jamatos@lyx.org>
2799 * lyxlex.C (getString): fix comment, buffer::readBody is now
2800 buffer:readDocument.
2802 * tex-strings.C (string_papersize): Default -> default,
2803 Custom -> custom, for consistency with other options.
2805 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2809 * Makefile.am: support pch
2811 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2813 * text.C (readParToken): remove the static LyXFont variable and
2814 pass it as a parameter instead. This fixes a nasty bug where an
2815 inset will be inserted with a bad font in some situations
2816 (readParagraph): adapt
2818 * text2.C (setCounter): reduce number of calls to pars_[pit]
2820 * text.C (singleWidth): add an assert, fix a test
2822 * rowpainter.C (paintText): reduce number of calls to singleWidth
2824 * paragraph.C (isHfill):
2825 (isNewline): ws only
2827 2004-08-14 André Pönitz <poenitz@gmx.net>
2832 * lyxtext.h (several functions): use a Paragraph & argument
2835 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2837 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2839 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2841 * text.C (singleWidth): remove useless test
2843 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2845 * tabular.h: remove bogus comments
2847 * tabular.C (getDescentOfRow):
2848 (isPartOfMultiColumn): add assertions
2850 * lyxlength.C (inPixels): remove #warning
2852 2004-08-14 André Pönitz <poenitz@gmx.net>
2854 * paragraph.h: inline getChar()
2856 * BufferView.h: remove unused declarations
2858 2004-08-14 José Matos <jamatos@lyx.org>
2860 * Buffer.[Ch] (readDocument): new name for old readBody.
2861 * Buffer.C: new file format, new keywords: \begin_document,
2862 \begin_header, \begin_body, \end_body.
2864 * bufferparams.C (readToken): replace all calls to lex.nextToken
2865 by lex.next(). Do the same to eatLine except where really needed.
2867 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2868 line when writing to the lyx file.
2870 * output_plaintext.C (asciiParagraph): fix Bibliography style
2873 * text.C (read): fix end of file handling.
2875 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2877 * MenuBackend.C (Menu::operator[]): new method to access
2878 individual menu items
2879 (Menu::hasFunc): new method. search for an item that corresponds
2881 (MenuBackend::specialMenu): new method
2882 (MenuBackend::expand): if a special menu has been set, skip
2883 entries whose func() appears in this menu
2885 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2887 * text3.C: use Debug::DEBUG a bit more
2889 * text.C (leftMargin): try to simplify a tiny bit change var x to
2890 l_margin. Dont output the wide margins always.
2891 (rightMargin): no margin in inner texts
2893 * rowpainter.h (nestMargin): new func
2894 (changebarMargin): new func
2895 (rightMargin): new func
2897 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2901 * factory.C (createInset): modify setDrawFrame
2903 * cursor.C: use Debug::DEBUG a bit more
2905 2004-08-14 André Pönitz <poenitz@gmx.net>
2908 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2909 cache for all insets in (at least partially) visible (top-level)
2912 * BufferView_pimpl.C: reset external coord cache before every update.
2913 This means the coord cache only contains valid entries.
2915 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2918 * BufferView_pimpl.C (getInsetByCode): move function out of class
2919 and change in to a template in anon namespace. Also fix to do what
2922 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2925 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2927 (breakParagraph): rename par to par_offset and use a local
2928 reference. Add code to keep the language over a rebreak.
2929 (breakParagraphConservative): rename par to par_offset, use a
2931 (mergeParagraph): ditto
2933 (isFirstInSequence): ditto
2934 (outerFont): rename pit to par_offset
2936 * paragraph.C: ws change
2937 * paragraph.h: ditto
2941 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2943 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2946 * paragraph.C (simpleTeXOnePar): when we have a \item with
2947 optional argument, enclose the argument with curly brackets (in
2948 case it contains a closing square bracket)
2952 * text3.C (checkInsetHit): constify
2954 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2956 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2957 documents (bug 1629)
2959 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2961 Fix toggling of collapsable insets with the mouse (bug 1558)
2963 * lyxfunc.C (dispatch): adapt to LCursor changes
2965 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2966 make sure that dispatch is not invoked twice
2968 * cursor.C (needsUpdate): new method
2969 (dispatch): return void
2970 (result): new method, to access the DispatchResult of the cursor.
2972 2004-08-13 José Matos <jamatos@lyx.org>
2974 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2976 2004-08-13 André Pönitz <poenitz@gmx.net>
2978 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2980 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2983 2004-08-12 André Pönitz <poenitz@gmx.net>
2985 * text3.C: take out the 'cursor right' form insertInset and only
2986 do it in those places when it is really needed. Fixes crash on
2989 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2991 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2993 * BufferView_pimpl.C (setBuffer): initialize the current font of
2994 the underlying LyXText
2996 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2998 * kbsequence.C (print): use UI native formatting for menu
3001 * text.C (insertChar): call Paragraph::insertChar with a font
3004 * paragraph.C (insertInset, insertChar): the version that takes a
3005 LyXFont argument is now a wrapper around the other one (the
3006 opposite used to be true).
3008 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3009 argument. Font setting is done in Paragraph now.
3011 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3013 * outputparams.h: add new members intitle and lang.
3015 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3016 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3018 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3020 * text3.C (dispatch): remove special handling of button 4 and 5,
3021 it is now taken care of in the frontend code.
3023 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3025 * Spacing.h: add <string> (STLPort compile fix)
3027 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3029 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3031 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3033 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3036 * converter.C (showMessage): inherit from unary_function, make
3039 * buffer.C (writeFile): initialize retval
3041 * InsetList.h: rename private variable list to list_
3042 * InsetList.[Ch]: adjust accordingly.
3044 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3046 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3047 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3048 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3049 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3050 * ParagraphParameters.C, LaTeXFeatures.C: replace
3051 "support/std_sstream.h" with <sstream>
3053 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3056 * lyxsocket.C (LyXServerSocket): ditto
3057 (serverCallback): ditto
3059 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3061 * LaTeXFeatures.C: check release date when loading jurabib.
3063 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3065 * lyxserver.C (startPipe): call register_socket_callback
3066 (endPipe): call unregister_socket_callback
3068 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3070 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3071 (LyXServerSocket): register the callback
3072 (LyXServerSocket): unregister the callback
3073 (fd): delete function
3074 (serverCallback): improve error checking and setup the callbacks.
3075 (dataCallback): change arg to fd.
3076 (writeln): new func (copied fro the client socket) used for server
3078 (LyXDataSocket): simplify
3079 (~LyXDataSocket): close ann unregiser callback
3080 (server): delete function
3081 (fd): delete function
3082 (readln): small changes, improve some std::string usage
3083 (writeln): constify a bit
3085 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3087 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3090 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3092 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3093 after it has been populated
3095 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3097 * text2.C (insertInset): move cursor when inserting inset.
3099 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3101 * kbmap.C (findbindings): a couple of new methods. returns a
3102 container of kb_sequence objects. The real work is done by the
3103 private recursive version
3104 (printbindings): uses findbindings to print out a bracketed list
3105 of bindings (renamed from findbinding).
3107 * MenuBackend.C (binding): use kb_keymap::findbindings
3109 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3111 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3113 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3115 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3117 * paragraph.C (isWord): return true on insets that report
3120 * text.C (getWord): use Paragraph::isWord to decide what is in a
3121 word and what is not; fix bug 1609.
3123 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3125 * tex-strings.C: add "none" to string_paperpackages[], fixes
3126 off-by-one-error in the paperpackage selection.
3129 * tex-strings.[Ch]: char const * string[n]
3130 -> char const * const string[]
3132 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3134 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3135 command, return early.
3137 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * debug.h: add DEBUG to enum and fix size of ANY.
3141 * debug.C: add support for Debug::DEBUG
3142 (showTags): cast errorTags.level to unsigned int
3144 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3145 (redoCurrentBuffer): ditto
3146 (updateScrollbar): ditto
3147 * cursor.C (dispatch): ditto
3148 * text2.C (setLayout): ditto
3150 (updateCounters): ditto
3152 (deleteEmptyParagraphMechanism): ditto
3154 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3156 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3157 annotations to cleanup the Makefile slightly.
3159 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3161 * lyxrc.C: do not set user_email to a default value but use empty
3162 instead. The entry used to be translated, which does not work
3163 since at the point where lyxrc is constructed there is no
3164 translation service available
3166 * messages.C (getLocaleDir): remove and use directly
3167 lyx_localedir() instead
3169 2004-06-02 Angus Leeming <leeming@lyx.org>
3171 Fix crash caused by dereferencing null pointer 'exportdata' in
3172 OutputParams by creating a new ExportData variable on the heap,
3173 storing it in a boost::shared_ptr.
3174 The crash was triggered when generating an Instant Preview
3175 of an external inset.
3177 * Makefile.am: add outputparams.C
3179 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3180 (c-tor): allocate memory to it.
3182 * exporter.C (c-tor): associated changes.
3184 2004-06-01 Angus Leeming <leeming@lyx.org>
3186 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3187 contains data before calling isInset(0). (Bug 1513.)
3189 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3191 * exporter.C (checkOverwrite): new method
3192 * exporter.C (copyFile): new method
3193 * exporter.C (Export): copy referenced files to the document dir
3194 * exporter.[Ch]: new class ExportedFile
3195 * exporter.[Ch]: new class ExportData. Contains currently the
3196 names of referenced external files
3197 * outputparams.h: add exportdata member.
3199 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3201 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3204 2004-05-19 Angus Leeming <leeming@lyx.org>
3209 * lyxfunc.C: small changes due to the introduction of namespace
3210 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3212 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3214 * text3.C (dispatch): supress update when only moving the cursor
3215 * cursor.C (selHandle): remove commented code
3217 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3219 * paragraph.C (startTeXParParams): correct column count
3220 * CutAndPaste.C (pasteSelection): remove const_cast
3221 * output_docbook.C (docbookParagraphs): remove const_cast
3222 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3223 const_cast and return ParagraphList::const_iterator
3224 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3225 * output_plaintext.C (writeFileAscii): remove const_cast
3226 * paragraph.[Ch] (simpleTeXOnePar): make const
3227 * paragraph_funcs.C (outerPar): use const iterators
3228 * paragraph_pimpl.C (validate): use const iterators
3229 * text.C (setHeightOfRow): use const iterators
3231 2004-05-17 Angus Leeming <leeming@lyx.org>
3234 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3236 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3237 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3238 if the citation engine has changed.
3240 2004-05-14 José Matos <jamatos@lyx.org>
3242 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3243 if the textclass does not provide it. Have it different for sgml and
3245 support the language of document.
3246 * output_docbook.C (docbookParagraphs):
3247 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3248 first anchor as the id of the paragraph, remove special case code.
3249 * sgml.C (escapeChar): escape only < & >.
3251 2004-05-14 Angus Leeming <leeming@lyx.org>
3253 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3254 dependencies on src/frontends/controllers/biblio.h. Define a
3255 CiteEngine_enum wrapper class to enable the enum to be forward
3258 2004-05-12 Angus Leeming <leeming@lyx.org>
3260 * buffer.C: up LYX_FORMAT to 234.
3261 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3262 use_numerical_citations with a single biblio::CiteEngine cite_engine
3264 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3266 2004-05-13 José Matos <jamatos@lyx.org>
3269 * converter.C (Converter, readFlags): add xml member.
3270 * outputparams.h: add XML flavor.
3271 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3273 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3275 * lyxfunc.C (dispatch):
3276 (getStatus): fix handling of LFUN_SEQUENCE
3278 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3280 * debug.C (showLevel): do not forget the end-of-line marker
3282 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3284 * kbmap.C (read): do not stop parsing a bind file when an error
3287 2004-04-29 Angus Leeming <leeming@lyx.org>
3292 * text2.C: wrap a bunch of #warning statements
3293 inside #ifdef WITH_WARNINGS blocks.
3295 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3297 * buffer.C: increment format to 233.
3299 2004-04-28 Angus Leeming <leeming@lyx.org>
3301 * BufferView_pimpl.C:
3304 s/updateToolbar()/updateToolbars()/
3305 s/Toolbar.h/Toolbars.h/
3307 2004-04-28 Angus Leeming <leeming@lyx.org>
3309 * BufferView.[Ch] (c-tor):
3310 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3311 No longer passes these data to the WorkArea generator.
3313 2004-04-28 Angus Leeming <leeming@lyx.org>
3315 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3317 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3319 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3321 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3323 * output_latex.C (TeXEnvironment): make sure that there is a line
3324 break before \end{foo} for the last paragraph of a document
3325 (TeXOnePar): if the paragraph is at the end of the document (or
3326 inset) and the language has to be reset, then make sure that the
3327 line break is _before_ the language command, not after (fixes bug
3328 1225); also make sure that the language reset command is the first
3329 thing after the paragraph (to ensure proper nesting of
3330 environments and thus fix bug 1404)
3332 2004-04-21 John Levon <levon@movementarian.org>
3335 * ToolbarBackend.C: make "name" be a programmatic name
3336 and a gui_name field.
3338 * lyxfunc.C: display the minibuffer on M-x
3340 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3342 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3345 2004-04-19 Angus Leeming <leeming@lyx.org>
3347 * BufferView_pimpl.C (setBuffer): changed preview interface.
3349 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3352 2004-04-19 John Levon <levon@movementarian.org>
3354 * BufferView_pimpl.C:
3355 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3357 2004-04-05 Angus Leeming <leeming@lyx.org>
3359 * text.C (redoParagraphs): add call to updateCounters(), thereby
3360 fixing the missing "Figure #:" label from the caption of a
3363 2004-04-13 Angus Leeming <leeming@lyx.org>
3365 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3366 cursor is clicked out of an inset.
3368 2004-04-13 Angus Leeming <leeming@lyx.org>
3370 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3371 than an InsetOld one.
3373 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3375 * format.[Ch]: add editor to Format
3376 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3377 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3379 2004-04-08 André Pönitz <poenitz@gmx.net>
3381 * metricsinfo.h: remove PainterInfo::width member
3383 2004-04-08 Angus Leeming <leeming@lyx.org>
3385 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3386 "\providecommand" rather than "\newcommand", thereby preventing
3387 clashes with packages that define "\boldsymbol" themselves.
3390 2004-04-08 Angus Leeming <leeming@lyx.org>
3392 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3393 thereby squashing an unnecessary warning.
3395 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3397 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3400 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3402 * BufferView.C (setCursor): call redoParagraph (some insets could
3404 (putSelectionAt): remove the 'double update' trick
3406 * BufferView_pimpl.C (fitCursor): call refreshPar
3407 (workAreaDispatch): remove an uneeded update call
3408 (dispatch): remove some manual update calls
3410 * cursor.[Ch]: remove cached_y_, updatePos
3411 (selHandle): set noUpdate when appropriate
3413 * lyxfunc.C (dispatch): track if we need an update
3415 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3417 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3418 (paintSelection): cheap optimization, do not call cursorX when not
3420 (paintPars): change signature
3423 (paintTextInset): adjust
3427 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3429 * lengthcommon.C: compilation fix: remove explicit array size from
3430 unit_name[] and friends
3432 2004-04-05 Angus Leeming <leeming@lyx.org>
3434 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3436 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3437 present only for the preferences dialog.
3438 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3440 2004-04-05 Angus Leeming <leeming@lyx.org>
3442 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3443 to enable the frontends to export changes to lyxrc correctly.
3445 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3447 2004-04-07 André Pönitz <poenitz@gmx.net>
3449 * cursor.[Ch] (selClear, adjust): remove math
3451 * cursor_slice.C: more agressive assert
3454 * BufferView_pimpl.C: rework mouse event dispatch
3461 2004-04-05 André Pönitz <poenitz@gmx.net>
3463 * cursor.[Ch] (valign, halign...): remove unneeded functions
3465 2004-04-05 Angus Leeming <leeming@lyx.org>
3467 * lyxlength.[Ch] (unit_name et al.): const-correct.
3469 2004-04-05 Angus Leeming <leeming@lyx.org>
3471 * BufferView_pimpl.C:
3480 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3482 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3484 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3486 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3488 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3489 * BufferView_pimpl.[Ch] (getStatus)
3490 * BufferView.[Ch] (getStatus): add
3491 * lyxfunc.C (getStatus): move lfuns handled in
3492 BufferView::dispatch to te function above
3493 * Cursor.C (setSelection): set selection() = true
3495 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3497 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3499 2004-03-31 Angus Leeming <leeming@lyx.org>
3501 * lyxfunc.C (dispatch): Fall through to the generic
3502 Dialogs::show("preamble").
3504 2004-03-31 Angus Leeming <leeming@lyx.org>
3506 * lyxfunc.C (dispatch): Fall through to the generic
3507 Dialogs::show("spellchecker").
3509 2004-03-31 Angus Leeming <leeming@lyx.org>
3511 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3514 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3519 * insetiterator.[Ch]:
3524 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3526 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3528 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3529 insets where we are putting the cursor.
3531 2004-03-31 Angus Leeming <leeming@lyx.org>
3534 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3536 * lyxrc.[Ch] (read, write): overloaded member functions taking
3537 a std::[io]stream arguments.
3539 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3541 2004-03-31 Angus Leeming <leeming@lyx.org>
3543 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3544 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3546 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3547 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3549 2004-03-31 Angus Leeming <leeming@lyx.org>
3551 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3552 the LFUN_ALL_INSETS_TOGGLE code.
3554 2004-03-30 Angus Leeming <leeming@lyx.org>
3556 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3557 has died. Fall through to the generic Dialogs::show("document").
3559 2004-03-30 Angus Leeming <leeming@lyx.org>
3562 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3563 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3565 * lyxfunc.C (getStatus, dispatch): define the actions for these
3566 lfuns. Little more than a cut and pste job from ControlDocument.C
3568 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3570 2004-03-30 Angus Leeming <leeming@lyx.org>
3573 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3574 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3576 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3577 open/closed state of ollapsable insets. Usage:
3579 all-inset-toggle <state> <name>, where
3580 <state> == "open" || "closed" || "toggle" and
3581 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3583 * lyxtext.h, text2.C (toggleInset): removed.
3585 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3586 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3587 now passes LFUN_INSET_TOGGLE to the found inset.
3589 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3590 is now invoked as "all-insets-toggle toggle branch".
3592 2004-03-30 Angus Leeming <leeming@lyx.org>
3596 * pariterator.[Ch]: added/corrected header blurb.
3598 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3600 * dociterator.[Ch]: add an inset_ member
3601 (backwardPos): implemented
3602 (backwardPos, forwardPos): use inset_ when the stack is empty.
3603 (doc_iterator_begin, doc_iterator_end): implemented
3604 * pariterator.[Ch]: adjust, add begin, end
3605 * insetiterator.[Ch]: adjust, add begin, end
3609 * BufferView_pimpl.C:
3610 * CutAndPaste.C: adjust
3612 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3614 * buffer.C: increment file format to 232.
3615 * LaTeXFeatures.C: add bibtopic package.
3616 * bufferparams.[Ch]: param \use_bibtopic.
3618 * lyxrc.[Ch]: add lyxrc bibtex_command
3619 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3621 * buffer.C: increment file format to 231.
3623 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3625 * dociterator.C: implement forwardPar
3626 * iterators.[Ch]: remove, replaced by
3627 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3629 * BufferView_pimpl.C:
3632 * bufferview_funcs.C:
3638 * Makefile.am: adjust
3640 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3642 * CutAndPaste.C (pasteSelection): fix 2 crashes
3643 (eraseSelection): fix a crash
3644 * paragraph_funcs.C: remove a warning
3646 2004-03-28 Angus Leeming <leeming@lyx.org>
3649 * LyXAction.C (init): new LFUN_PRINT.
3651 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3653 2004-03-27 Angus Leeming <leeming@lyx.org>
3656 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3658 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3660 2004-03-27 Angus Leeming <leeming@lyx.org>
3662 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3663 insetlist always contains non-null pointers to insets.
3665 2004-03-26 Angus Leeming <leeming@lyx.org>
3667 * src/BufferView_pimpl.C:
3668 * src/CutAndPaste.C:
3671 * src/output_plaintext.C:
3672 * src/outputparams.h:
3673 * src/paragraph_funcs.C:
3677 * src/frontends/controllers/ControlErrorList.C:
3678 * src/frontends/gtk/FileDialogPrivate.C:
3679 * src/frontends/gtk/GPainter.C:
3680 * src/frontends/gtk/GToolbar.C:
3681 * src/frontends/qt2/QRef.C:
3682 * src/mathed/math_scriptinset.C: squash compiler warnings.
3684 2004-03-26 Angus Leeming <leeming@lyx.org>
3686 * ispell.C (LaunchIspell::start):
3687 * lyx_cb.C (AutoSaveBuffer::start):
3688 invoke run(DontWait) rather than runNonBlocking().
3690 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3692 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3694 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3696 * kbsequence.C (print): adjust
3698 * kbmap.C (printKeySym): rename and change signature
3699 (printKey): use LyXKeySym::print()
3701 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3703 * undo.C: add using std::advance to compile for stlport
3705 2004-03-24 Angus Leeming <leeming@lyx.org>
3707 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3708 it leads to a crash when no buffer is present.
3710 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3711 Martin Vermeer <martin.vermeer@hut.fi>
3713 * lyxfunc.C (dispatch):
3714 * bufferparams.C (readToken): use the new LColor::setColor
3716 * LColor.[Ch] (setColor): new version that takes two strings as
3717 argument and creates a new color entry if necessary
3719 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3721 * buffer.C (makeLaTeXFile): if the main latex file that is
3722 processed is usually a subdocument of some master, then pretend
3723 for a while that it is actually the master
3725 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3727 * buffer.C (getLabelList):
3728 (getBibkeyList): use getMasterBuffer()
3729 (getMasterBuffer): new method. Returns the main document in the
3730 case where one is using included documents.
3732 2004-03-25 André Pönitz <poenitz@gmx.net>
3736 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3738 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3740 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3741 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3743 * ParameterStruct.h: merge with ParagraphParameters
3745 * lyxtext.h: remove LyXText::parOffset() and getPar()
3747 * text3.C: Remove all 'manual' update calls. We do now one per user
3748 interaction which is completely sufficient.
3752 * BufferView_pimpl.C:
3753 * FontIterator.[Ch]:
3755 * ParagraphParameters.[Ch]:
3760 * cursor_slice.[Ch]:
3767 * output_docbook.[Ch]:
3768 * output_latex.[Ch]:
3769 * output_linuxdoc.[Ch]:
3770 * output_plaintext.[Ch]:
3772 * paragraph_funcs.[Ch]:
3773 * paragraph_pimpl.[Ch]:
3781 * frontends/controllers/ControlDocument.C:
3782 * frontends/controllers/ControlErrorList.C:
3783 * frontends/controllers/ControlSpellchecker.C:
3786 * insets/insetbase.h:
3787 * insets/insetbibitem.C:
3788 * insets/insetbox.C:
3789 * insets/insetbranch.C:
3790 * insets/insetcaption.C:
3791 * insets/insetcharstyle.C:
3792 * insets/insetcharstyle.h:
3793 * insets/insetcollapsable.C:
3794 * insets/insetcollapsable.h:
3795 * insets/insetert.C:
3796 * insets/insetfloat.C:
3797 * insets/insetfoot.C:
3798 * insets/insetmarginal.C:
3799 * insets/insetnote.C:
3800 * insets/insetoptarg.C:
3801 * insets/insettabular.C:
3802 * insets/insettext.C:
3803 * insets/insettext.h:
3804 * insets/insetwrap.C:
3805 * mathed/math_mboxinset.C:
3806 * mathed/math_nestinset.C:
3807 * mathed/math_scriptinset.C:
3808 * mathed/math_scriptinset.h:
3811 2004-03-24 Angus Leeming <leeming@lyx.org>
3813 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3814 deal with any child processes that have finished but are waiting to
3815 communicate this fact to the rest of LyX.
3817 2004-03-24 Angus Leeming <leeming@lyx.org>
3819 64-bit compile fixes.
3821 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3822 (c-tor): pass lyx::pos_types rather than ints.
3824 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3827 * text.C (Delete): compile fix.
3828 (getPar): ensure that function declaration is the same as that in
3831 2004-03-23 Angus Leeming <leeming@lyx.org>
3833 * ispell.C (LaunchIspell):
3834 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3835 a boost::shred_ptr rather than a std::auto_ptr.
3837 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3839 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3840 handle LFUN_FILE_INSERT_*
3842 * lyxrc.C (setDefaults, getDescription, output, read):
3843 * lyxrc.h: remove ps_command
3845 2004-03-22 Angus Leeming <leeming@lyx.org>
3847 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3848 Ensure that error_handler is processed once only and that all data
3849 is saved before attempting to output any warning messages.
3851 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3853 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3855 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3857 2004-03-19 André Pönitz <poenitz@gmx.net>
3859 * cursor.[Ch] (reset): take main text inset as argument
3861 * BufferView: adjust
3862 * BufferView_pimpl.C: adjust
3864 * paragraph.[Ch]: fix completely broken operator=()
3866 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3868 * LColor.C (getFromLyXName): make sure that the color name is used
3871 2004-03-17 Angus Leeming <leeming@lyx.org>
3874 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3876 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3877 dialog and to kill a forked process.
3879 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3881 * text2.C (setCursorFromCoordinates): fix font problem
3883 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3885 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3886 bogus "rebuild cursor" code
3888 2004-03-11 André Pönitz <poenitz@gmx.net>
3890 * buffer.[Ch]: use InsetText instead of LyXText as container for
3893 * dociterator.[Ch]: drop the BufferView * member which is not needed
3894 anymore after the change to buffer.C
3896 * paragraph_funcs.C:
3900 * BufferView_pimpl.[Ch]:
3902 * cursor_slice.[Ch]: adjust
3904 * text3.C: fix bug in mathDispatch
3906 2004-03-08 André Pönitz <poenitz@gmx.net>
3908 * undo.[Ch]: use 'StableDocumentIterator' as base for
3911 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3914 * bufferparams.[Ch]: add jurabib support and param.
3916 * LaTeX.C: add FIXME/comment.
3918 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3920 * buffer.C: increment file format to 230.
3922 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3924 * cursor.C (dispatch): avoid infinite loops
3926 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3928 * rowpainter.C (paintSelection): fix x coordinates
3930 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3932 * text.C (rowBreakPoint): fix breaking before displayed insets
3934 2004-03-01 André Pönitz <poenitz@gmx.net>
3936 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3938 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3942 * BufferView_pimpl.C:
3950 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3956 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3957 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3959 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3961 * Bidi.[Ch] (computeTables): const correctness
3962 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3963 fill_hfill, fill_label_hfill and x from Row
3964 * lyxtext.h: prepareToPrint returns a RowMetrics
3965 * rowPainter.C: adjust
3966 * text.C (prepareToPrint): use width, not textWidth. adjust
3967 (redoParagraphInternal, cursorX): adjust
3968 * text2.C (getColumnNearX): adjust
3969 (init): put a default value to the top LyXText::width
3971 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3973 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3975 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3977 * lyxtext.h: add FontIterator class
3979 * text.C (FontIterator, operator*, operator->, operator++): add
3980 (rowBreakPoint, setRowWidth): adjust (fixing a
3983 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3985 * BufferView_pimpl.C (workAreaDispatch): allow also
3986 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3988 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3990 * text.C (rowBreakPoint): fix a bug showing with very large insets
3992 2004-02-25 André Pönitz <poenitz@gmx.net>
3995 * cursor.[Ch]: move some mathed specific code to mathed
3997 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3999 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4000 use_tempdir in preferences
4001 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4003 * lyx_main.C: ensure that tempdir is valid
4004 * lyxlex.h: correct typo
4005 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4006 * paragraph.[Ch] (isMultiLingual): make const
4007 * cursor.[Ch] (openable): make const
4009 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4011 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4013 2004-02-20 André Pönitz <poenitz@gmx.net>
4015 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4017 * cursor.[Ch]: prepare for localized getStatus()
4023 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4025 2004-02-20 André Pönitz <poenitz@gmx.net>
4027 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4029 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4031 * text2.C (setCursorFromCoordinates): switch to absolute coords
4033 (cursorDown): adjust
4034 * text3.C (dispatch): adjust
4036 2004-02-16 André Pönitz <poenitz@gmx.net>
4038 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4041 * cursor_slice.[Ch]: remove unneeded acessor function
4043 * lyxtext.h: rename rtl() to isRTL()
4051 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4053 * rowpainter.C (paintSelection): coord fix
4055 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4057 * Spacing.C: compile fix
4059 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4061 * cursor.C (dispatch): restore current_ before returning
4063 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4065 * text2.C (cursorUp, cursorDown): fix coords
4068 2004-02-12 André Pönitz <poenitz@gmx.net>
4073 * text3.C: add LCursor & parameter to most cursor movement functions
4074 remove usage of LyXText::cursorRow() and cursorPar()
4076 * cursor.[Ch]: add textRow() needed members
4079 * BufferView_pimpl.C:
4082 * BufferView_pimpl.C: adjust
4084 2004-02-11 André Pönitz <poenitz@gmx.net>
4088 * BufferView_pimpl.C: shift undo/redo handling
4090 * cursor.[Ch]: fix mathed crash
4093 * lyxtext.h: move selectionAsText to LCursor
4101 * rowpainter.C: fix excessive drawing
4103 2004-02-06 André Pönitz <poenitz@gmx.net>
4106 * BufferView_pimpl.[Ch]:
4107 * text3.C: move some text specific LFUN handling
4109 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4111 * text3.C (checkInsetHit): adjust coords
4112 * text2.C (getColumnNearX): adjust coords
4113 (edit): adjust coords
4114 * text.C (getRowNearY): add two asserts
4116 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4119 * format.C: add using std::distance to compile on gcc 2.95/stlport
4121 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4123 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4125 2004-02-04 André Pönitz <poenitz@gmx.net>
4127 * BufferView.[Ch] (insertInset):
4128 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4133 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4135 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4136 on the default clause of the switch
4137 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4138 wasn't catched by LCursor::dispatch
4140 2004-02-03 André Pönitz <poenitz@gmx.net>
4143 * cursor.[Ch]: some additional asserts
4145 * undo.[Ch]: remove LyXText dependency in interface
4149 * lyxtext.h (firstPar, lastPar): remove dead functions
4154 * paragraph.[Ch]: adjust
4156 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4158 * lyxfind.C (find): fix argument order in call to ::find
4160 2004-02-02 André Pönitz <poenitz@gmx.net>
4162 * cursor.[Ch]: remove direct access to anchor
4164 * text.C: remove findText() hack
4166 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4168 * iterators.[Ch] (lockPath): remove in favour of...
4169 * BufferView.[Ch] (setCursor): this addition
4170 * BufferView.C (putSelectionAt): adjust
4171 * undo.C (performUndoOrRedo): adjust
4172 * lyxfunc.C (dispatch): adjust
4174 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4176 * iterators.C (lockPath): add a missing slice
4177 * undo.C (performUndoOrRedo): remove redundant positioning code
4179 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4181 * vc-backend.C (scanMaster): ";" -> ';'
4183 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4186 std::binary_function
4188 * lyxtextclass.C (compare_name): rename to...
4189 (LayoutNamesEqual): ...this
4191 * lyxlex_pimpl.C (compare_tags): inherit from
4192 std::binary_function, put back into anon namespace
4194 * lyxfind.C (MatchString): inherig from std::binary_function
4195 (findChange): use empty() istead of !size()
4197 * format.C (FormatNamesEqual): new functor
4204 * converter.C (compare_Converter): rename to...
4205 (ConverterEqual): ...this, and fixup a bit.
4206 (getConverter): use it, and make function const
4207 (getNumber): use it, and make function const
4211 * bufferlist.C: add using boost::bind
4213 * MenuBackend.C (MenuNamesEqual): new functor
4214 (hasMenu): use it, and make function const
4215 (hasSubmenu): use nested bind to get rid of compare_memfun.
4217 2004-01-30 André Pönitz <poenitz@gmx.net>
4219 * BufferView_pimpl.C:
4222 * cursor_slice.[Ch]:
4225 * paragraph_funcs.C:
4226 * paragraph_funcs.h:
4230 * text3.C: move some of the edit(x,y) handling to the insets
4231 some coordinate changes.
4233 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * text.C: add using statements for std::advance and std::distance
4237 * paragraph.C: add using statement for std::distance
4239 * lyxfind.C: add using statement for std::advance
4241 * cursor.C (region): remove std:: from swap
4242 (openable): use nucleus in stead of operator->
4244 * BufferView.C: add using statements for std::distance and std::swap
4246 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4248 * iterators.C: Remove the pimple, move the needed structures to
4249 the header file. Create accessor for the positions stack.
4250 (asPosIterator): remove function
4252 * PosIterator.C (PosIterator): move constructors to top of file
4253 (PosIterator): reimplement the constructor taking a ParIterator in
4255 (setFrom): new function
4256 (operator!=): inline it
4258 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4260 * lyxfind.C (replaceAll): use std::advance
4262 * iterators.h: inherit from std::iterator.
4264 * PosIterator.C (advance, distance): remove
4265 * PosIterator.h: interit from std::iterator.
4267 2004-01-26 André Pönitz <poenitz@gmx.net>
4270 * BufferView_pimpl.[Ch]:
4274 * bufferview_funcs.C:
4284 * output_linuxdoc.C:
4285 * output_plaintext.C:
4287 * paragraph_funcs.[Ch]:
4288 * paragraph_pimpl.[Ch]:
4294 * text3.C: more IU: dumps most of the rest of the mathcursor
4295 implementation into cursor.[Ch]; "globalize" a bit of it.
4297 2004-01-25 Angus Leeming <leeming@lyx.org>
4299 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4301 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4303 * LaTeXFeatures.h: add nice_ and nice() const
4304 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4306 2004-01-20 André Pönitz <poenitz@gmx.net>
4309 * BufferView_pimpl.C:
4311 * bufferview_funcs.C:
4313 * cursor_slice.[Ch]:
4324 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4325 LCursor and mathcursor parts to LCursor and InsetBase.
4327 2004-01-15 André Pönitz <poenitz@gmx.net>
4329 * cursor_slice.[Ch]: add a few covienience functions
4331 * funcrequest.[Ch]: remove BufferView * member
4333 * BufferView_pimpl.C:
4340 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4342 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4344 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4345 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4347 2004-01-13 André Pönitz <poenitz@gmx.net>
4350 * lyxtext.h: hide cursor and selection anchor behind accessor function
4353 * BufferView_pimpl.[Ch]:
4355 * bufferview_funcs.C:
4365 * cursor_slice.[Ch]: some integer type changes for inset unification
4367 * lyxcursor.[hC]: remove, it's CursorSlice now.
4370 * BufferView_pimpl.[Ch]:
4371 * bufferview_funcs.C:
4377 * textcursor.[Ch]: adjust
4379 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4381 * text2.C (undoSpan): add and use
4382 * text.C (breakParagraph): use undoSpan (fix bug 578)
4385 2004-01-08 Angus Leeming <leeming@lyx.org>
4387 * BufferView_pimpl.C (MenuInsertLyXFile):
4388 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4389 * lyxfunc.C (menuNew, open, doImport):
4390 FileFilterList change to the FileDialog open and save functions.
4392 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * ShareContainer.h: make isEqual and isUnique adaptable
4396 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4398 2004-01-07 Angus Leeming <leeming@lyx.org>
4401 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4403 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4405 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4406 functions replacing find, replace and replaceAll.
4408 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4409 LFUN_WORDFIND(FORWARD|BACKWARD).
4411 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4413 * text.C (breakParagraph): remove an outdated #warning
4415 2004-01-07 André Pönitz <poenitz@gmx.net>
4417 * lyxfind.C: somewhat clearer logic
4419 * text.C: prevent crash in cursorX on unitialized row cache
4421 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4423 * lyxcursor.[Ch] (operator>): add
4424 * textcursor.C (selStart, selEnd): use std::min and std::max
4426 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4428 * Chktex.C: include boost/format.hpp
4430 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * InsetList.C: replace functor MathcIt with adaptable functor
4434 (insetIterator): modify accordingly
4436 * BranchList.h: move the BranchNamesEqual functor here from...
4437 * BranchList.C: ... to here
4439 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4441 (add): replace a finding loop with std::find_if.
4443 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4445 * output_docbook.C: moving LatexParam functionality into
4448 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4450 * buffer.C: increment format to 229.
4452 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4455 * lyx_sty.[Ch]: remove minipageindent_def
4461 * text3.C: remove LFUN_INSET_MINIPAGE
4463 2003-12-28 Angus Leeming <leeming@lyx.org>
4465 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4467 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4469 * text2.C (setParagraph): fix off-by-one crash
4471 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4473 * output_docbook.C: header stuff for AGU
4475 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4477 * text2.C (redoCursor): remove
4480 * BufferView_pimpl.C: remove calls to redoCursor and
4481 setCursor(cursor.par(), cursor.pos()) all around
4483 2003-12-15 Angus Leeming <leeming@lyx.org>
4485 * buffer.C: up the format to 228.
4487 2003-12-15 André Pönitz <poenitz@gmx.net>
4489 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4494 * BufferView_pimpl.C:
4503 2003-12-15 Angus Leeming <leeming@lyx.org>
4505 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4506 than getFromGUIName to manipulate the color.
4508 2003-12-14 Angus Leeming <leeming@lyx.org>
4510 * BranchList.[Ch]: minimize the API.
4511 (Branch::getBranch, getColor): now return a 'const &'.
4512 (Branch::setSelected) now returns a bool set to true if the
4513 selection status changes.
4514 (BranchList::clear, size, getColor, setColor, setSelected,
4515 allBranches, allSelected, separator): removed.
4516 (BranchList::find): new functions, returning the Branch with
4518 (BranchList::add, remove): return a bool indicating that
4519 the operation was successful.
4521 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4522 new InsetBranch::isBranchSlected member function.
4524 * LColor.[Ch]: mimimize the API.
4525 (fill): renamed as addColor and made private.
4526 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4527 versions of these functions taking a string arg have been removed.
4529 * bufferparams.C (readToken):
4530 * lyxfunc.C (dispatch):
4531 * lyxrc.C (read): changes due to the altered BranchList and
4534 * factory.C (createInset, readInset): changes due to altered
4537 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4540 * lyxfunc.C: remove insetminipage. "minipage-insert"
4541 now produces a frameless minipage box inset.
4543 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4545 * textcursor.[Ch] (selStart,selEnd): add new methods
4546 remove selection::start, end, use LyXCursor::operator<
4547 * lyxcursor.[Ch] (operator<): add
4548 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4549 * BufferView.[Ch] (unsetXSel): add
4550 * text2.C (clearSelection): use unsetXSel,adjust
4553 * rowpainter.C: adjust
4554 * bufferview_funcs.C (put_selection_at): adjust
4556 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4558 * BufferView_pimpl.C: small coord. correction
4560 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4562 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4563 dragging over the splash screen.
4565 2003-12-11 Angus Leeming <leeming@lyx.org>
4567 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4568 as it is now handled in LyXText::dispatch.
4570 * text3.C (doInsertInset): remove a level of nesting.
4572 2003-12-11 Angus Leeming <leeming@lyx.org>
4574 * factory.C (createInset): changes due to the changed interface to
4575 InsetCommandMailer::string2params.
4577 2003-12-10 Angus Leeming <leeming@lyx.org>
4579 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4580 'dialog-show-new-inset <inset name>'
4582 2003-12-10 Angus Leeming <leeming@lyx.org>
4584 * buffer.C: up the format to 227.
4586 * factory.C: the box inset is now identified simply by 'Box'.
4588 2003-12-10 Angus Leeming <leeming@lyx.org>
4590 * buffer.C: up the format to 226.
4592 * factory.C: the note inset is now identified simply by 'Note'.
4594 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4596 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4597 when a pit is enough. Standarize a couple of loops.
4599 2003-12-05 Angus Leeming <leeming@lyx.org>
4601 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4602 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4603 data to the re-worked "log" dialog.
4605 2003-12-03 André Pönitz <poenitz@gmx.net>
4611 * paragraph_funcs.C:
4613 * text2.C: use Inset::getText instead of Inset::getParagraph
4615 2003-12-03 André Pönitz <poenitz@gmx.net>
4619 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4620 InsetText::read() as LyXText::read()
4622 2003-12-02 Angus Leeming <leeming@lyx.org>
4624 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4625 type. Add a comment in the implementation that the function uses
4626 the stream's bad() function rather than fail() as the std::streams
4629 2003-12-02 André Pönitz <poenitz@gmx.net>
4631 * lyxlex.[Ch]: make interface more similar to std::stream
4633 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4635 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4637 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4639 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4641 * vspace.[Ch]: remove VSpace::NONE
4643 2003-12-01 André Pönitz <poenitz@gmx.net>
4646 * lyxtext.h: move ParagraphList member to LyXText
4647 rename LyXText::ownerParagraphs to LyXText::paragraph
4650 * bufferview_funcs.C:
4660 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4662 * undo.C: fix cursor positioning
4664 2003-12-01 John Levon <levon@movementarian.org>
4666 * BufferView_pimpl.C: fix a crash on exit with
4669 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4671 * BranchList.C: fix setSelected() method.
4673 2003-11-28 André Pönitz <poenitz@gmx.net>
4675 * ParagraphParameters.[Ch]:
4676 * ParameterStruct.h: remove space above/below from Paragraph to
4679 * BufferView_pimpl.C:
4685 * paragraph_funcs.C:
4691 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4693 * factory.C: Syntax change for CharStyles
4695 2003-11-28 André Pönitz <poenitz@gmx.net>
4700 * buffer.[Ch]: move LyXText member
4702 2003-11-28 André Pönitz <poenitz@gmx.net>
4704 * BufferView.[Ch]: make LyXText * text a private member
4706 * BufferView_pimpl.C:
4717 * output_plaintext.C: cleanup
4719 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4722 * lyxtextclass.[Ch]: parametrize SGML document header
4724 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4727 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4730 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4732 * text2.C (setFont): rework using PosIterator (no more recursive)
4733 (setCharFont): no more needed
4734 (setLayout): no more selection cursors fiddling (done by redoCursor)
4735 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4736 destroy remaining ones)
4738 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4740 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4742 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4745 * text3.C: adjust + re-allow multi par depth changes
4746 * textcursor.C: simplify a bit
4748 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4754 * src/output_docbook.C:
4755 * src/output_latex.C:
4760 * src/text2.C: Introducing a number of tags parametrizing various
4761 XML formats that we may want to support
4763 2003-11-25 André Pönitz <poenitz@gmx.net>
4765 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4767 * lyxtext.h (leftMargin/rightMargin): simplify interface
4774 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4776 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4777 master file to any child files. Fixes bug 546.
4779 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4781 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4783 2003-11-24 André Pönitz <poenitz@gmx.net>
4785 * rowpainter.C: simplification
4787 * text2.C (updateCounters): remove call to redoParagraph on
4788 changed labels as this is far too expensive.
4790 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4792 * converter.C (convert): fix a crash: this function gets
4793 called with buffer == 0 from importer code.
4795 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4797 * text3.C (cursorPrevious): make sure that we do not compare
4798 iterators form different containers.
4801 * rowpainter.C (paintSelection): make sure that we do not compare
4802 iterators from different containers.
4804 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4805 iterators from different ParagraphList containers.
4808 * text2.C (LyXText): change order of initialization slightly
4809 (operator=): new function. copy all variables except cache_par_
4810 (moveUp): make sure that we do not compare iterators from
4811 different ParagraphList constainers.
4814 * text.C (firstPar): new function
4815 (lastPar): new function
4816 (endPar): new function
4818 * lyxtext.h: move things around and group public functions, public
4819 variables, private functions, private variables
4821 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4823 * factory.C: change call to InsetERT constructor to avoid
4824 additional invocation of method status
4825 * text2.C (toggleInset): remove redundant update() call
4826 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4827 instead of a Bufferview pointer
4829 2003-11-21 André Pönitz <poenitz@gmx.net>
4831 * rowpainter.C: simplification
4833 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4835 * text3.C (dispatch): make possible to extend a word/row selection
4838 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4840 * lyxtext.h: x0_,y0_ -> xo_,yo_
4841 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4842 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4843 * rowpainter.C (paintRows): paint full paragraphs
4845 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4847 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4850 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4852 * lyxtext.h: add x0_, y0_
4853 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4854 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4856 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4858 * text2.C (setCursorIntern): move the x_target update here *
4859 * text3.C: change some bv() to true/false in calls to
4860 cursorUp/Down/Right/Left
4861 * cursor.C: use helper function.
4863 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4865 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4866 * paragraph_funcs.[Ch]: correct comment
4867 * rowpainter.C: do not paint selections away from bv->cursor()
4868 Fix a long standing selection painting bug.
4869 * text3.C: generalize mouse-selection code to LyXTexts other that
4871 * textcursor.C: do not use y coords if we can use par offsets
4873 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4875 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4876 cursor position after e.g. inset insert)
4878 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4880 * lyxfind.C (replace): adjust to locking removal + some
4883 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4885 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4888 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4891 * output_docbook.C: XML sanitation: new layout
4892 parameters InnerTag and CommandDepth
4894 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4896 * BufferView_pimpl.C:
4898 * text3.C: Fix the insertion and modification of button-style
4901 2003-11-13 André Pönitz <poenitz@gmx.net>
4903 * InsetList.[Ch]: remove deleteLyXText
4905 * paragraph.[Ch]: cache beginOfBody position
4910 * text3.C: remove superfluous update() calls
4914 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4916 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4917 * BufferView.C (fitLockedInsetCursor): remove
4918 * cursor.[Ch] (getDim): add
4919 * text.C (getRowNearY): add faster version
4920 * text3.C: remove some update calls
4922 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4934 * text3.C: The Character Style /XML short element patch.
4936 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4939 * factory.C: Small step to solving 'unable to insert some insets'
4942 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4944 * cursor.[Ch] (updatePos): new function for updating the y
4945 position of the tip inset
4946 * bufferview_funcs.C (put_selection_at):
4947 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4949 2003-11-11 André Pönitz <poenitz@gmx.net>
4951 * text.C: remove big comment on invalid Paragraph pointers as it is
4954 2003-11-11 André Pönitz <poenitz@gmx.net>
4956 * text_funcs.[Ch]: merge with ...
4964 * Makefile.am: remove text_funcs.[Ch]
4966 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4968 * cursor.C (getPos): return absolute cached y coord
4970 * BufferView_pimpl.C (fitCursor): new simplistic code
4971 (workAreaDispatch): add a fitCursor call
4973 2003-11-10 André Pönitz <poenitz@gmx.net>
4976 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4978 2003-11-10 André Pönitz <poenitz@gmx.net>
4980 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4981 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4982 indicate that the cursor needs to leave an inset
4984 * lyxtext.h: remove inset locking
4986 * cursor.[Ch]: re-implement functionality provided by inset locking
4989 * BufferView_pimpl.[Ch]:
4991 * bufferview_funcs.[Ch]:
5003 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5005 * PosIterator.[Ch]: replace the stack with a vector, add inset
5007 * iterators.[C]: adjust
5009 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5011 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5013 * paragraph_funcs.C (readParToken): put the correct id in the
5014 error item, not the id of the top paragraph
5016 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5018 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5019 * bufferview_funcs.C (put_selection_at): use the above
5021 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5023 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5025 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5027 * output_linuxdoc.h:
5028 * output_plaintext.h:
5030 * output_docbook.h: add #include statements
5032 2003-11-05 José Matos <jamatos@lyx.org>
5034 * output_docbook.[Ch]:
5035 * output_latex.[Ch]:
5036 * output_linuxdoc.[Ch]:
5037 * output_plaintext.[Ch]: New files for output formats.
5038 * output.[Ch]: New file for helper functions.
5041 * paragraph_funcs.[Ch]: output functions moved to new files.
5043 * outputparams.h: rename of latexrunparams.h
5051 * paragraph_funcs.[Ch]:
5052 * paragraph_pimpl.[Ch]:
5053 * tabular.[Ch]: rename ascii to plaintext
5054 and LatexRunParams to OutputParams.
5056 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5058 * iterators.[Ch] (text): require bv argument
5059 * undo.C (recordUndo):
5060 * lyxfunc.C (dispatch):
5061 * bufferview_funcs.C (put_selection_at): adjust
5063 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5065 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5067 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5069 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5072 2003-11-04 André Pönitz <poenitz@gmx.net>
5074 * cursor.[Ch]: restructure
5077 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5079 * iterators.[Ch] (asCursor): remove
5081 * lfuns.h: remove LFUN_INSET_EDIT
5087 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5089 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5091 * lyxfind.[Ch]: complete overhaul
5092 * BufferView_pimpl.C:
5094 * paragraph.[Ch] (insert): add
5096 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5100 * text.C: remove dead spellcheck code
5102 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5104 * dispatchresult.h: add a val setter
5106 * cursor.C (dispatch): use a tempvar for data_[i]
5108 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5110 * PosIterator.[Ch]: compile fix
5112 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5114 * text.C (cursorPar): deactivate the cursor cache
5116 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5118 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5120 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5122 * text3.C (dispatch): adjust for new DisptchResult semantics.
5124 * lyxfunc.C (dispatch): handle update when return from
5125 Cursor::dispatch, adjust for new DispatchResult semantics.
5127 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5128 DispatchResult(true) mean to not update. Add class functions for
5129 setting dispatched and update, as well as reading.
5131 * cursor.C (dispatch): don't handle update here
5133 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5135 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5136 * trans_mgr.C: adjust
5138 * paragraph_funcs.C (readParToken): exception safety
5140 * lyxvc.h: store the vcs pointer in a scoped_ptr
5143 * lyxsocket.C (serverCallback): exception safety
5145 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5147 * ispell.C (clone): make it return a auto_ptr
5149 * factory.C (createInset): exception safety
5150 (readInset): exception safety
5152 * bufferlist.C (newBuffer): exception safety
5154 * Thesaurus.C (Thesaurus): use initialization for aik_
5156 * MenuBackend.C (expandToc): exception safety.
5158 2003-11-03 André Pönitz <poenitz@gmx.net>
5162 * bufferview_funcs.C: remove getInsetFromId()
5165 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5171 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5173 * PosIterator.C (distance, advance): new
5174 * bufferview_funcs.[Ch] (put_selection_at): new
5175 * iterators.[Ch] (lockPath): new
5177 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5179 * iterators.[Ch] (asPosIterator): added
5180 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5181 * PosIterator.[Ch]: added
5183 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5187 * cursor.C (dispatch):
5188 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5190 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5191 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5192 contructor, add a class function dispatched. Remove operator>=
5194 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5196 * debug.C: only use the default constructor for debugstream
5199 * main.C (main): include debug.h and setup the lyxerr streambuf
5202 2003-10-31 José Matos <jamatos@lyx.org>
5204 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5206 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5207 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5208 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5209 * paragraph_pimpl.C (simpleTeXSpecialC):
5210 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5211 add LatexRunParams argument.
5213 * exporter.C (Export): change call accordingly.
5215 * latexrunparams.h: add new member to take care of the other backends.
5216 2003-10-30 José Matos <jamatos@lyx.org>
5218 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5219 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5220 factorise code for paragraph output.
5222 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5225 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5227 * text3.C (dispatch):
5228 * lyxfunc.C (dispatch):
5229 * cursor.C (dispatch):
5230 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5232 * dispatchresult.h: make the dispatch_result_t ctor explicit
5234 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5237 * buffer.C: small refactoring of docbook stuff
5239 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5244 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5246 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5247 operator dispatch_result_t, and operators for == != and >=
5249 * cursor.C (dispatch): adjust for operator dispatch_result_t
5250 removal. comment out call to update
5252 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5254 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5262 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5265 * dispatchresult.h: new file, DispatchResult broken out of
5268 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5270 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5272 * text.C (rowBreakPoint): put a hack inside #if 0
5274 2003-10-28 André Pönitz <poenitz@gmx.net>
5278 * paragraph_funcs.C:
5281 * text2.C: general cleanup (lots of small stuff)
5283 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5285 * text2.C (cursorEnd): simple fix to the "end key goes to one
5286 before the end on last row" bug
5288 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5290 * text.C (backspace): fix the "zombie characters"
5292 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5294 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5296 2003-10-27 André Pönitz <poenitz@gmx.net>
5298 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5300 * factory.C: handle new InsetPagebreak, InsetLine
5302 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5303 and move handling into new InsetPagebreak, InsetLine
5305 * BufferView_pimpl.C:
5307 * ParagraphParameters.C:
5308 * ParameterStruct.h:
5313 * paragraph_funcs.C:
5314 * paragraph_pimpl.C:
5320 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5323 * lyxrow_funcs.[Ch]:
5329 * text3.C: remove lastPos uses in favour of Row::endpos
5331 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5333 * undo.C (performUndoOrRedo): fix two crashes by setting a
5334 cursor by hand and reordering some calls. Use bv->lockInset instead
5335 of inset->edit because the latter loses cursor information
5337 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5339 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5341 (rowBreakPoint): fix width. change point to point + 1.
5342 Add a missing check.
5344 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5347 * lyxfunc.C: fix (at least partly) the problems
5348 with the Nav menu and headers inside branch insets
5351 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5353 * paragraph.C (getChar): add strong asserts
5355 * lyxrow_funcs.C (lastPos): remove hideous hack
5357 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5358 (fill): adjust to that (avoid an infinite loop)
5360 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5362 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5364 2003-10-23 André Pönitz <poenitz@gmx.net>
5366 * RowList_fwd.h: change list<> to vector<> to gain speed
5367 after suggestion from Alfredo
5369 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5371 * lyxtext.h: move the bidi stuff from here...
5374 * Bidi.[Ch]: ... to here
5376 2003-10-23 André Pönitz <poenitz@gmx.net>
5379 * text.C (isLastRow, isFirstRow): new functions
5381 * paragraph.h: new width cache member
5383 * rowpainter.C: replace RowList::iterator with Row & where possible
5385 * lyxfunc.C: replace several view()->text with a single call
5387 * toc.C: fix 'unused' warning
5389 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5391 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5392 when woring with stream::pos_type
5393 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5395 2003-10-22 André Pönitz <poenitz@gmx.net>
5398 * text.C: use Row & instead of RowList::iterator
5400 * lyxrow.h: rename end() to endpos()
5406 2003-10-22 Angus Leeming <leeming@lyx.org>
5408 * buffer.[Ch] (fully_loaded): new member function, returning true
5409 only when the file has been loaded fully.
5410 Used to prevent the premature generation of previews and by the
5411 citation inset to prevent computation of the natbib-style label.
5413 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5414 templates are all set up.
5416 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5418 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5420 * text.C: fixed an "oops" in the "is a bit silly"
5423 2003-10-21 André Pönitz <poenitz@gmx.net>
5425 * FuncStatus.[Ch]: small stuff, whitespace
5427 * lyxfont.[Ch]: operator<<() for debug reasons
5431 * lyxtext.h: whitespace, spelling
5433 * paragraph.C: naming of variables
5436 * text2.C: small stuff
5439 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5441 * text.C: (1) finish off the inset display() work;
5442 (2) fix the "is a bit silly" bug (accessing char
5445 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5447 * text.C: re-introduce display() for insets, fixing the
5448 various bugs (stretch of line above, math inset
5451 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5453 * text.C (rightMargin): remove spurious semicolon
5455 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5458 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5460 * text3.C: fix one crash due to wrong cursor def
5462 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5464 * vc-backend.C (scanMaster): make the regex static
5466 * LaTeX.C (scanAuxFile): make the regexs static
5468 * text3.C (doInsertInset, dispatch, dispatch):
5469 * text2.C (cursorUp, cursorDown):
5470 * text.C (selectNextWordToSpellcheck):
5471 * BufferView_pimpl.C (dispatch):
5472 * lyxfunc.C (dispatch): localDispatch -> dispatch
5474 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5476 * lyxsocket.C: include <cerrno>
5478 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5480 * lyxfunc.C (dispatch): remove textcache stuff
5482 * bufferlist.C (release): remove textcache stuff
5485 * TextCache.C: delete file
5486 * TextCache.h: delete file
5488 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5490 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5491 delete of the bv_->text.
5492 (resizeCurrentBuffer): remove texcache stuff
5493 (workAreaResize): ditto
5495 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5497 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5500 2003-10-16 André Pönitz <poenitz@gmx.net>
5507 * text3.C: speed up by storing y positions per paragraph plus per-row
5508 offset instead of having a 'full' y position in the row.
5510 2003-10-15 André Pönitz <poenitz@gmx.net>
5514 * undo.[Ch]: make undo aware of inner insets
5516 2003-10-14 Angus Leeming <leeming@lyx.org>
5518 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5519 static member functions LyX::ref() and LyX::cref.
5520 (lastfiles): new accessor functions for the new lastfiles_ member var.
5521 (addLyXView, views_): add a new LyXView to the list of views_.
5522 (updateInset): loop over all LyXViews to call their own updateInset
5523 member function, returning a pointer to the Buffer owning the inset.
5525 * BufferView_pimpl.C (loadLyXFile):
5526 * MenuBackend.C (expandLastfiles):
5527 * bufferlist.C (MenuWrite, QuitLyX):
5528 lastfiles is no longer a global variable.
5529 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5531 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5532 static function. Access through LyX::cref().emergencyCleanup().
5534 2003-10-14 André Pönitz <poenitz@gmx.net>
5536 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5538 * undo.[Ch]: restoring part of 'undo in insets'
5541 * undo_funcs.[Ch]: merge with undo.[Ch]
5543 * tabular.C: small cleansing stuff
5545 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5547 * paragraph_funcs.C (readParToken): report unknown insets as error
5548 boxes. Use the outer paragraph as location (also for unknown
5551 * factory.C (readInset): do not abort on reading an unknown inset.
5552 Eat it and return 0.
5554 2003-10-13 Angus Leeming <leeming@lyx.org>
5556 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5558 * lyxrc.C: displayTranslator is now a function,
5559 declared in GraphicsTypes.h.
5561 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5563 * format.C: new placeholder $$a to pass the socket address.
5565 * bufferlist.[Ch]: new function getBufferFromTmp.
5567 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5568 files in the temporary dir.
5570 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5572 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5574 * Makefile.am: add lyxsocket.[Ch].
5576 * lyx_main.C (error_handler): handle SIGPIPE.
5578 2003-10-13 André Pönitz <poenitz@gmx.net>
5580 * BufferView_pimpl.C:
5585 * undo_funcs.[Ch]: use paroffset_type instead of
5586 ParagraphList::iterators to prevent multiple conversion
5587 (and get a more robust interface)
5589 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5591 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5593 * text3.C (dispatch): ditto
5595 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5597 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5598 move the onlyfile, use onlyfile instead of foundfile in a couple
5601 * DepTable.C (update): flush the error stream a bit more
5603 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5605 * lyxserver.C (callback): adjust
5607 * lyxfunc.C (getStatus): add a missing brace in commented code
5608 (ensureBufferClean): reindent
5609 (dispatch): delete version taking a string
5611 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * LaTeX.C (deplog): move found file handlig from here...
5614 (handleFoundFile): .. to new function here.
5615 (deplog): make sure to discover several files mentioned on the
5618 2003-10-10 André Pönitz <poenitz@gmx.net>
5625 * text3.C: fix some of the tabular crashes
5627 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5629 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5631 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5633 2003-10-09 André Pönitz <poenitz@gmx.net>
5635 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5638 * BufferView_pimpl.C:
5639 * bufferview_funcs.C:
5650 * undo_funcs.C: adjust
5652 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5654 * text2.C (incrementItemDepth): new function, use a backtracking
5655 algorithm to discover the correct item depth.
5656 (resetEnumCounterIfNeeded): new function, use a backtracking
5657 algorithm to discover if counter reset is needed.
5658 (setCounter): use them. Simplify a bit. Add different labels for
5659 different item depths for itemize.
5661 * paragraph.C (Paragraph): remove initialization of enumdepth
5664 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5665 enumerate and itemize. Change the type of itemdepth to signed char.
5667 2003-10-08 André Pönitz <poenitz@gmx.net>
5669 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5674 * tabular.[Ch]: fix crash after 'row-insert'
5676 2003-10-08 Angus Leeming <leeming@lyx.org>
5678 Fix doxygen warnings.
5680 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5681 Remove CutAndPaste:: prefix from header file declaration.
5683 * LColor.h (fill): remove LColor:: prefix from declaration.
5685 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5686 use lyx::depth_type rather than Paragraph::depth_type so that
5687 header file and .C file match.
5689 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5691 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5692 * aspell.C: \file aspell_local.C -> \file aspell.C
5693 * gettext.C: \file gettext.C -> \file src/gettext.C
5694 * gettext.h: \file gettext.h -> \file src/gettext.h
5695 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5696 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5697 * text.C: \file text.C -> \file src/text.C
5699 * toc.C: move comment so that doxygen is not confused.
5701 2003-10-07 Angus Leeming <leeming@lyx.org>
5703 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5705 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5708 * aspell_local.h: add forgotten std::string's.
5710 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5717 * text3.C: The Box patch. Fancybox support, minipage, parbox
5719 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5725 * ParagraphParameters.h:
5735 * lyxtextclasslist.h:
5738 * paragraph_pimpl.C:
5739 * textcursor.h: add <string> and other small fixes to make Lars'
5740 std::string patch compile with STLport.
5742 2003-10-06 Angus Leeming <leeming@lyx.org>
5744 * LColor.h: Add missing #include <string>.
5746 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5748 * All most all file in all subdirs: Make <string> be the prefered
5749 way of getting to std::string, add using declarations.
5751 2003-10-06 André Pönitz <poenitz@gmx.net>
5753 * metricsinfo.C: initialize LyXFont before changing attribute.
5754 (fixes the 'math in \emph is upright' bug)
5756 2003-10-06 André Pönitz <poenitz@gmx.net>
5758 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5760 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5763 * paragraph_pimpl.C: Small fixes to build using STLport
5765 2003-10-02 André Pönitz <poenitz@gmx.net>
5768 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5770 2003-10-01 André Pönitz <poenitz@gmx.net>
5772 * factory.C: assert early
5774 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5776 * lyx_main.C: remove the global debug object
5778 * debug.h: adjust for new debugstream
5780 * debug.C: adjust for new debugstream and keep the global debug
5783 2003-09-22 Angus Leeming <leeming@lyx.org>
5785 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5786 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5787 an incomplete class LyXFont.
5789 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5791 * factory.C: bug fix in branches
5793 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5795 * lyxfunc.C (processKeySym): adjust
5797 (dispatch): change arg name from ev to func, adjust
5798 (sendDispatchMessage): ditto
5800 * lyx_main.C (defaultKeyBindings): adjust keybindings
5801 (deadKeyBindings): ditto
5803 * kbsequence.C (addkey): return a FuncRequest
5805 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5807 * kbmap.C (bind): take a FuncRequest as arg, adjust
5810 (defkey): change to take a FuncRequest as arg, adjust
5811 (findbinding): take a FuncRequest as arg, adjust.
5813 * funcrequest.h (operator=): added
5815 * funcrequest.C (FuncRequest): default kb_action changed from
5816 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5818 * buffer.C (dispatch): simplify
5819 (dispatch): adjust to take a FuncRequest as arg, adjust
5821 * boost.C (assertion_failed): change assertion message slightly
5823 * ToolbarBackend.C (read): simplify
5825 * MenuBackend.C (binding): adjust call to findbinding, add a
5826 message if no binding is found.
5828 (expandToc): correct by adding a empty FuncRequest
5830 * LyXAction.C: include <boost/assert.hpp>
5831 (isPseudoAction): delete function
5832 (LookupFunc): change name to...
5833 (lookupFunc): this. change return type to FuncRequest.
5834 (getActionName): take kb_action as arg, simplify
5835 (funcHasFlag): add an assert, simplify.
5837 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5839 * toc.C (action): return a FuncRequest, simplify
5841 * lyxfunc.C (processKeySym): adjust
5842 (getStatus): delete version that takes an int.
5844 (dispatch): delete version that takes action as int
5846 (sendDispatchMessage): simplify and adjust
5848 * funcrequest.C (getArg): take unsigned int as arg
5850 * ToolbarBackend.C (read): adjust
5851 (add): delete version that takes func as a string.
5852 (getIton): take a FuncRequest as arg
5854 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5857 * MenuBackend.C (MenuItem): add a new construct that only takes a
5858 Kind, simplify the constructor use for submenus.
5860 (expandLastfiles): adjust
5861 (expandDocuments): adjust
5862 (expandFormats): adjust
5863 (expandFloatListInsert): adjust
5864 (expandFloatInsert): adjust
5865 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5867 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5868 Remove class variables lyx_pseudo_map and lyx_arg_map
5870 * LyXAction.C (searchActionArg): delete function
5871 (getPseudoAction): delete function
5872 (retrieveActionArg): delete function
5873 (LookupFunc): make it return kb_action, simplify.
5874 (getActionName): simplify
5876 * factory.C (createInset): fix new bug
5878 2003-09-19 Angus Leeming <leeming@lyx.org>
5880 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5881 masterFilename_ parameter in the include inset.
5883 * factory.C (createInset): changes due to the changes to InsetInclude.
5885 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5887 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5889 2003-09-18 Angus Leeming <leeming@lyx.org>
5892 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5893 Inset::fillWithBibKeys.
5894 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5896 2003-09-18 Angus Leeming <leeming@lyx.org>
5898 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5900 (ctor): pass and store a 'Buffer const &'
5901 (buffer): new member function.
5903 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5904 '*this' to the LaTeXFeatures ctor.
5906 2003-09-18 Angus Leeming <leeming@lyx.org>
5912 * text.C: rename EnumLColor as LColor_color.
5914 2003-09-18 Angus Leeming <leeming@lyx.org>
5916 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5917 remove #include "insets/insetbase.h" from cursor.h.
5919 2003-09-18 Angus Leeming <leeming@lyx.org>
5921 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5922 InsetOld_code to remove #include "inset.h".
5924 * iterators.C: add #include "insets/inset.h"
5926 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5928 * BufferView.C: remove more locking stuff that apparently doesn't
5929 do anything sensible.
5931 2003-09-16 André Pönitz <poenitz@gmx.net>
5934 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5937 2003-09-16 Angus Leeming <leeming@lyx.org>
5939 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5941 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5944 * paragraph.h: remove #include "lyxfont.h". Forward declare
5947 2003-09-16 Angus Leeming <leeming@lyx.org>
5949 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5950 of support/textutils.h.
5951 (isWord): move the contents of support/textutils.h's IsWordChar here.
5957 * text2.C: add #include "paragraph.h".
5960 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5962 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5968 * LaTeX.C: use namespace alias for lyx::support::os
5970 2003-09-16 Angus Leeming <leeming@lyx.org>
5973 * bufferview_funcs.C:
5976 * paragraph_pimpl.C:
5978 * text.C: add #include "LColor.h".
5980 2003-09-16 Angus Leeming <leeming@lyx.org>
5982 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5983 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5985 Store the FontBits::color variable as an int rather than as an
5986 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5989 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5990 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5991 string calls together.
5993 * lyxrc.C: add #include "LColor.h".
5995 2003-09-15 Angus Leeming <leeming@lyx.org>
5997 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6000 2003-09-15 Angus Leeming <leeming@lyx.org>
6002 * LColor.h: add an EnumLColor wrapper for LColor::color.
6004 * lyxfont.[Ch] (color, setColor, realColor):
6005 * lyxtext.h, text.C (backgroundColor):
6006 pass EnumLColor args to/from the functions, rather than LColor::color
6010 * lyxtext.h: forward declare EnumLColor.
6012 * lyx_main.C: add #include "LColor.h".
6014 2003-09-15 Angus Leeming <leeming@lyx.org>
6016 * .cvsignore: add lyx-gtk.
6018 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6023 * ParagraphParameters.C
6027 * bufferview_funcs.C
6037 * vc-backend.C: remove usage of STRCONV
6039 2003-09-15 Angus Leeming <leeming@lyx.org>
6041 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6042 explicitly define the color passed to the painter.
6044 2003-09-15 Angus Leeming <leeming@lyx.org>
6046 * bufferparams.C (BufferParams): reorder member initializers to avoid
6049 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6051 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6052 * text.C (updateRowPositions): remove an unusual nop
6054 2003-09-12 André Pönitz <poenitz@gmx.net>
6056 * BufferView_pimpl.C:
6065 * Counters.[Ch]: finish the 'automatic counters' job
6067 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6069 * aspell.C: include <boost/assert.cpp> (compile fix)
6071 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6073 * boost.C (assertion_failed): use lyx::support::abort instead of
6076 2003-09-10 Angus Leeming <leeming@lyx.org>
6078 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6079 with their _fwd progeny.
6081 2003-09-09 Angus Leeming <leeming@lyx.org>
6083 134 files throughtout the source tree: replace 'using namespace abc;'
6084 directives with the appropriate 'using abc::xyz;' declarations.
6086 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6088 * boost.C (emergencyCleanup): moved here from LAssert.c
6089 (assertion_failed): new function, called by BOOST_ASSERT
6091 * several files: change Assert to BOOST_ASSERT
6093 2003-09-09 Angus Leeming <leeming@lyx.org>
6095 * buffer.[Ch]: Add an Impl class and move Buffer's member
6096 variables into it. As a result move several header files out of
6099 Add header files to lots of .C files all over the tree as a result.
6101 2003-09-09 Angus Leeming <leeming@lyx.org>
6103 * buffer.[Ch]: make Buffer's member variables private. Add
6106 Lots of changes all over the tree as a result.
6108 2003-09-08 Angus Leeming <leeming@lyx.org>
6110 * graph.C: #include <config.h>.
6112 2003-09-08 Angus Leeming <leeming@lyx.org>
6116 * BufferView_pimpl.C:
6145 * toc.C: remove redundant using directives.
6147 2003-09-07 Angus Leeming <leeming@lyx.org>
6149 * LaTeXFeatures.h: remove #include "support/types.h".
6150 * ToolbarBackend.h: remove #include <algorithm>.
6151 * changes.h: remove #include <ctime>.
6152 * debug.h: remove #include <iosfwd>.
6153 * graph.h: remove #include "support/std_string.h".
6154 * lyx_main.h: remove #include <csignal>.
6155 * lyxlex_pimpl.h: remove #include <fstream>.
6156 * sgml.h: remove #include <algorithm>, <utility>.
6157 * toc.h: remove #include "support/std_ostream.h".
6158 Add #include <iosfwd>.
6160 2003-09-07 Angus Leeming <leeming@lyx.org>
6162 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6164 * converter.h: forward declare LatexRunParams.
6165 * encoding.h: remove #include "lyxrc.h".
6166 * lyxtext.h: remove #include "LColor.h".
6167 * lyxtextclass.h: remove #include "support/types.h".
6168 * trans.h: remove #include "tex-accent.h".
6169 * trans_mgr.h: remove #include "tex-accent.h".
6170 * insets/inset.h: remove #include "support/types.h", <vector>.
6171 * insets/insetcollapsable.h: remove #include "LColor.h".
6172 * insets/insetinclude.h: remove #include "dimension.h".
6173 * insets/insetlatexaccent.h: remove #include "dimension.h".
6174 * insets/insetoptarg.h:: remove #include "insettext.h".
6175 * insets/insettext.h: remove #include "dimension.h",
6176 <boost/shared_ptr.hpp>
6178 * insets/renderers.h: add #include "dimension.h".
6179 * insets/updatableinset.h: add #include "support/types.h".
6181 * many .C files: Associated changes.
6183 2003-09-06 Angus Leeming <leeming@lyx.org>
6185 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6186 one, inside testInvariant.
6188 * PrinterParams.C: new file.
6189 * PrinterParams.[Ch]: move the function bodies out of line.
6191 2003-09-06 Angus Leeming <leeming@lyx.org>
6193 * ParagraphParameters.h: forward declare ParameterStruct rather than
6194 including its header file.
6195 (depth): moved out-of-line.
6197 2003-09-06 Angus Leeming <leeming@lyx.org>
6199 * BufferView_pimpl.h:
6202 * lyxfunc.h: forward declare LyXKeySym rather than
6203 #include "frontends/LyXKeySym.h".
6205 * BufferView_pimpl.C:
6208 * lyxfunc.C: associated changes.
6210 2003-09-06 Angus Leeming <leeming@lyx.org>
6212 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6213 As a result, can remove the #include "insets/inset.h" from BufferView.h
6215 2003-09-06 Angus Leeming <leeming@lyx.org>
6217 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6218 As a result, can remove the #include "insets/inset.h" from BufferView.h
6220 2003-09-06 Angus Leeming <leeming@lyx.org>
6226 * bufferview_funcs.C:
6227 * BufferView_pimpl.C:
6232 * ParagraphParameters.C:
6237 * frontends/controllers/ControlDocument.C:
6238 * insets/insetcaption.C: rearrange the #includes into some sort of
6241 * buffer.h: remove #includes ErrorList.h, undo.h
6243 2003-09-06 Angus Leeming <leeming@lyx.org>
6245 * support/types.h: add a 'depth_type' typedef, used to store the
6246 nesting depth of a paragraph.
6249 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6250 defining explicitly.
6253 * paragraph_funcs.h:
6254 * ParagraphParameters.h:
6255 * sgml.h: use lyx::depth_type rather than Paragraph or
6256 ParameterStruct's depth_type.
6259 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6262 * BufferView_pimpl.C:
6264 * ParagraphParameters.C:
6267 * bufferview_funcs.C:
6274 * frontends/LyXView.C:
6275 * frontends/controllers/ControlDocument.C:
6276 * frontends/controllers/ControlErrorList.C:
6277 * insets/insetbibitem.C:
6278 * insets/insetbranch.C:
6279 * insets/insetcaption.C:
6280 * insets/insetcollapsable.C:
6281 * insets/insetenv.C:
6282 * insets/insetert.C:
6283 * insets/insetfloat.C:
6284 * insets/insetfoot.C:
6285 * insets/insetfootlike.C:
6286 * insets/insetnewline.C:
6287 * insets/insetquotes.C:
6288 * insets/insettabular.C:
6289 * insets/insettext.C:
6290 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6292 * frontends/controllers/ControlChanges.C: #include "changes.h".
6294 2003-09-06 Angus Leeming <leeming@lyx.org>
6296 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6297 than #including paragraph.h.
6300 * RowList.h: deleted. Superfluous.
6310 * insets/insettext.h: use ParagraphList_fwd.h rather than
6313 * paragraph.h: don't forward declare ParagraphList.
6316 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6317 rather than ParagraphList.h. paragraph.h is still needed for the
6318 Paragraph::depth_type parameters.
6320 * textcursor.h: enable it to compile stand-alone in light of the
6323 * bufferview_funcs.C:
6335 * frontends/controllers/ControlParagraph.C:
6336 * frontends/controllers/ControlTabular.C:
6337 * insets/insetmarginal.C:
6338 * insets/insetminipage.C:
6339 * insets/insetnote.C:
6340 * insets/insetoptarg.C: add header files needed to compile again.
6342 2003-09-06 Angus Leeming <leeming@lyx.org>
6344 * RowList_fwd.h: new file, forward-declaring Row rather than
6345 #including lyxrow.h.
6350 * insets/insettext.h: use it instead of RowList.h
6352 * bufferview_funcs.C:
6359 * text3.C: #include "RowList.h".
6361 2003-09-05 Angus Leeming <leeming@lyx.org>
6363 * factory.C (createInset):
6364 * vspace.C (c-tor): replace sscanf call with an istringstream.
6365 * ispell.C: re-add missing HP/UX headers.
6366 * lyxserver.C: re-add missing os2 headers.
6368 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6377 * text3.C: re-add missing system headers, needed for 2.95.2.
6379 2003-09-05 Angus Leeming <leeming@lyx.org>
6381 Changes most place everywhere due to the removal of using directives
6382 from support/std_sstream.h.
6384 2003-09-05 Angus Leeming <leeming@lyx.org>
6386 Replace LString.h with support/std_string.h,
6387 Lsstream.h with support/std_sstream.h,
6388 support/LIstream.h with support/std_istream.h,
6389 support/LOstream.h with support/std_ostream.h.
6391 Changes resulting throughout the tree.
6393 2003-09-05 Angus Leeming <leeming@lyx.org>
6395 * sgml.h: ensure that the header file can be compiled stand-alone.
6396 * *.C: strip out redundant #includes. (320 in total.)
6398 2003-09-04 Angus Leeming <leeming@lyx.org>
6400 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6401 here (from getPackages).
6403 * debug.[Ch]: add a new EXTERNAL tag.
6405 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6407 * text2.C (cursorEnd): simplify
6409 (getColumnNearX): adjust
6411 * text.C (computeBidiTables): adjust
6414 * rowpainter.C (paintChars): adjust
6415 (paintSelection): adjust
6416 (paintChangeBar): adjust
6419 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6421 (numberOfSeparators): adjust
6423 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6429 * text3.C: Restricts the mouse click functionality
6430 of insets like bibtex, include, toc and floatlist to the visible
6431 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6432 up the dialogs. Cursor has to be in front of the inset (i.e.
6433 start of row) for this to function.
6435 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6437 * bufferview_funcs.C (currentState): output row information
6439 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6441 * bufferview_funcs.C (currentState): output paragraph position
6443 2003-09-04 Angus Leeming <leeming@lyx.org>
6445 * FloatList.h: move out #include "Floating.h".
6446 * LaTeX.h: move out #include "DepTable.h".
6447 * LyXAction.h: move out #include "funcrequest.h".
6448 * buffer.h: move out #include "author.h", "iterators.h".
6449 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6450 * lyx_main.h: move out #include "errorlist.h".
6451 * lyxfunc.h: move out #include "FuncStatus.h".
6452 * lyxtext: move out #include "lyxcursor.h".
6453 * paragraph_pimpl.h: move out #include "counters.h".
6455 2003-09-03 Angus Leeming <leeming@lyx.org>
6457 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6458 preamble_snippets list, enabling us to add snippets to the preamble
6459 only if the snippet was not there already.
6461 2003-09-04 Angus Leeming <leeming@lyx.org>
6463 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6465 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6467 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6470 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6472 * BranchList.C: point fix, earlier forgotten
6474 2003-09-02 Angus Leeming <leeming@lyx.org>
6476 * box.C (contains): renamed from 'contained' after a fantastic
6479 2003-09-02 John Levon <levon@movementarian.org>
6485 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6487 2003-09-02 John Levon <levon@movementarian.org>
6489 * text2.C: simplification of cursorEnd(), including partial
6492 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6494 * buffer.C (readFile): add a space
6496 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6498 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6500 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6502 * buffer.C (readFile): new function, take a filename and a
6503 ParagraphList::iterator
6505 (readFile): adjust, make it private. don't use setStream, make
6506 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6507 always contain the filename.
6509 * BufferView.C (insertLyXFile): simplify and make it work for
6512 2003-08-30 John Levon <levon@movementarian.org>
6514 * Makefile.am: fix dist (from Kayvan)
6516 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6518 * most files: change to use const Buffer refs
6520 2003-08-27 André Pönitz <poenitz@gmx.net>
6522 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6523 on top of ownerPar().
6525 2003-08-27 John Levon <levon@movementarian.org>
6527 * funcrequest.C: properly initialise POD members
6529 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6531 * lyxtext.h (top_y): move top_y from here
6536 * BufferView_pimpl.[Ch]: to here
6537 * frontends/screen.C:
6538 * insets/insettabular.C:
6539 * insets/insettext.C: adjust
6540 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6542 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6545 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6547 2003-08-26 André Pönitz <poenitz@gmx.net>
6549 * paragraph_func.[Ch] (outerPar): new function
6552 * paragraph_funcs.C:
6553 * paragraph_funcs.h:
6554 * paragraph_pimpl.C:
6555 * text2.C: remove Inset::par_owner
6557 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6562 * text2.C: eliminates the needFullRow/display() stuff
6563 altogether, putting the logic in metrics/draw in the insets.
6565 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6567 * text2.C (redoParagraphInternal, redoParagraphs):
6568 * text.C (redoParagraph): add a call to updateRowPositions at the
6569 end of each 'metrics-like' call. Remove all others.
6570 (getRow): remove the 'y-computing' version.
6571 (getRowNearY): do not compute nor return the real y. Solve the
6572 'y < 0' problem and simplify.
6574 2003-08-22 Angus Leeming <leeming@lyx.org>
6576 * *.[Ch]: clean-up of licence and author blurbs.
6577 Also move config.h out of a few .h files and into a few .C files.
6579 2003-08-22 André Pönitz <poenitz@gmx.net>
6581 * lyxrow.[Ch]: add x_ and *fill_ members
6586 * text2.C: adjust/remove prepareToPrint() calls
6588 2003-08-22 André Pönitz <poenitz@gmx.net>
6590 * lyxrow.[Ch]: add end_ member
6592 * lyxrow_funcs.C: use LyXRow::end_
6594 * lyxtext.h (singleWidth): add LyXFont parameter
6597 * text2.C: adjust LyXText::singleWidth() calls
6599 * text.C (redoParagraph): simplify row breaking logic
6602 2003-08-19 André Pönitz <poenitz@gmx.net>
6604 * funcrequest.C: initialize button_ member
6607 * rowpainter.[Ch]: interface consolidation
6609 2003-08-18 André Pönitz <poenitz@gmx.net>
6612 * BufferView_pimpl.C:
6614 * paragraph_funcs.C:
6616 * text3.C: remove LyXScreen::draw() and fitCursor calls
6618 * BranchList.h: remove spurious semicolons
6620 * MenuBackend.C: fix branchlist related crash
6622 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6630 * bufferparams.[Ch]:
6634 * text3.C: implements the 'branch inset'
6635 idea. This allows the output of various versions of a document
6636 from a single source version, selectively outputing or suppressing
6637 output of parts of the text.
6638 This implementation contains a 'branch list editor' in a separate
6639 tab of the document settings dialog. Branches are user definable
6640 and have a "display colour" to distinguish them on-screen.
6642 ColorHandler was somewhat cleaned up.
6643 (1) make possible a dynamically growing LColor list by allowing
6644 the graphic context cache to grow along (vector);
6645 (2) eliminate an IMHO unnecessary step in colour allocation.
6647 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6649 * BufferView_pimpl.C: compile fix
6651 2003-08-15 André Pönitz <poenitz@gmx.net>
6653 * rowpainter.C: remove extra metrics calls
6655 * lyxtext.h: merge the two constructors into a single one,
6656 pass reference to owner's par list
6658 * BufferView_pimpl.C:
6662 2003-08-15 André Pönitz <poenitz@gmx.net>
6664 * lyxrow_funcs.[Ch]:
6667 * paragraph_funcs.C:
6672 * text_funcs.C: split LyXText::rowlist_ into individual
6673 Paragraph::rows_ chunks
6676 * BufferView_pimpl.[Ch]:
6679 * text3.C: remove toggleSelection()
6681 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6683 * bufferlist.C: beautify two alerts (shorter text of buttons)
6684 * buffer.C: Remove redundant ' ' from message
6686 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6687 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6688 rename VALIGN_CENTER to VALIGN_MIDDLE
6690 2003-08-11 André Pönitz <poenitz@gmx.net>
6692 * lyxtext.h (getPar):
6693 * text.C: new function
6695 2003-08-11 André Pönitz <poenitz@gmx.net>
6698 * tracer.[Ch]: remove unneeded files
6700 * InsetList.[Ch]: remove resizeInsetsLyXText()
6705 * text3.C: merge insertParagraphs() and appendParagraph()
6706 remove breakAgain(), update()
6708 * BufferView_pimpl.[Ch]:
6709 * bufferview_funcs.[Ch]:
6713 * tabular.C: adjust after text & InsetList changes.
6715 2003-08-08 André Pönitz <poenitz@gmx.net>
6717 * text.C (insertChar, backspace): replace rowlist fiddling
6718 with rebreak of full par
6721 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6722 checkParagraph, updateInset): removed
6724 2003-08-07 André Pönitz <poenitz@gmx.net>
6727 * text3.C: merge some LFUN handlers, remove dead code
6729 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6731 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6733 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6735 * text2.C (DEPM): fix part of bug 1255 and 1256
6737 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6739 * BufferView_pimpl.C (workAreaDispatch): change to use
6740 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6741 that are no mouse related.
6743 2003-08-05 André Pönitz <poenitz@gmx.net>
6746 * BufferView_pimpl.[Ch]:
6747 * bufferview_funcs.C:
6749 * text3.C: rip out "deep update"
6751 * textcursor.[Ch] (last_sel_cursor): remove unused member
6753 2003-08-04 André Pönitz <poenitz@gmx.net>
6756 * BufferView_pimpl.[Ch]:
6757 * ParagraphParameters.C:
6758 * bufferview_funcs.C:
6764 * text3.C: replace "complicated" BufferView::update(...) calls with
6767 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6769 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6771 * Makefile.am (lyx_SOURCES): add paper.h
6773 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6775 * Makefile.am: move things around so that both lyx-qt and
6776 lyx-xforms can be built (according to --with-frontend). Then lyx
6777 is a symbolic link to lyx-[firstfrontend]
6779 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6781 * Always use std::endl with lyxerr
6783 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6785 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6787 2003-08-01 André Pönitz <poenitz@gmx.net>
6790 * BufferView_pimpl.[Ch]:
6792 * text3.C: merge BufferView::repaint() and BufferView::update()
6794 2003-08-01 José Matos <jamatos@lyx.org>
6796 * buffer.[Ch]: file_format is no longer a buffer data element.
6798 2003-08-01 André Pönitz <poenitz@gmx.net>
6803 * text2.C: make redoParagraph more independent of current cursor
6805 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6807 * text2.C: remove unneeded members
6809 2003-07-30 André Pönitz <poenitz@gmx.net>
6811 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6813 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6814 create a single function...
6816 * paragraph_funcs.C (moveItem): ... here.
6819 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6821 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6823 * LColor.[Ch]: Add comment and greyedout logical colors.
6825 2003-07-30 André Pönitz <poenitz@gmx.net>
6827 * tabular.C: don't use Assert too heavily. This crashes where it
6830 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6832 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6833 is disabled (bug 1232)
6835 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6837 * factory.C: limited 'arg' scope
6839 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6841 * factory.C: fixed Note submenu issues
6843 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6845 * factory.C: submenu for Note/Comment/Greyedout
6847 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6850 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6852 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6855 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6856 greyedout. Patch provided by Jürgen Spitzmüller.
6858 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6860 * kbmap.C (read): fix error message when reading bind files
6862 2003-07-29 Angus Leeming <leeming@lyx.org>
6864 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6865 certainly does not do what it purports to do. I am doing it, and
6866 us, a favour by killing it.
6868 2003-07-28 José Matos <jamatos@lyx.org>
6870 * buffer.C (readBody, do_writeFile):
6871 * paragraph.C(readParagraph): \end_document replaces \the_end.
6873 2003-07-29 André Pönitz <poenitz@gmx.net>
6876 * BufferView_pimpl.[Ch]:
6880 * textcursor.[Ch]: remove toggleToggle & Co
6882 2003-07-28 José Matos <jamatos@fep.up.pt>
6884 * buffer.C (readParagraph):
6885 * params_func (readParToken, readParagraph):
6886 * paragraph.C (write): \layout -> \begin_layout.
6888 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * lyxlex_pimpl.C (setFile): clean up slightly.
6892 * bufferparams.h: add compressed var
6894 * buffer_funcs.C (readFile): adjust for LyXLex change
6895 (newFile): ditto + simplify
6897 * buffer.C (writeFile): handle writing of compressed files
6899 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6900 Check if the file is compressed and set a bufferparm if so.
6902 * Makefile.am (lyx_LDADD): remove explicit -lz
6904 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6906 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6907 makeDocBookFile): put the real LyX version in the first line of
6911 * version.C.in: remove lyx_docversion
6913 * tabular.C (write_attribute): add a template-based version to
6914 write enums properly
6916 2003-07-28 André Pönitz <poenitz@gmx.net>
6921 * text3.C: use doubles again for x-coordinates. They are needed.
6923 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * messages.C (getLocaleDir): use lyx_localedir()
6927 * lyxlex_pimpl.C (setFile): compress stuff
6929 * buffer.C (writeFile): add some compression stuff
6930 (do_writeFile): new func, dont call expliti close... will this
6933 * Makefile.am (lyx_LDADD): add -lz
6935 2003-07-28 José Matos <jamatos@fep.up.pt>
6937 * buffer.C: increment file format.
6938 * paragraph_funcs (readParagraph, readParToken):
6939 * paragraph.C (readParagraph): add \end_layout.
6941 2003-07-27 Angus Leeming <leeming@lyx.org>
6943 * Makefile.am: remove special casing for configure-time setting of
6944 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6946 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6947 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6949 2003-07-26 André Pönitz <poenitz@gmx.net>
6951 * paragraph_func.[Ch]:
6952 * paragraph.C (realizeFont): inline it whereever it is used
6957 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6960 2003-07-26 André Pönitz <poenitz@gmx.net>
6964 * text2.C: get rid of LyXText::need_break_row
6966 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6968 * toc.[Ch]: put namespace toc inside namespace lyx
6970 * MenuBackend.C (expandToc2): adjust for lyx::toc
6973 * lyxfunc.C (dispatch): adjust for lyx::find
6975 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6976 lyx::find instead. Reorganize a bit.
6977 (LyXReplace): rename to replace
6978 (LyXFind): rename to find
6980 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6983 2003-07-26 André Pönitz <poenitz@gmx.net>
6985 * text.C (setHeightOfRow): restrict scope of temporary variable
6987 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6988 code (never has been used?)
6990 2003-07-27 Asger Alstrup <alstrup@local>
6992 * text.C (fill): Optimise algorithm to exploit that we can reuse
6993 the LyXFont for many characters.
6994 (setHeightOfRow): Same thing.
6995 (rowBreakPoint): Same thing.
6997 2003-07-26 Asger Alstrup <alstrup@local>
6999 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7001 * text.C (singleWidth): Spurious font copying in hot-spot
7002 singleWidth avoided. Reorder tests for arabic for efficiency.
7004 * text.C (fill): handle empty paragraphs better.
7006 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7009 * encoding.h: add includes
7011 * lyxrc.C: remove reading of bind files
7013 * lyx_main.C (init): setup bindings and menus only if we have a
7016 * kbmap.C (read): new method. Do the actual reading of bind
7019 * converter.C (dvipdfm_options):
7022 (output): adapt PAPER_* enums.
7024 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7026 * bufferparams.h: remove paper-related enums from there
7028 * paper.h: New file. A trivial header file to hold paper-related
7029 enums. It should later expand to contain many paper-related
7032 * lyxrc.C: declare extern displayTranslator
7034 2003-07-27 José Matos <jamatos@fep.up.pt>
7036 * tabular.[Ch] (linuxdoc): add support for tables and figures
7039 2003-07-27 José Matos <jamatos@fep.up.pt>
7041 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7042 consistency in both functions.
7043 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7045 2003-07-26 Asger Alstrup <alstrup@local>
7047 * rowpainter.C (paintRows): Change algorithm to work directly on
7048 the insets rather than asking every character in the document
7049 whether its an inset.
7051 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7053 * buffer.C (openFileWrite): factorize some code
7055 2003-07-26 Angus Leeming <leeming@lyx.org>
7058 * lyx_main.[Ch]: replace occurances of system_tempdir with
7061 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7063 * rename Inset to InsetOld
7065 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7067 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7068 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7069 which I think is a bit clearer. EDIT is gone, since it was
7070 premature optimisation, and broken for mathed anyway.
7071 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7072 with cursor positioning in insets as well (math insets still do not
7073 work, but that's a different story anyway.) It mysteriously
7074 crashes sometimes with undo in the first paragraph, but I'm fairly
7075 confident that this is a compiler bug.
7077 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7079 * paragraph.C (Paragraph): adjust for new clone return type
7081 (copyIntoMinibuffer): ditto
7083 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7085 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7086 by not having a special case, and always doing a full rebreak of
7087 the document after undo.
7089 2003-07-23 Angus Leeming <leeming@lyx.org>
7091 * factory.C (createInset): InsetExternal::setParams now takes a
7094 2003-07-23 Angus Leeming <leeming@lyx.org>
7096 * factory.C (createInset): changed interface to the external and
7097 graphics mailers' string2params functions.
7099 2003-07-23 Angus Leeming <leeming@lyx.org>
7101 * factory.C (createInset): pass a
7102 Buffer const * parameter to InsetExternalMailer's string2params.
7104 2003-07-22 John Levon <levon@movementarian.org>
7106 * Thesaurus.h: include the right aiksaurus header
7108 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7110 * MenuBackend.C (expand): check menu shortcuts unconditionally
7112 2003-07-21 Angus Leeming <leeming@lyx.org>
7114 * factory.C (createInset): pass a
7115 buffer_path parameter to InsetGraphicsMailer's string2params.
7117 2003-07-21 Angus Leeming <leeming@lyx.org>
7119 * BufferView_pimpl.C (buffer):
7122 * lyxfunc.C (dispatch):
7123 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7124 rather than the grfx shortcut.
7126 2003-07-21 André Pönitz <poenitz@gmx.net>
7128 * rowpainter.C: remove unused variables
7131 * tabular_funcs.h: move to tabular.C
7132 * Makefile.am: adjust
7134 * tabular.[Ch]: basic optical cleaning
7136 * author.h: pass references, not values
7138 2003-07-18 André Pönitz <poenitz@gmx.net>
7146 * text3.C: two-phase drawing for InsetText and InsetTabular
7147 some float -> int changes.
7149 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7151 * lyx_main.C: fix the fix
7153 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7155 * lyx_main.C: fix a crash in batch mode if no files specified
7158 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7160 * format.[Ch] (papersize): moved to BufferParams
7161 * converter.[Ch] (dvips_options): moved to BufferParams
7162 (dvipdfm_options): moved to anon namespace
7163 * bufferparams.[Ch]: added above functions.
7165 2003-07-17 André Pönitz <poenitz@gmx.net>
7169 * text2.C: don't call inset->update() anymore
7171 * metricsinfo.[Ch]: add convenience constructor
7173 2003-07-16 André Pönitz <poenitz@gmx.net>
7178 * text2.C: replace the LyXCursor::irow_ member with
7179 on-demand computation of the value
7181 2003-07-16 John Levon <levon@movementarian.org>
7183 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7185 2003-07-15 André Pönitz <poenitz@gmx.net>
7188 * text2.C: remove no more needed refresh_row
7190 2003-07-15 André Pönitz <poenitz@gmx.net>
7195 * text3.C: refresh_status tristate -> need_update bool
7197 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7199 * lyxtext.h (init): remove reinit argument (act as if always true)
7200 * text2.C: adjust to that
7202 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7204 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7205 * text3.C: use it to delete selections in some cases
7206 (bugs 441, 673, 702, 954).
7208 2003-07-14 André Pönitz <poenitz@gmx.net>
7210 * rowpainter.[Ch]: reduce interface
7212 2003-07-14 André Pönitz <poenitz@gmx.net>
7214 * BufferView_pimpl.C:
7215 * text2.C: adjust after removing unused BufferView * argument
7217 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7219 * text2.C (init): fix a crash fired on resize
7221 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7223 * buffer.[Ch]: added new closing signal
7224 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7225 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7226 BufferView::Pimpl via the closing the signal
7228 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7230 * buffer.[Ch]: take out all bv-related from buffer
7232 * BufferView_pimpl.[Ch]: connect to new signals
7233 * CutAndPaste.C: removed useless asserts
7234 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7237 * lyxfunc.C: moved view-related funciontality from vc here
7238 * paragraph.C: removed outdated comments
7241 2003-07-10 André Pönitz <poenitz@gmx.net>
7243 * BufferView_pimpl.C:
7247 * text2.C: remove InsetText::InnerCache, clean up consequences
7249 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7251 * ispell.C: fix two typos in error messages
7253 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7255 * Extend Note inset to other forms of annotation like Comment
7256 and Greyedout. Right button click gives dialog.
7258 Files modified or added (+):
7262 * ControlNote.[Ch] +
7264 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7265 frontends/controllers
7269 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7271 * aspell.C: add missing namespace lyx::support
7273 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7275 * BufferView.[Ch] (newFile): Add
7276 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7277 * LaTeX.[Ch] (message): added this signal and use it
7278 * buffer.[Ch] (busy, message): added these signals and use them
7279 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7283 * importer.C: use buffer signals instead of direct bv calling
7284 * lyx_cb.[Ch] (ShowMessage): removed
7287 * paragraph_funcs.C:
7288 * text2.C: use buffer signals
7290 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7292 * introduce namespace lyx::graphics
7294 2003-07-02 André Pönitz <poenitz@gmx.net>
7296 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7298 2003-07-01 André Pönitz <poenitz@gmx.net>
7305 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7306 text*.C to text_func.C
7308 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * introduce namespace lyx::support
7312 2003-06-30 André Pönitz <poenitz@gmx.net>
7317 * text.C: re-enable --with-included-string
7319 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7321 * textcursor.C: add <config.h>
7323 * text.C (getWord): remove const from word_location arg
7325 * lyxvc.C (getLogFile): fix const type order
7327 * lyxtext.h: remove const from word_location arg, add arg name
7329 * lyxlayout.h: currect type on labeltype.
7331 * importer.C: correct \file
7333 * converter.C (intToFormat): use std:: on ret val, ws changes
7335 * bufferlist.h: correct \file
7337 * buffer.C (makeLinuxDocFile): fix const type order
7338 (makeDocBookFile): ditto
7339 (fillWithBibKeys): use std:: on stdlib args.
7341 * CutAndPaste.C: fix authors.
7342 (availableSelections): use std:: on return vector
7344 2003-06-27 André Pönitz <poenitz@gmx.net>
7346 * BufferView_pimpl.C:
7347 * bufferview_funcs.C:
7355 * text3.C: remove LyXCursor::row_ member
7358 * text.C: rename fullRebreak() to partialRebreak() and implement
7359 a fullRebreak() that really bereks fully
7361 * textcursor.h: new struct for cursor-related data
7363 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7365 * lyx_main.C (LyX): get full path of document loaded on the
7368 2003-06-26 André Pönitz <poenitz@gmx.net>
7370 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7371 remove unused/broken operator>,<,>=.
7373 * text.C: remove only use of broken operator<= in an Assert().
7375 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7377 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7378 moved errorlist_.clear to showErrorList
7380 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7382 * converter.C (scanLog, runLaTeX):
7383 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7384 move the bv->showErrorList call to the callers
7385 * lyxfunc.C: i.e. here...
7387 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7388 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7389 namespace, the second to...
7390 * buffer_funcs (BufferFormat, parseErrors): added
7391 * errorlist.C (ErrorList(TeXErrors const &)): removed
7393 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7395 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7397 2003-06-24 "Garst R. Reese" <reese@isn.net>
7401 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7403 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7405 * version.C.in: change docversion to 1.4
7407 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7409 * buffer.C: fix a bug just introduced
7411 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7413 * buffer.[Ch]: added the parseError signal and use it, removed
7415 * BufferView.[Ch] (addError): moved to ...
7416 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7417 to the Buffer::parseError signal to catch (guess what) parse errors
7418 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7420 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7422 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7423 ability to create a buffer and to return an existing one from
7424 the list. Moved these functions to...
7425 * buffer_funcs.[Ch]: added
7426 * BufferView.[Ch] (loadLyXFile): added
7427 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7428 job removed from bufferlist::loadLyXFile.
7429 * buffer.C (setReadOnly): make it work without view
7430 (i.e added an if (users))
7432 2003-06-19 Angus Leeming <leeming@lyx.org>
7435 * LyXAction.C (init):
7436 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7437 with LFUN_DIALOG_SHOW <name> <data>.
7439 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7441 * CutAndPaste.C (availableSelections): small compilation fix for
7442 ancient (gcc 2.9x) compilers
7444 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7446 * text3.C (cursorNext): add tmp var
7448 * text2.C (updateCounters): for function calling out of for clause
7449 (replaceSelectionWithString): ditto
7450 (insertStringAsParagraphs): ditto
7451 (getColumnNearX): add tmp var
7452 (setCursorFromCoordinates): add tmp var
7453 (cursorDownParagraph): add tmp var
7454 (deleteEmptyParagraphMechanism): add tmp var
7456 * text.C (insertChar): add tmp var
7458 * rowpainter.C (paintDepthBar): add tmp var
7460 * CutAndPaste.C (availableSelections): potentially check all
7461 paragraphs in a cut to fill the shown strings.
7463 2003-06-18 André Pönitz <poenitz@gmx.net>
7465 * kbmap.[Ch]: use vector<> instead of list<>
7467 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7469 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7470 pasteSelection with index
7472 * text2.C (pasteSelection): modify, call pasteSelection with index
7474 * paragraph.C (asString): reimplement version with no interval to
7475 call the one with interval.
7477 * lyxtext.h: add index arg to pasteSelection
7479 * MenuBackend.C (MenuItem): handle PasteRecent
7480 (Menu::read::Menutags): add md_pasterecent
7482 (expandPasteRecent): new function
7485 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7487 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7489 (availableSelections): new function
7491 2003-06-17 Angus Leeming <leeming@lyx.org>
7493 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7495 2003-06-17 Angus Leeming <leeming@lyx.org>
7498 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7500 * lyxfunc.C (dispatch): invoke it.
7502 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7504 * iterators.C (operator++, ParPosition): reintroduce some
7505 const_cast for the benefit of older compilers.
7507 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7509 * text3.C (dispatch): do not modify clipboard when doing
7510 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7511 LFUN_DELETE_SKIP on a selection selection
7513 2003-06-16 André Pönitz <poenitz@gmx.net>
7519 * tabular.[Ch]: IU of clone() and getLabelList();
7521 2003-06-13 André Pönitz <poenitz@gmx.net>
7523 * tabular.h: compactification
7525 2003-06-12 André Pönitz <poenitz@gmx.net>
7529 * tabular_funcs.h: some renaming plus whitespace
7531 2003-06-12 André Pönitz <poenitz@gmx.net>
7534 * BufferView_pimpl.C:
7540 * toc.C: Return a Paragraph & for ParIterator::operator*()
7542 2003-06-11 John Levon <levon@movementarian.org>
7546 * ToolbarBackend.C: add "Toolbars" section and
7549 2003-06-10 Angus Leeming <leeming@lyx.org>
7552 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7554 * lyxfunc.C (dispatch): invoke it.
7556 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7558 * main.C: protect <ios> with HAVE_IOS
7559 (main): protect sync_with_stdio with HAVE_IOS
7561 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7563 * text2.C (cutSelection): adjust
7564 (pasteSelection): adjust
7566 * messages.C: handle get of empty string
7568 * main.C (main): use sync_with_stdio(false)
7570 * lyxfunc.C (dispatch): adjust
7572 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7573 (WriteAs): remove unneeded BufferView arg.
7575 * bufferparams.h: use correct types on papersize, papersize2 and
7578 * bufferparams.C (readToken): adjust for type
7579 (writeLaTeX): add missing cases to switch.
7581 * bufferlist.C (quitWriteBuffer): adjust
7584 * buffer.C (asciiParagraph): remove some commented code.
7586 * CutAndPaste.C: remove current_view extern variable.
7587 (cutSelection): add BufferParams arg.
7588 (eraseSelection): add BufferParams arg.
7589 (pasteSelection): add Buffer const & arg
7591 2003-06-07 John Levon <levon@movementarian.org>
7594 * paragraph_funcs.C:
7595 * paragraph_pimpl.C:
7599 * paragraph.C: allow InsetERT to freely space lines,
7600 and some consolidation of code
7602 2003-06-06 José Matos <jamatos@fep.up.pt>
7604 * buffer.C (makeDocBookFile): fix bug #821
7606 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7608 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7610 2003-06-04 Angus Leeming <leeming@lyx.org>
7612 * buffer.C: bump format to 224.
7614 2003-06-05 André Pönitz <poenitz@gmx.net>
7616 * text2.C (redoParagraphs): remove two const_cast<>
7618 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7620 * ParagraphList.h: remove last remnants of NO_STD_LIST
7622 2003-06-03 Angus Leeming <leeming@lyx.org>
7624 * factory.C (createInset): small change to the way InsetExternal's params
7627 2003-06-04 André Pönitz <poenitz@gmx.net>
7629 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7631 * paragraph_pimpl.h:
7632 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7634 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7636 * undo_funcs.C: make some simple cases of undo work again
7638 2003-06-03 John Levon <levon@movementarian.org>
7640 * ispell.C: HPUX doesn't have sys/select.h
7643 2003-06-03 John Levon <levon@movementarian.org>
7645 * CutAndPaste.C: update tabular and include inset
7650 * paragraph.C: remove owningBuffer(), don't pass Buffer
7653 * factory.C: insetGraphicsParams changed
7655 2003-06-02 John Levon <levon@movementarian.org>
7661 * text3.C: remove insetparent
7663 2003-06-02 John Levon <levon@movementarian.org>
7666 * buffer.C: fix inset_iterator.end(), move out of line
7669 2003-06-01 John Levon <levon@movementarian.org>
7671 * text3.C: use a proper cut/paste when doing inset
7672 insert (from Jürgen Spitzmüller)
7674 2003-06-01 John Levon <levon@movementarian.org>
7676 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7678 2003-05-30 André Pönitz <poenitz@gmx.net>
7680 * rowpainter.C: unify second drawing phase
7682 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7684 * trans_mgr.C: remove one case of current_view
7686 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7688 * paragraph_funcs.h: remove paragraph.h include
7690 * paragraph.h: delete NO_STD_LIST stuff
7692 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7694 * buffer.h: remove paragraph.h include
7696 * ParagraphList.C: delete file
7698 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7700 * toc.C (getTocList): adjust
7702 * paragraph_pimpl.C (validate): adjust
7704 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7706 * paragraph.C (Paragraph): adjust
7707 (getPositionOfInset): use const_iterator, adjust
7708 (bibitem): use const_iterator, adjust
7709 (setInsetOwner): adjust
7711 * iterators.C (operator++): adjust
7713 * InsetList.[Ch]: Replace selfmade iterator with standard
7714 vector::iterator also introduce const_iterator. Remove getPos,
7715 getInset and setInset from InsetTable. Adjust accordingly.
7717 * BufferView.C (lockInset): adjust
7718 (ChangeInsets): adjust
7720 * tabular.[Ch]: delete commented same_id functions
7722 2003-05-28 John Levon <levon@movementarian.org>
7724 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7726 2003-05-28 André Pönitz <poenitz@gmx.net>
7728 * metricsinfo.[Ch]: remove 'fullredraw' member
7730 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7732 * lyxtextclass.C (operator): remove caching.
7734 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7738 * text2.C (cursorBottom): adjust
7739 (setCounter): use ParagraphList::find, adjust
7741 * text.C (workWidth): use ParagraphList::find, adjust
7743 * lyxcursor.C (LyXCursor): adjust
7745 * buffer.C (inset_iterator): adjust
7747 * ParagraphList.h: make iterator(value_type) private, make
7748 ParagraphList a friend of iterator.
7750 * ParagraphList.C (find): new function
7752 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7754 2003-05-27 André Pönitz <poenitz@gmx.net>
7756 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7758 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7760 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7762 2003-05-26 John Levon <levon@movementarian.org>
7764 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7766 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7768 * remove same_id from function signatures, adjust.
7770 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7772 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7774 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7776 * paragraph.C (Paragraph): get rid of same_ids parameter
7778 * ParagraphList.C (insert): adjust
7781 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7783 * paragraph_funcs.C (breakParagraph): adjust
7784 (breakParagraphConservative): adjust
7786 * buffer.C (readParagraph): adjust
7788 * ParagraphList.C (insert): take a reference instead of a pointer
7791 * paragraph.[Ch] (id): new function
7793 * bufferlist.C (newFile): adjust
7795 * ParagraphList.C (ParagraphList): adjust
7797 (push_back): take a reference instead of a pointer.
7799 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7801 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7804 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7805 set else use old code.
7807 * ParagraphList.C: remove all NO_NEXT code and only compile this
7808 code of NO_STD_LIST is set.
7810 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7812 * BufferView_pimpl.C:
7822 * graphics/GraphicsConverter.C:
7823 * graphics/PreviewLoader.C: header adjustment
7825 2003-05-23 Angus Leeming <leeming@lyx.org>
7827 * LaTeXFeatures.[Ch] (useBabel): new method.
7828 * bufferparams.C (writeLaTeX): use it.
7830 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7832 * ParagraphList.h (set): remove unused function.
7834 2003-05-23 André Pönitz <poenitz@gmx.net>
7837 * BufferView_pimpl.C:
7841 * undo_funcs.C: setUndo reworked
7843 * iterators.[Ch]: add access to topmost ParagraphList
7845 * lyxtext.[Ch] (workWidth): add a const
7847 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7849 * texrow.[Ch] (increasePos): remove function
7850 * exporter.C (export): removed unused var and outdated comment
7852 2003-05-23 Angus Leeming <leeming@lyx.org>
7854 * latexrunparams.h: rename fragile as moving_arg.
7855 * paragraph.C (simpleTeXOnePar): ditto.
7856 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7858 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7860 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7862 (textUndoOrRedo): comment out a currently unused var.
7864 * paragraph.h (NO_NEXT): enable NO_NEXT
7866 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7868 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7870 * exporter.C (Export): adjust for removeAutoInsets removal.
7872 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7874 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7876 * BufferView.[Ch] (removeAutoInsets): delete function
7878 2003-05-22 Angus Leeming <leeming@lyx.org>
7880 * latexrunparams.h: add a free_spacing variable.
7882 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7883 to pass moving_arg, as the data is stored in runparams.fragile.
7885 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7886 to Inset::latexOptional or to simpleTeXOnePar.
7888 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7889 free_spacing arg to Inset::latexOptional.
7891 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7894 2003-05-22 Angus Leeming <leeming@lyx.org>
7896 * latexrunparams.h: add fragile and use_babel variables.
7898 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7899 * buffer.C (makeLaTeXFile): store this returned value in
7900 runparams.use_babel, thus passing it to the inset::latex methods.
7902 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7903 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7905 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7906 longer has a fragile arg, as it is stored in runparams.fragile.
7908 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7909 moving_arg parameter as the data is stored in runparams.fragile.
7911 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7912 a fragile parameter as the data is stored in runparams.fragile.
7914 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7916 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7918 2003-05-22 Angus Leeming <leeming@lyx.org>
7920 * latexrunparams.h: add a 'bool nice' which defaults to false.
7922 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7923 now encapsulated within runparams.
7925 * bufferlist.C (updateIncludedTeXfiles):
7926 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7928 2003-05-22 Angus Leeming <leeming@lyx.org>
7930 * latexrunparams.h: new file containing struct LatexRunParams.
7931 * Makefile.am: add new file.
7933 * LaTeX.[Ch] (c-tor, run):
7934 * buffer.[Ch] (makeLaTeXFile):
7935 * bufferlist.[Ch] (updateIncludedTeXfiles):
7936 * converter.C (convert, scanLog):
7937 * converter.[Ch] (runLaTeX):
7938 * exporter.C (Export):
7939 * paragraph.[Ch] (simpleTeXOnePar):
7940 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7941 * paragraph_funcs.[Ch] (latexParagraphs):
7942 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7943 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7944 pass around a LatexRunParams parameter.
7946 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * paragraph.[Ch]: remove unused constructor
7950 * ParagraphList.C (erase): new function, taking two iterators
7952 2003-05-22 André Pönitz <poenitz@gmx.net>
7954 * undo_funcs.C: remove duplicated code
7956 * iterator.[Ch]: operator=
7958 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7960 * tabular.C (SetMultiColumn): ws changes
7962 * rowpainter.C (paintFirst): get rid of a ->previous
7964 * lyx_cb.C (getPossibleLabel): parlist simplification
7966 * BufferView.C (ChangeInsets): simplify slightly.
7968 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7970 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7971 * lfuns.h: new LFUN_SPACE
7972 * lyxfunc.C: protected space has a new lfun
7973 * paragraph_funcs.C: read new space insets
7975 * factory.C: handle new space insets
7977 2003-05-22 André Pönitz <poenitz@gmx.net>
7980 * BufferView_pimpl.C:
7983 * undo_funcs.C: return a ParIterator from getParFromID.
7985 * iterators.[Ch]: add two const's
7987 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * toc.C (getTocList): adjust
7991 * iterators.[Ch]: rework for parlist
7993 * buffer.C (par_iterator_begin): adjust
7994 (par_iterator_end): adjust
7996 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7998 * BufferView.C (removeAutoInsets): adjust
7999 (ChangeInsets): adjust
8001 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8003 * text.C (top_y): fix bug 1110
8005 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8007 * errorlist.[Ch]: added
8010 * BufferView_pimpl.C:
8011 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8014 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8016 * Makefile.am: ensure that lyx is relinked upon changes to the
8017 various "convenience" libs.
8019 2003-05-20 Angus Leeming <leeming@lyx.org>
8021 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8022 files are compiled in alphabetical order again.
8024 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8026 2003-05-19 Angus Leeming <leeming@lyx.org>
8028 * gettext.[Ch]: remove "char const * _(char const *)".
8030 2003-05-19 André Pönitz <poenitz@gmx.net>
8032 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8041 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8043 2003-05-19 André Pönitz <poenitz@gmx.net>
8047 * lyxtextclass.[Ch]:
8049 * paragraph_funcs.[Ch]:
8051 * text3.C: more insetenv work
8053 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8055 * ParagraphParameters.C (params2string): small bug fixed
8057 2003-05-16 André Pönitz <poenitz@gmx.net>
8060 * bufferview_funcs.C: patch from Kornel Benko to prevent
8061 crash when _(...) is called twice in a statement
8063 2003-05-16 André Pönitz <poenitz@gmx.net>
8070 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8072 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8074 * lyx_main.C (init): remove spurious static_cast
8076 2003-05-14 André Pönitz <poenitz@gmx.net>
8078 * BufferView.C: fix format string
8080 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8082 * BufferView.[Ch] (insertErrors): removed
8083 * BufferView.[Ch] (showErrorList): added
8084 * buffer.C (runChkTeX):
8085 * converter.C (scanLog): call showErrorList instead of inserterrors
8087 2003-05-13 André Pönitz <poenitz@gmx.net>
8089 * BufferView_pimpl.C:
8091 * bufferview_func.C:
8098 * tabular_funcs.h: tostr() from its own header
8100 * ParagraphParameters.C:
8105 * text3.C: STRCONV()
8107 2003-05-12 André Pönitz <poenitz@gmx.net>
8110 * BufferView_pimpl.C:
8114 * ParagraphParameters.C:
8118 * bufferview_funcs.C:
8131 * paragraph_funcs.C:
8135 * text3.C: boost::format -> bformat all over the place
8138 2003-05-09 André Pönitz <poenitz@gmx.net>
8140 * LColor.[Ch]: Pimpl the #include <map> away
8142 2003-05-09 John Levon <levon@movementarian.org>
8144 * bufferlist.C: never remove emergency saves
8146 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8148 * Makefile.am: better lib building
8150 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8154 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8155 (simpleTeXSpecialChars): adjust
8156 (simpleTeXSpecialChars): adjust
8157 * paragraph.C (simpleTeXOnePar): adjust
8158 * buffer.C (makeLaTeXFile): adjust
8160 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8162 * text2.C (changeDepth): parlist cleanup
8163 (getColumnNearX): ditto
8165 * rowpainter.C (getLabelFont): parlist cleanup
8167 * bufferlist.C (newFile): parlist cleanup
8169 * CutAndPaste.C (eraseSelection): parlist cleanup
8171 * BufferView_pimpl.C (trackChanges): parlist cleanup
8174 * BufferView.C (lockInset): parlist cleanup.
8175 (ChangeInsets): ditto
8177 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8179 * CutAndPaste.h: Update file header.
8181 * CutAndPaste.C: Update file header.
8182 Store the parts cut out of the Document in a limited_stack.
8183 (copySelection): adjust
8184 (pasteSelection): new function, takes the index in the limited stack.
8185 (nrOfParagraphs): adjust
8186 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8187 simplify error inset insertion.
8188 (checkPastePossible): adjust
8190 2003-05-06 John Levon <levon@movementarian.org>
8192 * text2.C: don't cast wrap inset to float
8194 2003-05-05 André Pönitz <poenitz@gmx.net>
8197 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8199 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8200 few naked Paragraph *.
8202 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8204 * bufferparams.C: Output warning if a document with missing
8205 TeX document class is loaded
8206 * exporter.C: Disable TeX exports if the document class is missing
8209 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8210 isTeXClassAvailable()
8212 2003-05-03 John Levon <levon@movementarian.org>
8215 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8216 explicit cursor show/hide
8218 * BufferView_pimpl.h:
8219 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8220 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8222 * lyxfunc.C: hide cursor before dispatching.
8227 * text3.C: remove explicit cursor hides
8229 2003-05-02 André Pönitz <poenitz@gmx.net>
8231 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8234 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8237 * text2.C: tiny whitespace
8239 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8241 * undo_funcs.C: almost only ws changes.
8243 * ParagraphList.C (splice): just return if pl is empty.
8245 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8247 * ParagraphList.C (splice): new function.
8249 * CutAndPaste.C (pasteSelection): use it
8251 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8253 * CutAndPaste.C (pasteSelection): remove the last next and
8254 previous from this file.
8256 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8258 * CutAndPaste.C (pasteSelection): more clean up, user proper
8259 ParagraphList functions for pasteing.
8261 * ParagraphList.C (insert): new function, three arg insert
8263 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8265 * ParagraphList.C (insert): new function, three arg insert
8267 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8270 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8272 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8274 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8276 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8278 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8281 (copySelection): clean up a bit.
8282 (pasteSelection): use make_pair
8284 * ParagraphList.C (ParagraphList): implement copy constructor
8285 (operator=): implement, base on copy constructor.
8288 * paragraph.C (erase): return a bool
8290 * paragraph_pimpl.C (erasePos): remove function, move contents...
8291 (erase): ... here. Return a bool.
8292 (erase): call erase instead of erasePos.
8294 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8296 * ParagraphList.h: define PitPosPair
8297 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8298 ParagraphList, fix a bug on pasting multiple pars
8299 * text2.C: change interface to C&P
8301 2003-04-30 André Pönitz <poenitz@gmx.net>
8303 * undo_func.C: revert part of yesterday's patch 2
8305 2003-04-30 John Levon <levon@movementarian.org>
8307 * LColor.C: s/tabular/table/
8309 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8311 * text3.C (dispatch): do not convert iterator -> pointer
8312 * undo_funcs.C (setCursorParUndo): ditto
8313 * text_funcs.C (transposeChars): ditto
8315 * text2.C (setLayout): ws changes only
8317 * text.C (breakParagraph): do not convert iterator -> pointer
8319 (acceptChange): ditto
8320 (rejectChange): ditto
8325 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8328 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8330 * text3.C (gotoInset): YABG (yet another bad getChar)
8332 2003-04-29 André Pönitz <poenitz@gmx.net>
8334 * paragraph.h: make operator= private unimplemented as long as
8337 * ParagraphList.C: whitespace
8340 * paragraph_pimpl.[Ch]:
8341 * paragraph_funcs.C:
8343 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8346 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8348 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8350 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8351 * paragraph.[Ch] (erase):
8352 * paragraph_pimpl.[Ch] (erase): change return type and value
8353 * text2.C (cutSelection): some rework
8355 2003-04-28 John Levon <levon@movementarian.org>
8357 * bufferlist.C: changes for unsaved changes dialog
8359 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8361 * bufferlist.C (newFile): set language (messages_) for new
8364 * buffer.C (readFile): ws changes only.
8366 2003-04-28 André Pönitz <poenitz@gmx.net>
8371 * BufferView_pimpl.C:
8372 * BufferView.C: getParFromID related ParagraphList::iterator changes
8374 2003-04-28 André Pönitz <poenitz@gmx.net>
8376 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8379 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8381 * messages.C: remove one more localedir class variable.
8383 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8385 * messages.C (getLocaleDir): singleton generation function
8387 (Messages): add a default constructor.
8389 * main.C (main): do not setup localedir here, do not call
8392 * gettext.C (_): use it.
8393 (gettext_init): delete funciton
8395 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8397 * gettext.C (getLyXMessages): new singleton generating function.
8399 * buffer.C (updateDocLang): adjust
8401 * Makefile.am (messages.o): add target
8402 (main.o): remove target
8404 2003-04-27 John Levon <levon@movementarian.org>
8409 * lyxvc.C: specify cancel button in Alert::prompt
8411 2003-04-26 John Levon <levon@movementarian.org>
8416 * LyXAction.C: add LFUN_INSET_SETTINGS
8418 * lyxfunc.C: don't enable tabular-feature when there's
8419 just any locking inset
8421 2003-04-26 John Levon <levon@movementarian.org>
8423 * bufferlist.C: re-add Cancel to buffer close question
8425 * lyxfunc.C: fix import UI a bit
8427 2003-04-25 John Levon <levon@movementarian.org>
8429 * gettext.C: remove the broken asserts for now
8431 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8433 * messages.C: make case where setlocale cannot comply work better.
8435 * buffer.C (updateDocLang): new function
8436 (changeLanguage): use it
8439 * text2.C (setCounter): use B_ a bit.
8441 * lyxlayout.C (Read): be sure to trim the label strings.
8443 * messages.C (Messages): fix typo in comment
8445 * buffer.C (readFile): set message_ after file is loaded.
8446 (makeDocBookFile): remove double return
8447 (changeLanguage): reset message_ upon language change.
8448 (B_): new func, use this to get translated buffer strings.
8450 * main.C: add myself and Jean Marc as authors.
8452 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8454 * messages.[hC]: pimplify Messages, and three different pimpls to be
8455 used in different circumstances.
8457 * gettext.[Ch]: change for use with new message code.
8459 2003-04-24 André Pönitz <poenitz@gmx.net>
8461 * factory.C: support for eqref
8463 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8465 * messages.[Ch]: add missing char
8467 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8469 * messages.[Ch]: New files
8471 2003-04-18 John Levon <levon@movementarian.org>
8475 * BufferView_pimpl.C:
8479 * text2.C: remove layout-copy/paste (bug 778)
8481 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8483 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8485 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8487 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8488 if they succeed. Act accordingly.
8490 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8492 * text2.C (setCharFont): adjust
8493 (setCounter): adjust
8494 (insertStringAsLines): adjust
8496 * text.C (leftMargin): adjust
8497 (setHeightOfRow): adjust
8499 * rowpainter.C (paintFirst): adjust
8502 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8504 (isFirstInSequence): ditto
8505 (getEndLabel): ditto
8508 * paragraph.C (getParLanguage): comment out some hard stuff.
8510 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8512 (simpleDocBookOnePar): ditto
8513 (makeDocBookFile): use ParagraphList::iterator
8515 * CutAndPaste.C (pasteSelection): adjust
8517 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8519 * text2.C (getFont): adjust
8520 (getLayoutFont): adjust
8521 (getLabelFont): adjust
8523 * paragraph_funcs.C (TeXOnePar): adjust
8525 * buffer.C (simpleLinuxDocOnePar): adjust
8526 (simpleDocBookOnePar): adjust
8528 * CutAndPaste.C (pasteSelection): adjust
8530 * BufferView.C (getEncoding): adjust
8532 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8534 2003-04-16 John Levon <levon@movementarian.org>
8536 * lyxfind.C: use parlist stuff for search/changes
8538 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8540 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8542 * text2.C (deleteEmptyParagraphMechanism): adjust
8544 * text2.[Ch] (ownerParagraph): delete func (both of them
8546 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8548 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8550 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8552 * ParagraphList.C: prepare for NO_NEXT
8554 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8556 * text2.C (getFont): adjust
8557 (getLayoutFont): adjust
8558 (getLabelFont): adjust
8560 * paragraph.C (getFont): adjust
8561 (getLabelFont): adjust
8562 (getLayoutFont): adjust
8564 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8566 2003-04-15 John Levon <levon@movementarian.org>
8570 * lyx_main.C: handle Include in .ui files
8572 2003-04-15 John Levon <levon@movementarian.org>
8574 * MenuBackend.C: make the doc files length shorter
8577 * ToolbarBackend.C: handle toolbar placement flags,
8580 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8582 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8585 * paragraph_funcs.C (TeXOnePar): adjust
8587 * paragraph.C (getLabelFont): add outerfont arg, adjust
8588 (getLayoutFont): ditto
8589 (simpleTeXOnePar): adjust
8591 * paragraph_pimpl.C (realizeFont): delete func
8593 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8595 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8596 row argument, constify cur argument.
8598 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8600 * text2.C (getFont): adjust
8601 (getLayoutFont): adjust
8602 (getLabelFont): adjust
8604 * paragraph_funcs.C (TeXOnePar): adjust
8605 (outerFont): new func...
8606 (realizeFont): ...moved out from here, changed this to facilitate
8609 * paragraph.C (getFont): take outerfont as arg, adjust
8610 (simpleTeXOnePar): add outerfont arg, adjust
8612 * buffer.C (simpleLinuxDocOnePar): adjust
8613 (simpleDocBookOnePar): adjust
8615 * CutAndPaste.C (pasteSelection): adjust
8617 * BufferView.C (getEncoding): adjust
8619 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8621 * text2.C (setCharFont): adjust
8622 (setCounter): adjust
8624 * text.C (leftMargin): adjust
8625 (setHeightOfRow): adjust
8627 * rowpainter.C (paintFirst): adjust
8630 * paragraph_pimpl.C (realizeFont): adjust
8632 * paragraph.C (isFirstInSequence): move from here...
8633 * paragraph_funcs.C (isFirstInSequence): ...to here
8635 * paragraph.C (outerHook): move from here...
8636 * paragraph_funcs.C (outerHook): ...to here
8638 * paragraph.C (depthHook): move from here...
8639 * paragraph_funcs.C (depthHook): ...to here
8641 * paragraph.C (getEndLabel): move from here...
8642 * paragraph_funcs.C (getEndLabel): ...to here
8644 * text2.C (realizeFont): move from here...
8645 * paragraph_funcs.C (realizeFont): ...to here
8647 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8649 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8651 2003-04-14 Angus Leeming <leeming@lyx.org>
8653 * LColor.[Ch]: scrap LColor mathcursor.
8655 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8657 * lyxlex.[Ch] (text): delete function
8658 * trans.C (Load): adjust
8659 * paragraph_funcs.C (readParToken): adjust
8661 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8663 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8664 vector<char> instead of a char[].
8666 * lyxlex_pimpl.C (getString): adjust
8668 (lex): use getString
8672 * lyxlex.C (text): use pimpl_->getString()
8676 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8678 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8679 (makeFontEntriesLayoutSpecific): temp var for par.size()
8680 (setLayout): temp var for ownerParagraphs().end()
8681 (fullRebreak): temp var for rows().end()
8682 (selectionAsString): temp var for boost::next(startpit), realize
8683 that the while really is a regular for loop.
8684 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8685 setCursor in one place.
8686 (setParagraph): temp vr for ownerParagraphs().end()
8687 (updateCounters): make the while loop a for loop
8688 (cutSelection): temp var for ownerParagraphs().end()
8689 (updateInset): make the do {} while() a regular for loop
8690 (getCursorX): use temp vars
8691 (setCurrentFont): use temp vars
8692 (getColumnNearX): use temp vars
8694 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8696 * text.C (transformChar): use temp var for getChar
8697 (computeBidiTables): use temp var for row->par()
8698 (fill): move temp vars for row->par() and pit->layout() earlier in
8700 (labelFill): use temp var for row->par()
8701 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8702 asc and desc, realize that pit never changes and that firstpit is
8703 just a duplicate and not needed. Exchange rit->par() with pit in a
8705 (breakAgain): use a temp var for boost::next(rit)
8706 (breakAgainOneRow): ditto
8707 (breakParagraph): use a temp var for rows().begin()
8708 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8709 (cursorRightOneWord): use temp var for cursor.par() and
8710 cursor.pos(), remove usage of tmpcursor.
8711 (cursorLeftOneWord): use temp var for cursor.par() and
8712 cursor.pos() only set cur at end of function.
8714 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8716 * text.C, text2.C: exchange all usage of Paragraph::next with
8717 boost::next(ParagraphList::iterator)
8719 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8721 * text2.C (cursorTop): simplify implementation
8722 (cursorBottom): ditto
8723 (setParagraph): use ParagraphList::iterator
8724 (setCurrentFont): adjust
8725 (getColumnNearX): adjust
8726 (cursorRight): adjust
8727 (cursorLeft): remove usage of Paragraph::previous
8728 (cursorUpParagraph): ditto
8729 (deleteEmptyParagraphMechanism): slight cleanup
8731 * text.C (isBoundary): take a Paragraph const & instead of a
8733 (addressBreakPoint): ditto
8734 (leftMargin): remove usage of Paragraph::previous.
8735 (setHeightOfRow): ditto
8736 (cursorLeftOneWord): ditto
8737 (selectNextWordToSpellcheck): ditto
8740 (breakParagraph): remove one usage of Paragraph::next
8741 (redoParagraph): ditto
8742 (acceptChange): ditto
8743 (insertChar): adjust
8744 (rowBreakPoint): adjust
8746 * bufferview_funcs.C (toggleAndShow): adjust
8748 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8750 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8751 methods to access it.
8753 * text.C: Added updateRowPositions to compute all row positions.
8754 Make top_y and getRowNearY() to use the cached y position
8756 2003-04-11 John Levon <levon@movementarian.org>
8758 * text.C (rowBreakPoint): reintroduce the labelEnd
8759 checks, code copied from the row fill stuff. Deep voodoo.
8761 * text.C (fill): add a comment and debugging for the
8764 2003-04-11 John Levon <levon@movementarian.org>
8766 * text.C: make sure fullrow insets get wrapped to the next line,
8767 even when they're in a manual label
8769 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8771 * text2.C (insertParagraph): make it take ParagraphList::iterator
8773 (setLayout): make it return ParagraphList::iterator
8774 (redoParagraphs): ditto
8776 (checkParagraph): ditto
8778 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8780 * text2.C: adjust several funcs.
8781 (realizeFont): take a ParagraphList::iterator as arg.
8782 (getLayoutFont): ditto
8783 (getLabelFont): ditto
8784 (setCharFont): ditto
8786 * text.C: adjust several funcs.
8788 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8790 * text.C (selectNextWordToSpellcheck): don't accidentally
8793 2003-04-10 John Levon <levon@movementarian.org>
8795 * ToolbarBackend.C (getIcon): special handling for
8798 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8800 * text2.C (cursorRight): a getChar assert fixed
8802 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8804 * text2.C (getFont): change to take a ParagraphList::iterator
8805 instead of Paragraph*
8806 Adjust several functions.
8808 * text.C (transformChar): change to take a ParagraphList::iterator
8809 instead of Paragraph*
8810 (singleWidth): ditto
8811 Adjust several functions.
8813 * rowpainter.C: adjust several functions
8814 * rowpainter.h:store a ParagraphList::iterator and not a
8818 2003-04-09 John Levon <levon@movementarian.org>
8823 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8824 and the "help" bits as well
8826 2003-04-09 John Levon <levon@movementarian.org>
8829 * ToolbarBackend.C: allow multiple toolbars
8831 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8833 * undo_funcs.C (setCursorParUndo): adjust
8835 * text_funcs.C (transposeChars): adjust
8837 * text3.C (gotoNextInset): adjust
8840 * text2.C (setLayout): adjust
8841 (changeDepth): adjust
8843 (redoParagraphs): adjust
8844 (selectionAsString): adjust
8845 (setParagraph): adjust
8846 (insertInset): adjust
8847 (cutSelection): adjust
8848 (copySelection): adjust
8849 (pasteSelection): adjust
8850 (insertStringAsLines): adjust
8851 (updateInset): adjust
8852 (setCursor): change to take a ParagraphList::iterator parameter
8853 (setCursorIntern): change to take a ParagraphList::iterator parameter
8854 (setCurrentFont): adjust
8855 (cursorLeft): adjust
8856 (cursorRight): adjust
8857 (deleteEmptyParagraphMechanism): adjust
8859 * text.C (breakParagraph): adjust
8860 (insertChar): adjust
8861 (acceptChange): adjust
8862 (rejectChange): adjust
8863 (selectNextWordToSpellcheck): adjust
8864 (changeCase): adjust
8868 * lyxfind.C (SearchForward): adjust
8869 (SearchBackward): adjust
8870 (nextChange): adjust
8872 * lyxcursor.C (par): adjust
8874 * lyxcursor.h: store a ParagraphList::iterator instead of a
8877 * lyx_cb.C (getPossibleLabel): adjust
8879 * bufferview_funcs.C (toggleAndShow): adjust
8881 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8884 * BufferView.C (removeAutoInsets): adjust
8885 (lockedInsetStoreUndo): adjust
8887 2003-04-09 John Levon <levon@movementarian.org>
8889 * ToolbarBackend.C: try icon without argument
8890 if with argument fails
8892 2003-04-08 John Levon <levon@movementarian.org>
8895 * ToolbarBackend.C: add getIcon(), handle tooltip,
8896 and change from "Icon" to "Item".
8898 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8900 * BufferView.C (lockInset): another bad getchar crunched
8902 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8904 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8907 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8909 * lyxfind.C (searchForward, searchBackwards): bug 782
8911 2003-04-07 John Levon <levon@movementarian.org>
8913 * paragraph.C: remove dead comment
8915 * text.C: remove troublesome depth-fiddling code
8916 in leftMargin() and rightMargin() (bug 1017)
8918 * text.C: fix breaking of rows in nested lists
8921 * text2.C (updateCounters): fix up depth values
8924 2003-04-07 John Levon <levon@movementarian.org>
8926 * BufferView_pimpl.C: clear message when doc finishes resizing,
8927 and after a mouse event
8929 * lyxfunc.C: clear message after exiting inset
8931 2003-04-07 John Levon <levon@movementarian.org>
8933 * bufferview_funcs.C: show math status not outside
8934 status in the statusbar
8936 2003-04-07 John Levon <levon@movementarian.org>
8938 * lyxfunc.C: note status changed after a depth change
8940 2003-04-04 Angus Leeming <leeming@lyx.org>
8942 * LaTeX.h: move AuxInfo operator==, != out of line.
8943 Remove LaTeX virtual destructor; nothing derives from it.
8944 Move operator()() out of public area and rename it startscript().
8945 Change protected for private.
8947 2003-04-04 Angus Leeming <leeming@lyx.org>
8950 * text2.C: remove unneeded #includes.
8952 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8954 * text2.C (dEPM): fix the heigth of the next row
8956 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8958 * text.C: squashed an invalid getChar requester + some ws changes
8960 2003-04-03 John Levon <levon@movementarian.org>
8962 * bufferview_funcs.h:
8963 * bufferview_funcs.C:
8966 * text2.C: make getStatus work for the env depth lfuns
8968 2003-04-03 John Levon <levon@movementarian.org>
8970 * bufferview_funcs.h:
8971 * bufferview_funcs.C:
8974 * text2.C: parlistize decDepth(), by merging it with incDepth()
8976 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8978 * lyxrow.h: store a ParagraphList::iterator instead of a
8979 Paragraph* and adjust other class functions to suit.
8981 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8984 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8986 * text2.C (setCursor): do not anchor to cursor row for the time being
8988 2003-04-02 John Levon <levon@movementarian.org>
8995 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8997 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8999 * paragraph.h: make ParagraphList and ParagraphList::iterator
9000 friends of Paragraph.
9002 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9004 * ParagraphList.C: Use the private next_ and previous_ from
9007 2003-04-01 John Levon <levon@movementarian.org>
9011 * Makefile.am: rename, remove defaults gunk
9014 * MenuBackend.C: remove defaults gunk
9017 * Languages.C: remove defaults gunk
9020 * lyx_main.C: error out if files couldn't be found.
9022 2003-04-02 John Levon <levon@movementarian.org>
9024 * text2.C: make incDepth() use parlist
9026 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9028 * undo_funcs.C (firstUndoParagraph): adjust
9030 * text3.C (gotoInset): adjust
9031 (dispatch): adjust, and rewrite loop.
9033 * text2.C (init): adjust, and rewrite loop.
9034 (redoParagraphs): adjust
9035 (updateInset): adjust, and rewrite loop.
9036 (deleteEmptyParagraphMechanism): adjust
9038 * tabular.C (LyXTabular): adjust
9039 (SetMultiColumn): adjust
9042 * lyxtext.[Ch] (ownerParagraph): delete function
9043 (ownerParagraphs): new function returns a ParagraphList.
9045 * BufferView.C (removeAutoInsets): adjust
9046 (insertErrors): adjust
9047 (setCursorFromRow): adjust
9049 2003-04-01 Angus Leeming <leeming@lyx.org>
9051 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9054 2003-04-02 John Levon <levon@movementarian.org>
9060 * text_funcs.C: make transposeChars a free function
9062 * lyxrow_funcs.C: remove wrong comment
9064 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9067 * rowpainter.C: adjust
9072 * lyxrow_funcs. [Ch]: new files
9074 * lyxrow.[Ch]: remove next and previous pointers
9075 (next,previous): remove accessor functions
9076 (isParEnd): move to lyxrow_funcs
9077 (lastPos): move to lyxrow_funcs
9078 (nextRowIsAllInset): move to lyxrow_funcs
9079 (lastPrintablePos): move to lyxrow_funcs
9080 (numberOfSeparators): move to lyxrow_funcs
9081 (numberOfHfills): move to lyxrow_funcs
9082 (numberOfLabelHfills): move to lyxrow_funcs
9083 (hfillExpansion): move to lyxrow_funcs
9087 * bufferview_funcs.C (toggleAndShow): adjust
9089 * RowList.h: Remove class RowList from file leave just a
9092 * RowList.C: delete file
9094 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9097 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9099 * text3.C (cursorPrevious): adjust
9100 (cursorNext): adjust
9103 * text2.C (redoHeightOfParagraph): adjust
9104 (redoDrawingOfParagraph): adjust
9107 * text.C (breakParagraph): adjust
9108 (insertChar): adjust
9111 * rowpainter.C (RowPainter): adjust
9112 (leftMargin): simplify and adjust
9113 (most rowpainter functions): adjust.
9115 * rowpainter.h: store the row as RowList::iterator not as Row*
9117 * lyxcursor.C (row): taka RowList::iterator as arg
9120 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9123 2003-04-01 Angus Leeming <leeming@lyx.org>
9125 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9126 stuff like bool Bool.
9128 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9130 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9133 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9135 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9138 * lyxtext.h (rows): drop one version and leve a const variant that
9139 returns a RowList::iterator.
9141 2003-03-31 Angus Leeming <leeming@lyx.org>
9143 * text.C (fill): ensure that the signature is the same as that in the
9146 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9148 * text2.C (redoParagraphs): adjust
9149 (updateCounters): adjust
9150 (checkParagraph): adjust
9151 (getColumnNearX): adjust and reformat a bit.
9153 * text.C (top_y): adjust
9155 (leftMargin): adjust
9156 (prepareToPrint): adjust
9158 (getRowNearY): adjust
9160 * lyxtext.h: make rowlist_ mutable.
9162 * RowList.h: add const_iterator
9163 * RowList.C: adjust for RowList::const_iterator.
9165 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9168 2003-03-31 John Levon <levon@movementarian.org>
9171 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9173 * lyx_main.C: set default fonts from using lyx_gui funcs
9175 * exporter.C: pdf_mode moved from lyxrc
9178 * lyxfunc.C: changes from above
9180 2003-03-31 John Levon <levon@movementarian.org>
9182 * lyx_main.C: fix to the last fix
9184 2003-03-31 John Levon <levon@movementarian.org>
9186 * bufferlist.C: "Load original" -> "Load Original"
9192 * format.C: more Alert cleanups
9194 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9196 * text2.C (removeParagraph): make it take a RowList::iterator as
9198 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9199 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9201 * text.C (anchor_row): make it take a RowList::iterator as arg,
9203 (computeBidiTables): make it take a const reference to Row instead
9204 of Row pointer, adjust.
9205 (leftMargin): make it take a RowList::iterator as arg, adjust.
9206 (rowBreakPoint): adjust
9207 (breakAgainOneRow): make it take a RowList::iterator as arg,
9209 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9211 * bufferview_funcs.C (toggleAndShow): adjust
9213 2003-03-30 John Levon <levon@movementarian.org>
9217 * boost-inst.C: moved to support
9219 * several files: changes as a result
9221 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9223 * text2.C (LyXText): adjust.
9225 (removeRow): make it take a RowList::iterator as arg, adjust.
9226 (fullRebreak): adjust
9227 (deleteEmptyParagraphMechanism): adjust
9228 (clearPaint): adjust
9231 * text.C (top_y): adjust
9232 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9233 (breakAgain): make it take a RowList::iterator as arg, adjust.
9234 (breakParagraph): adjust
9235 (insertChar): adjust
9238 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9239 need_break_row, and refresh_row.
9241 * text3.C (dispatch): adjust
9243 * text2.C (checkParagraph): adjust
9245 (setCursorFromCoordinates): adjust
9247 * text.C (top_y): adjust
9249 (getRow): make it return a RowList::iterator, adjust
9250 (getRowNearY): make it return a RowList::iterator, adjust
9252 * text2.C (init): adjust
9253 (insertRow): remove function
9254 (insertParagraph): adjust
9255 (redoParagraphs): adjust
9256 (fullRebreak): adjust
9257 (updateCounters): adjust
9259 * text.C (top_y): rewrite to use RowList iterators.
9261 (setHeightOfRow): rewrite to sue RowList iterators.
9262 (appendParagraph): adjust
9263 (breakAgain): adjust
9264 (breakAgainOneRow): adjust
9265 (breakParagraph): adjust
9267 (getRowNearY): adjust, and remove commented code.
9269 * lyxtext.h (firstRow): delete function
9270 (lastRow): delete function
9271 (rows): new function (const and non-const versions.)
9272 (insertRow): delete function
9274 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9276 2003-03-29 John Levon <levon@movementarian.org>
9278 * BufferView_pimpl.C: always update scrollbar top
9279 because pasting text when we're anchored could mean we
9280 miss an update altogether
9282 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9284 * text2.C (init): use rowlist_.end() and not 0.
9285 (insertRow): change to take a RowList::iterator as arg, adjust
9287 (insertParagraph): change to take a RowList::iterator as arg,
9289 (redoParagraphs): remove some debug msgs.
9291 * text.C (appendParagraph): change to take a RowList::iterator
9292 arg, adjust for this.
9293 (breakAgain): add an assert
9294 (breakAgainOneRow): ditto
9296 2003-03-29 John Levon <levon@movementarian.org>
9298 * text2.C: do not clear selection after inc/decDepth
9301 2003-03-29 John Levon <levon@movementarian.org>
9304 * buffer.C: fix broken strerrors according to Lars
9306 2003-03-29 John Levon <levon@movementarian.org>
9308 * converters.C: more Alert cleanups
9310 2003-03-29 John Levon <levon@movementarian.org>
9312 * bufferview_funcs.C: remove pointless Alert
9314 * buffer.C: fix confusing error message when
9315 a template is chmoded 000
9317 2003-03-29 John Levon <levon@movementarian.org>
9321 * BufferView_pimpl.C: Alert fixes
9325 * tabular-old.C: remove unused table compat reading
9327 2003-03-29 John Levon <levon@movementarian.org>
9332 * lyx_cb.C: more Alert cleanups
9334 * lyxfunc.C: don't allow chktex if not latex document
9336 2003-03-29 John Levon <levon@movementarian.org>
9340 * buffer.C: warnings pushed down from support/,
9343 2003-03-29 John Levon <levon@movementarian.org>
9345 * lyxfunc.C: safety check for C-r (revert)
9347 2003-03-29 John Levon <levon@movementarian.org>
9350 * bufferlist.C: several UI fixes using Alert::prompt.
9351 Fix the pointless looping quit code. Fix stupid revert
9356 * lyx_cb.C: use Alert::prompt
9358 * lyx_main.C: remove a silly question
9360 * lyxfunc.C: remove a couple of silly questions,
9363 2003-03-28 John Levon <levon@movementarian.org>
9365 * text2.C: fix bug 974 (End on empty par)
9367 2003-03-28 John Levon <levon@movementarian.org>
9369 * BufferView_pimpl.C:
9371 * lfuns.h: remove do-nothing math greek lfuns
9373 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9375 * lyxgluelength.h (isValidGlueLength): add default arg on
9376 parameter 2. Remove default arg from friend in class.
9378 * lyxlength.h (isValidLength): add default arg on parameter 2.
9379 Remove default arg from friend in class.
9381 * text2.C (LyXText): adjust, initialize refresh_row.
9385 (insertParagraph): adjst
9386 (redoParagraphs): adjust
9387 (fullRebreak): adjust
9388 (updateCounters): adjust
9389 (deleteEmptyParagraphMechanism): first attempt at fixing a
9392 * text.C (top_y): adjust
9393 (setHeightOfRow): adjust
9395 (getRowNearY): adjust
9397 * lyxtext.h: include RowList.h
9398 (~LyXText): not needed anymore, deleted.
9399 (firstRow): modify for RowList
9400 (lastRow): new function
9401 Delete firstrow and lastrow class variables, add a Rowlist
9402 rowlist_ class variable.
9404 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9407 * RowList.C (insert): fix case where it == begin().
9409 2003-03-26 Angus Leeming <leeming@lyx.org>
9411 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9412 the thesaurus dialog.
9414 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9416 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9418 * RowList.[Ch]: new files
9420 * ParagraphList.C (erase): handle the case where it == begin
9423 2003-03-25 John Levon <levon@movementarian.org>
9427 * aspell.C: add new aspell support
9430 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9433 2003-03-25 Angus Leeming <leeming@lyx.org>
9436 * LyXAction.C (init): new LFUN_INSET_INSERT.
9438 * BufferView_pimpl.C (dispatch): split out part of the
9439 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9441 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9444 2003-03-25 Angus Leeming <leeming@lyx.org>
9446 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9448 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9451 * text3.C: remove useless row->height(0)
9453 2003-03-25 John Levon <levon@movementarian.org>
9457 * text3.C: rename the refreshing stuff to better names
9459 2003-03-24 John Levon <levon@movementarian.org>
9461 * BufferView_pimpl.h:
9462 * BufferView_pimpl.C: update layout choice on a mouse
9465 2003-03-23 John Levon <levon@movementarian.org>
9467 * Makefile.am: fix commandtags.h reference
9469 2003-03-22 John Levon <levon@movementarian.org>
9471 * BufferView_pimpl.C:
9476 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9478 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9481 * text.C: take the rtl methods out of line
9483 2003-03-21 André Pönitz <poenitz@gmx.net>
9485 * metricsinfo.[Ch]: new files containing structures to be passed around
9486 during the two-phase-drawing...
9488 2003-03-21 André Pönitz <poenitz@gmx.net>
9490 * lyxtextclass.C: read 'environment' tag.
9492 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9494 * text2.C (removeRow): fix bug 964
9496 2003-03-20 John Levon <levon@movementarian.org>
9500 * text2.C: paint cleanups. Inset::update() dropped font
9503 2003-03-19 John Levon <levon@movementarian.org>
9505 * lyxfunc.C: only fitcursor/markDirty if available()
9507 2003-03-19 John Levon <levon@movementarian.org>
9509 * commandtags.h: rename to ...
9511 * lfuns.h: ... this, and renumber / cleanup
9513 2003-03-19 John Levon <levon@movementarian.org>
9515 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9516 fit the cursor after an lfun
9520 * BufferView_pimpl.h:
9521 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9523 * LyXAction.C: layout-character should have ReadOnly
9525 * ParagraphParameters.C:
9527 * bufferview_funcs.C:
9534 * undo_funcs.C: changes from above
9536 2003-03-18 John Levon <levon@movementarian.org>
9538 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9539 remove it from update()
9541 * lyxfunc.C: update layout choice after an lfun
9543 * text3.C: remove extra updateLayoutChoice()s
9545 2003-03-18 John Levon <levon@movementarian.org>
9547 * text.C: top_y change means full repaint, fix
9548 a drawing bug with cursor movement
9550 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9554 * text2.C: anchor row on setCursor
9556 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9558 * lyxtext.h: remove almost all mutable keywords
9561 * text3.C: remove const keywords accordingly
9563 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9565 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9567 (TeXEnvironment): ditto
9570 2003-03-17 John Levon <levon@movementarian.org>
9572 * text.C (rowBreakPoint): remove attempt to fix displayed
9573 math insets inside a manual label
9575 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9577 * lyxtext.h: remove BufferView* as first arg from almost all class
9579 * other files: adjust.
9581 2003-03-17 John Levon <levon@movementarian.org>
9585 * text2.C: more paint cleanups
9587 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9590 * rowpainter.C: remove "smart" background painting code
9592 2003-03-16 John Levon <levon@movementarian.org>
9597 * text3.C: add helper functions for setting refresh_row/y
9599 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9601 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9602 newline inset which *can* get inserted in the pass_thru layouts.
9603 This is primarily for literate documents.
9605 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9607 * buffer.C: increment LYX_FORMAT to 223
9609 2003-03-14 André Pönitz <poenitz@gmx.net>
9611 * textclass.h: prepare for environment handling, ws changes
9612 * lyxlayout.C: read latexheader and latexfooter tags
9614 2003-03-14 John Levon <levon@movementarian.org>
9616 * text2.C: rewrite ::status() a bit
9618 2003-03-13 John Levon <levon@movementarian.org>
9620 * lyxtext.h: add some docs
9622 2003-03-13 John Levon <levon@movementarian.org>
9627 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9629 2003-03-13 John Levon <levon@movementarian.org>
9631 * text3.C: fix appendix redrawing
9633 2003-03-13 John Levon <levon@movementarian.org>
9635 * text.C (setHeightOfRow):
9637 * rowpainter.C: make appendix mark have the text
9638 "Appendix" so the user knows what it is
9641 * LColor.C: s/appendixline/appendix/ from above
9643 2003-03-13 John Levon <levon@movementarian.org>
9645 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9647 * text.C: fix a getChar(pos) bug properly
9649 2003-03-13 Angus Leeming <leeming@lyx.org>
9652 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9653 Probably only temporary. Let's see how things pan out.
9655 * BufferView.C (unlockInset):
9656 * BufferView_pimpl.C (fitCursor):
9657 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9659 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9660 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9662 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9663 new functions that convert ParagraphParameters to and from a string.
9665 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9666 BufferView::Pimpl's dispatch.
9667 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9669 2003-03-13 André Pönitz <poenitz@gmx.net>
9673 * factory.C: make it aware of InsetEnv
9675 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9677 * text2.C (setCursor): never ask for one past last
9678 (setCursor): add some debugging messages.
9680 * text.C (singleWidth): never ask for one past last
9681 (singleWidth): ditto
9683 (rightMargin): ditto
9684 (rowBreakPoint): ditto
9685 (setHeightOfRow): ditto
9686 (prepareToPrint): ditto
9688 * rowpainter.C (paintBackground): never ask for one past last
9689 (paintText): never ask for one past last
9691 * paragraph_pimpl.C (getChar): make the assert stricter, never
9692 allow the one past last pos to be taken
9694 * paragraph.C (getChar): ws changes only
9696 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9697 (numberOfSeparators): ditto
9698 (numberOfHfills): ditto
9700 2003-03-12 John Levon <levon@movementarian.org>
9706 * paragraph_funcs.C: fix per-buffer authorlists
9708 2003-03-12 John Levon <levon@movementarian.org>
9710 * text.C: fix newline in right address
9712 2003-03-12 Angus Leeming <leeming@lyx.org>
9714 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9715 duplicate those in LyXFunc::dispatch.
9719 * ToolbarDefaults.C:
9720 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9721 Add LFUN_FONTFREE_UPDATE.
9723 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9724 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9726 * bufferview_func.[Ch]: several new functions to facilliate
9727 transfer of data to and from the character dialog.
9729 2003-03-12 John Levon <levon@movementarian.org>
9734 * paragraph_funcs.C:
9735 * paragraph_pimpl.C:
9739 * text3.C: remove META_NEWLINE in favour of an inset
9742 * rowpainter.C: remove paintNewline (done by inset)
9744 2003-03-12 John Levon <levon@movementarian.org>
9746 * paragraph_pimpl.C: complain about bad getChar()s
9747 for a while at least
9749 2003-03-12 John Levon <levon@movementarian.org>
9752 * buffer.C: move paragraph read into a separate function,
9753 a little renaming to reflect that.
9756 * bufferparams.C: remove the author_ids map, not necessary now
9759 * factory.C: moved Buffer::readInset to here
9761 * paragraph_funcs.h:
9762 * paragraph_funcs.C: readParagraph free function moved from
9765 * tabular.C: name change
9767 2003-03-12 John Levon <levon@movementarian.org>
9770 * ParagraphParameters.C: move par params input to
9773 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9774 behave like a normal read from the stream wrt reading
9775 a line vs. a \\token
9777 2003-03-12 John Levon <levon@movementarian.org>
9780 * ParagraphParameters.h:
9781 * ParagraphParameters.C: move output code to a
9784 2003-03-12 John Levon <levon@movementarian.org>
9786 * BufferView.C (insertLyXFile):
9789 * tabular.C: use a parlist iterator for creating the
9792 2003-03-12 John Levon <levon@movementarian.org>
9794 * buffer.C: make current_change static local not
9797 2003-03-12 John Levon <levon@movementarian.org>
9799 * buffer.C: fix insertStringAsLines for change tracking
9801 2003-03-12 John Levon <levon@movementarian.org>
9808 * bufferparams.C: move author list into params. Rename some
9809 functions. Move the header reading into a separate token
9810 loop. Move the header token reading into BufferParams.
9812 2003-03-12 John Levon <levon@movementarian.org>
9814 * changes.C: put debug inside lyxerr.debugging() checks
9816 2003-03-11 André Pönitz <poenitz@gmx.net>
9818 * factory.C: make it aware of InsetHFill
9820 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9822 * buffer.C (latexParagraphs): move function from here...
9823 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9826 2003-03-10 Angus Leeming <leeming@lyx.org>
9828 * LyXAction.C (init): fix bug in poplating array with multiple entries
9829 with the same LFUN (spotted by JMarc).
9831 2003-03-10 John Levon <levon@movementarian.org>
9834 * text2.C: move getColumnNearX() near its
9837 2003-03-10 John Levon <levon@movementarian.org>
9839 * text.C: fix break before a minipage
9841 2003-03-10 John Levon <levon@movementarian.org>
9843 * text.C: fix the last commit
9845 2003-03-09 John Levon <levon@movementarian.org>
9849 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9850 bug 365 (don't break before insets unless needed). Don't
9851 return a value > last under any circumstances.
9853 2003-03-09 Angus Leeming <leeming@lyx.org>
9855 * BufferView_pimpl.C (trackChanges, dispatch): call
9856 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9858 2003-03-09 Angus Leeming <leeming@lyx.org>
9860 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9861 than Dialogs::showAboutlyx().
9863 2003-03-09 Angus Leeming <leeming@lyx.org>
9865 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9866 than Dialogs::showTabularCreate().
9868 2003-03-09 John Levon <levon@movementarian.org>
9872 * text2.C: 3rd arg to nextBreakPoint was always the same.
9875 2003-03-08 John Levon <levon@movementarian.org>
9882 * text2.C: Remove the "main" bit from the "main body"
9885 2003-03-08 John Levon <levon@movementarian.org>
9887 * text.C (leftMargin): The left margin of an empty
9888 manual label paragraph should not include the label width
9891 * text.C (prepareToPrint): don't attempt to measure hfills
9892 for empty manual label paragraphs - the answer should be 0
9894 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9896 * CutAndPaste.C: remove commented code and reindent.
9898 2003-03-08 John Levon <levon@movementarian.org>
9901 * lyxfunc.C: move reloadBuffer()
9904 * BufferView.C: to here
9906 * lyxvc.C: add comment
9909 * vc-backend.C: call bv->reload() to avoid
9910 getStatus() check on MENURELOAD
9912 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9914 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9915 to an old format .dep file.
9917 2003-03-07 Angus Leeming <leeming@lyx.org>
9919 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9920 when the LFUN_MOUSE_RELEASE should have been handled by
9921 inset->localDispatch.
9923 2003-03-07 Angus Leeming <leeming@lyx.org>
9925 * BufferView_pimpl.C (dispatch):
9926 * LyXAction.C (init):
9927 * ToolbarDefaults.C (init):
9929 * lyxfunc.C (getStatus):
9930 remove LFUN_INSET_GRAPHICS.
9932 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9934 2003-03-07 Angus Leeming <leeming@lyx.org>
9937 * LyXAction.C (init):
9938 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9940 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9943 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9945 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9946 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9948 2003-03-07 Angus Leeming <leeming@lyx.org>
9950 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9953 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9955 * ParagraphList.C (front): new function
9958 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9960 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9961 and top_row_offset_. removed var first_y.
9963 * text2.C (LyXText, removeRow):
9965 * BufferView_pimpl.C:
9966 use these methods instead of using first_y
9968 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9970 * text2.C (pasteSelection): adjust for checkPastePossible
9972 * CutAndPaste.C: remove Paragraph * buf and replace with
9973 ParagraphList paragraphs.
9974 (DeleteBuffer): delete
9975 (cutSelection): change the tc type to textclass_type
9976 (copySelection): change the tc type to textclass_type
9977 (copySelection): adjust for ParagraphList
9978 (pasteSelection): change the tc type to textclass_type
9979 (pasteSelection): adjust for Paragraphlist
9980 (nrOfParagraphs): simplify for ParagraphList
9981 (checkPastePossible): simplify for ParagraphList
9982 (checkPastePossible): remove unused arg
9984 * ParagraphList.C (insert): handle the case where there are no
9987 * CutAndPaste.h: make CutAndPaste a namespace.
9989 * text3.C (dispatch): adjust
9991 * text.C (breakParagraph): add a ParagraphList as arg
9993 * paragraph_funcs.C (breakParagraph): change to take a
9994 BufferParams and a ParagraphList as args.
9995 (breakParagraphConservative): ditto
9996 (mergeParagraph): ditto
9997 (TeXDeeper): add a ParagraphList arg
9998 (TeXEnvironment): ditto
10001 * buffer.C (readLyXformat2): adjust
10002 (insertStringAsLines): adjust
10003 (latexParagraphs): adjust
10005 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10006 (cutSelection): adjust
10007 (pasteSelection): adjust
10009 * BufferView_pimpl.C (insertInset): adjust
10011 2003-03-05 Angus Leeming <leeming@lyx.org>
10014 * LyXAction.C (init):
10015 * BufferView_pimpl.C (dispatch):
10016 * lyxfunc.C (getStatus):
10017 remove LFUN_CHILD_INSERT.
10019 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10021 2003-03-05 Angus Leeming <leeming@lyx.org>
10024 * LyXAction.C (init):
10025 * src/factory.C (createInset):
10026 * lyxfunc.C (getStatus):
10027 * text3.C (dispatch):
10028 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10030 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10032 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10034 * ParagraphList.C (insert): handle insert right before end()
10035 (erase): fix cases where it can be first or last paragraph.
10037 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10039 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10040 Paragraph::next and Paragraph::previous
10043 * text.C (breakParagraph): adjust
10045 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10046 BufferParams& as arg.
10047 (breakParagraph): use ParagraphList::insert
10048 (breakParagraphConservative): take a Buffer* instead of a
10049 BufferParams& as arg.
10050 (breakParagraphConservative): use ParagraphList::insert.
10052 * buffer.C (insertStringAsLines): un-const it
10053 (insertStringAsLines): adjust
10055 * ParagraphList.C (insert): new function
10057 * CutAndPaste.C (pasteSelection): adjust
10059 * text.C (backspace): adjust
10061 * tabular.C (SetMultiColumn): adjust
10063 * CutAndPaste.C (cutSelection): adjust
10064 (pasteSelection): adjust
10066 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10067 Buffer const * as arg
10069 * ParagraphList.C (erase): new function
10070 * paragraph_funcs.C (mergeParagraph): use it
10071 (mergeParagraph): make it take a Buffer* instead of a
10072 BufferParams* as arg
10074 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10076 (breakParagraphConservative): ditto
10078 * paragraph.h: remove the breakParagraph friend
10080 * paragraph.C (eraseIntern): new function
10081 (setChange): new function
10083 * paragraph_funcs.C (mergeParagraph): make it take a
10084 ParagraphList::iterator instead of a Paragraph *, adjust
10087 * paragraph.h: move an #endif so that the change tracking stuff
10088 also works in the NO_NEXT case.
10090 2003-03-04 Angus Leeming <leeming@lyx.org>
10093 * LyXAction.C: new LFUN_INSET_MODIFY.
10095 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10096 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10098 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10100 * several files: ws changes only
10102 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10103 (TeXEnvironment): ditto
10106 * buffer.C (makeLaTeXFile): adjust
10107 (latexParagraphs): make it take ParagraphList::iterator as args
10109 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10111 * buffer.C (latexParagraphs): adjust
10113 * paragraph.C (TeXOnePar): move function...
10114 (optArgInset): move function...
10115 (TeXEnvironment): move function...
10116 * paragraph_pimpl.C (TeXDeeper): move function...
10117 * paragraph_funcs.C: ...here
10119 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10121 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10123 * buffer.C (readInset): remove compability code for old Figure and
10126 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10128 * buffer.C: ws changes
10131 * BufferView_pimpl.C: ditto
10134 * bufferlist.h: ditto
10138 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10140 * converter.[Ch]: split into itself +
10143 * Makefile.am: += graph.[Ch] + format.[Ch]
10150 * lyxrc.C: added #include "format.h"
10152 2003-02-27 Angus Leeming <leeming@lyx.org>
10154 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10157 * factory.C (createInset): add "label" to the factory.
10159 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10160 string and do no more.
10162 2003-02-27 Angus Leeming <leeming@lyx.org>
10165 * LyXAction.C (init):
10166 * factory.C (createInset):
10167 * BufferView_pimpl.C (dispatch):
10168 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10170 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10172 * lyxfunc.C (dispatch):
10173 * text3.C (dispatch): pass name to params2string.
10175 2003-02-26 Angus Leeming <leeming@lyx.org>
10177 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10179 Rearrange the ~includes. Strip out the unnecessary ones.
10181 * factory.C (createInset): reformat.
10182 create new insets for the various LFUN_XYZ_APPLY lfuns.
10184 2003-02-26 John Levon <levon@movementarian.org>
10187 * lyxrow.C: add isParStart,isParEnd helpers
10189 * paragraph.h: make isInserted/DeletedText take refs
10191 * paragraph_funcs.h:
10192 * paragraph_funcs.C: remove #if 0'd code
10197 * text.C: use lyxrow helpers above.
10198 Move draw and paint routines to RowPainter.
10199 Make several methods use refs not pointers.
10200 Make backgroundColor() const.
10201 Add markChangeInDraw(), isInInset().
10202 Merge changeRegionCase into changeCase.
10203 Make workWidth() shouldn't-happen code into an Assert.
10206 * rowpainter.C: new class for painting a row.
10209 * vspace.C: make inPixels take a ref
10211 2003-02-26 Angus Leeming <leeming@lyx.org>
10213 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10216 2003-02-25 John Levon <levon@movementarian.org>
10218 * ispell.C: give the forked command a more accurate name
10220 2003-02-22 John Levon <levon@movementarian.org>
10223 * toc.C: make TocItem store an id not a Paragraph *
10226 2003-02-21 Angus Leeming <leeming@lyx.org>
10228 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10229 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10230 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10231 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10232 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10233 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10235 * BufferView_pimpl.C (dispatch):
10236 * LyXAction.C (init):
10237 * factory.C (createInset):
10238 * lyxfunc.C (getStatus, dispatch):
10239 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10241 2003-02-21 Angus Leeming <leeming@lyx.org>
10243 * BufferView_pimpl.C (MenuInsertLyXFile):
10244 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10245 * lyxfunc.C (menuNew, open, doImport):
10246 no longer pass a LyXView & to fileDlg.
10248 2003-02-21 Angus Leeming <leeming@lyx.org>
10250 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10251 * LyXAction.C: change, BIBKEY to BIBITEM.
10252 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10253 Change InsetBibKey to InsetBibitem.
10254 Change BIBKEY_CODE to BIBITEM_CODE.
10255 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10256 * factory.C: replace insetbib.h with insetbibitem.h.
10257 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10258 * paragraph.C: replace insetbib.h with insetbibitem.h.
10259 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10260 Change bibkey() to bibitem().
10261 * text.C: remove insetbib.h.
10262 * text2.C: replace insetbib.h with insetbibitem.h.
10263 change bibkey() to bibitem().
10264 * text3.C: remove insetbib.h.
10265 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10267 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10269 * lyxrc.C (output): enclose user email in quotes (in case there are
10272 2003-02-18 John Levon <levon@movementarian.org>
10274 * buffer.h: add std::
10276 2003-02-17 John Levon <levon@movementarian.org>
10282 * pspell.C: reworking. Especially in ispell, a large
10283 number of clean ups and bug fixes.
10285 * lyxfunc.C: fix revert to behave sensibly
10287 2003-02-17 André Pönitz <poenitz@gmx.net>
10290 * commandtags.h: new LFUN_INSERT_BIBKEY
10300 * paragraph_func.C: remove special bibkey handling
10302 2003-02-17 John Levon <levon@movementarian.org>
10304 * text.C (Delete): fix case where delete at the end of
10305 the very first paragraph would not merge the pars
10307 2003-02-17 John Levon <levon@movementarian.org>
10309 * lyxrow.C: fix lastPrintablePos()
10311 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10313 * bufferparams.C (writeLaTeX): add a std:here
10315 * buffer.C: and remove a using directive there
10317 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10319 * buffer.C (makeLaTeXFile): move the code that generates the
10322 * bufferparams.C (writeLaTeX): ... in this new method
10324 * LaTeXFeatures.C (getEncodingSet): make const
10325 (getLanguages): make const
10327 * MenuBackend.C (binding): returns the binding associated to this
10329 (add): sets the status of each item by calling getStatus. Adds
10331 (read): add support for OptSubMenu
10332 (expand): remove extra separator at the end of expanded menu
10334 2003-02-15 John Levon <levon@movementarian.org>
10337 * BufferView_pimpl.C:
10339 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10340 inset code that had no actual effect. Remove unneeded status
10343 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10345 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10348 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10350 * text.C (drawLengthMarker): also draw an arrow marker for
10351 symbolic lengths (medskip...)
10353 2003-02-14 John Levon <levon@movementarian.org>
10356 * tabular.C: better method names
10358 2003-02-14 John Levon <levon@movementarian.org>
10360 * BufferView_pimpl.C:
10365 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10366 it's a more accurate name. Remove some pointless uses.
10368 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10370 * text2.C (LyXText): change order of initilizers to shut off
10373 2003-02-14 John Levon <levon@movementarian.org>
10375 * buffer.C: use ParIterator for getParFromID()
10379 * paragraph_pimpl.h:
10380 * paragraph_pimpl.C: remove unused getParFromID()
10382 2003-02-14 John Levon <levon@movementarian.org>
10384 * buffer.C: remove some very old #if 0'd parse code
10386 2003-02-13 John Levon <levon@movementarian.org>
10390 * text2.C: move hfillExpansion(), numberOfSeparators(),
10391 rowLast(), rowLastPrintable(), numberofHfills(),
10392 numberOfLabelHfills() ...
10395 * lyxrow.C: ... to member functions here.
10400 * text.C: remove LyXText::beginningOfMainBody(), and call
10401 p->beginningOfMainBody() directly. Move the check for
10402 LABEL_MANUAL into the latter.
10409 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10415 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10416 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10418 2003-02-13 John Levon <levon@movementarian.org>
10420 * CutAndPaste.C: remove debug
10422 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10424 * paragraph.C (asString): remove two unused variables
10426 * lyxtextclass.C (readTitleType):
10428 (LyXTextClass): handle new members titletype_ and titlename_
10430 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10432 2003-02-09 John Levon <levon@movementarian.org>
10435 * buffer.C: replace hand-coded list with a map for the dep clean
10437 2003-02-08 John Levon <levon@movementarian.org>
10439 * LaTeX.C: consolidate code into showRunMessage() helper
10441 2003-02-08 John Levon <levon@movementarian.org>
10446 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10447 and pass the size in explicitly
10449 * BufferView_pimpl.h:
10450 * BufferView_pimpl.C:
10452 * BufferView.C: add getCurrentChange()
10454 * BufferView_pimpl.h:
10455 * BufferView_pimpl.C: handle change lfuns
10457 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10458 for changes. Mark pasted paragraphs as new.
10460 * support/lyxtime.h:
10461 * support/lyxtime.C:
10462 * DepTable.C: abstract time_t as lyx::time_type
10465 * LColor.C: add colours for new text, deleted text, changebars
10467 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10468 package use "usenames" option.
10472 * LyXAction.C: add change lfuns
10476 * author.C: author handling
10479 * buffer.C: add a per-buffer author list, with first entry as
10480 current author. Handle new .lyx tokens for change tracking. Output
10481 author list to .lyx file. Output dvipost stuff to .tex preamble.
10482 Bump lyx format to 222.
10485 * bufferlist.C: add setCurrentAuthor() to reset current author details
10489 * bufferparams.C: add param for tracking
10491 * bufferview_funcs.C: output change info in minibuffer
10495 * changes.C: add change-tracking structure
10498 * debug.C: add CHANGES debug flag
10501 * lyxfind.C: add code for finding the next change piece
10504 * lyxrc.C: add user_name and user_email
10507 * lyxrow.C: add a metric for the top of the text line
10510 * text.C: implement accept/rejectChange()
10513 * text.C: paint changebars. Paint new/deleted text in the chosen
10514 colours. Strike through deleted text.
10518 * paragraph_pimpl.h:
10519 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10520 in the current change to the insert functions. Rework erase to
10521 mark text as deleted, adding an eraseIntern() and a range-based
10522 erase(). Implement per-paragraph change lookup and
10525 * paragraph_funcs.C: Fixup paste for change tracking.
10527 * tabular.C: mark added row/columns as new.
10529 * text.C: fix rowLast() to never return -1. Don't allow
10530 spellchecking of deleted text. Track transpose changes. Don't
10531 allow paragraph break or merge where appropriate.
10533 * text2.C: leave cursor at end of selection after a cut.
10535 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10537 * text.C (getLengthMarkerHeight):
10538 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10539 visible on screen too.
10541 2003-02-07 John Levon <levon@movementarian.org>
10543 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10545 2003-02-05 Angus Leeming <leeming@lyx.org>
10547 * lyxserver.C (read_ready): revert my patch of 11 September last year
10548 as it sends PC cpu through the roof. Presumably this means that
10549 the lyxserver will no longer run on an Alpha...
10551 2003-01-30 Angus Leeming <leeming@lyx.org>
10553 * factory.C (createInset): create an InsetCommandParam of type "index"
10554 and use it to 'do the right thing'.
10556 * text2.C (getStringToIndex): ensure that cursor position is always
10557 reset to the reset_cursor position.
10559 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10561 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10564 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10568 * lyxfunc.C: Output messages with identical spelling, punctuation,
10571 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10573 * MenuBackend.C (expandFormats): List only viewable export formats
10576 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10579 * lyxfunc.C (getStatus): Make sure that formats other than
10580 "fax" can also be disabled
10582 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10584 * text3.C (dispatch): put the lfuns that insert insets in 3
10585 groups, and call doInsertInset with appropriate arguments.
10586 (doInsertInset): new function, that creates an inset and inserts
10587 it according to some boolean parameters.
10589 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10591 * buffer.C (readFile): remember to pass on 'par' when calling
10592 readFile recursively.
10594 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10596 * MenuBackend.C (expandFormats): add "..." to import formats.
10598 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10600 * paragraph.C (asString): Remove XForms RTL hacks.
10602 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10603 * buffer.C: fix typo
10605 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10607 * Makefile.am (LIBS): delete var
10608 (lyx_LDADD): add @LIBS@ here instead.
10610 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10612 * Clarify the meaning of "wheel mouse jump"
10614 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10616 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10619 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10621 * importer.C (Loaders): do not preallocate 3 elements in the
10622 vector, since one ends up with 6 elements otherwise
10624 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10626 * DepTable.C (write): write the file name as last element of the
10627 .dep file (because it may contain spaces)
10628 (read): read info in the right order
10630 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10632 * paragraph_pimpl.C (simpleTeXBlanks):
10633 (simpleTeXSpecialChars):
10634 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10636 * tabular.C (latex): add some missing case statements. Reindent.
10638 * MenuBackend.C (expandToc): remove unused variable.
10640 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10649 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10652 2003-01-05 John Levon <levon@movementarian.org>
10655 * BufferView.C: add getEncoding()
10658 * kbsequence.C: do not store last keypress
10661 * lyxfunc.C: store last keypress here instead. Pass encoding
10664 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10666 * lyx_main.C (init): remove annoying error message when following
10667 symbolic links (bug #780)
10669 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10671 * text.C (insertChar):
10672 * lyxrc.C (getDescription): remove extra spaces
10674 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10676 * lyxrc.C (getDescription): remove extra spaces
10678 2002-12-20 John Levon <levon@movementarian.org>
10680 * text3.C: hack fix for page up/down across tall rows
10682 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10684 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10687 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10689 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10690 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10691 thesaurus is not compiled in
10693 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10695 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10697 2002-12-16 Angus Leeming <leeming@lyx.org>
10700 * lyx_main.C (init): remove override_x_deadkeys stuff.
10702 2002-12-12 John Levon <levon@movementarian.org>
10704 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10705 insert. Only remove shift modifier under strict
10708 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10710 * MenuBackend.C (expandToc): fix crash.
10712 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10714 * MenuBackend.C (expandToc): gettext on float names.
10716 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10718 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10719 implement bool empty() [bug 490]
10721 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10723 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10725 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10727 * several files: ws changes
10729 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10731 * text2.C (setCounter): clean up a bit, use boost.format.
10732 (updateCounters): initialize par upon declaration.
10734 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10735 if the layout exists. We do not just store the layout any more.
10736 (SwitchLayoutsBetweenClasses): use boost.format
10738 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10740 * converter.C (convert): if from and to files are the same, use a
10741 temporary files as intermediary
10743 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10746 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10748 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10750 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10752 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10754 * tabular.C (asciiPrintCell): use string(size, char) instead of
10757 * sgml.C (openTag): fix order of arguments to string constructor
10760 * lyxfunc.C (dispatch): use boost.format
10762 * lots of files: change "c" -> 'c'
10764 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10766 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10768 2002-11-25 Angus Leeming <leeming@lyx.org>
10770 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10772 * lyx_main.C (init): compile fix.
10774 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10776 * lyx_cb.C (start): boost.formatify
10777 do not include <iostream>
10779 * lengthcommon.C: ws only
10781 * boost-inst.C,BoostFormat.h: add more explict instantations
10783 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10785 * lots of files: handle USE_BOOST_FORMAT
10787 2002-11-21 John Levon <levon@movementarian.org>
10789 * pspell.C: fix compile
10791 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10793 * lyxfunc.C (dispatch): use boost::format
10797 * lyxfont.C (stateText): use boost::format
10799 * lyx_main.C (LyX): use boost::format
10801 (queryUserLyXDir): ditto
10802 (readRcFile): ditto
10804 (typedef boost::function): use the recommened syntax.
10806 * importer.C (Import): use boost::format
10808 * debug.C (showLevel): use boost::format
10810 * converter.C (view): use boost::format
10815 * bufferview_funcs.C (currentState): use boost::format
10817 * bufferlist.C (emergencyWrite): use boost::format
10819 * buffer.C (readLyXformat2): use boost::format
10820 (parseSingleLyXformat2Token): ditto
10822 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10824 * LaTeX.C (run): use boost::format
10826 * Chktex.C (scanLogFile): use boost::format
10828 * BufferView_pimpl.C (savePosition): use boost::format
10829 (restorePosition): ditto
10830 (MenuInsertLyXFile): ditto
10832 * BoostFormat.h: help file for explicit instation.
10834 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10836 * tabular.C (latex): Support for block alignment in fixed width
10839 2002-11-17 John Levon <levon@movementarian.org>
10841 * BufferView_pimpl.C:
10843 * lyxfunc.C: split filedialog into open/save
10845 2002-11-08 Juergen Vigna <jug@sad.it>
10847 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10848 by my last patch (hopefully).
10850 2002-11-08 John Levon <levon@movementarian.org>
10859 * toc.C: ParConstIterator, and use it (from Lars)
10861 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10863 * lyxtextclass.[Ch]: revise and add doxygen comments
10865 2002-11-07 John Levon <levon@movementarian.org>
10867 * text.C: fix progress value for spellchecker
10869 * toc.C: fix navigate menu for insetwrap inside minipage
10871 * paragraph_funcs.C: added FIXME for suspect code
10873 2002-11-07 John Levon <levon@movementarian.org>
10875 * BufferView_pimpl.C: fix redrawing of insets
10878 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10880 * text2.C (updateCounters): fix bug 668
10882 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10884 * text3.C (dispatch): Do not make the buffer dirty when moving the
10887 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10889 * vc-backend.C: STRCONV
10890 (scanMaster): ditto
10892 * text2.C (setCounter): STRCONV
10894 * paragraph.C (asString): STRCONV
10896 * lyxlength.C (asString): STRCONV
10897 (asLatexString): ditto
10899 * lyxgluelength.C (asString): STRCONV
10900 (asLatexString): ditto
10902 * lyxfunc.C (dispatch): STRCONV
10905 * lyxfont.C (stateText): STRCONV
10907 * importer.C (Import): STRCONV
10909 * counters.C (labelItem): STRCONV
10910 (numberLabel): ditto
10911 (numberLabel): remove unused ostringstream o
10916 * bufferview_funcs.C (currentState): STRCONV
10918 * buffer.C (readFile): STRCONV
10919 (asciiParagraph): ditto
10920 (makeLaTeXFile): ditto
10922 * Spacing.C (writeEnvirBegin): STRCONV
10924 * LaTeXFeatures.C (getLanguages): STRCONV
10925 (getPackages): ditto
10927 (getBabelOptions): ditto
10928 (getTClassPreamble): ditto
10929 (getLyXSGMLEntities): ditto
10930 (getIncludedFiles): ditto
10934 (scanAuxFile): ditto
10937 * LString.h: add the STRCONV macros
10939 * BufferView_pimpl.C (savePosition): STRCONV
10940 (restorePosition): ditto
10941 (MenuInsertLyXFile): ditto
10943 * vc-backend.C (scanMaster): change from submatch[...] to
10946 * funcrequest.C: include config.h
10948 * factory.C: include config.h
10950 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10952 * box.C: include config.h
10954 * LaTeX.C (scanAuxFile): change from submatch[...] to
10958 2002-10-25 Angus Leeming <leeming@lyx.org>
10960 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10962 * ispell.[Ch] (setError): new method.
10963 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10964 Use setError() insetead of goto END.
10966 * lyx_cb.C (AutoSave): move out child process into new class
10969 2002-10-30 John Levon <levon@movementarian.org>
10971 * text3.C: make start appendix undoable
10973 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10975 * lyxlength.C (inPixels): Fix returned value.
10977 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10980 2002-10-24 Angus Leeming <leeming@lyx.org>
10982 * lyxgluelength.h: no need to forward declare BufferParams
10983 or BufferView, so don't.
10985 2002-10-21 John Levon <levon@movementarian.org>
10987 * BufferView.C: menuUndo ->undo, redo
10989 * BufferView.h: document, remove dead, make some methods private
10991 * paragraph_funcs.h:
10992 * paragraph_funcs.C:
10993 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10998 * sgml.C: move sgml open/close tag into sgml.C
11000 * bufferview_funcs.h: unused prototype
11003 * lyxfunc.C: remove unused
11006 * text.C: remove unused
11008 2002-10-21 John Levon <levon@movementarian.org>
11012 * BufferView_pimpl.h:
11013 * BufferView_pimpl.C: fix mouse wheel handling based on
11014 patch from Darren Freeman
11016 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11018 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11020 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11022 * lyxlength.C (inPixels): Fix hanfling of negative length.
11023 Fix LyXLength::MU case.
11025 2002-10-16 John Levon <levon@movementarian.org>
11027 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11029 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11031 * converter.C (view): add support for $$i (file name) and $$p
11032 (file path) for the viewer command. If $$i is not specified, then
11033 it is appended to the command (for compatibility with old syntax)
11035 2002-10-14 Juergen Vigna <jug@sad.it>
11037 * undo_funcs.C (textHandleUndo): alter the order in which the
11038 new undopar is added to the LyXText, as we have to set first
11039 the right prev/next and then add it as otherwise the rebuild of
11040 LyXText is not correct. Also reset the cursor to the right paragraph,
11041 with this IMO we could remove the hack in "redoParagraphs()".
11043 2002-10-09 Angus Leeming <leeming@lyx.org>
11045 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11046 to turn off an optimisation if a new inset is to be inserted.
11048 2002-10-11 André Pönitz <poenitz@gmx.net>
11050 * lyxtext.h: make some functions public to allow access
11051 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11053 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11055 * text3.C (dispatch): when changing layout, avoid an infinite loop
11058 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11060 * lyxrc.C (read): treat a viewer or converter command of "none" as
11063 * MenuBackend.C (expandFormats): for an update, also allow the
11064 formats that are not viewable
11066 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11067 script if it is newer than the lyxrc.defaults in user directory
11069 2002-10-07 André Pönitz <poenitz@gmx.net>
11071 * text.C: Vitaly Lipatov's small i18n fix
11073 2002-09-25 Angus Leeming <leeming@lyx.org>
11075 * ispell.h: doxygen fix.
11077 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11079 * buffer.h (readFile): Add a new argument to the method, to allow
11080 reading of old-format templates.
11082 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11084 * toc.C (getTocList): Get TOC from InsetWrap.
11086 2002-09-16 John Levon <levon@movementarian.org>
11088 * lyxfunc.C: check tabular for cut/copy too
11090 2002-09-12 John Levon <levon@movementarian.org>
11092 * LyXAction.C: tidy
11095 * factory.C: add header
11097 * paragraph_funcs.h:
11098 * paragraph_funcs.C: cleanup
11100 2002-09-11 John Levon <levon@movementarian.org>
11102 * PrinterParams.h: odd/even default to true
11104 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11106 * PrinterParams.h: update printer parameters for new xforms dialog
11108 2002-09-11 Angus Leeming <leeming@lyx.org>
11110 * lyxserver.C (read_ready): re-write to make it more transparent
11111 and to make it work in coherent fashion under Tru64 Unix.
11113 2002-09-11 André Pönitz <poenitz@gmx.net>
11117 * text3.C: implement LFUN_WORDSEL
11119 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11121 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11122 make floatlist_ a boost::shared_ptr<FloatList>
11124 * lyxtextclass.C: include FloatList.h
11125 (LyXTextClass): initialize floatlist_
11126 (TextClassTags): add TC_NOFLOAT
11127 (Read): match "nofloat" to TC_NOFLOAT and use it.
11128 (readFloat): modify call to floatlist_
11132 * FloatList.[Ch] (FloatList): remove commented out float
11134 (erase): new function
11136 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11138 * MenuBackend.C (expandToc): fix crash when there is no document
11141 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11143 * many files: Add insetwrap.
11145 2002-09-09 John Levon <levon@movementarian.org>
11147 * text2.C: remove confusing and awkward depth wraparound
11149 2002-09-09 John Levon <levon@movementarian.org>
11151 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11154 * buffer.C: remove getIncludeonlyList()
11157 * lyxfunc.C: remove headers
11159 2002-09-09 Juergen Vigna <jug@sad.it>
11161 * text.C (getColumnNearX): fix form Michael this is most
11162 probably a cut&paste bug.
11164 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11166 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11168 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11169 references, ws changes.
11171 * text2.C (init): update counters after init
11172 (insertParagraph): no need to set counter on idividual paragraphs.
11173 (setCounter): access the counters object in the textclass object
11174 on in the buffer object.
11175 (updateCounters): ditto
11177 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11178 shared_ptr<Counters> to avoid loading counters.h in all
11180 (LyXTextClass): initialize ctrs_
11181 (TextClassTags): add TC_COUNTER, and ...
11182 (Read): use it here.
11183 (CounterTags): new tags
11184 (readCounter): new function
11185 (counters): new funtion
11186 (defaultLayoutName): return a const reference
11188 * counters.C (Counters): remove contructor
11189 (newCounter): remove a couple of unneeded statements.
11190 (newCounter): simplify a bit.
11191 (numberLabel): some small formatting changes.
11193 * buffer.[Ch]: remove all traces of counters, move the Counters
11194 object to the LyXTextClass.
11196 2002-09-06 Alain Castera <castera@in2p3.fr>
11198 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11199 package to set the horizontal alignment on fixed width columns.
11202 * lyx_sty.h: added tabularnewline macro def.
11204 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11206 2002-09-06 John Levon <levon@movementarian.org>
11208 * LyXAction.C: tooltips for sub/superscript
11210 * MenuBackend.C: a bit more verbose
11212 * lyxfunc.C: tiny clean
11214 * undo_funcs.C: document undo_frozen
11216 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11218 * counters.C (Counters): add missing algorithm counter.
11220 * text2.C (setCounter): lookup the counter with layouts latexname
11221 instead of by section number.
11222 (setCounter): use a hackish way to lookup the correct enum
11224 a float name->type change
11225 reset enum couners with counter name directly instead of depth value.
11227 * counters.C (Counters): remove the push_backs, change to use the
11228 float type not the float name.
11229 (labelItem): remove unused string, float name->type change
11231 * counters.h: don't include vector, loose the enums and sects vectors
11233 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11235 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11236 (Read): add float->TC_FLOAT to textclassTags
11237 (Read): and handle it in the switch
11238 (readFloat): new function
11240 * FloatList.C (FloatList): comment out the hardcoded float
11243 * lyxlayout.h: ws change.
11245 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11247 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11249 2002-09-03 Angus Leeming <leeming@lyx.org>
11251 * BufferView_pimpl.h: qualified name is not allowed in member
11252 declaration: WorkArea & Pimpl::workarea() const;
11254 * factory.C: added using std::endl directive.
11256 * text3.C: added using std::find and std::vector directives.
11258 2002-08-29 André Pönitz <poenitz@gmx.net>
11261 * text2.C: remove unused member number_of_rows
11264 * BufferView2.C: remove file, move contents to...
11265 * BufferView.C: ... here
11267 * BufferView_pimpl.C:
11268 * factory.C: move more inset creation to factory
11270 * vspace.C: avoid direct usage of LyXText, ws changes
11273 don't provide direct access to WorkArea, use two simple
11274 acessors haveSelction() and workHeight() instead
11277 2002-08-29 John Levon <levon@movementarian.org>
11279 * BufferView_pimpl.C (dispatch): do not continue when
11282 2002-08-28 André Pönitz <poenitz@gmx.net>
11284 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11287 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11289 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11291 * buffer.C: increment LYX_FORMAT to 221
11293 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11294 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11296 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11298 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11300 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11302 * factory.C (createInset): use LyXTextClass::floats
11304 * MenuBackend.C (expandFloatListInsert):
11305 (expandFloatInsert):
11308 * text2.C (setCounter):
11310 * LaTeXFeatures.C (useFloat):
11311 (getFloatDefinitions):
11313 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11315 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11316 floatlist_, with accessor floats().
11318 * FloatList.h: remove global FloatList
11320 2002-08-26 André Pönitz <poenitz@gmx.net>
11322 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11326 * BufferView_pimpl.C:
11327 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11329 2002-08-25 John Levon <levon@movementarian.org>
11331 * LyXAction.C: fix margin note description
11333 2002-08-24 John Levon <levon@movementarian.org>
11337 * bufferview_funcs.C:
11339 * undo_funcs.C: cleanups
11341 * lyxfunc.C: disable CUT/COPY when no selection
11343 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11345 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11346 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11348 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11349 Add backward compatibility to "mono", "gray" and "no".
11351 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11353 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11354 (and file_format >= 200).
11356 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11358 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11360 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11362 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11364 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11366 * BufferView_pimpl.C:
11373 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11374 inset and code to make it work with the paragraph code. The inset
11375 can be anywhere in the paragraph, but will only do the expected
11376 thing in LaTeX if the layout file contains the parameter line
11378 (or more generally, a nonzero value) for that layout.
11380 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11382 * paragraph.h: remove the declaration of undefined counters class
11385 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11387 * text2.C (setCounter): fixed enumeration mis-count as reported by
11388 Dr. Richard Hawkins.
11390 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11392 * paragraph_funcs.h: remove some unneeded includes
11394 * text.C (backspace): pasteParagraph now in global scipe
11396 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11397 (pasteSelection): ditto
11399 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11400 * paragraph_funcs.C (pasteParagraph): ... here
11402 2002-08-20 André Pönitz <poenitz@gmx.net>
11404 * commandtags.h: new LFUNs for swapping/copying table row/colums
11407 * lyxfunc.C: support for new lfuns
11409 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11412 * buffer.[Ch]: remove NO_COMPABILITY stuff
11414 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11416 * boost.C (throw_exception): new file, with helper function for
11417 boost compiled without exceptions.
11422 * ParameterStruct.h:
11423 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11425 * bufferlist.C (emergencyWriteAll): use boost bind
11427 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11429 * text.C: include paragraph_funcs.h
11430 (breakParagraph): breakParagraph is now in global scope
11432 * paragraph_funcs.[Ch]: new files
11434 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11437 * buffer.C: include paragraph_funcs.h
11438 (insertStringAsLines): breakParagraph is now in global scope
11440 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11443 * CutAndPaste.C: include paragraph_funcs.h
11444 (cutSelection): breakParagraphConservative is now in global scope
11445 (pasteSelection): ditto
11447 * buffer.h: declare oprator== and operator!= for
11448 Buffer::inset_iterator
11450 * bufferlist.C (emergencyWrite): don't use fmt(...)
11452 * text3.C: add using std::endl
11454 * BufferView.C (moveCursorUpdate): remove default arg
11456 2002-08-20 André Pönitz <poenitz@gmx.net>
11458 * buffer.[Ch]: move inline functions to .C
11461 * BufferView_pimpl.C:
11463 * buffer.[Ch]: use improved inset_iterator
11466 * paragraph.[Ch]: write one paragraph at a time
11468 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11470 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11471 style if style is not specified.
11473 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11475 * text2.C (setCounter): when searching for right label for a
11476 caption, make sure to recurse to parent insets (so that a caption
11477 in a minipage in a figure float works) (bug #568)
11479 2002-08-20 André Pönitz <poenitz@gmx.net>
11481 * text3.C: new file for LyXText::dispatch() and helpers
11483 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11485 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11487 2002-08-19 André Pönitz <poenitz@gmx.net>
11490 * text.C: new LyXText::dispatch()
11492 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11494 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11496 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11498 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11501 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11503 * Makefile.am: use $(variables) instead of @substitutions@
11505 2002-08-15 André Pönitz <poenitz@gmx.net>
11508 * BufferView_pimpl.C: streamlining mathed <-> outer world
11512 * LyXAction.C: remove unused LFUN_MATH
11514 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11516 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11518 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11520 * paragraph.C (Paragraph): reformat a bit
11521 (cutIntoMinibuffer): use builtin InsetList function instad of
11525 * buffer.C: include boost/bind.hpp, add using std::for_each
11526 (writeFileAscii): use ParagraphList iterators
11527 (validate): use for_each for validate traversal of paragraphs
11528 (getBibkeyList): use ParagraphList iterators
11529 (resizeInsets): use for_each to resizeInsetsLyXText for all
11531 (getParFromID): use ParagraphList iterators
11533 * BufferView2.C (lockInset): use paragraph list and iterators
11535 2002-08-14 John Levon <levon@movementarian.org>
11537 * lyxserver.C: remove spurious xforms include
11539 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11541 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11543 2002-08-13 André Pönitz <poenitz@gmx.net>
11546 * lyxfunc.C: further cleaning
11548 2002-08-13 André Pönitz <poenitz@gmx.net>
11550 * funcrequest.h: new constructor
11552 * funcrequest.C: move stuff here from .h
11555 * BufferView_pimpl.C:
11558 * lyxfunc.C: subsequent changes
11560 * lyxfunc.h: new view() member function
11562 * lyxfunc.C: subsequent changes
11564 2002-08-13 Angus Leeming <leeming@lyx.org>
11567 * BufferView_pimpl.C:
11575 changes due to the changed LyXView interface that now returns references
11576 to member variables not pointers.
11578 2002-08-13 Angus Leeming <leeming@lyx.org>
11580 * WordLangTuple (word, lang_code): return references to strings,
11585 * lyxtext.h: forward-declare WordLangTuple.
11590 * text.C: #include "WordLangTuple.h".
11593 * text.C: (selectNextWordToSpellcheck): constify return type.
11595 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11601 * paragraph_pimpl.h:
11604 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11605 suggested by Angus.
11606 Made updateCounter always count from start of buffer, and removed
11607 second argument (par).
11608 Reverted floats number display to '#'. Perhaps I'll try again when the
11609 code base is sanitized a bit.
11611 2002-08-12 Angus Leeming <leeming@lyx.org>
11613 * buffer.[Ch] (getLabelList): constify.
11615 2002-08-07 André Pönitz <poenitz@gmx.net>
11617 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11619 * funcrequest.h: extension to keep mouse (x,y) position
11621 2002-08-12 Juergen Vigna <jug@sad.it>
11623 * BufferView2.C (insertErrors): forbid undo when inserting error
11626 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11628 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11630 * ParagraphList.[Ch]: new files
11632 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11634 * BufferView2.C (lockInset): ParagraphList changes
11637 * bufferlist.C: ditto
11641 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11643 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11644 unused class variable counter_,
11646 * paragraph.[Ch] (getFirstCounter): delete unused function
11648 * counters.C: include LAssert.h
11649 (reset): add a new function with no arg, change other version to
11650 not have def. arg and to not allow empty arg.
11652 * text2.C (setCounter): remove empty arg from call to Counters::reset
11654 2002-08-11 John Levon <levon@movementarian.org>
11656 * Makefile.am: add WordLangTuple.h
11658 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11660 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11661 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11663 * insets/insettext.C: InsetList changes
11665 * graphics/GraphicsSupport.C (operator()): InsetList changes
11667 * toc.C (getTocList): InsetList changes
11669 * paragraph_pimpl.[Ch]: InsetList changes
11671 * paragraph.[Ch]: InsetList changes
11673 * buffer.C (inset_iterator): InsetList changes
11674 (setParagraph): ditto
11675 * buffer.h (inset_iterator): ditto
11676 * iterators.C (operator++): ditto
11677 * iterators.h: ditto
11679 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11681 * InsetList.[Ch]: new files, most InsetList handling moved out of
11684 * BufferView2.C (removeAutoInsets): InsetList changes
11686 (ChangeInsets): ditto
11688 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11690 * paragraph_pimpl.h (empty): new function
11692 * paragraph.[Ch] (empty): new function
11694 * other files: use the new Paragraph::empty function
11696 2002-08-09 John Levon <levon@movementarian.org>
11698 * lyxtext.h: remove unused refresh_height
11700 2002-08-09 John Levon <levon@movementarian.org>
11707 * paragraph.C: move sgml char escaping out of paragraph
11710 * paragraph.C: remove id setter
11714 * paragraph_pimpl.C: remove dead tex_code_break_column
11716 * bufferview_funcs.C: small cleanup
11718 * lyxfunc.C: remove dead proto
11720 * lyxtext.h: make some stuff private. Remove some dead stuff.
11722 * lyxgluelength.C: make as[LyX]String() readable
11724 2002-08-08 John Levon <levon@movementarian.org>
11729 * ToolbarDefaults.C:
11732 * toc.C: lyxaction cleanup
11734 2002-08-08 John Levon <levon@movementarian.org>
11736 * BufferView2.C: small cleanup
11739 * lyxfind.C: move unnecessary header into the .C
11741 2002-08-08 John Levon <levon@movementarian.org>
11743 * funcrequest.h: just tedious nonsense
11746 * lyx_main.C: cleanups
11749 * vspace.C: remove dead header lyx_main.h
11751 2002-08-07 Angus Leeming <leeming@lyx.org>
11754 * paragraph_pimpl.h:
11755 Forward declare class Counters in paragraph.h by moving the ctrs member
11756 variable into Paragraph::Pimpl.
11757 (counters): new method, returning a reference to pimpl_->ctrs.
11759 * text2.C: ensuing changes.
11761 2002-08-07 John Levon <levon@movementarian.org>
11763 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11765 * BufferView_pimpl.C: announce X selection on double/triple
11768 * lyx_main.C: use correct bool in batch dispatch
11770 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11772 2002-08-07 André Pönitz <poenitz@gmx.net>
11774 * funcrequest.h: new class to wrap a kb_action and its argument
11777 * BufferView_pimpl[Ch]:
11781 * lyxrc.C: subsequent changes
11784 2002-08-07 John Levon <levon@movementarian.org>
11786 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11787 document options change.
11789 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11794 * makefile.am: move counters functionality over from
11795 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11797 2002-08-06 John Levon <levon@movementarian.org>
11799 * WordLangTuple.h: new file for word + language code tuple
11810 * BufferView2.C: use WordLangTuple
11813 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11815 2002-08-06 John Levon <levon@movementarian.org>
11817 * lyx_main.C: fix cmdline batch handling
11819 2002-08-06 André Pönitz <poenitz@gmx.net>
11821 * lyxrc.C: set default for show_banner to true
11823 2002-08-06 John Levon <levon@movementarian.org>
11825 * pspell.C: fix a crash, and allow new aspell to work
11827 2002-08-06 John Levon <levon@movementarian.org>
11830 * kbmap.C: small cleanup
11833 * vspace.C: add const
11835 2002-08-05 John Levon <levon@movementarian.org>
11837 * LyXAction.C: back to tabular-insert
11839 2002-08-04 John Levon <levon@movementarian.org>
11842 * BufferView.C: cosmetic change
11844 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11854 * BufferView2.C: purge all "Lyx" not "LyX" strings
11857 * lyxcursor.C: attempt to add some documentation
11862 * ToolbarDefaults.C:
11863 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11864 merge with LFUN_TABULAR_INSERT
11871 * pspell.C: split up i/pspell implementations into separate
11872 files, many cleanups
11874 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11876 * text2.C: some cleanup
11878 * lyxfunc.C: don't check for isp_command == "none" any more, it
11879 didn't make any sense
11881 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11886 * makefile.am: move counters functionality over
11887 from text2.C/paragraph.[Ch] to counters.[Ch], and
11889 2002-08-02 John Levon <levon@movementarian.org>
11891 * buffer.C: s/lyxconvert/lyx2lyx/
11893 2002-08-02 Angus Leeming <leeming@lyx.org>
11895 * lyxlex.C: revert John's change as it breaks reading of the user
11898 2002-08-02 Angus Leeming <leeming@lyx.org>
11900 * importer.C (Import):
11901 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11902 changes due to LyXView::view() now returning a boost::shared_ptr.
11904 2002-08-02 John Levon <levon@movementarian.org>
11906 * lyxlex.C: small cleanup
11908 2002-08-02 John Levon <levon@movementarian.org>
11910 * text2.C (status): small cleanup, no logic change
11912 2002-08-01 John Levon <levon@movementarian.org>
11915 * buffer.C (writeFile): don't output alerts, caller
11919 * lyx_cb.C: from above
11921 * lyxfunc.C: allow to open non-existent files
11923 2002-07-31 John Levon <levon@movementarian.org>
11925 * lyxserver.C: don't let incidental errors get
11928 2002-07-30 John Levon <levon@movementarian.org>
11930 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11932 2002-07-30 John Levon <levon@movementarian.org>
11935 * lyxserver.C: remove I/O callback too
11937 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11939 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11942 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11944 * many files: strip,frontStrip -> trim,ltrim,rtrim
11946 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11948 * PrinterParams.h: remove extern containsOnly, and include
11949 support/lstrings.h instead.
11951 * LaTeX.C (scanAuxFile): modify because of strip changes
11953 * buffer.C (makeLaTeXFile): ditto
11954 * bufferparams.C (writeFile): ditt
11955 * lyxfont.C (stateText): ditto
11956 * lyxserver.C (read_ready): ditto
11957 * vc-backend.C (scanMaster): ditto
11959 * BufferView_pimpl.h: ws changes
11961 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11963 2002-07-26 André Pönitz <poenitz@gmx.net>
11965 * kb_sequence.C: remove unnedred usings
11967 2002-07-26 Juergen Vigna <jug@sad.it>
11969 * lyxfind.C (LyXReplace): we have to check better if the returned
11970 text is not of theLockingInset()->getLockingInset().
11972 2002-07-25 Juergen Vigna <jug@sad.it>
11974 * lyxfind.C (LyXReplace): don't replace if we don't get the
11977 * undo_funcs.C (createUndo): remove debugging code.
11979 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11981 * buffer.C (parseSingleLyXformat2Token): Use default placement
11982 when reading old floats.
11984 * FloatList.C (FloatList): Change the default placement of figure
11985 and tables to "tbp".
11987 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11989 * MenuBackend.C: using std::max
11991 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * MenuBackend.C (expandToc):
11994 (expandToc2): code moved from xforms menu frontend. It is now
11995 generic and TOCs are transparent to menu frontends.
11997 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11999 * toc.C (getTocList): protect against buf=0
12001 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12002 Menu as first parameter. Now, this calls itself recursively to
12003 expand a whole tree (this will be useful for TOC handling)
12004 (expandFloatInsert): remove 'wide' version of floats
12006 * MenuBackend.h (submenuname): returns the name of the submenu.
12007 (submenu): returns the submenu itself, provided it has been
12008 created by MenuBackend::expand
12010 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12012 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12013 insets which have noFontChange == true. (bug #172)
12015 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12017 * BufferView_pimpl.C: add connection objects and use them...
12020 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12022 * MenuBackend.C (expandLastfiles):
12025 (expandFloatListInsert):
12026 (expandFloatInsert):
12027 (expand): split expand in parts
12029 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12031 * lyx_gui.C: use lyx_gui::exit()
12033 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12035 * LyXAction.C: show the failing pseudo action
12037 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12039 * buffer.C (readFile): Run the lyxconvert script in order to read
12042 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12046 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12048 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12052 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12054 2002-07-22 Herbert Voss <voss@lyx.org>
12057 * lyxlength.[Ch]: add support for the vertical lengths
12059 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12061 * toc.[Ch]: std:: fixes
12063 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12065 * lyxrc.C: do not include lyx_main.h
12067 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12073 * BufferView2.C: include "lyxlex.h"
12076 * bufferparams.h: do not #include "lyxlex.h"
12078 * lyxtextclasslist.C (Add): remove method
12079 (classlist): renamed to classlist_
12081 * paragraph_pimpl.C:
12085 * bufferview_funcs.C:
12090 * toc.C (getTocList): use BufferParams::getLyXTextClass
12092 * toc.C (getTocList): use InsetFloat::addToToc
12094 * toc.[Ch]: new files, containing helper functions to handle table
12097 * lyxfunc.C (dispatch): no need to remove spaces around command
12099 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12100 first command of the sequence; it is not very clever, but I do not
12101 have a better idea, actually
12103 * LyXAction.C (LookupFunc): make sure to remove space at the
12104 beginning and end of the command
12106 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12108 * MenuBackend.C (getMenubar): new method: return the menubar of
12110 (read): treat differently reading of menu and menubar (in
12111 particular, the menubar has no name now)
12112 (Menu::menubar): remove
12114 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12117 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12119 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12120 a bibitem inset in a RTL paragraph.
12122 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12124 * paragraph_pimpl.C: constify
12126 * BufferView_pimpl.C:
12128 * lyxfunc.C: fix dispatch in a nicer way
12130 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12132 * lyxfunc.C (dispatch):
12133 * BufferView_pimpl.C:
12134 * BufferView_pimpl.h:
12136 * BufferView.h: rename Dispatch() to dispatch()
12138 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12140 * lyxlayout.C (Read): honor DependsOn tag
12142 * lyxlayout.[Ch] (depends_on): new method
12144 * version.C.in: update lyx_docversion
12146 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12148 * paragraph.C (validate): remove from here...
12149 * paragraph_pimpl.C (validate): ... and move here
12150 (isTextAt): make it const
12152 * buffer.C (getLists): ws cleanup
12154 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12156 * language.C (read): Use iso8859-1 encoding in latex_lang
12157 (this prevents LyX from crashing when using iso10646-1 encoding).
12159 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12161 * text2.C (toggleInset): if cursor is inside an inset, close the
12162 inset and leave cursor _after_ it
12164 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12166 * lyxfunc.C: move minibuffer completion handling out of here
12168 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12170 * BufferView_pimpl.C:
12171 * LaTeX.C: fix dispatch calls
12173 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12175 * text.C (drawChars): Fix Arabic text rendering.
12177 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12181 * lyxfunc.C: remove message-push/pop
12185 * lyxfunc.C: rationalise some code by removing verboseDispatch
12186 in favour of a bool argument to dispatch()
12188 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12190 * lyx_main.C (init): make sure to read symlinks as absolute paths
12192 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12195 * lyxfunc.C: no need for commandshortcut to be a member
12197 2002-07-15 André Pönitz <poenitz@gmx.net>
12199 * converter.C: add support for $$s (scripts from lib/scripts dir)
12200 * lyx_main.C: white space
12202 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12206 * lyxrc.C: remove second exit confirmation
12208 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12213 * BufferView_pimpl.h:
12214 * BufferView_pimpl.C:
12215 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12217 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12219 * MenuBackend.C (expand): add numeric shortcuts to document menu
12221 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12223 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12225 * lyxfont.C (setLyXFamily):
12232 * buffer.C (asciiParagraph): use ascii_lowercase
12234 2002-07-15 Mike Fabian <mfabian@suse.de>
12236 * lyxlex_pimpl.C (search_kw):
12237 * lyxlex.C (getLongString):
12238 * converter.h (operator<):
12239 * converter.C (operator<):
12240 * buffer.C (parseSingleLyXformat2Token):
12242 * ToolbarDefaults.C (read):
12243 * MenuBackend.C (checkShortcuts):
12245 * LColor.C (getFromGUIName):
12246 (getFromLyXName): use the compare_ascii_no_case instead of
12247 compare_no_case, because in turkish, 'i' is not the lowercase
12248 version of 'I', and thus turkish locale breaks parsing of tags.
12250 2002-07-16 Angus Leeming <leeming@lyx.org>
12252 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12253 now takes a Buffer const & argument.
12255 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12257 * BufferView.C (resize): check there's a buffer to resize
12259 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12261 * lyxfunc.C: remove dead code
12264 * lyxserver.C: use lyx_guii::set_read_callback
12266 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12268 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12269 an inset in a RTL paragraph.
12271 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12273 * lyxfunc.C: repaint after a font size update
12275 2002-07-15 André Pönitz <poenitz@gmx.net>
12277 * lyxlength.C: inBP should be able to return negative values
12279 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12281 * lyxfunc.C: use lyx_gui::update_fonts()
12283 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12285 * lyxfunc.C: use lyx_gui::update_color()
12287 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12293 * lyxrc.C: remove file->new asks for name option, and let
12294 buffer-new take an argument
12296 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12298 * BufferView_pimpl.C: remove unneeded extra repaint()
12300 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12302 * LyXAction.C: allow command-sequence with NoBuffer
12304 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12306 2002-07-10 Angus Leeming <leeming@lyx.org>
12308 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12310 2002-07-09 Angus Leeming <leeming@lyx.org>
12312 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12314 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12316 * lengthcommon.h: whitespace
12318 * lyxfunc.C: update scrollbar after goto paragraph
12320 * lyxtext.h: factor out page break drawing, and fix it so
12321 page break/added space paints as selected nicely
12323 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12325 * BufferView_pimpl.C: add FIXMEs, clean up a little
12327 2002-07-09 André Pönitz <poenitz@gmx.net>
12329 * lyxfont.[Ch]: support for wasy symbols
12331 2002-07-08 André Pönitz <poenitz@gmx.net>
12333 * BufferView_pimpl.C: apply John's patch for #93.
12335 2002-07-05 Angus Leeming <leeming@lyx.org>
12337 * BufferView_pimpl.C (buffer): generate previews if desired.
12339 * LColor.h: add "preview" to the color enum.
12341 * LColor.C (LColor): add a corresponding entry to the items array.
12343 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12346 2002-07-05 Angus Leeming <leeming@lyx.org>
12348 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12349 The body of the code is now in the method that is passed an ostream &
12350 rather than a file name.
12351 Pass an additional only_preamble parameter, useful for the forthcoming
12354 2002-07-03 André Pönitz <poenitz@gmx.net>
12356 * lyxfunc.C: simplify getStatus() a bit for math stuff
12358 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12360 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12362 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12364 * text.C (changeRegionCase): do not change case of all the
12365 document when region ends at paragraph end (bug #461)
12367 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12369 * paragraph.C (startTeXParParams):
12370 (endTeXParParams): add \protect when necessary
12372 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12374 * BufferView_pimpl.C (workAreaExpose): remove warning
12376 2002-06-27 Angus Leeming <leeming@lyx.org>
12378 * Makefile.am: add lyxlayout_ptr_fwd.h.
12380 2002-06-26 André Pönitz <poenitz@gmx.net>
12382 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12384 2002-06-25 Angus Leeming <leeming@lyx.org>
12386 * lyxfunc.C (dispatch): Comment out the call to
12387 grfx::GCache::changeDisplay. The method no longer exists now that the
12388 pixmap generation part of the graphics loader has been moved into
12391 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12393 * text2.C: layout as layout
12395 * text.C: layout as layout
12397 * tabular.C (OldFormatRead): layout as layout
12399 * paragraph_pimpl.C (TeXDeeper): layout as layout
12400 (realizeFont): layout as layout
12402 * paragraph.C (writeFile): layout as layout
12403 (validate): layout as layout
12404 (getFont): layout as layout
12405 (getLabelFont): layout as layout
12406 (getLayoutFont): layout as layout
12407 (breakParagraph): layout as layout
12408 (stripLeadingSpaces): layout as layout
12409 (getEndLabel): layout as layout
12410 (getMaxDepthAfter): layout as layout
12411 (applyLayout): layout as layout
12412 (TeXOnePar): layout as layout
12413 (simpleTeXOnePar): layout as layout
12414 (TeXEnvironment): layout as layout
12415 (layout): layout as layout
12416 (layout): layout as layout
12418 * lyxtextclass.C (compare_name): new functor to work with
12419 shared_ptr, layout as layout
12420 (Read): layout as layout
12421 (hasLayout): layout as layout
12422 (operator): layout as layout
12423 (delete_layout): layout as layout
12424 (defaultLayout): layout as layout
12426 * lyxlayout_ptr_fwd.h: new file
12428 * lyxlayout.C (Read): layout as layout
12430 * lyx_cb.C (MenuInsertLabel): layout as layout
12432 * bufferlist.C (newFile): layout as layout
12434 * buffer.C (readLyXformat2): layout as layout
12435 (parseSingleLyXformat2Token): layout as layout
12436 (insertStringAsLines): layout as layout
12437 (asciiParagraph): layout as layout
12438 (latexParagraphs): layout as layout
12439 (makeLinuxDocFile): layout as layout
12440 (simpleLinuxDocOnePar): layout as layout
12441 (makeDocBookFile): layout as layout
12442 (simpleDocBookOnePar): layout as layout
12443 (getLists): layout as layout
12445 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12447 * CutAndPaste.C (cutSelection): layout as layout
12448 (pasteSelection): layout as layout
12449 (SwitchLayoutsBetweenClasses): layout as layout
12451 * BufferView_pimpl.C (Dispatch): layout as layout
12452 (smartQuote): layout as layout
12454 * BufferView2.C (unlockInset): layout as layout
12456 2002-06-24 André Pönitz <poenitz@gmx.net>
12458 * lyxfunc.C: fix #487
12460 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12464 * lyxfunc.C: remove display_shortcuts, show_banner
12466 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12468 * Buffer_pimpl.C: oops, update on resize
12470 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12477 * BufferView.C: use repaint()
12479 * BufferView_pimpl.h:
12480 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12481 as it's a clearer description. Remove superfluous
12484 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12486 * text.C: fix bug 488. Not ideal, but getting
12487 getWord() to work properly for the insets that
12488 matter is more difficult ...
12490 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12492 * BufferView_pimpl.C:
12495 * lyxfunc.C: remove the six million index lyxfuncs to just
12496 one, and DTRT (bug 458)
12498 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12502 * BufferView_pimpl.h:
12503 * BufferView_pimpl.C: clean up resize() stuff,
12504 and unnecessary updateScreen()s
12506 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12510 * BufferView_pimpl.h:
12511 * BufferView_pimpl.C:
12514 * minibuffer.C: remove focus management of workarea,
12515 not needed. Use screen's greyOut()
12517 2002-06-17 Herbert Voss <voss@lyx.org>
12519 * converter.C: (convert) do not post a message, when converting
12520 fails, let the calling function decide what to do in this case
12522 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12524 * lyxfunc.C: tidy up a little
12526 2002-06-16 <alstrup@diku.dk>
12528 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12529 Got rid of FORMS_H_LOCATION include. Now we are
12532 2002-06-15 LyX Development team <lyx@rilke>
12534 * buffer.[Ch] (sgmlOpenTag):
12535 (sgmlCloseTag): Added support for avoiding pernicious mixed
12536 content. Return number of lines written.
12538 (makeLinuxDocFile):
12539 (makeDocBookFile): Fixed calls to sgml*Tag.
12540 Simple white space clean.
12542 (simpleDocBookOnePar): Simple white space clean.
12544 * tabular.[Ch] (docBook): Renamed to docbook and got another
12545 argument to related with the pernicious mixed content.
12547 (docbookRow): Fixed calls for docbook inset method.
12549 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12551 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12552 so it's X11 independent.
12556 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12558 2002-06-15 Lyx Development team <lyx@electronia>
12560 * intl.h: Renamed getTrans to getTransManager.
12562 2002-06-14 Angus Leeming <leeming@lyx.org>
12564 * Makefile.am: nuke forgotten stl_string_fwd.h.
12566 2002-06-12 Angus Leeming <leeming@lyx.org>
12568 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12570 2002-06-13 Angus Leeming <leeming@lyx.org>
12573 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12575 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12577 * kbmap.C (getiso): add support for cyrillic and greek
12579 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12583 * BufferView_pimpl.h:
12584 * BufferView_pimpl.C: move bogus scrolling logic
12587 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12590 * BufferView_pimpl.C: view->resize() change
12592 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12594 * BufferView_pimpl.C: topCursorVisible
12597 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12601 * lyx_gui.C: move to frontends/
12605 * lyx_main.C: changes from above
12607 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12614 * lyx_main.C: minor tidy
12616 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12618 * BufferView_pimpl.h:
12619 * BufferView_pimpl.C:
12621 * BufferView.C: make painter() const,
12624 * BufferView2.C: use screen() accessor
12627 * lyx_main.C: some minor cleanup
12629 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12631 * BufferView_pimpl.h:
12632 * BufferView_pimpl.C: remove enter/leaveView,
12635 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12640 * BufferView_pimpl.h:
12641 * BufferView_pimpl.C: only construct screen once,
12644 * lyxrc.C: remove pointless comment
12646 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12649 * BufferView.C: remove active() and belowMouse()
12651 * BufferView_pimpl.h:
12652 * BufferView_pimpl.C: use workarea() not workarea_,
12653 and make it use a scoped_ptr instead
12655 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12657 * lyx_gui.C: add debug message on BadWindow
12659 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12661 * sp_spell.C: fdopen is not part of the C++ standard.
12663 * paragraph.C (InsetIterator): use >= instead of ==
12665 2002-06-07 Angus Leeming <leeming@lyx.org>
12667 Fixes needed to compile with Compaq cxx 6.5.
12668 * BufferView_pimpl.C:
12675 * lyxtextclasslist.C:
12680 all c-library variables have been moved into namespace std. Wrap
12681 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12686 Add a using std::abs declaration.
12688 * kbmap.h (modifier_pair):
12689 * paragraph.h (InsetTable, InsetList):
12690 * lyxfont.h (FontBits):
12691 type definition made public.
12693 * bufferlist.C (emergencyWriteAll): the compiler complains that
12694 there is more than one possible lyx::class_fun template to choose from.
12695 I re-named the void specialisation as lyx::void_class_fun.
12697 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12699 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12700 the compiler is is unable to find tostr in write_attribute.
12702 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12704 * buffer.C (sgmlError): hide #warning
12706 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12708 * xtl/*: get rid of xtl, which is not in use anyway
12710 * LyXAction.C (init):
12711 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12712 were unimplemented xtl experimentation
12714 2002-06-04 André Pönitz <poenitz@gmx.net>
12716 * lyxfunc.C: disable array operation on simple formulae
12718 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12720 * converter.C: constify a bit
12722 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12724 * lyx_gui.C: check xforms version correctly
12726 2002-04-30 Herbert Voss <voss@lyx.org>
12728 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12731 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12733 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12734 attempt to register it with a VCS)
12736 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12738 * lyx_main.C (init): honor variables LYX_DIR_13x and
12741 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12745 * lyx_main.C: fix a crash on bad command line,
12746 and give a useful exit status on error
12748 * lyxfunc.C (doImport): allow -i lyx to work
12750 2002-03-30 André Pönitz <poenitz@gmx.net>
12752 * lyxfunc.C: mathed font changes
12754 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12769 * trans_mgr.h: srcdocs, and some minor cleanups
12771 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12773 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12774 call getFont all the time)
12776 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12778 * switch from SigC signals to boost::signals
12780 2002-05-29 André Pönitz <poenitz@gmx.net>
12782 * paragraph_pimpl.C (getChar): don't call size() too often...
12784 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12786 * paragraph_pimpl.C (insertChar): do not try to update tables when
12787 appending (pos == size())
12789 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12790 in order to reduce drastically the number of comparisons needed to
12791 parse a large document
12793 2002-05-29 André Pönitz <poenitz@gmx.net>
12799 * textclasslist.[Ch]:
12800 * sp_ispell.h: whitespace change
12802 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12804 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12805 lyxaction directly now.
12807 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12811 * lyxvc.C: remove unused headers
12813 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12820 * undo_funcs.C: some cleanups. Use shared_ptr
12821 and a template for the undo stacks.
12823 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12825 * BufferView_pimpl.h:
12826 * BufferView_pimpl.C:
12833 * text2.C: use key_state/mouse_state
12835 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12837 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12840 * chset.C: change include order
12841 (loadFile): use boost regex and get rid of LRegex and LSubstring
12843 * Makefile.am (BOOST_LIBS): new variable
12844 (lyx_LDADD): use it
12846 * LaTeX.C: change include order.
12847 (scanAuxFile): use boost regex and get rid of LRegex and
12851 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12856 * FontInfo.C: moved to frontends/xforms/
12859 * FontLoader.C: moved into frontends for GUIIzation
12864 * lyxfunc.C: changes from above
12866 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12868 * LColor.C: remove spurious X include
12870 * BufferView_pimpl.C:
12875 * text2.C: move font metrics to frontends/
12877 2002-05-24 Juergen Vigna <jug@sad.it>
12879 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12880 setting the undo_cursor.
12882 * ParagraphParameters.h: include local includes first.
12884 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12886 * BufferView_pimpl.C:
12887 * BufferView_pimpl.h:
12891 * screen.C: move WorkArea into frontends/
12897 * BufferView2.C: move LyXScreen into frontends/
12901 * lyx_gui.C: move lyxlookup into frontends/xforms/
12903 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12906 * BufferView_pimpl.C:
12916 * bufferview_funcs.C:
12929 * vc-backend.C: move LyX/XFormsView into frontends/
12931 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12943 * text2.C: move Painter to frontends/
12945 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12947 * buffer.C: comment out some some code that depend upon lyx_format
12950 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12951 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12953 * buffer.h (NO_COMPABILITY): turn off compability
12955 * ColorHandler.C: include scoped_array.hpp
12957 * font.C: Use more specific smart_ptr header.
12960 * ShareContainer.h: ditto
12961 * lyx_main.h: ditto
12963 * FontInfo.h: ditto
12964 * BufferView_pimpl.h: ditto
12965 * ColorHandler.h: ditto
12967 * kbmap.C (defkey): change call to shared_ptr::reset
12969 2002-05-21 Juergen Vigna <jug@sad.it>
12971 * buffer.C (insertErtContents): fix to insert ert asis if it is
12972 non empty. Skip it completely if it contains only whitespaces.
12974 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12976 * BufferView_pimpl.C:
12977 * BufferView2.C: clear selection on paste (bug 393)
12979 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12981 * DepTable.C: include ctime
12983 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12985 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12987 2002-05-14 Juergen Vigna <jug@sad.it>
12989 * text.C (breakParagraph): fixed function to honor the keepempty
12990 layout in the right maner and also to permit the right breaking
12991 algorithm on empty or non empyt keepempty paragraphs.
12993 * paragraph.C (breakParagraph): we have to check also if the par
12994 is really empty (!size()) for isempty otherwise we do the wrong
12997 2002-05-10 Juergen Vigna <jug@sad.it>
12999 * buffer.[Ch] : The following are only changes to the ert
13000 compatibility read reading old LaTeX layout and font stuff and
13001 convert it to ERTInsets.
13003 * buffer.h: added isErtInset().
13005 * buffer.C (struct ErtComp): add a fromlayout bool to check
13006 if we're inside a LaTeX layout.
13007 (isErtInset): new helper function.
13008 (insertErtContents): look for other ert insets before this one
13009 and insert the contents there, so that we don't have subsequent
13010 ERT insets with nothing between them. This way we create only one
13011 inset with multiple paragraphs. Also check if we don't insert only
13012 spaces ' ' as they are ignored anyway afterwards in the .tex file
13013 so if we have only spaces we will ignore this latex part in the
13015 (parseSingleLyXformat2Token \\layout): better compatibility when
13016 reading layout-latex stuff.
13017 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13019 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13020 stuff after reading the inset only get the information back from
13023 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13025 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13027 * LaTeXFeatures.C (getBabelOptions): New method.
13029 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13031 * BufferView_pimpl.C (Dispatch): work around missing argument for
13034 2002-05-08 Juergen Vigna <jug@sad.it>
13036 * text.C (leftMargin): handle paragraph leftindent.
13038 * paragraph.C (writeFile): write the new \\leftindent tag.
13039 (validate): handle leftindent code.
13040 (TeXEnvironment): handle paragraphleftindent code again.
13042 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13044 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13045 for paragrap_extra indent code and new token \\leftindent.
13046 (latexParagraphs): handle the leftindent as environment.
13048 * ParameterStruct.h: added leftindent support.
13050 * ParagraphParameters.C (leftIndent): added support functions for
13051 the paragraph left indent.
13053 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13056 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13058 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13061 * text.C (computeBidiTables): No bidi in insetERT.
13063 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13066 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * version.C.in: pre 5
13070 2002-05-02 José Matos <jamatos@fep.up.pt>
13071 * buffer.C (makeDocBookFile): white space changes, add newline to
13073 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13075 * tabular.C (docBook): fix typo.
13077 2002-05-03 Juergen Vigna <jug@sad.it>
13079 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13080 change in LyXText as we can not be sure it was not freed.
13081 (drawOneRow): remove unused code.
13083 * text.C (drawInset): redo the calculation of the need_break_row as
13084 it could have a row which was already freed.
13085 (draw): look at the return value of drawInset and return false if
13086 it also returned false.
13087 (paintRowText): look at the return value of draw and return false if
13088 it also returned false.
13090 * lyxtext.h: added bool return type to drawInset() and draw() so that
13091 if we have a change in the row so that the rowbreak has to be redone
13092 we abort drawing as it will be called again.
13094 2002-05-02 Juergen Vigna <jug@sad.it>
13096 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13097 a change in the maintext also if we're inside an inset.
13098 (Dispatch): set the cursor again after a break line and after the
13099 screen has been updated as it could be we're in a different row.
13101 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13102 to set the cursor behind the pargraph with > size().
13103 (setCursor): check also for the same paragraph when checking where
13104 to put the cursor if we have a NFR inset.
13106 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13107 parts of layout read further up as it still was in the wrong
13110 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13112 * screen.C (drawFromTo): change sine fullRebreak always return
13115 * buffer.C (parseSingleLyXformat2Token): reindent some
13117 * BufferView_pimpl.C (update): change since fullRebreak always
13119 (Dispatch): git rid of the last hardcoded "Standard"s.
13121 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13123 * text2.[Ch] (fullRebreak): make it return void now that we always
13126 2002-04-30 Juergen Vigna <jug@sad.it>
13128 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13129 ert compatibility check for "latex" layout.
13131 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13133 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13134 minipages: use col% instead of p%, and also use the current font.
13135 (makeLaTeXFile): Fix use babel condition.
13136 (parseSingleLyXformat2Token): Correct font when reading old floats.
13138 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13140 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13141 inserting list of floats.
13143 2002-04-25 Herbert Voss <voss@lyx.org>
13145 * MenuBackend.C (expand): don't add the graphics extensions to the
13148 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13150 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13151 non-existing layout, do not complain if it was the default layout
13152 of the original class (bug #342)
13154 2002-04-24 Juergen Vigna <jug@sad.it>
13156 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13157 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13159 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13161 * buffer.C (getBibkeyList): If using \bibliography, return the
13162 option field with the reference itself. Enables us to provide natbib
13163 support when using \bibliography.
13165 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13167 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13169 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13170 natbib is provided by the LaTeX class.
13172 2002-04-23 Juergen Vigna <jug@sad.it>
13174 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13177 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13179 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13181 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13183 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13184 ensuremath around textordmasculine, textordfeminine and
13187 2002-04-19 Juergen Vigna <jug@sad.it>
13189 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13190 reinitializing the buffer otherwise row-dimensions may be wrong.
13191 (update): reset also the selection cursors if they do exits otherwise
13192 their x/y positions may be wrong.
13194 * text2.C (cursorDown): don't enter the inset if we came from a row
13195 above and are one row over the inset.
13197 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13198 really leaving an inset.
13200 2002-04-18 Juergen Vigna <jug@sad.it>
13202 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13203 of the selected paragraph does not have the selected layout also if
13206 * text2.C (setLayout): fixed bug which did not change last selected
13209 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13210 changed the read and substituted \\end_float with \\end_inset!
13212 * BufferView_pimpl.C (cursorPrevious):
13213 (cursorNext): fixed to make it work with rows heigher than the work
13214 area without moving the cursor only the draw of the row.
13215 (workAreaMotionNotify): fix jumping over high rows.
13217 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13219 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13222 2002-04-16 Juergen Vigna <jug@sad.it>
13224 * text2.C (setCursor): set also the irow().
13225 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13227 (cursorDown): support for locking an inset if the x_fix value goes
13228 inside it. That way I can transverse insets too with cursor up/down.
13230 * lyxrow.h: added irow helper function same as other (i) functions.
13232 * BufferView_pimpl.C (cursorPrevious):
13233 (cursorNext): fixed for insets!
13235 2002-04-15 Juergen Vigna <jug@sad.it>
13237 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13238 position otherwise it is wrong in some cases.
13240 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13241 inside the inset before the call.
13243 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13245 * buffer.[Ch] (getBibkeyList): make it const.
13247 2002-04-12 Juergen Vigna <jug@sad.it>
13249 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13251 * text2.C (getCursorX): new helper function
13252 (setCursor): compute also ix_
13253 (setCursorFromCoordinates): set also ix.
13255 * lyxcursor.h: added ix_ and helper functions.
13257 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13259 * buffer.C (insertStringAsLines): dont break paragraph if the this
13260 paragraph is inside an inset which does not permit it!
13262 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13263 also with no chars on this paragraph.
13264 (paintRowText): only paint stuff if it's inside the workarea!
13266 * paragraph.C (breakParagraph): honor keepempty flag and break the
13267 paragraph always below not above.
13269 * BufferView2.C (unlockInset): update the paragraph layout on inset
13270 unlock as we changed paragraph in such a case.
13272 * lyxfind.C (LyXFind): clear the former selection if not found!
13274 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13275 again called in insertChar().
13277 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13278 an inset which uses the whole row!
13279 (rightMargin): ditto.
13280 (insertChar): force a rebreak if we inserted an inset!
13282 2002-03-28 Herbert Voss <voss@lyx.org>
13284 * lyxlength.[Ch]: add inBP() to get the right PS-point
13285 units (BigPoint). With inPixels we have rounding errors
13287 2002-04-11 Juergen Vigna <jug@sad.it>
13289 * text2.C (setCursorFromCoordinates): set iy to the right value.
13290 (setCursor): add check if row->previous exists!
13292 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13293 an old float_type as this was the case in the old code!
13295 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13297 * BufferView2.C (showLockedInsetCursor): use iy
13298 (fitLockedInsetCursor): ditto
13300 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13301 locked insets as there we have the right value now.
13303 * lyxcursor.C: added iy_ variable and iy functions to set to the
13304 baseline of cursor-y of the locked inset.
13306 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13307 (setCursor): fixed for insets which need a full row.
13309 * text.C (rowLastPrintable): don't ignore the last space when before
13310 an inset which needs a full row.
13311 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13312 as last character of a row when before a inset which needs a full row.
13314 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13316 * version.C.in: update date
13318 * text2.C (fullRebreak): try to always return true and see what
13321 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13323 * MenuBackend.C (expand): use Floating::listName
13325 * FloatList.C (FloatList): add listName argument to the built-in
13328 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13329 text associated with the float.
13331 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13333 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13335 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * ShareContainer.h: add a couple of missing typenames.
13339 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13341 * lyxrc.C (getDescription): use _() correctly rather than N_().
13343 2002-03-28 Herbert Voss <voss@lyx.org>
13345 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13346 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13348 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13350 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13351 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13353 2002-03-29 Juergen Vigna <jug@sad.it>
13355 * lyxfunc.C (dispatch): add a missing fitCursor call.
13357 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13358 it was scrolled by a cursor move, so return the bool status.
13360 * BufferView.C (fitCursor): return the bool flag also to the outside
13361 world as this is needed.
13363 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13365 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13366 call the edit() as it is not needed (and wrong) IMO.
13367 (workAreaButtonPress): set the screen_first variable before evt.
13368 unlock the inset as this may change screen_first and then we have
13369 a wrong y position for the click!
13371 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13373 * MenuBackend.C (expand): another translation that I missed
13375 2002-03-28 Juergen Vigna <jug@sad.it>
13377 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13379 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13381 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13383 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13385 * MenuBackend.C (expand): fix export/view/update when there is no
13388 2002-03-27 Herbert Voss <voss@lyx.org>
13390 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13393 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13395 * bufferview_funcs.C (currentState): only show paragraph number
13396 for is DEVEL_VERSION is set.
13398 * lyxfunc.C (dispatch): put warning in INFO channel
13400 * MenuBackend.C (expand): translate the name of floats
13402 * FloatList.C (FloatList): mark the float names for translation
13404 * converter.C (convert): use LibScriptSearch
13406 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13408 * MenuBackend.C (defaults): fix default menu (we might as well get
13411 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13413 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13416 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13418 * lyxvc.C: reorder includes.
13420 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13422 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13425 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13427 * CutAndPaste.C: change layouts earlier on paste
13428 to avoid crashing when calling getFont()
13430 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13432 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13435 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13437 * WorkArea.C: remove 'Pending' debug message.
13439 * most files: ws cleanup
13441 * buffer.[Ch]: ws changes
13443 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13445 2002-03-21 Juergen Vigna <jug@sad.it>
13447 * tabular.C (SetMultiColumn): collapse also the contents of the
13448 cells and set the last border right. Added a Buffer const * param.
13450 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13452 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13455 2002-03-19 Juergen Vigna <jug@sad.it>
13457 * text2.C (clearSelection): reset also xsel_cache.
13459 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13460 where it needs to be called (John tells us to do so too :)
13461 (selectionLost): reset sel_cache.
13463 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13465 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13467 * text2.C (setCursorIntern): put debuging code in INSETS channel
13469 2002-03-19 André Pönitz <poenitz@gmx.net>
13471 * lyxfunc.C: tiny whitespace change
13473 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13475 * ToolbarDefaults.C (init):
13476 * LyXAction.C (init):
13478 * BufferView_pimpl.C (Dispatch):
13479 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13481 2002-03-19 Allan Rae <rae@lyx.org>
13483 * exporter.C (Export): removeAutoInsets before doing anything else.
13484 While I've just introduced a dependency on BufferView this really is
13485 the best place to clean the buffer otherwise you need to cleanup in
13486 a dozen places before calling export or cleanup in a dozen functions
13489 * converter.C (runLaTeX):
13490 (scanLog): Better handling of removeAutoInsets and screen updates.
13492 * lyxfunc.C (dispatch): small whitespace changes
13494 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13496 * WorkArea.C (C_WorkAreaEvent): return a value.
13497 (event_cb): return 1 if we handled the event, 0 otherwise.
13499 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13501 2002-03-18 Juergen Vigna <jug@sad.it>
13503 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13504 (GetAdditionalWidth): ditto.
13505 (RightLine): ditto.
13508 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13509 inset if we're there actually (probably not used right now but this
13510 is the direction to go for unifying code).
13511 (paste): disable code to clear the selection.
13513 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13514 inside an InsetText and move the check further up as it is in the
13517 * text2.C (pasteSelection): set a selection over the pasted text.
13519 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13521 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13522 and libgraphics to build on Cygwin.
13524 2002-03-15 Juergen Vigna <jug@sad.it>
13526 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13527 inserting an Inset into the paragraph. I know this is not the best
13528 fix but we already use current_view in CutAndPaste so we will remove
13529 all of it's using at the same time.
13531 * buffer.C (sgmlError): deactivated function till it is rewritten in
13532 the right mode, now it can create problems.
13534 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13535 before accessing it.
13537 2002-03-14 Juergen Vigna <jug@sad.it>
13539 * undo_funcs.C (textHandleUndo): do the right thing when updating
13540 the inset after the undo/redo.
13542 * text2.C (setCursor): just some testcode for #44 not ready yet.
13544 * undo_funcs.C (textHandleUndo): set the next() and previous()
13545 pointers of the paragraph to 0 before deleting otherwise we have
13546 problems with the Paragraph::[destructor].
13548 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13549 on a paragraph insertion.
13551 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13553 * buffer.C (asciiParagraph): use += operator for char append to
13556 * paragraph.C (getFontSettings): compare >= not just >
13557 (highestFontInRange): ditto
13560 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13562 * paragraph.C: change several algorithm to be more appripriate for
13563 the problem domain. This is lookip in FontList and in the InsetList.
13565 2002-03-13 André Pönitz <poenitz@gmx.net>
13568 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13570 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13575 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13577 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13579 * Painter.C (display): anon helper function, adjust code for this
13581 (pixmap): remove function.
13583 * Painter.h: remove private display variable.
13585 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13587 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13589 * WorkArea.[Ch]: remove figinset_canvas cruft.
13591 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13593 * lyxtextclass.C (operator): add one item cache optimization.
13595 * bufferlist.h: doxy changes
13597 * bufferlist.C: ws changes
13599 * DepTable.[Ch] (ext_exist): place const in the right spot.
13601 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13603 (workAreaExpose): call resizeInsets when the with BufferView changes.
13604 (Dispatch): adjust for protectedBlank removal
13605 (specialChar): call updateInset if the insert went ok.
13607 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13608 specialChar instead.
13610 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13612 * BufferView.h: doxy change
13614 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13616 * lyxtextclass.C (operator[]): remove non-const version
13617 (defaultLayout): remove non-const version
13619 2002-03-12 Juergen Vigna <jug@sad.it>
13621 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13622 did resize the LyXText too.
13624 * buffer.C (readLyXformat2): set layout information on newly allocated
13627 * tabular.C (OldFormatRead): set layout information on the paragraph.
13629 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13631 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13633 2002-03-11 Juergen Vigna <jug@sad.it>
13635 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13637 (resizeCurrentBuffer): force also the insets to resize themselfes.
13638 (moveCursorUpdate): fixed up for InsetText.
13640 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13643 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13644 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13645 value of Dialogs::tooltipsEnabled().
13646 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13648 2002-03-08 Juergen Vigna <jug@sad.it>
13650 * BufferView_pimpl.C (updateInset): update inset inside inset also
13651 if it isn't inside theLockingInset().
13653 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13655 * buffer.C (asciiParagraph): redo some of the word and line length
13657 (getLists): look for Caption instead of caption.
13659 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13661 * buffer.C (Buffer): initialize niceFile to true
13663 (makeLinuxDocFile):
13664 (makeDocBookFile): make sure niceFile is true on exit
13666 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13668 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13670 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13672 * LyXSendto.C: remove.
13673 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13674 * lyx_gui.C: remove now-redundant comment.
13675 * ColorHandler.h: remove forward declaration of class WorkArea.
13676 * lyxfunc.C: remove #include "WorkArea.h".
13678 2002-03-07 Juergen Vigna <jug@sad.it>
13680 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13681 got moved away with the DEPM and also set the inset_owner always
13682 right which before could have been omitted.
13684 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13686 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13687 wanted layout is not found.
13689 2002-03-07 Juergen Vigna <jug@sad.it>
13691 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13693 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13695 * paragraph.C (breakParagraph): use default layout not layout of
13697 (Paragraph): clear ParagraphParameters.
13699 2002-03-06 Juergen Vigna <jug@sad.it>
13701 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13702 otherwise it would not be a valid lenght. Fixed a special case in
13703 the minipage compatibility read where we end the document with a
13706 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13707 was set as it could be 0 for InsetTexts first entry.
13709 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13711 * paragraph.C (writeFile): if layout is empty write out
13712 defaultLayoutName().
13714 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13715 file without named layout we set layout to defaultLayoutName().
13717 2002-03-06 Juergen Vigna <jug@sad.it>
13719 * CutAndPaste.C (copySelection): set layout for new paragraph.
13721 * text.C (prepareToPrint): leave ERT inset left aligned
13722 (leftMargin): don't indent paragraphs inside ERT insets
13724 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * paragraph.C (breakParagraph): dont call clear do the work manually
13728 * paragraph.[Ch] (clear): remove function
13730 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13732 * paragraph.C (Paragraph): dont call clear, the work has already
13735 * lyxtextclass.C (operator): assert if n is empty
13737 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13738 work manually instead.
13740 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13742 * BufferView_pimpl.C: protect selectionLost against text == 0
13744 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13746 * text.C (breakParagraph): fix a setting layout to '0' problem.
13748 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13750 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13751 final location of file, for the included files, and graphics.
13753 2002-03-05 Juergen Vigna <jug@sad.it>
13755 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13757 2002-03-04 Juergen Vigna <jug@sad.it>
13759 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13761 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13762 last column of multicolumn cells.
13763 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13765 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13767 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13768 file if it doesn't go to a temporary file.
13770 * buffer.C (sgmlOpenTag):
13771 (sgmlCloseTag): remove extra newline insertion.
13773 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13775 * text.C (getRowNearY): comment out debug msg
13777 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13779 * text2.C: first -> first_y
13781 * text.C (getRowNearY): add some attemts at a possible
13782 optimization, not working.
13784 * tabular.[Ch]: add BufferParams to several function so that newly
13785 created paragraph can be initialized to he default layotu for the
13788 * tabular-old.C (ReadOld): add buf->params to call of Init
13790 * screen.C: rename text->first to text->first_y
13792 * paragraph.C (breakParagraph): always set layout in the broken
13795 * lyxtextclass.C (Read): remove lowercase
13798 (delete_layout): ditto
13800 * lyxtext.h: rename first -> first_y
13802 * lyxlayout.C (Read): remove lowercase
13805 (obsoleted_by): ditto
13807 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13809 * buffer.C (insertErtContents): add params are to InsetERT
13810 (parseSingleLyXformat2Token): add code to check if a paragraphs
13811 layout really exist.
13812 (parseSingleLyXformat2Token): add params to several inset
13814 (asciiParagraph): remove lowercase, do the layout comparisons with
13817 * BufferView_pimpl.C (cursorNext): first -> first_y
13818 (resizeCurrentBuffer): first -> first_y
13819 (updateScrollbar): first -> first_y
13820 (scrollCB): first -> first_y
13821 (workAreaMotionNotify): first -> first_y
13822 (workAreaButtonPress): first -> first_y
13823 (checkInsetHit): first -> first_y
13824 (cursorPrevious): first -> first_y
13825 (cursorNext): first -> first_y
13826 (Dispatch): add buffer_->params to severl inset contructors
13828 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13830 * lyxlayout.C (Read): remove some debug info that I forgot.
13832 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13833 clean up the code slightly.
13834 (makeLinuxDocFile): ditto
13835 (makeDocBookFile): ditto
13837 * text2.C: layout as string
13839 * text.C: layout as string
13841 * paragraph_pimpl.C: layout as string
13843 * paragraph.[Ch]: layout as string
13845 * lyxtextclasslist.[Ch]: layout as string
13847 * lyxtextclass.[Ch]: layout as string
13849 * lyxtext.h: layout as string
13851 * lyxlayout.[Ch]: layout as string
13853 * lyx_cb.C: layout as string
13855 * bufferview_funcs.C: layout as string
13857 * bufferparams.C: layout as string
13859 * buffer.C: layout as string
13861 * LyXView.[Ch]: layout as string
13863 * LaTeXFeatures.[Ch]: layout as string
13865 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13867 * BufferView_pimpl.C: change current_layout to string, remove
13872 (workAreaButtonRelease): layout as string
13874 * BufferView2.C (unlockInset): adjust
13876 * vspace.C (asLatexCommand): use an explict temp variable.
13878 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13880 * Makefile.am: use FRONTEND_*
13882 2002-03-01 Juergen Vigna <jug@sad.it>
13884 * tabular.C (SetWidthOfMulticolCell): changed to something better
13885 I hope but still work in progress.
13886 (recalculateMulticolumnsOfColumn): renamed function from
13887 recalculateMulticolCells as it is more appropriate now.
13888 (SetWidthOfCell): calculate multicols better.
13890 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13892 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13894 * lyxfunc.C (processKeySym): print sequence also if it is
13895 `deleted' (complete)
13897 * kbsequence.C (print): print sequence even if it is deleted
13898 (complete would be a better word, actually).
13900 * lyxfunc.C (dispatch): print complete options after a prefix key
13902 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13904 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13906 * text2.C (setCharFont): eliminate setCharFont code duplication.
13908 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13910 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13911 LFUN_TABULAR_FEATURE (bug #177)
13913 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13915 * Makefile.am: remove figure.h
13917 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13919 * Bufferview_pimpl.C:
13931 * text2.C: remove #include "lyx_gui_misc.h".
13933 * LaTeX.C: added #include <cstdio>
13935 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13937 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13938 that the paragraph following this one can have.
13940 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13942 * vspace.C (asLatexCommand): fix bogus gcc warning
13944 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13946 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13948 * text2.C (setLayout): get rid of redundant code
13950 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13952 * text2.C (incDepth): make sure depth cannot be increased beyond
13955 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13957 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13958 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13960 * PainterBase.h (image):
13961 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13962 a LyXImage const *.
13964 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13968 * BufferView_pimpl.C:
13969 * BufferView_pimpl.h:
13989 * sp_spell.C: remove fig inset, and the crap house of
13990 cards that follows it
13992 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13997 * os2_errortable.h:
13998 * nt_defines.h: move .h into support/
14000 * vms_defines.h: remove
14002 * WorkArea.C: add space in debug output
14006 * buffer.C: add WITH_WARNINGS
14010 * bufferlist.C: s/retrive/retrieve/, add docs
14019 * chset.C: add docs
14021 * lyxgui.C: add ID to X error handler
14023 * lyxtestclass.c: fix typo
14025 2002-02-26 Juergen Vigna <jug@sad.it>
14027 * tabular_funcs.C (write_attribute): changed so that some default
14028 attributes are not written at all.
14029 (getTokenValue): set default values before trying to read the
14030 value so we have the return value always set as default if we don't
14031 find the token we search for.
14033 * tabular.C (Write): write bools as bools not as strings!
14035 2002-02-22 Juergen Vigna <jug@sad.it>
14037 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14038 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14040 * text.C (leftMargin): don't add an indent for paragraphs inside
14041 tabular cells (fix #208).
14043 2002-02-21 José Matos <jamatos@fep.up.pt>
14045 * tabular.C (docBook): fixed support for long tables.
14047 2002-02-20 Juergen Vigna <jug@sad.it>
14049 * text2.C (getFont): get the drawing font of the Inset if this
14050 paragraph is inside an inset (only important for InsetERT for now).
14052 * buffer.C (insertErtContents): use new lanugage params in ERT
14055 * CutAndPaste.C: commenting out seemingly uneeded code.
14057 2002-02-19 Allan Rae <rae@lyx.org>
14059 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14060 Iterators might be simple to use but they also get invalidated.
14061 (removeAutoInsets): renamed saved cursor tracking variables and added
14062 some comments to clarify what everything does.
14064 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14071 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14072 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14075 * vc-backend.h: remove #include "support/syscall.h"
14079 * converter.C: rearrange #includes in Lars' approved fashion.
14081 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14082 forward declare class Timeout in the header file.
14084 * XFormsView.C: changes due to the above.
14086 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14087 similar to LyXView.
14089 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14090 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14092 2002-02-18 José Matos <jamatos@fep.up.pt>
14094 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14097 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14099 * a lot of small ws changes
14100 * add a lot of using std::XXX
14101 * use std construcs some places where approp.
14102 * use some exisint stuff from lyxfunctional where approp.
14103 * Make file changes to use partial linking (lets test this now...)
14105 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14109 remove #include "support/syscontr.h" as it's redundant. Always has been.
14117 change Systemcalls::System to Systemcalls::Wait and
14118 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14119 No change of functionality, just reflects the stripped down Systemcalls
14122 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14124 * debug.[Ch]: add a GRAPHICS type to the enum.
14126 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14128 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14130 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14133 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14135 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14136 match the changes below.
14138 * text2.C (toggleInset): if there is not editable inset at cursor
14139 position, try to see if cursor is _inside_ a collapsable inset
14142 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14144 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14145 document menu has a nice checkbox
14147 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14149 * lyxlength.C (asLatexString): change PW to output as percent of
14152 * lengthcommon.C: change '%' to 't%'
14154 * lyxfunc.C (dispatch): a few comments from Martin
14156 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14160 * BufferView_pimpl.h:
14161 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14164 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14166 * vspace.C (inPixels): fix compiler warning
14168 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14170 * lyxfunc.C (getStatus): fix status message for disabled commands.
14172 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14174 * BufferView_pimpl.C: fix crash on close buffer
14175 during selection (#227)
14177 2002-01-27 Herbert Voss <voss@lyx.org>
14179 * buffer.C: link old Figure to new graphic inset
14181 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14183 * FontLoader.C (getFontinfo): Change the latex font names in order
14184 to match the names of type1inst.
14186 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14188 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14190 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14191 (extchanged): ditto
14193 (remove_files_with_extension): ditto
14194 (remove_file): ditto
14197 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14198 document is smaller than the work area height. Do not initialize
14199 static variables to 0.
14201 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14203 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14205 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14206 LFUN_LAYOUT_PARAGRAPHS.
14208 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14209 tabular. It is possible to provide a possible cell, which will
14210 typically be the actcell from the corresponding insettabular
14212 * lyxfunc.C (getStatus): small cleanup; disable
14213 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14216 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14218 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14220 * paragraph.C (startTeXParParams):
14221 (endTeXParParams): new methods. The LaTeX code to
14222 start/end paragraph formatting
14223 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14224 empty (fixes bug #200)
14226 * vspace.C (inPixels): adapt to the change below
14227 (inPixels): [later] more cleanups (remove unused variables)
14229 * lyxlength.C (inPixels): change to use a width and a height as
14232 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14234 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14235 Replaced with \paperwidth
14237 * DepTable.C (insert): add std:: qualifier
14239 2002-01-18 Allan Rae <rae@lyx.org>
14241 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14244 * text.C (drawInset): Turned out I didn't know enough about how
14245 rebreaking worked. This fixes most of the redraw problems. I see
14246 an occasional cursor trail when a line is broken now and the cursor
14247 placement can seem out by a few pixels also after a rebreak.
14249 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14251 * buffer.C (parseSingleLyXformat2Token): update because minipage
14252 width is now a LyXLength
14254 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14256 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14259 2002-01-17 Juergen Vigna <jug@sad.it>
14261 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14263 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14264 is set correctly and the inset is updated correctly.
14266 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14268 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14269 the beginning of the loop.
14271 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14273 * lyxrc.C: improve help for use_scalable_fonts
14275 2002-01-17 Allan Rae <rae@lyx.org>
14277 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14279 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14281 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14282 make sure to set their inset_owner to the right value (bug #171)
14284 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14287 * DepTable.C: Implement mtime checking to reduce time spent doing
14290 2002-01-16 Juergen Vigna <jug@sad.it>
14292 * tabular.C (GetAdditionalHeight): one of error fixed.
14294 * lyxrc.C (output): small fix in writing use_pspell.
14296 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14298 * sp_base.h: #include LString.h
14300 2002-01-16 Allan Rae <rae@lyx.org>
14302 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14303 Can someone check this please?
14305 * text.C (drawInset): It was possible that p.row would be removed by
14306 breakAgainOneRow upsetting a few other settings. There may be another
14307 small tweak possible by setting need_break_row = 0 when p.row has been
14308 removed but I don't know enough about the logic here.
14310 2002-01-15 Allan Rae <rae@lyx.org>
14312 * text.C (insertChar): removed conditional truism.
14314 * BufferView2.C (removeAutoInsets): More tweaks.
14315 cur_par_prev could be a stray pointer. Check for trailing empty line
14316 in case last line was cur_par and only had an error inset on it.
14318 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14320 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14323 * vc-backend.C (most methods):
14324 * exporter.C (Export):
14325 * converter.C (convert):
14327 * LyXSendto.C (SendtoApplyCB):
14328 * lyxfunc.C (dispatch):
14332 * lyx_cb.C (AutoSave):
14334 * BufferView_pimpl.C (MenuInsertLyXFile):
14335 * buffer.C (runChktex): use Buffer::filePath().
14337 * buffer.h: rename filename to filename_; rename filepath to
14338 filepath_ and make it private
14339 (filePath): new method
14341 * buffer.C (writeFile): use fileName()
14344 * lyx_main.C (init): fix starting of LyX when the binary is a
14345 link from so,ewhere else.
14347 * minibuffer.C: include <cctype> for isprint
14349 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14351 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14352 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14353 name clash with InsetCollapsable's width function.
14355 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14357 * lastfiles.C: include <iterator>
14359 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14361 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14364 * buffer.C (makeLaTeXFile): ditto.
14365 Also make loop operation more transparent.
14367 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14369 * ToolbarDefaults.C: remove trailing comma closing namespace.
14371 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14373 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14376 * trans.C (Load): comment out unused variable, allowed.
14378 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14380 * minibuffer.[Ch] (append_char): new method to recieve input from the
14381 drop-down completion browser. If a key was pressed, then recieve this
14382 char and append it to the existing string.
14383 (peek_event): modify the positioning data passed to the completion
14384 browser so that it can be placed above the minibuffer rather than below.
14385 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14387 * LyXAction.C (init): alloe error-next for readonly documents.
14389 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14392 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14394 * bufferlist.C (readFile): create the buffer _after_ checking that
14397 * lyxfunc.C (verboseDispatch): fix handling of arguments
14399 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14401 * lyxrc.C: use string::erase() instead of initializing to "".
14404 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14406 * BufferView_pimpl.h:
14407 * BufferView_pimpl.C:
14410 * text2.C: tell X when we have made a selection for copying
14412 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14414 * BufferView_pimpl.C (MenuInsertLyXFile):
14415 * lyxfunc.C (menuNew):
14417 (doImport): add shortcuts to directory buttons
14419 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14422 * lyxfunc.C (setStatusMessage):
14423 (getStatusMessage): new methods
14424 (getStatus):use setStatusMessage instead of setErrorMessage
14425 (dispatch): when function is disabled, set error message here
14426 [instead of in getStatus previously]
14428 * BufferView_pimpl.C (workAreaButtonRelease): update
14429 toolbar/menubar here too.
14431 2002-01-13 Allan Rae <rae@lyx.org>
14433 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14434 Now seems indestructible. Remaining task is to audit all other
14435 code affected by deleteEmptyParagraphMechanism. One small quirk
14436 left is that an empty document with an error in the preamble can
14437 be made to report an error but no error box appears. I don't know
14439 (removeAutoInsets): Improved comments.
14441 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14444 * Thesaurus.C: update for Aiksaurus 0.14
14446 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14448 * text2.C (firstParagraph): removed member function, all uses
14449 replaces with ownerParagraph
14450 (redoParagraphs): here
14451 (updateInset): here
14452 (toggleAppendix): here
14453 * BufferView2.C (insertErrors): here
14454 (setCursorFromRow): here
14456 2002-01-13 Allan Rae <rae@lyx.org>
14458 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14459 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14460 There is still a way to segfault this although you may have to do this
14461 multiple times: Have an InsetERT with an unknown command in it.
14462 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14463 <down-arrow>, <Enter> again, View->DVI, BANG!
14465 * text2.C (setCursor):
14466 (deleteEmptyParagraphMechanism):
14467 * lyxtext.h (setCursor):
14468 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14469 Making use of the return value may help fix other bugs.
14471 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14473 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14475 * LyXView.C (updateMenubar): call MenuBar::update here
14476 (updateToolbar): but not here
14477 (showState): do not update toolbar/menubar
14479 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14480 should need to care about that.
14482 * lyxfunc.C (verboseDispatch): simplify a bit
14483 (getStatus): have a version which takes a pseudoaction, and
14484 another which requires a (kb_action,string).
14486 * LyXAction.C (retrieveActionArg): make it work also when action
14487 is not a pseudo-action.
14488 (getActionName): simplify a bit
14491 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14493 * lyxfunc.C (verboseDispatch): new families of methods with
14494 several ways to specify a command and a bool to indicate whether
14495 the command name and shortcut should be displayed in minibuffer
14496 (eventually, we could extend that to a finer bitmask like
14497 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14498 (dispatch): the pristine dispatch command which just, well,
14499 dispatchs! Note it still sets its result to minibuffer; I'm not
14502 * lyxfunc.h: remove setHintMessage
14504 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14506 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14508 * BufferView_pimpl.C (specialChar): delete new inset if we have
14509 not been able to insert it.
14511 * kbmap.C: revert to using int instead of kb_action, since all we
14512 are dealing with is pseudo-actions.
14514 * LyXAction.C (searchActionArg): change to return int instead of
14515 kb_action, since the result is a pseudoaction.
14517 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14519 * buffer.C (insertErtContents): Fix (partially) the font bug.
14521 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14523 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14524 as the other one is broken on my machine!
14526 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14529 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14531 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14533 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14534 reflect their actual use. Provide compatibility code for older lyxrc
14537 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14539 change names of popup font variables in line with the changes to lyxrc.C
14541 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14543 * buffer.C (asciiParagraph): avoid outputing a word twice after
14546 * lyxrc.C (getDescription): document that document_path and
14547 template_path can be empty.
14549 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14551 * LaTeXFeatures.C (getMacros):
14552 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14554 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14556 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14558 (getPackages): rename feature "floats" to "float". Use an array to
14559 iterate over 'simple' features (i.e. just a \usepackage). Add
14560 handling of "amsmath" (renamed from "amsstyle").
14562 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14564 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14567 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14569 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14570 FuncStaus::FuncStatus & FuncStaus::some_method().
14572 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14574 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14575 of the func_satus stuff. Edited and massaged in various ways by
14578 * lyxfunc.C (getStatus): use FuncStatus
14580 2002-01-08 Juergen Vigna <jug@sad.it>
14582 * text.C (nextBreakPoint): use function Inset::isChar().
14584 * paragraph.C (TeXOnePar): use function
14585 Inset::forceDefaultParagraphs.
14587 * buffer.C (latexParagraphs): use function
14588 Inset::forceDefaultParagraphs.
14590 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14592 * lyx_gui.C (init): set the style of the menu popups to
14593 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14595 2002-01-07 Juergen Vigna <jug@sad.it>
14597 * text.C (setHeightOfRow): small fix
14598 (prepareToPrint): don't look at alignment if we don't have the place
14601 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14603 * box.C: New file. Move the Box methods and functions out of box.h,
14604 following Lars' suggestion.
14606 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14608 * box.h: #include "support/LOstream.h", needed for inlined function.
14611 * lyxtextclasslist.C: added some using std declarations.
14613 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14615 * box.h: make signed dimensions to allow insets wider than
14616 the screen (bug #162)
14618 * BufferView_pimpl.C: add some insetHit debug
14620 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14622 * vc-backend.C: add FIXME
14624 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14626 * lyxfunc.C (getStatus): enable code for showing math font status
14629 2002-01-07 Juergen Vigna <jug@sad.it>
14631 * text.C (nextBreakPoint): removed debug output not needed anymore.
14633 2002-01-06 Juergen Vigna <jug@sad.it>
14635 * text.C (nextBreakPoint): fixed up this function we had this bug
14636 since ever but now hopefully we break row better.
14637 (insertChar): we have to check if an inset is the next char as it
14638 could now happen that a large inset is causing a break.
14640 2002-01-05 Juergen Vigna <jug@sad.it>
14642 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14643 if it doesn't like to be drawed.
14645 2002-01-04 Juergen Vigna <jug@sad.it>
14647 * BufferView2.C (lockInset): forgot to set a cursor.
14649 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14651 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14653 * FormMathsPanel.C:
14656 * form_maths_panel.C:
14657 * form_maths_panel.h:
14658 * form_maths_panel.fd: implemented sub- and super- buttons in math
14661 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14662 (or ^ space) to be used as in TeX (req'd by Andr�.
14664 * lyxfunc.C: Allow ^ and _ again to be used both as
14665 super/subscript (mathed) and as themselves (in text).
14667 2002-01-03 Allan Rae <rae@lyx.org>
14669 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14670 "LyX" or the filename of the current buffer if it has one. This is a
14671 modified form of John Levon's patch.
14673 * XFormsView.C (setWindowTitle): also set icon title.
14675 * LyXView.h (setWindowTitle): signature changed.
14676 * XFormsView.h (setWindowTitle): ditto.
14678 2002-01-02 Juergen Vigna <jug@sad.it>
14680 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14682 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14684 * screen.C (topCursorVisible): introduce a temp var for
14685 text->cursor.row(), handle the case where this row is null. (kindo
14688 * text2.C (setCursor): add a couple of asserts.
14690 * paragraph.h (inset_iterator): add -> operator
14692 * paragraph.[Ch] (autoDeleteInsets): remove member function
14694 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14695 cursor pos correctly and handle inset deletion by itself.
14696 (insertErrors): move iterator declaration out of for expression
14698 * lyxtextclass.C: add <algorithm>
14700 * Makefile.am: added the new files to sources, removed layout.C
14702 * layout.C: removed file
14704 * layout.h: remove LYX_DUMMY_LAYOUT
14706 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14710 * lyxtextclass.[Ch]:
14711 * lyxtextclasslist.[Ch]: new files
14713 * include order changes to a lot of files, also changes because of
14716 2001-12-27 Juergen Vigna <jug@sad.it>
14718 * buffer.C (asciiParagraph): more fixes.
14720 * tabular.C (ascii): make ascii export support export of only the
14721 data separated by a column-delimiter.
14722 (ascii): better support for ascii export.
14724 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14726 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14728 * tabular_funcs.C: use a "using std::getline" instead of the
14729 previous fix from Angus (necessary for cxx + lyxstring)
14731 2001-12-24 Juergen Vigna <jug@sad.it>
14733 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14735 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14736 problems. First check a minipage also if we have some ert-contents
14737 (not only on par->size(), second set the right depth of the paragraph
14738 on the relink to the root-paragraph-list!
14740 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14741 which then did not anymore update the main paragraphs on undo/redo!
14743 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14745 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14746 code. Support all font-changing funcs (even those which are not in
14747 menu currently). Support for reporting font settings in
14748 mathed (disabled until Andre provides a function on mathed's side).
14750 * func_status.h (toggle): small helper function to set toggle
14753 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14755 * tabular_funcs.C: getline -> std::getline
14757 2001-12-21 Juergen Vigna <jug@sad.it>
14759 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14760 accessed and could be 0 (I couldn't generate this but it seems
14763 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14765 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14766 * tabular_funcs.h: here and include iosfwd
14768 2001-12-20 Juergen Vigna <jug@sad.it>
14770 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14771 inside inset but undo_par was.
14773 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14775 * Thesaurus.C: always include <config.h> in sources.
14779 * box.h: do not include <config.h> in header files
14781 * text.C (paintLastRow): remove unused variable
14783 * text.C (transformChar):
14785 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14787 * Painter.C (text):
14788 * font.C (width): rewrite to use uppercase() instead of
14791 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14793 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14795 * lyxfind.C: clean up of find failure position change
14797 2001-12-20 Juergen Vigna <jug@sad.it>
14799 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14801 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14802 (TeXRow): added to LaTeX a single tabular row.
14803 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14804 (Latex): simplified and finally good LT-h/f support.
14805 (various_functions): just small adaptions for LT-h/f support.
14807 * tabular_funcs.[hC]: added and moved here all not classfunctions
14810 2001-12-19 Juergen Vigna <jug@sad.it>
14812 * tabular.[Ch]: better support for longtabular options (not finished
14815 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14817 * text.C (paintLastRow): use the label font instead of the font of
14818 the last character to compute the size of *_BOX. This makes more
14819 sense and avoids a crash with empty paragraphs.
14820 Use Painter::rectangle to draw EMPTY_BOX.
14822 2001-12-19 Juergen Vigna <jug@sad.it>
14824 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14825 the paragraphs if the replaced paragraph is not the first one!
14826 Tried to delete not used paragraphs but does not work yet so for
14827 now it's inside #ifdef's and by default off!
14829 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14831 * MenuBackend.C: include "lyx_main.h" instead of declaring
14832 lastfiles (actually was declared as LastFiles* instead of a
14835 2001-12-17 Juergen Vigna <jug@sad.it>
14837 * tabular.C (AppendColumn): applied John's fix
14839 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14843 * BufferView_pimpl.h:
14844 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14847 * box.h: new start of class for above
14849 * lyxfunc.C: ignore space-only minibuffer dispatches.
14850 Show the command name when it doesn't exist
14852 * minibuffer.C: don't add empty lines to the history
14854 * minibuffer.C: add a space on dropdown completion
14856 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14858 * text.C: fix line above/below drawing in insets
14860 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14862 * lyxlength.C (LyXLength): Initialize private variables.
14864 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14866 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14867 when inserting error insets.
14869 2001-12-13 Juergen Vigna <jug@sad.it>
14871 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14872 actually sometimes the before-paragraph.
14873 (setUndo): don't clear the redostack if we're not actually undoing!
14875 2001-12-06 Juergen Vigna <jug@sad.it>
14877 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14878 and fixed redoing of main paragraph, so we can use it now ;)
14880 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14882 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14884 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14887 2001-12-13 André Pönitz <poenitz@gmx.net>
14890 * undo_func.C: minor cleanup
14892 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14894 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14895 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14896 font in urw-fonts package which is marked as -urw-fontspecific and
14897 does not work (incidentally, changing the encoding in the
14898 fonts.dir of this package to -adobe-fontspecific fixes the
14901 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14902 is a crash when undoing first paragraph (Juergen, please take a
14903 look). THis does not mean the undo fix is wrong, just that it
14906 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14907 the (Paragraph*) version when needed instead of duplicating the
14910 * text.C (workWidth): use Inset::parOwner to find out where the
14911 inset has been inserted. This is a huge performance gain for large
14912 documents with lots of insets. If Inset::parOwner is not set, fall
14913 back on the brute force method
14915 * paragraph_pimpl.C (insertInset):
14916 * paragraph.C (Paragraph):
14917 (cutIntoMinibuffer): set parOwner of insets when
14918 inserting/removing them
14920 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14922 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14928 * mathed/formulabase.C:
14929 * mathed/math_cursor.[Ch]:
14930 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14933 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14935 * lyxlength.[Ch] (operator!=): new function
14937 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14939 * text.C (workWidth): use Inset::parOwner to find out where the
14940 inset has been inserted. This is a huge performance gain for large
14941 documents with lots of insets. If Inset::parOwner is not set, fall
14942 back on the brute force method
14944 * paragraph_pimpl.C (insertInset):
14945 * paragraph.C (Paragraph):
14946 (cutIntoMinibuffer): set parOwner of insets when
14947 inserting/removing them
14949 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14951 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14953 * tabular-old.C (getTokenValue):
14954 * tabular.C (getTokenValue):
14955 (write_attribute): new versions for LyXLength
14956 (everywhere): adjust the use of widths
14958 * tabular.h: change the type of widths from string to LyXLength
14960 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14962 * paragraph.C: fixed missing line number count when exporting
14963 Environments to LaTeX file
14965 * buffer.C: added informational message for checking line numbers.
14967 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14969 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14970 paragraph, do the 'double space' part, but not the 'empty
14973 * text.C (workWidth): small optimization
14974 (getLengthMarkerHeight): use minimal size for negative lengths.
14976 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14978 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14980 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14982 2001-12-11 André Pönitz <poenitz@gmx.net>
14985 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14987 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14989 * text2.C: keep selection on a setFont()
14991 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14993 * lyx_cb.C: another bv->text misuse, from insert label
14995 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14998 * kbsequence.C: re-instate nmodifier mask
15000 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15002 * lyx_main.h: make lyxGUI private.
15004 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15006 * lyxfind.C: place the cursor correctly on failed search
15008 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15010 * text.C (getLengthMarkerHeight): for small heights, the arrows
15011 are not always on top/bottom of the text
15012 (drawLengthMarker): smaller arrows; take the left margin in
15013 account; draw also vfills.
15015 (paintLastRow): remove special code for vfill and standard spaces,
15016 since everything is handled in drawLengthMarker now.
15018 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15020 * buffer.C (insertErtContents): try to handle font and language
15021 interaction a bit better.g
15023 * ColorHandler.C (updateColor): change the hash to cover the whole
15024 LColor enum, ws cleanup
15025 (getGCLinepars): ditto
15026 (getGCLinepars): only lookup in the linecache once.
15028 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15030 * iterators.C (operator++): Make the iterator more robust
15032 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15034 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15036 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15039 * text.C: better added space drawing
15041 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15044 * BufferView2.C: fix layout combo update on inset unlock
15046 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15048 * Makefile.am: don't compile unused files
15050 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15054 * LyXAction.C: remove old LFUN_LAYOUTNO
15056 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15058 * paragraph_pimpl.h:
15059 * paragraph_pimpl.C: isTextAt() doesn't need font param
15061 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15064 * lyxlex.C: little cleanup
15066 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15068 * BufferView_pimpl.C: fix insertAscii for insets
15070 2001-12-05 Juergen Vigna <jug@sad.it>
15072 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15073 set the right font on the "multi" paragraph paste!
15075 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15081 * lyxlength.C: remove out-commented code.
15083 * BufferView_pimpl:
15097 * vc-backend.C: change "while(" to "while ("
15099 * lyxlength.[Ch]: add zero function to check if length is zero or
15101 * lyxgluelength.C: use it
15103 2001-12-05 Allan Rae <rae@lyx.org>
15105 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15106 Works for 2.95.3, from what I understand of Garst's reports this should
15107 work for other g++ versions. We're screwed if the abs(int) definition
15108 changed between bugfix releases of gcc.
15110 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15112 * text.C: fix chapter label offset !
15114 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15117 * text.C: fix hfill at end of line, clean up
15119 2001-12-04 Juergen Vigna <jug@sad.it>
15121 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15122 that we force an update of the inset and it's owners if neccessary.
15124 2001-12-03 Juergen Vigna <jug@sad.it>
15126 * text.C (rowLast): simplified code
15128 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15130 * lyxfunc.C: fix show options on timeout
15132 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15134 * screen.C (topCursorVisible): scroll half a page when the cursor
15135 reached top of bottom of screen
15137 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15139 * minibuffer.C: deactivate on loss of focus
15141 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15143 * vspace.[Ch] (operator!=): add operator.
15145 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15147 * BufferView_pimpl.C: refuse to open an inset when
15148 there's a selection.
15150 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15152 * BufferView_pimpl.C: allow to click on RHS of full row insets
15154 2001-11-30 Juergen Vigna <jug@sad.it>
15156 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15157 insets for undo reasons.
15159 2001-11-28 André Pönitz <poenitz@gmx.net>
15161 * vspace.[Ch]: cosmetical changes
15163 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15173 * kbsequence.C: part re-write of old kb code
15176 * WorkArea.C: remove Lgb_bug_find_hack
15178 2001-11-30 José Matos <jamatos@fep.up.pt>
15180 * buffer.C (makeDocBookFile): add a comment to point a hack.
15181 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15182 Fixed a double write of labels.
15184 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15187 * LaTeX.h Fixed bug in LaTeX class where it would not
15188 re-run latex if no depfiles were changed, but the .dvi was removed.
15190 2001-11-28 André Pönitz <poenitz@gmx.net>
15192 * all the files from the change on 2001/11/26:
15193 use lyx::layout_type instead of LyXTextClass::size_type
15194 use lyx::textclass_type instead of LyXTextClassList::size_type
15196 2001-11-29 Juergen Vigna <jug@sad.it>
15198 * text.C: added support for paragraph::isFreeSpacing()
15200 * buffer.C: same as above
15202 * paragraph.h: inserted isFreeSpacing() function to enable
15203 FreeSpacing inside InsetERT.
15205 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15206 of the paragraph's in the cut/copy buffer to 0!
15208 * text2.C (removeRow): remove the assert as it can!
15210 * lyxtext.h: added helper function firstRow returning firstrow and
15211 made firstrow private again.
15213 * BufferView2.C (lockInset): don't relock if we're already locked!
15215 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15216 the only paragraph.
15217 (removeRow): added Assert::(firstrow)
15219 * debug.C: forgot to add INSETTEXT here.
15221 2001-11-28 Juergen Vigna <jug@sad.it>
15223 * sp_spell.C (initialize): changed error text to more general
15224 spellchecker command use (not only ispell!)
15226 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15228 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15230 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15232 * vspace.C: initialise lyxgluelength on failure
15234 2001-11-28 Allan Rae <rae@lyx.org>
15236 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15237 declaration & definition that looks like a function declaration.
15239 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15241 * BufferView2.C (copy):
15242 (copyEnvironment): do not clear the selection when doing a copy.
15244 * text.C (paintFirstRow): compilation fix
15246 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15248 * tabular.C (Latex): correct line count when writing latex.
15250 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15252 * paragraph_pimpl.h:
15253 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15256 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15260 * LColor.C: change vfillline->added_space
15262 * text.C: add markers and text for added space
15264 * vspace.C: fix comment
15266 2001-11-28 André Pönitz <poenitz@gmx.net>
15268 * paragraph.C: whitespace changes
15269 * all the other files from the change on 2001/11/26:
15270 change *::pos_type into lyx::pos_type
15272 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15274 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15275 language of the document when inserting error insets.
15277 2001-11-26 André Pönitz <poenitz@gmx.net>
15279 * BufferView_pimpl.[Ch]:
15287 * paragraph_pimpl.[Ch]:
15290 * text2.C: reduce header dependencies, introduce type for positions
15292 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15294 * <various>: change to use Alert.h
15296 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15298 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15299 when encountering an unknown token.
15300 (readLyXformat2): Show an error message if there were unknown tokens.
15302 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15305 * BufferView_pimpl.C:
15309 * text2.C: use par->isInset()
15311 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15313 * paragraph_pimpl.h:
15314 * paragraph_pimpl.C: cleanup
15316 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15318 * text2.C (removeRow):
15319 * text.C (setHeightOfRow): remove useless (and costly) call to
15322 2001-11-20 Allan Rae <rae@lyx.org>
15324 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15325 Now need Inset*::checkInsertChar() to return true for appropriate
15326 cases so that the characters in the minibuffer will actually be
15329 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15331 * text.C: change the order of the includes.
15332 (workWidth): initialize it at once.
15333 (workWidth): make maxw unsigned
15334 (setHeightOfRow): remove unused variable (inset)
15335 (selectSelectedWord): remove unused variable (inset)
15336 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15338 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15340 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15341 server is not running.
15343 (closeConnection): add debug info when server is disabled.
15345 * ColorHandler.C (getGCForeground): send debug message to GUI
15348 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15350 * kbmap.C (bind): modify because return conventions of
15351 kb_sequence::parse have changed.
15353 * kbsequence.C (parse): only ignore spaces and not any stupid
15354 control character. This avoids tests like s[i] <= ' ', which are
15355 guaranteed to fail with 8bit characters and signed chars.
15356 Change return code to string::npos when there have been no error
15357 (0 was a bad idea when error is at first character)
15359 2001-11-14 José Matos <jamatos@fep.up.pt>
15362 * buffer.C (simpleDocBookOnePar): removed unused argument.
15364 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15366 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15367 insets which are part of a word. Paragraph::isLetter takes care of
15368 that now. Use Paragraph::isInset to identify insets.
15369 (selectSelectedWord): do not test for hyphenation break.
15371 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15372 that protected spaces are considered as spaces.
15374 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15377 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15380 * lyxserver.C: fix it. and small cleanup.
15382 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15384 * BufferView_pimpl.C: use inline helpers
15387 * LaTeXFeatures.C: fix typos
15390 * Spacing.C: move spacing_string into class
15392 * ToolbarDefaults.C: move stuff into namespace anon
15394 * layout.h: update enum
15396 * lyxfunc.C: use better debug
15398 * minibuffer.h: fix typo
15402 * WorkArea.C: add and use Debug::WORKAREA
15406 * text2.C: code re-organisation, inline helpers
15408 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15410 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15411 std::vector.empty().
15413 2001-11-09 Allan Rae <rae@lyx.org>
15415 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15416 '\n's after tables. Tabular and ERT inset work now makes this no
15419 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15422 * minibuffer.C: fix crash, improve drop-down completion
15424 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15427 * lyxserver.C: invalidate fd's when doing endPipe()
15429 2001-11-08 José Matos <jamatos@fep.up.pt>
15431 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15432 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15435 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15437 2001-11-07 José Matos <jamatos@fep.up.pt>
15440 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15443 * buffer.C (sgmlOpenTag):
15444 * buffer.C (sgmlCloseTag): removed debug info.
15446 * buffer.h (sgmlOpenTag):
15447 * buffer.h (sgmlCloseTag): made public.
15449 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15451 * buffer.C (saveParamsAsDefaults):
15452 * lyx_cb.C (MenuLayoutSave): remove
15454 * LyXAction.C (init):
15456 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15458 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15460 * buffer.C (setPaperStuff): removed from here...
15462 * bufferparams.C (setPaperStuff): ... and moved there.
15464 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15468 * XFormsView.C: add support for drop-down completion
15470 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15472 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15475 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15477 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15480 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15482 * lyx_main.C: change ref to known bugs
15484 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15486 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15487 to work around older babel problems.
15489 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15491 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15493 2001-10-24 Juergen Vigna <jug@sad.it>
15495 * tabular-old.C (ReadOld): below variable changes reflected.
15497 * tabular.[Ch]: added ltType struct for longtable header/footer
15498 defines and changed all instances where they are used. Added
15499 future support for double top/bottom rows.
15501 2001-10-24 José Matos <jamatos@fep.up.pt>
15503 * buffer.h (docbookHandleCaption):
15504 * buffer.C (docbookHandleCaption): removed unused function.
15505 (makeDocBookFile): moved docbook supported version to v4.1.
15507 2001-10-24 José Matos <jamatos@fep.up.pt>
15510 * tabular.C (docbookRow): new function to export docbook code of a row.
15511 (DocBook): now honors the longtable flags.
15513 2001-10-23 José Matos <jamatos@fep.up.pt>
15516 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15517 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15519 * buffer.C (makeLinuxDocFile):
15520 (makeDocBookFile): reworked the preamble, more clean, and with
15521 support for lyx defined entities. Changed the document declaration
15522 to be more XML friendly.
15524 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15525 if we need to output XML that should be done with a filter.
15527 2001-10-22 Juergen Vigna <jug@sad.it>
15529 * sp_pspell.h (class PSpell): add alive function needed in the
15530 controller to see if the spellchecker could be started.
15532 2001-10-22 Juergen Vigna <jug@sad.it>
15534 * buffer.C (insertStringAsLines): modify the font for inserting
15535 chars in certain conditions by calling checkInsertChar(font).
15537 2001-10-19 Juergen Vigna <jug@sad.it>
15539 * text.C (workWidth): use getRow instead of wrong algorithm.
15540 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15542 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15547 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15549 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15551 * text.C (workWidth): do not search for the exact row when
15552 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15553 optimization for big documents.
15555 2001-10-18 Juergen Vigna <jug@sad.it>
15557 * text.C (workWidth): new function with added Inset * parameter.
15559 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15561 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15563 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15564 change return type of getColumnNearX.
15567 * text.C (changeRegionCase): use uppercase/lowercase instead of
15570 (rightMargin): simplify code by factoring out the uses of
15575 (appendParagraph): use Paragraph::size_type
15577 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15579 * vspace.C (asLatexString): add a missing break
15581 2001-10-15 Herbert Voss <voss@perce.de>
15583 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15585 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15587 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15590 2001-10-10 André Pönitz <poenitz@gmx.net>
15592 * lyxfunc.C: removed greek_kb_flag.
15594 2001-10-10 Herbert Voss <voss@perce.de>
15596 * lyx_main.C: delete global string help_lyxdir.
15598 2001-10-09 Herbert Voss <voss@perce.de>
15600 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15602 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15604 * lyx_main.C: added global string help_lyxdir.
15606 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15608 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15610 * lyxrc.C (set_font_norm_type): support iso8859-4
15612 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15614 * LaTeX.C (deplog): add another regex for MikTeX
15616 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15618 * lyxrc.C (set_font_norm_type): support iso8859-3
15620 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15622 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15624 * LaTeXFeatures.C: remove special case of french and index
15626 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15627 before \begin{document}). This solves several incompatibilities.
15629 2001-10-03 Garst Reese <reese@isn.net>
15631 * lyx_cb.C: change CheckTex error msg.
15633 2001-10-03 José Matos <jamatos@fep.up.pt>
15635 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15637 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15639 * .cvsignore: update
15641 * lyx_main.C (commandLineVersionInfo): use new style version info.
15643 * buffer.C (writeFile):
15645 (makeLinuxDocFile):
15646 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15648 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15650 * version.h: update to use stuff in version.C
15652 * version.C.in: new file. Contains version information determined
15653 at compile time. This is a merging of version.h and
15656 2001-10-03 Juergen Vigna <jug@sad.it>
15658 * BufferView_pimpl.C (update): don't change "dirty" status in
15661 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15663 * WorkArea.C (c-tor): re-position version string slightly.
15665 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15667 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15668 revert to previous code.
15670 WorkArea.[Ch]: (show, destroySplash): methods removed.
15672 WorkArea.C: rework code so that it's an amalgam of the codes before and
15673 after the splash screen was moved to WorkArea.
15675 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15678 * vspace.C (inPixels):
15681 * buffer.C (insertStringAsLines):
15682 (asciiParagraph): fix types to be large enough
15684 * lyxlex_pimpl.h: change member status from short to int
15686 * layout.h: fix type of endlabeltype
15689 * kbsequence.C (parse): change return type to string::size_type
15691 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15694 * Bullet.C (bulletSize):
15695 (bulletEntry): do not use short ints as parameters
15697 * BufferView2.C (insertLyXFile): change a char to an int.
15699 * WorkArea.C (WorkArea): remove unneeded floats in computation
15701 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15703 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15705 * paragraph.C (asString): Do not ignore newline/hfill chars when
15706 copying to the clipboard.
15708 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15710 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15711 after a multi-line inset.
15713 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15715 * paragraph.C (validate): Set NeedLyXFootnoteCode
15717 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15719 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15720 and decrease-error to decrease.
15722 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15724 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15725 it more readable (should be equivalent)
15727 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15729 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15731 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15733 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15734 of a cursor (row, etc.) after a character has been deleted
15735 (deleteEmptyParagraphMechanism): call the method above on _all_
15736 cursors held by the LyXText when a double space has been
15739 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15741 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15743 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15745 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15746 background. Use greyOut() and the new show() methods to toggle between
15747 the foreground and background. Add code to remove the splash after
15748 its initial showing.
15750 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15751 (create_forms): no longer call Dialogs::showSplash.
15753 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15755 * .cvsignore: add version_info.h
15757 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15759 * version_info.h.in: new file
15761 * Makefile.am: add version_info.h.in
15763 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15764 version_info.h instead of VERSION_INFO
15766 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15768 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15769 The ERT inset now returns string().
15771 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15773 * lyxtext.h, text.C (selectNextWord): renamed as
15774 selectNextWordToSpellcheck.
15776 * text.C (selectNextWordToSpellcheck): Modified to not select
15777 words inside an ERT inset.
15779 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15781 * lyx_cb.C (MenuLayoutSave): change a bit the question
15783 * sp_base.h: include <sys/types.h>
15785 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15787 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15789 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15791 * several files: fix typos in user-visible strings
15793 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15795 * text2.C (pasteSelection): do not set the selection, since it
15796 will be cleared later. Actually, the intent was to fix the way the
15797 selection was set, but I figured rmoving the code was just as good.
15799 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15801 * FontLoader.C (available): Check if font is available without
15804 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15806 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15808 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15810 * lyxrc.[Ch]: added display_graphics variable and associated code.
15812 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15814 * bufferparams.C (hasClassDefaults): new method. Returns true if
15815 the buffer parameters correspond to known class defaults
15817 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15819 * XFormsView.C (show): set minimum size to the main window.
15821 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15823 * text2.C (copySelection):
15825 * lyxfind.C (LyXReplace):
15826 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15827 LyXText::selectionAsString.
15829 * paragraph.C (asString): add "label" argument to the second form
15831 * text2.C (selectionAsString): add "label" argument and pass it to
15832 Paragraph::asString.
15834 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15836 * lyx_main.C (commandLineHelp): remove version information
15838 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15840 * lyx_main.C: add -version commandline option
15842 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15844 * paragraph.h: make the optional constructor arg required instead.
15845 some modifications to other files because of this.
15847 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15849 * lyxserver.C (C_LyXComm_callback): make it static
15851 * lyx_main.C (error_handler): make it static
15853 * lyx_gui.C (LyX_XErrHandler): make it static
15855 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15857 * WorkArea.C: make the extern "C" methods static.
15859 * Makefile.am (lyx_LDADD): simplify
15861 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15863 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15864 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15866 * LyXAction.C (init):
15867 * lyxfunc.C (dispatch): associated code removal.
15869 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15871 * lyxfont.h (isSymbolFont): shut off warning
15873 * text.C (setHeightOfRow):
15874 (getVisibleRow): fix crash with empty paragraphs which have a
15877 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15879 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15882 2001-09-04 José Matos <jamatos@fep.up.pt>
15885 * tabular.C (docbook): rename docBook method to docbook.
15887 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15889 * Makefile.am: add dependencies to main.o.
15891 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15893 * FontLoader.C (available): Return false if !lyxrc.use_gui
15895 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15897 * FontInfo.C (query):
15898 * converter.C (view):
15899 * importer.C (Import):
15900 * exporter.C (Export): Can not -> cannot.
15902 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15904 * BufferView_pimpl.C: allow to create index inset even if
15907 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15909 * buffer.C (getLists): replace boost::tie code with an explicit pair
15910 as boost::tie can break some compilers.
15912 * iterators.h: Added a std:: declaration to the return type of
15915 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15917 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15920 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15922 * iterators.[Ch]: New files. Provide paragraph iterators.
15924 * buffer.C (changeLanguage): Use paragraph iterators.
15925 (isMultiLingual): ditto
15927 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15929 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15931 * FontLoader.C: Support for cmr font.
15933 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15935 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15936 (available): New method.
15938 * FontInfo.C (getFontname): Use scalable fonts even when
15939 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15942 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15944 * converter.C (Formats::view): reverted! Incorrect fix.
15946 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15948 * converter.C (Formats::view): only output the -paper option
15949 if the dvi viewer is xdvi, thereby fixing bug #233429.
15951 2001-08-23 Herbert Voss <voss@perce>
15953 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15955 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15957 * Spacing.h (Spacing): Set space to Default on in the default
15960 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15962 * vc-backend.h (RCS::versionString): add RCS to version
15963 (CVS::versionString): add CVS to version
15965 * vc-backend.C (scanMaster): do not add CVS to version.
15966 (scanMaster): do not add RCS to version
15968 * lyxvc.C (versionString): new method
15970 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15972 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15974 * Spacing.C (set): initialize fval
15976 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15978 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15981 2001-08-16 Juergen Vigna <jug@sad.it>
15983 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15985 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15987 * BufferView_pimpl.C:
15990 * text2.C: setParagraph takes linespacing now
15992 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15994 * LyxAction.C: add internal LFUN_CITATION_INSERT
15996 * LyXView.C: actually apply fix
15998 * bufferlist.C: fix open non-existent file
16000 * lyxfind.C: fix indentation
16002 * lyxfunc.C: remove unneeded assert, fix typo
16004 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16006 * MenuBackend.C: use "Floatname List"
16008 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16010 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16011 when converting LaTeX layout to insetERT.
16012 Generate a non-collapsed float when reading old float
16014 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16016 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16019 2001-08-13 Juergen Vigna <jug@sad.it>
16021 * text.C (fill): return 0 instead of 20 as this seems to be the more
16024 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16026 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16029 2001-08-13 Juergen Vigna <jug@sad.it>
16031 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16033 (SearchBackward): comment out the unlocking of the inset_owner this
16034 should not be needed!
16036 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16038 * Many files: Remove inherit_language, and add latex_language
16040 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16041 collapsible insets.
16043 2001-08-10 Juergen Vigna <jug@sad.it>
16045 * text.C (prepareToPrint): fixed hfill-width in draw!
16047 * BufferView2.C (selectLastWord): save the selection cursor as this
16048 now is cleared in the function LyXText::clearSelection!
16050 2001-08-08 Juergen Vigna <jug@sad.it>
16052 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16053 BACKSPACE type functions.
16055 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16056 is only cutted from the document but not put in the cut-buffer, where
16057 still the old stuff should be.
16059 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16061 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16063 * tabular.C (SetWidthOfCell): fixed special case where the width
16065 (LeftLine): handle '|' in align_special.
16067 (LeftAlreadyDrawed): ditto
16068 (SetWidthOfCell): ditto
16070 2001-08-07 Juergen Vigna <jug@sad.it>
16072 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16074 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16076 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16077 * lyxlex.[hC]: ditto
16079 2001-08-06 Juergen Vigna <jug@sad.it>
16081 * text.C (getVisibleRow): fix up row clearing a bit.
16083 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16085 * minibuffer.C: make sure the X server sees the changes in the input.
16087 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16089 * paragraph.C (getFont): split into...
16090 (getLabelFont): this
16091 (getLayoutFont): and this
16092 * paragraph_pimpl.C (realizeFont): calling this
16094 * text2.C (getFont): split into...
16095 (getLayoutFont): this
16096 (getLabelFont): and this
16097 (realizeFont): all three calling this
16099 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16102 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16104 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16106 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16108 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16109 layouts from the Quote inset insertion.
16111 2001-08-03 Juergen Vigna <jug@sad.it>
16113 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16115 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16116 only if status not is already CHANGED_IN_DRAW (second level).
16118 * text.C (draw): don't set the need_break_row when inside an
16121 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16123 * buffer.C (parseSingleLyXformat2Token): handle more latex
16126 * bufferview_funcs.[hC]: change function names to
16127 begin with small char, adjust other files.
16129 2001-08-02 André Pönitz <poenitz@gmx.net>
16132 BufferView_pimpl.C: remove broken special code for math-greek
16134 2001-08-02 Juergen Vigna <jug@sad.it>
16136 * BufferView_pimpl.C (update): redone this function so that we
16137 update the text again if there was a CHANGE_IN_DRAW.
16139 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16140 (drawFromTo): added a new internal bool which is used by draw() and
16142 (general): some cursor drawing problems fixed.
16144 2001-08-01 Juergen Vigna <jug@sad.it>
16146 * lyxfind.C (LyXFind): fixed
16147 (SearchForward): ditto
16148 (SearchBackward): ditto
16150 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16151 spurius drawing of the cursor in the main area.
16153 * text2.C (status): small fix which could lead to a segfault!
16154 (clearSelection): remove unneeded BufferView param.
16156 2001-08-01 André Pönitz <poenitz@gmx.net>
16158 * lyxfunc.C: small change due to changed mathed interface
16160 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16162 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16164 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16166 * lyxfunc.c: fail gracefully if file doesn't exist
16171 * BufferView_pimpl.C: IsDirWriteable() proto changed
16173 * LyXView.C: fix updateWindowTitle() to store the last title
16175 2001-07-31 Juergen Vigna <jug@sad.it>
16177 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16178 the font (wrong since using of Paragraph::highestFontInRange).
16180 * paragraph.C (highestFontInRange): added a default_size parameter.
16182 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16183 (setHeightOfRow): reformat
16185 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16187 * converter.[hC] + affected files: move to (inital-char)lowercase
16190 * ParagraphParameters.C (ParagraphParameters): remove commented code
16192 * PainterBase.[Ch]: remove commented code
16194 * LaTeXFeatures.h: add "bool floats" for float.sty
16196 * LaTeXFeatures.C (LaTeXFeatures): init floats
16197 (require): handle float
16198 (getPackages): do it with floats
16200 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16202 * BufferView_pimpl.C (Dispatch): improve handling of
16203 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16205 * commandtags.h: #include lyxfont.h here temporarily to avoid
16208 * bufferlist.h: include LString.h here.
16210 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16212 * text2.C (getStringToIndex): new method.
16214 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16216 * *: Reduced header file dependencies all over.
16218 2001-07-30 Baruch Even <baruch@lyx.org>
16220 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16222 2001-07-29 Baruch Even <baruch@lyx.org>
16224 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16226 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16228 * ParameterStruct.h (endif): add a default constructor to make
16229 sure that all variables is initialized.
16231 * ParagraphParameters.C (ParagraphParameters): adjust
16233 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16235 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16236 index; also, check that there is something to index, and that it
16237 does not span over several paragraphs.
16238 (doubleClick): use WHOLE_WORD_STRICT for double click.
16240 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16242 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16245 2001-07-26 Baruch Even <baruch@lyx.org>
16247 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16248 an InsetFig figure, backwards compatible reading of old figure code.
16250 2001-07-27 Juergen Vigna <jug@sad.it>
16252 * text2.C: font.realize function adaption.
16254 * text.C (draw): add a warnings lyxerr text if needed.
16256 * layout.C: font.realize function adaption.
16258 * language.C: add inherit_language and implement it's handlings
16260 * bufferview_funcs.C (StyleReset): remove language parameter from
16261 font creation (should be language_inherit now).
16263 * bufferparams.C (writeFile): handle ignore_language.
16265 * paragraph.C (getFontSettings): the language has to be resolved
16266 otherwise we have problems in LyXFont!
16268 * lyxfont.C (lyxWriteChanges): added document_language parameter
16269 (update): removed unneeded language parameter
16271 * paragraph.C (validate): fixed wrong output of color-package when
16272 using interface colors for certain fonts in certain environments,
16273 which should not seen as that on the final output.
16275 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16277 * BufferView_pimpl.C:
16282 * LyXAction.C: add thesaurus support
16285 * lyxfind.C: add "once" parameter, for thesaurus, to not
16286 move to the next match
16288 2001-07-26 Juergen Vigna <jug@sad.it>
16290 * lyxfont.C (realize): honor ignore_language too!
16293 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16295 * text.C (draw): one place more for ignore_language to not draw
16298 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16300 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16302 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16304 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16305 the minipage conversion problem.
16307 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16309 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16312 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16314 * BufferView.h: don't forward declare WorkArea
16316 * BufferView.C: don't include WorkArea.h
16318 2001-07-25 André Pönitz <poenitz@gmx.net>
16322 * lyxfunc.C: new LFUN 'math-space'
16324 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16326 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16328 * text2.C (toggleInset): call open/close
16330 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16332 * lyxfunc.C (dispatch): add debug for the disabled case
16334 * font.C (buttonText): make similar to rectText
16336 * buffer.C (readInset): comment out parsing of insetlist and
16339 * PainterBase.C (rectText): small correction
16341 * BufferView_pimpl.C: comment out insettheorem and insetlist
16342 * LyXAction.C: ditto
16343 * commandtags.h: ditto
16345 2001-07-24 Juergen Vigna <jug@sad.it>
16347 * text.C (draw): honor the ignore_language.
16349 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16351 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16353 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16356 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16358 * lyxtext.h: remove unused (and unimplemented) methods
16360 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16362 * text.C (getVisibleRow): honor background color
16365 * Painter.h: remove default color argument for fillRectangle
16367 * text.C (backgroundColor): new method
16369 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16371 * text.C (getVisibleRow): adjust
16373 * font.[Ch] (rectText): new method, metrics
16374 (buttonText): new method, metrics
16376 * PainterBase.[hC]: make rectText and buttonText always draw and take
16379 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16381 * ToolbarDefaults.C (read):
16382 * MenuBackend.C (read): allow escaping in all strings
16384 * BufferView_pimpl.C (insertAndEditInset): new method.
16385 (Dispatch): use insertAndEditInset whenever appropriate.
16387 * BufferView_pimpl.C (insertNote): removed
16389 * BufferView_pimpl.C (smartQuote): new method, moved from
16390 BufferView; if an insetquote cannot be inserted, insert a '"'
16393 * BufferView2.C: remove insertCorrectQuote();
16395 * lyxfunc.C (getStatus): Add support for all remaingin
16396 inset-insert lfuns.
16398 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16400 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16401 command (necessary to pass " as parameter of self-insert.
16403 * text.C (selectWordWhenUnderCursor):
16404 (selectWord): add word_location parameter
16405 (selectWordWhenUnderCursor): same + remove special code for word
16407 (selectNextWord): use kind() to guess type of insetspecialchar,
16410 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16411 (insertErtContents): create ert insets as collapsed.
16412 (readInset): better compatibility code for Info inset.
16414 2001-07-20 Juergen Vigna <jug@sad.it>
16416 * lyxfunc.C (dispatch): use always LyXFind now!
16418 * text2.C (init): add a reinit flag so that the LyXText can be
16419 reinited instead of deleted and reallocated (used in InsetText).
16421 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16427 2001-07-18 Juergen Vigna <jug@sad.it>
16429 * text.C (selectNextWord): handle insets inside inset by calling
16430 always the bv->text functions so that we can go up the_locking_inset!
16432 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16433 in strange locations when inside an inset!
16435 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16436 handling to include insets.
16438 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16440 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16442 * LyXAction.C (init):
16444 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16445 LIGATURE_BREAK, since the name is so stupid.
16447 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16449 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16452 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16454 * sp_form.[Ch]: remove.
16456 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16458 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16461 * src/buffer.C (readInset): ditto.
16463 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16465 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16466 menuSeparator(), endOfSentenceDot(), ldots() and
16467 hyphenationPoint(), which are therefore removed.
16468 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16470 * LyXAction.C (init):
16471 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16473 * paragraph.C (getWord): removed.
16475 * BufferView_pimpl.C (Dispatch): use last word or selection for
16476 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16478 * lyx_main.C (queryUserLyXDir): do not ask before creating
16479 user_dir, except if it has been named explicitely.
16481 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16483 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16484 a document of zero size.
16486 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16488 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16489 approriately in the c-tor and in require().
16490 (getPackages): output the appropriate LaTeX for natbib support.
16492 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16493 variables "use_natbib" and "use_numerical_citations" when reading the
16495 (readInset): read the various natbib cite commands.
16496 (validate): white-space change.
16498 * bufferparams.[Ch]: new variables "bool use_natbib" and
16499 "bool use_numerical_citations".
16500 (writeFile): output them in the LyX file.
16502 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16504 * lyxfunc.C (getStatus): add support for all the inset insertion
16507 * text2.C (insertInset):
16508 * paragraph.C (insetAllowed):
16509 * BufferView_pimpl.C (insertInset): update to take in account the
16510 renaming of insertInsetAllowed
16512 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16514 * text2.C (getInset): new method. returns inset at cursor position.
16516 * BufferView_pimpl.C (Dispatch): changes because of this.
16518 * LyXAction.C (init): rename open-stuff to inset-toggle.
16520 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16522 * text2.C (toggleInset): renamed from openStuff; use
16525 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16527 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16529 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16531 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16533 * buffer.C (readLyXformat2): Add filename to the error dialog
16535 2001-07-18 Juergen Vigna <jug@sad.it>
16537 * tabular.C (GetCellNumber): put an assert here instead of the check!
16539 2001-07-17 Juergen Vigna <jug@sad.it>
16541 * BufferView_pimpl.C (toggleSelection): adapted too.
16543 * text.C (selectNextWord): adapted for use with insets.
16544 (selectSelectedWord): ditto
16546 2001-07-17 Juergen Vigna <jug@sad.it>
16548 * sp_spell.C (PSpell): fix initialitation order.
16550 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16552 * paragraph.C: spacing
16554 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16556 * sp_spell.C: repair language selection for pspell
16558 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16560 * lyxfunc.h: change more methods to begin with lower char.
16562 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16564 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16565 for unknown layouts.
16567 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16569 * buffer.C (readLyXformat2): Generate an error dialog if there are
16572 2001-07-16 Juergen Vigna <jug@sad.it>
16574 * sp_spell.C: always compile ISpell part.
16576 * lyxrc.C: added use_pspell entry and it's handling.
16578 2001-07-13 Juergen Vigna <jug@sad.it>
16580 * sp_spell.C: removed double includes.
16582 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16584 Consistent use of Lsstream.h:
16585 * Lsstream.h: added using std::stringstream for consistencies sake.
16587 * buffer.C: removed using std::stringstream
16589 * lyxfont.C (stateText):
16590 * paragraph.C (asString):
16591 * text.C (selectNextWord, selectSelectedWord):
16592 * text2.C (setCounter):
16593 * vspace.C (asString, asLatexString):
16594 std::ostringstream -> ostringstream.
16596 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16598 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16599 * commandtags.h: add LFUN_HELP_ABOUTLYX
16600 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16602 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16604 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16606 * lyx_gui_misc.C: remove spellchecker
16607 * lyxfunc.C: showSpellchecker
16609 * sp_ispell.h: added
16610 * sp_pspell.h: added
16611 * sp_spell.C: added
16612 * sp_form.[Ch]: removed
16613 * spellchecker.[Ch]: removed
16615 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16617 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16619 (simpleTeXSpecialChars): Simply print the input character without
16620 any special translation if pass_thru is set.
16622 * layout.h: Added bool pass_thru to layout class for being able to
16623 implement pass through of a paragraph for Literate Programming.
16625 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16626 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16627 * layout.C (Read): add "passthru" to list of layout tags and add
16628 code to set the pass_thru boolean when it is read.
16630 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16632 * trans_decl.h: remove allowed from KmodInfo
16634 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16635 remove allowed code
16638 * paragraph_pimpl.C (erase): use boost::prior
16640 * Painter.C (text): use data() instead of c_str() when length is
16642 * WorkArea.C (putClipboard): ditto
16643 * font.h (width): ditto
16645 * BufferView2.C: use it-> instead of (*it). for iterators
16647 * paragraph_pimpl.C: ditto
16648 * paragraph.C: ditto
16649 * minibuffer.C: ditto
16650 * language.C: ditto
16652 * encoding.C: ditto
16653 * counters.C: ditto
16654 * converter.C: ditto
16656 * Variables.C: ditto
16657 * TextCache.C: ditto
16658 * MenuBackend.C: ditto
16659 * LyXAction.C: ditto
16661 * FloatList.C: ditto
16662 * DepTable.C: ditto
16663 * ColorHandler.C (LyXColorHandler): ditto
16665 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16667 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16669 * text2.C (openStuff): reintroduce this method (which had been
16670 nuked in NEW_INSETS frenzy).
16672 * lyxfunc.C (Dispatch): when an action has not been handled, use
16673 its name in the error message, not its number.
16675 * paragraph.C (inInset): change method name to begin with lowercase.
16678 * text2.C: updates because of this.
16680 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16682 * ToolbarDefaults.C (add): add spaces in error message
16684 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16686 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16687 (readLyXformat2): rename return_par to first_par, use lyxlex's
16688 pushToken and remove the manual push handling.
16689 (parseSingleLyXformat2Token): add another ert comp. variable:
16690 in_tabular, rename return_par to first_par. handle newlines better
16692 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16694 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16696 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16698 * text2.C (getParFromID): removed
16700 * buffer.C (getParFromID): new method moved form lyxtext.
16701 * BufferView2.C (insertErrors): adjust
16702 (setCursorFromRow): adjust
16703 * BufferView_pimpl.C (restorePosition): adjust
16704 * lyxfunc.C (Dispatch): adjust
16705 * undo_funcs.C (textUndo): adjust
16707 (textHandleUndo): adjust
16708 (textHandleUndo): adjust
16710 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16712 * buffer.C: up' the LYX_FORMAT
16714 * lyxfont.h: turn NO_LATEX on as default
16716 * buffer.C (insertErtContents): new methods of tex style compability.
16717 (parseSingleLyXformat2Token): use it several places.
16718 * tabular.C (OldFormatRead): and here
16720 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16722 * text2.C: remove some commented code.
16725 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16726 * trans.C: changes because of the above.
16728 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16730 * text2.C (setCounter): Fix counters bug with bibliography layout.
16732 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16734 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16735 own member functions
16736 (simpleTeXSpecialChars): ditto
16738 2001-07-06 Juergen Vigna <jug@sad.it>
16740 * a lot of files: changed the access to LyXText::status and the
16741 call of undo-functions.
16743 * undo.[Ch]: added a inset_id to the undo informations.
16745 * undo_funcs.[Ch]: added and moved here all undo functions.
16747 * lyxtext.h: give the status enum a weight, made status_ a private
16748 variable and made accessor functions for it, removed the whole bunch
16749 of undo-functions as they are now in their own file, make some
16750 functions publically available. Added function ownerParagraph with
16753 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16754 made InInset() a const function, added getParFromID() function.
16756 * buffer.[Ch]: added const version for inset_iterator functions,
16757 added getInsetFromID() function.
16759 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16760 changed undo functions for new version.
16762 2001-07-05 Juergen Vigna <jug@sad.it>
16764 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16765 unknow mechanism does not call the proper constructor but only this
16766 one also if I request the other!?
16768 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16770 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16772 * text2.C (LyXText): use initialization lists.
16774 * lyxtext.h (Selection): initialize set_ and mark_
16775 (init): remove method
16777 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16779 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16781 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16783 * screen.[Ch]: change method names to begin with lowercase
16785 * BufferView_pimpl.C (updateScrollbar): simplify further and
16786 hopefully make it a bit faster.
16788 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16790 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16791 calling directly xforms functions.
16793 * Painter.C (Painter):
16794 * lyx_cb.C (MenuWrite):
16795 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16798 * lyx_gui.C: remove bogus guiruntime extern declaration.
16800 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16802 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16804 (redoDrawingOfParagraph): ditto
16805 (redoParagraphs): ditto
16806 (cutSelection): don't create a object for CutAndPaste use the
16807 static method directly
16808 (pasteSelection): ditto
16810 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16813 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16815 * modifications to some other files because of this.
16817 * Makefile.am (lyx_SOURCES): add XFormsView
16819 * XFormsView.[Ch]: new files
16821 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16822 the main window. Move the gui dependent stuff to XFormsView
16824 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16826 * tabular.C (GetCellInset): update cur_cell also in the row/col
16827 version of this function.
16829 * lyxfunc.C: no need to include figure_form.h here.
16835 * lyxvc.C: no need to include forms.h here.
16837 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16839 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16841 * lyxfunc.C (Dispatch):
16843 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16844 constructor argument.
16846 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16848 * paragraph.C (Paragraph): dont't clear, and just set layout.
16849 (makeSameLayout): use params's copy contructor.
16851 * ParagraphParameters.[Ch] (makeSame): delete method
16853 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16855 * Variables.[Ch]: fix indentation, rename set to isSet
16857 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16859 * lyxfunc.C (Dispatch): fix typo
16861 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16863 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16866 * bufferlist.C: include assert.h for emergencyWrite().
16868 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16870 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16871 give up at last (bug #425202) !
16873 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16879 * spellchecker.C: strip spellchecker options and bring up
16880 preferences tab instead
16882 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16884 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16885 the istringstream constructor
16887 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16889 * paragraph.C (getLayout): fix return value
16891 * paragraph.h: do not declare getLayout as inline.
16893 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16895 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16897 * lyxcursor.h (operator<): new func
16898 (operator>): new func
16899 (operator>=): new func
16900 (operator<=): new func
16902 * text.C (changeCase): use selection.start and selection.end
16903 (changeRegionCase): require from to be <= to. Require par to be a
16906 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16908 2001-06-27 Juergen Vigna <jug@sad.it>
16910 * text.C (cursorLeftOneWord): changed to return the cursor and added
16911 overlay with BufferView * parameter which calls this one.
16913 (selectWord): use new getWord function.
16914 (changeCase): renamed from changeWordCase as and extended to work
16915 also on selections.
16917 * lyxtext.h: added enum word_location
16919 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16920 changeCase as this operates now also on selections.
16922 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16924 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16926 * many files: send debug output to Debug::INFO instead of
16929 * converter.C (View):
16931 (Move): send debug output to Debug::FILES instead of console.
16933 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16935 * lyxfunc.C (getStatus): use func_status
16937 * func_status.h: new header, describing the results of
16938 LyXFunc::getStatus;
16940 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16943 2001-06-25 The LyX Project <jug@sad.it>
16945 * buffer.C (sgmlOpenTag):
16947 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16949 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16951 * text2.C: remove some dead code
16953 * tabular.C (GetCellInset): store the last cell checked (gotten)
16955 * tabular.h: add the helper for the speedup
16957 * lyxtext.h: remove some dead code
16959 2001-06-26 The LyX Project <Asger>
16961 * paragraph.C: Change export to LaTeX of alignment to
16962 \begin{center} and family for better roundtrip work with reLyX.
16964 * Tune the math drawing a bit.
16966 2001-06-25 The LyX Project <Asger>
16968 * LColor.C (LColor): New color for math background. New color
16971 2001-06-25 The LyX Project <jug@sad.it>
16973 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16975 * lyxfunc.C (Open):
16976 * bufferlist.C (newFile): do not restrict to files ending with
16979 * BufferView_pimpl.C (MenuInsertLyXFile):
16981 2001-06-24 The LyX Project <jug@sad.it>
16983 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16986 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16988 * lyxtext.h: rename most methods to begin with a small char.
16989 Lots of changes because of this.
16991 * paragraph.C (Paragraph): do not call fitToSize
16992 (erase): call Pimpl::erase
16993 (insertChar): call Pimpl::insertChar
16994 (insertInset): call Pipl::insertInset
16995 (breakParagraph): do not call fitToSize
16996 (breakParagraphConservative): do not call fitToSize
16997 (fitToSize): remove method
16999 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17001 2001-06-24 The LyX Project <Asger>
17003 * Fix Qt compilation^2
17005 2001-06-24 The LyX Project <jug@sad.it>
17007 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17008 depthHook(getDepth()-1).
17011 * ParagraphParameters.h:
17012 * ParameterStruct.h: change type of depth to unsigned int ==
17013 depth_type. Many adaptations to other files before of that.
17015 2001-06-24 The LyX Project <Asger>
17017 * Fix Qt compilation.
17019 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17021 * paragraph.h: renamed several methods to begin with small letter.
17022 several changes to many parts of the code because of this.
17024 2001-06-23 The LyX Project <jug@sad.it>
17026 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17027 rewritten to discard all double spaces when KeepEmpty is off
17028 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17029 to only handle newlines but not fiddle with spaces and friends.
17031 * lyxfunc.C (MenuNew): when doing 'new from template', use
17032 template_path as default directory
17034 2001-06-23 The LyX Project <Asger>
17036 * Clean-up of header file includes all over
17037 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17039 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17041 * paragraph.h: renamed from lyxparagraph.h
17043 2001-06-23 Asger <lyx@violet.home.sad.it>
17045 * Buffer.h: Removed Buffer::resize
17046 * BufferList.h: Removed BufferList::resize
17047 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17048 the document lazily when we change the width, or the font settings.
17050 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17052 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17054 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17056 * buffer.h: remove out of date comment
17058 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17061 * screen.C: fix "theoretical" GC leak
17063 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17065 * LaTeX.C (scanAuxFile):
17066 (deplog): remove trailing \r when reading stream (useful under
17069 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17071 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17072 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17073 and BufferView::theLockingInset(Inset*), so should use them and not
17074 access bv_->text->the_locking_inset directly.
17076 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17078 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17081 * tex-defs.h: remove old unused file
17083 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17085 * BufferView_pimpl.C: fix typo, remove minibuffer message
17086 when buffer has loaded
17088 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17090 * lyxfunc.C (Dispatch): use stringstream
17091 (MenuNew): use stringstream
17092 (Open): use stringstream
17094 * importer.C (Import): use stringstream
17096 * bufferview_funcs.C (CurrentState): use stringstream
17098 * LaTeX.C (run): use stringstream
17100 * BufferView_pimpl.C (savePosition): use stringstream
17101 (restorePosition): use stringstream
17102 (MenuInsertLyXFile): use stringstream
17104 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17117 * vspace.C: removed // -*- C++ -*- as first line.
17120 * version.h: added // -*- C++ -*- as first line.
17122 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17124 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17126 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17129 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17131 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17134 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17136 * gettext.C: include LString.h even when --disable-nls is on.
17138 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17140 * converter.h (Get): changed argument type from int to
17141 FormatList::size_type to avoid unnecessary conversion.
17143 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17146 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17148 * gettext.h: include LString.h even when --disable-nls is on.
17150 2001-06-07 Juergen Vigna <jug@sad.it>
17152 * text.C (BreakAgain): subst spaces with tabs.
17154 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17155 (resizeInsetsLyXText): set force on resizeLyXText.
17157 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17159 * gettext.h (gettext_init):
17160 (locale_init): use a real definition instead of a macro
17162 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17164 * Bufferview_pimpl.C:
17166 * LColor.C: further lcolor tidies
17168 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17170 * BufferView_pimpl.C (updateScrollbar): simplify.
17172 * BufferView2.C: don't include insets/insetinfo.h, change
17173 prototype for insertInset and call the Pimpl version. let
17174 updateInset call Pimpl version.
17176 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17177 gotoInset to BufferView::Pimpl
17179 2001-06-01 Juergen Vigna <jug@sad.it>
17181 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17182 inside a LockingInset (is the update needed at all?).
17184 2001-05-31 Juergen Vigna <jug@sad.it>
17186 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17187 here not the old one otherwise how should we compare it afterwards
17190 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17195 * FontInfo.C: bring C functions into global namespace when
17198 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17200 * LString.h: make sure config.h has been loaded before LString.h.
17202 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17203 (one for each char read by EatLine!).
17205 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17208 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17210 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17211 to the same as the par we break from
17213 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17215 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17217 * MenuBackend.C (expand): also create menu entries for wide
17218 versions of the floats.
17220 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17222 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17224 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17225 frontends/Makefile.am
17231 * tabular.C (getTokenValue): add std::
17233 * tabular-old.C (getTokenValue): add std::
17234 (getTokenValue): ditto
17235 (getTokenValue): ditto
17237 * screen.C (ToggleSelection): adjust
17239 * lyxtext.h: put selection cursors inside a Selection struct.
17241 * lyxfunc.C (moveCursorUpdate): adjust
17243 * lyxfont.C (latexWriteStartChanges): add std::
17245 * lyxfind.C: adjust
17247 * font.h: delete with(char const *, LyXFont const &)
17249 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17251 * FontInfo.C (getFontname): add std::
17253 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17254 (workAreaButtonPress): adjust
17255 (tripleClick): adjust
17257 (moveCursorUpdate): adjust
17260 * BufferView2.C (gotoInset): adjust
17262 2001-05-30 Juergen Vigna <jug@sad.it>
17264 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17265 to check pspell I add this as default as I now have new pspell
17266 libraries and they seem to use this.
17268 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17270 * text2.C (CutSelection): make the cursor valid before the call to
17273 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17275 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17276 relied on 0 terminated strings and other horrors. Bug found due to
17277 the new assert in lyxstring!
17279 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17282 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17284 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17287 * lyxfunc.C (processKeySym): change method of getting to the
17290 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17291 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17292 * BufferView_pimpl.[Ch]: here as private methods.
17294 2001-05-28 Juergen Vigna <jug@sad.it>
17296 * text.C (SetHeightOfRow): added the update() call again as it is
17297 needed to initialize inset dimensions!
17299 2001-05-16 Juergen Vigna <jug@sad.it>
17301 * text2.C (SetCharFont): Add new function with BufferView * and
17302 bool toggleall parameters for setting insets internal fonts.
17303 (SetFont): Freeze the undo as we may change fonts in Insets and
17304 all this change should be inside only one Undo!
17306 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17307 setting font's in insets as for them we have the SetFont function!
17309 2001-05-15 Juergen Vigna <jug@sad.it>
17311 * text2.C (ClearSelection): to be sure we REALLY don't have any
17314 * tabular.C (TeXCellPreamble): fixed the left border problem for
17317 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17319 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17322 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17324 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17325 LFUN_BREAKPARAGRAPH.
17327 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17328 help test to "internal only", similar for LFUN_INSERT_URL
17330 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17331 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17332 auto_region_delete and deadkeys.
17334 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17337 * LColor.C: remove some dead entries, tidy a little
17339 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17341 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17343 (Dispatch): implement LFUN_ESCAPE
17345 * commandtags.h: add LFUN_ESCAPE
17347 * LyXAction.C (init): add entry for LFUN_ESCAPE
17349 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17350 Remove commented code.
17351 (insertNote): moved here
17352 (open_new_inset): moved here
17354 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17357 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17359 * kbmap.C (findbinding): clean it up and make it work correctly.
17361 * lyx_main.C (init): do not pass argc and argv as parameters
17363 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17365 * buffer.C: fix path for OS/2 & Win32
17369 * lyx_main.C: Added os:: class.
17371 * os2_defines.h: update
17373 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17375 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17376 better by trying again with reduced state.
17378 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17380 * lyxrc.C (read): print error about invalid key sequence only when
17381 debugging (because not all latinX keysyms are known to some X
17384 * kbsequence.C (getiso): add a few std:: qualifiers
17385 (getiso): comment out extra return statement.
17387 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17389 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17391 (Dispatch): enhance the accent inset a bit. (not perfect)
17393 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17395 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17397 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17399 * bufferlist.C (emergencyWrite): fix assert() call
17401 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17403 * text.C (InsertChar): Added trivial patch to only send the "you
17404 can not do multiple spaces this way" message once during a
17407 2001-05-08 Baruch Even <baruch@lyx.org>
17409 * Makefile.am: Changed order of libraries to get LyX to link properly
17410 with the gnome frontend.
17412 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17414 * LaTeXFeatures.h: add a std:: qualifier
17416 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17418 * paragraph.C (String): use stringstream
17420 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17422 * paragraph.C (writeFile): remove footflag arg
17424 * buffer.C (makeLaTeXFile): use stringstream
17425 (latexParagraphs): remove footnot gurba
17427 * LaTeXFeatures.C (getPackages): use stringstream
17428 (getMacros): likewise
17429 (getTClassPreamble): likewise
17430 (getFloatDefinitions): new method
17432 * paragraph.C (writeFile): reindent
17435 * WorkArea.h: revert the xpos + etc changes.
17437 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17439 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17441 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17442 (pasteSelection): likewise
17443 * text2.C (CreateUndo): likewise
17445 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17447 * minibuffer.C (peek_event): temporarily reduce the functionality
17448 of the minibuffer (to allow args on lfuns)
17450 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17451 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17453 * buffer.C (readInset): add compability reading of old float
17454 lists, add reading of new style float list.
17455 (readInset): avoid reevaluation of inscmd.getCmdName()
17456 (getLists): reindent
17458 * MenuBackend.C (MenuItem): implement parsing of
17459 md_floatlistinsert and md_floatinsert.
17460 (expand::LastFiles): move initalizaton of iterators out of loop,
17461 avoid reevaluation.
17462 (expand::Documents): introduce typdedef vector<string> Strings,
17464 (expand::ExportFormats): introduce typedef vector<Format const *>
17465 Formats, and use it.
17466 (expand): implement FloatListInsert and FloatInsert.
17468 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17469 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17470 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17472 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17474 (Dispatch::LFUN_FLOAT_LIST): implement
17476 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17478 * LaTeX.C (run): Fix problem with --export code.
17480 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17482 * BufferView.[Ch] (workarea): removed.
17483 (getClipboard) new method; wrapper for workarea()->getClipboard()
17485 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17488 * WorkArea.h (width, height, xpos, ypos): These methods all
17489 returned the dimensions of the work_area sub-area of WorkArea,
17490 resulting in a position error if the WorkArea were resized. Now
17491 return the dimensions of the entire WorkArea.
17493 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17495 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17497 * LaTeX.C (deplog): correct the syntax of regex reg1
17499 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17501 * undo.C: remove !NEW_INSETS cruft
17503 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17505 * text2.C: remove !NEW_INSETS cruft
17507 * text.C: remove !NEW_INSETS cruft
17509 * tabular.C: remove !NEW_INSETS cruft
17511 * spellchecker.C: remove !NEW_INSETS cruft
17513 * lyxtext.h: remove !NEW_INSETS cruft
17515 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17517 * lyxfunc.C: remove !NEW_INSETS cruft
17519 * lyxfind.C: remove !NEW_INSETS cruft
17521 * lyx_cb.C: remove !NEW_INSETS cruft
17523 * figureForm.C: remove !NEW_INSETS cruft
17525 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17527 * buffer.[Ch]: remove !NEW_INSETS cruft
17529 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17531 * CutAndPaste.C: remove !NEW_INSETS cruft
17533 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17535 * BufferView2.C: remove !NEW_INSETS cruft
17537 * BufferView.h: remove !NEW_INSETS cruft
17539 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17541 * Lsstream.h: include LString.h before the sstream headers to
17542 fix problem with gcc 2.95.3 and lyxstring
17544 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17546 * lyx_main.C: add using directives when needed for C functions
17547 declared in std:: namespace.
17549 2001-04-27 Juergen Vigna <jug@sad.it>
17551 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17552 (SetHeightOfRow): comment out the update call should not be needed!
17554 2001-04-13 Juergen Vigna <jug@sad.it>
17556 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17557 (LyXTabular): tried to minimize operator= operations (and realized
17558 hopfully Lars wish).
17560 2001-04-27 Juergen Vigna <jug@sad.it>
17562 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17564 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17566 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17568 * buffer.C (readInset): hack to make listof algorithm work
17570 * BufferView_pimpl.C: hack to make listof algorithm work
17572 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17574 * LyXAction.C: removed all !NEW_INSETS cruft
17575 (init): moved lfun_item in method
17577 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17579 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17581 * BufferView2.C (theLockingInset): white space.
17583 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17585 * minibuffer.C: include <iostream>
17587 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17589 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17591 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17593 * text.[Ch] (TransposeChars): new method
17595 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17597 * call message directly through LyXView instead of through LyXFunc
17598 * BufferView2.C: adjust
17599 * BufferView_pimpl.C: adjust
17600 * FontLoader.C: adjust
17602 * bufferview_funcs.C: adjust
17603 * converter.C: adjust
17604 * figureForm.C: adjust
17605 * importer.C: adjust
17607 * lyx_gui_misc.C: adjust
17608 * lyxfunc.C: adjust
17611 + more files in subdirs
17613 * lyxparagraph.h (size): move up int file
17616 * adjust all uses of Assert to lyx::Assert.
17618 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17619 lyxfunctional in namespace lyx
17620 * layout.C (hasLayout): ditto
17623 (delete_layout): ditto
17624 (NumberOfClass): ditto
17625 * converter.C (GetFormat): ditto
17630 * bufferlist.C (getFileNames): ditto
17631 (emergencyWriteAll): ditto
17634 * MenuBackend.C (hasSubmenu): ditto
17637 * BufferView_pimpl.C (getInsetByCode): ditto
17639 2001-04-18 Juergen Vigna <jug@sad.it>
17641 * vspace.C (asLatexString): fixed the 100% problem.
17643 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17645 * lyxfunc.C (Dispatch):
17647 * minibuffer.h: add a few std:: qualifiers
17649 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17651 * minibuffer.[Ch]: reimplement so that commands is initiated and
17652 run from lyxfunc, simplified som handling, and made the completion
17653 and history code for complete. wip.
17655 * lyxfunc.C (processKeySym): call message
17656 (miniDispatch): new temporary method
17657 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17658 (LFUN_MESSAGE): implement
17659 (LFUN_MESSAGE_PUSH): implement
17660 (LFUN_MESSAGE_POP): implement
17661 (initMiniBuffer): the initial/defualt minibuffer message.
17663 * lyxfont.[Ch]: inline some more getters
17665 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17667 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17669 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17670 (AutoSave): use LFUN_MESSAGE
17671 (Reconfigure): ditto
17673 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17675 * figureForm.C: use LFUN_MESSAGE
17677 * converter.C (runLaTeX): use LFUN_MESSAGE
17679 * bufferview_funcs.C: use LFUN_MESSAGE
17681 (changeDepth): ditto
17683 * bufferparams.h: use boost::
17685 * bufferlist.h: inherit privately from noncopyable
17687 * bufferlist.C (loadLyXFile): remove some commented code.
17689 * buffer.C (runChktex): use LFUN_MESSAGE
17691 * ShareContainer.h: inherit privately from noncopyable
17693 * ParagraphParameters.[hC] (depth): inline it.
17695 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17697 (message): new method
17698 (messagePush): ditto
17699 (messagePop): ditto
17700 (show): init minibuffer
17701 (showState): direct call
17703 * LaTeX.[Ch]: inherit privately from noncopyable
17704 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17705 instead of WriteStatus.
17707 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17709 * BufferView_pimpl.C (buffer): don't init minibuffer
17710 (workAreaButtonPress): use LFUN_MESSAGE
17711 (workAreaButtonRelease): ditto
17712 (savePosition): ditto
17713 (restorePosition): ditto
17714 (MenuInsertLyXFile): ditto
17715 (workAreaExpose): don't init minibuffer
17716 (update): remove commented code, simplify
17718 * BufferView2.C (openStuff): use LFUN_MESSAGE
17719 (toggleFloat): ditto
17722 (copyEnvironment): ditto
17723 (pasteEnvironment): ditto
17728 (updateInset): remove some commented code
17730 * lastfiles.h: inherit privately from noncopyable
17733 * lyx_main.h: ditto
17735 * lyxlex_pimpl.h: ditto
17737 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17738 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17739 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17741 * LyXAction.h: inherit privately from noncopyable, add methods
17742 func_begin, func_end, returning iterators to the func map.
17744 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17745 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17746 (func_begin): new method
17747 (func_end): new method
17749 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17751 (copySelection): ditto
17752 (pasteSelection): ditto
17754 * BufferView.C: whitespace change
17755 * BufferView.h: inherit privately from noncopyable
17757 2001-04-16 Allan Rae <rae@lyx.org>
17759 * tabular-old.C (l_getline):
17760 * spellchecker.C (sc_check_word):
17761 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17762 an unrecognised preprocessor directive. So ensure they're wrapped.
17764 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17766 * src/exporter.C (Export): Give an error message when path to file
17769 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17771 * LaTeX.C (deplog): Always check that foundfile exists.
17773 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17776 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17778 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17780 * tabular.[Ch] (getLabelList): implement new method
17782 * minibuffer.h: comment ouf setTiimer
17784 * minibuffer.C (ExecutingCB): constify res
17785 (peek_event): constify s
17786 (Set): constify ntext
17787 (Init): constify nicename
17789 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17791 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17792 (savePosition): use two params to Minibuffer::Set
17793 (restorePosition): ditto
17795 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17797 * lyx_main.C: include language.h
17799 * Makefile.am (lyx_main.o): add language.h
17801 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17807 * CutAndPaste.C: include gettext.h
17809 * lyxfont.h: remove old hack with ON and OFF.
17812 * lyxfont.h: do not include language.h...
17817 * bufferview_funcs.C:
17823 * paragraph.C: ... but do it here instead
17825 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17827 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17829 * tabular.C: small reformat
17831 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17834 (BreakParagraph): ditto
17835 (SetOnlyLayout): ditto
17838 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17841 * lastfiles.C: removed most using decl, add std:: where needed
17843 * buffer.C: ws changes
17845 * MenuBackend.C (class compare_format): put into anon namespace
17846 (expand): constify label, names, action, action2
17849 * text.C (SingleWidth): constify font
17850 (IsBoundary): constify rtl2
17851 (GetVisibleRow): constify ww
17853 * LaTeX.C (deplog): constify logfile
17855 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17857 (workAreaExpose): constify widthChange, heightChange
17859 * lyxrow.C (par): moved
17862 * lyxrow.h: as inlines here
17864 * lyxfont.h (shape): moved from lyxfont.C
17865 (emph): moved from lyxfont.C
17867 * lyxfont.C (LyXFont): use initialization list for all
17869 (shape): move to lyxfont.h as inline
17870 (emph): move to lyxfont.h as inline
17873 2001-04-04 Juergen Vigna <jug@sad.it>
17875 * vspace.C: had to include stdio.h for use of sscanf
17877 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17880 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17881 independent of xforms.
17883 2001-04-02 Juergen Vigna <jug@sad.it>
17885 * spellchecker.C: fixed namespace placing!
17887 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17889 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17890 the LyXParagraph * is 0.
17892 2001-03-29 Juergen Vigna <jug@sad.it>
17894 * vspace.C: added support for %, c%, p%, l%.
17895 (stringFromUnit): added helper function.
17896 (asLatexString): changed to give right results for the %-values.
17898 * buffer.C: convert the widthp in a width%.
17900 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17902 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17905 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17906 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17908 * lyx_cb.[Ch]: see above.
17910 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17914 * lyx.[Ch]: replaced by figure_form.[Ch].
17918 * lyxfunc.C: changed headers associated with above changes.
17920 2001-03-27 Juergen Vigna <jug@sad.it>
17922 * BufferView_pimpl.C: set the temporary cursor right!
17924 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17926 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17928 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17930 * LString.h: removed "using std::getline"!
17932 * BufferView_pimpl.C (Dispatch): changes due to changes in
17933 InsetInclude::Params.
17935 * buffer.C (tag_name): removed redundant break statements as they were
17936 producing lots of warnings with my compiler.
17938 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17940 * LString.h: add "using std::getline" when using the real <string>.
17942 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17944 * buffer.C: removed bitset usage.
17945 PAR_TAG moved to an anonymous name space.
17946 (tag_name): new funtion, also in the anonymous namespace.
17947 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17948 (makeDocBookFile): clean code. Completed transition from string arrays
17950 (SimpleDocBookOnePar): code clean.
17952 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17954 * tabular.C: add some comments.
17956 2001-03-22 Juergen Vigna <jug@sad.it>
17958 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17959 compatibility read a bit and fixed bug with minipage in different
17962 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17964 * buffer.C (pop_tag): removed.
17965 (push_tag): removed.
17966 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17967 array replaced with vector. Added support for CDATA sections.
17968 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17970 (makeDocBookFile): XML conformant declaration of CDATA section,
17971 fixed bug related to <emphasis> in the first paragraph char.
17972 (sgmlOpenTag): exclude empty tags.
17973 (sgmlCloseTag): ditto.
17975 * buffer.h (pop_tag): removed.
17976 (push_tag): removed.
17978 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17980 * language.h (Languages): added size_type and size().
17982 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17984 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17985 response on compability reading of minipages. One probliem is that
17986 the old usage of minipages was flertydig
17988 * several files here and in subdirs: don't use static at file
17989 scope use anon namespaces instead.
17991 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17993 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17994 LaTeX output. This is necessary for Literate document
17997 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17999 * buffer.C: insert hfill when needed.
18001 * tabular.C (l_getline): use string::erase, small whitespace change.
18003 * BufferView_pimpl.C: try the anon namespace.
18004 * WorkArea.C: ditto
18006 2001-03-16 Juergen Vigna <jug@sad.it>
18008 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18009 otherwise it won't open options-dialogs.
18011 * buffer.C: honor pextraWidth(p) on converting minipages.
18013 * tabular.C (l_getline): changed the functions to strip trailing \r.
18015 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18017 * BufferView_pimpl.C:
18018 * minibuffer..C: added "using SigC::slot" declaration.
18020 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18022 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18028 * paragraph.C: ditto
18030 * lyxtext.h: NO_PEXTRA
18032 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18034 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18035 * ParameterStruct.h: ditto
18036 * ParagraphParameters.h: ditto
18037 * lyxparagraph.h: ditto
18039 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18041 * buffer.C: add compability for minipage alignment.
18042 (latexParagraphs): remove unwanted pextra check.
18044 * several files: remove CXX_WORKING_NAMESPACES
18046 * buffer.C (pop_tag): tie is in namespace boost
18048 * BufferView.h: noncopyable is in namespace boost
18050 * lyx_main.h: ditto
18053 * lastfiles.h: ditto
18054 * bufferlist.h: ditto
18055 * ShareContainer.h: ditto
18057 * LyXAction.h: ditto
18060 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18062 * Merging changes from BRANCH_MVC back into HEAD.
18064 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18066 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18068 * BufferView_pimpl.C: change from intl.C
18072 * Makefile.am: move combox.*
18078 * intl.C: remove dialog (covered by prefs)
18080 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18082 * lyxfunc.C (Dispatch): removed redundant break statement.
18084 2001-03-14 Juergen Vigna <jug@sad.it>
18086 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18088 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18090 * buffer.C: add hack to fix compability reading of minipages.
18092 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18094 * buffer.C (getLists): Cleanup.
18096 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18098 * lyxfont.C (update): don't honor toggleall on font size.
18100 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18104 * Makefile.am: moved to frontends/xforms/
18108 * BufferView_pimpl.C: changes for moved mathpanel
18110 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18112 * gettext.h: fix gettext_init() in --disable-nls
18114 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18116 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18118 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18121 * lyx.h: strip external form
18123 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18125 * BufferView_pimpl.C: add comment, destroySplash()
18127 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18129 * BufferView_pimpl.C:
18133 * lyxfunc.C: use re-worked insetinclude
18135 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18137 * buffer.C: add using std::stringstream.
18139 * lyx_cb.C: readd using std::ios.
18141 * buffer.C: add using std::map.
18143 * BufferView_pimpl.C: add using std::vector.
18145 * ShareContainer.h: add std:: to swap.
18147 * buffer.h: add some typedefs
18148 * buffer.C (getLists): use them
18149 (getLists): renamed from getTocList.
18150 add a counter for the different float types and use it in the
18152 (getLists): use the same counter for the NEW_INSETS and the "non"
18155 * lyx_cb.h: remove unused items, includes, using etc.
18157 * ShareContainer.h: remove some commented code, add more comments
18158 and "documentation".
18160 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18162 * buffer.C (getTocList): make the list also when NEW_INSETS is
18165 * buffer.h: remove TocType
18167 * buffer.C (getTocList): change to return a map<string,
18168 vector<TocItem> >, implement for dynamic number of list.
18170 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18171 * text2.C (PasteSelection): adjust
18172 * CutAndPaste.C (pasteSelection): adjust
18174 * FloatList.C (FloatList): update from the new_insets branch.
18175 * Floating.[Ch]: ditto
18176 * LaTeXFeatures.C: ditto
18178 * lyxlex_pimpl.C: ditto
18180 * paragraph.C (Last): remove when NEW_INSETS is defined.
18182 * other file: changes because of the above.
18184 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18186 * lyxparagraph.h: rename next to next_, previous to previous_,
18187 make them private for NEW_INSETS. Rename Next() to next(),
18188 Previous() to previous().
18190 * other files: changes because of the above.
18192 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18195 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18198 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18200 * main.C (main): pass lyx_localedir to gettext_init().
18202 * gettext.h: remove locale_init and gettext_init macros
18204 * gettext.C (locale_init): new function
18205 (gettext_init): new function
18207 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18210 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18212 * Moved credits to frontends:
18213 * credits.[Ch]: removed
18214 * credits_form.[Ch]: removed
18215 * lyx_gui_misc.C: remove credits stuff
18218 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18220 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18222 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18223 unneeded destructor.
18225 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18226 a standalone pointer again.
18228 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18230 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18236 * ToolbarDefaults.C:
18245 * BufferView_pimpl.C: use new file dialog in GUII
18248 * lyx_cb.C: remove LayoutsCB to Toolbar
18250 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18252 * ShareContainer.h (get): add std:: qualifier
18254 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18256 * ShareContainer.h: define a proper ShareContainer::value_type
18257 type (and use typename to please compaq cxx)
18259 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18261 * lyxparagraph.h: move serveral local vars to
18262 ParameterStruct/ParagraphParameters., use ShareContainer in
18263 FontTable., make vars in FontTable private and add getter and
18266 * paragraph.C: changes because of the above.
18268 * lyxfont.h: remove copy constructor and copy assignment. (the
18269 default ones is ok), move number inside FontBits. move inlines to
18272 * lyxfont.C: add number to initializaton of statics, move several
18273 inlines here. constify several local vars. some whitespace
18274 cleanup. Dont hide outerscope variables.
18276 * Spacing.h: add two new constructors to match the set methods.
18278 * ShareContainer.h: new file, will perhaps be moved to support
18280 * ParameterStruct.h: new file
18282 * ParagraphParameters.h: new file
18284 * ParagraphParameters.C: new file
18286 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18287 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18289 * BufferView_pimpl.C: ParagraphParameter changes.
18290 * buffer.C: Likewise.
18291 * bufferview_funcs.C: Likewise.
18292 * text.C: Likewise.
18293 * text2.C: Likewise.
18295 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18297 * lyxfind.C (LyXReplace): do not redefine default argument in
18299 (IsStringInText): ditto
18300 (SearchForward): ditto
18301 (SearchBackward): ditto
18303 2001-03-06 Juergen Vigna <jug@sad.it>
18305 * lyxfind.C (IsStringInText): put parentes around expressions.
18307 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18309 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18311 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18313 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18315 * stl_string_fwd.h: add comment
18317 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18320 * tabular.C: remove unused DocBook methods
18326 killed DO_USE_DEFAULT_LANGUAGE
18328 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18330 * lyx_gui.C: do not include language.h.
18332 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18333 arguments in function implementation.
18335 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18337 * BufferView_pimpl.C: add <ctime>
18339 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18341 * BufferView_pimpl.C: add using std::find_if
18343 2001-02-27 José Matos <jamatos@fep.up.pt>
18345 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18348 2001-02-11 José Matos <jamatos@fep.up.pt>
18350 * buffer.C (makeDocBookFile): command styles now have a parameter as
18351 "title" by default.
18353 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18355 * layout_forms.[Ch]: removed
18356 * lyx_cb.[Ch]: out character
18357 * lyx_gui.C: out character
18358 * lyx_gui_misc.C: out character
18359 * bufferview_funcs.C: : out character,
18360 added toggleall as parameter in ToggleAndShow
18362 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18364 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18366 * text2.C (SetCurrentFont): Disable number property at boundary.
18368 2001-02-26 Juergen Vigna <jug@sad.it>
18370 * lyxfunc.C (getStatus): added a string argument override function so
18371 that this is correctly called from LyXFunc::Dispatch if it contains a
18372 do_not_use_argument which is used!
18373 (Dispatch): added check for "custom" export and call appropriate func.
18375 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18377 * lyxrc.C: Add language_command_local, language_use_babel and
18378 language_global_options.
18380 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18382 * buffer.C (makeLaTeXFile): Use language_use_babel and
18383 language_global_options.
18385 2001-02-23 Juergen Vigna <jug@sad.it>
18387 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18388 which works with LyXText and putted it inside BufferView. Here now we
18389 only call for that part the BufferView::Dispatch() function.
18391 * BufferView.C (Dispatch): added.
18393 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18394 functions which needs to use a LyXText over from LyXFunc.
18395 (MenuInsertLyXFile): added
18396 (getInsetByCode): added
18397 (moveCursorUpdate): added
18398 (static TEXT): added
18400 2001-02-22 Juergen Vigna <jug@sad.it>
18402 * BufferView_pimpl.C (update): call a status update to see if LyXText
18405 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18407 * vc-backend.C (revert): implement for CVS
18408 (getLog): implement for CVS
18410 2001-02-20 Juergen Vigna <jug@sad.it>
18412 * text2.C (ClearSelection): added BufferView param for inset_owner call
18414 * lyxfunc.C (TEXT): added this function and use it instead of
18415 directly owner->view()-text of getLyXText().
18417 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18419 * src/layout_forms.C: out preamble
18420 * src/layout_forms.h: out preamble
18421 * src/lyx_cb.C: out preamble
18422 * src/lyx_cb.h: out preamble
18423 * src/lyx_gui.C: out preamble
18424 * src/lyx_gui_misc.C: out preamble
18425 * src/lyxfunc.C: connect with guii preamble
18427 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18429 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18431 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18433 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18434 whether to run bibtex.
18436 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18438 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18440 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18442 * Makefile.am (lyx_SOURCES): removed bibforms.h
18444 * vspace.h: doxygen
18446 * text.C (GetVisibleRow): make several local vars const
18448 * tabular.C: small cleanup.
18450 * lyxserver.C (callback): use compare instead of strncmp
18452 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18453 inlines to after class or to paragraph.C
18455 * lyxfont.h: remove friend operator!=
18457 * converter.h: move friend bool operator< to non friend and after
18460 * combox.h: small cleanup
18462 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18463 to inlines after class def.
18465 * buffer.C (pop_tag): use string operations instead of strcmp
18467 * bmtable.c: doxygen, small cleanup
18469 * LaTeX.h: remove friend operator==
18471 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18483 * BufferView_pimpl.C:
18484 * BufferView.[Ch]: remove cruft
18486 2001-02-14 Juergen Vigna <jug@sad.it>
18488 * lyxfunc.C: removed #if 0 unused code
18490 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18492 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18494 * text2.C (SetSelection): added a BufferView * parameter
18496 2001-02-13 Juergen Vigna <jug@sad.it>
18498 * lyxfunc.C (Dispatch): fixed protected blank problem.
18499 * BufferView2.C (protectedBlank): added LyxText * parameter.
18501 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18502 (AppendColumn): same as above for column_info.
18504 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18505 (moveCursorUpdate): use a LyXText param for support of InsetText.
18507 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18508 (tripleClick): ditto
18510 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18512 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18514 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18516 * text2.C (SetSelection): set correct update status if inset_owner
18517 (ToggleFree): ditto
18519 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18521 * tabular.C: remove some commented code.
18523 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18525 * BufferView_pimpl.C: call hideSplash()
18527 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18530 * bibforms.h: remove
18533 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18534 add LFUN_CHILD_CREATE
18536 * counters.h: fix tiny typo
18541 * lyx.C: move splash to frontends/xforms/
18543 * lyx_gui_misc.C: move Include and Bibform to frontends
18545 * lyxvc.h: clarify comment
18547 * vspace.C: tiny housekeeping
18549 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18551 * text.C (PrepareToPrint): RTL Fix.
18553 * paragraph.C (GetUChar): New method.
18554 (String): Use GetUChar.
18556 * buffer.C (asciiParagraph): Use GetUChar.
18558 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18560 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18562 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18565 * buffer.C: rename to getLogName(), handle
18566 build log / latex log nicely
18568 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18571 * MenuBackend.h: remove support for reference menuitem type.
18573 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18575 * BufferView_pimpl.C: housekeeping
18576 * BufferView_pimpl.h:
18581 * minibuffer.h: move Timeout GUI-I
18583 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18585 * lyxrc.C (read): Update converters data-structures.
18587 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18589 * LaTeX.h (operator!=): add operator != for Aux_Info
18591 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18593 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18595 * LaTeXLog.C: deleted, useful code moved to Buffer
18598 * buffer.C: new function getLatexLogName()
18604 * lyxfunc.C: use frontends for LaTeX and VC logs
18606 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18608 * LaTeX.h: yet another std:: that Allan forgot.
18610 * Variables.C (set): renamed from isset(), because this clashes
18611 with some HP-UX macros (grr).
18613 2001-02-06 Allan Rae <rae@lyx.org>
18615 * LaTeX.h: Another bug fix. Missing std:: this time.
18617 2001-02-04 Allan Rae <rae@lyx.org>
18619 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18620 floats problem. I've left it commented out because it's not quite
18621 correct. It should also test that the current object is a table or
18622 figure inset. But I haven't gotten around to figuring out how to do
18623 that. I *think* it'll be something like: "table" == inset.type()
18625 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18628 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18630 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18631 all the citation/databases/styles in the auxilary file.
18632 (run): Rerun latex if there was a babel language error.
18634 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18636 * text.C (Backspace): Preserve the font when changing newline char
18638 (BreakParagraph): If the cursor is before a space, delete the space.
18640 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18642 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18644 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18645 new argument (code).
18646 (ChangeCitationsIfUnique): New method.
18648 * paragraph.C (GetPositionOfInset): Handle bibkey.
18650 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18652 * BufferView_pimpl.h: change type of Position::par_pos to
18653 LyXParagraph::size_type.
18655 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18657 * BufferView_pimpl.C (savePosition, restorePosition): Write
18658 messages to minibuffer.
18660 2001-01-28 José Matos <jamatos@fep.up.pt>
18662 * buffer.C (makeDocBookFile): adds support for document language.
18663 A silly restriction on the name of LatexCommand types where removed.
18664 Added support for CDATA sections, allows to chars unescaped, used
18665 among others in code, to avoid escape < and >.
18667 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18669 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18670 saved positions instrad of a stack. Furthermore, a position is
18671 stored using paragraph id/paragraph position.
18673 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18674 Remove LFUN_REF_BACK.
18676 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18678 * converter.C (dvipdfm_options): New method.
18680 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18682 * vspace.C (isValidLength): Fix for empty input string.
18684 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18686 * LyXAction.C (init): change description of LFUN_FIGURE to
18689 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18691 * LaTeX.C: add using directive
18693 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18695 * MenuBackend.C (expand): Fix the sorting of the formats.
18697 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18699 * lyx_main.C: tiny error message fix
18701 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18703 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18704 calling fl_initialize(). This fixes the problem with ',' as
18705 decimal separator in text files.
18707 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18709 * trans.C (process): Fix the keymap bug.
18711 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18713 * LaTeX.C (scanAuxFiles): New method. Provides support for
18714 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18715 (scanLogFile) Scan for "run BibTeX" messages.
18717 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18718 OT1 font encoding. Also, load the aecompl package if the ae
18721 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18723 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18725 * texrow.C (increasePos): turn two error messages into debug
18728 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18730 * LaTeX.C (scanAux): Handle the \@input macro.
18731 (runBibTeX): Use scanAux().
18733 * language.C (latex_options_): New field.
18735 * LaTeXFeatures.C (getMacros): Add language macros.
18737 * buffer.C (makeLaTeXFile): Small fix.
18739 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18741 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18743 * text2.C: add a using directive.
18745 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18750 * lyxfunc.C: kill LyXBell.
18752 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18754 * text.C (IsBoundary): Remove the error message
18756 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18758 * lyxrc.C (setDefaults): Correct initialization value for
18761 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18763 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18766 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18767 and GotoNextNote().
18769 * src/LyXAction.C: Added reference-next.
18771 * text.C (InsertChar): Use contains instead of strchr.
18773 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18775 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18777 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18778 alignment commands (when needed).
18780 * text.C (InsertChar): Add ':' to number separator chars.