1 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * paragraph.C (asString): use new inset->textString method (fix bug 2089)
5 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * CutAndPaste.C (numberOfSelections): new helper function.
9 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
11 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
12 LyXFunc::getStatus; implement LFUN_PASTE.
14 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
16 * dociterator.[Ch]: new member realInset() that returns the cell
17 for tabulars and the inset for the rest (bug 1952).
18 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
21 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
25 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
29 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
32 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
34 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
35 line after typing ctrl-enter
37 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
39 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
40 math insets do not return a proper editable() state yet (bug 2124).
42 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
44 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
45 docs containing very large paragraphs.
47 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
49 * cursor.C (selectionBegin, selectionEnd):
50 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
51 cursor at different depths.
53 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
55 * bufferview_funcs.C (coordOffset): do not call cursorPos
56 for collapsed collapsables (fix bug 2094).
58 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
60 * paragraph.C (fontSpan): make sure that the FontSpan does not
61 span across beginOfBody (bug 1947).
63 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
67 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
69 * messages.C: fix crash and localization on MinGW/Windows platform
71 2005-11-02 Angus Leeming <leeming@lyx.org>
74 * lyxtextclass.C: trivial fixes to some MSVS warnings.
76 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * text3.C (getStatus): re-enable disabled code. (bug 2081)
80 * BranchList.h (empty): constify.
82 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * text3.C (getStatus):
85 * MenuBackend.C (expandBranches): take the branch list from the
86 master document (bug 2092).
88 * MenuBackend.C (expandBranches):
89 * bufferparams.C (writeFile): use BranchList type.
91 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
93 * text3.C (dispatch, getStatus):
95 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
97 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
101 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
103 * text.C (insertChar): do not reset boundary (bug 2061)
105 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * dociterator.C (updateInsets): new method. Updates the inset_
108 cache of all the slices of the iterator.
110 * text2.C (deleteEmptyParagraphMechanism): compare also containing
111 insets when comparing pit/pos; pass the right cursor to
112 recordUndo; when a paragraph has been deleted, compare `old.top()' to
113 the right cursor slice of `cur'; use updateInsets on cur to make
114 sure that the inset caches are correct; general cleanup.
116 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
118 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
119 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
120 containg inset. If this does not work, the same command will be
121 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
123 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
126 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
128 * lyxtextclass.C (Read): convert layout file if the format is wrong
129 * lyxtextclass.C (layout2layout): new, needed for the above
131 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
133 * messages.C: do not forget to include <cerrno>.
135 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
137 * dociterator.h (StableDocIterator): add access to pos().
138 * undo.C (samePar): new method to check if two
139 iterators are in the same paragraph
140 * undo.C (recordUndo): check for samePar instead of cell identity
141 (which includes pos() and is too strict) (fixes bug 2097)
143 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * text.C (setCursorFromCoordinates): return a bool telling whether
148 * text3.C (cursorPrevious): update if needed after
149 setCursorFromCoordinates (when dEPM triggered).
151 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
152 (otherwise the anchor may be completely wrong and make dEPM assert).
154 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
156 * buffer.C: version upgrade to 245.
157 * bufferparams.C: remove \quotes_times (bug 2090).
158 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
159 quotation marks as default.
161 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
163 * CutAndPaste.C (nrOfParagraphs): remove (unused)
164 * CutAndPaste.C (cutSelection): Remove debug message
165 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
166 undo information and only copy if this is a real cut
167 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
169 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
171 * CutAndPaste.C (eraseSelection): prevent cursor corruption
172 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
173 superflous cur.selection() setting
174 * CutAndPaste.[Ch] (grabSelection): take a const cursor
175 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
177 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
179 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
182 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
184 * BufferView_pimpl.C: comment layout change
186 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
190 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
191 by bibliography managers (bug 2071).
193 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
195 * BufferView_pimpl.C (update): choose arguments to update call so
196 that single-par update works most times
197 * text3.C (dispatch): carefully tune updating separately for
198 whole-screen and current-paragraph
199 * rowpainter.C (paintText): 1) replace painting by caching for
200 the two extra paragraphs, because we can;
201 2) suppress greying out of areas below/above drawn area in case of
203 * lyxfunc.C (dispatch): remove superfluous update
204 * LyXAction.[Ch]: introduce SingleParUpdate
206 2005-10-05 Angus Leeming <leeming@lyx.org>
208 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
209 always initialised before use.
211 * text.C (setHeightOfRow): squash warning about comparison
212 of signed and unsigned types.
214 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
216 * text.C (cursorX): two fixes involving RtL text drawing
218 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
221 items, not only large ones (part of bug 2057)
223 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
226 argument, use "newcommand".
228 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
230 * cursor.C (setSelection): do not open collapsable insets;
231 the insets do by themselves now (autoopen).
233 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
235 * buffer.C: format is up to 244.
237 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
239 * text.C (redoParagraph): fix calcultation of inset width wrt
240 leftMargin (bug 1957).
242 * text3.C (dispatch): leave inset to the right when hitting ESC
245 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * messages.C: include <boost/current_function.hpp>
252 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
254 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
255 when command is internal. (bug 1941)
257 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
259 * text2.C (cursorRight): do not honor boundary when at the end of
260 a paragraph. (bug 2010 again)
262 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
264 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
266 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
268 * rowpainter.C (paintText): fix RtL space width display bug (2029)
270 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
272 * text2.C (setCursor): remove the unused 'boundary' parameter for
273 the CursorSlice version; adapt the LCursor version.
276 * paragraph_pimpl.C (markErased):
277 * cursor.C (bruteFind2, bruteFond3): fix warnings.
279 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
281 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
282 as is already done for "chapter".
284 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
287 textclass; do not record undo if nothing is changed.
289 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
291 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
293 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
295 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
297 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
300 combox, it is necessary to search for the topmost paragraph in the
301 cursor stack (bug 1926)
303 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
305 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
306 end of paragraph. (bug 2010)
308 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
310 * text.C (leftMargin): check for inInset == 0
312 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * text.C (leftMargin): test for insetbase's new neverIndent()
315 bool instead of listing each and every inset that does not
316 wish par indendation.
318 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
320 * buffer_funcs.C (setCounter): put the code to compute enum label
321 here (where it belongs).
323 * counters.C (enumLabel): move code to buffer_funcs.C.
325 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
327 * outputparams.[Ch]: store local_font instead of local_language
328 * paragraph.C (simpleTeXOnePar): adapt to the change above
330 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
333 * counters.[Ch]: clean up special code for Hebrew.
335 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
337 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
340 2005-09-08 Angus Leeming <leeming@lyx.org>
343 * lyxrc.C: correct grammar describing invocation of the
346 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * text.C (read): remove unused variable.
349 (readParToken): remove static Change variable (never good in
350 recursive settings...); add it as a parameter instead.
352 * paragraph_pimpl.C (acceptChange): make debug info conditional.
354 * metricsinfo.C (PainterInfo): add new member erased_.
356 * rowpainter.C (RowPainter): add erased_ member, initialized from
358 (paintInset): pass erased_ to Inset::draw.
360 * lyxfunc.C (lookupChange): new function. Tells whether change
361 tracking is disabled at a given postion.
362 (getStatus): disable some actions when in deleted text with change
365 2005-08-03 John Levon <levon@movementarian.org>
367 * tabular.C (appendColumn, setMultiColumn): adapt to change to
370 * paragraph_pimpl.C (markErased): add bool argument and handle it.
371 Also make sure to mark insets recursively.
372 (rejectChange, erase): be recursive
374 * paragraph.C (markErased): add bool argument.
375 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * lyxfind.C (findNextChange): tiny cleanup.
379 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
380 change tracking with the cursor in an inset; make sure the first
381 change is not skipped.
383 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
385 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
386 tabularStackDirty to work around bug 1919 (tabular needs
387 to know whether its own cell paste buffer or the one of
389 * CutAndPaste.C: mark tabular_stack_ clean after copy.
391 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
395 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
397 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
398 use old deleteion algorithm when changetracking is on.
400 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
402 * messages.C (get): add debug output.
404 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
406 * text.C (cursorX): fix bug 1965: cursor movement at
407 line end broken in RtL.
408 (drawSelection): fix bug 1970: drawing of single-line
409 selection broken for RtL.
411 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
415 * dociterator.h (clear, push_back, pop_back): change from
418 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
419 and changed to just return the value of the item depth; take a
420 ParIterator as argument; take the itemdepth at outer nesting level
421 in account if necessary; cleanup and comment the code.
422 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
423 and changed to just return true if reset is needed; take a
424 ParIterator as argument; cleanup and comment the code.
425 (setCounter): adapt to above changes.
427 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
429 * text3.C (dispatch): make debug message optional
431 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
433 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
436 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
438 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
440 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
442 * text.C (insertChar):
443 * text2.C (deleteEmptyParagraphMechanism): take care whether
444 a blank has been deleted (in change tracking mode) (bug 1254).
446 2005-07-20 John Levon <levon@movementarian.org>
448 * text2.C (insertStringAsLines): remove old dubious code,
451 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
453 * MenuBackend.C (expandToc): use Floating::listName() as title of
456 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
458 * toc.[Ch]: Do not use translatable strings (bug 1870).
460 2005-07-20 John Levon <levon@movementarian.org>
462 * tabular.C: fix 1748 - setting multicolumn adds
463 left line to the first cell
465 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
468 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
471 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
473 * messages.C: supress some lyxerr messages
475 2005-07-18 Juergen Vigna <jug@lyx.org>
477 * text.C (drawSelection): honor boundary when asking for cursorX.
479 2005-07-17 José Matos <jamatos@fc.up.pt>
481 * tabular.C (recalculateMulticolumns): fix handling of one column
484 2005-07-17 Juergen Vigna <jug@lyx.org>
486 * text.C (Delete, backspace): fixed so that paragraph with the
487 same layout can be merged by Delete/Backspace.
489 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
491 * text.C (readParToken): fix spelling.
493 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
495 * text2.C: fix counter update for DEPM problem reported by
498 2005-07-17 Juergen Vigna <jug@lyx.org>
500 * BufferView_pimpl.C (setBuffer): save/restore the
501 cursor/selection when switching buffers
504 * buffer.C (saveCursor): add saveDocumentIterators to save the
505 cursor when switching buffer.
507 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
510 * buffer.C: clarify message
512 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
514 * dociterator.C (DocIterator): fix initialization order
516 2005-07-17 Juergen Vigna <jug@lyx.org>
518 * text2.C (cursorHome):
519 * text.C (drawSelection, cursorX):
520 * dociterator.C (textRow): add boundary to getRow() call
522 * paragraph.C (getRow): implementation of below
524 * paragraph.h: add parameter boundary for getRow() function
526 2005-07-17 José Matos <jamatos@fc.up.pt>
530 * tex-strings.[Ch]: new file format, remove support for a4.sty,
531 a4wide.sty and a4widemargins.
533 2005-07-17 Juergen Vigna <jug@lyx.org>
535 * text2.C (cursorLeft): fix one of error
537 2005-07-17 Juergen Vigna <jug@lyx.org>
539 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
541 more fixes for boundary handling
543 * text3.C (dispatch): don't reset cursor if boundary has changed
546 2005-07-16 Juergen Vigna <jug@lyx.org>
548 * text2.C (getColumnNearX): hopefully got it right now,
549 check if we are on column 0 for special case.
551 2005-07-16 Juergen Vigna <jug@lyx.org>
553 * text2.C (getColumnNearX): handle special case Newline Inset
555 * text.C (singleWidth): Just remove bogus check
557 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
559 * funcrequest.C (split): avoid reading uninitialized char c
561 2005-07-16 José Matos <jamatos@fc.up.pt>
567 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
568 single papersize variable.
570 2005-07-16 Juergen Vigna <jug@lyx.org>
572 * text3.C (dispatch): honor boundary when checking if a cursor
573 movement has been done
575 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
576 (setCursor, setCursorIntern): fix cursor movement with boundary
578 2005-07-16 Juergen Vigna <jug@lyx.org>
580 * text.C (currentState): output the actual Boundary
582 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
584 * factory.C (createInset): fix bad logic for tabular creation
586 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
588 * lyx_main.C (init): change some reLyX reference to tex2lyx
590 2005-07-16 Juergen Vigna <jug@lyx.org>
592 * dociterator.C (DocIterator): initialize boundary
594 2005-07-16 Juergen Vigna <jug@lyx.org>
596 * text2.C (getColumnNearX): Consider rows without trailing blank.
598 2005-07-16 André Pönitz <poenitz@gmx.net>
600 * lyxfont.h: Change order of declarations to give the compiler
601 a better chance to inline things
603 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
604 questions on unsaved docs for better scritability
606 2005-07-16 André Pönitz <poenitz@gmx.net>
608 * paragraph.h (getChar): remove asserts as the same kind of security
609 can be achieved by using a suitable standard library implementation
610 and the function was in the critical path (25.9% in profiler)
612 2005-07-16 Juergen Vigna <jug@lyx.org>
614 * cursor.C (bruteFind2):
615 * bufferview_funcs.C (coordOffset):
616 * text.C (cursorX,cursorY): Handle cursor position after last char
617 in row before a inset which uses a whole row.
619 2005-07-15 José Matos <jamatos@lyx.org>
621 * output_plaintext.[Ch] (writeFileAscii): control reference title
623 (asciiParagraph): noparbreak was already deal and was incorrectly
626 2005-07-15 Juergen Vigna <jug@lyx.org>
628 * lyxfunc.C (dispatch): save and restore the cursor after a
631 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
633 * text.C (backspace): bug 806 for empty keepempty paragraphs we
634 change the layout to default before letting DEPM do its thing.
636 * paragraph_funcs.C (breakParagraph): dont reset the layout on
639 * text.C (setCursorFromCoordinates): add a debug statement
641 * text2.C (getColumnNearX): bug 1825 make sure that we don't
642 return a pos that is not on the row
644 * output_latex.C (TeXDeeper): get rid of potential dereferencing
645 of past the end iterator
647 2005-07-14 André Pönitz <poenitz@gmx.net>
649 * undo.C (recordUndoFullBuffer): implement undo for
652 2005-07-14 André Pönitz <poenitz@gmx.net>
654 * cursor.C (setSelection): open insets when selection is set there
655 to avoid crashs with cold coord cache
657 2005-07-14 André Pönitz <poenitz@gmx.net>
659 * trans_mgr.C (insert): move cursor to the right after inserting
662 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
664 * BufferView_pimpl.C (update): dampen some of the debug blabbering
665 * factory.C (readInset): ditto
666 * text.C, text2.C: ditto
668 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
670 * buffer.C: format incremented to 242. There is no file format per
671 se, but the "frenchb" language has been removed from lib/language
672 and has to be translated to "french" by lyx2lyx.
674 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
676 * cursor_slice.h, dociterator.h: add some documentation
677 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
679 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
681 * text.C (leftMargin): do not add identation to display() style
682 insets, because they are always centered (bug 1293).
684 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
686 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
687 formatted_time methods in support/lyxtime.
689 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
691 * toc.[Ch]: new method getGuiName, which is used by the frontends
692 to set the toc combo (fixes bug 1870). Make TOC string translatable.
694 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
696 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
697 StableDocIterator const &)
698 * undo.C (recordUndo): use the above instead of cell.size() comparison
699 (fixes bug 1808; instructed by Andr�.
701 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
704 * dociterator.h: Fix the assert when copying rows/cols in math
706 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
708 * BufferView_pimpl.C:
710 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
712 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
713 (findInset): new functions, refactored from goto Inset that return
714 the position of a certain inset without setting the buffer's cursor
716 (gotoInset): rewrite to call findInset and then set the cursor
719 2005-06-16 Angus Leeming <leeming@lyx.org>
721 * lyxrc.C (output, read): wrap all input and output of paths with
722 calls to os::internal_path and os::external_path, respectively.
723 (output): wrap bind_file inside quotes.
725 * format.C (view): enable the viewer to use the '$$s' placeholder.
727 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
729 * LColor.[Ch] (getFromLaTeXName): new
731 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
733 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
735 2005-06-14 Angus Leeming <leeming@lyx.org>
737 * lyx_main.C (init): ensure that the LyX binary dir is the first
738 element in the PATH on non-POSIX builds.
740 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
742 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
744 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
746 * rowpainter.C (paintInset, paintHebrewComposeChar)
747 (paintArabicComposeChar, paintChars): add a LyXFont argument.
748 (paintChars): use getFontSpan to reduce calls to getFont to a
749 minimum; use Paragraph::lookupChange instead of isXXXText.
750 (paintForeignMark): rename LyXFont argument.
751 (paintFromPos): pass a LyXFont object to the various paintXXX
754 * FontIterator.C (FontIterator, operator++): use
755 Paragraph::getFontSpan
757 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
758 version that returns the font span as a pair.
760 2005-06-09 Angus Leeming <leeming@lyx.org>
762 * converter.C (convert): Don't forget "outfile = real_outfile" as
763 the final step in a conversion where the input and output file names
764 are the same. Otherwise, future conversion steps won't work...
766 2005-06-09 Angus Leeming <leeming@lyx.org>
768 * lyxsocket.C: remove stub code as it isn't needed by
769 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
771 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
773 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
774 effectively disabled -x
776 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
778 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
779 when it actually makes sense.
781 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
783 * BufferView_pimpl.C: revert to showCursor in connection with
784 Lars's front-end stack
786 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
788 * text.C (redoParagraph): move cursor right after a bibitem
791 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
793 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
795 * buffer_funcs.C (bufferErrors): fix computation of the end of an
798 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
800 * BufferView.[Ch] (update):
801 * BufferView_pimpl.[Ch] (update, metrics):
802 * dimension.h (operator==):
803 * lyxfunc.C (dispatch):
804 * metricsinfo.h (ViewMetricsInfo):
805 * rowpainter.C (paintText):
807 * text.C (redoParagraph):
808 * text3.C (dispatch): Make LyX only repaint current paragraph in
809 case of character insert --> speedup. Also fix cursor draw
812 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
815 avoid a crash (bug 1891)
817 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
821 * text2.C (getStringToIndex): constify cur argument.
823 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
824 argument has been given
825 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
826 try to invoke LFUN_INSET_APPLY).
828 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
829 if no inset was created by doInsertInset
830 (doInsertInset): return true if an inset has been inserted.
832 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
834 * vspace.C (asGUIName): new method. A version of the space
835 suitable for showing on screen.
837 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
840 * lyxrc.C: rename "ASCII" to "Plain Text"
842 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
844 * buffer_funcs.C (expandLabel): take a Buffer as argument;
845 translate the labelstring.
846 (setCounter): translate labelstring as needed.
848 * output_docbook.C (makeCommand): fix expandLabel invokation
850 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
852 * BufferView.C: fix dialog title
854 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
856 * lyx_main.C (priv_exec): fix logic error with help from Angus
857 * lyx_main.C (parse_execute): set is_gui = false and remove now
858 obsolete comment about a segfault
860 2005-05-18 Angus Leeming <leeming@lyx.org>
862 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
864 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
866 * tabular.[hC]: added setCellInset to fix tabular paste.
868 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
870 * buffer.C (save): check if destination is writable before trying
873 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
875 * BufferView_pimpl.C (update): fix processEvents -caused update
878 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
880 * buffer_funcs.C (setCounter): fix test for numbering of
883 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
884 depth correctly; use optional argument when it exists
886 * lyxtextclass.C: remove unused MaxCounterTags enum
887 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
888 (max_toclevel, min_toclevel): new methods.
890 * MenuBackend.C (expandToc2): fix case where depth is smaller than
891 the smallest depth in toc.
893 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
894 layouts that should not appear in a table of contents.
896 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
898 * cursor.h (undispatched, noUpdate): add comments from Andr�
899 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
903 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
905 2005-05-07 André Pönitz <poenitz@gmx.net>
907 * cursor.[Ch] (leaveInset): new function
909 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
911 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
913 2005-05-04 Angus Leeming <leeming@lyx.org>
915 * lyxfunc.C (getStatus): disable the spell checker dialog if
916 none of USE_[AIP]SPELL are defined.
918 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
920 * tabular.C (setWidthOfCell): remove obsolete comment
922 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
924 * paragraph.C (bibitem):
925 * buffer_funcs.C (setCounter):
926 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
928 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
930 * text3.C (getStatus): immediately return after setOnOff
932 * rowpainter.C: fix drawing of appendix start
934 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
936 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
937 SwitchBetweenClasses and remove the unused return value.
938 Handle character styles, too
940 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
942 * factory.C (createInset): handle undefined character styles
944 2005-05-02 Angus Leeming <leeming@lyx.org>
946 * buffer.C: protect the #include of utime.h with a preprocessor
949 2005-05-02 Angus Leeming <leeming@lyx.org>
951 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
952 function so that auto-saving works, albeit in a blocking manner.
954 * Makefile.am: make compilation of the client sub directory, of
955 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
956 on conditionals set at configure time.
958 * SpellBase.[Ch]: no longer an abstract base class. Instead,
959 it can be compiled in its own right but has no-op functionality.
961 * aspell.C, pspell.C: remove preprocessor guards. The files should
962 be compiled only if the necessary functionality exists.
964 * lyxserver.C, lyxsocket.C: disable on Windows.
966 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
968 * text.C (leftMargin): Fix the parindent use bug (1764)
971 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
973 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
976 2005-04-25 Angus Leeming <leeming@lyx.org>
984 include <config.h> in .C files, not .h ones.
986 protect headers inside preprocessor guards.
988 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
990 * FuncStatus.h (StatusCodes): document
992 2005-04-21 André Pönitz <poenitz@gmx.net>
994 * FuncStatus.h (enabled, onoff): document
996 2005-04-19 Angus Leeming <leeming@lyx.org>
998 * BufferView_pimpl.C (cursorToggle): no longer test whether
999 any child processes have been reaped before calling
1000 handleCompletedProcesses().
1002 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1004 * text3.C (dispatch): fix, finally fix, the language problem in
1005 new lyxtexts, without disabling on-the-fly font changes (Helge's
1008 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1010 * text3.C (dispatch): set cursor on double/triple click events
1013 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1015 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1016 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1018 * rowpainter.C (paintFirst): simplify the code a little bit. In
1019 particular, remove the test for secnumdepth.
1020 * text.C (setHeightOfRow): only allocate space for chapter number
1021 when updateCounters provided an actual label, instead of looking
1022 at secnumdepth directly.
1024 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1026 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1027 paragraphs when secnumdepth is large enough or, for environments,
1028 when they are not the first in a sequence.
1030 2005-04-17 Angus Leeming <leeming@lyx.org>
1032 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1033 containing space and '~' characters with a call to latex_path().
1035 2005-04-17 Angus Leeming <leeming@lyx.org>
1037 * converter.C (convert): protect all args of convertDefault.sh
1040 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1042 * text3.C (dispatch): change the layout to "Caption" after inserting
1045 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1047 * text3.C (dispatch): fix language problem in newly created
1048 textinsets (and main text) in non-english docs
1050 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1052 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1053 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1054 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1056 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1060 * text2.C (getFont):
1061 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1064 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1066 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1067 output of \item arguments without trailing text.
1069 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1071 * FontIterator.C (operator*): avoid a copy of the font.
1073 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1075 * rowpainter.C (getFont): fix language bug from previous fix
1077 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1079 * rowpainter.C (RowPainter, getFont): fix font inside inset
1082 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1084 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1085 preventing inserted font, deco, delim insets jumping to start of
1088 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1090 * lyxfunc.C (dispatch): translate message before sending it to the
1093 2005-03-29 Angus Leeming <leeming@lyx.org>
1095 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1096 to LyX on the command line.
1098 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1100 * vc-backend.C: use QuoteName to protect file names wherever
1103 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1106 * BranchList.h: fix bugs 1844,1845: document settings don't
1109 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1111 * lyxrc.C (setDefaults, read, output, getDescription): add support
1112 for tex_allows_spaces.
1114 * exporter.C (Export): allows files in directory containing spaces
1115 if tex_allows_spaces is true.
1117 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1118 output it in double quotes.
1120 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1122 * rowpainter.C: use default text height for drawing change tracker
1125 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1127 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1129 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1131 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1132 directory is missing.
1134 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1136 * text2.C: fixed the fix, extended to other case.
1138 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1140 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1142 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1144 * text2.C (cursorUp): get rid of a crash
1145 * text.C (x2pos): add an assert
1147 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1149 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1153 * dociterator.C: include <boost/current_function.hpp>, which is
1154 needed when assertions are disabled.
1156 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1158 * text2.C: fix for stuck cursor when traversing two
1159 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1161 2005-02-25 Andreas Vox <avox@arcor.de>
1163 * output_docbook.C (makeParagraph): suppress trailing newline
1164 after a run of paragraphs
1166 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1168 * paragraph.C: fix for confused change tracker when pasting
1169 text that begins with a lineseparator. [bug 1827]
1170 (setChange(0, Change::INSERTED);)
1172 * paragraph_funcs.C: fix for lost changes on triple-paste
1173 in change tracking mode [bug 1827] (par.setChange()).
1175 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1177 * text2.C (updateCounters, setCounter, expandLabel): move to
1180 * buffer_funcs.C (updateCounters): turn into a free standing
1181 function and add a buffer parameter. Remove dead code for tracking
1183 (setCounter): change into a free-standing function which gets a
1184 dociterator as argument. Use this iterator to fix captions in a
1185 simple way. When no float is found above the caption, use the
1186 labelstring of the caption layout as default.
1188 * text.C (breakParagraph, backspace):
1189 * text2.C (init, setLayout, changeDepth):
1190 * text3.C (dispatch):
1191 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1194 * dociterator.C (forwardPar): make it much faster by calling
1195 forwardPos() only when really necessary.
1197 * output_docbook.C (makeCommand): adapt to expandLabel move.
1199 * cursor.C: remove unused variable
1201 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1203 * paragraph_funcs.C: fix crash when pasting insets in change
1204 tracking mode [bug 1277] (honour change type in moveItem).
1206 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1208 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1210 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1212 * BufferView.C (setCursor): change to use a DocIterator.
1213 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1214 (putSelectionAt): adapt to BufferView::setCursor change.
1216 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1217 moved here from LyXText and rewritten to use proper cursor
1218 methods. Fixes bug 1787, 616 and 835.
1220 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1221 when inside an inset (part of bug 781).
1222 (dispatch): adapt to change of BufferView::setCursor.
1223 (getStatus, dispatch): handle LFUN_GOTOERROR,
1224 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1226 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1227 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1228 * text3.C (gotoNextInset, gotoInset): removed.
1230 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1232 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1234 2005-02-15 Angus Leeming <leeming@lyx.org>
1236 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1237 can be used meaningfully in a comparison.
1239 2005-02-13 André Pönitz <poenitz@gmx.net>
1241 * bufferview_funcs.C (coordOffset): improve cursor drawing
1243 2005-02-13 André Pönitz <poenitz@gmx.net>
1245 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1246 * Cursor.C (dispatch): use fixIfBroken
1247 * lyxfunc.C (getStatus): use fixIfBroken
1249 2005-02-15 Angus Leeming <leeming@lyx.org>
1251 * lyx_main.C (error_handler):
1253 * lyxrc.C (setDefaults):
1255 #include "environment.h".
1257 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1259 2005-02-15 Angus Leeming <leeming@lyx.org>
1261 * lyxserver.C (startPipe): squash MSVC warning "local variable
1262 'fd' used without having been initialized".
1264 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1266 * BufferView_pimpl.C: revert accidental commit.
1268 2005-02-14 André Pönitz <poenitz@gmx.net>
1270 * dociterator.[Ch]: new member forwardPosNoDescent(),
1271 which doesn't enter nested insets.
1272 * text2.C (setFont): use forwardPosNoDescent() instead
1273 of ForwardPos() (fixes crash on font change).
1275 2005-02-13 Angus Leeming <leeming@lyx.org>
1277 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1278 only if lyxrc.path_prefix is not empty.
1280 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1282 * bufferparams.C (readGraphicsDriver): prevent crash
1284 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1286 * text2.C (setCounter): check for inInset() == 0
1288 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1290 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1291 but use update() to get correct screen display; use convert
1292 instead of istringstream.
1293 (getStatus): handle LFUN_GOTO_PARAGRAPH
1295 * lyxfunc.C (dispatch, getStatus): do not handle
1296 LFUN_GOTO_PARAGRAPH here.
1298 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1300 * text3.C (dispatch): size() -> depth()
1302 * text2.C: remove some debug output
1304 * paragraph.C: ws changes only
1306 * lyxfunc.C (getStatus): size() -> depth()
1308 * dociterator.h (clear, push_back, pop_back, internalData,
1309 operator[], resize, empty): new functions
1310 Make StableDocIterator and operator== be friends. Don't inherit
1311 from std::vector use a privat class variable slices_ instead.
1314 * dociterator.C: update because of not inheriting from std::vector
1315 anymore. Call explictly to slices_ instead. Use depth() instead of
1316 size() and top() instead of back()
1318 * cursor.C: chagne size() -> depth and back() -> top(). Also
1319 remove some direct operator[](i) calls in favour of foo[i]
1320 (getFont): remove some dead code
1322 * bufferview_funcs.C (coordOffset): size() -> depth()
1324 * buffer.C: ws changes only
1326 * CutAndPaste.C (eraseSelection): back() -> top()
1328 * BufferView_pimpl.C (selectionRequested): back() -> top()
1330 * BufferView.C (setCursor): size() -> depth()
1332 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1334 * text3.C (cursorPrevious): return true if depm changed something
1336 (dispatch): rename sl to oldTopSlice, remove moving use the new
1337 NoUpdate func attrib instead. Make sure that needsUpdate is set
1338 for function that have NoUpdate, but where depm might have changed
1341 * text2.C (cursorLeft): make us return true if depm changed
1343 (cursorRight): ditto
1344 (cursorUpParagraph): ditto
1345 (curosrDownParagraph): ditto
1346 (cursorUp, cursorDown): ditto, make sure to read comments in code
1347 (deleteEmptyParagraphMechanism): remove an assert, also return
1348 true if just a single char was deleted.
1350 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1351 cursor that we modify, to avoid modifying an active cursor before
1352 we call setCursor. This allows depm to run. Also return true if
1353 depm deleted something.
1355 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1356 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1357 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1358 something was changed in the buffer because of them (ie. depm run)
1360 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1361 debug messages. Make update by default be false. Make sure that
1362 the result of update is retained throught several calls down to
1365 * LyXAction.h: add a new func_attrib: NoUpdate
1367 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1368 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1369 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1371 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1373 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1375 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1376 bv_->owner(), bv_->buffer() by direct references to the private
1378 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1379 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1380 (fitCursor): center() is in BufferView::Pimpl.
1381 (getStatus, trackChanges, dispatch): no need for a temporary buf
1383 (fitCursor, workAreaDispatch): use workarea().workheight()
1385 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1387 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1389 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1391 * buffer.C: format up to 241.
1392 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1393 break if pasting into ERT
1394 * lyxfunc.C (getStatus): suppress mathpanel and
1395 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1397 2005-02-01 Angus Leeming <leeming@lyx.org>
1399 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1401 2005-02-01 Angus Leeming <leeming@lyx.org>
1403 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1404 calling fs::is_directory().
1406 2005-01-31 Angus Leeming <leeming@lyx.org>
1408 * lyx_main.C (priv_exec): specify explicitly the relative location
1409 of the top level build directory when run in-place.
1411 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1413 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1414 LyXText containing the cursor, not the top-level one.
1416 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1418 (insertStringAsLines): rename par to pit; use temporary variable
1419 par to hold a Paragraph; do not store par.layout() in a variable,
1420 since the pointer may die when breaking paragraphs; pass pars to
1421 breakParagraph() instead of Buffer::paragraphs().
1423 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1425 * lyxlex_pimpl.h: #include <fstream>.
1427 * BufferView.[Ch] (getLyXText): add a const version.
1429 * BufferView_pimpl.C: add debug aids.
1434 * paragraph_funcs.h: add commentary explaining what the class does.
1437 * coordcache.[Ch]: add lots of commentary.
1438 (startUpdating, doneUpdating): debug aids.
1439 (arrays, insets, parPos, getParPos): accessors to private data.
1441 * cursor_slice.[Ch] (text): add a const version.
1442 * dociterator.[Ch] (text, innerText): add const versions.
1444 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1447 * paragraph.C (getRow, pos2ros): add asserts.
1449 * paragraph.h: add commentary. Lots of.
1451 * paragraph.[Ch] (metrucs, draw): removed.
1454 * rowpainter.[Ch]: const-correct changes.
1456 * text.C: various obvious clean-ups. Removal of ancient cruft.
1459 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1461 * vc-backend.C (find_file): rewrite to use boost.filesystem
1464 * main.C (main): set default name check for boost.filesystem to
1467 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1470 (actOnUpdatedPrefs): ditto
1472 * lyx_main.C (init): rewrite to use boost.filesystem
1473 (queryUserLyXDir): ditto
1475 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1476 (getContentsOfAsciiFile): ditto
1478 * lastfiles.C (readFile): rewrite to use boost.filesystem
1480 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1482 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1483 (loadLyXFile): ditto
1485 * buffer.C (Buffer): adjust for destroydir
1486 (getLogName): rewrite to use boost.filesystem
1487 (setFileName): ditto
1488 (save): use fs::copy_file (from fs_extras)
1490 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1492 * LaTeX.C (run): rewrite to use boost.filesystem
1493 (scanAuxFiles): ditto
1494 (handleFoundFile): ditto
1496 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1498 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1500 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1502 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1504 * lyxlayout.[Ch]: change some vars from float to double
1506 * buffer.C (readFile): make a local var const
1508 * Several files: use convert<> instead of atoi,strToXXX and friends
1510 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1512 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1513 holds the contents of packages.lst. New functions getAvailable
1514 and isAvailable to parse and check that list, resp.
1518 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1520 * bufferparams.[Ch]: new param output_changes.
1522 * Buffer.C: increase file format to 240.
1523 Use output_changes and isVailable.
1527 * paragraph_pimpl.C: Use output_changes and isVailable.
1529 2005-01-23 Angus Leeming <leeming@lyx.org>
1531 * output_latex.C: #include "insetbibitem.h", rather than
1532 forward declare function bibitemWidest.
1534 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1536 * lyx_main.C (init): make it compile on the Mac.
1538 2005-01-20 Angus Leeming <leeming@lyx.org>
1540 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1541 (setLyXMisc): (char string literal) != (char string literal) is
1542 performing a comparison on the addresses. Convert one operand
1543 explicitly to string to guarantee expected behaviour.
1546 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1549 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1551 * output_plaintext.C: remove unneeded #include gzstream.h.
1553 2005-01-20 Angus Leeming <leeming@lyx.org>
1555 * SpellBase.h: rename some of the elements of the Result enum.
1562 * pspell.C (check): ditto
1564 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1566 * buffer.C: add #include <fstream>.
1568 * lyx_main.C (init): Compile fix.
1570 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1572 2005-01-20 Angus Leeming <leeming@lyx.org>
1574 * mover.h: change commentary to reflect the changed meaning of
1575 the $$s placeholder.
1577 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1579 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1581 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1583 2005-01-20 Angus Leeming <leeming@lyx.org>
1585 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1586 printing diagnostic data by not dereferecing an iterator past the
1589 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1591 * buffer.C (readHeader): use "&&" rather than "and".
1593 * lyxserver.h (inPipeName, outPipeName): make these const.
1595 2005-01-19 Angus Leeming <leeming@lyx.org>
1597 * lyx_main.C (error_handler, init): protect SIGHUP with
1598 #ifdef SIGHUP guards.
1600 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1602 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1604 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1606 * text.C (setHeightOfRow): add a margin at the top and bottom of
1607 the document (bug 1761)
1609 2005-01-17 Angus Leeming <leeming@lyx.org>
1611 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1612 with "python ". Workaround for a brain-dead Windows.
1614 2005-01-16 Angus Leeming <leeming@lyx.org>
1616 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1617 for MacOSX and Windows to use prependEnvPath.
1618 Strip out the hard-coded block to add elements to the PATH for
1619 MacOSX and replace it with a call to prependEnvPath using the
1620 contents of LyXRC::path_prefix.
1621 (queryUserLyXDir): strip out the code to run reconfigure, instead
1622 returning a boolean indicating the necessity to do so.
1623 (reconfigureUserLyXDir): contains the code to reconfigure the
1624 user support directory. Is now called after the various LyXRC data
1625 files have been read.
1627 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1629 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1631 * converter.[Ch] (convert): take a new parameter try_default. Use
1632 a default converter (imagemagick) if try_default is true.
1634 2005-01-13 Angus Leeming <leeming@lyx.org>
1636 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1637 os::cygwin_path_fix.
1638 (write): output LyXRC::cygwin_path_fix as necessary.
1640 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1643 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1645 2005-01-12 Angus Leeming <leeming@lyx.org>
1647 * lyx_main.C (init): set the PATH variable to include the
1648 directory containing the LyX binary when running on Mac or Windows.
1650 2005-01-12 Angus Leeming <leeming@lyx.org>
1652 * lyx_main.C (init): remove cruft that purports to set the locale
1653 dir. It doesn't and is not needed anyway.
1655 2005-01-10 Angus Leeming <leeming@lyx.org>
1657 * Makefile.am: remove the lyx_main.C special casing.
1659 * BufferView_pimpl.C:
1665 * messages.C: use support/package.h to provide the paths to the
1666 various directories used by LyX.
1668 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1670 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1671 layout if pasting into an empty paragraph)
1673 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1675 * tex-accent.C: add <string>
1677 2005-01-06 José Matos <jamatos@lyx.org>
1679 * ParagraphParameters.C (write): put every parameter in its own line.
1680 * paragraph.C (write): reduce number of consecutive empty lines exported.
1681 * buffer.C (LYX_FORMAT): increase file format to 239.
1683 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1685 * everywhere: change support/tostr.h -> support/convert.h
1687 * tabular.C: make all write_attributes templates, tostr -> convert
1689 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1690 (emptyTag): and -> &&, and fix type for ret from getChar
1691 (getFirstWord): fix type for ret from getChar
1692 (onlyText): and -> &&
1693 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1696 * toc.C (goTo, action):
1697 * text3.C (dispatch):
1698 * text.C (currentState):
1699 * tex-accent.C (DoAccent):
1702 * lyxfunc.C (menuNew):
1703 * lyxfinc.C (replace):
1704 * counters.C (laberItem):
1705 * bufferview_funcs.C (font2string):
1706 * bufferparams.C (writeFile):
1707 * buffer.C (readFile):
1709 * MenuBackend.C: tostr -> convert
1711 * LaTeX.C (runMessage): fix format
1712 (scanAuxFiles): tostr -> convert
1714 * BufferView_pimpl.C (savePosition): fix format
1715 (restorePosition): ditto
1718 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1720 * Spacing.[Ch]: New method getValueAsString().
1724 * ParagraphParameters.C:
1727 * text3.C: store/read spacing value as string.
1729 * rowpainter.C: change float value (spacing_val) to double.
1731 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1732 broken custom document spacing).
1734 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1736 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1737 namespace, also more use of temp references and const
1739 * cursor.[Ch] (getStatus): move to lyxfunc.C
1741 * bufferparams.C: reformat slightly
1743 * bufferview_funcs.C (font2string): constify arg
1749 * buffer_funcs.C: (many funcs): constify arg on function
1750 definitions, also make more local vars const, also add ASSERTS on
1753 * buffer.C (LYX_FORMAT): put const in correct place
1754 (many funcs): constify arg on function definitions, also make
1755 more local vars const
1757 * aspell_local.h: remove "struct" from typdef setup
1759 * aspell.C (check): make word_ok const
1760 (nextMiss): simplify slightly
1763 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1765 * lyxrc.[Ch]: store all float values as strings.
1766 use int (not float) for lyxrc.dpi.
1768 2005-01-04 Angus Leeming <leeming@lyx.org>
1770 * lyx_cb.C (Reconfigure):
1771 * lyx_main.C (queryUserLyXDir):
1772 to run the <system_lyxdir>/configure correctly on Windows, prefix
1773 the path to the script with "sh " when generating the string that
1774 is passed to system().
1776 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1778 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1780 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1782 * lyxlength.C (asLatexString): get rid of setprecision
1784 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1786 * text2.C (setLayout): remove unused variable endpit.
1787 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1789 * paragraph.C (onlyText): remove unused variable style.
1791 * cursor.C (bruteFind): remove unused variables beg and end.
1793 * Makefile.am (dist_noinset_DATA): not needed anymore
1795 * cheaders/*: remove.
1797 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1799 * text3.C: fix LFUN_MATH_MODE.
1801 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1803 * buffer_funcs.C (countWords): new function. Counts words between
1806 * BufferView_pimpl.C (getStatus, dispatch): handle
1809 * LyXAction.C (init):
1810 * lfuns.h: add LFUN_WORDS_COUNT.
1812 2004-12-19 Angus Leeming <leeming@lyx.org>
1814 * buffer.C (save): s/slashify_path/internal_path/.
1816 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1818 * lyxfind.C (findChange): do not search for end of pars, because
1819 the change tracker cannot handle this (fixes bug 1719).
1821 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1823 * paragraph.[Ch] (autoBreakRows): remove
1825 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1827 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1828 avoid using the paragraph one
1830 * text2.C (LyXText, insertStringAsLines): adjust
1832 2004-12-16 Angus Leeming <leeming@lyx.org>
1836 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1838 2004-12-14 Angus Leeming <leeming@lyx.org>
1840 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1842 * bufferlist.C (emergencyWrite):
1843 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1846 2004-12-14 Angus Leeming <leeming@lyx.org>
1848 * main.C: (main): no longer pass pointers to os::init.
1850 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1852 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1853 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1855 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1858 * text3.C: remove selection_possible global flag
1860 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1862 * text2.C (getSelectionSpan): remove
1863 (changeDepth, changeDepthAllowed): adjust
1865 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1867 * Makefile.am (BOOST_LIBS): use boost variables
1869 2004-12-03 José Matos <jamatos@lyx.org>
1871 * buffer.C: format up to 238.
1873 2004-12-03 José Matos <jamatos@lyx.org>
1875 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1877 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1879 * cursor.C (goUpDown): remove call to idxUpDown2
1881 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1883 * tabular.[Ch]: use size_t-like types for cell, row and column
1886 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1888 * lyxfunc.C (getStatus): do not lose previous information when
1889 calling BufferView::getStatus; do not set a default "Command
1890 disabled" message at the beginning, but just before returning.
1892 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1894 * cursor.h (getStatus): add better comment from src/cursor.C
1896 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1898 * text3.C (getStatus): return false when the lfun is not handled
1900 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1902 * broken_headers.h: remove
1904 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1906 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1908 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1909 offset_ref accessors
1911 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1912 top_y_, merge fitcursor with update
1913 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1915 (metrics): introduce
1916 (workAreaDispatch): adapt to new coord scheme
1917 (redoCurrentBuffer): remove
1919 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1921 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1924 * coordcache.[Ch]: add paragraph cache and helpers
1926 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1929 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1930 (targetX, setTargetX): introduce
1932 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1933 baseline -> ascent, as the rest of lyx
1935 * lyxtext.h: remove redoParagraphs, updateParPositions,
1936 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1937 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1938 have ascent/descent (ascent is ascent of first par)
1940 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1943 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1945 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1947 * pariterator.C: fix infinite loop introduced in par->pit renaming
1949 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1950 in insets and LyXText, draw two off-screen paragraphs using
1951 NullPainter, and adapt to new coord scheme
1955 * text3.C: adapt lfun handlers to the new coord scheme, which
1956 means: there's only guaranteed coord information for onscreen pars
1957 plus one above and one below. This implies that one can do search
1958 from y coordinates in the range [-1,workHeight]
1960 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1962 * rename a lot of InsetOld to InsetBase
1964 2004-11-25 Angus Leeming <leeming@lyx.org>
1966 * BufferView_pimpl.C:
1968 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1970 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1972 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1973 call BufferView::getStatus if LCursor::getStatus did nothing
1974 (setStatusMessage, getStatusMessage): removed.
1976 * FuncStatus.C (message): new methods. Used to provide an error
1977 message indicating why a command is disabled.
1978 (clear, |=, FuncStatus): update for message.
1980 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1982 * lyxfunc.C (dispatch): always call sendDispatchMessage
1984 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1987 * BufferView_pimpl.C:
1992 * cursor_slice.[Ch]:
1995 * paragraph_funcs.C:
2001 * undo.C: par->pit renaming
2003 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2005 * tabular.C (cellstruct): use initialization, store a shared_ptr
2006 to insettext instead of the insettext directly, adjust to fit.
2007 (operator=): new function
2008 (swap): new function
2009 (rowstruct): use initialization
2010 (columnstruct): use initialization
2011 (ltType): use initialization
2014 * lyxlength.h (swap): new function
2016 * LColor.[Ch] (operator=): use the common semantics
2018 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2020 * lyxfind.C (findNextChange): update the bufferview after setting
2023 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2025 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2026 number of InsetOptArgs has already been inserted.
2028 * output_latex.C (latexOptArgInsets): new method. This outputs all
2029 the optarg insets, up to the limit defined in the layout file.
2030 (optArgInset): removed
2031 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2033 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2035 * paragraph.C (isLetter): remove special spellchecker-related
2036 code; return true also for digits
2037 (isWord, isKomma): remove
2039 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2040 * lyxfind.C (MatchString()): use isLetter instead of isWord
2042 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2044 * pariterator.h (operatir=): comment out un-implemented member
2047 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2050 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * lyxfont.h: include LColor.h to satisfy concept checks.
2054 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * pariterator.h: add typdefs for value_type, difference_type,
2057 pointer and reference to satisfy concept checks. Also add default
2058 constructor for same reason.
2060 * pariterator.C (operator++): add post-increment operator to
2061 satisfy concept checks.
2063 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2066 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2068 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2069 checks. Also rename base_type to BaseType to follow naming
2072 * FloatList.h: include Floating.h to satisfy concept checks.
2074 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2076 * lyxfunc.C (getStatus): when the origin of the request is menu or
2077 toolbar, and the LyXView does not have focus, do as if there was
2078 no buffer (bug 1720)
2080 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2081 FuncRequest to individual entries of LFUN_SEQUENCE
2083 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2085 * output_latex.C (TeXOnePar): override runparams.moving_arg
2086 according to the needprotect value of the current paragraph (bug
2089 * paragraph.C (simpleTeXOnePar): no need to override
2090 runparams.moving_args here
2092 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2094 * vspace.C: fix off-by-one-error, related to fix #1682
2096 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2098 * lengthcommon.C: a more general fix for bug 1682
2100 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2102 * text.C (backspace): fix crash
2104 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2106 * format.[Ch] (getFormatFromFile): new method
2107 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2109 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2111 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2113 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2115 * lyxfunc.C (dispatch): remove the verbose argument
2116 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2119 * kbmap.C (defkey): set the origin of func to KEYBOARD
2121 * MenuBackend.C (MenuItem):
2122 * ToolbarBackend.C (add): set the origin of func to UI
2124 * funcrequest.[Ch]: add origin member, which indicates which part
2125 of LyX requests an action
2127 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2129 * converter.C (move): don't lie in the error message
2130 * converter.h (isReachable, move): document
2132 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2134 * buffer.C: remove unused using lyx::support::atoi
2135 * paragraph_funcs.C: ditto
2137 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2139 * bufferlist.C (exists): use bind and equal_to instead of
2142 * lyxtextclasslist.C (NumberOfClass): ditto
2144 * cursor.C (insert): use for_each instead of explicit for loop
2146 * bufferlist.C (getFileNames): use std::transform and
2147 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2149 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2152 * buffer.C (changeLanguage): use for_each instead of explicit for
2154 (hasParWithID): implement using getParFromID
2156 * LaTeXFeatures.C: ws change only
2158 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2161 * BufferView_pimpl.C (trackChanges): use for_each instead of
2164 2004-11-04 André Pönitz <poenitz@gmx.net>
2167 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2169 * dociterator.C (asDocIterator): use hard assert again.
2171 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2173 * lyxlength.C (asLatexString): rewrite so that it does not use
2176 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2178 * text3.C (specialChar, dispatch): make sure cursor moves to the
2179 right after inserting an inset
2181 2004-11-02 José Matos <jamatos@lyx.org>
2183 * output_docbook.C (docbook):
2184 * paragraph.C (getID):
2185 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2186 garantee that the output is always legal.
2188 * tabular.C (docbook):
2189 * outputprams.[Ch]: remove mixed contents.
2191 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2193 * text2.C (setCounter): prevent endless loop
2195 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2197 * exporter.C (copyFile): use the mover instead of support::copy()
2198 * exporter.C (Export): pass format and latex name to copyFile()
2199 * exporter.h (addExternalFile): document
2200 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2202 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2204 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2206 2004-10-30 José Matos <jamatos@lyx.org>
2208 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2209 text and no inset or font change. This allows to use CDATA
2210 sections just for the whole paragraph.
2212 2004-10-30 José Matos <jamatos@lyx.org>
2214 * paragraph.C (getFirstWord): remove unused variable.
2216 2004-10-30 José Matos <jamatos@lyx.org>
2218 * paragraph.C (getFirstWord): the content should always be escaped
2220 (simpleDocBookOnePar):
2221 * output_docbook.C (makeEnvironment): replace reference to CDATA
2224 2004-10-30 José Matos <jamatos@lyx.org>
2226 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2228 2004-10-30 José Matos <jamatos@lyx.org>
2230 * output_docbook.C (makeParagraphs):
2231 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2232 standard paragraph has only a given type of content drop the wrapper.
2234 2004-10-29 José Matos <jamatos@lyx.org>
2236 * output_docbook.C (makeEnvironment):
2238 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2240 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2242 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2243 (cleanID): sanitize any id.
2245 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2247 * buffer.C, lyxlex_pimpl.C:
2248 * lyxlex_pimpl.C (setFile):
2249 s/getExtFromContents/getFormatFromContents/
2251 2004-10-28 José Matos <jamatos@lyx.org>
2253 * output_docbook.C (makeEnvironment): move id to broadest possible
2256 * sgml.C (openTag): apply substitution of <> for all attributes.
2258 2004-10-28 José Matos <jamatos@lyx.org>
2260 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2261 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2262 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2264 * sgml.[Ch]: new version for open and closeTag for paragraph and
2265 for strings. Now they handle the ids of paragraphs.
2267 2004-10-26 Angus Leeming <leeming@lyx.org>
2269 * Makefile.am: add mover.[Ch].
2271 * converter.C (convert, move): use the new Movers to move external
2272 files to the temp directory.
2274 * lyx_main.C (init): ensure that the global system_movers data
2277 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2280 * mover.[Ch]: new files, defining a Mover as a utility to move an
2281 external file between directories and, if necessary, manipulate this
2282 file using a helper script.
2284 2004-10-25 José Matos <jamatos@lyx.org>
2286 * output_docbook.C (makeCommand): merge two if's that tested the
2289 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2291 * sgml.C (escapeString): fix warning in a better way
2293 2004-10-25 José Matos <jamatos@lyx.org>
2295 * sgml.C (escapeString): import the require boosts header file for
2296 tie, and avoid a signed unsigned comparison.
2298 2004-10-25 José Matos <jamatos@lyx.org>
2300 * sgml.h: add #include <string>
2302 2004-10-25 José Matos <jamatos@lyx.org>
2304 * sgml.[Ch] (escapeString): new function to escape all the string.
2306 2004-10-24 José Matos <jamatos@lyx.org>
2308 * paragraph.[Ch] (getFirstWord): new function to get the first
2309 word. Useful for description.
2310 (simpleDocBookOnePar): remove depth argument, add another that
2311 says where to start the paragraph.
2313 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2314 use the new functions to fix cleanly the support for descriptions.
2316 2004-10-24 José Matos <jamatos@lyx.org>
2318 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2319 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2320 * output_linuxdoc.C (linuxdocParagraphs):
2321 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2322 add buffer as argument.
2324 2004-10-24 José Matos <jamatos@lyx.org>
2326 * output_docbook.C (makeEnvironment, searchEnvironment): place
2327 CDATA inside paragraphs and fix scope for listitems.
2329 2004-10-24 José Matos <jamatos@lyx.org>
2331 * output_docbook.C: remove using statement for stack.
2333 2004-10-23 José Matos <jamatos@lyx.org>
2335 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2336 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2337 docbook. The new scheme is recursive and makes use of iterators, the
2338 same as latex export works.
2339 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2340 directly with the paragraph contents. This code was moved up to
2341 output_docbook.C (docbookParagraphs).
2342 * sgml.C (openTag, closeTag): removed unneeded newlines.
2343 (closeEnvTags) removed.
2345 2004-10-23 André Pönitz <poenitz@gmx.net>
2347 * undo.C (textUndoOrRedo):
2348 * dociterator.C (asDocIterator): work around crash
2350 * cursor.C (getStatus): replace ASSERT by more verbose error message
2351 and manual correction of the problem. Should increase stability
2352 while providing more sensible information.
2354 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2356 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2358 * bufferlist.C (previous, next): new methods
2361 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2363 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2365 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2366 entities to preamble.
2368 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2370 * messages.C (Pimpl): strip off translation context information
2372 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2374 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2375 the cursor is correct (bug 1694)
2377 2004-10-13 José Matos <jamatos@lyx.org>
2379 * output_docbook.C (docbookParagraphs): fix closing tags in the
2380 end of the document.
2382 2004-10-09 José Matos <jamatos@lyx.org>
2384 * buffer.C: format up to 237.
2385 * bufferparams.C (write): use tostr to convert booleans to strings.
2387 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2389 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2391 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2393 * LaTeX.C: implement use of babel language in xindy.
2395 2004-10-05 José Matos <jamatos@lyx.org>
2397 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2398 Add new translators to help reading and writing the lyx file.
2400 2004-10-05 José Matos <jamatos@lyx.org>
2402 * ParagraphParameters.C (read):
2403 * text.C (readParToken): replace nexToken by more appropriate lex
2406 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2408 * LaTeX.C (runMakeIndex):
2409 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2410 (usually 'makeindex') configurable.
2412 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2413 with a variable rather than with a number.
2415 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2417 * output_latex.C (TeXOnePar): make sure font setting is the first
2418 thing that gets output (and the last at the end). Should fix bug
2421 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2423 * pch.h: use proper signal include
2425 * LaTeX.h: Use preferred calling of Boost.Signal
2428 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2430 * pch.h: dont include <boost/function/function0.hpp>
2432 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2434 * paragraph_pimpl.h: remove usage of ShareContainer
2436 * paragraph_pimpl.C: remove initialization of ShareContainer.
2438 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2442 * BufferView.C (putSelectionAt): change the semantics when
2443 backwards == true: now, this just swaps cursor and anchor wrt the
2446 * BufferView.h (putSelectionAt): add some documentation
2448 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2449 make sure backwardChar is done at least once (to avoid getting
2451 (findNextChange): use putSelectionAt in the forward direction
2452 (operator()): use Paragraph::isWord
2454 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2456 * Spacing.C (set): c_str fix
2458 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2460 * lyx_cb.C (Reconfigure): quote the name of configure script in
2461 case it contains spaces
2463 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2467 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2468 (BOOST_LIBS): use top_buildir when looking for the file
2470 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * pch.h: do not use include boost/format.hpp, multiple symbols
2473 will result (gcc bug)
2476 2004-08-23 José Matos <jamatos@lyx.org>
2478 * bufferparams.C (readToken): fix reading of the author field.
2480 2004-08-20 José Matos <jamatos@lyx.org>
2482 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2484 2004-08-20 José Matos <jamatos@lyx.org>
2486 * lyxlex.[Ch] (findToken): remove function.
2488 * ParagraphParameters.C (findToken):
2489 * bufferparams.C (findToken): replace call for previous function
2490 with local copy. This local function has one more argument, the
2491 read string argument.
2493 2004-08-16 José Matos <jamatos@lyx.org>
2495 * ParagraphParameters.C (write):
2496 * Spacing.C (writeFile):
2497 * bufferparams.C (writeLaTeX):
2498 * lyx_cb.C (Reconfigure):
2499 * paragraph.C (write):
2500 * tabular.C (write): remove unnecessary space at end of line.
2503 2004-08-16 José Matos <jamatos@lyx.org>
2505 * text.C (readParagraph): remove debug message.
2507 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2509 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2512 * output_plaintext.C (asciiParagraph): set depth correctly
2514 * outputparams.h: add member depth
2516 * paragraph_funcs.C (ownerPar): remove.
2518 * text2.C (setCounter): remove first_pit; comment out some
2519 non-working code that uses ownerPar
2521 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2524 2004-08-16 José Matos <jamatos@lyx.org>
2526 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2527 For the same level of importance use the same chanel to report problems.
2528 (read): add code to deal with \begin_body and \end_body.
2531 2004-08-15 José Matos <jamatos@lyx.org>
2533 * lyxlex.C (getString): fix comment, buffer::readBody is now
2534 buffer:readDocument.
2536 * tex-strings.C (string_papersize): Default -> default,
2537 Custom -> custom, for consistency with other options.
2539 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * Makefile.am: support pch
2545 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2547 * text.C (readParToken): remove the static LyXFont variable and
2548 pass it as a parameter instead. This fixes a nasty bug where an
2549 inset will be inserted with a bad font in some situations
2550 (readParagraph): adapt
2552 * text2.C (setCounter): reduce number of calls to pars_[pit]
2554 * text.C (singleWidth): add an assert, fix a test
2556 * rowpainter.C (paintText): reduce number of calls to singleWidth
2558 * paragraph.C (isHfill):
2559 (isNewline): ws only
2561 2004-08-14 André Pönitz <poenitz@gmx.net>
2566 * lyxtext.h (several functions): use a Paragraph & argument
2569 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2571 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2573 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2575 * text.C (singleWidth): remove useless test
2577 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2579 * tabular.h: remove bogus comments
2581 * tabular.C (getDescentOfRow):
2582 (isPartOfMultiColumn): add assertions
2584 * lyxlength.C (inPixels): remove #warning
2586 2004-08-14 André Pönitz <poenitz@gmx.net>
2588 * paragraph.h: inline getChar()
2590 * BufferView.h: remove unused declarations
2592 2004-08-14 José Matos <jamatos@lyx.org>
2594 * Buffer.[Ch] (readDocument): new name for old readBody.
2595 * Buffer.C: new file format, new keywords: \begin_document,
2596 \begin_header, \begin_body, \end_body.
2598 * bufferparams.C (readToken): replace all calls to lex.nextToken
2599 by lex.next(). Do the same to eatLine except where really needed.
2601 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2602 line when writing to the lyx file.
2604 * output_plaintext.C (asciiParagraph): fix Bibliography style
2607 * text.C (read): fix end of file handling.
2609 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2611 * MenuBackend.C (Menu::operator[]): new method to access
2612 individual menu items
2613 (Menu::hasFunc): new method. search for an item that corresponds
2615 (MenuBackend::specialMenu): new method
2616 (MenuBackend::expand): if a special menu has been set, skip
2617 entries whose func() appears in this menu
2619 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2621 * text3.C: use Debug::DEBUG a bit more
2623 * text.C (leftMargin): try to simplify a tiny bit change var x to
2624 l_margin. Dont output the wide margins always.
2625 (rightMargin): no margin in inner texts
2627 * rowpainter.h (nestMargin): new func
2628 (changebarMargin): new func
2629 (rightMargin): new func
2631 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2635 * factory.C (createInset): modify setDrawFrame
2637 * cursor.C: use Debug::DEBUG a bit more
2639 2004-08-14 André Pönitz <poenitz@gmx.net>
2642 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2643 cache for all insets in (at least partially) visible (top-level)
2646 * BufferView_pimpl.C: reset external coord cache before every update.
2647 This means the coord cache only contains valid entries.
2649 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2652 * BufferView_pimpl.C (getInsetByCode): move function out of class
2653 and change in to a template in anon namespace. Also fix to do what
2656 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2659 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2661 (breakParagraph): rename par to par_offset and use a local
2662 reference. Add code to keep the language over a rebreak.
2663 (breakParagraphConservative): rename par to par_offset, use a
2665 (mergeParagraph): ditto
2667 (isFirstInSequence): ditto
2668 (outerFont): rename pit to par_offset
2670 * paragraph.C: ws change
2671 * paragraph.h: ditto
2675 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2677 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2680 * paragraph.C (simpleTeXOnePar): when we have a \item with
2681 optional argument, enclose the argument with curly brackets (in
2682 case it contains a closing square bracket)
2686 * text3.C (checkInsetHit): constify
2688 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2690 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2691 documents (bug 1629)
2693 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2695 Fix toggling of collapsable insets with the mouse (bug 1558)
2697 * lyxfunc.C (dispatch): adapt to LCursor changes
2699 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2700 make sure that dispatch is not invoked twice
2702 * cursor.C (needsUpdate): new method
2703 (dispatch): return void
2704 (result): new method, to access the DispatchResult of the cursor.
2706 2004-08-13 José Matos <jamatos@lyx.org>
2708 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2710 2004-08-13 André Pönitz <poenitz@gmx.net>
2712 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2714 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2717 2004-08-12 André Pönitz <poenitz@gmx.net>
2719 * text3.C: take out the 'cursor right' form insertInset and only
2720 do it in those places when it is really needed. Fixes crash on
2723 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2725 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2727 * BufferView_pimpl.C (setBuffer): initialize the current font of
2728 the underlying LyXText
2730 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2732 * kbsequence.C (print): use UI native formatting for menu
2735 * text.C (insertChar): call Paragraph::insertChar with a font
2738 * paragraph.C (insertInset, insertChar): the version that takes a
2739 LyXFont argument is now a wrapper around the other one (the
2740 opposite used to be true).
2742 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2743 argument. Font setting is done in Paragraph now.
2745 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2747 * outputparams.h: add new members intitle and lang.
2749 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2750 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2752 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2754 * text3.C (dispatch): remove special handling of button 4 and 5,
2755 it is now taken care of in the frontend code.
2757 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2759 * Spacing.h: add <string> (STLPort compile fix)
2761 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2763 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2765 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2770 * converter.C (showMessage): inherit from unary_function, make
2773 * buffer.C (writeFile): initialize retval
2775 * InsetList.h: rename private variable list to list_
2776 * InsetList.[Ch]: adjust accordingly.
2778 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2781 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2782 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2783 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2784 * ParagraphParameters.C, LaTeXFeatures.C: replace
2785 "support/std_sstream.h" with <sstream>
2787 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2789 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2790 * lyxsocket.C (LyXServerSocket): ditto
2791 (serverCallback): ditto
2793 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2795 * LaTeXFeatures.C: check release date when loading jurabib.
2797 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2799 * lyxserver.C (startPipe): call register_socket_callback
2800 (endPipe): call unregister_socket_callback
2802 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2804 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2805 (LyXServerSocket): register the callback
2806 (LyXServerSocket): unregister the callback
2807 (fd): delete function
2808 (serverCallback): improve error checking and setup the callbacks.
2809 (dataCallback): change arg to fd.
2810 (writeln): new func (copied fro the client socket) used for server
2812 (LyXDataSocket): simplify
2813 (~LyXDataSocket): close ann unregiser callback
2814 (server): delete function
2815 (fd): delete function
2816 (readln): small changes, improve some std::string usage
2817 (writeln): constify a bit
2819 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2821 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2824 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2826 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2827 after it has been populated
2829 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2831 * text2.C (insertInset): move cursor when inserting inset.
2833 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2835 * kbmap.C (findbindings): a couple of new methods. returns a
2836 container of kb_sequence objects. The real work is done by the
2837 private recursive version
2838 (printbindings): uses findbindings to print out a bracketed list
2839 of bindings (renamed from findbinding).
2841 * MenuBackend.C (binding): use kb_keymap::findbindings
2843 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2845 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2847 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2849 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2851 * paragraph.C (isWord): return true on insets that report
2854 * text.C (getWord): use Paragraph::isWord to decide what is in a
2855 word and what is not; fix bug 1609.
2857 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2859 * tex-strings.C: add "none" to string_paperpackages[], fixes
2860 off-by-one-error in the paperpackage selection.
2863 * tex-strings.[Ch]: char const * string[n]
2864 -> char const * const string[]
2866 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2868 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2869 command, return early.
2871 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * debug.h: add DEBUG to enum and fix size of ANY.
2875 * debug.C: add support for Debug::DEBUG
2876 (showTags): cast errorTags.level to unsigned int
2878 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2879 (redoCurrentBuffer): ditto
2880 (updateScrollbar): ditto
2881 * cursor.C (dispatch): ditto
2882 * text2.C (setLayout): ditto
2884 (updateCounters): ditto
2886 (deleteEmptyParagraphMechanism): ditto
2888 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2890 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2891 annotations to cleanup the Makefile slightly.
2893 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2895 * lyxrc.C: do not set user_email to a default value but use empty
2896 instead. The entry used to be translated, which does not work
2897 since at the point where lyxrc is constructed there is no
2898 translation service available
2900 * messages.C (getLocaleDir): remove and use directly
2901 lyx_localedir() instead
2903 2004-06-02 Angus Leeming <leeming@lyx.org>
2905 Fix crash caused by dereferencing null pointer 'exportdata' in
2906 OutputParams by creating a new ExportData variable on the heap,
2907 storing it in a boost::shared_ptr.
2908 The crash was triggered when generating an Instant Preview
2909 of an external inset.
2911 * Makefile.am: add outputparams.C
2913 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2914 (c-tor): allocate memory to it.
2916 * exporter.C (c-tor): associated changes.
2918 2004-06-01 Angus Leeming <leeming@lyx.org>
2920 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2921 contains data before calling isInset(0). (Bug 1513.)
2923 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2925 * exporter.C (checkOverwrite): new method
2926 * exporter.C (copyFile): new method
2927 * exporter.C (Export): copy referenced files to the document dir
2928 * exporter.[Ch]: new class ExportedFile
2929 * exporter.[Ch]: new class ExportData. Contains currently the
2930 names of referenced external files
2931 * outputparams.h: add exportdata member.
2933 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2935 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2938 2004-05-19 Angus Leeming <leeming@lyx.org>
2943 * lyxfunc.C: small changes due to the introduction of namespace
2944 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2946 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2948 * text3.C (dispatch): supress update when only moving the cursor
2949 * cursor.C (selHandle): remove commented code
2951 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2953 * paragraph.C (startTeXParParams): correct column count
2954 * CutAndPaste.C (pasteSelection): remove const_cast
2955 * output_docbook.C (docbookParagraphs): remove const_cast
2956 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2957 const_cast and return ParagraphList::const_iterator
2958 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2959 * output_plaintext.C (writeFileAscii): remove const_cast
2960 * paragraph.[Ch] (simpleTeXOnePar): make const
2961 * paragraph_funcs.C (outerPar): use const iterators
2962 * paragraph_pimpl.C (validate): use const iterators
2963 * text.C (setHeightOfRow): use const iterators
2965 2004-05-17 Angus Leeming <leeming@lyx.org>
2968 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2970 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2971 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2972 if the citation engine has changed.
2974 2004-05-14 José Matos <jamatos@lyx.org>
2976 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2977 if the textclass does not provide it. Have it different for sgml and
2979 support the language of document.
2980 * output_docbook.C (docbookParagraphs):
2981 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2982 first anchor as the id of the paragraph, remove special case code.
2983 * sgml.C (escapeChar): escape only < & >.
2985 2004-05-14 Angus Leeming <leeming@lyx.org>
2987 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2988 dependencies on src/frontends/controllers/biblio.h. Define a
2989 CiteEngine_enum wrapper class to enable the enum to be forward
2992 2004-05-12 Angus Leeming <leeming@lyx.org>
2994 * buffer.C: up LYX_FORMAT to 234.
2995 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2996 use_numerical_citations with a single biblio::CiteEngine cite_engine
2998 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3000 2004-05-13 José Matos <jamatos@lyx.org>
3003 * converter.C (Converter, readFlags): add xml member.
3004 * outputparams.h: add XML flavor.
3005 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3007 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3009 * lyxfunc.C (dispatch):
3010 (getStatus): fix handling of LFUN_SEQUENCE
3012 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3014 * debug.C (showLevel): do not forget the end-of-line marker
3016 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3018 * kbmap.C (read): do not stop parsing a bind file when an error
3021 2004-04-29 Angus Leeming <leeming@lyx.org>
3026 * text2.C: wrap a bunch of #warning statements
3027 inside #ifdef WITH_WARNINGS blocks.
3029 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3031 * buffer.C: increment format to 233.
3033 2004-04-28 Angus Leeming <leeming@lyx.org>
3035 * BufferView_pimpl.C:
3038 s/updateToolbar()/updateToolbars()/
3039 s/Toolbar.h/Toolbars.h/
3041 2004-04-28 Angus Leeming <leeming@lyx.org>
3043 * BufferView.[Ch] (c-tor):
3044 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3045 No longer passes these data to the WorkArea generator.
3047 2004-04-28 Angus Leeming <leeming@lyx.org>
3049 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3051 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3053 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3055 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3057 * output_latex.C (TeXEnvironment): make sure that there is a line
3058 break before \end{foo} for the last paragraph of a document
3059 (TeXOnePar): if the paragraph is at the end of the document (or
3060 inset) and the language has to be reset, then make sure that the
3061 line break is _before_ the language command, not after (fixes bug
3062 1225); also make sure that the language reset command is the first
3063 thing after the paragraph (to ensure proper nesting of
3064 environments and thus fix bug 1404)
3066 2004-04-21 John Levon <levon@movementarian.org>
3069 * ToolbarBackend.C: make "name" be a programmatic name
3070 and a gui_name field.
3072 * lyxfunc.C: display the minibuffer on M-x
3074 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3076 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3079 2004-04-19 Angus Leeming <leeming@lyx.org>
3081 * BufferView_pimpl.C (setBuffer): changed preview interface.
3083 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3086 2004-04-19 John Levon <levon@movementarian.org>
3088 * BufferView_pimpl.C:
3089 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3091 2004-04-05 Angus Leeming <leeming@lyx.org>
3093 * text.C (redoParagraphs): add call to updateCounters(), thereby
3094 fixing the missing "Figure #:" label from the caption of a
3097 2004-04-13 Angus Leeming <leeming@lyx.org>
3099 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3100 cursor is clicked out of an inset.
3102 2004-04-13 Angus Leeming <leeming@lyx.org>
3104 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3105 than an InsetOld one.
3107 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3109 * format.[Ch]: add editor to Format
3110 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3111 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3113 2004-04-08 André Pönitz <poenitz@gmx.net>
3115 * metricsinfo.h: remove PainterInfo::width member
3117 2004-04-08 Angus Leeming <leeming@lyx.org>
3119 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3120 "\providecommand" rather than "\newcommand", thereby preventing
3121 clashes with packages that define "\boldsymbol" themselves.
3124 2004-04-08 Angus Leeming <leeming@lyx.org>
3126 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3127 thereby squashing an unnecessary warning.
3129 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3131 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3134 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3136 * BufferView.C (setCursor): call redoParagraph (some insets could
3138 (putSelectionAt): remove the 'double update' trick
3140 * BufferView_pimpl.C (fitCursor): call refreshPar
3141 (workAreaDispatch): remove an uneeded update call
3142 (dispatch): remove some manual update calls
3144 * cursor.[Ch]: remove cached_y_, updatePos
3145 (selHandle): set noUpdate when appropriate
3147 * lyxfunc.C (dispatch): track if we need an update
3149 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3151 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3152 (paintSelection): cheap optimization, do not call cursorX when not
3154 (paintPars): change signature
3157 (paintTextInset): adjust
3161 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3163 * lengthcommon.C: compilation fix: remove explicit array size from
3164 unit_name[] and friends
3166 2004-04-05 Angus Leeming <leeming@lyx.org>
3168 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3170 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3171 present only for the preferences dialog.
3172 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3174 2004-04-05 Angus Leeming <leeming@lyx.org>
3176 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3177 to enable the frontends to export changes to lyxrc correctly.
3179 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3181 2004-04-07 André Pönitz <poenitz@gmx.net>
3183 * cursor.[Ch] (selClear, adjust): remove math
3185 * cursor_slice.C: more agressive assert
3188 * BufferView_pimpl.C: rework mouse event dispatch
3195 2004-04-05 André Pönitz <poenitz@gmx.net>
3197 * cursor.[Ch] (valign, halign...): remove unneeded functions
3199 2004-04-05 Angus Leeming <leeming@lyx.org>
3201 * lyxlength.[Ch] (unit_name et al.): const-correct.
3203 2004-04-05 Angus Leeming <leeming@lyx.org>
3205 * BufferView_pimpl.C:
3214 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3216 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3218 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3220 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3222 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3223 * BufferView_pimpl.[Ch] (getStatus)
3224 * BufferView.[Ch] (getStatus): add
3225 * lyxfunc.C (getStatus): move lfuns handled in
3226 BufferView::dispatch to te function above
3227 * Cursor.C (setSelection): set selection() = true
3229 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3231 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3233 2004-03-31 Angus Leeming <leeming@lyx.org>
3235 * lyxfunc.C (dispatch): Fall through to the generic
3236 Dialogs::show("preamble").
3238 2004-03-31 Angus Leeming <leeming@lyx.org>
3240 * lyxfunc.C (dispatch): Fall through to the generic
3241 Dialogs::show("spellchecker").
3243 2004-03-31 Angus Leeming <leeming@lyx.org>
3245 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3248 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3253 * insetiterator.[Ch]:
3258 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3260 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3262 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3263 insets where we are putting the cursor.
3265 2004-03-31 Angus Leeming <leeming@lyx.org>
3268 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3270 * lyxrc.[Ch] (read, write): overloaded member functions taking
3271 a std::[io]stream arguments.
3273 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3275 2004-03-31 Angus Leeming <leeming@lyx.org>
3277 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3278 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3280 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3281 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3283 2004-03-31 Angus Leeming <leeming@lyx.org>
3285 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3286 the LFUN_ALL_INSETS_TOGGLE code.
3288 2004-03-30 Angus Leeming <leeming@lyx.org>
3290 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3291 has died. Fall through to the generic Dialogs::show("document").
3293 2004-03-30 Angus Leeming <leeming@lyx.org>
3296 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3297 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3299 * lyxfunc.C (getStatus, dispatch): define the actions for these
3300 lfuns. Little more than a cut and pste job from ControlDocument.C
3302 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3304 2004-03-30 Angus Leeming <leeming@lyx.org>
3307 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3308 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3310 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3311 open/closed state of ollapsable insets. Usage:
3313 all-inset-toggle <state> <name>, where
3314 <state> == "open" || "closed" || "toggle" and
3315 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3317 * lyxtext.h, text2.C (toggleInset): removed.
3319 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3320 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3321 now passes LFUN_INSET_TOGGLE to the found inset.
3323 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3324 is now invoked as "all-insets-toggle toggle branch".
3326 2004-03-30 Angus Leeming <leeming@lyx.org>
3330 * pariterator.[Ch]: added/corrected header blurb.
3332 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3334 * dociterator.[Ch]: add an inset_ member
3335 (backwardPos): implemented
3336 (backwardPos, forwardPos): use inset_ when the stack is empty.
3337 (doc_iterator_begin, doc_iterator_end): implemented
3338 * pariterator.[Ch]: adjust, add begin, end
3339 * insetiterator.[Ch]: adjust, add begin, end
3343 * BufferView_pimpl.C:
3344 * CutAndPaste.C: adjust
3346 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3348 * buffer.C: increment file format to 232.
3349 * LaTeXFeatures.C: add bibtopic package.
3350 * bufferparams.[Ch]: param \use_bibtopic.
3352 * lyxrc.[Ch]: add lyxrc bibtex_command
3353 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3355 * buffer.C: increment file format to 231.
3357 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3359 * dociterator.C: implement forwardPar
3360 * iterators.[Ch]: remove, replaced by
3361 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3363 * BufferView_pimpl.C:
3366 * bufferview_funcs.C:
3372 * Makefile.am: adjust
3374 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3376 * CutAndPaste.C (pasteSelection): fix 2 crashes
3377 (eraseSelection): fix a crash
3378 * paragraph_funcs.C: remove a warning
3380 2004-03-28 Angus Leeming <leeming@lyx.org>
3383 * LyXAction.C (init): new LFUN_PRINT.
3385 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3387 2004-03-27 Angus Leeming <leeming@lyx.org>
3390 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3392 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3394 2004-03-27 Angus Leeming <leeming@lyx.org>
3396 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3397 insetlist always contains non-null pointers to insets.
3399 2004-03-26 Angus Leeming <leeming@lyx.org>
3401 * src/BufferView_pimpl.C:
3402 * src/CutAndPaste.C:
3405 * src/output_plaintext.C:
3406 * src/outputparams.h:
3407 * src/paragraph_funcs.C:
3411 * src/frontends/controllers/ControlErrorList.C:
3412 * src/frontends/gtk/FileDialogPrivate.C:
3413 * src/frontends/gtk/GPainter.C:
3414 * src/frontends/gtk/GToolbar.C:
3415 * src/frontends/qt2/QRef.C:
3416 * src/mathed/math_scriptinset.C: squash compiler warnings.
3418 2004-03-26 Angus Leeming <leeming@lyx.org>
3420 * ispell.C (LaunchIspell::start):
3421 * lyx_cb.C (AutoSaveBuffer::start):
3422 invoke run(DontWait) rather than runNonBlocking().
3424 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3426 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3428 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3430 * kbsequence.C (print): adjust
3432 * kbmap.C (printKeySym): rename and change signature
3433 (printKey): use LyXKeySym::print()
3435 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3437 * undo.C: add using std::advance to compile for stlport
3439 2004-03-24 Angus Leeming <leeming@lyx.org>
3441 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3442 it leads to a crash when no buffer is present.
3444 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3445 Martin Vermeer <martin.vermeer@hut.fi>
3447 * lyxfunc.C (dispatch):
3448 * bufferparams.C (readToken): use the new LColor::setColor
3450 * LColor.[Ch] (setColor): new version that takes two strings as
3451 argument and creates a new color entry if necessary
3453 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3455 * buffer.C (makeLaTeXFile): if the main latex file that is
3456 processed is usually a subdocument of some master, then pretend
3457 for a while that it is actually the master
3459 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3461 * buffer.C (getLabelList):
3462 (getBibkeyList): use getMasterBuffer()
3463 (getMasterBuffer): new method. Returns the main document in the
3464 case where one is using included documents.
3466 2004-03-25 André Pönitz <poenitz@gmx.net>
3470 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3472 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3474 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3475 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3477 * ParameterStruct.h: merge with ParagraphParameters
3479 * lyxtext.h: remove LyXText::parOffset() and getPar()
3481 * text3.C: Remove all 'manual' update calls. We do now one per user
3482 interaction which is completely sufficient.
3486 * BufferView_pimpl.C:
3487 * FontIterator.[Ch]:
3489 * ParagraphParameters.[Ch]:
3494 * cursor_slice.[Ch]:
3501 * output_docbook.[Ch]:
3502 * output_latex.[Ch]:
3503 * output_linuxdoc.[Ch]:
3504 * output_plaintext.[Ch]:
3506 * paragraph_funcs.[Ch]:
3507 * paragraph_pimpl.[Ch]:
3515 * frontends/controllers/ControlDocument.C:
3516 * frontends/controllers/ControlErrorList.C:
3517 * frontends/controllers/ControlSpellchecker.C:
3520 * insets/insetbase.h:
3521 * insets/insetbibitem.C:
3522 * insets/insetbox.C:
3523 * insets/insetbranch.C:
3524 * insets/insetcaption.C:
3525 * insets/insetcharstyle.C:
3526 * insets/insetcharstyle.h:
3527 * insets/insetcollapsable.C:
3528 * insets/insetcollapsable.h:
3529 * insets/insetert.C:
3530 * insets/insetfloat.C:
3531 * insets/insetfoot.C:
3532 * insets/insetmarginal.C:
3533 * insets/insetnote.C:
3534 * insets/insetoptarg.C:
3535 * insets/insettabular.C:
3536 * insets/insettext.C:
3537 * insets/insettext.h:
3538 * insets/insetwrap.C:
3539 * mathed/math_mboxinset.C:
3540 * mathed/math_nestinset.C:
3541 * mathed/math_scriptinset.C:
3542 * mathed/math_scriptinset.h:
3545 2004-03-24 Angus Leeming <leeming@lyx.org>
3547 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3548 deal with any child processes that have finished but are waiting to
3549 communicate this fact to the rest of LyX.
3551 2004-03-24 Angus Leeming <leeming@lyx.org>
3553 64-bit compile fixes.
3555 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3556 (c-tor): pass lyx::pos_types rather than ints.
3558 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3561 * text.C (Delete): compile fix.
3562 (getPar): ensure that function declaration is the same as that in
3565 2004-03-23 Angus Leeming <leeming@lyx.org>
3567 * ispell.C (LaunchIspell):
3568 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3569 a boost::shred_ptr rather than a std::auto_ptr.
3571 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3573 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3574 handle LFUN_FILE_INSERT_*
3576 * lyxrc.C (setDefaults, getDescription, output, read):
3577 * lyxrc.h: remove ps_command
3579 2004-03-22 Angus Leeming <leeming@lyx.org>
3581 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3582 Ensure that error_handler is processed once only and that all data
3583 is saved before attempting to output any warning messages.
3585 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3587 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3589 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3591 2004-03-19 André Pönitz <poenitz@gmx.net>
3593 * cursor.[Ch] (reset): take main text inset as argument
3595 * BufferView: adjust
3596 * BufferView_pimpl.C: adjust
3598 * paragraph.[Ch]: fix completely broken operator=()
3600 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3602 * LColor.C (getFromLyXName): make sure that the color name is used
3605 2004-03-17 Angus Leeming <leeming@lyx.org>
3608 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3610 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3611 dialog and to kill a forked process.
3613 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3615 * text2.C (setCursorFromCoordinates): fix font problem
3617 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3619 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3620 bogus "rebuild cursor" code
3622 2004-03-11 André Pönitz <poenitz@gmx.net>
3624 * buffer.[Ch]: use InsetText instead of LyXText as container for
3627 * dociterator.[Ch]: drop the BufferView * member which is not needed
3628 anymore after the change to buffer.C
3630 * paragraph_funcs.C:
3634 * BufferView_pimpl.[Ch]:
3636 * cursor_slice.[Ch]: adjust
3638 * text3.C: fix bug in mathDispatch
3640 2004-03-08 André Pönitz <poenitz@gmx.net>
3642 * undo.[Ch]: use 'StableDocumentIterator' as base for
3645 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3648 * bufferparams.[Ch]: add jurabib support and param.
3650 * LaTeX.C: add FIXME/comment.
3652 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3654 * buffer.C: increment file format to 230.
3656 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3658 * cursor.C (dispatch): avoid infinite loops
3660 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3662 * rowpainter.C (paintSelection): fix x coordinates
3664 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3666 * text.C (rowBreakPoint): fix breaking before displayed insets
3668 2004-03-01 André Pönitz <poenitz@gmx.net>
3670 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3672 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3676 * BufferView_pimpl.C:
3684 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3690 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3691 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3693 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3695 * Bidi.[Ch] (computeTables): const correctness
3696 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3697 fill_hfill, fill_label_hfill and x from Row
3698 * lyxtext.h: prepareToPrint returns a RowMetrics
3699 * rowPainter.C: adjust
3700 * text.C (prepareToPrint): use width, not textWidth. adjust
3701 (redoParagraphInternal, cursorX): adjust
3702 * text2.C (getColumnNearX): adjust
3703 (init): put a default value to the top LyXText::width
3705 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3707 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3709 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3711 * lyxtext.h: add FontIterator class
3713 * text.C (FontIterator, operator*, operator->, operator++): add
3714 (rowBreakPoint, setRowWidth): adjust (fixing a
3717 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3719 * BufferView_pimpl.C (workAreaDispatch): allow also
3720 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3722 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3724 * text.C (rowBreakPoint): fix a bug showing with very large insets
3726 2004-02-25 André Pönitz <poenitz@gmx.net>
3729 * cursor.[Ch]: move some mathed specific code to mathed
3731 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3733 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3734 use_tempdir in preferences
3735 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3737 * lyx_main.C: ensure that tempdir is valid
3738 * lyxlex.h: correct typo
3739 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3740 * paragraph.[Ch] (isMultiLingual): make const
3741 * cursor.[Ch] (openable): make const
3743 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3745 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3747 2004-02-20 André Pönitz <poenitz@gmx.net>
3749 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3751 * cursor.[Ch]: prepare for localized getStatus()
3757 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3759 2004-02-20 André Pönitz <poenitz@gmx.net>
3761 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3763 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3765 * text2.C (setCursorFromCoordinates): switch to absolute coords
3767 (cursorDown): adjust
3768 * text3.C (dispatch): adjust
3770 2004-02-16 André Pönitz <poenitz@gmx.net>
3772 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3775 * cursor_slice.[Ch]: remove unneeded acessor function
3777 * lyxtext.h: rename rtl() to isRTL()
3785 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3787 * rowpainter.C (paintSelection): coord fix
3789 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3791 * Spacing.C: compile fix
3793 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3795 * cursor.C (dispatch): restore current_ before returning
3797 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3799 * text2.C (cursorUp, cursorDown): fix coords
3802 2004-02-12 André Pönitz <poenitz@gmx.net>
3807 * text3.C: add LCursor & parameter to most cursor movement functions
3808 remove usage of LyXText::cursorRow() and cursorPar()
3810 * cursor.[Ch]: add textRow() needed members
3813 * BufferView_pimpl.C:
3816 * BufferView_pimpl.C: adjust
3818 2004-02-11 André Pönitz <poenitz@gmx.net>
3822 * BufferView_pimpl.C: shift undo/redo handling
3824 * cursor.[Ch]: fix mathed crash
3827 * lyxtext.h: move selectionAsText to LCursor
3835 * rowpainter.C: fix excessive drawing
3837 2004-02-06 André Pönitz <poenitz@gmx.net>
3840 * BufferView_pimpl.[Ch]:
3841 * text3.C: move some text specific LFUN handling
3843 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3845 * text3.C (checkInsetHit): adjust coords
3846 * text2.C (getColumnNearX): adjust coords
3847 (edit): adjust coords
3848 * text.C (getRowNearY): add two asserts
3850 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3853 * format.C: add using std::distance to compile on gcc 2.95/stlport
3855 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3857 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3859 2004-02-04 André Pönitz <poenitz@gmx.net>
3861 * BufferView.[Ch] (insertInset):
3862 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3867 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3869 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3870 on the default clause of the switch
3871 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3872 wasn't catched by LCursor::dispatch
3874 2004-02-03 André Pönitz <poenitz@gmx.net>
3877 * cursor.[Ch]: some additional asserts
3879 * undo.[Ch]: remove LyXText dependency in interface
3883 * lyxtext.h (firstPar, lastPar): remove dead functions
3888 * paragraph.[Ch]: adjust
3890 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3892 * lyxfind.C (find): fix argument order in call to ::find
3894 2004-02-02 André Pönitz <poenitz@gmx.net>
3896 * cursor.[Ch]: remove direct access to anchor
3898 * text.C: remove findText() hack
3900 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3902 * iterators.[Ch] (lockPath): remove in favour of...
3903 * BufferView.[Ch] (setCursor): this addition
3904 * BufferView.C (putSelectionAt): adjust
3905 * undo.C (performUndoOrRedo): adjust
3906 * lyxfunc.C (dispatch): adjust
3908 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3910 * iterators.C (lockPath): add a missing slice
3911 * undo.C (performUndoOrRedo): remove redundant positioning code
3913 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * vc-backend.C (scanMaster): ";" -> ';'
3917 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3919 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3920 std::binary_function
3922 * lyxtextclass.C (compare_name): rename to...
3923 (LayoutNamesEqual): ...this
3925 * lyxlex_pimpl.C (compare_tags): inherit from
3926 std::binary_function, put back into anon namespace
3928 * lyxfind.C (MatchString): inherig from std::binary_function
3929 (findChange): use empty() istead of !size()
3931 * format.C (FormatNamesEqual): new functor
3938 * converter.C (compare_Converter): rename to...
3939 (ConverterEqual): ...this, and fixup a bit.
3940 (getConverter): use it, and make function const
3941 (getNumber): use it, and make function const
3945 * bufferlist.C: add using boost::bind
3947 * MenuBackend.C (MenuNamesEqual): new functor
3948 (hasMenu): use it, and make function const
3949 (hasSubmenu): use nested bind to get rid of compare_memfun.
3951 2004-01-30 André Pönitz <poenitz@gmx.net>
3953 * BufferView_pimpl.C:
3956 * cursor_slice.[Ch]:
3959 * paragraph_funcs.C:
3960 * paragraph_funcs.h:
3964 * text3.C: move some of the edit(x,y) handling to the insets
3965 some coordinate changes.
3967 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3969 * text.C: add using statements for std::advance and std::distance
3971 * paragraph.C: add using statement for std::distance
3973 * lyxfind.C: add using statement for std::advance
3975 * cursor.C (region): remove std:: from swap
3976 (openable): use nucleus in stead of operator->
3978 * BufferView.C: add using statements for std::distance and std::swap
3980 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3982 * iterators.C: Remove the pimple, move the needed structures to
3983 the header file. Create accessor for the positions stack.
3984 (asPosIterator): remove function
3986 * PosIterator.C (PosIterator): move constructors to top of file
3987 (PosIterator): reimplement the constructor taking a ParIterator in
3989 (setFrom): new function
3990 (operator!=): inline it
3992 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3994 * lyxfind.C (replaceAll): use std::advance
3996 * iterators.h: inherit from std::iterator.
3998 * PosIterator.C (advance, distance): remove
3999 * PosIterator.h: interit from std::iterator.
4001 2004-01-26 André Pönitz <poenitz@gmx.net>
4004 * BufferView_pimpl.[Ch]:
4008 * bufferview_funcs.C:
4018 * output_linuxdoc.C:
4019 * output_plaintext.C:
4021 * paragraph_funcs.[Ch]:
4022 * paragraph_pimpl.[Ch]:
4028 * text3.C: more IU: dumps most of the rest of the mathcursor
4029 implementation into cursor.[Ch]; "globalize" a bit of it.
4031 2004-01-25 Angus Leeming <leeming@lyx.org>
4033 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4035 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4037 * LaTeXFeatures.h: add nice_ and nice() const
4038 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4040 2004-01-20 André Pönitz <poenitz@gmx.net>
4043 * BufferView_pimpl.C:
4045 * bufferview_funcs.C:
4047 * cursor_slice.[Ch]:
4058 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4059 LCursor and mathcursor parts to LCursor and InsetBase.
4061 2004-01-15 André Pönitz <poenitz@gmx.net>
4063 * cursor_slice.[Ch]: add a few covienience functions
4065 * funcrequest.[Ch]: remove BufferView * member
4067 * BufferView_pimpl.C:
4074 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4076 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4078 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4079 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4081 2004-01-13 André Pönitz <poenitz@gmx.net>
4084 * lyxtext.h: hide cursor and selection anchor behind accessor function
4087 * BufferView_pimpl.[Ch]:
4089 * bufferview_funcs.C:
4099 * cursor_slice.[Ch]: some integer type changes for inset unification
4101 * lyxcursor.[hC]: remove, it's CursorSlice now.
4104 * BufferView_pimpl.[Ch]:
4105 * bufferview_funcs.C:
4111 * textcursor.[Ch]: adjust
4113 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4115 * text2.C (undoSpan): add and use
4116 * text.C (breakParagraph): use undoSpan (fix bug 578)
4119 2004-01-08 Angus Leeming <leeming@lyx.org>
4121 * BufferView_pimpl.C (MenuInsertLyXFile):
4122 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4123 * lyxfunc.C (menuNew, open, doImport):
4124 FileFilterList change to the FileDialog open and save functions.
4126 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4128 * ShareContainer.h: make isEqual and isUnique adaptable
4130 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4132 2004-01-07 Angus Leeming <leeming@lyx.org>
4135 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4137 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4139 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4140 functions replacing find, replace and replaceAll.
4142 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4143 LFUN_WORDFIND(FORWARD|BACKWARD).
4145 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4147 * text.C (breakParagraph): remove an outdated #warning
4149 2004-01-07 André Pönitz <poenitz@gmx.net>
4151 * lyxfind.C: somewhat clearer logic
4153 * text.C: prevent crash in cursorX on unitialized row cache
4155 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4157 * lyxcursor.[Ch] (operator>): add
4158 * textcursor.C (selStart, selEnd): use std::min and std::max
4160 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4162 * Chktex.C: include boost/format.hpp
4164 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4166 * InsetList.C: replace functor MathcIt with adaptable functor
4168 (insetIterator): modify accordingly
4170 * BranchList.h: move the BranchNamesEqual functor here from...
4171 * BranchList.C: ... to here
4173 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4175 (add): replace a finding loop with std::find_if.
4177 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4179 * output_docbook.C: moving LatexParam functionality into
4182 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4184 * buffer.C: increment format to 229.
4186 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4189 * lyx_sty.[Ch]: remove minipageindent_def
4195 * text3.C: remove LFUN_INSET_MINIPAGE
4197 2003-12-28 Angus Leeming <leeming@lyx.org>
4199 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4201 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4203 * text2.C (setParagraph): fix off-by-one crash
4205 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4207 * output_docbook.C: header stuff for AGU
4209 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4211 * text2.C (redoCursor): remove
4214 * BufferView_pimpl.C: remove calls to redoCursor and
4215 setCursor(cursor.par(), cursor.pos()) all around
4217 2003-12-15 Angus Leeming <leeming@lyx.org>
4219 * buffer.C: up the format to 228.
4221 2003-12-15 André Pönitz <poenitz@gmx.net>
4223 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4228 * BufferView_pimpl.C:
4237 2003-12-15 Angus Leeming <leeming@lyx.org>
4239 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4240 than getFromGUIName to manipulate the color.
4242 2003-12-14 Angus Leeming <leeming@lyx.org>
4244 * BranchList.[Ch]: minimize the API.
4245 (Branch::getBranch, getColor): now return a 'const &'.
4246 (Branch::setSelected) now returns a bool set to true if the
4247 selection status changes.
4248 (BranchList::clear, size, getColor, setColor, setSelected,
4249 allBranches, allSelected, separator): removed.
4250 (BranchList::find): new functions, returning the Branch with
4252 (BranchList::add, remove): return a bool indicating that
4253 the operation was successful.
4255 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4256 new InsetBranch::isBranchSlected member function.
4258 * LColor.[Ch]: mimimize the API.
4259 (fill): renamed as addColor and made private.
4260 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4261 versions of these functions taking a string arg have been removed.
4263 * bufferparams.C (readToken):
4264 * lyxfunc.C (dispatch):
4265 * lyxrc.C (read): changes due to the altered BranchList and
4268 * factory.C (createInset, readInset): changes due to altered
4271 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4274 * lyxfunc.C: remove insetminipage. "minipage-insert"
4275 now produces a frameless minipage box inset.
4277 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4279 * textcursor.[Ch] (selStart,selEnd): add new methods
4280 remove selection::start, end, use LyXCursor::operator<
4281 * lyxcursor.[Ch] (operator<): add
4282 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4283 * BufferView.[Ch] (unsetXSel): add
4284 * text2.C (clearSelection): use unsetXSel,adjust
4287 * rowpainter.C: adjust
4288 * bufferview_funcs.C (put_selection_at): adjust
4290 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4292 * BufferView_pimpl.C: small coord. correction
4294 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4296 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4297 dragging over the splash screen.
4299 2003-12-11 Angus Leeming <leeming@lyx.org>
4301 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4302 as it is now handled in LyXText::dispatch.
4304 * text3.C (doInsertInset): remove a level of nesting.
4306 2003-12-11 Angus Leeming <leeming@lyx.org>
4308 * factory.C (createInset): changes due to the changed interface to
4309 InsetCommandMailer::string2params.
4311 2003-12-10 Angus Leeming <leeming@lyx.org>
4313 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4314 'dialog-show-new-inset <inset name>'
4316 2003-12-10 Angus Leeming <leeming@lyx.org>
4318 * buffer.C: up the format to 227.
4320 * factory.C: the box inset is now identified simply by 'Box'.
4322 2003-12-10 Angus Leeming <leeming@lyx.org>
4324 * buffer.C: up the format to 226.
4326 * factory.C: the note inset is now identified simply by 'Note'.
4328 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4330 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4331 when a pit is enough. Standarize a couple of loops.
4333 2003-12-05 Angus Leeming <leeming@lyx.org>
4335 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4336 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4337 data to the re-worked "log" dialog.
4339 2003-12-03 André Pönitz <poenitz@gmx.net>
4345 * paragraph_funcs.C:
4347 * text2.C: use Inset::getText instead of Inset::getParagraph
4349 2003-12-03 André Pönitz <poenitz@gmx.net>
4353 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4354 InsetText::read() as LyXText::read()
4356 2003-12-02 Angus Leeming <leeming@lyx.org>
4358 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4359 type. Add a comment in the implementation that the function uses
4360 the stream's bad() function rather than fail() as the std::streams
4363 2003-12-02 André Pönitz <poenitz@gmx.net>
4365 * lyxlex.[Ch]: make interface more similar to std::stream
4367 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4369 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4371 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4373 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4375 * vspace.[Ch]: remove VSpace::NONE
4377 2003-12-01 André Pönitz <poenitz@gmx.net>
4380 * lyxtext.h: move ParagraphList member to LyXText
4381 rename LyXText::ownerParagraphs to LyXText::paragraph
4384 * bufferview_funcs.C:
4394 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4396 * undo.C: fix cursor positioning
4398 2003-12-01 John Levon <levon@movementarian.org>
4400 * BufferView_pimpl.C: fix a crash on exit with
4403 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4405 * BranchList.C: fix setSelected() method.
4407 2003-11-28 André Pönitz <poenitz@gmx.net>
4409 * ParagraphParameters.[Ch]:
4410 * ParameterStruct.h: remove space above/below from Paragraph to
4413 * BufferView_pimpl.C:
4419 * paragraph_funcs.C:
4425 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4427 * factory.C: Syntax change for CharStyles
4429 2003-11-28 André Pönitz <poenitz@gmx.net>
4434 * buffer.[Ch]: move LyXText member
4436 2003-11-28 André Pönitz <poenitz@gmx.net>
4438 * BufferView.[Ch]: make LyXText * text a private member
4440 * BufferView_pimpl.C:
4451 * output_plaintext.C: cleanup
4453 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4456 * lyxtextclass.[Ch]: parametrize SGML document header
4458 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4461 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4464 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4466 * text2.C (setFont): rework using PosIterator (no more recursive)
4467 (setCharFont): no more needed
4468 (setLayout): no more selection cursors fiddling (done by redoCursor)
4469 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4470 destroy remaining ones)
4472 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4474 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4476 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4479 * text3.C: adjust + re-allow multi par depth changes
4480 * textcursor.C: simplify a bit
4482 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4488 * src/output_docbook.C:
4489 * src/output_latex.C:
4494 * src/text2.C: Introducing a number of tags parametrizing various
4495 XML formats that we may want to support
4497 2003-11-25 André Pönitz <poenitz@gmx.net>
4499 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4501 * lyxtext.h (leftMargin/rightMargin): simplify interface
4508 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4510 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4511 master file to any child files. Fixes bug 546.
4513 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4515 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4517 2003-11-24 André Pönitz <poenitz@gmx.net>
4519 * rowpainter.C: simplification
4521 * text2.C (updateCounters): remove call to redoParagraph on
4522 changed labels as this is far too expensive.
4524 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4526 * converter.C (convert): fix a crash: this function gets
4527 called with buffer == 0 from importer code.
4529 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * text3.C (cursorPrevious): make sure that we do not compare
4532 iterators form different containers.
4535 * rowpainter.C (paintSelection): make sure that we do not compare
4536 iterators from different containers.
4538 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4539 iterators from different ParagraphList containers.
4542 * text2.C (LyXText): change order of initialization slightly
4543 (operator=): new function. copy all variables except cache_par_
4544 (moveUp): make sure that we do not compare iterators from
4545 different ParagraphList constainers.
4548 * text.C (firstPar): new function
4549 (lastPar): new function
4550 (endPar): new function
4552 * lyxtext.h: move things around and group public functions, public
4553 variables, private functions, private variables
4555 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4557 * factory.C: change call to InsetERT constructor to avoid
4558 additional invocation of method status
4559 * text2.C (toggleInset): remove redundant update() call
4560 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4561 instead of a Bufferview pointer
4563 2003-11-21 André Pönitz <poenitz@gmx.net>
4565 * rowpainter.C: simplification
4567 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4569 * text3.C (dispatch): make possible to extend a word/row selection
4572 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4574 * lyxtext.h: x0_,y0_ -> xo_,yo_
4575 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4576 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4577 * rowpainter.C (paintRows): paint full paragraphs
4579 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4581 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4584 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4586 * lyxtext.h: add x0_, y0_
4587 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4588 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4590 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4592 * text2.C (setCursorIntern): move the x_target update here *
4593 * text3.C: change some bv() to true/false in calls to
4594 cursorUp/Down/Right/Left
4595 * cursor.C: use helper function.
4597 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4599 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4600 * paragraph_funcs.[Ch]: correct comment
4601 * rowpainter.C: do not paint selections away from bv->cursor()
4602 Fix a long standing selection painting bug.
4603 * text3.C: generalize mouse-selection code to LyXTexts other that
4605 * textcursor.C: do not use y coords if we can use par offsets
4607 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4609 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4610 cursor position after e.g. inset insert)
4612 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4614 * lyxfind.C (replace): adjust to locking removal + some
4617 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4619 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4622 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4625 * output_docbook.C: XML sanitation: new layout
4626 parameters InnerTag and CommandDepth
4628 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4630 * BufferView_pimpl.C:
4632 * text3.C: Fix the insertion and modification of button-style
4635 2003-11-13 André Pönitz <poenitz@gmx.net>
4637 * InsetList.[Ch]: remove deleteLyXText
4639 * paragraph.[Ch]: cache beginOfBody position
4644 * text3.C: remove superfluous update() calls
4648 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4650 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4651 * BufferView.C (fitLockedInsetCursor): remove
4652 * cursor.[Ch] (getDim): add
4653 * text.C (getRowNearY): add faster version
4654 * text3.C: remove some update calls
4656 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4668 * text3.C: The Character Style /XML short element patch.
4670 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4673 * factory.C: Small step to solving 'unable to insert some insets'
4676 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4678 * cursor.[Ch] (updatePos): new function for updating the y
4679 position of the tip inset
4680 * bufferview_funcs.C (put_selection_at):
4681 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4683 2003-11-11 André Pönitz <poenitz@gmx.net>
4685 * text.C: remove big comment on invalid Paragraph pointers as it is
4688 2003-11-11 André Pönitz <poenitz@gmx.net>
4690 * text_funcs.[Ch]: merge with ...
4698 * Makefile.am: remove text_funcs.[Ch]
4700 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4702 * cursor.C (getPos): return absolute cached y coord
4704 * BufferView_pimpl.C (fitCursor): new simplistic code
4705 (workAreaDispatch): add a fitCursor call
4707 2003-11-10 André Pönitz <poenitz@gmx.net>
4710 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4712 2003-11-10 André Pönitz <poenitz@gmx.net>
4714 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4715 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4716 indicate that the cursor needs to leave an inset
4718 * lyxtext.h: remove inset locking
4720 * cursor.[Ch]: re-implement functionality provided by inset locking
4723 * BufferView_pimpl.[Ch]:
4725 * bufferview_funcs.[Ch]:
4737 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4739 * PosIterator.[Ch]: replace the stack with a vector, add inset
4741 * iterators.[C]: adjust
4743 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4745 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4747 * paragraph_funcs.C (readParToken): put the correct id in the
4748 error item, not the id of the top paragraph
4750 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4752 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4753 * bufferview_funcs.C (put_selection_at): use the above
4755 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4757 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4759 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4761 * output_linuxdoc.h:
4762 * output_plaintext.h:
4764 * output_docbook.h: add #include statements
4766 2003-11-05 José Matos <jamatos@lyx.org>
4768 * output_docbook.[Ch]:
4769 * output_latex.[Ch]:
4770 * output_linuxdoc.[Ch]:
4771 * output_plaintext.[Ch]: New files for output formats.
4772 * output.[Ch]: New file for helper functions.
4775 * paragraph_funcs.[Ch]: output functions moved to new files.
4777 * outputparams.h: rename of latexrunparams.h
4785 * paragraph_funcs.[Ch]:
4786 * paragraph_pimpl.[Ch]:
4787 * tabular.[Ch]: rename ascii to plaintext
4788 and LatexRunParams to OutputParams.
4790 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4792 * iterators.[Ch] (text): require bv argument
4793 * undo.C (recordUndo):
4794 * lyxfunc.C (dispatch):
4795 * bufferview_funcs.C (put_selection_at): adjust
4797 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4799 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4801 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4803 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4806 2003-11-04 André Pönitz <poenitz@gmx.net>
4808 * cursor.[Ch]: restructure
4811 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4813 * iterators.[Ch] (asCursor): remove
4815 * lfuns.h: remove LFUN_INSET_EDIT
4821 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4823 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4825 * lyxfind.[Ch]: complete overhaul
4826 * BufferView_pimpl.C:
4828 * paragraph.[Ch] (insert): add
4830 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4834 * text.C: remove dead spellcheck code
4836 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4838 * dispatchresult.h: add a val setter
4840 * cursor.C (dispatch): use a tempvar for data_[i]
4842 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4844 * PosIterator.[Ch]: compile fix
4846 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4848 * text.C (cursorPar): deactivate the cursor cache
4850 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4852 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4854 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4856 * text3.C (dispatch): adjust for new DisptchResult semantics.
4858 * lyxfunc.C (dispatch): handle update when return from
4859 Cursor::dispatch, adjust for new DispatchResult semantics.
4861 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4862 DispatchResult(true) mean to not update. Add class functions for
4863 setting dispatched and update, as well as reading.
4865 * cursor.C (dispatch): don't handle update here
4867 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4869 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4870 * trans_mgr.C: adjust
4872 * paragraph_funcs.C (readParToken): exception safety
4874 * lyxvc.h: store the vcs pointer in a scoped_ptr
4877 * lyxsocket.C (serverCallback): exception safety
4879 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4881 * ispell.C (clone): make it return a auto_ptr
4883 * factory.C (createInset): exception safety
4884 (readInset): exception safety
4886 * bufferlist.C (newBuffer): exception safety
4888 * Thesaurus.C (Thesaurus): use initialization for aik_
4890 * MenuBackend.C (expandToc): exception safety.
4892 2003-11-03 André Pönitz <poenitz@gmx.net>
4896 * bufferview_funcs.C: remove getInsetFromId()
4899 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4905 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4907 * PosIterator.C (distance, advance): new
4908 * bufferview_funcs.[Ch] (put_selection_at): new
4909 * iterators.[Ch] (lockPath): new
4911 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4913 * iterators.[Ch] (asPosIterator): added
4914 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4915 * PosIterator.[Ch]: added
4917 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * cursor.C (dispatch):
4922 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4924 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4925 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4926 contructor, add a class function dispatched. Remove operator>=
4928 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4930 * debug.C: only use the default constructor for debugstream
4933 * main.C (main): include debug.h and setup the lyxerr streambuf
4936 2003-10-31 José Matos <jamatos@lyx.org>
4938 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4940 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4941 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4942 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4943 * paragraph_pimpl.C (simpleTeXSpecialC):
4944 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4945 add LatexRunParams argument.
4947 * exporter.C (Export): change call accordingly.
4949 * latexrunparams.h: add new member to take care of the other backends.
4950 2003-10-30 José Matos <jamatos@lyx.org>
4952 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4953 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4954 factorise code for paragraph output.
4956 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4959 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4961 * text3.C (dispatch):
4962 * lyxfunc.C (dispatch):
4963 * cursor.C (dispatch):
4964 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4966 * dispatchresult.h: make the dispatch_result_t ctor explicit
4968 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4971 * buffer.C: small refactoring of docbook stuff
4973 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4975 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4978 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4981 operator dispatch_result_t, and operators for == != and >=
4983 * cursor.C (dispatch): adjust for operator dispatch_result_t
4984 removal. comment out call to update
4986 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4988 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4996 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4999 * dispatchresult.h: new file, DispatchResult broken out of
5002 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5004 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5006 * text.C (rowBreakPoint): put a hack inside #if 0
5008 2003-10-28 André Pönitz <poenitz@gmx.net>
5012 * paragraph_funcs.C:
5015 * text2.C: general cleanup (lots of small stuff)
5017 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5019 * text2.C (cursorEnd): simple fix to the "end key goes to one
5020 before the end on last row" bug
5022 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5024 * text.C (backspace): fix the "zombie characters"
5026 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5028 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5030 2003-10-27 André Pönitz <poenitz@gmx.net>
5032 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5034 * factory.C: handle new InsetPagebreak, InsetLine
5036 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5037 and move handling into new InsetPagebreak, InsetLine
5039 * BufferView_pimpl.C:
5041 * ParagraphParameters.C:
5042 * ParameterStruct.h:
5047 * paragraph_funcs.C:
5048 * paragraph_pimpl.C:
5054 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5057 * lyxrow_funcs.[Ch]:
5063 * text3.C: remove lastPos uses in favour of Row::endpos
5065 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5067 * undo.C (performUndoOrRedo): fix two crashes by setting a
5068 cursor by hand and reordering some calls. Use bv->lockInset instead
5069 of inset->edit because the latter loses cursor information
5071 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5073 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5075 (rowBreakPoint): fix width. change point to point + 1.
5076 Add a missing check.
5078 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5081 * lyxfunc.C: fix (at least partly) the problems
5082 with the Nav menu and headers inside branch insets
5085 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5087 * paragraph.C (getChar): add strong asserts
5089 * lyxrow_funcs.C (lastPos): remove hideous hack
5091 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5092 (fill): adjust to that (avoid an infinite loop)
5094 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5096 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5098 2003-10-23 André Pönitz <poenitz@gmx.net>
5100 * RowList_fwd.h: change list<> to vector<> to gain speed
5101 after suggestion from Alfredo
5103 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5105 * lyxtext.h: move the bidi stuff from here...
5108 * Bidi.[Ch]: ... to here
5110 2003-10-23 André Pönitz <poenitz@gmx.net>
5113 * text.C (isLastRow, isFirstRow): new functions
5115 * paragraph.h: new width cache member
5117 * rowpainter.C: replace RowList::iterator with Row & where possible
5119 * lyxfunc.C: replace several view()->text with a single call
5121 * toc.C: fix 'unused' warning
5123 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5125 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5126 when woring with stream::pos_type
5127 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5129 2003-10-22 André Pönitz <poenitz@gmx.net>
5132 * text.C: use Row & instead of RowList::iterator
5134 * lyxrow.h: rename end() to endpos()
5140 2003-10-22 Angus Leeming <leeming@lyx.org>
5142 * buffer.[Ch] (fully_loaded): new member function, returning true
5143 only when the file has been loaded fully.
5144 Used to prevent the premature generation of previews and by the
5145 citation inset to prevent computation of the natbib-style label.
5147 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5148 templates are all set up.
5150 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5152 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5154 * text.C: fixed an "oops" in the "is a bit silly"
5157 2003-10-21 André Pönitz <poenitz@gmx.net>
5159 * FuncStatus.[Ch]: small stuff, whitespace
5161 * lyxfont.[Ch]: operator<<() for debug reasons
5165 * lyxtext.h: whitespace, spelling
5167 * paragraph.C: naming of variables
5170 * text2.C: small stuff
5173 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5175 * text.C: (1) finish off the inset display() work;
5176 (2) fix the "is a bit silly" bug (accessing char
5179 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5181 * text.C: re-introduce display() for insets, fixing the
5182 various bugs (stretch of line above, math inset
5185 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5187 * text.C (rightMargin): remove spurious semicolon
5189 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5192 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5194 * text3.C: fix one crash due to wrong cursor def
5196 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5198 * vc-backend.C (scanMaster): make the regex static
5200 * LaTeX.C (scanAuxFile): make the regexs static
5202 * text3.C (doInsertInset, dispatch, dispatch):
5203 * text2.C (cursorUp, cursorDown):
5204 * text.C (selectNextWordToSpellcheck):
5205 * BufferView_pimpl.C (dispatch):
5206 * lyxfunc.C (dispatch): localDispatch -> dispatch
5208 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5210 * lyxsocket.C: include <cerrno>
5212 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5214 * lyxfunc.C (dispatch): remove textcache stuff
5216 * bufferlist.C (release): remove textcache stuff
5219 * TextCache.C: delete file
5220 * TextCache.h: delete file
5222 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5224 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5225 delete of the bv_->text.
5226 (resizeCurrentBuffer): remove texcache stuff
5227 (workAreaResize): ditto
5229 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5231 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5234 2003-10-16 André Pönitz <poenitz@gmx.net>
5241 * text3.C: speed up by storing y positions per paragraph plus per-row
5242 offset instead of having a 'full' y position in the row.
5244 2003-10-15 André Pönitz <poenitz@gmx.net>
5248 * undo.[Ch]: make undo aware of inner insets
5250 2003-10-14 Angus Leeming <leeming@lyx.org>
5252 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5253 static member functions LyX::ref() and LyX::cref.
5254 (lastfiles): new accessor functions for the new lastfiles_ member var.
5255 (addLyXView, views_): add a new LyXView to the list of views_.
5256 (updateInset): loop over all LyXViews to call their own updateInset
5257 member function, returning a pointer to the Buffer owning the inset.
5259 * BufferView_pimpl.C (loadLyXFile):
5260 * MenuBackend.C (expandLastfiles):
5261 * bufferlist.C (MenuWrite, QuitLyX):
5262 lastfiles is no longer a global variable.
5263 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5265 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5266 static function. Access through LyX::cref().emergencyCleanup().
5268 2003-10-14 André Pönitz <poenitz@gmx.net>
5270 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5272 * undo.[Ch]: restoring part of 'undo in insets'
5275 * undo_funcs.[Ch]: merge with undo.[Ch]
5277 * tabular.C: small cleansing stuff
5279 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5281 * paragraph_funcs.C (readParToken): report unknown insets as error
5282 boxes. Use the outer paragraph as location (also for unknown
5285 * factory.C (readInset): do not abort on reading an unknown inset.
5286 Eat it and return 0.
5288 2003-10-13 Angus Leeming <leeming@lyx.org>
5290 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5292 * lyxrc.C: displayTranslator is now a function,
5293 declared in GraphicsTypes.h.
5295 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5297 * format.C: new placeholder $$a to pass the socket address.
5299 * bufferlist.[Ch]: new function getBufferFromTmp.
5301 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5302 files in the temporary dir.
5304 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5306 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5308 * Makefile.am: add lyxsocket.[Ch].
5310 * lyx_main.C (error_handler): handle SIGPIPE.
5312 2003-10-13 André Pönitz <poenitz@gmx.net>
5314 * BufferView_pimpl.C:
5319 * undo_funcs.[Ch]: use paroffset_type instead of
5320 ParagraphList::iterators to prevent multiple conversion
5321 (and get a more robust interface)
5323 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5325 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5327 * text3.C (dispatch): ditto
5329 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5331 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5332 move the onlyfile, use onlyfile instead of foundfile in a couple
5335 * DepTable.C (update): flush the error stream a bit more
5337 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * lyxserver.C (callback): adjust
5341 * lyxfunc.C (getStatus): add a missing brace in commented code
5342 (ensureBufferClean): reindent
5343 (dispatch): delete version taking a string
5345 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5347 * LaTeX.C (deplog): move found file handlig from here...
5348 (handleFoundFile): .. to new function here.
5349 (deplog): make sure to discover several files mentioned on the
5352 2003-10-10 André Pönitz <poenitz@gmx.net>
5359 * text3.C: fix some of the tabular crashes
5361 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5363 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5365 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5367 2003-10-09 André Pönitz <poenitz@gmx.net>
5369 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5372 * BufferView_pimpl.C:
5373 * bufferview_funcs.C:
5384 * undo_funcs.C: adjust
5386 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5388 * text2.C (incrementItemDepth): new function, use a backtracking
5389 algorithm to discover the correct item depth.
5390 (resetEnumCounterIfNeeded): new function, use a backtracking
5391 algorithm to discover if counter reset is needed.
5392 (setCounter): use them. Simplify a bit. Add different labels for
5393 different item depths for itemize.
5395 * paragraph.C (Paragraph): remove initialization of enumdepth
5398 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5399 enumerate and itemize. Change the type of itemdepth to signed char.
5401 2003-10-08 André Pönitz <poenitz@gmx.net>
5403 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5408 * tabular.[Ch]: fix crash after 'row-insert'
5410 2003-10-08 Angus Leeming <leeming@lyx.org>
5412 Fix doxygen warnings.
5414 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5415 Remove CutAndPaste:: prefix from header file declaration.
5417 * LColor.h (fill): remove LColor:: prefix from declaration.
5419 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5420 use lyx::depth_type rather than Paragraph::depth_type so that
5421 header file and .C file match.
5423 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5425 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5426 * aspell.C: \file aspell_local.C -> \file aspell.C
5427 * gettext.C: \file gettext.C -> \file src/gettext.C
5428 * gettext.h: \file gettext.h -> \file src/gettext.h
5429 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5430 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5431 * text.C: \file text.C -> \file src/text.C
5433 * toc.C: move comment so that doxygen is not confused.
5435 2003-10-07 Angus Leeming <leeming@lyx.org>
5437 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5439 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5442 * aspell_local.h: add forgotten std::string's.
5444 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5451 * text3.C: The Box patch. Fancybox support, minipage, parbox
5453 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5459 * ParagraphParameters.h:
5469 * lyxtextclasslist.h:
5472 * paragraph_pimpl.C:
5473 * textcursor.h: add <string> and other small fixes to make Lars'
5474 std::string patch compile with STLport.
5476 2003-10-06 Angus Leeming <leeming@lyx.org>
5478 * LColor.h: Add missing #include <string>.
5480 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5482 * All most all file in all subdirs: Make <string> be the prefered
5483 way of getting to std::string, add using declarations.
5485 2003-10-06 André Pönitz <poenitz@gmx.net>
5487 * metricsinfo.C: initialize LyXFont before changing attribute.
5488 (fixes the 'math in \emph is upright' bug)
5490 2003-10-06 André Pönitz <poenitz@gmx.net>
5492 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5494 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5497 * paragraph_pimpl.C: Small fixes to build using STLport
5499 2003-10-02 André Pönitz <poenitz@gmx.net>
5502 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5504 2003-10-01 André Pönitz <poenitz@gmx.net>
5506 * factory.C: assert early
5508 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * lyx_main.C: remove the global debug object
5512 * debug.h: adjust for new debugstream
5514 * debug.C: adjust for new debugstream and keep the global debug
5517 2003-09-22 Angus Leeming <leeming@lyx.org>
5519 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5520 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5521 an incomplete class LyXFont.
5523 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5525 * factory.C: bug fix in branches
5527 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5529 * lyxfunc.C (processKeySym): adjust
5531 (dispatch): change arg name from ev to func, adjust
5532 (sendDispatchMessage): ditto
5534 * lyx_main.C (defaultKeyBindings): adjust keybindings
5535 (deadKeyBindings): ditto
5537 * kbsequence.C (addkey): return a FuncRequest
5539 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5541 * kbmap.C (bind): take a FuncRequest as arg, adjust
5544 (defkey): change to take a FuncRequest as arg, adjust
5545 (findbinding): take a FuncRequest as arg, adjust.
5547 * funcrequest.h (operator=): added
5549 * funcrequest.C (FuncRequest): default kb_action changed from
5550 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5552 * buffer.C (dispatch): simplify
5553 (dispatch): adjust to take a FuncRequest as arg, adjust
5555 * boost.C (assertion_failed): change assertion message slightly
5557 * ToolbarBackend.C (read): simplify
5559 * MenuBackend.C (binding): adjust call to findbinding, add a
5560 message if no binding is found.
5562 (expandToc): correct by adding a empty FuncRequest
5564 * LyXAction.C: include <boost/assert.hpp>
5565 (isPseudoAction): delete function
5566 (LookupFunc): change name to...
5567 (lookupFunc): this. change return type to FuncRequest.
5568 (getActionName): take kb_action as arg, simplify
5569 (funcHasFlag): add an assert, simplify.
5571 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5573 * toc.C (action): return a FuncRequest, simplify
5575 * lyxfunc.C (processKeySym): adjust
5576 (getStatus): delete version that takes an int.
5578 (dispatch): delete version that takes action as int
5580 (sendDispatchMessage): simplify and adjust
5582 * funcrequest.C (getArg): take unsigned int as arg
5584 * ToolbarBackend.C (read): adjust
5585 (add): delete version that takes func as a string.
5586 (getIton): take a FuncRequest as arg
5588 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5591 * MenuBackend.C (MenuItem): add a new construct that only takes a
5592 Kind, simplify the constructor use for submenus.
5594 (expandLastfiles): adjust
5595 (expandDocuments): adjust
5596 (expandFormats): adjust
5597 (expandFloatListInsert): adjust
5598 (expandFloatInsert): adjust
5599 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5601 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5602 Remove class variables lyx_pseudo_map and lyx_arg_map
5604 * LyXAction.C (searchActionArg): delete function
5605 (getPseudoAction): delete function
5606 (retrieveActionArg): delete function
5607 (LookupFunc): make it return kb_action, simplify.
5608 (getActionName): simplify
5610 * factory.C (createInset): fix new bug
5612 2003-09-19 Angus Leeming <leeming@lyx.org>
5614 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5615 masterFilename_ parameter in the include inset.
5617 * factory.C (createInset): changes due to the changes to InsetInclude.
5619 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5621 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5623 2003-09-18 Angus Leeming <leeming@lyx.org>
5626 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5627 Inset::fillWithBibKeys.
5628 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5630 2003-09-18 Angus Leeming <leeming@lyx.org>
5632 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5634 (ctor): pass and store a 'Buffer const &'
5635 (buffer): new member function.
5637 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5638 '*this' to the LaTeXFeatures ctor.
5640 2003-09-18 Angus Leeming <leeming@lyx.org>
5646 * text.C: rename EnumLColor as LColor_color.
5648 2003-09-18 Angus Leeming <leeming@lyx.org>
5650 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5651 remove #include "insets/insetbase.h" from cursor.h.
5653 2003-09-18 Angus Leeming <leeming@lyx.org>
5655 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5656 InsetOld_code to remove #include "inset.h".
5658 * iterators.C: add #include "insets/inset.h"
5660 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5662 * BufferView.C: remove more locking stuff that apparently doesn't
5663 do anything sensible.
5665 2003-09-16 André Pönitz <poenitz@gmx.net>
5668 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5671 2003-09-16 Angus Leeming <leeming@lyx.org>
5673 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5675 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5678 * paragraph.h: remove #include "lyxfont.h". Forward declare
5681 2003-09-16 Angus Leeming <leeming@lyx.org>
5683 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5684 of support/textutils.h.
5685 (isWord): move the contents of support/textutils.h's IsWordChar here.
5691 * text2.C: add #include "paragraph.h".
5694 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5696 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5702 * LaTeX.C: use namespace alias for lyx::support::os
5704 2003-09-16 Angus Leeming <leeming@lyx.org>
5707 * bufferview_funcs.C:
5710 * paragraph_pimpl.C:
5712 * text.C: add #include "LColor.h".
5714 2003-09-16 Angus Leeming <leeming@lyx.org>
5716 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5717 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5719 Store the FontBits::color variable as an int rather than as an
5720 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5723 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5724 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5725 string calls together.
5727 * lyxrc.C: add #include "LColor.h".
5729 2003-09-15 Angus Leeming <leeming@lyx.org>
5731 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5734 2003-09-15 Angus Leeming <leeming@lyx.org>
5736 * LColor.h: add an EnumLColor wrapper for LColor::color.
5738 * lyxfont.[Ch] (color, setColor, realColor):
5739 * lyxtext.h, text.C (backgroundColor):
5740 pass EnumLColor args to/from the functions, rather than LColor::color
5744 * lyxtext.h: forward declare EnumLColor.
5746 * lyx_main.C: add #include "LColor.h".
5748 2003-09-15 Angus Leeming <leeming@lyx.org>
5750 * .cvsignore: add lyx-gtk.
5752 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5757 * ParagraphParameters.C
5761 * bufferview_funcs.C
5771 * vc-backend.C: remove usage of STRCONV
5773 2003-09-15 Angus Leeming <leeming@lyx.org>
5775 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5776 explicitly define the color passed to the painter.
5778 2003-09-15 Angus Leeming <leeming@lyx.org>
5780 * bufferparams.C (BufferParams): reorder member initializers to avoid
5783 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5785 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5786 * text.C (updateRowPositions): remove an unusual nop
5788 2003-09-12 André Pönitz <poenitz@gmx.net>
5790 * BufferView_pimpl.C:
5799 * Counters.[Ch]: finish the 'automatic counters' job
5801 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5803 * aspell.C: include <boost/assert.cpp> (compile fix)
5805 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5807 * boost.C (assertion_failed): use lyx::support::abort instead of
5810 2003-09-10 Angus Leeming <leeming@lyx.org>
5812 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5813 with their _fwd progeny.
5815 2003-09-09 Angus Leeming <leeming@lyx.org>
5817 134 files throughtout the source tree: replace 'using namespace abc;'
5818 directives with the appropriate 'using abc::xyz;' declarations.
5820 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5822 * boost.C (emergencyCleanup): moved here from LAssert.c
5823 (assertion_failed): new function, called by BOOST_ASSERT
5825 * several files: change Assert to BOOST_ASSERT
5827 2003-09-09 Angus Leeming <leeming@lyx.org>
5829 * buffer.[Ch]: Add an Impl class and move Buffer's member
5830 variables into it. As a result move several header files out of
5833 Add header files to lots of .C files all over the tree as a result.
5835 2003-09-09 Angus Leeming <leeming@lyx.org>
5837 * buffer.[Ch]: make Buffer's member variables private. Add
5840 Lots of changes all over the tree as a result.
5842 2003-09-08 Angus Leeming <leeming@lyx.org>
5844 * graph.C: #include <config.h>.
5846 2003-09-08 Angus Leeming <leeming@lyx.org>
5850 * BufferView_pimpl.C:
5879 * toc.C: remove redundant using directives.
5881 2003-09-07 Angus Leeming <leeming@lyx.org>
5883 * LaTeXFeatures.h: remove #include "support/types.h".
5884 * ToolbarBackend.h: remove #include <algorithm>.
5885 * changes.h: remove #include <ctime>.
5886 * debug.h: remove #include <iosfwd>.
5887 * graph.h: remove #include "support/std_string.h".
5888 * lyx_main.h: remove #include <csignal>.
5889 * lyxlex_pimpl.h: remove #include <fstream>.
5890 * sgml.h: remove #include <algorithm>, <utility>.
5891 * toc.h: remove #include "support/std_ostream.h".
5892 Add #include <iosfwd>.
5894 2003-09-07 Angus Leeming <leeming@lyx.org>
5896 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5898 * converter.h: forward declare LatexRunParams.
5899 * encoding.h: remove #include "lyxrc.h".
5900 * lyxtext.h: remove #include "LColor.h".
5901 * lyxtextclass.h: remove #include "support/types.h".
5902 * trans.h: remove #include "tex-accent.h".
5903 * trans_mgr.h: remove #include "tex-accent.h".
5904 * insets/inset.h: remove #include "support/types.h", <vector>.
5905 * insets/insetcollapsable.h: remove #include "LColor.h".
5906 * insets/insetinclude.h: remove #include "dimension.h".
5907 * insets/insetlatexaccent.h: remove #include "dimension.h".
5908 * insets/insetoptarg.h:: remove #include "insettext.h".
5909 * insets/insettext.h: remove #include "dimension.h",
5910 <boost/shared_ptr.hpp>
5912 * insets/renderers.h: add #include "dimension.h".
5913 * insets/updatableinset.h: add #include "support/types.h".
5915 * many .C files: Associated changes.
5917 2003-09-06 Angus Leeming <leeming@lyx.org>
5919 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5920 one, inside testInvariant.
5922 * PrinterParams.C: new file.
5923 * PrinterParams.[Ch]: move the function bodies out of line.
5925 2003-09-06 Angus Leeming <leeming@lyx.org>
5927 * ParagraphParameters.h: forward declare ParameterStruct rather than
5928 including its header file.
5929 (depth): moved out-of-line.
5931 2003-09-06 Angus Leeming <leeming@lyx.org>
5933 * BufferView_pimpl.h:
5936 * lyxfunc.h: forward declare LyXKeySym rather than
5937 #include "frontends/LyXKeySym.h".
5939 * BufferView_pimpl.C:
5942 * lyxfunc.C: associated changes.
5944 2003-09-06 Angus Leeming <leeming@lyx.org>
5946 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5947 As a result, can remove the #include "insets/inset.h" from BufferView.h
5949 2003-09-06 Angus Leeming <leeming@lyx.org>
5951 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5952 As a result, can remove the #include "insets/inset.h" from BufferView.h
5954 2003-09-06 Angus Leeming <leeming@lyx.org>
5960 * bufferview_funcs.C:
5961 * BufferView_pimpl.C:
5966 * ParagraphParameters.C:
5971 * frontends/controllers/ControlDocument.C:
5972 * insets/insetcaption.C: rearrange the #includes into some sort of
5975 * buffer.h: remove #includes ErrorList.h, undo.h
5977 2003-09-06 Angus Leeming <leeming@lyx.org>
5979 * support/types.h: add a 'depth_type' typedef, used to store the
5980 nesting depth of a paragraph.
5983 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5984 defining explicitly.
5987 * paragraph_funcs.h:
5988 * ParagraphParameters.h:
5989 * sgml.h: use lyx::depth_type rather than Paragraph or
5990 ParameterStruct's depth_type.
5993 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5996 * BufferView_pimpl.C:
5998 * ParagraphParameters.C:
6001 * bufferview_funcs.C:
6008 * frontends/LyXView.C:
6009 * frontends/controllers/ControlDocument.C:
6010 * frontends/controllers/ControlErrorList.C:
6011 * insets/insetbibitem.C:
6012 * insets/insetbranch.C:
6013 * insets/insetcaption.C:
6014 * insets/insetcollapsable.C:
6015 * insets/insetenv.C:
6016 * insets/insetert.C:
6017 * insets/insetfloat.C:
6018 * insets/insetfoot.C:
6019 * insets/insetfootlike.C:
6020 * insets/insetnewline.C:
6021 * insets/insetquotes.C:
6022 * insets/insettabular.C:
6023 * insets/insettext.C:
6024 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6026 * frontends/controllers/ControlChanges.C: #include "changes.h".
6028 2003-09-06 Angus Leeming <leeming@lyx.org>
6030 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6031 than #including paragraph.h.
6034 * RowList.h: deleted. Superfluous.
6044 * insets/insettext.h: use ParagraphList_fwd.h rather than
6047 * paragraph.h: don't forward declare ParagraphList.
6050 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6051 rather than ParagraphList.h. paragraph.h is still needed for the
6052 Paragraph::depth_type parameters.
6054 * textcursor.h: enable it to compile stand-alone in light of the
6057 * bufferview_funcs.C:
6069 * frontends/controllers/ControlParagraph.C:
6070 * frontends/controllers/ControlTabular.C:
6071 * insets/insetmarginal.C:
6072 * insets/insetminipage.C:
6073 * insets/insetnote.C:
6074 * insets/insetoptarg.C: add header files needed to compile again.
6076 2003-09-06 Angus Leeming <leeming@lyx.org>
6078 * RowList_fwd.h: new file, forward-declaring Row rather than
6079 #including lyxrow.h.
6084 * insets/insettext.h: use it instead of RowList.h
6086 * bufferview_funcs.C:
6093 * text3.C: #include "RowList.h".
6095 2003-09-05 Angus Leeming <leeming@lyx.org>
6097 * factory.C (createInset):
6098 * vspace.C (c-tor): replace sscanf call with an istringstream.
6099 * ispell.C: re-add missing HP/UX headers.
6100 * lyxserver.C: re-add missing os2 headers.
6102 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6111 * text3.C: re-add missing system headers, needed for 2.95.2.
6113 2003-09-05 Angus Leeming <leeming@lyx.org>
6115 Changes most place everywhere due to the removal of using directives
6116 from support/std_sstream.h.
6118 2003-09-05 Angus Leeming <leeming@lyx.org>
6120 Replace LString.h with support/std_string.h,
6121 Lsstream.h with support/std_sstream.h,
6122 support/LIstream.h with support/std_istream.h,
6123 support/LOstream.h with support/std_ostream.h.
6125 Changes resulting throughout the tree.
6127 2003-09-05 Angus Leeming <leeming@lyx.org>
6129 * sgml.h: ensure that the header file can be compiled stand-alone.
6130 * *.C: strip out redundant #includes. (320 in total.)
6132 2003-09-04 Angus Leeming <leeming@lyx.org>
6134 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6135 here (from getPackages).
6137 * debug.[Ch]: add a new EXTERNAL tag.
6139 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6141 * text2.C (cursorEnd): simplify
6143 (getColumnNearX): adjust
6145 * text.C (computeBidiTables): adjust
6148 * rowpainter.C (paintChars): adjust
6149 (paintSelection): adjust
6150 (paintChangeBar): adjust
6153 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6155 (numberOfSeparators): adjust
6157 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6163 * text3.C: Restricts the mouse click functionality
6164 of insets like bibtex, include, toc and floatlist to the visible
6165 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6166 up the dialogs. Cursor has to be in front of the inset (i.e.
6167 start of row) for this to function.
6169 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6171 * bufferview_funcs.C (currentState): output row information
6173 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6175 * bufferview_funcs.C (currentState): output paragraph position
6177 2003-09-04 Angus Leeming <leeming@lyx.org>
6179 * FloatList.h: move out #include "Floating.h".
6180 * LaTeX.h: move out #include "DepTable.h".
6181 * LyXAction.h: move out #include "funcrequest.h".
6182 * buffer.h: move out #include "author.h", "iterators.h".
6183 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6184 * lyx_main.h: move out #include "errorlist.h".
6185 * lyxfunc.h: move out #include "FuncStatus.h".
6186 * lyxtext: move out #include "lyxcursor.h".
6187 * paragraph_pimpl.h: move out #include "counters.h".
6189 2003-09-03 Angus Leeming <leeming@lyx.org>
6191 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6192 preamble_snippets list, enabling us to add snippets to the preamble
6193 only if the snippet was not there already.
6195 2003-09-04 Angus Leeming <leeming@lyx.org>
6197 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6199 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6201 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6204 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6206 * BranchList.C: point fix, earlier forgotten
6208 2003-09-02 Angus Leeming <leeming@lyx.org>
6210 * box.C (contains): renamed from 'contained' after a fantastic
6213 2003-09-02 John Levon <levon@movementarian.org>
6219 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6221 2003-09-02 John Levon <levon@movementarian.org>
6223 * text2.C: simplification of cursorEnd(), including partial
6226 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6228 * buffer.C (readFile): add a space
6230 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6232 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6234 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6236 * buffer.C (readFile): new function, take a filename and a
6237 ParagraphList::iterator
6239 (readFile): adjust, make it private. don't use setStream, make
6240 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6241 always contain the filename.
6243 * BufferView.C (insertLyXFile): simplify and make it work for
6246 2003-08-30 John Levon <levon@movementarian.org>
6248 * Makefile.am: fix dist (from Kayvan)
6250 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6252 * most files: change to use const Buffer refs
6254 2003-08-27 André Pönitz <poenitz@gmx.net>
6256 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6257 on top of ownerPar().
6259 2003-08-27 John Levon <levon@movementarian.org>
6261 * funcrequest.C: properly initialise POD members
6263 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6265 * lyxtext.h (top_y): move top_y from here
6270 * BufferView_pimpl.[Ch]: to here
6271 * frontends/screen.C:
6272 * insets/insettabular.C:
6273 * insets/insettext.C: adjust
6274 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6276 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6279 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6281 2003-08-26 André Pönitz <poenitz@gmx.net>
6283 * paragraph_func.[Ch] (outerPar): new function
6286 * paragraph_funcs.C:
6287 * paragraph_funcs.h:
6288 * paragraph_pimpl.C:
6289 * text2.C: remove Inset::par_owner
6291 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6296 * text2.C: eliminates the needFullRow/display() stuff
6297 altogether, putting the logic in metrics/draw in the insets.
6299 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6301 * text2.C (redoParagraphInternal, redoParagraphs):
6302 * text.C (redoParagraph): add a call to updateRowPositions at the
6303 end of each 'metrics-like' call. Remove all others.
6304 (getRow): remove the 'y-computing' version.
6305 (getRowNearY): do not compute nor return the real y. Solve the
6306 'y < 0' problem and simplify.
6308 2003-08-22 Angus Leeming <leeming@lyx.org>
6310 * *.[Ch]: clean-up of licence and author blurbs.
6311 Also move config.h out of a few .h files and into a few .C files.
6313 2003-08-22 André Pönitz <poenitz@gmx.net>
6315 * lyxrow.[Ch]: add x_ and *fill_ members
6320 * text2.C: adjust/remove prepareToPrint() calls
6322 2003-08-22 André Pönitz <poenitz@gmx.net>
6324 * lyxrow.[Ch]: add end_ member
6326 * lyxrow_funcs.C: use LyXRow::end_
6328 * lyxtext.h (singleWidth): add LyXFont parameter
6331 * text2.C: adjust LyXText::singleWidth() calls
6333 * text.C (redoParagraph): simplify row breaking logic
6336 2003-08-19 André Pönitz <poenitz@gmx.net>
6338 * funcrequest.C: initialize button_ member
6341 * rowpainter.[Ch]: interface consolidation
6343 2003-08-18 André Pönitz <poenitz@gmx.net>
6346 * BufferView_pimpl.C:
6348 * paragraph_funcs.C:
6350 * text3.C: remove LyXScreen::draw() and fitCursor calls
6352 * BranchList.h: remove spurious semicolons
6354 * MenuBackend.C: fix branchlist related crash
6356 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6364 * bufferparams.[Ch]:
6368 * text3.C: implements the 'branch inset'
6369 idea. This allows the output of various versions of a document
6370 from a single source version, selectively outputing or suppressing
6371 output of parts of the text.
6372 This implementation contains a 'branch list editor' in a separate
6373 tab of the document settings dialog. Branches are user definable
6374 and have a "display colour" to distinguish them on-screen.
6376 ColorHandler was somewhat cleaned up.
6377 (1) make possible a dynamically growing LColor list by allowing
6378 the graphic context cache to grow along (vector);
6379 (2) eliminate an IMHO unnecessary step in colour allocation.
6381 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6383 * BufferView_pimpl.C: compile fix
6385 2003-08-15 André Pönitz <poenitz@gmx.net>
6387 * rowpainter.C: remove extra metrics calls
6389 * lyxtext.h: merge the two constructors into a single one,
6390 pass reference to owner's par list
6392 * BufferView_pimpl.C:
6396 2003-08-15 André Pönitz <poenitz@gmx.net>
6398 * lyxrow_funcs.[Ch]:
6401 * paragraph_funcs.C:
6406 * text_funcs.C: split LyXText::rowlist_ into individual
6407 Paragraph::rows_ chunks
6410 * BufferView_pimpl.[Ch]:
6413 * text3.C: remove toggleSelection()
6415 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6417 * bufferlist.C: beautify two alerts (shorter text of buttons)
6418 * buffer.C: Remove redundant ' ' from message
6420 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6421 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6422 rename VALIGN_CENTER to VALIGN_MIDDLE
6424 2003-08-11 André Pönitz <poenitz@gmx.net>
6426 * lyxtext.h (getPar):
6427 * text.C: new function
6429 2003-08-11 André Pönitz <poenitz@gmx.net>
6432 * tracer.[Ch]: remove unneeded files
6434 * InsetList.[Ch]: remove resizeInsetsLyXText()
6439 * text3.C: merge insertParagraphs() and appendParagraph()
6440 remove breakAgain(), update()
6442 * BufferView_pimpl.[Ch]:
6443 * bufferview_funcs.[Ch]:
6447 * tabular.C: adjust after text & InsetList changes.
6449 2003-08-08 André Pönitz <poenitz@gmx.net>
6451 * text.C (insertChar, backspace): replace rowlist fiddling
6452 with rebreak of full par
6455 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6456 checkParagraph, updateInset): removed
6458 2003-08-07 André Pönitz <poenitz@gmx.net>
6461 * text3.C: merge some LFUN handlers, remove dead code
6463 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6465 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6467 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6469 * text2.C (DEPM): fix part of bug 1255 and 1256
6471 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6473 * BufferView_pimpl.C (workAreaDispatch): change to use
6474 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6475 that are no mouse related.
6477 2003-08-05 André Pönitz <poenitz@gmx.net>
6480 * BufferView_pimpl.[Ch]:
6481 * bufferview_funcs.C:
6483 * text3.C: rip out "deep update"
6485 * textcursor.[Ch] (last_sel_cursor): remove unused member
6487 2003-08-04 André Pönitz <poenitz@gmx.net>
6490 * BufferView_pimpl.[Ch]:
6491 * ParagraphParameters.C:
6492 * bufferview_funcs.C:
6498 * text3.C: replace "complicated" BufferView::update(...) calls with
6501 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6503 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6505 * Makefile.am (lyx_SOURCES): add paper.h
6507 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6509 * Makefile.am: move things around so that both lyx-qt and
6510 lyx-xforms can be built (according to --with-frontend). Then lyx
6511 is a symbolic link to lyx-[firstfrontend]
6513 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6515 * Always use std::endl with lyxerr
6517 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6519 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6521 2003-08-01 André Pönitz <poenitz@gmx.net>
6524 * BufferView_pimpl.[Ch]:
6526 * text3.C: merge BufferView::repaint() and BufferView::update()
6528 2003-08-01 José Matos <jamatos@lyx.org>
6530 * buffer.[Ch]: file_format is no longer a buffer data element.
6532 2003-08-01 André Pönitz <poenitz@gmx.net>
6537 * text2.C: make redoParagraph more independent of current cursor
6539 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6541 * text2.C: remove unneeded members
6543 2003-07-30 André Pönitz <poenitz@gmx.net>
6545 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6547 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6548 create a single function...
6550 * paragraph_funcs.C (moveItem): ... here.
6553 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6555 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6557 * LColor.[Ch]: Add comment and greyedout logical colors.
6559 2003-07-30 André Pönitz <poenitz@gmx.net>
6561 * tabular.C: don't use Assert too heavily. This crashes where it
6564 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6566 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6567 is disabled (bug 1232)
6569 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6571 * factory.C: limited 'arg' scope
6573 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6575 * factory.C: fixed Note submenu issues
6577 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6579 * factory.C: submenu for Note/Comment/Greyedout
6581 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6584 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6586 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6589 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6590 greyedout. Patch provided by Jürgen Spitzmüller.
6592 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6594 * kbmap.C (read): fix error message when reading bind files
6596 2003-07-29 Angus Leeming <leeming@lyx.org>
6598 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6599 certainly does not do what it purports to do. I am doing it, and
6600 us, a favour by killing it.
6602 2003-07-28 José Matos <jamatos@lyx.org>
6604 * buffer.C (readBody, do_writeFile):
6605 * paragraph.C(readParagraph): \end_document replaces \the_end.
6607 2003-07-29 André Pönitz <poenitz@gmx.net>
6610 * BufferView_pimpl.[Ch]:
6614 * textcursor.[Ch]: remove toggleToggle & Co
6616 2003-07-28 José Matos <jamatos@fep.up.pt>
6618 * buffer.C (readParagraph):
6619 * params_func (readParToken, readParagraph):
6620 * paragraph.C (write): \layout -> \begin_layout.
6622 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6624 * lyxlex_pimpl.C (setFile): clean up slightly.
6626 * bufferparams.h: add compressed var
6628 * buffer_funcs.C (readFile): adjust for LyXLex change
6629 (newFile): ditto + simplify
6631 * buffer.C (writeFile): handle writing of compressed files
6633 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6634 Check if the file is compressed and set a bufferparm if so.
6636 * Makefile.am (lyx_LDADD): remove explicit -lz
6638 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6640 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6641 makeDocBookFile): put the real LyX version in the first line of
6645 * version.C.in: remove lyx_docversion
6647 * tabular.C (write_attribute): add a template-based version to
6648 write enums properly
6650 2003-07-28 André Pönitz <poenitz@gmx.net>
6655 * text3.C: use doubles again for x-coordinates. They are needed.
6657 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6659 * messages.C (getLocaleDir): use lyx_localedir()
6661 * lyxlex_pimpl.C (setFile): compress stuff
6663 * buffer.C (writeFile): add some compression stuff
6664 (do_writeFile): new func, dont call expliti close... will this
6667 * Makefile.am (lyx_LDADD): add -lz
6669 2003-07-28 José Matos <jamatos@fep.up.pt>
6671 * buffer.C: increment file format.
6672 * paragraph_funcs (readParagraph, readParToken):
6673 * paragraph.C (readParagraph): add \end_layout.
6675 2003-07-27 Angus Leeming <leeming@lyx.org>
6677 * Makefile.am: remove special casing for configure-time setting of
6678 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6680 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6681 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6683 2003-07-26 André Pönitz <poenitz@gmx.net>
6685 * paragraph_func.[Ch]:
6686 * paragraph.C (realizeFont): inline it whereever it is used
6691 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6694 2003-07-26 André Pönitz <poenitz@gmx.net>
6698 * text2.C: get rid of LyXText::need_break_row
6700 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6702 * toc.[Ch]: put namespace toc inside namespace lyx
6704 * MenuBackend.C (expandToc2): adjust for lyx::toc
6707 * lyxfunc.C (dispatch): adjust for lyx::find
6709 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6710 lyx::find instead. Reorganize a bit.
6711 (LyXReplace): rename to replace
6712 (LyXFind): rename to find
6714 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6717 2003-07-26 André Pönitz <poenitz@gmx.net>
6719 * text.C (setHeightOfRow): restrict scope of temporary variable
6721 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6722 code (never has been used?)
6724 2003-07-27 Asger Alstrup <alstrup@local>
6726 * text.C (fill): Optimise algorithm to exploit that we can reuse
6727 the LyXFont for many characters.
6728 (setHeightOfRow): Same thing.
6729 (rowBreakPoint): Same thing.
6731 2003-07-26 Asger Alstrup <alstrup@local>
6733 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6735 * text.C (singleWidth): Spurious font copying in hot-spot
6736 singleWidth avoided. Reorder tests for arabic for efficiency.
6738 * text.C (fill): handle empty paragraphs better.
6740 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6743 * encoding.h: add includes
6745 * lyxrc.C: remove reading of bind files
6747 * lyx_main.C (init): setup bindings and menus only if we have a
6750 * kbmap.C (read): new method. Do the actual reading of bind
6753 * converter.C (dvipdfm_options):
6756 (output): adapt PAPER_* enums.
6758 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6760 * bufferparams.h: remove paper-related enums from there
6762 * paper.h: New file. A trivial header file to hold paper-related
6763 enums. It should later expand to contain many paper-related
6766 * lyxrc.C: declare extern displayTranslator
6768 2003-07-27 José Matos <jamatos@fep.up.pt>
6770 * tabular.[Ch] (linuxdoc): add support for tables and figures
6773 2003-07-27 José Matos <jamatos@fep.up.pt>
6775 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6776 consistency in both functions.
6777 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6779 2003-07-26 Asger Alstrup <alstrup@local>
6781 * rowpainter.C (paintRows): Change algorithm to work directly on
6782 the insets rather than asking every character in the document
6783 whether its an inset.
6785 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6787 * buffer.C (openFileWrite): factorize some code
6789 2003-07-26 Angus Leeming <leeming@lyx.org>
6792 * lyx_main.[Ch]: replace occurances of system_tempdir with
6795 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * rename Inset to InsetOld
6799 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6801 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6802 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6803 which I think is a bit clearer. EDIT is gone, since it was
6804 premature optimisation, and broken for mathed anyway.
6805 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6806 with cursor positioning in insets as well (math insets still do not
6807 work, but that's a different story anyway.) It mysteriously
6808 crashes sometimes with undo in the first paragraph, but I'm fairly
6809 confident that this is a compiler bug.
6811 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6813 * paragraph.C (Paragraph): adjust for new clone return type
6815 (copyIntoMinibuffer): ditto
6817 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6819 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6820 by not having a special case, and always doing a full rebreak of
6821 the document after undo.
6823 2003-07-23 Angus Leeming <leeming@lyx.org>
6825 * factory.C (createInset): InsetExternal::setParams now takes a
6828 2003-07-23 Angus Leeming <leeming@lyx.org>
6830 * factory.C (createInset): changed interface to the external and
6831 graphics mailers' string2params functions.
6833 2003-07-23 Angus Leeming <leeming@lyx.org>
6835 * factory.C (createInset): pass a
6836 Buffer const * parameter to InsetExternalMailer's string2params.
6838 2003-07-22 John Levon <levon@movementarian.org>
6840 * Thesaurus.h: include the right aiksaurus header
6842 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6844 * MenuBackend.C (expand): check menu shortcuts unconditionally
6846 2003-07-21 Angus Leeming <leeming@lyx.org>
6848 * factory.C (createInset): pass a
6849 buffer_path parameter to InsetGraphicsMailer's string2params.
6851 2003-07-21 Angus Leeming <leeming@lyx.org>
6853 * BufferView_pimpl.C (buffer):
6856 * lyxfunc.C (dispatch):
6857 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6858 rather than the grfx shortcut.
6860 2003-07-21 André Pönitz <poenitz@gmx.net>
6862 * rowpainter.C: remove unused variables
6865 * tabular_funcs.h: move to tabular.C
6866 * Makefile.am: adjust
6868 * tabular.[Ch]: basic optical cleaning
6870 * author.h: pass references, not values
6872 2003-07-18 André Pönitz <poenitz@gmx.net>
6880 * text3.C: two-phase drawing for InsetText and InsetTabular
6881 some float -> int changes.
6883 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6885 * lyx_main.C: fix the fix
6887 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6889 * lyx_main.C: fix a crash in batch mode if no files specified
6892 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6894 * format.[Ch] (papersize): moved to BufferParams
6895 * converter.[Ch] (dvips_options): moved to BufferParams
6896 (dvipdfm_options): moved to anon namespace
6897 * bufferparams.[Ch]: added above functions.
6899 2003-07-17 André Pönitz <poenitz@gmx.net>
6903 * text2.C: don't call inset->update() anymore
6905 * metricsinfo.[Ch]: add convenience constructor
6907 2003-07-16 André Pönitz <poenitz@gmx.net>
6912 * text2.C: replace the LyXCursor::irow_ member with
6913 on-demand computation of the value
6915 2003-07-16 John Levon <levon@movementarian.org>
6917 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6919 2003-07-15 André Pönitz <poenitz@gmx.net>
6922 * text2.C: remove no more needed refresh_row
6924 2003-07-15 André Pönitz <poenitz@gmx.net>
6929 * text3.C: refresh_status tristate -> need_update bool
6931 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6933 * lyxtext.h (init): remove reinit argument (act as if always true)
6934 * text2.C: adjust to that
6936 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6938 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6939 * text3.C: use it to delete selections in some cases
6940 (bugs 441, 673, 702, 954).
6942 2003-07-14 André Pönitz <poenitz@gmx.net>
6944 * rowpainter.[Ch]: reduce interface
6946 2003-07-14 André Pönitz <poenitz@gmx.net>
6948 * BufferView_pimpl.C:
6949 * text2.C: adjust after removing unused BufferView * argument
6951 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6953 * text2.C (init): fix a crash fired on resize
6955 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6957 * buffer.[Ch]: added new closing signal
6958 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6959 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6960 BufferView::Pimpl via the closing the signal
6962 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6964 * buffer.[Ch]: take out all bv-related from buffer
6966 * BufferView_pimpl.[Ch]: connect to new signals
6967 * CutAndPaste.C: removed useless asserts
6968 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6971 * lyxfunc.C: moved view-related funciontality from vc here
6972 * paragraph.C: removed outdated comments
6975 2003-07-10 André Pönitz <poenitz@gmx.net>
6977 * BufferView_pimpl.C:
6981 * text2.C: remove InsetText::InnerCache, clean up consequences
6983 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6985 * ispell.C: fix two typos in error messages
6987 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6989 * Extend Note inset to other forms of annotation like Comment
6990 and Greyedout. Right button click gives dialog.
6992 Files modified or added (+):
6996 * ControlNote.[Ch] +
6998 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6999 frontends/controllers
7003 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7005 * aspell.C: add missing namespace lyx::support
7007 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7009 * BufferView.[Ch] (newFile): Add
7010 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7011 * LaTeX.[Ch] (message): added this signal and use it
7012 * buffer.[Ch] (busy, message): added these signals and use them
7013 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7017 * importer.C: use buffer signals instead of direct bv calling
7018 * lyx_cb.[Ch] (ShowMessage): removed
7021 * paragraph_funcs.C:
7022 * text2.C: use buffer signals
7024 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7026 * introduce namespace lyx::graphics
7028 2003-07-02 André Pönitz <poenitz@gmx.net>
7030 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7032 2003-07-01 André Pönitz <poenitz@gmx.net>
7039 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7040 text*.C to text_func.C
7042 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7044 * introduce namespace lyx::support
7046 2003-06-30 André Pönitz <poenitz@gmx.net>
7051 * text.C: re-enable --with-included-string
7053 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7055 * textcursor.C: add <config.h>
7057 * text.C (getWord): remove const from word_location arg
7059 * lyxvc.C (getLogFile): fix const type order
7061 * lyxtext.h: remove const from word_location arg, add arg name
7063 * lyxlayout.h: currect type on labeltype.
7065 * importer.C: correct \file
7067 * converter.C (intToFormat): use std:: on ret val, ws changes
7069 * bufferlist.h: correct \file
7071 * buffer.C (makeLinuxDocFile): fix const type order
7072 (makeDocBookFile): ditto
7073 (fillWithBibKeys): use std:: on stdlib args.
7075 * CutAndPaste.C: fix authors.
7076 (availableSelections): use std:: on return vector
7078 2003-06-27 André Pönitz <poenitz@gmx.net>
7080 * BufferView_pimpl.C:
7081 * bufferview_funcs.C:
7089 * text3.C: remove LyXCursor::row_ member
7092 * text.C: rename fullRebreak() to partialRebreak() and implement
7093 a fullRebreak() that really bereks fully
7095 * textcursor.h: new struct for cursor-related data
7097 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7099 * lyx_main.C (LyX): get full path of document loaded on the
7102 2003-06-26 André Pönitz <poenitz@gmx.net>
7104 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7105 remove unused/broken operator>,<,>=.
7107 * text.C: remove only use of broken operator<= in an Assert().
7109 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7111 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7112 moved errorlist_.clear to showErrorList
7114 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7116 * converter.C (scanLog, runLaTeX):
7117 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7118 move the bv->showErrorList call to the callers
7119 * lyxfunc.C: i.e. here...
7121 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7122 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7123 namespace, the second to...
7124 * buffer_funcs (BufferFormat, parseErrors): added
7125 * errorlist.C (ErrorList(TeXErrors const &)): removed
7127 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7129 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7131 2003-06-24 "Garst R. Reese" <reese@isn.net>
7135 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7137 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7139 * version.C.in: change docversion to 1.4
7141 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7143 * buffer.C: fix a bug just introduced
7145 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7147 * buffer.[Ch]: added the parseError signal and use it, removed
7149 * BufferView.[Ch] (addError): moved to ...
7150 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7151 to the Buffer::parseError signal to catch (guess what) parse errors
7152 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7154 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7156 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7157 ability to create a buffer and to return an existing one from
7158 the list. Moved these functions to...
7159 * buffer_funcs.[Ch]: added
7160 * BufferView.[Ch] (loadLyXFile): added
7161 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7162 job removed from bufferlist::loadLyXFile.
7163 * buffer.C (setReadOnly): make it work without view
7164 (i.e added an if (users))
7166 2003-06-19 Angus Leeming <leeming@lyx.org>
7169 * LyXAction.C (init):
7170 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7171 with LFUN_DIALOG_SHOW <name> <data>.
7173 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7175 * CutAndPaste.C (availableSelections): small compilation fix for
7176 ancient (gcc 2.9x) compilers
7178 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * text3.C (cursorNext): add tmp var
7182 * text2.C (updateCounters): for function calling out of for clause
7183 (replaceSelectionWithString): ditto
7184 (insertStringAsParagraphs): ditto
7185 (getColumnNearX): add tmp var
7186 (setCursorFromCoordinates): add tmp var
7187 (cursorDownParagraph): add tmp var
7188 (deleteEmptyParagraphMechanism): add tmp var
7190 * text.C (insertChar): add tmp var
7192 * rowpainter.C (paintDepthBar): add tmp var
7194 * CutAndPaste.C (availableSelections): potentially check all
7195 paragraphs in a cut to fill the shown strings.
7197 2003-06-18 André Pönitz <poenitz@gmx.net>
7199 * kbmap.[Ch]: use vector<> instead of list<>
7201 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7203 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7204 pasteSelection with index
7206 * text2.C (pasteSelection): modify, call pasteSelection with index
7208 * paragraph.C (asString): reimplement version with no interval to
7209 call the one with interval.
7211 * lyxtext.h: add index arg to pasteSelection
7213 * MenuBackend.C (MenuItem): handle PasteRecent
7214 (Menu::read::Menutags): add md_pasterecent
7216 (expandPasteRecent): new function
7219 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7221 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7223 (availableSelections): new function
7225 2003-06-17 Angus Leeming <leeming@lyx.org>
7227 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7229 2003-06-17 Angus Leeming <leeming@lyx.org>
7232 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7234 * lyxfunc.C (dispatch): invoke it.
7236 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7238 * iterators.C (operator++, ParPosition): reintroduce some
7239 const_cast for the benefit of older compilers.
7241 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7243 * text3.C (dispatch): do not modify clipboard when doing
7244 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7245 LFUN_DELETE_SKIP on a selection selection
7247 2003-06-16 André Pönitz <poenitz@gmx.net>
7253 * tabular.[Ch]: IU of clone() and getLabelList();
7255 2003-06-13 André Pönitz <poenitz@gmx.net>
7257 * tabular.h: compactification
7259 2003-06-12 André Pönitz <poenitz@gmx.net>
7263 * tabular_funcs.h: some renaming plus whitespace
7265 2003-06-12 André Pönitz <poenitz@gmx.net>
7268 * BufferView_pimpl.C:
7274 * toc.C: Return a Paragraph & for ParIterator::operator*()
7276 2003-06-11 John Levon <levon@movementarian.org>
7280 * ToolbarBackend.C: add "Toolbars" section and
7283 2003-06-10 Angus Leeming <leeming@lyx.org>
7286 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7288 * lyxfunc.C (dispatch): invoke it.
7290 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7292 * main.C: protect <ios> with HAVE_IOS
7293 (main): protect sync_with_stdio with HAVE_IOS
7295 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7297 * text2.C (cutSelection): adjust
7298 (pasteSelection): adjust
7300 * messages.C: handle get of empty string
7302 * main.C (main): use sync_with_stdio(false)
7304 * lyxfunc.C (dispatch): adjust
7306 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7307 (WriteAs): remove unneeded BufferView arg.
7309 * bufferparams.h: use correct types on papersize, papersize2 and
7312 * bufferparams.C (readToken): adjust for type
7313 (writeLaTeX): add missing cases to switch.
7315 * bufferlist.C (quitWriteBuffer): adjust
7318 * buffer.C (asciiParagraph): remove some commented code.
7320 * CutAndPaste.C: remove current_view extern variable.
7321 (cutSelection): add BufferParams arg.
7322 (eraseSelection): add BufferParams arg.
7323 (pasteSelection): add Buffer const & arg
7325 2003-06-07 John Levon <levon@movementarian.org>
7328 * paragraph_funcs.C:
7329 * paragraph_pimpl.C:
7333 * paragraph.C: allow InsetERT to freely space lines,
7334 and some consolidation of code
7336 2003-06-06 José Matos <jamatos@fep.up.pt>
7338 * buffer.C (makeDocBookFile): fix bug #821
7340 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7342 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7344 2003-06-04 Angus Leeming <leeming@lyx.org>
7346 * buffer.C: bump format to 224.
7348 2003-06-05 André Pönitz <poenitz@gmx.net>
7350 * text2.C (redoParagraphs): remove two const_cast<>
7352 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7354 * ParagraphList.h: remove last remnants of NO_STD_LIST
7356 2003-06-03 Angus Leeming <leeming@lyx.org>
7358 * factory.C (createInset): small change to the way InsetExternal's params
7361 2003-06-04 André Pönitz <poenitz@gmx.net>
7363 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7365 * paragraph_pimpl.h:
7366 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7368 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7370 * undo_funcs.C: make some simple cases of undo work again
7372 2003-06-03 John Levon <levon@movementarian.org>
7374 * ispell.C: HPUX doesn't have sys/select.h
7377 2003-06-03 John Levon <levon@movementarian.org>
7379 * CutAndPaste.C: update tabular and include inset
7384 * paragraph.C: remove owningBuffer(), don't pass Buffer
7387 * factory.C: insetGraphicsParams changed
7389 2003-06-02 John Levon <levon@movementarian.org>
7395 * text3.C: remove insetparent
7397 2003-06-02 John Levon <levon@movementarian.org>
7400 * buffer.C: fix inset_iterator.end(), move out of line
7403 2003-06-01 John Levon <levon@movementarian.org>
7405 * text3.C: use a proper cut/paste when doing inset
7406 insert (from Jürgen Spitzmüller)
7408 2003-06-01 John Levon <levon@movementarian.org>
7410 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7412 2003-05-30 André Pönitz <poenitz@gmx.net>
7414 * rowpainter.C: unify second drawing phase
7416 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7418 * trans_mgr.C: remove one case of current_view
7420 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7422 * paragraph_funcs.h: remove paragraph.h include
7424 * paragraph.h: delete NO_STD_LIST stuff
7426 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7428 * buffer.h: remove paragraph.h include
7430 * ParagraphList.C: delete file
7432 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7434 * toc.C (getTocList): adjust
7436 * paragraph_pimpl.C (validate): adjust
7438 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7440 * paragraph.C (Paragraph): adjust
7441 (getPositionOfInset): use const_iterator, adjust
7442 (bibitem): use const_iterator, adjust
7443 (setInsetOwner): adjust
7445 * iterators.C (operator++): adjust
7447 * InsetList.[Ch]: Replace selfmade iterator with standard
7448 vector::iterator also introduce const_iterator. Remove getPos,
7449 getInset and setInset from InsetTable. Adjust accordingly.
7451 * BufferView.C (lockInset): adjust
7452 (ChangeInsets): adjust
7454 * tabular.[Ch]: delete commented same_id functions
7456 2003-05-28 John Levon <levon@movementarian.org>
7458 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7460 2003-05-28 André Pönitz <poenitz@gmx.net>
7462 * metricsinfo.[Ch]: remove 'fullredraw' member
7464 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7466 * lyxtextclass.C (operator): remove caching.
7468 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7472 * text2.C (cursorBottom): adjust
7473 (setCounter): use ParagraphList::find, adjust
7475 * text.C (workWidth): use ParagraphList::find, adjust
7477 * lyxcursor.C (LyXCursor): adjust
7479 * buffer.C (inset_iterator): adjust
7481 * ParagraphList.h: make iterator(value_type) private, make
7482 ParagraphList a friend of iterator.
7484 * ParagraphList.C (find): new function
7486 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7488 2003-05-27 André Pönitz <poenitz@gmx.net>
7490 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7492 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7494 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7496 2003-05-26 John Levon <levon@movementarian.org>
7498 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7500 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * remove same_id from function signatures, adjust.
7504 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7506 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7508 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7510 * paragraph.C (Paragraph): get rid of same_ids parameter
7512 * ParagraphList.C (insert): adjust
7515 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7517 * paragraph_funcs.C (breakParagraph): adjust
7518 (breakParagraphConservative): adjust
7520 * buffer.C (readParagraph): adjust
7522 * ParagraphList.C (insert): take a reference instead of a pointer
7525 * paragraph.[Ch] (id): new function
7527 * bufferlist.C (newFile): adjust
7529 * ParagraphList.C (ParagraphList): adjust
7531 (push_back): take a reference instead of a pointer.
7533 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7535 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7538 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7539 set else use old code.
7541 * ParagraphList.C: remove all NO_NEXT code and only compile this
7542 code of NO_STD_LIST is set.
7544 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7546 * BufferView_pimpl.C:
7556 * graphics/GraphicsConverter.C:
7557 * graphics/PreviewLoader.C: header adjustment
7559 2003-05-23 Angus Leeming <leeming@lyx.org>
7561 * LaTeXFeatures.[Ch] (useBabel): new method.
7562 * bufferparams.C (writeLaTeX): use it.
7564 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * ParagraphList.h (set): remove unused function.
7568 2003-05-23 André Pönitz <poenitz@gmx.net>
7571 * BufferView_pimpl.C:
7575 * undo_funcs.C: setUndo reworked
7577 * iterators.[Ch]: add access to topmost ParagraphList
7579 * lyxtext.[Ch] (workWidth): add a const
7581 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7583 * texrow.[Ch] (increasePos): remove function
7584 * exporter.C (export): removed unused var and outdated comment
7586 2003-05-23 Angus Leeming <leeming@lyx.org>
7588 * latexrunparams.h: rename fragile as moving_arg.
7589 * paragraph.C (simpleTeXOnePar): ditto.
7590 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7592 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7594 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7596 (textUndoOrRedo): comment out a currently unused var.
7598 * paragraph.h (NO_NEXT): enable NO_NEXT
7600 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7602 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7604 * exporter.C (Export): adjust for removeAutoInsets removal.
7606 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7608 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7610 * BufferView.[Ch] (removeAutoInsets): delete function
7612 2003-05-22 Angus Leeming <leeming@lyx.org>
7614 * latexrunparams.h: add a free_spacing variable.
7616 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7617 to pass moving_arg, as the data is stored in runparams.fragile.
7619 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7620 to Inset::latexOptional or to simpleTeXOnePar.
7622 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7623 free_spacing arg to Inset::latexOptional.
7625 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7628 2003-05-22 Angus Leeming <leeming@lyx.org>
7630 * latexrunparams.h: add fragile and use_babel variables.
7632 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7633 * buffer.C (makeLaTeXFile): store this returned value in
7634 runparams.use_babel, thus passing it to the inset::latex methods.
7636 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7637 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7639 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7640 longer has a fragile arg, as it is stored in runparams.fragile.
7642 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7643 moving_arg parameter as the data is stored in runparams.fragile.
7645 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7646 a fragile parameter as the data is stored in runparams.fragile.
7648 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7652 2003-05-22 Angus Leeming <leeming@lyx.org>
7654 * latexrunparams.h: add a 'bool nice' which defaults to false.
7656 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7657 now encapsulated within runparams.
7659 * bufferlist.C (updateIncludedTeXfiles):
7660 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7662 2003-05-22 Angus Leeming <leeming@lyx.org>
7664 * latexrunparams.h: new file containing struct LatexRunParams.
7665 * Makefile.am: add new file.
7667 * LaTeX.[Ch] (c-tor, run):
7668 * buffer.[Ch] (makeLaTeXFile):
7669 * bufferlist.[Ch] (updateIncludedTeXfiles):
7670 * converter.C (convert, scanLog):
7671 * converter.[Ch] (runLaTeX):
7672 * exporter.C (Export):
7673 * paragraph.[Ch] (simpleTeXOnePar):
7674 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7675 * paragraph_funcs.[Ch] (latexParagraphs):
7676 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7677 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7678 pass around a LatexRunParams parameter.
7680 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * paragraph.[Ch]: remove unused constructor
7684 * ParagraphList.C (erase): new function, taking two iterators
7686 2003-05-22 André Pönitz <poenitz@gmx.net>
7688 * undo_funcs.C: remove duplicated code
7690 * iterator.[Ch]: operator=
7692 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * tabular.C (SetMultiColumn): ws changes
7696 * rowpainter.C (paintFirst): get rid of a ->previous
7698 * lyx_cb.C (getPossibleLabel): parlist simplification
7700 * BufferView.C (ChangeInsets): simplify slightly.
7702 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7704 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7705 * lfuns.h: new LFUN_SPACE
7706 * lyxfunc.C: protected space has a new lfun
7707 * paragraph_funcs.C: read new space insets
7709 * factory.C: handle new space insets
7711 2003-05-22 André Pönitz <poenitz@gmx.net>
7714 * BufferView_pimpl.C:
7717 * undo_funcs.C: return a ParIterator from getParFromID.
7719 * iterators.[Ch]: add two const's
7721 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * toc.C (getTocList): adjust
7725 * iterators.[Ch]: rework for parlist
7727 * buffer.C (par_iterator_begin): adjust
7728 (par_iterator_end): adjust
7730 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7732 * BufferView.C (removeAutoInsets): adjust
7733 (ChangeInsets): adjust
7735 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7737 * text.C (top_y): fix bug 1110
7739 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7741 * errorlist.[Ch]: added
7744 * BufferView_pimpl.C:
7745 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7748 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7750 * Makefile.am: ensure that lyx is relinked upon changes to the
7751 various "convenience" libs.
7753 2003-05-20 Angus Leeming <leeming@lyx.org>
7755 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7756 files are compiled in alphabetical order again.
7758 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7760 2003-05-19 Angus Leeming <leeming@lyx.org>
7762 * gettext.[Ch]: remove "char const * _(char const *)".
7764 2003-05-19 André Pönitz <poenitz@gmx.net>
7766 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7775 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7777 2003-05-19 André Pönitz <poenitz@gmx.net>
7781 * lyxtextclass.[Ch]:
7783 * paragraph_funcs.[Ch]:
7785 * text3.C: more insetenv work
7787 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7789 * ParagraphParameters.C (params2string): small bug fixed
7791 2003-05-16 André Pönitz <poenitz@gmx.net>
7794 * bufferview_funcs.C: patch from Kornel Benko to prevent
7795 crash when _(...) is called twice in a statement
7797 2003-05-16 André Pönitz <poenitz@gmx.net>
7804 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7806 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7808 * lyx_main.C (init): remove spurious static_cast
7810 2003-05-14 André Pönitz <poenitz@gmx.net>
7812 * BufferView.C: fix format string
7814 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7816 * BufferView.[Ch] (insertErrors): removed
7817 * BufferView.[Ch] (showErrorList): added
7818 * buffer.C (runChkTeX):
7819 * converter.C (scanLog): call showErrorList instead of inserterrors
7821 2003-05-13 André Pönitz <poenitz@gmx.net>
7823 * BufferView_pimpl.C:
7825 * bufferview_func.C:
7832 * tabular_funcs.h: tostr() from its own header
7834 * ParagraphParameters.C:
7839 * text3.C: STRCONV()
7841 2003-05-12 André Pönitz <poenitz@gmx.net>
7844 * BufferView_pimpl.C:
7848 * ParagraphParameters.C:
7852 * bufferview_funcs.C:
7865 * paragraph_funcs.C:
7869 * text3.C: boost::format -> bformat all over the place
7872 2003-05-09 André Pönitz <poenitz@gmx.net>
7874 * LColor.[Ch]: Pimpl the #include <map> away
7876 2003-05-09 John Levon <levon@movementarian.org>
7878 * bufferlist.C: never remove emergency saves
7880 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7882 * Makefile.am: better lib building
7884 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7886 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7888 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7889 (simpleTeXSpecialChars): adjust
7890 (simpleTeXSpecialChars): adjust
7891 * paragraph.C (simpleTeXOnePar): adjust
7892 * buffer.C (makeLaTeXFile): adjust
7894 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7896 * text2.C (changeDepth): parlist cleanup
7897 (getColumnNearX): ditto
7899 * rowpainter.C (getLabelFont): parlist cleanup
7901 * bufferlist.C (newFile): parlist cleanup
7903 * CutAndPaste.C (eraseSelection): parlist cleanup
7905 * BufferView_pimpl.C (trackChanges): parlist cleanup
7908 * BufferView.C (lockInset): parlist cleanup.
7909 (ChangeInsets): ditto
7911 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7913 * CutAndPaste.h: Update file header.
7915 * CutAndPaste.C: Update file header.
7916 Store the parts cut out of the Document in a limited_stack.
7917 (copySelection): adjust
7918 (pasteSelection): new function, takes the index in the limited stack.
7919 (nrOfParagraphs): adjust
7920 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7921 simplify error inset insertion.
7922 (checkPastePossible): adjust
7924 2003-05-06 John Levon <levon@movementarian.org>
7926 * text2.C: don't cast wrap inset to float
7928 2003-05-05 André Pönitz <poenitz@gmx.net>
7931 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7933 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7934 few naked Paragraph *.
7936 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7938 * bufferparams.C: Output warning if a document with missing
7939 TeX document class is loaded
7940 * exporter.C: Disable TeX exports if the document class is missing
7943 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7944 isTeXClassAvailable()
7946 2003-05-03 John Levon <levon@movementarian.org>
7949 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7950 explicit cursor show/hide
7952 * BufferView_pimpl.h:
7953 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7954 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7956 * lyxfunc.C: hide cursor before dispatching.
7961 * text3.C: remove explicit cursor hides
7963 2003-05-02 André Pönitz <poenitz@gmx.net>
7965 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7968 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7971 * text2.C: tiny whitespace
7973 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7975 * undo_funcs.C: almost only ws changes.
7977 * ParagraphList.C (splice): just return if pl is empty.
7979 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * ParagraphList.C (splice): new function.
7983 * CutAndPaste.C (pasteSelection): use it
7985 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7987 * CutAndPaste.C (pasteSelection): remove the last next and
7988 previous from this file.
7990 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7992 * CutAndPaste.C (pasteSelection): more clean up, user proper
7993 ParagraphList functions for pasteing.
7995 * ParagraphList.C (insert): new function, three arg insert
7997 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7999 * ParagraphList.C (insert): new function, three arg insert
8001 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8004 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8006 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8008 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8010 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8012 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8015 (copySelection): clean up a bit.
8016 (pasteSelection): use make_pair
8018 * ParagraphList.C (ParagraphList): implement copy constructor
8019 (operator=): implement, base on copy constructor.
8022 * paragraph.C (erase): return a bool
8024 * paragraph_pimpl.C (erasePos): remove function, move contents...
8025 (erase): ... here. Return a bool.
8026 (erase): call erase instead of erasePos.
8028 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8030 * ParagraphList.h: define PitPosPair
8031 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8032 ParagraphList, fix a bug on pasting multiple pars
8033 * text2.C: change interface to C&P
8035 2003-04-30 André Pönitz <poenitz@gmx.net>
8037 * undo_func.C: revert part of yesterday's patch 2
8039 2003-04-30 John Levon <levon@movementarian.org>
8041 * LColor.C: s/tabular/table/
8043 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8045 * text3.C (dispatch): do not convert iterator -> pointer
8046 * undo_funcs.C (setCursorParUndo): ditto
8047 * text_funcs.C (transposeChars): ditto
8049 * text2.C (setLayout): ws changes only
8051 * text.C (breakParagraph): do not convert iterator -> pointer
8053 (acceptChange): ditto
8054 (rejectChange): ditto
8059 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8062 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8064 * text3.C (gotoInset): YABG (yet another bad getChar)
8066 2003-04-29 André Pönitz <poenitz@gmx.net>
8068 * paragraph.h: make operator= private unimplemented as long as
8071 * ParagraphList.C: whitespace
8074 * paragraph_pimpl.[Ch]:
8075 * paragraph_funcs.C:
8077 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8080 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8082 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8084 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8085 * paragraph.[Ch] (erase):
8086 * paragraph_pimpl.[Ch] (erase): change return type and value
8087 * text2.C (cutSelection): some rework
8089 2003-04-28 John Levon <levon@movementarian.org>
8091 * bufferlist.C: changes for unsaved changes dialog
8093 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * bufferlist.C (newFile): set language (messages_) for new
8098 * buffer.C (readFile): ws changes only.
8100 2003-04-28 André Pönitz <poenitz@gmx.net>
8105 * BufferView_pimpl.C:
8106 * BufferView.C: getParFromID related ParagraphList::iterator changes
8108 2003-04-28 André Pönitz <poenitz@gmx.net>
8110 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8113 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8115 * messages.C: remove one more localedir class variable.
8117 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8119 * messages.C (getLocaleDir): singleton generation function
8121 (Messages): add a default constructor.
8123 * main.C (main): do not setup localedir here, do not call
8126 * gettext.C (_): use it.
8127 (gettext_init): delete funciton
8129 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8131 * gettext.C (getLyXMessages): new singleton generating function.
8133 * buffer.C (updateDocLang): adjust
8135 * Makefile.am (messages.o): add target
8136 (main.o): remove target
8138 2003-04-27 John Levon <levon@movementarian.org>
8143 * lyxvc.C: specify cancel button in Alert::prompt
8145 2003-04-26 John Levon <levon@movementarian.org>
8150 * LyXAction.C: add LFUN_INSET_SETTINGS
8152 * lyxfunc.C: don't enable tabular-feature when there's
8153 just any locking inset
8155 2003-04-26 John Levon <levon@movementarian.org>
8157 * bufferlist.C: re-add Cancel to buffer close question
8159 * lyxfunc.C: fix import UI a bit
8161 2003-04-25 John Levon <levon@movementarian.org>
8163 * gettext.C: remove the broken asserts for now
8165 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8167 * messages.C: make case where setlocale cannot comply work better.
8169 * buffer.C (updateDocLang): new function
8170 (changeLanguage): use it
8173 * text2.C (setCounter): use B_ a bit.
8175 * lyxlayout.C (Read): be sure to trim the label strings.
8177 * messages.C (Messages): fix typo in comment
8179 * buffer.C (readFile): set message_ after file is loaded.
8180 (makeDocBookFile): remove double return
8181 (changeLanguage): reset message_ upon language change.
8182 (B_): new func, use this to get translated buffer strings.
8184 * main.C: add myself and Jean Marc as authors.
8186 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8188 * messages.[hC]: pimplify Messages, and three different pimpls to be
8189 used in different circumstances.
8191 * gettext.[Ch]: change for use with new message code.
8193 2003-04-24 André Pönitz <poenitz@gmx.net>
8195 * factory.C: support for eqref
8197 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8199 * messages.[Ch]: add missing char
8201 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8203 * messages.[Ch]: New files
8205 2003-04-18 John Levon <levon@movementarian.org>
8209 * BufferView_pimpl.C:
8213 * text2.C: remove layout-copy/paste (bug 778)
8215 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8217 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8219 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8221 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8222 if they succeed. Act accordingly.
8224 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8226 * text2.C (setCharFont): adjust
8227 (setCounter): adjust
8228 (insertStringAsLines): adjust
8230 * text.C (leftMargin): adjust
8231 (setHeightOfRow): adjust
8233 * rowpainter.C (paintFirst): adjust
8236 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8238 (isFirstInSequence): ditto
8239 (getEndLabel): ditto
8242 * paragraph.C (getParLanguage): comment out some hard stuff.
8244 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8246 (simpleDocBookOnePar): ditto
8247 (makeDocBookFile): use ParagraphList::iterator
8249 * CutAndPaste.C (pasteSelection): adjust
8251 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8253 * text2.C (getFont): adjust
8254 (getLayoutFont): adjust
8255 (getLabelFont): adjust
8257 * paragraph_funcs.C (TeXOnePar): adjust
8259 * buffer.C (simpleLinuxDocOnePar): adjust
8260 (simpleDocBookOnePar): adjust
8262 * CutAndPaste.C (pasteSelection): adjust
8264 * BufferView.C (getEncoding): adjust
8266 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8268 2003-04-16 John Levon <levon@movementarian.org>
8270 * lyxfind.C: use parlist stuff for search/changes
8272 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8274 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8276 * text2.C (deleteEmptyParagraphMechanism): adjust
8278 * text2.[Ch] (ownerParagraph): delete func (both of them
8280 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8284 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8286 * ParagraphList.C: prepare for NO_NEXT
8288 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * text2.C (getFont): adjust
8291 (getLayoutFont): adjust
8292 (getLabelFont): adjust
8294 * paragraph.C (getFont): adjust
8295 (getLabelFont): adjust
8296 (getLayoutFont): adjust
8298 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8300 2003-04-15 John Levon <levon@movementarian.org>
8304 * lyx_main.C: handle Include in .ui files
8306 2003-04-15 John Levon <levon@movementarian.org>
8308 * MenuBackend.C: make the doc files length shorter
8311 * ToolbarBackend.C: handle toolbar placement flags,
8314 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8316 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8319 * paragraph_funcs.C (TeXOnePar): adjust
8321 * paragraph.C (getLabelFont): add outerfont arg, adjust
8322 (getLayoutFont): ditto
8323 (simpleTeXOnePar): adjust
8325 * paragraph_pimpl.C (realizeFont): delete func
8327 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8329 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8330 row argument, constify cur argument.
8332 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8334 * text2.C (getFont): adjust
8335 (getLayoutFont): adjust
8336 (getLabelFont): adjust
8338 * paragraph_funcs.C (TeXOnePar): adjust
8339 (outerFont): new func...
8340 (realizeFont): ...moved out from here, changed this to facilitate
8343 * paragraph.C (getFont): take outerfont as arg, adjust
8344 (simpleTeXOnePar): add outerfont arg, adjust
8346 * buffer.C (simpleLinuxDocOnePar): adjust
8347 (simpleDocBookOnePar): adjust
8349 * CutAndPaste.C (pasteSelection): adjust
8351 * BufferView.C (getEncoding): adjust
8353 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8355 * text2.C (setCharFont): adjust
8356 (setCounter): adjust
8358 * text.C (leftMargin): adjust
8359 (setHeightOfRow): adjust
8361 * rowpainter.C (paintFirst): adjust
8364 * paragraph_pimpl.C (realizeFont): adjust
8366 * paragraph.C (isFirstInSequence): move from here...
8367 * paragraph_funcs.C (isFirstInSequence): ...to here
8369 * paragraph.C (outerHook): move from here...
8370 * paragraph_funcs.C (outerHook): ...to here
8372 * paragraph.C (depthHook): move from here...
8373 * paragraph_funcs.C (depthHook): ...to here
8375 * paragraph.C (getEndLabel): move from here...
8376 * paragraph_funcs.C (getEndLabel): ...to here
8378 * text2.C (realizeFont): move from here...
8379 * paragraph_funcs.C (realizeFont): ...to here
8381 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8383 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8385 2003-04-14 Angus Leeming <leeming@lyx.org>
8387 * LColor.[Ch]: scrap LColor mathcursor.
8389 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * lyxlex.[Ch] (text): delete function
8392 * trans.C (Load): adjust
8393 * paragraph_funcs.C (readParToken): adjust
8395 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8397 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8398 vector<char> instead of a char[].
8400 * lyxlex_pimpl.C (getString): adjust
8402 (lex): use getString
8406 * lyxlex.C (text): use pimpl_->getString()
8410 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8412 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8413 (makeFontEntriesLayoutSpecific): temp var for par.size()
8414 (setLayout): temp var for ownerParagraphs().end()
8415 (fullRebreak): temp var for rows().end()
8416 (selectionAsString): temp var for boost::next(startpit), realize
8417 that the while really is a regular for loop.
8418 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8419 setCursor in one place.
8420 (setParagraph): temp vr for ownerParagraphs().end()
8421 (updateCounters): make the while loop a for loop
8422 (cutSelection): temp var for ownerParagraphs().end()
8423 (updateInset): make the do {} while() a regular for loop
8424 (getCursorX): use temp vars
8425 (setCurrentFont): use temp vars
8426 (getColumnNearX): use temp vars
8428 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8430 * text.C (transformChar): use temp var for getChar
8431 (computeBidiTables): use temp var for row->par()
8432 (fill): move temp vars for row->par() and pit->layout() earlier in
8434 (labelFill): use temp var for row->par()
8435 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8436 asc and desc, realize that pit never changes and that firstpit is
8437 just a duplicate and not needed. Exchange rit->par() with pit in a
8439 (breakAgain): use a temp var for boost::next(rit)
8440 (breakAgainOneRow): ditto
8441 (breakParagraph): use a temp var for rows().begin()
8442 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8443 (cursorRightOneWord): use temp var for cursor.par() and
8444 cursor.pos(), remove usage of tmpcursor.
8445 (cursorLeftOneWord): use temp var for cursor.par() and
8446 cursor.pos() only set cur at end of function.
8448 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8450 * text.C, text2.C: exchange all usage of Paragraph::next with
8451 boost::next(ParagraphList::iterator)
8453 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8455 * text2.C (cursorTop): simplify implementation
8456 (cursorBottom): ditto
8457 (setParagraph): use ParagraphList::iterator
8458 (setCurrentFont): adjust
8459 (getColumnNearX): adjust
8460 (cursorRight): adjust
8461 (cursorLeft): remove usage of Paragraph::previous
8462 (cursorUpParagraph): ditto
8463 (deleteEmptyParagraphMechanism): slight cleanup
8465 * text.C (isBoundary): take a Paragraph const & instead of a
8467 (addressBreakPoint): ditto
8468 (leftMargin): remove usage of Paragraph::previous.
8469 (setHeightOfRow): ditto
8470 (cursorLeftOneWord): ditto
8471 (selectNextWordToSpellcheck): ditto
8474 (breakParagraph): remove one usage of Paragraph::next
8475 (redoParagraph): ditto
8476 (acceptChange): ditto
8477 (insertChar): adjust
8478 (rowBreakPoint): adjust
8480 * bufferview_funcs.C (toggleAndShow): adjust
8482 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8484 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8485 methods to access it.
8487 * text.C: Added updateRowPositions to compute all row positions.
8488 Make top_y and getRowNearY() to use the cached y position
8490 2003-04-11 John Levon <levon@movementarian.org>
8492 * text.C (rowBreakPoint): reintroduce the labelEnd
8493 checks, code copied from the row fill stuff. Deep voodoo.
8495 * text.C (fill): add a comment and debugging for the
8498 2003-04-11 John Levon <levon@movementarian.org>
8500 * text.C: make sure fullrow insets get wrapped to the next line,
8501 even when they're in a manual label
8503 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8505 * text2.C (insertParagraph): make it take ParagraphList::iterator
8507 (setLayout): make it return ParagraphList::iterator
8508 (redoParagraphs): ditto
8510 (checkParagraph): ditto
8512 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8514 * text2.C: adjust several funcs.
8515 (realizeFont): take a ParagraphList::iterator as arg.
8516 (getLayoutFont): ditto
8517 (getLabelFont): ditto
8518 (setCharFont): ditto
8520 * text.C: adjust several funcs.
8522 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8524 * text.C (selectNextWordToSpellcheck): don't accidentally
8527 2003-04-10 John Levon <levon@movementarian.org>
8529 * ToolbarBackend.C (getIcon): special handling for
8532 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8534 * text2.C (cursorRight): a getChar assert fixed
8536 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8538 * text2.C (getFont): change to take a ParagraphList::iterator
8539 instead of Paragraph*
8540 Adjust several functions.
8542 * text.C (transformChar): change to take a ParagraphList::iterator
8543 instead of Paragraph*
8544 (singleWidth): ditto
8545 Adjust several functions.
8547 * rowpainter.C: adjust several functions
8548 * rowpainter.h:store a ParagraphList::iterator and not a
8552 2003-04-09 John Levon <levon@movementarian.org>
8557 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8558 and the "help" bits as well
8560 2003-04-09 John Levon <levon@movementarian.org>
8563 * ToolbarBackend.C: allow multiple toolbars
8565 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8567 * undo_funcs.C (setCursorParUndo): adjust
8569 * text_funcs.C (transposeChars): adjust
8571 * text3.C (gotoNextInset): adjust
8574 * text2.C (setLayout): adjust
8575 (changeDepth): adjust
8577 (redoParagraphs): adjust
8578 (selectionAsString): adjust
8579 (setParagraph): adjust
8580 (insertInset): adjust
8581 (cutSelection): adjust
8582 (copySelection): adjust
8583 (pasteSelection): adjust
8584 (insertStringAsLines): adjust
8585 (updateInset): adjust
8586 (setCursor): change to take a ParagraphList::iterator parameter
8587 (setCursorIntern): change to take a ParagraphList::iterator parameter
8588 (setCurrentFont): adjust
8589 (cursorLeft): adjust
8590 (cursorRight): adjust
8591 (deleteEmptyParagraphMechanism): adjust
8593 * text.C (breakParagraph): adjust
8594 (insertChar): adjust
8595 (acceptChange): adjust
8596 (rejectChange): adjust
8597 (selectNextWordToSpellcheck): adjust
8598 (changeCase): adjust
8602 * lyxfind.C (SearchForward): adjust
8603 (SearchBackward): adjust
8604 (nextChange): adjust
8606 * lyxcursor.C (par): adjust
8608 * lyxcursor.h: store a ParagraphList::iterator instead of a
8611 * lyx_cb.C (getPossibleLabel): adjust
8613 * bufferview_funcs.C (toggleAndShow): adjust
8615 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8618 * BufferView.C (removeAutoInsets): adjust
8619 (lockedInsetStoreUndo): adjust
8621 2003-04-09 John Levon <levon@movementarian.org>
8623 * ToolbarBackend.C: try icon without argument
8624 if with argument fails
8626 2003-04-08 John Levon <levon@movementarian.org>
8629 * ToolbarBackend.C: add getIcon(), handle tooltip,
8630 and change from "Icon" to "Item".
8632 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8634 * BufferView.C (lockInset): another bad getchar crunched
8636 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8638 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8641 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8643 * lyxfind.C (searchForward, searchBackwards): bug 782
8645 2003-04-07 John Levon <levon@movementarian.org>
8647 * paragraph.C: remove dead comment
8649 * text.C: remove troublesome depth-fiddling code
8650 in leftMargin() and rightMargin() (bug 1017)
8652 * text.C: fix breaking of rows in nested lists
8655 * text2.C (updateCounters): fix up depth values
8658 2003-04-07 John Levon <levon@movementarian.org>
8660 * BufferView_pimpl.C: clear message when doc finishes resizing,
8661 and after a mouse event
8663 * lyxfunc.C: clear message after exiting inset
8665 2003-04-07 John Levon <levon@movementarian.org>
8667 * bufferview_funcs.C: show math status not outside
8668 status in the statusbar
8670 2003-04-07 John Levon <levon@movementarian.org>
8672 * lyxfunc.C: note status changed after a depth change
8674 2003-04-04 Angus Leeming <leeming@lyx.org>
8676 * LaTeX.h: move AuxInfo operator==, != out of line.
8677 Remove LaTeX virtual destructor; nothing derives from it.
8678 Move operator()() out of public area and rename it startscript().
8679 Change protected for private.
8681 2003-04-04 Angus Leeming <leeming@lyx.org>
8684 * text2.C: remove unneeded #includes.
8686 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8688 * text2.C (dEPM): fix the heigth of the next row
8690 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8692 * text.C: squashed an invalid getChar requester + some ws changes
8694 2003-04-03 John Levon <levon@movementarian.org>
8696 * bufferview_funcs.h:
8697 * bufferview_funcs.C:
8700 * text2.C: make getStatus work for the env depth lfuns
8702 2003-04-03 John Levon <levon@movementarian.org>
8704 * bufferview_funcs.h:
8705 * bufferview_funcs.C:
8708 * text2.C: parlistize decDepth(), by merging it with incDepth()
8710 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8712 * lyxrow.h: store a ParagraphList::iterator instead of a
8713 Paragraph* and adjust other class functions to suit.
8715 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8718 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8720 * text2.C (setCursor): do not anchor to cursor row for the time being
8722 2003-04-02 John Levon <levon@movementarian.org>
8729 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8731 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8733 * paragraph.h: make ParagraphList and ParagraphList::iterator
8734 friends of Paragraph.
8736 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8738 * ParagraphList.C: Use the private next_ and previous_ from
8741 2003-04-01 John Levon <levon@movementarian.org>
8745 * Makefile.am: rename, remove defaults gunk
8748 * MenuBackend.C: remove defaults gunk
8751 * Languages.C: remove defaults gunk
8754 * lyx_main.C: error out if files couldn't be found.
8756 2003-04-02 John Levon <levon@movementarian.org>
8758 * text2.C: make incDepth() use parlist
8760 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8762 * undo_funcs.C (firstUndoParagraph): adjust
8764 * text3.C (gotoInset): adjust
8765 (dispatch): adjust, and rewrite loop.
8767 * text2.C (init): adjust, and rewrite loop.
8768 (redoParagraphs): adjust
8769 (updateInset): adjust, and rewrite loop.
8770 (deleteEmptyParagraphMechanism): adjust
8772 * tabular.C (LyXTabular): adjust
8773 (SetMultiColumn): adjust
8776 * lyxtext.[Ch] (ownerParagraph): delete function
8777 (ownerParagraphs): new function returns a ParagraphList.
8779 * BufferView.C (removeAutoInsets): adjust
8780 (insertErrors): adjust
8781 (setCursorFromRow): adjust
8783 2003-04-01 Angus Leeming <leeming@lyx.org>
8785 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8788 2003-04-02 John Levon <levon@movementarian.org>
8794 * text_funcs.C: make transposeChars a free function
8796 * lyxrow_funcs.C: remove wrong comment
8798 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8801 * rowpainter.C: adjust
8806 * lyxrow_funcs. [Ch]: new files
8808 * lyxrow.[Ch]: remove next and previous pointers
8809 (next,previous): remove accessor functions
8810 (isParEnd): move to lyxrow_funcs
8811 (lastPos): move to lyxrow_funcs
8812 (nextRowIsAllInset): move to lyxrow_funcs
8813 (lastPrintablePos): move to lyxrow_funcs
8814 (numberOfSeparators): move to lyxrow_funcs
8815 (numberOfHfills): move to lyxrow_funcs
8816 (numberOfLabelHfills): move to lyxrow_funcs
8817 (hfillExpansion): move to lyxrow_funcs
8821 * bufferview_funcs.C (toggleAndShow): adjust
8823 * RowList.h: Remove class RowList from file leave just a
8826 * RowList.C: delete file
8828 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8831 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8833 * text3.C (cursorPrevious): adjust
8834 (cursorNext): adjust
8837 * text2.C (redoHeightOfParagraph): adjust
8838 (redoDrawingOfParagraph): adjust
8841 * text.C (breakParagraph): adjust
8842 (insertChar): adjust
8845 * rowpainter.C (RowPainter): adjust
8846 (leftMargin): simplify and adjust
8847 (most rowpainter functions): adjust.
8849 * rowpainter.h: store the row as RowList::iterator not as Row*
8851 * lyxcursor.C (row): taka RowList::iterator as arg
8854 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8857 2003-04-01 Angus Leeming <leeming@lyx.org>
8859 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8860 stuff like bool Bool.
8862 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8864 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8867 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8869 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8872 * lyxtext.h (rows): drop one version and leve a const variant that
8873 returns a RowList::iterator.
8875 2003-03-31 Angus Leeming <leeming@lyx.org>
8877 * text.C (fill): ensure that the signature is the same as that in the
8880 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8882 * text2.C (redoParagraphs): adjust
8883 (updateCounters): adjust
8884 (checkParagraph): adjust
8885 (getColumnNearX): adjust and reformat a bit.
8887 * text.C (top_y): adjust
8889 (leftMargin): adjust
8890 (prepareToPrint): adjust
8892 (getRowNearY): adjust
8894 * lyxtext.h: make rowlist_ mutable.
8896 * RowList.h: add const_iterator
8897 * RowList.C: adjust for RowList::const_iterator.
8899 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8902 2003-03-31 John Levon <levon@movementarian.org>
8905 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8907 * lyx_main.C: set default fonts from using lyx_gui funcs
8909 * exporter.C: pdf_mode moved from lyxrc
8912 * lyxfunc.C: changes from above
8914 2003-03-31 John Levon <levon@movementarian.org>
8916 * lyx_main.C: fix to the last fix
8918 2003-03-31 John Levon <levon@movementarian.org>
8920 * bufferlist.C: "Load original" -> "Load Original"
8926 * format.C: more Alert cleanups
8928 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8930 * text2.C (removeParagraph): make it take a RowList::iterator as
8932 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8933 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8935 * text.C (anchor_row): make it take a RowList::iterator as arg,
8937 (computeBidiTables): make it take a const reference to Row instead
8938 of Row pointer, adjust.
8939 (leftMargin): make it take a RowList::iterator as arg, adjust.
8940 (rowBreakPoint): adjust
8941 (breakAgainOneRow): make it take a RowList::iterator as arg,
8943 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8945 * bufferview_funcs.C (toggleAndShow): adjust
8947 2003-03-30 John Levon <levon@movementarian.org>
8951 * boost-inst.C: moved to support
8953 * several files: changes as a result
8955 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8957 * text2.C (LyXText): adjust.
8959 (removeRow): make it take a RowList::iterator as arg, adjust.
8960 (fullRebreak): adjust
8961 (deleteEmptyParagraphMechanism): adjust
8962 (clearPaint): adjust
8965 * text.C (top_y): adjust
8966 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8967 (breakAgain): make it take a RowList::iterator as arg, adjust.
8968 (breakParagraph): adjust
8969 (insertChar): adjust
8972 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8973 need_break_row, and refresh_row.
8975 * text3.C (dispatch): adjust
8977 * text2.C (checkParagraph): adjust
8979 (setCursorFromCoordinates): adjust
8981 * text.C (top_y): adjust
8983 (getRow): make it return a RowList::iterator, adjust
8984 (getRowNearY): make it return a RowList::iterator, adjust
8986 * text2.C (init): adjust
8987 (insertRow): remove function
8988 (insertParagraph): adjust
8989 (redoParagraphs): adjust
8990 (fullRebreak): adjust
8991 (updateCounters): adjust
8993 * text.C (top_y): rewrite to use RowList iterators.
8995 (setHeightOfRow): rewrite to sue RowList iterators.
8996 (appendParagraph): adjust
8997 (breakAgain): adjust
8998 (breakAgainOneRow): adjust
8999 (breakParagraph): adjust
9001 (getRowNearY): adjust, and remove commented code.
9003 * lyxtext.h (firstRow): delete function
9004 (lastRow): delete function
9005 (rows): new function (const and non-const versions.)
9006 (insertRow): delete function
9008 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9010 2003-03-29 John Levon <levon@movementarian.org>
9012 * BufferView_pimpl.C: always update scrollbar top
9013 because pasting text when we're anchored could mean we
9014 miss an update altogether
9016 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9018 * text2.C (init): use rowlist_.end() and not 0.
9019 (insertRow): change to take a RowList::iterator as arg, adjust
9021 (insertParagraph): change to take a RowList::iterator as arg,
9023 (redoParagraphs): remove some debug msgs.
9025 * text.C (appendParagraph): change to take a RowList::iterator
9026 arg, adjust for this.
9027 (breakAgain): add an assert
9028 (breakAgainOneRow): ditto
9030 2003-03-29 John Levon <levon@movementarian.org>
9032 * text2.C: do not clear selection after inc/decDepth
9035 2003-03-29 John Levon <levon@movementarian.org>
9038 * buffer.C: fix broken strerrors according to Lars
9040 2003-03-29 John Levon <levon@movementarian.org>
9042 * converters.C: more Alert cleanups
9044 2003-03-29 John Levon <levon@movementarian.org>
9046 * bufferview_funcs.C: remove pointless Alert
9048 * buffer.C: fix confusing error message when
9049 a template is chmoded 000
9051 2003-03-29 John Levon <levon@movementarian.org>
9055 * BufferView_pimpl.C: Alert fixes
9059 * tabular-old.C: remove unused table compat reading
9061 2003-03-29 John Levon <levon@movementarian.org>
9066 * lyx_cb.C: more Alert cleanups
9068 * lyxfunc.C: don't allow chktex if not latex document
9070 2003-03-29 John Levon <levon@movementarian.org>
9074 * buffer.C: warnings pushed down from support/,
9077 2003-03-29 John Levon <levon@movementarian.org>
9079 * lyxfunc.C: safety check for C-r (revert)
9081 2003-03-29 John Levon <levon@movementarian.org>
9084 * bufferlist.C: several UI fixes using Alert::prompt.
9085 Fix the pointless looping quit code. Fix stupid revert
9090 * lyx_cb.C: use Alert::prompt
9092 * lyx_main.C: remove a silly question
9094 * lyxfunc.C: remove a couple of silly questions,
9097 2003-03-28 John Levon <levon@movementarian.org>
9099 * text2.C: fix bug 974 (End on empty par)
9101 2003-03-28 John Levon <levon@movementarian.org>
9103 * BufferView_pimpl.C:
9105 * lfuns.h: remove do-nothing math greek lfuns
9107 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9109 * lyxgluelength.h (isValidGlueLength): add default arg on
9110 parameter 2. Remove default arg from friend in class.
9112 * lyxlength.h (isValidLength): add default arg on parameter 2.
9113 Remove default arg from friend in class.
9115 * text2.C (LyXText): adjust, initialize refresh_row.
9119 (insertParagraph): adjst
9120 (redoParagraphs): adjust
9121 (fullRebreak): adjust
9122 (updateCounters): adjust
9123 (deleteEmptyParagraphMechanism): first attempt at fixing a
9126 * text.C (top_y): adjust
9127 (setHeightOfRow): adjust
9129 (getRowNearY): adjust
9131 * lyxtext.h: include RowList.h
9132 (~LyXText): not needed anymore, deleted.
9133 (firstRow): modify for RowList
9134 (lastRow): new function
9135 Delete firstrow and lastrow class variables, add a Rowlist
9136 rowlist_ class variable.
9138 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9141 * RowList.C (insert): fix case where it == begin().
9143 2003-03-26 Angus Leeming <leeming@lyx.org>
9145 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9146 the thesaurus dialog.
9148 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9150 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9152 * RowList.[Ch]: new files
9154 * ParagraphList.C (erase): handle the case where it == begin
9157 2003-03-25 John Levon <levon@movementarian.org>
9161 * aspell.C: add new aspell support
9164 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9167 2003-03-25 Angus Leeming <leeming@lyx.org>
9170 * LyXAction.C (init): new LFUN_INSET_INSERT.
9172 * BufferView_pimpl.C (dispatch): split out part of the
9173 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9175 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9178 2003-03-25 Angus Leeming <leeming@lyx.org>
9180 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9182 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9185 * text3.C: remove useless row->height(0)
9187 2003-03-25 John Levon <levon@movementarian.org>
9191 * text3.C: rename the refreshing stuff to better names
9193 2003-03-24 John Levon <levon@movementarian.org>
9195 * BufferView_pimpl.h:
9196 * BufferView_pimpl.C: update layout choice on a mouse
9199 2003-03-23 John Levon <levon@movementarian.org>
9201 * Makefile.am: fix commandtags.h reference
9203 2003-03-22 John Levon <levon@movementarian.org>
9205 * BufferView_pimpl.C:
9210 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9212 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9215 * text.C: take the rtl methods out of line
9217 2003-03-21 André Pönitz <poenitz@gmx.net>
9219 * metricsinfo.[Ch]: new files containing structures to be passed around
9220 during the two-phase-drawing...
9222 2003-03-21 André Pönitz <poenitz@gmx.net>
9224 * lyxtextclass.C: read 'environment' tag.
9226 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9228 * text2.C (removeRow): fix bug 964
9230 2003-03-20 John Levon <levon@movementarian.org>
9234 * text2.C: paint cleanups. Inset::update() dropped font
9237 2003-03-19 John Levon <levon@movementarian.org>
9239 * lyxfunc.C: only fitcursor/markDirty if available()
9241 2003-03-19 John Levon <levon@movementarian.org>
9243 * commandtags.h: rename to ...
9245 * lfuns.h: ... this, and renumber / cleanup
9247 2003-03-19 John Levon <levon@movementarian.org>
9249 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9250 fit the cursor after an lfun
9254 * BufferView_pimpl.h:
9255 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9257 * LyXAction.C: layout-character should have ReadOnly
9259 * ParagraphParameters.C:
9261 * bufferview_funcs.C:
9268 * undo_funcs.C: changes from above
9270 2003-03-18 John Levon <levon@movementarian.org>
9272 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9273 remove it from update()
9275 * lyxfunc.C: update layout choice after an lfun
9277 * text3.C: remove extra updateLayoutChoice()s
9279 2003-03-18 John Levon <levon@movementarian.org>
9281 * text.C: top_y change means full repaint, fix
9282 a drawing bug with cursor movement
9284 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9288 * text2.C: anchor row on setCursor
9290 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9292 * lyxtext.h: remove almost all mutable keywords
9295 * text3.C: remove const keywords accordingly
9297 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9299 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9301 (TeXEnvironment): ditto
9304 2003-03-17 John Levon <levon@movementarian.org>
9306 * text.C (rowBreakPoint): remove attempt to fix displayed
9307 math insets inside a manual label
9309 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9311 * lyxtext.h: remove BufferView* as first arg from almost all class
9313 * other files: adjust.
9315 2003-03-17 John Levon <levon@movementarian.org>
9319 * text2.C: more paint cleanups
9321 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9324 * rowpainter.C: remove "smart" background painting code
9326 2003-03-16 John Levon <levon@movementarian.org>
9331 * text3.C: add helper functions for setting refresh_row/y
9333 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9335 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9336 newline inset which *can* get inserted in the pass_thru layouts.
9337 This is primarily for literate documents.
9339 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9341 * buffer.C: increment LYX_FORMAT to 223
9343 2003-03-14 André Pönitz <poenitz@gmx.net>
9345 * textclass.h: prepare for environment handling, ws changes
9346 * lyxlayout.C: read latexheader and latexfooter tags
9348 2003-03-14 John Levon <levon@movementarian.org>
9350 * text2.C: rewrite ::status() a bit
9352 2003-03-13 John Levon <levon@movementarian.org>
9354 * lyxtext.h: add some docs
9356 2003-03-13 John Levon <levon@movementarian.org>
9361 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9363 2003-03-13 John Levon <levon@movementarian.org>
9365 * text3.C: fix appendix redrawing
9367 2003-03-13 John Levon <levon@movementarian.org>
9369 * text.C (setHeightOfRow):
9371 * rowpainter.C: make appendix mark have the text
9372 "Appendix" so the user knows what it is
9375 * LColor.C: s/appendixline/appendix/ from above
9377 2003-03-13 John Levon <levon@movementarian.org>
9379 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9381 * text.C: fix a getChar(pos) bug properly
9383 2003-03-13 Angus Leeming <leeming@lyx.org>
9386 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9387 Probably only temporary. Let's see how things pan out.
9389 * BufferView.C (unlockInset):
9390 * BufferView_pimpl.C (fitCursor):
9391 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9393 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9394 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9396 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9397 new functions that convert ParagraphParameters to and from a string.
9399 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9400 BufferView::Pimpl's dispatch.
9401 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9403 2003-03-13 André Pönitz <poenitz@gmx.net>
9407 * factory.C: make it aware of InsetEnv
9409 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9411 * text2.C (setCursor): never ask for one past last
9412 (setCursor): add some debugging messages.
9414 * text.C (singleWidth): never ask for one past last
9415 (singleWidth): ditto
9417 (rightMargin): ditto
9418 (rowBreakPoint): ditto
9419 (setHeightOfRow): ditto
9420 (prepareToPrint): ditto
9422 * rowpainter.C (paintBackground): never ask for one past last
9423 (paintText): never ask for one past last
9425 * paragraph_pimpl.C (getChar): make the assert stricter, never
9426 allow the one past last pos to be taken
9428 * paragraph.C (getChar): ws changes only
9430 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9431 (numberOfSeparators): ditto
9432 (numberOfHfills): ditto
9434 2003-03-12 John Levon <levon@movementarian.org>
9440 * paragraph_funcs.C: fix per-buffer authorlists
9442 2003-03-12 John Levon <levon@movementarian.org>
9444 * text.C: fix newline in right address
9446 2003-03-12 Angus Leeming <leeming@lyx.org>
9448 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9449 duplicate those in LyXFunc::dispatch.
9453 * ToolbarDefaults.C:
9454 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9455 Add LFUN_FONTFREE_UPDATE.
9457 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9458 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9460 * bufferview_func.[Ch]: several new functions to facilliate
9461 transfer of data to and from the character dialog.
9463 2003-03-12 John Levon <levon@movementarian.org>
9468 * paragraph_funcs.C:
9469 * paragraph_pimpl.C:
9473 * text3.C: remove META_NEWLINE in favour of an inset
9476 * rowpainter.C: remove paintNewline (done by inset)
9478 2003-03-12 John Levon <levon@movementarian.org>
9480 * paragraph_pimpl.C: complain about bad getChar()s
9481 for a while at least
9483 2003-03-12 John Levon <levon@movementarian.org>
9486 * buffer.C: move paragraph read into a separate function,
9487 a little renaming to reflect that.
9490 * bufferparams.C: remove the author_ids map, not necessary now
9493 * factory.C: moved Buffer::readInset to here
9495 * paragraph_funcs.h:
9496 * paragraph_funcs.C: readParagraph free function moved from
9499 * tabular.C: name change
9501 2003-03-12 John Levon <levon@movementarian.org>
9504 * ParagraphParameters.C: move par params input to
9507 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9508 behave like a normal read from the stream wrt reading
9509 a line vs. a \\token
9511 2003-03-12 John Levon <levon@movementarian.org>
9514 * ParagraphParameters.h:
9515 * ParagraphParameters.C: move output code to a
9518 2003-03-12 John Levon <levon@movementarian.org>
9520 * BufferView.C (insertLyXFile):
9523 * tabular.C: use a parlist iterator for creating the
9526 2003-03-12 John Levon <levon@movementarian.org>
9528 * buffer.C: make current_change static local not
9531 2003-03-12 John Levon <levon@movementarian.org>
9533 * buffer.C: fix insertStringAsLines for change tracking
9535 2003-03-12 John Levon <levon@movementarian.org>
9542 * bufferparams.C: move author list into params. Rename some
9543 functions. Move the header reading into a separate token
9544 loop. Move the header token reading into BufferParams.
9546 2003-03-12 John Levon <levon@movementarian.org>
9548 * changes.C: put debug inside lyxerr.debugging() checks
9550 2003-03-11 André Pönitz <poenitz@gmx.net>
9552 * factory.C: make it aware of InsetHFill
9554 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9556 * buffer.C (latexParagraphs): move function from here...
9557 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9560 2003-03-10 Angus Leeming <leeming@lyx.org>
9562 * LyXAction.C (init): fix bug in poplating array with multiple entries
9563 with the same LFUN (spotted by JMarc).
9565 2003-03-10 John Levon <levon@movementarian.org>
9568 * text2.C: move getColumnNearX() near its
9571 2003-03-10 John Levon <levon@movementarian.org>
9573 * text.C: fix break before a minipage
9575 2003-03-10 John Levon <levon@movementarian.org>
9577 * text.C: fix the last commit
9579 2003-03-09 John Levon <levon@movementarian.org>
9583 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9584 bug 365 (don't break before insets unless needed). Don't
9585 return a value > last under any circumstances.
9587 2003-03-09 Angus Leeming <leeming@lyx.org>
9589 * BufferView_pimpl.C (trackChanges, dispatch): call
9590 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9592 2003-03-09 Angus Leeming <leeming@lyx.org>
9594 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9595 than Dialogs::showAboutlyx().
9597 2003-03-09 Angus Leeming <leeming@lyx.org>
9599 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9600 than Dialogs::showTabularCreate().
9602 2003-03-09 John Levon <levon@movementarian.org>
9606 * text2.C: 3rd arg to nextBreakPoint was always the same.
9609 2003-03-08 John Levon <levon@movementarian.org>
9616 * text2.C: Remove the "main" bit from the "main body"
9619 2003-03-08 John Levon <levon@movementarian.org>
9621 * text.C (leftMargin): The left margin of an empty
9622 manual label paragraph should not include the label width
9625 * text.C (prepareToPrint): don't attempt to measure hfills
9626 for empty manual label paragraphs - the answer should be 0
9628 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9630 * CutAndPaste.C: remove commented code and reindent.
9632 2003-03-08 John Levon <levon@movementarian.org>
9635 * lyxfunc.C: move reloadBuffer()
9638 * BufferView.C: to here
9640 * lyxvc.C: add comment
9643 * vc-backend.C: call bv->reload() to avoid
9644 getStatus() check on MENURELOAD
9646 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9648 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9649 to an old format .dep file.
9651 2003-03-07 Angus Leeming <leeming@lyx.org>
9653 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9654 when the LFUN_MOUSE_RELEASE should have been handled by
9655 inset->localDispatch.
9657 2003-03-07 Angus Leeming <leeming@lyx.org>
9659 * BufferView_pimpl.C (dispatch):
9660 * LyXAction.C (init):
9661 * ToolbarDefaults.C (init):
9663 * lyxfunc.C (getStatus):
9664 remove LFUN_INSET_GRAPHICS.
9666 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9668 2003-03-07 Angus Leeming <leeming@lyx.org>
9671 * LyXAction.C (init):
9672 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9674 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9677 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9679 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9680 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9682 2003-03-07 Angus Leeming <leeming@lyx.org>
9684 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9687 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9689 * ParagraphList.C (front): new function
9692 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9694 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9695 and top_row_offset_. removed var first_y.
9697 * text2.C (LyXText, removeRow):
9699 * BufferView_pimpl.C:
9700 use these methods instead of using first_y
9702 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9704 * text2.C (pasteSelection): adjust for checkPastePossible
9706 * CutAndPaste.C: remove Paragraph * buf and replace with
9707 ParagraphList paragraphs.
9708 (DeleteBuffer): delete
9709 (cutSelection): change the tc type to textclass_type
9710 (copySelection): change the tc type to textclass_type
9711 (copySelection): adjust for ParagraphList
9712 (pasteSelection): change the tc type to textclass_type
9713 (pasteSelection): adjust for Paragraphlist
9714 (nrOfParagraphs): simplify for ParagraphList
9715 (checkPastePossible): simplify for ParagraphList
9716 (checkPastePossible): remove unused arg
9718 * ParagraphList.C (insert): handle the case where there are no
9721 * CutAndPaste.h: make CutAndPaste a namespace.
9723 * text3.C (dispatch): adjust
9725 * text.C (breakParagraph): add a ParagraphList as arg
9727 * paragraph_funcs.C (breakParagraph): change to take a
9728 BufferParams and a ParagraphList as args.
9729 (breakParagraphConservative): ditto
9730 (mergeParagraph): ditto
9731 (TeXDeeper): add a ParagraphList arg
9732 (TeXEnvironment): ditto
9735 * buffer.C (readLyXformat2): adjust
9736 (insertStringAsLines): adjust
9737 (latexParagraphs): adjust
9739 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9740 (cutSelection): adjust
9741 (pasteSelection): adjust
9743 * BufferView_pimpl.C (insertInset): adjust
9745 2003-03-05 Angus Leeming <leeming@lyx.org>
9748 * LyXAction.C (init):
9749 * BufferView_pimpl.C (dispatch):
9750 * lyxfunc.C (getStatus):
9751 remove LFUN_CHILD_INSERT.
9753 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9755 2003-03-05 Angus Leeming <leeming@lyx.org>
9758 * LyXAction.C (init):
9759 * src/factory.C (createInset):
9760 * lyxfunc.C (getStatus):
9761 * text3.C (dispatch):
9762 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9764 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9766 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9768 * ParagraphList.C (insert): handle insert right before end()
9769 (erase): fix cases where it can be first or last paragraph.
9771 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9773 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9774 Paragraph::next and Paragraph::previous
9777 * text.C (breakParagraph): adjust
9779 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9780 BufferParams& as arg.
9781 (breakParagraph): use ParagraphList::insert
9782 (breakParagraphConservative): take a Buffer* instead of a
9783 BufferParams& as arg.
9784 (breakParagraphConservative): use ParagraphList::insert.
9786 * buffer.C (insertStringAsLines): un-const it
9787 (insertStringAsLines): adjust
9789 * ParagraphList.C (insert): new function
9791 * CutAndPaste.C (pasteSelection): adjust
9793 * text.C (backspace): adjust
9795 * tabular.C (SetMultiColumn): adjust
9797 * CutAndPaste.C (cutSelection): adjust
9798 (pasteSelection): adjust
9800 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9801 Buffer const * as arg
9803 * ParagraphList.C (erase): new function
9804 * paragraph_funcs.C (mergeParagraph): use it
9805 (mergeParagraph): make it take a Buffer* instead of a
9806 BufferParams* as arg
9808 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9810 (breakParagraphConservative): ditto
9812 * paragraph.h: remove the breakParagraph friend
9814 * paragraph.C (eraseIntern): new function
9815 (setChange): new function
9817 * paragraph_funcs.C (mergeParagraph): make it take a
9818 ParagraphList::iterator instead of a Paragraph *, adjust
9821 * paragraph.h: move an #endif so that the change tracking stuff
9822 also works in the NO_NEXT case.
9824 2003-03-04 Angus Leeming <leeming@lyx.org>
9827 * LyXAction.C: new LFUN_INSET_MODIFY.
9829 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9830 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9832 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9834 * several files: ws changes only
9836 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9837 (TeXEnvironment): ditto
9840 * buffer.C (makeLaTeXFile): adjust
9841 (latexParagraphs): make it take ParagraphList::iterator as args
9843 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9845 * buffer.C (latexParagraphs): adjust
9847 * paragraph.C (TeXOnePar): move function...
9848 (optArgInset): move function...
9849 (TeXEnvironment): move function...
9850 * paragraph_pimpl.C (TeXDeeper): move function...
9851 * paragraph_funcs.C: ...here
9853 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9855 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9857 * buffer.C (readInset): remove compability code for old Figure and
9860 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9862 * buffer.C: ws changes
9865 * BufferView_pimpl.C: ditto
9868 * bufferlist.h: ditto
9872 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9874 * converter.[Ch]: split into itself +
9877 * Makefile.am: += graph.[Ch] + format.[Ch]
9884 * lyxrc.C: added #include "format.h"
9886 2003-02-27 Angus Leeming <leeming@lyx.org>
9888 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9891 * factory.C (createInset): add "label" to the factory.
9893 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9894 string and do no more.
9896 2003-02-27 Angus Leeming <leeming@lyx.org>
9899 * LyXAction.C (init):
9900 * factory.C (createInset):
9901 * BufferView_pimpl.C (dispatch):
9902 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9904 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9906 * lyxfunc.C (dispatch):
9907 * text3.C (dispatch): pass name to params2string.
9909 2003-02-26 Angus Leeming <leeming@lyx.org>
9911 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9913 Rearrange the ~includes. Strip out the unnecessary ones.
9915 * factory.C (createInset): reformat.
9916 create new insets for the various LFUN_XYZ_APPLY lfuns.
9918 2003-02-26 John Levon <levon@movementarian.org>
9921 * lyxrow.C: add isParStart,isParEnd helpers
9923 * paragraph.h: make isInserted/DeletedText take refs
9925 * paragraph_funcs.h:
9926 * paragraph_funcs.C: remove #if 0'd code
9931 * text.C: use lyxrow helpers above.
9932 Move draw and paint routines to RowPainter.
9933 Make several methods use refs not pointers.
9934 Make backgroundColor() const.
9935 Add markChangeInDraw(), isInInset().
9936 Merge changeRegionCase into changeCase.
9937 Make workWidth() shouldn't-happen code into an Assert.
9940 * rowpainter.C: new class for painting a row.
9943 * vspace.C: make inPixels take a ref
9945 2003-02-26 Angus Leeming <leeming@lyx.org>
9947 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9950 2003-02-25 John Levon <levon@movementarian.org>
9952 * ispell.C: give the forked command a more accurate name
9954 2003-02-22 John Levon <levon@movementarian.org>
9957 * toc.C: make TocItem store an id not a Paragraph *
9960 2003-02-21 Angus Leeming <leeming@lyx.org>
9962 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9963 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9964 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9965 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9966 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9967 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9969 * BufferView_pimpl.C (dispatch):
9970 * LyXAction.C (init):
9971 * factory.C (createInset):
9972 * lyxfunc.C (getStatus, dispatch):
9973 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9975 2003-02-21 Angus Leeming <leeming@lyx.org>
9977 * BufferView_pimpl.C (MenuInsertLyXFile):
9978 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9979 * lyxfunc.C (menuNew, open, doImport):
9980 no longer pass a LyXView & to fileDlg.
9982 2003-02-21 Angus Leeming <leeming@lyx.org>
9984 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9985 * LyXAction.C: change, BIBKEY to BIBITEM.
9986 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9987 Change InsetBibKey to InsetBibitem.
9988 Change BIBKEY_CODE to BIBITEM_CODE.
9989 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9990 * factory.C: replace insetbib.h with insetbibitem.h.
9991 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9992 * paragraph.C: replace insetbib.h with insetbibitem.h.
9993 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9994 Change bibkey() to bibitem().
9995 * text.C: remove insetbib.h.
9996 * text2.C: replace insetbib.h with insetbibitem.h.
9997 change bibkey() to bibitem().
9998 * text3.C: remove insetbib.h.
9999 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10001 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10003 * lyxrc.C (output): enclose user email in quotes (in case there are
10006 2003-02-18 John Levon <levon@movementarian.org>
10008 * buffer.h: add std::
10010 2003-02-17 John Levon <levon@movementarian.org>
10016 * pspell.C: reworking. Especially in ispell, a large
10017 number of clean ups and bug fixes.
10019 * lyxfunc.C: fix revert to behave sensibly
10021 2003-02-17 André Pönitz <poenitz@gmx.net>
10024 * commandtags.h: new LFUN_INSERT_BIBKEY
10034 * paragraph_func.C: remove special bibkey handling
10036 2003-02-17 John Levon <levon@movementarian.org>
10038 * text.C (Delete): fix case where delete at the end of
10039 the very first paragraph would not merge the pars
10041 2003-02-17 John Levon <levon@movementarian.org>
10043 * lyxrow.C: fix lastPrintablePos()
10045 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10047 * bufferparams.C (writeLaTeX): add a std:here
10049 * buffer.C: and remove a using directive there
10051 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10053 * buffer.C (makeLaTeXFile): move the code that generates the
10056 * bufferparams.C (writeLaTeX): ... in this new method
10058 * LaTeXFeatures.C (getEncodingSet): make const
10059 (getLanguages): make const
10061 * MenuBackend.C (binding): returns the binding associated to this
10063 (add): sets the status of each item by calling getStatus. Adds
10065 (read): add support for OptSubMenu
10066 (expand): remove extra separator at the end of expanded menu
10068 2003-02-15 John Levon <levon@movementarian.org>
10071 * BufferView_pimpl.C:
10073 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10074 inset code that had no actual effect. Remove unneeded status
10077 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10079 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10082 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10084 * text.C (drawLengthMarker): also draw an arrow marker for
10085 symbolic lengths (medskip...)
10087 2003-02-14 John Levon <levon@movementarian.org>
10090 * tabular.C: better method names
10092 2003-02-14 John Levon <levon@movementarian.org>
10094 * BufferView_pimpl.C:
10099 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10100 it's a more accurate name. Remove some pointless uses.
10102 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10104 * text2.C (LyXText): change order of initilizers to shut off
10107 2003-02-14 John Levon <levon@movementarian.org>
10109 * buffer.C: use ParIterator for getParFromID()
10113 * paragraph_pimpl.h:
10114 * paragraph_pimpl.C: remove unused getParFromID()
10116 2003-02-14 John Levon <levon@movementarian.org>
10118 * buffer.C: remove some very old #if 0'd parse code
10120 2003-02-13 John Levon <levon@movementarian.org>
10124 * text2.C: move hfillExpansion(), numberOfSeparators(),
10125 rowLast(), rowLastPrintable(), numberofHfills(),
10126 numberOfLabelHfills() ...
10129 * lyxrow.C: ... to member functions here.
10134 * text.C: remove LyXText::beginningOfMainBody(), and call
10135 p->beginningOfMainBody() directly. Move the check for
10136 LABEL_MANUAL into the latter.
10143 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10149 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10150 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10152 2003-02-13 John Levon <levon@movementarian.org>
10154 * CutAndPaste.C: remove debug
10156 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10158 * paragraph.C (asString): remove two unused variables
10160 * lyxtextclass.C (readTitleType):
10162 (LyXTextClass): handle new members titletype_ and titlename_
10164 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10166 2003-02-09 John Levon <levon@movementarian.org>
10169 * buffer.C: replace hand-coded list with a map for the dep clean
10171 2003-02-08 John Levon <levon@movementarian.org>
10173 * LaTeX.C: consolidate code into showRunMessage() helper
10175 2003-02-08 John Levon <levon@movementarian.org>
10180 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10181 and pass the size in explicitly
10183 * BufferView_pimpl.h:
10184 * BufferView_pimpl.C:
10186 * BufferView.C: add getCurrentChange()
10188 * BufferView_pimpl.h:
10189 * BufferView_pimpl.C: handle change lfuns
10191 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10192 for changes. Mark pasted paragraphs as new.
10194 * support/lyxtime.h:
10195 * support/lyxtime.C:
10196 * DepTable.C: abstract time_t as lyx::time_type
10199 * LColor.C: add colours for new text, deleted text, changebars
10201 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10202 package use "usenames" option.
10206 * LyXAction.C: add change lfuns
10210 * author.C: author handling
10213 * buffer.C: add a per-buffer author list, with first entry as
10214 current author. Handle new .lyx tokens for change tracking. Output
10215 author list to .lyx file. Output dvipost stuff to .tex preamble.
10216 Bump lyx format to 222.
10219 * bufferlist.C: add setCurrentAuthor() to reset current author details
10223 * bufferparams.C: add param for tracking
10225 * bufferview_funcs.C: output change info in minibuffer
10229 * changes.C: add change-tracking structure
10232 * debug.C: add CHANGES debug flag
10235 * lyxfind.C: add code for finding the next change piece
10238 * lyxrc.C: add user_name and user_email
10241 * lyxrow.C: add a metric for the top of the text line
10244 * text.C: implement accept/rejectChange()
10247 * text.C: paint changebars. Paint new/deleted text in the chosen
10248 colours. Strike through deleted text.
10252 * paragraph_pimpl.h:
10253 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10254 in the current change to the insert functions. Rework erase to
10255 mark text as deleted, adding an eraseIntern() and a range-based
10256 erase(). Implement per-paragraph change lookup and
10259 * paragraph_funcs.C: Fixup paste for change tracking.
10261 * tabular.C: mark added row/columns as new.
10263 * text.C: fix rowLast() to never return -1. Don't allow
10264 spellchecking of deleted text. Track transpose changes. Don't
10265 allow paragraph break or merge where appropriate.
10267 * text2.C: leave cursor at end of selection after a cut.
10269 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10271 * text.C (getLengthMarkerHeight):
10272 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10273 visible on screen too.
10275 2003-02-07 John Levon <levon@movementarian.org>
10277 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10279 2003-02-05 Angus Leeming <leeming@lyx.org>
10281 * lyxserver.C (read_ready): revert my patch of 11 September last year
10282 as it sends PC cpu through the roof. Presumably this means that
10283 the lyxserver will no longer run on an Alpha...
10285 2003-01-30 Angus Leeming <leeming@lyx.org>
10287 * factory.C (createInset): create an InsetCommandParam of type "index"
10288 and use it to 'do the right thing'.
10290 * text2.C (getStringToIndex): ensure that cursor position is always
10291 reset to the reset_cursor position.
10293 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10295 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10298 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10302 * lyxfunc.C: Output messages with identical spelling, punctuation,
10305 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10307 * MenuBackend.C (expandFormats): List only viewable export formats
10310 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10313 * lyxfunc.C (getStatus): Make sure that formats other than
10314 "fax" can also be disabled
10316 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10318 * text3.C (dispatch): put the lfuns that insert insets in 3
10319 groups, and call doInsertInset with appropriate arguments.
10320 (doInsertInset): new function, that creates an inset and inserts
10321 it according to some boolean parameters.
10323 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10325 * buffer.C (readFile): remember to pass on 'par' when calling
10326 readFile recursively.
10328 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10330 * MenuBackend.C (expandFormats): add "..." to import formats.
10332 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10334 * paragraph.C (asString): Remove XForms RTL hacks.
10336 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10337 * buffer.C: fix typo
10339 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10341 * Makefile.am (LIBS): delete var
10342 (lyx_LDADD): add @LIBS@ here instead.
10344 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10346 * Clarify the meaning of "wheel mouse jump"
10348 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10350 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10353 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10355 * importer.C (Loaders): do not preallocate 3 elements in the
10356 vector, since one ends up with 6 elements otherwise
10358 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10360 * DepTable.C (write): write the file name as last element of the
10361 .dep file (because it may contain spaces)
10362 (read): read info in the right order
10364 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10366 * paragraph_pimpl.C (simpleTeXBlanks):
10367 (simpleTeXSpecialChars):
10368 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10370 * tabular.C (latex): add some missing case statements. Reindent.
10372 * MenuBackend.C (expandToc): remove unused variable.
10374 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10383 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10386 2003-01-05 John Levon <levon@movementarian.org>
10389 * BufferView.C: add getEncoding()
10392 * kbsequence.C: do not store last keypress
10395 * lyxfunc.C: store last keypress here instead. Pass encoding
10398 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10400 * lyx_main.C (init): remove annoying error message when following
10401 symbolic links (bug #780)
10403 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10405 * text.C (insertChar):
10406 * lyxrc.C (getDescription): remove extra spaces
10408 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10410 * lyxrc.C (getDescription): remove extra spaces
10412 2002-12-20 John Levon <levon@movementarian.org>
10414 * text3.C: hack fix for page up/down across tall rows
10416 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10418 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10421 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10423 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10424 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10425 thesaurus is not compiled in
10427 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10429 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10431 2002-12-16 Angus Leeming <leeming@lyx.org>
10434 * lyx_main.C (init): remove override_x_deadkeys stuff.
10436 2002-12-12 John Levon <levon@movementarian.org>
10438 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10439 insert. Only remove shift modifier under strict
10442 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10444 * MenuBackend.C (expandToc): fix crash.
10446 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10448 * MenuBackend.C (expandToc): gettext on float names.
10450 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10452 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10453 implement bool empty() [bug 490]
10455 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10457 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10459 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10461 * several files: ws changes
10463 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10465 * text2.C (setCounter): clean up a bit, use boost.format.
10466 (updateCounters): initialize par upon declaration.
10468 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10469 if the layout exists. We do not just store the layout any more.
10470 (SwitchLayoutsBetweenClasses): use boost.format
10472 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10474 * converter.C (convert): if from and to files are the same, use a
10475 temporary files as intermediary
10477 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10480 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10482 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10484 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10486 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10488 * tabular.C (asciiPrintCell): use string(size, char) instead of
10491 * sgml.C (openTag): fix order of arguments to string constructor
10494 * lyxfunc.C (dispatch): use boost.format
10496 * lots of files: change "c" -> 'c'
10498 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10500 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10502 2002-11-25 Angus Leeming <leeming@lyx.org>
10504 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10506 * lyx_main.C (init): compile fix.
10508 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10510 * lyx_cb.C (start): boost.formatify
10511 do not include <iostream>
10513 * lengthcommon.C: ws only
10515 * boost-inst.C,BoostFormat.h: add more explict instantations
10517 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10519 * lots of files: handle USE_BOOST_FORMAT
10521 2002-11-21 John Levon <levon@movementarian.org>
10523 * pspell.C: fix compile
10525 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10527 * lyxfunc.C (dispatch): use boost::format
10531 * lyxfont.C (stateText): use boost::format
10533 * lyx_main.C (LyX): use boost::format
10535 (queryUserLyXDir): ditto
10536 (readRcFile): ditto
10538 (typedef boost::function): use the recommened syntax.
10540 * importer.C (Import): use boost::format
10542 * debug.C (showLevel): use boost::format
10544 * converter.C (view): use boost::format
10549 * bufferview_funcs.C (currentState): use boost::format
10551 * bufferlist.C (emergencyWrite): use boost::format
10553 * buffer.C (readLyXformat2): use boost::format
10554 (parseSingleLyXformat2Token): ditto
10556 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10558 * LaTeX.C (run): use boost::format
10560 * Chktex.C (scanLogFile): use boost::format
10562 * BufferView_pimpl.C (savePosition): use boost::format
10563 (restorePosition): ditto
10564 (MenuInsertLyXFile): ditto
10566 * BoostFormat.h: help file for explicit instation.
10568 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10570 * tabular.C (latex): Support for block alignment in fixed width
10573 2002-11-17 John Levon <levon@movementarian.org>
10575 * BufferView_pimpl.C:
10577 * lyxfunc.C: split filedialog into open/save
10579 2002-11-08 Juergen Vigna <jug@sad.it>
10581 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10582 by my last patch (hopefully).
10584 2002-11-08 John Levon <levon@movementarian.org>
10593 * toc.C: ParConstIterator, and use it (from Lars)
10595 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10597 * lyxtextclass.[Ch]: revise and add doxygen comments
10599 2002-11-07 John Levon <levon@movementarian.org>
10601 * text.C: fix progress value for spellchecker
10603 * toc.C: fix navigate menu for insetwrap inside minipage
10605 * paragraph_funcs.C: added FIXME for suspect code
10607 2002-11-07 John Levon <levon@movementarian.org>
10609 * BufferView_pimpl.C: fix redrawing of insets
10612 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10614 * text2.C (updateCounters): fix bug 668
10616 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10618 * text3.C (dispatch): Do not make the buffer dirty when moving the
10621 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10623 * vc-backend.C: STRCONV
10624 (scanMaster): ditto
10626 * text2.C (setCounter): STRCONV
10628 * paragraph.C (asString): STRCONV
10630 * lyxlength.C (asString): STRCONV
10631 (asLatexString): ditto
10633 * lyxgluelength.C (asString): STRCONV
10634 (asLatexString): ditto
10636 * lyxfunc.C (dispatch): STRCONV
10639 * lyxfont.C (stateText): STRCONV
10641 * importer.C (Import): STRCONV
10643 * counters.C (labelItem): STRCONV
10644 (numberLabel): ditto
10645 (numberLabel): remove unused ostringstream o
10650 * bufferview_funcs.C (currentState): STRCONV
10652 * buffer.C (readFile): STRCONV
10653 (asciiParagraph): ditto
10654 (makeLaTeXFile): ditto
10656 * Spacing.C (writeEnvirBegin): STRCONV
10658 * LaTeXFeatures.C (getLanguages): STRCONV
10659 (getPackages): ditto
10661 (getBabelOptions): ditto
10662 (getTClassPreamble): ditto
10663 (getLyXSGMLEntities): ditto
10664 (getIncludedFiles): ditto
10668 (scanAuxFile): ditto
10671 * LString.h: add the STRCONV macros
10673 * BufferView_pimpl.C (savePosition): STRCONV
10674 (restorePosition): ditto
10675 (MenuInsertLyXFile): ditto
10677 * vc-backend.C (scanMaster): change from submatch[...] to
10680 * funcrequest.C: include config.h
10682 * factory.C: include config.h
10684 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10686 * box.C: include config.h
10688 * LaTeX.C (scanAuxFile): change from submatch[...] to
10692 2002-10-25 Angus Leeming <leeming@lyx.org>
10694 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10696 * ispell.[Ch] (setError): new method.
10697 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10698 Use setError() insetead of goto END.
10700 * lyx_cb.C (AutoSave): move out child process into new class
10703 2002-10-30 John Levon <levon@movementarian.org>
10705 * text3.C: make start appendix undoable
10707 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10709 * lyxlength.C (inPixels): Fix returned value.
10711 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10714 2002-10-24 Angus Leeming <leeming@lyx.org>
10716 * lyxgluelength.h: no need to forward declare BufferParams
10717 or BufferView, so don't.
10719 2002-10-21 John Levon <levon@movementarian.org>
10721 * BufferView.C: menuUndo ->undo, redo
10723 * BufferView.h: document, remove dead, make some methods private
10725 * paragraph_funcs.h:
10726 * paragraph_funcs.C:
10727 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10732 * sgml.C: move sgml open/close tag into sgml.C
10734 * bufferview_funcs.h: unused prototype
10737 * lyxfunc.C: remove unused
10740 * text.C: remove unused
10742 2002-10-21 John Levon <levon@movementarian.org>
10746 * BufferView_pimpl.h:
10747 * BufferView_pimpl.C: fix mouse wheel handling based on
10748 patch from Darren Freeman
10750 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10752 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10754 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10756 * lyxlength.C (inPixels): Fix hanfling of negative length.
10757 Fix LyXLength::MU case.
10759 2002-10-16 John Levon <levon@movementarian.org>
10761 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10763 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10765 * converter.C (view): add support for $$i (file name) and $$p
10766 (file path) for the viewer command. If $$i is not specified, then
10767 it is appended to the command (for compatibility with old syntax)
10769 2002-10-14 Juergen Vigna <jug@sad.it>
10771 * undo_funcs.C (textHandleUndo): alter the order in which the
10772 new undopar is added to the LyXText, as we have to set first
10773 the right prev/next and then add it as otherwise the rebuild of
10774 LyXText is not correct. Also reset the cursor to the right paragraph,
10775 with this IMO we could remove the hack in "redoParagraphs()".
10777 2002-10-09 Angus Leeming <leeming@lyx.org>
10779 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10780 to turn off an optimisation if a new inset is to be inserted.
10782 2002-10-11 André Pönitz <poenitz@gmx.net>
10784 * lyxtext.h: make some functions public to allow access
10785 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10787 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10789 * text3.C (dispatch): when changing layout, avoid an infinite loop
10792 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10794 * lyxrc.C (read): treat a viewer or converter command of "none" as
10797 * MenuBackend.C (expandFormats): for an update, also allow the
10798 formats that are not viewable
10800 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10801 script if it is newer than the lyxrc.defaults in user directory
10803 2002-10-07 André Pönitz <poenitz@gmx.net>
10805 * text.C: Vitaly Lipatov's small i18n fix
10807 2002-09-25 Angus Leeming <leeming@lyx.org>
10809 * ispell.h: doxygen fix.
10811 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10813 * buffer.h (readFile): Add a new argument to the method, to allow
10814 reading of old-format templates.
10816 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10818 * toc.C (getTocList): Get TOC from InsetWrap.
10820 2002-09-16 John Levon <levon@movementarian.org>
10822 * lyxfunc.C: check tabular for cut/copy too
10824 2002-09-12 John Levon <levon@movementarian.org>
10826 * LyXAction.C: tidy
10829 * factory.C: add header
10831 * paragraph_funcs.h:
10832 * paragraph_funcs.C: cleanup
10834 2002-09-11 John Levon <levon@movementarian.org>
10836 * PrinterParams.h: odd/even default to true
10838 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10840 * PrinterParams.h: update printer parameters for new xforms dialog
10842 2002-09-11 Angus Leeming <leeming@lyx.org>
10844 * lyxserver.C (read_ready): re-write to make it more transparent
10845 and to make it work in coherent fashion under Tru64 Unix.
10847 2002-09-11 André Pönitz <poenitz@gmx.net>
10851 * text3.C: implement LFUN_WORDSEL
10853 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10855 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10856 make floatlist_ a boost::shared_ptr<FloatList>
10858 * lyxtextclass.C: include FloatList.h
10859 (LyXTextClass): initialize floatlist_
10860 (TextClassTags): add TC_NOFLOAT
10861 (Read): match "nofloat" to TC_NOFLOAT and use it.
10862 (readFloat): modify call to floatlist_
10866 * FloatList.[Ch] (FloatList): remove commented out float
10868 (erase): new function
10870 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10872 * MenuBackend.C (expandToc): fix crash when there is no document
10875 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10877 * many files: Add insetwrap.
10879 2002-09-09 John Levon <levon@movementarian.org>
10881 * text2.C: remove confusing and awkward depth wraparound
10883 2002-09-09 John Levon <levon@movementarian.org>
10885 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10888 * buffer.C: remove getIncludeonlyList()
10891 * lyxfunc.C: remove headers
10893 2002-09-09 Juergen Vigna <jug@sad.it>
10895 * text.C (getColumnNearX): fix form Michael this is most
10896 probably a cut&paste bug.
10898 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10900 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10902 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10903 references, ws changes.
10905 * text2.C (init): update counters after init
10906 (insertParagraph): no need to set counter on idividual paragraphs.
10907 (setCounter): access the counters object in the textclass object
10908 on in the buffer object.
10909 (updateCounters): ditto
10911 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10912 shared_ptr<Counters> to avoid loading counters.h in all
10914 (LyXTextClass): initialize ctrs_
10915 (TextClassTags): add TC_COUNTER, and ...
10916 (Read): use it here.
10917 (CounterTags): new tags
10918 (readCounter): new function
10919 (counters): new funtion
10920 (defaultLayoutName): return a const reference
10922 * counters.C (Counters): remove contructor
10923 (newCounter): remove a couple of unneeded statements.
10924 (newCounter): simplify a bit.
10925 (numberLabel): some small formatting changes.
10927 * buffer.[Ch]: remove all traces of counters, move the Counters
10928 object to the LyXTextClass.
10930 2002-09-06 Alain Castera <castera@in2p3.fr>
10932 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10933 package to set the horizontal alignment on fixed width columns.
10936 * lyx_sty.h: added tabularnewline macro def.
10938 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10940 2002-09-06 John Levon <levon@movementarian.org>
10942 * LyXAction.C: tooltips for sub/superscript
10944 * MenuBackend.C: a bit more verbose
10946 * lyxfunc.C: tiny clean
10948 * undo_funcs.C: document undo_frozen
10950 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10952 * counters.C (Counters): add missing algorithm counter.
10954 * text2.C (setCounter): lookup the counter with layouts latexname
10955 instead of by section number.
10956 (setCounter): use a hackish way to lookup the correct enum
10958 a float name->type change
10959 reset enum couners with counter name directly instead of depth value.
10961 * counters.C (Counters): remove the push_backs, change to use the
10962 float type not the float name.
10963 (labelItem): remove unused string, float name->type change
10965 * counters.h: don't include vector, loose the enums and sects vectors
10967 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10969 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10970 (Read): add float->TC_FLOAT to textclassTags
10971 (Read): and handle it in the switch
10972 (readFloat): new function
10974 * FloatList.C (FloatList): comment out the hardcoded float
10977 * lyxlayout.h: ws change.
10979 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10981 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10983 2002-09-03 Angus Leeming <leeming@lyx.org>
10985 * BufferView_pimpl.h: qualified name is not allowed in member
10986 declaration: WorkArea & Pimpl::workarea() const;
10988 * factory.C: added using std::endl directive.
10990 * text3.C: added using std::find and std::vector directives.
10992 2002-08-29 André Pönitz <poenitz@gmx.net>
10995 * text2.C: remove unused member number_of_rows
10998 * BufferView2.C: remove file, move contents to...
10999 * BufferView.C: ... here
11001 * BufferView_pimpl.C:
11002 * factory.C: move more inset creation to factory
11004 * vspace.C: avoid direct usage of LyXText, ws changes
11007 don't provide direct access to WorkArea, use two simple
11008 acessors haveSelction() and workHeight() instead
11011 2002-08-29 John Levon <levon@movementarian.org>
11013 * BufferView_pimpl.C (dispatch): do not continue when
11016 2002-08-28 André Pönitz <poenitz@gmx.net>
11018 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11021 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11023 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11025 * buffer.C: increment LYX_FORMAT to 221
11027 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11028 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11030 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11032 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11034 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11036 * factory.C (createInset): use LyXTextClass::floats
11038 * MenuBackend.C (expandFloatListInsert):
11039 (expandFloatInsert):
11042 * text2.C (setCounter):
11044 * LaTeXFeatures.C (useFloat):
11045 (getFloatDefinitions):
11047 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11049 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11050 floatlist_, with accessor floats().
11052 * FloatList.h: remove global FloatList
11054 2002-08-26 André Pönitz <poenitz@gmx.net>
11056 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11060 * BufferView_pimpl.C:
11061 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11063 2002-08-25 John Levon <levon@movementarian.org>
11065 * LyXAction.C: fix margin note description
11067 2002-08-24 John Levon <levon@movementarian.org>
11071 * bufferview_funcs.C:
11073 * undo_funcs.C: cleanups
11075 * lyxfunc.C: disable CUT/COPY when no selection
11077 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11079 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11080 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11082 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11083 Add backward compatibility to "mono", "gray" and "no".
11085 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11087 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11088 (and file_format >= 200).
11090 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11092 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11094 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11096 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11098 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11100 * BufferView_pimpl.C:
11107 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11108 inset and code to make it work with the paragraph code. The inset
11109 can be anywhere in the paragraph, but will only do the expected
11110 thing in LaTeX if the layout file contains the parameter line
11112 (or more generally, a nonzero value) for that layout.
11114 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11116 * paragraph.h: remove the declaration of undefined counters class
11119 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11121 * text2.C (setCounter): fixed enumeration mis-count as reported by
11122 Dr. Richard Hawkins.
11124 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11126 * paragraph_funcs.h: remove some unneeded includes
11128 * text.C (backspace): pasteParagraph now in global scipe
11130 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11131 (pasteSelection): ditto
11133 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11134 * paragraph_funcs.C (pasteParagraph): ... here
11136 2002-08-20 André Pönitz <poenitz@gmx.net>
11138 * commandtags.h: new LFUNs for swapping/copying table row/colums
11141 * lyxfunc.C: support for new lfuns
11143 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11146 * buffer.[Ch]: remove NO_COMPABILITY stuff
11148 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11150 * boost.C (throw_exception): new file, with helper function for
11151 boost compiled without exceptions.
11156 * ParameterStruct.h:
11157 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11159 * bufferlist.C (emergencyWriteAll): use boost bind
11161 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11163 * text.C: include paragraph_funcs.h
11164 (breakParagraph): breakParagraph is now in global scope
11166 * paragraph_funcs.[Ch]: new files
11168 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11171 * buffer.C: include paragraph_funcs.h
11172 (insertStringAsLines): breakParagraph is now in global scope
11174 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11177 * CutAndPaste.C: include paragraph_funcs.h
11178 (cutSelection): breakParagraphConservative is now in global scope
11179 (pasteSelection): ditto
11181 * buffer.h: declare oprator== and operator!= for
11182 Buffer::inset_iterator
11184 * bufferlist.C (emergencyWrite): don't use fmt(...)
11186 * text3.C: add using std::endl
11188 * BufferView.C (moveCursorUpdate): remove default arg
11190 2002-08-20 André Pönitz <poenitz@gmx.net>
11192 * buffer.[Ch]: move inline functions to .C
11195 * BufferView_pimpl.C:
11197 * buffer.[Ch]: use improved inset_iterator
11200 * paragraph.[Ch]: write one paragraph at a time
11202 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11204 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11205 style if style is not specified.
11207 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11209 * text2.C (setCounter): when searching for right label for a
11210 caption, make sure to recurse to parent insets (so that a caption
11211 in a minipage in a figure float works) (bug #568)
11213 2002-08-20 André Pönitz <poenitz@gmx.net>
11215 * text3.C: new file for LyXText::dispatch() and helpers
11217 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11219 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11221 2002-08-19 André Pönitz <poenitz@gmx.net>
11224 * text.C: new LyXText::dispatch()
11226 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11228 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11230 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11232 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11235 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11237 * Makefile.am: use $(variables) instead of @substitutions@
11239 2002-08-15 André Pönitz <poenitz@gmx.net>
11242 * BufferView_pimpl.C: streamlining mathed <-> outer world
11246 * LyXAction.C: remove unused LFUN_MATH
11248 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11250 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11252 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11254 * paragraph.C (Paragraph): reformat a bit
11255 (cutIntoMinibuffer): use builtin InsetList function instad of
11259 * buffer.C: include boost/bind.hpp, add using std::for_each
11260 (writeFileAscii): use ParagraphList iterators
11261 (validate): use for_each for validate traversal of paragraphs
11262 (getBibkeyList): use ParagraphList iterators
11263 (resizeInsets): use for_each to resizeInsetsLyXText for all
11265 (getParFromID): use ParagraphList iterators
11267 * BufferView2.C (lockInset): use paragraph list and iterators
11269 2002-08-14 John Levon <levon@movementarian.org>
11271 * lyxserver.C: remove spurious xforms include
11273 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11275 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11277 2002-08-13 André Pönitz <poenitz@gmx.net>
11280 * lyxfunc.C: further cleaning
11282 2002-08-13 André Pönitz <poenitz@gmx.net>
11284 * funcrequest.h: new constructor
11286 * funcrequest.C: move stuff here from .h
11289 * BufferView_pimpl.C:
11292 * lyxfunc.C: subsequent changes
11294 * lyxfunc.h: new view() member function
11296 * lyxfunc.C: subsequent changes
11298 2002-08-13 Angus Leeming <leeming@lyx.org>
11301 * BufferView_pimpl.C:
11309 changes due to the changed LyXView interface that now returns references
11310 to member variables not pointers.
11312 2002-08-13 Angus Leeming <leeming@lyx.org>
11314 * WordLangTuple (word, lang_code): return references to strings,
11319 * lyxtext.h: forward-declare WordLangTuple.
11324 * text.C: #include "WordLangTuple.h".
11327 * text.C: (selectNextWordToSpellcheck): constify return type.
11329 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11335 * paragraph_pimpl.h:
11338 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11339 suggested by Angus.
11340 Made updateCounter always count from start of buffer, and removed
11341 second argument (par).
11342 Reverted floats number display to '#'. Perhaps I'll try again when the
11343 code base is sanitized a bit.
11345 2002-08-12 Angus Leeming <leeming@lyx.org>
11347 * buffer.[Ch] (getLabelList): constify.
11349 2002-08-07 André Pönitz <poenitz@gmx.net>
11351 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11353 * funcrequest.h: extension to keep mouse (x,y) position
11355 2002-08-12 Juergen Vigna <jug@sad.it>
11357 * BufferView2.C (insertErrors): forbid undo when inserting error
11360 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11362 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11364 * ParagraphList.[Ch]: new files
11366 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11368 * BufferView2.C (lockInset): ParagraphList changes
11371 * bufferlist.C: ditto
11375 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11377 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11378 unused class variable counter_,
11380 * paragraph.[Ch] (getFirstCounter): delete unused function
11382 * counters.C: include LAssert.h
11383 (reset): add a new function with no arg, change other version to
11384 not have def. arg and to not allow empty arg.
11386 * text2.C (setCounter): remove empty arg from call to Counters::reset
11388 2002-08-11 John Levon <levon@movementarian.org>
11390 * Makefile.am: add WordLangTuple.h
11392 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11394 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11395 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11397 * insets/insettext.C: InsetList changes
11399 * graphics/GraphicsSupport.C (operator()): InsetList changes
11401 * toc.C (getTocList): InsetList changes
11403 * paragraph_pimpl.[Ch]: InsetList changes
11405 * paragraph.[Ch]: InsetList changes
11407 * buffer.C (inset_iterator): InsetList changes
11408 (setParagraph): ditto
11409 * buffer.h (inset_iterator): ditto
11410 * iterators.C (operator++): ditto
11411 * iterators.h: ditto
11413 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11415 * InsetList.[Ch]: new files, most InsetList handling moved out of
11418 * BufferView2.C (removeAutoInsets): InsetList changes
11420 (ChangeInsets): ditto
11422 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11424 * paragraph_pimpl.h (empty): new function
11426 * paragraph.[Ch] (empty): new function
11428 * other files: use the new Paragraph::empty function
11430 2002-08-09 John Levon <levon@movementarian.org>
11432 * lyxtext.h: remove unused refresh_height
11434 2002-08-09 John Levon <levon@movementarian.org>
11441 * paragraph.C: move sgml char escaping out of paragraph
11444 * paragraph.C: remove id setter
11448 * paragraph_pimpl.C: remove dead tex_code_break_column
11450 * bufferview_funcs.C: small cleanup
11452 * lyxfunc.C: remove dead proto
11454 * lyxtext.h: make some stuff private. Remove some dead stuff.
11456 * lyxgluelength.C: make as[LyX]String() readable
11458 2002-08-08 John Levon <levon@movementarian.org>
11463 * ToolbarDefaults.C:
11466 * toc.C: lyxaction cleanup
11468 2002-08-08 John Levon <levon@movementarian.org>
11470 * BufferView2.C: small cleanup
11473 * lyxfind.C: move unnecessary header into the .C
11475 2002-08-08 John Levon <levon@movementarian.org>
11477 * funcrequest.h: just tedious nonsense
11480 * lyx_main.C: cleanups
11483 * vspace.C: remove dead header lyx_main.h
11485 2002-08-07 Angus Leeming <leeming@lyx.org>
11488 * paragraph_pimpl.h:
11489 Forward declare class Counters in paragraph.h by moving the ctrs member
11490 variable into Paragraph::Pimpl.
11491 (counters): new method, returning a reference to pimpl_->ctrs.
11493 * text2.C: ensuing changes.
11495 2002-08-07 John Levon <levon@movementarian.org>
11497 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11499 * BufferView_pimpl.C: announce X selection on double/triple
11502 * lyx_main.C: use correct bool in batch dispatch
11504 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11506 2002-08-07 André Pönitz <poenitz@gmx.net>
11508 * funcrequest.h: new class to wrap a kb_action and its argument
11511 * BufferView_pimpl[Ch]:
11515 * lyxrc.C: subsequent changes
11518 2002-08-07 John Levon <levon@movementarian.org>
11520 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11521 document options change.
11523 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11528 * makefile.am: move counters functionality over from
11529 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11531 2002-08-06 John Levon <levon@movementarian.org>
11533 * WordLangTuple.h: new file for word + language code tuple
11544 * BufferView2.C: use WordLangTuple
11547 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11549 2002-08-06 John Levon <levon@movementarian.org>
11551 * lyx_main.C: fix cmdline batch handling
11553 2002-08-06 André Pönitz <poenitz@gmx.net>
11555 * lyxrc.C: set default for show_banner to true
11557 2002-08-06 John Levon <levon@movementarian.org>
11559 * pspell.C: fix a crash, and allow new aspell to work
11561 2002-08-06 John Levon <levon@movementarian.org>
11564 * kbmap.C: small cleanup
11567 * vspace.C: add const
11569 2002-08-05 John Levon <levon@movementarian.org>
11571 * LyXAction.C: back to tabular-insert
11573 2002-08-04 John Levon <levon@movementarian.org>
11576 * BufferView.C: cosmetic change
11578 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11588 * BufferView2.C: purge all "Lyx" not "LyX" strings
11591 * lyxcursor.C: attempt to add some documentation
11596 * ToolbarDefaults.C:
11597 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11598 merge with LFUN_TABULAR_INSERT
11605 * pspell.C: split up i/pspell implementations into separate
11606 files, many cleanups
11608 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11610 * text2.C: some cleanup
11612 * lyxfunc.C: don't check for isp_command == "none" any more, it
11613 didn't make any sense
11615 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11620 * makefile.am: move counters functionality over
11621 from text2.C/paragraph.[Ch] to counters.[Ch], and
11623 2002-08-02 John Levon <levon@movementarian.org>
11625 * buffer.C: s/lyxconvert/lyx2lyx/
11627 2002-08-02 Angus Leeming <leeming@lyx.org>
11629 * lyxlex.C: revert John's change as it breaks reading of the user
11632 2002-08-02 Angus Leeming <leeming@lyx.org>
11634 * importer.C (Import):
11635 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11636 changes due to LyXView::view() now returning a boost::shared_ptr.
11638 2002-08-02 John Levon <levon@movementarian.org>
11640 * lyxlex.C: small cleanup
11642 2002-08-02 John Levon <levon@movementarian.org>
11644 * text2.C (status): small cleanup, no logic change
11646 2002-08-01 John Levon <levon@movementarian.org>
11649 * buffer.C (writeFile): don't output alerts, caller
11653 * lyx_cb.C: from above
11655 * lyxfunc.C: allow to open non-existent files
11657 2002-07-31 John Levon <levon@movementarian.org>
11659 * lyxserver.C: don't let incidental errors get
11662 2002-07-30 John Levon <levon@movementarian.org>
11664 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11666 2002-07-30 John Levon <levon@movementarian.org>
11669 * lyxserver.C: remove I/O callback too
11671 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11673 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11676 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11678 * many files: strip,frontStrip -> trim,ltrim,rtrim
11680 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11682 * PrinterParams.h: remove extern containsOnly, and include
11683 support/lstrings.h instead.
11685 * LaTeX.C (scanAuxFile): modify because of strip changes
11687 * buffer.C (makeLaTeXFile): ditto
11688 * bufferparams.C (writeFile): ditt
11689 * lyxfont.C (stateText): ditto
11690 * lyxserver.C (read_ready): ditto
11691 * vc-backend.C (scanMaster): ditto
11693 * BufferView_pimpl.h: ws changes
11695 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11697 2002-07-26 André Pönitz <poenitz@gmx.net>
11699 * kb_sequence.C: remove unnedred usings
11701 2002-07-26 Juergen Vigna <jug@sad.it>
11703 * lyxfind.C (LyXReplace): we have to check better if the returned
11704 text is not of theLockingInset()->getLockingInset().
11706 2002-07-25 Juergen Vigna <jug@sad.it>
11708 * lyxfind.C (LyXReplace): don't replace if we don't get the
11711 * undo_funcs.C (createUndo): remove debugging code.
11713 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11715 * buffer.C (parseSingleLyXformat2Token): Use default placement
11716 when reading old floats.
11718 * FloatList.C (FloatList): Change the default placement of figure
11719 and tables to "tbp".
11721 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11723 * MenuBackend.C: using std::max
11725 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11727 * MenuBackend.C (expandToc):
11728 (expandToc2): code moved from xforms menu frontend. It is now
11729 generic and TOCs are transparent to menu frontends.
11731 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11733 * toc.C (getTocList): protect against buf=0
11735 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11736 Menu as first parameter. Now, this calls itself recursively to
11737 expand a whole tree (this will be useful for TOC handling)
11738 (expandFloatInsert): remove 'wide' version of floats
11740 * MenuBackend.h (submenuname): returns the name of the submenu.
11741 (submenu): returns the submenu itself, provided it has been
11742 created by MenuBackend::expand
11744 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11746 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11747 insets which have noFontChange == true. (bug #172)
11749 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11751 * BufferView_pimpl.C: add connection objects and use them...
11754 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11756 * MenuBackend.C (expandLastfiles):
11759 (expandFloatListInsert):
11760 (expandFloatInsert):
11761 (expand): split expand in parts
11763 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11765 * lyx_gui.C: use lyx_gui::exit()
11767 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11769 * LyXAction.C: show the failing pseudo action
11771 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11773 * buffer.C (readFile): Run the lyxconvert script in order to read
11776 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11780 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11782 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11786 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11788 2002-07-22 Herbert Voss <voss@lyx.org>
11791 * lyxlength.[Ch]: add support for the vertical lengths
11793 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11795 * toc.[Ch]: std:: fixes
11797 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11799 * lyxrc.C: do not include lyx_main.h
11801 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11807 * BufferView2.C: include "lyxlex.h"
11810 * bufferparams.h: do not #include "lyxlex.h"
11812 * lyxtextclasslist.C (Add): remove method
11813 (classlist): renamed to classlist_
11815 * paragraph_pimpl.C:
11819 * bufferview_funcs.C:
11824 * toc.C (getTocList): use BufferParams::getLyXTextClass
11826 * toc.C (getTocList): use InsetFloat::addToToc
11828 * toc.[Ch]: new files, containing helper functions to handle table
11831 * lyxfunc.C (dispatch): no need to remove spaces around command
11833 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11834 first command of the sequence; it is not very clever, but I do not
11835 have a better idea, actually
11837 * LyXAction.C (LookupFunc): make sure to remove space at the
11838 beginning and end of the command
11840 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11842 * MenuBackend.C (getMenubar): new method: return the menubar of
11844 (read): treat differently reading of menu and menubar (in
11845 particular, the menubar has no name now)
11846 (Menu::menubar): remove
11848 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11851 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11853 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11854 a bibitem inset in a RTL paragraph.
11856 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11858 * paragraph_pimpl.C: constify
11860 * BufferView_pimpl.C:
11862 * lyxfunc.C: fix dispatch in a nicer way
11864 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11866 * lyxfunc.C (dispatch):
11867 * BufferView_pimpl.C:
11868 * BufferView_pimpl.h:
11870 * BufferView.h: rename Dispatch() to dispatch()
11872 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11874 * lyxlayout.C (Read): honor DependsOn tag
11876 * lyxlayout.[Ch] (depends_on): new method
11878 * version.C.in: update lyx_docversion
11880 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11882 * paragraph.C (validate): remove from here...
11883 * paragraph_pimpl.C (validate): ... and move here
11884 (isTextAt): make it const
11886 * buffer.C (getLists): ws cleanup
11888 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11890 * language.C (read): Use iso8859-1 encoding in latex_lang
11891 (this prevents LyX from crashing when using iso10646-1 encoding).
11893 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11895 * text2.C (toggleInset): if cursor is inside an inset, close the
11896 inset and leave cursor _after_ it
11898 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11900 * lyxfunc.C: move minibuffer completion handling out of here
11902 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11904 * BufferView_pimpl.C:
11905 * LaTeX.C: fix dispatch calls
11907 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11909 * text.C (drawChars): Fix Arabic text rendering.
11911 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11915 * lyxfunc.C: remove message-push/pop
11919 * lyxfunc.C: rationalise some code by removing verboseDispatch
11920 in favour of a bool argument to dispatch()
11922 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11924 * lyx_main.C (init): make sure to read symlinks as absolute paths
11926 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11929 * lyxfunc.C: no need for commandshortcut to be a member
11931 2002-07-15 André Pönitz <poenitz@gmx.net>
11933 * converter.C: add support for $$s (scripts from lib/scripts dir)
11934 * lyx_main.C: white space
11936 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11940 * lyxrc.C: remove second exit confirmation
11942 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11947 * BufferView_pimpl.h:
11948 * BufferView_pimpl.C:
11949 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11951 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11953 * MenuBackend.C (expand): add numeric shortcuts to document menu
11955 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11957 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11959 * lyxfont.C (setLyXFamily):
11966 * buffer.C (asciiParagraph): use ascii_lowercase
11968 2002-07-15 Mike Fabian <mfabian@suse.de>
11970 * lyxlex_pimpl.C (search_kw):
11971 * lyxlex.C (getLongString):
11972 * converter.h (operator<):
11973 * converter.C (operator<):
11974 * buffer.C (parseSingleLyXformat2Token):
11976 * ToolbarDefaults.C (read):
11977 * MenuBackend.C (checkShortcuts):
11979 * LColor.C (getFromGUIName):
11980 (getFromLyXName): use the compare_ascii_no_case instead of
11981 compare_no_case, because in turkish, 'i' is not the lowercase
11982 version of 'I', and thus turkish locale breaks parsing of tags.
11984 2002-07-16 Angus Leeming <leeming@lyx.org>
11986 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11987 now takes a Buffer const & argument.
11989 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11991 * BufferView.C (resize): check there's a buffer to resize
11993 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11995 * lyxfunc.C: remove dead code
11998 * lyxserver.C: use lyx_guii::set_read_callback
12000 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12002 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12003 an inset in a RTL paragraph.
12005 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12007 * lyxfunc.C: repaint after a font size update
12009 2002-07-15 André Pönitz <poenitz@gmx.net>
12011 * lyxlength.C: inBP should be able to return negative values
12013 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12015 * lyxfunc.C: use lyx_gui::update_fonts()
12017 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12019 * lyxfunc.C: use lyx_gui::update_color()
12021 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12027 * lyxrc.C: remove file->new asks for name option, and let
12028 buffer-new take an argument
12030 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12032 * BufferView_pimpl.C: remove unneeded extra repaint()
12034 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12036 * LyXAction.C: allow command-sequence with NoBuffer
12038 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12040 2002-07-10 Angus Leeming <leeming@lyx.org>
12042 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12044 2002-07-09 Angus Leeming <leeming@lyx.org>
12046 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12048 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12050 * lengthcommon.h: whitespace
12052 * lyxfunc.C: update scrollbar after goto paragraph
12054 * lyxtext.h: factor out page break drawing, and fix it so
12055 page break/added space paints as selected nicely
12057 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12059 * BufferView_pimpl.C: add FIXMEs, clean up a little
12061 2002-07-09 André Pönitz <poenitz@gmx.net>
12063 * lyxfont.[Ch]: support for wasy symbols
12065 2002-07-08 André Pönitz <poenitz@gmx.net>
12067 * BufferView_pimpl.C: apply John's patch for #93.
12069 2002-07-05 Angus Leeming <leeming@lyx.org>
12071 * BufferView_pimpl.C (buffer): generate previews if desired.
12073 * LColor.h: add "preview" to the color enum.
12075 * LColor.C (LColor): add a corresponding entry to the items array.
12077 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12080 2002-07-05 Angus Leeming <leeming@lyx.org>
12082 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12083 The body of the code is now in the method that is passed an ostream &
12084 rather than a file name.
12085 Pass an additional only_preamble parameter, useful for the forthcoming
12088 2002-07-03 André Pönitz <poenitz@gmx.net>
12090 * lyxfunc.C: simplify getStatus() a bit for math stuff
12092 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12094 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12096 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12098 * text.C (changeRegionCase): do not change case of all the
12099 document when region ends at paragraph end (bug #461)
12101 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12103 * paragraph.C (startTeXParParams):
12104 (endTeXParParams): add \protect when necessary
12106 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12108 * BufferView_pimpl.C (workAreaExpose): remove warning
12110 2002-06-27 Angus Leeming <leeming@lyx.org>
12112 * Makefile.am: add lyxlayout_ptr_fwd.h.
12114 2002-06-26 André Pönitz <poenitz@gmx.net>
12116 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12118 2002-06-25 Angus Leeming <leeming@lyx.org>
12120 * lyxfunc.C (dispatch): Comment out the call to
12121 grfx::GCache::changeDisplay. The method no longer exists now that the
12122 pixmap generation part of the graphics loader has been moved into
12125 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12127 * text2.C: layout as layout
12129 * text.C: layout as layout
12131 * tabular.C (OldFormatRead): layout as layout
12133 * paragraph_pimpl.C (TeXDeeper): layout as layout
12134 (realizeFont): layout as layout
12136 * paragraph.C (writeFile): layout as layout
12137 (validate): layout as layout
12138 (getFont): layout as layout
12139 (getLabelFont): layout as layout
12140 (getLayoutFont): layout as layout
12141 (breakParagraph): layout as layout
12142 (stripLeadingSpaces): layout as layout
12143 (getEndLabel): layout as layout
12144 (getMaxDepthAfter): layout as layout
12145 (applyLayout): layout as layout
12146 (TeXOnePar): layout as layout
12147 (simpleTeXOnePar): layout as layout
12148 (TeXEnvironment): layout as layout
12149 (layout): layout as layout
12150 (layout): layout as layout
12152 * lyxtextclass.C (compare_name): new functor to work with
12153 shared_ptr, layout as layout
12154 (Read): layout as layout
12155 (hasLayout): layout as layout
12156 (operator): layout as layout
12157 (delete_layout): layout as layout
12158 (defaultLayout): layout as layout
12160 * lyxlayout_ptr_fwd.h: new file
12162 * lyxlayout.C (Read): layout as layout
12164 * lyx_cb.C (MenuInsertLabel): layout as layout
12166 * bufferlist.C (newFile): layout as layout
12168 * buffer.C (readLyXformat2): layout as layout
12169 (parseSingleLyXformat2Token): layout as layout
12170 (insertStringAsLines): layout as layout
12171 (asciiParagraph): layout as layout
12172 (latexParagraphs): layout as layout
12173 (makeLinuxDocFile): layout as layout
12174 (simpleLinuxDocOnePar): layout as layout
12175 (makeDocBookFile): layout as layout
12176 (simpleDocBookOnePar): layout as layout
12177 (getLists): layout as layout
12179 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12181 * CutAndPaste.C (cutSelection): layout as layout
12182 (pasteSelection): layout as layout
12183 (SwitchLayoutsBetweenClasses): layout as layout
12185 * BufferView_pimpl.C (Dispatch): layout as layout
12186 (smartQuote): layout as layout
12188 * BufferView2.C (unlockInset): layout as layout
12190 2002-06-24 André Pönitz <poenitz@gmx.net>
12192 * lyxfunc.C: fix #487
12194 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12198 * lyxfunc.C: remove display_shortcuts, show_banner
12200 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12202 * Buffer_pimpl.C: oops, update on resize
12204 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12211 * BufferView.C: use repaint()
12213 * BufferView_pimpl.h:
12214 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12215 as it's a clearer description. Remove superfluous
12218 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12220 * text.C: fix bug 488. Not ideal, but getting
12221 getWord() to work properly for the insets that
12222 matter is more difficult ...
12224 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12226 * BufferView_pimpl.C:
12229 * lyxfunc.C: remove the six million index lyxfuncs to just
12230 one, and DTRT (bug 458)
12232 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12236 * BufferView_pimpl.h:
12237 * BufferView_pimpl.C: clean up resize() stuff,
12238 and unnecessary updateScreen()s
12240 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12244 * BufferView_pimpl.h:
12245 * BufferView_pimpl.C:
12248 * minibuffer.C: remove focus management of workarea,
12249 not needed. Use screen's greyOut()
12251 2002-06-17 Herbert Voss <voss@lyx.org>
12253 * converter.C: (convert) do not post a message, when converting
12254 fails, let the calling function decide what to do in this case
12256 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12258 * lyxfunc.C: tidy up a little
12260 2002-06-16 <alstrup@diku.dk>
12262 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12263 Got rid of FORMS_H_LOCATION include. Now we are
12266 2002-06-15 LyX Development team <lyx@rilke>
12268 * buffer.[Ch] (sgmlOpenTag):
12269 (sgmlCloseTag): Added support for avoiding pernicious mixed
12270 content. Return number of lines written.
12272 (makeLinuxDocFile):
12273 (makeDocBookFile): Fixed calls to sgml*Tag.
12274 Simple white space clean.
12276 (simpleDocBookOnePar): Simple white space clean.
12278 * tabular.[Ch] (docBook): Renamed to docbook and got another
12279 argument to related with the pernicious mixed content.
12281 (docbookRow): Fixed calls for docbook inset method.
12283 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12285 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12286 so it's X11 independent.
12290 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12292 2002-06-15 Lyx Development team <lyx@electronia>
12294 * intl.h: Renamed getTrans to getTransManager.
12296 2002-06-14 Angus Leeming <leeming@lyx.org>
12298 * Makefile.am: nuke forgotten stl_string_fwd.h.
12300 2002-06-12 Angus Leeming <leeming@lyx.org>
12302 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12304 2002-06-13 Angus Leeming <leeming@lyx.org>
12307 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12309 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12311 * kbmap.C (getiso): add support for cyrillic and greek
12313 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12317 * BufferView_pimpl.h:
12318 * BufferView_pimpl.C: move bogus scrolling logic
12321 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12324 * BufferView_pimpl.C: view->resize() change
12326 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12328 * BufferView_pimpl.C: topCursorVisible
12331 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12335 * lyx_gui.C: move to frontends/
12339 * lyx_main.C: changes from above
12341 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12348 * lyx_main.C: minor tidy
12350 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12352 * BufferView_pimpl.h:
12353 * BufferView_pimpl.C:
12355 * BufferView.C: make painter() const,
12358 * BufferView2.C: use screen() accessor
12361 * lyx_main.C: some minor cleanup
12363 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12365 * BufferView_pimpl.h:
12366 * BufferView_pimpl.C: remove enter/leaveView,
12369 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12374 * BufferView_pimpl.h:
12375 * BufferView_pimpl.C: only construct screen once,
12378 * lyxrc.C: remove pointless comment
12380 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12383 * BufferView.C: remove active() and belowMouse()
12385 * BufferView_pimpl.h:
12386 * BufferView_pimpl.C: use workarea() not workarea_,
12387 and make it use a scoped_ptr instead
12389 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12391 * lyx_gui.C: add debug message on BadWindow
12393 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12395 * sp_spell.C: fdopen is not part of the C++ standard.
12397 * paragraph.C (InsetIterator): use >= instead of ==
12399 2002-06-07 Angus Leeming <leeming@lyx.org>
12401 Fixes needed to compile with Compaq cxx 6.5.
12402 * BufferView_pimpl.C:
12409 * lyxtextclasslist.C:
12414 all c-library variables have been moved into namespace std. Wrap
12415 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12420 Add a using std::abs declaration.
12422 * kbmap.h (modifier_pair):
12423 * paragraph.h (InsetTable, InsetList):
12424 * lyxfont.h (FontBits):
12425 type definition made public.
12427 * bufferlist.C (emergencyWriteAll): the compiler complains that
12428 there is more than one possible lyx::class_fun template to choose from.
12429 I re-named the void specialisation as lyx::void_class_fun.
12431 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12433 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12434 the compiler is is unable to find tostr in write_attribute.
12436 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12438 * buffer.C (sgmlError): hide #warning
12440 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12442 * xtl/*: get rid of xtl, which is not in use anyway
12444 * LyXAction.C (init):
12445 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12446 were unimplemented xtl experimentation
12448 2002-06-04 André Pönitz <poenitz@gmx.net>
12450 * lyxfunc.C: disable array operation on simple formulae
12452 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12454 * converter.C: constify a bit
12456 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12458 * lyx_gui.C: check xforms version correctly
12460 2002-04-30 Herbert Voss <voss@lyx.org>
12462 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12465 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12467 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12468 attempt to register it with a VCS)
12470 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12472 * lyx_main.C (init): honor variables LYX_DIR_13x and
12475 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12479 * lyx_main.C: fix a crash on bad command line,
12480 and give a useful exit status on error
12482 * lyxfunc.C (doImport): allow -i lyx to work
12484 2002-03-30 André Pönitz <poenitz@gmx.net>
12486 * lyxfunc.C: mathed font changes
12488 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12503 * trans_mgr.h: srcdocs, and some minor cleanups
12505 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12507 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12508 call getFont all the time)
12510 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12512 * switch from SigC signals to boost::signals
12514 2002-05-29 André Pönitz <poenitz@gmx.net>
12516 * paragraph_pimpl.C (getChar): don't call size() too often...
12518 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12520 * paragraph_pimpl.C (insertChar): do not try to update tables when
12521 appending (pos == size())
12523 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12524 in order to reduce drastically the number of comparisons needed to
12525 parse a large document
12527 2002-05-29 André Pönitz <poenitz@gmx.net>
12533 * textclasslist.[Ch]:
12534 * sp_ispell.h: whitespace change
12536 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12538 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12539 lyxaction directly now.
12541 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12545 * lyxvc.C: remove unused headers
12547 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12554 * undo_funcs.C: some cleanups. Use shared_ptr
12555 and a template for the undo stacks.
12557 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12559 * BufferView_pimpl.h:
12560 * BufferView_pimpl.C:
12567 * text2.C: use key_state/mouse_state
12569 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12571 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12574 * chset.C: change include order
12575 (loadFile): use boost regex and get rid of LRegex and LSubstring
12577 * Makefile.am (BOOST_LIBS): new variable
12578 (lyx_LDADD): use it
12580 * LaTeX.C: change include order.
12581 (scanAuxFile): use boost regex and get rid of LRegex and
12585 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12590 * FontInfo.C: moved to frontends/xforms/
12593 * FontLoader.C: moved into frontends for GUIIzation
12598 * lyxfunc.C: changes from above
12600 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12602 * LColor.C: remove spurious X include
12604 * BufferView_pimpl.C:
12609 * text2.C: move font metrics to frontends/
12611 2002-05-24 Juergen Vigna <jug@sad.it>
12613 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12614 setting the undo_cursor.
12616 * ParagraphParameters.h: include local includes first.
12618 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12620 * BufferView_pimpl.C:
12621 * BufferView_pimpl.h:
12625 * screen.C: move WorkArea into frontends/
12631 * BufferView2.C: move LyXScreen into frontends/
12635 * lyx_gui.C: move lyxlookup into frontends/xforms/
12637 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12640 * BufferView_pimpl.C:
12650 * bufferview_funcs.C:
12663 * vc-backend.C: move LyX/XFormsView into frontends/
12665 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12677 * text2.C: move Painter to frontends/
12679 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * buffer.C: comment out some some code that depend upon lyx_format
12684 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12685 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12687 * buffer.h (NO_COMPABILITY): turn off compability
12689 * ColorHandler.C: include scoped_array.hpp
12691 * font.C: Use more specific smart_ptr header.
12694 * ShareContainer.h: ditto
12695 * lyx_main.h: ditto
12697 * FontInfo.h: ditto
12698 * BufferView_pimpl.h: ditto
12699 * ColorHandler.h: ditto
12701 * kbmap.C (defkey): change call to shared_ptr::reset
12703 2002-05-21 Juergen Vigna <jug@sad.it>
12705 * buffer.C (insertErtContents): fix to insert ert asis if it is
12706 non empty. Skip it completely if it contains only whitespaces.
12708 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12710 * BufferView_pimpl.C:
12711 * BufferView2.C: clear selection on paste (bug 393)
12713 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12715 * DepTable.C: include ctime
12717 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12719 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12721 2002-05-14 Juergen Vigna <jug@sad.it>
12723 * text.C (breakParagraph): fixed function to honor the keepempty
12724 layout in the right maner and also to permit the right breaking
12725 algorithm on empty or non empyt keepempty paragraphs.
12727 * paragraph.C (breakParagraph): we have to check also if the par
12728 is really empty (!size()) for isempty otherwise we do the wrong
12731 2002-05-10 Juergen Vigna <jug@sad.it>
12733 * buffer.[Ch] : The following are only changes to the ert
12734 compatibility read reading old LaTeX layout and font stuff and
12735 convert it to ERTInsets.
12737 * buffer.h: added isErtInset().
12739 * buffer.C (struct ErtComp): add a fromlayout bool to check
12740 if we're inside a LaTeX layout.
12741 (isErtInset): new helper function.
12742 (insertErtContents): look for other ert insets before this one
12743 and insert the contents there, so that we don't have subsequent
12744 ERT insets with nothing between them. This way we create only one
12745 inset with multiple paragraphs. Also check if we don't insert only
12746 spaces ' ' as they are ignored anyway afterwards in the .tex file
12747 so if we have only spaces we will ignore this latex part in the
12749 (parseSingleLyXformat2Token \\layout): better compatibility when
12750 reading layout-latex stuff.
12751 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12753 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12754 stuff after reading the inset only get the information back from
12757 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12759 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12761 * LaTeXFeatures.C (getBabelOptions): New method.
12763 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12765 * BufferView_pimpl.C (Dispatch): work around missing argument for
12768 2002-05-08 Juergen Vigna <jug@sad.it>
12770 * text.C (leftMargin): handle paragraph leftindent.
12772 * paragraph.C (writeFile): write the new \\leftindent tag.
12773 (validate): handle leftindent code.
12774 (TeXEnvironment): handle paragraphleftindent code again.
12776 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12778 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12779 for paragrap_extra indent code and new token \\leftindent.
12780 (latexParagraphs): handle the leftindent as environment.
12782 * ParameterStruct.h: added leftindent support.
12784 * ParagraphParameters.C (leftIndent): added support functions for
12785 the paragraph left indent.
12787 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12790 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12792 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12795 * text.C (computeBidiTables): No bidi in insetERT.
12797 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12800 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12802 * version.C.in: pre 5
12804 2002-05-02 José Matos <jamatos@fep.up.pt>
12805 * buffer.C (makeDocBookFile): white space changes, add newline to
12807 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12809 * tabular.C (docBook): fix typo.
12811 2002-05-03 Juergen Vigna <jug@sad.it>
12813 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12814 change in LyXText as we can not be sure it was not freed.
12815 (drawOneRow): remove unused code.
12817 * text.C (drawInset): redo the calculation of the need_break_row as
12818 it could have a row which was already freed.
12819 (draw): look at the return value of drawInset and return false if
12820 it also returned false.
12821 (paintRowText): look at the return value of draw and return false if
12822 it also returned false.
12824 * lyxtext.h: added bool return type to drawInset() and draw() so that
12825 if we have a change in the row so that the rowbreak has to be redone
12826 we abort drawing as it will be called again.
12828 2002-05-02 Juergen Vigna <jug@sad.it>
12830 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12831 a change in the maintext also if we're inside an inset.
12832 (Dispatch): set the cursor again after a break line and after the
12833 screen has been updated as it could be we're in a different row.
12835 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12836 to set the cursor behind the pargraph with > size().
12837 (setCursor): check also for the same paragraph when checking where
12838 to put the cursor if we have a NFR inset.
12840 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12841 parts of layout read further up as it still was in the wrong
12844 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12846 * screen.C (drawFromTo): change sine fullRebreak always return
12849 * buffer.C (parseSingleLyXformat2Token): reindent some
12851 * BufferView_pimpl.C (update): change since fullRebreak always
12853 (Dispatch): git rid of the last hardcoded "Standard"s.
12855 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12857 * text2.[Ch] (fullRebreak): make it return void now that we always
12860 2002-04-30 Juergen Vigna <jug@sad.it>
12862 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12863 ert compatibility check for "latex" layout.
12865 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12867 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12868 minipages: use col% instead of p%, and also use the current font.
12869 (makeLaTeXFile): Fix use babel condition.
12870 (parseSingleLyXformat2Token): Correct font when reading old floats.
12872 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12874 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12875 inserting list of floats.
12877 2002-04-25 Herbert Voss <voss@lyx.org>
12879 * MenuBackend.C (expand): don't add the graphics extensions to the
12882 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12884 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12885 non-existing layout, do not complain if it was the default layout
12886 of the original class (bug #342)
12888 2002-04-24 Juergen Vigna <jug@sad.it>
12890 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12891 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12893 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12895 * buffer.C (getBibkeyList): If using \bibliography, return the
12896 option field with the reference itself. Enables us to provide natbib
12897 support when using \bibliography.
12899 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12901 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12903 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12904 natbib is provided by the LaTeX class.
12906 2002-04-23 Juergen Vigna <jug@sad.it>
12908 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12911 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12913 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12915 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12917 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12918 ensuremath around textordmasculine, textordfeminine and
12921 2002-04-19 Juergen Vigna <jug@sad.it>
12923 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12924 reinitializing the buffer otherwise row-dimensions may be wrong.
12925 (update): reset also the selection cursors if they do exits otherwise
12926 their x/y positions may be wrong.
12928 * text2.C (cursorDown): don't enter the inset if we came from a row
12929 above and are one row over the inset.
12931 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12932 really leaving an inset.
12934 2002-04-18 Juergen Vigna <jug@sad.it>
12936 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12937 of the selected paragraph does not have the selected layout also if
12940 * text2.C (setLayout): fixed bug which did not change last selected
12943 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12944 changed the read and substituted \\end_float with \\end_inset!
12946 * BufferView_pimpl.C (cursorPrevious):
12947 (cursorNext): fixed to make it work with rows heigher than the work
12948 area without moving the cursor only the draw of the row.
12949 (workAreaMotionNotify): fix jumping over high rows.
12951 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12956 2002-04-16 Juergen Vigna <jug@sad.it>
12958 * text2.C (setCursor): set also the irow().
12959 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12961 (cursorDown): support for locking an inset if the x_fix value goes
12962 inside it. That way I can transverse insets too with cursor up/down.
12964 * lyxrow.h: added irow helper function same as other (i) functions.
12966 * BufferView_pimpl.C (cursorPrevious):
12967 (cursorNext): fixed for insets!
12969 2002-04-15 Juergen Vigna <jug@sad.it>
12971 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12972 position otherwise it is wrong in some cases.
12974 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12975 inside the inset before the call.
12977 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12979 * buffer.[Ch] (getBibkeyList): make it const.
12981 2002-04-12 Juergen Vigna <jug@sad.it>
12983 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12985 * text2.C (getCursorX): new helper function
12986 (setCursor): compute also ix_
12987 (setCursorFromCoordinates): set also ix.
12989 * lyxcursor.h: added ix_ and helper functions.
12991 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12993 * buffer.C (insertStringAsLines): dont break paragraph if the this
12994 paragraph is inside an inset which does not permit it!
12996 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12997 also with no chars on this paragraph.
12998 (paintRowText): only paint stuff if it's inside the workarea!
13000 * paragraph.C (breakParagraph): honor keepempty flag and break the
13001 paragraph always below not above.
13003 * BufferView2.C (unlockInset): update the paragraph layout on inset
13004 unlock as we changed paragraph in such a case.
13006 * lyxfind.C (LyXFind): clear the former selection if not found!
13008 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13009 again called in insertChar().
13011 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13012 an inset which uses the whole row!
13013 (rightMargin): ditto.
13014 (insertChar): force a rebreak if we inserted an inset!
13016 2002-03-28 Herbert Voss <voss@lyx.org>
13018 * lyxlength.[Ch]: add inBP() to get the right PS-point
13019 units (BigPoint). With inPixels we have rounding errors
13021 2002-04-11 Juergen Vigna <jug@sad.it>
13023 * text2.C (setCursorFromCoordinates): set iy to the right value.
13024 (setCursor): add check if row->previous exists!
13026 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13027 an old float_type as this was the case in the old code!
13029 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13031 * BufferView2.C (showLockedInsetCursor): use iy
13032 (fitLockedInsetCursor): ditto
13034 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13035 locked insets as there we have the right value now.
13037 * lyxcursor.C: added iy_ variable and iy functions to set to the
13038 baseline of cursor-y of the locked inset.
13040 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13041 (setCursor): fixed for insets which need a full row.
13043 * text.C (rowLastPrintable): don't ignore the last space when before
13044 an inset which needs a full row.
13045 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13046 as last character of a row when before a inset which needs a full row.
13048 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13050 * version.C.in: update date
13052 * text2.C (fullRebreak): try to always return true and see what
13055 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13057 * MenuBackend.C (expand): use Floating::listName
13059 * FloatList.C (FloatList): add listName argument to the built-in
13062 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13063 text associated with the float.
13065 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13067 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13069 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13071 * ShareContainer.h: add a couple of missing typenames.
13073 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13075 * lyxrc.C (getDescription): use _() correctly rather than N_().
13077 2002-03-28 Herbert Voss <voss@lyx.org>
13079 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13080 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13082 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13084 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13085 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13087 2002-03-29 Juergen Vigna <jug@sad.it>
13089 * lyxfunc.C (dispatch): add a missing fitCursor call.
13091 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13092 it was scrolled by a cursor move, so return the bool status.
13094 * BufferView.C (fitCursor): return the bool flag also to the outside
13095 world as this is needed.
13097 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13099 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13100 call the edit() as it is not needed (and wrong) IMO.
13101 (workAreaButtonPress): set the screen_first variable before evt.
13102 unlock the inset as this may change screen_first and then we have
13103 a wrong y position for the click!
13105 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13107 * MenuBackend.C (expand): another translation that I missed
13109 2002-03-28 Juergen Vigna <jug@sad.it>
13111 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13113 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13115 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13117 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13119 * MenuBackend.C (expand): fix export/view/update when there is no
13122 2002-03-27 Herbert Voss <voss@lyx.org>
13124 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13127 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13129 * bufferview_funcs.C (currentState): only show paragraph number
13130 for is DEVEL_VERSION is set.
13132 * lyxfunc.C (dispatch): put warning in INFO channel
13134 * MenuBackend.C (expand): translate the name of floats
13136 * FloatList.C (FloatList): mark the float names for translation
13138 * converter.C (convert): use LibScriptSearch
13140 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13142 * MenuBackend.C (defaults): fix default menu (we might as well get
13145 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13147 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13150 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13152 * lyxvc.C: reorder includes.
13154 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13156 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13159 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13161 * CutAndPaste.C: change layouts earlier on paste
13162 to avoid crashing when calling getFont()
13164 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13166 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13169 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13171 * WorkArea.C: remove 'Pending' debug message.
13173 * most files: ws cleanup
13175 * buffer.[Ch]: ws changes
13177 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13179 2002-03-21 Juergen Vigna <jug@sad.it>
13181 * tabular.C (SetMultiColumn): collapse also the contents of the
13182 cells and set the last border right. Added a Buffer const * param.
13184 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13186 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13189 2002-03-19 Juergen Vigna <jug@sad.it>
13191 * text2.C (clearSelection): reset also xsel_cache.
13193 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13194 where it needs to be called (John tells us to do so too :)
13195 (selectionLost): reset sel_cache.
13197 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13199 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13201 * text2.C (setCursorIntern): put debuging code in INSETS channel
13203 2002-03-19 André Pönitz <poenitz@gmx.net>
13205 * lyxfunc.C: tiny whitespace change
13207 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13209 * ToolbarDefaults.C (init):
13210 * LyXAction.C (init):
13212 * BufferView_pimpl.C (Dispatch):
13213 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13215 2002-03-19 Allan Rae <rae@lyx.org>
13217 * exporter.C (Export): removeAutoInsets before doing anything else.
13218 While I've just introduced a dependency on BufferView this really is
13219 the best place to clean the buffer otherwise you need to cleanup in
13220 a dozen places before calling export or cleanup in a dozen functions
13223 * converter.C (runLaTeX):
13224 (scanLog): Better handling of removeAutoInsets and screen updates.
13226 * lyxfunc.C (dispatch): small whitespace changes
13228 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13230 * WorkArea.C (C_WorkAreaEvent): return a value.
13231 (event_cb): return 1 if we handled the event, 0 otherwise.
13233 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13235 2002-03-18 Juergen Vigna <jug@sad.it>
13237 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13238 (GetAdditionalWidth): ditto.
13239 (RightLine): ditto.
13242 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13243 inset if we're there actually (probably not used right now but this
13244 is the direction to go for unifying code).
13245 (paste): disable code to clear the selection.
13247 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13248 inside an InsetText and move the check further up as it is in the
13251 * text2.C (pasteSelection): set a selection over the pasted text.
13253 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13255 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13256 and libgraphics to build on Cygwin.
13258 2002-03-15 Juergen Vigna <jug@sad.it>
13260 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13261 inserting an Inset into the paragraph. I know this is not the best
13262 fix but we already use current_view in CutAndPaste so we will remove
13263 all of it's using at the same time.
13265 * buffer.C (sgmlError): deactivated function till it is rewritten in
13266 the right mode, now it can create problems.
13268 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13269 before accessing it.
13271 2002-03-14 Juergen Vigna <jug@sad.it>
13273 * undo_funcs.C (textHandleUndo): do the right thing when updating
13274 the inset after the undo/redo.
13276 * text2.C (setCursor): just some testcode for #44 not ready yet.
13278 * undo_funcs.C (textHandleUndo): set the next() and previous()
13279 pointers of the paragraph to 0 before deleting otherwise we have
13280 problems with the Paragraph::[destructor].
13282 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13283 on a paragraph insertion.
13285 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13287 * buffer.C (asciiParagraph): use += operator for char append to
13290 * paragraph.C (getFontSettings): compare >= not just >
13291 (highestFontInRange): ditto
13294 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13296 * paragraph.C: change several algorithm to be more appripriate for
13297 the problem domain. This is lookip in FontList and in the InsetList.
13299 2002-03-13 André Pönitz <poenitz@gmx.net>
13302 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13304 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13309 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13311 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13313 * Painter.C (display): anon helper function, adjust code for this
13315 (pixmap): remove function.
13317 * Painter.h: remove private display variable.
13319 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13321 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13323 * WorkArea.[Ch]: remove figinset_canvas cruft.
13325 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13327 * lyxtextclass.C (operator): add one item cache optimization.
13329 * bufferlist.h: doxy changes
13331 * bufferlist.C: ws changes
13333 * DepTable.[Ch] (ext_exist): place const in the right spot.
13335 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13337 (workAreaExpose): call resizeInsets when the with BufferView changes.
13338 (Dispatch): adjust for protectedBlank removal
13339 (specialChar): call updateInset if the insert went ok.
13341 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13342 specialChar instead.
13344 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13346 * BufferView.h: doxy change
13348 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13350 * lyxtextclass.C (operator[]): remove non-const version
13351 (defaultLayout): remove non-const version
13353 2002-03-12 Juergen Vigna <jug@sad.it>
13355 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13356 did resize the LyXText too.
13358 * buffer.C (readLyXformat2): set layout information on newly allocated
13361 * tabular.C (OldFormatRead): set layout information on the paragraph.
13363 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13365 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13367 2002-03-11 Juergen Vigna <jug@sad.it>
13369 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13371 (resizeCurrentBuffer): force also the insets to resize themselfes.
13372 (moveCursorUpdate): fixed up for InsetText.
13374 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13377 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13378 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13379 value of Dialogs::tooltipsEnabled().
13380 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13382 2002-03-08 Juergen Vigna <jug@sad.it>
13384 * BufferView_pimpl.C (updateInset): update inset inside inset also
13385 if it isn't inside theLockingInset().
13387 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13389 * buffer.C (asciiParagraph): redo some of the word and line length
13391 (getLists): look for Caption instead of caption.
13393 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13395 * buffer.C (Buffer): initialize niceFile to true
13397 (makeLinuxDocFile):
13398 (makeDocBookFile): make sure niceFile is true on exit
13400 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13402 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13404 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13406 * LyXSendto.C: remove.
13407 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13408 * lyx_gui.C: remove now-redundant comment.
13409 * ColorHandler.h: remove forward declaration of class WorkArea.
13410 * lyxfunc.C: remove #include "WorkArea.h".
13412 2002-03-07 Juergen Vigna <jug@sad.it>
13414 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13415 got moved away with the DEPM and also set the inset_owner always
13416 right which before could have been omitted.
13418 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13420 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13421 wanted layout is not found.
13423 2002-03-07 Juergen Vigna <jug@sad.it>
13425 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13427 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13429 * paragraph.C (breakParagraph): use default layout not layout of
13431 (Paragraph): clear ParagraphParameters.
13433 2002-03-06 Juergen Vigna <jug@sad.it>
13435 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13436 otherwise it would not be a valid lenght. Fixed a special case in
13437 the minipage compatibility read where we end the document with a
13440 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13441 was set as it could be 0 for InsetTexts first entry.
13443 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13445 * paragraph.C (writeFile): if layout is empty write out
13446 defaultLayoutName().
13448 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13449 file without named layout we set layout to defaultLayoutName().
13451 2002-03-06 Juergen Vigna <jug@sad.it>
13453 * CutAndPaste.C (copySelection): set layout for new paragraph.
13455 * text.C (prepareToPrint): leave ERT inset left aligned
13456 (leftMargin): don't indent paragraphs inside ERT insets
13458 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13460 * paragraph.C (breakParagraph): dont call clear do the work manually
13462 * paragraph.[Ch] (clear): remove function
13464 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13466 * paragraph.C (Paragraph): dont call clear, the work has already
13469 * lyxtextclass.C (operator): assert if n is empty
13471 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13472 work manually instead.
13474 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13476 * BufferView_pimpl.C: protect selectionLost against text == 0
13478 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13480 * text.C (breakParagraph): fix a setting layout to '0' problem.
13482 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13484 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13485 final location of file, for the included files, and graphics.
13487 2002-03-05 Juergen Vigna <jug@sad.it>
13489 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13491 2002-03-04 Juergen Vigna <jug@sad.it>
13493 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13495 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13496 last column of multicolumn cells.
13497 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13499 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13501 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13502 file if it doesn't go to a temporary file.
13504 * buffer.C (sgmlOpenTag):
13505 (sgmlCloseTag): remove extra newline insertion.
13507 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13509 * text.C (getRowNearY): comment out debug msg
13511 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * text2.C: first -> first_y
13515 * text.C (getRowNearY): add some attemts at a possible
13516 optimization, not working.
13518 * tabular.[Ch]: add BufferParams to several function so that newly
13519 created paragraph can be initialized to he default layotu for the
13522 * tabular-old.C (ReadOld): add buf->params to call of Init
13524 * screen.C: rename text->first to text->first_y
13526 * paragraph.C (breakParagraph): always set layout in the broken
13529 * lyxtextclass.C (Read): remove lowercase
13532 (delete_layout): ditto
13534 * lyxtext.h: rename first -> first_y
13536 * lyxlayout.C (Read): remove lowercase
13539 (obsoleted_by): ditto
13541 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13543 * buffer.C (insertErtContents): add params are to InsetERT
13544 (parseSingleLyXformat2Token): add code to check if a paragraphs
13545 layout really exist.
13546 (parseSingleLyXformat2Token): add params to several inset
13548 (asciiParagraph): remove lowercase, do the layout comparisons with
13551 * BufferView_pimpl.C (cursorNext): first -> first_y
13552 (resizeCurrentBuffer): first -> first_y
13553 (updateScrollbar): first -> first_y
13554 (scrollCB): first -> first_y
13555 (workAreaMotionNotify): first -> first_y
13556 (workAreaButtonPress): first -> first_y
13557 (checkInsetHit): first -> first_y
13558 (cursorPrevious): first -> first_y
13559 (cursorNext): first -> first_y
13560 (Dispatch): add buffer_->params to severl inset contructors
13562 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13564 * lyxlayout.C (Read): remove some debug info that I forgot.
13566 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13567 clean up the code slightly.
13568 (makeLinuxDocFile): ditto
13569 (makeDocBookFile): ditto
13571 * text2.C: layout as string
13573 * text.C: layout as string
13575 * paragraph_pimpl.C: layout as string
13577 * paragraph.[Ch]: layout as string
13579 * lyxtextclasslist.[Ch]: layout as string
13581 * lyxtextclass.[Ch]: layout as string
13583 * lyxtext.h: layout as string
13585 * lyxlayout.[Ch]: layout as string
13587 * lyx_cb.C: layout as string
13589 * bufferview_funcs.C: layout as string
13591 * bufferparams.C: layout as string
13593 * buffer.C: layout as string
13595 * LyXView.[Ch]: layout as string
13597 * LaTeXFeatures.[Ch]: layout as string
13599 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13601 * BufferView_pimpl.C: change current_layout to string, remove
13606 (workAreaButtonRelease): layout as string
13608 * BufferView2.C (unlockInset): adjust
13610 * vspace.C (asLatexCommand): use an explict temp variable.
13612 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13614 * Makefile.am: use FRONTEND_*
13616 2002-03-01 Juergen Vigna <jug@sad.it>
13618 * tabular.C (SetWidthOfMulticolCell): changed to something better
13619 I hope but still work in progress.
13620 (recalculateMulticolumnsOfColumn): renamed function from
13621 recalculateMulticolCells as it is more appropriate now.
13622 (SetWidthOfCell): calculate multicols better.
13624 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13626 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13628 * lyxfunc.C (processKeySym): print sequence also if it is
13629 `deleted' (complete)
13631 * kbsequence.C (print): print sequence even if it is deleted
13632 (complete would be a better word, actually).
13634 * lyxfunc.C (dispatch): print complete options after a prefix key
13636 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13638 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13640 * text2.C (setCharFont): eliminate setCharFont code duplication.
13642 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13644 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13645 LFUN_TABULAR_FEATURE (bug #177)
13647 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13649 * Makefile.am: remove figure.h
13651 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13653 * Bufferview_pimpl.C:
13665 * text2.C: remove #include "lyx_gui_misc.h".
13667 * LaTeX.C: added #include <cstdio>
13669 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13671 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13672 that the paragraph following this one can have.
13674 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13676 * vspace.C (asLatexCommand): fix bogus gcc warning
13678 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13680 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13682 * text2.C (setLayout): get rid of redundant code
13684 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13686 * text2.C (incDepth): make sure depth cannot be increased beyond
13689 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13691 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13692 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13694 * PainterBase.h (image):
13695 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13696 a LyXImage const *.
13698 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13702 * BufferView_pimpl.C:
13703 * BufferView_pimpl.h:
13723 * sp_spell.C: remove fig inset, and the crap house of
13724 cards that follows it
13726 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13731 * os2_errortable.h:
13732 * nt_defines.h: move .h into support/
13734 * vms_defines.h: remove
13736 * WorkArea.C: add space in debug output
13740 * buffer.C: add WITH_WARNINGS
13744 * bufferlist.C: s/retrive/retrieve/, add docs
13753 * chset.C: add docs
13755 * lyxgui.C: add ID to X error handler
13757 * lyxtestclass.c: fix typo
13759 2002-02-26 Juergen Vigna <jug@sad.it>
13761 * tabular_funcs.C (write_attribute): changed so that some default
13762 attributes are not written at all.
13763 (getTokenValue): set default values before trying to read the
13764 value so we have the return value always set as default if we don't
13765 find the token we search for.
13767 * tabular.C (Write): write bools as bools not as strings!
13769 2002-02-22 Juergen Vigna <jug@sad.it>
13771 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13772 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13774 * text.C (leftMargin): don't add an indent for paragraphs inside
13775 tabular cells (fix #208).
13777 2002-02-21 José Matos <jamatos@fep.up.pt>
13779 * tabular.C (docBook): fixed support for long tables.
13781 2002-02-20 Juergen Vigna <jug@sad.it>
13783 * text2.C (getFont): get the drawing font of the Inset if this
13784 paragraph is inside an inset (only important for InsetERT for now).
13786 * buffer.C (insertErtContents): use new lanugage params in ERT
13789 * CutAndPaste.C: commenting out seemingly uneeded code.
13791 2002-02-19 Allan Rae <rae@lyx.org>
13793 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13794 Iterators might be simple to use but they also get invalidated.
13795 (removeAutoInsets): renamed saved cursor tracking variables and added
13796 some comments to clarify what everything does.
13798 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13805 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13806 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13809 * vc-backend.h: remove #include "support/syscall.h"
13813 * converter.C: rearrange #includes in Lars' approved fashion.
13815 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13816 forward declare class Timeout in the header file.
13818 * XFormsView.C: changes due to the above.
13820 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13821 similar to LyXView.
13823 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13824 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13826 2002-02-18 José Matos <jamatos@fep.up.pt>
13828 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13831 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13833 * a lot of small ws changes
13834 * add a lot of using std::XXX
13835 * use std construcs some places where approp.
13836 * use some exisint stuff from lyxfunctional where approp.
13837 * Make file changes to use partial linking (lets test this now...)
13839 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13843 remove #include "support/syscontr.h" as it's redundant. Always has been.
13851 change Systemcalls::System to Systemcalls::Wait and
13852 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13853 No change of functionality, just reflects the stripped down Systemcalls
13856 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13858 * debug.[Ch]: add a GRAPHICS type to the enum.
13860 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13862 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13864 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13867 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13869 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13870 match the changes below.
13872 * text2.C (toggleInset): if there is not editable inset at cursor
13873 position, try to see if cursor is _inside_ a collapsable inset
13876 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13878 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13879 document menu has a nice checkbox
13881 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13883 * lyxlength.C (asLatexString): change PW to output as percent of
13886 * lengthcommon.C: change '%' to 't%'
13888 * lyxfunc.C (dispatch): a few comments from Martin
13890 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13894 * BufferView_pimpl.h:
13895 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13898 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13900 * vspace.C (inPixels): fix compiler warning
13902 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13904 * lyxfunc.C (getStatus): fix status message for disabled commands.
13906 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13908 * BufferView_pimpl.C: fix crash on close buffer
13909 during selection (#227)
13911 2002-01-27 Herbert Voss <voss@lyx.org>
13913 * buffer.C: link old Figure to new graphic inset
13915 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13917 * FontLoader.C (getFontinfo): Change the latex font names in order
13918 to match the names of type1inst.
13920 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13922 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13924 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13925 (extchanged): ditto
13927 (remove_files_with_extension): ditto
13928 (remove_file): ditto
13931 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13932 document is smaller than the work area height. Do not initialize
13933 static variables to 0.
13935 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13937 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13939 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13940 LFUN_LAYOUT_PARAGRAPHS.
13942 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13943 tabular. It is possible to provide a possible cell, which will
13944 typically be the actcell from the corresponding insettabular
13946 * lyxfunc.C (getStatus): small cleanup; disable
13947 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13950 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13952 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13954 * paragraph.C (startTeXParParams):
13955 (endTeXParParams): new methods. The LaTeX code to
13956 start/end paragraph formatting
13957 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13958 empty (fixes bug #200)
13960 * vspace.C (inPixels): adapt to the change below
13961 (inPixels): [later] more cleanups (remove unused variables)
13963 * lyxlength.C (inPixels): change to use a width and a height as
13966 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13968 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13969 Replaced with \paperwidth
13971 * DepTable.C (insert): add std:: qualifier
13973 2002-01-18 Allan Rae <rae@lyx.org>
13975 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13978 * text.C (drawInset): Turned out I didn't know enough about how
13979 rebreaking worked. This fixes most of the redraw problems. I see
13980 an occasional cursor trail when a line is broken now and the cursor
13981 placement can seem out by a few pixels also after a rebreak.
13983 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13985 * buffer.C (parseSingleLyXformat2Token): update because minipage
13986 width is now a LyXLength
13988 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13990 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13993 2002-01-17 Juergen Vigna <jug@sad.it>
13995 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13997 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13998 is set correctly and the inset is updated correctly.
14000 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14002 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14003 the beginning of the loop.
14005 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14007 * lyxrc.C: improve help for use_scalable_fonts
14009 2002-01-17 Allan Rae <rae@lyx.org>
14011 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14013 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14015 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14016 make sure to set their inset_owner to the right value (bug #171)
14018 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14021 * DepTable.C: Implement mtime checking to reduce time spent doing
14024 2002-01-16 Juergen Vigna <jug@sad.it>
14026 * tabular.C (GetAdditionalHeight): one of error fixed.
14028 * lyxrc.C (output): small fix in writing use_pspell.
14030 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14032 * sp_base.h: #include LString.h
14034 2002-01-16 Allan Rae <rae@lyx.org>
14036 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14037 Can someone check this please?
14039 * text.C (drawInset): It was possible that p.row would be removed by
14040 breakAgainOneRow upsetting a few other settings. There may be another
14041 small tweak possible by setting need_break_row = 0 when p.row has been
14042 removed but I don't know enough about the logic here.
14044 2002-01-15 Allan Rae <rae@lyx.org>
14046 * text.C (insertChar): removed conditional truism.
14048 * BufferView2.C (removeAutoInsets): More tweaks.
14049 cur_par_prev could be a stray pointer. Check for trailing empty line
14050 in case last line was cur_par and only had an error inset on it.
14052 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14054 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14057 * vc-backend.C (most methods):
14058 * exporter.C (Export):
14059 * converter.C (convert):
14061 * LyXSendto.C (SendtoApplyCB):
14062 * lyxfunc.C (dispatch):
14066 * lyx_cb.C (AutoSave):
14068 * BufferView_pimpl.C (MenuInsertLyXFile):
14069 * buffer.C (runChktex): use Buffer::filePath().
14071 * buffer.h: rename filename to filename_; rename filepath to
14072 filepath_ and make it private
14073 (filePath): new method
14075 * buffer.C (writeFile): use fileName()
14078 * lyx_main.C (init): fix starting of LyX when the binary is a
14079 link from so,ewhere else.
14081 * minibuffer.C: include <cctype> for isprint
14083 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14085 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14086 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14087 name clash with InsetCollapsable's width function.
14089 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14091 * lastfiles.C: include <iterator>
14093 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14095 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14098 * buffer.C (makeLaTeXFile): ditto.
14099 Also make loop operation more transparent.
14101 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14103 * ToolbarDefaults.C: remove trailing comma closing namespace.
14105 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14107 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14110 * trans.C (Load): comment out unused variable, allowed.
14112 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14114 * minibuffer.[Ch] (append_char): new method to recieve input from the
14115 drop-down completion browser. If a key was pressed, then recieve this
14116 char and append it to the existing string.
14117 (peek_event): modify the positioning data passed to the completion
14118 browser so that it can be placed above the minibuffer rather than below.
14119 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14121 * LyXAction.C (init): alloe error-next for readonly documents.
14123 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14126 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14128 * bufferlist.C (readFile): create the buffer _after_ checking that
14131 * lyxfunc.C (verboseDispatch): fix handling of arguments
14133 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14135 * lyxrc.C: use string::erase() instead of initializing to "".
14138 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14140 * BufferView_pimpl.h:
14141 * BufferView_pimpl.C:
14144 * text2.C: tell X when we have made a selection for copying
14146 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14148 * BufferView_pimpl.C (MenuInsertLyXFile):
14149 * lyxfunc.C (menuNew):
14151 (doImport): add shortcuts to directory buttons
14153 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14156 * lyxfunc.C (setStatusMessage):
14157 (getStatusMessage): new methods
14158 (getStatus):use setStatusMessage instead of setErrorMessage
14159 (dispatch): when function is disabled, set error message here
14160 [instead of in getStatus previously]
14162 * BufferView_pimpl.C (workAreaButtonRelease): update
14163 toolbar/menubar here too.
14165 2002-01-13 Allan Rae <rae@lyx.org>
14167 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14168 Now seems indestructible. Remaining task is to audit all other
14169 code affected by deleteEmptyParagraphMechanism. One small quirk
14170 left is that an empty document with an error in the preamble can
14171 be made to report an error but no error box appears. I don't know
14173 (removeAutoInsets): Improved comments.
14175 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14178 * Thesaurus.C: update for Aiksaurus 0.14
14180 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14182 * text2.C (firstParagraph): removed member function, all uses
14183 replaces with ownerParagraph
14184 (redoParagraphs): here
14185 (updateInset): here
14186 (toggleAppendix): here
14187 * BufferView2.C (insertErrors): here
14188 (setCursorFromRow): here
14190 2002-01-13 Allan Rae <rae@lyx.org>
14192 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14193 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14194 There is still a way to segfault this although you may have to do this
14195 multiple times: Have an InsetERT with an unknown command in it.
14196 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14197 <down-arrow>, <Enter> again, View->DVI, BANG!
14199 * text2.C (setCursor):
14200 (deleteEmptyParagraphMechanism):
14201 * lyxtext.h (setCursor):
14202 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14203 Making use of the return value may help fix other bugs.
14205 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14207 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14209 * LyXView.C (updateMenubar): call MenuBar::update here
14210 (updateToolbar): but not here
14211 (showState): do not update toolbar/menubar
14213 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14214 should need to care about that.
14216 * lyxfunc.C (verboseDispatch): simplify a bit
14217 (getStatus): have a version which takes a pseudoaction, and
14218 another which requires a (kb_action,string).
14220 * LyXAction.C (retrieveActionArg): make it work also when action
14221 is not a pseudo-action.
14222 (getActionName): simplify a bit
14225 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14227 * lyxfunc.C (verboseDispatch): new families of methods with
14228 several ways to specify a command and a bool to indicate whether
14229 the command name and shortcut should be displayed in minibuffer
14230 (eventually, we could extend that to a finer bitmask like
14231 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14232 (dispatch): the pristine dispatch command which just, well,
14233 dispatchs! Note it still sets its result to minibuffer; I'm not
14236 * lyxfunc.h: remove setHintMessage
14238 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14240 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14242 * BufferView_pimpl.C (specialChar): delete new inset if we have
14243 not been able to insert it.
14245 * kbmap.C: revert to using int instead of kb_action, since all we
14246 are dealing with is pseudo-actions.
14248 * LyXAction.C (searchActionArg): change to return int instead of
14249 kb_action, since the result is a pseudoaction.
14251 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14253 * buffer.C (insertErtContents): Fix (partially) the font bug.
14255 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14257 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14258 as the other one is broken on my machine!
14260 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14263 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14265 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14267 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14268 reflect their actual use. Provide compatibility code for older lyxrc
14271 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14273 change names of popup font variables in line with the changes to lyxrc.C
14275 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14277 * buffer.C (asciiParagraph): avoid outputing a word twice after
14280 * lyxrc.C (getDescription): document that document_path and
14281 template_path can be empty.
14283 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14285 * LaTeXFeatures.C (getMacros):
14286 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14288 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14290 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14292 (getPackages): rename feature "floats" to "float". Use an array to
14293 iterate over 'simple' features (i.e. just a \usepackage). Add
14294 handling of "amsmath" (renamed from "amsstyle").
14296 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14298 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14301 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14303 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14304 FuncStaus::FuncStatus & FuncStaus::some_method().
14306 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14308 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14309 of the func_satus stuff. Edited and massaged in various ways by
14312 * lyxfunc.C (getStatus): use FuncStatus
14314 2002-01-08 Juergen Vigna <jug@sad.it>
14316 * text.C (nextBreakPoint): use function Inset::isChar().
14318 * paragraph.C (TeXOnePar): use function
14319 Inset::forceDefaultParagraphs.
14321 * buffer.C (latexParagraphs): use function
14322 Inset::forceDefaultParagraphs.
14324 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14326 * lyx_gui.C (init): set the style of the menu popups to
14327 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14329 2002-01-07 Juergen Vigna <jug@sad.it>
14331 * text.C (setHeightOfRow): small fix
14332 (prepareToPrint): don't look at alignment if we don't have the place
14335 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14337 * box.C: New file. Move the Box methods and functions out of box.h,
14338 following Lars' suggestion.
14340 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14342 * box.h: #include "support/LOstream.h", needed for inlined function.
14345 * lyxtextclasslist.C: added some using std declarations.
14347 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14349 * box.h: make signed dimensions to allow insets wider than
14350 the screen (bug #162)
14352 * BufferView_pimpl.C: add some insetHit debug
14354 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14356 * vc-backend.C: add FIXME
14358 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14360 * lyxfunc.C (getStatus): enable code for showing math font status
14363 2002-01-07 Juergen Vigna <jug@sad.it>
14365 * text.C (nextBreakPoint): removed debug output not needed anymore.
14367 2002-01-06 Juergen Vigna <jug@sad.it>
14369 * text.C (nextBreakPoint): fixed up this function we had this bug
14370 since ever but now hopefully we break row better.
14371 (insertChar): we have to check if an inset is the next char as it
14372 could now happen that a large inset is causing a break.
14374 2002-01-05 Juergen Vigna <jug@sad.it>
14376 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14377 if it doesn't like to be drawed.
14379 2002-01-04 Juergen Vigna <jug@sad.it>
14381 * BufferView2.C (lockInset): forgot to set a cursor.
14383 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14385 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14387 * FormMathsPanel.C:
14390 * form_maths_panel.C:
14391 * form_maths_panel.h:
14392 * form_maths_panel.fd: implemented sub- and super- buttons in math
14395 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14396 (or ^ space) to be used as in TeX (req'd by Andr�.
14398 * lyxfunc.C: Allow ^ and _ again to be used both as
14399 super/subscript (mathed) and as themselves (in text).
14401 2002-01-03 Allan Rae <rae@lyx.org>
14403 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14404 "LyX" or the filename of the current buffer if it has one. This is a
14405 modified form of John Levon's patch.
14407 * XFormsView.C (setWindowTitle): also set icon title.
14409 * LyXView.h (setWindowTitle): signature changed.
14410 * XFormsView.h (setWindowTitle): ditto.
14412 2002-01-02 Juergen Vigna <jug@sad.it>
14414 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14416 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14418 * screen.C (topCursorVisible): introduce a temp var for
14419 text->cursor.row(), handle the case where this row is null. (kindo
14422 * text2.C (setCursor): add a couple of asserts.
14424 * paragraph.h (inset_iterator): add -> operator
14426 * paragraph.[Ch] (autoDeleteInsets): remove member function
14428 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14429 cursor pos correctly and handle inset deletion by itself.
14430 (insertErrors): move iterator declaration out of for expression
14432 * lyxtextclass.C: add <algorithm>
14434 * Makefile.am: added the new files to sources, removed layout.C
14436 * layout.C: removed file
14438 * layout.h: remove LYX_DUMMY_LAYOUT
14440 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14444 * lyxtextclass.[Ch]:
14445 * lyxtextclasslist.[Ch]: new files
14447 * include order changes to a lot of files, also changes because of
14450 2001-12-27 Juergen Vigna <jug@sad.it>
14452 * buffer.C (asciiParagraph): more fixes.
14454 * tabular.C (ascii): make ascii export support export of only the
14455 data separated by a column-delimiter.
14456 (ascii): better support for ascii export.
14458 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14460 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14462 * tabular_funcs.C: use a "using std::getline" instead of the
14463 previous fix from Angus (necessary for cxx + lyxstring)
14465 2001-12-24 Juergen Vigna <jug@sad.it>
14467 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14469 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14470 problems. First check a minipage also if we have some ert-contents
14471 (not only on par->size(), second set the right depth of the paragraph
14472 on the relink to the root-paragraph-list!
14474 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14475 which then did not anymore update the main paragraphs on undo/redo!
14477 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14479 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14480 code. Support all font-changing funcs (even those which are not in
14481 menu currently). Support for reporting font settings in
14482 mathed (disabled until Andre provides a function on mathed's side).
14484 * func_status.h (toggle): small helper function to set toggle
14487 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14489 * tabular_funcs.C: getline -> std::getline
14491 2001-12-21 Juergen Vigna <jug@sad.it>
14493 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14494 accessed and could be 0 (I couldn't generate this but it seems
14497 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14499 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14500 * tabular_funcs.h: here and include iosfwd
14502 2001-12-20 Juergen Vigna <jug@sad.it>
14504 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14505 inside inset but undo_par was.
14507 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14509 * Thesaurus.C: always include <config.h> in sources.
14513 * box.h: do not include <config.h> in header files
14515 * text.C (paintLastRow): remove unused variable
14517 * text.C (transformChar):
14519 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14521 * Painter.C (text):
14522 * font.C (width): rewrite to use uppercase() instead of
14525 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14527 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14529 * lyxfind.C: clean up of find failure position change
14531 2001-12-20 Juergen Vigna <jug@sad.it>
14533 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14535 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14536 (TeXRow): added to LaTeX a single tabular row.
14537 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14538 (Latex): simplified and finally good LT-h/f support.
14539 (various_functions): just small adaptions for LT-h/f support.
14541 * tabular_funcs.[hC]: added and moved here all not classfunctions
14544 2001-12-19 Juergen Vigna <jug@sad.it>
14546 * tabular.[Ch]: better support for longtabular options (not finished
14549 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14551 * text.C (paintLastRow): use the label font instead of the font of
14552 the last character to compute the size of *_BOX. This makes more
14553 sense and avoids a crash with empty paragraphs.
14554 Use Painter::rectangle to draw EMPTY_BOX.
14556 2001-12-19 Juergen Vigna <jug@sad.it>
14558 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14559 the paragraphs if the replaced paragraph is not the first one!
14560 Tried to delete not used paragraphs but does not work yet so for
14561 now it's inside #ifdef's and by default off!
14563 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14565 * MenuBackend.C: include "lyx_main.h" instead of declaring
14566 lastfiles (actually was declared as LastFiles* instead of a
14569 2001-12-17 Juergen Vigna <jug@sad.it>
14571 * tabular.C (AppendColumn): applied John's fix
14573 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14577 * BufferView_pimpl.h:
14578 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14581 * box.h: new start of class for above
14583 * lyxfunc.C: ignore space-only minibuffer dispatches.
14584 Show the command name when it doesn't exist
14586 * minibuffer.C: don't add empty lines to the history
14588 * minibuffer.C: add a space on dropdown completion
14590 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14592 * text.C: fix line above/below drawing in insets
14594 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14596 * lyxlength.C (LyXLength): Initialize private variables.
14598 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14600 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14601 when inserting error insets.
14603 2001-12-13 Juergen Vigna <jug@sad.it>
14605 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14606 actually sometimes the before-paragraph.
14607 (setUndo): don't clear the redostack if we're not actually undoing!
14609 2001-12-06 Juergen Vigna <jug@sad.it>
14611 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14612 and fixed redoing of main paragraph, so we can use it now ;)
14614 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14616 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14618 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14621 2001-12-13 André Pönitz <poenitz@gmx.net>
14624 * undo_func.C: minor cleanup
14626 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14628 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14629 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14630 font in urw-fonts package which is marked as -urw-fontspecific and
14631 does not work (incidentally, changing the encoding in the
14632 fonts.dir of this package to -adobe-fontspecific fixes the
14635 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14636 is a crash when undoing first paragraph (Juergen, please take a
14637 look). THis does not mean the undo fix is wrong, just that it
14640 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14641 the (Paragraph*) version when needed instead of duplicating the
14644 * text.C (workWidth): use Inset::parOwner to find out where the
14645 inset has been inserted. This is a huge performance gain for large
14646 documents with lots of insets. If Inset::parOwner is not set, fall
14647 back on the brute force method
14649 * paragraph_pimpl.C (insertInset):
14650 * paragraph.C (Paragraph):
14651 (cutIntoMinibuffer): set parOwner of insets when
14652 inserting/removing them
14654 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14656 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14662 * mathed/formulabase.C:
14663 * mathed/math_cursor.[Ch]:
14664 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14667 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14669 * lyxlength.[Ch] (operator!=): new function
14671 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14673 * text.C (workWidth): use Inset::parOwner to find out where the
14674 inset has been inserted. This is a huge performance gain for large
14675 documents with lots of insets. If Inset::parOwner is not set, fall
14676 back on the brute force method
14678 * paragraph_pimpl.C (insertInset):
14679 * paragraph.C (Paragraph):
14680 (cutIntoMinibuffer): set parOwner of insets when
14681 inserting/removing them
14683 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14685 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14687 * tabular-old.C (getTokenValue):
14688 * tabular.C (getTokenValue):
14689 (write_attribute): new versions for LyXLength
14690 (everywhere): adjust the use of widths
14692 * tabular.h: change the type of widths from string to LyXLength
14694 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14696 * paragraph.C: fixed missing line number count when exporting
14697 Environments to LaTeX file
14699 * buffer.C: added informational message for checking line numbers.
14701 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14703 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14704 paragraph, do the 'double space' part, but not the 'empty
14707 * text.C (workWidth): small optimization
14708 (getLengthMarkerHeight): use minimal size for negative lengths.
14710 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14712 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14714 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14716 2001-12-11 André Pönitz <poenitz@gmx.net>
14719 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14721 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14723 * text2.C: keep selection on a setFont()
14725 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14727 * lyx_cb.C: another bv->text misuse, from insert label
14729 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14732 * kbsequence.C: re-instate nmodifier mask
14734 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14736 * lyx_main.h: make lyxGUI private.
14738 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14740 * lyxfind.C: place the cursor correctly on failed search
14742 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14744 * text.C (getLengthMarkerHeight): for small heights, the arrows
14745 are not always on top/bottom of the text
14746 (drawLengthMarker): smaller arrows; take the left margin in
14747 account; draw also vfills.
14749 (paintLastRow): remove special code for vfill and standard spaces,
14750 since everything is handled in drawLengthMarker now.
14752 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14754 * buffer.C (insertErtContents): try to handle font and language
14755 interaction a bit better.g
14757 * ColorHandler.C (updateColor): change the hash to cover the whole
14758 LColor enum, ws cleanup
14759 (getGCLinepars): ditto
14760 (getGCLinepars): only lookup in the linecache once.
14762 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14764 * iterators.C (operator++): Make the iterator more robust
14766 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14768 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14770 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14773 * text.C: better added space drawing
14775 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14778 * BufferView2.C: fix layout combo update on inset unlock
14780 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14782 * Makefile.am: don't compile unused files
14784 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14788 * LyXAction.C: remove old LFUN_LAYOUTNO
14790 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14792 * paragraph_pimpl.h:
14793 * paragraph_pimpl.C: isTextAt() doesn't need font param
14795 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14798 * lyxlex.C: little cleanup
14800 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14802 * BufferView_pimpl.C: fix insertAscii for insets
14804 2001-12-05 Juergen Vigna <jug@sad.it>
14806 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14807 set the right font on the "multi" paragraph paste!
14809 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14815 * lyxlength.C: remove out-commented code.
14817 * BufferView_pimpl:
14831 * vc-backend.C: change "while(" to "while ("
14833 * lyxlength.[Ch]: add zero function to check if length is zero or
14835 * lyxgluelength.C: use it
14837 2001-12-05 Allan Rae <rae@lyx.org>
14839 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14840 Works for 2.95.3, from what I understand of Garst's reports this should
14841 work for other g++ versions. We're screwed if the abs(int) definition
14842 changed between bugfix releases of gcc.
14844 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14846 * text.C: fix chapter label offset !
14848 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14851 * text.C: fix hfill at end of line, clean up
14853 2001-12-04 Juergen Vigna <jug@sad.it>
14855 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14856 that we force an update of the inset and it's owners if neccessary.
14858 2001-12-03 Juergen Vigna <jug@sad.it>
14860 * text.C (rowLast): simplified code
14862 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14864 * lyxfunc.C: fix show options on timeout
14866 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14868 * screen.C (topCursorVisible): scroll half a page when the cursor
14869 reached top of bottom of screen
14871 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14873 * minibuffer.C: deactivate on loss of focus
14875 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14877 * vspace.[Ch] (operator!=): add operator.
14879 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14881 * BufferView_pimpl.C: refuse to open an inset when
14882 there's a selection.
14884 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14886 * BufferView_pimpl.C: allow to click on RHS of full row insets
14888 2001-11-30 Juergen Vigna <jug@sad.it>
14890 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14891 insets for undo reasons.
14893 2001-11-28 André Pönitz <poenitz@gmx.net>
14895 * vspace.[Ch]: cosmetical changes
14897 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14907 * kbsequence.C: part re-write of old kb code
14910 * WorkArea.C: remove Lgb_bug_find_hack
14912 2001-11-30 José Matos <jamatos@fep.up.pt>
14914 * buffer.C (makeDocBookFile): add a comment to point a hack.
14915 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14916 Fixed a double write of labels.
14918 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14921 * LaTeX.h Fixed bug in LaTeX class where it would not
14922 re-run latex if no depfiles were changed, but the .dvi was removed.
14924 2001-11-28 André Pönitz <poenitz@gmx.net>
14926 * all the files from the change on 2001/11/26:
14927 use lyx::layout_type instead of LyXTextClass::size_type
14928 use lyx::textclass_type instead of LyXTextClassList::size_type
14930 2001-11-29 Juergen Vigna <jug@sad.it>
14932 * text.C: added support for paragraph::isFreeSpacing()
14934 * buffer.C: same as above
14936 * paragraph.h: inserted isFreeSpacing() function to enable
14937 FreeSpacing inside InsetERT.
14939 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14940 of the paragraph's in the cut/copy buffer to 0!
14942 * text2.C (removeRow): remove the assert as it can!
14944 * lyxtext.h: added helper function firstRow returning firstrow and
14945 made firstrow private again.
14947 * BufferView2.C (lockInset): don't relock if we're already locked!
14949 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14950 the only paragraph.
14951 (removeRow): added Assert::(firstrow)
14953 * debug.C: forgot to add INSETTEXT here.
14955 2001-11-28 Juergen Vigna <jug@sad.it>
14957 * sp_spell.C (initialize): changed error text to more general
14958 spellchecker command use (not only ispell!)
14960 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14962 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14964 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14966 * vspace.C: initialise lyxgluelength on failure
14968 2001-11-28 Allan Rae <rae@lyx.org>
14970 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14971 declaration & definition that looks like a function declaration.
14973 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14975 * BufferView2.C (copy):
14976 (copyEnvironment): do not clear the selection when doing a copy.
14978 * text.C (paintFirstRow): compilation fix
14980 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14982 * tabular.C (Latex): correct line count when writing latex.
14984 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14986 * paragraph_pimpl.h:
14987 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14990 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14994 * LColor.C: change vfillline->added_space
14996 * text.C: add markers and text for added space
14998 * vspace.C: fix comment
15000 2001-11-28 André Pönitz <poenitz@gmx.net>
15002 * paragraph.C: whitespace changes
15003 * all the other files from the change on 2001/11/26:
15004 change *::pos_type into lyx::pos_type
15006 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15008 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15009 language of the document when inserting error insets.
15011 2001-11-26 André Pönitz <poenitz@gmx.net>
15013 * BufferView_pimpl.[Ch]:
15021 * paragraph_pimpl.[Ch]:
15024 * text2.C: reduce header dependencies, introduce type for positions
15026 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15028 * <various>: change to use Alert.h
15030 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15032 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15033 when encountering an unknown token.
15034 (readLyXformat2): Show an error message if there were unknown tokens.
15036 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15039 * BufferView_pimpl.C:
15043 * text2.C: use par->isInset()
15045 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15047 * paragraph_pimpl.h:
15048 * paragraph_pimpl.C: cleanup
15050 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15052 * text2.C (removeRow):
15053 * text.C (setHeightOfRow): remove useless (and costly) call to
15056 2001-11-20 Allan Rae <rae@lyx.org>
15058 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15059 Now need Inset*::checkInsertChar() to return true for appropriate
15060 cases so that the characters in the minibuffer will actually be
15063 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15065 * text.C: change the order of the includes.
15066 (workWidth): initialize it at once.
15067 (workWidth): make maxw unsigned
15068 (setHeightOfRow): remove unused variable (inset)
15069 (selectSelectedWord): remove unused variable (inset)
15070 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15072 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15074 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15075 server is not running.
15077 (closeConnection): add debug info when server is disabled.
15079 * ColorHandler.C (getGCForeground): send debug message to GUI
15082 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15084 * kbmap.C (bind): modify because return conventions of
15085 kb_sequence::parse have changed.
15087 * kbsequence.C (parse): only ignore spaces and not any stupid
15088 control character. This avoids tests like s[i] <= ' ', which are
15089 guaranteed to fail with 8bit characters and signed chars.
15090 Change return code to string::npos when there have been no error
15091 (0 was a bad idea when error is at first character)
15093 2001-11-14 José Matos <jamatos@fep.up.pt>
15096 * buffer.C (simpleDocBookOnePar): removed unused argument.
15098 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15100 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15101 insets which are part of a word. Paragraph::isLetter takes care of
15102 that now. Use Paragraph::isInset to identify insets.
15103 (selectSelectedWord): do not test for hyphenation break.
15105 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15106 that protected spaces are considered as spaces.
15108 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15111 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15114 * lyxserver.C: fix it. and small cleanup.
15116 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15118 * BufferView_pimpl.C: use inline helpers
15121 * LaTeXFeatures.C: fix typos
15124 * Spacing.C: move spacing_string into class
15126 * ToolbarDefaults.C: move stuff into namespace anon
15128 * layout.h: update enum
15130 * lyxfunc.C: use better debug
15132 * minibuffer.h: fix typo
15136 * WorkArea.C: add and use Debug::WORKAREA
15140 * text2.C: code re-organisation, inline helpers
15142 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15144 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15145 std::vector.empty().
15147 2001-11-09 Allan Rae <rae@lyx.org>
15149 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15150 '\n's after tables. Tabular and ERT inset work now makes this no
15153 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15156 * minibuffer.C: fix crash, improve drop-down completion
15158 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15161 * lyxserver.C: invalidate fd's when doing endPipe()
15163 2001-11-08 José Matos <jamatos@fep.up.pt>
15165 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15166 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15169 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15171 2001-11-07 José Matos <jamatos@fep.up.pt>
15174 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15177 * buffer.C (sgmlOpenTag):
15178 * buffer.C (sgmlCloseTag): removed debug info.
15180 * buffer.h (sgmlOpenTag):
15181 * buffer.h (sgmlCloseTag): made public.
15183 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15185 * buffer.C (saveParamsAsDefaults):
15186 * lyx_cb.C (MenuLayoutSave): remove
15188 * LyXAction.C (init):
15190 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15192 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15194 * buffer.C (setPaperStuff): removed from here...
15196 * bufferparams.C (setPaperStuff): ... and moved there.
15198 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15202 * XFormsView.C: add support for drop-down completion
15204 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15206 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15209 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15211 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15214 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15216 * lyx_main.C: change ref to known bugs
15218 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15220 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15221 to work around older babel problems.
15223 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15225 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15227 2001-10-24 Juergen Vigna <jug@sad.it>
15229 * tabular-old.C (ReadOld): below variable changes reflected.
15231 * tabular.[Ch]: added ltType struct for longtable header/footer
15232 defines and changed all instances where they are used. Added
15233 future support for double top/bottom rows.
15235 2001-10-24 José Matos <jamatos@fep.up.pt>
15237 * buffer.h (docbookHandleCaption):
15238 * buffer.C (docbookHandleCaption): removed unused function.
15239 (makeDocBookFile): moved docbook supported version to v4.1.
15241 2001-10-24 José Matos <jamatos@fep.up.pt>
15244 * tabular.C (docbookRow): new function to export docbook code of a row.
15245 (DocBook): now honors the longtable flags.
15247 2001-10-23 José Matos <jamatos@fep.up.pt>
15250 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15251 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15253 * buffer.C (makeLinuxDocFile):
15254 (makeDocBookFile): reworked the preamble, more clean, and with
15255 support for lyx defined entities. Changed the document declaration
15256 to be more XML friendly.
15258 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15259 if we need to output XML that should be done with a filter.
15261 2001-10-22 Juergen Vigna <jug@sad.it>
15263 * sp_pspell.h (class PSpell): add alive function needed in the
15264 controller to see if the spellchecker could be started.
15266 2001-10-22 Juergen Vigna <jug@sad.it>
15268 * buffer.C (insertStringAsLines): modify the font for inserting
15269 chars in certain conditions by calling checkInsertChar(font).
15271 2001-10-19 Juergen Vigna <jug@sad.it>
15273 * text.C (workWidth): use getRow instead of wrong algorithm.
15274 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15276 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15281 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15283 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15285 * text.C (workWidth): do not search for the exact row when
15286 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15287 optimization for big documents.
15289 2001-10-18 Juergen Vigna <jug@sad.it>
15291 * text.C (workWidth): new function with added Inset * parameter.
15293 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15295 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15297 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15298 change return type of getColumnNearX.
15301 * text.C (changeRegionCase): use uppercase/lowercase instead of
15304 (rightMargin): simplify code by factoring out the uses of
15309 (appendParagraph): use Paragraph::size_type
15311 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15313 * vspace.C (asLatexString): add a missing break
15315 2001-10-15 Herbert Voss <voss@perce.de>
15317 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15319 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15321 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15324 2001-10-10 André Pönitz <poenitz@gmx.net>
15326 * lyxfunc.C: removed greek_kb_flag.
15328 2001-10-10 Herbert Voss <voss@perce.de>
15330 * lyx_main.C: delete global string help_lyxdir.
15332 2001-10-09 Herbert Voss <voss@perce.de>
15334 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15336 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15338 * lyx_main.C: added global string help_lyxdir.
15340 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15342 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15344 * lyxrc.C (set_font_norm_type): support iso8859-4
15346 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15348 * LaTeX.C (deplog): add another regex for MikTeX
15350 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15352 * lyxrc.C (set_font_norm_type): support iso8859-3
15354 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15356 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15358 * LaTeXFeatures.C: remove special case of french and index
15360 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15361 before \begin{document}). This solves several incompatibilities.
15363 2001-10-03 Garst Reese <reese@isn.net>
15365 * lyx_cb.C: change CheckTex error msg.
15367 2001-10-03 José Matos <jamatos@fep.up.pt>
15369 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15371 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15373 * .cvsignore: update
15375 * lyx_main.C (commandLineVersionInfo): use new style version info.
15377 * buffer.C (writeFile):
15379 (makeLinuxDocFile):
15380 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15382 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15384 * version.h: update to use stuff in version.C
15386 * version.C.in: new file. Contains version information determined
15387 at compile time. This is a merging of version.h and
15390 2001-10-03 Juergen Vigna <jug@sad.it>
15392 * BufferView_pimpl.C (update): don't change "dirty" status in
15395 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15397 * WorkArea.C (c-tor): re-position version string slightly.
15399 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15401 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15402 revert to previous code.
15404 WorkArea.[Ch]: (show, destroySplash): methods removed.
15406 WorkArea.C: rework code so that it's an amalgam of the codes before and
15407 after the splash screen was moved to WorkArea.
15409 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15412 * vspace.C (inPixels):
15415 * buffer.C (insertStringAsLines):
15416 (asciiParagraph): fix types to be large enough
15418 * lyxlex_pimpl.h: change member status from short to int
15420 * layout.h: fix type of endlabeltype
15423 * kbsequence.C (parse): change return type to string::size_type
15425 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15428 * Bullet.C (bulletSize):
15429 (bulletEntry): do not use short ints as parameters
15431 * BufferView2.C (insertLyXFile): change a char to an int.
15433 * WorkArea.C (WorkArea): remove unneeded floats in computation
15435 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15437 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15439 * paragraph.C (asString): Do not ignore newline/hfill chars when
15440 copying to the clipboard.
15442 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15444 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15445 after a multi-line inset.
15447 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15449 * paragraph.C (validate): Set NeedLyXFootnoteCode
15451 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15453 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15454 and decrease-error to decrease.
15456 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15458 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15459 it more readable (should be equivalent)
15461 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15463 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15465 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15467 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15468 of a cursor (row, etc.) after a character has been deleted
15469 (deleteEmptyParagraphMechanism): call the method above on _all_
15470 cursors held by the LyXText when a double space has been
15473 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15475 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15477 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15479 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15480 background. Use greyOut() and the new show() methods to toggle between
15481 the foreground and background. Add code to remove the splash after
15482 its initial showing.
15484 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15485 (create_forms): no longer call Dialogs::showSplash.
15487 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15489 * .cvsignore: add version_info.h
15491 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15493 * version_info.h.in: new file
15495 * Makefile.am: add version_info.h.in
15497 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15498 version_info.h instead of VERSION_INFO
15500 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15502 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15503 The ERT inset now returns string().
15505 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15507 * lyxtext.h, text.C (selectNextWord): renamed as
15508 selectNextWordToSpellcheck.
15510 * text.C (selectNextWordToSpellcheck): Modified to not select
15511 words inside an ERT inset.
15513 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15515 * lyx_cb.C (MenuLayoutSave): change a bit the question
15517 * sp_base.h: include <sys/types.h>
15519 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15521 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15523 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15525 * several files: fix typos in user-visible strings
15527 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15529 * text2.C (pasteSelection): do not set the selection, since it
15530 will be cleared later. Actually, the intent was to fix the way the
15531 selection was set, but I figured rmoving the code was just as good.
15533 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15535 * FontLoader.C (available): Check if font is available without
15538 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15540 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15542 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15544 * lyxrc.[Ch]: added display_graphics variable and associated code.
15546 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15548 * bufferparams.C (hasClassDefaults): new method. Returns true if
15549 the buffer parameters correspond to known class defaults
15551 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15553 * XFormsView.C (show): set minimum size to the main window.
15555 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15557 * text2.C (copySelection):
15559 * lyxfind.C (LyXReplace):
15560 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15561 LyXText::selectionAsString.
15563 * paragraph.C (asString): add "label" argument to the second form
15565 * text2.C (selectionAsString): add "label" argument and pass it to
15566 Paragraph::asString.
15568 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15570 * lyx_main.C (commandLineHelp): remove version information
15572 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15574 * lyx_main.C: add -version commandline option
15576 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15578 * paragraph.h: make the optional constructor arg required instead.
15579 some modifications to other files because of this.
15581 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15583 * lyxserver.C (C_LyXComm_callback): make it static
15585 * lyx_main.C (error_handler): make it static
15587 * lyx_gui.C (LyX_XErrHandler): make it static
15589 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15591 * WorkArea.C: make the extern "C" methods static.
15593 * Makefile.am (lyx_LDADD): simplify
15595 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15597 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15598 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15600 * LyXAction.C (init):
15601 * lyxfunc.C (dispatch): associated code removal.
15603 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15605 * lyxfont.h (isSymbolFont): shut off warning
15607 * text.C (setHeightOfRow):
15608 (getVisibleRow): fix crash with empty paragraphs which have a
15611 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15613 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15616 2001-09-04 José Matos <jamatos@fep.up.pt>
15619 * tabular.C (docbook): rename docBook method to docbook.
15621 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15623 * Makefile.am: add dependencies to main.o.
15625 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15627 * FontLoader.C (available): Return false if !lyxrc.use_gui
15629 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15631 * FontInfo.C (query):
15632 * converter.C (view):
15633 * importer.C (Import):
15634 * exporter.C (Export): Can not -> cannot.
15636 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15638 * BufferView_pimpl.C: allow to create index inset even if
15641 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15643 * buffer.C (getLists): replace boost::tie code with an explicit pair
15644 as boost::tie can break some compilers.
15646 * iterators.h: Added a std:: declaration to the return type of
15649 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15651 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15654 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15656 * iterators.[Ch]: New files. Provide paragraph iterators.
15658 * buffer.C (changeLanguage): Use paragraph iterators.
15659 (isMultiLingual): ditto
15661 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15663 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15665 * FontLoader.C: Support for cmr font.
15667 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15669 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15670 (available): New method.
15672 * FontInfo.C (getFontname): Use scalable fonts even when
15673 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15676 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15678 * converter.C (Formats::view): reverted! Incorrect fix.
15680 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15682 * converter.C (Formats::view): only output the -paper option
15683 if the dvi viewer is xdvi, thereby fixing bug #233429.
15685 2001-08-23 Herbert Voss <voss@perce>
15687 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15689 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15691 * Spacing.h (Spacing): Set space to Default on in the default
15694 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15696 * vc-backend.h (RCS::versionString): add RCS to version
15697 (CVS::versionString): add CVS to version
15699 * vc-backend.C (scanMaster): do not add CVS to version.
15700 (scanMaster): do not add RCS to version
15702 * lyxvc.C (versionString): new method
15704 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15706 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15708 * Spacing.C (set): initialize fval
15710 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15712 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15715 2001-08-16 Juergen Vigna <jug@sad.it>
15717 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15719 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15721 * BufferView_pimpl.C:
15724 * text2.C: setParagraph takes linespacing now
15726 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15728 * LyxAction.C: add internal LFUN_CITATION_INSERT
15730 * LyXView.C: actually apply fix
15732 * bufferlist.C: fix open non-existent file
15734 * lyxfind.C: fix indentation
15736 * lyxfunc.C: remove unneeded assert, fix typo
15738 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15740 * MenuBackend.C: use "Floatname List"
15742 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15744 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15745 when converting LaTeX layout to insetERT.
15746 Generate a non-collapsed float when reading old float
15748 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15750 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15753 2001-08-13 Juergen Vigna <jug@sad.it>
15755 * text.C (fill): return 0 instead of 20 as this seems to be the more
15758 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15760 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15763 2001-08-13 Juergen Vigna <jug@sad.it>
15765 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15767 (SearchBackward): comment out the unlocking of the inset_owner this
15768 should not be needed!
15770 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15772 * Many files: Remove inherit_language, and add latex_language
15774 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15775 collapsible insets.
15777 2001-08-10 Juergen Vigna <jug@sad.it>
15779 * text.C (prepareToPrint): fixed hfill-width in draw!
15781 * BufferView2.C (selectLastWord): save the selection cursor as this
15782 now is cleared in the function LyXText::clearSelection!
15784 2001-08-08 Juergen Vigna <jug@sad.it>
15786 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15787 BACKSPACE type functions.
15789 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15790 is only cutted from the document but not put in the cut-buffer, where
15791 still the old stuff should be.
15793 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15795 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15797 * tabular.C (SetWidthOfCell): fixed special case where the width
15799 (LeftLine): handle '|' in align_special.
15801 (LeftAlreadyDrawed): ditto
15802 (SetWidthOfCell): ditto
15804 2001-08-07 Juergen Vigna <jug@sad.it>
15806 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15808 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15810 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15811 * lyxlex.[hC]: ditto
15813 2001-08-06 Juergen Vigna <jug@sad.it>
15815 * text.C (getVisibleRow): fix up row clearing a bit.
15817 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15819 * minibuffer.C: make sure the X server sees the changes in the input.
15821 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15823 * paragraph.C (getFont): split into...
15824 (getLabelFont): this
15825 (getLayoutFont): and this
15826 * paragraph_pimpl.C (realizeFont): calling this
15828 * text2.C (getFont): split into...
15829 (getLayoutFont): this
15830 (getLabelFont): and this
15831 (realizeFont): all three calling this
15833 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15836 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15838 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15840 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15842 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15843 layouts from the Quote inset insertion.
15845 2001-08-03 Juergen Vigna <jug@sad.it>
15847 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15849 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15850 only if status not is already CHANGED_IN_DRAW (second level).
15852 * text.C (draw): don't set the need_break_row when inside an
15855 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15857 * buffer.C (parseSingleLyXformat2Token): handle more latex
15860 * bufferview_funcs.[hC]: change function names to
15861 begin with small char, adjust other files.
15863 2001-08-02 André Pönitz <poenitz@gmx.net>
15866 BufferView_pimpl.C: remove broken special code for math-greek
15868 2001-08-02 Juergen Vigna <jug@sad.it>
15870 * BufferView_pimpl.C (update): redone this function so that we
15871 update the text again if there was a CHANGE_IN_DRAW.
15873 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15874 (drawFromTo): added a new internal bool which is used by draw() and
15876 (general): some cursor drawing problems fixed.
15878 2001-08-01 Juergen Vigna <jug@sad.it>
15880 * lyxfind.C (LyXFind): fixed
15881 (SearchForward): ditto
15882 (SearchBackward): ditto
15884 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15885 spurius drawing of the cursor in the main area.
15887 * text2.C (status): small fix which could lead to a segfault!
15888 (clearSelection): remove unneeded BufferView param.
15890 2001-08-01 André Pönitz <poenitz@gmx.net>
15892 * lyxfunc.C: small change due to changed mathed interface
15894 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15896 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15898 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15900 * lyxfunc.c: fail gracefully if file doesn't exist
15905 * BufferView_pimpl.C: IsDirWriteable() proto changed
15907 * LyXView.C: fix updateWindowTitle() to store the last title
15909 2001-07-31 Juergen Vigna <jug@sad.it>
15911 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15912 the font (wrong since using of Paragraph::highestFontInRange).
15914 * paragraph.C (highestFontInRange): added a default_size parameter.
15916 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15917 (setHeightOfRow): reformat
15919 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15921 * converter.[hC] + affected files: move to (inital-char)lowercase
15924 * ParagraphParameters.C (ParagraphParameters): remove commented code
15926 * PainterBase.[Ch]: remove commented code
15928 * LaTeXFeatures.h: add "bool floats" for float.sty
15930 * LaTeXFeatures.C (LaTeXFeatures): init floats
15931 (require): handle float
15932 (getPackages): do it with floats
15934 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15936 * BufferView_pimpl.C (Dispatch): improve handling of
15937 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15939 * commandtags.h: #include lyxfont.h here temporarily to avoid
15942 * bufferlist.h: include LString.h here.
15944 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15946 * text2.C (getStringToIndex): new method.
15948 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15950 * *: Reduced header file dependencies all over.
15952 2001-07-30 Baruch Even <baruch@lyx.org>
15954 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15956 2001-07-29 Baruch Even <baruch@lyx.org>
15958 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15960 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15962 * ParameterStruct.h (endif): add a default constructor to make
15963 sure that all variables is initialized.
15965 * ParagraphParameters.C (ParagraphParameters): adjust
15967 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15969 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15970 index; also, check that there is something to index, and that it
15971 does not span over several paragraphs.
15972 (doubleClick): use WHOLE_WORD_STRICT for double click.
15974 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15976 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15979 2001-07-26 Baruch Even <baruch@lyx.org>
15981 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15982 an InsetFig figure, backwards compatible reading of old figure code.
15984 2001-07-27 Juergen Vigna <jug@sad.it>
15986 * text2.C: font.realize function adaption.
15988 * text.C (draw): add a warnings lyxerr text if needed.
15990 * layout.C: font.realize function adaption.
15992 * language.C: add inherit_language and implement it's handlings
15994 * bufferview_funcs.C (StyleReset): remove language parameter from
15995 font creation (should be language_inherit now).
15997 * bufferparams.C (writeFile): handle ignore_language.
15999 * paragraph.C (getFontSettings): the language has to be resolved
16000 otherwise we have problems in LyXFont!
16002 * lyxfont.C (lyxWriteChanges): added document_language parameter
16003 (update): removed unneeded language parameter
16005 * paragraph.C (validate): fixed wrong output of color-package when
16006 using interface colors for certain fonts in certain environments,
16007 which should not seen as that on the final output.
16009 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16011 * BufferView_pimpl.C:
16016 * LyXAction.C: add thesaurus support
16019 * lyxfind.C: add "once" parameter, for thesaurus, to not
16020 move to the next match
16022 2001-07-26 Juergen Vigna <jug@sad.it>
16024 * lyxfont.C (realize): honor ignore_language too!
16027 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16029 * text.C (draw): one place more for ignore_language to not draw
16032 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16034 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16036 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16038 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16039 the minipage conversion problem.
16041 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16043 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16046 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16048 * BufferView.h: don't forward declare WorkArea
16050 * BufferView.C: don't include WorkArea.h
16052 2001-07-25 André Pönitz <poenitz@gmx.net>
16056 * lyxfunc.C: new LFUN 'math-space'
16058 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16060 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16062 * text2.C (toggleInset): call open/close
16064 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16066 * lyxfunc.C (dispatch): add debug for the disabled case
16068 * font.C (buttonText): make similar to rectText
16070 * buffer.C (readInset): comment out parsing of insetlist and
16073 * PainterBase.C (rectText): small correction
16075 * BufferView_pimpl.C: comment out insettheorem and insetlist
16076 * LyXAction.C: ditto
16077 * commandtags.h: ditto
16079 2001-07-24 Juergen Vigna <jug@sad.it>
16081 * text.C (draw): honor the ignore_language.
16083 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16085 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16087 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16090 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16092 * lyxtext.h: remove unused (and unimplemented) methods
16094 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16096 * text.C (getVisibleRow): honor background color
16099 * Painter.h: remove default color argument for fillRectangle
16101 * text.C (backgroundColor): new method
16103 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16105 * text.C (getVisibleRow): adjust
16107 * font.[Ch] (rectText): new method, metrics
16108 (buttonText): new method, metrics
16110 * PainterBase.[hC]: make rectText and buttonText always draw and take
16113 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16115 * ToolbarDefaults.C (read):
16116 * MenuBackend.C (read): allow escaping in all strings
16118 * BufferView_pimpl.C (insertAndEditInset): new method.
16119 (Dispatch): use insertAndEditInset whenever appropriate.
16121 * BufferView_pimpl.C (insertNote): removed
16123 * BufferView_pimpl.C (smartQuote): new method, moved from
16124 BufferView; if an insetquote cannot be inserted, insert a '"'
16127 * BufferView2.C: remove insertCorrectQuote();
16129 * lyxfunc.C (getStatus): Add support for all remaingin
16130 inset-insert lfuns.
16132 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16134 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16135 command (necessary to pass " as parameter of self-insert.
16137 * text.C (selectWordWhenUnderCursor):
16138 (selectWord): add word_location parameter
16139 (selectWordWhenUnderCursor): same + remove special code for word
16141 (selectNextWord): use kind() to guess type of insetspecialchar,
16144 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16145 (insertErtContents): create ert insets as collapsed.
16146 (readInset): better compatibility code for Info inset.
16148 2001-07-20 Juergen Vigna <jug@sad.it>
16150 * lyxfunc.C (dispatch): use always LyXFind now!
16152 * text2.C (init): add a reinit flag so that the LyXText can be
16153 reinited instead of deleted and reallocated (used in InsetText).
16155 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16161 2001-07-18 Juergen Vigna <jug@sad.it>
16163 * text.C (selectNextWord): handle insets inside inset by calling
16164 always the bv->text functions so that we can go up the_locking_inset!
16166 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16167 in strange locations when inside an inset!
16169 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16170 handling to include insets.
16172 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16174 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16176 * LyXAction.C (init):
16178 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16179 LIGATURE_BREAK, since the name is so stupid.
16181 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16183 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16186 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16188 * sp_form.[Ch]: remove.
16190 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16192 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16195 * src/buffer.C (readInset): ditto.
16197 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16199 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16200 menuSeparator(), endOfSentenceDot(), ldots() and
16201 hyphenationPoint(), which are therefore removed.
16202 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16204 * LyXAction.C (init):
16205 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16207 * paragraph.C (getWord): removed.
16209 * BufferView_pimpl.C (Dispatch): use last word or selection for
16210 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16212 * lyx_main.C (queryUserLyXDir): do not ask before creating
16213 user_dir, except if it has been named explicitely.
16215 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16217 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16218 a document of zero size.
16220 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16222 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16223 approriately in the c-tor and in require().
16224 (getPackages): output the appropriate LaTeX for natbib support.
16226 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16227 variables "use_natbib" and "use_numerical_citations" when reading the
16229 (readInset): read the various natbib cite commands.
16230 (validate): white-space change.
16232 * bufferparams.[Ch]: new variables "bool use_natbib" and
16233 "bool use_numerical_citations".
16234 (writeFile): output them in the LyX file.
16236 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16238 * lyxfunc.C (getStatus): add support for all the inset insertion
16241 * text2.C (insertInset):
16242 * paragraph.C (insetAllowed):
16243 * BufferView_pimpl.C (insertInset): update to take in account the
16244 renaming of insertInsetAllowed
16246 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16248 * text2.C (getInset): new method. returns inset at cursor position.
16250 * BufferView_pimpl.C (Dispatch): changes because of this.
16252 * LyXAction.C (init): rename open-stuff to inset-toggle.
16254 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16256 * text2.C (toggleInset): renamed from openStuff; use
16259 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16261 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16263 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16265 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16267 * buffer.C (readLyXformat2): Add filename to the error dialog
16269 2001-07-18 Juergen Vigna <jug@sad.it>
16271 * tabular.C (GetCellNumber): put an assert here instead of the check!
16273 2001-07-17 Juergen Vigna <jug@sad.it>
16275 * BufferView_pimpl.C (toggleSelection): adapted too.
16277 * text.C (selectNextWord): adapted for use with insets.
16278 (selectSelectedWord): ditto
16280 2001-07-17 Juergen Vigna <jug@sad.it>
16282 * sp_spell.C (PSpell): fix initialitation order.
16284 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16286 * paragraph.C: spacing
16288 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16290 * sp_spell.C: repair language selection for pspell
16292 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16294 * lyxfunc.h: change more methods to begin with lower char.
16296 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16298 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16299 for unknown layouts.
16301 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16303 * buffer.C (readLyXformat2): Generate an error dialog if there are
16306 2001-07-16 Juergen Vigna <jug@sad.it>
16308 * sp_spell.C: always compile ISpell part.
16310 * lyxrc.C: added use_pspell entry and it's handling.
16312 2001-07-13 Juergen Vigna <jug@sad.it>
16314 * sp_spell.C: removed double includes.
16316 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16318 Consistent use of Lsstream.h:
16319 * Lsstream.h: added using std::stringstream for consistencies sake.
16321 * buffer.C: removed using std::stringstream
16323 * lyxfont.C (stateText):
16324 * paragraph.C (asString):
16325 * text.C (selectNextWord, selectSelectedWord):
16326 * text2.C (setCounter):
16327 * vspace.C (asString, asLatexString):
16328 std::ostringstream -> ostringstream.
16330 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16332 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16333 * commandtags.h: add LFUN_HELP_ABOUTLYX
16334 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16336 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16338 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16340 * lyx_gui_misc.C: remove spellchecker
16341 * lyxfunc.C: showSpellchecker
16343 * sp_ispell.h: added
16344 * sp_pspell.h: added
16345 * sp_spell.C: added
16346 * sp_form.[Ch]: removed
16347 * spellchecker.[Ch]: removed
16349 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16351 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16353 (simpleTeXSpecialChars): Simply print the input character without
16354 any special translation if pass_thru is set.
16356 * layout.h: Added bool pass_thru to layout class for being able to
16357 implement pass through of a paragraph for Literate Programming.
16359 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16360 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16361 * layout.C (Read): add "passthru" to list of layout tags and add
16362 code to set the pass_thru boolean when it is read.
16364 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16366 * trans_decl.h: remove allowed from KmodInfo
16368 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16369 remove allowed code
16372 * paragraph_pimpl.C (erase): use boost::prior
16374 * Painter.C (text): use data() instead of c_str() when length is
16376 * WorkArea.C (putClipboard): ditto
16377 * font.h (width): ditto
16379 * BufferView2.C: use it-> instead of (*it). for iterators
16381 * paragraph_pimpl.C: ditto
16382 * paragraph.C: ditto
16383 * minibuffer.C: ditto
16384 * language.C: ditto
16386 * encoding.C: ditto
16387 * counters.C: ditto
16388 * converter.C: ditto
16390 * Variables.C: ditto
16391 * TextCache.C: ditto
16392 * MenuBackend.C: ditto
16393 * LyXAction.C: ditto
16395 * FloatList.C: ditto
16396 * DepTable.C: ditto
16397 * ColorHandler.C (LyXColorHandler): ditto
16399 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16401 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16403 * text2.C (openStuff): reintroduce this method (which had been
16404 nuked in NEW_INSETS frenzy).
16406 * lyxfunc.C (Dispatch): when an action has not been handled, use
16407 its name in the error message, not its number.
16409 * paragraph.C (inInset): change method name to begin with lowercase.
16412 * text2.C: updates because of this.
16414 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16416 * ToolbarDefaults.C (add): add spaces in error message
16418 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16420 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16421 (readLyXformat2): rename return_par to first_par, use lyxlex's
16422 pushToken and remove the manual push handling.
16423 (parseSingleLyXformat2Token): add another ert comp. variable:
16424 in_tabular, rename return_par to first_par. handle newlines better
16426 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16428 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16430 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16432 * text2.C (getParFromID): removed
16434 * buffer.C (getParFromID): new method moved form lyxtext.
16435 * BufferView2.C (insertErrors): adjust
16436 (setCursorFromRow): adjust
16437 * BufferView_pimpl.C (restorePosition): adjust
16438 * lyxfunc.C (Dispatch): adjust
16439 * undo_funcs.C (textUndo): adjust
16441 (textHandleUndo): adjust
16442 (textHandleUndo): adjust
16444 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16446 * buffer.C: up' the LYX_FORMAT
16448 * lyxfont.h: turn NO_LATEX on as default
16450 * buffer.C (insertErtContents): new methods of tex style compability.
16451 (parseSingleLyXformat2Token): use it several places.
16452 * tabular.C (OldFormatRead): and here
16454 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16456 * text2.C: remove some commented code.
16459 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16460 * trans.C: changes because of the above.
16462 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16464 * text2.C (setCounter): Fix counters bug with bibliography layout.
16466 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16468 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16469 own member functions
16470 (simpleTeXSpecialChars): ditto
16472 2001-07-06 Juergen Vigna <jug@sad.it>
16474 * a lot of files: changed the access to LyXText::status and the
16475 call of undo-functions.
16477 * undo.[Ch]: added a inset_id to the undo informations.
16479 * undo_funcs.[Ch]: added and moved here all undo functions.
16481 * lyxtext.h: give the status enum a weight, made status_ a private
16482 variable and made accessor functions for it, removed the whole bunch
16483 of undo-functions as they are now in their own file, make some
16484 functions publically available. Added function ownerParagraph with
16487 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16488 made InInset() a const function, added getParFromID() function.
16490 * buffer.[Ch]: added const version for inset_iterator functions,
16491 added getInsetFromID() function.
16493 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16494 changed undo functions for new version.
16496 2001-07-05 Juergen Vigna <jug@sad.it>
16498 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16499 unknow mechanism does not call the proper constructor but only this
16500 one also if I request the other!?
16502 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16504 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16506 * text2.C (LyXText): use initialization lists.
16508 * lyxtext.h (Selection): initialize set_ and mark_
16509 (init): remove method
16511 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16513 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16515 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16517 * screen.[Ch]: change method names to begin with lowercase
16519 * BufferView_pimpl.C (updateScrollbar): simplify further and
16520 hopefully make it a bit faster.
16522 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16524 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16525 calling directly xforms functions.
16527 * Painter.C (Painter):
16528 * lyx_cb.C (MenuWrite):
16529 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16532 * lyx_gui.C: remove bogus guiruntime extern declaration.
16534 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16536 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16538 (redoDrawingOfParagraph): ditto
16539 (redoParagraphs): ditto
16540 (cutSelection): don't create a object for CutAndPaste use the
16541 static method directly
16542 (pasteSelection): ditto
16544 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16547 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16549 * modifications to some other files because of this.
16551 * Makefile.am (lyx_SOURCES): add XFormsView
16553 * XFormsView.[Ch]: new files
16555 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16556 the main window. Move the gui dependent stuff to XFormsView
16558 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16560 * tabular.C (GetCellInset): update cur_cell also in the row/col
16561 version of this function.
16563 * lyxfunc.C: no need to include figure_form.h here.
16569 * lyxvc.C: no need to include forms.h here.
16571 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16573 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16575 * lyxfunc.C (Dispatch):
16577 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16578 constructor argument.
16580 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16582 * paragraph.C (Paragraph): dont't clear, and just set layout.
16583 (makeSameLayout): use params's copy contructor.
16585 * ParagraphParameters.[Ch] (makeSame): delete method
16587 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16589 * Variables.[Ch]: fix indentation, rename set to isSet
16591 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16593 * lyxfunc.C (Dispatch): fix typo
16595 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16597 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16600 * bufferlist.C: include assert.h for emergencyWrite().
16602 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16604 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16605 give up at last (bug #425202) !
16607 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16613 * spellchecker.C: strip spellchecker options and bring up
16614 preferences tab instead
16616 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16618 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16619 the istringstream constructor
16621 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16623 * paragraph.C (getLayout): fix return value
16625 * paragraph.h: do not declare getLayout as inline.
16627 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16629 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16631 * lyxcursor.h (operator<): new func
16632 (operator>): new func
16633 (operator>=): new func
16634 (operator<=): new func
16636 * text.C (changeCase): use selection.start and selection.end
16637 (changeRegionCase): require from to be <= to. Require par to be a
16640 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16642 2001-06-27 Juergen Vigna <jug@sad.it>
16644 * text.C (cursorLeftOneWord): changed to return the cursor and added
16645 overlay with BufferView * parameter which calls this one.
16647 (selectWord): use new getWord function.
16648 (changeCase): renamed from changeWordCase as and extended to work
16649 also on selections.
16651 * lyxtext.h: added enum word_location
16653 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16654 changeCase as this operates now also on selections.
16656 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16658 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16660 * many files: send debug output to Debug::INFO instead of
16663 * converter.C (View):
16665 (Move): send debug output to Debug::FILES instead of console.
16667 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16669 * lyxfunc.C (getStatus): use func_status
16671 * func_status.h: new header, describing the results of
16672 LyXFunc::getStatus;
16674 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16677 2001-06-25 The LyX Project <jug@sad.it>
16679 * buffer.C (sgmlOpenTag):
16681 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16683 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16685 * text2.C: remove some dead code
16687 * tabular.C (GetCellInset): store the last cell checked (gotten)
16689 * tabular.h: add the helper for the speedup
16691 * lyxtext.h: remove some dead code
16693 2001-06-26 The LyX Project <Asger>
16695 * paragraph.C: Change export to LaTeX of alignment to
16696 \begin{center} and family for better roundtrip work with reLyX.
16698 * Tune the math drawing a bit.
16700 2001-06-25 The LyX Project <Asger>
16702 * LColor.C (LColor): New color for math background. New color
16705 2001-06-25 The LyX Project <jug@sad.it>
16707 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16709 * lyxfunc.C (Open):
16710 * bufferlist.C (newFile): do not restrict to files ending with
16713 * BufferView_pimpl.C (MenuInsertLyXFile):
16715 2001-06-24 The LyX Project <jug@sad.it>
16717 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16720 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16722 * lyxtext.h: rename most methods to begin with a small char.
16723 Lots of changes because of this.
16725 * paragraph.C (Paragraph): do not call fitToSize
16726 (erase): call Pimpl::erase
16727 (insertChar): call Pimpl::insertChar
16728 (insertInset): call Pipl::insertInset
16729 (breakParagraph): do not call fitToSize
16730 (breakParagraphConservative): do not call fitToSize
16731 (fitToSize): remove method
16733 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16735 2001-06-24 The LyX Project <Asger>
16737 * Fix Qt compilation^2
16739 2001-06-24 The LyX Project <jug@sad.it>
16741 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16742 depthHook(getDepth()-1).
16745 * ParagraphParameters.h:
16746 * ParameterStruct.h: change type of depth to unsigned int ==
16747 depth_type. Many adaptations to other files before of that.
16749 2001-06-24 The LyX Project <Asger>
16751 * Fix Qt compilation.
16753 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16755 * paragraph.h: renamed several methods to begin with small letter.
16756 several changes to many parts of the code because of this.
16758 2001-06-23 The LyX Project <jug@sad.it>
16760 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16761 rewritten to discard all double spaces when KeepEmpty is off
16762 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16763 to only handle newlines but not fiddle with spaces and friends.
16765 * lyxfunc.C (MenuNew): when doing 'new from template', use
16766 template_path as default directory
16768 2001-06-23 The LyX Project <Asger>
16770 * Clean-up of header file includes all over
16771 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16773 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16775 * paragraph.h: renamed from lyxparagraph.h
16777 2001-06-23 Asger <lyx@violet.home.sad.it>
16779 * Buffer.h: Removed Buffer::resize
16780 * BufferList.h: Removed BufferList::resize
16781 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16782 the document lazily when we change the width, or the font settings.
16784 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16786 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16788 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16790 * buffer.h: remove out of date comment
16792 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16795 * screen.C: fix "theoretical" GC leak
16797 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16799 * LaTeX.C (scanAuxFile):
16800 (deplog): remove trailing \r when reading stream (useful under
16803 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16805 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16806 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16807 and BufferView::theLockingInset(Inset*), so should use them and not
16808 access bv_->text->the_locking_inset directly.
16810 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16812 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16815 * tex-defs.h: remove old unused file
16817 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16819 * BufferView_pimpl.C: fix typo, remove minibuffer message
16820 when buffer has loaded
16822 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16824 * lyxfunc.C (Dispatch): use stringstream
16825 (MenuNew): use stringstream
16826 (Open): use stringstream
16828 * importer.C (Import): use stringstream
16830 * bufferview_funcs.C (CurrentState): use stringstream
16832 * LaTeX.C (run): use stringstream
16834 * BufferView_pimpl.C (savePosition): use stringstream
16835 (restorePosition): use stringstream
16836 (MenuInsertLyXFile): use stringstream
16838 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16851 * vspace.C: removed // -*- C++ -*- as first line.
16854 * version.h: added // -*- C++ -*- as first line.
16856 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16858 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16860 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16863 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16865 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16868 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16870 * gettext.C: include LString.h even when --disable-nls is on.
16872 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16874 * converter.h (Get): changed argument type from int to
16875 FormatList::size_type to avoid unnecessary conversion.
16877 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16880 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16882 * gettext.h: include LString.h even when --disable-nls is on.
16884 2001-06-07 Juergen Vigna <jug@sad.it>
16886 * text.C (BreakAgain): subst spaces with tabs.
16888 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16889 (resizeInsetsLyXText): set force on resizeLyXText.
16891 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16893 * gettext.h (gettext_init):
16894 (locale_init): use a real definition instead of a macro
16896 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16898 * Bufferview_pimpl.C:
16900 * LColor.C: further lcolor tidies
16902 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16904 * BufferView_pimpl.C (updateScrollbar): simplify.
16906 * BufferView2.C: don't include insets/insetinfo.h, change
16907 prototype for insertInset and call the Pimpl version. let
16908 updateInset call Pimpl version.
16910 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16911 gotoInset to BufferView::Pimpl
16913 2001-06-01 Juergen Vigna <jug@sad.it>
16915 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16916 inside a LockingInset (is the update needed at all?).
16918 2001-05-31 Juergen Vigna <jug@sad.it>
16920 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16921 here not the old one otherwise how should we compare it afterwards
16924 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16929 * FontInfo.C: bring C functions into global namespace when
16932 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16934 * LString.h: make sure config.h has been loaded before LString.h.
16936 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16937 (one for each char read by EatLine!).
16939 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16942 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16944 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16945 to the same as the par we break from
16947 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16949 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16951 * MenuBackend.C (expand): also create menu entries for wide
16952 versions of the floats.
16954 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16956 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16958 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16959 frontends/Makefile.am
16965 * tabular.C (getTokenValue): add std::
16967 * tabular-old.C (getTokenValue): add std::
16968 (getTokenValue): ditto
16969 (getTokenValue): ditto
16971 * screen.C (ToggleSelection): adjust
16973 * lyxtext.h: put selection cursors inside a Selection struct.
16975 * lyxfunc.C (moveCursorUpdate): adjust
16977 * lyxfont.C (latexWriteStartChanges): add std::
16979 * lyxfind.C: adjust
16981 * font.h: delete with(char const *, LyXFont const &)
16983 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16985 * FontInfo.C (getFontname): add std::
16987 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16988 (workAreaButtonPress): adjust
16989 (tripleClick): adjust
16991 (moveCursorUpdate): adjust
16994 * BufferView2.C (gotoInset): adjust
16996 2001-05-30 Juergen Vigna <jug@sad.it>
16998 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16999 to check pspell I add this as default as I now have new pspell
17000 libraries and they seem to use this.
17002 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17004 * text2.C (CutSelection): make the cursor valid before the call to
17007 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17009 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17010 relied on 0 terminated strings and other horrors. Bug found due to
17011 the new assert in lyxstring!
17013 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17016 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17018 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17021 * lyxfunc.C (processKeySym): change method of getting to the
17024 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17025 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17026 * BufferView_pimpl.[Ch]: here as private methods.
17028 2001-05-28 Juergen Vigna <jug@sad.it>
17030 * text.C (SetHeightOfRow): added the update() call again as it is
17031 needed to initialize inset dimensions!
17033 2001-05-16 Juergen Vigna <jug@sad.it>
17035 * text2.C (SetCharFont): Add new function with BufferView * and
17036 bool toggleall parameters for setting insets internal fonts.
17037 (SetFont): Freeze the undo as we may change fonts in Insets and
17038 all this change should be inside only one Undo!
17040 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17041 setting font's in insets as for them we have the SetFont function!
17043 2001-05-15 Juergen Vigna <jug@sad.it>
17045 * text2.C (ClearSelection): to be sure we REALLY don't have any
17048 * tabular.C (TeXCellPreamble): fixed the left border problem for
17051 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17053 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17056 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17058 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17059 LFUN_BREAKPARAGRAPH.
17061 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17062 help test to "internal only", similar for LFUN_INSERT_URL
17064 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17065 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17066 auto_region_delete and deadkeys.
17068 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17071 * LColor.C: remove some dead entries, tidy a little
17073 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17075 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17077 (Dispatch): implement LFUN_ESCAPE
17079 * commandtags.h: add LFUN_ESCAPE
17081 * LyXAction.C (init): add entry for LFUN_ESCAPE
17083 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17084 Remove commented code.
17085 (insertNote): moved here
17086 (open_new_inset): moved here
17088 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17091 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17093 * kbmap.C (findbinding): clean it up and make it work correctly.
17095 * lyx_main.C (init): do not pass argc and argv as parameters
17097 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17099 * buffer.C: fix path for OS/2 & Win32
17103 * lyx_main.C: Added os:: class.
17105 * os2_defines.h: update
17107 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17109 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17110 better by trying again with reduced state.
17112 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17114 * lyxrc.C (read): print error about invalid key sequence only when
17115 debugging (because not all latinX keysyms are known to some X
17118 * kbsequence.C (getiso): add a few std:: qualifiers
17119 (getiso): comment out extra return statement.
17121 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17123 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17125 (Dispatch): enhance the accent inset a bit. (not perfect)
17127 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17129 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17131 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17133 * bufferlist.C (emergencyWrite): fix assert() call
17135 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17137 * text.C (InsertChar): Added trivial patch to only send the "you
17138 can not do multiple spaces this way" message once during a
17141 2001-05-08 Baruch Even <baruch@lyx.org>
17143 * Makefile.am: Changed order of libraries to get LyX to link properly
17144 with the gnome frontend.
17146 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17148 * LaTeXFeatures.h: add a std:: qualifier
17150 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17152 * paragraph.C (String): use stringstream
17154 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17156 * paragraph.C (writeFile): remove footflag arg
17158 * buffer.C (makeLaTeXFile): use stringstream
17159 (latexParagraphs): remove footnot gurba
17161 * LaTeXFeatures.C (getPackages): use stringstream
17162 (getMacros): likewise
17163 (getTClassPreamble): likewise
17164 (getFloatDefinitions): new method
17166 * paragraph.C (writeFile): reindent
17169 * WorkArea.h: revert the xpos + etc changes.
17171 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17173 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17175 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17176 (pasteSelection): likewise
17177 * text2.C (CreateUndo): likewise
17179 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17181 * minibuffer.C (peek_event): temporarily reduce the functionality
17182 of the minibuffer (to allow args on lfuns)
17184 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17185 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17187 * buffer.C (readInset): add compability reading of old float
17188 lists, add reading of new style float list.
17189 (readInset): avoid reevaluation of inscmd.getCmdName()
17190 (getLists): reindent
17192 * MenuBackend.C (MenuItem): implement parsing of
17193 md_floatlistinsert and md_floatinsert.
17194 (expand::LastFiles): move initalizaton of iterators out of loop,
17195 avoid reevaluation.
17196 (expand::Documents): introduce typdedef vector<string> Strings,
17198 (expand::ExportFormats): introduce typedef vector<Format const *>
17199 Formats, and use it.
17200 (expand): implement FloatListInsert and FloatInsert.
17202 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17203 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17204 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17206 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17208 (Dispatch::LFUN_FLOAT_LIST): implement
17210 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17212 * LaTeX.C (run): Fix problem with --export code.
17214 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17216 * BufferView.[Ch] (workarea): removed.
17217 (getClipboard) new method; wrapper for workarea()->getClipboard()
17219 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17222 * WorkArea.h (width, height, xpos, ypos): These methods all
17223 returned the dimensions of the work_area sub-area of WorkArea,
17224 resulting in a position error if the WorkArea were resized. Now
17225 return the dimensions of the entire WorkArea.
17227 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17229 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17231 * LaTeX.C (deplog): correct the syntax of regex reg1
17233 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17235 * undo.C: remove !NEW_INSETS cruft
17237 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17239 * text2.C: remove !NEW_INSETS cruft
17241 * text.C: remove !NEW_INSETS cruft
17243 * tabular.C: remove !NEW_INSETS cruft
17245 * spellchecker.C: remove !NEW_INSETS cruft
17247 * lyxtext.h: remove !NEW_INSETS cruft
17249 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17251 * lyxfunc.C: remove !NEW_INSETS cruft
17253 * lyxfind.C: remove !NEW_INSETS cruft
17255 * lyx_cb.C: remove !NEW_INSETS cruft
17257 * figureForm.C: remove !NEW_INSETS cruft
17259 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17261 * buffer.[Ch]: remove !NEW_INSETS cruft
17263 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17265 * CutAndPaste.C: remove !NEW_INSETS cruft
17267 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17269 * BufferView2.C: remove !NEW_INSETS cruft
17271 * BufferView.h: remove !NEW_INSETS cruft
17273 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17275 * Lsstream.h: include LString.h before the sstream headers to
17276 fix problem with gcc 2.95.3 and lyxstring
17278 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17280 * lyx_main.C: add using directives when needed for C functions
17281 declared in std:: namespace.
17283 2001-04-27 Juergen Vigna <jug@sad.it>
17285 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17286 (SetHeightOfRow): comment out the update call should not be needed!
17288 2001-04-13 Juergen Vigna <jug@sad.it>
17290 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17291 (LyXTabular): tried to minimize operator= operations (and realized
17292 hopfully Lars wish).
17294 2001-04-27 Juergen Vigna <jug@sad.it>
17296 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17298 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17300 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17302 * buffer.C (readInset): hack to make listof algorithm work
17304 * BufferView_pimpl.C: hack to make listof algorithm work
17306 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17308 * LyXAction.C: removed all !NEW_INSETS cruft
17309 (init): moved lfun_item in method
17311 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17313 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17315 * BufferView2.C (theLockingInset): white space.
17317 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17319 * minibuffer.C: include <iostream>
17321 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17323 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17325 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17327 * text.[Ch] (TransposeChars): new method
17329 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17331 * call message directly through LyXView instead of through LyXFunc
17332 * BufferView2.C: adjust
17333 * BufferView_pimpl.C: adjust
17334 * FontLoader.C: adjust
17336 * bufferview_funcs.C: adjust
17337 * converter.C: adjust
17338 * figureForm.C: adjust
17339 * importer.C: adjust
17341 * lyx_gui_misc.C: adjust
17342 * lyxfunc.C: adjust
17345 + more files in subdirs
17347 * lyxparagraph.h (size): move up int file
17350 * adjust all uses of Assert to lyx::Assert.
17352 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17353 lyxfunctional in namespace lyx
17354 * layout.C (hasLayout): ditto
17357 (delete_layout): ditto
17358 (NumberOfClass): ditto
17359 * converter.C (GetFormat): ditto
17364 * bufferlist.C (getFileNames): ditto
17365 (emergencyWriteAll): ditto
17368 * MenuBackend.C (hasSubmenu): ditto
17371 * BufferView_pimpl.C (getInsetByCode): ditto
17373 2001-04-18 Juergen Vigna <jug@sad.it>
17375 * vspace.C (asLatexString): fixed the 100% problem.
17377 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17379 * lyxfunc.C (Dispatch):
17381 * minibuffer.h: add a few std:: qualifiers
17383 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17385 * minibuffer.[Ch]: reimplement so that commands is initiated and
17386 run from lyxfunc, simplified som handling, and made the completion
17387 and history code for complete. wip.
17389 * lyxfunc.C (processKeySym): call message
17390 (miniDispatch): new temporary method
17391 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17392 (LFUN_MESSAGE): implement
17393 (LFUN_MESSAGE_PUSH): implement
17394 (LFUN_MESSAGE_POP): implement
17395 (initMiniBuffer): the initial/defualt minibuffer message.
17397 * lyxfont.[Ch]: inline some more getters
17399 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17401 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17403 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17404 (AutoSave): use LFUN_MESSAGE
17405 (Reconfigure): ditto
17407 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17409 * figureForm.C: use LFUN_MESSAGE
17411 * converter.C (runLaTeX): use LFUN_MESSAGE
17413 * bufferview_funcs.C: use LFUN_MESSAGE
17415 (changeDepth): ditto
17417 * bufferparams.h: use boost::
17419 * bufferlist.h: inherit privately from noncopyable
17421 * bufferlist.C (loadLyXFile): remove some commented code.
17423 * buffer.C (runChktex): use LFUN_MESSAGE
17425 * ShareContainer.h: inherit privately from noncopyable
17427 * ParagraphParameters.[hC] (depth): inline it.
17429 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17431 (message): new method
17432 (messagePush): ditto
17433 (messagePop): ditto
17434 (show): init minibuffer
17435 (showState): direct call
17437 * LaTeX.[Ch]: inherit privately from noncopyable
17438 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17439 instead of WriteStatus.
17441 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17443 * BufferView_pimpl.C (buffer): don't init minibuffer
17444 (workAreaButtonPress): use LFUN_MESSAGE
17445 (workAreaButtonRelease): ditto
17446 (savePosition): ditto
17447 (restorePosition): ditto
17448 (MenuInsertLyXFile): ditto
17449 (workAreaExpose): don't init minibuffer
17450 (update): remove commented code, simplify
17452 * BufferView2.C (openStuff): use LFUN_MESSAGE
17453 (toggleFloat): ditto
17456 (copyEnvironment): ditto
17457 (pasteEnvironment): ditto
17462 (updateInset): remove some commented code
17464 * lastfiles.h: inherit privately from noncopyable
17467 * lyx_main.h: ditto
17469 * lyxlex_pimpl.h: ditto
17471 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17472 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17473 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17475 * LyXAction.h: inherit privately from noncopyable, add methods
17476 func_begin, func_end, returning iterators to the func map.
17478 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17479 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17480 (func_begin): new method
17481 (func_end): new method
17483 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17485 (copySelection): ditto
17486 (pasteSelection): ditto
17488 * BufferView.C: whitespace change
17489 * BufferView.h: inherit privately from noncopyable
17491 2001-04-16 Allan Rae <rae@lyx.org>
17493 * tabular-old.C (l_getline):
17494 * spellchecker.C (sc_check_word):
17495 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17496 an unrecognised preprocessor directive. So ensure they're wrapped.
17498 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17500 * src/exporter.C (Export): Give an error message when path to file
17503 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17505 * LaTeX.C (deplog): Always check that foundfile exists.
17507 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17510 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17512 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17514 * tabular.[Ch] (getLabelList): implement new method
17516 * minibuffer.h: comment ouf setTiimer
17518 * minibuffer.C (ExecutingCB): constify res
17519 (peek_event): constify s
17520 (Set): constify ntext
17521 (Init): constify nicename
17523 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17525 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17526 (savePosition): use two params to Minibuffer::Set
17527 (restorePosition): ditto
17529 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17531 * lyx_main.C: include language.h
17533 * Makefile.am (lyx_main.o): add language.h
17535 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17541 * CutAndPaste.C: include gettext.h
17543 * lyxfont.h: remove old hack with ON and OFF.
17546 * lyxfont.h: do not include language.h...
17551 * bufferview_funcs.C:
17557 * paragraph.C: ... but do it here instead
17559 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17561 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17563 * tabular.C: small reformat
17565 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17568 (BreakParagraph): ditto
17569 (SetOnlyLayout): ditto
17572 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17575 * lastfiles.C: removed most using decl, add std:: where needed
17577 * buffer.C: ws changes
17579 * MenuBackend.C (class compare_format): put into anon namespace
17580 (expand): constify label, names, action, action2
17583 * text.C (SingleWidth): constify font
17584 (IsBoundary): constify rtl2
17585 (GetVisibleRow): constify ww
17587 * LaTeX.C (deplog): constify logfile
17589 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17591 (workAreaExpose): constify widthChange, heightChange
17593 * lyxrow.C (par): moved
17596 * lyxrow.h: as inlines here
17598 * lyxfont.h (shape): moved from lyxfont.C
17599 (emph): moved from lyxfont.C
17601 * lyxfont.C (LyXFont): use initialization list for all
17603 (shape): move to lyxfont.h as inline
17604 (emph): move to lyxfont.h as inline
17607 2001-04-04 Juergen Vigna <jug@sad.it>
17609 * vspace.C: had to include stdio.h for use of sscanf
17611 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17614 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17615 independent of xforms.
17617 2001-04-02 Juergen Vigna <jug@sad.it>
17619 * spellchecker.C: fixed namespace placing!
17621 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17623 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17624 the LyXParagraph * is 0.
17626 2001-03-29 Juergen Vigna <jug@sad.it>
17628 * vspace.C: added support for %, c%, p%, l%.
17629 (stringFromUnit): added helper function.
17630 (asLatexString): changed to give right results for the %-values.
17632 * buffer.C: convert the widthp in a width%.
17634 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17636 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17639 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17640 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17642 * lyx_cb.[Ch]: see above.
17644 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17648 * lyx.[Ch]: replaced by figure_form.[Ch].
17652 * lyxfunc.C: changed headers associated with above changes.
17654 2001-03-27 Juergen Vigna <jug@sad.it>
17656 * BufferView_pimpl.C: set the temporary cursor right!
17658 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17660 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17662 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17664 * LString.h: removed "using std::getline"!
17666 * BufferView_pimpl.C (Dispatch): changes due to changes in
17667 InsetInclude::Params.
17669 * buffer.C (tag_name): removed redundant break statements as they were
17670 producing lots of warnings with my compiler.
17672 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17674 * LString.h: add "using std::getline" when using the real <string>.
17676 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17678 * buffer.C: removed bitset usage.
17679 PAR_TAG moved to an anonymous name space.
17680 (tag_name): new funtion, also in the anonymous namespace.
17681 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17682 (makeDocBookFile): clean code. Completed transition from string arrays
17684 (SimpleDocBookOnePar): code clean.
17686 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17688 * tabular.C: add some comments.
17690 2001-03-22 Juergen Vigna <jug@sad.it>
17692 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17693 compatibility read a bit and fixed bug with minipage in different
17696 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17698 * buffer.C (pop_tag): removed.
17699 (push_tag): removed.
17700 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17701 array replaced with vector. Added support for CDATA sections.
17702 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17704 (makeDocBookFile): XML conformant declaration of CDATA section,
17705 fixed bug related to <emphasis> in the first paragraph char.
17706 (sgmlOpenTag): exclude empty tags.
17707 (sgmlCloseTag): ditto.
17709 * buffer.h (pop_tag): removed.
17710 (push_tag): removed.
17712 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17714 * language.h (Languages): added size_type and size().
17716 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17718 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17719 response on compability reading of minipages. One probliem is that
17720 the old usage of minipages was flertydig
17722 * several files here and in subdirs: don't use static at file
17723 scope use anon namespaces instead.
17725 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17727 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17728 LaTeX output. This is necessary for Literate document
17731 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17733 * buffer.C: insert hfill when needed.
17735 * tabular.C (l_getline): use string::erase, small whitespace change.
17737 * BufferView_pimpl.C: try the anon namespace.
17738 * WorkArea.C: ditto
17740 2001-03-16 Juergen Vigna <jug@sad.it>
17742 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17743 otherwise it won't open options-dialogs.
17745 * buffer.C: honor pextraWidth(p) on converting minipages.
17747 * tabular.C (l_getline): changed the functions to strip trailing \r.
17749 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17751 * BufferView_pimpl.C:
17752 * minibuffer..C: added "using SigC::slot" declaration.
17754 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17756 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17762 * paragraph.C: ditto
17764 * lyxtext.h: NO_PEXTRA
17766 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17768 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17769 * ParameterStruct.h: ditto
17770 * ParagraphParameters.h: ditto
17771 * lyxparagraph.h: ditto
17773 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17775 * buffer.C: add compability for minipage alignment.
17776 (latexParagraphs): remove unwanted pextra check.
17778 * several files: remove CXX_WORKING_NAMESPACES
17780 * buffer.C (pop_tag): tie is in namespace boost
17782 * BufferView.h: noncopyable is in namespace boost
17784 * lyx_main.h: ditto
17787 * lastfiles.h: ditto
17788 * bufferlist.h: ditto
17789 * ShareContainer.h: ditto
17791 * LyXAction.h: ditto
17794 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17796 * Merging changes from BRANCH_MVC back into HEAD.
17798 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17800 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17802 * BufferView_pimpl.C: change from intl.C
17806 * Makefile.am: move combox.*
17812 * intl.C: remove dialog (covered by prefs)
17814 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17816 * lyxfunc.C (Dispatch): removed redundant break statement.
17818 2001-03-14 Juergen Vigna <jug@sad.it>
17820 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17822 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17824 * buffer.C: add hack to fix compability reading of minipages.
17826 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17828 * buffer.C (getLists): Cleanup.
17830 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17832 * lyxfont.C (update): don't honor toggleall on font size.
17834 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17838 * Makefile.am: moved to frontends/xforms/
17842 * BufferView_pimpl.C: changes for moved mathpanel
17844 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17846 * gettext.h: fix gettext_init() in --disable-nls
17848 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17850 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17852 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17855 * lyx.h: strip external form
17857 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17859 * BufferView_pimpl.C: add comment, destroySplash()
17861 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17863 * BufferView_pimpl.C:
17867 * lyxfunc.C: use re-worked insetinclude
17869 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17871 * buffer.C: add using std::stringstream.
17873 * lyx_cb.C: readd using std::ios.
17875 * buffer.C: add using std::map.
17877 * BufferView_pimpl.C: add using std::vector.
17879 * ShareContainer.h: add std:: to swap.
17881 * buffer.h: add some typedefs
17882 * buffer.C (getLists): use them
17883 (getLists): renamed from getTocList.
17884 add a counter for the different float types and use it in the
17886 (getLists): use the same counter for the NEW_INSETS and the "non"
17889 * lyx_cb.h: remove unused items, includes, using etc.
17891 * ShareContainer.h: remove some commented code, add more comments
17892 and "documentation".
17894 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17896 * buffer.C (getTocList): make the list also when NEW_INSETS is
17899 * buffer.h: remove TocType
17901 * buffer.C (getTocList): change to return a map<string,
17902 vector<TocItem> >, implement for dynamic number of list.
17904 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17905 * text2.C (PasteSelection): adjust
17906 * CutAndPaste.C (pasteSelection): adjust
17908 * FloatList.C (FloatList): update from the new_insets branch.
17909 * Floating.[Ch]: ditto
17910 * LaTeXFeatures.C: ditto
17912 * lyxlex_pimpl.C: ditto
17914 * paragraph.C (Last): remove when NEW_INSETS is defined.
17916 * other file: changes because of the above.
17918 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17920 * lyxparagraph.h: rename next to next_, previous to previous_,
17921 make them private for NEW_INSETS. Rename Next() to next(),
17922 Previous() to previous().
17924 * other files: changes because of the above.
17926 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17929 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17932 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17934 * main.C (main): pass lyx_localedir to gettext_init().
17936 * gettext.h: remove locale_init and gettext_init macros
17938 * gettext.C (locale_init): new function
17939 (gettext_init): new function
17941 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17944 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17946 * Moved credits to frontends:
17947 * credits.[Ch]: removed
17948 * credits_form.[Ch]: removed
17949 * lyx_gui_misc.C: remove credits stuff
17952 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17954 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17956 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17957 unneeded destructor.
17959 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17960 a standalone pointer again.
17962 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17964 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17970 * ToolbarDefaults.C:
17979 * BufferView_pimpl.C: use new file dialog in GUII
17982 * lyx_cb.C: remove LayoutsCB to Toolbar
17984 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17986 * ShareContainer.h (get): add std:: qualifier
17988 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17990 * ShareContainer.h: define a proper ShareContainer::value_type
17991 type (and use typename to please compaq cxx)
17993 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17995 * lyxparagraph.h: move serveral local vars to
17996 ParameterStruct/ParagraphParameters., use ShareContainer in
17997 FontTable., make vars in FontTable private and add getter and
18000 * paragraph.C: changes because of the above.
18002 * lyxfont.h: remove copy constructor and copy assignment. (the
18003 default ones is ok), move number inside FontBits. move inlines to
18006 * lyxfont.C: add number to initializaton of statics, move several
18007 inlines here. constify several local vars. some whitespace
18008 cleanup. Dont hide outerscope variables.
18010 * Spacing.h: add two new constructors to match the set methods.
18012 * ShareContainer.h: new file, will perhaps be moved to support
18014 * ParameterStruct.h: new file
18016 * ParagraphParameters.h: new file
18018 * ParagraphParameters.C: new file
18020 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18021 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18023 * BufferView_pimpl.C: ParagraphParameter changes.
18024 * buffer.C: Likewise.
18025 * bufferview_funcs.C: Likewise.
18026 * text.C: Likewise.
18027 * text2.C: Likewise.
18029 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18031 * lyxfind.C (LyXReplace): do not redefine default argument in
18033 (IsStringInText): ditto
18034 (SearchForward): ditto
18035 (SearchBackward): ditto
18037 2001-03-06 Juergen Vigna <jug@sad.it>
18039 * lyxfind.C (IsStringInText): put parentes around expressions.
18041 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18043 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18045 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18047 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18049 * stl_string_fwd.h: add comment
18051 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18054 * tabular.C: remove unused DocBook methods
18060 killed DO_USE_DEFAULT_LANGUAGE
18062 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18064 * lyx_gui.C: do not include language.h.
18066 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18067 arguments in function implementation.
18069 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18071 * BufferView_pimpl.C: add <ctime>
18073 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18075 * BufferView_pimpl.C: add using std::find_if
18077 2001-02-27 José Matos <jamatos@fep.up.pt>
18079 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18082 2001-02-11 José Matos <jamatos@fep.up.pt>
18084 * buffer.C (makeDocBookFile): command styles now have a parameter as
18085 "title" by default.
18087 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18089 * layout_forms.[Ch]: removed
18090 * lyx_cb.[Ch]: out character
18091 * lyx_gui.C: out character
18092 * lyx_gui_misc.C: out character
18093 * bufferview_funcs.C: : out character,
18094 added toggleall as parameter in ToggleAndShow
18096 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18098 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18100 * text2.C (SetCurrentFont): Disable number property at boundary.
18102 2001-02-26 Juergen Vigna <jug@sad.it>
18104 * lyxfunc.C (getStatus): added a string argument override function so
18105 that this is correctly called from LyXFunc::Dispatch if it contains a
18106 do_not_use_argument which is used!
18107 (Dispatch): added check for "custom" export and call appropriate func.
18109 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18111 * lyxrc.C: Add language_command_local, language_use_babel and
18112 language_global_options.
18114 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18116 * buffer.C (makeLaTeXFile): Use language_use_babel and
18117 language_global_options.
18119 2001-02-23 Juergen Vigna <jug@sad.it>
18121 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18122 which works with LyXText and putted it inside BufferView. Here now we
18123 only call for that part the BufferView::Dispatch() function.
18125 * BufferView.C (Dispatch): added.
18127 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18128 functions which needs to use a LyXText over from LyXFunc.
18129 (MenuInsertLyXFile): added
18130 (getInsetByCode): added
18131 (moveCursorUpdate): added
18132 (static TEXT): added
18134 2001-02-22 Juergen Vigna <jug@sad.it>
18136 * BufferView_pimpl.C (update): call a status update to see if LyXText
18139 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18141 * vc-backend.C (revert): implement for CVS
18142 (getLog): implement for CVS
18144 2001-02-20 Juergen Vigna <jug@sad.it>
18146 * text2.C (ClearSelection): added BufferView param for inset_owner call
18148 * lyxfunc.C (TEXT): added this function and use it instead of
18149 directly owner->view()-text of getLyXText().
18151 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18153 * src/layout_forms.C: out preamble
18154 * src/layout_forms.h: out preamble
18155 * src/lyx_cb.C: out preamble
18156 * src/lyx_cb.h: out preamble
18157 * src/lyx_gui.C: out preamble
18158 * src/lyx_gui_misc.C: out preamble
18159 * src/lyxfunc.C: connect with guii preamble
18161 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18163 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18165 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18167 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18168 whether to run bibtex.
18170 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18172 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18174 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18176 * Makefile.am (lyx_SOURCES): removed bibforms.h
18178 * vspace.h: doxygen
18180 * text.C (GetVisibleRow): make several local vars const
18182 * tabular.C: small cleanup.
18184 * lyxserver.C (callback): use compare instead of strncmp
18186 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18187 inlines to after class or to paragraph.C
18189 * lyxfont.h: remove friend operator!=
18191 * converter.h: move friend bool operator< to non friend and after
18194 * combox.h: small cleanup
18196 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18197 to inlines after class def.
18199 * buffer.C (pop_tag): use string operations instead of strcmp
18201 * bmtable.c: doxygen, small cleanup
18203 * LaTeX.h: remove friend operator==
18205 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18217 * BufferView_pimpl.C:
18218 * BufferView.[Ch]: remove cruft
18220 2001-02-14 Juergen Vigna <jug@sad.it>
18222 * lyxfunc.C: removed #if 0 unused code
18224 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18226 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18228 * text2.C (SetSelection): added a BufferView * parameter
18230 2001-02-13 Juergen Vigna <jug@sad.it>
18232 * lyxfunc.C (Dispatch): fixed protected blank problem.
18233 * BufferView2.C (protectedBlank): added LyxText * parameter.
18235 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18236 (AppendColumn): same as above for column_info.
18238 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18239 (moveCursorUpdate): use a LyXText param for support of InsetText.
18241 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18242 (tripleClick): ditto
18244 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18246 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18248 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18250 * text2.C (SetSelection): set correct update status if inset_owner
18251 (ToggleFree): ditto
18253 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18255 * tabular.C: remove some commented code.
18257 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18259 * BufferView_pimpl.C: call hideSplash()
18261 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18264 * bibforms.h: remove
18267 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18268 add LFUN_CHILD_CREATE
18270 * counters.h: fix tiny typo
18275 * lyx.C: move splash to frontends/xforms/
18277 * lyx_gui_misc.C: move Include and Bibform to frontends
18279 * lyxvc.h: clarify comment
18281 * vspace.C: tiny housekeeping
18283 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18285 * text.C (PrepareToPrint): RTL Fix.
18287 * paragraph.C (GetUChar): New method.
18288 (String): Use GetUChar.
18290 * buffer.C (asciiParagraph): Use GetUChar.
18292 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18294 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18296 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18299 * buffer.C: rename to getLogName(), handle
18300 build log / latex log nicely
18302 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18305 * MenuBackend.h: remove support for reference menuitem type.
18307 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18309 * BufferView_pimpl.C: housekeeping
18310 * BufferView_pimpl.h:
18315 * minibuffer.h: move Timeout GUI-I
18317 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18319 * lyxrc.C (read): Update converters data-structures.
18321 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18323 * LaTeX.h (operator!=): add operator != for Aux_Info
18325 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18327 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18329 * LaTeXLog.C: deleted, useful code moved to Buffer
18332 * buffer.C: new function getLatexLogName()
18338 * lyxfunc.C: use frontends for LaTeX and VC logs
18340 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18342 * LaTeX.h: yet another std:: that Allan forgot.
18344 * Variables.C (set): renamed from isset(), because this clashes
18345 with some HP-UX macros (grr).
18347 2001-02-06 Allan Rae <rae@lyx.org>
18349 * LaTeX.h: Another bug fix. Missing std:: this time.
18351 2001-02-04 Allan Rae <rae@lyx.org>
18353 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18354 floats problem. I've left it commented out because it's not quite
18355 correct. It should also test that the current object is a table or
18356 figure inset. But I haven't gotten around to figuring out how to do
18357 that. I *think* it'll be something like: "table" == inset.type()
18359 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18362 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18364 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18365 all the citation/databases/styles in the auxilary file.
18366 (run): Rerun latex if there was a babel language error.
18368 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18370 * text.C (Backspace): Preserve the font when changing newline char
18372 (BreakParagraph): If the cursor is before a space, delete the space.
18374 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18376 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18378 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18379 new argument (code).
18380 (ChangeCitationsIfUnique): New method.
18382 * paragraph.C (GetPositionOfInset): Handle bibkey.
18384 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18386 * BufferView_pimpl.h: change type of Position::par_pos to
18387 LyXParagraph::size_type.
18389 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18391 * BufferView_pimpl.C (savePosition, restorePosition): Write
18392 messages to minibuffer.
18394 2001-01-28 José Matos <jamatos@fep.up.pt>
18396 * buffer.C (makeDocBookFile): adds support for document language.
18397 A silly restriction on the name of LatexCommand types where removed.
18398 Added support for CDATA sections, allows to chars unescaped, used
18399 among others in code, to avoid escape < and >.
18401 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18403 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18404 saved positions instrad of a stack. Furthermore, a position is
18405 stored using paragraph id/paragraph position.
18407 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18408 Remove LFUN_REF_BACK.
18410 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18412 * converter.C (dvipdfm_options): New method.
18414 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18416 * vspace.C (isValidLength): Fix for empty input string.
18418 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18420 * LyXAction.C (init): change description of LFUN_FIGURE to
18423 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18425 * LaTeX.C: add using directive
18427 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18429 * MenuBackend.C (expand): Fix the sorting of the formats.
18431 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18433 * lyx_main.C: tiny error message fix
18435 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18437 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18438 calling fl_initialize(). This fixes the problem with ',' as
18439 decimal separator in text files.
18441 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18443 * trans.C (process): Fix the keymap bug.
18445 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18447 * LaTeX.C (scanAuxFiles): New method. Provides support for
18448 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18449 (scanLogFile) Scan for "run BibTeX" messages.
18451 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18452 OT1 font encoding. Also, load the aecompl package if the ae
18455 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18457 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18459 * texrow.C (increasePos): turn two error messages into debug
18462 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18464 * LaTeX.C (scanAux): Handle the \@input macro.
18465 (runBibTeX): Use scanAux().
18467 * language.C (latex_options_): New field.
18469 * LaTeXFeatures.C (getMacros): Add language macros.
18471 * buffer.C (makeLaTeXFile): Small fix.
18473 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18475 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18477 * text2.C: add a using directive.
18479 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18484 * lyxfunc.C: kill LyXBell.
18486 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18488 * text.C (IsBoundary): Remove the error message
18490 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18492 * lyxrc.C (setDefaults): Correct initialization value for
18495 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18497 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18500 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18501 and GotoNextNote().
18503 * src/LyXAction.C: Added reference-next.
18505 * text.C (InsertChar): Use contains instead of strchr.
18507 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18509 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18511 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18512 alignment commands (when needed).
18514 * text.C (InsertChar): Add ':' to number separator chars.