1 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
3 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
4 line after typing ctrl-enter
6 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
9 math insets do not return a proper editable() state yet (bug 2124).
11 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
13 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
14 docs containing very large paragraphs.
16 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
18 * cursor.C (selectionBegin, selectionEnd):
19 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
20 cursor at different depths.
22 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
24 * bufferview_funcs.C (coordOffset): do not call cursorPos
25 for collapsed collapsables (fix bug 2094).
27 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * paragraph.C (fontSpan): make sure that the FontSpan does not
30 span across beginOfBody (bug 1947).
32 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
34 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
36 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
38 * messages.C: fix crash and localization on MinGW/Windows platform
40 2005-11-02 Angus Leeming <leeming@lyx.org>
43 * lyxtextclass.C: trivial fixes to some MSVS warnings.
45 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * text3.C (getStatus): re-enable disabled code. (bug 2081)
49 * BranchList.h (empty): constify.
51 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
53 * text3.C (getStatus):
54 * MenuBackend.C (expandBranches): take the branch list from the
55 master document (bug 2092).
57 * MenuBackend.C (expandBranches):
58 * bufferparams.C (writeFile): use BranchList type.
60 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
62 * text3.C (dispatch, getStatus):
64 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
66 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
70 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * text.C (insertChar): do not reset boundary (bug 2061)
74 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
76 * dociterator.C (updateInsets): new method. Updates the inset_
77 cache of all the slices of the iterator.
79 * text2.C (deleteEmptyParagraphMechanism): compare also containing
80 insets when comparing pit/pos; pass the right cursor to
81 recordUndo; when a paragraph has been deleted, compare `old.top()' to
82 the right cursor slice of `cur'; use updateInsets on cur to make
83 sure that the inset caches are correct; general cleanup.
85 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
88 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
89 containg inset. If this does not work, the same command will be
90 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
92 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
95 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * lyxtextclass.C (Read): convert layout file if the format is wrong
98 * lyxtextclass.C (layout2layout): new, needed for the above
100 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * messages.C: do not forget to include <cerrno>.
104 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
106 * dociterator.h (StableDocIterator): add access to pos().
107 * undo.C (samePar): new method to check if two
108 iterators are in the same paragraph
109 * undo.C (recordUndo): check for samePar instead of cell identity
110 (which includes pos() and is too strict) (fixes bug 2097)
112 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * text.C (setCursorFromCoordinates): return a bool telling whether
117 * text3.C (cursorPrevious): update if needed after
118 setCursorFromCoordinates (when dEPM triggered).
120 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
121 (otherwise the anchor may be completely wrong and make dEPM assert).
123 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
125 * buffer.C: version upgrade to 245.
126 * bufferparams.C: remove \quotes_times (bug 2090).
127 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
128 quotation marks as default.
130 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
132 * CutAndPaste.C (nrOfParagraphs): remove (unused)
133 * CutAndPaste.C (cutSelection): Remove debug message
134 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
135 undo information and only copy if this is a real cut
136 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
138 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
140 * CutAndPaste.C (eraseSelection): prevent cursor corruption
141 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
142 superflous cur.selection() setting
143 * CutAndPaste.[Ch] (grabSelection): take a const cursor
144 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
146 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
151 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
153 * BufferView_pimpl.C: comment layout change
155 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
159 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
160 by bibliography managers (bug 2071).
162 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
164 * BufferView_pimpl.C (update): choose arguments to update call so
165 that single-par update works most times
166 * text3.C (dispatch): carefully tune updating separately for
167 whole-screen and current-paragraph
168 * rowpainter.C (paintText): 1) replace painting by caching for
169 the two extra paragraphs, because we can;
170 2) suppress greying out of areas below/above drawn area in case of
172 * lyxfunc.C (dispatch): remove superfluous update
173 * LyXAction.[Ch]: introduce SingleParUpdate
175 2005-10-05 Angus Leeming <leeming@lyx.org>
177 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
178 always initialised before use.
180 * text.C (setHeightOfRow): squash warning about comparison
181 of signed and unsigned types.
183 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
185 * text.C (cursorX): two fixes involving RtL text drawing
187 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
190 items, not only large ones (part of bug 2057)
192 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
195 argument, use "newcommand".
197 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
199 * cursor.C (setSelection): do not open collapsable insets;
200 the insets do by themselves now (autoopen).
202 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
204 * buffer.C: format is up to 244.
206 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
208 * text.C (redoParagraph): fix calcultation of inset width wrt
209 leftMargin (bug 1957).
211 * text3.C (dispatch): leave inset to the right when hitting ESC
214 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
219 * messages.C: include <boost/current_function.hpp>
221 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
224 when command is internal. (bug 1941)
226 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * text2.C (cursorRight): do not honor boundary when at the end of
229 a paragraph. (bug 2010 again)
231 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
235 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
237 * rowpainter.C (paintText): fix RtL space width display bug (2029)
239 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * text2.C (setCursor): remove the unused 'boundary' parameter for
242 the CursorSlice version; adapt the LCursor version.
245 * paragraph_pimpl.C (markErased):
246 * cursor.C (bruteFind2, bruteFond3): fix warnings.
248 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
251 as is already done for "chapter".
253 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
256 textclass; do not record undo if nothing is changed.
258 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
260 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
262 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
264 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
266 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
268 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
269 combox, it is necessary to search for the topmost paragraph in the
270 cursor stack (bug 1926)
272 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
275 end of paragraph. (bug 2010)
277 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
279 * text.C (leftMargin): check for inInset == 0
281 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
283 * text.C (leftMargin): test for insetbase's new neverIndent()
284 bool instead of listing each and every inset that does not
285 wish par indendation.
287 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * buffer_funcs.C (setCounter): put the code to compute enum label
290 here (where it belongs).
292 * counters.C (enumLabel): move code to buffer_funcs.C.
294 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
296 * outputparams.[Ch]: store local_font instead of local_language
297 * paragraph.C (simpleTeXOnePar): adapt to the change above
299 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
302 * counters.[Ch]: clean up special code for Hebrew.
304 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
309 2005-09-08 Angus Leeming <leeming@lyx.org>
312 * lyxrc.C: correct grammar describing invocation of the
315 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
317 * text.C (read): remove unused variable.
318 (readParToken): remove static Change variable (never good in
319 recursive settings...); add it as a parameter instead.
321 * paragraph_pimpl.C (acceptChange): make debug info conditional.
323 * metricsinfo.C (PainterInfo): add new member erased_.
325 * rowpainter.C (RowPainter): add erased_ member, initialized from
327 (paintInset): pass erased_ to Inset::draw.
329 * lyxfunc.C (lookupChange): new function. Tells whether change
330 tracking is disabled at a given postion.
331 (getStatus): disable some actions when in deleted text with change
334 2005-08-03 John Levon <levon@movementarian.org>
336 * tabular.C (appendColumn, setMultiColumn): adapt to change to
339 * paragraph_pimpl.C (markErased): add bool argument and handle it.
340 Also make sure to mark insets recursively.
341 (rejectChange, erase): be recursive
343 * paragraph.C (markErased): add bool argument.
344 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * lyxfind.C (findNextChange): tiny cleanup.
348 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
349 change tracking with the cursor in an inset; make sure the first
350 change is not skipped.
352 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
354 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
355 tabularStackDirty to work around bug 1919 (tabular needs
356 to know whether its own cell paste buffer or the one of
358 * CutAndPaste.C: mark tabular_stack_ clean after copy.
360 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
362 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
364 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
366 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
367 use old deleteion algorithm when changetracking is on.
369 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
371 * messages.C (get): add debug output.
373 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
375 * text.C (cursorX): fix bug 1965: cursor movement at
376 line end broken in RtL.
377 (drawSelection): fix bug 1970: drawing of single-line
378 selection broken for RtL.
380 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * dociterator.h (clear, push_back, pop_back): change from
387 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
388 and changed to just return the value of the item depth; take a
389 ParIterator as argument; take the itemdepth at outer nesting level
390 in account if necessary; cleanup and comment the code.
391 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
392 and changed to just return true if reset is needed; take a
393 ParIterator as argument; cleanup and comment the code.
394 (setCounter): adapt to above changes.
396 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * text3.C (dispatch): make debug message optional
400 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
402 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
405 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
407 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
409 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
411 * text.C (insertChar):
412 * text2.C (deleteEmptyParagraphMechanism): take care whether
413 a blank has been deleted (in change tracking mode) (bug 1254).
415 2005-07-20 John Levon <levon@movementarian.org>
417 * text2.C (insertStringAsLines): remove old dubious code,
420 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
422 * MenuBackend.C (expandToc): use Floating::listName() as title of
425 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
427 * toc.[Ch]: Do not use translatable strings (bug 1870).
429 2005-07-20 John Levon <levon@movementarian.org>
431 * tabular.C: fix 1748 - setting multicolumn adds
432 left line to the first cell
434 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
437 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
440 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
442 * messages.C: supress some lyxerr messages
444 2005-07-18 Juergen Vigna <jug@lyx.org>
446 * text.C (drawSelection): honor boundary when asking for cursorX.
448 2005-07-17 José Matos <jamatos@fc.up.pt>
450 * tabular.C (recalculateMulticolumns): fix handling of one column
453 2005-07-17 Juergen Vigna <jug@lyx.org>
455 * text.C (Delete, backspace): fixed so that paragraph with the
456 same layout can be merged by Delete/Backspace.
458 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
460 * text.C (readParToken): fix spelling.
462 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
464 * text2.C: fix counter update for DEPM problem reported by
467 2005-07-17 Juergen Vigna <jug@lyx.org>
469 * BufferView_pimpl.C (setBuffer): save/restore the
470 cursor/selection when switching buffers
473 * buffer.C (saveCursor): add saveDocumentIterators to save the
474 cursor when switching buffer.
476 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
479 * buffer.C: clarify message
481 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
483 * dociterator.C (DocIterator): fix initialization order
485 2005-07-17 Juergen Vigna <jug@lyx.org>
487 * text2.C (cursorHome):
488 * text.C (drawSelection, cursorX):
489 * dociterator.C (textRow): add boundary to getRow() call
491 * paragraph.C (getRow): implementation of below
493 * paragraph.h: add parameter boundary for getRow() function
495 2005-07-17 José Matos <jamatos@fc.up.pt>
499 * tex-strings.[Ch]: new file format, remove support for a4.sty,
500 a4wide.sty and a4widemargins.
502 2005-07-17 Juergen Vigna <jug@lyx.org>
504 * text2.C (cursorLeft): fix one of error
506 2005-07-17 Juergen Vigna <jug@lyx.org>
508 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
510 more fixes for boundary handling
512 * text3.C (dispatch): don't reset cursor if boundary has changed
515 2005-07-16 Juergen Vigna <jug@lyx.org>
517 * text2.C (getColumnNearX): hopefully got it right now,
518 check if we are on column 0 for special case.
520 2005-07-16 Juergen Vigna <jug@lyx.org>
522 * text2.C (getColumnNearX): handle special case Newline Inset
524 * text.C (singleWidth): Just remove bogus check
526 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
528 * funcrequest.C (split): avoid reading uninitialized char c
530 2005-07-16 José Matos <jamatos@fc.up.pt>
536 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
537 single papersize variable.
539 2005-07-16 Juergen Vigna <jug@lyx.org>
541 * text3.C (dispatch): honor boundary when checking if a cursor
542 movement has been done
544 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
545 (setCursor, setCursorIntern): fix cursor movement with boundary
547 2005-07-16 Juergen Vigna <jug@lyx.org>
549 * text.C (currentState): output the actual Boundary
551 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
553 * factory.C (createInset): fix bad logic for tabular creation
555 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
557 * lyx_main.C (init): change some reLyX reference to tex2lyx
559 2005-07-16 Juergen Vigna <jug@lyx.org>
561 * dociterator.C (DocIterator): initialize boundary
563 2005-07-16 Juergen Vigna <jug@lyx.org>
565 * text2.C (getColumnNearX): Consider rows without trailing blank.
567 2005-07-16 André Pönitz <poenitz@gmx.net>
569 * lyxfont.h: Change order of declarations to give the compiler
570 a better chance to inline things
572 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
573 questions on unsaved docs for better scritability
575 2005-07-16 André Pönitz <poenitz@gmx.net>
577 * paragraph.h (getChar): remove asserts as the same kind of security
578 can be achieved by using a suitable standard library implementation
579 and the function was in the critical path (25.9% in profiler)
581 2005-07-16 Juergen Vigna <jug@lyx.org>
583 * cursor.C (bruteFind2):
584 * bufferview_funcs.C (coordOffset):
585 * text.C (cursorX,cursorY): Handle cursor position after last char
586 in row before a inset which uses a whole row.
588 2005-07-15 José Matos <jamatos@lyx.org>
590 * output_plaintext.[Ch] (writeFileAscii): control reference title
592 (asciiParagraph): noparbreak was already deal and was incorrectly
595 2005-07-15 Juergen Vigna <jug@lyx.org>
597 * lyxfunc.C (dispatch): save and restore the cursor after a
600 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
602 * text.C (backspace): bug 806 for empty keepempty paragraphs we
603 change the layout to default before letting DEPM do its thing.
605 * paragraph_funcs.C (breakParagraph): dont reset the layout on
608 * text.C (setCursorFromCoordinates): add a debug statement
610 * text2.C (getColumnNearX): bug 1825 make sure that we don't
611 return a pos that is not on the row
613 * output_latex.C (TeXDeeper): get rid of potential dereferencing
614 of past the end iterator
616 2005-07-14 André Pönitz <poenitz@gmx.net>
618 * undo.C (recordUndoFullBuffer): implement undo for
621 2005-07-14 André Pönitz <poenitz@gmx.net>
623 * cursor.C (setSelection): open insets when selection is set there
624 to avoid crashs with cold coord cache
626 2005-07-14 André Pönitz <poenitz@gmx.net>
628 * trans_mgr.C (insert): move cursor to the right after inserting
631 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
633 * BufferView_pimpl.C (update): dampen some of the debug blabbering
634 * factory.C (readInset): ditto
635 * text.C, text2.C: ditto
637 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
639 * buffer.C: format incremented to 242. There is no file format per
640 se, but the "frenchb" language has been removed from lib/language
641 and has to be translated to "french" by lyx2lyx.
643 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
645 * cursor_slice.h, dociterator.h: add some documentation
646 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
648 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
650 * text.C (leftMargin): do not add identation to display() style
651 insets, because they are always centered (bug 1293).
653 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
655 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
656 formatted_time methods in support/lyxtime.
658 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
660 * toc.[Ch]: new method getGuiName, which is used by the frontends
661 to set the toc combo (fixes bug 1870). Make TOC string translatable.
663 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
665 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
666 StableDocIterator const &)
667 * undo.C (recordUndo): use the above instead of cell.size() comparison
668 (fixes bug 1808; instructed by Andr�.
670 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
673 * dociterator.h: Fix the assert when copying rows/cols in math
675 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
677 * BufferView_pimpl.C:
679 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
681 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
682 (findInset): new functions, refactored from goto Inset that return
683 the position of a certain inset without setting the buffer's cursor
685 (gotoInset): rewrite to call findInset and then set the cursor
688 2005-06-16 Angus Leeming <leeming@lyx.org>
690 * lyxrc.C (output, read): wrap all input and output of paths with
691 calls to os::internal_path and os::external_path, respectively.
692 (output): wrap bind_file inside quotes.
694 * format.C (view): enable the viewer to use the '$$s' placeholder.
696 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
698 * LColor.[Ch] (getFromLaTeXName): new
700 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
702 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
704 2005-06-14 Angus Leeming <leeming@lyx.org>
706 * lyx_main.C (init): ensure that the LyX binary dir is the first
707 element in the PATH on non-POSIX builds.
709 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
711 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
713 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * rowpainter.C (paintInset, paintHebrewComposeChar)
716 (paintArabicComposeChar, paintChars): add a LyXFont argument.
717 (paintChars): use getFontSpan to reduce calls to getFont to a
718 minimum; use Paragraph::lookupChange instead of isXXXText.
719 (paintForeignMark): rename LyXFont argument.
720 (paintFromPos): pass a LyXFont object to the various paintXXX
723 * FontIterator.C (FontIterator, operator++): use
724 Paragraph::getFontSpan
726 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
727 version that returns the font span as a pair.
729 2005-06-09 Angus Leeming <leeming@lyx.org>
731 * converter.C (convert): Don't forget "outfile = real_outfile" as
732 the final step in a conversion where the input and output file names
733 are the same. Otherwise, future conversion steps won't work...
735 2005-06-09 Angus Leeming <leeming@lyx.org>
737 * lyxsocket.C: remove stub code as it isn't needed by
738 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
740 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
742 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
743 effectively disabled -x
745 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
747 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
748 when it actually makes sense.
750 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
752 * BufferView_pimpl.C: revert to showCursor in connection with
753 Lars's front-end stack
755 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
757 * text.C (redoParagraph): move cursor right after a bibitem
760 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
762 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * buffer_funcs.C (bufferErrors): fix computation of the end of an
767 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
769 * BufferView.[Ch] (update):
770 * BufferView_pimpl.[Ch] (update, metrics):
771 * dimension.h (operator==):
772 * lyxfunc.C (dispatch):
773 * metricsinfo.h (ViewMetricsInfo):
774 * rowpainter.C (paintText):
776 * text.C (redoParagraph):
777 * text3.C (dispatch): Make LyX only repaint current paragraph in
778 case of character insert --> speedup. Also fix cursor draw
781 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
783 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
784 avoid a crash (bug 1891)
786 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
790 * text2.C (getStringToIndex): constify cur argument.
792 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
793 argument has been given
794 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
795 try to invoke LFUN_INSET_APPLY).
797 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
798 if no inset was created by doInsertInset
799 (doInsertInset): return true if an inset has been inserted.
801 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
803 * vspace.C (asGUIName): new method. A version of the space
804 suitable for showing on screen.
806 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
809 * lyxrc.C: rename "ASCII" to "Plain Text"
811 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
813 * buffer_funcs.C (expandLabel): take a Buffer as argument;
814 translate the labelstring.
815 (setCounter): translate labelstring as needed.
817 * output_docbook.C (makeCommand): fix expandLabel invokation
819 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
821 * BufferView.C: fix dialog title
823 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
825 * lyx_main.C (priv_exec): fix logic error with help from Angus
826 * lyx_main.C (parse_execute): set is_gui = false and remove now
827 obsolete comment about a segfault
829 2005-05-18 Angus Leeming <leeming@lyx.org>
831 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
833 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
835 * tabular.[hC]: added setCellInset to fix tabular paste.
837 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
839 * buffer.C (save): check if destination is writable before trying
842 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
844 * BufferView_pimpl.C (update): fix processEvents -caused update
847 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
849 * buffer_funcs.C (setCounter): fix test for numbering of
852 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
853 depth correctly; use optional argument when it exists
855 * lyxtextclass.C: remove unused MaxCounterTags enum
856 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
857 (max_toclevel, min_toclevel): new methods.
859 * MenuBackend.C (expandToc2): fix case where depth is smaller than
860 the smallest depth in toc.
862 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
863 layouts that should not appear in a table of contents.
865 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
867 * cursor.h (undispatched, noUpdate): add comments from Andr�
868 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
872 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
874 2005-05-07 André Pönitz <poenitz@gmx.net>
876 * cursor.[Ch] (leaveInset): new function
878 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
880 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
882 2005-05-04 Angus Leeming <leeming@lyx.org>
884 * lyxfunc.C (getStatus): disable the spell checker dialog if
885 none of USE_[AIP]SPELL are defined.
887 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
889 * tabular.C (setWidthOfCell): remove obsolete comment
891 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
893 * paragraph.C (bibitem):
894 * buffer_funcs.C (setCounter):
895 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
897 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
899 * text3.C (getStatus): immediately return after setOnOff
901 * rowpainter.C: fix drawing of appendix start
903 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
905 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
906 SwitchBetweenClasses and remove the unused return value.
907 Handle character styles, too
909 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
911 * factory.C (createInset): handle undefined character styles
913 2005-05-02 Angus Leeming <leeming@lyx.org>
915 * buffer.C: protect the #include of utime.h with a preprocessor
918 2005-05-02 Angus Leeming <leeming@lyx.org>
920 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
921 function so that auto-saving works, albeit in a blocking manner.
923 * Makefile.am: make compilation of the client sub directory, of
924 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
925 on conditionals set at configure time.
927 * SpellBase.[Ch]: no longer an abstract base class. Instead,
928 it can be compiled in its own right but has no-op functionality.
930 * aspell.C, pspell.C: remove preprocessor guards. The files should
931 be compiled only if the necessary functionality exists.
933 * lyxserver.C, lyxsocket.C: disable on Windows.
935 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
937 * text.C (leftMargin): Fix the parindent use bug (1764)
940 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
942 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
945 2005-04-25 Angus Leeming <leeming@lyx.org>
953 include <config.h> in .C files, not .h ones.
955 protect headers inside preprocessor guards.
957 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
959 * FuncStatus.h (StatusCodes): document
961 2005-04-21 André Pönitz <poenitz@gmx.net>
963 * FuncStatus.h (enabled, onoff): document
965 2005-04-19 Angus Leeming <leeming@lyx.org>
967 * BufferView_pimpl.C (cursorToggle): no longer test whether
968 any child processes have been reaped before calling
969 handleCompletedProcesses().
971 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
973 * text3.C (dispatch): fix, finally fix, the language problem in
974 new lyxtexts, without disabling on-the-fly font changes (Helge's
977 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
979 * text3.C (dispatch): set cursor on double/triple click events
982 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
984 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
985 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
987 * rowpainter.C (paintFirst): simplify the code a little bit. In
988 particular, remove the test for secnumdepth.
989 * text.C (setHeightOfRow): only allocate space for chapter number
990 when updateCounters provided an actual label, instead of looking
991 at secnumdepth directly.
993 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
995 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
996 paragraphs when secnumdepth is large enough or, for environments,
997 when they are not the first in a sequence.
999 2005-04-17 Angus Leeming <leeming@lyx.org>
1001 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1002 containing space and '~' characters with a call to latex_path().
1004 2005-04-17 Angus Leeming <leeming@lyx.org>
1006 * converter.C (convert): protect all args of convertDefault.sh
1009 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1011 * text3.C (dispatch): change the layout to "Caption" after inserting
1014 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1016 * text3.C (dispatch): fix language problem in newly created
1017 textinsets (and main text) in non-english docs
1019 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1021 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1022 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1023 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1025 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1029 * text2.C (getFont):
1030 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1033 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1035 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1036 output of \item arguments without trailing text.
1038 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1040 * FontIterator.C (operator*): avoid a copy of the font.
1042 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1044 * rowpainter.C (getFont): fix language bug from previous fix
1046 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1048 * rowpainter.C (RowPainter, getFont): fix font inside inset
1051 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1053 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1054 preventing inserted font, deco, delim insets jumping to start of
1057 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1059 * lyxfunc.C (dispatch): translate message before sending it to the
1062 2005-03-29 Angus Leeming <leeming@lyx.org>
1064 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1065 to LyX on the command line.
1067 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1069 * vc-backend.C: use QuoteName to protect file names wherever
1072 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1075 * BranchList.h: fix bugs 1844,1845: document settings don't
1078 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1080 * lyxrc.C (setDefaults, read, output, getDescription): add support
1081 for tex_allows_spaces.
1083 * exporter.C (Export): allows files in directory containing spaces
1084 if tex_allows_spaces is true.
1086 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1087 output it in double quotes.
1089 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1091 * rowpainter.C: use default text height for drawing change tracker
1094 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1096 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1098 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1100 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1101 directory is missing.
1103 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1105 * text2.C: fixed the fix, extended to other case.
1107 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1109 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1111 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1113 * text2.C (cursorUp): get rid of a crash
1114 * text.C (x2pos): add an assert
1116 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1118 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1122 * dociterator.C: include <boost/current_function.hpp>, which is
1123 needed when assertions are disabled.
1125 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1127 * text2.C: fix for stuck cursor when traversing two
1128 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1130 2005-02-25 Andreas Vox <avox@arcor.de>
1132 * output_docbook.C (makeParagraph): suppress trailing newline
1133 after a run of paragraphs
1135 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1137 * paragraph.C: fix for confused change tracker when pasting
1138 text that begins with a lineseparator. [bug 1827]
1139 (setChange(0, Change::INSERTED);)
1141 * paragraph_funcs.C: fix for lost changes on triple-paste
1142 in change tracking mode [bug 1827] (par.setChange()).
1144 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * text2.C (updateCounters, setCounter, expandLabel): move to
1149 * buffer_funcs.C (updateCounters): turn into a free standing
1150 function and add a buffer parameter. Remove dead code for tracking
1152 (setCounter): change into a free-standing function which gets a
1153 dociterator as argument. Use this iterator to fix captions in a
1154 simple way. When no float is found above the caption, use the
1155 labelstring of the caption layout as default.
1157 * text.C (breakParagraph, backspace):
1158 * text2.C (init, setLayout, changeDepth):
1159 * text3.C (dispatch):
1160 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1163 * dociterator.C (forwardPar): make it much faster by calling
1164 forwardPos() only when really necessary.
1166 * output_docbook.C (makeCommand): adapt to expandLabel move.
1168 * cursor.C: remove unused variable
1170 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1172 * paragraph_funcs.C: fix crash when pasting insets in change
1173 tracking mode [bug 1277] (honour change type in moveItem).
1175 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1177 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1179 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * BufferView.C (setCursor): change to use a DocIterator.
1182 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1183 (putSelectionAt): adapt to BufferView::setCursor change.
1185 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1186 moved here from LyXText and rewritten to use proper cursor
1187 methods. Fixes bug 1787, 616 and 835.
1189 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1190 when inside an inset (part of bug 781).
1191 (dispatch): adapt to change of BufferView::setCursor.
1192 (getStatus, dispatch): handle LFUN_GOTOERROR,
1193 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1195 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1196 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1197 * text3.C (gotoNextInset, gotoInset): removed.
1199 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1201 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1203 2005-02-15 Angus Leeming <leeming@lyx.org>
1205 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1206 can be used meaningfully in a comparison.
1208 2005-02-13 André Pönitz <poenitz@gmx.net>
1210 * bufferview_funcs.C (coordOffset): improve cursor drawing
1212 2005-02-13 André Pönitz <poenitz@gmx.net>
1214 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1215 * Cursor.C (dispatch): use fixIfBroken
1216 * lyxfunc.C (getStatus): use fixIfBroken
1218 2005-02-15 Angus Leeming <leeming@lyx.org>
1220 * lyx_main.C (error_handler):
1222 * lyxrc.C (setDefaults):
1224 #include "environment.h".
1226 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1228 2005-02-15 Angus Leeming <leeming@lyx.org>
1230 * lyxserver.C (startPipe): squash MSVC warning "local variable
1231 'fd' used without having been initialized".
1233 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1235 * BufferView_pimpl.C: revert accidental commit.
1237 2005-02-14 André Pönitz <poenitz@gmx.net>
1239 * dociterator.[Ch]: new member forwardPosNoDescent(),
1240 which doesn't enter nested insets.
1241 * text2.C (setFont): use forwardPosNoDescent() instead
1242 of ForwardPos() (fixes crash on font change).
1244 2005-02-13 Angus Leeming <leeming@lyx.org>
1246 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1247 only if lyxrc.path_prefix is not empty.
1249 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1251 * bufferparams.C (readGraphicsDriver): prevent crash
1253 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1255 * text2.C (setCounter): check for inInset() == 0
1257 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1259 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1260 but use update() to get correct screen display; use convert
1261 instead of istringstream.
1262 (getStatus): handle LFUN_GOTO_PARAGRAPH
1264 * lyxfunc.C (dispatch, getStatus): do not handle
1265 LFUN_GOTO_PARAGRAPH here.
1267 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * text3.C (dispatch): size() -> depth()
1271 * text2.C: remove some debug output
1273 * paragraph.C: ws changes only
1275 * lyxfunc.C (getStatus): size() -> depth()
1277 * dociterator.h (clear, push_back, pop_back, internalData,
1278 operator[], resize, empty): new functions
1279 Make StableDocIterator and operator== be friends. Don't inherit
1280 from std::vector use a privat class variable slices_ instead.
1283 * dociterator.C: update because of not inheriting from std::vector
1284 anymore. Call explictly to slices_ instead. Use depth() instead of
1285 size() and top() instead of back()
1287 * cursor.C: chagne size() -> depth and back() -> top(). Also
1288 remove some direct operator[](i) calls in favour of foo[i]
1289 (getFont): remove some dead code
1291 * bufferview_funcs.C (coordOffset): size() -> depth()
1293 * buffer.C: ws changes only
1295 * CutAndPaste.C (eraseSelection): back() -> top()
1297 * BufferView_pimpl.C (selectionRequested): back() -> top()
1299 * BufferView.C (setCursor): size() -> depth()
1301 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1303 * text3.C (cursorPrevious): return true if depm changed something
1305 (dispatch): rename sl to oldTopSlice, remove moving use the new
1306 NoUpdate func attrib instead. Make sure that needsUpdate is set
1307 for function that have NoUpdate, but where depm might have changed
1310 * text2.C (cursorLeft): make us return true if depm changed
1312 (cursorRight): ditto
1313 (cursorUpParagraph): ditto
1314 (curosrDownParagraph): ditto
1315 (cursorUp, cursorDown): ditto, make sure to read comments in code
1316 (deleteEmptyParagraphMechanism): remove an assert, also return
1317 true if just a single char was deleted.
1319 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1320 cursor that we modify, to avoid modifying an active cursor before
1321 we call setCursor. This allows depm to run. Also return true if
1322 depm deleted something.
1324 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1325 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1326 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1327 something was changed in the buffer because of them (ie. depm run)
1329 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1330 debug messages. Make update by default be false. Make sure that
1331 the result of update is retained throught several calls down to
1334 * LyXAction.h: add a new func_attrib: NoUpdate
1336 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1337 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1338 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1340 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1342 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1344 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1345 bv_->owner(), bv_->buffer() by direct references to the private
1347 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1348 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1349 (fitCursor): center() is in BufferView::Pimpl.
1350 (getStatus, trackChanges, dispatch): no need for a temporary buf
1352 (fitCursor, workAreaDispatch): use workarea().workheight()
1354 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1356 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1358 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1360 * buffer.C: format up to 241.
1361 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1362 break if pasting into ERT
1363 * lyxfunc.C (getStatus): suppress mathpanel and
1364 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1366 2005-02-01 Angus Leeming <leeming@lyx.org>
1368 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1370 2005-02-01 Angus Leeming <leeming@lyx.org>
1372 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1373 calling fs::is_directory().
1375 2005-01-31 Angus Leeming <leeming@lyx.org>
1377 * lyx_main.C (priv_exec): specify explicitly the relative location
1378 of the top level build directory when run in-place.
1380 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1382 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1383 LyXText containing the cursor, not the top-level one.
1385 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1387 (insertStringAsLines): rename par to pit; use temporary variable
1388 par to hold a Paragraph; do not store par.layout() in a variable,
1389 since the pointer may die when breaking paragraphs; pass pars to
1390 breakParagraph() instead of Buffer::paragraphs().
1392 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1394 * lyxlex_pimpl.h: #include <fstream>.
1396 * BufferView.[Ch] (getLyXText): add a const version.
1398 * BufferView_pimpl.C: add debug aids.
1403 * paragraph_funcs.h: add commentary explaining what the class does.
1406 * coordcache.[Ch]: add lots of commentary.
1407 (startUpdating, doneUpdating): debug aids.
1408 (arrays, insets, parPos, getParPos): accessors to private data.
1410 * cursor_slice.[Ch] (text): add a const version.
1411 * dociterator.[Ch] (text, innerText): add const versions.
1413 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1416 * paragraph.C (getRow, pos2ros): add asserts.
1418 * paragraph.h: add commentary. Lots of.
1420 * paragraph.[Ch] (metrucs, draw): removed.
1423 * rowpainter.[Ch]: const-correct changes.
1425 * text.C: various obvious clean-ups. Removal of ancient cruft.
1428 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1430 * vc-backend.C (find_file): rewrite to use boost.filesystem
1433 * main.C (main): set default name check for boost.filesystem to
1436 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1439 (actOnUpdatedPrefs): ditto
1441 * lyx_main.C (init): rewrite to use boost.filesystem
1442 (queryUserLyXDir): ditto
1444 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1445 (getContentsOfAsciiFile): ditto
1447 * lastfiles.C (readFile): rewrite to use boost.filesystem
1449 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1451 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1452 (loadLyXFile): ditto
1454 * buffer.C (Buffer): adjust for destroydir
1455 (getLogName): rewrite to use boost.filesystem
1456 (setFileName): ditto
1457 (save): use fs::copy_file (from fs_extras)
1459 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1461 * LaTeX.C (run): rewrite to use boost.filesystem
1462 (scanAuxFiles): ditto
1463 (handleFoundFile): ditto
1465 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1467 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1469 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1471 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1473 * lyxlayout.[Ch]: change some vars from float to double
1475 * buffer.C (readFile): make a local var const
1477 * Several files: use convert<> instead of atoi,strToXXX and friends
1479 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1481 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1482 holds the contents of packages.lst. New functions getAvailable
1483 and isAvailable to parse and check that list, resp.
1487 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1489 * bufferparams.[Ch]: new param output_changes.
1491 * Buffer.C: increase file format to 240.
1492 Use output_changes and isVailable.
1496 * paragraph_pimpl.C: Use output_changes and isVailable.
1498 2005-01-23 Angus Leeming <leeming@lyx.org>
1500 * output_latex.C: #include "insetbibitem.h", rather than
1501 forward declare function bibitemWidest.
1503 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1505 * lyx_main.C (init): make it compile on the Mac.
1507 2005-01-20 Angus Leeming <leeming@lyx.org>
1509 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1510 (setLyXMisc): (char string literal) != (char string literal) is
1511 performing a comparison on the addresses. Convert one operand
1512 explicitly to string to guarantee expected behaviour.
1515 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1518 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1520 * output_plaintext.C: remove unneeded #include gzstream.h.
1522 2005-01-20 Angus Leeming <leeming@lyx.org>
1524 * SpellBase.h: rename some of the elements of the Result enum.
1531 * pspell.C (check): ditto
1533 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1535 * buffer.C: add #include <fstream>.
1537 * lyx_main.C (init): Compile fix.
1539 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1541 2005-01-20 Angus Leeming <leeming@lyx.org>
1543 * mover.h: change commentary to reflect the changed meaning of
1544 the $$s placeholder.
1546 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1548 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1550 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1552 2005-01-20 Angus Leeming <leeming@lyx.org>
1554 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1555 printing diagnostic data by not dereferecing an iterator past the
1558 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1560 * buffer.C (readHeader): use "&&" rather than "and".
1562 * lyxserver.h (inPipeName, outPipeName): make these const.
1564 2005-01-19 Angus Leeming <leeming@lyx.org>
1566 * lyx_main.C (error_handler, init): protect SIGHUP with
1567 #ifdef SIGHUP guards.
1569 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1571 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1573 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1575 * text.C (setHeightOfRow): add a margin at the top and bottom of
1576 the document (bug 1761)
1578 2005-01-17 Angus Leeming <leeming@lyx.org>
1580 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1581 with "python ". Workaround for a brain-dead Windows.
1583 2005-01-16 Angus Leeming <leeming@lyx.org>
1585 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1586 for MacOSX and Windows to use prependEnvPath.
1587 Strip out the hard-coded block to add elements to the PATH for
1588 MacOSX and replace it with a call to prependEnvPath using the
1589 contents of LyXRC::path_prefix.
1590 (queryUserLyXDir): strip out the code to run reconfigure, instead
1591 returning a boolean indicating the necessity to do so.
1592 (reconfigureUserLyXDir): contains the code to reconfigure the
1593 user support directory. Is now called after the various LyXRC data
1594 files have been read.
1596 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1598 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1600 * converter.[Ch] (convert): take a new parameter try_default. Use
1601 a default converter (imagemagick) if try_default is true.
1603 2005-01-13 Angus Leeming <leeming@lyx.org>
1605 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1606 os::cygwin_path_fix.
1607 (write): output LyXRC::cygwin_path_fix as necessary.
1609 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1612 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1614 2005-01-12 Angus Leeming <leeming@lyx.org>
1616 * lyx_main.C (init): set the PATH variable to include the
1617 directory containing the LyX binary when running on Mac or Windows.
1619 2005-01-12 Angus Leeming <leeming@lyx.org>
1621 * lyx_main.C (init): remove cruft that purports to set the locale
1622 dir. It doesn't and is not needed anyway.
1624 2005-01-10 Angus Leeming <leeming@lyx.org>
1626 * Makefile.am: remove the lyx_main.C special casing.
1628 * BufferView_pimpl.C:
1634 * messages.C: use support/package.h to provide the paths to the
1635 various directories used by LyX.
1637 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1639 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1640 layout if pasting into an empty paragraph)
1642 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1644 * tex-accent.C: add <string>
1646 2005-01-06 José Matos <jamatos@lyx.org>
1648 * ParagraphParameters.C (write): put every parameter in its own line.
1649 * paragraph.C (write): reduce number of consecutive empty lines exported.
1650 * buffer.C (LYX_FORMAT): increase file format to 239.
1652 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1654 * everywhere: change support/tostr.h -> support/convert.h
1656 * tabular.C: make all write_attributes templates, tostr -> convert
1658 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1659 (emptyTag): and -> &&, and fix type for ret from getChar
1660 (getFirstWord): fix type for ret from getChar
1661 (onlyText): and -> &&
1662 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1665 * toc.C (goTo, action):
1666 * text3.C (dispatch):
1667 * text.C (currentState):
1668 * tex-accent.C (DoAccent):
1671 * lyxfunc.C (menuNew):
1672 * lyxfinc.C (replace):
1673 * counters.C (laberItem):
1674 * bufferview_funcs.C (font2string):
1675 * bufferparams.C (writeFile):
1676 * buffer.C (readFile):
1678 * MenuBackend.C: tostr -> convert
1680 * LaTeX.C (runMessage): fix format
1681 (scanAuxFiles): tostr -> convert
1683 * BufferView_pimpl.C (savePosition): fix format
1684 (restorePosition): ditto
1687 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1689 * Spacing.[Ch]: New method getValueAsString().
1693 * ParagraphParameters.C:
1696 * text3.C: store/read spacing value as string.
1698 * rowpainter.C: change float value (spacing_val) to double.
1700 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1701 broken custom document spacing).
1703 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1705 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1706 namespace, also more use of temp references and const
1708 * cursor.[Ch] (getStatus): move to lyxfunc.C
1710 * bufferparams.C: reformat slightly
1712 * bufferview_funcs.C (font2string): constify arg
1718 * buffer_funcs.C: (many funcs): constify arg on function
1719 definitions, also make more local vars const, also add ASSERTS on
1722 * buffer.C (LYX_FORMAT): put const in correct place
1723 (many funcs): constify arg on function definitions, also make
1724 more local vars const
1726 * aspell_local.h: remove "struct" from typdef setup
1728 * aspell.C (check): make word_ok const
1729 (nextMiss): simplify slightly
1732 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1734 * lyxrc.[Ch]: store all float values as strings.
1735 use int (not float) for lyxrc.dpi.
1737 2005-01-04 Angus Leeming <leeming@lyx.org>
1739 * lyx_cb.C (Reconfigure):
1740 * lyx_main.C (queryUserLyXDir):
1741 to run the <system_lyxdir>/configure correctly on Windows, prefix
1742 the path to the script with "sh " when generating the string that
1743 is passed to system().
1745 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1747 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1749 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1751 * lyxlength.C (asLatexString): get rid of setprecision
1753 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1755 * text2.C (setLayout): remove unused variable endpit.
1756 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1758 * paragraph.C (onlyText): remove unused variable style.
1760 * cursor.C (bruteFind): remove unused variables beg and end.
1762 * Makefile.am (dist_noinset_DATA): not needed anymore
1764 * cheaders/*: remove.
1766 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1768 * text3.C: fix LFUN_MATH_MODE.
1770 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1772 * buffer_funcs.C (countWords): new function. Counts words between
1775 * BufferView_pimpl.C (getStatus, dispatch): handle
1778 * LyXAction.C (init):
1779 * lfuns.h: add LFUN_WORDS_COUNT.
1781 2004-12-19 Angus Leeming <leeming@lyx.org>
1783 * buffer.C (save): s/slashify_path/internal_path/.
1785 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1787 * lyxfind.C (findChange): do not search for end of pars, because
1788 the change tracker cannot handle this (fixes bug 1719).
1790 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1792 * paragraph.[Ch] (autoBreakRows): remove
1794 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1796 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1797 avoid using the paragraph one
1799 * text2.C (LyXText, insertStringAsLines): adjust
1801 2004-12-16 Angus Leeming <leeming@lyx.org>
1805 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1807 2004-12-14 Angus Leeming <leeming@lyx.org>
1809 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1811 * bufferlist.C (emergencyWrite):
1812 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1815 2004-12-14 Angus Leeming <leeming@lyx.org>
1817 * main.C: (main): no longer pass pointers to os::init.
1819 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1821 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1822 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1824 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1827 * text3.C: remove selection_possible global flag
1829 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1831 * text2.C (getSelectionSpan): remove
1832 (changeDepth, changeDepthAllowed): adjust
1834 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1836 * Makefile.am (BOOST_LIBS): use boost variables
1838 2004-12-03 José Matos <jamatos@lyx.org>
1840 * buffer.C: format up to 238.
1842 2004-12-03 José Matos <jamatos@lyx.org>
1844 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1846 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1848 * cursor.C (goUpDown): remove call to idxUpDown2
1850 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1852 * tabular.[Ch]: use size_t-like types for cell, row and column
1855 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1857 * lyxfunc.C (getStatus): do not lose previous information when
1858 calling BufferView::getStatus; do not set a default "Command
1859 disabled" message at the beginning, but just before returning.
1861 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1863 * cursor.h (getStatus): add better comment from src/cursor.C
1865 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1867 * text3.C (getStatus): return false when the lfun is not handled
1869 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1871 * broken_headers.h: remove
1873 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1875 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1877 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1878 offset_ref accessors
1880 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1881 top_y_, merge fitcursor with update
1882 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1884 (metrics): introduce
1885 (workAreaDispatch): adapt to new coord scheme
1886 (redoCurrentBuffer): remove
1888 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1890 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1893 * coordcache.[Ch]: add paragraph cache and helpers
1895 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1898 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1899 (targetX, setTargetX): introduce
1901 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1902 baseline -> ascent, as the rest of lyx
1904 * lyxtext.h: remove redoParagraphs, updateParPositions,
1905 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1906 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1907 have ascent/descent (ascent is ascent of first par)
1909 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1912 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1914 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1916 * pariterator.C: fix infinite loop introduced in par->pit renaming
1918 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1919 in insets and LyXText, draw two off-screen paragraphs using
1920 NullPainter, and adapt to new coord scheme
1924 * text3.C: adapt lfun handlers to the new coord scheme, which
1925 means: there's only guaranteed coord information for onscreen pars
1926 plus one above and one below. This implies that one can do search
1927 from y coordinates in the range [-1,workHeight]
1929 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1931 * rename a lot of InsetOld to InsetBase
1933 2004-11-25 Angus Leeming <leeming@lyx.org>
1935 * BufferView_pimpl.C:
1937 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1939 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1941 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1942 call BufferView::getStatus if LCursor::getStatus did nothing
1943 (setStatusMessage, getStatusMessage): removed.
1945 * FuncStatus.C (message): new methods. Used to provide an error
1946 message indicating why a command is disabled.
1947 (clear, |=, FuncStatus): update for message.
1949 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1951 * lyxfunc.C (dispatch): always call sendDispatchMessage
1953 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1956 * BufferView_pimpl.C:
1961 * cursor_slice.[Ch]:
1964 * paragraph_funcs.C:
1970 * undo.C: par->pit renaming
1972 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1974 * tabular.C (cellstruct): use initialization, store a shared_ptr
1975 to insettext instead of the insettext directly, adjust to fit.
1976 (operator=): new function
1977 (swap): new function
1978 (rowstruct): use initialization
1979 (columnstruct): use initialization
1980 (ltType): use initialization
1983 * lyxlength.h (swap): new function
1985 * LColor.[Ch] (operator=): use the common semantics
1987 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1989 * lyxfind.C (findNextChange): update the bufferview after setting
1992 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1994 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1995 number of InsetOptArgs has already been inserted.
1997 * output_latex.C (latexOptArgInsets): new method. This outputs all
1998 the optarg insets, up to the limit defined in the layout file.
1999 (optArgInset): removed
2000 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2002 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2004 * paragraph.C (isLetter): remove special spellchecker-related
2005 code; return true also for digits
2006 (isWord, isKomma): remove
2008 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2009 * lyxfind.C (MatchString()): use isLetter instead of isWord
2011 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2013 * pariterator.h (operatir=): comment out un-implemented member
2016 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2019 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * lyxfont.h: include LColor.h to satisfy concept checks.
2023 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2025 * pariterator.h: add typdefs for value_type, difference_type,
2026 pointer and reference to satisfy concept checks. Also add default
2027 constructor for same reason.
2029 * pariterator.C (operator++): add post-increment operator to
2030 satisfy concept checks.
2032 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2035 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2037 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2038 checks. Also rename base_type to BaseType to follow naming
2041 * FloatList.h: include Floating.h to satisfy concept checks.
2043 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2045 * lyxfunc.C (getStatus): when the origin of the request is menu or
2046 toolbar, and the LyXView does not have focus, do as if there was
2047 no buffer (bug 1720)
2049 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2050 FuncRequest to individual entries of LFUN_SEQUENCE
2052 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2054 * output_latex.C (TeXOnePar): override runparams.moving_arg
2055 according to the needprotect value of the current paragraph (bug
2058 * paragraph.C (simpleTeXOnePar): no need to override
2059 runparams.moving_args here
2061 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2063 * vspace.C: fix off-by-one-error, related to fix #1682
2065 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2067 * lengthcommon.C: a more general fix for bug 1682
2069 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2071 * text.C (backspace): fix crash
2073 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2075 * format.[Ch] (getFormatFromFile): new method
2076 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2078 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2080 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2082 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2084 * lyxfunc.C (dispatch): remove the verbose argument
2085 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2088 * kbmap.C (defkey): set the origin of func to KEYBOARD
2090 * MenuBackend.C (MenuItem):
2091 * ToolbarBackend.C (add): set the origin of func to UI
2093 * funcrequest.[Ch]: add origin member, which indicates which part
2094 of LyX requests an action
2096 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2098 * converter.C (move): don't lie in the error message
2099 * converter.h (isReachable, move): document
2101 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2103 * buffer.C: remove unused using lyx::support::atoi
2104 * paragraph_funcs.C: ditto
2106 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2108 * bufferlist.C (exists): use bind and equal_to instead of
2111 * lyxtextclasslist.C (NumberOfClass): ditto
2113 * cursor.C (insert): use for_each instead of explicit for loop
2115 * bufferlist.C (getFileNames): use std::transform and
2116 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2118 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2121 * buffer.C (changeLanguage): use for_each instead of explicit for
2123 (hasParWithID): implement using getParFromID
2125 * LaTeXFeatures.C: ws change only
2127 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2130 * BufferView_pimpl.C (trackChanges): use for_each instead of
2133 2004-11-04 André Pönitz <poenitz@gmx.net>
2136 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2138 * dociterator.C (asDocIterator): use hard assert again.
2140 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2142 * lyxlength.C (asLatexString): rewrite so that it does not use
2145 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2147 * text3.C (specialChar, dispatch): make sure cursor moves to the
2148 right after inserting an inset
2150 2004-11-02 José Matos <jamatos@lyx.org>
2152 * output_docbook.C (docbook):
2153 * paragraph.C (getID):
2154 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2155 garantee that the output is always legal.
2157 * tabular.C (docbook):
2158 * outputprams.[Ch]: remove mixed contents.
2160 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2162 * text2.C (setCounter): prevent endless loop
2164 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2166 * exporter.C (copyFile): use the mover instead of support::copy()
2167 * exporter.C (Export): pass format and latex name to copyFile()
2168 * exporter.h (addExternalFile): document
2169 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2171 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2173 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2175 2004-10-30 José Matos <jamatos@lyx.org>
2177 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2178 text and no inset or font change. This allows to use CDATA
2179 sections just for the whole paragraph.
2181 2004-10-30 José Matos <jamatos@lyx.org>
2183 * paragraph.C (getFirstWord): remove unused variable.
2185 2004-10-30 José Matos <jamatos@lyx.org>
2187 * paragraph.C (getFirstWord): the content should always be escaped
2189 (simpleDocBookOnePar):
2190 * output_docbook.C (makeEnvironment): replace reference to CDATA
2193 2004-10-30 José Matos <jamatos@lyx.org>
2195 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2197 2004-10-30 José Matos <jamatos@lyx.org>
2199 * output_docbook.C (makeParagraphs):
2200 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2201 standard paragraph has only a given type of content drop the wrapper.
2203 2004-10-29 José Matos <jamatos@lyx.org>
2205 * output_docbook.C (makeEnvironment):
2207 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2209 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2211 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2212 (cleanID): sanitize any id.
2214 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2216 * buffer.C, lyxlex_pimpl.C:
2217 * lyxlex_pimpl.C (setFile):
2218 s/getExtFromContents/getFormatFromContents/
2220 2004-10-28 José Matos <jamatos@lyx.org>
2222 * output_docbook.C (makeEnvironment): move id to broadest possible
2225 * sgml.C (openTag): apply substitution of <> for all attributes.
2227 2004-10-28 José Matos <jamatos@lyx.org>
2229 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2230 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2231 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2233 * sgml.[Ch]: new version for open and closeTag for paragraph and
2234 for strings. Now they handle the ids of paragraphs.
2236 2004-10-26 Angus Leeming <leeming@lyx.org>
2238 * Makefile.am: add mover.[Ch].
2240 * converter.C (convert, move): use the new Movers to move external
2241 files to the temp directory.
2243 * lyx_main.C (init): ensure that the global system_movers data
2246 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2249 * mover.[Ch]: new files, defining a Mover as a utility to move an
2250 external file between directories and, if necessary, manipulate this
2251 file using a helper script.
2253 2004-10-25 José Matos <jamatos@lyx.org>
2255 * output_docbook.C (makeCommand): merge two if's that tested the
2258 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2260 * sgml.C (escapeString): fix warning in a better way
2262 2004-10-25 José Matos <jamatos@lyx.org>
2264 * sgml.C (escapeString): import the require boosts header file for
2265 tie, and avoid a signed unsigned comparison.
2267 2004-10-25 José Matos <jamatos@lyx.org>
2269 * sgml.h: add #include <string>
2271 2004-10-25 José Matos <jamatos@lyx.org>
2273 * sgml.[Ch] (escapeString): new function to escape all the string.
2275 2004-10-24 José Matos <jamatos@lyx.org>
2277 * paragraph.[Ch] (getFirstWord): new function to get the first
2278 word. Useful for description.
2279 (simpleDocBookOnePar): remove depth argument, add another that
2280 says where to start the paragraph.
2282 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2283 use the new functions to fix cleanly the support for descriptions.
2285 2004-10-24 José Matos <jamatos@lyx.org>
2287 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2288 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2289 * output_linuxdoc.C (linuxdocParagraphs):
2290 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2291 add buffer as argument.
2293 2004-10-24 José Matos <jamatos@lyx.org>
2295 * output_docbook.C (makeEnvironment, searchEnvironment): place
2296 CDATA inside paragraphs and fix scope for listitems.
2298 2004-10-24 José Matos <jamatos@lyx.org>
2300 * output_docbook.C: remove using statement for stack.
2302 2004-10-23 José Matos <jamatos@lyx.org>
2304 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2305 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2306 docbook. The new scheme is recursive and makes use of iterators, the
2307 same as latex export works.
2308 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2309 directly with the paragraph contents. This code was moved up to
2310 output_docbook.C (docbookParagraphs).
2311 * sgml.C (openTag, closeTag): removed unneeded newlines.
2312 (closeEnvTags) removed.
2314 2004-10-23 André Pönitz <poenitz@gmx.net>
2316 * undo.C (textUndoOrRedo):
2317 * dociterator.C (asDocIterator): work around crash
2319 * cursor.C (getStatus): replace ASSERT by more verbose error message
2320 and manual correction of the problem. Should increase stability
2321 while providing more sensible information.
2323 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2325 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2327 * bufferlist.C (previous, next): new methods
2330 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2332 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2334 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2335 entities to preamble.
2337 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2339 * messages.C (Pimpl): strip off translation context information
2341 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2343 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2344 the cursor is correct (bug 1694)
2346 2004-10-13 José Matos <jamatos@lyx.org>
2348 * output_docbook.C (docbookParagraphs): fix closing tags in the
2349 end of the document.
2351 2004-10-09 José Matos <jamatos@lyx.org>
2353 * buffer.C: format up to 237.
2354 * bufferparams.C (write): use tostr to convert booleans to strings.
2356 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2358 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2360 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2362 * LaTeX.C: implement use of babel language in xindy.
2364 2004-10-05 José Matos <jamatos@lyx.org>
2366 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2367 Add new translators to help reading and writing the lyx file.
2369 2004-10-05 José Matos <jamatos@lyx.org>
2371 * ParagraphParameters.C (read):
2372 * text.C (readParToken): replace nexToken by more appropriate lex
2375 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2377 * LaTeX.C (runMakeIndex):
2378 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2379 (usually 'makeindex') configurable.
2381 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2382 with a variable rather than with a number.
2384 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2386 * output_latex.C (TeXOnePar): make sure font setting is the first
2387 thing that gets output (and the last at the end). Should fix bug
2390 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * pch.h: use proper signal include
2394 * LaTeX.h: Use preferred calling of Boost.Signal
2397 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * pch.h: dont include <boost/function/function0.hpp>
2401 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2403 * paragraph_pimpl.h: remove usage of ShareContainer
2405 * paragraph_pimpl.C: remove initialization of ShareContainer.
2407 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2411 * BufferView.C (putSelectionAt): change the semantics when
2412 backwards == true: now, this just swaps cursor and anchor wrt the
2415 * BufferView.h (putSelectionAt): add some documentation
2417 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2418 make sure backwardChar is done at least once (to avoid getting
2420 (findNextChange): use putSelectionAt in the forward direction
2421 (operator()): use Paragraph::isWord
2423 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2425 * Spacing.C (set): c_str fix
2427 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2429 * lyx_cb.C (Reconfigure): quote the name of configure script in
2430 case it contains spaces
2432 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2436 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2437 (BOOST_LIBS): use top_buildir when looking for the file
2439 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2441 * pch.h: do not use include boost/format.hpp, multiple symbols
2442 will result (gcc bug)
2445 2004-08-23 José Matos <jamatos@lyx.org>
2447 * bufferparams.C (readToken): fix reading of the author field.
2449 2004-08-20 José Matos <jamatos@lyx.org>
2451 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2453 2004-08-20 José Matos <jamatos@lyx.org>
2455 * lyxlex.[Ch] (findToken): remove function.
2457 * ParagraphParameters.C (findToken):
2458 * bufferparams.C (findToken): replace call for previous function
2459 with local copy. This local function has one more argument, the
2460 read string argument.
2462 2004-08-16 José Matos <jamatos@lyx.org>
2464 * ParagraphParameters.C (write):
2465 * Spacing.C (writeFile):
2466 * bufferparams.C (writeLaTeX):
2467 * lyx_cb.C (Reconfigure):
2468 * paragraph.C (write):
2469 * tabular.C (write): remove unnecessary space at end of line.
2472 2004-08-16 José Matos <jamatos@lyx.org>
2474 * text.C (readParagraph): remove debug message.
2476 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2478 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2481 * output_plaintext.C (asciiParagraph): set depth correctly
2483 * outputparams.h: add member depth
2485 * paragraph_funcs.C (ownerPar): remove.
2487 * text2.C (setCounter): remove first_pit; comment out some
2488 non-working code that uses ownerPar
2490 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2493 2004-08-16 José Matos <jamatos@lyx.org>
2495 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2496 For the same level of importance use the same chanel to report problems.
2497 (read): add code to deal with \begin_body and \end_body.
2500 2004-08-15 José Matos <jamatos@lyx.org>
2502 * lyxlex.C (getString): fix comment, buffer::readBody is now
2503 buffer:readDocument.
2505 * tex-strings.C (string_papersize): Default -> default,
2506 Custom -> custom, for consistency with other options.
2508 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2512 * Makefile.am: support pch
2514 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2516 * text.C (readParToken): remove the static LyXFont variable and
2517 pass it as a parameter instead. This fixes a nasty bug where an
2518 inset will be inserted with a bad font in some situations
2519 (readParagraph): adapt
2521 * text2.C (setCounter): reduce number of calls to pars_[pit]
2523 * text.C (singleWidth): add an assert, fix a test
2525 * rowpainter.C (paintText): reduce number of calls to singleWidth
2527 * paragraph.C (isHfill):
2528 (isNewline): ws only
2530 2004-08-14 André Pönitz <poenitz@gmx.net>
2535 * lyxtext.h (several functions): use a Paragraph & argument
2538 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2540 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2542 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2544 * text.C (singleWidth): remove useless test
2546 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2548 * tabular.h: remove bogus comments
2550 * tabular.C (getDescentOfRow):
2551 (isPartOfMultiColumn): add assertions
2553 * lyxlength.C (inPixels): remove #warning
2555 2004-08-14 André Pönitz <poenitz@gmx.net>
2557 * paragraph.h: inline getChar()
2559 * BufferView.h: remove unused declarations
2561 2004-08-14 José Matos <jamatos@lyx.org>
2563 * Buffer.[Ch] (readDocument): new name for old readBody.
2564 * Buffer.C: new file format, new keywords: \begin_document,
2565 \begin_header, \begin_body, \end_body.
2567 * bufferparams.C (readToken): replace all calls to lex.nextToken
2568 by lex.next(). Do the same to eatLine except where really needed.
2570 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2571 line when writing to the lyx file.
2573 * output_plaintext.C (asciiParagraph): fix Bibliography style
2576 * text.C (read): fix end of file handling.
2578 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2580 * MenuBackend.C (Menu::operator[]): new method to access
2581 individual menu items
2582 (Menu::hasFunc): new method. search for an item that corresponds
2584 (MenuBackend::specialMenu): new method
2585 (MenuBackend::expand): if a special menu has been set, skip
2586 entries whose func() appears in this menu
2588 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2590 * text3.C: use Debug::DEBUG a bit more
2592 * text.C (leftMargin): try to simplify a tiny bit change var x to
2593 l_margin. Dont output the wide margins always.
2594 (rightMargin): no margin in inner texts
2596 * rowpainter.h (nestMargin): new func
2597 (changebarMargin): new func
2598 (rightMargin): new func
2600 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2604 * factory.C (createInset): modify setDrawFrame
2606 * cursor.C: use Debug::DEBUG a bit more
2608 2004-08-14 André Pönitz <poenitz@gmx.net>
2611 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2612 cache for all insets in (at least partially) visible (top-level)
2615 * BufferView_pimpl.C: reset external coord cache before every update.
2616 This means the coord cache only contains valid entries.
2618 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2621 * BufferView_pimpl.C (getInsetByCode): move function out of class
2622 and change in to a template in anon namespace. Also fix to do what
2625 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2628 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2630 (breakParagraph): rename par to par_offset and use a local
2631 reference. Add code to keep the language over a rebreak.
2632 (breakParagraphConservative): rename par to par_offset, use a
2634 (mergeParagraph): ditto
2636 (isFirstInSequence): ditto
2637 (outerFont): rename pit to par_offset
2639 * paragraph.C: ws change
2640 * paragraph.h: ditto
2644 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2646 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2649 * paragraph.C (simpleTeXOnePar): when we have a \item with
2650 optional argument, enclose the argument with curly brackets (in
2651 case it contains a closing square bracket)
2655 * text3.C (checkInsetHit): constify
2657 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2659 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2660 documents (bug 1629)
2662 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2664 Fix toggling of collapsable insets with the mouse (bug 1558)
2666 * lyxfunc.C (dispatch): adapt to LCursor changes
2668 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2669 make sure that dispatch is not invoked twice
2671 * cursor.C (needsUpdate): new method
2672 (dispatch): return void
2673 (result): new method, to access the DispatchResult of the cursor.
2675 2004-08-13 José Matos <jamatos@lyx.org>
2677 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2679 2004-08-13 André Pönitz <poenitz@gmx.net>
2681 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2683 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2686 2004-08-12 André Pönitz <poenitz@gmx.net>
2688 * text3.C: take out the 'cursor right' form insertInset and only
2689 do it in those places when it is really needed. Fixes crash on
2692 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2694 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2696 * BufferView_pimpl.C (setBuffer): initialize the current font of
2697 the underlying LyXText
2699 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2701 * kbsequence.C (print): use UI native formatting for menu
2704 * text.C (insertChar): call Paragraph::insertChar with a font
2707 * paragraph.C (insertInset, insertChar): the version that takes a
2708 LyXFont argument is now a wrapper around the other one (the
2709 opposite used to be true).
2711 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2712 argument. Font setting is done in Paragraph now.
2714 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2716 * outputparams.h: add new members intitle and lang.
2718 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2719 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2721 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * text3.C (dispatch): remove special handling of button 4 and 5,
2724 it is now taken care of in the frontend code.
2726 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2728 * Spacing.h: add <string> (STLPort compile fix)
2730 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2732 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2734 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2736 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2739 * converter.C (showMessage): inherit from unary_function, make
2742 * buffer.C (writeFile): initialize retval
2744 * InsetList.h: rename private variable list to list_
2745 * InsetList.[Ch]: adjust accordingly.
2747 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2749 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2750 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2751 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2752 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2753 * ParagraphParameters.C, LaTeXFeatures.C: replace
2754 "support/std_sstream.h" with <sstream>
2756 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2759 * lyxsocket.C (LyXServerSocket): ditto
2760 (serverCallback): ditto
2762 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2764 * LaTeXFeatures.C: check release date when loading jurabib.
2766 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2768 * lyxserver.C (startPipe): call register_socket_callback
2769 (endPipe): call unregister_socket_callback
2771 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2773 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2774 (LyXServerSocket): register the callback
2775 (LyXServerSocket): unregister the callback
2776 (fd): delete function
2777 (serverCallback): improve error checking and setup the callbacks.
2778 (dataCallback): change arg to fd.
2779 (writeln): new func (copied fro the client socket) used for server
2781 (LyXDataSocket): simplify
2782 (~LyXDataSocket): close ann unregiser callback
2783 (server): delete function
2784 (fd): delete function
2785 (readln): small changes, improve some std::string usage
2786 (writeln): constify a bit
2788 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2790 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2793 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2795 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2796 after it has been populated
2798 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2800 * text2.C (insertInset): move cursor when inserting inset.
2802 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2804 * kbmap.C (findbindings): a couple of new methods. returns a
2805 container of kb_sequence objects. The real work is done by the
2806 private recursive version
2807 (printbindings): uses findbindings to print out a bracketed list
2808 of bindings (renamed from findbinding).
2810 * MenuBackend.C (binding): use kb_keymap::findbindings
2812 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2814 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2816 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2818 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2820 * paragraph.C (isWord): return true on insets that report
2823 * text.C (getWord): use Paragraph::isWord to decide what is in a
2824 word and what is not; fix bug 1609.
2826 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2828 * tex-strings.C: add "none" to string_paperpackages[], fixes
2829 off-by-one-error in the paperpackage selection.
2832 * tex-strings.[Ch]: char const * string[n]
2833 -> char const * const string[]
2835 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2837 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2838 command, return early.
2840 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2842 * debug.h: add DEBUG to enum and fix size of ANY.
2844 * debug.C: add support for Debug::DEBUG
2845 (showTags): cast errorTags.level to unsigned int
2847 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2848 (redoCurrentBuffer): ditto
2849 (updateScrollbar): ditto
2850 * cursor.C (dispatch): ditto
2851 * text2.C (setLayout): ditto
2853 (updateCounters): ditto
2855 (deleteEmptyParagraphMechanism): ditto
2857 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2860 annotations to cleanup the Makefile slightly.
2862 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2864 * lyxrc.C: do not set user_email to a default value but use empty
2865 instead. The entry used to be translated, which does not work
2866 since at the point where lyxrc is constructed there is no
2867 translation service available
2869 * messages.C (getLocaleDir): remove and use directly
2870 lyx_localedir() instead
2872 2004-06-02 Angus Leeming <leeming@lyx.org>
2874 Fix crash caused by dereferencing null pointer 'exportdata' in
2875 OutputParams by creating a new ExportData variable on the heap,
2876 storing it in a boost::shared_ptr.
2877 The crash was triggered when generating an Instant Preview
2878 of an external inset.
2880 * Makefile.am: add outputparams.C
2882 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2883 (c-tor): allocate memory to it.
2885 * exporter.C (c-tor): associated changes.
2887 2004-06-01 Angus Leeming <leeming@lyx.org>
2889 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2890 contains data before calling isInset(0). (Bug 1513.)
2892 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2894 * exporter.C (checkOverwrite): new method
2895 * exporter.C (copyFile): new method
2896 * exporter.C (Export): copy referenced files to the document dir
2897 * exporter.[Ch]: new class ExportedFile
2898 * exporter.[Ch]: new class ExportData. Contains currently the
2899 names of referenced external files
2900 * outputparams.h: add exportdata member.
2902 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2904 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2907 2004-05-19 Angus Leeming <leeming@lyx.org>
2912 * lyxfunc.C: small changes due to the introduction of namespace
2913 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2915 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2917 * text3.C (dispatch): supress update when only moving the cursor
2918 * cursor.C (selHandle): remove commented code
2920 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2922 * paragraph.C (startTeXParParams): correct column count
2923 * CutAndPaste.C (pasteSelection): remove const_cast
2924 * output_docbook.C (docbookParagraphs): remove const_cast
2925 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2926 const_cast and return ParagraphList::const_iterator
2927 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2928 * output_plaintext.C (writeFileAscii): remove const_cast
2929 * paragraph.[Ch] (simpleTeXOnePar): make const
2930 * paragraph_funcs.C (outerPar): use const iterators
2931 * paragraph_pimpl.C (validate): use const iterators
2932 * text.C (setHeightOfRow): use const iterators
2934 2004-05-17 Angus Leeming <leeming@lyx.org>
2937 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2939 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2940 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2941 if the citation engine has changed.
2943 2004-05-14 José Matos <jamatos@lyx.org>
2945 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2946 if the textclass does not provide it. Have it different for sgml and
2948 support the language of document.
2949 * output_docbook.C (docbookParagraphs):
2950 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2951 first anchor as the id of the paragraph, remove special case code.
2952 * sgml.C (escapeChar): escape only < & >.
2954 2004-05-14 Angus Leeming <leeming@lyx.org>
2956 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2957 dependencies on src/frontends/controllers/biblio.h. Define a
2958 CiteEngine_enum wrapper class to enable the enum to be forward
2961 2004-05-12 Angus Leeming <leeming@lyx.org>
2963 * buffer.C: up LYX_FORMAT to 234.
2964 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2965 use_numerical_citations with a single biblio::CiteEngine cite_engine
2967 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2969 2004-05-13 José Matos <jamatos@lyx.org>
2972 * converter.C (Converter, readFlags): add xml member.
2973 * outputparams.h: add XML flavor.
2974 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2976 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2978 * lyxfunc.C (dispatch):
2979 (getStatus): fix handling of LFUN_SEQUENCE
2981 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2983 * debug.C (showLevel): do not forget the end-of-line marker
2985 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2987 * kbmap.C (read): do not stop parsing a bind file when an error
2990 2004-04-29 Angus Leeming <leeming@lyx.org>
2995 * text2.C: wrap a bunch of #warning statements
2996 inside #ifdef WITH_WARNINGS blocks.
2998 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3000 * buffer.C: increment format to 233.
3002 2004-04-28 Angus Leeming <leeming@lyx.org>
3004 * BufferView_pimpl.C:
3007 s/updateToolbar()/updateToolbars()/
3008 s/Toolbar.h/Toolbars.h/
3010 2004-04-28 Angus Leeming <leeming@lyx.org>
3012 * BufferView.[Ch] (c-tor):
3013 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3014 No longer passes these data to the WorkArea generator.
3016 2004-04-28 Angus Leeming <leeming@lyx.org>
3018 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3020 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3022 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3024 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3026 * output_latex.C (TeXEnvironment): make sure that there is a line
3027 break before \end{foo} for the last paragraph of a document
3028 (TeXOnePar): if the paragraph is at the end of the document (or
3029 inset) and the language has to be reset, then make sure that the
3030 line break is _before_ the language command, not after (fixes bug
3031 1225); also make sure that the language reset command is the first
3032 thing after the paragraph (to ensure proper nesting of
3033 environments and thus fix bug 1404)
3035 2004-04-21 John Levon <levon@movementarian.org>
3038 * ToolbarBackend.C: make "name" be a programmatic name
3039 and a gui_name field.
3041 * lyxfunc.C: display the minibuffer on M-x
3043 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3045 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3048 2004-04-19 Angus Leeming <leeming@lyx.org>
3050 * BufferView_pimpl.C (setBuffer): changed preview interface.
3052 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3055 2004-04-19 John Levon <levon@movementarian.org>
3057 * BufferView_pimpl.C:
3058 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3060 2004-04-05 Angus Leeming <leeming@lyx.org>
3062 * text.C (redoParagraphs): add call to updateCounters(), thereby
3063 fixing the missing "Figure #:" label from the caption of a
3066 2004-04-13 Angus Leeming <leeming@lyx.org>
3068 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3069 cursor is clicked out of an inset.
3071 2004-04-13 Angus Leeming <leeming@lyx.org>
3073 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3074 than an InsetOld one.
3076 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3078 * format.[Ch]: add editor to Format
3079 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3080 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3082 2004-04-08 André Pönitz <poenitz@gmx.net>
3084 * metricsinfo.h: remove PainterInfo::width member
3086 2004-04-08 Angus Leeming <leeming@lyx.org>
3088 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3089 "\providecommand" rather than "\newcommand", thereby preventing
3090 clashes with packages that define "\boldsymbol" themselves.
3093 2004-04-08 Angus Leeming <leeming@lyx.org>
3095 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3096 thereby squashing an unnecessary warning.
3098 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3100 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3103 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3105 * BufferView.C (setCursor): call redoParagraph (some insets could
3107 (putSelectionAt): remove the 'double update' trick
3109 * BufferView_pimpl.C (fitCursor): call refreshPar
3110 (workAreaDispatch): remove an uneeded update call
3111 (dispatch): remove some manual update calls
3113 * cursor.[Ch]: remove cached_y_, updatePos
3114 (selHandle): set noUpdate when appropriate
3116 * lyxfunc.C (dispatch): track if we need an update
3118 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3120 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3121 (paintSelection): cheap optimization, do not call cursorX when not
3123 (paintPars): change signature
3126 (paintTextInset): adjust
3130 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3132 * lengthcommon.C: compilation fix: remove explicit array size from
3133 unit_name[] and friends
3135 2004-04-05 Angus Leeming <leeming@lyx.org>
3137 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3139 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3140 present only for the preferences dialog.
3141 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3143 2004-04-05 Angus Leeming <leeming@lyx.org>
3145 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3146 to enable the frontends to export changes to lyxrc correctly.
3148 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3150 2004-04-07 André Pönitz <poenitz@gmx.net>
3152 * cursor.[Ch] (selClear, adjust): remove math
3154 * cursor_slice.C: more agressive assert
3157 * BufferView_pimpl.C: rework mouse event dispatch
3164 2004-04-05 André Pönitz <poenitz@gmx.net>
3166 * cursor.[Ch] (valign, halign...): remove unneeded functions
3168 2004-04-05 Angus Leeming <leeming@lyx.org>
3170 * lyxlength.[Ch] (unit_name et al.): const-correct.
3172 2004-04-05 Angus Leeming <leeming@lyx.org>
3174 * BufferView_pimpl.C:
3183 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3185 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3187 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3189 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3191 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3192 * BufferView_pimpl.[Ch] (getStatus)
3193 * BufferView.[Ch] (getStatus): add
3194 * lyxfunc.C (getStatus): move lfuns handled in
3195 BufferView::dispatch to te function above
3196 * Cursor.C (setSelection): set selection() = true
3198 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3200 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3202 2004-03-31 Angus Leeming <leeming@lyx.org>
3204 * lyxfunc.C (dispatch): Fall through to the generic
3205 Dialogs::show("preamble").
3207 2004-03-31 Angus Leeming <leeming@lyx.org>
3209 * lyxfunc.C (dispatch): Fall through to the generic
3210 Dialogs::show("spellchecker").
3212 2004-03-31 Angus Leeming <leeming@lyx.org>
3214 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3217 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3222 * insetiterator.[Ch]:
3227 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3229 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3231 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3232 insets where we are putting the cursor.
3234 2004-03-31 Angus Leeming <leeming@lyx.org>
3237 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3239 * lyxrc.[Ch] (read, write): overloaded member functions taking
3240 a std::[io]stream arguments.
3242 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3244 2004-03-31 Angus Leeming <leeming@lyx.org>
3246 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3247 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3249 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3250 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3252 2004-03-31 Angus Leeming <leeming@lyx.org>
3254 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3255 the LFUN_ALL_INSETS_TOGGLE code.
3257 2004-03-30 Angus Leeming <leeming@lyx.org>
3259 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3260 has died. Fall through to the generic Dialogs::show("document").
3262 2004-03-30 Angus Leeming <leeming@lyx.org>
3265 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3266 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3268 * lyxfunc.C (getStatus, dispatch): define the actions for these
3269 lfuns. Little more than a cut and pste job from ControlDocument.C
3271 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3273 2004-03-30 Angus Leeming <leeming@lyx.org>
3276 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3277 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3279 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3280 open/closed state of ollapsable insets. Usage:
3282 all-inset-toggle <state> <name>, where
3283 <state> == "open" || "closed" || "toggle" and
3284 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3286 * lyxtext.h, text2.C (toggleInset): removed.
3288 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3289 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3290 now passes LFUN_INSET_TOGGLE to the found inset.
3292 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3293 is now invoked as "all-insets-toggle toggle branch".
3295 2004-03-30 Angus Leeming <leeming@lyx.org>
3299 * pariterator.[Ch]: added/corrected header blurb.
3301 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3303 * dociterator.[Ch]: add an inset_ member
3304 (backwardPos): implemented
3305 (backwardPos, forwardPos): use inset_ when the stack is empty.
3306 (doc_iterator_begin, doc_iterator_end): implemented
3307 * pariterator.[Ch]: adjust, add begin, end
3308 * insetiterator.[Ch]: adjust, add begin, end
3312 * BufferView_pimpl.C:
3313 * CutAndPaste.C: adjust
3315 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3317 * buffer.C: increment file format to 232.
3318 * LaTeXFeatures.C: add bibtopic package.
3319 * bufferparams.[Ch]: param \use_bibtopic.
3321 * lyxrc.[Ch]: add lyxrc bibtex_command
3322 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3324 * buffer.C: increment file format to 231.
3326 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3328 * dociterator.C: implement forwardPar
3329 * iterators.[Ch]: remove, replaced by
3330 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3332 * BufferView_pimpl.C:
3335 * bufferview_funcs.C:
3341 * Makefile.am: adjust
3343 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3345 * CutAndPaste.C (pasteSelection): fix 2 crashes
3346 (eraseSelection): fix a crash
3347 * paragraph_funcs.C: remove a warning
3349 2004-03-28 Angus Leeming <leeming@lyx.org>
3352 * LyXAction.C (init): new LFUN_PRINT.
3354 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3356 2004-03-27 Angus Leeming <leeming@lyx.org>
3359 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3361 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3363 2004-03-27 Angus Leeming <leeming@lyx.org>
3365 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3366 insetlist always contains non-null pointers to insets.
3368 2004-03-26 Angus Leeming <leeming@lyx.org>
3370 * src/BufferView_pimpl.C:
3371 * src/CutAndPaste.C:
3374 * src/output_plaintext.C:
3375 * src/outputparams.h:
3376 * src/paragraph_funcs.C:
3380 * src/frontends/controllers/ControlErrorList.C:
3381 * src/frontends/gtk/FileDialogPrivate.C:
3382 * src/frontends/gtk/GPainter.C:
3383 * src/frontends/gtk/GToolbar.C:
3384 * src/frontends/qt2/QRef.C:
3385 * src/mathed/math_scriptinset.C: squash compiler warnings.
3387 2004-03-26 Angus Leeming <leeming@lyx.org>
3389 * ispell.C (LaunchIspell::start):
3390 * lyx_cb.C (AutoSaveBuffer::start):
3391 invoke run(DontWait) rather than runNonBlocking().
3393 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3395 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3397 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3399 * kbsequence.C (print): adjust
3401 * kbmap.C (printKeySym): rename and change signature
3402 (printKey): use LyXKeySym::print()
3404 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3406 * undo.C: add using std::advance to compile for stlport
3408 2004-03-24 Angus Leeming <leeming@lyx.org>
3410 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3411 it leads to a crash when no buffer is present.
3413 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3414 Martin Vermeer <martin.vermeer@hut.fi>
3416 * lyxfunc.C (dispatch):
3417 * bufferparams.C (readToken): use the new LColor::setColor
3419 * LColor.[Ch] (setColor): new version that takes two strings as
3420 argument and creates a new color entry if necessary
3422 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3424 * buffer.C (makeLaTeXFile): if the main latex file that is
3425 processed is usually a subdocument of some master, then pretend
3426 for a while that it is actually the master
3428 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3430 * buffer.C (getLabelList):
3431 (getBibkeyList): use getMasterBuffer()
3432 (getMasterBuffer): new method. Returns the main document in the
3433 case where one is using included documents.
3435 2004-03-25 André Pönitz <poenitz@gmx.net>
3439 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3441 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3443 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3444 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3446 * ParameterStruct.h: merge with ParagraphParameters
3448 * lyxtext.h: remove LyXText::parOffset() and getPar()
3450 * text3.C: Remove all 'manual' update calls. We do now one per user
3451 interaction which is completely sufficient.
3455 * BufferView_pimpl.C:
3456 * FontIterator.[Ch]:
3458 * ParagraphParameters.[Ch]:
3463 * cursor_slice.[Ch]:
3470 * output_docbook.[Ch]:
3471 * output_latex.[Ch]:
3472 * output_linuxdoc.[Ch]:
3473 * output_plaintext.[Ch]:
3475 * paragraph_funcs.[Ch]:
3476 * paragraph_pimpl.[Ch]:
3484 * frontends/controllers/ControlDocument.C:
3485 * frontends/controllers/ControlErrorList.C:
3486 * frontends/controllers/ControlSpellchecker.C:
3489 * insets/insetbase.h:
3490 * insets/insetbibitem.C:
3491 * insets/insetbox.C:
3492 * insets/insetbranch.C:
3493 * insets/insetcaption.C:
3494 * insets/insetcharstyle.C:
3495 * insets/insetcharstyle.h:
3496 * insets/insetcollapsable.C:
3497 * insets/insetcollapsable.h:
3498 * insets/insetert.C:
3499 * insets/insetfloat.C:
3500 * insets/insetfoot.C:
3501 * insets/insetmarginal.C:
3502 * insets/insetnote.C:
3503 * insets/insetoptarg.C:
3504 * insets/insettabular.C:
3505 * insets/insettext.C:
3506 * insets/insettext.h:
3507 * insets/insetwrap.C:
3508 * mathed/math_mboxinset.C:
3509 * mathed/math_nestinset.C:
3510 * mathed/math_scriptinset.C:
3511 * mathed/math_scriptinset.h:
3514 2004-03-24 Angus Leeming <leeming@lyx.org>
3516 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3517 deal with any child processes that have finished but are waiting to
3518 communicate this fact to the rest of LyX.
3520 2004-03-24 Angus Leeming <leeming@lyx.org>
3522 64-bit compile fixes.
3524 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3525 (c-tor): pass lyx::pos_types rather than ints.
3527 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3530 * text.C (Delete): compile fix.
3531 (getPar): ensure that function declaration is the same as that in
3534 2004-03-23 Angus Leeming <leeming@lyx.org>
3536 * ispell.C (LaunchIspell):
3537 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3538 a boost::shred_ptr rather than a std::auto_ptr.
3540 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3542 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3543 handle LFUN_FILE_INSERT_*
3545 * lyxrc.C (setDefaults, getDescription, output, read):
3546 * lyxrc.h: remove ps_command
3548 2004-03-22 Angus Leeming <leeming@lyx.org>
3550 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3551 Ensure that error_handler is processed once only and that all data
3552 is saved before attempting to output any warning messages.
3554 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3556 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3558 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3560 2004-03-19 André Pönitz <poenitz@gmx.net>
3562 * cursor.[Ch] (reset): take main text inset as argument
3564 * BufferView: adjust
3565 * BufferView_pimpl.C: adjust
3567 * paragraph.[Ch]: fix completely broken operator=()
3569 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3571 * LColor.C (getFromLyXName): make sure that the color name is used
3574 2004-03-17 Angus Leeming <leeming@lyx.org>
3577 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3579 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3580 dialog and to kill a forked process.
3582 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3584 * text2.C (setCursorFromCoordinates): fix font problem
3586 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3588 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3589 bogus "rebuild cursor" code
3591 2004-03-11 André Pönitz <poenitz@gmx.net>
3593 * buffer.[Ch]: use InsetText instead of LyXText as container for
3596 * dociterator.[Ch]: drop the BufferView * member which is not needed
3597 anymore after the change to buffer.C
3599 * paragraph_funcs.C:
3603 * BufferView_pimpl.[Ch]:
3605 * cursor_slice.[Ch]: adjust
3607 * text3.C: fix bug in mathDispatch
3609 2004-03-08 André Pönitz <poenitz@gmx.net>
3611 * undo.[Ch]: use 'StableDocumentIterator' as base for
3614 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3617 * bufferparams.[Ch]: add jurabib support and param.
3619 * LaTeX.C: add FIXME/comment.
3621 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3623 * buffer.C: increment file format to 230.
3625 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3627 * cursor.C (dispatch): avoid infinite loops
3629 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3631 * rowpainter.C (paintSelection): fix x coordinates
3633 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3635 * text.C (rowBreakPoint): fix breaking before displayed insets
3637 2004-03-01 André Pönitz <poenitz@gmx.net>
3639 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3641 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3645 * BufferView_pimpl.C:
3653 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3659 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3660 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3662 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3664 * Bidi.[Ch] (computeTables): const correctness
3665 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3666 fill_hfill, fill_label_hfill and x from Row
3667 * lyxtext.h: prepareToPrint returns a RowMetrics
3668 * rowPainter.C: adjust
3669 * text.C (prepareToPrint): use width, not textWidth. adjust
3670 (redoParagraphInternal, cursorX): adjust
3671 * text2.C (getColumnNearX): adjust
3672 (init): put a default value to the top LyXText::width
3674 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3676 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3678 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3680 * lyxtext.h: add FontIterator class
3682 * text.C (FontIterator, operator*, operator->, operator++): add
3683 (rowBreakPoint, setRowWidth): adjust (fixing a
3686 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3688 * BufferView_pimpl.C (workAreaDispatch): allow also
3689 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3691 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3693 * text.C (rowBreakPoint): fix a bug showing with very large insets
3695 2004-02-25 André Pönitz <poenitz@gmx.net>
3698 * cursor.[Ch]: move some mathed specific code to mathed
3700 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3702 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3703 use_tempdir in preferences
3704 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3706 * lyx_main.C: ensure that tempdir is valid
3707 * lyxlex.h: correct typo
3708 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3709 * paragraph.[Ch] (isMultiLingual): make const
3710 * cursor.[Ch] (openable): make const
3712 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3714 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3716 2004-02-20 André Pönitz <poenitz@gmx.net>
3718 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3720 * cursor.[Ch]: prepare for localized getStatus()
3726 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3728 2004-02-20 André Pönitz <poenitz@gmx.net>
3730 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3732 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3734 * text2.C (setCursorFromCoordinates): switch to absolute coords
3736 (cursorDown): adjust
3737 * text3.C (dispatch): adjust
3739 2004-02-16 André Pönitz <poenitz@gmx.net>
3741 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3744 * cursor_slice.[Ch]: remove unneeded acessor function
3746 * lyxtext.h: rename rtl() to isRTL()
3754 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3756 * rowpainter.C (paintSelection): coord fix
3758 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3760 * Spacing.C: compile fix
3762 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3764 * cursor.C (dispatch): restore current_ before returning
3766 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3768 * text2.C (cursorUp, cursorDown): fix coords
3771 2004-02-12 André Pönitz <poenitz@gmx.net>
3776 * text3.C: add LCursor & parameter to most cursor movement functions
3777 remove usage of LyXText::cursorRow() and cursorPar()
3779 * cursor.[Ch]: add textRow() needed members
3782 * BufferView_pimpl.C:
3785 * BufferView_pimpl.C: adjust
3787 2004-02-11 André Pönitz <poenitz@gmx.net>
3791 * BufferView_pimpl.C: shift undo/redo handling
3793 * cursor.[Ch]: fix mathed crash
3796 * lyxtext.h: move selectionAsText to LCursor
3804 * rowpainter.C: fix excessive drawing
3806 2004-02-06 André Pönitz <poenitz@gmx.net>
3809 * BufferView_pimpl.[Ch]:
3810 * text3.C: move some text specific LFUN handling
3812 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3814 * text3.C (checkInsetHit): adjust coords
3815 * text2.C (getColumnNearX): adjust coords
3816 (edit): adjust coords
3817 * text.C (getRowNearY): add two asserts
3819 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3822 * format.C: add using std::distance to compile on gcc 2.95/stlport
3824 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3826 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3828 2004-02-04 André Pönitz <poenitz@gmx.net>
3830 * BufferView.[Ch] (insertInset):
3831 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3836 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3838 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3839 on the default clause of the switch
3840 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3841 wasn't catched by LCursor::dispatch
3843 2004-02-03 André Pönitz <poenitz@gmx.net>
3846 * cursor.[Ch]: some additional asserts
3848 * undo.[Ch]: remove LyXText dependency in interface
3852 * lyxtext.h (firstPar, lastPar): remove dead functions
3857 * paragraph.[Ch]: adjust
3859 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3861 * lyxfind.C (find): fix argument order in call to ::find
3863 2004-02-02 André Pönitz <poenitz@gmx.net>
3865 * cursor.[Ch]: remove direct access to anchor
3867 * text.C: remove findText() hack
3869 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3871 * iterators.[Ch] (lockPath): remove in favour of...
3872 * BufferView.[Ch] (setCursor): this addition
3873 * BufferView.C (putSelectionAt): adjust
3874 * undo.C (performUndoOrRedo): adjust
3875 * lyxfunc.C (dispatch): adjust
3877 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3879 * iterators.C (lockPath): add a missing slice
3880 * undo.C (performUndoOrRedo): remove redundant positioning code
3882 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * vc-backend.C (scanMaster): ";" -> ';'
3886 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3888 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3889 std::binary_function
3891 * lyxtextclass.C (compare_name): rename to...
3892 (LayoutNamesEqual): ...this
3894 * lyxlex_pimpl.C (compare_tags): inherit from
3895 std::binary_function, put back into anon namespace
3897 * lyxfind.C (MatchString): inherig from std::binary_function
3898 (findChange): use empty() istead of !size()
3900 * format.C (FormatNamesEqual): new functor
3907 * converter.C (compare_Converter): rename to...
3908 (ConverterEqual): ...this, and fixup a bit.
3909 (getConverter): use it, and make function const
3910 (getNumber): use it, and make function const
3914 * bufferlist.C: add using boost::bind
3916 * MenuBackend.C (MenuNamesEqual): new functor
3917 (hasMenu): use it, and make function const
3918 (hasSubmenu): use nested bind to get rid of compare_memfun.
3920 2004-01-30 André Pönitz <poenitz@gmx.net>
3922 * BufferView_pimpl.C:
3925 * cursor_slice.[Ch]:
3928 * paragraph_funcs.C:
3929 * paragraph_funcs.h:
3933 * text3.C: move some of the edit(x,y) handling to the insets
3934 some coordinate changes.
3936 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * text.C: add using statements for std::advance and std::distance
3940 * paragraph.C: add using statement for std::distance
3942 * lyxfind.C: add using statement for std::advance
3944 * cursor.C (region): remove std:: from swap
3945 (openable): use nucleus in stead of operator->
3947 * BufferView.C: add using statements for std::distance and std::swap
3949 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * iterators.C: Remove the pimple, move the needed structures to
3952 the header file. Create accessor for the positions stack.
3953 (asPosIterator): remove function
3955 * PosIterator.C (PosIterator): move constructors to top of file
3956 (PosIterator): reimplement the constructor taking a ParIterator in
3958 (setFrom): new function
3959 (operator!=): inline it
3961 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3963 * lyxfind.C (replaceAll): use std::advance
3965 * iterators.h: inherit from std::iterator.
3967 * PosIterator.C (advance, distance): remove
3968 * PosIterator.h: interit from std::iterator.
3970 2004-01-26 André Pönitz <poenitz@gmx.net>
3973 * BufferView_pimpl.[Ch]:
3977 * bufferview_funcs.C:
3987 * output_linuxdoc.C:
3988 * output_plaintext.C:
3990 * paragraph_funcs.[Ch]:
3991 * paragraph_pimpl.[Ch]:
3997 * text3.C: more IU: dumps most of the rest of the mathcursor
3998 implementation into cursor.[Ch]; "globalize" a bit of it.
4000 2004-01-25 Angus Leeming <leeming@lyx.org>
4002 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4004 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4006 * LaTeXFeatures.h: add nice_ and nice() const
4007 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4009 2004-01-20 André Pönitz <poenitz@gmx.net>
4012 * BufferView_pimpl.C:
4014 * bufferview_funcs.C:
4016 * cursor_slice.[Ch]:
4027 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4028 LCursor and mathcursor parts to LCursor and InsetBase.
4030 2004-01-15 André Pönitz <poenitz@gmx.net>
4032 * cursor_slice.[Ch]: add a few covienience functions
4034 * funcrequest.[Ch]: remove BufferView * member
4036 * BufferView_pimpl.C:
4043 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4045 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4047 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4048 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4050 2004-01-13 André Pönitz <poenitz@gmx.net>
4053 * lyxtext.h: hide cursor and selection anchor behind accessor function
4056 * BufferView_pimpl.[Ch]:
4058 * bufferview_funcs.C:
4068 * cursor_slice.[Ch]: some integer type changes for inset unification
4070 * lyxcursor.[hC]: remove, it's CursorSlice now.
4073 * BufferView_pimpl.[Ch]:
4074 * bufferview_funcs.C:
4080 * textcursor.[Ch]: adjust
4082 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4084 * text2.C (undoSpan): add and use
4085 * text.C (breakParagraph): use undoSpan (fix bug 578)
4088 2004-01-08 Angus Leeming <leeming@lyx.org>
4090 * BufferView_pimpl.C (MenuInsertLyXFile):
4091 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4092 * lyxfunc.C (menuNew, open, doImport):
4093 FileFilterList change to the FileDialog open and save functions.
4095 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * ShareContainer.h: make isEqual and isUnique adaptable
4099 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4101 2004-01-07 Angus Leeming <leeming@lyx.org>
4104 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4106 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4108 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4109 functions replacing find, replace and replaceAll.
4111 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4112 LFUN_WORDFIND(FORWARD|BACKWARD).
4114 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4116 * text.C (breakParagraph): remove an outdated #warning
4118 2004-01-07 André Pönitz <poenitz@gmx.net>
4120 * lyxfind.C: somewhat clearer logic
4122 * text.C: prevent crash in cursorX on unitialized row cache
4124 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4126 * lyxcursor.[Ch] (operator>): add
4127 * textcursor.C (selStart, selEnd): use std::min and std::max
4129 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4131 * Chktex.C: include boost/format.hpp
4133 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4135 * InsetList.C: replace functor MathcIt with adaptable functor
4137 (insetIterator): modify accordingly
4139 * BranchList.h: move the BranchNamesEqual functor here from...
4140 * BranchList.C: ... to here
4142 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4144 (add): replace a finding loop with std::find_if.
4146 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4148 * output_docbook.C: moving LatexParam functionality into
4151 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4153 * buffer.C: increment format to 229.
4155 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4158 * lyx_sty.[Ch]: remove minipageindent_def
4164 * text3.C: remove LFUN_INSET_MINIPAGE
4166 2003-12-28 Angus Leeming <leeming@lyx.org>
4168 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4170 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4172 * text2.C (setParagraph): fix off-by-one crash
4174 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4176 * output_docbook.C: header stuff for AGU
4178 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4180 * text2.C (redoCursor): remove
4183 * BufferView_pimpl.C: remove calls to redoCursor and
4184 setCursor(cursor.par(), cursor.pos()) all around
4186 2003-12-15 Angus Leeming <leeming@lyx.org>
4188 * buffer.C: up the format to 228.
4190 2003-12-15 André Pönitz <poenitz@gmx.net>
4192 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4197 * BufferView_pimpl.C:
4206 2003-12-15 Angus Leeming <leeming@lyx.org>
4208 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4209 than getFromGUIName to manipulate the color.
4211 2003-12-14 Angus Leeming <leeming@lyx.org>
4213 * BranchList.[Ch]: minimize the API.
4214 (Branch::getBranch, getColor): now return a 'const &'.
4215 (Branch::setSelected) now returns a bool set to true if the
4216 selection status changes.
4217 (BranchList::clear, size, getColor, setColor, setSelected,
4218 allBranches, allSelected, separator): removed.
4219 (BranchList::find): new functions, returning the Branch with
4221 (BranchList::add, remove): return a bool indicating that
4222 the operation was successful.
4224 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4225 new InsetBranch::isBranchSlected member function.
4227 * LColor.[Ch]: mimimize the API.
4228 (fill): renamed as addColor and made private.
4229 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4230 versions of these functions taking a string arg have been removed.
4232 * bufferparams.C (readToken):
4233 * lyxfunc.C (dispatch):
4234 * lyxrc.C (read): changes due to the altered BranchList and
4237 * factory.C (createInset, readInset): changes due to altered
4240 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4243 * lyxfunc.C: remove insetminipage. "minipage-insert"
4244 now produces a frameless minipage box inset.
4246 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4248 * textcursor.[Ch] (selStart,selEnd): add new methods
4249 remove selection::start, end, use LyXCursor::operator<
4250 * lyxcursor.[Ch] (operator<): add
4251 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4252 * BufferView.[Ch] (unsetXSel): add
4253 * text2.C (clearSelection): use unsetXSel,adjust
4256 * rowpainter.C: adjust
4257 * bufferview_funcs.C (put_selection_at): adjust
4259 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4261 * BufferView_pimpl.C: small coord. correction
4263 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4265 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4266 dragging over the splash screen.
4268 2003-12-11 Angus Leeming <leeming@lyx.org>
4270 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4271 as it is now handled in LyXText::dispatch.
4273 * text3.C (doInsertInset): remove a level of nesting.
4275 2003-12-11 Angus Leeming <leeming@lyx.org>
4277 * factory.C (createInset): changes due to the changed interface to
4278 InsetCommandMailer::string2params.
4280 2003-12-10 Angus Leeming <leeming@lyx.org>
4282 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4283 'dialog-show-new-inset <inset name>'
4285 2003-12-10 Angus Leeming <leeming@lyx.org>
4287 * buffer.C: up the format to 227.
4289 * factory.C: the box inset is now identified simply by 'Box'.
4291 2003-12-10 Angus Leeming <leeming@lyx.org>
4293 * buffer.C: up the format to 226.
4295 * factory.C: the note inset is now identified simply by 'Note'.
4297 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4299 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4300 when a pit is enough. Standarize a couple of loops.
4302 2003-12-05 Angus Leeming <leeming@lyx.org>
4304 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4305 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4306 data to the re-worked "log" dialog.
4308 2003-12-03 André Pönitz <poenitz@gmx.net>
4314 * paragraph_funcs.C:
4316 * text2.C: use Inset::getText instead of Inset::getParagraph
4318 2003-12-03 André Pönitz <poenitz@gmx.net>
4322 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4323 InsetText::read() as LyXText::read()
4325 2003-12-02 Angus Leeming <leeming@lyx.org>
4327 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4328 type. Add a comment in the implementation that the function uses
4329 the stream's bad() function rather than fail() as the std::streams
4332 2003-12-02 André Pönitz <poenitz@gmx.net>
4334 * lyxlex.[Ch]: make interface more similar to std::stream
4336 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4338 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4340 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4342 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4344 * vspace.[Ch]: remove VSpace::NONE
4346 2003-12-01 André Pönitz <poenitz@gmx.net>
4349 * lyxtext.h: move ParagraphList member to LyXText
4350 rename LyXText::ownerParagraphs to LyXText::paragraph
4353 * bufferview_funcs.C:
4363 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4365 * undo.C: fix cursor positioning
4367 2003-12-01 John Levon <levon@movementarian.org>
4369 * BufferView_pimpl.C: fix a crash on exit with
4372 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4374 * BranchList.C: fix setSelected() method.
4376 2003-11-28 André Pönitz <poenitz@gmx.net>
4378 * ParagraphParameters.[Ch]:
4379 * ParameterStruct.h: remove space above/below from Paragraph to
4382 * BufferView_pimpl.C:
4388 * paragraph_funcs.C:
4394 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4396 * factory.C: Syntax change for CharStyles
4398 2003-11-28 André Pönitz <poenitz@gmx.net>
4403 * buffer.[Ch]: move LyXText member
4405 2003-11-28 André Pönitz <poenitz@gmx.net>
4407 * BufferView.[Ch]: make LyXText * text a private member
4409 * BufferView_pimpl.C:
4420 * output_plaintext.C: cleanup
4422 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4425 * lyxtextclass.[Ch]: parametrize SGML document header
4427 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4430 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4433 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4435 * text2.C (setFont): rework using PosIterator (no more recursive)
4436 (setCharFont): no more needed
4437 (setLayout): no more selection cursors fiddling (done by redoCursor)
4438 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4439 destroy remaining ones)
4441 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4443 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4445 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4448 * text3.C: adjust + re-allow multi par depth changes
4449 * textcursor.C: simplify a bit
4451 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4457 * src/output_docbook.C:
4458 * src/output_latex.C:
4463 * src/text2.C: Introducing a number of tags parametrizing various
4464 XML formats that we may want to support
4466 2003-11-25 André Pönitz <poenitz@gmx.net>
4468 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4470 * lyxtext.h (leftMargin/rightMargin): simplify interface
4477 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4479 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4480 master file to any child files. Fixes bug 546.
4482 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4484 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4486 2003-11-24 André Pönitz <poenitz@gmx.net>
4488 * rowpainter.C: simplification
4490 * text2.C (updateCounters): remove call to redoParagraph on
4491 changed labels as this is far too expensive.
4493 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4495 * converter.C (convert): fix a crash: this function gets
4496 called with buffer == 0 from importer code.
4498 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4500 * text3.C (cursorPrevious): make sure that we do not compare
4501 iterators form different containers.
4504 * rowpainter.C (paintSelection): make sure that we do not compare
4505 iterators from different containers.
4507 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4508 iterators from different ParagraphList containers.
4511 * text2.C (LyXText): change order of initialization slightly
4512 (operator=): new function. copy all variables except cache_par_
4513 (moveUp): make sure that we do not compare iterators from
4514 different ParagraphList constainers.
4517 * text.C (firstPar): new function
4518 (lastPar): new function
4519 (endPar): new function
4521 * lyxtext.h: move things around and group public functions, public
4522 variables, private functions, private variables
4524 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4526 * factory.C: change call to InsetERT constructor to avoid
4527 additional invocation of method status
4528 * text2.C (toggleInset): remove redundant update() call
4529 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4530 instead of a Bufferview pointer
4532 2003-11-21 André Pönitz <poenitz@gmx.net>
4534 * rowpainter.C: simplification
4536 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4538 * text3.C (dispatch): make possible to extend a word/row selection
4541 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4543 * lyxtext.h: x0_,y0_ -> xo_,yo_
4544 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4545 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4546 * rowpainter.C (paintRows): paint full paragraphs
4548 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4550 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4553 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4555 * lyxtext.h: add x0_, y0_
4556 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4557 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4559 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4561 * text2.C (setCursorIntern): move the x_target update here *
4562 * text3.C: change some bv() to true/false in calls to
4563 cursorUp/Down/Right/Left
4564 * cursor.C: use helper function.
4566 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4568 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4569 * paragraph_funcs.[Ch]: correct comment
4570 * rowpainter.C: do not paint selections away from bv->cursor()
4571 Fix a long standing selection painting bug.
4572 * text3.C: generalize mouse-selection code to LyXTexts other that
4574 * textcursor.C: do not use y coords if we can use par offsets
4576 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4578 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4579 cursor position after e.g. inset insert)
4581 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4583 * lyxfind.C (replace): adjust to locking removal + some
4586 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4588 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4591 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4594 * output_docbook.C: XML sanitation: new layout
4595 parameters InnerTag and CommandDepth
4597 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4599 * BufferView_pimpl.C:
4601 * text3.C: Fix the insertion and modification of button-style
4604 2003-11-13 André Pönitz <poenitz@gmx.net>
4606 * InsetList.[Ch]: remove deleteLyXText
4608 * paragraph.[Ch]: cache beginOfBody position
4613 * text3.C: remove superfluous update() calls
4617 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4619 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4620 * BufferView.C (fitLockedInsetCursor): remove
4621 * cursor.[Ch] (getDim): add
4622 * text.C (getRowNearY): add faster version
4623 * text3.C: remove some update calls
4625 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4637 * text3.C: The Character Style /XML short element patch.
4639 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4642 * factory.C: Small step to solving 'unable to insert some insets'
4645 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4647 * cursor.[Ch] (updatePos): new function for updating the y
4648 position of the tip inset
4649 * bufferview_funcs.C (put_selection_at):
4650 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4652 2003-11-11 André Pönitz <poenitz@gmx.net>
4654 * text.C: remove big comment on invalid Paragraph pointers as it is
4657 2003-11-11 André Pönitz <poenitz@gmx.net>
4659 * text_funcs.[Ch]: merge with ...
4667 * Makefile.am: remove text_funcs.[Ch]
4669 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4671 * cursor.C (getPos): return absolute cached y coord
4673 * BufferView_pimpl.C (fitCursor): new simplistic code
4674 (workAreaDispatch): add a fitCursor call
4676 2003-11-10 André Pönitz <poenitz@gmx.net>
4679 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4681 2003-11-10 André Pönitz <poenitz@gmx.net>
4683 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4684 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4685 indicate that the cursor needs to leave an inset
4687 * lyxtext.h: remove inset locking
4689 * cursor.[Ch]: re-implement functionality provided by inset locking
4692 * BufferView_pimpl.[Ch]:
4694 * bufferview_funcs.[Ch]:
4706 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4708 * PosIterator.[Ch]: replace the stack with a vector, add inset
4710 * iterators.[C]: adjust
4712 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4714 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4716 * paragraph_funcs.C (readParToken): put the correct id in the
4717 error item, not the id of the top paragraph
4719 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4721 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4722 * bufferview_funcs.C (put_selection_at): use the above
4724 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4726 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4728 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4730 * output_linuxdoc.h:
4731 * output_plaintext.h:
4733 * output_docbook.h: add #include statements
4735 2003-11-05 José Matos <jamatos@lyx.org>
4737 * output_docbook.[Ch]:
4738 * output_latex.[Ch]:
4739 * output_linuxdoc.[Ch]:
4740 * output_plaintext.[Ch]: New files for output formats.
4741 * output.[Ch]: New file for helper functions.
4744 * paragraph_funcs.[Ch]: output functions moved to new files.
4746 * outputparams.h: rename of latexrunparams.h
4754 * paragraph_funcs.[Ch]:
4755 * paragraph_pimpl.[Ch]:
4756 * tabular.[Ch]: rename ascii to plaintext
4757 and LatexRunParams to OutputParams.
4759 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4761 * iterators.[Ch] (text): require bv argument
4762 * undo.C (recordUndo):
4763 * lyxfunc.C (dispatch):
4764 * bufferview_funcs.C (put_selection_at): adjust
4766 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4768 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4770 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4772 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4775 2003-11-04 André Pönitz <poenitz@gmx.net>
4777 * cursor.[Ch]: restructure
4780 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4782 * iterators.[Ch] (asCursor): remove
4784 * lfuns.h: remove LFUN_INSET_EDIT
4790 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4792 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4794 * lyxfind.[Ch]: complete overhaul
4795 * BufferView_pimpl.C:
4797 * paragraph.[Ch] (insert): add
4799 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4803 * text.C: remove dead spellcheck code
4805 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4807 * dispatchresult.h: add a val setter
4809 * cursor.C (dispatch): use a tempvar for data_[i]
4811 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4813 * PosIterator.[Ch]: compile fix
4815 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4817 * text.C (cursorPar): deactivate the cursor cache
4819 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4821 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4823 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4825 * text3.C (dispatch): adjust for new DisptchResult semantics.
4827 * lyxfunc.C (dispatch): handle update when return from
4828 Cursor::dispatch, adjust for new DispatchResult semantics.
4830 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4831 DispatchResult(true) mean to not update. Add class functions for
4832 setting dispatched and update, as well as reading.
4834 * cursor.C (dispatch): don't handle update here
4836 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4838 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4839 * trans_mgr.C: adjust
4841 * paragraph_funcs.C (readParToken): exception safety
4843 * lyxvc.h: store the vcs pointer in a scoped_ptr
4846 * lyxsocket.C (serverCallback): exception safety
4848 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4850 * ispell.C (clone): make it return a auto_ptr
4852 * factory.C (createInset): exception safety
4853 (readInset): exception safety
4855 * bufferlist.C (newBuffer): exception safety
4857 * Thesaurus.C (Thesaurus): use initialization for aik_
4859 * MenuBackend.C (expandToc): exception safety.
4861 2003-11-03 André Pönitz <poenitz@gmx.net>
4865 * bufferview_funcs.C: remove getInsetFromId()
4868 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4874 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4876 * PosIterator.C (distance, advance): new
4877 * bufferview_funcs.[Ch] (put_selection_at): new
4878 * iterators.[Ch] (lockPath): new
4880 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4882 * iterators.[Ch] (asPosIterator): added
4883 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4884 * PosIterator.[Ch]: added
4886 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4890 * cursor.C (dispatch):
4891 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4893 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4894 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4895 contructor, add a class function dispatched. Remove operator>=
4897 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4899 * debug.C: only use the default constructor for debugstream
4902 * main.C (main): include debug.h and setup the lyxerr streambuf
4905 2003-10-31 José Matos <jamatos@lyx.org>
4907 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4909 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4910 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4911 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4912 * paragraph_pimpl.C (simpleTeXSpecialC):
4913 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4914 add LatexRunParams argument.
4916 * exporter.C (Export): change call accordingly.
4918 * latexrunparams.h: add new member to take care of the other backends.
4919 2003-10-30 José Matos <jamatos@lyx.org>
4921 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4922 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4923 factorise code for paragraph output.
4925 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4928 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4930 * text3.C (dispatch):
4931 * lyxfunc.C (dispatch):
4932 * cursor.C (dispatch):
4933 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4935 * dispatchresult.h: make the dispatch_result_t ctor explicit
4937 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4940 * buffer.C: small refactoring of docbook stuff
4942 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4947 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4950 operator dispatch_result_t, and operators for == != and >=
4952 * cursor.C (dispatch): adjust for operator dispatch_result_t
4953 removal. comment out call to update
4955 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4957 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4968 * dispatchresult.h: new file, DispatchResult broken out of
4971 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4973 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4975 * text.C (rowBreakPoint): put a hack inside #if 0
4977 2003-10-28 André Pönitz <poenitz@gmx.net>
4981 * paragraph_funcs.C:
4984 * text2.C: general cleanup (lots of small stuff)
4986 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4988 * text2.C (cursorEnd): simple fix to the "end key goes to one
4989 before the end on last row" bug
4991 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4993 * text.C (backspace): fix the "zombie characters"
4995 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4997 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4999 2003-10-27 André Pönitz <poenitz@gmx.net>
5001 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5003 * factory.C: handle new InsetPagebreak, InsetLine
5005 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5006 and move handling into new InsetPagebreak, InsetLine
5008 * BufferView_pimpl.C:
5010 * ParagraphParameters.C:
5011 * ParameterStruct.h:
5016 * paragraph_funcs.C:
5017 * paragraph_pimpl.C:
5023 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5026 * lyxrow_funcs.[Ch]:
5032 * text3.C: remove lastPos uses in favour of Row::endpos
5034 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5036 * undo.C (performUndoOrRedo): fix two crashes by setting a
5037 cursor by hand and reordering some calls. Use bv->lockInset instead
5038 of inset->edit because the latter loses cursor information
5040 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5042 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5044 (rowBreakPoint): fix width. change point to point + 1.
5045 Add a missing check.
5047 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5050 * lyxfunc.C: fix (at least partly) the problems
5051 with the Nav menu and headers inside branch insets
5054 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5056 * paragraph.C (getChar): add strong asserts
5058 * lyxrow_funcs.C (lastPos): remove hideous hack
5060 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5061 (fill): adjust to that (avoid an infinite loop)
5063 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5065 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5067 2003-10-23 André Pönitz <poenitz@gmx.net>
5069 * RowList_fwd.h: change list<> to vector<> to gain speed
5070 after suggestion from Alfredo
5072 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5074 * lyxtext.h: move the bidi stuff from here...
5077 * Bidi.[Ch]: ... to here
5079 2003-10-23 André Pönitz <poenitz@gmx.net>
5082 * text.C (isLastRow, isFirstRow): new functions
5084 * paragraph.h: new width cache member
5086 * rowpainter.C: replace RowList::iterator with Row & where possible
5088 * lyxfunc.C: replace several view()->text with a single call
5090 * toc.C: fix 'unused' warning
5092 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5094 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5095 when woring with stream::pos_type
5096 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5098 2003-10-22 André Pönitz <poenitz@gmx.net>
5101 * text.C: use Row & instead of RowList::iterator
5103 * lyxrow.h: rename end() to endpos()
5109 2003-10-22 Angus Leeming <leeming@lyx.org>
5111 * buffer.[Ch] (fully_loaded): new member function, returning true
5112 only when the file has been loaded fully.
5113 Used to prevent the premature generation of previews and by the
5114 citation inset to prevent computation of the natbib-style label.
5116 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5117 templates are all set up.
5119 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5121 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5123 * text.C: fixed an "oops" in the "is a bit silly"
5126 2003-10-21 André Pönitz <poenitz@gmx.net>
5128 * FuncStatus.[Ch]: small stuff, whitespace
5130 * lyxfont.[Ch]: operator<<() for debug reasons
5134 * lyxtext.h: whitespace, spelling
5136 * paragraph.C: naming of variables
5139 * text2.C: small stuff
5142 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5144 * text.C: (1) finish off the inset display() work;
5145 (2) fix the "is a bit silly" bug (accessing char
5148 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5150 * text.C: re-introduce display() for insets, fixing the
5151 various bugs (stretch of line above, math inset
5154 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5156 * text.C (rightMargin): remove spurious semicolon
5158 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5161 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5163 * text3.C: fix one crash due to wrong cursor def
5165 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5167 * vc-backend.C (scanMaster): make the regex static
5169 * LaTeX.C (scanAuxFile): make the regexs static
5171 * text3.C (doInsertInset, dispatch, dispatch):
5172 * text2.C (cursorUp, cursorDown):
5173 * text.C (selectNextWordToSpellcheck):
5174 * BufferView_pimpl.C (dispatch):
5175 * lyxfunc.C (dispatch): localDispatch -> dispatch
5177 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5179 * lyxsocket.C: include <cerrno>
5181 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * lyxfunc.C (dispatch): remove textcache stuff
5185 * bufferlist.C (release): remove textcache stuff
5188 * TextCache.C: delete file
5189 * TextCache.h: delete file
5191 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5193 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5194 delete of the bv_->text.
5195 (resizeCurrentBuffer): remove texcache stuff
5196 (workAreaResize): ditto
5198 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5200 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5203 2003-10-16 André Pönitz <poenitz@gmx.net>
5210 * text3.C: speed up by storing y positions per paragraph plus per-row
5211 offset instead of having a 'full' y position in the row.
5213 2003-10-15 André Pönitz <poenitz@gmx.net>
5217 * undo.[Ch]: make undo aware of inner insets
5219 2003-10-14 Angus Leeming <leeming@lyx.org>
5221 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5222 static member functions LyX::ref() and LyX::cref.
5223 (lastfiles): new accessor functions for the new lastfiles_ member var.
5224 (addLyXView, views_): add a new LyXView to the list of views_.
5225 (updateInset): loop over all LyXViews to call their own updateInset
5226 member function, returning a pointer to the Buffer owning the inset.
5228 * BufferView_pimpl.C (loadLyXFile):
5229 * MenuBackend.C (expandLastfiles):
5230 * bufferlist.C (MenuWrite, QuitLyX):
5231 lastfiles is no longer a global variable.
5232 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5234 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5235 static function. Access through LyX::cref().emergencyCleanup().
5237 2003-10-14 André Pönitz <poenitz@gmx.net>
5239 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5241 * undo.[Ch]: restoring part of 'undo in insets'
5244 * undo_funcs.[Ch]: merge with undo.[Ch]
5246 * tabular.C: small cleansing stuff
5248 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5250 * paragraph_funcs.C (readParToken): report unknown insets as error
5251 boxes. Use the outer paragraph as location (also for unknown
5254 * factory.C (readInset): do not abort on reading an unknown inset.
5255 Eat it and return 0.
5257 2003-10-13 Angus Leeming <leeming@lyx.org>
5259 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5261 * lyxrc.C: displayTranslator is now a function,
5262 declared in GraphicsTypes.h.
5264 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5266 * format.C: new placeholder $$a to pass the socket address.
5268 * bufferlist.[Ch]: new function getBufferFromTmp.
5270 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5271 files in the temporary dir.
5273 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5275 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5277 * Makefile.am: add lyxsocket.[Ch].
5279 * lyx_main.C (error_handler): handle SIGPIPE.
5281 2003-10-13 André Pönitz <poenitz@gmx.net>
5283 * BufferView_pimpl.C:
5288 * undo_funcs.[Ch]: use paroffset_type instead of
5289 ParagraphList::iterators to prevent multiple conversion
5290 (and get a more robust interface)
5292 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5294 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5296 * text3.C (dispatch): ditto
5298 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5300 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5301 move the onlyfile, use onlyfile instead of foundfile in a couple
5304 * DepTable.C (update): flush the error stream a bit more
5306 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5308 * lyxserver.C (callback): adjust
5310 * lyxfunc.C (getStatus): add a missing brace in commented code
5311 (ensureBufferClean): reindent
5312 (dispatch): delete version taking a string
5314 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5316 * LaTeX.C (deplog): move found file handlig from here...
5317 (handleFoundFile): .. to new function here.
5318 (deplog): make sure to discover several files mentioned on the
5321 2003-10-10 André Pönitz <poenitz@gmx.net>
5328 * text3.C: fix some of the tabular crashes
5330 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5332 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5334 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5336 2003-10-09 André Pönitz <poenitz@gmx.net>
5338 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5341 * BufferView_pimpl.C:
5342 * bufferview_funcs.C:
5353 * undo_funcs.C: adjust
5355 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * text2.C (incrementItemDepth): new function, use a backtracking
5358 algorithm to discover the correct item depth.
5359 (resetEnumCounterIfNeeded): new function, use a backtracking
5360 algorithm to discover if counter reset is needed.
5361 (setCounter): use them. Simplify a bit. Add different labels for
5362 different item depths for itemize.
5364 * paragraph.C (Paragraph): remove initialization of enumdepth
5367 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5368 enumerate and itemize. Change the type of itemdepth to signed char.
5370 2003-10-08 André Pönitz <poenitz@gmx.net>
5372 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5377 * tabular.[Ch]: fix crash after 'row-insert'
5379 2003-10-08 Angus Leeming <leeming@lyx.org>
5381 Fix doxygen warnings.
5383 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5384 Remove CutAndPaste:: prefix from header file declaration.
5386 * LColor.h (fill): remove LColor:: prefix from declaration.
5388 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5389 use lyx::depth_type rather than Paragraph::depth_type so that
5390 header file and .C file match.
5392 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5394 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5395 * aspell.C: \file aspell_local.C -> \file aspell.C
5396 * gettext.C: \file gettext.C -> \file src/gettext.C
5397 * gettext.h: \file gettext.h -> \file src/gettext.h
5398 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5399 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5400 * text.C: \file text.C -> \file src/text.C
5402 * toc.C: move comment so that doxygen is not confused.
5404 2003-10-07 Angus Leeming <leeming@lyx.org>
5406 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5408 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5411 * aspell_local.h: add forgotten std::string's.
5413 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5420 * text3.C: The Box patch. Fancybox support, minipage, parbox
5422 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5428 * ParagraphParameters.h:
5438 * lyxtextclasslist.h:
5441 * paragraph_pimpl.C:
5442 * textcursor.h: add <string> and other small fixes to make Lars'
5443 std::string patch compile with STLport.
5445 2003-10-06 Angus Leeming <leeming@lyx.org>
5447 * LColor.h: Add missing #include <string>.
5449 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5451 * All most all file in all subdirs: Make <string> be the prefered
5452 way of getting to std::string, add using declarations.
5454 2003-10-06 André Pönitz <poenitz@gmx.net>
5456 * metricsinfo.C: initialize LyXFont before changing attribute.
5457 (fixes the 'math in \emph is upright' bug)
5459 2003-10-06 André Pönitz <poenitz@gmx.net>
5461 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5463 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5466 * paragraph_pimpl.C: Small fixes to build using STLport
5468 2003-10-02 André Pönitz <poenitz@gmx.net>
5471 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5473 2003-10-01 André Pönitz <poenitz@gmx.net>
5475 * factory.C: assert early
5477 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5479 * lyx_main.C: remove the global debug object
5481 * debug.h: adjust for new debugstream
5483 * debug.C: adjust for new debugstream and keep the global debug
5486 2003-09-22 Angus Leeming <leeming@lyx.org>
5488 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5489 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5490 an incomplete class LyXFont.
5492 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5494 * factory.C: bug fix in branches
5496 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * lyxfunc.C (processKeySym): adjust
5500 (dispatch): change arg name from ev to func, adjust
5501 (sendDispatchMessage): ditto
5503 * lyx_main.C (defaultKeyBindings): adjust keybindings
5504 (deadKeyBindings): ditto
5506 * kbsequence.C (addkey): return a FuncRequest
5508 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5510 * kbmap.C (bind): take a FuncRequest as arg, adjust
5513 (defkey): change to take a FuncRequest as arg, adjust
5514 (findbinding): take a FuncRequest as arg, adjust.
5516 * funcrequest.h (operator=): added
5518 * funcrequest.C (FuncRequest): default kb_action changed from
5519 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5521 * buffer.C (dispatch): simplify
5522 (dispatch): adjust to take a FuncRequest as arg, adjust
5524 * boost.C (assertion_failed): change assertion message slightly
5526 * ToolbarBackend.C (read): simplify
5528 * MenuBackend.C (binding): adjust call to findbinding, add a
5529 message if no binding is found.
5531 (expandToc): correct by adding a empty FuncRequest
5533 * LyXAction.C: include <boost/assert.hpp>
5534 (isPseudoAction): delete function
5535 (LookupFunc): change name to...
5536 (lookupFunc): this. change return type to FuncRequest.
5537 (getActionName): take kb_action as arg, simplify
5538 (funcHasFlag): add an assert, simplify.
5540 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5542 * toc.C (action): return a FuncRequest, simplify
5544 * lyxfunc.C (processKeySym): adjust
5545 (getStatus): delete version that takes an int.
5547 (dispatch): delete version that takes action as int
5549 (sendDispatchMessage): simplify and adjust
5551 * funcrequest.C (getArg): take unsigned int as arg
5553 * ToolbarBackend.C (read): adjust
5554 (add): delete version that takes func as a string.
5555 (getIton): take a FuncRequest as arg
5557 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5560 * MenuBackend.C (MenuItem): add a new construct that only takes a
5561 Kind, simplify the constructor use for submenus.
5563 (expandLastfiles): adjust
5564 (expandDocuments): adjust
5565 (expandFormats): adjust
5566 (expandFloatListInsert): adjust
5567 (expandFloatInsert): adjust
5568 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5570 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5571 Remove class variables lyx_pseudo_map and lyx_arg_map
5573 * LyXAction.C (searchActionArg): delete function
5574 (getPseudoAction): delete function
5575 (retrieveActionArg): delete function
5576 (LookupFunc): make it return kb_action, simplify.
5577 (getActionName): simplify
5579 * factory.C (createInset): fix new bug
5581 2003-09-19 Angus Leeming <leeming@lyx.org>
5583 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5584 masterFilename_ parameter in the include inset.
5586 * factory.C (createInset): changes due to the changes to InsetInclude.
5588 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5590 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5592 2003-09-18 Angus Leeming <leeming@lyx.org>
5595 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5596 Inset::fillWithBibKeys.
5597 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5599 2003-09-18 Angus Leeming <leeming@lyx.org>
5601 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5603 (ctor): pass and store a 'Buffer const &'
5604 (buffer): new member function.
5606 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5607 '*this' to the LaTeXFeatures ctor.
5609 2003-09-18 Angus Leeming <leeming@lyx.org>
5615 * text.C: rename EnumLColor as LColor_color.
5617 2003-09-18 Angus Leeming <leeming@lyx.org>
5619 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5620 remove #include "insets/insetbase.h" from cursor.h.
5622 2003-09-18 Angus Leeming <leeming@lyx.org>
5624 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5625 InsetOld_code to remove #include "inset.h".
5627 * iterators.C: add #include "insets/inset.h"
5629 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5631 * BufferView.C: remove more locking stuff that apparently doesn't
5632 do anything sensible.
5634 2003-09-16 André Pönitz <poenitz@gmx.net>
5637 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5640 2003-09-16 Angus Leeming <leeming@lyx.org>
5642 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5644 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5647 * paragraph.h: remove #include "lyxfont.h". Forward declare
5650 2003-09-16 Angus Leeming <leeming@lyx.org>
5652 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5653 of support/textutils.h.
5654 (isWord): move the contents of support/textutils.h's IsWordChar here.
5660 * text2.C: add #include "paragraph.h".
5663 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5665 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * LaTeX.C: use namespace alias for lyx::support::os
5673 2003-09-16 Angus Leeming <leeming@lyx.org>
5676 * bufferview_funcs.C:
5679 * paragraph_pimpl.C:
5681 * text.C: add #include "LColor.h".
5683 2003-09-16 Angus Leeming <leeming@lyx.org>
5685 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5686 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5688 Store the FontBits::color variable as an int rather than as an
5689 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5692 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5693 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5694 string calls together.
5696 * lyxrc.C: add #include "LColor.h".
5698 2003-09-15 Angus Leeming <leeming@lyx.org>
5700 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5703 2003-09-15 Angus Leeming <leeming@lyx.org>
5705 * LColor.h: add an EnumLColor wrapper for LColor::color.
5707 * lyxfont.[Ch] (color, setColor, realColor):
5708 * lyxtext.h, text.C (backgroundColor):
5709 pass EnumLColor args to/from the functions, rather than LColor::color
5713 * lyxtext.h: forward declare EnumLColor.
5715 * lyx_main.C: add #include "LColor.h".
5717 2003-09-15 Angus Leeming <leeming@lyx.org>
5719 * .cvsignore: add lyx-gtk.
5721 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * ParagraphParameters.C
5730 * bufferview_funcs.C
5740 * vc-backend.C: remove usage of STRCONV
5742 2003-09-15 Angus Leeming <leeming@lyx.org>
5744 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5745 explicitly define the color passed to the painter.
5747 2003-09-15 Angus Leeming <leeming@lyx.org>
5749 * bufferparams.C (BufferParams): reorder member initializers to avoid
5752 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5754 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5755 * text.C (updateRowPositions): remove an unusual nop
5757 2003-09-12 André Pönitz <poenitz@gmx.net>
5759 * BufferView_pimpl.C:
5768 * Counters.[Ch]: finish the 'automatic counters' job
5770 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5772 * aspell.C: include <boost/assert.cpp> (compile fix)
5774 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5776 * boost.C (assertion_failed): use lyx::support::abort instead of
5779 2003-09-10 Angus Leeming <leeming@lyx.org>
5781 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5782 with their _fwd progeny.
5784 2003-09-09 Angus Leeming <leeming@lyx.org>
5786 134 files throughtout the source tree: replace 'using namespace abc;'
5787 directives with the appropriate 'using abc::xyz;' declarations.
5789 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5791 * boost.C (emergencyCleanup): moved here from LAssert.c
5792 (assertion_failed): new function, called by BOOST_ASSERT
5794 * several files: change Assert to BOOST_ASSERT
5796 2003-09-09 Angus Leeming <leeming@lyx.org>
5798 * buffer.[Ch]: Add an Impl class and move Buffer's member
5799 variables into it. As a result move several header files out of
5802 Add header files to lots of .C files all over the tree as a result.
5804 2003-09-09 Angus Leeming <leeming@lyx.org>
5806 * buffer.[Ch]: make Buffer's member variables private. Add
5809 Lots of changes all over the tree as a result.
5811 2003-09-08 Angus Leeming <leeming@lyx.org>
5813 * graph.C: #include <config.h>.
5815 2003-09-08 Angus Leeming <leeming@lyx.org>
5819 * BufferView_pimpl.C:
5848 * toc.C: remove redundant using directives.
5850 2003-09-07 Angus Leeming <leeming@lyx.org>
5852 * LaTeXFeatures.h: remove #include "support/types.h".
5853 * ToolbarBackend.h: remove #include <algorithm>.
5854 * changes.h: remove #include <ctime>.
5855 * debug.h: remove #include <iosfwd>.
5856 * graph.h: remove #include "support/std_string.h".
5857 * lyx_main.h: remove #include <csignal>.
5858 * lyxlex_pimpl.h: remove #include <fstream>.
5859 * sgml.h: remove #include <algorithm>, <utility>.
5860 * toc.h: remove #include "support/std_ostream.h".
5861 Add #include <iosfwd>.
5863 2003-09-07 Angus Leeming <leeming@lyx.org>
5865 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5867 * converter.h: forward declare LatexRunParams.
5868 * encoding.h: remove #include "lyxrc.h".
5869 * lyxtext.h: remove #include "LColor.h".
5870 * lyxtextclass.h: remove #include "support/types.h".
5871 * trans.h: remove #include "tex-accent.h".
5872 * trans_mgr.h: remove #include "tex-accent.h".
5873 * insets/inset.h: remove #include "support/types.h", <vector>.
5874 * insets/insetcollapsable.h: remove #include "LColor.h".
5875 * insets/insetinclude.h: remove #include "dimension.h".
5876 * insets/insetlatexaccent.h: remove #include "dimension.h".
5877 * insets/insetoptarg.h:: remove #include "insettext.h".
5878 * insets/insettext.h: remove #include "dimension.h",
5879 <boost/shared_ptr.hpp>
5881 * insets/renderers.h: add #include "dimension.h".
5882 * insets/updatableinset.h: add #include "support/types.h".
5884 * many .C files: Associated changes.
5886 2003-09-06 Angus Leeming <leeming@lyx.org>
5888 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5889 one, inside testInvariant.
5891 * PrinterParams.C: new file.
5892 * PrinterParams.[Ch]: move the function bodies out of line.
5894 2003-09-06 Angus Leeming <leeming@lyx.org>
5896 * ParagraphParameters.h: forward declare ParameterStruct rather than
5897 including its header file.
5898 (depth): moved out-of-line.
5900 2003-09-06 Angus Leeming <leeming@lyx.org>
5902 * BufferView_pimpl.h:
5905 * lyxfunc.h: forward declare LyXKeySym rather than
5906 #include "frontends/LyXKeySym.h".
5908 * BufferView_pimpl.C:
5911 * lyxfunc.C: associated changes.
5913 2003-09-06 Angus Leeming <leeming@lyx.org>
5915 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5916 As a result, can remove the #include "insets/inset.h" from BufferView.h
5918 2003-09-06 Angus Leeming <leeming@lyx.org>
5920 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5921 As a result, can remove the #include "insets/inset.h" from BufferView.h
5923 2003-09-06 Angus Leeming <leeming@lyx.org>
5929 * bufferview_funcs.C:
5930 * BufferView_pimpl.C:
5935 * ParagraphParameters.C:
5940 * frontends/controllers/ControlDocument.C:
5941 * insets/insetcaption.C: rearrange the #includes into some sort of
5944 * buffer.h: remove #includes ErrorList.h, undo.h
5946 2003-09-06 Angus Leeming <leeming@lyx.org>
5948 * support/types.h: add a 'depth_type' typedef, used to store the
5949 nesting depth of a paragraph.
5952 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5953 defining explicitly.
5956 * paragraph_funcs.h:
5957 * ParagraphParameters.h:
5958 * sgml.h: use lyx::depth_type rather than Paragraph or
5959 ParameterStruct's depth_type.
5962 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5965 * BufferView_pimpl.C:
5967 * ParagraphParameters.C:
5970 * bufferview_funcs.C:
5977 * frontends/LyXView.C:
5978 * frontends/controllers/ControlDocument.C:
5979 * frontends/controllers/ControlErrorList.C:
5980 * insets/insetbibitem.C:
5981 * insets/insetbranch.C:
5982 * insets/insetcaption.C:
5983 * insets/insetcollapsable.C:
5984 * insets/insetenv.C:
5985 * insets/insetert.C:
5986 * insets/insetfloat.C:
5987 * insets/insetfoot.C:
5988 * insets/insetfootlike.C:
5989 * insets/insetnewline.C:
5990 * insets/insetquotes.C:
5991 * insets/insettabular.C:
5992 * insets/insettext.C:
5993 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5995 * frontends/controllers/ControlChanges.C: #include "changes.h".
5997 2003-09-06 Angus Leeming <leeming@lyx.org>
5999 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6000 than #including paragraph.h.
6003 * RowList.h: deleted. Superfluous.
6013 * insets/insettext.h: use ParagraphList_fwd.h rather than
6016 * paragraph.h: don't forward declare ParagraphList.
6019 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6020 rather than ParagraphList.h. paragraph.h is still needed for the
6021 Paragraph::depth_type parameters.
6023 * textcursor.h: enable it to compile stand-alone in light of the
6026 * bufferview_funcs.C:
6038 * frontends/controllers/ControlParagraph.C:
6039 * frontends/controllers/ControlTabular.C:
6040 * insets/insetmarginal.C:
6041 * insets/insetminipage.C:
6042 * insets/insetnote.C:
6043 * insets/insetoptarg.C: add header files needed to compile again.
6045 2003-09-06 Angus Leeming <leeming@lyx.org>
6047 * RowList_fwd.h: new file, forward-declaring Row rather than
6048 #including lyxrow.h.
6053 * insets/insettext.h: use it instead of RowList.h
6055 * bufferview_funcs.C:
6062 * text3.C: #include "RowList.h".
6064 2003-09-05 Angus Leeming <leeming@lyx.org>
6066 * factory.C (createInset):
6067 * vspace.C (c-tor): replace sscanf call with an istringstream.
6068 * ispell.C: re-add missing HP/UX headers.
6069 * lyxserver.C: re-add missing os2 headers.
6071 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6080 * text3.C: re-add missing system headers, needed for 2.95.2.
6082 2003-09-05 Angus Leeming <leeming@lyx.org>
6084 Changes most place everywhere due to the removal of using directives
6085 from support/std_sstream.h.
6087 2003-09-05 Angus Leeming <leeming@lyx.org>
6089 Replace LString.h with support/std_string.h,
6090 Lsstream.h with support/std_sstream.h,
6091 support/LIstream.h with support/std_istream.h,
6092 support/LOstream.h with support/std_ostream.h.
6094 Changes resulting throughout the tree.
6096 2003-09-05 Angus Leeming <leeming@lyx.org>
6098 * sgml.h: ensure that the header file can be compiled stand-alone.
6099 * *.C: strip out redundant #includes. (320 in total.)
6101 2003-09-04 Angus Leeming <leeming@lyx.org>
6103 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6104 here (from getPackages).
6106 * debug.[Ch]: add a new EXTERNAL tag.
6108 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6110 * text2.C (cursorEnd): simplify
6112 (getColumnNearX): adjust
6114 * text.C (computeBidiTables): adjust
6117 * rowpainter.C (paintChars): adjust
6118 (paintSelection): adjust
6119 (paintChangeBar): adjust
6122 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6124 (numberOfSeparators): adjust
6126 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6132 * text3.C: Restricts the mouse click functionality
6133 of insets like bibtex, include, toc and floatlist to the visible
6134 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6135 up the dialogs. Cursor has to be in front of the inset (i.e.
6136 start of row) for this to function.
6138 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6140 * bufferview_funcs.C (currentState): output row information
6142 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6144 * bufferview_funcs.C (currentState): output paragraph position
6146 2003-09-04 Angus Leeming <leeming@lyx.org>
6148 * FloatList.h: move out #include "Floating.h".
6149 * LaTeX.h: move out #include "DepTable.h".
6150 * LyXAction.h: move out #include "funcrequest.h".
6151 * buffer.h: move out #include "author.h", "iterators.h".
6152 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6153 * lyx_main.h: move out #include "errorlist.h".
6154 * lyxfunc.h: move out #include "FuncStatus.h".
6155 * lyxtext: move out #include "lyxcursor.h".
6156 * paragraph_pimpl.h: move out #include "counters.h".
6158 2003-09-03 Angus Leeming <leeming@lyx.org>
6160 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6161 preamble_snippets list, enabling us to add snippets to the preamble
6162 only if the snippet was not there already.
6164 2003-09-04 Angus Leeming <leeming@lyx.org>
6166 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6168 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6170 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6173 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6175 * BranchList.C: point fix, earlier forgotten
6177 2003-09-02 Angus Leeming <leeming@lyx.org>
6179 * box.C (contains): renamed from 'contained' after a fantastic
6182 2003-09-02 John Levon <levon@movementarian.org>
6188 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6190 2003-09-02 John Levon <levon@movementarian.org>
6192 * text2.C: simplification of cursorEnd(), including partial
6195 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6197 * buffer.C (readFile): add a space
6199 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6201 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6203 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6205 * buffer.C (readFile): new function, take a filename and a
6206 ParagraphList::iterator
6208 (readFile): adjust, make it private. don't use setStream, make
6209 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6210 always contain the filename.
6212 * BufferView.C (insertLyXFile): simplify and make it work for
6215 2003-08-30 John Levon <levon@movementarian.org>
6217 * Makefile.am: fix dist (from Kayvan)
6219 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * most files: change to use const Buffer refs
6223 2003-08-27 André Pönitz <poenitz@gmx.net>
6225 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6226 on top of ownerPar().
6228 2003-08-27 John Levon <levon@movementarian.org>
6230 * funcrequest.C: properly initialise POD members
6232 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6234 * lyxtext.h (top_y): move top_y from here
6239 * BufferView_pimpl.[Ch]: to here
6240 * frontends/screen.C:
6241 * insets/insettabular.C:
6242 * insets/insettext.C: adjust
6243 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6245 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6248 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6250 2003-08-26 André Pönitz <poenitz@gmx.net>
6252 * paragraph_func.[Ch] (outerPar): new function
6255 * paragraph_funcs.C:
6256 * paragraph_funcs.h:
6257 * paragraph_pimpl.C:
6258 * text2.C: remove Inset::par_owner
6260 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6265 * text2.C: eliminates the needFullRow/display() stuff
6266 altogether, putting the logic in metrics/draw in the insets.
6268 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6270 * text2.C (redoParagraphInternal, redoParagraphs):
6271 * text.C (redoParagraph): add a call to updateRowPositions at the
6272 end of each 'metrics-like' call. Remove all others.
6273 (getRow): remove the 'y-computing' version.
6274 (getRowNearY): do not compute nor return the real y. Solve the
6275 'y < 0' problem and simplify.
6277 2003-08-22 Angus Leeming <leeming@lyx.org>
6279 * *.[Ch]: clean-up of licence and author blurbs.
6280 Also move config.h out of a few .h files and into a few .C files.
6282 2003-08-22 André Pönitz <poenitz@gmx.net>
6284 * lyxrow.[Ch]: add x_ and *fill_ members
6289 * text2.C: adjust/remove prepareToPrint() calls
6291 2003-08-22 André Pönitz <poenitz@gmx.net>
6293 * lyxrow.[Ch]: add end_ member
6295 * lyxrow_funcs.C: use LyXRow::end_
6297 * lyxtext.h (singleWidth): add LyXFont parameter
6300 * text2.C: adjust LyXText::singleWidth() calls
6302 * text.C (redoParagraph): simplify row breaking logic
6305 2003-08-19 André Pönitz <poenitz@gmx.net>
6307 * funcrequest.C: initialize button_ member
6310 * rowpainter.[Ch]: interface consolidation
6312 2003-08-18 André Pönitz <poenitz@gmx.net>
6315 * BufferView_pimpl.C:
6317 * paragraph_funcs.C:
6319 * text3.C: remove LyXScreen::draw() and fitCursor calls
6321 * BranchList.h: remove spurious semicolons
6323 * MenuBackend.C: fix branchlist related crash
6325 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6333 * bufferparams.[Ch]:
6337 * text3.C: implements the 'branch inset'
6338 idea. This allows the output of various versions of a document
6339 from a single source version, selectively outputing or suppressing
6340 output of parts of the text.
6341 This implementation contains a 'branch list editor' in a separate
6342 tab of the document settings dialog. Branches are user definable
6343 and have a "display colour" to distinguish them on-screen.
6345 ColorHandler was somewhat cleaned up.
6346 (1) make possible a dynamically growing LColor list by allowing
6347 the graphic context cache to grow along (vector);
6348 (2) eliminate an IMHO unnecessary step in colour allocation.
6350 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6352 * BufferView_pimpl.C: compile fix
6354 2003-08-15 André Pönitz <poenitz@gmx.net>
6356 * rowpainter.C: remove extra metrics calls
6358 * lyxtext.h: merge the two constructors into a single one,
6359 pass reference to owner's par list
6361 * BufferView_pimpl.C:
6365 2003-08-15 André Pönitz <poenitz@gmx.net>
6367 * lyxrow_funcs.[Ch]:
6370 * paragraph_funcs.C:
6375 * text_funcs.C: split LyXText::rowlist_ into individual
6376 Paragraph::rows_ chunks
6379 * BufferView_pimpl.[Ch]:
6382 * text3.C: remove toggleSelection()
6384 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6386 * bufferlist.C: beautify two alerts (shorter text of buttons)
6387 * buffer.C: Remove redundant ' ' from message
6389 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6390 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6391 rename VALIGN_CENTER to VALIGN_MIDDLE
6393 2003-08-11 André Pönitz <poenitz@gmx.net>
6395 * lyxtext.h (getPar):
6396 * text.C: new function
6398 2003-08-11 André Pönitz <poenitz@gmx.net>
6401 * tracer.[Ch]: remove unneeded files
6403 * InsetList.[Ch]: remove resizeInsetsLyXText()
6408 * text3.C: merge insertParagraphs() and appendParagraph()
6409 remove breakAgain(), update()
6411 * BufferView_pimpl.[Ch]:
6412 * bufferview_funcs.[Ch]:
6416 * tabular.C: adjust after text & InsetList changes.
6418 2003-08-08 André Pönitz <poenitz@gmx.net>
6420 * text.C (insertChar, backspace): replace rowlist fiddling
6421 with rebreak of full par
6424 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6425 checkParagraph, updateInset): removed
6427 2003-08-07 André Pönitz <poenitz@gmx.net>
6430 * text3.C: merge some LFUN handlers, remove dead code
6432 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6434 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6436 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6438 * text2.C (DEPM): fix part of bug 1255 and 1256
6440 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6442 * BufferView_pimpl.C (workAreaDispatch): change to use
6443 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6444 that are no mouse related.
6446 2003-08-05 André Pönitz <poenitz@gmx.net>
6449 * BufferView_pimpl.[Ch]:
6450 * bufferview_funcs.C:
6452 * text3.C: rip out "deep update"
6454 * textcursor.[Ch] (last_sel_cursor): remove unused member
6456 2003-08-04 André Pönitz <poenitz@gmx.net>
6459 * BufferView_pimpl.[Ch]:
6460 * ParagraphParameters.C:
6461 * bufferview_funcs.C:
6467 * text3.C: replace "complicated" BufferView::update(...) calls with
6470 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6472 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6474 * Makefile.am (lyx_SOURCES): add paper.h
6476 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6478 * Makefile.am: move things around so that both lyx-qt and
6479 lyx-xforms can be built (according to --with-frontend). Then lyx
6480 is a symbolic link to lyx-[firstfrontend]
6482 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6484 * Always use std::endl with lyxerr
6486 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6488 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6490 2003-08-01 André Pönitz <poenitz@gmx.net>
6493 * BufferView_pimpl.[Ch]:
6495 * text3.C: merge BufferView::repaint() and BufferView::update()
6497 2003-08-01 José Matos <jamatos@lyx.org>
6499 * buffer.[Ch]: file_format is no longer a buffer data element.
6501 2003-08-01 André Pönitz <poenitz@gmx.net>
6506 * text2.C: make redoParagraph more independent of current cursor
6508 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6510 * text2.C: remove unneeded members
6512 2003-07-30 André Pönitz <poenitz@gmx.net>
6514 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6516 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6517 create a single function...
6519 * paragraph_funcs.C (moveItem): ... here.
6522 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6524 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6526 * LColor.[Ch]: Add comment and greyedout logical colors.
6528 2003-07-30 André Pönitz <poenitz@gmx.net>
6530 * tabular.C: don't use Assert too heavily. This crashes where it
6533 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6535 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6536 is disabled (bug 1232)
6538 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6540 * factory.C: limited 'arg' scope
6542 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6544 * factory.C: fixed Note submenu issues
6546 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6548 * factory.C: submenu for Note/Comment/Greyedout
6550 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6553 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6555 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6558 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6559 greyedout. Patch provided by Jürgen Spitzmüller.
6561 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6563 * kbmap.C (read): fix error message when reading bind files
6565 2003-07-29 Angus Leeming <leeming@lyx.org>
6567 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6568 certainly does not do what it purports to do. I am doing it, and
6569 us, a favour by killing it.
6571 2003-07-28 José Matos <jamatos@lyx.org>
6573 * buffer.C (readBody, do_writeFile):
6574 * paragraph.C(readParagraph): \end_document replaces \the_end.
6576 2003-07-29 André Pönitz <poenitz@gmx.net>
6579 * BufferView_pimpl.[Ch]:
6583 * textcursor.[Ch]: remove toggleToggle & Co
6585 2003-07-28 José Matos <jamatos@fep.up.pt>
6587 * buffer.C (readParagraph):
6588 * params_func (readParToken, readParagraph):
6589 * paragraph.C (write): \layout -> \begin_layout.
6591 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6593 * lyxlex_pimpl.C (setFile): clean up slightly.
6595 * bufferparams.h: add compressed var
6597 * buffer_funcs.C (readFile): adjust for LyXLex change
6598 (newFile): ditto + simplify
6600 * buffer.C (writeFile): handle writing of compressed files
6602 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6603 Check if the file is compressed and set a bufferparm if so.
6605 * Makefile.am (lyx_LDADD): remove explicit -lz
6607 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6609 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6610 makeDocBookFile): put the real LyX version in the first line of
6614 * version.C.in: remove lyx_docversion
6616 * tabular.C (write_attribute): add a template-based version to
6617 write enums properly
6619 2003-07-28 André Pönitz <poenitz@gmx.net>
6624 * text3.C: use doubles again for x-coordinates. They are needed.
6626 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6628 * messages.C (getLocaleDir): use lyx_localedir()
6630 * lyxlex_pimpl.C (setFile): compress stuff
6632 * buffer.C (writeFile): add some compression stuff
6633 (do_writeFile): new func, dont call expliti close... will this
6636 * Makefile.am (lyx_LDADD): add -lz
6638 2003-07-28 José Matos <jamatos@fep.up.pt>
6640 * buffer.C: increment file format.
6641 * paragraph_funcs (readParagraph, readParToken):
6642 * paragraph.C (readParagraph): add \end_layout.
6644 2003-07-27 Angus Leeming <leeming@lyx.org>
6646 * Makefile.am: remove special casing for configure-time setting of
6647 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6649 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6650 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6652 2003-07-26 André Pönitz <poenitz@gmx.net>
6654 * paragraph_func.[Ch]:
6655 * paragraph.C (realizeFont): inline it whereever it is used
6660 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6663 2003-07-26 André Pönitz <poenitz@gmx.net>
6667 * text2.C: get rid of LyXText::need_break_row
6669 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6671 * toc.[Ch]: put namespace toc inside namespace lyx
6673 * MenuBackend.C (expandToc2): adjust for lyx::toc
6676 * lyxfunc.C (dispatch): adjust for lyx::find
6678 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6679 lyx::find instead. Reorganize a bit.
6680 (LyXReplace): rename to replace
6681 (LyXFind): rename to find
6683 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6686 2003-07-26 André Pönitz <poenitz@gmx.net>
6688 * text.C (setHeightOfRow): restrict scope of temporary variable
6690 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6691 code (never has been used?)
6693 2003-07-27 Asger Alstrup <alstrup@local>
6695 * text.C (fill): Optimise algorithm to exploit that we can reuse
6696 the LyXFont for many characters.
6697 (setHeightOfRow): Same thing.
6698 (rowBreakPoint): Same thing.
6700 2003-07-26 Asger Alstrup <alstrup@local>
6702 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6704 * text.C (singleWidth): Spurious font copying in hot-spot
6705 singleWidth avoided. Reorder tests for arabic for efficiency.
6707 * text.C (fill): handle empty paragraphs better.
6709 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6712 * encoding.h: add includes
6714 * lyxrc.C: remove reading of bind files
6716 * lyx_main.C (init): setup bindings and menus only if we have a
6719 * kbmap.C (read): new method. Do the actual reading of bind
6722 * converter.C (dvipdfm_options):
6725 (output): adapt PAPER_* enums.
6727 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6729 * bufferparams.h: remove paper-related enums from there
6731 * paper.h: New file. A trivial header file to hold paper-related
6732 enums. It should later expand to contain many paper-related
6735 * lyxrc.C: declare extern displayTranslator
6737 2003-07-27 José Matos <jamatos@fep.up.pt>
6739 * tabular.[Ch] (linuxdoc): add support for tables and figures
6742 2003-07-27 José Matos <jamatos@fep.up.pt>
6744 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6745 consistency in both functions.
6746 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6748 2003-07-26 Asger Alstrup <alstrup@local>
6750 * rowpainter.C (paintRows): Change algorithm to work directly on
6751 the insets rather than asking every character in the document
6752 whether its an inset.
6754 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6756 * buffer.C (openFileWrite): factorize some code
6758 2003-07-26 Angus Leeming <leeming@lyx.org>
6761 * lyx_main.[Ch]: replace occurances of system_tempdir with
6764 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6766 * rename Inset to InsetOld
6768 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6770 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6771 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6772 which I think is a bit clearer. EDIT is gone, since it was
6773 premature optimisation, and broken for mathed anyway.
6774 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6775 with cursor positioning in insets as well (math insets still do not
6776 work, but that's a different story anyway.) It mysteriously
6777 crashes sometimes with undo in the first paragraph, but I'm fairly
6778 confident that this is a compiler bug.
6780 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6782 * paragraph.C (Paragraph): adjust for new clone return type
6784 (copyIntoMinibuffer): ditto
6786 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6788 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6789 by not having a special case, and always doing a full rebreak of
6790 the document after undo.
6792 2003-07-23 Angus Leeming <leeming@lyx.org>
6794 * factory.C (createInset): InsetExternal::setParams now takes a
6797 2003-07-23 Angus Leeming <leeming@lyx.org>
6799 * factory.C (createInset): changed interface to the external and
6800 graphics mailers' string2params functions.
6802 2003-07-23 Angus Leeming <leeming@lyx.org>
6804 * factory.C (createInset): pass a
6805 Buffer const * parameter to InsetExternalMailer's string2params.
6807 2003-07-22 John Levon <levon@movementarian.org>
6809 * Thesaurus.h: include the right aiksaurus header
6811 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6813 * MenuBackend.C (expand): check menu shortcuts unconditionally
6815 2003-07-21 Angus Leeming <leeming@lyx.org>
6817 * factory.C (createInset): pass a
6818 buffer_path parameter to InsetGraphicsMailer's string2params.
6820 2003-07-21 Angus Leeming <leeming@lyx.org>
6822 * BufferView_pimpl.C (buffer):
6825 * lyxfunc.C (dispatch):
6826 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6827 rather than the grfx shortcut.
6829 2003-07-21 André Pönitz <poenitz@gmx.net>
6831 * rowpainter.C: remove unused variables
6834 * tabular_funcs.h: move to tabular.C
6835 * Makefile.am: adjust
6837 * tabular.[Ch]: basic optical cleaning
6839 * author.h: pass references, not values
6841 2003-07-18 André Pönitz <poenitz@gmx.net>
6849 * text3.C: two-phase drawing for InsetText and InsetTabular
6850 some float -> int changes.
6852 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6854 * lyx_main.C: fix the fix
6856 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6858 * lyx_main.C: fix a crash in batch mode if no files specified
6861 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6863 * format.[Ch] (papersize): moved to BufferParams
6864 * converter.[Ch] (dvips_options): moved to BufferParams
6865 (dvipdfm_options): moved to anon namespace
6866 * bufferparams.[Ch]: added above functions.
6868 2003-07-17 André Pönitz <poenitz@gmx.net>
6872 * text2.C: don't call inset->update() anymore
6874 * metricsinfo.[Ch]: add convenience constructor
6876 2003-07-16 André Pönitz <poenitz@gmx.net>
6881 * text2.C: replace the LyXCursor::irow_ member with
6882 on-demand computation of the value
6884 2003-07-16 John Levon <levon@movementarian.org>
6886 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6888 2003-07-15 André Pönitz <poenitz@gmx.net>
6891 * text2.C: remove no more needed refresh_row
6893 2003-07-15 André Pönitz <poenitz@gmx.net>
6898 * text3.C: refresh_status tristate -> need_update bool
6900 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6902 * lyxtext.h (init): remove reinit argument (act as if always true)
6903 * text2.C: adjust to that
6905 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6907 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6908 * text3.C: use it to delete selections in some cases
6909 (bugs 441, 673, 702, 954).
6911 2003-07-14 André Pönitz <poenitz@gmx.net>
6913 * rowpainter.[Ch]: reduce interface
6915 2003-07-14 André Pönitz <poenitz@gmx.net>
6917 * BufferView_pimpl.C:
6918 * text2.C: adjust after removing unused BufferView * argument
6920 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6922 * text2.C (init): fix a crash fired on resize
6924 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6926 * buffer.[Ch]: added new closing signal
6927 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6928 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6929 BufferView::Pimpl via the closing the signal
6931 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6933 * buffer.[Ch]: take out all bv-related from buffer
6935 * BufferView_pimpl.[Ch]: connect to new signals
6936 * CutAndPaste.C: removed useless asserts
6937 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6940 * lyxfunc.C: moved view-related funciontality from vc here
6941 * paragraph.C: removed outdated comments
6944 2003-07-10 André Pönitz <poenitz@gmx.net>
6946 * BufferView_pimpl.C:
6950 * text2.C: remove InsetText::InnerCache, clean up consequences
6952 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6954 * ispell.C: fix two typos in error messages
6956 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6958 * Extend Note inset to other forms of annotation like Comment
6959 and Greyedout. Right button click gives dialog.
6961 Files modified or added (+):
6965 * ControlNote.[Ch] +
6967 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6968 frontends/controllers
6972 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6974 * aspell.C: add missing namespace lyx::support
6976 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6978 * BufferView.[Ch] (newFile): Add
6979 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6980 * LaTeX.[Ch] (message): added this signal and use it
6981 * buffer.[Ch] (busy, message): added these signals and use them
6982 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6986 * importer.C: use buffer signals instead of direct bv calling
6987 * lyx_cb.[Ch] (ShowMessage): removed
6990 * paragraph_funcs.C:
6991 * text2.C: use buffer signals
6993 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6995 * introduce namespace lyx::graphics
6997 2003-07-02 André Pönitz <poenitz@gmx.net>
6999 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7001 2003-07-01 André Pönitz <poenitz@gmx.net>
7008 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7009 text*.C to text_func.C
7011 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7013 * introduce namespace lyx::support
7015 2003-06-30 André Pönitz <poenitz@gmx.net>
7020 * text.C: re-enable --with-included-string
7022 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7024 * textcursor.C: add <config.h>
7026 * text.C (getWord): remove const from word_location arg
7028 * lyxvc.C (getLogFile): fix const type order
7030 * lyxtext.h: remove const from word_location arg, add arg name
7032 * lyxlayout.h: currect type on labeltype.
7034 * importer.C: correct \file
7036 * converter.C (intToFormat): use std:: on ret val, ws changes
7038 * bufferlist.h: correct \file
7040 * buffer.C (makeLinuxDocFile): fix const type order
7041 (makeDocBookFile): ditto
7042 (fillWithBibKeys): use std:: on stdlib args.
7044 * CutAndPaste.C: fix authors.
7045 (availableSelections): use std:: on return vector
7047 2003-06-27 André Pönitz <poenitz@gmx.net>
7049 * BufferView_pimpl.C:
7050 * bufferview_funcs.C:
7058 * text3.C: remove LyXCursor::row_ member
7061 * text.C: rename fullRebreak() to partialRebreak() and implement
7062 a fullRebreak() that really bereks fully
7064 * textcursor.h: new struct for cursor-related data
7066 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7068 * lyx_main.C (LyX): get full path of document loaded on the
7071 2003-06-26 André Pönitz <poenitz@gmx.net>
7073 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7074 remove unused/broken operator>,<,>=.
7076 * text.C: remove only use of broken operator<= in an Assert().
7078 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7080 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7081 moved errorlist_.clear to showErrorList
7083 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7085 * converter.C (scanLog, runLaTeX):
7086 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7087 move the bv->showErrorList call to the callers
7088 * lyxfunc.C: i.e. here...
7090 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7091 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7092 namespace, the second to...
7093 * buffer_funcs (BufferFormat, parseErrors): added
7094 * errorlist.C (ErrorList(TeXErrors const &)): removed
7096 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7098 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7100 2003-06-24 "Garst R. Reese" <reese@isn.net>
7104 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7106 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7108 * version.C.in: change docversion to 1.4
7110 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7112 * buffer.C: fix a bug just introduced
7114 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7116 * buffer.[Ch]: added the parseError signal and use it, removed
7118 * BufferView.[Ch] (addError): moved to ...
7119 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7120 to the Buffer::parseError signal to catch (guess what) parse errors
7121 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7123 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7125 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7126 ability to create a buffer and to return an existing one from
7127 the list. Moved these functions to...
7128 * buffer_funcs.[Ch]: added
7129 * BufferView.[Ch] (loadLyXFile): added
7130 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7131 job removed from bufferlist::loadLyXFile.
7132 * buffer.C (setReadOnly): make it work without view
7133 (i.e added an if (users))
7135 2003-06-19 Angus Leeming <leeming@lyx.org>
7138 * LyXAction.C (init):
7139 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7140 with LFUN_DIALOG_SHOW <name> <data>.
7142 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7144 * CutAndPaste.C (availableSelections): small compilation fix for
7145 ancient (gcc 2.9x) compilers
7147 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7149 * text3.C (cursorNext): add tmp var
7151 * text2.C (updateCounters): for function calling out of for clause
7152 (replaceSelectionWithString): ditto
7153 (insertStringAsParagraphs): ditto
7154 (getColumnNearX): add tmp var
7155 (setCursorFromCoordinates): add tmp var
7156 (cursorDownParagraph): add tmp var
7157 (deleteEmptyParagraphMechanism): add tmp var
7159 * text.C (insertChar): add tmp var
7161 * rowpainter.C (paintDepthBar): add tmp var
7163 * CutAndPaste.C (availableSelections): potentially check all
7164 paragraphs in a cut to fill the shown strings.
7166 2003-06-18 André Pönitz <poenitz@gmx.net>
7168 * kbmap.[Ch]: use vector<> instead of list<>
7170 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7172 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7173 pasteSelection with index
7175 * text2.C (pasteSelection): modify, call pasteSelection with index
7177 * paragraph.C (asString): reimplement version with no interval to
7178 call the one with interval.
7180 * lyxtext.h: add index arg to pasteSelection
7182 * MenuBackend.C (MenuItem): handle PasteRecent
7183 (Menu::read::Menutags): add md_pasterecent
7185 (expandPasteRecent): new function
7188 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7190 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7192 (availableSelections): new function
7194 2003-06-17 Angus Leeming <leeming@lyx.org>
7196 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7198 2003-06-17 Angus Leeming <leeming@lyx.org>
7201 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7203 * lyxfunc.C (dispatch): invoke it.
7205 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7207 * iterators.C (operator++, ParPosition): reintroduce some
7208 const_cast for the benefit of older compilers.
7210 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7212 * text3.C (dispatch): do not modify clipboard when doing
7213 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7214 LFUN_DELETE_SKIP on a selection selection
7216 2003-06-16 André Pönitz <poenitz@gmx.net>
7222 * tabular.[Ch]: IU of clone() and getLabelList();
7224 2003-06-13 André Pönitz <poenitz@gmx.net>
7226 * tabular.h: compactification
7228 2003-06-12 André Pönitz <poenitz@gmx.net>
7232 * tabular_funcs.h: some renaming plus whitespace
7234 2003-06-12 André Pönitz <poenitz@gmx.net>
7237 * BufferView_pimpl.C:
7243 * toc.C: Return a Paragraph & for ParIterator::operator*()
7245 2003-06-11 John Levon <levon@movementarian.org>
7249 * ToolbarBackend.C: add "Toolbars" section and
7252 2003-06-10 Angus Leeming <leeming@lyx.org>
7255 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7257 * lyxfunc.C (dispatch): invoke it.
7259 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7261 * main.C: protect <ios> with HAVE_IOS
7262 (main): protect sync_with_stdio with HAVE_IOS
7264 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7266 * text2.C (cutSelection): adjust
7267 (pasteSelection): adjust
7269 * messages.C: handle get of empty string
7271 * main.C (main): use sync_with_stdio(false)
7273 * lyxfunc.C (dispatch): adjust
7275 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7276 (WriteAs): remove unneeded BufferView arg.
7278 * bufferparams.h: use correct types on papersize, papersize2 and
7281 * bufferparams.C (readToken): adjust for type
7282 (writeLaTeX): add missing cases to switch.
7284 * bufferlist.C (quitWriteBuffer): adjust
7287 * buffer.C (asciiParagraph): remove some commented code.
7289 * CutAndPaste.C: remove current_view extern variable.
7290 (cutSelection): add BufferParams arg.
7291 (eraseSelection): add BufferParams arg.
7292 (pasteSelection): add Buffer const & arg
7294 2003-06-07 John Levon <levon@movementarian.org>
7297 * paragraph_funcs.C:
7298 * paragraph_pimpl.C:
7302 * paragraph.C: allow InsetERT to freely space lines,
7303 and some consolidation of code
7305 2003-06-06 José Matos <jamatos@fep.up.pt>
7307 * buffer.C (makeDocBookFile): fix bug #821
7309 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7311 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7313 2003-06-04 Angus Leeming <leeming@lyx.org>
7315 * buffer.C: bump format to 224.
7317 2003-06-05 André Pönitz <poenitz@gmx.net>
7319 * text2.C (redoParagraphs): remove two const_cast<>
7321 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7323 * ParagraphList.h: remove last remnants of NO_STD_LIST
7325 2003-06-03 Angus Leeming <leeming@lyx.org>
7327 * factory.C (createInset): small change to the way InsetExternal's params
7330 2003-06-04 André Pönitz <poenitz@gmx.net>
7332 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7334 * paragraph_pimpl.h:
7335 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7337 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7339 * undo_funcs.C: make some simple cases of undo work again
7341 2003-06-03 John Levon <levon@movementarian.org>
7343 * ispell.C: HPUX doesn't have sys/select.h
7346 2003-06-03 John Levon <levon@movementarian.org>
7348 * CutAndPaste.C: update tabular and include inset
7353 * paragraph.C: remove owningBuffer(), don't pass Buffer
7356 * factory.C: insetGraphicsParams changed
7358 2003-06-02 John Levon <levon@movementarian.org>
7364 * text3.C: remove insetparent
7366 2003-06-02 John Levon <levon@movementarian.org>
7369 * buffer.C: fix inset_iterator.end(), move out of line
7372 2003-06-01 John Levon <levon@movementarian.org>
7374 * text3.C: use a proper cut/paste when doing inset
7375 insert (from Jürgen Spitzmüller)
7377 2003-06-01 John Levon <levon@movementarian.org>
7379 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7381 2003-05-30 André Pönitz <poenitz@gmx.net>
7383 * rowpainter.C: unify second drawing phase
7385 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7387 * trans_mgr.C: remove one case of current_view
7389 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7391 * paragraph_funcs.h: remove paragraph.h include
7393 * paragraph.h: delete NO_STD_LIST stuff
7395 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7397 * buffer.h: remove paragraph.h include
7399 * ParagraphList.C: delete file
7401 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7403 * toc.C (getTocList): adjust
7405 * paragraph_pimpl.C (validate): adjust
7407 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7409 * paragraph.C (Paragraph): adjust
7410 (getPositionOfInset): use const_iterator, adjust
7411 (bibitem): use const_iterator, adjust
7412 (setInsetOwner): adjust
7414 * iterators.C (operator++): adjust
7416 * InsetList.[Ch]: Replace selfmade iterator with standard
7417 vector::iterator also introduce const_iterator. Remove getPos,
7418 getInset and setInset from InsetTable. Adjust accordingly.
7420 * BufferView.C (lockInset): adjust
7421 (ChangeInsets): adjust
7423 * tabular.[Ch]: delete commented same_id functions
7425 2003-05-28 John Levon <levon@movementarian.org>
7427 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7429 2003-05-28 André Pönitz <poenitz@gmx.net>
7431 * metricsinfo.[Ch]: remove 'fullredraw' member
7433 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7435 * lyxtextclass.C (operator): remove caching.
7437 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7441 * text2.C (cursorBottom): adjust
7442 (setCounter): use ParagraphList::find, adjust
7444 * text.C (workWidth): use ParagraphList::find, adjust
7446 * lyxcursor.C (LyXCursor): adjust
7448 * buffer.C (inset_iterator): adjust
7450 * ParagraphList.h: make iterator(value_type) private, make
7451 ParagraphList a friend of iterator.
7453 * ParagraphList.C (find): new function
7455 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7457 2003-05-27 André Pönitz <poenitz@gmx.net>
7459 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7461 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7463 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7465 2003-05-26 John Levon <levon@movementarian.org>
7467 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7469 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7471 * remove same_id from function signatures, adjust.
7473 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7477 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7479 * paragraph.C (Paragraph): get rid of same_ids parameter
7481 * ParagraphList.C (insert): adjust
7484 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7486 * paragraph_funcs.C (breakParagraph): adjust
7487 (breakParagraphConservative): adjust
7489 * buffer.C (readParagraph): adjust
7491 * ParagraphList.C (insert): take a reference instead of a pointer
7494 * paragraph.[Ch] (id): new function
7496 * bufferlist.C (newFile): adjust
7498 * ParagraphList.C (ParagraphList): adjust
7500 (push_back): take a reference instead of a pointer.
7502 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7504 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7507 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7508 set else use old code.
7510 * ParagraphList.C: remove all NO_NEXT code and only compile this
7511 code of NO_STD_LIST is set.
7513 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7515 * BufferView_pimpl.C:
7525 * graphics/GraphicsConverter.C:
7526 * graphics/PreviewLoader.C: header adjustment
7528 2003-05-23 Angus Leeming <leeming@lyx.org>
7530 * LaTeXFeatures.[Ch] (useBabel): new method.
7531 * bufferparams.C (writeLaTeX): use it.
7533 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * ParagraphList.h (set): remove unused function.
7537 2003-05-23 André Pönitz <poenitz@gmx.net>
7540 * BufferView_pimpl.C:
7544 * undo_funcs.C: setUndo reworked
7546 * iterators.[Ch]: add access to topmost ParagraphList
7548 * lyxtext.[Ch] (workWidth): add a const
7550 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7552 * texrow.[Ch] (increasePos): remove function
7553 * exporter.C (export): removed unused var and outdated comment
7555 2003-05-23 Angus Leeming <leeming@lyx.org>
7557 * latexrunparams.h: rename fragile as moving_arg.
7558 * paragraph.C (simpleTeXOnePar): ditto.
7559 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7561 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7563 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7565 (textUndoOrRedo): comment out a currently unused var.
7567 * paragraph.h (NO_NEXT): enable NO_NEXT
7569 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7571 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7573 * exporter.C (Export): adjust for removeAutoInsets removal.
7575 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7577 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7579 * BufferView.[Ch] (removeAutoInsets): delete function
7581 2003-05-22 Angus Leeming <leeming@lyx.org>
7583 * latexrunparams.h: add a free_spacing variable.
7585 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7586 to pass moving_arg, as the data is stored in runparams.fragile.
7588 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7589 to Inset::latexOptional or to simpleTeXOnePar.
7591 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7592 free_spacing arg to Inset::latexOptional.
7594 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7597 2003-05-22 Angus Leeming <leeming@lyx.org>
7599 * latexrunparams.h: add fragile and use_babel variables.
7601 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7602 * buffer.C (makeLaTeXFile): store this returned value in
7603 runparams.use_babel, thus passing it to the inset::latex methods.
7605 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7606 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7608 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7609 longer has a fragile arg, as it is stored in runparams.fragile.
7611 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7612 moving_arg parameter as the data is stored in runparams.fragile.
7614 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7615 a fragile parameter as the data is stored in runparams.fragile.
7617 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7619 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7621 2003-05-22 Angus Leeming <leeming@lyx.org>
7623 * latexrunparams.h: add a 'bool nice' which defaults to false.
7625 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7626 now encapsulated within runparams.
7628 * bufferlist.C (updateIncludedTeXfiles):
7629 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7631 2003-05-22 Angus Leeming <leeming@lyx.org>
7633 * latexrunparams.h: new file containing struct LatexRunParams.
7634 * Makefile.am: add new file.
7636 * LaTeX.[Ch] (c-tor, run):
7637 * buffer.[Ch] (makeLaTeXFile):
7638 * bufferlist.[Ch] (updateIncludedTeXfiles):
7639 * converter.C (convert, scanLog):
7640 * converter.[Ch] (runLaTeX):
7641 * exporter.C (Export):
7642 * paragraph.[Ch] (simpleTeXOnePar):
7643 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7644 * paragraph_funcs.[Ch] (latexParagraphs):
7645 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7646 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7647 pass around a LatexRunParams parameter.
7649 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7651 * paragraph.[Ch]: remove unused constructor
7653 * ParagraphList.C (erase): new function, taking two iterators
7655 2003-05-22 André Pönitz <poenitz@gmx.net>
7657 * undo_funcs.C: remove duplicated code
7659 * iterator.[Ch]: operator=
7661 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7663 * tabular.C (SetMultiColumn): ws changes
7665 * rowpainter.C (paintFirst): get rid of a ->previous
7667 * lyx_cb.C (getPossibleLabel): parlist simplification
7669 * BufferView.C (ChangeInsets): simplify slightly.
7671 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7673 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7674 * lfuns.h: new LFUN_SPACE
7675 * lyxfunc.C: protected space has a new lfun
7676 * paragraph_funcs.C: read new space insets
7678 * factory.C: handle new space insets
7680 2003-05-22 André Pönitz <poenitz@gmx.net>
7683 * BufferView_pimpl.C:
7686 * undo_funcs.C: return a ParIterator from getParFromID.
7688 * iterators.[Ch]: add two const's
7690 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7692 * toc.C (getTocList): adjust
7694 * iterators.[Ch]: rework for parlist
7696 * buffer.C (par_iterator_begin): adjust
7697 (par_iterator_end): adjust
7699 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7701 * BufferView.C (removeAutoInsets): adjust
7702 (ChangeInsets): adjust
7704 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7706 * text.C (top_y): fix bug 1110
7708 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7710 * errorlist.[Ch]: added
7713 * BufferView_pimpl.C:
7714 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7717 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7719 * Makefile.am: ensure that lyx is relinked upon changes to the
7720 various "convenience" libs.
7722 2003-05-20 Angus Leeming <leeming@lyx.org>
7724 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7725 files are compiled in alphabetical order again.
7727 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7729 2003-05-19 Angus Leeming <leeming@lyx.org>
7731 * gettext.[Ch]: remove "char const * _(char const *)".
7733 2003-05-19 André Pönitz <poenitz@gmx.net>
7735 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7744 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7746 2003-05-19 André Pönitz <poenitz@gmx.net>
7750 * lyxtextclass.[Ch]:
7752 * paragraph_funcs.[Ch]:
7754 * text3.C: more insetenv work
7756 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7758 * ParagraphParameters.C (params2string): small bug fixed
7760 2003-05-16 André Pönitz <poenitz@gmx.net>
7763 * bufferview_funcs.C: patch from Kornel Benko to prevent
7764 crash when _(...) is called twice in a statement
7766 2003-05-16 André Pönitz <poenitz@gmx.net>
7773 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7775 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7777 * lyx_main.C (init): remove spurious static_cast
7779 2003-05-14 André Pönitz <poenitz@gmx.net>
7781 * BufferView.C: fix format string
7783 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7785 * BufferView.[Ch] (insertErrors): removed
7786 * BufferView.[Ch] (showErrorList): added
7787 * buffer.C (runChkTeX):
7788 * converter.C (scanLog): call showErrorList instead of inserterrors
7790 2003-05-13 André Pönitz <poenitz@gmx.net>
7792 * BufferView_pimpl.C:
7794 * bufferview_func.C:
7801 * tabular_funcs.h: tostr() from its own header
7803 * ParagraphParameters.C:
7808 * text3.C: STRCONV()
7810 2003-05-12 André Pönitz <poenitz@gmx.net>
7813 * BufferView_pimpl.C:
7817 * ParagraphParameters.C:
7821 * bufferview_funcs.C:
7834 * paragraph_funcs.C:
7838 * text3.C: boost::format -> bformat all over the place
7841 2003-05-09 André Pönitz <poenitz@gmx.net>
7843 * LColor.[Ch]: Pimpl the #include <map> away
7845 2003-05-09 John Levon <levon@movementarian.org>
7847 * bufferlist.C: never remove emergency saves
7849 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7851 * Makefile.am: better lib building
7853 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7855 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7857 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7858 (simpleTeXSpecialChars): adjust
7859 (simpleTeXSpecialChars): adjust
7860 * paragraph.C (simpleTeXOnePar): adjust
7861 * buffer.C (makeLaTeXFile): adjust
7863 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7865 * text2.C (changeDepth): parlist cleanup
7866 (getColumnNearX): ditto
7868 * rowpainter.C (getLabelFont): parlist cleanup
7870 * bufferlist.C (newFile): parlist cleanup
7872 * CutAndPaste.C (eraseSelection): parlist cleanup
7874 * BufferView_pimpl.C (trackChanges): parlist cleanup
7877 * BufferView.C (lockInset): parlist cleanup.
7878 (ChangeInsets): ditto
7880 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7882 * CutAndPaste.h: Update file header.
7884 * CutAndPaste.C: Update file header.
7885 Store the parts cut out of the Document in a limited_stack.
7886 (copySelection): adjust
7887 (pasteSelection): new function, takes the index in the limited stack.
7888 (nrOfParagraphs): adjust
7889 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7890 simplify error inset insertion.
7891 (checkPastePossible): adjust
7893 2003-05-06 John Levon <levon@movementarian.org>
7895 * text2.C: don't cast wrap inset to float
7897 2003-05-05 André Pönitz <poenitz@gmx.net>
7900 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7902 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7903 few naked Paragraph *.
7905 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7907 * bufferparams.C: Output warning if a document with missing
7908 TeX document class is loaded
7909 * exporter.C: Disable TeX exports if the document class is missing
7912 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7913 isTeXClassAvailable()
7915 2003-05-03 John Levon <levon@movementarian.org>
7918 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7919 explicit cursor show/hide
7921 * BufferView_pimpl.h:
7922 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7923 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7925 * lyxfunc.C: hide cursor before dispatching.
7930 * text3.C: remove explicit cursor hides
7932 2003-05-02 André Pönitz <poenitz@gmx.net>
7934 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7937 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7940 * text2.C: tiny whitespace
7942 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7944 * undo_funcs.C: almost only ws changes.
7946 * ParagraphList.C (splice): just return if pl is empty.
7948 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7950 * ParagraphList.C (splice): new function.
7952 * CutAndPaste.C (pasteSelection): use it
7954 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7956 * CutAndPaste.C (pasteSelection): remove the last next and
7957 previous from this file.
7959 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7961 * CutAndPaste.C (pasteSelection): more clean up, user proper
7962 ParagraphList functions for pasteing.
7964 * ParagraphList.C (insert): new function, three arg insert
7966 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7968 * ParagraphList.C (insert): new function, three arg insert
7970 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7973 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7975 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7977 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7979 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7981 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7983 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7984 (copySelection): clean up a bit.
7985 (pasteSelection): use make_pair
7987 * ParagraphList.C (ParagraphList): implement copy constructor
7988 (operator=): implement, base on copy constructor.
7991 * paragraph.C (erase): return a bool
7993 * paragraph_pimpl.C (erasePos): remove function, move contents...
7994 (erase): ... here. Return a bool.
7995 (erase): call erase instead of erasePos.
7997 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7999 * ParagraphList.h: define PitPosPair
8000 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8001 ParagraphList, fix a bug on pasting multiple pars
8002 * text2.C: change interface to C&P
8004 2003-04-30 André Pönitz <poenitz@gmx.net>
8006 * undo_func.C: revert part of yesterday's patch 2
8008 2003-04-30 John Levon <levon@movementarian.org>
8010 * LColor.C: s/tabular/table/
8012 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * text3.C (dispatch): do not convert iterator -> pointer
8015 * undo_funcs.C (setCursorParUndo): ditto
8016 * text_funcs.C (transposeChars): ditto
8018 * text2.C (setLayout): ws changes only
8020 * text.C (breakParagraph): do not convert iterator -> pointer
8022 (acceptChange): ditto
8023 (rejectChange): ditto
8028 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8031 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8033 * text3.C (gotoInset): YABG (yet another bad getChar)
8035 2003-04-29 André Pönitz <poenitz@gmx.net>
8037 * paragraph.h: make operator= private unimplemented as long as
8040 * ParagraphList.C: whitespace
8043 * paragraph_pimpl.[Ch]:
8044 * paragraph_funcs.C:
8046 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8049 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8051 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8053 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8054 * paragraph.[Ch] (erase):
8055 * paragraph_pimpl.[Ch] (erase): change return type and value
8056 * text2.C (cutSelection): some rework
8058 2003-04-28 John Levon <levon@movementarian.org>
8060 * bufferlist.C: changes for unsaved changes dialog
8062 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8064 * bufferlist.C (newFile): set language (messages_) for new
8067 * buffer.C (readFile): ws changes only.
8069 2003-04-28 André Pönitz <poenitz@gmx.net>
8074 * BufferView_pimpl.C:
8075 * BufferView.C: getParFromID related ParagraphList::iterator changes
8077 2003-04-28 André Pönitz <poenitz@gmx.net>
8079 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8082 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8084 * messages.C: remove one more localedir class variable.
8086 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8088 * messages.C (getLocaleDir): singleton generation function
8090 (Messages): add a default constructor.
8092 * main.C (main): do not setup localedir here, do not call
8095 * gettext.C (_): use it.
8096 (gettext_init): delete funciton
8098 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8100 * gettext.C (getLyXMessages): new singleton generating function.
8102 * buffer.C (updateDocLang): adjust
8104 * Makefile.am (messages.o): add target
8105 (main.o): remove target
8107 2003-04-27 John Levon <levon@movementarian.org>
8112 * lyxvc.C: specify cancel button in Alert::prompt
8114 2003-04-26 John Levon <levon@movementarian.org>
8119 * LyXAction.C: add LFUN_INSET_SETTINGS
8121 * lyxfunc.C: don't enable tabular-feature when there's
8122 just any locking inset
8124 2003-04-26 John Levon <levon@movementarian.org>
8126 * bufferlist.C: re-add Cancel to buffer close question
8128 * lyxfunc.C: fix import UI a bit
8130 2003-04-25 John Levon <levon@movementarian.org>
8132 * gettext.C: remove the broken asserts for now
8134 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8136 * messages.C: make case where setlocale cannot comply work better.
8138 * buffer.C (updateDocLang): new function
8139 (changeLanguage): use it
8142 * text2.C (setCounter): use B_ a bit.
8144 * lyxlayout.C (Read): be sure to trim the label strings.
8146 * messages.C (Messages): fix typo in comment
8148 * buffer.C (readFile): set message_ after file is loaded.
8149 (makeDocBookFile): remove double return
8150 (changeLanguage): reset message_ upon language change.
8151 (B_): new func, use this to get translated buffer strings.
8153 * main.C: add myself and Jean Marc as authors.
8155 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8157 * messages.[hC]: pimplify Messages, and three different pimpls to be
8158 used in different circumstances.
8160 * gettext.[Ch]: change for use with new message code.
8162 2003-04-24 André Pönitz <poenitz@gmx.net>
8164 * factory.C: support for eqref
8166 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8168 * messages.[Ch]: add missing char
8170 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8172 * messages.[Ch]: New files
8174 2003-04-18 John Levon <levon@movementarian.org>
8178 * BufferView_pimpl.C:
8182 * text2.C: remove layout-copy/paste (bug 778)
8184 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8186 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8188 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8190 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8191 if they succeed. Act accordingly.
8193 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8195 * text2.C (setCharFont): adjust
8196 (setCounter): adjust
8197 (insertStringAsLines): adjust
8199 * text.C (leftMargin): adjust
8200 (setHeightOfRow): adjust
8202 * rowpainter.C (paintFirst): adjust
8205 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8207 (isFirstInSequence): ditto
8208 (getEndLabel): ditto
8211 * paragraph.C (getParLanguage): comment out some hard stuff.
8213 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8215 (simpleDocBookOnePar): ditto
8216 (makeDocBookFile): use ParagraphList::iterator
8218 * CutAndPaste.C (pasteSelection): adjust
8220 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8222 * text2.C (getFont): adjust
8223 (getLayoutFont): adjust
8224 (getLabelFont): adjust
8226 * paragraph_funcs.C (TeXOnePar): adjust
8228 * buffer.C (simpleLinuxDocOnePar): adjust
8229 (simpleDocBookOnePar): adjust
8231 * CutAndPaste.C (pasteSelection): adjust
8233 * BufferView.C (getEncoding): adjust
8235 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8237 2003-04-16 John Levon <levon@movementarian.org>
8239 * lyxfind.C: use parlist stuff for search/changes
8241 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8243 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8245 * text2.C (deleteEmptyParagraphMechanism): adjust
8247 * text2.[Ch] (ownerParagraph): delete func (both of them
8249 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8251 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8253 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8255 * ParagraphList.C: prepare for NO_NEXT
8257 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8259 * text2.C (getFont): adjust
8260 (getLayoutFont): adjust
8261 (getLabelFont): adjust
8263 * paragraph.C (getFont): adjust
8264 (getLabelFont): adjust
8265 (getLayoutFont): adjust
8267 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8269 2003-04-15 John Levon <levon@movementarian.org>
8273 * lyx_main.C: handle Include in .ui files
8275 2003-04-15 John Levon <levon@movementarian.org>
8277 * MenuBackend.C: make the doc files length shorter
8280 * ToolbarBackend.C: handle toolbar placement flags,
8283 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8285 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8288 * paragraph_funcs.C (TeXOnePar): adjust
8290 * paragraph.C (getLabelFont): add outerfont arg, adjust
8291 (getLayoutFont): ditto
8292 (simpleTeXOnePar): adjust
8294 * paragraph_pimpl.C (realizeFont): delete func
8296 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8298 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8299 row argument, constify cur argument.
8301 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8303 * text2.C (getFont): adjust
8304 (getLayoutFont): adjust
8305 (getLabelFont): adjust
8307 * paragraph_funcs.C (TeXOnePar): adjust
8308 (outerFont): new func...
8309 (realizeFont): ...moved out from here, changed this to facilitate
8312 * paragraph.C (getFont): take outerfont as arg, adjust
8313 (simpleTeXOnePar): add outerfont arg, adjust
8315 * buffer.C (simpleLinuxDocOnePar): adjust
8316 (simpleDocBookOnePar): adjust
8318 * CutAndPaste.C (pasteSelection): adjust
8320 * BufferView.C (getEncoding): adjust
8322 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8324 * text2.C (setCharFont): adjust
8325 (setCounter): adjust
8327 * text.C (leftMargin): adjust
8328 (setHeightOfRow): adjust
8330 * rowpainter.C (paintFirst): adjust
8333 * paragraph_pimpl.C (realizeFont): adjust
8335 * paragraph.C (isFirstInSequence): move from here...
8336 * paragraph_funcs.C (isFirstInSequence): ...to here
8338 * paragraph.C (outerHook): move from here...
8339 * paragraph_funcs.C (outerHook): ...to here
8341 * paragraph.C (depthHook): move from here...
8342 * paragraph_funcs.C (depthHook): ...to here
8344 * paragraph.C (getEndLabel): move from here...
8345 * paragraph_funcs.C (getEndLabel): ...to here
8347 * text2.C (realizeFont): move from here...
8348 * paragraph_funcs.C (realizeFont): ...to here
8350 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8354 2003-04-14 Angus Leeming <leeming@lyx.org>
8356 * LColor.[Ch]: scrap LColor mathcursor.
8358 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8360 * lyxlex.[Ch] (text): delete function
8361 * trans.C (Load): adjust
8362 * paragraph_funcs.C (readParToken): adjust
8364 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8366 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8367 vector<char> instead of a char[].
8369 * lyxlex_pimpl.C (getString): adjust
8371 (lex): use getString
8375 * lyxlex.C (text): use pimpl_->getString()
8379 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8381 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8382 (makeFontEntriesLayoutSpecific): temp var for par.size()
8383 (setLayout): temp var for ownerParagraphs().end()
8384 (fullRebreak): temp var for rows().end()
8385 (selectionAsString): temp var for boost::next(startpit), realize
8386 that the while really is a regular for loop.
8387 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8388 setCursor in one place.
8389 (setParagraph): temp vr for ownerParagraphs().end()
8390 (updateCounters): make the while loop a for loop
8391 (cutSelection): temp var for ownerParagraphs().end()
8392 (updateInset): make the do {} while() a regular for loop
8393 (getCursorX): use temp vars
8394 (setCurrentFont): use temp vars
8395 (getColumnNearX): use temp vars
8397 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * text.C (transformChar): use temp var for getChar
8400 (computeBidiTables): use temp var for row->par()
8401 (fill): move temp vars for row->par() and pit->layout() earlier in
8403 (labelFill): use temp var for row->par()
8404 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8405 asc and desc, realize that pit never changes and that firstpit is
8406 just a duplicate and not needed. Exchange rit->par() with pit in a
8408 (breakAgain): use a temp var for boost::next(rit)
8409 (breakAgainOneRow): ditto
8410 (breakParagraph): use a temp var for rows().begin()
8411 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8412 (cursorRightOneWord): use temp var for cursor.par() and
8413 cursor.pos(), remove usage of tmpcursor.
8414 (cursorLeftOneWord): use temp var for cursor.par() and
8415 cursor.pos() only set cur at end of function.
8417 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8419 * text.C, text2.C: exchange all usage of Paragraph::next with
8420 boost::next(ParagraphList::iterator)
8422 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8424 * text2.C (cursorTop): simplify implementation
8425 (cursorBottom): ditto
8426 (setParagraph): use ParagraphList::iterator
8427 (setCurrentFont): adjust
8428 (getColumnNearX): adjust
8429 (cursorRight): adjust
8430 (cursorLeft): remove usage of Paragraph::previous
8431 (cursorUpParagraph): ditto
8432 (deleteEmptyParagraphMechanism): slight cleanup
8434 * text.C (isBoundary): take a Paragraph const & instead of a
8436 (addressBreakPoint): ditto
8437 (leftMargin): remove usage of Paragraph::previous.
8438 (setHeightOfRow): ditto
8439 (cursorLeftOneWord): ditto
8440 (selectNextWordToSpellcheck): ditto
8443 (breakParagraph): remove one usage of Paragraph::next
8444 (redoParagraph): ditto
8445 (acceptChange): ditto
8446 (insertChar): adjust
8447 (rowBreakPoint): adjust
8449 * bufferview_funcs.C (toggleAndShow): adjust
8451 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8453 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8454 methods to access it.
8456 * text.C: Added updateRowPositions to compute all row positions.
8457 Make top_y and getRowNearY() to use the cached y position
8459 2003-04-11 John Levon <levon@movementarian.org>
8461 * text.C (rowBreakPoint): reintroduce the labelEnd
8462 checks, code copied from the row fill stuff. Deep voodoo.
8464 * text.C (fill): add a comment and debugging for the
8467 2003-04-11 John Levon <levon@movementarian.org>
8469 * text.C: make sure fullrow insets get wrapped to the next line,
8470 even when they're in a manual label
8472 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8474 * text2.C (insertParagraph): make it take ParagraphList::iterator
8476 (setLayout): make it return ParagraphList::iterator
8477 (redoParagraphs): ditto
8479 (checkParagraph): ditto
8481 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8483 * text2.C: adjust several funcs.
8484 (realizeFont): take a ParagraphList::iterator as arg.
8485 (getLayoutFont): ditto
8486 (getLabelFont): ditto
8487 (setCharFont): ditto
8489 * text.C: adjust several funcs.
8491 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8493 * text.C (selectNextWordToSpellcheck): don't accidentally
8496 2003-04-10 John Levon <levon@movementarian.org>
8498 * ToolbarBackend.C (getIcon): special handling for
8501 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8503 * text2.C (cursorRight): a getChar assert fixed
8505 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8507 * text2.C (getFont): change to take a ParagraphList::iterator
8508 instead of Paragraph*
8509 Adjust several functions.
8511 * text.C (transformChar): change to take a ParagraphList::iterator
8512 instead of Paragraph*
8513 (singleWidth): ditto
8514 Adjust several functions.
8516 * rowpainter.C: adjust several functions
8517 * rowpainter.h:store a ParagraphList::iterator and not a
8521 2003-04-09 John Levon <levon@movementarian.org>
8526 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8527 and the "help" bits as well
8529 2003-04-09 John Levon <levon@movementarian.org>
8532 * ToolbarBackend.C: allow multiple toolbars
8534 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8536 * undo_funcs.C (setCursorParUndo): adjust
8538 * text_funcs.C (transposeChars): adjust
8540 * text3.C (gotoNextInset): adjust
8543 * text2.C (setLayout): adjust
8544 (changeDepth): adjust
8546 (redoParagraphs): adjust
8547 (selectionAsString): adjust
8548 (setParagraph): adjust
8549 (insertInset): adjust
8550 (cutSelection): adjust
8551 (copySelection): adjust
8552 (pasteSelection): adjust
8553 (insertStringAsLines): adjust
8554 (updateInset): adjust
8555 (setCursor): change to take a ParagraphList::iterator parameter
8556 (setCursorIntern): change to take a ParagraphList::iterator parameter
8557 (setCurrentFont): adjust
8558 (cursorLeft): adjust
8559 (cursorRight): adjust
8560 (deleteEmptyParagraphMechanism): adjust
8562 * text.C (breakParagraph): adjust
8563 (insertChar): adjust
8564 (acceptChange): adjust
8565 (rejectChange): adjust
8566 (selectNextWordToSpellcheck): adjust
8567 (changeCase): adjust
8571 * lyxfind.C (SearchForward): adjust
8572 (SearchBackward): adjust
8573 (nextChange): adjust
8575 * lyxcursor.C (par): adjust
8577 * lyxcursor.h: store a ParagraphList::iterator instead of a
8580 * lyx_cb.C (getPossibleLabel): adjust
8582 * bufferview_funcs.C (toggleAndShow): adjust
8584 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8587 * BufferView.C (removeAutoInsets): adjust
8588 (lockedInsetStoreUndo): adjust
8590 2003-04-09 John Levon <levon@movementarian.org>
8592 * ToolbarBackend.C: try icon without argument
8593 if with argument fails
8595 2003-04-08 John Levon <levon@movementarian.org>
8598 * ToolbarBackend.C: add getIcon(), handle tooltip,
8599 and change from "Icon" to "Item".
8601 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8603 * BufferView.C (lockInset): another bad getchar crunched
8605 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8607 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8610 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8612 * lyxfind.C (searchForward, searchBackwards): bug 782
8614 2003-04-07 John Levon <levon@movementarian.org>
8616 * paragraph.C: remove dead comment
8618 * text.C: remove troublesome depth-fiddling code
8619 in leftMargin() and rightMargin() (bug 1017)
8621 * text.C: fix breaking of rows in nested lists
8624 * text2.C (updateCounters): fix up depth values
8627 2003-04-07 John Levon <levon@movementarian.org>
8629 * BufferView_pimpl.C: clear message when doc finishes resizing,
8630 and after a mouse event
8632 * lyxfunc.C: clear message after exiting inset
8634 2003-04-07 John Levon <levon@movementarian.org>
8636 * bufferview_funcs.C: show math status not outside
8637 status in the statusbar
8639 2003-04-07 John Levon <levon@movementarian.org>
8641 * lyxfunc.C: note status changed after a depth change
8643 2003-04-04 Angus Leeming <leeming@lyx.org>
8645 * LaTeX.h: move AuxInfo operator==, != out of line.
8646 Remove LaTeX virtual destructor; nothing derives from it.
8647 Move operator()() out of public area and rename it startscript().
8648 Change protected for private.
8650 2003-04-04 Angus Leeming <leeming@lyx.org>
8653 * text2.C: remove unneeded #includes.
8655 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8657 * text2.C (dEPM): fix the heigth of the next row
8659 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8661 * text.C: squashed an invalid getChar requester + some ws changes
8663 2003-04-03 John Levon <levon@movementarian.org>
8665 * bufferview_funcs.h:
8666 * bufferview_funcs.C:
8669 * text2.C: make getStatus work for the env depth lfuns
8671 2003-04-03 John Levon <levon@movementarian.org>
8673 * bufferview_funcs.h:
8674 * bufferview_funcs.C:
8677 * text2.C: parlistize decDepth(), by merging it with incDepth()
8679 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8681 * lyxrow.h: store a ParagraphList::iterator instead of a
8682 Paragraph* and adjust other class functions to suit.
8684 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8687 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8689 * text2.C (setCursor): do not anchor to cursor row for the time being
8691 2003-04-02 John Levon <levon@movementarian.org>
8698 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8700 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8702 * paragraph.h: make ParagraphList and ParagraphList::iterator
8703 friends of Paragraph.
8705 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8707 * ParagraphList.C: Use the private next_ and previous_ from
8710 2003-04-01 John Levon <levon@movementarian.org>
8714 * Makefile.am: rename, remove defaults gunk
8717 * MenuBackend.C: remove defaults gunk
8720 * Languages.C: remove defaults gunk
8723 * lyx_main.C: error out if files couldn't be found.
8725 2003-04-02 John Levon <levon@movementarian.org>
8727 * text2.C: make incDepth() use parlist
8729 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8731 * undo_funcs.C (firstUndoParagraph): adjust
8733 * text3.C (gotoInset): adjust
8734 (dispatch): adjust, and rewrite loop.
8736 * text2.C (init): adjust, and rewrite loop.
8737 (redoParagraphs): adjust
8738 (updateInset): adjust, and rewrite loop.
8739 (deleteEmptyParagraphMechanism): adjust
8741 * tabular.C (LyXTabular): adjust
8742 (SetMultiColumn): adjust
8745 * lyxtext.[Ch] (ownerParagraph): delete function
8746 (ownerParagraphs): new function returns a ParagraphList.
8748 * BufferView.C (removeAutoInsets): adjust
8749 (insertErrors): adjust
8750 (setCursorFromRow): adjust
8752 2003-04-01 Angus Leeming <leeming@lyx.org>
8754 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8757 2003-04-02 John Levon <levon@movementarian.org>
8763 * text_funcs.C: make transposeChars a free function
8765 * lyxrow_funcs.C: remove wrong comment
8767 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8770 * rowpainter.C: adjust
8775 * lyxrow_funcs. [Ch]: new files
8777 * lyxrow.[Ch]: remove next and previous pointers
8778 (next,previous): remove accessor functions
8779 (isParEnd): move to lyxrow_funcs
8780 (lastPos): move to lyxrow_funcs
8781 (nextRowIsAllInset): move to lyxrow_funcs
8782 (lastPrintablePos): move to lyxrow_funcs
8783 (numberOfSeparators): move to lyxrow_funcs
8784 (numberOfHfills): move to lyxrow_funcs
8785 (numberOfLabelHfills): move to lyxrow_funcs
8786 (hfillExpansion): move to lyxrow_funcs
8790 * bufferview_funcs.C (toggleAndShow): adjust
8792 * RowList.h: Remove class RowList from file leave just a
8795 * RowList.C: delete file
8797 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8800 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8802 * text3.C (cursorPrevious): adjust
8803 (cursorNext): adjust
8806 * text2.C (redoHeightOfParagraph): adjust
8807 (redoDrawingOfParagraph): adjust
8810 * text.C (breakParagraph): adjust
8811 (insertChar): adjust
8814 * rowpainter.C (RowPainter): adjust
8815 (leftMargin): simplify and adjust
8816 (most rowpainter functions): adjust.
8818 * rowpainter.h: store the row as RowList::iterator not as Row*
8820 * lyxcursor.C (row): taka RowList::iterator as arg
8823 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8826 2003-04-01 Angus Leeming <leeming@lyx.org>
8828 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8829 stuff like bool Bool.
8831 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8833 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8836 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8838 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8841 * lyxtext.h (rows): drop one version and leve a const variant that
8842 returns a RowList::iterator.
8844 2003-03-31 Angus Leeming <leeming@lyx.org>
8846 * text.C (fill): ensure that the signature is the same as that in the
8849 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8851 * text2.C (redoParagraphs): adjust
8852 (updateCounters): adjust
8853 (checkParagraph): adjust
8854 (getColumnNearX): adjust and reformat a bit.
8856 * text.C (top_y): adjust
8858 (leftMargin): adjust
8859 (prepareToPrint): adjust
8861 (getRowNearY): adjust
8863 * lyxtext.h: make rowlist_ mutable.
8865 * RowList.h: add const_iterator
8866 * RowList.C: adjust for RowList::const_iterator.
8868 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8871 2003-03-31 John Levon <levon@movementarian.org>
8874 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8876 * lyx_main.C: set default fonts from using lyx_gui funcs
8878 * exporter.C: pdf_mode moved from lyxrc
8881 * lyxfunc.C: changes from above
8883 2003-03-31 John Levon <levon@movementarian.org>
8885 * lyx_main.C: fix to the last fix
8887 2003-03-31 John Levon <levon@movementarian.org>
8889 * bufferlist.C: "Load original" -> "Load Original"
8895 * format.C: more Alert cleanups
8897 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8899 * text2.C (removeParagraph): make it take a RowList::iterator as
8901 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8902 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8904 * text.C (anchor_row): make it take a RowList::iterator as arg,
8906 (computeBidiTables): make it take a const reference to Row instead
8907 of Row pointer, adjust.
8908 (leftMargin): make it take a RowList::iterator as arg, adjust.
8909 (rowBreakPoint): adjust
8910 (breakAgainOneRow): make it take a RowList::iterator as arg,
8912 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8914 * bufferview_funcs.C (toggleAndShow): adjust
8916 2003-03-30 John Levon <levon@movementarian.org>
8920 * boost-inst.C: moved to support
8922 * several files: changes as a result
8924 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8926 * text2.C (LyXText): adjust.
8928 (removeRow): make it take a RowList::iterator as arg, adjust.
8929 (fullRebreak): adjust
8930 (deleteEmptyParagraphMechanism): adjust
8931 (clearPaint): adjust
8934 * text.C (top_y): adjust
8935 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8936 (breakAgain): make it take a RowList::iterator as arg, adjust.
8937 (breakParagraph): adjust
8938 (insertChar): adjust
8941 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8942 need_break_row, and refresh_row.
8944 * text3.C (dispatch): adjust
8946 * text2.C (checkParagraph): adjust
8948 (setCursorFromCoordinates): adjust
8950 * text.C (top_y): adjust
8952 (getRow): make it return a RowList::iterator, adjust
8953 (getRowNearY): make it return a RowList::iterator, adjust
8955 * text2.C (init): adjust
8956 (insertRow): remove function
8957 (insertParagraph): adjust
8958 (redoParagraphs): adjust
8959 (fullRebreak): adjust
8960 (updateCounters): adjust
8962 * text.C (top_y): rewrite to use RowList iterators.
8964 (setHeightOfRow): rewrite to sue RowList iterators.
8965 (appendParagraph): adjust
8966 (breakAgain): adjust
8967 (breakAgainOneRow): adjust
8968 (breakParagraph): adjust
8970 (getRowNearY): adjust, and remove commented code.
8972 * lyxtext.h (firstRow): delete function
8973 (lastRow): delete function
8974 (rows): new function (const and non-const versions.)
8975 (insertRow): delete function
8977 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8979 2003-03-29 John Levon <levon@movementarian.org>
8981 * BufferView_pimpl.C: always update scrollbar top
8982 because pasting text when we're anchored could mean we
8983 miss an update altogether
8985 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8987 * text2.C (init): use rowlist_.end() and not 0.
8988 (insertRow): change to take a RowList::iterator as arg, adjust
8990 (insertParagraph): change to take a RowList::iterator as arg,
8992 (redoParagraphs): remove some debug msgs.
8994 * text.C (appendParagraph): change to take a RowList::iterator
8995 arg, adjust for this.
8996 (breakAgain): add an assert
8997 (breakAgainOneRow): ditto
8999 2003-03-29 John Levon <levon@movementarian.org>
9001 * text2.C: do not clear selection after inc/decDepth
9004 2003-03-29 John Levon <levon@movementarian.org>
9007 * buffer.C: fix broken strerrors according to Lars
9009 2003-03-29 John Levon <levon@movementarian.org>
9011 * converters.C: more Alert cleanups
9013 2003-03-29 John Levon <levon@movementarian.org>
9015 * bufferview_funcs.C: remove pointless Alert
9017 * buffer.C: fix confusing error message when
9018 a template is chmoded 000
9020 2003-03-29 John Levon <levon@movementarian.org>
9024 * BufferView_pimpl.C: Alert fixes
9028 * tabular-old.C: remove unused table compat reading
9030 2003-03-29 John Levon <levon@movementarian.org>
9035 * lyx_cb.C: more Alert cleanups
9037 * lyxfunc.C: don't allow chktex if not latex document
9039 2003-03-29 John Levon <levon@movementarian.org>
9043 * buffer.C: warnings pushed down from support/,
9046 2003-03-29 John Levon <levon@movementarian.org>
9048 * lyxfunc.C: safety check for C-r (revert)
9050 2003-03-29 John Levon <levon@movementarian.org>
9053 * bufferlist.C: several UI fixes using Alert::prompt.
9054 Fix the pointless looping quit code. Fix stupid revert
9059 * lyx_cb.C: use Alert::prompt
9061 * lyx_main.C: remove a silly question
9063 * lyxfunc.C: remove a couple of silly questions,
9066 2003-03-28 John Levon <levon@movementarian.org>
9068 * text2.C: fix bug 974 (End on empty par)
9070 2003-03-28 John Levon <levon@movementarian.org>
9072 * BufferView_pimpl.C:
9074 * lfuns.h: remove do-nothing math greek lfuns
9076 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9078 * lyxgluelength.h (isValidGlueLength): add default arg on
9079 parameter 2. Remove default arg from friend in class.
9081 * lyxlength.h (isValidLength): add default arg on parameter 2.
9082 Remove default arg from friend in class.
9084 * text2.C (LyXText): adjust, initialize refresh_row.
9088 (insertParagraph): adjst
9089 (redoParagraphs): adjust
9090 (fullRebreak): adjust
9091 (updateCounters): adjust
9092 (deleteEmptyParagraphMechanism): first attempt at fixing a
9095 * text.C (top_y): adjust
9096 (setHeightOfRow): adjust
9098 (getRowNearY): adjust
9100 * lyxtext.h: include RowList.h
9101 (~LyXText): not needed anymore, deleted.
9102 (firstRow): modify for RowList
9103 (lastRow): new function
9104 Delete firstrow and lastrow class variables, add a Rowlist
9105 rowlist_ class variable.
9107 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9110 * RowList.C (insert): fix case where it == begin().
9112 2003-03-26 Angus Leeming <leeming@lyx.org>
9114 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9115 the thesaurus dialog.
9117 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9119 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9121 * RowList.[Ch]: new files
9123 * ParagraphList.C (erase): handle the case where it == begin
9126 2003-03-25 John Levon <levon@movementarian.org>
9130 * aspell.C: add new aspell support
9133 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9136 2003-03-25 Angus Leeming <leeming@lyx.org>
9139 * LyXAction.C (init): new LFUN_INSET_INSERT.
9141 * BufferView_pimpl.C (dispatch): split out part of the
9142 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9144 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9147 2003-03-25 Angus Leeming <leeming@lyx.org>
9149 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9151 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9154 * text3.C: remove useless row->height(0)
9156 2003-03-25 John Levon <levon@movementarian.org>
9160 * text3.C: rename the refreshing stuff to better names
9162 2003-03-24 John Levon <levon@movementarian.org>
9164 * BufferView_pimpl.h:
9165 * BufferView_pimpl.C: update layout choice on a mouse
9168 2003-03-23 John Levon <levon@movementarian.org>
9170 * Makefile.am: fix commandtags.h reference
9172 2003-03-22 John Levon <levon@movementarian.org>
9174 * BufferView_pimpl.C:
9179 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9181 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9184 * text.C: take the rtl methods out of line
9186 2003-03-21 André Pönitz <poenitz@gmx.net>
9188 * metricsinfo.[Ch]: new files containing structures to be passed around
9189 during the two-phase-drawing...
9191 2003-03-21 André Pönitz <poenitz@gmx.net>
9193 * lyxtextclass.C: read 'environment' tag.
9195 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9197 * text2.C (removeRow): fix bug 964
9199 2003-03-20 John Levon <levon@movementarian.org>
9203 * text2.C: paint cleanups. Inset::update() dropped font
9206 2003-03-19 John Levon <levon@movementarian.org>
9208 * lyxfunc.C: only fitcursor/markDirty if available()
9210 2003-03-19 John Levon <levon@movementarian.org>
9212 * commandtags.h: rename to ...
9214 * lfuns.h: ... this, and renumber / cleanup
9216 2003-03-19 John Levon <levon@movementarian.org>
9218 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9219 fit the cursor after an lfun
9223 * BufferView_pimpl.h:
9224 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9226 * LyXAction.C: layout-character should have ReadOnly
9228 * ParagraphParameters.C:
9230 * bufferview_funcs.C:
9237 * undo_funcs.C: changes from above
9239 2003-03-18 John Levon <levon@movementarian.org>
9241 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9242 remove it from update()
9244 * lyxfunc.C: update layout choice after an lfun
9246 * text3.C: remove extra updateLayoutChoice()s
9248 2003-03-18 John Levon <levon@movementarian.org>
9250 * text.C: top_y change means full repaint, fix
9251 a drawing bug with cursor movement
9253 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9257 * text2.C: anchor row on setCursor
9259 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9261 * lyxtext.h: remove almost all mutable keywords
9264 * text3.C: remove const keywords accordingly
9266 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9268 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9270 (TeXEnvironment): ditto
9273 2003-03-17 John Levon <levon@movementarian.org>
9275 * text.C (rowBreakPoint): remove attempt to fix displayed
9276 math insets inside a manual label
9278 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9280 * lyxtext.h: remove BufferView* as first arg from almost all class
9282 * other files: adjust.
9284 2003-03-17 John Levon <levon@movementarian.org>
9288 * text2.C: more paint cleanups
9290 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9293 * rowpainter.C: remove "smart" background painting code
9295 2003-03-16 John Levon <levon@movementarian.org>
9300 * text3.C: add helper functions for setting refresh_row/y
9302 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9304 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9305 newline inset which *can* get inserted in the pass_thru layouts.
9306 This is primarily for literate documents.
9308 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9310 * buffer.C: increment LYX_FORMAT to 223
9312 2003-03-14 André Pönitz <poenitz@gmx.net>
9314 * textclass.h: prepare for environment handling, ws changes
9315 * lyxlayout.C: read latexheader and latexfooter tags
9317 2003-03-14 John Levon <levon@movementarian.org>
9319 * text2.C: rewrite ::status() a bit
9321 2003-03-13 John Levon <levon@movementarian.org>
9323 * lyxtext.h: add some docs
9325 2003-03-13 John Levon <levon@movementarian.org>
9330 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9332 2003-03-13 John Levon <levon@movementarian.org>
9334 * text3.C: fix appendix redrawing
9336 2003-03-13 John Levon <levon@movementarian.org>
9338 * text.C (setHeightOfRow):
9340 * rowpainter.C: make appendix mark have the text
9341 "Appendix" so the user knows what it is
9344 * LColor.C: s/appendixline/appendix/ from above
9346 2003-03-13 John Levon <levon@movementarian.org>
9348 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9350 * text.C: fix a getChar(pos) bug properly
9352 2003-03-13 Angus Leeming <leeming@lyx.org>
9355 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9356 Probably only temporary. Let's see how things pan out.
9358 * BufferView.C (unlockInset):
9359 * BufferView_pimpl.C (fitCursor):
9360 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9362 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9363 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9365 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9366 new functions that convert ParagraphParameters to and from a string.
9368 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9369 BufferView::Pimpl's dispatch.
9370 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9372 2003-03-13 André Pönitz <poenitz@gmx.net>
9376 * factory.C: make it aware of InsetEnv
9378 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9380 * text2.C (setCursor): never ask for one past last
9381 (setCursor): add some debugging messages.
9383 * text.C (singleWidth): never ask for one past last
9384 (singleWidth): ditto
9386 (rightMargin): ditto
9387 (rowBreakPoint): ditto
9388 (setHeightOfRow): ditto
9389 (prepareToPrint): ditto
9391 * rowpainter.C (paintBackground): never ask for one past last
9392 (paintText): never ask for one past last
9394 * paragraph_pimpl.C (getChar): make the assert stricter, never
9395 allow the one past last pos to be taken
9397 * paragraph.C (getChar): ws changes only
9399 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9400 (numberOfSeparators): ditto
9401 (numberOfHfills): ditto
9403 2003-03-12 John Levon <levon@movementarian.org>
9409 * paragraph_funcs.C: fix per-buffer authorlists
9411 2003-03-12 John Levon <levon@movementarian.org>
9413 * text.C: fix newline in right address
9415 2003-03-12 Angus Leeming <leeming@lyx.org>
9417 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9418 duplicate those in LyXFunc::dispatch.
9422 * ToolbarDefaults.C:
9423 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9424 Add LFUN_FONTFREE_UPDATE.
9426 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9427 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9429 * bufferview_func.[Ch]: several new functions to facilliate
9430 transfer of data to and from the character dialog.
9432 2003-03-12 John Levon <levon@movementarian.org>
9437 * paragraph_funcs.C:
9438 * paragraph_pimpl.C:
9442 * text3.C: remove META_NEWLINE in favour of an inset
9445 * rowpainter.C: remove paintNewline (done by inset)
9447 2003-03-12 John Levon <levon@movementarian.org>
9449 * paragraph_pimpl.C: complain about bad getChar()s
9450 for a while at least
9452 2003-03-12 John Levon <levon@movementarian.org>
9455 * buffer.C: move paragraph read into a separate function,
9456 a little renaming to reflect that.
9459 * bufferparams.C: remove the author_ids map, not necessary now
9462 * factory.C: moved Buffer::readInset to here
9464 * paragraph_funcs.h:
9465 * paragraph_funcs.C: readParagraph free function moved from
9468 * tabular.C: name change
9470 2003-03-12 John Levon <levon@movementarian.org>
9473 * ParagraphParameters.C: move par params input to
9476 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9477 behave like a normal read from the stream wrt reading
9478 a line vs. a \\token
9480 2003-03-12 John Levon <levon@movementarian.org>
9483 * ParagraphParameters.h:
9484 * ParagraphParameters.C: move output code to a
9487 2003-03-12 John Levon <levon@movementarian.org>
9489 * BufferView.C (insertLyXFile):
9492 * tabular.C: use a parlist iterator for creating the
9495 2003-03-12 John Levon <levon@movementarian.org>
9497 * buffer.C: make current_change static local not
9500 2003-03-12 John Levon <levon@movementarian.org>
9502 * buffer.C: fix insertStringAsLines for change tracking
9504 2003-03-12 John Levon <levon@movementarian.org>
9511 * bufferparams.C: move author list into params. Rename some
9512 functions. Move the header reading into a separate token
9513 loop. Move the header token reading into BufferParams.
9515 2003-03-12 John Levon <levon@movementarian.org>
9517 * changes.C: put debug inside lyxerr.debugging() checks
9519 2003-03-11 André Pönitz <poenitz@gmx.net>
9521 * factory.C: make it aware of InsetHFill
9523 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9525 * buffer.C (latexParagraphs): move function from here...
9526 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9529 2003-03-10 Angus Leeming <leeming@lyx.org>
9531 * LyXAction.C (init): fix bug in poplating array with multiple entries
9532 with the same LFUN (spotted by JMarc).
9534 2003-03-10 John Levon <levon@movementarian.org>
9537 * text2.C: move getColumnNearX() near its
9540 2003-03-10 John Levon <levon@movementarian.org>
9542 * text.C: fix break before a minipage
9544 2003-03-10 John Levon <levon@movementarian.org>
9546 * text.C: fix the last commit
9548 2003-03-09 John Levon <levon@movementarian.org>
9552 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9553 bug 365 (don't break before insets unless needed). Don't
9554 return a value > last under any circumstances.
9556 2003-03-09 Angus Leeming <leeming@lyx.org>
9558 * BufferView_pimpl.C (trackChanges, dispatch): call
9559 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9561 2003-03-09 Angus Leeming <leeming@lyx.org>
9563 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9564 than Dialogs::showAboutlyx().
9566 2003-03-09 Angus Leeming <leeming@lyx.org>
9568 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9569 than Dialogs::showTabularCreate().
9571 2003-03-09 John Levon <levon@movementarian.org>
9575 * text2.C: 3rd arg to nextBreakPoint was always the same.
9578 2003-03-08 John Levon <levon@movementarian.org>
9585 * text2.C: Remove the "main" bit from the "main body"
9588 2003-03-08 John Levon <levon@movementarian.org>
9590 * text.C (leftMargin): The left margin of an empty
9591 manual label paragraph should not include the label width
9594 * text.C (prepareToPrint): don't attempt to measure hfills
9595 for empty manual label paragraphs - the answer should be 0
9597 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9599 * CutAndPaste.C: remove commented code and reindent.
9601 2003-03-08 John Levon <levon@movementarian.org>
9604 * lyxfunc.C: move reloadBuffer()
9607 * BufferView.C: to here
9609 * lyxvc.C: add comment
9612 * vc-backend.C: call bv->reload() to avoid
9613 getStatus() check on MENURELOAD
9615 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9617 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9618 to an old format .dep file.
9620 2003-03-07 Angus Leeming <leeming@lyx.org>
9622 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9623 when the LFUN_MOUSE_RELEASE should have been handled by
9624 inset->localDispatch.
9626 2003-03-07 Angus Leeming <leeming@lyx.org>
9628 * BufferView_pimpl.C (dispatch):
9629 * LyXAction.C (init):
9630 * ToolbarDefaults.C (init):
9632 * lyxfunc.C (getStatus):
9633 remove LFUN_INSET_GRAPHICS.
9635 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9637 2003-03-07 Angus Leeming <leeming@lyx.org>
9640 * LyXAction.C (init):
9641 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9643 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9646 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9648 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9649 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9651 2003-03-07 Angus Leeming <leeming@lyx.org>
9653 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9656 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9658 * ParagraphList.C (front): new function
9661 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9663 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9664 and top_row_offset_. removed var first_y.
9666 * text2.C (LyXText, removeRow):
9668 * BufferView_pimpl.C:
9669 use these methods instead of using first_y
9671 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9673 * text2.C (pasteSelection): adjust for checkPastePossible
9675 * CutAndPaste.C: remove Paragraph * buf and replace with
9676 ParagraphList paragraphs.
9677 (DeleteBuffer): delete
9678 (cutSelection): change the tc type to textclass_type
9679 (copySelection): change the tc type to textclass_type
9680 (copySelection): adjust for ParagraphList
9681 (pasteSelection): change the tc type to textclass_type
9682 (pasteSelection): adjust for Paragraphlist
9683 (nrOfParagraphs): simplify for ParagraphList
9684 (checkPastePossible): simplify for ParagraphList
9685 (checkPastePossible): remove unused arg
9687 * ParagraphList.C (insert): handle the case where there are no
9690 * CutAndPaste.h: make CutAndPaste a namespace.
9692 * text3.C (dispatch): adjust
9694 * text.C (breakParagraph): add a ParagraphList as arg
9696 * paragraph_funcs.C (breakParagraph): change to take a
9697 BufferParams and a ParagraphList as args.
9698 (breakParagraphConservative): ditto
9699 (mergeParagraph): ditto
9700 (TeXDeeper): add a ParagraphList arg
9701 (TeXEnvironment): ditto
9704 * buffer.C (readLyXformat2): adjust
9705 (insertStringAsLines): adjust
9706 (latexParagraphs): adjust
9708 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9709 (cutSelection): adjust
9710 (pasteSelection): adjust
9712 * BufferView_pimpl.C (insertInset): adjust
9714 2003-03-05 Angus Leeming <leeming@lyx.org>
9717 * LyXAction.C (init):
9718 * BufferView_pimpl.C (dispatch):
9719 * lyxfunc.C (getStatus):
9720 remove LFUN_CHILD_INSERT.
9722 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9724 2003-03-05 Angus Leeming <leeming@lyx.org>
9727 * LyXAction.C (init):
9728 * src/factory.C (createInset):
9729 * lyxfunc.C (getStatus):
9730 * text3.C (dispatch):
9731 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9733 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9735 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9737 * ParagraphList.C (insert): handle insert right before end()
9738 (erase): fix cases where it can be first or last paragraph.
9740 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9742 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9743 Paragraph::next and Paragraph::previous
9746 * text.C (breakParagraph): adjust
9748 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9749 BufferParams& as arg.
9750 (breakParagraph): use ParagraphList::insert
9751 (breakParagraphConservative): take a Buffer* instead of a
9752 BufferParams& as arg.
9753 (breakParagraphConservative): use ParagraphList::insert.
9755 * buffer.C (insertStringAsLines): un-const it
9756 (insertStringAsLines): adjust
9758 * ParagraphList.C (insert): new function
9760 * CutAndPaste.C (pasteSelection): adjust
9762 * text.C (backspace): adjust
9764 * tabular.C (SetMultiColumn): adjust
9766 * CutAndPaste.C (cutSelection): adjust
9767 (pasteSelection): adjust
9769 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9770 Buffer const * as arg
9772 * ParagraphList.C (erase): new function
9773 * paragraph_funcs.C (mergeParagraph): use it
9774 (mergeParagraph): make it take a Buffer* instead of a
9775 BufferParams* as arg
9777 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9779 (breakParagraphConservative): ditto
9781 * paragraph.h: remove the breakParagraph friend
9783 * paragraph.C (eraseIntern): new function
9784 (setChange): new function
9786 * paragraph_funcs.C (mergeParagraph): make it take a
9787 ParagraphList::iterator instead of a Paragraph *, adjust
9790 * paragraph.h: move an #endif so that the change tracking stuff
9791 also works in the NO_NEXT case.
9793 2003-03-04 Angus Leeming <leeming@lyx.org>
9796 * LyXAction.C: new LFUN_INSET_MODIFY.
9798 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9799 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9801 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9803 * several files: ws changes only
9805 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9806 (TeXEnvironment): ditto
9809 * buffer.C (makeLaTeXFile): adjust
9810 (latexParagraphs): make it take ParagraphList::iterator as args
9812 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9814 * buffer.C (latexParagraphs): adjust
9816 * paragraph.C (TeXOnePar): move function...
9817 (optArgInset): move function...
9818 (TeXEnvironment): move function...
9819 * paragraph_pimpl.C (TeXDeeper): move function...
9820 * paragraph_funcs.C: ...here
9822 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9824 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9826 * buffer.C (readInset): remove compability code for old Figure and
9829 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9831 * buffer.C: ws changes
9834 * BufferView_pimpl.C: ditto
9837 * bufferlist.h: ditto
9841 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9843 * converter.[Ch]: split into itself +
9846 * Makefile.am: += graph.[Ch] + format.[Ch]
9853 * lyxrc.C: added #include "format.h"
9855 2003-02-27 Angus Leeming <leeming@lyx.org>
9857 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9860 * factory.C (createInset): add "label" to the factory.
9862 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9863 string and do no more.
9865 2003-02-27 Angus Leeming <leeming@lyx.org>
9868 * LyXAction.C (init):
9869 * factory.C (createInset):
9870 * BufferView_pimpl.C (dispatch):
9871 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9873 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9875 * lyxfunc.C (dispatch):
9876 * text3.C (dispatch): pass name to params2string.
9878 2003-02-26 Angus Leeming <leeming@lyx.org>
9880 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9882 Rearrange the ~includes. Strip out the unnecessary ones.
9884 * factory.C (createInset): reformat.
9885 create new insets for the various LFUN_XYZ_APPLY lfuns.
9887 2003-02-26 John Levon <levon@movementarian.org>
9890 * lyxrow.C: add isParStart,isParEnd helpers
9892 * paragraph.h: make isInserted/DeletedText take refs
9894 * paragraph_funcs.h:
9895 * paragraph_funcs.C: remove #if 0'd code
9900 * text.C: use lyxrow helpers above.
9901 Move draw and paint routines to RowPainter.
9902 Make several methods use refs not pointers.
9903 Make backgroundColor() const.
9904 Add markChangeInDraw(), isInInset().
9905 Merge changeRegionCase into changeCase.
9906 Make workWidth() shouldn't-happen code into an Assert.
9909 * rowpainter.C: new class for painting a row.
9912 * vspace.C: make inPixels take a ref
9914 2003-02-26 Angus Leeming <leeming@lyx.org>
9916 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9919 2003-02-25 John Levon <levon@movementarian.org>
9921 * ispell.C: give the forked command a more accurate name
9923 2003-02-22 John Levon <levon@movementarian.org>
9926 * toc.C: make TocItem store an id not a Paragraph *
9929 2003-02-21 Angus Leeming <leeming@lyx.org>
9931 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9932 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9933 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9934 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9935 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9936 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9938 * BufferView_pimpl.C (dispatch):
9939 * LyXAction.C (init):
9940 * factory.C (createInset):
9941 * lyxfunc.C (getStatus, dispatch):
9942 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9944 2003-02-21 Angus Leeming <leeming@lyx.org>
9946 * BufferView_pimpl.C (MenuInsertLyXFile):
9947 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9948 * lyxfunc.C (menuNew, open, doImport):
9949 no longer pass a LyXView & to fileDlg.
9951 2003-02-21 Angus Leeming <leeming@lyx.org>
9953 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9954 * LyXAction.C: change, BIBKEY to BIBITEM.
9955 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9956 Change InsetBibKey to InsetBibitem.
9957 Change BIBKEY_CODE to BIBITEM_CODE.
9958 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9959 * factory.C: replace insetbib.h with insetbibitem.h.
9960 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9961 * paragraph.C: replace insetbib.h with insetbibitem.h.
9962 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9963 Change bibkey() to bibitem().
9964 * text.C: remove insetbib.h.
9965 * text2.C: replace insetbib.h with insetbibitem.h.
9966 change bibkey() to bibitem().
9967 * text3.C: remove insetbib.h.
9968 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9970 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9972 * lyxrc.C (output): enclose user email in quotes (in case there are
9975 2003-02-18 John Levon <levon@movementarian.org>
9977 * buffer.h: add std::
9979 2003-02-17 John Levon <levon@movementarian.org>
9985 * pspell.C: reworking. Especially in ispell, a large
9986 number of clean ups and bug fixes.
9988 * lyxfunc.C: fix revert to behave sensibly
9990 2003-02-17 André Pönitz <poenitz@gmx.net>
9993 * commandtags.h: new LFUN_INSERT_BIBKEY
10003 * paragraph_func.C: remove special bibkey handling
10005 2003-02-17 John Levon <levon@movementarian.org>
10007 * text.C (Delete): fix case where delete at the end of
10008 the very first paragraph would not merge the pars
10010 2003-02-17 John Levon <levon@movementarian.org>
10012 * lyxrow.C: fix lastPrintablePos()
10014 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10016 * bufferparams.C (writeLaTeX): add a std:here
10018 * buffer.C: and remove a using directive there
10020 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10022 * buffer.C (makeLaTeXFile): move the code that generates the
10025 * bufferparams.C (writeLaTeX): ... in this new method
10027 * LaTeXFeatures.C (getEncodingSet): make const
10028 (getLanguages): make const
10030 * MenuBackend.C (binding): returns the binding associated to this
10032 (add): sets the status of each item by calling getStatus. Adds
10034 (read): add support for OptSubMenu
10035 (expand): remove extra separator at the end of expanded menu
10037 2003-02-15 John Levon <levon@movementarian.org>
10040 * BufferView_pimpl.C:
10042 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10043 inset code that had no actual effect. Remove unneeded status
10046 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10048 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10051 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10053 * text.C (drawLengthMarker): also draw an arrow marker for
10054 symbolic lengths (medskip...)
10056 2003-02-14 John Levon <levon@movementarian.org>
10059 * tabular.C: better method names
10061 2003-02-14 John Levon <levon@movementarian.org>
10063 * BufferView_pimpl.C:
10068 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10069 it's a more accurate name. Remove some pointless uses.
10071 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10073 * text2.C (LyXText): change order of initilizers to shut off
10076 2003-02-14 John Levon <levon@movementarian.org>
10078 * buffer.C: use ParIterator for getParFromID()
10082 * paragraph_pimpl.h:
10083 * paragraph_pimpl.C: remove unused getParFromID()
10085 2003-02-14 John Levon <levon@movementarian.org>
10087 * buffer.C: remove some very old #if 0'd parse code
10089 2003-02-13 John Levon <levon@movementarian.org>
10093 * text2.C: move hfillExpansion(), numberOfSeparators(),
10094 rowLast(), rowLastPrintable(), numberofHfills(),
10095 numberOfLabelHfills() ...
10098 * lyxrow.C: ... to member functions here.
10103 * text.C: remove LyXText::beginningOfMainBody(), and call
10104 p->beginningOfMainBody() directly. Move the check for
10105 LABEL_MANUAL into the latter.
10112 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10118 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10119 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10121 2003-02-13 John Levon <levon@movementarian.org>
10123 * CutAndPaste.C: remove debug
10125 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10127 * paragraph.C (asString): remove two unused variables
10129 * lyxtextclass.C (readTitleType):
10131 (LyXTextClass): handle new members titletype_ and titlename_
10133 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10135 2003-02-09 John Levon <levon@movementarian.org>
10138 * buffer.C: replace hand-coded list with a map for the dep clean
10140 2003-02-08 John Levon <levon@movementarian.org>
10142 * LaTeX.C: consolidate code into showRunMessage() helper
10144 2003-02-08 John Levon <levon@movementarian.org>
10149 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10150 and pass the size in explicitly
10152 * BufferView_pimpl.h:
10153 * BufferView_pimpl.C:
10155 * BufferView.C: add getCurrentChange()
10157 * BufferView_pimpl.h:
10158 * BufferView_pimpl.C: handle change lfuns
10160 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10161 for changes. Mark pasted paragraphs as new.
10163 * support/lyxtime.h:
10164 * support/lyxtime.C:
10165 * DepTable.C: abstract time_t as lyx::time_type
10168 * LColor.C: add colours for new text, deleted text, changebars
10170 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10171 package use "usenames" option.
10175 * LyXAction.C: add change lfuns
10179 * author.C: author handling
10182 * buffer.C: add a per-buffer author list, with first entry as
10183 current author. Handle new .lyx tokens for change tracking. Output
10184 author list to .lyx file. Output dvipost stuff to .tex preamble.
10185 Bump lyx format to 222.
10188 * bufferlist.C: add setCurrentAuthor() to reset current author details
10192 * bufferparams.C: add param for tracking
10194 * bufferview_funcs.C: output change info in minibuffer
10198 * changes.C: add change-tracking structure
10201 * debug.C: add CHANGES debug flag
10204 * lyxfind.C: add code for finding the next change piece
10207 * lyxrc.C: add user_name and user_email
10210 * lyxrow.C: add a metric for the top of the text line
10213 * text.C: implement accept/rejectChange()
10216 * text.C: paint changebars. Paint new/deleted text in the chosen
10217 colours. Strike through deleted text.
10221 * paragraph_pimpl.h:
10222 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10223 in the current change to the insert functions. Rework erase to
10224 mark text as deleted, adding an eraseIntern() and a range-based
10225 erase(). Implement per-paragraph change lookup and
10228 * paragraph_funcs.C: Fixup paste for change tracking.
10230 * tabular.C: mark added row/columns as new.
10232 * text.C: fix rowLast() to never return -1. Don't allow
10233 spellchecking of deleted text. Track transpose changes. Don't
10234 allow paragraph break or merge where appropriate.
10236 * text2.C: leave cursor at end of selection after a cut.
10238 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10240 * text.C (getLengthMarkerHeight):
10241 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10242 visible on screen too.
10244 2003-02-07 John Levon <levon@movementarian.org>
10246 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10248 2003-02-05 Angus Leeming <leeming@lyx.org>
10250 * lyxserver.C (read_ready): revert my patch of 11 September last year
10251 as it sends PC cpu through the roof. Presumably this means that
10252 the lyxserver will no longer run on an Alpha...
10254 2003-01-30 Angus Leeming <leeming@lyx.org>
10256 * factory.C (createInset): create an InsetCommandParam of type "index"
10257 and use it to 'do the right thing'.
10259 * text2.C (getStringToIndex): ensure that cursor position is always
10260 reset to the reset_cursor position.
10262 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10264 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10267 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10271 * lyxfunc.C: Output messages with identical spelling, punctuation,
10274 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10276 * MenuBackend.C (expandFormats): List only viewable export formats
10279 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10282 * lyxfunc.C (getStatus): Make sure that formats other than
10283 "fax" can also be disabled
10285 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10287 * text3.C (dispatch): put the lfuns that insert insets in 3
10288 groups, and call doInsertInset with appropriate arguments.
10289 (doInsertInset): new function, that creates an inset and inserts
10290 it according to some boolean parameters.
10292 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10294 * buffer.C (readFile): remember to pass on 'par' when calling
10295 readFile recursively.
10297 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10299 * MenuBackend.C (expandFormats): add "..." to import formats.
10301 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10303 * paragraph.C (asString): Remove XForms RTL hacks.
10305 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10306 * buffer.C: fix typo
10308 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10310 * Makefile.am (LIBS): delete var
10311 (lyx_LDADD): add @LIBS@ here instead.
10313 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10315 * Clarify the meaning of "wheel mouse jump"
10317 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10319 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10322 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10324 * importer.C (Loaders): do not preallocate 3 elements in the
10325 vector, since one ends up with 6 elements otherwise
10327 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10329 * DepTable.C (write): write the file name as last element of the
10330 .dep file (because it may contain spaces)
10331 (read): read info in the right order
10333 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10335 * paragraph_pimpl.C (simpleTeXBlanks):
10336 (simpleTeXSpecialChars):
10337 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10339 * tabular.C (latex): add some missing case statements. Reindent.
10341 * MenuBackend.C (expandToc): remove unused variable.
10343 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10352 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10355 2003-01-05 John Levon <levon@movementarian.org>
10358 * BufferView.C: add getEncoding()
10361 * kbsequence.C: do not store last keypress
10364 * lyxfunc.C: store last keypress here instead. Pass encoding
10367 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10369 * lyx_main.C (init): remove annoying error message when following
10370 symbolic links (bug #780)
10372 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10374 * text.C (insertChar):
10375 * lyxrc.C (getDescription): remove extra spaces
10377 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10379 * lyxrc.C (getDescription): remove extra spaces
10381 2002-12-20 John Levon <levon@movementarian.org>
10383 * text3.C: hack fix for page up/down across tall rows
10385 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10387 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10390 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10392 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10393 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10394 thesaurus is not compiled in
10396 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10398 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10400 2002-12-16 Angus Leeming <leeming@lyx.org>
10403 * lyx_main.C (init): remove override_x_deadkeys stuff.
10405 2002-12-12 John Levon <levon@movementarian.org>
10407 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10408 insert. Only remove shift modifier under strict
10411 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10413 * MenuBackend.C (expandToc): fix crash.
10415 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10417 * MenuBackend.C (expandToc): gettext on float names.
10419 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10421 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10422 implement bool empty() [bug 490]
10424 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10426 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10428 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10430 * several files: ws changes
10432 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10434 * text2.C (setCounter): clean up a bit, use boost.format.
10435 (updateCounters): initialize par upon declaration.
10437 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10438 if the layout exists. We do not just store the layout any more.
10439 (SwitchLayoutsBetweenClasses): use boost.format
10441 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10443 * converter.C (convert): if from and to files are the same, use a
10444 temporary files as intermediary
10446 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10449 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10451 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10453 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10455 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10457 * tabular.C (asciiPrintCell): use string(size, char) instead of
10460 * sgml.C (openTag): fix order of arguments to string constructor
10463 * lyxfunc.C (dispatch): use boost.format
10465 * lots of files: change "c" -> 'c'
10467 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10469 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10471 2002-11-25 Angus Leeming <leeming@lyx.org>
10473 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10475 * lyx_main.C (init): compile fix.
10477 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10479 * lyx_cb.C (start): boost.formatify
10480 do not include <iostream>
10482 * lengthcommon.C: ws only
10484 * boost-inst.C,BoostFormat.h: add more explict instantations
10486 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10488 * lots of files: handle USE_BOOST_FORMAT
10490 2002-11-21 John Levon <levon@movementarian.org>
10492 * pspell.C: fix compile
10494 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10496 * lyxfunc.C (dispatch): use boost::format
10500 * lyxfont.C (stateText): use boost::format
10502 * lyx_main.C (LyX): use boost::format
10504 (queryUserLyXDir): ditto
10505 (readRcFile): ditto
10507 (typedef boost::function): use the recommened syntax.
10509 * importer.C (Import): use boost::format
10511 * debug.C (showLevel): use boost::format
10513 * converter.C (view): use boost::format
10518 * bufferview_funcs.C (currentState): use boost::format
10520 * bufferlist.C (emergencyWrite): use boost::format
10522 * buffer.C (readLyXformat2): use boost::format
10523 (parseSingleLyXformat2Token): ditto
10525 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10527 * LaTeX.C (run): use boost::format
10529 * Chktex.C (scanLogFile): use boost::format
10531 * BufferView_pimpl.C (savePosition): use boost::format
10532 (restorePosition): ditto
10533 (MenuInsertLyXFile): ditto
10535 * BoostFormat.h: help file for explicit instation.
10537 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10539 * tabular.C (latex): Support for block alignment in fixed width
10542 2002-11-17 John Levon <levon@movementarian.org>
10544 * BufferView_pimpl.C:
10546 * lyxfunc.C: split filedialog into open/save
10548 2002-11-08 Juergen Vigna <jug@sad.it>
10550 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10551 by my last patch (hopefully).
10553 2002-11-08 John Levon <levon@movementarian.org>
10562 * toc.C: ParConstIterator, and use it (from Lars)
10564 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10566 * lyxtextclass.[Ch]: revise and add doxygen comments
10568 2002-11-07 John Levon <levon@movementarian.org>
10570 * text.C: fix progress value for spellchecker
10572 * toc.C: fix navigate menu for insetwrap inside minipage
10574 * paragraph_funcs.C: added FIXME for suspect code
10576 2002-11-07 John Levon <levon@movementarian.org>
10578 * BufferView_pimpl.C: fix redrawing of insets
10581 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10583 * text2.C (updateCounters): fix bug 668
10585 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10587 * text3.C (dispatch): Do not make the buffer dirty when moving the
10590 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10592 * vc-backend.C: STRCONV
10593 (scanMaster): ditto
10595 * text2.C (setCounter): STRCONV
10597 * paragraph.C (asString): STRCONV
10599 * lyxlength.C (asString): STRCONV
10600 (asLatexString): ditto
10602 * lyxgluelength.C (asString): STRCONV
10603 (asLatexString): ditto
10605 * lyxfunc.C (dispatch): STRCONV
10608 * lyxfont.C (stateText): STRCONV
10610 * importer.C (Import): STRCONV
10612 * counters.C (labelItem): STRCONV
10613 (numberLabel): ditto
10614 (numberLabel): remove unused ostringstream o
10619 * bufferview_funcs.C (currentState): STRCONV
10621 * buffer.C (readFile): STRCONV
10622 (asciiParagraph): ditto
10623 (makeLaTeXFile): ditto
10625 * Spacing.C (writeEnvirBegin): STRCONV
10627 * LaTeXFeatures.C (getLanguages): STRCONV
10628 (getPackages): ditto
10630 (getBabelOptions): ditto
10631 (getTClassPreamble): ditto
10632 (getLyXSGMLEntities): ditto
10633 (getIncludedFiles): ditto
10637 (scanAuxFile): ditto
10640 * LString.h: add the STRCONV macros
10642 * BufferView_pimpl.C (savePosition): STRCONV
10643 (restorePosition): ditto
10644 (MenuInsertLyXFile): ditto
10646 * vc-backend.C (scanMaster): change from submatch[...] to
10649 * funcrequest.C: include config.h
10651 * factory.C: include config.h
10653 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10655 * box.C: include config.h
10657 * LaTeX.C (scanAuxFile): change from submatch[...] to
10661 2002-10-25 Angus Leeming <leeming@lyx.org>
10663 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10665 * ispell.[Ch] (setError): new method.
10666 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10667 Use setError() insetead of goto END.
10669 * lyx_cb.C (AutoSave): move out child process into new class
10672 2002-10-30 John Levon <levon@movementarian.org>
10674 * text3.C: make start appendix undoable
10676 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10678 * lyxlength.C (inPixels): Fix returned value.
10680 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10683 2002-10-24 Angus Leeming <leeming@lyx.org>
10685 * lyxgluelength.h: no need to forward declare BufferParams
10686 or BufferView, so don't.
10688 2002-10-21 John Levon <levon@movementarian.org>
10690 * BufferView.C: menuUndo ->undo, redo
10692 * BufferView.h: document, remove dead, make some methods private
10694 * paragraph_funcs.h:
10695 * paragraph_funcs.C:
10696 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10701 * sgml.C: move sgml open/close tag into sgml.C
10703 * bufferview_funcs.h: unused prototype
10706 * lyxfunc.C: remove unused
10709 * text.C: remove unused
10711 2002-10-21 John Levon <levon@movementarian.org>
10715 * BufferView_pimpl.h:
10716 * BufferView_pimpl.C: fix mouse wheel handling based on
10717 patch from Darren Freeman
10719 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10721 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10723 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10725 * lyxlength.C (inPixels): Fix hanfling of negative length.
10726 Fix LyXLength::MU case.
10728 2002-10-16 John Levon <levon@movementarian.org>
10730 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10732 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10734 * converter.C (view): add support for $$i (file name) and $$p
10735 (file path) for the viewer command. If $$i is not specified, then
10736 it is appended to the command (for compatibility with old syntax)
10738 2002-10-14 Juergen Vigna <jug@sad.it>
10740 * undo_funcs.C (textHandleUndo): alter the order in which the
10741 new undopar is added to the LyXText, as we have to set first
10742 the right prev/next and then add it as otherwise the rebuild of
10743 LyXText is not correct. Also reset the cursor to the right paragraph,
10744 with this IMO we could remove the hack in "redoParagraphs()".
10746 2002-10-09 Angus Leeming <leeming@lyx.org>
10748 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10749 to turn off an optimisation if a new inset is to be inserted.
10751 2002-10-11 André Pönitz <poenitz@gmx.net>
10753 * lyxtext.h: make some functions public to allow access
10754 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10756 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10758 * text3.C (dispatch): when changing layout, avoid an infinite loop
10761 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10763 * lyxrc.C (read): treat a viewer or converter command of "none" as
10766 * MenuBackend.C (expandFormats): for an update, also allow the
10767 formats that are not viewable
10769 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10770 script if it is newer than the lyxrc.defaults in user directory
10772 2002-10-07 André Pönitz <poenitz@gmx.net>
10774 * text.C: Vitaly Lipatov's small i18n fix
10776 2002-09-25 Angus Leeming <leeming@lyx.org>
10778 * ispell.h: doxygen fix.
10780 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10782 * buffer.h (readFile): Add a new argument to the method, to allow
10783 reading of old-format templates.
10785 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10787 * toc.C (getTocList): Get TOC from InsetWrap.
10789 2002-09-16 John Levon <levon@movementarian.org>
10791 * lyxfunc.C: check tabular for cut/copy too
10793 2002-09-12 John Levon <levon@movementarian.org>
10795 * LyXAction.C: tidy
10798 * factory.C: add header
10800 * paragraph_funcs.h:
10801 * paragraph_funcs.C: cleanup
10803 2002-09-11 John Levon <levon@movementarian.org>
10805 * PrinterParams.h: odd/even default to true
10807 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10809 * PrinterParams.h: update printer parameters for new xforms dialog
10811 2002-09-11 Angus Leeming <leeming@lyx.org>
10813 * lyxserver.C (read_ready): re-write to make it more transparent
10814 and to make it work in coherent fashion under Tru64 Unix.
10816 2002-09-11 André Pönitz <poenitz@gmx.net>
10820 * text3.C: implement LFUN_WORDSEL
10822 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10824 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10825 make floatlist_ a boost::shared_ptr<FloatList>
10827 * lyxtextclass.C: include FloatList.h
10828 (LyXTextClass): initialize floatlist_
10829 (TextClassTags): add TC_NOFLOAT
10830 (Read): match "nofloat" to TC_NOFLOAT and use it.
10831 (readFloat): modify call to floatlist_
10835 * FloatList.[Ch] (FloatList): remove commented out float
10837 (erase): new function
10839 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10841 * MenuBackend.C (expandToc): fix crash when there is no document
10844 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10846 * many files: Add insetwrap.
10848 2002-09-09 John Levon <levon@movementarian.org>
10850 * text2.C: remove confusing and awkward depth wraparound
10852 2002-09-09 John Levon <levon@movementarian.org>
10854 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10857 * buffer.C: remove getIncludeonlyList()
10860 * lyxfunc.C: remove headers
10862 2002-09-09 Juergen Vigna <jug@sad.it>
10864 * text.C (getColumnNearX): fix form Michael this is most
10865 probably a cut&paste bug.
10867 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10869 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10871 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10872 references, ws changes.
10874 * text2.C (init): update counters after init
10875 (insertParagraph): no need to set counter on idividual paragraphs.
10876 (setCounter): access the counters object in the textclass object
10877 on in the buffer object.
10878 (updateCounters): ditto
10880 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10881 shared_ptr<Counters> to avoid loading counters.h in all
10883 (LyXTextClass): initialize ctrs_
10884 (TextClassTags): add TC_COUNTER, and ...
10885 (Read): use it here.
10886 (CounterTags): new tags
10887 (readCounter): new function
10888 (counters): new funtion
10889 (defaultLayoutName): return a const reference
10891 * counters.C (Counters): remove contructor
10892 (newCounter): remove a couple of unneeded statements.
10893 (newCounter): simplify a bit.
10894 (numberLabel): some small formatting changes.
10896 * buffer.[Ch]: remove all traces of counters, move the Counters
10897 object to the LyXTextClass.
10899 2002-09-06 Alain Castera <castera@in2p3.fr>
10901 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10902 package to set the horizontal alignment on fixed width columns.
10905 * lyx_sty.h: added tabularnewline macro def.
10907 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10909 2002-09-06 John Levon <levon@movementarian.org>
10911 * LyXAction.C: tooltips for sub/superscript
10913 * MenuBackend.C: a bit more verbose
10915 * lyxfunc.C: tiny clean
10917 * undo_funcs.C: document undo_frozen
10919 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10921 * counters.C (Counters): add missing algorithm counter.
10923 * text2.C (setCounter): lookup the counter with layouts latexname
10924 instead of by section number.
10925 (setCounter): use a hackish way to lookup the correct enum
10927 a float name->type change
10928 reset enum couners with counter name directly instead of depth value.
10930 * counters.C (Counters): remove the push_backs, change to use the
10931 float type not the float name.
10932 (labelItem): remove unused string, float name->type change
10934 * counters.h: don't include vector, loose the enums and sects vectors
10936 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10938 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10939 (Read): add float->TC_FLOAT to textclassTags
10940 (Read): and handle it in the switch
10941 (readFloat): new function
10943 * FloatList.C (FloatList): comment out the hardcoded float
10946 * lyxlayout.h: ws change.
10948 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10950 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10952 2002-09-03 Angus Leeming <leeming@lyx.org>
10954 * BufferView_pimpl.h: qualified name is not allowed in member
10955 declaration: WorkArea & Pimpl::workarea() const;
10957 * factory.C: added using std::endl directive.
10959 * text3.C: added using std::find and std::vector directives.
10961 2002-08-29 André Pönitz <poenitz@gmx.net>
10964 * text2.C: remove unused member number_of_rows
10967 * BufferView2.C: remove file, move contents to...
10968 * BufferView.C: ... here
10970 * BufferView_pimpl.C:
10971 * factory.C: move more inset creation to factory
10973 * vspace.C: avoid direct usage of LyXText, ws changes
10976 don't provide direct access to WorkArea, use two simple
10977 acessors haveSelction() and workHeight() instead
10980 2002-08-29 John Levon <levon@movementarian.org>
10982 * BufferView_pimpl.C (dispatch): do not continue when
10985 2002-08-28 André Pönitz <poenitz@gmx.net>
10987 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10990 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10992 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10994 * buffer.C: increment LYX_FORMAT to 221
10996 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10997 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10999 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11001 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11003 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11005 * factory.C (createInset): use LyXTextClass::floats
11007 * MenuBackend.C (expandFloatListInsert):
11008 (expandFloatInsert):
11011 * text2.C (setCounter):
11013 * LaTeXFeatures.C (useFloat):
11014 (getFloatDefinitions):
11016 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11018 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11019 floatlist_, with accessor floats().
11021 * FloatList.h: remove global FloatList
11023 2002-08-26 André Pönitz <poenitz@gmx.net>
11025 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11029 * BufferView_pimpl.C:
11030 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11032 2002-08-25 John Levon <levon@movementarian.org>
11034 * LyXAction.C: fix margin note description
11036 2002-08-24 John Levon <levon@movementarian.org>
11040 * bufferview_funcs.C:
11042 * undo_funcs.C: cleanups
11044 * lyxfunc.C: disable CUT/COPY when no selection
11046 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11048 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11049 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11051 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11052 Add backward compatibility to "mono", "gray" and "no".
11054 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11056 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11057 (and file_format >= 200).
11059 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11061 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11063 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11065 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11067 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11069 * BufferView_pimpl.C:
11076 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11077 inset and code to make it work with the paragraph code. The inset
11078 can be anywhere in the paragraph, but will only do the expected
11079 thing in LaTeX if the layout file contains the parameter line
11081 (or more generally, a nonzero value) for that layout.
11083 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11085 * paragraph.h: remove the declaration of undefined counters class
11088 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11090 * text2.C (setCounter): fixed enumeration mis-count as reported by
11091 Dr. Richard Hawkins.
11093 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11095 * paragraph_funcs.h: remove some unneeded includes
11097 * text.C (backspace): pasteParagraph now in global scipe
11099 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11100 (pasteSelection): ditto
11102 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11103 * paragraph_funcs.C (pasteParagraph): ... here
11105 2002-08-20 André Pönitz <poenitz@gmx.net>
11107 * commandtags.h: new LFUNs for swapping/copying table row/colums
11110 * lyxfunc.C: support for new lfuns
11112 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11115 * buffer.[Ch]: remove NO_COMPABILITY stuff
11117 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11119 * boost.C (throw_exception): new file, with helper function for
11120 boost compiled without exceptions.
11125 * ParameterStruct.h:
11126 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11128 * bufferlist.C (emergencyWriteAll): use boost bind
11130 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11132 * text.C: include paragraph_funcs.h
11133 (breakParagraph): breakParagraph is now in global scope
11135 * paragraph_funcs.[Ch]: new files
11137 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11140 * buffer.C: include paragraph_funcs.h
11141 (insertStringAsLines): breakParagraph is now in global scope
11143 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11146 * CutAndPaste.C: include paragraph_funcs.h
11147 (cutSelection): breakParagraphConservative is now in global scope
11148 (pasteSelection): ditto
11150 * buffer.h: declare oprator== and operator!= for
11151 Buffer::inset_iterator
11153 * bufferlist.C (emergencyWrite): don't use fmt(...)
11155 * text3.C: add using std::endl
11157 * BufferView.C (moveCursorUpdate): remove default arg
11159 2002-08-20 André Pönitz <poenitz@gmx.net>
11161 * buffer.[Ch]: move inline functions to .C
11164 * BufferView_pimpl.C:
11166 * buffer.[Ch]: use improved inset_iterator
11169 * paragraph.[Ch]: write one paragraph at a time
11171 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11173 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11174 style if style is not specified.
11176 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11178 * text2.C (setCounter): when searching for right label for a
11179 caption, make sure to recurse to parent insets (so that a caption
11180 in a minipage in a figure float works) (bug #568)
11182 2002-08-20 André Pönitz <poenitz@gmx.net>
11184 * text3.C: new file for LyXText::dispatch() and helpers
11186 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11188 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11190 2002-08-19 André Pönitz <poenitz@gmx.net>
11193 * text.C: new LyXText::dispatch()
11195 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11197 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11199 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11201 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11204 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11206 * Makefile.am: use $(variables) instead of @substitutions@
11208 2002-08-15 André Pönitz <poenitz@gmx.net>
11211 * BufferView_pimpl.C: streamlining mathed <-> outer world
11215 * LyXAction.C: remove unused LFUN_MATH
11217 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11219 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11221 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11223 * paragraph.C (Paragraph): reformat a bit
11224 (cutIntoMinibuffer): use builtin InsetList function instad of
11228 * buffer.C: include boost/bind.hpp, add using std::for_each
11229 (writeFileAscii): use ParagraphList iterators
11230 (validate): use for_each for validate traversal of paragraphs
11231 (getBibkeyList): use ParagraphList iterators
11232 (resizeInsets): use for_each to resizeInsetsLyXText for all
11234 (getParFromID): use ParagraphList iterators
11236 * BufferView2.C (lockInset): use paragraph list and iterators
11238 2002-08-14 John Levon <levon@movementarian.org>
11240 * lyxserver.C: remove spurious xforms include
11242 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11244 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11246 2002-08-13 André Pönitz <poenitz@gmx.net>
11249 * lyxfunc.C: further cleaning
11251 2002-08-13 André Pönitz <poenitz@gmx.net>
11253 * funcrequest.h: new constructor
11255 * funcrequest.C: move stuff here from .h
11258 * BufferView_pimpl.C:
11261 * lyxfunc.C: subsequent changes
11263 * lyxfunc.h: new view() member function
11265 * lyxfunc.C: subsequent changes
11267 2002-08-13 Angus Leeming <leeming@lyx.org>
11270 * BufferView_pimpl.C:
11278 changes due to the changed LyXView interface that now returns references
11279 to member variables not pointers.
11281 2002-08-13 Angus Leeming <leeming@lyx.org>
11283 * WordLangTuple (word, lang_code): return references to strings,
11288 * lyxtext.h: forward-declare WordLangTuple.
11293 * text.C: #include "WordLangTuple.h".
11296 * text.C: (selectNextWordToSpellcheck): constify return type.
11298 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11304 * paragraph_pimpl.h:
11307 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11308 suggested by Angus.
11309 Made updateCounter always count from start of buffer, and removed
11310 second argument (par).
11311 Reverted floats number display to '#'. Perhaps I'll try again when the
11312 code base is sanitized a bit.
11314 2002-08-12 Angus Leeming <leeming@lyx.org>
11316 * buffer.[Ch] (getLabelList): constify.
11318 2002-08-07 André Pönitz <poenitz@gmx.net>
11320 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11322 * funcrequest.h: extension to keep mouse (x,y) position
11324 2002-08-12 Juergen Vigna <jug@sad.it>
11326 * BufferView2.C (insertErrors): forbid undo when inserting error
11329 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11331 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11333 * ParagraphList.[Ch]: new files
11335 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11337 * BufferView2.C (lockInset): ParagraphList changes
11340 * bufferlist.C: ditto
11344 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11346 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11347 unused class variable counter_,
11349 * paragraph.[Ch] (getFirstCounter): delete unused function
11351 * counters.C: include LAssert.h
11352 (reset): add a new function with no arg, change other version to
11353 not have def. arg and to not allow empty arg.
11355 * text2.C (setCounter): remove empty arg from call to Counters::reset
11357 2002-08-11 John Levon <levon@movementarian.org>
11359 * Makefile.am: add WordLangTuple.h
11361 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11363 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11364 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11366 * insets/insettext.C: InsetList changes
11368 * graphics/GraphicsSupport.C (operator()): InsetList changes
11370 * toc.C (getTocList): InsetList changes
11372 * paragraph_pimpl.[Ch]: InsetList changes
11374 * paragraph.[Ch]: InsetList changes
11376 * buffer.C (inset_iterator): InsetList changes
11377 (setParagraph): ditto
11378 * buffer.h (inset_iterator): ditto
11379 * iterators.C (operator++): ditto
11380 * iterators.h: ditto
11382 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11384 * InsetList.[Ch]: new files, most InsetList handling moved out of
11387 * BufferView2.C (removeAutoInsets): InsetList changes
11389 (ChangeInsets): ditto
11391 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11393 * paragraph_pimpl.h (empty): new function
11395 * paragraph.[Ch] (empty): new function
11397 * other files: use the new Paragraph::empty function
11399 2002-08-09 John Levon <levon@movementarian.org>
11401 * lyxtext.h: remove unused refresh_height
11403 2002-08-09 John Levon <levon@movementarian.org>
11410 * paragraph.C: move sgml char escaping out of paragraph
11413 * paragraph.C: remove id setter
11417 * paragraph_pimpl.C: remove dead tex_code_break_column
11419 * bufferview_funcs.C: small cleanup
11421 * lyxfunc.C: remove dead proto
11423 * lyxtext.h: make some stuff private. Remove some dead stuff.
11425 * lyxgluelength.C: make as[LyX]String() readable
11427 2002-08-08 John Levon <levon@movementarian.org>
11432 * ToolbarDefaults.C:
11435 * toc.C: lyxaction cleanup
11437 2002-08-08 John Levon <levon@movementarian.org>
11439 * BufferView2.C: small cleanup
11442 * lyxfind.C: move unnecessary header into the .C
11444 2002-08-08 John Levon <levon@movementarian.org>
11446 * funcrequest.h: just tedious nonsense
11449 * lyx_main.C: cleanups
11452 * vspace.C: remove dead header lyx_main.h
11454 2002-08-07 Angus Leeming <leeming@lyx.org>
11457 * paragraph_pimpl.h:
11458 Forward declare class Counters in paragraph.h by moving the ctrs member
11459 variable into Paragraph::Pimpl.
11460 (counters): new method, returning a reference to pimpl_->ctrs.
11462 * text2.C: ensuing changes.
11464 2002-08-07 John Levon <levon@movementarian.org>
11466 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11468 * BufferView_pimpl.C: announce X selection on double/triple
11471 * lyx_main.C: use correct bool in batch dispatch
11473 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11475 2002-08-07 André Pönitz <poenitz@gmx.net>
11477 * funcrequest.h: new class to wrap a kb_action and its argument
11480 * BufferView_pimpl[Ch]:
11484 * lyxrc.C: subsequent changes
11487 2002-08-07 John Levon <levon@movementarian.org>
11489 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11490 document options change.
11492 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11497 * makefile.am: move counters functionality over from
11498 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11500 2002-08-06 John Levon <levon@movementarian.org>
11502 * WordLangTuple.h: new file for word + language code tuple
11513 * BufferView2.C: use WordLangTuple
11516 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11518 2002-08-06 John Levon <levon@movementarian.org>
11520 * lyx_main.C: fix cmdline batch handling
11522 2002-08-06 André Pönitz <poenitz@gmx.net>
11524 * lyxrc.C: set default for show_banner to true
11526 2002-08-06 John Levon <levon@movementarian.org>
11528 * pspell.C: fix a crash, and allow new aspell to work
11530 2002-08-06 John Levon <levon@movementarian.org>
11533 * kbmap.C: small cleanup
11536 * vspace.C: add const
11538 2002-08-05 John Levon <levon@movementarian.org>
11540 * LyXAction.C: back to tabular-insert
11542 2002-08-04 John Levon <levon@movementarian.org>
11545 * BufferView.C: cosmetic change
11547 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11557 * BufferView2.C: purge all "Lyx" not "LyX" strings
11560 * lyxcursor.C: attempt to add some documentation
11565 * ToolbarDefaults.C:
11566 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11567 merge with LFUN_TABULAR_INSERT
11574 * pspell.C: split up i/pspell implementations into separate
11575 files, many cleanups
11577 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11579 * text2.C: some cleanup
11581 * lyxfunc.C: don't check for isp_command == "none" any more, it
11582 didn't make any sense
11584 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11589 * makefile.am: move counters functionality over
11590 from text2.C/paragraph.[Ch] to counters.[Ch], and
11592 2002-08-02 John Levon <levon@movementarian.org>
11594 * buffer.C: s/lyxconvert/lyx2lyx/
11596 2002-08-02 Angus Leeming <leeming@lyx.org>
11598 * lyxlex.C: revert John's change as it breaks reading of the user
11601 2002-08-02 Angus Leeming <leeming@lyx.org>
11603 * importer.C (Import):
11604 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11605 changes due to LyXView::view() now returning a boost::shared_ptr.
11607 2002-08-02 John Levon <levon@movementarian.org>
11609 * lyxlex.C: small cleanup
11611 2002-08-02 John Levon <levon@movementarian.org>
11613 * text2.C (status): small cleanup, no logic change
11615 2002-08-01 John Levon <levon@movementarian.org>
11618 * buffer.C (writeFile): don't output alerts, caller
11622 * lyx_cb.C: from above
11624 * lyxfunc.C: allow to open non-existent files
11626 2002-07-31 John Levon <levon@movementarian.org>
11628 * lyxserver.C: don't let incidental errors get
11631 2002-07-30 John Levon <levon@movementarian.org>
11633 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11635 2002-07-30 John Levon <levon@movementarian.org>
11638 * lyxserver.C: remove I/O callback too
11640 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11642 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11645 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11647 * many files: strip,frontStrip -> trim,ltrim,rtrim
11649 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11651 * PrinterParams.h: remove extern containsOnly, and include
11652 support/lstrings.h instead.
11654 * LaTeX.C (scanAuxFile): modify because of strip changes
11656 * buffer.C (makeLaTeXFile): ditto
11657 * bufferparams.C (writeFile): ditt
11658 * lyxfont.C (stateText): ditto
11659 * lyxserver.C (read_ready): ditto
11660 * vc-backend.C (scanMaster): ditto
11662 * BufferView_pimpl.h: ws changes
11664 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11666 2002-07-26 André Pönitz <poenitz@gmx.net>
11668 * kb_sequence.C: remove unnedred usings
11670 2002-07-26 Juergen Vigna <jug@sad.it>
11672 * lyxfind.C (LyXReplace): we have to check better if the returned
11673 text is not of theLockingInset()->getLockingInset().
11675 2002-07-25 Juergen Vigna <jug@sad.it>
11677 * lyxfind.C (LyXReplace): don't replace if we don't get the
11680 * undo_funcs.C (createUndo): remove debugging code.
11682 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11684 * buffer.C (parseSingleLyXformat2Token): Use default placement
11685 when reading old floats.
11687 * FloatList.C (FloatList): Change the default placement of figure
11688 and tables to "tbp".
11690 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11692 * MenuBackend.C: using std::max
11694 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11696 * MenuBackend.C (expandToc):
11697 (expandToc2): code moved from xforms menu frontend. It is now
11698 generic and TOCs are transparent to menu frontends.
11700 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11702 * toc.C (getTocList): protect against buf=0
11704 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11705 Menu as first parameter. Now, this calls itself recursively to
11706 expand a whole tree (this will be useful for TOC handling)
11707 (expandFloatInsert): remove 'wide' version of floats
11709 * MenuBackend.h (submenuname): returns the name of the submenu.
11710 (submenu): returns the submenu itself, provided it has been
11711 created by MenuBackend::expand
11713 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11715 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11716 insets which have noFontChange == true. (bug #172)
11718 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11720 * BufferView_pimpl.C: add connection objects and use them...
11723 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11725 * MenuBackend.C (expandLastfiles):
11728 (expandFloatListInsert):
11729 (expandFloatInsert):
11730 (expand): split expand in parts
11732 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11734 * lyx_gui.C: use lyx_gui::exit()
11736 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11738 * LyXAction.C: show the failing pseudo action
11740 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11742 * buffer.C (readFile): Run the lyxconvert script in order to read
11745 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11749 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11751 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11755 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11757 2002-07-22 Herbert Voss <voss@lyx.org>
11760 * lyxlength.[Ch]: add support for the vertical lengths
11762 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11764 * toc.[Ch]: std:: fixes
11766 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11768 * lyxrc.C: do not include lyx_main.h
11770 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11776 * BufferView2.C: include "lyxlex.h"
11779 * bufferparams.h: do not #include "lyxlex.h"
11781 * lyxtextclasslist.C (Add): remove method
11782 (classlist): renamed to classlist_
11784 * paragraph_pimpl.C:
11788 * bufferview_funcs.C:
11793 * toc.C (getTocList): use BufferParams::getLyXTextClass
11795 * toc.C (getTocList): use InsetFloat::addToToc
11797 * toc.[Ch]: new files, containing helper functions to handle table
11800 * lyxfunc.C (dispatch): no need to remove spaces around command
11802 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11803 first command of the sequence; it is not very clever, but I do not
11804 have a better idea, actually
11806 * LyXAction.C (LookupFunc): make sure to remove space at the
11807 beginning and end of the command
11809 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11811 * MenuBackend.C (getMenubar): new method: return the menubar of
11813 (read): treat differently reading of menu and menubar (in
11814 particular, the menubar has no name now)
11815 (Menu::menubar): remove
11817 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11820 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11822 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11823 a bibitem inset in a RTL paragraph.
11825 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11827 * paragraph_pimpl.C: constify
11829 * BufferView_pimpl.C:
11831 * lyxfunc.C: fix dispatch in a nicer way
11833 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11835 * lyxfunc.C (dispatch):
11836 * BufferView_pimpl.C:
11837 * BufferView_pimpl.h:
11839 * BufferView.h: rename Dispatch() to dispatch()
11841 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11843 * lyxlayout.C (Read): honor DependsOn tag
11845 * lyxlayout.[Ch] (depends_on): new method
11847 * version.C.in: update lyx_docversion
11849 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11851 * paragraph.C (validate): remove from here...
11852 * paragraph_pimpl.C (validate): ... and move here
11853 (isTextAt): make it const
11855 * buffer.C (getLists): ws cleanup
11857 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11859 * language.C (read): Use iso8859-1 encoding in latex_lang
11860 (this prevents LyX from crashing when using iso10646-1 encoding).
11862 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11864 * text2.C (toggleInset): if cursor is inside an inset, close the
11865 inset and leave cursor _after_ it
11867 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11869 * lyxfunc.C: move minibuffer completion handling out of here
11871 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11873 * BufferView_pimpl.C:
11874 * LaTeX.C: fix dispatch calls
11876 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11878 * text.C (drawChars): Fix Arabic text rendering.
11880 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11884 * lyxfunc.C: remove message-push/pop
11888 * lyxfunc.C: rationalise some code by removing verboseDispatch
11889 in favour of a bool argument to dispatch()
11891 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11893 * lyx_main.C (init): make sure to read symlinks as absolute paths
11895 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11898 * lyxfunc.C: no need for commandshortcut to be a member
11900 2002-07-15 André Pönitz <poenitz@gmx.net>
11902 * converter.C: add support for $$s (scripts from lib/scripts dir)
11903 * lyx_main.C: white space
11905 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11909 * lyxrc.C: remove second exit confirmation
11911 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11916 * BufferView_pimpl.h:
11917 * BufferView_pimpl.C:
11918 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11920 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11922 * MenuBackend.C (expand): add numeric shortcuts to document menu
11924 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11926 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11928 * lyxfont.C (setLyXFamily):
11935 * buffer.C (asciiParagraph): use ascii_lowercase
11937 2002-07-15 Mike Fabian <mfabian@suse.de>
11939 * lyxlex_pimpl.C (search_kw):
11940 * lyxlex.C (getLongString):
11941 * converter.h (operator<):
11942 * converter.C (operator<):
11943 * buffer.C (parseSingleLyXformat2Token):
11945 * ToolbarDefaults.C (read):
11946 * MenuBackend.C (checkShortcuts):
11948 * LColor.C (getFromGUIName):
11949 (getFromLyXName): use the compare_ascii_no_case instead of
11950 compare_no_case, because in turkish, 'i' is not the lowercase
11951 version of 'I', and thus turkish locale breaks parsing of tags.
11953 2002-07-16 Angus Leeming <leeming@lyx.org>
11955 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11956 now takes a Buffer const & argument.
11958 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11960 * BufferView.C (resize): check there's a buffer to resize
11962 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11964 * lyxfunc.C: remove dead code
11967 * lyxserver.C: use lyx_guii::set_read_callback
11969 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11971 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11972 an inset in a RTL paragraph.
11974 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11976 * lyxfunc.C: repaint after a font size update
11978 2002-07-15 André Pönitz <poenitz@gmx.net>
11980 * lyxlength.C: inBP should be able to return negative values
11982 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11984 * lyxfunc.C: use lyx_gui::update_fonts()
11986 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11988 * lyxfunc.C: use lyx_gui::update_color()
11990 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11996 * lyxrc.C: remove file->new asks for name option, and let
11997 buffer-new take an argument
11999 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12001 * BufferView_pimpl.C: remove unneeded extra repaint()
12003 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12005 * LyXAction.C: allow command-sequence with NoBuffer
12007 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12009 2002-07-10 Angus Leeming <leeming@lyx.org>
12011 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12013 2002-07-09 Angus Leeming <leeming@lyx.org>
12015 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12017 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12019 * lengthcommon.h: whitespace
12021 * lyxfunc.C: update scrollbar after goto paragraph
12023 * lyxtext.h: factor out page break drawing, and fix it so
12024 page break/added space paints as selected nicely
12026 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12028 * BufferView_pimpl.C: add FIXMEs, clean up a little
12030 2002-07-09 André Pönitz <poenitz@gmx.net>
12032 * lyxfont.[Ch]: support for wasy symbols
12034 2002-07-08 André Pönitz <poenitz@gmx.net>
12036 * BufferView_pimpl.C: apply John's patch for #93.
12038 2002-07-05 Angus Leeming <leeming@lyx.org>
12040 * BufferView_pimpl.C (buffer): generate previews if desired.
12042 * LColor.h: add "preview" to the color enum.
12044 * LColor.C (LColor): add a corresponding entry to the items array.
12046 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12049 2002-07-05 Angus Leeming <leeming@lyx.org>
12051 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12052 The body of the code is now in the method that is passed an ostream &
12053 rather than a file name.
12054 Pass an additional only_preamble parameter, useful for the forthcoming
12057 2002-07-03 André Pönitz <poenitz@gmx.net>
12059 * lyxfunc.C: simplify getStatus() a bit for math stuff
12061 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12063 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12065 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12067 * text.C (changeRegionCase): do not change case of all the
12068 document when region ends at paragraph end (bug #461)
12070 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12072 * paragraph.C (startTeXParParams):
12073 (endTeXParParams): add \protect when necessary
12075 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12077 * BufferView_pimpl.C (workAreaExpose): remove warning
12079 2002-06-27 Angus Leeming <leeming@lyx.org>
12081 * Makefile.am: add lyxlayout_ptr_fwd.h.
12083 2002-06-26 André Pönitz <poenitz@gmx.net>
12085 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12087 2002-06-25 Angus Leeming <leeming@lyx.org>
12089 * lyxfunc.C (dispatch): Comment out the call to
12090 grfx::GCache::changeDisplay. The method no longer exists now that the
12091 pixmap generation part of the graphics loader has been moved into
12094 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12096 * text2.C: layout as layout
12098 * text.C: layout as layout
12100 * tabular.C (OldFormatRead): layout as layout
12102 * paragraph_pimpl.C (TeXDeeper): layout as layout
12103 (realizeFont): layout as layout
12105 * paragraph.C (writeFile): layout as layout
12106 (validate): layout as layout
12107 (getFont): layout as layout
12108 (getLabelFont): layout as layout
12109 (getLayoutFont): layout as layout
12110 (breakParagraph): layout as layout
12111 (stripLeadingSpaces): layout as layout
12112 (getEndLabel): layout as layout
12113 (getMaxDepthAfter): layout as layout
12114 (applyLayout): layout as layout
12115 (TeXOnePar): layout as layout
12116 (simpleTeXOnePar): layout as layout
12117 (TeXEnvironment): layout as layout
12118 (layout): layout as layout
12119 (layout): layout as layout
12121 * lyxtextclass.C (compare_name): new functor to work with
12122 shared_ptr, layout as layout
12123 (Read): layout as layout
12124 (hasLayout): layout as layout
12125 (operator): layout as layout
12126 (delete_layout): layout as layout
12127 (defaultLayout): layout as layout
12129 * lyxlayout_ptr_fwd.h: new file
12131 * lyxlayout.C (Read): layout as layout
12133 * lyx_cb.C (MenuInsertLabel): layout as layout
12135 * bufferlist.C (newFile): layout as layout
12137 * buffer.C (readLyXformat2): layout as layout
12138 (parseSingleLyXformat2Token): layout as layout
12139 (insertStringAsLines): layout as layout
12140 (asciiParagraph): layout as layout
12141 (latexParagraphs): layout as layout
12142 (makeLinuxDocFile): layout as layout
12143 (simpleLinuxDocOnePar): layout as layout
12144 (makeDocBookFile): layout as layout
12145 (simpleDocBookOnePar): layout as layout
12146 (getLists): layout as layout
12148 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12150 * CutAndPaste.C (cutSelection): layout as layout
12151 (pasteSelection): layout as layout
12152 (SwitchLayoutsBetweenClasses): layout as layout
12154 * BufferView_pimpl.C (Dispatch): layout as layout
12155 (smartQuote): layout as layout
12157 * BufferView2.C (unlockInset): layout as layout
12159 2002-06-24 André Pönitz <poenitz@gmx.net>
12161 * lyxfunc.C: fix #487
12163 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12167 * lyxfunc.C: remove display_shortcuts, show_banner
12169 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12171 * Buffer_pimpl.C: oops, update on resize
12173 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12180 * BufferView.C: use repaint()
12182 * BufferView_pimpl.h:
12183 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12184 as it's a clearer description. Remove superfluous
12187 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12189 * text.C: fix bug 488. Not ideal, but getting
12190 getWord() to work properly for the insets that
12191 matter is more difficult ...
12193 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12195 * BufferView_pimpl.C:
12198 * lyxfunc.C: remove the six million index lyxfuncs to just
12199 one, and DTRT (bug 458)
12201 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12205 * BufferView_pimpl.h:
12206 * BufferView_pimpl.C: clean up resize() stuff,
12207 and unnecessary updateScreen()s
12209 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12213 * BufferView_pimpl.h:
12214 * BufferView_pimpl.C:
12217 * minibuffer.C: remove focus management of workarea,
12218 not needed. Use screen's greyOut()
12220 2002-06-17 Herbert Voss <voss@lyx.org>
12222 * converter.C: (convert) do not post a message, when converting
12223 fails, let the calling function decide what to do in this case
12225 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12227 * lyxfunc.C: tidy up a little
12229 2002-06-16 <alstrup@diku.dk>
12231 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12232 Got rid of FORMS_H_LOCATION include. Now we are
12235 2002-06-15 LyX Development team <lyx@rilke>
12237 * buffer.[Ch] (sgmlOpenTag):
12238 (sgmlCloseTag): Added support for avoiding pernicious mixed
12239 content. Return number of lines written.
12241 (makeLinuxDocFile):
12242 (makeDocBookFile): Fixed calls to sgml*Tag.
12243 Simple white space clean.
12245 (simpleDocBookOnePar): Simple white space clean.
12247 * tabular.[Ch] (docBook): Renamed to docbook and got another
12248 argument to related with the pernicious mixed content.
12250 (docbookRow): Fixed calls for docbook inset method.
12252 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12254 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12255 so it's X11 independent.
12259 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12261 2002-06-15 Lyx Development team <lyx@electronia>
12263 * intl.h: Renamed getTrans to getTransManager.
12265 2002-06-14 Angus Leeming <leeming@lyx.org>
12267 * Makefile.am: nuke forgotten stl_string_fwd.h.
12269 2002-06-12 Angus Leeming <leeming@lyx.org>
12271 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12273 2002-06-13 Angus Leeming <leeming@lyx.org>
12276 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12278 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12280 * kbmap.C (getiso): add support for cyrillic and greek
12282 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12286 * BufferView_pimpl.h:
12287 * BufferView_pimpl.C: move bogus scrolling logic
12290 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12293 * BufferView_pimpl.C: view->resize() change
12295 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12297 * BufferView_pimpl.C: topCursorVisible
12300 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12304 * lyx_gui.C: move to frontends/
12308 * lyx_main.C: changes from above
12310 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12317 * lyx_main.C: minor tidy
12319 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12321 * BufferView_pimpl.h:
12322 * BufferView_pimpl.C:
12324 * BufferView.C: make painter() const,
12327 * BufferView2.C: use screen() accessor
12330 * lyx_main.C: some minor cleanup
12332 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12334 * BufferView_pimpl.h:
12335 * BufferView_pimpl.C: remove enter/leaveView,
12338 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12343 * BufferView_pimpl.h:
12344 * BufferView_pimpl.C: only construct screen once,
12347 * lyxrc.C: remove pointless comment
12349 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12352 * BufferView.C: remove active() and belowMouse()
12354 * BufferView_pimpl.h:
12355 * BufferView_pimpl.C: use workarea() not workarea_,
12356 and make it use a scoped_ptr instead
12358 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12360 * lyx_gui.C: add debug message on BadWindow
12362 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * sp_spell.C: fdopen is not part of the C++ standard.
12366 * paragraph.C (InsetIterator): use >= instead of ==
12368 2002-06-07 Angus Leeming <leeming@lyx.org>
12370 Fixes needed to compile with Compaq cxx 6.5.
12371 * BufferView_pimpl.C:
12378 * lyxtextclasslist.C:
12383 all c-library variables have been moved into namespace std. Wrap
12384 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12389 Add a using std::abs declaration.
12391 * kbmap.h (modifier_pair):
12392 * paragraph.h (InsetTable, InsetList):
12393 * lyxfont.h (FontBits):
12394 type definition made public.
12396 * bufferlist.C (emergencyWriteAll): the compiler complains that
12397 there is more than one possible lyx::class_fun template to choose from.
12398 I re-named the void specialisation as lyx::void_class_fun.
12400 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12402 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12403 the compiler is is unable to find tostr in write_attribute.
12405 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12407 * buffer.C (sgmlError): hide #warning
12409 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12411 * xtl/*: get rid of xtl, which is not in use anyway
12413 * LyXAction.C (init):
12414 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12415 were unimplemented xtl experimentation
12417 2002-06-04 André Pönitz <poenitz@gmx.net>
12419 * lyxfunc.C: disable array operation on simple formulae
12421 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12423 * converter.C: constify a bit
12425 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12427 * lyx_gui.C: check xforms version correctly
12429 2002-04-30 Herbert Voss <voss@lyx.org>
12431 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12434 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12436 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12437 attempt to register it with a VCS)
12439 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12441 * lyx_main.C (init): honor variables LYX_DIR_13x and
12444 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12448 * lyx_main.C: fix a crash on bad command line,
12449 and give a useful exit status on error
12451 * lyxfunc.C (doImport): allow -i lyx to work
12453 2002-03-30 André Pönitz <poenitz@gmx.net>
12455 * lyxfunc.C: mathed font changes
12457 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12472 * trans_mgr.h: srcdocs, and some minor cleanups
12474 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12476 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12477 call getFont all the time)
12479 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12481 * switch from SigC signals to boost::signals
12483 2002-05-29 André Pönitz <poenitz@gmx.net>
12485 * paragraph_pimpl.C (getChar): don't call size() too often...
12487 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12489 * paragraph_pimpl.C (insertChar): do not try to update tables when
12490 appending (pos == size())
12492 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12493 in order to reduce drastically the number of comparisons needed to
12494 parse a large document
12496 2002-05-29 André Pönitz <poenitz@gmx.net>
12502 * textclasslist.[Ch]:
12503 * sp_ispell.h: whitespace change
12505 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12507 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12508 lyxaction directly now.
12510 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12514 * lyxvc.C: remove unused headers
12516 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12523 * undo_funcs.C: some cleanups. Use shared_ptr
12524 and a template for the undo stacks.
12526 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12528 * BufferView_pimpl.h:
12529 * BufferView_pimpl.C:
12536 * text2.C: use key_state/mouse_state
12538 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12540 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12543 * chset.C: change include order
12544 (loadFile): use boost regex and get rid of LRegex and LSubstring
12546 * Makefile.am (BOOST_LIBS): new variable
12547 (lyx_LDADD): use it
12549 * LaTeX.C: change include order.
12550 (scanAuxFile): use boost regex and get rid of LRegex and
12554 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12559 * FontInfo.C: moved to frontends/xforms/
12562 * FontLoader.C: moved into frontends for GUIIzation
12567 * lyxfunc.C: changes from above
12569 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12571 * LColor.C: remove spurious X include
12573 * BufferView_pimpl.C:
12578 * text2.C: move font metrics to frontends/
12580 2002-05-24 Juergen Vigna <jug@sad.it>
12582 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12583 setting the undo_cursor.
12585 * ParagraphParameters.h: include local includes first.
12587 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12589 * BufferView_pimpl.C:
12590 * BufferView_pimpl.h:
12594 * screen.C: move WorkArea into frontends/
12600 * BufferView2.C: move LyXScreen into frontends/
12604 * lyx_gui.C: move lyxlookup into frontends/xforms/
12606 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12609 * BufferView_pimpl.C:
12619 * bufferview_funcs.C:
12632 * vc-backend.C: move LyX/XFormsView into frontends/
12634 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12646 * text2.C: move Painter to frontends/
12648 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12650 * buffer.C: comment out some some code that depend upon lyx_format
12653 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12654 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12656 * buffer.h (NO_COMPABILITY): turn off compability
12658 * ColorHandler.C: include scoped_array.hpp
12660 * font.C: Use more specific smart_ptr header.
12663 * ShareContainer.h: ditto
12664 * lyx_main.h: ditto
12666 * FontInfo.h: ditto
12667 * BufferView_pimpl.h: ditto
12668 * ColorHandler.h: ditto
12670 * kbmap.C (defkey): change call to shared_ptr::reset
12672 2002-05-21 Juergen Vigna <jug@sad.it>
12674 * buffer.C (insertErtContents): fix to insert ert asis if it is
12675 non empty. Skip it completely if it contains only whitespaces.
12677 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12679 * BufferView_pimpl.C:
12680 * BufferView2.C: clear selection on paste (bug 393)
12682 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12684 * DepTable.C: include ctime
12686 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12688 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12690 2002-05-14 Juergen Vigna <jug@sad.it>
12692 * text.C (breakParagraph): fixed function to honor the keepempty
12693 layout in the right maner and also to permit the right breaking
12694 algorithm on empty or non empyt keepempty paragraphs.
12696 * paragraph.C (breakParagraph): we have to check also if the par
12697 is really empty (!size()) for isempty otherwise we do the wrong
12700 2002-05-10 Juergen Vigna <jug@sad.it>
12702 * buffer.[Ch] : The following are only changes to the ert
12703 compatibility read reading old LaTeX layout and font stuff and
12704 convert it to ERTInsets.
12706 * buffer.h: added isErtInset().
12708 * buffer.C (struct ErtComp): add a fromlayout bool to check
12709 if we're inside a LaTeX layout.
12710 (isErtInset): new helper function.
12711 (insertErtContents): look for other ert insets before this one
12712 and insert the contents there, so that we don't have subsequent
12713 ERT insets with nothing between them. This way we create only one
12714 inset with multiple paragraphs. Also check if we don't insert only
12715 spaces ' ' as they are ignored anyway afterwards in the .tex file
12716 so if we have only spaces we will ignore this latex part in the
12718 (parseSingleLyXformat2Token \\layout): better compatibility when
12719 reading layout-latex stuff.
12720 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12722 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12723 stuff after reading the inset only get the information back from
12726 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12728 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12730 * LaTeXFeatures.C (getBabelOptions): New method.
12732 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12734 * BufferView_pimpl.C (Dispatch): work around missing argument for
12737 2002-05-08 Juergen Vigna <jug@sad.it>
12739 * text.C (leftMargin): handle paragraph leftindent.
12741 * paragraph.C (writeFile): write the new \\leftindent tag.
12742 (validate): handle leftindent code.
12743 (TeXEnvironment): handle paragraphleftindent code again.
12745 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12747 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12748 for paragrap_extra indent code and new token \\leftindent.
12749 (latexParagraphs): handle the leftindent as environment.
12751 * ParameterStruct.h: added leftindent support.
12753 * ParagraphParameters.C (leftIndent): added support functions for
12754 the paragraph left indent.
12756 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12759 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12761 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12764 * text.C (computeBidiTables): No bidi in insetERT.
12766 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12769 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12771 * version.C.in: pre 5
12773 2002-05-02 José Matos <jamatos@fep.up.pt>
12774 * buffer.C (makeDocBookFile): white space changes, add newline to
12776 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12778 * tabular.C (docBook): fix typo.
12780 2002-05-03 Juergen Vigna <jug@sad.it>
12782 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12783 change in LyXText as we can not be sure it was not freed.
12784 (drawOneRow): remove unused code.
12786 * text.C (drawInset): redo the calculation of the need_break_row as
12787 it could have a row which was already freed.
12788 (draw): look at the return value of drawInset and return false if
12789 it also returned false.
12790 (paintRowText): look at the return value of draw and return false if
12791 it also returned false.
12793 * lyxtext.h: added bool return type to drawInset() and draw() so that
12794 if we have a change in the row so that the rowbreak has to be redone
12795 we abort drawing as it will be called again.
12797 2002-05-02 Juergen Vigna <jug@sad.it>
12799 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12800 a change in the maintext also if we're inside an inset.
12801 (Dispatch): set the cursor again after a break line and after the
12802 screen has been updated as it could be we're in a different row.
12804 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12805 to set the cursor behind the pargraph with > size().
12806 (setCursor): check also for the same paragraph when checking where
12807 to put the cursor if we have a NFR inset.
12809 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12810 parts of layout read further up as it still was in the wrong
12813 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12815 * screen.C (drawFromTo): change sine fullRebreak always return
12818 * buffer.C (parseSingleLyXformat2Token): reindent some
12820 * BufferView_pimpl.C (update): change since fullRebreak always
12822 (Dispatch): git rid of the last hardcoded "Standard"s.
12824 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12826 * text2.[Ch] (fullRebreak): make it return void now that we always
12829 2002-04-30 Juergen Vigna <jug@sad.it>
12831 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12832 ert compatibility check for "latex" layout.
12834 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12836 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12837 minipages: use col% instead of p%, and also use the current font.
12838 (makeLaTeXFile): Fix use babel condition.
12839 (parseSingleLyXformat2Token): Correct font when reading old floats.
12841 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12843 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12844 inserting list of floats.
12846 2002-04-25 Herbert Voss <voss@lyx.org>
12848 * MenuBackend.C (expand): don't add the graphics extensions to the
12851 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12853 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12854 non-existing layout, do not complain if it was the default layout
12855 of the original class (bug #342)
12857 2002-04-24 Juergen Vigna <jug@sad.it>
12859 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12860 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12862 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12864 * buffer.C (getBibkeyList): If using \bibliography, return the
12865 option field with the reference itself. Enables us to provide natbib
12866 support when using \bibliography.
12868 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12870 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12872 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12873 natbib is provided by the LaTeX class.
12875 2002-04-23 Juergen Vigna <jug@sad.it>
12877 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12880 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12882 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12884 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12886 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12887 ensuremath around textordmasculine, textordfeminine and
12890 2002-04-19 Juergen Vigna <jug@sad.it>
12892 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12893 reinitializing the buffer otherwise row-dimensions may be wrong.
12894 (update): reset also the selection cursors if they do exits otherwise
12895 their x/y positions may be wrong.
12897 * text2.C (cursorDown): don't enter the inset if we came from a row
12898 above and are one row over the inset.
12900 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12901 really leaving an inset.
12903 2002-04-18 Juergen Vigna <jug@sad.it>
12905 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12906 of the selected paragraph does not have the selected layout also if
12909 * text2.C (setLayout): fixed bug which did not change last selected
12912 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12913 changed the read and substituted \\end_float with \\end_inset!
12915 * BufferView_pimpl.C (cursorPrevious):
12916 (cursorNext): fixed to make it work with rows heigher than the work
12917 area without moving the cursor only the draw of the row.
12918 (workAreaMotionNotify): fix jumping over high rows.
12920 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12922 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12925 2002-04-16 Juergen Vigna <jug@sad.it>
12927 * text2.C (setCursor): set also the irow().
12928 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12930 (cursorDown): support for locking an inset if the x_fix value goes
12931 inside it. That way I can transverse insets too with cursor up/down.
12933 * lyxrow.h: added irow helper function same as other (i) functions.
12935 * BufferView_pimpl.C (cursorPrevious):
12936 (cursorNext): fixed for insets!
12938 2002-04-15 Juergen Vigna <jug@sad.it>
12940 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12941 position otherwise it is wrong in some cases.
12943 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12944 inside the inset before the call.
12946 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12948 * buffer.[Ch] (getBibkeyList): make it const.
12950 2002-04-12 Juergen Vigna <jug@sad.it>
12952 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12954 * text2.C (getCursorX): new helper function
12955 (setCursor): compute also ix_
12956 (setCursorFromCoordinates): set also ix.
12958 * lyxcursor.h: added ix_ and helper functions.
12960 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12962 * buffer.C (insertStringAsLines): dont break paragraph if the this
12963 paragraph is inside an inset which does not permit it!
12965 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12966 also with no chars on this paragraph.
12967 (paintRowText): only paint stuff if it's inside the workarea!
12969 * paragraph.C (breakParagraph): honor keepempty flag and break the
12970 paragraph always below not above.
12972 * BufferView2.C (unlockInset): update the paragraph layout on inset
12973 unlock as we changed paragraph in such a case.
12975 * lyxfind.C (LyXFind): clear the former selection if not found!
12977 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12978 again called in insertChar().
12980 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12981 an inset which uses the whole row!
12982 (rightMargin): ditto.
12983 (insertChar): force a rebreak if we inserted an inset!
12985 2002-03-28 Herbert Voss <voss@lyx.org>
12987 * lyxlength.[Ch]: add inBP() to get the right PS-point
12988 units (BigPoint). With inPixels we have rounding errors
12990 2002-04-11 Juergen Vigna <jug@sad.it>
12992 * text2.C (setCursorFromCoordinates): set iy to the right value.
12993 (setCursor): add check if row->previous exists!
12995 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12996 an old float_type as this was the case in the old code!
12998 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13000 * BufferView2.C (showLockedInsetCursor): use iy
13001 (fitLockedInsetCursor): ditto
13003 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13004 locked insets as there we have the right value now.
13006 * lyxcursor.C: added iy_ variable and iy functions to set to the
13007 baseline of cursor-y of the locked inset.
13009 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13010 (setCursor): fixed for insets which need a full row.
13012 * text.C (rowLastPrintable): don't ignore the last space when before
13013 an inset which needs a full row.
13014 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13015 as last character of a row when before a inset which needs a full row.
13017 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13019 * version.C.in: update date
13021 * text2.C (fullRebreak): try to always return true and see what
13024 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13026 * MenuBackend.C (expand): use Floating::listName
13028 * FloatList.C (FloatList): add listName argument to the built-in
13031 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13032 text associated with the float.
13034 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13036 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13038 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13040 * ShareContainer.h: add a couple of missing typenames.
13042 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13044 * lyxrc.C (getDescription): use _() correctly rather than N_().
13046 2002-03-28 Herbert Voss <voss@lyx.org>
13048 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13049 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13051 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13053 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13054 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13056 2002-03-29 Juergen Vigna <jug@sad.it>
13058 * lyxfunc.C (dispatch): add a missing fitCursor call.
13060 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13061 it was scrolled by a cursor move, so return the bool status.
13063 * BufferView.C (fitCursor): return the bool flag also to the outside
13064 world as this is needed.
13066 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13068 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13069 call the edit() as it is not needed (and wrong) IMO.
13070 (workAreaButtonPress): set the screen_first variable before evt.
13071 unlock the inset as this may change screen_first and then we have
13072 a wrong y position for the click!
13074 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13076 * MenuBackend.C (expand): another translation that I missed
13078 2002-03-28 Juergen Vigna <jug@sad.it>
13080 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13082 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13084 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13086 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13088 * MenuBackend.C (expand): fix export/view/update when there is no
13091 2002-03-27 Herbert Voss <voss@lyx.org>
13093 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13096 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13098 * bufferview_funcs.C (currentState): only show paragraph number
13099 for is DEVEL_VERSION is set.
13101 * lyxfunc.C (dispatch): put warning in INFO channel
13103 * MenuBackend.C (expand): translate the name of floats
13105 * FloatList.C (FloatList): mark the float names for translation
13107 * converter.C (convert): use LibScriptSearch
13109 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13111 * MenuBackend.C (defaults): fix default menu (we might as well get
13114 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13116 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13119 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13121 * lyxvc.C: reorder includes.
13123 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13125 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13128 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13130 * CutAndPaste.C: change layouts earlier on paste
13131 to avoid crashing when calling getFont()
13133 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13135 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13138 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13140 * WorkArea.C: remove 'Pending' debug message.
13142 * most files: ws cleanup
13144 * buffer.[Ch]: ws changes
13146 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13148 2002-03-21 Juergen Vigna <jug@sad.it>
13150 * tabular.C (SetMultiColumn): collapse also the contents of the
13151 cells and set the last border right. Added a Buffer const * param.
13153 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13155 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13158 2002-03-19 Juergen Vigna <jug@sad.it>
13160 * text2.C (clearSelection): reset also xsel_cache.
13162 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13163 where it needs to be called (John tells us to do so too :)
13164 (selectionLost): reset sel_cache.
13166 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13168 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13170 * text2.C (setCursorIntern): put debuging code in INSETS channel
13172 2002-03-19 André Pönitz <poenitz@gmx.net>
13174 * lyxfunc.C: tiny whitespace change
13176 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13178 * ToolbarDefaults.C (init):
13179 * LyXAction.C (init):
13181 * BufferView_pimpl.C (Dispatch):
13182 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13184 2002-03-19 Allan Rae <rae@lyx.org>
13186 * exporter.C (Export): removeAutoInsets before doing anything else.
13187 While I've just introduced a dependency on BufferView this really is
13188 the best place to clean the buffer otherwise you need to cleanup in
13189 a dozen places before calling export or cleanup in a dozen functions
13192 * converter.C (runLaTeX):
13193 (scanLog): Better handling of removeAutoInsets and screen updates.
13195 * lyxfunc.C (dispatch): small whitespace changes
13197 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13199 * WorkArea.C (C_WorkAreaEvent): return a value.
13200 (event_cb): return 1 if we handled the event, 0 otherwise.
13202 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13204 2002-03-18 Juergen Vigna <jug@sad.it>
13206 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13207 (GetAdditionalWidth): ditto.
13208 (RightLine): ditto.
13211 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13212 inset if we're there actually (probably not used right now but this
13213 is the direction to go for unifying code).
13214 (paste): disable code to clear the selection.
13216 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13217 inside an InsetText and move the check further up as it is in the
13220 * text2.C (pasteSelection): set a selection over the pasted text.
13222 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13224 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13225 and libgraphics to build on Cygwin.
13227 2002-03-15 Juergen Vigna <jug@sad.it>
13229 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13230 inserting an Inset into the paragraph. I know this is not the best
13231 fix but we already use current_view in CutAndPaste so we will remove
13232 all of it's using at the same time.
13234 * buffer.C (sgmlError): deactivated function till it is rewritten in
13235 the right mode, now it can create problems.
13237 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13238 before accessing it.
13240 2002-03-14 Juergen Vigna <jug@sad.it>
13242 * undo_funcs.C (textHandleUndo): do the right thing when updating
13243 the inset after the undo/redo.
13245 * text2.C (setCursor): just some testcode for #44 not ready yet.
13247 * undo_funcs.C (textHandleUndo): set the next() and previous()
13248 pointers of the paragraph to 0 before deleting otherwise we have
13249 problems with the Paragraph::[destructor].
13251 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13252 on a paragraph insertion.
13254 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13256 * buffer.C (asciiParagraph): use += operator for char append to
13259 * paragraph.C (getFontSettings): compare >= not just >
13260 (highestFontInRange): ditto
13263 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13265 * paragraph.C: change several algorithm to be more appripriate for
13266 the problem domain. This is lookip in FontList and in the InsetList.
13268 2002-03-13 André Pönitz <poenitz@gmx.net>
13271 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13273 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13278 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13280 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13282 * Painter.C (display): anon helper function, adjust code for this
13284 (pixmap): remove function.
13286 * Painter.h: remove private display variable.
13288 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13290 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13292 * WorkArea.[Ch]: remove figinset_canvas cruft.
13294 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13296 * lyxtextclass.C (operator): add one item cache optimization.
13298 * bufferlist.h: doxy changes
13300 * bufferlist.C: ws changes
13302 * DepTable.[Ch] (ext_exist): place const in the right spot.
13304 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13306 (workAreaExpose): call resizeInsets when the with BufferView changes.
13307 (Dispatch): adjust for protectedBlank removal
13308 (specialChar): call updateInset if the insert went ok.
13310 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13311 specialChar instead.
13313 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13315 * BufferView.h: doxy change
13317 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13319 * lyxtextclass.C (operator[]): remove non-const version
13320 (defaultLayout): remove non-const version
13322 2002-03-12 Juergen Vigna <jug@sad.it>
13324 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13325 did resize the LyXText too.
13327 * buffer.C (readLyXformat2): set layout information on newly allocated
13330 * tabular.C (OldFormatRead): set layout information on the paragraph.
13332 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13334 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13336 2002-03-11 Juergen Vigna <jug@sad.it>
13338 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13340 (resizeCurrentBuffer): force also the insets to resize themselfes.
13341 (moveCursorUpdate): fixed up for InsetText.
13343 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13346 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13347 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13348 value of Dialogs::tooltipsEnabled().
13349 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13351 2002-03-08 Juergen Vigna <jug@sad.it>
13353 * BufferView_pimpl.C (updateInset): update inset inside inset also
13354 if it isn't inside theLockingInset().
13356 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13358 * buffer.C (asciiParagraph): redo some of the word and line length
13360 (getLists): look for Caption instead of caption.
13362 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13364 * buffer.C (Buffer): initialize niceFile to true
13366 (makeLinuxDocFile):
13367 (makeDocBookFile): make sure niceFile is true on exit
13369 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13371 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13373 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13375 * LyXSendto.C: remove.
13376 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13377 * lyx_gui.C: remove now-redundant comment.
13378 * ColorHandler.h: remove forward declaration of class WorkArea.
13379 * lyxfunc.C: remove #include "WorkArea.h".
13381 2002-03-07 Juergen Vigna <jug@sad.it>
13383 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13384 got moved away with the DEPM and also set the inset_owner always
13385 right which before could have been omitted.
13387 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13389 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13390 wanted layout is not found.
13392 2002-03-07 Juergen Vigna <jug@sad.it>
13394 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13396 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13398 * paragraph.C (breakParagraph): use default layout not layout of
13400 (Paragraph): clear ParagraphParameters.
13402 2002-03-06 Juergen Vigna <jug@sad.it>
13404 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13405 otherwise it would not be a valid lenght. Fixed a special case in
13406 the minipage compatibility read where we end the document with a
13409 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13410 was set as it could be 0 for InsetTexts first entry.
13412 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13414 * paragraph.C (writeFile): if layout is empty write out
13415 defaultLayoutName().
13417 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13418 file without named layout we set layout to defaultLayoutName().
13420 2002-03-06 Juergen Vigna <jug@sad.it>
13422 * CutAndPaste.C (copySelection): set layout for new paragraph.
13424 * text.C (prepareToPrint): leave ERT inset left aligned
13425 (leftMargin): don't indent paragraphs inside ERT insets
13427 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13429 * paragraph.C (breakParagraph): dont call clear do the work manually
13431 * paragraph.[Ch] (clear): remove function
13433 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13435 * paragraph.C (Paragraph): dont call clear, the work has already
13438 * lyxtextclass.C (operator): assert if n is empty
13440 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13441 work manually instead.
13443 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13445 * BufferView_pimpl.C: protect selectionLost against text == 0
13447 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13449 * text.C (breakParagraph): fix a setting layout to '0' problem.
13451 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13453 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13454 final location of file, for the included files, and graphics.
13456 2002-03-05 Juergen Vigna <jug@sad.it>
13458 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13460 2002-03-04 Juergen Vigna <jug@sad.it>
13462 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13464 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13465 last column of multicolumn cells.
13466 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13468 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13470 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13471 file if it doesn't go to a temporary file.
13473 * buffer.C (sgmlOpenTag):
13474 (sgmlCloseTag): remove extra newline insertion.
13476 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13478 * text.C (getRowNearY): comment out debug msg
13480 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13482 * text2.C: first -> first_y
13484 * text.C (getRowNearY): add some attemts at a possible
13485 optimization, not working.
13487 * tabular.[Ch]: add BufferParams to several function so that newly
13488 created paragraph can be initialized to he default layotu for the
13491 * tabular-old.C (ReadOld): add buf->params to call of Init
13493 * screen.C: rename text->first to text->first_y
13495 * paragraph.C (breakParagraph): always set layout in the broken
13498 * lyxtextclass.C (Read): remove lowercase
13501 (delete_layout): ditto
13503 * lyxtext.h: rename first -> first_y
13505 * lyxlayout.C (Read): remove lowercase
13508 (obsoleted_by): ditto
13510 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13512 * buffer.C (insertErtContents): add params are to InsetERT
13513 (parseSingleLyXformat2Token): add code to check if a paragraphs
13514 layout really exist.
13515 (parseSingleLyXformat2Token): add params to several inset
13517 (asciiParagraph): remove lowercase, do the layout comparisons with
13520 * BufferView_pimpl.C (cursorNext): first -> first_y
13521 (resizeCurrentBuffer): first -> first_y
13522 (updateScrollbar): first -> first_y
13523 (scrollCB): first -> first_y
13524 (workAreaMotionNotify): first -> first_y
13525 (workAreaButtonPress): first -> first_y
13526 (checkInsetHit): first -> first_y
13527 (cursorPrevious): first -> first_y
13528 (cursorNext): first -> first_y
13529 (Dispatch): add buffer_->params to severl inset contructors
13531 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13533 * lyxlayout.C (Read): remove some debug info that I forgot.
13535 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13536 clean up the code slightly.
13537 (makeLinuxDocFile): ditto
13538 (makeDocBookFile): ditto
13540 * text2.C: layout as string
13542 * text.C: layout as string
13544 * paragraph_pimpl.C: layout as string
13546 * paragraph.[Ch]: layout as string
13548 * lyxtextclasslist.[Ch]: layout as string
13550 * lyxtextclass.[Ch]: layout as string
13552 * lyxtext.h: layout as string
13554 * lyxlayout.[Ch]: layout as string
13556 * lyx_cb.C: layout as string
13558 * bufferview_funcs.C: layout as string
13560 * bufferparams.C: layout as string
13562 * buffer.C: layout as string
13564 * LyXView.[Ch]: layout as string
13566 * LaTeXFeatures.[Ch]: layout as string
13568 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13570 * BufferView_pimpl.C: change current_layout to string, remove
13575 (workAreaButtonRelease): layout as string
13577 * BufferView2.C (unlockInset): adjust
13579 * vspace.C (asLatexCommand): use an explict temp variable.
13581 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13583 * Makefile.am: use FRONTEND_*
13585 2002-03-01 Juergen Vigna <jug@sad.it>
13587 * tabular.C (SetWidthOfMulticolCell): changed to something better
13588 I hope but still work in progress.
13589 (recalculateMulticolumnsOfColumn): renamed function from
13590 recalculateMulticolCells as it is more appropriate now.
13591 (SetWidthOfCell): calculate multicols better.
13593 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13595 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13597 * lyxfunc.C (processKeySym): print sequence also if it is
13598 `deleted' (complete)
13600 * kbsequence.C (print): print sequence even if it is deleted
13601 (complete would be a better word, actually).
13603 * lyxfunc.C (dispatch): print complete options after a prefix key
13605 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13607 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13609 * text2.C (setCharFont): eliminate setCharFont code duplication.
13611 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13613 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13614 LFUN_TABULAR_FEATURE (bug #177)
13616 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13618 * Makefile.am: remove figure.h
13620 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13622 * Bufferview_pimpl.C:
13634 * text2.C: remove #include "lyx_gui_misc.h".
13636 * LaTeX.C: added #include <cstdio>
13638 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13640 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13641 that the paragraph following this one can have.
13643 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13645 * vspace.C (asLatexCommand): fix bogus gcc warning
13647 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13649 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13651 * text2.C (setLayout): get rid of redundant code
13653 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13655 * text2.C (incDepth): make sure depth cannot be increased beyond
13658 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13660 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13661 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13663 * PainterBase.h (image):
13664 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13665 a LyXImage const *.
13667 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13671 * BufferView_pimpl.C:
13672 * BufferView_pimpl.h:
13692 * sp_spell.C: remove fig inset, and the crap house of
13693 cards that follows it
13695 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13700 * os2_errortable.h:
13701 * nt_defines.h: move .h into support/
13703 * vms_defines.h: remove
13705 * WorkArea.C: add space in debug output
13709 * buffer.C: add WITH_WARNINGS
13713 * bufferlist.C: s/retrive/retrieve/, add docs
13722 * chset.C: add docs
13724 * lyxgui.C: add ID to X error handler
13726 * lyxtestclass.c: fix typo
13728 2002-02-26 Juergen Vigna <jug@sad.it>
13730 * tabular_funcs.C (write_attribute): changed so that some default
13731 attributes are not written at all.
13732 (getTokenValue): set default values before trying to read the
13733 value so we have the return value always set as default if we don't
13734 find the token we search for.
13736 * tabular.C (Write): write bools as bools not as strings!
13738 2002-02-22 Juergen Vigna <jug@sad.it>
13740 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13741 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13743 * text.C (leftMargin): don't add an indent for paragraphs inside
13744 tabular cells (fix #208).
13746 2002-02-21 José Matos <jamatos@fep.up.pt>
13748 * tabular.C (docBook): fixed support for long tables.
13750 2002-02-20 Juergen Vigna <jug@sad.it>
13752 * text2.C (getFont): get the drawing font of the Inset if this
13753 paragraph is inside an inset (only important for InsetERT for now).
13755 * buffer.C (insertErtContents): use new lanugage params in ERT
13758 * CutAndPaste.C: commenting out seemingly uneeded code.
13760 2002-02-19 Allan Rae <rae@lyx.org>
13762 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13763 Iterators might be simple to use but they also get invalidated.
13764 (removeAutoInsets): renamed saved cursor tracking variables and added
13765 some comments to clarify what everything does.
13767 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13774 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13775 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13778 * vc-backend.h: remove #include "support/syscall.h"
13782 * converter.C: rearrange #includes in Lars' approved fashion.
13784 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13785 forward declare class Timeout in the header file.
13787 * XFormsView.C: changes due to the above.
13789 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13790 similar to LyXView.
13792 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13793 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13795 2002-02-18 José Matos <jamatos@fep.up.pt>
13797 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13800 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13802 * a lot of small ws changes
13803 * add a lot of using std::XXX
13804 * use std construcs some places where approp.
13805 * use some exisint stuff from lyxfunctional where approp.
13806 * Make file changes to use partial linking (lets test this now...)
13808 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13812 remove #include "support/syscontr.h" as it's redundant. Always has been.
13820 change Systemcalls::System to Systemcalls::Wait and
13821 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13822 No change of functionality, just reflects the stripped down Systemcalls
13825 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13827 * debug.[Ch]: add a GRAPHICS type to the enum.
13829 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13831 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13833 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13836 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13838 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13839 match the changes below.
13841 * text2.C (toggleInset): if there is not editable inset at cursor
13842 position, try to see if cursor is _inside_ a collapsable inset
13845 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13847 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13848 document menu has a nice checkbox
13850 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13852 * lyxlength.C (asLatexString): change PW to output as percent of
13855 * lengthcommon.C: change '%' to 't%'
13857 * lyxfunc.C (dispatch): a few comments from Martin
13859 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13863 * BufferView_pimpl.h:
13864 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13867 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13869 * vspace.C (inPixels): fix compiler warning
13871 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13873 * lyxfunc.C (getStatus): fix status message for disabled commands.
13875 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13877 * BufferView_pimpl.C: fix crash on close buffer
13878 during selection (#227)
13880 2002-01-27 Herbert Voss <voss@lyx.org>
13882 * buffer.C: link old Figure to new graphic inset
13884 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13886 * FontLoader.C (getFontinfo): Change the latex font names in order
13887 to match the names of type1inst.
13889 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13891 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13893 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13894 (extchanged): ditto
13896 (remove_files_with_extension): ditto
13897 (remove_file): ditto
13900 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13901 document is smaller than the work area height. Do not initialize
13902 static variables to 0.
13904 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13906 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13908 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13909 LFUN_LAYOUT_PARAGRAPHS.
13911 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13912 tabular. It is possible to provide a possible cell, which will
13913 typically be the actcell from the corresponding insettabular
13915 * lyxfunc.C (getStatus): small cleanup; disable
13916 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13919 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13921 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13923 * paragraph.C (startTeXParParams):
13924 (endTeXParParams): new methods. The LaTeX code to
13925 start/end paragraph formatting
13926 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13927 empty (fixes bug #200)
13929 * vspace.C (inPixels): adapt to the change below
13930 (inPixels): [later] more cleanups (remove unused variables)
13932 * lyxlength.C (inPixels): change to use a width and a height as
13935 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13937 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13938 Replaced with \paperwidth
13940 * DepTable.C (insert): add std:: qualifier
13942 2002-01-18 Allan Rae <rae@lyx.org>
13944 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13947 * text.C (drawInset): Turned out I didn't know enough about how
13948 rebreaking worked. This fixes most of the redraw problems. I see
13949 an occasional cursor trail when a line is broken now and the cursor
13950 placement can seem out by a few pixels also after a rebreak.
13952 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13954 * buffer.C (parseSingleLyXformat2Token): update because minipage
13955 width is now a LyXLength
13957 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13959 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13962 2002-01-17 Juergen Vigna <jug@sad.it>
13964 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13966 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13967 is set correctly and the inset is updated correctly.
13969 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13971 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13972 the beginning of the loop.
13974 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13976 * lyxrc.C: improve help for use_scalable_fonts
13978 2002-01-17 Allan Rae <rae@lyx.org>
13980 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13982 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13984 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13985 make sure to set their inset_owner to the right value (bug #171)
13987 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13990 * DepTable.C: Implement mtime checking to reduce time spent doing
13993 2002-01-16 Juergen Vigna <jug@sad.it>
13995 * tabular.C (GetAdditionalHeight): one of error fixed.
13997 * lyxrc.C (output): small fix in writing use_pspell.
13999 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14001 * sp_base.h: #include LString.h
14003 2002-01-16 Allan Rae <rae@lyx.org>
14005 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14006 Can someone check this please?
14008 * text.C (drawInset): It was possible that p.row would be removed by
14009 breakAgainOneRow upsetting a few other settings. There may be another
14010 small tweak possible by setting need_break_row = 0 when p.row has been
14011 removed but I don't know enough about the logic here.
14013 2002-01-15 Allan Rae <rae@lyx.org>
14015 * text.C (insertChar): removed conditional truism.
14017 * BufferView2.C (removeAutoInsets): More tweaks.
14018 cur_par_prev could be a stray pointer. Check for trailing empty line
14019 in case last line was cur_par and only had an error inset on it.
14021 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14023 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14026 * vc-backend.C (most methods):
14027 * exporter.C (Export):
14028 * converter.C (convert):
14030 * LyXSendto.C (SendtoApplyCB):
14031 * lyxfunc.C (dispatch):
14035 * lyx_cb.C (AutoSave):
14037 * BufferView_pimpl.C (MenuInsertLyXFile):
14038 * buffer.C (runChktex): use Buffer::filePath().
14040 * buffer.h: rename filename to filename_; rename filepath to
14041 filepath_ and make it private
14042 (filePath): new method
14044 * buffer.C (writeFile): use fileName()
14047 * lyx_main.C (init): fix starting of LyX when the binary is a
14048 link from so,ewhere else.
14050 * minibuffer.C: include <cctype> for isprint
14052 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14054 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14055 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14056 name clash with InsetCollapsable's width function.
14058 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14060 * lastfiles.C: include <iterator>
14062 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14064 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14067 * buffer.C (makeLaTeXFile): ditto.
14068 Also make loop operation more transparent.
14070 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14072 * ToolbarDefaults.C: remove trailing comma closing namespace.
14074 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14076 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14079 * trans.C (Load): comment out unused variable, allowed.
14081 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14083 * minibuffer.[Ch] (append_char): new method to recieve input from the
14084 drop-down completion browser. If a key was pressed, then recieve this
14085 char and append it to the existing string.
14086 (peek_event): modify the positioning data passed to the completion
14087 browser so that it can be placed above the minibuffer rather than below.
14088 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14090 * LyXAction.C (init): alloe error-next for readonly documents.
14092 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14095 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14097 * bufferlist.C (readFile): create the buffer _after_ checking that
14100 * lyxfunc.C (verboseDispatch): fix handling of arguments
14102 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14104 * lyxrc.C: use string::erase() instead of initializing to "".
14107 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14109 * BufferView_pimpl.h:
14110 * BufferView_pimpl.C:
14113 * text2.C: tell X when we have made a selection for copying
14115 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14117 * BufferView_pimpl.C (MenuInsertLyXFile):
14118 * lyxfunc.C (menuNew):
14120 (doImport): add shortcuts to directory buttons
14122 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14125 * lyxfunc.C (setStatusMessage):
14126 (getStatusMessage): new methods
14127 (getStatus):use setStatusMessage instead of setErrorMessage
14128 (dispatch): when function is disabled, set error message here
14129 [instead of in getStatus previously]
14131 * BufferView_pimpl.C (workAreaButtonRelease): update
14132 toolbar/menubar here too.
14134 2002-01-13 Allan Rae <rae@lyx.org>
14136 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14137 Now seems indestructible. Remaining task is to audit all other
14138 code affected by deleteEmptyParagraphMechanism. One small quirk
14139 left is that an empty document with an error in the preamble can
14140 be made to report an error but no error box appears. I don't know
14142 (removeAutoInsets): Improved comments.
14144 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14147 * Thesaurus.C: update for Aiksaurus 0.14
14149 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14151 * text2.C (firstParagraph): removed member function, all uses
14152 replaces with ownerParagraph
14153 (redoParagraphs): here
14154 (updateInset): here
14155 (toggleAppendix): here
14156 * BufferView2.C (insertErrors): here
14157 (setCursorFromRow): here
14159 2002-01-13 Allan Rae <rae@lyx.org>
14161 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14162 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14163 There is still a way to segfault this although you may have to do this
14164 multiple times: Have an InsetERT with an unknown command in it.
14165 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14166 <down-arrow>, <Enter> again, View->DVI, BANG!
14168 * text2.C (setCursor):
14169 (deleteEmptyParagraphMechanism):
14170 * lyxtext.h (setCursor):
14171 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14172 Making use of the return value may help fix other bugs.
14174 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14176 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14178 * LyXView.C (updateMenubar): call MenuBar::update here
14179 (updateToolbar): but not here
14180 (showState): do not update toolbar/menubar
14182 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14183 should need to care about that.
14185 * lyxfunc.C (verboseDispatch): simplify a bit
14186 (getStatus): have a version which takes a pseudoaction, and
14187 another which requires a (kb_action,string).
14189 * LyXAction.C (retrieveActionArg): make it work also when action
14190 is not a pseudo-action.
14191 (getActionName): simplify a bit
14194 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14196 * lyxfunc.C (verboseDispatch): new families of methods with
14197 several ways to specify a command and a bool to indicate whether
14198 the command name and shortcut should be displayed in minibuffer
14199 (eventually, we could extend that to a finer bitmask like
14200 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14201 (dispatch): the pristine dispatch command which just, well,
14202 dispatchs! Note it still sets its result to minibuffer; I'm not
14205 * lyxfunc.h: remove setHintMessage
14207 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14209 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14211 * BufferView_pimpl.C (specialChar): delete new inset if we have
14212 not been able to insert it.
14214 * kbmap.C: revert to using int instead of kb_action, since all we
14215 are dealing with is pseudo-actions.
14217 * LyXAction.C (searchActionArg): change to return int instead of
14218 kb_action, since the result is a pseudoaction.
14220 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14222 * buffer.C (insertErtContents): Fix (partially) the font bug.
14224 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14226 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14227 as the other one is broken on my machine!
14229 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14232 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14234 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14236 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14237 reflect their actual use. Provide compatibility code for older lyxrc
14240 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14242 change names of popup font variables in line with the changes to lyxrc.C
14244 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14246 * buffer.C (asciiParagraph): avoid outputing a word twice after
14249 * lyxrc.C (getDescription): document that document_path and
14250 template_path can be empty.
14252 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14254 * LaTeXFeatures.C (getMacros):
14255 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14257 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14259 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14261 (getPackages): rename feature "floats" to "float". Use an array to
14262 iterate over 'simple' features (i.e. just a \usepackage). Add
14263 handling of "amsmath" (renamed from "amsstyle").
14265 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14267 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14270 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14272 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14273 FuncStaus::FuncStatus & FuncStaus::some_method().
14275 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14277 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14278 of the func_satus stuff. Edited and massaged in various ways by
14281 * lyxfunc.C (getStatus): use FuncStatus
14283 2002-01-08 Juergen Vigna <jug@sad.it>
14285 * text.C (nextBreakPoint): use function Inset::isChar().
14287 * paragraph.C (TeXOnePar): use function
14288 Inset::forceDefaultParagraphs.
14290 * buffer.C (latexParagraphs): use function
14291 Inset::forceDefaultParagraphs.
14293 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14295 * lyx_gui.C (init): set the style of the menu popups to
14296 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14298 2002-01-07 Juergen Vigna <jug@sad.it>
14300 * text.C (setHeightOfRow): small fix
14301 (prepareToPrint): don't look at alignment if we don't have the place
14304 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14306 * box.C: New file. Move the Box methods and functions out of box.h,
14307 following Lars' suggestion.
14309 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14311 * box.h: #include "support/LOstream.h", needed for inlined function.
14314 * lyxtextclasslist.C: added some using std declarations.
14316 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14318 * box.h: make signed dimensions to allow insets wider than
14319 the screen (bug #162)
14321 * BufferView_pimpl.C: add some insetHit debug
14323 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14325 * vc-backend.C: add FIXME
14327 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14329 * lyxfunc.C (getStatus): enable code for showing math font status
14332 2002-01-07 Juergen Vigna <jug@sad.it>
14334 * text.C (nextBreakPoint): removed debug output not needed anymore.
14336 2002-01-06 Juergen Vigna <jug@sad.it>
14338 * text.C (nextBreakPoint): fixed up this function we had this bug
14339 since ever but now hopefully we break row better.
14340 (insertChar): we have to check if an inset is the next char as it
14341 could now happen that a large inset is causing a break.
14343 2002-01-05 Juergen Vigna <jug@sad.it>
14345 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14346 if it doesn't like to be drawed.
14348 2002-01-04 Juergen Vigna <jug@sad.it>
14350 * BufferView2.C (lockInset): forgot to set a cursor.
14352 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14354 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14356 * FormMathsPanel.C:
14359 * form_maths_panel.C:
14360 * form_maths_panel.h:
14361 * form_maths_panel.fd: implemented sub- and super- buttons in math
14364 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14365 (or ^ space) to be used as in TeX (req'd by Andr�.
14367 * lyxfunc.C: Allow ^ and _ again to be used both as
14368 super/subscript (mathed) and as themselves (in text).
14370 2002-01-03 Allan Rae <rae@lyx.org>
14372 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14373 "LyX" or the filename of the current buffer if it has one. This is a
14374 modified form of John Levon's patch.
14376 * XFormsView.C (setWindowTitle): also set icon title.
14378 * LyXView.h (setWindowTitle): signature changed.
14379 * XFormsView.h (setWindowTitle): ditto.
14381 2002-01-02 Juergen Vigna <jug@sad.it>
14383 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14385 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14387 * screen.C (topCursorVisible): introduce a temp var for
14388 text->cursor.row(), handle the case where this row is null. (kindo
14391 * text2.C (setCursor): add a couple of asserts.
14393 * paragraph.h (inset_iterator): add -> operator
14395 * paragraph.[Ch] (autoDeleteInsets): remove member function
14397 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14398 cursor pos correctly and handle inset deletion by itself.
14399 (insertErrors): move iterator declaration out of for expression
14401 * lyxtextclass.C: add <algorithm>
14403 * Makefile.am: added the new files to sources, removed layout.C
14405 * layout.C: removed file
14407 * layout.h: remove LYX_DUMMY_LAYOUT
14409 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14413 * lyxtextclass.[Ch]:
14414 * lyxtextclasslist.[Ch]: new files
14416 * include order changes to a lot of files, also changes because of
14419 2001-12-27 Juergen Vigna <jug@sad.it>
14421 * buffer.C (asciiParagraph): more fixes.
14423 * tabular.C (ascii): make ascii export support export of only the
14424 data separated by a column-delimiter.
14425 (ascii): better support for ascii export.
14427 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14429 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14431 * tabular_funcs.C: use a "using std::getline" instead of the
14432 previous fix from Angus (necessary for cxx + lyxstring)
14434 2001-12-24 Juergen Vigna <jug@sad.it>
14436 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14438 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14439 problems. First check a minipage also if we have some ert-contents
14440 (not only on par->size(), second set the right depth of the paragraph
14441 on the relink to the root-paragraph-list!
14443 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14444 which then did not anymore update the main paragraphs on undo/redo!
14446 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14448 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14449 code. Support all font-changing funcs (even those which are not in
14450 menu currently). Support for reporting font settings in
14451 mathed (disabled until Andre provides a function on mathed's side).
14453 * func_status.h (toggle): small helper function to set toggle
14456 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14458 * tabular_funcs.C: getline -> std::getline
14460 2001-12-21 Juergen Vigna <jug@sad.it>
14462 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14463 accessed and could be 0 (I couldn't generate this but it seems
14466 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14468 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14469 * tabular_funcs.h: here and include iosfwd
14471 2001-12-20 Juergen Vigna <jug@sad.it>
14473 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14474 inside inset but undo_par was.
14476 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14478 * Thesaurus.C: always include <config.h> in sources.
14482 * box.h: do not include <config.h> in header files
14484 * text.C (paintLastRow): remove unused variable
14486 * text.C (transformChar):
14488 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14490 * Painter.C (text):
14491 * font.C (width): rewrite to use uppercase() instead of
14494 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14496 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14498 * lyxfind.C: clean up of find failure position change
14500 2001-12-20 Juergen Vigna <jug@sad.it>
14502 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14504 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14505 (TeXRow): added to LaTeX a single tabular row.
14506 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14507 (Latex): simplified and finally good LT-h/f support.
14508 (various_functions): just small adaptions for LT-h/f support.
14510 * tabular_funcs.[hC]: added and moved here all not classfunctions
14513 2001-12-19 Juergen Vigna <jug@sad.it>
14515 * tabular.[Ch]: better support for longtabular options (not finished
14518 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14520 * text.C (paintLastRow): use the label font instead of the font of
14521 the last character to compute the size of *_BOX. This makes more
14522 sense and avoids a crash with empty paragraphs.
14523 Use Painter::rectangle to draw EMPTY_BOX.
14525 2001-12-19 Juergen Vigna <jug@sad.it>
14527 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14528 the paragraphs if the replaced paragraph is not the first one!
14529 Tried to delete not used paragraphs but does not work yet so for
14530 now it's inside #ifdef's and by default off!
14532 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14534 * MenuBackend.C: include "lyx_main.h" instead of declaring
14535 lastfiles (actually was declared as LastFiles* instead of a
14538 2001-12-17 Juergen Vigna <jug@sad.it>
14540 * tabular.C (AppendColumn): applied John's fix
14542 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14546 * BufferView_pimpl.h:
14547 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14550 * box.h: new start of class for above
14552 * lyxfunc.C: ignore space-only minibuffer dispatches.
14553 Show the command name when it doesn't exist
14555 * minibuffer.C: don't add empty lines to the history
14557 * minibuffer.C: add a space on dropdown completion
14559 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14561 * text.C: fix line above/below drawing in insets
14563 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14565 * lyxlength.C (LyXLength): Initialize private variables.
14567 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14569 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14570 when inserting error insets.
14572 2001-12-13 Juergen Vigna <jug@sad.it>
14574 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14575 actually sometimes the before-paragraph.
14576 (setUndo): don't clear the redostack if we're not actually undoing!
14578 2001-12-06 Juergen Vigna <jug@sad.it>
14580 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14581 and fixed redoing of main paragraph, so we can use it now ;)
14583 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14585 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14587 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14590 2001-12-13 André Pönitz <poenitz@gmx.net>
14593 * undo_func.C: minor cleanup
14595 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14597 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14598 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14599 font in urw-fonts package which is marked as -urw-fontspecific and
14600 does not work (incidentally, changing the encoding in the
14601 fonts.dir of this package to -adobe-fontspecific fixes the
14604 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14605 is a crash when undoing first paragraph (Juergen, please take a
14606 look). THis does not mean the undo fix is wrong, just that it
14609 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14610 the (Paragraph*) version when needed instead of duplicating the
14613 * text.C (workWidth): use Inset::parOwner to find out where the
14614 inset has been inserted. This is a huge performance gain for large
14615 documents with lots of insets. If Inset::parOwner is not set, fall
14616 back on the brute force method
14618 * paragraph_pimpl.C (insertInset):
14619 * paragraph.C (Paragraph):
14620 (cutIntoMinibuffer): set parOwner of insets when
14621 inserting/removing them
14623 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14625 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14631 * mathed/formulabase.C:
14632 * mathed/math_cursor.[Ch]:
14633 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14636 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14638 * lyxlength.[Ch] (operator!=): new function
14640 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14642 * text.C (workWidth): use Inset::parOwner to find out where the
14643 inset has been inserted. This is a huge performance gain for large
14644 documents with lots of insets. If Inset::parOwner is not set, fall
14645 back on the brute force method
14647 * paragraph_pimpl.C (insertInset):
14648 * paragraph.C (Paragraph):
14649 (cutIntoMinibuffer): set parOwner of insets when
14650 inserting/removing them
14652 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14654 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14656 * tabular-old.C (getTokenValue):
14657 * tabular.C (getTokenValue):
14658 (write_attribute): new versions for LyXLength
14659 (everywhere): adjust the use of widths
14661 * tabular.h: change the type of widths from string to LyXLength
14663 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14665 * paragraph.C: fixed missing line number count when exporting
14666 Environments to LaTeX file
14668 * buffer.C: added informational message for checking line numbers.
14670 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14672 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14673 paragraph, do the 'double space' part, but not the 'empty
14676 * text.C (workWidth): small optimization
14677 (getLengthMarkerHeight): use minimal size for negative lengths.
14679 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14681 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14683 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14685 2001-12-11 André Pönitz <poenitz@gmx.net>
14688 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14690 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14692 * text2.C: keep selection on a setFont()
14694 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14696 * lyx_cb.C: another bv->text misuse, from insert label
14698 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14701 * kbsequence.C: re-instate nmodifier mask
14703 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14705 * lyx_main.h: make lyxGUI private.
14707 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14709 * lyxfind.C: place the cursor correctly on failed search
14711 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14713 * text.C (getLengthMarkerHeight): for small heights, the arrows
14714 are not always on top/bottom of the text
14715 (drawLengthMarker): smaller arrows; take the left margin in
14716 account; draw also vfills.
14718 (paintLastRow): remove special code for vfill and standard spaces,
14719 since everything is handled in drawLengthMarker now.
14721 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14723 * buffer.C (insertErtContents): try to handle font and language
14724 interaction a bit better.g
14726 * ColorHandler.C (updateColor): change the hash to cover the whole
14727 LColor enum, ws cleanup
14728 (getGCLinepars): ditto
14729 (getGCLinepars): only lookup in the linecache once.
14731 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14733 * iterators.C (operator++): Make the iterator more robust
14735 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14737 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14739 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14742 * text.C: better added space drawing
14744 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14747 * BufferView2.C: fix layout combo update on inset unlock
14749 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14751 * Makefile.am: don't compile unused files
14753 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14757 * LyXAction.C: remove old LFUN_LAYOUTNO
14759 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14761 * paragraph_pimpl.h:
14762 * paragraph_pimpl.C: isTextAt() doesn't need font param
14764 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14767 * lyxlex.C: little cleanup
14769 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14771 * BufferView_pimpl.C: fix insertAscii for insets
14773 2001-12-05 Juergen Vigna <jug@sad.it>
14775 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14776 set the right font on the "multi" paragraph paste!
14778 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14784 * lyxlength.C: remove out-commented code.
14786 * BufferView_pimpl:
14800 * vc-backend.C: change "while(" to "while ("
14802 * lyxlength.[Ch]: add zero function to check if length is zero or
14804 * lyxgluelength.C: use it
14806 2001-12-05 Allan Rae <rae@lyx.org>
14808 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14809 Works for 2.95.3, from what I understand of Garst's reports this should
14810 work for other g++ versions. We're screwed if the abs(int) definition
14811 changed between bugfix releases of gcc.
14813 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14815 * text.C: fix chapter label offset !
14817 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14820 * text.C: fix hfill at end of line, clean up
14822 2001-12-04 Juergen Vigna <jug@sad.it>
14824 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14825 that we force an update of the inset and it's owners if neccessary.
14827 2001-12-03 Juergen Vigna <jug@sad.it>
14829 * text.C (rowLast): simplified code
14831 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14833 * lyxfunc.C: fix show options on timeout
14835 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14837 * screen.C (topCursorVisible): scroll half a page when the cursor
14838 reached top of bottom of screen
14840 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14842 * minibuffer.C: deactivate on loss of focus
14844 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14846 * vspace.[Ch] (operator!=): add operator.
14848 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14850 * BufferView_pimpl.C: refuse to open an inset when
14851 there's a selection.
14853 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14855 * BufferView_pimpl.C: allow to click on RHS of full row insets
14857 2001-11-30 Juergen Vigna <jug@sad.it>
14859 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14860 insets for undo reasons.
14862 2001-11-28 André Pönitz <poenitz@gmx.net>
14864 * vspace.[Ch]: cosmetical changes
14866 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14876 * kbsequence.C: part re-write of old kb code
14879 * WorkArea.C: remove Lgb_bug_find_hack
14881 2001-11-30 José Matos <jamatos@fep.up.pt>
14883 * buffer.C (makeDocBookFile): add a comment to point a hack.
14884 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14885 Fixed a double write of labels.
14887 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14890 * LaTeX.h Fixed bug in LaTeX class where it would not
14891 re-run latex if no depfiles were changed, but the .dvi was removed.
14893 2001-11-28 André Pönitz <poenitz@gmx.net>
14895 * all the files from the change on 2001/11/26:
14896 use lyx::layout_type instead of LyXTextClass::size_type
14897 use lyx::textclass_type instead of LyXTextClassList::size_type
14899 2001-11-29 Juergen Vigna <jug@sad.it>
14901 * text.C: added support for paragraph::isFreeSpacing()
14903 * buffer.C: same as above
14905 * paragraph.h: inserted isFreeSpacing() function to enable
14906 FreeSpacing inside InsetERT.
14908 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14909 of the paragraph's in the cut/copy buffer to 0!
14911 * text2.C (removeRow): remove the assert as it can!
14913 * lyxtext.h: added helper function firstRow returning firstrow and
14914 made firstrow private again.
14916 * BufferView2.C (lockInset): don't relock if we're already locked!
14918 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14919 the only paragraph.
14920 (removeRow): added Assert::(firstrow)
14922 * debug.C: forgot to add INSETTEXT here.
14924 2001-11-28 Juergen Vigna <jug@sad.it>
14926 * sp_spell.C (initialize): changed error text to more general
14927 spellchecker command use (not only ispell!)
14929 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14931 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14933 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14935 * vspace.C: initialise lyxgluelength on failure
14937 2001-11-28 Allan Rae <rae@lyx.org>
14939 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14940 declaration & definition that looks like a function declaration.
14942 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14944 * BufferView2.C (copy):
14945 (copyEnvironment): do not clear the selection when doing a copy.
14947 * text.C (paintFirstRow): compilation fix
14949 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14951 * tabular.C (Latex): correct line count when writing latex.
14953 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14955 * paragraph_pimpl.h:
14956 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14959 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14963 * LColor.C: change vfillline->added_space
14965 * text.C: add markers and text for added space
14967 * vspace.C: fix comment
14969 2001-11-28 André Pönitz <poenitz@gmx.net>
14971 * paragraph.C: whitespace changes
14972 * all the other files from the change on 2001/11/26:
14973 change *::pos_type into lyx::pos_type
14975 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14977 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14978 language of the document when inserting error insets.
14980 2001-11-26 André Pönitz <poenitz@gmx.net>
14982 * BufferView_pimpl.[Ch]:
14990 * paragraph_pimpl.[Ch]:
14993 * text2.C: reduce header dependencies, introduce type for positions
14995 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14997 * <various>: change to use Alert.h
14999 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15001 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15002 when encountering an unknown token.
15003 (readLyXformat2): Show an error message if there were unknown tokens.
15005 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15008 * BufferView_pimpl.C:
15012 * text2.C: use par->isInset()
15014 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15016 * paragraph_pimpl.h:
15017 * paragraph_pimpl.C: cleanup
15019 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15021 * text2.C (removeRow):
15022 * text.C (setHeightOfRow): remove useless (and costly) call to
15025 2001-11-20 Allan Rae <rae@lyx.org>
15027 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15028 Now need Inset*::checkInsertChar() to return true for appropriate
15029 cases so that the characters in the minibuffer will actually be
15032 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15034 * text.C: change the order of the includes.
15035 (workWidth): initialize it at once.
15036 (workWidth): make maxw unsigned
15037 (setHeightOfRow): remove unused variable (inset)
15038 (selectSelectedWord): remove unused variable (inset)
15039 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15041 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15043 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15044 server is not running.
15046 (closeConnection): add debug info when server is disabled.
15048 * ColorHandler.C (getGCForeground): send debug message to GUI
15051 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15053 * kbmap.C (bind): modify because return conventions of
15054 kb_sequence::parse have changed.
15056 * kbsequence.C (parse): only ignore spaces and not any stupid
15057 control character. This avoids tests like s[i] <= ' ', which are
15058 guaranteed to fail with 8bit characters and signed chars.
15059 Change return code to string::npos when there have been no error
15060 (0 was a bad idea when error is at first character)
15062 2001-11-14 José Matos <jamatos@fep.up.pt>
15065 * buffer.C (simpleDocBookOnePar): removed unused argument.
15067 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15069 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15070 insets which are part of a word. Paragraph::isLetter takes care of
15071 that now. Use Paragraph::isInset to identify insets.
15072 (selectSelectedWord): do not test for hyphenation break.
15074 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15075 that protected spaces are considered as spaces.
15077 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15080 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15083 * lyxserver.C: fix it. and small cleanup.
15085 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15087 * BufferView_pimpl.C: use inline helpers
15090 * LaTeXFeatures.C: fix typos
15093 * Spacing.C: move spacing_string into class
15095 * ToolbarDefaults.C: move stuff into namespace anon
15097 * layout.h: update enum
15099 * lyxfunc.C: use better debug
15101 * minibuffer.h: fix typo
15105 * WorkArea.C: add and use Debug::WORKAREA
15109 * text2.C: code re-organisation, inline helpers
15111 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15113 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15114 std::vector.empty().
15116 2001-11-09 Allan Rae <rae@lyx.org>
15118 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15119 '\n's after tables. Tabular and ERT inset work now makes this no
15122 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15125 * minibuffer.C: fix crash, improve drop-down completion
15127 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15130 * lyxserver.C: invalidate fd's when doing endPipe()
15132 2001-11-08 José Matos <jamatos@fep.up.pt>
15134 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15135 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15138 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15140 2001-11-07 José Matos <jamatos@fep.up.pt>
15143 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15146 * buffer.C (sgmlOpenTag):
15147 * buffer.C (sgmlCloseTag): removed debug info.
15149 * buffer.h (sgmlOpenTag):
15150 * buffer.h (sgmlCloseTag): made public.
15152 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15154 * buffer.C (saveParamsAsDefaults):
15155 * lyx_cb.C (MenuLayoutSave): remove
15157 * LyXAction.C (init):
15159 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15161 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15163 * buffer.C (setPaperStuff): removed from here...
15165 * bufferparams.C (setPaperStuff): ... and moved there.
15167 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15171 * XFormsView.C: add support for drop-down completion
15173 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15175 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15178 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15180 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15183 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15185 * lyx_main.C: change ref to known bugs
15187 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15189 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15190 to work around older babel problems.
15192 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15194 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15196 2001-10-24 Juergen Vigna <jug@sad.it>
15198 * tabular-old.C (ReadOld): below variable changes reflected.
15200 * tabular.[Ch]: added ltType struct for longtable header/footer
15201 defines and changed all instances where they are used. Added
15202 future support for double top/bottom rows.
15204 2001-10-24 José Matos <jamatos@fep.up.pt>
15206 * buffer.h (docbookHandleCaption):
15207 * buffer.C (docbookHandleCaption): removed unused function.
15208 (makeDocBookFile): moved docbook supported version to v4.1.
15210 2001-10-24 José Matos <jamatos@fep.up.pt>
15213 * tabular.C (docbookRow): new function to export docbook code of a row.
15214 (DocBook): now honors the longtable flags.
15216 2001-10-23 José Matos <jamatos@fep.up.pt>
15219 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15220 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15222 * buffer.C (makeLinuxDocFile):
15223 (makeDocBookFile): reworked the preamble, more clean, and with
15224 support for lyx defined entities. Changed the document declaration
15225 to be more XML friendly.
15227 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15228 if we need to output XML that should be done with a filter.
15230 2001-10-22 Juergen Vigna <jug@sad.it>
15232 * sp_pspell.h (class PSpell): add alive function needed in the
15233 controller to see if the spellchecker could be started.
15235 2001-10-22 Juergen Vigna <jug@sad.it>
15237 * buffer.C (insertStringAsLines): modify the font for inserting
15238 chars in certain conditions by calling checkInsertChar(font).
15240 2001-10-19 Juergen Vigna <jug@sad.it>
15242 * text.C (workWidth): use getRow instead of wrong algorithm.
15243 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15245 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15250 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15252 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15254 * text.C (workWidth): do not search for the exact row when
15255 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15256 optimization for big documents.
15258 2001-10-18 Juergen Vigna <jug@sad.it>
15260 * text.C (workWidth): new function with added Inset * parameter.
15262 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15264 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15266 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15267 change return type of getColumnNearX.
15270 * text.C (changeRegionCase): use uppercase/lowercase instead of
15273 (rightMargin): simplify code by factoring out the uses of
15278 (appendParagraph): use Paragraph::size_type
15280 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * vspace.C (asLatexString): add a missing break
15284 2001-10-15 Herbert Voss <voss@perce.de>
15286 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15288 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15290 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15293 2001-10-10 André Pönitz <poenitz@gmx.net>
15295 * lyxfunc.C: removed greek_kb_flag.
15297 2001-10-10 Herbert Voss <voss@perce.de>
15299 * lyx_main.C: delete global string help_lyxdir.
15301 2001-10-09 Herbert Voss <voss@perce.de>
15303 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15305 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15307 * lyx_main.C: added global string help_lyxdir.
15309 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15311 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15313 * lyxrc.C (set_font_norm_type): support iso8859-4
15315 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15317 * LaTeX.C (deplog): add another regex for MikTeX
15319 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15321 * lyxrc.C (set_font_norm_type): support iso8859-3
15323 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15325 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15327 * LaTeXFeatures.C: remove special case of french and index
15329 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15330 before \begin{document}). This solves several incompatibilities.
15332 2001-10-03 Garst Reese <reese@isn.net>
15334 * lyx_cb.C: change CheckTex error msg.
15336 2001-10-03 José Matos <jamatos@fep.up.pt>
15338 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15340 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15342 * .cvsignore: update
15344 * lyx_main.C (commandLineVersionInfo): use new style version info.
15346 * buffer.C (writeFile):
15348 (makeLinuxDocFile):
15349 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15351 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15353 * version.h: update to use stuff in version.C
15355 * version.C.in: new file. Contains version information determined
15356 at compile time. This is a merging of version.h and
15359 2001-10-03 Juergen Vigna <jug@sad.it>
15361 * BufferView_pimpl.C (update): don't change "dirty" status in
15364 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15366 * WorkArea.C (c-tor): re-position version string slightly.
15368 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15370 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15371 revert to previous code.
15373 WorkArea.[Ch]: (show, destroySplash): methods removed.
15375 WorkArea.C: rework code so that it's an amalgam of the codes before and
15376 after the splash screen was moved to WorkArea.
15378 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * vspace.C (inPixels):
15384 * buffer.C (insertStringAsLines):
15385 (asciiParagraph): fix types to be large enough
15387 * lyxlex_pimpl.h: change member status from short to int
15389 * layout.h: fix type of endlabeltype
15392 * kbsequence.C (parse): change return type to string::size_type
15394 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15397 * Bullet.C (bulletSize):
15398 (bulletEntry): do not use short ints as parameters
15400 * BufferView2.C (insertLyXFile): change a char to an int.
15402 * WorkArea.C (WorkArea): remove unneeded floats in computation
15404 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15406 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15408 * paragraph.C (asString): Do not ignore newline/hfill chars when
15409 copying to the clipboard.
15411 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15413 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15414 after a multi-line inset.
15416 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15418 * paragraph.C (validate): Set NeedLyXFootnoteCode
15420 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15422 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15423 and decrease-error to decrease.
15425 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15427 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15428 it more readable (should be equivalent)
15430 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15432 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15434 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15436 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15437 of a cursor (row, etc.) after a character has been deleted
15438 (deleteEmptyParagraphMechanism): call the method above on _all_
15439 cursors held by the LyXText when a double space has been
15442 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15444 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15446 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15448 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15449 background. Use greyOut() and the new show() methods to toggle between
15450 the foreground and background. Add code to remove the splash after
15451 its initial showing.
15453 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15454 (create_forms): no longer call Dialogs::showSplash.
15456 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15458 * .cvsignore: add version_info.h
15460 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15462 * version_info.h.in: new file
15464 * Makefile.am: add version_info.h.in
15466 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15467 version_info.h instead of VERSION_INFO
15469 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15471 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15472 The ERT inset now returns string().
15474 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15476 * lyxtext.h, text.C (selectNextWord): renamed as
15477 selectNextWordToSpellcheck.
15479 * text.C (selectNextWordToSpellcheck): Modified to not select
15480 words inside an ERT inset.
15482 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15484 * lyx_cb.C (MenuLayoutSave): change a bit the question
15486 * sp_base.h: include <sys/types.h>
15488 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15490 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15492 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15494 * several files: fix typos in user-visible strings
15496 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15498 * text2.C (pasteSelection): do not set the selection, since it
15499 will be cleared later. Actually, the intent was to fix the way the
15500 selection was set, but I figured rmoving the code was just as good.
15502 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15504 * FontLoader.C (available): Check if font is available without
15507 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15509 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15511 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15513 * lyxrc.[Ch]: added display_graphics variable and associated code.
15515 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15517 * bufferparams.C (hasClassDefaults): new method. Returns true if
15518 the buffer parameters correspond to known class defaults
15520 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15522 * XFormsView.C (show): set minimum size to the main window.
15524 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15526 * text2.C (copySelection):
15528 * lyxfind.C (LyXReplace):
15529 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15530 LyXText::selectionAsString.
15532 * paragraph.C (asString): add "label" argument to the second form
15534 * text2.C (selectionAsString): add "label" argument and pass it to
15535 Paragraph::asString.
15537 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15539 * lyx_main.C (commandLineHelp): remove version information
15541 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15543 * lyx_main.C: add -version commandline option
15545 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15547 * paragraph.h: make the optional constructor arg required instead.
15548 some modifications to other files because of this.
15550 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15552 * lyxserver.C (C_LyXComm_callback): make it static
15554 * lyx_main.C (error_handler): make it static
15556 * lyx_gui.C (LyX_XErrHandler): make it static
15558 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15560 * WorkArea.C: make the extern "C" methods static.
15562 * Makefile.am (lyx_LDADD): simplify
15564 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15566 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15567 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15569 * LyXAction.C (init):
15570 * lyxfunc.C (dispatch): associated code removal.
15572 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15574 * lyxfont.h (isSymbolFont): shut off warning
15576 * text.C (setHeightOfRow):
15577 (getVisibleRow): fix crash with empty paragraphs which have a
15580 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15582 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15585 2001-09-04 José Matos <jamatos@fep.up.pt>
15588 * tabular.C (docbook): rename docBook method to docbook.
15590 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15592 * Makefile.am: add dependencies to main.o.
15594 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15596 * FontLoader.C (available): Return false if !lyxrc.use_gui
15598 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15600 * FontInfo.C (query):
15601 * converter.C (view):
15602 * importer.C (Import):
15603 * exporter.C (Export): Can not -> cannot.
15605 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15607 * BufferView_pimpl.C: allow to create index inset even if
15610 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15612 * buffer.C (getLists): replace boost::tie code with an explicit pair
15613 as boost::tie can break some compilers.
15615 * iterators.h: Added a std:: declaration to the return type of
15618 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15620 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15623 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15625 * iterators.[Ch]: New files. Provide paragraph iterators.
15627 * buffer.C (changeLanguage): Use paragraph iterators.
15628 (isMultiLingual): ditto
15630 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15632 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15634 * FontLoader.C: Support for cmr font.
15636 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15638 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15639 (available): New method.
15641 * FontInfo.C (getFontname): Use scalable fonts even when
15642 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15645 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15647 * converter.C (Formats::view): reverted! Incorrect fix.
15649 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15651 * converter.C (Formats::view): only output the -paper option
15652 if the dvi viewer is xdvi, thereby fixing bug #233429.
15654 2001-08-23 Herbert Voss <voss@perce>
15656 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15658 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15660 * Spacing.h (Spacing): Set space to Default on in the default
15663 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15665 * vc-backend.h (RCS::versionString): add RCS to version
15666 (CVS::versionString): add CVS to version
15668 * vc-backend.C (scanMaster): do not add CVS to version.
15669 (scanMaster): do not add RCS to version
15671 * lyxvc.C (versionString): new method
15673 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15675 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15677 * Spacing.C (set): initialize fval
15679 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15681 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15684 2001-08-16 Juergen Vigna <jug@sad.it>
15686 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15688 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15690 * BufferView_pimpl.C:
15693 * text2.C: setParagraph takes linespacing now
15695 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15697 * LyxAction.C: add internal LFUN_CITATION_INSERT
15699 * LyXView.C: actually apply fix
15701 * bufferlist.C: fix open non-existent file
15703 * lyxfind.C: fix indentation
15705 * lyxfunc.C: remove unneeded assert, fix typo
15707 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15709 * MenuBackend.C: use "Floatname List"
15711 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15713 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15714 when converting LaTeX layout to insetERT.
15715 Generate a non-collapsed float when reading old float
15717 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15719 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15722 2001-08-13 Juergen Vigna <jug@sad.it>
15724 * text.C (fill): return 0 instead of 20 as this seems to be the more
15727 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15729 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15732 2001-08-13 Juergen Vigna <jug@sad.it>
15734 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15736 (SearchBackward): comment out the unlocking of the inset_owner this
15737 should not be needed!
15739 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15741 * Many files: Remove inherit_language, and add latex_language
15743 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15744 collapsible insets.
15746 2001-08-10 Juergen Vigna <jug@sad.it>
15748 * text.C (prepareToPrint): fixed hfill-width in draw!
15750 * BufferView2.C (selectLastWord): save the selection cursor as this
15751 now is cleared in the function LyXText::clearSelection!
15753 2001-08-08 Juergen Vigna <jug@sad.it>
15755 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15756 BACKSPACE type functions.
15758 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15759 is only cutted from the document but not put in the cut-buffer, where
15760 still the old stuff should be.
15762 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15764 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15766 * tabular.C (SetWidthOfCell): fixed special case where the width
15768 (LeftLine): handle '|' in align_special.
15770 (LeftAlreadyDrawed): ditto
15771 (SetWidthOfCell): ditto
15773 2001-08-07 Juergen Vigna <jug@sad.it>
15775 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15777 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15779 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15780 * lyxlex.[hC]: ditto
15782 2001-08-06 Juergen Vigna <jug@sad.it>
15784 * text.C (getVisibleRow): fix up row clearing a bit.
15786 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15788 * minibuffer.C: make sure the X server sees the changes in the input.
15790 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15792 * paragraph.C (getFont): split into...
15793 (getLabelFont): this
15794 (getLayoutFont): and this
15795 * paragraph_pimpl.C (realizeFont): calling this
15797 * text2.C (getFont): split into...
15798 (getLayoutFont): this
15799 (getLabelFont): and this
15800 (realizeFont): all three calling this
15802 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15805 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15807 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15809 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15811 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15812 layouts from the Quote inset insertion.
15814 2001-08-03 Juergen Vigna <jug@sad.it>
15816 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15818 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15819 only if status not is already CHANGED_IN_DRAW (second level).
15821 * text.C (draw): don't set the need_break_row when inside an
15824 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15826 * buffer.C (parseSingleLyXformat2Token): handle more latex
15829 * bufferview_funcs.[hC]: change function names to
15830 begin with small char, adjust other files.
15832 2001-08-02 André Pönitz <poenitz@gmx.net>
15835 BufferView_pimpl.C: remove broken special code for math-greek
15837 2001-08-02 Juergen Vigna <jug@sad.it>
15839 * BufferView_pimpl.C (update): redone this function so that we
15840 update the text again if there was a CHANGE_IN_DRAW.
15842 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15843 (drawFromTo): added a new internal bool which is used by draw() and
15845 (general): some cursor drawing problems fixed.
15847 2001-08-01 Juergen Vigna <jug@sad.it>
15849 * lyxfind.C (LyXFind): fixed
15850 (SearchForward): ditto
15851 (SearchBackward): ditto
15853 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15854 spurius drawing of the cursor in the main area.
15856 * text2.C (status): small fix which could lead to a segfault!
15857 (clearSelection): remove unneeded BufferView param.
15859 2001-08-01 André Pönitz <poenitz@gmx.net>
15861 * lyxfunc.C: small change due to changed mathed interface
15863 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15865 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15867 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15869 * lyxfunc.c: fail gracefully if file doesn't exist
15874 * BufferView_pimpl.C: IsDirWriteable() proto changed
15876 * LyXView.C: fix updateWindowTitle() to store the last title
15878 2001-07-31 Juergen Vigna <jug@sad.it>
15880 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15881 the font (wrong since using of Paragraph::highestFontInRange).
15883 * paragraph.C (highestFontInRange): added a default_size parameter.
15885 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15886 (setHeightOfRow): reformat
15888 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15890 * converter.[hC] + affected files: move to (inital-char)lowercase
15893 * ParagraphParameters.C (ParagraphParameters): remove commented code
15895 * PainterBase.[Ch]: remove commented code
15897 * LaTeXFeatures.h: add "bool floats" for float.sty
15899 * LaTeXFeatures.C (LaTeXFeatures): init floats
15900 (require): handle float
15901 (getPackages): do it with floats
15903 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15905 * BufferView_pimpl.C (Dispatch): improve handling of
15906 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15908 * commandtags.h: #include lyxfont.h here temporarily to avoid
15911 * bufferlist.h: include LString.h here.
15913 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15915 * text2.C (getStringToIndex): new method.
15917 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15919 * *: Reduced header file dependencies all over.
15921 2001-07-30 Baruch Even <baruch@lyx.org>
15923 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15925 2001-07-29 Baruch Even <baruch@lyx.org>
15927 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15929 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15931 * ParameterStruct.h (endif): add a default constructor to make
15932 sure that all variables is initialized.
15934 * ParagraphParameters.C (ParagraphParameters): adjust
15936 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15938 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15939 index; also, check that there is something to index, and that it
15940 does not span over several paragraphs.
15941 (doubleClick): use WHOLE_WORD_STRICT for double click.
15943 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15945 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15948 2001-07-26 Baruch Even <baruch@lyx.org>
15950 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15951 an InsetFig figure, backwards compatible reading of old figure code.
15953 2001-07-27 Juergen Vigna <jug@sad.it>
15955 * text2.C: font.realize function adaption.
15957 * text.C (draw): add a warnings lyxerr text if needed.
15959 * layout.C: font.realize function adaption.
15961 * language.C: add inherit_language and implement it's handlings
15963 * bufferview_funcs.C (StyleReset): remove language parameter from
15964 font creation (should be language_inherit now).
15966 * bufferparams.C (writeFile): handle ignore_language.
15968 * paragraph.C (getFontSettings): the language has to be resolved
15969 otherwise we have problems in LyXFont!
15971 * lyxfont.C (lyxWriteChanges): added document_language parameter
15972 (update): removed unneeded language parameter
15974 * paragraph.C (validate): fixed wrong output of color-package when
15975 using interface colors for certain fonts in certain environments,
15976 which should not seen as that on the final output.
15978 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15980 * BufferView_pimpl.C:
15985 * LyXAction.C: add thesaurus support
15988 * lyxfind.C: add "once" parameter, for thesaurus, to not
15989 move to the next match
15991 2001-07-26 Juergen Vigna <jug@sad.it>
15993 * lyxfont.C (realize): honor ignore_language too!
15996 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15998 * text.C (draw): one place more for ignore_language to not draw
16001 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16003 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16005 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16007 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16008 the minipage conversion problem.
16010 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16012 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16015 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16017 * BufferView.h: don't forward declare WorkArea
16019 * BufferView.C: don't include WorkArea.h
16021 2001-07-25 André Pönitz <poenitz@gmx.net>
16025 * lyxfunc.C: new LFUN 'math-space'
16027 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16029 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16031 * text2.C (toggleInset): call open/close
16033 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16035 * lyxfunc.C (dispatch): add debug for the disabled case
16037 * font.C (buttonText): make similar to rectText
16039 * buffer.C (readInset): comment out parsing of insetlist and
16042 * PainterBase.C (rectText): small correction
16044 * BufferView_pimpl.C: comment out insettheorem and insetlist
16045 * LyXAction.C: ditto
16046 * commandtags.h: ditto
16048 2001-07-24 Juergen Vigna <jug@sad.it>
16050 * text.C (draw): honor the ignore_language.
16052 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16054 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16056 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16059 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16061 * lyxtext.h: remove unused (and unimplemented) methods
16063 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16065 * text.C (getVisibleRow): honor background color
16068 * Painter.h: remove default color argument for fillRectangle
16070 * text.C (backgroundColor): new method
16072 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16074 * text.C (getVisibleRow): adjust
16076 * font.[Ch] (rectText): new method, metrics
16077 (buttonText): new method, metrics
16079 * PainterBase.[hC]: make rectText and buttonText always draw and take
16082 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16084 * ToolbarDefaults.C (read):
16085 * MenuBackend.C (read): allow escaping in all strings
16087 * BufferView_pimpl.C (insertAndEditInset): new method.
16088 (Dispatch): use insertAndEditInset whenever appropriate.
16090 * BufferView_pimpl.C (insertNote): removed
16092 * BufferView_pimpl.C (smartQuote): new method, moved from
16093 BufferView; if an insetquote cannot be inserted, insert a '"'
16096 * BufferView2.C: remove insertCorrectQuote();
16098 * lyxfunc.C (getStatus): Add support for all remaingin
16099 inset-insert lfuns.
16101 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16103 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16104 command (necessary to pass " as parameter of self-insert.
16106 * text.C (selectWordWhenUnderCursor):
16107 (selectWord): add word_location parameter
16108 (selectWordWhenUnderCursor): same + remove special code for word
16110 (selectNextWord): use kind() to guess type of insetspecialchar,
16113 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16114 (insertErtContents): create ert insets as collapsed.
16115 (readInset): better compatibility code for Info inset.
16117 2001-07-20 Juergen Vigna <jug@sad.it>
16119 * lyxfunc.C (dispatch): use always LyXFind now!
16121 * text2.C (init): add a reinit flag so that the LyXText can be
16122 reinited instead of deleted and reallocated (used in InsetText).
16124 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16130 2001-07-18 Juergen Vigna <jug@sad.it>
16132 * text.C (selectNextWord): handle insets inside inset by calling
16133 always the bv->text functions so that we can go up the_locking_inset!
16135 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16136 in strange locations when inside an inset!
16138 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16139 handling to include insets.
16141 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16143 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16145 * LyXAction.C (init):
16147 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16148 LIGATURE_BREAK, since the name is so stupid.
16150 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16152 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16155 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16157 * sp_form.[Ch]: remove.
16159 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16161 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16164 * src/buffer.C (readInset): ditto.
16166 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16168 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16169 menuSeparator(), endOfSentenceDot(), ldots() and
16170 hyphenationPoint(), which are therefore removed.
16171 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16173 * LyXAction.C (init):
16174 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16176 * paragraph.C (getWord): removed.
16178 * BufferView_pimpl.C (Dispatch): use last word or selection for
16179 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16181 * lyx_main.C (queryUserLyXDir): do not ask before creating
16182 user_dir, except if it has been named explicitely.
16184 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16186 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16187 a document of zero size.
16189 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16191 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16192 approriately in the c-tor and in require().
16193 (getPackages): output the appropriate LaTeX for natbib support.
16195 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16196 variables "use_natbib" and "use_numerical_citations" when reading the
16198 (readInset): read the various natbib cite commands.
16199 (validate): white-space change.
16201 * bufferparams.[Ch]: new variables "bool use_natbib" and
16202 "bool use_numerical_citations".
16203 (writeFile): output them in the LyX file.
16205 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16207 * lyxfunc.C (getStatus): add support for all the inset insertion
16210 * text2.C (insertInset):
16211 * paragraph.C (insetAllowed):
16212 * BufferView_pimpl.C (insertInset): update to take in account the
16213 renaming of insertInsetAllowed
16215 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16217 * text2.C (getInset): new method. returns inset at cursor position.
16219 * BufferView_pimpl.C (Dispatch): changes because of this.
16221 * LyXAction.C (init): rename open-stuff to inset-toggle.
16223 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16225 * text2.C (toggleInset): renamed from openStuff; use
16228 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16230 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16232 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16234 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16236 * buffer.C (readLyXformat2): Add filename to the error dialog
16238 2001-07-18 Juergen Vigna <jug@sad.it>
16240 * tabular.C (GetCellNumber): put an assert here instead of the check!
16242 2001-07-17 Juergen Vigna <jug@sad.it>
16244 * BufferView_pimpl.C (toggleSelection): adapted too.
16246 * text.C (selectNextWord): adapted for use with insets.
16247 (selectSelectedWord): ditto
16249 2001-07-17 Juergen Vigna <jug@sad.it>
16251 * sp_spell.C (PSpell): fix initialitation order.
16253 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16255 * paragraph.C: spacing
16257 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16259 * sp_spell.C: repair language selection for pspell
16261 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16263 * lyxfunc.h: change more methods to begin with lower char.
16265 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16267 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16268 for unknown layouts.
16270 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16272 * buffer.C (readLyXformat2): Generate an error dialog if there are
16275 2001-07-16 Juergen Vigna <jug@sad.it>
16277 * sp_spell.C: always compile ISpell part.
16279 * lyxrc.C: added use_pspell entry and it's handling.
16281 2001-07-13 Juergen Vigna <jug@sad.it>
16283 * sp_spell.C: removed double includes.
16285 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16287 Consistent use of Lsstream.h:
16288 * Lsstream.h: added using std::stringstream for consistencies sake.
16290 * buffer.C: removed using std::stringstream
16292 * lyxfont.C (stateText):
16293 * paragraph.C (asString):
16294 * text.C (selectNextWord, selectSelectedWord):
16295 * text2.C (setCounter):
16296 * vspace.C (asString, asLatexString):
16297 std::ostringstream -> ostringstream.
16299 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16301 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16302 * commandtags.h: add LFUN_HELP_ABOUTLYX
16303 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16305 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16307 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16309 * lyx_gui_misc.C: remove spellchecker
16310 * lyxfunc.C: showSpellchecker
16312 * sp_ispell.h: added
16313 * sp_pspell.h: added
16314 * sp_spell.C: added
16315 * sp_form.[Ch]: removed
16316 * spellchecker.[Ch]: removed
16318 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16320 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16322 (simpleTeXSpecialChars): Simply print the input character without
16323 any special translation if pass_thru is set.
16325 * layout.h: Added bool pass_thru to layout class for being able to
16326 implement pass through of a paragraph for Literate Programming.
16328 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16329 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16330 * layout.C (Read): add "passthru" to list of layout tags and add
16331 code to set the pass_thru boolean when it is read.
16333 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16335 * trans_decl.h: remove allowed from KmodInfo
16337 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16338 remove allowed code
16341 * paragraph_pimpl.C (erase): use boost::prior
16343 * Painter.C (text): use data() instead of c_str() when length is
16345 * WorkArea.C (putClipboard): ditto
16346 * font.h (width): ditto
16348 * BufferView2.C: use it-> instead of (*it). for iterators
16350 * paragraph_pimpl.C: ditto
16351 * paragraph.C: ditto
16352 * minibuffer.C: ditto
16353 * language.C: ditto
16355 * encoding.C: ditto
16356 * counters.C: ditto
16357 * converter.C: ditto
16359 * Variables.C: ditto
16360 * TextCache.C: ditto
16361 * MenuBackend.C: ditto
16362 * LyXAction.C: ditto
16364 * FloatList.C: ditto
16365 * DepTable.C: ditto
16366 * ColorHandler.C (LyXColorHandler): ditto
16368 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16370 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16372 * text2.C (openStuff): reintroduce this method (which had been
16373 nuked in NEW_INSETS frenzy).
16375 * lyxfunc.C (Dispatch): when an action has not been handled, use
16376 its name in the error message, not its number.
16378 * paragraph.C (inInset): change method name to begin with lowercase.
16381 * text2.C: updates because of this.
16383 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16385 * ToolbarDefaults.C (add): add spaces in error message
16387 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16389 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16390 (readLyXformat2): rename return_par to first_par, use lyxlex's
16391 pushToken and remove the manual push handling.
16392 (parseSingleLyXformat2Token): add another ert comp. variable:
16393 in_tabular, rename return_par to first_par. handle newlines better
16395 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16397 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16399 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16401 * text2.C (getParFromID): removed
16403 * buffer.C (getParFromID): new method moved form lyxtext.
16404 * BufferView2.C (insertErrors): adjust
16405 (setCursorFromRow): adjust
16406 * BufferView_pimpl.C (restorePosition): adjust
16407 * lyxfunc.C (Dispatch): adjust
16408 * undo_funcs.C (textUndo): adjust
16410 (textHandleUndo): adjust
16411 (textHandleUndo): adjust
16413 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16415 * buffer.C: up' the LYX_FORMAT
16417 * lyxfont.h: turn NO_LATEX on as default
16419 * buffer.C (insertErtContents): new methods of tex style compability.
16420 (parseSingleLyXformat2Token): use it several places.
16421 * tabular.C (OldFormatRead): and here
16423 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16425 * text2.C: remove some commented code.
16428 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16429 * trans.C: changes because of the above.
16431 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16433 * text2.C (setCounter): Fix counters bug with bibliography layout.
16435 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16437 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16438 own member functions
16439 (simpleTeXSpecialChars): ditto
16441 2001-07-06 Juergen Vigna <jug@sad.it>
16443 * a lot of files: changed the access to LyXText::status and the
16444 call of undo-functions.
16446 * undo.[Ch]: added a inset_id to the undo informations.
16448 * undo_funcs.[Ch]: added and moved here all undo functions.
16450 * lyxtext.h: give the status enum a weight, made status_ a private
16451 variable and made accessor functions for it, removed the whole bunch
16452 of undo-functions as they are now in their own file, make some
16453 functions publically available. Added function ownerParagraph with
16456 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16457 made InInset() a const function, added getParFromID() function.
16459 * buffer.[Ch]: added const version for inset_iterator functions,
16460 added getInsetFromID() function.
16462 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16463 changed undo functions for new version.
16465 2001-07-05 Juergen Vigna <jug@sad.it>
16467 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16468 unknow mechanism does not call the proper constructor but only this
16469 one also if I request the other!?
16471 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16473 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16475 * text2.C (LyXText): use initialization lists.
16477 * lyxtext.h (Selection): initialize set_ and mark_
16478 (init): remove method
16480 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16482 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16484 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16486 * screen.[Ch]: change method names to begin with lowercase
16488 * BufferView_pimpl.C (updateScrollbar): simplify further and
16489 hopefully make it a bit faster.
16491 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16493 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16494 calling directly xforms functions.
16496 * Painter.C (Painter):
16497 * lyx_cb.C (MenuWrite):
16498 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16501 * lyx_gui.C: remove bogus guiruntime extern declaration.
16503 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16505 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16507 (redoDrawingOfParagraph): ditto
16508 (redoParagraphs): ditto
16509 (cutSelection): don't create a object for CutAndPaste use the
16510 static method directly
16511 (pasteSelection): ditto
16513 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16516 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16518 * modifications to some other files because of this.
16520 * Makefile.am (lyx_SOURCES): add XFormsView
16522 * XFormsView.[Ch]: new files
16524 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16525 the main window. Move the gui dependent stuff to XFormsView
16527 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16529 * tabular.C (GetCellInset): update cur_cell also in the row/col
16530 version of this function.
16532 * lyxfunc.C: no need to include figure_form.h here.
16538 * lyxvc.C: no need to include forms.h here.
16540 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16542 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16544 * lyxfunc.C (Dispatch):
16546 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16547 constructor argument.
16549 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16551 * paragraph.C (Paragraph): dont't clear, and just set layout.
16552 (makeSameLayout): use params's copy contructor.
16554 * ParagraphParameters.[Ch] (makeSame): delete method
16556 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16558 * Variables.[Ch]: fix indentation, rename set to isSet
16560 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16562 * lyxfunc.C (Dispatch): fix typo
16564 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16566 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16569 * bufferlist.C: include assert.h for emergencyWrite().
16571 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16573 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16574 give up at last (bug #425202) !
16576 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16582 * spellchecker.C: strip spellchecker options and bring up
16583 preferences tab instead
16585 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16587 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16588 the istringstream constructor
16590 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16592 * paragraph.C (getLayout): fix return value
16594 * paragraph.h: do not declare getLayout as inline.
16596 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16598 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16600 * lyxcursor.h (operator<): new func
16601 (operator>): new func
16602 (operator>=): new func
16603 (operator<=): new func
16605 * text.C (changeCase): use selection.start and selection.end
16606 (changeRegionCase): require from to be <= to. Require par to be a
16609 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16611 2001-06-27 Juergen Vigna <jug@sad.it>
16613 * text.C (cursorLeftOneWord): changed to return the cursor and added
16614 overlay with BufferView * parameter which calls this one.
16616 (selectWord): use new getWord function.
16617 (changeCase): renamed from changeWordCase as and extended to work
16618 also on selections.
16620 * lyxtext.h: added enum word_location
16622 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16623 changeCase as this operates now also on selections.
16625 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16627 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16629 * many files: send debug output to Debug::INFO instead of
16632 * converter.C (View):
16634 (Move): send debug output to Debug::FILES instead of console.
16636 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16638 * lyxfunc.C (getStatus): use func_status
16640 * func_status.h: new header, describing the results of
16641 LyXFunc::getStatus;
16643 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16646 2001-06-25 The LyX Project <jug@sad.it>
16648 * buffer.C (sgmlOpenTag):
16650 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16652 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16654 * text2.C: remove some dead code
16656 * tabular.C (GetCellInset): store the last cell checked (gotten)
16658 * tabular.h: add the helper for the speedup
16660 * lyxtext.h: remove some dead code
16662 2001-06-26 The LyX Project <Asger>
16664 * paragraph.C: Change export to LaTeX of alignment to
16665 \begin{center} and family for better roundtrip work with reLyX.
16667 * Tune the math drawing a bit.
16669 2001-06-25 The LyX Project <Asger>
16671 * LColor.C (LColor): New color for math background. New color
16674 2001-06-25 The LyX Project <jug@sad.it>
16676 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16678 * lyxfunc.C (Open):
16679 * bufferlist.C (newFile): do not restrict to files ending with
16682 * BufferView_pimpl.C (MenuInsertLyXFile):
16684 2001-06-24 The LyX Project <jug@sad.it>
16686 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16689 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16691 * lyxtext.h: rename most methods to begin with a small char.
16692 Lots of changes because of this.
16694 * paragraph.C (Paragraph): do not call fitToSize
16695 (erase): call Pimpl::erase
16696 (insertChar): call Pimpl::insertChar
16697 (insertInset): call Pipl::insertInset
16698 (breakParagraph): do not call fitToSize
16699 (breakParagraphConservative): do not call fitToSize
16700 (fitToSize): remove method
16702 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16704 2001-06-24 The LyX Project <Asger>
16706 * Fix Qt compilation^2
16708 2001-06-24 The LyX Project <jug@sad.it>
16710 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16711 depthHook(getDepth()-1).
16714 * ParagraphParameters.h:
16715 * ParameterStruct.h: change type of depth to unsigned int ==
16716 depth_type. Many adaptations to other files before of that.
16718 2001-06-24 The LyX Project <Asger>
16720 * Fix Qt compilation.
16722 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16724 * paragraph.h: renamed several methods to begin with small letter.
16725 several changes to many parts of the code because of this.
16727 2001-06-23 The LyX Project <jug@sad.it>
16729 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16730 rewritten to discard all double spaces when KeepEmpty is off
16731 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16732 to only handle newlines but not fiddle with spaces and friends.
16734 * lyxfunc.C (MenuNew): when doing 'new from template', use
16735 template_path as default directory
16737 2001-06-23 The LyX Project <Asger>
16739 * Clean-up of header file includes all over
16740 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16742 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16744 * paragraph.h: renamed from lyxparagraph.h
16746 2001-06-23 Asger <lyx@violet.home.sad.it>
16748 * Buffer.h: Removed Buffer::resize
16749 * BufferList.h: Removed BufferList::resize
16750 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16751 the document lazily when we change the width, or the font settings.
16753 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16755 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16757 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16759 * buffer.h: remove out of date comment
16761 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16764 * screen.C: fix "theoretical" GC leak
16766 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16768 * LaTeX.C (scanAuxFile):
16769 (deplog): remove trailing \r when reading stream (useful under
16772 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16774 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16775 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16776 and BufferView::theLockingInset(Inset*), so should use them and not
16777 access bv_->text->the_locking_inset directly.
16779 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16781 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16784 * tex-defs.h: remove old unused file
16786 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16788 * BufferView_pimpl.C: fix typo, remove minibuffer message
16789 when buffer has loaded
16791 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16793 * lyxfunc.C (Dispatch): use stringstream
16794 (MenuNew): use stringstream
16795 (Open): use stringstream
16797 * importer.C (Import): use stringstream
16799 * bufferview_funcs.C (CurrentState): use stringstream
16801 * LaTeX.C (run): use stringstream
16803 * BufferView_pimpl.C (savePosition): use stringstream
16804 (restorePosition): use stringstream
16805 (MenuInsertLyXFile): use stringstream
16807 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16820 * vspace.C: removed // -*- C++ -*- as first line.
16823 * version.h: added // -*- C++ -*- as first line.
16825 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16827 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16829 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16832 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16834 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16837 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16839 * gettext.C: include LString.h even when --disable-nls is on.
16841 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16843 * converter.h (Get): changed argument type from int to
16844 FormatList::size_type to avoid unnecessary conversion.
16846 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16849 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16851 * gettext.h: include LString.h even when --disable-nls is on.
16853 2001-06-07 Juergen Vigna <jug@sad.it>
16855 * text.C (BreakAgain): subst spaces with tabs.
16857 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16858 (resizeInsetsLyXText): set force on resizeLyXText.
16860 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16862 * gettext.h (gettext_init):
16863 (locale_init): use a real definition instead of a macro
16865 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16867 * Bufferview_pimpl.C:
16869 * LColor.C: further lcolor tidies
16871 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16873 * BufferView_pimpl.C (updateScrollbar): simplify.
16875 * BufferView2.C: don't include insets/insetinfo.h, change
16876 prototype for insertInset and call the Pimpl version. let
16877 updateInset call Pimpl version.
16879 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16880 gotoInset to BufferView::Pimpl
16882 2001-06-01 Juergen Vigna <jug@sad.it>
16884 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16885 inside a LockingInset (is the update needed at all?).
16887 2001-05-31 Juergen Vigna <jug@sad.it>
16889 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16890 here not the old one otherwise how should we compare it afterwards
16893 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16898 * FontInfo.C: bring C functions into global namespace when
16901 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16903 * LString.h: make sure config.h has been loaded before LString.h.
16905 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16906 (one for each char read by EatLine!).
16908 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16911 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16913 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16914 to the same as the par we break from
16916 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16918 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16920 * MenuBackend.C (expand): also create menu entries for wide
16921 versions of the floats.
16923 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16925 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16927 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16928 frontends/Makefile.am
16934 * tabular.C (getTokenValue): add std::
16936 * tabular-old.C (getTokenValue): add std::
16937 (getTokenValue): ditto
16938 (getTokenValue): ditto
16940 * screen.C (ToggleSelection): adjust
16942 * lyxtext.h: put selection cursors inside a Selection struct.
16944 * lyxfunc.C (moveCursorUpdate): adjust
16946 * lyxfont.C (latexWriteStartChanges): add std::
16948 * lyxfind.C: adjust
16950 * font.h: delete with(char const *, LyXFont const &)
16952 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16954 * FontInfo.C (getFontname): add std::
16956 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16957 (workAreaButtonPress): adjust
16958 (tripleClick): adjust
16960 (moveCursorUpdate): adjust
16963 * BufferView2.C (gotoInset): adjust
16965 2001-05-30 Juergen Vigna <jug@sad.it>
16967 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16968 to check pspell I add this as default as I now have new pspell
16969 libraries and they seem to use this.
16971 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16973 * text2.C (CutSelection): make the cursor valid before the call to
16976 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16978 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16979 relied on 0 terminated strings and other horrors. Bug found due to
16980 the new assert in lyxstring!
16982 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16985 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16987 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16990 * lyxfunc.C (processKeySym): change method of getting to the
16993 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16994 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16995 * BufferView_pimpl.[Ch]: here as private methods.
16997 2001-05-28 Juergen Vigna <jug@sad.it>
16999 * text.C (SetHeightOfRow): added the update() call again as it is
17000 needed to initialize inset dimensions!
17002 2001-05-16 Juergen Vigna <jug@sad.it>
17004 * text2.C (SetCharFont): Add new function with BufferView * and
17005 bool toggleall parameters for setting insets internal fonts.
17006 (SetFont): Freeze the undo as we may change fonts in Insets and
17007 all this change should be inside only one Undo!
17009 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17010 setting font's in insets as for them we have the SetFont function!
17012 2001-05-15 Juergen Vigna <jug@sad.it>
17014 * text2.C (ClearSelection): to be sure we REALLY don't have any
17017 * tabular.C (TeXCellPreamble): fixed the left border problem for
17020 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17022 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17025 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17027 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17028 LFUN_BREAKPARAGRAPH.
17030 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17031 help test to "internal only", similar for LFUN_INSERT_URL
17033 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17034 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17035 auto_region_delete and deadkeys.
17037 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17040 * LColor.C: remove some dead entries, tidy a little
17042 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17044 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17046 (Dispatch): implement LFUN_ESCAPE
17048 * commandtags.h: add LFUN_ESCAPE
17050 * LyXAction.C (init): add entry for LFUN_ESCAPE
17052 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17053 Remove commented code.
17054 (insertNote): moved here
17055 (open_new_inset): moved here
17057 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17060 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17062 * kbmap.C (findbinding): clean it up and make it work correctly.
17064 * lyx_main.C (init): do not pass argc and argv as parameters
17066 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17068 * buffer.C: fix path for OS/2 & Win32
17072 * lyx_main.C: Added os:: class.
17074 * os2_defines.h: update
17076 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17078 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17079 better by trying again with reduced state.
17081 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17083 * lyxrc.C (read): print error about invalid key sequence only when
17084 debugging (because not all latinX keysyms are known to some X
17087 * kbsequence.C (getiso): add a few std:: qualifiers
17088 (getiso): comment out extra return statement.
17090 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17092 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17094 (Dispatch): enhance the accent inset a bit. (not perfect)
17096 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17098 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17100 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17102 * bufferlist.C (emergencyWrite): fix assert() call
17104 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17106 * text.C (InsertChar): Added trivial patch to only send the "you
17107 can not do multiple spaces this way" message once during a
17110 2001-05-08 Baruch Even <baruch@lyx.org>
17112 * Makefile.am: Changed order of libraries to get LyX to link properly
17113 with the gnome frontend.
17115 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17117 * LaTeXFeatures.h: add a std:: qualifier
17119 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17121 * paragraph.C (String): use stringstream
17123 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17125 * paragraph.C (writeFile): remove footflag arg
17127 * buffer.C (makeLaTeXFile): use stringstream
17128 (latexParagraphs): remove footnot gurba
17130 * LaTeXFeatures.C (getPackages): use stringstream
17131 (getMacros): likewise
17132 (getTClassPreamble): likewise
17133 (getFloatDefinitions): new method
17135 * paragraph.C (writeFile): reindent
17138 * WorkArea.h: revert the xpos + etc changes.
17140 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17142 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17144 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17145 (pasteSelection): likewise
17146 * text2.C (CreateUndo): likewise
17148 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17150 * minibuffer.C (peek_event): temporarily reduce the functionality
17151 of the minibuffer (to allow args on lfuns)
17153 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17154 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17156 * buffer.C (readInset): add compability reading of old float
17157 lists, add reading of new style float list.
17158 (readInset): avoid reevaluation of inscmd.getCmdName()
17159 (getLists): reindent
17161 * MenuBackend.C (MenuItem): implement parsing of
17162 md_floatlistinsert and md_floatinsert.
17163 (expand::LastFiles): move initalizaton of iterators out of loop,
17164 avoid reevaluation.
17165 (expand::Documents): introduce typdedef vector<string> Strings,
17167 (expand::ExportFormats): introduce typedef vector<Format const *>
17168 Formats, and use it.
17169 (expand): implement FloatListInsert and FloatInsert.
17171 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17172 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17173 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17175 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17177 (Dispatch::LFUN_FLOAT_LIST): implement
17179 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17181 * LaTeX.C (run): Fix problem with --export code.
17183 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17185 * BufferView.[Ch] (workarea): removed.
17186 (getClipboard) new method; wrapper for workarea()->getClipboard()
17188 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17191 * WorkArea.h (width, height, xpos, ypos): These methods all
17192 returned the dimensions of the work_area sub-area of WorkArea,
17193 resulting in a position error if the WorkArea were resized. Now
17194 return the dimensions of the entire WorkArea.
17196 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17198 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17200 * LaTeX.C (deplog): correct the syntax of regex reg1
17202 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17204 * undo.C: remove !NEW_INSETS cruft
17206 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17208 * text2.C: remove !NEW_INSETS cruft
17210 * text.C: remove !NEW_INSETS cruft
17212 * tabular.C: remove !NEW_INSETS cruft
17214 * spellchecker.C: remove !NEW_INSETS cruft
17216 * lyxtext.h: remove !NEW_INSETS cruft
17218 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17220 * lyxfunc.C: remove !NEW_INSETS cruft
17222 * lyxfind.C: remove !NEW_INSETS cruft
17224 * lyx_cb.C: remove !NEW_INSETS cruft
17226 * figureForm.C: remove !NEW_INSETS cruft
17228 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17230 * buffer.[Ch]: remove !NEW_INSETS cruft
17232 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17234 * CutAndPaste.C: remove !NEW_INSETS cruft
17236 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17238 * BufferView2.C: remove !NEW_INSETS cruft
17240 * BufferView.h: remove !NEW_INSETS cruft
17242 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17244 * Lsstream.h: include LString.h before the sstream headers to
17245 fix problem with gcc 2.95.3 and lyxstring
17247 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17249 * lyx_main.C: add using directives when needed for C functions
17250 declared in std:: namespace.
17252 2001-04-27 Juergen Vigna <jug@sad.it>
17254 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17255 (SetHeightOfRow): comment out the update call should not be needed!
17257 2001-04-13 Juergen Vigna <jug@sad.it>
17259 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17260 (LyXTabular): tried to minimize operator= operations (and realized
17261 hopfully Lars wish).
17263 2001-04-27 Juergen Vigna <jug@sad.it>
17265 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17267 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17269 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17271 * buffer.C (readInset): hack to make listof algorithm work
17273 * BufferView_pimpl.C: hack to make listof algorithm work
17275 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17277 * LyXAction.C: removed all !NEW_INSETS cruft
17278 (init): moved lfun_item in method
17280 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17282 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17284 * BufferView2.C (theLockingInset): white space.
17286 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17288 * minibuffer.C: include <iostream>
17290 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17292 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17294 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17296 * text.[Ch] (TransposeChars): new method
17298 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17300 * call message directly through LyXView instead of through LyXFunc
17301 * BufferView2.C: adjust
17302 * BufferView_pimpl.C: adjust
17303 * FontLoader.C: adjust
17305 * bufferview_funcs.C: adjust
17306 * converter.C: adjust
17307 * figureForm.C: adjust
17308 * importer.C: adjust
17310 * lyx_gui_misc.C: adjust
17311 * lyxfunc.C: adjust
17314 + more files in subdirs
17316 * lyxparagraph.h (size): move up int file
17319 * adjust all uses of Assert to lyx::Assert.
17321 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17322 lyxfunctional in namespace lyx
17323 * layout.C (hasLayout): ditto
17326 (delete_layout): ditto
17327 (NumberOfClass): ditto
17328 * converter.C (GetFormat): ditto
17333 * bufferlist.C (getFileNames): ditto
17334 (emergencyWriteAll): ditto
17337 * MenuBackend.C (hasSubmenu): ditto
17340 * BufferView_pimpl.C (getInsetByCode): ditto
17342 2001-04-18 Juergen Vigna <jug@sad.it>
17344 * vspace.C (asLatexString): fixed the 100% problem.
17346 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17348 * lyxfunc.C (Dispatch):
17350 * minibuffer.h: add a few std:: qualifiers
17352 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17354 * minibuffer.[Ch]: reimplement so that commands is initiated and
17355 run from lyxfunc, simplified som handling, and made the completion
17356 and history code for complete. wip.
17358 * lyxfunc.C (processKeySym): call message
17359 (miniDispatch): new temporary method
17360 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17361 (LFUN_MESSAGE): implement
17362 (LFUN_MESSAGE_PUSH): implement
17363 (LFUN_MESSAGE_POP): implement
17364 (initMiniBuffer): the initial/defualt minibuffer message.
17366 * lyxfont.[Ch]: inline some more getters
17368 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17370 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17372 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17373 (AutoSave): use LFUN_MESSAGE
17374 (Reconfigure): ditto
17376 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17378 * figureForm.C: use LFUN_MESSAGE
17380 * converter.C (runLaTeX): use LFUN_MESSAGE
17382 * bufferview_funcs.C: use LFUN_MESSAGE
17384 (changeDepth): ditto
17386 * bufferparams.h: use boost::
17388 * bufferlist.h: inherit privately from noncopyable
17390 * bufferlist.C (loadLyXFile): remove some commented code.
17392 * buffer.C (runChktex): use LFUN_MESSAGE
17394 * ShareContainer.h: inherit privately from noncopyable
17396 * ParagraphParameters.[hC] (depth): inline it.
17398 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17400 (message): new method
17401 (messagePush): ditto
17402 (messagePop): ditto
17403 (show): init minibuffer
17404 (showState): direct call
17406 * LaTeX.[Ch]: inherit privately from noncopyable
17407 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17408 instead of WriteStatus.
17410 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17412 * BufferView_pimpl.C (buffer): don't init minibuffer
17413 (workAreaButtonPress): use LFUN_MESSAGE
17414 (workAreaButtonRelease): ditto
17415 (savePosition): ditto
17416 (restorePosition): ditto
17417 (MenuInsertLyXFile): ditto
17418 (workAreaExpose): don't init minibuffer
17419 (update): remove commented code, simplify
17421 * BufferView2.C (openStuff): use LFUN_MESSAGE
17422 (toggleFloat): ditto
17425 (copyEnvironment): ditto
17426 (pasteEnvironment): ditto
17431 (updateInset): remove some commented code
17433 * lastfiles.h: inherit privately from noncopyable
17436 * lyx_main.h: ditto
17438 * lyxlex_pimpl.h: ditto
17440 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17441 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17442 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17444 * LyXAction.h: inherit privately from noncopyable, add methods
17445 func_begin, func_end, returning iterators to the func map.
17447 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17448 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17449 (func_begin): new method
17450 (func_end): new method
17452 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17454 (copySelection): ditto
17455 (pasteSelection): ditto
17457 * BufferView.C: whitespace change
17458 * BufferView.h: inherit privately from noncopyable
17460 2001-04-16 Allan Rae <rae@lyx.org>
17462 * tabular-old.C (l_getline):
17463 * spellchecker.C (sc_check_word):
17464 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17465 an unrecognised preprocessor directive. So ensure they're wrapped.
17467 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17469 * src/exporter.C (Export): Give an error message when path to file
17472 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17474 * LaTeX.C (deplog): Always check that foundfile exists.
17476 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17479 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17481 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17483 * tabular.[Ch] (getLabelList): implement new method
17485 * minibuffer.h: comment ouf setTiimer
17487 * minibuffer.C (ExecutingCB): constify res
17488 (peek_event): constify s
17489 (Set): constify ntext
17490 (Init): constify nicename
17492 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17494 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17495 (savePosition): use two params to Minibuffer::Set
17496 (restorePosition): ditto
17498 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17500 * lyx_main.C: include language.h
17502 * Makefile.am (lyx_main.o): add language.h
17504 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17510 * CutAndPaste.C: include gettext.h
17512 * lyxfont.h: remove old hack with ON and OFF.
17515 * lyxfont.h: do not include language.h...
17520 * bufferview_funcs.C:
17526 * paragraph.C: ... but do it here instead
17528 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17530 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17532 * tabular.C: small reformat
17534 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17537 (BreakParagraph): ditto
17538 (SetOnlyLayout): ditto
17541 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17544 * lastfiles.C: removed most using decl, add std:: where needed
17546 * buffer.C: ws changes
17548 * MenuBackend.C (class compare_format): put into anon namespace
17549 (expand): constify label, names, action, action2
17552 * text.C (SingleWidth): constify font
17553 (IsBoundary): constify rtl2
17554 (GetVisibleRow): constify ww
17556 * LaTeX.C (deplog): constify logfile
17558 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17560 (workAreaExpose): constify widthChange, heightChange
17562 * lyxrow.C (par): moved
17565 * lyxrow.h: as inlines here
17567 * lyxfont.h (shape): moved from lyxfont.C
17568 (emph): moved from lyxfont.C
17570 * lyxfont.C (LyXFont): use initialization list for all
17572 (shape): move to lyxfont.h as inline
17573 (emph): move to lyxfont.h as inline
17576 2001-04-04 Juergen Vigna <jug@sad.it>
17578 * vspace.C: had to include stdio.h for use of sscanf
17580 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17583 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17584 independent of xforms.
17586 2001-04-02 Juergen Vigna <jug@sad.it>
17588 * spellchecker.C: fixed namespace placing!
17590 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17592 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17593 the LyXParagraph * is 0.
17595 2001-03-29 Juergen Vigna <jug@sad.it>
17597 * vspace.C: added support for %, c%, p%, l%.
17598 (stringFromUnit): added helper function.
17599 (asLatexString): changed to give right results for the %-values.
17601 * buffer.C: convert the widthp in a width%.
17603 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17605 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17608 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17609 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17611 * lyx_cb.[Ch]: see above.
17613 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17617 * lyx.[Ch]: replaced by figure_form.[Ch].
17621 * lyxfunc.C: changed headers associated with above changes.
17623 2001-03-27 Juergen Vigna <jug@sad.it>
17625 * BufferView_pimpl.C: set the temporary cursor right!
17627 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17629 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17631 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17633 * LString.h: removed "using std::getline"!
17635 * BufferView_pimpl.C (Dispatch): changes due to changes in
17636 InsetInclude::Params.
17638 * buffer.C (tag_name): removed redundant break statements as they were
17639 producing lots of warnings with my compiler.
17641 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17643 * LString.h: add "using std::getline" when using the real <string>.
17645 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17647 * buffer.C: removed bitset usage.
17648 PAR_TAG moved to an anonymous name space.
17649 (tag_name): new funtion, also in the anonymous namespace.
17650 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17651 (makeDocBookFile): clean code. Completed transition from string arrays
17653 (SimpleDocBookOnePar): code clean.
17655 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17657 * tabular.C: add some comments.
17659 2001-03-22 Juergen Vigna <jug@sad.it>
17661 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17662 compatibility read a bit and fixed bug with minipage in different
17665 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17667 * buffer.C (pop_tag): removed.
17668 (push_tag): removed.
17669 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17670 array replaced with vector. Added support for CDATA sections.
17671 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17673 (makeDocBookFile): XML conformant declaration of CDATA section,
17674 fixed bug related to <emphasis> in the first paragraph char.
17675 (sgmlOpenTag): exclude empty tags.
17676 (sgmlCloseTag): ditto.
17678 * buffer.h (pop_tag): removed.
17679 (push_tag): removed.
17681 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17683 * language.h (Languages): added size_type and size().
17685 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17687 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17688 response on compability reading of minipages. One probliem is that
17689 the old usage of minipages was flertydig
17691 * several files here and in subdirs: don't use static at file
17692 scope use anon namespaces instead.
17694 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17696 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17697 LaTeX output. This is necessary for Literate document
17700 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17702 * buffer.C: insert hfill when needed.
17704 * tabular.C (l_getline): use string::erase, small whitespace change.
17706 * BufferView_pimpl.C: try the anon namespace.
17707 * WorkArea.C: ditto
17709 2001-03-16 Juergen Vigna <jug@sad.it>
17711 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17712 otherwise it won't open options-dialogs.
17714 * buffer.C: honor pextraWidth(p) on converting minipages.
17716 * tabular.C (l_getline): changed the functions to strip trailing \r.
17718 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17720 * BufferView_pimpl.C:
17721 * minibuffer..C: added "using SigC::slot" declaration.
17723 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17725 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17731 * paragraph.C: ditto
17733 * lyxtext.h: NO_PEXTRA
17735 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17737 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17738 * ParameterStruct.h: ditto
17739 * ParagraphParameters.h: ditto
17740 * lyxparagraph.h: ditto
17742 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17744 * buffer.C: add compability for minipage alignment.
17745 (latexParagraphs): remove unwanted pextra check.
17747 * several files: remove CXX_WORKING_NAMESPACES
17749 * buffer.C (pop_tag): tie is in namespace boost
17751 * BufferView.h: noncopyable is in namespace boost
17753 * lyx_main.h: ditto
17756 * lastfiles.h: ditto
17757 * bufferlist.h: ditto
17758 * ShareContainer.h: ditto
17760 * LyXAction.h: ditto
17763 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17765 * Merging changes from BRANCH_MVC back into HEAD.
17767 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17769 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17771 * BufferView_pimpl.C: change from intl.C
17775 * Makefile.am: move combox.*
17781 * intl.C: remove dialog (covered by prefs)
17783 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17785 * lyxfunc.C (Dispatch): removed redundant break statement.
17787 2001-03-14 Juergen Vigna <jug@sad.it>
17789 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17791 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17793 * buffer.C: add hack to fix compability reading of minipages.
17795 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17797 * buffer.C (getLists): Cleanup.
17799 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17801 * lyxfont.C (update): don't honor toggleall on font size.
17803 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17807 * Makefile.am: moved to frontends/xforms/
17811 * BufferView_pimpl.C: changes for moved mathpanel
17813 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17815 * gettext.h: fix gettext_init() in --disable-nls
17817 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17819 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17821 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17824 * lyx.h: strip external form
17826 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17828 * BufferView_pimpl.C: add comment, destroySplash()
17830 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17832 * BufferView_pimpl.C:
17836 * lyxfunc.C: use re-worked insetinclude
17838 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17840 * buffer.C: add using std::stringstream.
17842 * lyx_cb.C: readd using std::ios.
17844 * buffer.C: add using std::map.
17846 * BufferView_pimpl.C: add using std::vector.
17848 * ShareContainer.h: add std:: to swap.
17850 * buffer.h: add some typedefs
17851 * buffer.C (getLists): use them
17852 (getLists): renamed from getTocList.
17853 add a counter for the different float types and use it in the
17855 (getLists): use the same counter for the NEW_INSETS and the "non"
17858 * lyx_cb.h: remove unused items, includes, using etc.
17860 * ShareContainer.h: remove some commented code, add more comments
17861 and "documentation".
17863 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17865 * buffer.C (getTocList): make the list also when NEW_INSETS is
17868 * buffer.h: remove TocType
17870 * buffer.C (getTocList): change to return a map<string,
17871 vector<TocItem> >, implement for dynamic number of list.
17873 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17874 * text2.C (PasteSelection): adjust
17875 * CutAndPaste.C (pasteSelection): adjust
17877 * FloatList.C (FloatList): update from the new_insets branch.
17878 * Floating.[Ch]: ditto
17879 * LaTeXFeatures.C: ditto
17881 * lyxlex_pimpl.C: ditto
17883 * paragraph.C (Last): remove when NEW_INSETS is defined.
17885 * other file: changes because of the above.
17887 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17889 * lyxparagraph.h: rename next to next_, previous to previous_,
17890 make them private for NEW_INSETS. Rename Next() to next(),
17891 Previous() to previous().
17893 * other files: changes because of the above.
17895 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17898 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17901 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17903 * main.C (main): pass lyx_localedir to gettext_init().
17905 * gettext.h: remove locale_init and gettext_init macros
17907 * gettext.C (locale_init): new function
17908 (gettext_init): new function
17910 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17913 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17915 * Moved credits to frontends:
17916 * credits.[Ch]: removed
17917 * credits_form.[Ch]: removed
17918 * lyx_gui_misc.C: remove credits stuff
17921 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17923 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17925 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17926 unneeded destructor.
17928 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17929 a standalone pointer again.
17931 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17933 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17939 * ToolbarDefaults.C:
17948 * BufferView_pimpl.C: use new file dialog in GUII
17951 * lyx_cb.C: remove LayoutsCB to Toolbar
17953 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17955 * ShareContainer.h (get): add std:: qualifier
17957 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17959 * ShareContainer.h: define a proper ShareContainer::value_type
17960 type (and use typename to please compaq cxx)
17962 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17964 * lyxparagraph.h: move serveral local vars to
17965 ParameterStruct/ParagraphParameters., use ShareContainer in
17966 FontTable., make vars in FontTable private and add getter and
17969 * paragraph.C: changes because of the above.
17971 * lyxfont.h: remove copy constructor and copy assignment. (the
17972 default ones is ok), move number inside FontBits. move inlines to
17975 * lyxfont.C: add number to initializaton of statics, move several
17976 inlines here. constify several local vars. some whitespace
17977 cleanup. Dont hide outerscope variables.
17979 * Spacing.h: add two new constructors to match the set methods.
17981 * ShareContainer.h: new file, will perhaps be moved to support
17983 * ParameterStruct.h: new file
17985 * ParagraphParameters.h: new file
17987 * ParagraphParameters.C: new file
17989 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17990 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17992 * BufferView_pimpl.C: ParagraphParameter changes.
17993 * buffer.C: Likewise.
17994 * bufferview_funcs.C: Likewise.
17995 * text.C: Likewise.
17996 * text2.C: Likewise.
17998 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18000 * lyxfind.C (LyXReplace): do not redefine default argument in
18002 (IsStringInText): ditto
18003 (SearchForward): ditto
18004 (SearchBackward): ditto
18006 2001-03-06 Juergen Vigna <jug@sad.it>
18008 * lyxfind.C (IsStringInText): put parentes around expressions.
18010 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18012 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18014 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18016 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18018 * stl_string_fwd.h: add comment
18020 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18023 * tabular.C: remove unused DocBook methods
18029 killed DO_USE_DEFAULT_LANGUAGE
18031 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18033 * lyx_gui.C: do not include language.h.
18035 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18036 arguments in function implementation.
18038 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18040 * BufferView_pimpl.C: add <ctime>
18042 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18044 * BufferView_pimpl.C: add using std::find_if
18046 2001-02-27 José Matos <jamatos@fep.up.pt>
18048 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18051 2001-02-11 José Matos <jamatos@fep.up.pt>
18053 * buffer.C (makeDocBookFile): command styles now have a parameter as
18054 "title" by default.
18056 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18058 * layout_forms.[Ch]: removed
18059 * lyx_cb.[Ch]: out character
18060 * lyx_gui.C: out character
18061 * lyx_gui_misc.C: out character
18062 * bufferview_funcs.C: : out character,
18063 added toggleall as parameter in ToggleAndShow
18065 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18067 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18069 * text2.C (SetCurrentFont): Disable number property at boundary.
18071 2001-02-26 Juergen Vigna <jug@sad.it>
18073 * lyxfunc.C (getStatus): added a string argument override function so
18074 that this is correctly called from LyXFunc::Dispatch if it contains a
18075 do_not_use_argument which is used!
18076 (Dispatch): added check for "custom" export and call appropriate func.
18078 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18080 * lyxrc.C: Add language_command_local, language_use_babel and
18081 language_global_options.
18083 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18085 * buffer.C (makeLaTeXFile): Use language_use_babel and
18086 language_global_options.
18088 2001-02-23 Juergen Vigna <jug@sad.it>
18090 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18091 which works with LyXText and putted it inside BufferView. Here now we
18092 only call for that part the BufferView::Dispatch() function.
18094 * BufferView.C (Dispatch): added.
18096 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18097 functions which needs to use a LyXText over from LyXFunc.
18098 (MenuInsertLyXFile): added
18099 (getInsetByCode): added
18100 (moveCursorUpdate): added
18101 (static TEXT): added
18103 2001-02-22 Juergen Vigna <jug@sad.it>
18105 * BufferView_pimpl.C (update): call a status update to see if LyXText
18108 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18110 * vc-backend.C (revert): implement for CVS
18111 (getLog): implement for CVS
18113 2001-02-20 Juergen Vigna <jug@sad.it>
18115 * text2.C (ClearSelection): added BufferView param for inset_owner call
18117 * lyxfunc.C (TEXT): added this function and use it instead of
18118 directly owner->view()-text of getLyXText().
18120 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18122 * src/layout_forms.C: out preamble
18123 * src/layout_forms.h: out preamble
18124 * src/lyx_cb.C: out preamble
18125 * src/lyx_cb.h: out preamble
18126 * src/lyx_gui.C: out preamble
18127 * src/lyx_gui_misc.C: out preamble
18128 * src/lyxfunc.C: connect with guii preamble
18130 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18132 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18134 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18136 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18137 whether to run bibtex.
18139 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18141 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18143 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18145 * Makefile.am (lyx_SOURCES): removed bibforms.h
18147 * vspace.h: doxygen
18149 * text.C (GetVisibleRow): make several local vars const
18151 * tabular.C: small cleanup.
18153 * lyxserver.C (callback): use compare instead of strncmp
18155 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18156 inlines to after class or to paragraph.C
18158 * lyxfont.h: remove friend operator!=
18160 * converter.h: move friend bool operator< to non friend and after
18163 * combox.h: small cleanup
18165 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18166 to inlines after class def.
18168 * buffer.C (pop_tag): use string operations instead of strcmp
18170 * bmtable.c: doxygen, small cleanup
18172 * LaTeX.h: remove friend operator==
18174 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18186 * BufferView_pimpl.C:
18187 * BufferView.[Ch]: remove cruft
18189 2001-02-14 Juergen Vigna <jug@sad.it>
18191 * lyxfunc.C: removed #if 0 unused code
18193 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18195 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18197 * text2.C (SetSelection): added a BufferView * parameter
18199 2001-02-13 Juergen Vigna <jug@sad.it>
18201 * lyxfunc.C (Dispatch): fixed protected blank problem.
18202 * BufferView2.C (protectedBlank): added LyxText * parameter.
18204 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18205 (AppendColumn): same as above for column_info.
18207 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18208 (moveCursorUpdate): use a LyXText param for support of InsetText.
18210 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18211 (tripleClick): ditto
18213 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18215 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18217 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18219 * text2.C (SetSelection): set correct update status if inset_owner
18220 (ToggleFree): ditto
18222 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18224 * tabular.C: remove some commented code.
18226 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18228 * BufferView_pimpl.C: call hideSplash()
18230 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18233 * bibforms.h: remove
18236 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18237 add LFUN_CHILD_CREATE
18239 * counters.h: fix tiny typo
18244 * lyx.C: move splash to frontends/xforms/
18246 * lyx_gui_misc.C: move Include and Bibform to frontends
18248 * lyxvc.h: clarify comment
18250 * vspace.C: tiny housekeeping
18252 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18254 * text.C (PrepareToPrint): RTL Fix.
18256 * paragraph.C (GetUChar): New method.
18257 (String): Use GetUChar.
18259 * buffer.C (asciiParagraph): Use GetUChar.
18261 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18263 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18265 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18268 * buffer.C: rename to getLogName(), handle
18269 build log / latex log nicely
18271 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18274 * MenuBackend.h: remove support for reference menuitem type.
18276 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18278 * BufferView_pimpl.C: housekeeping
18279 * BufferView_pimpl.h:
18284 * minibuffer.h: move Timeout GUI-I
18286 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18288 * lyxrc.C (read): Update converters data-structures.
18290 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18292 * LaTeX.h (operator!=): add operator != for Aux_Info
18294 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18296 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18298 * LaTeXLog.C: deleted, useful code moved to Buffer
18301 * buffer.C: new function getLatexLogName()
18307 * lyxfunc.C: use frontends for LaTeX and VC logs
18309 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18311 * LaTeX.h: yet another std:: that Allan forgot.
18313 * Variables.C (set): renamed from isset(), because this clashes
18314 with some HP-UX macros (grr).
18316 2001-02-06 Allan Rae <rae@lyx.org>
18318 * LaTeX.h: Another bug fix. Missing std:: this time.
18320 2001-02-04 Allan Rae <rae@lyx.org>
18322 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18323 floats problem. I've left it commented out because it's not quite
18324 correct. It should also test that the current object is a table or
18325 figure inset. But I haven't gotten around to figuring out how to do
18326 that. I *think* it'll be something like: "table" == inset.type()
18328 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18331 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18333 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18334 all the citation/databases/styles in the auxilary file.
18335 (run): Rerun latex if there was a babel language error.
18337 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18339 * text.C (Backspace): Preserve the font when changing newline char
18341 (BreakParagraph): If the cursor is before a space, delete the space.
18343 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18345 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18347 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18348 new argument (code).
18349 (ChangeCitationsIfUnique): New method.
18351 * paragraph.C (GetPositionOfInset): Handle bibkey.
18353 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18355 * BufferView_pimpl.h: change type of Position::par_pos to
18356 LyXParagraph::size_type.
18358 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18360 * BufferView_pimpl.C (savePosition, restorePosition): Write
18361 messages to minibuffer.
18363 2001-01-28 José Matos <jamatos@fep.up.pt>
18365 * buffer.C (makeDocBookFile): adds support for document language.
18366 A silly restriction on the name of LatexCommand types where removed.
18367 Added support for CDATA sections, allows to chars unescaped, used
18368 among others in code, to avoid escape < and >.
18370 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18372 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18373 saved positions instrad of a stack. Furthermore, a position is
18374 stored using paragraph id/paragraph position.
18376 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18377 Remove LFUN_REF_BACK.
18379 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18381 * converter.C (dvipdfm_options): New method.
18383 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18385 * vspace.C (isValidLength): Fix for empty input string.
18387 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18389 * LyXAction.C (init): change description of LFUN_FIGURE to
18392 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18394 * LaTeX.C: add using directive
18396 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18398 * MenuBackend.C (expand): Fix the sorting of the formats.
18400 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18402 * lyx_main.C: tiny error message fix
18404 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18406 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18407 calling fl_initialize(). This fixes the problem with ',' as
18408 decimal separator in text files.
18410 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18412 * trans.C (process): Fix the keymap bug.
18414 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18416 * LaTeX.C (scanAuxFiles): New method. Provides support for
18417 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18418 (scanLogFile) Scan for "run BibTeX" messages.
18420 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18421 OT1 font encoding. Also, load the aecompl package if the ae
18424 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18426 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18428 * texrow.C (increasePos): turn two error messages into debug
18431 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18433 * LaTeX.C (scanAux): Handle the \@input macro.
18434 (runBibTeX): Use scanAux().
18436 * language.C (latex_options_): New field.
18438 * LaTeXFeatures.C (getMacros): Add language macros.
18440 * buffer.C (makeLaTeXFile): Small fix.
18442 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18444 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18446 * text2.C: add a using directive.
18448 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18453 * lyxfunc.C: kill LyXBell.
18455 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18457 * text.C (IsBoundary): Remove the error message
18459 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18461 * lyxrc.C (setDefaults): Correct initialization value for
18464 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18466 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18469 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18470 and GotoNextNote().
18472 * src/LyXAction.C: Added reference-next.
18474 * text.C (InsertChar): Use contains instead of strchr.
18476 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18478 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18480 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18481 alignment commands (when needed).
18483 * text.C (InsertChar): Add ':' to number separator chars.