1 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
8 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
10 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
11 line after typing ctrl-enter
13 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
16 math insets do not return a proper editable() state yet (bug 2124).
18 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
20 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
21 docs containing very large paragraphs.
23 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
25 * cursor.C (selectionBegin, selectionEnd):
26 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
27 cursor at different depths.
29 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
31 * bufferview_funcs.C (coordOffset): do not call cursorPos
32 for collapsed collapsables (fix bug 2094).
34 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
36 * paragraph.C (fontSpan): make sure that the FontSpan does not
37 span across beginOfBody (bug 1947).
39 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
43 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
45 * messages.C: fix crash and localization on MinGW/Windows platform
47 2005-11-02 Angus Leeming <leeming@lyx.org>
50 * lyxtextclass.C: trivial fixes to some MSVS warnings.
52 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
54 * text3.C (getStatus): re-enable disabled code. (bug 2081)
56 * BranchList.h (empty): constify.
58 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
60 * text3.C (getStatus):
61 * MenuBackend.C (expandBranches): take the branch list from the
62 master document (bug 2092).
64 * MenuBackend.C (expandBranches):
65 * bufferparams.C (writeFile): use BranchList type.
67 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * text3.C (dispatch, getStatus):
71 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
73 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
77 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * text.C (insertChar): do not reset boundary (bug 2061)
81 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * dociterator.C (updateInsets): new method. Updates the inset_
84 cache of all the slices of the iterator.
86 * text2.C (deleteEmptyParagraphMechanism): compare also containing
87 insets when comparing pit/pos; pass the right cursor to
88 recordUndo; when a paragraph has been deleted, compare `old.top()' to
89 the right cursor slice of `cur'; use updateInsets on cur to make
90 sure that the inset caches are correct; general cleanup.
92 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
95 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
96 containg inset. If this does not work, the same command will be
97 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
99 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
102 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * lyxtextclass.C (Read): convert layout file if the format is wrong
105 * lyxtextclass.C (layout2layout): new, needed for the above
107 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * messages.C: do not forget to include <cerrno>.
111 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
113 * dociterator.h (StableDocIterator): add access to pos().
114 * undo.C (samePar): new method to check if two
115 iterators are in the same paragraph
116 * undo.C (recordUndo): check for samePar instead of cell identity
117 (which includes pos() and is too strict) (fixes bug 2097)
119 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * text.C (setCursorFromCoordinates): return a bool telling whether
124 * text3.C (cursorPrevious): update if needed after
125 setCursorFromCoordinates (when dEPM triggered).
127 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
128 (otherwise the anchor may be completely wrong and make dEPM assert).
130 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
132 * buffer.C: version upgrade to 245.
133 * bufferparams.C: remove \quotes_times (bug 2090).
134 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
135 quotation marks as default.
137 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
139 * CutAndPaste.C (nrOfParagraphs): remove (unused)
140 * CutAndPaste.C (cutSelection): Remove debug message
141 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
142 undo information and only copy if this is a real cut
143 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
145 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
147 * CutAndPaste.C (eraseSelection): prevent cursor corruption
148 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
149 superflous cur.selection() setting
150 * CutAndPaste.[Ch] (grabSelection): take a const cursor
151 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
153 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
155 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
158 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
160 * BufferView_pimpl.C: comment layout change
162 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
166 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
167 by bibliography managers (bug 2071).
169 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
171 * BufferView_pimpl.C (update): choose arguments to update call so
172 that single-par update works most times
173 * text3.C (dispatch): carefully tune updating separately for
174 whole-screen and current-paragraph
175 * rowpainter.C (paintText): 1) replace painting by caching for
176 the two extra paragraphs, because we can;
177 2) suppress greying out of areas below/above drawn area in case of
179 * lyxfunc.C (dispatch): remove superfluous update
180 * LyXAction.[Ch]: introduce SingleParUpdate
182 2005-10-05 Angus Leeming <leeming@lyx.org>
184 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
185 always initialised before use.
187 * text.C (setHeightOfRow): squash warning about comparison
188 of signed and unsigned types.
190 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
192 * text.C (cursorX): two fixes involving RtL text drawing
194 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
197 items, not only large ones (part of bug 2057)
199 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
201 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
202 argument, use "newcommand".
204 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
206 * cursor.C (setSelection): do not open collapsable insets;
207 the insets do by themselves now (autoopen).
209 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * buffer.C: format is up to 244.
213 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
215 * text.C (redoParagraph): fix calcultation of inset width wrt
216 leftMargin (bug 1957).
218 * text3.C (dispatch): leave inset to the right when hitting ESC
221 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * messages.C: include <boost/current_function.hpp>
228 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
231 when command is internal. (bug 1941)
233 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * text2.C (cursorRight): do not honor boundary when at the end of
236 a paragraph. (bug 2010 again)
238 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
240 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
242 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
244 * rowpainter.C (paintText): fix RtL space width display bug (2029)
246 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * text2.C (setCursor): remove the unused 'boundary' parameter for
249 the CursorSlice version; adapt the LCursor version.
252 * paragraph_pimpl.C (markErased):
253 * cursor.C (bruteFind2, bruteFond3): fix warnings.
255 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
257 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
258 as is already done for "chapter".
260 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
263 textclass; do not record undo if nothing is changed.
265 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
267 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
269 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
271 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
273 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
276 combox, it is necessary to search for the topmost paragraph in the
277 cursor stack (bug 1926)
279 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
281 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
282 end of paragraph. (bug 2010)
284 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
286 * text.C (leftMargin): check for inInset == 0
288 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
290 * text.C (leftMargin): test for insetbase's new neverIndent()
291 bool instead of listing each and every inset that does not
292 wish par indendation.
294 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
296 * buffer_funcs.C (setCounter): put the code to compute enum label
297 here (where it belongs).
299 * counters.C (enumLabel): move code to buffer_funcs.C.
301 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
303 * outputparams.[Ch]: store local_font instead of local_language
304 * paragraph.C (simpleTeXOnePar): adapt to the change above
306 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
309 * counters.[Ch]: clean up special code for Hebrew.
311 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
316 2005-09-08 Angus Leeming <leeming@lyx.org>
319 * lyxrc.C: correct grammar describing invocation of the
322 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
324 * text.C (read): remove unused variable.
325 (readParToken): remove static Change variable (never good in
326 recursive settings...); add it as a parameter instead.
328 * paragraph_pimpl.C (acceptChange): make debug info conditional.
330 * metricsinfo.C (PainterInfo): add new member erased_.
332 * rowpainter.C (RowPainter): add erased_ member, initialized from
334 (paintInset): pass erased_ to Inset::draw.
336 * lyxfunc.C (lookupChange): new function. Tells whether change
337 tracking is disabled at a given postion.
338 (getStatus): disable some actions when in deleted text with change
341 2005-08-03 John Levon <levon@movementarian.org>
343 * tabular.C (appendColumn, setMultiColumn): adapt to change to
346 * paragraph_pimpl.C (markErased): add bool argument and handle it.
347 Also make sure to mark insets recursively.
348 (rejectChange, erase): be recursive
350 * paragraph.C (markErased): add bool argument.
351 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * lyxfind.C (findNextChange): tiny cleanup.
355 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
356 change tracking with the cursor in an inset; make sure the first
357 change is not skipped.
359 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
361 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
362 tabularStackDirty to work around bug 1919 (tabular needs
363 to know whether its own cell paste buffer or the one of
365 * CutAndPaste.C: mark tabular_stack_ clean after copy.
367 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
369 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
371 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
373 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
374 use old deleteion algorithm when changetracking is on.
376 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
378 * messages.C (get): add debug output.
380 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
382 * text.C (cursorX): fix bug 1965: cursor movement at
383 line end broken in RtL.
384 (drawSelection): fix bug 1970: drawing of single-line
385 selection broken for RtL.
387 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
391 * dociterator.h (clear, push_back, pop_back): change from
394 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
395 and changed to just return the value of the item depth; take a
396 ParIterator as argument; take the itemdepth at outer nesting level
397 in account if necessary; cleanup and comment the code.
398 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
399 and changed to just return true if reset is needed; take a
400 ParIterator as argument; cleanup and comment the code.
401 (setCounter): adapt to above changes.
403 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
405 * text3.C (dispatch): make debug message optional
407 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
409 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
412 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
414 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
416 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
418 * text.C (insertChar):
419 * text2.C (deleteEmptyParagraphMechanism): take care whether
420 a blank has been deleted (in change tracking mode) (bug 1254).
422 2005-07-20 John Levon <levon@movementarian.org>
424 * text2.C (insertStringAsLines): remove old dubious code,
427 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
429 * MenuBackend.C (expandToc): use Floating::listName() as title of
432 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
434 * toc.[Ch]: Do not use translatable strings (bug 1870).
436 2005-07-20 John Levon <levon@movementarian.org>
438 * tabular.C: fix 1748 - setting multicolumn adds
439 left line to the first cell
441 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
444 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
447 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
449 * messages.C: supress some lyxerr messages
451 2005-07-18 Juergen Vigna <jug@lyx.org>
453 * text.C (drawSelection): honor boundary when asking for cursorX.
455 2005-07-17 José Matos <jamatos@fc.up.pt>
457 * tabular.C (recalculateMulticolumns): fix handling of one column
460 2005-07-17 Juergen Vigna <jug@lyx.org>
462 * text.C (Delete, backspace): fixed so that paragraph with the
463 same layout can be merged by Delete/Backspace.
465 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
467 * text.C (readParToken): fix spelling.
469 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
471 * text2.C: fix counter update for DEPM problem reported by
474 2005-07-17 Juergen Vigna <jug@lyx.org>
476 * BufferView_pimpl.C (setBuffer): save/restore the
477 cursor/selection when switching buffers
480 * buffer.C (saveCursor): add saveDocumentIterators to save the
481 cursor when switching buffer.
483 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
486 * buffer.C: clarify message
488 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
490 * dociterator.C (DocIterator): fix initialization order
492 2005-07-17 Juergen Vigna <jug@lyx.org>
494 * text2.C (cursorHome):
495 * text.C (drawSelection, cursorX):
496 * dociterator.C (textRow): add boundary to getRow() call
498 * paragraph.C (getRow): implementation of below
500 * paragraph.h: add parameter boundary for getRow() function
502 2005-07-17 José Matos <jamatos@fc.up.pt>
506 * tex-strings.[Ch]: new file format, remove support for a4.sty,
507 a4wide.sty and a4widemargins.
509 2005-07-17 Juergen Vigna <jug@lyx.org>
511 * text2.C (cursorLeft): fix one of error
513 2005-07-17 Juergen Vigna <jug@lyx.org>
515 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
517 more fixes for boundary handling
519 * text3.C (dispatch): don't reset cursor if boundary has changed
522 2005-07-16 Juergen Vigna <jug@lyx.org>
524 * text2.C (getColumnNearX): hopefully got it right now,
525 check if we are on column 0 for special case.
527 2005-07-16 Juergen Vigna <jug@lyx.org>
529 * text2.C (getColumnNearX): handle special case Newline Inset
531 * text.C (singleWidth): Just remove bogus check
533 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
535 * funcrequest.C (split): avoid reading uninitialized char c
537 2005-07-16 José Matos <jamatos@fc.up.pt>
543 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
544 single papersize variable.
546 2005-07-16 Juergen Vigna <jug@lyx.org>
548 * text3.C (dispatch): honor boundary when checking if a cursor
549 movement has been done
551 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
552 (setCursor, setCursorIntern): fix cursor movement with boundary
554 2005-07-16 Juergen Vigna <jug@lyx.org>
556 * text.C (currentState): output the actual Boundary
558 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
560 * factory.C (createInset): fix bad logic for tabular creation
562 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
564 * lyx_main.C (init): change some reLyX reference to tex2lyx
566 2005-07-16 Juergen Vigna <jug@lyx.org>
568 * dociterator.C (DocIterator): initialize boundary
570 2005-07-16 Juergen Vigna <jug@lyx.org>
572 * text2.C (getColumnNearX): Consider rows without trailing blank.
574 2005-07-16 André Pönitz <poenitz@gmx.net>
576 * lyxfont.h: Change order of declarations to give the compiler
577 a better chance to inline things
579 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
580 questions on unsaved docs for better scritability
582 2005-07-16 André Pönitz <poenitz@gmx.net>
584 * paragraph.h (getChar): remove asserts as the same kind of security
585 can be achieved by using a suitable standard library implementation
586 and the function was in the critical path (25.9% in profiler)
588 2005-07-16 Juergen Vigna <jug@lyx.org>
590 * cursor.C (bruteFind2):
591 * bufferview_funcs.C (coordOffset):
592 * text.C (cursorX,cursorY): Handle cursor position after last char
593 in row before a inset which uses a whole row.
595 2005-07-15 José Matos <jamatos@lyx.org>
597 * output_plaintext.[Ch] (writeFileAscii): control reference title
599 (asciiParagraph): noparbreak was already deal and was incorrectly
602 2005-07-15 Juergen Vigna <jug@lyx.org>
604 * lyxfunc.C (dispatch): save and restore the cursor after a
607 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
609 * text.C (backspace): bug 806 for empty keepempty paragraphs we
610 change the layout to default before letting DEPM do its thing.
612 * paragraph_funcs.C (breakParagraph): dont reset the layout on
615 * text.C (setCursorFromCoordinates): add a debug statement
617 * text2.C (getColumnNearX): bug 1825 make sure that we don't
618 return a pos that is not on the row
620 * output_latex.C (TeXDeeper): get rid of potential dereferencing
621 of past the end iterator
623 2005-07-14 André Pönitz <poenitz@gmx.net>
625 * undo.C (recordUndoFullBuffer): implement undo for
628 2005-07-14 André Pönitz <poenitz@gmx.net>
630 * cursor.C (setSelection): open insets when selection is set there
631 to avoid crashs with cold coord cache
633 2005-07-14 André Pönitz <poenitz@gmx.net>
635 * trans_mgr.C (insert): move cursor to the right after inserting
638 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
640 * BufferView_pimpl.C (update): dampen some of the debug blabbering
641 * factory.C (readInset): ditto
642 * text.C, text2.C: ditto
644 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * buffer.C: format incremented to 242. There is no file format per
647 se, but the "frenchb" language has been removed from lib/language
648 and has to be translated to "french" by lyx2lyx.
650 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
652 * cursor_slice.h, dociterator.h: add some documentation
653 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
655 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
657 * text.C (leftMargin): do not add identation to display() style
658 insets, because they are always centered (bug 1293).
660 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
662 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
663 formatted_time methods in support/lyxtime.
665 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
667 * toc.[Ch]: new method getGuiName, which is used by the frontends
668 to set the toc combo (fixes bug 1870). Make TOC string translatable.
670 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
672 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
673 StableDocIterator const &)
674 * undo.C (recordUndo): use the above instead of cell.size() comparison
675 (fixes bug 1808; instructed by Andr�.
677 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
680 * dociterator.h: Fix the assert when copying rows/cols in math
682 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
684 * BufferView_pimpl.C:
686 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
688 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
689 (findInset): new functions, refactored from goto Inset that return
690 the position of a certain inset without setting the buffer's cursor
692 (gotoInset): rewrite to call findInset and then set the cursor
695 2005-06-16 Angus Leeming <leeming@lyx.org>
697 * lyxrc.C (output, read): wrap all input and output of paths with
698 calls to os::internal_path and os::external_path, respectively.
699 (output): wrap bind_file inside quotes.
701 * format.C (view): enable the viewer to use the '$$s' placeholder.
703 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
705 * LColor.[Ch] (getFromLaTeXName): new
707 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
709 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
711 2005-06-14 Angus Leeming <leeming@lyx.org>
713 * lyx_main.C (init): ensure that the LyX binary dir is the first
714 element in the PATH on non-POSIX builds.
716 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
718 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
720 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
722 * rowpainter.C (paintInset, paintHebrewComposeChar)
723 (paintArabicComposeChar, paintChars): add a LyXFont argument.
724 (paintChars): use getFontSpan to reduce calls to getFont to a
725 minimum; use Paragraph::lookupChange instead of isXXXText.
726 (paintForeignMark): rename LyXFont argument.
727 (paintFromPos): pass a LyXFont object to the various paintXXX
730 * FontIterator.C (FontIterator, operator++): use
731 Paragraph::getFontSpan
733 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
734 version that returns the font span as a pair.
736 2005-06-09 Angus Leeming <leeming@lyx.org>
738 * converter.C (convert): Don't forget "outfile = real_outfile" as
739 the final step in a conversion where the input and output file names
740 are the same. Otherwise, future conversion steps won't work...
742 2005-06-09 Angus Leeming <leeming@lyx.org>
744 * lyxsocket.C: remove stub code as it isn't needed by
745 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
747 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
749 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
750 effectively disabled -x
752 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
754 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
755 when it actually makes sense.
757 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
759 * BufferView_pimpl.C: revert to showCursor in connection with
760 Lars's front-end stack
762 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
764 * text.C (redoParagraph): move cursor right after a bibitem
767 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
769 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
771 * buffer_funcs.C (bufferErrors): fix computation of the end of an
774 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
776 * BufferView.[Ch] (update):
777 * BufferView_pimpl.[Ch] (update, metrics):
778 * dimension.h (operator==):
779 * lyxfunc.C (dispatch):
780 * metricsinfo.h (ViewMetricsInfo):
781 * rowpainter.C (paintText):
783 * text.C (redoParagraph):
784 * text3.C (dispatch): Make LyX only repaint current paragraph in
785 case of character insert --> speedup. Also fix cursor draw
788 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
790 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
791 avoid a crash (bug 1891)
793 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
797 * text2.C (getStringToIndex): constify cur argument.
799 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
800 argument has been given
801 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
802 try to invoke LFUN_INSET_APPLY).
804 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
805 if no inset was created by doInsertInset
806 (doInsertInset): return true if an inset has been inserted.
808 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
810 * vspace.C (asGUIName): new method. A version of the space
811 suitable for showing on screen.
813 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
816 * lyxrc.C: rename "ASCII" to "Plain Text"
818 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
820 * buffer_funcs.C (expandLabel): take a Buffer as argument;
821 translate the labelstring.
822 (setCounter): translate labelstring as needed.
824 * output_docbook.C (makeCommand): fix expandLabel invokation
826 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
828 * BufferView.C: fix dialog title
830 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
832 * lyx_main.C (priv_exec): fix logic error with help from Angus
833 * lyx_main.C (parse_execute): set is_gui = false and remove now
834 obsolete comment about a segfault
836 2005-05-18 Angus Leeming <leeming@lyx.org>
838 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
840 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
842 * tabular.[hC]: added setCellInset to fix tabular paste.
844 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
846 * buffer.C (save): check if destination is writable before trying
849 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
851 * BufferView_pimpl.C (update): fix processEvents -caused update
854 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
856 * buffer_funcs.C (setCounter): fix test for numbering of
859 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
860 depth correctly; use optional argument when it exists
862 * lyxtextclass.C: remove unused MaxCounterTags enum
863 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
864 (max_toclevel, min_toclevel): new methods.
866 * MenuBackend.C (expandToc2): fix case where depth is smaller than
867 the smallest depth in toc.
869 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
870 layouts that should not appear in a table of contents.
872 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
874 * cursor.h (undispatched, noUpdate): add comments from Andr�
875 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
879 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
881 2005-05-07 André Pönitz <poenitz@gmx.net>
883 * cursor.[Ch] (leaveInset): new function
885 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
887 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
889 2005-05-04 Angus Leeming <leeming@lyx.org>
891 * lyxfunc.C (getStatus): disable the spell checker dialog if
892 none of USE_[AIP]SPELL are defined.
894 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
896 * tabular.C (setWidthOfCell): remove obsolete comment
898 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
900 * paragraph.C (bibitem):
901 * buffer_funcs.C (setCounter):
902 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
904 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
906 * text3.C (getStatus): immediately return after setOnOff
908 * rowpainter.C: fix drawing of appendix start
910 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
912 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
913 SwitchBetweenClasses and remove the unused return value.
914 Handle character styles, too
916 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
918 * factory.C (createInset): handle undefined character styles
920 2005-05-02 Angus Leeming <leeming@lyx.org>
922 * buffer.C: protect the #include of utime.h with a preprocessor
925 2005-05-02 Angus Leeming <leeming@lyx.org>
927 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
928 function so that auto-saving works, albeit in a blocking manner.
930 * Makefile.am: make compilation of the client sub directory, of
931 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
932 on conditionals set at configure time.
934 * SpellBase.[Ch]: no longer an abstract base class. Instead,
935 it can be compiled in its own right but has no-op functionality.
937 * aspell.C, pspell.C: remove preprocessor guards. The files should
938 be compiled only if the necessary functionality exists.
940 * lyxserver.C, lyxsocket.C: disable on Windows.
942 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
944 * text.C (leftMargin): Fix the parindent use bug (1764)
947 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
949 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
952 2005-04-25 Angus Leeming <leeming@lyx.org>
960 include <config.h> in .C files, not .h ones.
962 protect headers inside preprocessor guards.
964 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
966 * FuncStatus.h (StatusCodes): document
968 2005-04-21 André Pönitz <poenitz@gmx.net>
970 * FuncStatus.h (enabled, onoff): document
972 2005-04-19 Angus Leeming <leeming@lyx.org>
974 * BufferView_pimpl.C (cursorToggle): no longer test whether
975 any child processes have been reaped before calling
976 handleCompletedProcesses().
978 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
980 * text3.C (dispatch): fix, finally fix, the language problem in
981 new lyxtexts, without disabling on-the-fly font changes (Helge's
984 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
986 * text3.C (dispatch): set cursor on double/triple click events
989 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
991 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
992 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
994 * rowpainter.C (paintFirst): simplify the code a little bit. In
995 particular, remove the test for secnumdepth.
996 * text.C (setHeightOfRow): only allocate space for chapter number
997 when updateCounters provided an actual label, instead of looking
998 at secnumdepth directly.
1000 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1002 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1003 paragraphs when secnumdepth is large enough or, for environments,
1004 when they are not the first in a sequence.
1006 2005-04-17 Angus Leeming <leeming@lyx.org>
1008 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1009 containing space and '~' characters with a call to latex_path().
1011 2005-04-17 Angus Leeming <leeming@lyx.org>
1013 * converter.C (convert): protect all args of convertDefault.sh
1016 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1018 * text3.C (dispatch): change the layout to "Caption" after inserting
1021 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1023 * text3.C (dispatch): fix language problem in newly created
1024 textinsets (and main text) in non-english docs
1026 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1028 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1029 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1030 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1032 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1036 * text2.C (getFont):
1037 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1040 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1042 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1043 output of \item arguments without trailing text.
1045 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1047 * FontIterator.C (operator*): avoid a copy of the font.
1049 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1051 * rowpainter.C (getFont): fix language bug from previous fix
1053 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1055 * rowpainter.C (RowPainter, getFont): fix font inside inset
1058 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1060 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1061 preventing inserted font, deco, delim insets jumping to start of
1064 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1066 * lyxfunc.C (dispatch): translate message before sending it to the
1069 2005-03-29 Angus Leeming <leeming@lyx.org>
1071 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1072 to LyX on the command line.
1074 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1076 * vc-backend.C: use QuoteName to protect file names wherever
1079 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1082 * BranchList.h: fix bugs 1844,1845: document settings don't
1085 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 * lyxrc.C (setDefaults, read, output, getDescription): add support
1088 for tex_allows_spaces.
1090 * exporter.C (Export): allows files in directory containing spaces
1091 if tex_allows_spaces is true.
1093 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1094 output it in double quotes.
1096 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1098 * rowpainter.C: use default text height for drawing change tracker
1101 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1103 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1105 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1107 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1108 directory is missing.
1110 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1112 * text2.C: fixed the fix, extended to other case.
1114 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1116 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1118 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1120 * text2.C (cursorUp): get rid of a crash
1121 * text.C (x2pos): add an assert
1123 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1125 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1129 * dociterator.C: include <boost/current_function.hpp>, which is
1130 needed when assertions are disabled.
1132 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1134 * text2.C: fix for stuck cursor when traversing two
1135 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1137 2005-02-25 Andreas Vox <avox@arcor.de>
1139 * output_docbook.C (makeParagraph): suppress trailing newline
1140 after a run of paragraphs
1142 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1144 * paragraph.C: fix for confused change tracker when pasting
1145 text that begins with a lineseparator. [bug 1827]
1146 (setChange(0, Change::INSERTED);)
1148 * paragraph_funcs.C: fix for lost changes on triple-paste
1149 in change tracking mode [bug 1827] (par.setChange()).
1151 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1153 * text2.C (updateCounters, setCounter, expandLabel): move to
1156 * buffer_funcs.C (updateCounters): turn into a free standing
1157 function and add a buffer parameter. Remove dead code for tracking
1159 (setCounter): change into a free-standing function which gets a
1160 dociterator as argument. Use this iterator to fix captions in a
1161 simple way. When no float is found above the caption, use the
1162 labelstring of the caption layout as default.
1164 * text.C (breakParagraph, backspace):
1165 * text2.C (init, setLayout, changeDepth):
1166 * text3.C (dispatch):
1167 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1170 * dociterator.C (forwardPar): make it much faster by calling
1171 forwardPos() only when really necessary.
1173 * output_docbook.C (makeCommand): adapt to expandLabel move.
1175 * cursor.C: remove unused variable
1177 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1179 * paragraph_funcs.C: fix crash when pasting insets in change
1180 tracking mode [bug 1277] (honour change type in moveItem).
1182 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1184 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1186 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1188 * BufferView.C (setCursor): change to use a DocIterator.
1189 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1190 (putSelectionAt): adapt to BufferView::setCursor change.
1192 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1193 moved here from LyXText and rewritten to use proper cursor
1194 methods. Fixes bug 1787, 616 and 835.
1196 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1197 when inside an inset (part of bug 781).
1198 (dispatch): adapt to change of BufferView::setCursor.
1199 (getStatus, dispatch): handle LFUN_GOTOERROR,
1200 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1202 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1203 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1204 * text3.C (gotoNextInset, gotoInset): removed.
1206 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1210 2005-02-15 Angus Leeming <leeming@lyx.org>
1212 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1213 can be used meaningfully in a comparison.
1215 2005-02-13 André Pönitz <poenitz@gmx.net>
1217 * bufferview_funcs.C (coordOffset): improve cursor drawing
1219 2005-02-13 André Pönitz <poenitz@gmx.net>
1221 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1222 * Cursor.C (dispatch): use fixIfBroken
1223 * lyxfunc.C (getStatus): use fixIfBroken
1225 2005-02-15 Angus Leeming <leeming@lyx.org>
1227 * lyx_main.C (error_handler):
1229 * lyxrc.C (setDefaults):
1231 #include "environment.h".
1233 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1235 2005-02-15 Angus Leeming <leeming@lyx.org>
1237 * lyxserver.C (startPipe): squash MSVC warning "local variable
1238 'fd' used without having been initialized".
1240 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1242 * BufferView_pimpl.C: revert accidental commit.
1244 2005-02-14 André Pönitz <poenitz@gmx.net>
1246 * dociterator.[Ch]: new member forwardPosNoDescent(),
1247 which doesn't enter nested insets.
1248 * text2.C (setFont): use forwardPosNoDescent() instead
1249 of ForwardPos() (fixes crash on font change).
1251 2005-02-13 Angus Leeming <leeming@lyx.org>
1253 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1254 only if lyxrc.path_prefix is not empty.
1256 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1258 * bufferparams.C (readGraphicsDriver): prevent crash
1260 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1262 * text2.C (setCounter): check for inInset() == 0
1264 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1266 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1267 but use update() to get correct screen display; use convert
1268 instead of istringstream.
1269 (getStatus): handle LFUN_GOTO_PARAGRAPH
1271 * lyxfunc.C (dispatch, getStatus): do not handle
1272 LFUN_GOTO_PARAGRAPH here.
1274 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1276 * text3.C (dispatch): size() -> depth()
1278 * text2.C: remove some debug output
1280 * paragraph.C: ws changes only
1282 * lyxfunc.C (getStatus): size() -> depth()
1284 * dociterator.h (clear, push_back, pop_back, internalData,
1285 operator[], resize, empty): new functions
1286 Make StableDocIterator and operator== be friends. Don't inherit
1287 from std::vector use a privat class variable slices_ instead.
1290 * dociterator.C: update because of not inheriting from std::vector
1291 anymore. Call explictly to slices_ instead. Use depth() instead of
1292 size() and top() instead of back()
1294 * cursor.C: chagne size() -> depth and back() -> top(). Also
1295 remove some direct operator[](i) calls in favour of foo[i]
1296 (getFont): remove some dead code
1298 * bufferview_funcs.C (coordOffset): size() -> depth()
1300 * buffer.C: ws changes only
1302 * CutAndPaste.C (eraseSelection): back() -> top()
1304 * BufferView_pimpl.C (selectionRequested): back() -> top()
1306 * BufferView.C (setCursor): size() -> depth()
1308 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1310 * text3.C (cursorPrevious): return true if depm changed something
1312 (dispatch): rename sl to oldTopSlice, remove moving use the new
1313 NoUpdate func attrib instead. Make sure that needsUpdate is set
1314 for function that have NoUpdate, but where depm might have changed
1317 * text2.C (cursorLeft): make us return true if depm changed
1319 (cursorRight): ditto
1320 (cursorUpParagraph): ditto
1321 (curosrDownParagraph): ditto
1322 (cursorUp, cursorDown): ditto, make sure to read comments in code
1323 (deleteEmptyParagraphMechanism): remove an assert, also return
1324 true if just a single char was deleted.
1326 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1327 cursor that we modify, to avoid modifying an active cursor before
1328 we call setCursor. This allows depm to run. Also return true if
1329 depm deleted something.
1331 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1332 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1333 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1334 something was changed in the buffer because of them (ie. depm run)
1336 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1337 debug messages. Make update by default be false. Make sure that
1338 the result of update is retained throught several calls down to
1341 * LyXAction.h: add a new func_attrib: NoUpdate
1343 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1344 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1345 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1347 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1349 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1351 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1352 bv_->owner(), bv_->buffer() by direct references to the private
1354 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1355 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1356 (fitCursor): center() is in BufferView::Pimpl.
1357 (getStatus, trackChanges, dispatch): no need for a temporary buf
1359 (fitCursor, workAreaDispatch): use workarea().workheight()
1361 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1363 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1365 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1367 * buffer.C: format up to 241.
1368 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1369 break if pasting into ERT
1370 * lyxfunc.C (getStatus): suppress mathpanel and
1371 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1373 2005-02-01 Angus Leeming <leeming@lyx.org>
1375 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1377 2005-02-01 Angus Leeming <leeming@lyx.org>
1379 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1380 calling fs::is_directory().
1382 2005-01-31 Angus Leeming <leeming@lyx.org>
1384 * lyx_main.C (priv_exec): specify explicitly the relative location
1385 of the top level build directory when run in-place.
1387 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1389 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1390 LyXText containing the cursor, not the top-level one.
1392 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1394 (insertStringAsLines): rename par to pit; use temporary variable
1395 par to hold a Paragraph; do not store par.layout() in a variable,
1396 since the pointer may die when breaking paragraphs; pass pars to
1397 breakParagraph() instead of Buffer::paragraphs().
1399 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1401 * lyxlex_pimpl.h: #include <fstream>.
1403 * BufferView.[Ch] (getLyXText): add a const version.
1405 * BufferView_pimpl.C: add debug aids.
1410 * paragraph_funcs.h: add commentary explaining what the class does.
1413 * coordcache.[Ch]: add lots of commentary.
1414 (startUpdating, doneUpdating): debug aids.
1415 (arrays, insets, parPos, getParPos): accessors to private data.
1417 * cursor_slice.[Ch] (text): add a const version.
1418 * dociterator.[Ch] (text, innerText): add const versions.
1420 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1423 * paragraph.C (getRow, pos2ros): add asserts.
1425 * paragraph.h: add commentary. Lots of.
1427 * paragraph.[Ch] (metrucs, draw): removed.
1430 * rowpainter.[Ch]: const-correct changes.
1432 * text.C: various obvious clean-ups. Removal of ancient cruft.
1435 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1437 * vc-backend.C (find_file): rewrite to use boost.filesystem
1440 * main.C (main): set default name check for boost.filesystem to
1443 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1446 (actOnUpdatedPrefs): ditto
1448 * lyx_main.C (init): rewrite to use boost.filesystem
1449 (queryUserLyXDir): ditto
1451 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1452 (getContentsOfAsciiFile): ditto
1454 * lastfiles.C (readFile): rewrite to use boost.filesystem
1456 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1458 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1459 (loadLyXFile): ditto
1461 * buffer.C (Buffer): adjust for destroydir
1462 (getLogName): rewrite to use boost.filesystem
1463 (setFileName): ditto
1464 (save): use fs::copy_file (from fs_extras)
1466 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1468 * LaTeX.C (run): rewrite to use boost.filesystem
1469 (scanAuxFiles): ditto
1470 (handleFoundFile): ditto
1472 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1474 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1476 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1478 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1480 * lyxlayout.[Ch]: change some vars from float to double
1482 * buffer.C (readFile): make a local var const
1484 * Several files: use convert<> instead of atoi,strToXXX and friends
1486 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1488 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1489 holds the contents of packages.lst. New functions getAvailable
1490 and isAvailable to parse and check that list, resp.
1494 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1496 * bufferparams.[Ch]: new param output_changes.
1498 * Buffer.C: increase file format to 240.
1499 Use output_changes and isVailable.
1503 * paragraph_pimpl.C: Use output_changes and isVailable.
1505 2005-01-23 Angus Leeming <leeming@lyx.org>
1507 * output_latex.C: #include "insetbibitem.h", rather than
1508 forward declare function bibitemWidest.
1510 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1512 * lyx_main.C (init): make it compile on the Mac.
1514 2005-01-20 Angus Leeming <leeming@lyx.org>
1516 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1517 (setLyXMisc): (char string literal) != (char string literal) is
1518 performing a comparison on the addresses. Convert one operand
1519 explicitly to string to guarantee expected behaviour.
1522 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1525 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1527 * output_plaintext.C: remove unneeded #include gzstream.h.
1529 2005-01-20 Angus Leeming <leeming@lyx.org>
1531 * SpellBase.h: rename some of the elements of the Result enum.
1538 * pspell.C (check): ditto
1540 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1542 * buffer.C: add #include <fstream>.
1544 * lyx_main.C (init): Compile fix.
1546 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1548 2005-01-20 Angus Leeming <leeming@lyx.org>
1550 * mover.h: change commentary to reflect the changed meaning of
1551 the $$s placeholder.
1553 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1555 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1557 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1559 2005-01-20 Angus Leeming <leeming@lyx.org>
1561 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1562 printing diagnostic data by not dereferecing an iterator past the
1565 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1567 * buffer.C (readHeader): use "&&" rather than "and".
1569 * lyxserver.h (inPipeName, outPipeName): make these const.
1571 2005-01-19 Angus Leeming <leeming@lyx.org>
1573 * lyx_main.C (error_handler, init): protect SIGHUP with
1574 #ifdef SIGHUP guards.
1576 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1578 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1580 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1582 * text.C (setHeightOfRow): add a margin at the top and bottom of
1583 the document (bug 1761)
1585 2005-01-17 Angus Leeming <leeming@lyx.org>
1587 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1588 with "python ". Workaround for a brain-dead Windows.
1590 2005-01-16 Angus Leeming <leeming@lyx.org>
1592 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1593 for MacOSX and Windows to use prependEnvPath.
1594 Strip out the hard-coded block to add elements to the PATH for
1595 MacOSX and replace it with a call to prependEnvPath using the
1596 contents of LyXRC::path_prefix.
1597 (queryUserLyXDir): strip out the code to run reconfigure, instead
1598 returning a boolean indicating the necessity to do so.
1599 (reconfigureUserLyXDir): contains the code to reconfigure the
1600 user support directory. Is now called after the various LyXRC data
1601 files have been read.
1603 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1605 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1607 * converter.[Ch] (convert): take a new parameter try_default. Use
1608 a default converter (imagemagick) if try_default is true.
1610 2005-01-13 Angus Leeming <leeming@lyx.org>
1612 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1613 os::cygwin_path_fix.
1614 (write): output LyXRC::cygwin_path_fix as necessary.
1616 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1619 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1621 2005-01-12 Angus Leeming <leeming@lyx.org>
1623 * lyx_main.C (init): set the PATH variable to include the
1624 directory containing the LyX binary when running on Mac or Windows.
1626 2005-01-12 Angus Leeming <leeming@lyx.org>
1628 * lyx_main.C (init): remove cruft that purports to set the locale
1629 dir. It doesn't and is not needed anyway.
1631 2005-01-10 Angus Leeming <leeming@lyx.org>
1633 * Makefile.am: remove the lyx_main.C special casing.
1635 * BufferView_pimpl.C:
1641 * messages.C: use support/package.h to provide the paths to the
1642 various directories used by LyX.
1644 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1646 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1647 layout if pasting into an empty paragraph)
1649 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1651 * tex-accent.C: add <string>
1653 2005-01-06 José Matos <jamatos@lyx.org>
1655 * ParagraphParameters.C (write): put every parameter in its own line.
1656 * paragraph.C (write): reduce number of consecutive empty lines exported.
1657 * buffer.C (LYX_FORMAT): increase file format to 239.
1659 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1661 * everywhere: change support/tostr.h -> support/convert.h
1663 * tabular.C: make all write_attributes templates, tostr -> convert
1665 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1666 (emptyTag): and -> &&, and fix type for ret from getChar
1667 (getFirstWord): fix type for ret from getChar
1668 (onlyText): and -> &&
1669 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1672 * toc.C (goTo, action):
1673 * text3.C (dispatch):
1674 * text.C (currentState):
1675 * tex-accent.C (DoAccent):
1678 * lyxfunc.C (menuNew):
1679 * lyxfinc.C (replace):
1680 * counters.C (laberItem):
1681 * bufferview_funcs.C (font2string):
1682 * bufferparams.C (writeFile):
1683 * buffer.C (readFile):
1685 * MenuBackend.C: tostr -> convert
1687 * LaTeX.C (runMessage): fix format
1688 (scanAuxFiles): tostr -> convert
1690 * BufferView_pimpl.C (savePosition): fix format
1691 (restorePosition): ditto
1694 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1696 * Spacing.[Ch]: New method getValueAsString().
1700 * ParagraphParameters.C:
1703 * text3.C: store/read spacing value as string.
1705 * rowpainter.C: change float value (spacing_val) to double.
1707 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1708 broken custom document spacing).
1710 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1712 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1713 namespace, also more use of temp references and const
1715 * cursor.[Ch] (getStatus): move to lyxfunc.C
1717 * bufferparams.C: reformat slightly
1719 * bufferview_funcs.C (font2string): constify arg
1725 * buffer_funcs.C: (many funcs): constify arg on function
1726 definitions, also make more local vars const, also add ASSERTS on
1729 * buffer.C (LYX_FORMAT): put const in correct place
1730 (many funcs): constify arg on function definitions, also make
1731 more local vars const
1733 * aspell_local.h: remove "struct" from typdef setup
1735 * aspell.C (check): make word_ok const
1736 (nextMiss): simplify slightly
1739 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1741 * lyxrc.[Ch]: store all float values as strings.
1742 use int (not float) for lyxrc.dpi.
1744 2005-01-04 Angus Leeming <leeming@lyx.org>
1746 * lyx_cb.C (Reconfigure):
1747 * lyx_main.C (queryUserLyXDir):
1748 to run the <system_lyxdir>/configure correctly on Windows, prefix
1749 the path to the script with "sh " when generating the string that
1750 is passed to system().
1752 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1754 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1756 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1758 * lyxlength.C (asLatexString): get rid of setprecision
1760 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1762 * text2.C (setLayout): remove unused variable endpit.
1763 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1765 * paragraph.C (onlyText): remove unused variable style.
1767 * cursor.C (bruteFind): remove unused variables beg and end.
1769 * Makefile.am (dist_noinset_DATA): not needed anymore
1771 * cheaders/*: remove.
1773 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1775 * text3.C: fix LFUN_MATH_MODE.
1777 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1779 * buffer_funcs.C (countWords): new function. Counts words between
1782 * BufferView_pimpl.C (getStatus, dispatch): handle
1785 * LyXAction.C (init):
1786 * lfuns.h: add LFUN_WORDS_COUNT.
1788 2004-12-19 Angus Leeming <leeming@lyx.org>
1790 * buffer.C (save): s/slashify_path/internal_path/.
1792 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1794 * lyxfind.C (findChange): do not search for end of pars, because
1795 the change tracker cannot handle this (fixes bug 1719).
1797 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1799 * paragraph.[Ch] (autoBreakRows): remove
1801 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1803 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1804 avoid using the paragraph one
1806 * text2.C (LyXText, insertStringAsLines): adjust
1808 2004-12-16 Angus Leeming <leeming@lyx.org>
1812 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1814 2004-12-14 Angus Leeming <leeming@lyx.org>
1816 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1818 * bufferlist.C (emergencyWrite):
1819 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1822 2004-12-14 Angus Leeming <leeming@lyx.org>
1824 * main.C: (main): no longer pass pointers to os::init.
1826 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1828 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1829 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1831 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1834 * text3.C: remove selection_possible global flag
1836 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1838 * text2.C (getSelectionSpan): remove
1839 (changeDepth, changeDepthAllowed): adjust
1841 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1843 * Makefile.am (BOOST_LIBS): use boost variables
1845 2004-12-03 José Matos <jamatos@lyx.org>
1847 * buffer.C: format up to 238.
1849 2004-12-03 José Matos <jamatos@lyx.org>
1851 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1853 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1855 * cursor.C (goUpDown): remove call to idxUpDown2
1857 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1859 * tabular.[Ch]: use size_t-like types for cell, row and column
1862 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1864 * lyxfunc.C (getStatus): do not lose previous information when
1865 calling BufferView::getStatus; do not set a default "Command
1866 disabled" message at the beginning, but just before returning.
1868 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1870 * cursor.h (getStatus): add better comment from src/cursor.C
1872 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1874 * text3.C (getStatus): return false when the lfun is not handled
1876 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1878 * broken_headers.h: remove
1880 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1882 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1884 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1885 offset_ref accessors
1887 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1888 top_y_, merge fitcursor with update
1889 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1891 (metrics): introduce
1892 (workAreaDispatch): adapt to new coord scheme
1893 (redoCurrentBuffer): remove
1895 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1897 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1900 * coordcache.[Ch]: add paragraph cache and helpers
1902 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1905 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1906 (targetX, setTargetX): introduce
1908 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1909 baseline -> ascent, as the rest of lyx
1911 * lyxtext.h: remove redoParagraphs, updateParPositions,
1912 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1913 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1914 have ascent/descent (ascent is ascent of first par)
1916 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1919 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1921 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1923 * pariterator.C: fix infinite loop introduced in par->pit renaming
1925 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1926 in insets and LyXText, draw two off-screen paragraphs using
1927 NullPainter, and adapt to new coord scheme
1931 * text3.C: adapt lfun handlers to the new coord scheme, which
1932 means: there's only guaranteed coord information for onscreen pars
1933 plus one above and one below. This implies that one can do search
1934 from y coordinates in the range [-1,workHeight]
1936 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1938 * rename a lot of InsetOld to InsetBase
1940 2004-11-25 Angus Leeming <leeming@lyx.org>
1942 * BufferView_pimpl.C:
1944 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1946 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1948 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1949 call BufferView::getStatus if LCursor::getStatus did nothing
1950 (setStatusMessage, getStatusMessage): removed.
1952 * FuncStatus.C (message): new methods. Used to provide an error
1953 message indicating why a command is disabled.
1954 (clear, |=, FuncStatus): update for message.
1956 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1958 * lyxfunc.C (dispatch): always call sendDispatchMessage
1960 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1963 * BufferView_pimpl.C:
1968 * cursor_slice.[Ch]:
1971 * paragraph_funcs.C:
1977 * undo.C: par->pit renaming
1979 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1981 * tabular.C (cellstruct): use initialization, store a shared_ptr
1982 to insettext instead of the insettext directly, adjust to fit.
1983 (operator=): new function
1984 (swap): new function
1985 (rowstruct): use initialization
1986 (columnstruct): use initialization
1987 (ltType): use initialization
1990 * lyxlength.h (swap): new function
1992 * LColor.[Ch] (operator=): use the common semantics
1994 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1996 * lyxfind.C (findNextChange): update the bufferview after setting
1999 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2001 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2002 number of InsetOptArgs has already been inserted.
2004 * output_latex.C (latexOptArgInsets): new method. This outputs all
2005 the optarg insets, up to the limit defined in the layout file.
2006 (optArgInset): removed
2007 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2009 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2011 * paragraph.C (isLetter): remove special spellchecker-related
2012 code; return true also for digits
2013 (isWord, isKomma): remove
2015 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2016 * lyxfind.C (MatchString()): use isLetter instead of isWord
2018 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2020 * pariterator.h (operatir=): comment out un-implemented member
2023 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2026 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2028 * lyxfont.h: include LColor.h to satisfy concept checks.
2030 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2032 * pariterator.h: add typdefs for value_type, difference_type,
2033 pointer and reference to satisfy concept checks. Also add default
2034 constructor for same reason.
2036 * pariterator.C (operator++): add post-increment operator to
2037 satisfy concept checks.
2039 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2042 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2044 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2045 checks. Also rename base_type to BaseType to follow naming
2048 * FloatList.h: include Floating.h to satisfy concept checks.
2050 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2052 * lyxfunc.C (getStatus): when the origin of the request is menu or
2053 toolbar, and the LyXView does not have focus, do as if there was
2054 no buffer (bug 1720)
2056 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2057 FuncRequest to individual entries of LFUN_SEQUENCE
2059 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2061 * output_latex.C (TeXOnePar): override runparams.moving_arg
2062 according to the needprotect value of the current paragraph (bug
2065 * paragraph.C (simpleTeXOnePar): no need to override
2066 runparams.moving_args here
2068 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2070 * vspace.C: fix off-by-one-error, related to fix #1682
2072 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2074 * lengthcommon.C: a more general fix for bug 1682
2076 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2078 * text.C (backspace): fix crash
2080 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2082 * format.[Ch] (getFormatFromFile): new method
2083 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2085 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2087 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2089 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2091 * lyxfunc.C (dispatch): remove the verbose argument
2092 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2095 * kbmap.C (defkey): set the origin of func to KEYBOARD
2097 * MenuBackend.C (MenuItem):
2098 * ToolbarBackend.C (add): set the origin of func to UI
2100 * funcrequest.[Ch]: add origin member, which indicates which part
2101 of LyX requests an action
2103 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2105 * converter.C (move): don't lie in the error message
2106 * converter.h (isReachable, move): document
2108 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * buffer.C: remove unused using lyx::support::atoi
2111 * paragraph_funcs.C: ditto
2113 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2115 * bufferlist.C (exists): use bind and equal_to instead of
2118 * lyxtextclasslist.C (NumberOfClass): ditto
2120 * cursor.C (insert): use for_each instead of explicit for loop
2122 * bufferlist.C (getFileNames): use std::transform and
2123 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2125 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2128 * buffer.C (changeLanguage): use for_each instead of explicit for
2130 (hasParWithID): implement using getParFromID
2132 * LaTeXFeatures.C: ws change only
2134 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2137 * BufferView_pimpl.C (trackChanges): use for_each instead of
2140 2004-11-04 André Pönitz <poenitz@gmx.net>
2143 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2145 * dociterator.C (asDocIterator): use hard assert again.
2147 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * lyxlength.C (asLatexString): rewrite so that it does not use
2152 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2154 * text3.C (specialChar, dispatch): make sure cursor moves to the
2155 right after inserting an inset
2157 2004-11-02 José Matos <jamatos@lyx.org>
2159 * output_docbook.C (docbook):
2160 * paragraph.C (getID):
2161 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2162 garantee that the output is always legal.
2164 * tabular.C (docbook):
2165 * outputprams.[Ch]: remove mixed contents.
2167 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2169 * text2.C (setCounter): prevent endless loop
2171 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2173 * exporter.C (copyFile): use the mover instead of support::copy()
2174 * exporter.C (Export): pass format and latex name to copyFile()
2175 * exporter.h (addExternalFile): document
2176 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2178 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2180 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2182 2004-10-30 José Matos <jamatos@lyx.org>
2184 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2185 text and no inset or font change. This allows to use CDATA
2186 sections just for the whole paragraph.
2188 2004-10-30 José Matos <jamatos@lyx.org>
2190 * paragraph.C (getFirstWord): remove unused variable.
2192 2004-10-30 José Matos <jamatos@lyx.org>
2194 * paragraph.C (getFirstWord): the content should always be escaped
2196 (simpleDocBookOnePar):
2197 * output_docbook.C (makeEnvironment): replace reference to CDATA
2200 2004-10-30 José Matos <jamatos@lyx.org>
2202 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2204 2004-10-30 José Matos <jamatos@lyx.org>
2206 * output_docbook.C (makeParagraphs):
2207 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2208 standard paragraph has only a given type of content drop the wrapper.
2210 2004-10-29 José Matos <jamatos@lyx.org>
2212 * output_docbook.C (makeEnvironment):
2214 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2216 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2218 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2219 (cleanID): sanitize any id.
2221 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2223 * buffer.C, lyxlex_pimpl.C:
2224 * lyxlex_pimpl.C (setFile):
2225 s/getExtFromContents/getFormatFromContents/
2227 2004-10-28 José Matos <jamatos@lyx.org>
2229 * output_docbook.C (makeEnvironment): move id to broadest possible
2232 * sgml.C (openTag): apply substitution of <> for all attributes.
2234 2004-10-28 José Matos <jamatos@lyx.org>
2236 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2237 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2238 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2240 * sgml.[Ch]: new version for open and closeTag for paragraph and
2241 for strings. Now they handle the ids of paragraphs.
2243 2004-10-26 Angus Leeming <leeming@lyx.org>
2245 * Makefile.am: add mover.[Ch].
2247 * converter.C (convert, move): use the new Movers to move external
2248 files to the temp directory.
2250 * lyx_main.C (init): ensure that the global system_movers data
2253 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2256 * mover.[Ch]: new files, defining a Mover as a utility to move an
2257 external file between directories and, if necessary, manipulate this
2258 file using a helper script.
2260 2004-10-25 José Matos <jamatos@lyx.org>
2262 * output_docbook.C (makeCommand): merge two if's that tested the
2265 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2267 * sgml.C (escapeString): fix warning in a better way
2269 2004-10-25 José Matos <jamatos@lyx.org>
2271 * sgml.C (escapeString): import the require boosts header file for
2272 tie, and avoid a signed unsigned comparison.
2274 2004-10-25 José Matos <jamatos@lyx.org>
2276 * sgml.h: add #include <string>
2278 2004-10-25 José Matos <jamatos@lyx.org>
2280 * sgml.[Ch] (escapeString): new function to escape all the string.
2282 2004-10-24 José Matos <jamatos@lyx.org>
2284 * paragraph.[Ch] (getFirstWord): new function to get the first
2285 word. Useful for description.
2286 (simpleDocBookOnePar): remove depth argument, add another that
2287 says where to start the paragraph.
2289 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2290 use the new functions to fix cleanly the support for descriptions.
2292 2004-10-24 José Matos <jamatos@lyx.org>
2294 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2295 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2296 * output_linuxdoc.C (linuxdocParagraphs):
2297 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2298 add buffer as argument.
2300 2004-10-24 José Matos <jamatos@lyx.org>
2302 * output_docbook.C (makeEnvironment, searchEnvironment): place
2303 CDATA inside paragraphs and fix scope for listitems.
2305 2004-10-24 José Matos <jamatos@lyx.org>
2307 * output_docbook.C: remove using statement for stack.
2309 2004-10-23 José Matos <jamatos@lyx.org>
2311 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2312 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2313 docbook. The new scheme is recursive and makes use of iterators, the
2314 same as latex export works.
2315 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2316 directly with the paragraph contents. This code was moved up to
2317 output_docbook.C (docbookParagraphs).
2318 * sgml.C (openTag, closeTag): removed unneeded newlines.
2319 (closeEnvTags) removed.
2321 2004-10-23 André Pönitz <poenitz@gmx.net>
2323 * undo.C (textUndoOrRedo):
2324 * dociterator.C (asDocIterator): work around crash
2326 * cursor.C (getStatus): replace ASSERT by more verbose error message
2327 and manual correction of the problem. Should increase stability
2328 while providing more sensible information.
2330 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2332 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2334 * bufferlist.C (previous, next): new methods
2337 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2339 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2341 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2342 entities to preamble.
2344 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2346 * messages.C (Pimpl): strip off translation context information
2348 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2350 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2351 the cursor is correct (bug 1694)
2353 2004-10-13 José Matos <jamatos@lyx.org>
2355 * output_docbook.C (docbookParagraphs): fix closing tags in the
2356 end of the document.
2358 2004-10-09 José Matos <jamatos@lyx.org>
2360 * buffer.C: format up to 237.
2361 * bufferparams.C (write): use tostr to convert booleans to strings.
2363 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2365 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2367 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2369 * LaTeX.C: implement use of babel language in xindy.
2371 2004-10-05 José Matos <jamatos@lyx.org>
2373 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2374 Add new translators to help reading and writing the lyx file.
2376 2004-10-05 José Matos <jamatos@lyx.org>
2378 * ParagraphParameters.C (read):
2379 * text.C (readParToken): replace nexToken by more appropriate lex
2382 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2384 * LaTeX.C (runMakeIndex):
2385 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2386 (usually 'makeindex') configurable.
2388 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2389 with a variable rather than with a number.
2391 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2393 * output_latex.C (TeXOnePar): make sure font setting is the first
2394 thing that gets output (and the last at the end). Should fix bug
2397 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * pch.h: use proper signal include
2401 * LaTeX.h: Use preferred calling of Boost.Signal
2404 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2406 * pch.h: dont include <boost/function/function0.hpp>
2408 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2410 * paragraph_pimpl.h: remove usage of ShareContainer
2412 * paragraph_pimpl.C: remove initialization of ShareContainer.
2414 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2418 * BufferView.C (putSelectionAt): change the semantics when
2419 backwards == true: now, this just swaps cursor and anchor wrt the
2422 * BufferView.h (putSelectionAt): add some documentation
2424 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2425 make sure backwardChar is done at least once (to avoid getting
2427 (findNextChange): use putSelectionAt in the forward direction
2428 (operator()): use Paragraph::isWord
2430 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2432 * Spacing.C (set): c_str fix
2434 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2436 * lyx_cb.C (Reconfigure): quote the name of configure script in
2437 case it contains spaces
2439 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2444 (BOOST_LIBS): use top_buildir when looking for the file
2446 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2448 * pch.h: do not use include boost/format.hpp, multiple symbols
2449 will result (gcc bug)
2452 2004-08-23 José Matos <jamatos@lyx.org>
2454 * bufferparams.C (readToken): fix reading of the author field.
2456 2004-08-20 José Matos <jamatos@lyx.org>
2458 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2460 2004-08-20 José Matos <jamatos@lyx.org>
2462 * lyxlex.[Ch] (findToken): remove function.
2464 * ParagraphParameters.C (findToken):
2465 * bufferparams.C (findToken): replace call for previous function
2466 with local copy. This local function has one more argument, the
2467 read string argument.
2469 2004-08-16 José Matos <jamatos@lyx.org>
2471 * ParagraphParameters.C (write):
2472 * Spacing.C (writeFile):
2473 * bufferparams.C (writeLaTeX):
2474 * lyx_cb.C (Reconfigure):
2475 * paragraph.C (write):
2476 * tabular.C (write): remove unnecessary space at end of line.
2479 2004-08-16 José Matos <jamatos@lyx.org>
2481 * text.C (readParagraph): remove debug message.
2483 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2485 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2488 * output_plaintext.C (asciiParagraph): set depth correctly
2490 * outputparams.h: add member depth
2492 * paragraph_funcs.C (ownerPar): remove.
2494 * text2.C (setCounter): remove first_pit; comment out some
2495 non-working code that uses ownerPar
2497 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2500 2004-08-16 José Matos <jamatos@lyx.org>
2502 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2503 For the same level of importance use the same chanel to report problems.
2504 (read): add code to deal with \begin_body and \end_body.
2507 2004-08-15 José Matos <jamatos@lyx.org>
2509 * lyxlex.C (getString): fix comment, buffer::readBody is now
2510 buffer:readDocument.
2512 * tex-strings.C (string_papersize): Default -> default,
2513 Custom -> custom, for consistency with other options.
2515 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2519 * Makefile.am: support pch
2521 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2523 * text.C (readParToken): remove the static LyXFont variable and
2524 pass it as a parameter instead. This fixes a nasty bug where an
2525 inset will be inserted with a bad font in some situations
2526 (readParagraph): adapt
2528 * text2.C (setCounter): reduce number of calls to pars_[pit]
2530 * text.C (singleWidth): add an assert, fix a test
2532 * rowpainter.C (paintText): reduce number of calls to singleWidth
2534 * paragraph.C (isHfill):
2535 (isNewline): ws only
2537 2004-08-14 André Pönitz <poenitz@gmx.net>
2542 * lyxtext.h (several functions): use a Paragraph & argument
2545 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2547 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2549 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2551 * text.C (singleWidth): remove useless test
2553 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2555 * tabular.h: remove bogus comments
2557 * tabular.C (getDescentOfRow):
2558 (isPartOfMultiColumn): add assertions
2560 * lyxlength.C (inPixels): remove #warning
2562 2004-08-14 André Pönitz <poenitz@gmx.net>
2564 * paragraph.h: inline getChar()
2566 * BufferView.h: remove unused declarations
2568 2004-08-14 José Matos <jamatos@lyx.org>
2570 * Buffer.[Ch] (readDocument): new name for old readBody.
2571 * Buffer.C: new file format, new keywords: \begin_document,
2572 \begin_header, \begin_body, \end_body.
2574 * bufferparams.C (readToken): replace all calls to lex.nextToken
2575 by lex.next(). Do the same to eatLine except where really needed.
2577 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2578 line when writing to the lyx file.
2580 * output_plaintext.C (asciiParagraph): fix Bibliography style
2583 * text.C (read): fix end of file handling.
2585 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2587 * MenuBackend.C (Menu::operator[]): new method to access
2588 individual menu items
2589 (Menu::hasFunc): new method. search for an item that corresponds
2591 (MenuBackend::specialMenu): new method
2592 (MenuBackend::expand): if a special menu has been set, skip
2593 entries whose func() appears in this menu
2595 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2597 * text3.C: use Debug::DEBUG a bit more
2599 * text.C (leftMargin): try to simplify a tiny bit change var x to
2600 l_margin. Dont output the wide margins always.
2601 (rightMargin): no margin in inner texts
2603 * rowpainter.h (nestMargin): new func
2604 (changebarMargin): new func
2605 (rightMargin): new func
2607 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2611 * factory.C (createInset): modify setDrawFrame
2613 * cursor.C: use Debug::DEBUG a bit more
2615 2004-08-14 André Pönitz <poenitz@gmx.net>
2618 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2619 cache for all insets in (at least partially) visible (top-level)
2622 * BufferView_pimpl.C: reset external coord cache before every update.
2623 This means the coord cache only contains valid entries.
2625 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2628 * BufferView_pimpl.C (getInsetByCode): move function out of class
2629 and change in to a template in anon namespace. Also fix to do what
2632 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2635 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2637 (breakParagraph): rename par to par_offset and use a local
2638 reference. Add code to keep the language over a rebreak.
2639 (breakParagraphConservative): rename par to par_offset, use a
2641 (mergeParagraph): ditto
2643 (isFirstInSequence): ditto
2644 (outerFont): rename pit to par_offset
2646 * paragraph.C: ws change
2647 * paragraph.h: ditto
2651 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2653 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2656 * paragraph.C (simpleTeXOnePar): when we have a \item with
2657 optional argument, enclose the argument with curly brackets (in
2658 case it contains a closing square bracket)
2662 * text3.C (checkInsetHit): constify
2664 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2666 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2667 documents (bug 1629)
2669 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2671 Fix toggling of collapsable insets with the mouse (bug 1558)
2673 * lyxfunc.C (dispatch): adapt to LCursor changes
2675 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2676 make sure that dispatch is not invoked twice
2678 * cursor.C (needsUpdate): new method
2679 (dispatch): return void
2680 (result): new method, to access the DispatchResult of the cursor.
2682 2004-08-13 José Matos <jamatos@lyx.org>
2684 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2686 2004-08-13 André Pönitz <poenitz@gmx.net>
2688 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2690 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2693 2004-08-12 André Pönitz <poenitz@gmx.net>
2695 * text3.C: take out the 'cursor right' form insertInset and only
2696 do it in those places when it is really needed. Fixes crash on
2699 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2701 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2703 * BufferView_pimpl.C (setBuffer): initialize the current font of
2704 the underlying LyXText
2706 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2708 * kbsequence.C (print): use UI native formatting for menu
2711 * text.C (insertChar): call Paragraph::insertChar with a font
2714 * paragraph.C (insertInset, insertChar): the version that takes a
2715 LyXFont argument is now a wrapper around the other one (the
2716 opposite used to be true).
2718 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2719 argument. Font setting is done in Paragraph now.
2721 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2723 * outputparams.h: add new members intitle and lang.
2725 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2726 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2728 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2730 * text3.C (dispatch): remove special handling of button 4 and 5,
2731 it is now taken care of in the frontend code.
2733 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2735 * Spacing.h: add <string> (STLPort compile fix)
2737 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2739 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2741 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2746 * converter.C (showMessage): inherit from unary_function, make
2749 * buffer.C (writeFile): initialize retval
2751 * InsetList.h: rename private variable list to list_
2752 * InsetList.[Ch]: adjust accordingly.
2754 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2756 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2757 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2758 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2759 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2760 * ParagraphParameters.C, LaTeXFeatures.C: replace
2761 "support/std_sstream.h" with <sstream>
2763 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2766 * lyxsocket.C (LyXServerSocket): ditto
2767 (serverCallback): ditto
2769 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2771 * LaTeXFeatures.C: check release date when loading jurabib.
2773 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2775 * lyxserver.C (startPipe): call register_socket_callback
2776 (endPipe): call unregister_socket_callback
2778 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2781 (LyXServerSocket): register the callback
2782 (LyXServerSocket): unregister the callback
2783 (fd): delete function
2784 (serverCallback): improve error checking and setup the callbacks.
2785 (dataCallback): change arg to fd.
2786 (writeln): new func (copied fro the client socket) used for server
2788 (LyXDataSocket): simplify
2789 (~LyXDataSocket): close ann unregiser callback
2790 (server): delete function
2791 (fd): delete function
2792 (readln): small changes, improve some std::string usage
2793 (writeln): constify a bit
2795 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2797 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2800 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2802 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2803 after it has been populated
2805 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2807 * text2.C (insertInset): move cursor when inserting inset.
2809 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2811 * kbmap.C (findbindings): a couple of new methods. returns a
2812 container of kb_sequence objects. The real work is done by the
2813 private recursive version
2814 (printbindings): uses findbindings to print out a bracketed list
2815 of bindings (renamed from findbinding).
2817 * MenuBackend.C (binding): use kb_keymap::findbindings
2819 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2821 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2823 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2825 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2827 * paragraph.C (isWord): return true on insets that report
2830 * text.C (getWord): use Paragraph::isWord to decide what is in a
2831 word and what is not; fix bug 1609.
2833 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2835 * tex-strings.C: add "none" to string_paperpackages[], fixes
2836 off-by-one-error in the paperpackage selection.
2839 * tex-strings.[Ch]: char const * string[n]
2840 -> char const * const string[]
2842 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2844 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2845 command, return early.
2847 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * debug.h: add DEBUG to enum and fix size of ANY.
2851 * debug.C: add support for Debug::DEBUG
2852 (showTags): cast errorTags.level to unsigned int
2854 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2855 (redoCurrentBuffer): ditto
2856 (updateScrollbar): ditto
2857 * cursor.C (dispatch): ditto
2858 * text2.C (setLayout): ditto
2860 (updateCounters): ditto
2862 (deleteEmptyParagraphMechanism): ditto
2864 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2866 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2867 annotations to cleanup the Makefile slightly.
2869 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2871 * lyxrc.C: do not set user_email to a default value but use empty
2872 instead. The entry used to be translated, which does not work
2873 since at the point where lyxrc is constructed there is no
2874 translation service available
2876 * messages.C (getLocaleDir): remove and use directly
2877 lyx_localedir() instead
2879 2004-06-02 Angus Leeming <leeming@lyx.org>
2881 Fix crash caused by dereferencing null pointer 'exportdata' in
2882 OutputParams by creating a new ExportData variable on the heap,
2883 storing it in a boost::shared_ptr.
2884 The crash was triggered when generating an Instant Preview
2885 of an external inset.
2887 * Makefile.am: add outputparams.C
2889 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2890 (c-tor): allocate memory to it.
2892 * exporter.C (c-tor): associated changes.
2894 2004-06-01 Angus Leeming <leeming@lyx.org>
2896 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2897 contains data before calling isInset(0). (Bug 1513.)
2899 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2901 * exporter.C (checkOverwrite): new method
2902 * exporter.C (copyFile): new method
2903 * exporter.C (Export): copy referenced files to the document dir
2904 * exporter.[Ch]: new class ExportedFile
2905 * exporter.[Ch]: new class ExportData. Contains currently the
2906 names of referenced external files
2907 * outputparams.h: add exportdata member.
2909 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2911 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2914 2004-05-19 Angus Leeming <leeming@lyx.org>
2919 * lyxfunc.C: small changes due to the introduction of namespace
2920 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2922 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2924 * text3.C (dispatch): supress update when only moving the cursor
2925 * cursor.C (selHandle): remove commented code
2927 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2929 * paragraph.C (startTeXParParams): correct column count
2930 * CutAndPaste.C (pasteSelection): remove const_cast
2931 * output_docbook.C (docbookParagraphs): remove const_cast
2932 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2933 const_cast and return ParagraphList::const_iterator
2934 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2935 * output_plaintext.C (writeFileAscii): remove const_cast
2936 * paragraph.[Ch] (simpleTeXOnePar): make const
2937 * paragraph_funcs.C (outerPar): use const iterators
2938 * paragraph_pimpl.C (validate): use const iterators
2939 * text.C (setHeightOfRow): use const iterators
2941 2004-05-17 Angus Leeming <leeming@lyx.org>
2944 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2946 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2947 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2948 if the citation engine has changed.
2950 2004-05-14 José Matos <jamatos@lyx.org>
2952 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2953 if the textclass does not provide it. Have it different for sgml and
2955 support the language of document.
2956 * output_docbook.C (docbookParagraphs):
2957 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2958 first anchor as the id of the paragraph, remove special case code.
2959 * sgml.C (escapeChar): escape only < & >.
2961 2004-05-14 Angus Leeming <leeming@lyx.org>
2963 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2964 dependencies on src/frontends/controllers/biblio.h. Define a
2965 CiteEngine_enum wrapper class to enable the enum to be forward
2968 2004-05-12 Angus Leeming <leeming@lyx.org>
2970 * buffer.C: up LYX_FORMAT to 234.
2971 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2972 use_numerical_citations with a single biblio::CiteEngine cite_engine
2974 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2976 2004-05-13 José Matos <jamatos@lyx.org>
2979 * converter.C (Converter, readFlags): add xml member.
2980 * outputparams.h: add XML flavor.
2981 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2983 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2985 * lyxfunc.C (dispatch):
2986 (getStatus): fix handling of LFUN_SEQUENCE
2988 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2990 * debug.C (showLevel): do not forget the end-of-line marker
2992 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2994 * kbmap.C (read): do not stop parsing a bind file when an error
2997 2004-04-29 Angus Leeming <leeming@lyx.org>
3002 * text2.C: wrap a bunch of #warning statements
3003 inside #ifdef WITH_WARNINGS blocks.
3005 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3007 * buffer.C: increment format to 233.
3009 2004-04-28 Angus Leeming <leeming@lyx.org>
3011 * BufferView_pimpl.C:
3014 s/updateToolbar()/updateToolbars()/
3015 s/Toolbar.h/Toolbars.h/
3017 2004-04-28 Angus Leeming <leeming@lyx.org>
3019 * BufferView.[Ch] (c-tor):
3020 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3021 No longer passes these data to the WorkArea generator.
3023 2004-04-28 Angus Leeming <leeming@lyx.org>
3025 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3027 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3029 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3031 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3033 * output_latex.C (TeXEnvironment): make sure that there is a line
3034 break before \end{foo} for the last paragraph of a document
3035 (TeXOnePar): if the paragraph is at the end of the document (or
3036 inset) and the language has to be reset, then make sure that the
3037 line break is _before_ the language command, not after (fixes bug
3038 1225); also make sure that the language reset command is the first
3039 thing after the paragraph (to ensure proper nesting of
3040 environments and thus fix bug 1404)
3042 2004-04-21 John Levon <levon@movementarian.org>
3045 * ToolbarBackend.C: make "name" be a programmatic name
3046 and a gui_name field.
3048 * lyxfunc.C: display the minibuffer on M-x
3050 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3052 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3055 2004-04-19 Angus Leeming <leeming@lyx.org>
3057 * BufferView_pimpl.C (setBuffer): changed preview interface.
3059 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3062 2004-04-19 John Levon <levon@movementarian.org>
3064 * BufferView_pimpl.C:
3065 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3067 2004-04-05 Angus Leeming <leeming@lyx.org>
3069 * text.C (redoParagraphs): add call to updateCounters(), thereby
3070 fixing the missing "Figure #:" label from the caption of a
3073 2004-04-13 Angus Leeming <leeming@lyx.org>
3075 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3076 cursor is clicked out of an inset.
3078 2004-04-13 Angus Leeming <leeming@lyx.org>
3080 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3081 than an InsetOld one.
3083 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3085 * format.[Ch]: add editor to Format
3086 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3087 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3089 2004-04-08 André Pönitz <poenitz@gmx.net>
3091 * metricsinfo.h: remove PainterInfo::width member
3093 2004-04-08 Angus Leeming <leeming@lyx.org>
3095 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3096 "\providecommand" rather than "\newcommand", thereby preventing
3097 clashes with packages that define "\boldsymbol" themselves.
3100 2004-04-08 Angus Leeming <leeming@lyx.org>
3102 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3103 thereby squashing an unnecessary warning.
3105 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3107 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3110 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3112 * BufferView.C (setCursor): call redoParagraph (some insets could
3114 (putSelectionAt): remove the 'double update' trick
3116 * BufferView_pimpl.C (fitCursor): call refreshPar
3117 (workAreaDispatch): remove an uneeded update call
3118 (dispatch): remove some manual update calls
3120 * cursor.[Ch]: remove cached_y_, updatePos
3121 (selHandle): set noUpdate when appropriate
3123 * lyxfunc.C (dispatch): track if we need an update
3125 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3127 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3128 (paintSelection): cheap optimization, do not call cursorX when not
3130 (paintPars): change signature
3133 (paintTextInset): adjust
3137 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3139 * lengthcommon.C: compilation fix: remove explicit array size from
3140 unit_name[] and friends
3142 2004-04-05 Angus Leeming <leeming@lyx.org>
3144 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3146 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3147 present only for the preferences dialog.
3148 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3150 2004-04-05 Angus Leeming <leeming@lyx.org>
3152 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3153 to enable the frontends to export changes to lyxrc correctly.
3155 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3157 2004-04-07 André Pönitz <poenitz@gmx.net>
3159 * cursor.[Ch] (selClear, adjust): remove math
3161 * cursor_slice.C: more agressive assert
3164 * BufferView_pimpl.C: rework mouse event dispatch
3171 2004-04-05 André Pönitz <poenitz@gmx.net>
3173 * cursor.[Ch] (valign, halign...): remove unneeded functions
3175 2004-04-05 Angus Leeming <leeming@lyx.org>
3177 * lyxlength.[Ch] (unit_name et al.): const-correct.
3179 2004-04-05 Angus Leeming <leeming@lyx.org>
3181 * BufferView_pimpl.C:
3190 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3192 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3194 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3196 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3198 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3199 * BufferView_pimpl.[Ch] (getStatus)
3200 * BufferView.[Ch] (getStatus): add
3201 * lyxfunc.C (getStatus): move lfuns handled in
3202 BufferView::dispatch to te function above
3203 * Cursor.C (setSelection): set selection() = true
3205 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3207 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3209 2004-03-31 Angus Leeming <leeming@lyx.org>
3211 * lyxfunc.C (dispatch): Fall through to the generic
3212 Dialogs::show("preamble").
3214 2004-03-31 Angus Leeming <leeming@lyx.org>
3216 * lyxfunc.C (dispatch): Fall through to the generic
3217 Dialogs::show("spellchecker").
3219 2004-03-31 Angus Leeming <leeming@lyx.org>
3221 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3224 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3229 * insetiterator.[Ch]:
3234 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3236 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3238 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3239 insets where we are putting the cursor.
3241 2004-03-31 Angus Leeming <leeming@lyx.org>
3244 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3246 * lyxrc.[Ch] (read, write): overloaded member functions taking
3247 a std::[io]stream arguments.
3249 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3251 2004-03-31 Angus Leeming <leeming@lyx.org>
3253 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3254 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3256 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3257 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3259 2004-03-31 Angus Leeming <leeming@lyx.org>
3261 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3262 the LFUN_ALL_INSETS_TOGGLE code.
3264 2004-03-30 Angus Leeming <leeming@lyx.org>
3266 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3267 has died. Fall through to the generic Dialogs::show("document").
3269 2004-03-30 Angus Leeming <leeming@lyx.org>
3272 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3273 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3275 * lyxfunc.C (getStatus, dispatch): define the actions for these
3276 lfuns. Little more than a cut and pste job from ControlDocument.C
3278 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3280 2004-03-30 Angus Leeming <leeming@lyx.org>
3283 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3284 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3286 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3287 open/closed state of ollapsable insets. Usage:
3289 all-inset-toggle <state> <name>, where
3290 <state> == "open" || "closed" || "toggle" and
3291 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3293 * lyxtext.h, text2.C (toggleInset): removed.
3295 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3296 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3297 now passes LFUN_INSET_TOGGLE to the found inset.
3299 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3300 is now invoked as "all-insets-toggle toggle branch".
3302 2004-03-30 Angus Leeming <leeming@lyx.org>
3306 * pariterator.[Ch]: added/corrected header blurb.
3308 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3310 * dociterator.[Ch]: add an inset_ member
3311 (backwardPos): implemented
3312 (backwardPos, forwardPos): use inset_ when the stack is empty.
3313 (doc_iterator_begin, doc_iterator_end): implemented
3314 * pariterator.[Ch]: adjust, add begin, end
3315 * insetiterator.[Ch]: adjust, add begin, end
3319 * BufferView_pimpl.C:
3320 * CutAndPaste.C: adjust
3322 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3324 * buffer.C: increment file format to 232.
3325 * LaTeXFeatures.C: add bibtopic package.
3326 * bufferparams.[Ch]: param \use_bibtopic.
3328 * lyxrc.[Ch]: add lyxrc bibtex_command
3329 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3331 * buffer.C: increment file format to 231.
3333 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3335 * dociterator.C: implement forwardPar
3336 * iterators.[Ch]: remove, replaced by
3337 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3339 * BufferView_pimpl.C:
3342 * bufferview_funcs.C:
3348 * Makefile.am: adjust
3350 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3352 * CutAndPaste.C (pasteSelection): fix 2 crashes
3353 (eraseSelection): fix a crash
3354 * paragraph_funcs.C: remove a warning
3356 2004-03-28 Angus Leeming <leeming@lyx.org>
3359 * LyXAction.C (init): new LFUN_PRINT.
3361 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3363 2004-03-27 Angus Leeming <leeming@lyx.org>
3366 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3368 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3370 2004-03-27 Angus Leeming <leeming@lyx.org>
3372 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3373 insetlist always contains non-null pointers to insets.
3375 2004-03-26 Angus Leeming <leeming@lyx.org>
3377 * src/BufferView_pimpl.C:
3378 * src/CutAndPaste.C:
3381 * src/output_plaintext.C:
3382 * src/outputparams.h:
3383 * src/paragraph_funcs.C:
3387 * src/frontends/controllers/ControlErrorList.C:
3388 * src/frontends/gtk/FileDialogPrivate.C:
3389 * src/frontends/gtk/GPainter.C:
3390 * src/frontends/gtk/GToolbar.C:
3391 * src/frontends/qt2/QRef.C:
3392 * src/mathed/math_scriptinset.C: squash compiler warnings.
3394 2004-03-26 Angus Leeming <leeming@lyx.org>
3396 * ispell.C (LaunchIspell::start):
3397 * lyx_cb.C (AutoSaveBuffer::start):
3398 invoke run(DontWait) rather than runNonBlocking().
3400 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3402 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3404 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3406 * kbsequence.C (print): adjust
3408 * kbmap.C (printKeySym): rename and change signature
3409 (printKey): use LyXKeySym::print()
3411 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3413 * undo.C: add using std::advance to compile for stlport
3415 2004-03-24 Angus Leeming <leeming@lyx.org>
3417 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3418 it leads to a crash when no buffer is present.
3420 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3421 Martin Vermeer <martin.vermeer@hut.fi>
3423 * lyxfunc.C (dispatch):
3424 * bufferparams.C (readToken): use the new LColor::setColor
3426 * LColor.[Ch] (setColor): new version that takes two strings as
3427 argument and creates a new color entry if necessary
3429 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3431 * buffer.C (makeLaTeXFile): if the main latex file that is
3432 processed is usually a subdocument of some master, then pretend
3433 for a while that it is actually the master
3435 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3437 * buffer.C (getLabelList):
3438 (getBibkeyList): use getMasterBuffer()
3439 (getMasterBuffer): new method. Returns the main document in the
3440 case where one is using included documents.
3442 2004-03-25 André Pönitz <poenitz@gmx.net>
3446 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3448 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3450 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3451 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3453 * ParameterStruct.h: merge with ParagraphParameters
3455 * lyxtext.h: remove LyXText::parOffset() and getPar()
3457 * text3.C: Remove all 'manual' update calls. We do now one per user
3458 interaction which is completely sufficient.
3462 * BufferView_pimpl.C:
3463 * FontIterator.[Ch]:
3465 * ParagraphParameters.[Ch]:
3470 * cursor_slice.[Ch]:
3477 * output_docbook.[Ch]:
3478 * output_latex.[Ch]:
3479 * output_linuxdoc.[Ch]:
3480 * output_plaintext.[Ch]:
3482 * paragraph_funcs.[Ch]:
3483 * paragraph_pimpl.[Ch]:
3491 * frontends/controllers/ControlDocument.C:
3492 * frontends/controllers/ControlErrorList.C:
3493 * frontends/controllers/ControlSpellchecker.C:
3496 * insets/insetbase.h:
3497 * insets/insetbibitem.C:
3498 * insets/insetbox.C:
3499 * insets/insetbranch.C:
3500 * insets/insetcaption.C:
3501 * insets/insetcharstyle.C:
3502 * insets/insetcharstyle.h:
3503 * insets/insetcollapsable.C:
3504 * insets/insetcollapsable.h:
3505 * insets/insetert.C:
3506 * insets/insetfloat.C:
3507 * insets/insetfoot.C:
3508 * insets/insetmarginal.C:
3509 * insets/insetnote.C:
3510 * insets/insetoptarg.C:
3511 * insets/insettabular.C:
3512 * insets/insettext.C:
3513 * insets/insettext.h:
3514 * insets/insetwrap.C:
3515 * mathed/math_mboxinset.C:
3516 * mathed/math_nestinset.C:
3517 * mathed/math_scriptinset.C:
3518 * mathed/math_scriptinset.h:
3521 2004-03-24 Angus Leeming <leeming@lyx.org>
3523 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3524 deal with any child processes that have finished but are waiting to
3525 communicate this fact to the rest of LyX.
3527 2004-03-24 Angus Leeming <leeming@lyx.org>
3529 64-bit compile fixes.
3531 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3532 (c-tor): pass lyx::pos_types rather than ints.
3534 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3537 * text.C (Delete): compile fix.
3538 (getPar): ensure that function declaration is the same as that in
3541 2004-03-23 Angus Leeming <leeming@lyx.org>
3543 * ispell.C (LaunchIspell):
3544 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3545 a boost::shred_ptr rather than a std::auto_ptr.
3547 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3549 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3550 handle LFUN_FILE_INSERT_*
3552 * lyxrc.C (setDefaults, getDescription, output, read):
3553 * lyxrc.h: remove ps_command
3555 2004-03-22 Angus Leeming <leeming@lyx.org>
3557 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3558 Ensure that error_handler is processed once only and that all data
3559 is saved before attempting to output any warning messages.
3561 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3563 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3565 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3567 2004-03-19 André Pönitz <poenitz@gmx.net>
3569 * cursor.[Ch] (reset): take main text inset as argument
3571 * BufferView: adjust
3572 * BufferView_pimpl.C: adjust
3574 * paragraph.[Ch]: fix completely broken operator=()
3576 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3578 * LColor.C (getFromLyXName): make sure that the color name is used
3581 2004-03-17 Angus Leeming <leeming@lyx.org>
3584 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3586 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3587 dialog and to kill a forked process.
3589 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3591 * text2.C (setCursorFromCoordinates): fix font problem
3593 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3595 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3596 bogus "rebuild cursor" code
3598 2004-03-11 André Pönitz <poenitz@gmx.net>
3600 * buffer.[Ch]: use InsetText instead of LyXText as container for
3603 * dociterator.[Ch]: drop the BufferView * member which is not needed
3604 anymore after the change to buffer.C
3606 * paragraph_funcs.C:
3610 * BufferView_pimpl.[Ch]:
3612 * cursor_slice.[Ch]: adjust
3614 * text3.C: fix bug in mathDispatch
3616 2004-03-08 André Pönitz <poenitz@gmx.net>
3618 * undo.[Ch]: use 'StableDocumentIterator' as base for
3621 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3624 * bufferparams.[Ch]: add jurabib support and param.
3626 * LaTeX.C: add FIXME/comment.
3628 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3630 * buffer.C: increment file format to 230.
3632 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3634 * cursor.C (dispatch): avoid infinite loops
3636 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3638 * rowpainter.C (paintSelection): fix x coordinates
3640 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3642 * text.C (rowBreakPoint): fix breaking before displayed insets
3644 2004-03-01 André Pönitz <poenitz@gmx.net>
3646 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3648 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3652 * BufferView_pimpl.C:
3660 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3666 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3667 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3669 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3671 * Bidi.[Ch] (computeTables): const correctness
3672 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3673 fill_hfill, fill_label_hfill and x from Row
3674 * lyxtext.h: prepareToPrint returns a RowMetrics
3675 * rowPainter.C: adjust
3676 * text.C (prepareToPrint): use width, not textWidth. adjust
3677 (redoParagraphInternal, cursorX): adjust
3678 * text2.C (getColumnNearX): adjust
3679 (init): put a default value to the top LyXText::width
3681 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3683 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3685 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3687 * lyxtext.h: add FontIterator class
3689 * text.C (FontIterator, operator*, operator->, operator++): add
3690 (rowBreakPoint, setRowWidth): adjust (fixing a
3693 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3695 * BufferView_pimpl.C (workAreaDispatch): allow also
3696 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3698 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3700 * text.C (rowBreakPoint): fix a bug showing with very large insets
3702 2004-02-25 André Pönitz <poenitz@gmx.net>
3705 * cursor.[Ch]: move some mathed specific code to mathed
3707 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3709 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3710 use_tempdir in preferences
3711 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3713 * lyx_main.C: ensure that tempdir is valid
3714 * lyxlex.h: correct typo
3715 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3716 * paragraph.[Ch] (isMultiLingual): make const
3717 * cursor.[Ch] (openable): make const
3719 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3721 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3723 2004-02-20 André Pönitz <poenitz@gmx.net>
3725 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3727 * cursor.[Ch]: prepare for localized getStatus()
3733 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3735 2004-02-20 André Pönitz <poenitz@gmx.net>
3737 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3739 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3741 * text2.C (setCursorFromCoordinates): switch to absolute coords
3743 (cursorDown): adjust
3744 * text3.C (dispatch): adjust
3746 2004-02-16 André Pönitz <poenitz@gmx.net>
3748 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3751 * cursor_slice.[Ch]: remove unneeded acessor function
3753 * lyxtext.h: rename rtl() to isRTL()
3761 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3763 * rowpainter.C (paintSelection): coord fix
3765 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3767 * Spacing.C: compile fix
3769 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3771 * cursor.C (dispatch): restore current_ before returning
3773 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3775 * text2.C (cursorUp, cursorDown): fix coords
3778 2004-02-12 André Pönitz <poenitz@gmx.net>
3783 * text3.C: add LCursor & parameter to most cursor movement functions
3784 remove usage of LyXText::cursorRow() and cursorPar()
3786 * cursor.[Ch]: add textRow() needed members
3789 * BufferView_pimpl.C:
3792 * BufferView_pimpl.C: adjust
3794 2004-02-11 André Pönitz <poenitz@gmx.net>
3798 * BufferView_pimpl.C: shift undo/redo handling
3800 * cursor.[Ch]: fix mathed crash
3803 * lyxtext.h: move selectionAsText to LCursor
3811 * rowpainter.C: fix excessive drawing
3813 2004-02-06 André Pönitz <poenitz@gmx.net>
3816 * BufferView_pimpl.[Ch]:
3817 * text3.C: move some text specific LFUN handling
3819 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3821 * text3.C (checkInsetHit): adjust coords
3822 * text2.C (getColumnNearX): adjust coords
3823 (edit): adjust coords
3824 * text.C (getRowNearY): add two asserts
3826 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3829 * format.C: add using std::distance to compile on gcc 2.95/stlport
3831 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3833 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3835 2004-02-04 André Pönitz <poenitz@gmx.net>
3837 * BufferView.[Ch] (insertInset):
3838 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3843 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3845 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3846 on the default clause of the switch
3847 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3848 wasn't catched by LCursor::dispatch
3850 2004-02-03 André Pönitz <poenitz@gmx.net>
3853 * cursor.[Ch]: some additional asserts
3855 * undo.[Ch]: remove LyXText dependency in interface
3859 * lyxtext.h (firstPar, lastPar): remove dead functions
3864 * paragraph.[Ch]: adjust
3866 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3868 * lyxfind.C (find): fix argument order in call to ::find
3870 2004-02-02 André Pönitz <poenitz@gmx.net>
3872 * cursor.[Ch]: remove direct access to anchor
3874 * text.C: remove findText() hack
3876 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3878 * iterators.[Ch] (lockPath): remove in favour of...
3879 * BufferView.[Ch] (setCursor): this addition
3880 * BufferView.C (putSelectionAt): adjust
3881 * undo.C (performUndoOrRedo): adjust
3882 * lyxfunc.C (dispatch): adjust
3884 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3886 * iterators.C (lockPath): add a missing slice
3887 * undo.C (performUndoOrRedo): remove redundant positioning code
3889 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3891 * vc-backend.C (scanMaster): ";" -> ';'
3893 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3895 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3896 std::binary_function
3898 * lyxtextclass.C (compare_name): rename to...
3899 (LayoutNamesEqual): ...this
3901 * lyxlex_pimpl.C (compare_tags): inherit from
3902 std::binary_function, put back into anon namespace
3904 * lyxfind.C (MatchString): inherig from std::binary_function
3905 (findChange): use empty() istead of !size()
3907 * format.C (FormatNamesEqual): new functor
3914 * converter.C (compare_Converter): rename to...
3915 (ConverterEqual): ...this, and fixup a bit.
3916 (getConverter): use it, and make function const
3917 (getNumber): use it, and make function const
3921 * bufferlist.C: add using boost::bind
3923 * MenuBackend.C (MenuNamesEqual): new functor
3924 (hasMenu): use it, and make function const
3925 (hasSubmenu): use nested bind to get rid of compare_memfun.
3927 2004-01-30 André Pönitz <poenitz@gmx.net>
3929 * BufferView_pimpl.C:
3932 * cursor_slice.[Ch]:
3935 * paragraph_funcs.C:
3936 * paragraph_funcs.h:
3940 * text3.C: move some of the edit(x,y) handling to the insets
3941 some coordinate changes.
3943 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3945 * text.C: add using statements for std::advance and std::distance
3947 * paragraph.C: add using statement for std::distance
3949 * lyxfind.C: add using statement for std::advance
3951 * cursor.C (region): remove std:: from swap
3952 (openable): use nucleus in stead of operator->
3954 * BufferView.C: add using statements for std::distance and std::swap
3956 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3958 * iterators.C: Remove the pimple, move the needed structures to
3959 the header file. Create accessor for the positions stack.
3960 (asPosIterator): remove function
3962 * PosIterator.C (PosIterator): move constructors to top of file
3963 (PosIterator): reimplement the constructor taking a ParIterator in
3965 (setFrom): new function
3966 (operator!=): inline it
3968 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * lyxfind.C (replaceAll): use std::advance
3972 * iterators.h: inherit from std::iterator.
3974 * PosIterator.C (advance, distance): remove
3975 * PosIterator.h: interit from std::iterator.
3977 2004-01-26 André Pönitz <poenitz@gmx.net>
3980 * BufferView_pimpl.[Ch]:
3984 * bufferview_funcs.C:
3994 * output_linuxdoc.C:
3995 * output_plaintext.C:
3997 * paragraph_funcs.[Ch]:
3998 * paragraph_pimpl.[Ch]:
4004 * text3.C: more IU: dumps most of the rest of the mathcursor
4005 implementation into cursor.[Ch]; "globalize" a bit of it.
4007 2004-01-25 Angus Leeming <leeming@lyx.org>
4009 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4011 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4013 * LaTeXFeatures.h: add nice_ and nice() const
4014 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4016 2004-01-20 André Pönitz <poenitz@gmx.net>
4019 * BufferView_pimpl.C:
4021 * bufferview_funcs.C:
4023 * cursor_slice.[Ch]:
4034 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4035 LCursor and mathcursor parts to LCursor and InsetBase.
4037 2004-01-15 André Pönitz <poenitz@gmx.net>
4039 * cursor_slice.[Ch]: add a few covienience functions
4041 * funcrequest.[Ch]: remove BufferView * member
4043 * BufferView_pimpl.C:
4050 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4052 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4054 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4055 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4057 2004-01-13 André Pönitz <poenitz@gmx.net>
4060 * lyxtext.h: hide cursor and selection anchor behind accessor function
4063 * BufferView_pimpl.[Ch]:
4065 * bufferview_funcs.C:
4075 * cursor_slice.[Ch]: some integer type changes for inset unification
4077 * lyxcursor.[hC]: remove, it's CursorSlice now.
4080 * BufferView_pimpl.[Ch]:
4081 * bufferview_funcs.C:
4087 * textcursor.[Ch]: adjust
4089 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4091 * text2.C (undoSpan): add and use
4092 * text.C (breakParagraph): use undoSpan (fix bug 578)
4095 2004-01-08 Angus Leeming <leeming@lyx.org>
4097 * BufferView_pimpl.C (MenuInsertLyXFile):
4098 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4099 * lyxfunc.C (menuNew, open, doImport):
4100 FileFilterList change to the FileDialog open and save functions.
4102 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4104 * ShareContainer.h: make isEqual and isUnique adaptable
4106 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4108 2004-01-07 Angus Leeming <leeming@lyx.org>
4111 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4113 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4115 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4116 functions replacing find, replace and replaceAll.
4118 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4119 LFUN_WORDFIND(FORWARD|BACKWARD).
4121 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4123 * text.C (breakParagraph): remove an outdated #warning
4125 2004-01-07 André Pönitz <poenitz@gmx.net>
4127 * lyxfind.C: somewhat clearer logic
4129 * text.C: prevent crash in cursorX on unitialized row cache
4131 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4133 * lyxcursor.[Ch] (operator>): add
4134 * textcursor.C (selStart, selEnd): use std::min and std::max
4136 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * Chktex.C: include boost/format.hpp
4140 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * InsetList.C: replace functor MathcIt with adaptable functor
4144 (insetIterator): modify accordingly
4146 * BranchList.h: move the BranchNamesEqual functor here from...
4147 * BranchList.C: ... to here
4149 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4151 (add): replace a finding loop with std::find_if.
4153 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4155 * output_docbook.C: moving LatexParam functionality into
4158 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4160 * buffer.C: increment format to 229.
4162 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4165 * lyx_sty.[Ch]: remove minipageindent_def
4171 * text3.C: remove LFUN_INSET_MINIPAGE
4173 2003-12-28 Angus Leeming <leeming@lyx.org>
4175 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4177 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4179 * text2.C (setParagraph): fix off-by-one crash
4181 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4183 * output_docbook.C: header stuff for AGU
4185 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4187 * text2.C (redoCursor): remove
4190 * BufferView_pimpl.C: remove calls to redoCursor and
4191 setCursor(cursor.par(), cursor.pos()) all around
4193 2003-12-15 Angus Leeming <leeming@lyx.org>
4195 * buffer.C: up the format to 228.
4197 2003-12-15 André Pönitz <poenitz@gmx.net>
4199 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4204 * BufferView_pimpl.C:
4213 2003-12-15 Angus Leeming <leeming@lyx.org>
4215 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4216 than getFromGUIName to manipulate the color.
4218 2003-12-14 Angus Leeming <leeming@lyx.org>
4220 * BranchList.[Ch]: minimize the API.
4221 (Branch::getBranch, getColor): now return a 'const &'.
4222 (Branch::setSelected) now returns a bool set to true if the
4223 selection status changes.
4224 (BranchList::clear, size, getColor, setColor, setSelected,
4225 allBranches, allSelected, separator): removed.
4226 (BranchList::find): new functions, returning the Branch with
4228 (BranchList::add, remove): return a bool indicating that
4229 the operation was successful.
4231 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4232 new InsetBranch::isBranchSlected member function.
4234 * LColor.[Ch]: mimimize the API.
4235 (fill): renamed as addColor and made private.
4236 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4237 versions of these functions taking a string arg have been removed.
4239 * bufferparams.C (readToken):
4240 * lyxfunc.C (dispatch):
4241 * lyxrc.C (read): changes due to the altered BranchList and
4244 * factory.C (createInset, readInset): changes due to altered
4247 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4250 * lyxfunc.C: remove insetminipage. "minipage-insert"
4251 now produces a frameless minipage box inset.
4253 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4255 * textcursor.[Ch] (selStart,selEnd): add new methods
4256 remove selection::start, end, use LyXCursor::operator<
4257 * lyxcursor.[Ch] (operator<): add
4258 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4259 * BufferView.[Ch] (unsetXSel): add
4260 * text2.C (clearSelection): use unsetXSel,adjust
4263 * rowpainter.C: adjust
4264 * bufferview_funcs.C (put_selection_at): adjust
4266 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4268 * BufferView_pimpl.C: small coord. correction
4270 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4272 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4273 dragging over the splash screen.
4275 2003-12-11 Angus Leeming <leeming@lyx.org>
4277 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4278 as it is now handled in LyXText::dispatch.
4280 * text3.C (doInsertInset): remove a level of nesting.
4282 2003-12-11 Angus Leeming <leeming@lyx.org>
4284 * factory.C (createInset): changes due to the changed interface to
4285 InsetCommandMailer::string2params.
4287 2003-12-10 Angus Leeming <leeming@lyx.org>
4289 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4290 'dialog-show-new-inset <inset name>'
4292 2003-12-10 Angus Leeming <leeming@lyx.org>
4294 * buffer.C: up the format to 227.
4296 * factory.C: the box inset is now identified simply by 'Box'.
4298 2003-12-10 Angus Leeming <leeming@lyx.org>
4300 * buffer.C: up the format to 226.
4302 * factory.C: the note inset is now identified simply by 'Note'.
4304 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4306 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4307 when a pit is enough. Standarize a couple of loops.
4309 2003-12-05 Angus Leeming <leeming@lyx.org>
4311 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4312 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4313 data to the re-worked "log" dialog.
4315 2003-12-03 André Pönitz <poenitz@gmx.net>
4321 * paragraph_funcs.C:
4323 * text2.C: use Inset::getText instead of Inset::getParagraph
4325 2003-12-03 André Pönitz <poenitz@gmx.net>
4329 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4330 InsetText::read() as LyXText::read()
4332 2003-12-02 Angus Leeming <leeming@lyx.org>
4334 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4335 type. Add a comment in the implementation that the function uses
4336 the stream's bad() function rather than fail() as the std::streams
4339 2003-12-02 André Pönitz <poenitz@gmx.net>
4341 * lyxlex.[Ch]: make interface more similar to std::stream
4343 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4345 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4347 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4349 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4351 * vspace.[Ch]: remove VSpace::NONE
4353 2003-12-01 André Pönitz <poenitz@gmx.net>
4356 * lyxtext.h: move ParagraphList member to LyXText
4357 rename LyXText::ownerParagraphs to LyXText::paragraph
4360 * bufferview_funcs.C:
4370 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4372 * undo.C: fix cursor positioning
4374 2003-12-01 John Levon <levon@movementarian.org>
4376 * BufferView_pimpl.C: fix a crash on exit with
4379 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4381 * BranchList.C: fix setSelected() method.
4383 2003-11-28 André Pönitz <poenitz@gmx.net>
4385 * ParagraphParameters.[Ch]:
4386 * ParameterStruct.h: remove space above/below from Paragraph to
4389 * BufferView_pimpl.C:
4395 * paragraph_funcs.C:
4401 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4403 * factory.C: Syntax change for CharStyles
4405 2003-11-28 André Pönitz <poenitz@gmx.net>
4410 * buffer.[Ch]: move LyXText member
4412 2003-11-28 André Pönitz <poenitz@gmx.net>
4414 * BufferView.[Ch]: make LyXText * text a private member
4416 * BufferView_pimpl.C:
4427 * output_plaintext.C: cleanup
4429 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4432 * lyxtextclass.[Ch]: parametrize SGML document header
4434 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4437 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4440 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4442 * text2.C (setFont): rework using PosIterator (no more recursive)
4443 (setCharFont): no more needed
4444 (setLayout): no more selection cursors fiddling (done by redoCursor)
4445 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4446 destroy remaining ones)
4448 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4450 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4452 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4455 * text3.C: adjust + re-allow multi par depth changes
4456 * textcursor.C: simplify a bit
4458 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4464 * src/output_docbook.C:
4465 * src/output_latex.C:
4470 * src/text2.C: Introducing a number of tags parametrizing various
4471 XML formats that we may want to support
4473 2003-11-25 André Pönitz <poenitz@gmx.net>
4475 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4477 * lyxtext.h (leftMargin/rightMargin): simplify interface
4484 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4486 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4487 master file to any child files. Fixes bug 546.
4489 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4491 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4493 2003-11-24 André Pönitz <poenitz@gmx.net>
4495 * rowpainter.C: simplification
4497 * text2.C (updateCounters): remove call to redoParagraph on
4498 changed labels as this is far too expensive.
4500 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4502 * converter.C (convert): fix a crash: this function gets
4503 called with buffer == 0 from importer code.
4505 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4507 * text3.C (cursorPrevious): make sure that we do not compare
4508 iterators form different containers.
4511 * rowpainter.C (paintSelection): make sure that we do not compare
4512 iterators from different containers.
4514 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4515 iterators from different ParagraphList containers.
4518 * text2.C (LyXText): change order of initialization slightly
4519 (operator=): new function. copy all variables except cache_par_
4520 (moveUp): make sure that we do not compare iterators from
4521 different ParagraphList constainers.
4524 * text.C (firstPar): new function
4525 (lastPar): new function
4526 (endPar): new function
4528 * lyxtext.h: move things around and group public functions, public
4529 variables, private functions, private variables
4531 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4533 * factory.C: change call to InsetERT constructor to avoid
4534 additional invocation of method status
4535 * text2.C (toggleInset): remove redundant update() call
4536 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4537 instead of a Bufferview pointer
4539 2003-11-21 André Pönitz <poenitz@gmx.net>
4541 * rowpainter.C: simplification
4543 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4545 * text3.C (dispatch): make possible to extend a word/row selection
4548 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4550 * lyxtext.h: x0_,y0_ -> xo_,yo_
4551 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4552 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4553 * rowpainter.C (paintRows): paint full paragraphs
4555 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4557 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4560 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4562 * lyxtext.h: add x0_, y0_
4563 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4564 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4566 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4568 * text2.C (setCursorIntern): move the x_target update here *
4569 * text3.C: change some bv() to true/false in calls to
4570 cursorUp/Down/Right/Left
4571 * cursor.C: use helper function.
4573 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4575 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4576 * paragraph_funcs.[Ch]: correct comment
4577 * rowpainter.C: do not paint selections away from bv->cursor()
4578 Fix a long standing selection painting bug.
4579 * text3.C: generalize mouse-selection code to LyXTexts other that
4581 * textcursor.C: do not use y coords if we can use par offsets
4583 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4585 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4586 cursor position after e.g. inset insert)
4588 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4590 * lyxfind.C (replace): adjust to locking removal + some
4593 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4595 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4598 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4601 * output_docbook.C: XML sanitation: new layout
4602 parameters InnerTag and CommandDepth
4604 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4606 * BufferView_pimpl.C:
4608 * text3.C: Fix the insertion and modification of button-style
4611 2003-11-13 André Pönitz <poenitz@gmx.net>
4613 * InsetList.[Ch]: remove deleteLyXText
4615 * paragraph.[Ch]: cache beginOfBody position
4620 * text3.C: remove superfluous update() calls
4624 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4626 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4627 * BufferView.C (fitLockedInsetCursor): remove
4628 * cursor.[Ch] (getDim): add
4629 * text.C (getRowNearY): add faster version
4630 * text3.C: remove some update calls
4632 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4644 * text3.C: The Character Style /XML short element patch.
4646 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4649 * factory.C: Small step to solving 'unable to insert some insets'
4652 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4654 * cursor.[Ch] (updatePos): new function for updating the y
4655 position of the tip inset
4656 * bufferview_funcs.C (put_selection_at):
4657 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4659 2003-11-11 André Pönitz <poenitz@gmx.net>
4661 * text.C: remove big comment on invalid Paragraph pointers as it is
4664 2003-11-11 André Pönitz <poenitz@gmx.net>
4666 * text_funcs.[Ch]: merge with ...
4674 * Makefile.am: remove text_funcs.[Ch]
4676 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4678 * cursor.C (getPos): return absolute cached y coord
4680 * BufferView_pimpl.C (fitCursor): new simplistic code
4681 (workAreaDispatch): add a fitCursor call
4683 2003-11-10 André Pönitz <poenitz@gmx.net>
4686 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4688 2003-11-10 André Pönitz <poenitz@gmx.net>
4690 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4691 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4692 indicate that the cursor needs to leave an inset
4694 * lyxtext.h: remove inset locking
4696 * cursor.[Ch]: re-implement functionality provided by inset locking
4699 * BufferView_pimpl.[Ch]:
4701 * bufferview_funcs.[Ch]:
4713 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4715 * PosIterator.[Ch]: replace the stack with a vector, add inset
4717 * iterators.[C]: adjust
4719 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4721 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4723 * paragraph_funcs.C (readParToken): put the correct id in the
4724 error item, not the id of the top paragraph
4726 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4728 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4729 * bufferview_funcs.C (put_selection_at): use the above
4731 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4733 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4735 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4737 * output_linuxdoc.h:
4738 * output_plaintext.h:
4740 * output_docbook.h: add #include statements
4742 2003-11-05 José Matos <jamatos@lyx.org>
4744 * output_docbook.[Ch]:
4745 * output_latex.[Ch]:
4746 * output_linuxdoc.[Ch]:
4747 * output_plaintext.[Ch]: New files for output formats.
4748 * output.[Ch]: New file for helper functions.
4751 * paragraph_funcs.[Ch]: output functions moved to new files.
4753 * outputparams.h: rename of latexrunparams.h
4761 * paragraph_funcs.[Ch]:
4762 * paragraph_pimpl.[Ch]:
4763 * tabular.[Ch]: rename ascii to plaintext
4764 and LatexRunParams to OutputParams.
4766 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4768 * iterators.[Ch] (text): require bv argument
4769 * undo.C (recordUndo):
4770 * lyxfunc.C (dispatch):
4771 * bufferview_funcs.C (put_selection_at): adjust
4773 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4775 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4777 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4779 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4782 2003-11-04 André Pönitz <poenitz@gmx.net>
4784 * cursor.[Ch]: restructure
4787 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4789 * iterators.[Ch] (asCursor): remove
4791 * lfuns.h: remove LFUN_INSET_EDIT
4797 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4799 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4801 * lyxfind.[Ch]: complete overhaul
4802 * BufferView_pimpl.C:
4804 * paragraph.[Ch] (insert): add
4806 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4810 * text.C: remove dead spellcheck code
4812 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4814 * dispatchresult.h: add a val setter
4816 * cursor.C (dispatch): use a tempvar for data_[i]
4818 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4820 * PosIterator.[Ch]: compile fix
4822 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4824 * text.C (cursorPar): deactivate the cursor cache
4826 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4828 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4830 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4832 * text3.C (dispatch): adjust for new DisptchResult semantics.
4834 * lyxfunc.C (dispatch): handle update when return from
4835 Cursor::dispatch, adjust for new DispatchResult semantics.
4837 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4838 DispatchResult(true) mean to not update. Add class functions for
4839 setting dispatched and update, as well as reading.
4841 * cursor.C (dispatch): don't handle update here
4843 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4845 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4846 * trans_mgr.C: adjust
4848 * paragraph_funcs.C (readParToken): exception safety
4850 * lyxvc.h: store the vcs pointer in a scoped_ptr
4853 * lyxsocket.C (serverCallback): exception safety
4855 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4857 * ispell.C (clone): make it return a auto_ptr
4859 * factory.C (createInset): exception safety
4860 (readInset): exception safety
4862 * bufferlist.C (newBuffer): exception safety
4864 * Thesaurus.C (Thesaurus): use initialization for aik_
4866 * MenuBackend.C (expandToc): exception safety.
4868 2003-11-03 André Pönitz <poenitz@gmx.net>
4872 * bufferview_funcs.C: remove getInsetFromId()
4875 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4881 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4883 * PosIterator.C (distance, advance): new
4884 * bufferview_funcs.[Ch] (put_selection_at): new
4885 * iterators.[Ch] (lockPath): new
4887 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4889 * iterators.[Ch] (asPosIterator): added
4890 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4891 * PosIterator.[Ch]: added
4893 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * cursor.C (dispatch):
4898 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4900 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4901 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4902 contructor, add a class function dispatched. Remove operator>=
4904 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4906 * debug.C: only use the default constructor for debugstream
4909 * main.C (main): include debug.h and setup the lyxerr streambuf
4912 2003-10-31 José Matos <jamatos@lyx.org>
4914 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4916 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4917 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4918 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4919 * paragraph_pimpl.C (simpleTeXSpecialC):
4920 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4921 add LatexRunParams argument.
4923 * exporter.C (Export): change call accordingly.
4925 * latexrunparams.h: add new member to take care of the other backends.
4926 2003-10-30 José Matos <jamatos@lyx.org>
4928 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4929 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4930 factorise code for paragraph output.
4932 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4935 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * text3.C (dispatch):
4938 * lyxfunc.C (dispatch):
4939 * cursor.C (dispatch):
4940 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4942 * dispatchresult.h: make the dispatch_result_t ctor explicit
4944 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4947 * buffer.C: small refactoring of docbook stuff
4949 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4951 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4954 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4956 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4957 operator dispatch_result_t, and operators for == != and >=
4959 * cursor.C (dispatch): adjust for operator dispatch_result_t
4960 removal. comment out call to update
4962 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4964 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4972 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4975 * dispatchresult.h: new file, DispatchResult broken out of
4978 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4980 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4982 * text.C (rowBreakPoint): put a hack inside #if 0
4984 2003-10-28 André Pönitz <poenitz@gmx.net>
4988 * paragraph_funcs.C:
4991 * text2.C: general cleanup (lots of small stuff)
4993 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4995 * text2.C (cursorEnd): simple fix to the "end key goes to one
4996 before the end on last row" bug
4998 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5000 * text.C (backspace): fix the "zombie characters"
5002 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5004 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5006 2003-10-27 André Pönitz <poenitz@gmx.net>
5008 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5010 * factory.C: handle new InsetPagebreak, InsetLine
5012 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5013 and move handling into new InsetPagebreak, InsetLine
5015 * BufferView_pimpl.C:
5017 * ParagraphParameters.C:
5018 * ParameterStruct.h:
5023 * paragraph_funcs.C:
5024 * paragraph_pimpl.C:
5030 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5033 * lyxrow_funcs.[Ch]:
5039 * text3.C: remove lastPos uses in favour of Row::endpos
5041 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5043 * undo.C (performUndoOrRedo): fix two crashes by setting a
5044 cursor by hand and reordering some calls. Use bv->lockInset instead
5045 of inset->edit because the latter loses cursor information
5047 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5049 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5051 (rowBreakPoint): fix width. change point to point + 1.
5052 Add a missing check.
5054 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5057 * lyxfunc.C: fix (at least partly) the problems
5058 with the Nav menu and headers inside branch insets
5061 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5063 * paragraph.C (getChar): add strong asserts
5065 * lyxrow_funcs.C (lastPos): remove hideous hack
5067 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5068 (fill): adjust to that (avoid an infinite loop)
5070 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5072 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5074 2003-10-23 André Pönitz <poenitz@gmx.net>
5076 * RowList_fwd.h: change list<> to vector<> to gain speed
5077 after suggestion from Alfredo
5079 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5081 * lyxtext.h: move the bidi stuff from here...
5084 * Bidi.[Ch]: ... to here
5086 2003-10-23 André Pönitz <poenitz@gmx.net>
5089 * text.C (isLastRow, isFirstRow): new functions
5091 * paragraph.h: new width cache member
5093 * rowpainter.C: replace RowList::iterator with Row & where possible
5095 * lyxfunc.C: replace several view()->text with a single call
5097 * toc.C: fix 'unused' warning
5099 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5101 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5102 when woring with stream::pos_type
5103 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5105 2003-10-22 André Pönitz <poenitz@gmx.net>
5108 * text.C: use Row & instead of RowList::iterator
5110 * lyxrow.h: rename end() to endpos()
5116 2003-10-22 Angus Leeming <leeming@lyx.org>
5118 * buffer.[Ch] (fully_loaded): new member function, returning true
5119 only when the file has been loaded fully.
5120 Used to prevent the premature generation of previews and by the
5121 citation inset to prevent computation of the natbib-style label.
5123 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5124 templates are all set up.
5126 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5128 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5130 * text.C: fixed an "oops" in the "is a bit silly"
5133 2003-10-21 André Pönitz <poenitz@gmx.net>
5135 * FuncStatus.[Ch]: small stuff, whitespace
5137 * lyxfont.[Ch]: operator<<() for debug reasons
5141 * lyxtext.h: whitespace, spelling
5143 * paragraph.C: naming of variables
5146 * text2.C: small stuff
5149 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5151 * text.C: (1) finish off the inset display() work;
5152 (2) fix the "is a bit silly" bug (accessing char
5155 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5157 * text.C: re-introduce display() for insets, fixing the
5158 various bugs (stretch of line above, math inset
5161 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5163 * text.C (rightMargin): remove spurious semicolon
5165 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5168 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5170 * text3.C: fix one crash due to wrong cursor def
5172 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * vc-backend.C (scanMaster): make the regex static
5176 * LaTeX.C (scanAuxFile): make the regexs static
5178 * text3.C (doInsertInset, dispatch, dispatch):
5179 * text2.C (cursorUp, cursorDown):
5180 * text.C (selectNextWordToSpellcheck):
5181 * BufferView_pimpl.C (dispatch):
5182 * lyxfunc.C (dispatch): localDispatch -> dispatch
5184 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5186 * lyxsocket.C: include <cerrno>
5188 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5190 * lyxfunc.C (dispatch): remove textcache stuff
5192 * bufferlist.C (release): remove textcache stuff
5195 * TextCache.C: delete file
5196 * TextCache.h: delete file
5198 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5200 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5201 delete of the bv_->text.
5202 (resizeCurrentBuffer): remove texcache stuff
5203 (workAreaResize): ditto
5205 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5207 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5210 2003-10-16 André Pönitz <poenitz@gmx.net>
5217 * text3.C: speed up by storing y positions per paragraph plus per-row
5218 offset instead of having a 'full' y position in the row.
5220 2003-10-15 André Pönitz <poenitz@gmx.net>
5224 * undo.[Ch]: make undo aware of inner insets
5226 2003-10-14 Angus Leeming <leeming@lyx.org>
5228 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5229 static member functions LyX::ref() and LyX::cref.
5230 (lastfiles): new accessor functions for the new lastfiles_ member var.
5231 (addLyXView, views_): add a new LyXView to the list of views_.
5232 (updateInset): loop over all LyXViews to call their own updateInset
5233 member function, returning a pointer to the Buffer owning the inset.
5235 * BufferView_pimpl.C (loadLyXFile):
5236 * MenuBackend.C (expandLastfiles):
5237 * bufferlist.C (MenuWrite, QuitLyX):
5238 lastfiles is no longer a global variable.
5239 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5241 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5242 static function. Access through LyX::cref().emergencyCleanup().
5244 2003-10-14 André Pönitz <poenitz@gmx.net>
5246 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5248 * undo.[Ch]: restoring part of 'undo in insets'
5251 * undo_funcs.[Ch]: merge with undo.[Ch]
5253 * tabular.C: small cleansing stuff
5255 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5257 * paragraph_funcs.C (readParToken): report unknown insets as error
5258 boxes. Use the outer paragraph as location (also for unknown
5261 * factory.C (readInset): do not abort on reading an unknown inset.
5262 Eat it and return 0.
5264 2003-10-13 Angus Leeming <leeming@lyx.org>
5266 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5268 * lyxrc.C: displayTranslator is now a function,
5269 declared in GraphicsTypes.h.
5271 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5273 * format.C: new placeholder $$a to pass the socket address.
5275 * bufferlist.[Ch]: new function getBufferFromTmp.
5277 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5278 files in the temporary dir.
5280 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5282 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5284 * Makefile.am: add lyxsocket.[Ch].
5286 * lyx_main.C (error_handler): handle SIGPIPE.
5288 2003-10-13 André Pönitz <poenitz@gmx.net>
5290 * BufferView_pimpl.C:
5295 * undo_funcs.[Ch]: use paroffset_type instead of
5296 ParagraphList::iterators to prevent multiple conversion
5297 (and get a more robust interface)
5299 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5301 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5303 * text3.C (dispatch): ditto
5305 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5307 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5308 move the onlyfile, use onlyfile instead of foundfile in a couple
5311 * DepTable.C (update): flush the error stream a bit more
5313 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5315 * lyxserver.C (callback): adjust
5317 * lyxfunc.C (getStatus): add a missing brace in commented code
5318 (ensureBufferClean): reindent
5319 (dispatch): delete version taking a string
5321 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5323 * LaTeX.C (deplog): move found file handlig from here...
5324 (handleFoundFile): .. to new function here.
5325 (deplog): make sure to discover several files mentioned on the
5328 2003-10-10 André Pönitz <poenitz@gmx.net>
5335 * text3.C: fix some of the tabular crashes
5337 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5339 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5341 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5343 2003-10-09 André Pönitz <poenitz@gmx.net>
5345 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5348 * BufferView_pimpl.C:
5349 * bufferview_funcs.C:
5360 * undo_funcs.C: adjust
5362 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5364 * text2.C (incrementItemDepth): new function, use a backtracking
5365 algorithm to discover the correct item depth.
5366 (resetEnumCounterIfNeeded): new function, use a backtracking
5367 algorithm to discover if counter reset is needed.
5368 (setCounter): use them. Simplify a bit. Add different labels for
5369 different item depths for itemize.
5371 * paragraph.C (Paragraph): remove initialization of enumdepth
5374 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5375 enumerate and itemize. Change the type of itemdepth to signed char.
5377 2003-10-08 André Pönitz <poenitz@gmx.net>
5379 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5384 * tabular.[Ch]: fix crash after 'row-insert'
5386 2003-10-08 Angus Leeming <leeming@lyx.org>
5388 Fix doxygen warnings.
5390 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5391 Remove CutAndPaste:: prefix from header file declaration.
5393 * LColor.h (fill): remove LColor:: prefix from declaration.
5395 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5396 use lyx::depth_type rather than Paragraph::depth_type so that
5397 header file and .C file match.
5399 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5401 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5402 * aspell.C: \file aspell_local.C -> \file aspell.C
5403 * gettext.C: \file gettext.C -> \file src/gettext.C
5404 * gettext.h: \file gettext.h -> \file src/gettext.h
5405 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5406 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5407 * text.C: \file text.C -> \file src/text.C
5409 * toc.C: move comment so that doxygen is not confused.
5411 2003-10-07 Angus Leeming <leeming@lyx.org>
5413 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5415 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5418 * aspell_local.h: add forgotten std::string's.
5420 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5427 * text3.C: The Box patch. Fancybox support, minipage, parbox
5429 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5435 * ParagraphParameters.h:
5445 * lyxtextclasslist.h:
5448 * paragraph_pimpl.C:
5449 * textcursor.h: add <string> and other small fixes to make Lars'
5450 std::string patch compile with STLport.
5452 2003-10-06 Angus Leeming <leeming@lyx.org>
5454 * LColor.h: Add missing #include <string>.
5456 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5458 * All most all file in all subdirs: Make <string> be the prefered
5459 way of getting to std::string, add using declarations.
5461 2003-10-06 André Pönitz <poenitz@gmx.net>
5463 * metricsinfo.C: initialize LyXFont before changing attribute.
5464 (fixes the 'math in \emph is upright' bug)
5466 2003-10-06 André Pönitz <poenitz@gmx.net>
5468 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5470 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5473 * paragraph_pimpl.C: Small fixes to build using STLport
5475 2003-10-02 André Pönitz <poenitz@gmx.net>
5478 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5480 2003-10-01 André Pönitz <poenitz@gmx.net>
5482 * factory.C: assert early
5484 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5486 * lyx_main.C: remove the global debug object
5488 * debug.h: adjust for new debugstream
5490 * debug.C: adjust for new debugstream and keep the global debug
5493 2003-09-22 Angus Leeming <leeming@lyx.org>
5495 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5496 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5497 an incomplete class LyXFont.
5499 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5501 * factory.C: bug fix in branches
5503 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5505 * lyxfunc.C (processKeySym): adjust
5507 (dispatch): change arg name from ev to func, adjust
5508 (sendDispatchMessage): ditto
5510 * lyx_main.C (defaultKeyBindings): adjust keybindings
5511 (deadKeyBindings): ditto
5513 * kbsequence.C (addkey): return a FuncRequest
5515 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5517 * kbmap.C (bind): take a FuncRequest as arg, adjust
5520 (defkey): change to take a FuncRequest as arg, adjust
5521 (findbinding): take a FuncRequest as arg, adjust.
5523 * funcrequest.h (operator=): added
5525 * funcrequest.C (FuncRequest): default kb_action changed from
5526 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5528 * buffer.C (dispatch): simplify
5529 (dispatch): adjust to take a FuncRequest as arg, adjust
5531 * boost.C (assertion_failed): change assertion message slightly
5533 * ToolbarBackend.C (read): simplify
5535 * MenuBackend.C (binding): adjust call to findbinding, add a
5536 message if no binding is found.
5538 (expandToc): correct by adding a empty FuncRequest
5540 * LyXAction.C: include <boost/assert.hpp>
5541 (isPseudoAction): delete function
5542 (LookupFunc): change name to...
5543 (lookupFunc): this. change return type to FuncRequest.
5544 (getActionName): take kb_action as arg, simplify
5545 (funcHasFlag): add an assert, simplify.
5547 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5549 * toc.C (action): return a FuncRequest, simplify
5551 * lyxfunc.C (processKeySym): adjust
5552 (getStatus): delete version that takes an int.
5554 (dispatch): delete version that takes action as int
5556 (sendDispatchMessage): simplify and adjust
5558 * funcrequest.C (getArg): take unsigned int as arg
5560 * ToolbarBackend.C (read): adjust
5561 (add): delete version that takes func as a string.
5562 (getIton): take a FuncRequest as arg
5564 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5567 * MenuBackend.C (MenuItem): add a new construct that only takes a
5568 Kind, simplify the constructor use for submenus.
5570 (expandLastfiles): adjust
5571 (expandDocuments): adjust
5572 (expandFormats): adjust
5573 (expandFloatListInsert): adjust
5574 (expandFloatInsert): adjust
5575 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5577 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5578 Remove class variables lyx_pseudo_map and lyx_arg_map
5580 * LyXAction.C (searchActionArg): delete function
5581 (getPseudoAction): delete function
5582 (retrieveActionArg): delete function
5583 (LookupFunc): make it return kb_action, simplify.
5584 (getActionName): simplify
5586 * factory.C (createInset): fix new bug
5588 2003-09-19 Angus Leeming <leeming@lyx.org>
5590 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5591 masterFilename_ parameter in the include inset.
5593 * factory.C (createInset): changes due to the changes to InsetInclude.
5595 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5597 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5599 2003-09-18 Angus Leeming <leeming@lyx.org>
5602 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5603 Inset::fillWithBibKeys.
5604 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5606 2003-09-18 Angus Leeming <leeming@lyx.org>
5608 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5610 (ctor): pass and store a 'Buffer const &'
5611 (buffer): new member function.
5613 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5614 '*this' to the LaTeXFeatures ctor.
5616 2003-09-18 Angus Leeming <leeming@lyx.org>
5622 * text.C: rename EnumLColor as LColor_color.
5624 2003-09-18 Angus Leeming <leeming@lyx.org>
5626 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5627 remove #include "insets/insetbase.h" from cursor.h.
5629 2003-09-18 Angus Leeming <leeming@lyx.org>
5631 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5632 InsetOld_code to remove #include "inset.h".
5634 * iterators.C: add #include "insets/inset.h"
5636 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5638 * BufferView.C: remove more locking stuff that apparently doesn't
5639 do anything sensible.
5641 2003-09-16 André Pönitz <poenitz@gmx.net>
5644 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5647 2003-09-16 Angus Leeming <leeming@lyx.org>
5649 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5651 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5654 * paragraph.h: remove #include "lyxfont.h". Forward declare
5657 2003-09-16 Angus Leeming <leeming@lyx.org>
5659 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5660 of support/textutils.h.
5661 (isWord): move the contents of support/textutils.h's IsWordChar here.
5667 * text2.C: add #include "paragraph.h".
5670 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5672 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5678 * LaTeX.C: use namespace alias for lyx::support::os
5680 2003-09-16 Angus Leeming <leeming@lyx.org>
5683 * bufferview_funcs.C:
5686 * paragraph_pimpl.C:
5688 * text.C: add #include "LColor.h".
5690 2003-09-16 Angus Leeming <leeming@lyx.org>
5692 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5693 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5695 Store the FontBits::color variable as an int rather than as an
5696 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5699 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5700 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5701 string calls together.
5703 * lyxrc.C: add #include "LColor.h".
5705 2003-09-15 Angus Leeming <leeming@lyx.org>
5707 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5710 2003-09-15 Angus Leeming <leeming@lyx.org>
5712 * LColor.h: add an EnumLColor wrapper for LColor::color.
5714 * lyxfont.[Ch] (color, setColor, realColor):
5715 * lyxtext.h, text.C (backgroundColor):
5716 pass EnumLColor args to/from the functions, rather than LColor::color
5720 * lyxtext.h: forward declare EnumLColor.
5722 * lyx_main.C: add #include "LColor.h".
5724 2003-09-15 Angus Leeming <leeming@lyx.org>
5726 * .cvsignore: add lyx-gtk.
5728 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5733 * ParagraphParameters.C
5737 * bufferview_funcs.C
5747 * vc-backend.C: remove usage of STRCONV
5749 2003-09-15 Angus Leeming <leeming@lyx.org>
5751 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5752 explicitly define the color passed to the painter.
5754 2003-09-15 Angus Leeming <leeming@lyx.org>
5756 * bufferparams.C (BufferParams): reorder member initializers to avoid
5759 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5761 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5762 * text.C (updateRowPositions): remove an unusual nop
5764 2003-09-12 André Pönitz <poenitz@gmx.net>
5766 * BufferView_pimpl.C:
5775 * Counters.[Ch]: finish the 'automatic counters' job
5777 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5779 * aspell.C: include <boost/assert.cpp> (compile fix)
5781 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5783 * boost.C (assertion_failed): use lyx::support::abort instead of
5786 2003-09-10 Angus Leeming <leeming@lyx.org>
5788 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5789 with their _fwd progeny.
5791 2003-09-09 Angus Leeming <leeming@lyx.org>
5793 134 files throughtout the source tree: replace 'using namespace abc;'
5794 directives with the appropriate 'using abc::xyz;' declarations.
5796 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5798 * boost.C (emergencyCleanup): moved here from LAssert.c
5799 (assertion_failed): new function, called by BOOST_ASSERT
5801 * several files: change Assert to BOOST_ASSERT
5803 2003-09-09 Angus Leeming <leeming@lyx.org>
5805 * buffer.[Ch]: Add an Impl class and move Buffer's member
5806 variables into it. As a result move several header files out of
5809 Add header files to lots of .C files all over the tree as a result.
5811 2003-09-09 Angus Leeming <leeming@lyx.org>
5813 * buffer.[Ch]: make Buffer's member variables private. Add
5816 Lots of changes all over the tree as a result.
5818 2003-09-08 Angus Leeming <leeming@lyx.org>
5820 * graph.C: #include <config.h>.
5822 2003-09-08 Angus Leeming <leeming@lyx.org>
5826 * BufferView_pimpl.C:
5855 * toc.C: remove redundant using directives.
5857 2003-09-07 Angus Leeming <leeming@lyx.org>
5859 * LaTeXFeatures.h: remove #include "support/types.h".
5860 * ToolbarBackend.h: remove #include <algorithm>.
5861 * changes.h: remove #include <ctime>.
5862 * debug.h: remove #include <iosfwd>.
5863 * graph.h: remove #include "support/std_string.h".
5864 * lyx_main.h: remove #include <csignal>.
5865 * lyxlex_pimpl.h: remove #include <fstream>.
5866 * sgml.h: remove #include <algorithm>, <utility>.
5867 * toc.h: remove #include "support/std_ostream.h".
5868 Add #include <iosfwd>.
5870 2003-09-07 Angus Leeming <leeming@lyx.org>
5872 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5874 * converter.h: forward declare LatexRunParams.
5875 * encoding.h: remove #include "lyxrc.h".
5876 * lyxtext.h: remove #include "LColor.h".
5877 * lyxtextclass.h: remove #include "support/types.h".
5878 * trans.h: remove #include "tex-accent.h".
5879 * trans_mgr.h: remove #include "tex-accent.h".
5880 * insets/inset.h: remove #include "support/types.h", <vector>.
5881 * insets/insetcollapsable.h: remove #include "LColor.h".
5882 * insets/insetinclude.h: remove #include "dimension.h".
5883 * insets/insetlatexaccent.h: remove #include "dimension.h".
5884 * insets/insetoptarg.h:: remove #include "insettext.h".
5885 * insets/insettext.h: remove #include "dimension.h",
5886 <boost/shared_ptr.hpp>
5888 * insets/renderers.h: add #include "dimension.h".
5889 * insets/updatableinset.h: add #include "support/types.h".
5891 * many .C files: Associated changes.
5893 2003-09-06 Angus Leeming <leeming@lyx.org>
5895 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5896 one, inside testInvariant.
5898 * PrinterParams.C: new file.
5899 * PrinterParams.[Ch]: move the function bodies out of line.
5901 2003-09-06 Angus Leeming <leeming@lyx.org>
5903 * ParagraphParameters.h: forward declare ParameterStruct rather than
5904 including its header file.
5905 (depth): moved out-of-line.
5907 2003-09-06 Angus Leeming <leeming@lyx.org>
5909 * BufferView_pimpl.h:
5912 * lyxfunc.h: forward declare LyXKeySym rather than
5913 #include "frontends/LyXKeySym.h".
5915 * BufferView_pimpl.C:
5918 * lyxfunc.C: associated changes.
5920 2003-09-06 Angus Leeming <leeming@lyx.org>
5922 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5923 As a result, can remove the #include "insets/inset.h" from BufferView.h
5925 2003-09-06 Angus Leeming <leeming@lyx.org>
5927 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5928 As a result, can remove the #include "insets/inset.h" from BufferView.h
5930 2003-09-06 Angus Leeming <leeming@lyx.org>
5936 * bufferview_funcs.C:
5937 * BufferView_pimpl.C:
5942 * ParagraphParameters.C:
5947 * frontends/controllers/ControlDocument.C:
5948 * insets/insetcaption.C: rearrange the #includes into some sort of
5951 * buffer.h: remove #includes ErrorList.h, undo.h
5953 2003-09-06 Angus Leeming <leeming@lyx.org>
5955 * support/types.h: add a 'depth_type' typedef, used to store the
5956 nesting depth of a paragraph.
5959 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5960 defining explicitly.
5963 * paragraph_funcs.h:
5964 * ParagraphParameters.h:
5965 * sgml.h: use lyx::depth_type rather than Paragraph or
5966 ParameterStruct's depth_type.
5969 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5972 * BufferView_pimpl.C:
5974 * ParagraphParameters.C:
5977 * bufferview_funcs.C:
5984 * frontends/LyXView.C:
5985 * frontends/controllers/ControlDocument.C:
5986 * frontends/controllers/ControlErrorList.C:
5987 * insets/insetbibitem.C:
5988 * insets/insetbranch.C:
5989 * insets/insetcaption.C:
5990 * insets/insetcollapsable.C:
5991 * insets/insetenv.C:
5992 * insets/insetert.C:
5993 * insets/insetfloat.C:
5994 * insets/insetfoot.C:
5995 * insets/insetfootlike.C:
5996 * insets/insetnewline.C:
5997 * insets/insetquotes.C:
5998 * insets/insettabular.C:
5999 * insets/insettext.C:
6000 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6002 * frontends/controllers/ControlChanges.C: #include "changes.h".
6004 2003-09-06 Angus Leeming <leeming@lyx.org>
6006 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6007 than #including paragraph.h.
6010 * RowList.h: deleted. Superfluous.
6020 * insets/insettext.h: use ParagraphList_fwd.h rather than
6023 * paragraph.h: don't forward declare ParagraphList.
6026 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6027 rather than ParagraphList.h. paragraph.h is still needed for the
6028 Paragraph::depth_type parameters.
6030 * textcursor.h: enable it to compile stand-alone in light of the
6033 * bufferview_funcs.C:
6045 * frontends/controllers/ControlParagraph.C:
6046 * frontends/controllers/ControlTabular.C:
6047 * insets/insetmarginal.C:
6048 * insets/insetminipage.C:
6049 * insets/insetnote.C:
6050 * insets/insetoptarg.C: add header files needed to compile again.
6052 2003-09-06 Angus Leeming <leeming@lyx.org>
6054 * RowList_fwd.h: new file, forward-declaring Row rather than
6055 #including lyxrow.h.
6060 * insets/insettext.h: use it instead of RowList.h
6062 * bufferview_funcs.C:
6069 * text3.C: #include "RowList.h".
6071 2003-09-05 Angus Leeming <leeming@lyx.org>
6073 * factory.C (createInset):
6074 * vspace.C (c-tor): replace sscanf call with an istringstream.
6075 * ispell.C: re-add missing HP/UX headers.
6076 * lyxserver.C: re-add missing os2 headers.
6078 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6087 * text3.C: re-add missing system headers, needed for 2.95.2.
6089 2003-09-05 Angus Leeming <leeming@lyx.org>
6091 Changes most place everywhere due to the removal of using directives
6092 from support/std_sstream.h.
6094 2003-09-05 Angus Leeming <leeming@lyx.org>
6096 Replace LString.h with support/std_string.h,
6097 Lsstream.h with support/std_sstream.h,
6098 support/LIstream.h with support/std_istream.h,
6099 support/LOstream.h with support/std_ostream.h.
6101 Changes resulting throughout the tree.
6103 2003-09-05 Angus Leeming <leeming@lyx.org>
6105 * sgml.h: ensure that the header file can be compiled stand-alone.
6106 * *.C: strip out redundant #includes. (320 in total.)
6108 2003-09-04 Angus Leeming <leeming@lyx.org>
6110 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6111 here (from getPackages).
6113 * debug.[Ch]: add a new EXTERNAL tag.
6115 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6117 * text2.C (cursorEnd): simplify
6119 (getColumnNearX): adjust
6121 * text.C (computeBidiTables): adjust
6124 * rowpainter.C (paintChars): adjust
6125 (paintSelection): adjust
6126 (paintChangeBar): adjust
6129 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6131 (numberOfSeparators): adjust
6133 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6139 * text3.C: Restricts the mouse click functionality
6140 of insets like bibtex, include, toc and floatlist to the visible
6141 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6142 up the dialogs. Cursor has to be in front of the inset (i.e.
6143 start of row) for this to function.
6145 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6147 * bufferview_funcs.C (currentState): output row information
6149 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6151 * bufferview_funcs.C (currentState): output paragraph position
6153 2003-09-04 Angus Leeming <leeming@lyx.org>
6155 * FloatList.h: move out #include "Floating.h".
6156 * LaTeX.h: move out #include "DepTable.h".
6157 * LyXAction.h: move out #include "funcrequest.h".
6158 * buffer.h: move out #include "author.h", "iterators.h".
6159 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6160 * lyx_main.h: move out #include "errorlist.h".
6161 * lyxfunc.h: move out #include "FuncStatus.h".
6162 * lyxtext: move out #include "lyxcursor.h".
6163 * paragraph_pimpl.h: move out #include "counters.h".
6165 2003-09-03 Angus Leeming <leeming@lyx.org>
6167 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6168 preamble_snippets list, enabling us to add snippets to the preamble
6169 only if the snippet was not there already.
6171 2003-09-04 Angus Leeming <leeming@lyx.org>
6173 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6175 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6177 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6180 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6182 * BranchList.C: point fix, earlier forgotten
6184 2003-09-02 Angus Leeming <leeming@lyx.org>
6186 * box.C (contains): renamed from 'contained' after a fantastic
6189 2003-09-02 John Levon <levon@movementarian.org>
6195 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6197 2003-09-02 John Levon <levon@movementarian.org>
6199 * text2.C: simplification of cursorEnd(), including partial
6202 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6204 * buffer.C (readFile): add a space
6206 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6208 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6210 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6212 * buffer.C (readFile): new function, take a filename and a
6213 ParagraphList::iterator
6215 (readFile): adjust, make it private. don't use setStream, make
6216 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6217 always contain the filename.
6219 * BufferView.C (insertLyXFile): simplify and make it work for
6222 2003-08-30 John Levon <levon@movementarian.org>
6224 * Makefile.am: fix dist (from Kayvan)
6226 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6228 * most files: change to use const Buffer refs
6230 2003-08-27 André Pönitz <poenitz@gmx.net>
6232 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6233 on top of ownerPar().
6235 2003-08-27 John Levon <levon@movementarian.org>
6237 * funcrequest.C: properly initialise POD members
6239 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6241 * lyxtext.h (top_y): move top_y from here
6246 * BufferView_pimpl.[Ch]: to here
6247 * frontends/screen.C:
6248 * insets/insettabular.C:
6249 * insets/insettext.C: adjust
6250 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6252 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6255 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6257 2003-08-26 André Pönitz <poenitz@gmx.net>
6259 * paragraph_func.[Ch] (outerPar): new function
6262 * paragraph_funcs.C:
6263 * paragraph_funcs.h:
6264 * paragraph_pimpl.C:
6265 * text2.C: remove Inset::par_owner
6267 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6272 * text2.C: eliminates the needFullRow/display() stuff
6273 altogether, putting the logic in metrics/draw in the insets.
6275 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6277 * text2.C (redoParagraphInternal, redoParagraphs):
6278 * text.C (redoParagraph): add a call to updateRowPositions at the
6279 end of each 'metrics-like' call. Remove all others.
6280 (getRow): remove the 'y-computing' version.
6281 (getRowNearY): do not compute nor return the real y. Solve the
6282 'y < 0' problem and simplify.
6284 2003-08-22 Angus Leeming <leeming@lyx.org>
6286 * *.[Ch]: clean-up of licence and author blurbs.
6287 Also move config.h out of a few .h files and into a few .C files.
6289 2003-08-22 André Pönitz <poenitz@gmx.net>
6291 * lyxrow.[Ch]: add x_ and *fill_ members
6296 * text2.C: adjust/remove prepareToPrint() calls
6298 2003-08-22 André Pönitz <poenitz@gmx.net>
6300 * lyxrow.[Ch]: add end_ member
6302 * lyxrow_funcs.C: use LyXRow::end_
6304 * lyxtext.h (singleWidth): add LyXFont parameter
6307 * text2.C: adjust LyXText::singleWidth() calls
6309 * text.C (redoParagraph): simplify row breaking logic
6312 2003-08-19 André Pönitz <poenitz@gmx.net>
6314 * funcrequest.C: initialize button_ member
6317 * rowpainter.[Ch]: interface consolidation
6319 2003-08-18 André Pönitz <poenitz@gmx.net>
6322 * BufferView_pimpl.C:
6324 * paragraph_funcs.C:
6326 * text3.C: remove LyXScreen::draw() and fitCursor calls
6328 * BranchList.h: remove spurious semicolons
6330 * MenuBackend.C: fix branchlist related crash
6332 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6340 * bufferparams.[Ch]:
6344 * text3.C: implements the 'branch inset'
6345 idea. This allows the output of various versions of a document
6346 from a single source version, selectively outputing or suppressing
6347 output of parts of the text.
6348 This implementation contains a 'branch list editor' in a separate
6349 tab of the document settings dialog. Branches are user definable
6350 and have a "display colour" to distinguish them on-screen.
6352 ColorHandler was somewhat cleaned up.
6353 (1) make possible a dynamically growing LColor list by allowing
6354 the graphic context cache to grow along (vector);
6355 (2) eliminate an IMHO unnecessary step in colour allocation.
6357 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6359 * BufferView_pimpl.C: compile fix
6361 2003-08-15 André Pönitz <poenitz@gmx.net>
6363 * rowpainter.C: remove extra metrics calls
6365 * lyxtext.h: merge the two constructors into a single one,
6366 pass reference to owner's par list
6368 * BufferView_pimpl.C:
6372 2003-08-15 André Pönitz <poenitz@gmx.net>
6374 * lyxrow_funcs.[Ch]:
6377 * paragraph_funcs.C:
6382 * text_funcs.C: split LyXText::rowlist_ into individual
6383 Paragraph::rows_ chunks
6386 * BufferView_pimpl.[Ch]:
6389 * text3.C: remove toggleSelection()
6391 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6393 * bufferlist.C: beautify two alerts (shorter text of buttons)
6394 * buffer.C: Remove redundant ' ' from message
6396 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6397 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6398 rename VALIGN_CENTER to VALIGN_MIDDLE
6400 2003-08-11 André Pönitz <poenitz@gmx.net>
6402 * lyxtext.h (getPar):
6403 * text.C: new function
6405 2003-08-11 André Pönitz <poenitz@gmx.net>
6408 * tracer.[Ch]: remove unneeded files
6410 * InsetList.[Ch]: remove resizeInsetsLyXText()
6415 * text3.C: merge insertParagraphs() and appendParagraph()
6416 remove breakAgain(), update()
6418 * BufferView_pimpl.[Ch]:
6419 * bufferview_funcs.[Ch]:
6423 * tabular.C: adjust after text & InsetList changes.
6425 2003-08-08 André Pönitz <poenitz@gmx.net>
6427 * text.C (insertChar, backspace): replace rowlist fiddling
6428 with rebreak of full par
6431 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6432 checkParagraph, updateInset): removed
6434 2003-08-07 André Pönitz <poenitz@gmx.net>
6437 * text3.C: merge some LFUN handlers, remove dead code
6439 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6441 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6443 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6445 * text2.C (DEPM): fix part of bug 1255 and 1256
6447 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6449 * BufferView_pimpl.C (workAreaDispatch): change to use
6450 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6451 that are no mouse related.
6453 2003-08-05 André Pönitz <poenitz@gmx.net>
6456 * BufferView_pimpl.[Ch]:
6457 * bufferview_funcs.C:
6459 * text3.C: rip out "deep update"
6461 * textcursor.[Ch] (last_sel_cursor): remove unused member
6463 2003-08-04 André Pönitz <poenitz@gmx.net>
6466 * BufferView_pimpl.[Ch]:
6467 * ParagraphParameters.C:
6468 * bufferview_funcs.C:
6474 * text3.C: replace "complicated" BufferView::update(...) calls with
6477 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6479 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6481 * Makefile.am (lyx_SOURCES): add paper.h
6483 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6485 * Makefile.am: move things around so that both lyx-qt and
6486 lyx-xforms can be built (according to --with-frontend). Then lyx
6487 is a symbolic link to lyx-[firstfrontend]
6489 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6491 * Always use std::endl with lyxerr
6493 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6495 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6497 2003-08-01 André Pönitz <poenitz@gmx.net>
6500 * BufferView_pimpl.[Ch]:
6502 * text3.C: merge BufferView::repaint() and BufferView::update()
6504 2003-08-01 José Matos <jamatos@lyx.org>
6506 * buffer.[Ch]: file_format is no longer a buffer data element.
6508 2003-08-01 André Pönitz <poenitz@gmx.net>
6513 * text2.C: make redoParagraph more independent of current cursor
6515 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6517 * text2.C: remove unneeded members
6519 2003-07-30 André Pönitz <poenitz@gmx.net>
6521 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6523 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6524 create a single function...
6526 * paragraph_funcs.C (moveItem): ... here.
6529 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6531 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6533 * LColor.[Ch]: Add comment and greyedout logical colors.
6535 2003-07-30 André Pönitz <poenitz@gmx.net>
6537 * tabular.C: don't use Assert too heavily. This crashes where it
6540 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6542 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6543 is disabled (bug 1232)
6545 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6547 * factory.C: limited 'arg' scope
6549 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6551 * factory.C: fixed Note submenu issues
6553 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6555 * factory.C: submenu for Note/Comment/Greyedout
6557 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6560 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6562 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6565 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6566 greyedout. Patch provided by Jürgen Spitzmüller.
6568 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6570 * kbmap.C (read): fix error message when reading bind files
6572 2003-07-29 Angus Leeming <leeming@lyx.org>
6574 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6575 certainly does not do what it purports to do. I am doing it, and
6576 us, a favour by killing it.
6578 2003-07-28 José Matos <jamatos@lyx.org>
6580 * buffer.C (readBody, do_writeFile):
6581 * paragraph.C(readParagraph): \end_document replaces \the_end.
6583 2003-07-29 André Pönitz <poenitz@gmx.net>
6586 * BufferView_pimpl.[Ch]:
6590 * textcursor.[Ch]: remove toggleToggle & Co
6592 2003-07-28 José Matos <jamatos@fep.up.pt>
6594 * buffer.C (readParagraph):
6595 * params_func (readParToken, readParagraph):
6596 * paragraph.C (write): \layout -> \begin_layout.
6598 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6600 * lyxlex_pimpl.C (setFile): clean up slightly.
6602 * bufferparams.h: add compressed var
6604 * buffer_funcs.C (readFile): adjust for LyXLex change
6605 (newFile): ditto + simplify
6607 * buffer.C (writeFile): handle writing of compressed files
6609 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6610 Check if the file is compressed and set a bufferparm if so.
6612 * Makefile.am (lyx_LDADD): remove explicit -lz
6614 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6616 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6617 makeDocBookFile): put the real LyX version in the first line of
6621 * version.C.in: remove lyx_docversion
6623 * tabular.C (write_attribute): add a template-based version to
6624 write enums properly
6626 2003-07-28 André Pönitz <poenitz@gmx.net>
6631 * text3.C: use doubles again for x-coordinates. They are needed.
6633 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6635 * messages.C (getLocaleDir): use lyx_localedir()
6637 * lyxlex_pimpl.C (setFile): compress stuff
6639 * buffer.C (writeFile): add some compression stuff
6640 (do_writeFile): new func, dont call expliti close... will this
6643 * Makefile.am (lyx_LDADD): add -lz
6645 2003-07-28 José Matos <jamatos@fep.up.pt>
6647 * buffer.C: increment file format.
6648 * paragraph_funcs (readParagraph, readParToken):
6649 * paragraph.C (readParagraph): add \end_layout.
6651 2003-07-27 Angus Leeming <leeming@lyx.org>
6653 * Makefile.am: remove special casing for configure-time setting of
6654 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6656 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6657 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6659 2003-07-26 André Pönitz <poenitz@gmx.net>
6661 * paragraph_func.[Ch]:
6662 * paragraph.C (realizeFont): inline it whereever it is used
6667 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6670 2003-07-26 André Pönitz <poenitz@gmx.net>
6674 * text2.C: get rid of LyXText::need_break_row
6676 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6678 * toc.[Ch]: put namespace toc inside namespace lyx
6680 * MenuBackend.C (expandToc2): adjust for lyx::toc
6683 * lyxfunc.C (dispatch): adjust for lyx::find
6685 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6686 lyx::find instead. Reorganize a bit.
6687 (LyXReplace): rename to replace
6688 (LyXFind): rename to find
6690 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6693 2003-07-26 André Pönitz <poenitz@gmx.net>
6695 * text.C (setHeightOfRow): restrict scope of temporary variable
6697 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6698 code (never has been used?)
6700 2003-07-27 Asger Alstrup <alstrup@local>
6702 * text.C (fill): Optimise algorithm to exploit that we can reuse
6703 the LyXFont for many characters.
6704 (setHeightOfRow): Same thing.
6705 (rowBreakPoint): Same thing.
6707 2003-07-26 Asger Alstrup <alstrup@local>
6709 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6711 * text.C (singleWidth): Spurious font copying in hot-spot
6712 singleWidth avoided. Reorder tests for arabic for efficiency.
6714 * text.C (fill): handle empty paragraphs better.
6716 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6719 * encoding.h: add includes
6721 * lyxrc.C: remove reading of bind files
6723 * lyx_main.C (init): setup bindings and menus only if we have a
6726 * kbmap.C (read): new method. Do the actual reading of bind
6729 * converter.C (dvipdfm_options):
6732 (output): adapt PAPER_* enums.
6734 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6736 * bufferparams.h: remove paper-related enums from there
6738 * paper.h: New file. A trivial header file to hold paper-related
6739 enums. It should later expand to contain many paper-related
6742 * lyxrc.C: declare extern displayTranslator
6744 2003-07-27 José Matos <jamatos@fep.up.pt>
6746 * tabular.[Ch] (linuxdoc): add support for tables and figures
6749 2003-07-27 José Matos <jamatos@fep.up.pt>
6751 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6752 consistency in both functions.
6753 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6755 2003-07-26 Asger Alstrup <alstrup@local>
6757 * rowpainter.C (paintRows): Change algorithm to work directly on
6758 the insets rather than asking every character in the document
6759 whether its an inset.
6761 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6763 * buffer.C (openFileWrite): factorize some code
6765 2003-07-26 Angus Leeming <leeming@lyx.org>
6768 * lyx_main.[Ch]: replace occurances of system_tempdir with
6771 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * rename Inset to InsetOld
6775 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6777 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6778 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6779 which I think is a bit clearer. EDIT is gone, since it was
6780 premature optimisation, and broken for mathed anyway.
6781 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6782 with cursor positioning in insets as well (math insets still do not
6783 work, but that's a different story anyway.) It mysteriously
6784 crashes sometimes with undo in the first paragraph, but I'm fairly
6785 confident that this is a compiler bug.
6787 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6789 * paragraph.C (Paragraph): adjust for new clone return type
6791 (copyIntoMinibuffer): ditto
6793 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6795 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6796 by not having a special case, and always doing a full rebreak of
6797 the document after undo.
6799 2003-07-23 Angus Leeming <leeming@lyx.org>
6801 * factory.C (createInset): InsetExternal::setParams now takes a
6804 2003-07-23 Angus Leeming <leeming@lyx.org>
6806 * factory.C (createInset): changed interface to the external and
6807 graphics mailers' string2params functions.
6809 2003-07-23 Angus Leeming <leeming@lyx.org>
6811 * factory.C (createInset): pass a
6812 Buffer const * parameter to InsetExternalMailer's string2params.
6814 2003-07-22 John Levon <levon@movementarian.org>
6816 * Thesaurus.h: include the right aiksaurus header
6818 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6820 * MenuBackend.C (expand): check menu shortcuts unconditionally
6822 2003-07-21 Angus Leeming <leeming@lyx.org>
6824 * factory.C (createInset): pass a
6825 buffer_path parameter to InsetGraphicsMailer's string2params.
6827 2003-07-21 Angus Leeming <leeming@lyx.org>
6829 * BufferView_pimpl.C (buffer):
6832 * lyxfunc.C (dispatch):
6833 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6834 rather than the grfx shortcut.
6836 2003-07-21 André Pönitz <poenitz@gmx.net>
6838 * rowpainter.C: remove unused variables
6841 * tabular_funcs.h: move to tabular.C
6842 * Makefile.am: adjust
6844 * tabular.[Ch]: basic optical cleaning
6846 * author.h: pass references, not values
6848 2003-07-18 André Pönitz <poenitz@gmx.net>
6856 * text3.C: two-phase drawing for InsetText and InsetTabular
6857 some float -> int changes.
6859 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6861 * lyx_main.C: fix the fix
6863 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6865 * lyx_main.C: fix a crash in batch mode if no files specified
6868 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6870 * format.[Ch] (papersize): moved to BufferParams
6871 * converter.[Ch] (dvips_options): moved to BufferParams
6872 (dvipdfm_options): moved to anon namespace
6873 * bufferparams.[Ch]: added above functions.
6875 2003-07-17 André Pönitz <poenitz@gmx.net>
6879 * text2.C: don't call inset->update() anymore
6881 * metricsinfo.[Ch]: add convenience constructor
6883 2003-07-16 André Pönitz <poenitz@gmx.net>
6888 * text2.C: replace the LyXCursor::irow_ member with
6889 on-demand computation of the value
6891 2003-07-16 John Levon <levon@movementarian.org>
6893 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6895 2003-07-15 André Pönitz <poenitz@gmx.net>
6898 * text2.C: remove no more needed refresh_row
6900 2003-07-15 André Pönitz <poenitz@gmx.net>
6905 * text3.C: refresh_status tristate -> need_update bool
6907 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6909 * lyxtext.h (init): remove reinit argument (act as if always true)
6910 * text2.C: adjust to that
6912 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6914 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6915 * text3.C: use it to delete selections in some cases
6916 (bugs 441, 673, 702, 954).
6918 2003-07-14 André Pönitz <poenitz@gmx.net>
6920 * rowpainter.[Ch]: reduce interface
6922 2003-07-14 André Pönitz <poenitz@gmx.net>
6924 * BufferView_pimpl.C:
6925 * text2.C: adjust after removing unused BufferView * argument
6927 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6929 * text2.C (init): fix a crash fired on resize
6931 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6933 * buffer.[Ch]: added new closing signal
6934 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6935 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6936 BufferView::Pimpl via the closing the signal
6938 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6940 * buffer.[Ch]: take out all bv-related from buffer
6942 * BufferView_pimpl.[Ch]: connect to new signals
6943 * CutAndPaste.C: removed useless asserts
6944 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6947 * lyxfunc.C: moved view-related funciontality from vc here
6948 * paragraph.C: removed outdated comments
6951 2003-07-10 André Pönitz <poenitz@gmx.net>
6953 * BufferView_pimpl.C:
6957 * text2.C: remove InsetText::InnerCache, clean up consequences
6959 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6961 * ispell.C: fix two typos in error messages
6963 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6965 * Extend Note inset to other forms of annotation like Comment
6966 and Greyedout. Right button click gives dialog.
6968 Files modified or added (+):
6972 * ControlNote.[Ch] +
6974 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6975 frontends/controllers
6979 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6981 * aspell.C: add missing namespace lyx::support
6983 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6985 * BufferView.[Ch] (newFile): Add
6986 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6987 * LaTeX.[Ch] (message): added this signal and use it
6988 * buffer.[Ch] (busy, message): added these signals and use them
6989 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6993 * importer.C: use buffer signals instead of direct bv calling
6994 * lyx_cb.[Ch] (ShowMessage): removed
6997 * paragraph_funcs.C:
6998 * text2.C: use buffer signals
7000 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7002 * introduce namespace lyx::graphics
7004 2003-07-02 André Pönitz <poenitz@gmx.net>
7006 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7008 2003-07-01 André Pönitz <poenitz@gmx.net>
7015 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7016 text*.C to text_func.C
7018 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7020 * introduce namespace lyx::support
7022 2003-06-30 André Pönitz <poenitz@gmx.net>
7027 * text.C: re-enable --with-included-string
7029 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7031 * textcursor.C: add <config.h>
7033 * text.C (getWord): remove const from word_location arg
7035 * lyxvc.C (getLogFile): fix const type order
7037 * lyxtext.h: remove const from word_location arg, add arg name
7039 * lyxlayout.h: currect type on labeltype.
7041 * importer.C: correct \file
7043 * converter.C (intToFormat): use std:: on ret val, ws changes
7045 * bufferlist.h: correct \file
7047 * buffer.C (makeLinuxDocFile): fix const type order
7048 (makeDocBookFile): ditto
7049 (fillWithBibKeys): use std:: on stdlib args.
7051 * CutAndPaste.C: fix authors.
7052 (availableSelections): use std:: on return vector
7054 2003-06-27 André Pönitz <poenitz@gmx.net>
7056 * BufferView_pimpl.C:
7057 * bufferview_funcs.C:
7065 * text3.C: remove LyXCursor::row_ member
7068 * text.C: rename fullRebreak() to partialRebreak() and implement
7069 a fullRebreak() that really bereks fully
7071 * textcursor.h: new struct for cursor-related data
7073 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7075 * lyx_main.C (LyX): get full path of document loaded on the
7078 2003-06-26 André Pönitz <poenitz@gmx.net>
7080 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7081 remove unused/broken operator>,<,>=.
7083 * text.C: remove only use of broken operator<= in an Assert().
7085 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7087 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7088 moved errorlist_.clear to showErrorList
7090 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7092 * converter.C (scanLog, runLaTeX):
7093 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7094 move the bv->showErrorList call to the callers
7095 * lyxfunc.C: i.e. here...
7097 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7098 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7099 namespace, the second to...
7100 * buffer_funcs (BufferFormat, parseErrors): added
7101 * errorlist.C (ErrorList(TeXErrors const &)): removed
7103 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7105 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7107 2003-06-24 "Garst R. Reese" <reese@isn.net>
7111 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7113 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7115 * version.C.in: change docversion to 1.4
7117 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7119 * buffer.C: fix a bug just introduced
7121 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7123 * buffer.[Ch]: added the parseError signal and use it, removed
7125 * BufferView.[Ch] (addError): moved to ...
7126 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7127 to the Buffer::parseError signal to catch (guess what) parse errors
7128 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7130 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7132 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7133 ability to create a buffer and to return an existing one from
7134 the list. Moved these functions to...
7135 * buffer_funcs.[Ch]: added
7136 * BufferView.[Ch] (loadLyXFile): added
7137 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7138 job removed from bufferlist::loadLyXFile.
7139 * buffer.C (setReadOnly): make it work without view
7140 (i.e added an if (users))
7142 2003-06-19 Angus Leeming <leeming@lyx.org>
7145 * LyXAction.C (init):
7146 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7147 with LFUN_DIALOG_SHOW <name> <data>.
7149 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7151 * CutAndPaste.C (availableSelections): small compilation fix for
7152 ancient (gcc 2.9x) compilers
7154 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7156 * text3.C (cursorNext): add tmp var
7158 * text2.C (updateCounters): for function calling out of for clause
7159 (replaceSelectionWithString): ditto
7160 (insertStringAsParagraphs): ditto
7161 (getColumnNearX): add tmp var
7162 (setCursorFromCoordinates): add tmp var
7163 (cursorDownParagraph): add tmp var
7164 (deleteEmptyParagraphMechanism): add tmp var
7166 * text.C (insertChar): add tmp var
7168 * rowpainter.C (paintDepthBar): add tmp var
7170 * CutAndPaste.C (availableSelections): potentially check all
7171 paragraphs in a cut to fill the shown strings.
7173 2003-06-18 André Pönitz <poenitz@gmx.net>
7175 * kbmap.[Ch]: use vector<> instead of list<>
7177 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7179 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7180 pasteSelection with index
7182 * text2.C (pasteSelection): modify, call pasteSelection with index
7184 * paragraph.C (asString): reimplement version with no interval to
7185 call the one with interval.
7187 * lyxtext.h: add index arg to pasteSelection
7189 * MenuBackend.C (MenuItem): handle PasteRecent
7190 (Menu::read::Menutags): add md_pasterecent
7192 (expandPasteRecent): new function
7195 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7197 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7199 (availableSelections): new function
7201 2003-06-17 Angus Leeming <leeming@lyx.org>
7203 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7205 2003-06-17 Angus Leeming <leeming@lyx.org>
7208 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7210 * lyxfunc.C (dispatch): invoke it.
7212 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7214 * iterators.C (operator++, ParPosition): reintroduce some
7215 const_cast for the benefit of older compilers.
7217 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7219 * text3.C (dispatch): do not modify clipboard when doing
7220 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7221 LFUN_DELETE_SKIP on a selection selection
7223 2003-06-16 André Pönitz <poenitz@gmx.net>
7229 * tabular.[Ch]: IU of clone() and getLabelList();
7231 2003-06-13 André Pönitz <poenitz@gmx.net>
7233 * tabular.h: compactification
7235 2003-06-12 André Pönitz <poenitz@gmx.net>
7239 * tabular_funcs.h: some renaming plus whitespace
7241 2003-06-12 André Pönitz <poenitz@gmx.net>
7244 * BufferView_pimpl.C:
7250 * toc.C: Return a Paragraph & for ParIterator::operator*()
7252 2003-06-11 John Levon <levon@movementarian.org>
7256 * ToolbarBackend.C: add "Toolbars" section and
7259 2003-06-10 Angus Leeming <leeming@lyx.org>
7262 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7264 * lyxfunc.C (dispatch): invoke it.
7266 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7268 * main.C: protect <ios> with HAVE_IOS
7269 (main): protect sync_with_stdio with HAVE_IOS
7271 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7273 * text2.C (cutSelection): adjust
7274 (pasteSelection): adjust
7276 * messages.C: handle get of empty string
7278 * main.C (main): use sync_with_stdio(false)
7280 * lyxfunc.C (dispatch): adjust
7282 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7283 (WriteAs): remove unneeded BufferView arg.
7285 * bufferparams.h: use correct types on papersize, papersize2 and
7288 * bufferparams.C (readToken): adjust for type
7289 (writeLaTeX): add missing cases to switch.
7291 * bufferlist.C (quitWriteBuffer): adjust
7294 * buffer.C (asciiParagraph): remove some commented code.
7296 * CutAndPaste.C: remove current_view extern variable.
7297 (cutSelection): add BufferParams arg.
7298 (eraseSelection): add BufferParams arg.
7299 (pasteSelection): add Buffer const & arg
7301 2003-06-07 John Levon <levon@movementarian.org>
7304 * paragraph_funcs.C:
7305 * paragraph_pimpl.C:
7309 * paragraph.C: allow InsetERT to freely space lines,
7310 and some consolidation of code
7312 2003-06-06 José Matos <jamatos@fep.up.pt>
7314 * buffer.C (makeDocBookFile): fix bug #821
7316 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7318 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7320 2003-06-04 Angus Leeming <leeming@lyx.org>
7322 * buffer.C: bump format to 224.
7324 2003-06-05 André Pönitz <poenitz@gmx.net>
7326 * text2.C (redoParagraphs): remove two const_cast<>
7328 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7330 * ParagraphList.h: remove last remnants of NO_STD_LIST
7332 2003-06-03 Angus Leeming <leeming@lyx.org>
7334 * factory.C (createInset): small change to the way InsetExternal's params
7337 2003-06-04 André Pönitz <poenitz@gmx.net>
7339 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7341 * paragraph_pimpl.h:
7342 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7344 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7346 * undo_funcs.C: make some simple cases of undo work again
7348 2003-06-03 John Levon <levon@movementarian.org>
7350 * ispell.C: HPUX doesn't have sys/select.h
7353 2003-06-03 John Levon <levon@movementarian.org>
7355 * CutAndPaste.C: update tabular and include inset
7360 * paragraph.C: remove owningBuffer(), don't pass Buffer
7363 * factory.C: insetGraphicsParams changed
7365 2003-06-02 John Levon <levon@movementarian.org>
7371 * text3.C: remove insetparent
7373 2003-06-02 John Levon <levon@movementarian.org>
7376 * buffer.C: fix inset_iterator.end(), move out of line
7379 2003-06-01 John Levon <levon@movementarian.org>
7381 * text3.C: use a proper cut/paste when doing inset
7382 insert (from Jürgen Spitzmüller)
7384 2003-06-01 John Levon <levon@movementarian.org>
7386 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7388 2003-05-30 André Pönitz <poenitz@gmx.net>
7390 * rowpainter.C: unify second drawing phase
7392 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7394 * trans_mgr.C: remove one case of current_view
7396 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7398 * paragraph_funcs.h: remove paragraph.h include
7400 * paragraph.h: delete NO_STD_LIST stuff
7402 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7404 * buffer.h: remove paragraph.h include
7406 * ParagraphList.C: delete file
7408 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7410 * toc.C (getTocList): adjust
7412 * paragraph_pimpl.C (validate): adjust
7414 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7416 * paragraph.C (Paragraph): adjust
7417 (getPositionOfInset): use const_iterator, adjust
7418 (bibitem): use const_iterator, adjust
7419 (setInsetOwner): adjust
7421 * iterators.C (operator++): adjust
7423 * InsetList.[Ch]: Replace selfmade iterator with standard
7424 vector::iterator also introduce const_iterator. Remove getPos,
7425 getInset and setInset from InsetTable. Adjust accordingly.
7427 * BufferView.C (lockInset): adjust
7428 (ChangeInsets): adjust
7430 * tabular.[Ch]: delete commented same_id functions
7432 2003-05-28 John Levon <levon@movementarian.org>
7434 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7436 2003-05-28 André Pönitz <poenitz@gmx.net>
7438 * metricsinfo.[Ch]: remove 'fullredraw' member
7440 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7442 * lyxtextclass.C (operator): remove caching.
7444 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7448 * text2.C (cursorBottom): adjust
7449 (setCounter): use ParagraphList::find, adjust
7451 * text.C (workWidth): use ParagraphList::find, adjust
7453 * lyxcursor.C (LyXCursor): adjust
7455 * buffer.C (inset_iterator): adjust
7457 * ParagraphList.h: make iterator(value_type) private, make
7458 ParagraphList a friend of iterator.
7460 * ParagraphList.C (find): new function
7462 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7464 2003-05-27 André Pönitz <poenitz@gmx.net>
7466 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7468 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7470 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7472 2003-05-26 John Levon <levon@movementarian.org>
7474 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7476 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7478 * remove same_id from function signatures, adjust.
7480 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7482 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7484 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7486 * paragraph.C (Paragraph): get rid of same_ids parameter
7488 * ParagraphList.C (insert): adjust
7491 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7493 * paragraph_funcs.C (breakParagraph): adjust
7494 (breakParagraphConservative): adjust
7496 * buffer.C (readParagraph): adjust
7498 * ParagraphList.C (insert): take a reference instead of a pointer
7501 * paragraph.[Ch] (id): new function
7503 * bufferlist.C (newFile): adjust
7505 * ParagraphList.C (ParagraphList): adjust
7507 (push_back): take a reference instead of a pointer.
7509 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7511 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7514 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7515 set else use old code.
7517 * ParagraphList.C: remove all NO_NEXT code and only compile this
7518 code of NO_STD_LIST is set.
7520 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7522 * BufferView_pimpl.C:
7532 * graphics/GraphicsConverter.C:
7533 * graphics/PreviewLoader.C: header adjustment
7535 2003-05-23 Angus Leeming <leeming@lyx.org>
7537 * LaTeXFeatures.[Ch] (useBabel): new method.
7538 * bufferparams.C (writeLaTeX): use it.
7540 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7542 * ParagraphList.h (set): remove unused function.
7544 2003-05-23 André Pönitz <poenitz@gmx.net>
7547 * BufferView_pimpl.C:
7551 * undo_funcs.C: setUndo reworked
7553 * iterators.[Ch]: add access to topmost ParagraphList
7555 * lyxtext.[Ch] (workWidth): add a const
7557 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7559 * texrow.[Ch] (increasePos): remove function
7560 * exporter.C (export): removed unused var and outdated comment
7562 2003-05-23 Angus Leeming <leeming@lyx.org>
7564 * latexrunparams.h: rename fragile as moving_arg.
7565 * paragraph.C (simpleTeXOnePar): ditto.
7566 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7568 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7570 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7572 (textUndoOrRedo): comment out a currently unused var.
7574 * paragraph.h (NO_NEXT): enable NO_NEXT
7576 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7578 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7580 * exporter.C (Export): adjust for removeAutoInsets removal.
7582 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7584 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7586 * BufferView.[Ch] (removeAutoInsets): delete function
7588 2003-05-22 Angus Leeming <leeming@lyx.org>
7590 * latexrunparams.h: add a free_spacing variable.
7592 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7593 to pass moving_arg, as the data is stored in runparams.fragile.
7595 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7596 to Inset::latexOptional or to simpleTeXOnePar.
7598 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7599 free_spacing arg to Inset::latexOptional.
7601 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7604 2003-05-22 Angus Leeming <leeming@lyx.org>
7606 * latexrunparams.h: add fragile and use_babel variables.
7608 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7609 * buffer.C (makeLaTeXFile): store this returned value in
7610 runparams.use_babel, thus passing it to the inset::latex methods.
7612 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7613 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7615 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7616 longer has a fragile arg, as it is stored in runparams.fragile.
7618 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7619 moving_arg parameter as the data is stored in runparams.fragile.
7621 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7622 a fragile parameter as the data is stored in runparams.fragile.
7624 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7626 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7628 2003-05-22 Angus Leeming <leeming@lyx.org>
7630 * latexrunparams.h: add a 'bool nice' which defaults to false.
7632 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7633 now encapsulated within runparams.
7635 * bufferlist.C (updateIncludedTeXfiles):
7636 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7638 2003-05-22 Angus Leeming <leeming@lyx.org>
7640 * latexrunparams.h: new file containing struct LatexRunParams.
7641 * Makefile.am: add new file.
7643 * LaTeX.[Ch] (c-tor, run):
7644 * buffer.[Ch] (makeLaTeXFile):
7645 * bufferlist.[Ch] (updateIncludedTeXfiles):
7646 * converter.C (convert, scanLog):
7647 * converter.[Ch] (runLaTeX):
7648 * exporter.C (Export):
7649 * paragraph.[Ch] (simpleTeXOnePar):
7650 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7651 * paragraph_funcs.[Ch] (latexParagraphs):
7652 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7653 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7654 pass around a LatexRunParams parameter.
7656 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7658 * paragraph.[Ch]: remove unused constructor
7660 * ParagraphList.C (erase): new function, taking two iterators
7662 2003-05-22 André Pönitz <poenitz@gmx.net>
7664 * undo_funcs.C: remove duplicated code
7666 * iterator.[Ch]: operator=
7668 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7670 * tabular.C (SetMultiColumn): ws changes
7672 * rowpainter.C (paintFirst): get rid of a ->previous
7674 * lyx_cb.C (getPossibleLabel): parlist simplification
7676 * BufferView.C (ChangeInsets): simplify slightly.
7678 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7680 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7681 * lfuns.h: new LFUN_SPACE
7682 * lyxfunc.C: protected space has a new lfun
7683 * paragraph_funcs.C: read new space insets
7685 * factory.C: handle new space insets
7687 2003-05-22 André Pönitz <poenitz@gmx.net>
7690 * BufferView_pimpl.C:
7693 * undo_funcs.C: return a ParIterator from getParFromID.
7695 * iterators.[Ch]: add two const's
7697 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7699 * toc.C (getTocList): adjust
7701 * iterators.[Ch]: rework for parlist
7703 * buffer.C (par_iterator_begin): adjust
7704 (par_iterator_end): adjust
7706 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7708 * BufferView.C (removeAutoInsets): adjust
7709 (ChangeInsets): adjust
7711 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7713 * text.C (top_y): fix bug 1110
7715 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7717 * errorlist.[Ch]: added
7720 * BufferView_pimpl.C:
7721 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7724 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7726 * Makefile.am: ensure that lyx is relinked upon changes to the
7727 various "convenience" libs.
7729 2003-05-20 Angus Leeming <leeming@lyx.org>
7731 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7732 files are compiled in alphabetical order again.
7734 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7736 2003-05-19 Angus Leeming <leeming@lyx.org>
7738 * gettext.[Ch]: remove "char const * _(char const *)".
7740 2003-05-19 André Pönitz <poenitz@gmx.net>
7742 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7751 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7753 2003-05-19 André Pönitz <poenitz@gmx.net>
7757 * lyxtextclass.[Ch]:
7759 * paragraph_funcs.[Ch]:
7761 * text3.C: more insetenv work
7763 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7765 * ParagraphParameters.C (params2string): small bug fixed
7767 2003-05-16 André Pönitz <poenitz@gmx.net>
7770 * bufferview_funcs.C: patch from Kornel Benko to prevent
7771 crash when _(...) is called twice in a statement
7773 2003-05-16 André Pönitz <poenitz@gmx.net>
7780 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7782 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7784 * lyx_main.C (init): remove spurious static_cast
7786 2003-05-14 André Pönitz <poenitz@gmx.net>
7788 * BufferView.C: fix format string
7790 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7792 * BufferView.[Ch] (insertErrors): removed
7793 * BufferView.[Ch] (showErrorList): added
7794 * buffer.C (runChkTeX):
7795 * converter.C (scanLog): call showErrorList instead of inserterrors
7797 2003-05-13 André Pönitz <poenitz@gmx.net>
7799 * BufferView_pimpl.C:
7801 * bufferview_func.C:
7808 * tabular_funcs.h: tostr() from its own header
7810 * ParagraphParameters.C:
7815 * text3.C: STRCONV()
7817 2003-05-12 André Pönitz <poenitz@gmx.net>
7820 * BufferView_pimpl.C:
7824 * ParagraphParameters.C:
7828 * bufferview_funcs.C:
7841 * paragraph_funcs.C:
7845 * text3.C: boost::format -> bformat all over the place
7848 2003-05-09 André Pönitz <poenitz@gmx.net>
7850 * LColor.[Ch]: Pimpl the #include <map> away
7852 2003-05-09 John Levon <levon@movementarian.org>
7854 * bufferlist.C: never remove emergency saves
7856 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7858 * Makefile.am: better lib building
7860 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7862 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7864 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7865 (simpleTeXSpecialChars): adjust
7866 (simpleTeXSpecialChars): adjust
7867 * paragraph.C (simpleTeXOnePar): adjust
7868 * buffer.C (makeLaTeXFile): adjust
7870 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7872 * text2.C (changeDepth): parlist cleanup
7873 (getColumnNearX): ditto
7875 * rowpainter.C (getLabelFont): parlist cleanup
7877 * bufferlist.C (newFile): parlist cleanup
7879 * CutAndPaste.C (eraseSelection): parlist cleanup
7881 * BufferView_pimpl.C (trackChanges): parlist cleanup
7884 * BufferView.C (lockInset): parlist cleanup.
7885 (ChangeInsets): ditto
7887 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7889 * CutAndPaste.h: Update file header.
7891 * CutAndPaste.C: Update file header.
7892 Store the parts cut out of the Document in a limited_stack.
7893 (copySelection): adjust
7894 (pasteSelection): new function, takes the index in the limited stack.
7895 (nrOfParagraphs): adjust
7896 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7897 simplify error inset insertion.
7898 (checkPastePossible): adjust
7900 2003-05-06 John Levon <levon@movementarian.org>
7902 * text2.C: don't cast wrap inset to float
7904 2003-05-05 André Pönitz <poenitz@gmx.net>
7907 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7909 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7910 few naked Paragraph *.
7912 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7914 * bufferparams.C: Output warning if a document with missing
7915 TeX document class is loaded
7916 * exporter.C: Disable TeX exports if the document class is missing
7919 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7920 isTeXClassAvailable()
7922 2003-05-03 John Levon <levon@movementarian.org>
7925 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7926 explicit cursor show/hide
7928 * BufferView_pimpl.h:
7929 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7930 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7932 * lyxfunc.C: hide cursor before dispatching.
7937 * text3.C: remove explicit cursor hides
7939 2003-05-02 André Pönitz <poenitz@gmx.net>
7941 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7944 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7947 * text2.C: tiny whitespace
7949 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7951 * undo_funcs.C: almost only ws changes.
7953 * ParagraphList.C (splice): just return if pl is empty.
7955 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7957 * ParagraphList.C (splice): new function.
7959 * CutAndPaste.C (pasteSelection): use it
7961 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7963 * CutAndPaste.C (pasteSelection): remove the last next and
7964 previous from this file.
7966 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7968 * CutAndPaste.C (pasteSelection): more clean up, user proper
7969 ParagraphList functions for pasteing.
7971 * ParagraphList.C (insert): new function, three arg insert
7973 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7975 * ParagraphList.C (insert): new function, three arg insert
7977 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7980 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7982 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7984 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7986 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7988 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7990 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7991 (copySelection): clean up a bit.
7992 (pasteSelection): use make_pair
7994 * ParagraphList.C (ParagraphList): implement copy constructor
7995 (operator=): implement, base on copy constructor.
7998 * paragraph.C (erase): return a bool
8000 * paragraph_pimpl.C (erasePos): remove function, move contents...
8001 (erase): ... here. Return a bool.
8002 (erase): call erase instead of erasePos.
8004 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8006 * ParagraphList.h: define PitPosPair
8007 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8008 ParagraphList, fix a bug on pasting multiple pars
8009 * text2.C: change interface to C&P
8011 2003-04-30 André Pönitz <poenitz@gmx.net>
8013 * undo_func.C: revert part of yesterday's patch 2
8015 2003-04-30 John Levon <levon@movementarian.org>
8017 * LColor.C: s/tabular/table/
8019 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8021 * text3.C (dispatch): do not convert iterator -> pointer
8022 * undo_funcs.C (setCursorParUndo): ditto
8023 * text_funcs.C (transposeChars): ditto
8025 * text2.C (setLayout): ws changes only
8027 * text.C (breakParagraph): do not convert iterator -> pointer
8029 (acceptChange): ditto
8030 (rejectChange): ditto
8035 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8038 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8040 * text3.C (gotoInset): YABG (yet another bad getChar)
8042 2003-04-29 André Pönitz <poenitz@gmx.net>
8044 * paragraph.h: make operator= private unimplemented as long as
8047 * ParagraphList.C: whitespace
8050 * paragraph_pimpl.[Ch]:
8051 * paragraph_funcs.C:
8053 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8056 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8058 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8060 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8061 * paragraph.[Ch] (erase):
8062 * paragraph_pimpl.[Ch] (erase): change return type and value
8063 * text2.C (cutSelection): some rework
8065 2003-04-28 John Levon <levon@movementarian.org>
8067 * bufferlist.C: changes for unsaved changes dialog
8069 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8071 * bufferlist.C (newFile): set language (messages_) for new
8074 * buffer.C (readFile): ws changes only.
8076 2003-04-28 André Pönitz <poenitz@gmx.net>
8081 * BufferView_pimpl.C:
8082 * BufferView.C: getParFromID related ParagraphList::iterator changes
8084 2003-04-28 André Pönitz <poenitz@gmx.net>
8086 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8089 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8091 * messages.C: remove one more localedir class variable.
8093 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * messages.C (getLocaleDir): singleton generation function
8097 (Messages): add a default constructor.
8099 * main.C (main): do not setup localedir here, do not call
8102 * gettext.C (_): use it.
8103 (gettext_init): delete funciton
8105 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8107 * gettext.C (getLyXMessages): new singleton generating function.
8109 * buffer.C (updateDocLang): adjust
8111 * Makefile.am (messages.o): add target
8112 (main.o): remove target
8114 2003-04-27 John Levon <levon@movementarian.org>
8119 * lyxvc.C: specify cancel button in Alert::prompt
8121 2003-04-26 John Levon <levon@movementarian.org>
8126 * LyXAction.C: add LFUN_INSET_SETTINGS
8128 * lyxfunc.C: don't enable tabular-feature when there's
8129 just any locking inset
8131 2003-04-26 John Levon <levon@movementarian.org>
8133 * bufferlist.C: re-add Cancel to buffer close question
8135 * lyxfunc.C: fix import UI a bit
8137 2003-04-25 John Levon <levon@movementarian.org>
8139 * gettext.C: remove the broken asserts for now
8141 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8143 * messages.C: make case where setlocale cannot comply work better.
8145 * buffer.C (updateDocLang): new function
8146 (changeLanguage): use it
8149 * text2.C (setCounter): use B_ a bit.
8151 * lyxlayout.C (Read): be sure to trim the label strings.
8153 * messages.C (Messages): fix typo in comment
8155 * buffer.C (readFile): set message_ after file is loaded.
8156 (makeDocBookFile): remove double return
8157 (changeLanguage): reset message_ upon language change.
8158 (B_): new func, use this to get translated buffer strings.
8160 * main.C: add myself and Jean Marc as authors.
8162 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8164 * messages.[hC]: pimplify Messages, and three different pimpls to be
8165 used in different circumstances.
8167 * gettext.[Ch]: change for use with new message code.
8169 2003-04-24 André Pönitz <poenitz@gmx.net>
8171 * factory.C: support for eqref
8173 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8175 * messages.[Ch]: add missing char
8177 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8179 * messages.[Ch]: New files
8181 2003-04-18 John Levon <levon@movementarian.org>
8185 * BufferView_pimpl.C:
8189 * text2.C: remove layout-copy/paste (bug 778)
8191 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8193 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8195 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8197 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8198 if they succeed. Act accordingly.
8200 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8202 * text2.C (setCharFont): adjust
8203 (setCounter): adjust
8204 (insertStringAsLines): adjust
8206 * text.C (leftMargin): adjust
8207 (setHeightOfRow): adjust
8209 * rowpainter.C (paintFirst): adjust
8212 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8214 (isFirstInSequence): ditto
8215 (getEndLabel): ditto
8218 * paragraph.C (getParLanguage): comment out some hard stuff.
8220 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8222 (simpleDocBookOnePar): ditto
8223 (makeDocBookFile): use ParagraphList::iterator
8225 * CutAndPaste.C (pasteSelection): adjust
8227 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8229 * text2.C (getFont): adjust
8230 (getLayoutFont): adjust
8231 (getLabelFont): adjust
8233 * paragraph_funcs.C (TeXOnePar): adjust
8235 * buffer.C (simpleLinuxDocOnePar): adjust
8236 (simpleDocBookOnePar): adjust
8238 * CutAndPaste.C (pasteSelection): adjust
8240 * BufferView.C (getEncoding): adjust
8242 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8244 2003-04-16 John Levon <levon@movementarian.org>
8246 * lyxfind.C: use parlist stuff for search/changes
8248 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8250 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8252 * text2.C (deleteEmptyParagraphMechanism): adjust
8254 * text2.[Ch] (ownerParagraph): delete func (both of them
8256 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8258 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8260 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8262 * ParagraphList.C: prepare for NO_NEXT
8264 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8266 * text2.C (getFont): adjust
8267 (getLayoutFont): adjust
8268 (getLabelFont): adjust
8270 * paragraph.C (getFont): adjust
8271 (getLabelFont): adjust
8272 (getLayoutFont): adjust
8274 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8276 2003-04-15 John Levon <levon@movementarian.org>
8280 * lyx_main.C: handle Include in .ui files
8282 2003-04-15 John Levon <levon@movementarian.org>
8284 * MenuBackend.C: make the doc files length shorter
8287 * ToolbarBackend.C: handle toolbar placement flags,
8290 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8292 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8295 * paragraph_funcs.C (TeXOnePar): adjust
8297 * paragraph.C (getLabelFont): add outerfont arg, adjust
8298 (getLayoutFont): ditto
8299 (simpleTeXOnePar): adjust
8301 * paragraph_pimpl.C (realizeFont): delete func
8303 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8305 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8306 row argument, constify cur argument.
8308 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8310 * text2.C (getFont): adjust
8311 (getLayoutFont): adjust
8312 (getLabelFont): adjust
8314 * paragraph_funcs.C (TeXOnePar): adjust
8315 (outerFont): new func...
8316 (realizeFont): ...moved out from here, changed this to facilitate
8319 * paragraph.C (getFont): take outerfont as arg, adjust
8320 (simpleTeXOnePar): add outerfont arg, adjust
8322 * buffer.C (simpleLinuxDocOnePar): adjust
8323 (simpleDocBookOnePar): adjust
8325 * CutAndPaste.C (pasteSelection): adjust
8327 * BufferView.C (getEncoding): adjust
8329 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * text2.C (setCharFont): adjust
8332 (setCounter): adjust
8334 * text.C (leftMargin): adjust
8335 (setHeightOfRow): adjust
8337 * rowpainter.C (paintFirst): adjust
8340 * paragraph_pimpl.C (realizeFont): adjust
8342 * paragraph.C (isFirstInSequence): move from here...
8343 * paragraph_funcs.C (isFirstInSequence): ...to here
8345 * paragraph.C (outerHook): move from here...
8346 * paragraph_funcs.C (outerHook): ...to here
8348 * paragraph.C (depthHook): move from here...
8349 * paragraph_funcs.C (depthHook): ...to here
8351 * paragraph.C (getEndLabel): move from here...
8352 * paragraph_funcs.C (getEndLabel): ...to here
8354 * text2.C (realizeFont): move from here...
8355 * paragraph_funcs.C (realizeFont): ...to here
8357 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8359 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8361 2003-04-14 Angus Leeming <leeming@lyx.org>
8363 * LColor.[Ch]: scrap LColor mathcursor.
8365 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8367 * lyxlex.[Ch] (text): delete function
8368 * trans.C (Load): adjust
8369 * paragraph_funcs.C (readParToken): adjust
8371 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8373 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8374 vector<char> instead of a char[].
8376 * lyxlex_pimpl.C (getString): adjust
8378 (lex): use getString
8382 * lyxlex.C (text): use pimpl_->getString()
8386 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8388 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8389 (makeFontEntriesLayoutSpecific): temp var for par.size()
8390 (setLayout): temp var for ownerParagraphs().end()
8391 (fullRebreak): temp var for rows().end()
8392 (selectionAsString): temp var for boost::next(startpit), realize
8393 that the while really is a regular for loop.
8394 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8395 setCursor in one place.
8396 (setParagraph): temp vr for ownerParagraphs().end()
8397 (updateCounters): make the while loop a for loop
8398 (cutSelection): temp var for ownerParagraphs().end()
8399 (updateInset): make the do {} while() a regular for loop
8400 (getCursorX): use temp vars
8401 (setCurrentFont): use temp vars
8402 (getColumnNearX): use temp vars
8404 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8406 * text.C (transformChar): use temp var for getChar
8407 (computeBidiTables): use temp var for row->par()
8408 (fill): move temp vars for row->par() and pit->layout() earlier in
8410 (labelFill): use temp var for row->par()
8411 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8412 asc and desc, realize that pit never changes and that firstpit is
8413 just a duplicate and not needed. Exchange rit->par() with pit in a
8415 (breakAgain): use a temp var for boost::next(rit)
8416 (breakAgainOneRow): ditto
8417 (breakParagraph): use a temp var for rows().begin()
8418 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8419 (cursorRightOneWord): use temp var for cursor.par() and
8420 cursor.pos(), remove usage of tmpcursor.
8421 (cursorLeftOneWord): use temp var for cursor.par() and
8422 cursor.pos() only set cur at end of function.
8424 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * text.C, text2.C: exchange all usage of Paragraph::next with
8427 boost::next(ParagraphList::iterator)
8429 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8431 * text2.C (cursorTop): simplify implementation
8432 (cursorBottom): ditto
8433 (setParagraph): use ParagraphList::iterator
8434 (setCurrentFont): adjust
8435 (getColumnNearX): adjust
8436 (cursorRight): adjust
8437 (cursorLeft): remove usage of Paragraph::previous
8438 (cursorUpParagraph): ditto
8439 (deleteEmptyParagraphMechanism): slight cleanup
8441 * text.C (isBoundary): take a Paragraph const & instead of a
8443 (addressBreakPoint): ditto
8444 (leftMargin): remove usage of Paragraph::previous.
8445 (setHeightOfRow): ditto
8446 (cursorLeftOneWord): ditto
8447 (selectNextWordToSpellcheck): ditto
8450 (breakParagraph): remove one usage of Paragraph::next
8451 (redoParagraph): ditto
8452 (acceptChange): ditto
8453 (insertChar): adjust
8454 (rowBreakPoint): adjust
8456 * bufferview_funcs.C (toggleAndShow): adjust
8458 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8460 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8461 methods to access it.
8463 * text.C: Added updateRowPositions to compute all row positions.
8464 Make top_y and getRowNearY() to use the cached y position
8466 2003-04-11 John Levon <levon@movementarian.org>
8468 * text.C (rowBreakPoint): reintroduce the labelEnd
8469 checks, code copied from the row fill stuff. Deep voodoo.
8471 * text.C (fill): add a comment and debugging for the
8474 2003-04-11 John Levon <levon@movementarian.org>
8476 * text.C: make sure fullrow insets get wrapped to the next line,
8477 even when they're in a manual label
8479 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8481 * text2.C (insertParagraph): make it take ParagraphList::iterator
8483 (setLayout): make it return ParagraphList::iterator
8484 (redoParagraphs): ditto
8486 (checkParagraph): ditto
8488 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8490 * text2.C: adjust several funcs.
8491 (realizeFont): take a ParagraphList::iterator as arg.
8492 (getLayoutFont): ditto
8493 (getLabelFont): ditto
8494 (setCharFont): ditto
8496 * text.C: adjust several funcs.
8498 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8500 * text.C (selectNextWordToSpellcheck): don't accidentally
8503 2003-04-10 John Levon <levon@movementarian.org>
8505 * ToolbarBackend.C (getIcon): special handling for
8508 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8510 * text2.C (cursorRight): a getChar assert fixed
8512 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8514 * text2.C (getFont): change to take a ParagraphList::iterator
8515 instead of Paragraph*
8516 Adjust several functions.
8518 * text.C (transformChar): change to take a ParagraphList::iterator
8519 instead of Paragraph*
8520 (singleWidth): ditto
8521 Adjust several functions.
8523 * rowpainter.C: adjust several functions
8524 * rowpainter.h:store a ParagraphList::iterator and not a
8528 2003-04-09 John Levon <levon@movementarian.org>
8533 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8534 and the "help" bits as well
8536 2003-04-09 John Levon <levon@movementarian.org>
8539 * ToolbarBackend.C: allow multiple toolbars
8541 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8543 * undo_funcs.C (setCursorParUndo): adjust
8545 * text_funcs.C (transposeChars): adjust
8547 * text3.C (gotoNextInset): adjust
8550 * text2.C (setLayout): adjust
8551 (changeDepth): adjust
8553 (redoParagraphs): adjust
8554 (selectionAsString): adjust
8555 (setParagraph): adjust
8556 (insertInset): adjust
8557 (cutSelection): adjust
8558 (copySelection): adjust
8559 (pasteSelection): adjust
8560 (insertStringAsLines): adjust
8561 (updateInset): adjust
8562 (setCursor): change to take a ParagraphList::iterator parameter
8563 (setCursorIntern): change to take a ParagraphList::iterator parameter
8564 (setCurrentFont): adjust
8565 (cursorLeft): adjust
8566 (cursorRight): adjust
8567 (deleteEmptyParagraphMechanism): adjust
8569 * text.C (breakParagraph): adjust
8570 (insertChar): adjust
8571 (acceptChange): adjust
8572 (rejectChange): adjust
8573 (selectNextWordToSpellcheck): adjust
8574 (changeCase): adjust
8578 * lyxfind.C (SearchForward): adjust
8579 (SearchBackward): adjust
8580 (nextChange): adjust
8582 * lyxcursor.C (par): adjust
8584 * lyxcursor.h: store a ParagraphList::iterator instead of a
8587 * lyx_cb.C (getPossibleLabel): adjust
8589 * bufferview_funcs.C (toggleAndShow): adjust
8591 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8594 * BufferView.C (removeAutoInsets): adjust
8595 (lockedInsetStoreUndo): adjust
8597 2003-04-09 John Levon <levon@movementarian.org>
8599 * ToolbarBackend.C: try icon without argument
8600 if with argument fails
8602 2003-04-08 John Levon <levon@movementarian.org>
8605 * ToolbarBackend.C: add getIcon(), handle tooltip,
8606 and change from "Icon" to "Item".
8608 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8610 * BufferView.C (lockInset): another bad getchar crunched
8612 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8614 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8617 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8619 * lyxfind.C (searchForward, searchBackwards): bug 782
8621 2003-04-07 John Levon <levon@movementarian.org>
8623 * paragraph.C: remove dead comment
8625 * text.C: remove troublesome depth-fiddling code
8626 in leftMargin() and rightMargin() (bug 1017)
8628 * text.C: fix breaking of rows in nested lists
8631 * text2.C (updateCounters): fix up depth values
8634 2003-04-07 John Levon <levon@movementarian.org>
8636 * BufferView_pimpl.C: clear message when doc finishes resizing,
8637 and after a mouse event
8639 * lyxfunc.C: clear message after exiting inset
8641 2003-04-07 John Levon <levon@movementarian.org>
8643 * bufferview_funcs.C: show math status not outside
8644 status in the statusbar
8646 2003-04-07 John Levon <levon@movementarian.org>
8648 * lyxfunc.C: note status changed after a depth change
8650 2003-04-04 Angus Leeming <leeming@lyx.org>
8652 * LaTeX.h: move AuxInfo operator==, != out of line.
8653 Remove LaTeX virtual destructor; nothing derives from it.
8654 Move operator()() out of public area and rename it startscript().
8655 Change protected for private.
8657 2003-04-04 Angus Leeming <leeming@lyx.org>
8660 * text2.C: remove unneeded #includes.
8662 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8664 * text2.C (dEPM): fix the heigth of the next row
8666 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8668 * text.C: squashed an invalid getChar requester + some ws changes
8670 2003-04-03 John Levon <levon@movementarian.org>
8672 * bufferview_funcs.h:
8673 * bufferview_funcs.C:
8676 * text2.C: make getStatus work for the env depth lfuns
8678 2003-04-03 John Levon <levon@movementarian.org>
8680 * bufferview_funcs.h:
8681 * bufferview_funcs.C:
8684 * text2.C: parlistize decDepth(), by merging it with incDepth()
8686 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8688 * lyxrow.h: store a ParagraphList::iterator instead of a
8689 Paragraph* and adjust other class functions to suit.
8691 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8694 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8696 * text2.C (setCursor): do not anchor to cursor row for the time being
8698 2003-04-02 John Levon <levon@movementarian.org>
8705 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8707 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8709 * paragraph.h: make ParagraphList and ParagraphList::iterator
8710 friends of Paragraph.
8712 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8714 * ParagraphList.C: Use the private next_ and previous_ from
8717 2003-04-01 John Levon <levon@movementarian.org>
8721 * Makefile.am: rename, remove defaults gunk
8724 * MenuBackend.C: remove defaults gunk
8727 * Languages.C: remove defaults gunk
8730 * lyx_main.C: error out if files couldn't be found.
8732 2003-04-02 John Levon <levon@movementarian.org>
8734 * text2.C: make incDepth() use parlist
8736 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8738 * undo_funcs.C (firstUndoParagraph): adjust
8740 * text3.C (gotoInset): adjust
8741 (dispatch): adjust, and rewrite loop.
8743 * text2.C (init): adjust, and rewrite loop.
8744 (redoParagraphs): adjust
8745 (updateInset): adjust, and rewrite loop.
8746 (deleteEmptyParagraphMechanism): adjust
8748 * tabular.C (LyXTabular): adjust
8749 (SetMultiColumn): adjust
8752 * lyxtext.[Ch] (ownerParagraph): delete function
8753 (ownerParagraphs): new function returns a ParagraphList.
8755 * BufferView.C (removeAutoInsets): adjust
8756 (insertErrors): adjust
8757 (setCursorFromRow): adjust
8759 2003-04-01 Angus Leeming <leeming@lyx.org>
8761 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8764 2003-04-02 John Levon <levon@movementarian.org>
8770 * text_funcs.C: make transposeChars a free function
8772 * lyxrow_funcs.C: remove wrong comment
8774 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8777 * rowpainter.C: adjust
8782 * lyxrow_funcs. [Ch]: new files
8784 * lyxrow.[Ch]: remove next and previous pointers
8785 (next,previous): remove accessor functions
8786 (isParEnd): move to lyxrow_funcs
8787 (lastPos): move to lyxrow_funcs
8788 (nextRowIsAllInset): move to lyxrow_funcs
8789 (lastPrintablePos): move to lyxrow_funcs
8790 (numberOfSeparators): move to lyxrow_funcs
8791 (numberOfHfills): move to lyxrow_funcs
8792 (numberOfLabelHfills): move to lyxrow_funcs
8793 (hfillExpansion): move to lyxrow_funcs
8797 * bufferview_funcs.C (toggleAndShow): adjust
8799 * RowList.h: Remove class RowList from file leave just a
8802 * RowList.C: delete file
8804 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8807 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8809 * text3.C (cursorPrevious): adjust
8810 (cursorNext): adjust
8813 * text2.C (redoHeightOfParagraph): adjust
8814 (redoDrawingOfParagraph): adjust
8817 * text.C (breakParagraph): adjust
8818 (insertChar): adjust
8821 * rowpainter.C (RowPainter): adjust
8822 (leftMargin): simplify and adjust
8823 (most rowpainter functions): adjust.
8825 * rowpainter.h: store the row as RowList::iterator not as Row*
8827 * lyxcursor.C (row): taka RowList::iterator as arg
8830 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8833 2003-04-01 Angus Leeming <leeming@lyx.org>
8835 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8836 stuff like bool Bool.
8838 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8840 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8843 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8845 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8848 * lyxtext.h (rows): drop one version and leve a const variant that
8849 returns a RowList::iterator.
8851 2003-03-31 Angus Leeming <leeming@lyx.org>
8853 * text.C (fill): ensure that the signature is the same as that in the
8856 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8858 * text2.C (redoParagraphs): adjust
8859 (updateCounters): adjust
8860 (checkParagraph): adjust
8861 (getColumnNearX): adjust and reformat a bit.
8863 * text.C (top_y): adjust
8865 (leftMargin): adjust
8866 (prepareToPrint): adjust
8868 (getRowNearY): adjust
8870 * lyxtext.h: make rowlist_ mutable.
8872 * RowList.h: add const_iterator
8873 * RowList.C: adjust for RowList::const_iterator.
8875 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8878 2003-03-31 John Levon <levon@movementarian.org>
8881 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8883 * lyx_main.C: set default fonts from using lyx_gui funcs
8885 * exporter.C: pdf_mode moved from lyxrc
8888 * lyxfunc.C: changes from above
8890 2003-03-31 John Levon <levon@movementarian.org>
8892 * lyx_main.C: fix to the last fix
8894 2003-03-31 John Levon <levon@movementarian.org>
8896 * bufferlist.C: "Load original" -> "Load Original"
8902 * format.C: more Alert cleanups
8904 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8906 * text2.C (removeParagraph): make it take a RowList::iterator as
8908 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8909 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8911 * text.C (anchor_row): make it take a RowList::iterator as arg,
8913 (computeBidiTables): make it take a const reference to Row instead
8914 of Row pointer, adjust.
8915 (leftMargin): make it take a RowList::iterator as arg, adjust.
8916 (rowBreakPoint): adjust
8917 (breakAgainOneRow): make it take a RowList::iterator as arg,
8919 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8921 * bufferview_funcs.C (toggleAndShow): adjust
8923 2003-03-30 John Levon <levon@movementarian.org>
8927 * boost-inst.C: moved to support
8929 * several files: changes as a result
8931 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8933 * text2.C (LyXText): adjust.
8935 (removeRow): make it take a RowList::iterator as arg, adjust.
8936 (fullRebreak): adjust
8937 (deleteEmptyParagraphMechanism): adjust
8938 (clearPaint): adjust
8941 * text.C (top_y): adjust
8942 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8943 (breakAgain): make it take a RowList::iterator as arg, adjust.
8944 (breakParagraph): adjust
8945 (insertChar): adjust
8948 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8949 need_break_row, and refresh_row.
8951 * text3.C (dispatch): adjust
8953 * text2.C (checkParagraph): adjust
8955 (setCursorFromCoordinates): adjust
8957 * text.C (top_y): adjust
8959 (getRow): make it return a RowList::iterator, adjust
8960 (getRowNearY): make it return a RowList::iterator, adjust
8962 * text2.C (init): adjust
8963 (insertRow): remove function
8964 (insertParagraph): adjust
8965 (redoParagraphs): adjust
8966 (fullRebreak): adjust
8967 (updateCounters): adjust
8969 * text.C (top_y): rewrite to use RowList iterators.
8971 (setHeightOfRow): rewrite to sue RowList iterators.
8972 (appendParagraph): adjust
8973 (breakAgain): adjust
8974 (breakAgainOneRow): adjust
8975 (breakParagraph): adjust
8977 (getRowNearY): adjust, and remove commented code.
8979 * lyxtext.h (firstRow): delete function
8980 (lastRow): delete function
8981 (rows): new function (const and non-const versions.)
8982 (insertRow): delete function
8984 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8986 2003-03-29 John Levon <levon@movementarian.org>
8988 * BufferView_pimpl.C: always update scrollbar top
8989 because pasting text when we're anchored could mean we
8990 miss an update altogether
8992 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8994 * text2.C (init): use rowlist_.end() and not 0.
8995 (insertRow): change to take a RowList::iterator as arg, adjust
8997 (insertParagraph): change to take a RowList::iterator as arg,
8999 (redoParagraphs): remove some debug msgs.
9001 * text.C (appendParagraph): change to take a RowList::iterator
9002 arg, adjust for this.
9003 (breakAgain): add an assert
9004 (breakAgainOneRow): ditto
9006 2003-03-29 John Levon <levon@movementarian.org>
9008 * text2.C: do not clear selection after inc/decDepth
9011 2003-03-29 John Levon <levon@movementarian.org>
9014 * buffer.C: fix broken strerrors according to Lars
9016 2003-03-29 John Levon <levon@movementarian.org>
9018 * converters.C: more Alert cleanups
9020 2003-03-29 John Levon <levon@movementarian.org>
9022 * bufferview_funcs.C: remove pointless Alert
9024 * buffer.C: fix confusing error message when
9025 a template is chmoded 000
9027 2003-03-29 John Levon <levon@movementarian.org>
9031 * BufferView_pimpl.C: Alert fixes
9035 * tabular-old.C: remove unused table compat reading
9037 2003-03-29 John Levon <levon@movementarian.org>
9042 * lyx_cb.C: more Alert cleanups
9044 * lyxfunc.C: don't allow chktex if not latex document
9046 2003-03-29 John Levon <levon@movementarian.org>
9050 * buffer.C: warnings pushed down from support/,
9053 2003-03-29 John Levon <levon@movementarian.org>
9055 * lyxfunc.C: safety check for C-r (revert)
9057 2003-03-29 John Levon <levon@movementarian.org>
9060 * bufferlist.C: several UI fixes using Alert::prompt.
9061 Fix the pointless looping quit code. Fix stupid revert
9066 * lyx_cb.C: use Alert::prompt
9068 * lyx_main.C: remove a silly question
9070 * lyxfunc.C: remove a couple of silly questions,
9073 2003-03-28 John Levon <levon@movementarian.org>
9075 * text2.C: fix bug 974 (End on empty par)
9077 2003-03-28 John Levon <levon@movementarian.org>
9079 * BufferView_pimpl.C:
9081 * lfuns.h: remove do-nothing math greek lfuns
9083 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9085 * lyxgluelength.h (isValidGlueLength): add default arg on
9086 parameter 2. Remove default arg from friend in class.
9088 * lyxlength.h (isValidLength): add default arg on parameter 2.
9089 Remove default arg from friend in class.
9091 * text2.C (LyXText): adjust, initialize refresh_row.
9095 (insertParagraph): adjst
9096 (redoParagraphs): adjust
9097 (fullRebreak): adjust
9098 (updateCounters): adjust
9099 (deleteEmptyParagraphMechanism): first attempt at fixing a
9102 * text.C (top_y): adjust
9103 (setHeightOfRow): adjust
9105 (getRowNearY): adjust
9107 * lyxtext.h: include RowList.h
9108 (~LyXText): not needed anymore, deleted.
9109 (firstRow): modify for RowList
9110 (lastRow): new function
9111 Delete firstrow and lastrow class variables, add a Rowlist
9112 rowlist_ class variable.
9114 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9117 * RowList.C (insert): fix case where it == begin().
9119 2003-03-26 Angus Leeming <leeming@lyx.org>
9121 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9122 the thesaurus dialog.
9124 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9126 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9128 * RowList.[Ch]: new files
9130 * ParagraphList.C (erase): handle the case where it == begin
9133 2003-03-25 John Levon <levon@movementarian.org>
9137 * aspell.C: add new aspell support
9140 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9143 2003-03-25 Angus Leeming <leeming@lyx.org>
9146 * LyXAction.C (init): new LFUN_INSET_INSERT.
9148 * BufferView_pimpl.C (dispatch): split out part of the
9149 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9151 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9154 2003-03-25 Angus Leeming <leeming@lyx.org>
9156 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9158 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9161 * text3.C: remove useless row->height(0)
9163 2003-03-25 John Levon <levon@movementarian.org>
9167 * text3.C: rename the refreshing stuff to better names
9169 2003-03-24 John Levon <levon@movementarian.org>
9171 * BufferView_pimpl.h:
9172 * BufferView_pimpl.C: update layout choice on a mouse
9175 2003-03-23 John Levon <levon@movementarian.org>
9177 * Makefile.am: fix commandtags.h reference
9179 2003-03-22 John Levon <levon@movementarian.org>
9181 * BufferView_pimpl.C:
9186 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9188 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9191 * text.C: take the rtl methods out of line
9193 2003-03-21 André Pönitz <poenitz@gmx.net>
9195 * metricsinfo.[Ch]: new files containing structures to be passed around
9196 during the two-phase-drawing...
9198 2003-03-21 André Pönitz <poenitz@gmx.net>
9200 * lyxtextclass.C: read 'environment' tag.
9202 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9204 * text2.C (removeRow): fix bug 964
9206 2003-03-20 John Levon <levon@movementarian.org>
9210 * text2.C: paint cleanups. Inset::update() dropped font
9213 2003-03-19 John Levon <levon@movementarian.org>
9215 * lyxfunc.C: only fitcursor/markDirty if available()
9217 2003-03-19 John Levon <levon@movementarian.org>
9219 * commandtags.h: rename to ...
9221 * lfuns.h: ... this, and renumber / cleanup
9223 2003-03-19 John Levon <levon@movementarian.org>
9225 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9226 fit the cursor after an lfun
9230 * BufferView_pimpl.h:
9231 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9233 * LyXAction.C: layout-character should have ReadOnly
9235 * ParagraphParameters.C:
9237 * bufferview_funcs.C:
9244 * undo_funcs.C: changes from above
9246 2003-03-18 John Levon <levon@movementarian.org>
9248 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9249 remove it from update()
9251 * lyxfunc.C: update layout choice after an lfun
9253 * text3.C: remove extra updateLayoutChoice()s
9255 2003-03-18 John Levon <levon@movementarian.org>
9257 * text.C: top_y change means full repaint, fix
9258 a drawing bug with cursor movement
9260 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9264 * text2.C: anchor row on setCursor
9266 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9268 * lyxtext.h: remove almost all mutable keywords
9271 * text3.C: remove const keywords accordingly
9273 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9275 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9277 (TeXEnvironment): ditto
9280 2003-03-17 John Levon <levon@movementarian.org>
9282 * text.C (rowBreakPoint): remove attempt to fix displayed
9283 math insets inside a manual label
9285 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9287 * lyxtext.h: remove BufferView* as first arg from almost all class
9289 * other files: adjust.
9291 2003-03-17 John Levon <levon@movementarian.org>
9295 * text2.C: more paint cleanups
9297 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9300 * rowpainter.C: remove "smart" background painting code
9302 2003-03-16 John Levon <levon@movementarian.org>
9307 * text3.C: add helper functions for setting refresh_row/y
9309 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9311 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9312 newline inset which *can* get inserted in the pass_thru layouts.
9313 This is primarily for literate documents.
9315 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9317 * buffer.C: increment LYX_FORMAT to 223
9319 2003-03-14 André Pönitz <poenitz@gmx.net>
9321 * textclass.h: prepare for environment handling, ws changes
9322 * lyxlayout.C: read latexheader and latexfooter tags
9324 2003-03-14 John Levon <levon@movementarian.org>
9326 * text2.C: rewrite ::status() a bit
9328 2003-03-13 John Levon <levon@movementarian.org>
9330 * lyxtext.h: add some docs
9332 2003-03-13 John Levon <levon@movementarian.org>
9337 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9339 2003-03-13 John Levon <levon@movementarian.org>
9341 * text3.C: fix appendix redrawing
9343 2003-03-13 John Levon <levon@movementarian.org>
9345 * text.C (setHeightOfRow):
9347 * rowpainter.C: make appendix mark have the text
9348 "Appendix" so the user knows what it is
9351 * LColor.C: s/appendixline/appendix/ from above
9353 2003-03-13 John Levon <levon@movementarian.org>
9355 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9357 * text.C: fix a getChar(pos) bug properly
9359 2003-03-13 Angus Leeming <leeming@lyx.org>
9362 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9363 Probably only temporary. Let's see how things pan out.
9365 * BufferView.C (unlockInset):
9366 * BufferView_pimpl.C (fitCursor):
9367 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9369 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9370 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9372 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9373 new functions that convert ParagraphParameters to and from a string.
9375 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9376 BufferView::Pimpl's dispatch.
9377 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9379 2003-03-13 André Pönitz <poenitz@gmx.net>
9383 * factory.C: make it aware of InsetEnv
9385 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9387 * text2.C (setCursor): never ask for one past last
9388 (setCursor): add some debugging messages.
9390 * text.C (singleWidth): never ask for one past last
9391 (singleWidth): ditto
9393 (rightMargin): ditto
9394 (rowBreakPoint): ditto
9395 (setHeightOfRow): ditto
9396 (prepareToPrint): ditto
9398 * rowpainter.C (paintBackground): never ask for one past last
9399 (paintText): never ask for one past last
9401 * paragraph_pimpl.C (getChar): make the assert stricter, never
9402 allow the one past last pos to be taken
9404 * paragraph.C (getChar): ws changes only
9406 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9407 (numberOfSeparators): ditto
9408 (numberOfHfills): ditto
9410 2003-03-12 John Levon <levon@movementarian.org>
9416 * paragraph_funcs.C: fix per-buffer authorlists
9418 2003-03-12 John Levon <levon@movementarian.org>
9420 * text.C: fix newline in right address
9422 2003-03-12 Angus Leeming <leeming@lyx.org>
9424 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9425 duplicate those in LyXFunc::dispatch.
9429 * ToolbarDefaults.C:
9430 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9431 Add LFUN_FONTFREE_UPDATE.
9433 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9434 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9436 * bufferview_func.[Ch]: several new functions to facilliate
9437 transfer of data to and from the character dialog.
9439 2003-03-12 John Levon <levon@movementarian.org>
9444 * paragraph_funcs.C:
9445 * paragraph_pimpl.C:
9449 * text3.C: remove META_NEWLINE in favour of an inset
9452 * rowpainter.C: remove paintNewline (done by inset)
9454 2003-03-12 John Levon <levon@movementarian.org>
9456 * paragraph_pimpl.C: complain about bad getChar()s
9457 for a while at least
9459 2003-03-12 John Levon <levon@movementarian.org>
9462 * buffer.C: move paragraph read into a separate function,
9463 a little renaming to reflect that.
9466 * bufferparams.C: remove the author_ids map, not necessary now
9469 * factory.C: moved Buffer::readInset to here
9471 * paragraph_funcs.h:
9472 * paragraph_funcs.C: readParagraph free function moved from
9475 * tabular.C: name change
9477 2003-03-12 John Levon <levon@movementarian.org>
9480 * ParagraphParameters.C: move par params input to
9483 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9484 behave like a normal read from the stream wrt reading
9485 a line vs. a \\token
9487 2003-03-12 John Levon <levon@movementarian.org>
9490 * ParagraphParameters.h:
9491 * ParagraphParameters.C: move output code to a
9494 2003-03-12 John Levon <levon@movementarian.org>
9496 * BufferView.C (insertLyXFile):
9499 * tabular.C: use a parlist iterator for creating the
9502 2003-03-12 John Levon <levon@movementarian.org>
9504 * buffer.C: make current_change static local not
9507 2003-03-12 John Levon <levon@movementarian.org>
9509 * buffer.C: fix insertStringAsLines for change tracking
9511 2003-03-12 John Levon <levon@movementarian.org>
9518 * bufferparams.C: move author list into params. Rename some
9519 functions. Move the header reading into a separate token
9520 loop. Move the header token reading into BufferParams.
9522 2003-03-12 John Levon <levon@movementarian.org>
9524 * changes.C: put debug inside lyxerr.debugging() checks
9526 2003-03-11 André Pönitz <poenitz@gmx.net>
9528 * factory.C: make it aware of InsetHFill
9530 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * buffer.C (latexParagraphs): move function from here...
9533 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9536 2003-03-10 Angus Leeming <leeming@lyx.org>
9538 * LyXAction.C (init): fix bug in poplating array with multiple entries
9539 with the same LFUN (spotted by JMarc).
9541 2003-03-10 John Levon <levon@movementarian.org>
9544 * text2.C: move getColumnNearX() near its
9547 2003-03-10 John Levon <levon@movementarian.org>
9549 * text.C: fix break before a minipage
9551 2003-03-10 John Levon <levon@movementarian.org>
9553 * text.C: fix the last commit
9555 2003-03-09 John Levon <levon@movementarian.org>
9559 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9560 bug 365 (don't break before insets unless needed). Don't
9561 return a value > last under any circumstances.
9563 2003-03-09 Angus Leeming <leeming@lyx.org>
9565 * BufferView_pimpl.C (trackChanges, dispatch): call
9566 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9568 2003-03-09 Angus Leeming <leeming@lyx.org>
9570 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9571 than Dialogs::showAboutlyx().
9573 2003-03-09 Angus Leeming <leeming@lyx.org>
9575 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9576 than Dialogs::showTabularCreate().
9578 2003-03-09 John Levon <levon@movementarian.org>
9582 * text2.C: 3rd arg to nextBreakPoint was always the same.
9585 2003-03-08 John Levon <levon@movementarian.org>
9592 * text2.C: Remove the "main" bit from the "main body"
9595 2003-03-08 John Levon <levon@movementarian.org>
9597 * text.C (leftMargin): The left margin of an empty
9598 manual label paragraph should not include the label width
9601 * text.C (prepareToPrint): don't attempt to measure hfills
9602 for empty manual label paragraphs - the answer should be 0
9604 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9606 * CutAndPaste.C: remove commented code and reindent.
9608 2003-03-08 John Levon <levon@movementarian.org>
9611 * lyxfunc.C: move reloadBuffer()
9614 * BufferView.C: to here
9616 * lyxvc.C: add comment
9619 * vc-backend.C: call bv->reload() to avoid
9620 getStatus() check on MENURELOAD
9622 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9624 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9625 to an old format .dep file.
9627 2003-03-07 Angus Leeming <leeming@lyx.org>
9629 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9630 when the LFUN_MOUSE_RELEASE should have been handled by
9631 inset->localDispatch.
9633 2003-03-07 Angus Leeming <leeming@lyx.org>
9635 * BufferView_pimpl.C (dispatch):
9636 * LyXAction.C (init):
9637 * ToolbarDefaults.C (init):
9639 * lyxfunc.C (getStatus):
9640 remove LFUN_INSET_GRAPHICS.
9642 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9644 2003-03-07 Angus Leeming <leeming@lyx.org>
9647 * LyXAction.C (init):
9648 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9650 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9653 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9655 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9656 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9658 2003-03-07 Angus Leeming <leeming@lyx.org>
9660 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9663 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9665 * ParagraphList.C (front): new function
9668 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9670 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9671 and top_row_offset_. removed var first_y.
9673 * text2.C (LyXText, removeRow):
9675 * BufferView_pimpl.C:
9676 use these methods instead of using first_y
9678 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9680 * text2.C (pasteSelection): adjust for checkPastePossible
9682 * CutAndPaste.C: remove Paragraph * buf and replace with
9683 ParagraphList paragraphs.
9684 (DeleteBuffer): delete
9685 (cutSelection): change the tc type to textclass_type
9686 (copySelection): change the tc type to textclass_type
9687 (copySelection): adjust for ParagraphList
9688 (pasteSelection): change the tc type to textclass_type
9689 (pasteSelection): adjust for Paragraphlist
9690 (nrOfParagraphs): simplify for ParagraphList
9691 (checkPastePossible): simplify for ParagraphList
9692 (checkPastePossible): remove unused arg
9694 * ParagraphList.C (insert): handle the case where there are no
9697 * CutAndPaste.h: make CutAndPaste a namespace.
9699 * text3.C (dispatch): adjust
9701 * text.C (breakParagraph): add a ParagraphList as arg
9703 * paragraph_funcs.C (breakParagraph): change to take a
9704 BufferParams and a ParagraphList as args.
9705 (breakParagraphConservative): ditto
9706 (mergeParagraph): ditto
9707 (TeXDeeper): add a ParagraphList arg
9708 (TeXEnvironment): ditto
9711 * buffer.C (readLyXformat2): adjust
9712 (insertStringAsLines): adjust
9713 (latexParagraphs): adjust
9715 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9716 (cutSelection): adjust
9717 (pasteSelection): adjust
9719 * BufferView_pimpl.C (insertInset): adjust
9721 2003-03-05 Angus Leeming <leeming@lyx.org>
9724 * LyXAction.C (init):
9725 * BufferView_pimpl.C (dispatch):
9726 * lyxfunc.C (getStatus):
9727 remove LFUN_CHILD_INSERT.
9729 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9731 2003-03-05 Angus Leeming <leeming@lyx.org>
9734 * LyXAction.C (init):
9735 * src/factory.C (createInset):
9736 * lyxfunc.C (getStatus):
9737 * text3.C (dispatch):
9738 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9740 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9742 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9744 * ParagraphList.C (insert): handle insert right before end()
9745 (erase): fix cases where it can be first or last paragraph.
9747 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9749 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9750 Paragraph::next and Paragraph::previous
9753 * text.C (breakParagraph): adjust
9755 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9756 BufferParams& as arg.
9757 (breakParagraph): use ParagraphList::insert
9758 (breakParagraphConservative): take a Buffer* instead of a
9759 BufferParams& as arg.
9760 (breakParagraphConservative): use ParagraphList::insert.
9762 * buffer.C (insertStringAsLines): un-const it
9763 (insertStringAsLines): adjust
9765 * ParagraphList.C (insert): new function
9767 * CutAndPaste.C (pasteSelection): adjust
9769 * text.C (backspace): adjust
9771 * tabular.C (SetMultiColumn): adjust
9773 * CutAndPaste.C (cutSelection): adjust
9774 (pasteSelection): adjust
9776 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9777 Buffer const * as arg
9779 * ParagraphList.C (erase): new function
9780 * paragraph_funcs.C (mergeParagraph): use it
9781 (mergeParagraph): make it take a Buffer* instead of a
9782 BufferParams* as arg
9784 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9786 (breakParagraphConservative): ditto
9788 * paragraph.h: remove the breakParagraph friend
9790 * paragraph.C (eraseIntern): new function
9791 (setChange): new function
9793 * paragraph_funcs.C (mergeParagraph): make it take a
9794 ParagraphList::iterator instead of a Paragraph *, adjust
9797 * paragraph.h: move an #endif so that the change tracking stuff
9798 also works in the NO_NEXT case.
9800 2003-03-04 Angus Leeming <leeming@lyx.org>
9803 * LyXAction.C: new LFUN_INSET_MODIFY.
9805 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9806 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9808 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9810 * several files: ws changes only
9812 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9813 (TeXEnvironment): ditto
9816 * buffer.C (makeLaTeXFile): adjust
9817 (latexParagraphs): make it take ParagraphList::iterator as args
9819 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9821 * buffer.C (latexParagraphs): adjust
9823 * paragraph.C (TeXOnePar): move function...
9824 (optArgInset): move function...
9825 (TeXEnvironment): move function...
9826 * paragraph_pimpl.C (TeXDeeper): move function...
9827 * paragraph_funcs.C: ...here
9829 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9831 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9833 * buffer.C (readInset): remove compability code for old Figure and
9836 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9838 * buffer.C: ws changes
9841 * BufferView_pimpl.C: ditto
9844 * bufferlist.h: ditto
9848 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9850 * converter.[Ch]: split into itself +
9853 * Makefile.am: += graph.[Ch] + format.[Ch]
9860 * lyxrc.C: added #include "format.h"
9862 2003-02-27 Angus Leeming <leeming@lyx.org>
9864 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9867 * factory.C (createInset): add "label" to the factory.
9869 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9870 string and do no more.
9872 2003-02-27 Angus Leeming <leeming@lyx.org>
9875 * LyXAction.C (init):
9876 * factory.C (createInset):
9877 * BufferView_pimpl.C (dispatch):
9878 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9880 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9882 * lyxfunc.C (dispatch):
9883 * text3.C (dispatch): pass name to params2string.
9885 2003-02-26 Angus Leeming <leeming@lyx.org>
9887 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9889 Rearrange the ~includes. Strip out the unnecessary ones.
9891 * factory.C (createInset): reformat.
9892 create new insets for the various LFUN_XYZ_APPLY lfuns.
9894 2003-02-26 John Levon <levon@movementarian.org>
9897 * lyxrow.C: add isParStart,isParEnd helpers
9899 * paragraph.h: make isInserted/DeletedText take refs
9901 * paragraph_funcs.h:
9902 * paragraph_funcs.C: remove #if 0'd code
9907 * text.C: use lyxrow helpers above.
9908 Move draw and paint routines to RowPainter.
9909 Make several methods use refs not pointers.
9910 Make backgroundColor() const.
9911 Add markChangeInDraw(), isInInset().
9912 Merge changeRegionCase into changeCase.
9913 Make workWidth() shouldn't-happen code into an Assert.
9916 * rowpainter.C: new class for painting a row.
9919 * vspace.C: make inPixels take a ref
9921 2003-02-26 Angus Leeming <leeming@lyx.org>
9923 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9926 2003-02-25 John Levon <levon@movementarian.org>
9928 * ispell.C: give the forked command a more accurate name
9930 2003-02-22 John Levon <levon@movementarian.org>
9933 * toc.C: make TocItem store an id not a Paragraph *
9936 2003-02-21 Angus Leeming <leeming@lyx.org>
9938 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9939 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9940 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9941 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9942 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9943 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9945 * BufferView_pimpl.C (dispatch):
9946 * LyXAction.C (init):
9947 * factory.C (createInset):
9948 * lyxfunc.C (getStatus, dispatch):
9949 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9951 2003-02-21 Angus Leeming <leeming@lyx.org>
9953 * BufferView_pimpl.C (MenuInsertLyXFile):
9954 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9955 * lyxfunc.C (menuNew, open, doImport):
9956 no longer pass a LyXView & to fileDlg.
9958 2003-02-21 Angus Leeming <leeming@lyx.org>
9960 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9961 * LyXAction.C: change, BIBKEY to BIBITEM.
9962 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9963 Change InsetBibKey to InsetBibitem.
9964 Change BIBKEY_CODE to BIBITEM_CODE.
9965 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9966 * factory.C: replace insetbib.h with insetbibitem.h.
9967 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9968 * paragraph.C: replace insetbib.h with insetbibitem.h.
9969 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9970 Change bibkey() to bibitem().
9971 * text.C: remove insetbib.h.
9972 * text2.C: replace insetbib.h with insetbibitem.h.
9973 change bibkey() to bibitem().
9974 * text3.C: remove insetbib.h.
9975 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9977 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9979 * lyxrc.C (output): enclose user email in quotes (in case there are
9982 2003-02-18 John Levon <levon@movementarian.org>
9984 * buffer.h: add std::
9986 2003-02-17 John Levon <levon@movementarian.org>
9992 * pspell.C: reworking. Especially in ispell, a large
9993 number of clean ups and bug fixes.
9995 * lyxfunc.C: fix revert to behave sensibly
9997 2003-02-17 André Pönitz <poenitz@gmx.net>
10000 * commandtags.h: new LFUN_INSERT_BIBKEY
10010 * paragraph_func.C: remove special bibkey handling
10012 2003-02-17 John Levon <levon@movementarian.org>
10014 * text.C (Delete): fix case where delete at the end of
10015 the very first paragraph would not merge the pars
10017 2003-02-17 John Levon <levon@movementarian.org>
10019 * lyxrow.C: fix lastPrintablePos()
10021 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10023 * bufferparams.C (writeLaTeX): add a std:here
10025 * buffer.C: and remove a using directive there
10027 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10029 * buffer.C (makeLaTeXFile): move the code that generates the
10032 * bufferparams.C (writeLaTeX): ... in this new method
10034 * LaTeXFeatures.C (getEncodingSet): make const
10035 (getLanguages): make const
10037 * MenuBackend.C (binding): returns the binding associated to this
10039 (add): sets the status of each item by calling getStatus. Adds
10041 (read): add support for OptSubMenu
10042 (expand): remove extra separator at the end of expanded menu
10044 2003-02-15 John Levon <levon@movementarian.org>
10047 * BufferView_pimpl.C:
10049 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10050 inset code that had no actual effect. Remove unneeded status
10053 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10055 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10058 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10060 * text.C (drawLengthMarker): also draw an arrow marker for
10061 symbolic lengths (medskip...)
10063 2003-02-14 John Levon <levon@movementarian.org>
10066 * tabular.C: better method names
10068 2003-02-14 John Levon <levon@movementarian.org>
10070 * BufferView_pimpl.C:
10075 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10076 it's a more accurate name. Remove some pointless uses.
10078 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10080 * text2.C (LyXText): change order of initilizers to shut off
10083 2003-02-14 John Levon <levon@movementarian.org>
10085 * buffer.C: use ParIterator for getParFromID()
10089 * paragraph_pimpl.h:
10090 * paragraph_pimpl.C: remove unused getParFromID()
10092 2003-02-14 John Levon <levon@movementarian.org>
10094 * buffer.C: remove some very old #if 0'd parse code
10096 2003-02-13 John Levon <levon@movementarian.org>
10100 * text2.C: move hfillExpansion(), numberOfSeparators(),
10101 rowLast(), rowLastPrintable(), numberofHfills(),
10102 numberOfLabelHfills() ...
10105 * lyxrow.C: ... to member functions here.
10110 * text.C: remove LyXText::beginningOfMainBody(), and call
10111 p->beginningOfMainBody() directly. Move the check for
10112 LABEL_MANUAL into the latter.
10119 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10125 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10126 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10128 2003-02-13 John Levon <levon@movementarian.org>
10130 * CutAndPaste.C: remove debug
10132 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10134 * paragraph.C (asString): remove two unused variables
10136 * lyxtextclass.C (readTitleType):
10138 (LyXTextClass): handle new members titletype_ and titlename_
10140 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10142 2003-02-09 John Levon <levon@movementarian.org>
10145 * buffer.C: replace hand-coded list with a map for the dep clean
10147 2003-02-08 John Levon <levon@movementarian.org>
10149 * LaTeX.C: consolidate code into showRunMessage() helper
10151 2003-02-08 John Levon <levon@movementarian.org>
10156 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10157 and pass the size in explicitly
10159 * BufferView_pimpl.h:
10160 * BufferView_pimpl.C:
10162 * BufferView.C: add getCurrentChange()
10164 * BufferView_pimpl.h:
10165 * BufferView_pimpl.C: handle change lfuns
10167 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10168 for changes. Mark pasted paragraphs as new.
10170 * support/lyxtime.h:
10171 * support/lyxtime.C:
10172 * DepTable.C: abstract time_t as lyx::time_type
10175 * LColor.C: add colours for new text, deleted text, changebars
10177 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10178 package use "usenames" option.
10182 * LyXAction.C: add change lfuns
10186 * author.C: author handling
10189 * buffer.C: add a per-buffer author list, with first entry as
10190 current author. Handle new .lyx tokens for change tracking. Output
10191 author list to .lyx file. Output dvipost stuff to .tex preamble.
10192 Bump lyx format to 222.
10195 * bufferlist.C: add setCurrentAuthor() to reset current author details
10199 * bufferparams.C: add param for tracking
10201 * bufferview_funcs.C: output change info in minibuffer
10205 * changes.C: add change-tracking structure
10208 * debug.C: add CHANGES debug flag
10211 * lyxfind.C: add code for finding the next change piece
10214 * lyxrc.C: add user_name and user_email
10217 * lyxrow.C: add a metric for the top of the text line
10220 * text.C: implement accept/rejectChange()
10223 * text.C: paint changebars. Paint new/deleted text in the chosen
10224 colours. Strike through deleted text.
10228 * paragraph_pimpl.h:
10229 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10230 in the current change to the insert functions. Rework erase to
10231 mark text as deleted, adding an eraseIntern() and a range-based
10232 erase(). Implement per-paragraph change lookup and
10235 * paragraph_funcs.C: Fixup paste for change tracking.
10237 * tabular.C: mark added row/columns as new.
10239 * text.C: fix rowLast() to never return -1. Don't allow
10240 spellchecking of deleted text. Track transpose changes. Don't
10241 allow paragraph break or merge where appropriate.
10243 * text2.C: leave cursor at end of selection after a cut.
10245 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10247 * text.C (getLengthMarkerHeight):
10248 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10249 visible on screen too.
10251 2003-02-07 John Levon <levon@movementarian.org>
10253 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10255 2003-02-05 Angus Leeming <leeming@lyx.org>
10257 * lyxserver.C (read_ready): revert my patch of 11 September last year
10258 as it sends PC cpu through the roof. Presumably this means that
10259 the lyxserver will no longer run on an Alpha...
10261 2003-01-30 Angus Leeming <leeming@lyx.org>
10263 * factory.C (createInset): create an InsetCommandParam of type "index"
10264 and use it to 'do the right thing'.
10266 * text2.C (getStringToIndex): ensure that cursor position is always
10267 reset to the reset_cursor position.
10269 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10271 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10274 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10278 * lyxfunc.C: Output messages with identical spelling, punctuation,
10281 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10283 * MenuBackend.C (expandFormats): List only viewable export formats
10286 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10289 * lyxfunc.C (getStatus): Make sure that formats other than
10290 "fax" can also be disabled
10292 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10294 * text3.C (dispatch): put the lfuns that insert insets in 3
10295 groups, and call doInsertInset with appropriate arguments.
10296 (doInsertInset): new function, that creates an inset and inserts
10297 it according to some boolean parameters.
10299 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10301 * buffer.C (readFile): remember to pass on 'par' when calling
10302 readFile recursively.
10304 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10306 * MenuBackend.C (expandFormats): add "..." to import formats.
10308 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10310 * paragraph.C (asString): Remove XForms RTL hacks.
10312 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10313 * buffer.C: fix typo
10315 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10317 * Makefile.am (LIBS): delete var
10318 (lyx_LDADD): add @LIBS@ here instead.
10320 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10322 * Clarify the meaning of "wheel mouse jump"
10324 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10326 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10329 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10331 * importer.C (Loaders): do not preallocate 3 elements in the
10332 vector, since one ends up with 6 elements otherwise
10334 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10336 * DepTable.C (write): write the file name as last element of the
10337 .dep file (because it may contain spaces)
10338 (read): read info in the right order
10340 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10342 * paragraph_pimpl.C (simpleTeXBlanks):
10343 (simpleTeXSpecialChars):
10344 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10346 * tabular.C (latex): add some missing case statements. Reindent.
10348 * MenuBackend.C (expandToc): remove unused variable.
10350 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10359 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10362 2003-01-05 John Levon <levon@movementarian.org>
10365 * BufferView.C: add getEncoding()
10368 * kbsequence.C: do not store last keypress
10371 * lyxfunc.C: store last keypress here instead. Pass encoding
10374 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10376 * lyx_main.C (init): remove annoying error message when following
10377 symbolic links (bug #780)
10379 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10381 * text.C (insertChar):
10382 * lyxrc.C (getDescription): remove extra spaces
10384 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10386 * lyxrc.C (getDescription): remove extra spaces
10388 2002-12-20 John Levon <levon@movementarian.org>
10390 * text3.C: hack fix for page up/down across tall rows
10392 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10394 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10397 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10399 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10400 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10401 thesaurus is not compiled in
10403 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10405 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10407 2002-12-16 Angus Leeming <leeming@lyx.org>
10410 * lyx_main.C (init): remove override_x_deadkeys stuff.
10412 2002-12-12 John Levon <levon@movementarian.org>
10414 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10415 insert. Only remove shift modifier under strict
10418 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10420 * MenuBackend.C (expandToc): fix crash.
10422 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10424 * MenuBackend.C (expandToc): gettext on float names.
10426 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10428 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10429 implement bool empty() [bug 490]
10431 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10433 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10435 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10437 * several files: ws changes
10439 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10441 * text2.C (setCounter): clean up a bit, use boost.format.
10442 (updateCounters): initialize par upon declaration.
10444 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10445 if the layout exists. We do not just store the layout any more.
10446 (SwitchLayoutsBetweenClasses): use boost.format
10448 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10450 * converter.C (convert): if from and to files are the same, use a
10451 temporary files as intermediary
10453 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10456 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10458 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10460 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10462 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10464 * tabular.C (asciiPrintCell): use string(size, char) instead of
10467 * sgml.C (openTag): fix order of arguments to string constructor
10470 * lyxfunc.C (dispatch): use boost.format
10472 * lots of files: change "c" -> 'c'
10474 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10476 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10478 2002-11-25 Angus Leeming <leeming@lyx.org>
10480 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10482 * lyx_main.C (init): compile fix.
10484 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10486 * lyx_cb.C (start): boost.formatify
10487 do not include <iostream>
10489 * lengthcommon.C: ws only
10491 * boost-inst.C,BoostFormat.h: add more explict instantations
10493 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10495 * lots of files: handle USE_BOOST_FORMAT
10497 2002-11-21 John Levon <levon@movementarian.org>
10499 * pspell.C: fix compile
10501 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10503 * lyxfunc.C (dispatch): use boost::format
10507 * lyxfont.C (stateText): use boost::format
10509 * lyx_main.C (LyX): use boost::format
10511 (queryUserLyXDir): ditto
10512 (readRcFile): ditto
10514 (typedef boost::function): use the recommened syntax.
10516 * importer.C (Import): use boost::format
10518 * debug.C (showLevel): use boost::format
10520 * converter.C (view): use boost::format
10525 * bufferview_funcs.C (currentState): use boost::format
10527 * bufferlist.C (emergencyWrite): use boost::format
10529 * buffer.C (readLyXformat2): use boost::format
10530 (parseSingleLyXformat2Token): ditto
10532 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10534 * LaTeX.C (run): use boost::format
10536 * Chktex.C (scanLogFile): use boost::format
10538 * BufferView_pimpl.C (savePosition): use boost::format
10539 (restorePosition): ditto
10540 (MenuInsertLyXFile): ditto
10542 * BoostFormat.h: help file for explicit instation.
10544 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10546 * tabular.C (latex): Support for block alignment in fixed width
10549 2002-11-17 John Levon <levon@movementarian.org>
10551 * BufferView_pimpl.C:
10553 * lyxfunc.C: split filedialog into open/save
10555 2002-11-08 Juergen Vigna <jug@sad.it>
10557 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10558 by my last patch (hopefully).
10560 2002-11-08 John Levon <levon@movementarian.org>
10569 * toc.C: ParConstIterator, and use it (from Lars)
10571 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10573 * lyxtextclass.[Ch]: revise and add doxygen comments
10575 2002-11-07 John Levon <levon@movementarian.org>
10577 * text.C: fix progress value for spellchecker
10579 * toc.C: fix navigate menu for insetwrap inside minipage
10581 * paragraph_funcs.C: added FIXME for suspect code
10583 2002-11-07 John Levon <levon@movementarian.org>
10585 * BufferView_pimpl.C: fix redrawing of insets
10588 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10590 * text2.C (updateCounters): fix bug 668
10592 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10594 * text3.C (dispatch): Do not make the buffer dirty when moving the
10597 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10599 * vc-backend.C: STRCONV
10600 (scanMaster): ditto
10602 * text2.C (setCounter): STRCONV
10604 * paragraph.C (asString): STRCONV
10606 * lyxlength.C (asString): STRCONV
10607 (asLatexString): ditto
10609 * lyxgluelength.C (asString): STRCONV
10610 (asLatexString): ditto
10612 * lyxfunc.C (dispatch): STRCONV
10615 * lyxfont.C (stateText): STRCONV
10617 * importer.C (Import): STRCONV
10619 * counters.C (labelItem): STRCONV
10620 (numberLabel): ditto
10621 (numberLabel): remove unused ostringstream o
10626 * bufferview_funcs.C (currentState): STRCONV
10628 * buffer.C (readFile): STRCONV
10629 (asciiParagraph): ditto
10630 (makeLaTeXFile): ditto
10632 * Spacing.C (writeEnvirBegin): STRCONV
10634 * LaTeXFeatures.C (getLanguages): STRCONV
10635 (getPackages): ditto
10637 (getBabelOptions): ditto
10638 (getTClassPreamble): ditto
10639 (getLyXSGMLEntities): ditto
10640 (getIncludedFiles): ditto
10644 (scanAuxFile): ditto
10647 * LString.h: add the STRCONV macros
10649 * BufferView_pimpl.C (savePosition): STRCONV
10650 (restorePosition): ditto
10651 (MenuInsertLyXFile): ditto
10653 * vc-backend.C (scanMaster): change from submatch[...] to
10656 * funcrequest.C: include config.h
10658 * factory.C: include config.h
10660 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10662 * box.C: include config.h
10664 * LaTeX.C (scanAuxFile): change from submatch[...] to
10668 2002-10-25 Angus Leeming <leeming@lyx.org>
10670 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10672 * ispell.[Ch] (setError): new method.
10673 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10674 Use setError() insetead of goto END.
10676 * lyx_cb.C (AutoSave): move out child process into new class
10679 2002-10-30 John Levon <levon@movementarian.org>
10681 * text3.C: make start appendix undoable
10683 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10685 * lyxlength.C (inPixels): Fix returned value.
10687 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10690 2002-10-24 Angus Leeming <leeming@lyx.org>
10692 * lyxgluelength.h: no need to forward declare BufferParams
10693 or BufferView, so don't.
10695 2002-10-21 John Levon <levon@movementarian.org>
10697 * BufferView.C: menuUndo ->undo, redo
10699 * BufferView.h: document, remove dead, make some methods private
10701 * paragraph_funcs.h:
10702 * paragraph_funcs.C:
10703 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10708 * sgml.C: move sgml open/close tag into sgml.C
10710 * bufferview_funcs.h: unused prototype
10713 * lyxfunc.C: remove unused
10716 * text.C: remove unused
10718 2002-10-21 John Levon <levon@movementarian.org>
10722 * BufferView_pimpl.h:
10723 * BufferView_pimpl.C: fix mouse wheel handling based on
10724 patch from Darren Freeman
10726 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10728 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10730 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10732 * lyxlength.C (inPixels): Fix hanfling of negative length.
10733 Fix LyXLength::MU case.
10735 2002-10-16 John Levon <levon@movementarian.org>
10737 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10739 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10741 * converter.C (view): add support for $$i (file name) and $$p
10742 (file path) for the viewer command. If $$i is not specified, then
10743 it is appended to the command (for compatibility with old syntax)
10745 2002-10-14 Juergen Vigna <jug@sad.it>
10747 * undo_funcs.C (textHandleUndo): alter the order in which the
10748 new undopar is added to the LyXText, as we have to set first
10749 the right prev/next and then add it as otherwise the rebuild of
10750 LyXText is not correct. Also reset the cursor to the right paragraph,
10751 with this IMO we could remove the hack in "redoParagraphs()".
10753 2002-10-09 Angus Leeming <leeming@lyx.org>
10755 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10756 to turn off an optimisation if a new inset is to be inserted.
10758 2002-10-11 André Pönitz <poenitz@gmx.net>
10760 * lyxtext.h: make some functions public to allow access
10761 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10763 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10765 * text3.C (dispatch): when changing layout, avoid an infinite loop
10768 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10770 * lyxrc.C (read): treat a viewer or converter command of "none" as
10773 * MenuBackend.C (expandFormats): for an update, also allow the
10774 formats that are not viewable
10776 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10777 script if it is newer than the lyxrc.defaults in user directory
10779 2002-10-07 André Pönitz <poenitz@gmx.net>
10781 * text.C: Vitaly Lipatov's small i18n fix
10783 2002-09-25 Angus Leeming <leeming@lyx.org>
10785 * ispell.h: doxygen fix.
10787 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10789 * buffer.h (readFile): Add a new argument to the method, to allow
10790 reading of old-format templates.
10792 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10794 * toc.C (getTocList): Get TOC from InsetWrap.
10796 2002-09-16 John Levon <levon@movementarian.org>
10798 * lyxfunc.C: check tabular for cut/copy too
10800 2002-09-12 John Levon <levon@movementarian.org>
10802 * LyXAction.C: tidy
10805 * factory.C: add header
10807 * paragraph_funcs.h:
10808 * paragraph_funcs.C: cleanup
10810 2002-09-11 John Levon <levon@movementarian.org>
10812 * PrinterParams.h: odd/even default to true
10814 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10816 * PrinterParams.h: update printer parameters for new xforms dialog
10818 2002-09-11 Angus Leeming <leeming@lyx.org>
10820 * lyxserver.C (read_ready): re-write to make it more transparent
10821 and to make it work in coherent fashion under Tru64 Unix.
10823 2002-09-11 André Pönitz <poenitz@gmx.net>
10827 * text3.C: implement LFUN_WORDSEL
10829 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10831 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10832 make floatlist_ a boost::shared_ptr<FloatList>
10834 * lyxtextclass.C: include FloatList.h
10835 (LyXTextClass): initialize floatlist_
10836 (TextClassTags): add TC_NOFLOAT
10837 (Read): match "nofloat" to TC_NOFLOAT and use it.
10838 (readFloat): modify call to floatlist_
10842 * FloatList.[Ch] (FloatList): remove commented out float
10844 (erase): new function
10846 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10848 * MenuBackend.C (expandToc): fix crash when there is no document
10851 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10853 * many files: Add insetwrap.
10855 2002-09-09 John Levon <levon@movementarian.org>
10857 * text2.C: remove confusing and awkward depth wraparound
10859 2002-09-09 John Levon <levon@movementarian.org>
10861 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10864 * buffer.C: remove getIncludeonlyList()
10867 * lyxfunc.C: remove headers
10869 2002-09-09 Juergen Vigna <jug@sad.it>
10871 * text.C (getColumnNearX): fix form Michael this is most
10872 probably a cut&paste bug.
10874 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10876 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10878 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10879 references, ws changes.
10881 * text2.C (init): update counters after init
10882 (insertParagraph): no need to set counter on idividual paragraphs.
10883 (setCounter): access the counters object in the textclass object
10884 on in the buffer object.
10885 (updateCounters): ditto
10887 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10888 shared_ptr<Counters> to avoid loading counters.h in all
10890 (LyXTextClass): initialize ctrs_
10891 (TextClassTags): add TC_COUNTER, and ...
10892 (Read): use it here.
10893 (CounterTags): new tags
10894 (readCounter): new function
10895 (counters): new funtion
10896 (defaultLayoutName): return a const reference
10898 * counters.C (Counters): remove contructor
10899 (newCounter): remove a couple of unneeded statements.
10900 (newCounter): simplify a bit.
10901 (numberLabel): some small formatting changes.
10903 * buffer.[Ch]: remove all traces of counters, move the Counters
10904 object to the LyXTextClass.
10906 2002-09-06 Alain Castera <castera@in2p3.fr>
10908 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10909 package to set the horizontal alignment on fixed width columns.
10912 * lyx_sty.h: added tabularnewline macro def.
10914 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10916 2002-09-06 John Levon <levon@movementarian.org>
10918 * LyXAction.C: tooltips for sub/superscript
10920 * MenuBackend.C: a bit more verbose
10922 * lyxfunc.C: tiny clean
10924 * undo_funcs.C: document undo_frozen
10926 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10928 * counters.C (Counters): add missing algorithm counter.
10930 * text2.C (setCounter): lookup the counter with layouts latexname
10931 instead of by section number.
10932 (setCounter): use a hackish way to lookup the correct enum
10934 a float name->type change
10935 reset enum couners with counter name directly instead of depth value.
10937 * counters.C (Counters): remove the push_backs, change to use the
10938 float type not the float name.
10939 (labelItem): remove unused string, float name->type change
10941 * counters.h: don't include vector, loose the enums and sects vectors
10943 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10945 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10946 (Read): add float->TC_FLOAT to textclassTags
10947 (Read): and handle it in the switch
10948 (readFloat): new function
10950 * FloatList.C (FloatList): comment out the hardcoded float
10953 * lyxlayout.h: ws change.
10955 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10957 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10959 2002-09-03 Angus Leeming <leeming@lyx.org>
10961 * BufferView_pimpl.h: qualified name is not allowed in member
10962 declaration: WorkArea & Pimpl::workarea() const;
10964 * factory.C: added using std::endl directive.
10966 * text3.C: added using std::find and std::vector directives.
10968 2002-08-29 André Pönitz <poenitz@gmx.net>
10971 * text2.C: remove unused member number_of_rows
10974 * BufferView2.C: remove file, move contents to...
10975 * BufferView.C: ... here
10977 * BufferView_pimpl.C:
10978 * factory.C: move more inset creation to factory
10980 * vspace.C: avoid direct usage of LyXText, ws changes
10983 don't provide direct access to WorkArea, use two simple
10984 acessors haveSelction() and workHeight() instead
10987 2002-08-29 John Levon <levon@movementarian.org>
10989 * BufferView_pimpl.C (dispatch): do not continue when
10992 2002-08-28 André Pönitz <poenitz@gmx.net>
10994 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10997 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10999 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11001 * buffer.C: increment LYX_FORMAT to 221
11003 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11004 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11006 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11008 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11010 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11012 * factory.C (createInset): use LyXTextClass::floats
11014 * MenuBackend.C (expandFloatListInsert):
11015 (expandFloatInsert):
11018 * text2.C (setCounter):
11020 * LaTeXFeatures.C (useFloat):
11021 (getFloatDefinitions):
11023 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11025 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11026 floatlist_, with accessor floats().
11028 * FloatList.h: remove global FloatList
11030 2002-08-26 André Pönitz <poenitz@gmx.net>
11032 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11036 * BufferView_pimpl.C:
11037 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11039 2002-08-25 John Levon <levon@movementarian.org>
11041 * LyXAction.C: fix margin note description
11043 2002-08-24 John Levon <levon@movementarian.org>
11047 * bufferview_funcs.C:
11049 * undo_funcs.C: cleanups
11051 * lyxfunc.C: disable CUT/COPY when no selection
11053 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11055 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11056 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11058 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11059 Add backward compatibility to "mono", "gray" and "no".
11061 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11063 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11064 (and file_format >= 200).
11066 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11068 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11070 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11072 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11074 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11076 * BufferView_pimpl.C:
11083 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11084 inset and code to make it work with the paragraph code. The inset
11085 can be anywhere in the paragraph, but will only do the expected
11086 thing in LaTeX if the layout file contains the parameter line
11088 (or more generally, a nonzero value) for that layout.
11090 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11092 * paragraph.h: remove the declaration of undefined counters class
11095 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11097 * text2.C (setCounter): fixed enumeration mis-count as reported by
11098 Dr. Richard Hawkins.
11100 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11102 * paragraph_funcs.h: remove some unneeded includes
11104 * text.C (backspace): pasteParagraph now in global scipe
11106 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11107 (pasteSelection): ditto
11109 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11110 * paragraph_funcs.C (pasteParagraph): ... here
11112 2002-08-20 André Pönitz <poenitz@gmx.net>
11114 * commandtags.h: new LFUNs for swapping/copying table row/colums
11117 * lyxfunc.C: support for new lfuns
11119 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11122 * buffer.[Ch]: remove NO_COMPABILITY stuff
11124 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11126 * boost.C (throw_exception): new file, with helper function for
11127 boost compiled without exceptions.
11132 * ParameterStruct.h:
11133 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11135 * bufferlist.C (emergencyWriteAll): use boost bind
11137 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11139 * text.C: include paragraph_funcs.h
11140 (breakParagraph): breakParagraph is now in global scope
11142 * paragraph_funcs.[Ch]: new files
11144 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11147 * buffer.C: include paragraph_funcs.h
11148 (insertStringAsLines): breakParagraph is now in global scope
11150 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11153 * CutAndPaste.C: include paragraph_funcs.h
11154 (cutSelection): breakParagraphConservative is now in global scope
11155 (pasteSelection): ditto
11157 * buffer.h: declare oprator== and operator!= for
11158 Buffer::inset_iterator
11160 * bufferlist.C (emergencyWrite): don't use fmt(...)
11162 * text3.C: add using std::endl
11164 * BufferView.C (moveCursorUpdate): remove default arg
11166 2002-08-20 André Pönitz <poenitz@gmx.net>
11168 * buffer.[Ch]: move inline functions to .C
11171 * BufferView_pimpl.C:
11173 * buffer.[Ch]: use improved inset_iterator
11176 * paragraph.[Ch]: write one paragraph at a time
11178 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11180 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11181 style if style is not specified.
11183 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11185 * text2.C (setCounter): when searching for right label for a
11186 caption, make sure to recurse to parent insets (so that a caption
11187 in a minipage in a figure float works) (bug #568)
11189 2002-08-20 André Pönitz <poenitz@gmx.net>
11191 * text3.C: new file for LyXText::dispatch() and helpers
11193 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11195 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11197 2002-08-19 André Pönitz <poenitz@gmx.net>
11200 * text.C: new LyXText::dispatch()
11202 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11204 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11206 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11208 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11211 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11213 * Makefile.am: use $(variables) instead of @substitutions@
11215 2002-08-15 André Pönitz <poenitz@gmx.net>
11218 * BufferView_pimpl.C: streamlining mathed <-> outer world
11222 * LyXAction.C: remove unused LFUN_MATH
11224 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11226 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11228 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11230 * paragraph.C (Paragraph): reformat a bit
11231 (cutIntoMinibuffer): use builtin InsetList function instad of
11235 * buffer.C: include boost/bind.hpp, add using std::for_each
11236 (writeFileAscii): use ParagraphList iterators
11237 (validate): use for_each for validate traversal of paragraphs
11238 (getBibkeyList): use ParagraphList iterators
11239 (resizeInsets): use for_each to resizeInsetsLyXText for all
11241 (getParFromID): use ParagraphList iterators
11243 * BufferView2.C (lockInset): use paragraph list and iterators
11245 2002-08-14 John Levon <levon@movementarian.org>
11247 * lyxserver.C: remove spurious xforms include
11249 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11253 2002-08-13 André Pönitz <poenitz@gmx.net>
11256 * lyxfunc.C: further cleaning
11258 2002-08-13 André Pönitz <poenitz@gmx.net>
11260 * funcrequest.h: new constructor
11262 * funcrequest.C: move stuff here from .h
11265 * BufferView_pimpl.C:
11268 * lyxfunc.C: subsequent changes
11270 * lyxfunc.h: new view() member function
11272 * lyxfunc.C: subsequent changes
11274 2002-08-13 Angus Leeming <leeming@lyx.org>
11277 * BufferView_pimpl.C:
11285 changes due to the changed LyXView interface that now returns references
11286 to member variables not pointers.
11288 2002-08-13 Angus Leeming <leeming@lyx.org>
11290 * WordLangTuple (word, lang_code): return references to strings,
11295 * lyxtext.h: forward-declare WordLangTuple.
11300 * text.C: #include "WordLangTuple.h".
11303 * text.C: (selectNextWordToSpellcheck): constify return type.
11305 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11311 * paragraph_pimpl.h:
11314 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11315 suggested by Angus.
11316 Made updateCounter always count from start of buffer, and removed
11317 second argument (par).
11318 Reverted floats number display to '#'. Perhaps I'll try again when the
11319 code base is sanitized a bit.
11321 2002-08-12 Angus Leeming <leeming@lyx.org>
11323 * buffer.[Ch] (getLabelList): constify.
11325 2002-08-07 André Pönitz <poenitz@gmx.net>
11327 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11329 * funcrequest.h: extension to keep mouse (x,y) position
11331 2002-08-12 Juergen Vigna <jug@sad.it>
11333 * BufferView2.C (insertErrors): forbid undo when inserting error
11336 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11338 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11340 * ParagraphList.[Ch]: new files
11342 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11344 * BufferView2.C (lockInset): ParagraphList changes
11347 * bufferlist.C: ditto
11351 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11353 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11354 unused class variable counter_,
11356 * paragraph.[Ch] (getFirstCounter): delete unused function
11358 * counters.C: include LAssert.h
11359 (reset): add a new function with no arg, change other version to
11360 not have def. arg and to not allow empty arg.
11362 * text2.C (setCounter): remove empty arg from call to Counters::reset
11364 2002-08-11 John Levon <levon@movementarian.org>
11366 * Makefile.am: add WordLangTuple.h
11368 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11370 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11371 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11373 * insets/insettext.C: InsetList changes
11375 * graphics/GraphicsSupport.C (operator()): InsetList changes
11377 * toc.C (getTocList): InsetList changes
11379 * paragraph_pimpl.[Ch]: InsetList changes
11381 * paragraph.[Ch]: InsetList changes
11383 * buffer.C (inset_iterator): InsetList changes
11384 (setParagraph): ditto
11385 * buffer.h (inset_iterator): ditto
11386 * iterators.C (operator++): ditto
11387 * iterators.h: ditto
11389 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11391 * InsetList.[Ch]: new files, most InsetList handling moved out of
11394 * BufferView2.C (removeAutoInsets): InsetList changes
11396 (ChangeInsets): ditto
11398 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11400 * paragraph_pimpl.h (empty): new function
11402 * paragraph.[Ch] (empty): new function
11404 * other files: use the new Paragraph::empty function
11406 2002-08-09 John Levon <levon@movementarian.org>
11408 * lyxtext.h: remove unused refresh_height
11410 2002-08-09 John Levon <levon@movementarian.org>
11417 * paragraph.C: move sgml char escaping out of paragraph
11420 * paragraph.C: remove id setter
11424 * paragraph_pimpl.C: remove dead tex_code_break_column
11426 * bufferview_funcs.C: small cleanup
11428 * lyxfunc.C: remove dead proto
11430 * lyxtext.h: make some stuff private. Remove some dead stuff.
11432 * lyxgluelength.C: make as[LyX]String() readable
11434 2002-08-08 John Levon <levon@movementarian.org>
11439 * ToolbarDefaults.C:
11442 * toc.C: lyxaction cleanup
11444 2002-08-08 John Levon <levon@movementarian.org>
11446 * BufferView2.C: small cleanup
11449 * lyxfind.C: move unnecessary header into the .C
11451 2002-08-08 John Levon <levon@movementarian.org>
11453 * funcrequest.h: just tedious nonsense
11456 * lyx_main.C: cleanups
11459 * vspace.C: remove dead header lyx_main.h
11461 2002-08-07 Angus Leeming <leeming@lyx.org>
11464 * paragraph_pimpl.h:
11465 Forward declare class Counters in paragraph.h by moving the ctrs member
11466 variable into Paragraph::Pimpl.
11467 (counters): new method, returning a reference to pimpl_->ctrs.
11469 * text2.C: ensuing changes.
11471 2002-08-07 John Levon <levon@movementarian.org>
11473 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11475 * BufferView_pimpl.C: announce X selection on double/triple
11478 * lyx_main.C: use correct bool in batch dispatch
11480 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11482 2002-08-07 André Pönitz <poenitz@gmx.net>
11484 * funcrequest.h: new class to wrap a kb_action and its argument
11487 * BufferView_pimpl[Ch]:
11491 * lyxrc.C: subsequent changes
11494 2002-08-07 John Levon <levon@movementarian.org>
11496 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11497 document options change.
11499 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11504 * makefile.am: move counters functionality over from
11505 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11507 2002-08-06 John Levon <levon@movementarian.org>
11509 * WordLangTuple.h: new file for word + language code tuple
11520 * BufferView2.C: use WordLangTuple
11523 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11525 2002-08-06 John Levon <levon@movementarian.org>
11527 * lyx_main.C: fix cmdline batch handling
11529 2002-08-06 André Pönitz <poenitz@gmx.net>
11531 * lyxrc.C: set default for show_banner to true
11533 2002-08-06 John Levon <levon@movementarian.org>
11535 * pspell.C: fix a crash, and allow new aspell to work
11537 2002-08-06 John Levon <levon@movementarian.org>
11540 * kbmap.C: small cleanup
11543 * vspace.C: add const
11545 2002-08-05 John Levon <levon@movementarian.org>
11547 * LyXAction.C: back to tabular-insert
11549 2002-08-04 John Levon <levon@movementarian.org>
11552 * BufferView.C: cosmetic change
11554 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11564 * BufferView2.C: purge all "Lyx" not "LyX" strings
11567 * lyxcursor.C: attempt to add some documentation
11572 * ToolbarDefaults.C:
11573 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11574 merge with LFUN_TABULAR_INSERT
11581 * pspell.C: split up i/pspell implementations into separate
11582 files, many cleanups
11584 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11586 * text2.C: some cleanup
11588 * lyxfunc.C: don't check for isp_command == "none" any more, it
11589 didn't make any sense
11591 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11596 * makefile.am: move counters functionality over
11597 from text2.C/paragraph.[Ch] to counters.[Ch], and
11599 2002-08-02 John Levon <levon@movementarian.org>
11601 * buffer.C: s/lyxconvert/lyx2lyx/
11603 2002-08-02 Angus Leeming <leeming@lyx.org>
11605 * lyxlex.C: revert John's change as it breaks reading of the user
11608 2002-08-02 Angus Leeming <leeming@lyx.org>
11610 * importer.C (Import):
11611 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11612 changes due to LyXView::view() now returning a boost::shared_ptr.
11614 2002-08-02 John Levon <levon@movementarian.org>
11616 * lyxlex.C: small cleanup
11618 2002-08-02 John Levon <levon@movementarian.org>
11620 * text2.C (status): small cleanup, no logic change
11622 2002-08-01 John Levon <levon@movementarian.org>
11625 * buffer.C (writeFile): don't output alerts, caller
11629 * lyx_cb.C: from above
11631 * lyxfunc.C: allow to open non-existent files
11633 2002-07-31 John Levon <levon@movementarian.org>
11635 * lyxserver.C: don't let incidental errors get
11638 2002-07-30 John Levon <levon@movementarian.org>
11640 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11642 2002-07-30 John Levon <levon@movementarian.org>
11645 * lyxserver.C: remove I/O callback too
11647 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11649 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11652 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11654 * many files: strip,frontStrip -> trim,ltrim,rtrim
11656 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11658 * PrinterParams.h: remove extern containsOnly, and include
11659 support/lstrings.h instead.
11661 * LaTeX.C (scanAuxFile): modify because of strip changes
11663 * buffer.C (makeLaTeXFile): ditto
11664 * bufferparams.C (writeFile): ditt
11665 * lyxfont.C (stateText): ditto
11666 * lyxserver.C (read_ready): ditto
11667 * vc-backend.C (scanMaster): ditto
11669 * BufferView_pimpl.h: ws changes
11671 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11673 2002-07-26 André Pönitz <poenitz@gmx.net>
11675 * kb_sequence.C: remove unnedred usings
11677 2002-07-26 Juergen Vigna <jug@sad.it>
11679 * lyxfind.C (LyXReplace): we have to check better if the returned
11680 text is not of theLockingInset()->getLockingInset().
11682 2002-07-25 Juergen Vigna <jug@sad.it>
11684 * lyxfind.C (LyXReplace): don't replace if we don't get the
11687 * undo_funcs.C (createUndo): remove debugging code.
11689 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11691 * buffer.C (parseSingleLyXformat2Token): Use default placement
11692 when reading old floats.
11694 * FloatList.C (FloatList): Change the default placement of figure
11695 and tables to "tbp".
11697 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11699 * MenuBackend.C: using std::max
11701 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11703 * MenuBackend.C (expandToc):
11704 (expandToc2): code moved from xforms menu frontend. It is now
11705 generic and TOCs are transparent to menu frontends.
11707 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11709 * toc.C (getTocList): protect against buf=0
11711 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11712 Menu as first parameter. Now, this calls itself recursively to
11713 expand a whole tree (this will be useful for TOC handling)
11714 (expandFloatInsert): remove 'wide' version of floats
11716 * MenuBackend.h (submenuname): returns the name of the submenu.
11717 (submenu): returns the submenu itself, provided it has been
11718 created by MenuBackend::expand
11720 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11722 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11723 insets which have noFontChange == true. (bug #172)
11725 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11727 * BufferView_pimpl.C: add connection objects and use them...
11730 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11732 * MenuBackend.C (expandLastfiles):
11735 (expandFloatListInsert):
11736 (expandFloatInsert):
11737 (expand): split expand in parts
11739 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11741 * lyx_gui.C: use lyx_gui::exit()
11743 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11745 * LyXAction.C: show the failing pseudo action
11747 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11749 * buffer.C (readFile): Run the lyxconvert script in order to read
11752 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11756 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11758 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11762 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11764 2002-07-22 Herbert Voss <voss@lyx.org>
11767 * lyxlength.[Ch]: add support for the vertical lengths
11769 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11771 * toc.[Ch]: std:: fixes
11773 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11775 * lyxrc.C: do not include lyx_main.h
11777 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11783 * BufferView2.C: include "lyxlex.h"
11786 * bufferparams.h: do not #include "lyxlex.h"
11788 * lyxtextclasslist.C (Add): remove method
11789 (classlist): renamed to classlist_
11791 * paragraph_pimpl.C:
11795 * bufferview_funcs.C:
11800 * toc.C (getTocList): use BufferParams::getLyXTextClass
11802 * toc.C (getTocList): use InsetFloat::addToToc
11804 * toc.[Ch]: new files, containing helper functions to handle table
11807 * lyxfunc.C (dispatch): no need to remove spaces around command
11809 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11810 first command of the sequence; it is not very clever, but I do not
11811 have a better idea, actually
11813 * LyXAction.C (LookupFunc): make sure to remove space at the
11814 beginning and end of the command
11816 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11818 * MenuBackend.C (getMenubar): new method: return the menubar of
11820 (read): treat differently reading of menu and menubar (in
11821 particular, the menubar has no name now)
11822 (Menu::menubar): remove
11824 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11827 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11829 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11830 a bibitem inset in a RTL paragraph.
11832 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11834 * paragraph_pimpl.C: constify
11836 * BufferView_pimpl.C:
11838 * lyxfunc.C: fix dispatch in a nicer way
11840 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11842 * lyxfunc.C (dispatch):
11843 * BufferView_pimpl.C:
11844 * BufferView_pimpl.h:
11846 * BufferView.h: rename Dispatch() to dispatch()
11848 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11850 * lyxlayout.C (Read): honor DependsOn tag
11852 * lyxlayout.[Ch] (depends_on): new method
11854 * version.C.in: update lyx_docversion
11856 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11858 * paragraph.C (validate): remove from here...
11859 * paragraph_pimpl.C (validate): ... and move here
11860 (isTextAt): make it const
11862 * buffer.C (getLists): ws cleanup
11864 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11866 * language.C (read): Use iso8859-1 encoding in latex_lang
11867 (this prevents LyX from crashing when using iso10646-1 encoding).
11869 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11871 * text2.C (toggleInset): if cursor is inside an inset, close the
11872 inset and leave cursor _after_ it
11874 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11876 * lyxfunc.C: move minibuffer completion handling out of here
11878 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11880 * BufferView_pimpl.C:
11881 * LaTeX.C: fix dispatch calls
11883 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11885 * text.C (drawChars): Fix Arabic text rendering.
11887 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11891 * lyxfunc.C: remove message-push/pop
11895 * lyxfunc.C: rationalise some code by removing verboseDispatch
11896 in favour of a bool argument to dispatch()
11898 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11900 * lyx_main.C (init): make sure to read symlinks as absolute paths
11902 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11905 * lyxfunc.C: no need for commandshortcut to be a member
11907 2002-07-15 André Pönitz <poenitz@gmx.net>
11909 * converter.C: add support for $$s (scripts from lib/scripts dir)
11910 * lyx_main.C: white space
11912 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11916 * lyxrc.C: remove second exit confirmation
11918 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11923 * BufferView_pimpl.h:
11924 * BufferView_pimpl.C:
11925 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11927 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11929 * MenuBackend.C (expand): add numeric shortcuts to document menu
11931 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11933 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11935 * lyxfont.C (setLyXFamily):
11942 * buffer.C (asciiParagraph): use ascii_lowercase
11944 2002-07-15 Mike Fabian <mfabian@suse.de>
11946 * lyxlex_pimpl.C (search_kw):
11947 * lyxlex.C (getLongString):
11948 * converter.h (operator<):
11949 * converter.C (operator<):
11950 * buffer.C (parseSingleLyXformat2Token):
11952 * ToolbarDefaults.C (read):
11953 * MenuBackend.C (checkShortcuts):
11955 * LColor.C (getFromGUIName):
11956 (getFromLyXName): use the compare_ascii_no_case instead of
11957 compare_no_case, because in turkish, 'i' is not the lowercase
11958 version of 'I', and thus turkish locale breaks parsing of tags.
11960 2002-07-16 Angus Leeming <leeming@lyx.org>
11962 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11963 now takes a Buffer const & argument.
11965 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11967 * BufferView.C (resize): check there's a buffer to resize
11969 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11971 * lyxfunc.C: remove dead code
11974 * lyxserver.C: use lyx_guii::set_read_callback
11976 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11978 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11979 an inset in a RTL paragraph.
11981 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11983 * lyxfunc.C: repaint after a font size update
11985 2002-07-15 André Pönitz <poenitz@gmx.net>
11987 * lyxlength.C: inBP should be able to return negative values
11989 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11991 * lyxfunc.C: use lyx_gui::update_fonts()
11993 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11995 * lyxfunc.C: use lyx_gui::update_color()
11997 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12003 * lyxrc.C: remove file->new asks for name option, and let
12004 buffer-new take an argument
12006 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12008 * BufferView_pimpl.C: remove unneeded extra repaint()
12010 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12012 * LyXAction.C: allow command-sequence with NoBuffer
12014 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12016 2002-07-10 Angus Leeming <leeming@lyx.org>
12018 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12020 2002-07-09 Angus Leeming <leeming@lyx.org>
12022 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12024 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12026 * lengthcommon.h: whitespace
12028 * lyxfunc.C: update scrollbar after goto paragraph
12030 * lyxtext.h: factor out page break drawing, and fix it so
12031 page break/added space paints as selected nicely
12033 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12035 * BufferView_pimpl.C: add FIXMEs, clean up a little
12037 2002-07-09 André Pönitz <poenitz@gmx.net>
12039 * lyxfont.[Ch]: support for wasy symbols
12041 2002-07-08 André Pönitz <poenitz@gmx.net>
12043 * BufferView_pimpl.C: apply John's patch for #93.
12045 2002-07-05 Angus Leeming <leeming@lyx.org>
12047 * BufferView_pimpl.C (buffer): generate previews if desired.
12049 * LColor.h: add "preview" to the color enum.
12051 * LColor.C (LColor): add a corresponding entry to the items array.
12053 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12056 2002-07-05 Angus Leeming <leeming@lyx.org>
12058 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12059 The body of the code is now in the method that is passed an ostream &
12060 rather than a file name.
12061 Pass an additional only_preamble parameter, useful for the forthcoming
12064 2002-07-03 André Pönitz <poenitz@gmx.net>
12066 * lyxfunc.C: simplify getStatus() a bit for math stuff
12068 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12070 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12072 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12074 * text.C (changeRegionCase): do not change case of all the
12075 document when region ends at paragraph end (bug #461)
12077 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12079 * paragraph.C (startTeXParParams):
12080 (endTeXParParams): add \protect when necessary
12082 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12084 * BufferView_pimpl.C (workAreaExpose): remove warning
12086 2002-06-27 Angus Leeming <leeming@lyx.org>
12088 * Makefile.am: add lyxlayout_ptr_fwd.h.
12090 2002-06-26 André Pönitz <poenitz@gmx.net>
12092 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12094 2002-06-25 Angus Leeming <leeming@lyx.org>
12096 * lyxfunc.C (dispatch): Comment out the call to
12097 grfx::GCache::changeDisplay. The method no longer exists now that the
12098 pixmap generation part of the graphics loader has been moved into
12101 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12103 * text2.C: layout as layout
12105 * text.C: layout as layout
12107 * tabular.C (OldFormatRead): layout as layout
12109 * paragraph_pimpl.C (TeXDeeper): layout as layout
12110 (realizeFont): layout as layout
12112 * paragraph.C (writeFile): layout as layout
12113 (validate): layout as layout
12114 (getFont): layout as layout
12115 (getLabelFont): layout as layout
12116 (getLayoutFont): layout as layout
12117 (breakParagraph): layout as layout
12118 (stripLeadingSpaces): layout as layout
12119 (getEndLabel): layout as layout
12120 (getMaxDepthAfter): layout as layout
12121 (applyLayout): layout as layout
12122 (TeXOnePar): layout as layout
12123 (simpleTeXOnePar): layout as layout
12124 (TeXEnvironment): layout as layout
12125 (layout): layout as layout
12126 (layout): layout as layout
12128 * lyxtextclass.C (compare_name): new functor to work with
12129 shared_ptr, layout as layout
12130 (Read): layout as layout
12131 (hasLayout): layout as layout
12132 (operator): layout as layout
12133 (delete_layout): layout as layout
12134 (defaultLayout): layout as layout
12136 * lyxlayout_ptr_fwd.h: new file
12138 * lyxlayout.C (Read): layout as layout
12140 * lyx_cb.C (MenuInsertLabel): layout as layout
12142 * bufferlist.C (newFile): layout as layout
12144 * buffer.C (readLyXformat2): layout as layout
12145 (parseSingleLyXformat2Token): layout as layout
12146 (insertStringAsLines): layout as layout
12147 (asciiParagraph): layout as layout
12148 (latexParagraphs): layout as layout
12149 (makeLinuxDocFile): layout as layout
12150 (simpleLinuxDocOnePar): layout as layout
12151 (makeDocBookFile): layout as layout
12152 (simpleDocBookOnePar): layout as layout
12153 (getLists): layout as layout
12155 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12157 * CutAndPaste.C (cutSelection): layout as layout
12158 (pasteSelection): layout as layout
12159 (SwitchLayoutsBetweenClasses): layout as layout
12161 * BufferView_pimpl.C (Dispatch): layout as layout
12162 (smartQuote): layout as layout
12164 * BufferView2.C (unlockInset): layout as layout
12166 2002-06-24 André Pönitz <poenitz@gmx.net>
12168 * lyxfunc.C: fix #487
12170 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12174 * lyxfunc.C: remove display_shortcuts, show_banner
12176 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12178 * Buffer_pimpl.C: oops, update on resize
12180 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12187 * BufferView.C: use repaint()
12189 * BufferView_pimpl.h:
12190 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12191 as it's a clearer description. Remove superfluous
12194 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12196 * text.C: fix bug 488. Not ideal, but getting
12197 getWord() to work properly for the insets that
12198 matter is more difficult ...
12200 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12202 * BufferView_pimpl.C:
12205 * lyxfunc.C: remove the six million index lyxfuncs to just
12206 one, and DTRT (bug 458)
12208 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12212 * BufferView_pimpl.h:
12213 * BufferView_pimpl.C: clean up resize() stuff,
12214 and unnecessary updateScreen()s
12216 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12220 * BufferView_pimpl.h:
12221 * BufferView_pimpl.C:
12224 * minibuffer.C: remove focus management of workarea,
12225 not needed. Use screen's greyOut()
12227 2002-06-17 Herbert Voss <voss@lyx.org>
12229 * converter.C: (convert) do not post a message, when converting
12230 fails, let the calling function decide what to do in this case
12232 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12234 * lyxfunc.C: tidy up a little
12236 2002-06-16 <alstrup@diku.dk>
12238 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12239 Got rid of FORMS_H_LOCATION include. Now we are
12242 2002-06-15 LyX Development team <lyx@rilke>
12244 * buffer.[Ch] (sgmlOpenTag):
12245 (sgmlCloseTag): Added support for avoiding pernicious mixed
12246 content. Return number of lines written.
12248 (makeLinuxDocFile):
12249 (makeDocBookFile): Fixed calls to sgml*Tag.
12250 Simple white space clean.
12252 (simpleDocBookOnePar): Simple white space clean.
12254 * tabular.[Ch] (docBook): Renamed to docbook and got another
12255 argument to related with the pernicious mixed content.
12257 (docbookRow): Fixed calls for docbook inset method.
12259 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12261 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12262 so it's X11 independent.
12266 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12268 2002-06-15 Lyx Development team <lyx@electronia>
12270 * intl.h: Renamed getTrans to getTransManager.
12272 2002-06-14 Angus Leeming <leeming@lyx.org>
12274 * Makefile.am: nuke forgotten stl_string_fwd.h.
12276 2002-06-12 Angus Leeming <leeming@lyx.org>
12278 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12280 2002-06-13 Angus Leeming <leeming@lyx.org>
12283 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12285 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12287 * kbmap.C (getiso): add support for cyrillic and greek
12289 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12293 * BufferView_pimpl.h:
12294 * BufferView_pimpl.C: move bogus scrolling logic
12297 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12300 * BufferView_pimpl.C: view->resize() change
12302 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12304 * BufferView_pimpl.C: topCursorVisible
12307 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12311 * lyx_gui.C: move to frontends/
12315 * lyx_main.C: changes from above
12317 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12324 * lyx_main.C: minor tidy
12326 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12328 * BufferView_pimpl.h:
12329 * BufferView_pimpl.C:
12331 * BufferView.C: make painter() const,
12334 * BufferView2.C: use screen() accessor
12337 * lyx_main.C: some minor cleanup
12339 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12341 * BufferView_pimpl.h:
12342 * BufferView_pimpl.C: remove enter/leaveView,
12345 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12350 * BufferView_pimpl.h:
12351 * BufferView_pimpl.C: only construct screen once,
12354 * lyxrc.C: remove pointless comment
12356 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12359 * BufferView.C: remove active() and belowMouse()
12361 * BufferView_pimpl.h:
12362 * BufferView_pimpl.C: use workarea() not workarea_,
12363 and make it use a scoped_ptr instead
12365 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12367 * lyx_gui.C: add debug message on BadWindow
12369 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12371 * sp_spell.C: fdopen is not part of the C++ standard.
12373 * paragraph.C (InsetIterator): use >= instead of ==
12375 2002-06-07 Angus Leeming <leeming@lyx.org>
12377 Fixes needed to compile with Compaq cxx 6.5.
12378 * BufferView_pimpl.C:
12385 * lyxtextclasslist.C:
12390 all c-library variables have been moved into namespace std. Wrap
12391 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12396 Add a using std::abs declaration.
12398 * kbmap.h (modifier_pair):
12399 * paragraph.h (InsetTable, InsetList):
12400 * lyxfont.h (FontBits):
12401 type definition made public.
12403 * bufferlist.C (emergencyWriteAll): the compiler complains that
12404 there is more than one possible lyx::class_fun template to choose from.
12405 I re-named the void specialisation as lyx::void_class_fun.
12407 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12409 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12410 the compiler is is unable to find tostr in write_attribute.
12412 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12414 * buffer.C (sgmlError): hide #warning
12416 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12418 * xtl/*: get rid of xtl, which is not in use anyway
12420 * LyXAction.C (init):
12421 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12422 were unimplemented xtl experimentation
12424 2002-06-04 André Pönitz <poenitz@gmx.net>
12426 * lyxfunc.C: disable array operation on simple formulae
12428 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12430 * converter.C: constify a bit
12432 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12434 * lyx_gui.C: check xforms version correctly
12436 2002-04-30 Herbert Voss <voss@lyx.org>
12438 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12441 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12443 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12444 attempt to register it with a VCS)
12446 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12448 * lyx_main.C (init): honor variables LYX_DIR_13x and
12451 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12455 * lyx_main.C: fix a crash on bad command line,
12456 and give a useful exit status on error
12458 * lyxfunc.C (doImport): allow -i lyx to work
12460 2002-03-30 André Pönitz <poenitz@gmx.net>
12462 * lyxfunc.C: mathed font changes
12464 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12479 * trans_mgr.h: srcdocs, and some minor cleanups
12481 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12483 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12484 call getFont all the time)
12486 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12488 * switch from SigC signals to boost::signals
12490 2002-05-29 André Pönitz <poenitz@gmx.net>
12492 * paragraph_pimpl.C (getChar): don't call size() too often...
12494 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12496 * paragraph_pimpl.C (insertChar): do not try to update tables when
12497 appending (pos == size())
12499 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12500 in order to reduce drastically the number of comparisons needed to
12501 parse a large document
12503 2002-05-29 André Pönitz <poenitz@gmx.net>
12509 * textclasslist.[Ch]:
12510 * sp_ispell.h: whitespace change
12512 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12514 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12515 lyxaction directly now.
12517 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12521 * lyxvc.C: remove unused headers
12523 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12530 * undo_funcs.C: some cleanups. Use shared_ptr
12531 and a template for the undo stacks.
12533 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12535 * BufferView_pimpl.h:
12536 * BufferView_pimpl.C:
12543 * text2.C: use key_state/mouse_state
12545 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12550 * chset.C: change include order
12551 (loadFile): use boost regex and get rid of LRegex and LSubstring
12553 * Makefile.am (BOOST_LIBS): new variable
12554 (lyx_LDADD): use it
12556 * LaTeX.C: change include order.
12557 (scanAuxFile): use boost regex and get rid of LRegex and
12561 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12566 * FontInfo.C: moved to frontends/xforms/
12569 * FontLoader.C: moved into frontends for GUIIzation
12574 * lyxfunc.C: changes from above
12576 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12578 * LColor.C: remove spurious X include
12580 * BufferView_pimpl.C:
12585 * text2.C: move font metrics to frontends/
12587 2002-05-24 Juergen Vigna <jug@sad.it>
12589 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12590 setting the undo_cursor.
12592 * ParagraphParameters.h: include local includes first.
12594 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12596 * BufferView_pimpl.C:
12597 * BufferView_pimpl.h:
12601 * screen.C: move WorkArea into frontends/
12607 * BufferView2.C: move LyXScreen into frontends/
12611 * lyx_gui.C: move lyxlookup into frontends/xforms/
12613 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12616 * BufferView_pimpl.C:
12626 * bufferview_funcs.C:
12639 * vc-backend.C: move LyX/XFormsView into frontends/
12641 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12653 * text2.C: move Painter to frontends/
12655 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12657 * buffer.C: comment out some some code that depend upon lyx_format
12660 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12661 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12663 * buffer.h (NO_COMPABILITY): turn off compability
12665 * ColorHandler.C: include scoped_array.hpp
12667 * font.C: Use more specific smart_ptr header.
12670 * ShareContainer.h: ditto
12671 * lyx_main.h: ditto
12673 * FontInfo.h: ditto
12674 * BufferView_pimpl.h: ditto
12675 * ColorHandler.h: ditto
12677 * kbmap.C (defkey): change call to shared_ptr::reset
12679 2002-05-21 Juergen Vigna <jug@sad.it>
12681 * buffer.C (insertErtContents): fix to insert ert asis if it is
12682 non empty. Skip it completely if it contains only whitespaces.
12684 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12686 * BufferView_pimpl.C:
12687 * BufferView2.C: clear selection on paste (bug 393)
12689 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12691 * DepTable.C: include ctime
12693 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12695 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12697 2002-05-14 Juergen Vigna <jug@sad.it>
12699 * text.C (breakParagraph): fixed function to honor the keepempty
12700 layout in the right maner and also to permit the right breaking
12701 algorithm on empty or non empyt keepempty paragraphs.
12703 * paragraph.C (breakParagraph): we have to check also if the par
12704 is really empty (!size()) for isempty otherwise we do the wrong
12707 2002-05-10 Juergen Vigna <jug@sad.it>
12709 * buffer.[Ch] : The following are only changes to the ert
12710 compatibility read reading old LaTeX layout and font stuff and
12711 convert it to ERTInsets.
12713 * buffer.h: added isErtInset().
12715 * buffer.C (struct ErtComp): add a fromlayout bool to check
12716 if we're inside a LaTeX layout.
12717 (isErtInset): new helper function.
12718 (insertErtContents): look for other ert insets before this one
12719 and insert the contents there, so that we don't have subsequent
12720 ERT insets with nothing between them. This way we create only one
12721 inset with multiple paragraphs. Also check if we don't insert only
12722 spaces ' ' as they are ignored anyway afterwards in the .tex file
12723 so if we have only spaces we will ignore this latex part in the
12725 (parseSingleLyXformat2Token \\layout): better compatibility when
12726 reading layout-latex stuff.
12727 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12729 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12730 stuff after reading the inset only get the information back from
12733 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12735 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12737 * LaTeXFeatures.C (getBabelOptions): New method.
12739 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12741 * BufferView_pimpl.C (Dispatch): work around missing argument for
12744 2002-05-08 Juergen Vigna <jug@sad.it>
12746 * text.C (leftMargin): handle paragraph leftindent.
12748 * paragraph.C (writeFile): write the new \\leftindent tag.
12749 (validate): handle leftindent code.
12750 (TeXEnvironment): handle paragraphleftindent code again.
12752 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12754 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12755 for paragrap_extra indent code and new token \\leftindent.
12756 (latexParagraphs): handle the leftindent as environment.
12758 * ParameterStruct.h: added leftindent support.
12760 * ParagraphParameters.C (leftIndent): added support functions for
12761 the paragraph left indent.
12763 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12766 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12768 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12771 * text.C (computeBidiTables): No bidi in insetERT.
12773 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12776 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12778 * version.C.in: pre 5
12780 2002-05-02 José Matos <jamatos@fep.up.pt>
12781 * buffer.C (makeDocBookFile): white space changes, add newline to
12783 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12785 * tabular.C (docBook): fix typo.
12787 2002-05-03 Juergen Vigna <jug@sad.it>
12789 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12790 change in LyXText as we can not be sure it was not freed.
12791 (drawOneRow): remove unused code.
12793 * text.C (drawInset): redo the calculation of the need_break_row as
12794 it could have a row which was already freed.
12795 (draw): look at the return value of drawInset and return false if
12796 it also returned false.
12797 (paintRowText): look at the return value of draw and return false if
12798 it also returned false.
12800 * lyxtext.h: added bool return type to drawInset() and draw() so that
12801 if we have a change in the row so that the rowbreak has to be redone
12802 we abort drawing as it will be called again.
12804 2002-05-02 Juergen Vigna <jug@sad.it>
12806 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12807 a change in the maintext also if we're inside an inset.
12808 (Dispatch): set the cursor again after a break line and after the
12809 screen has been updated as it could be we're in a different row.
12811 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12812 to set the cursor behind the pargraph with > size().
12813 (setCursor): check also for the same paragraph when checking where
12814 to put the cursor if we have a NFR inset.
12816 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12817 parts of layout read further up as it still was in the wrong
12820 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12822 * screen.C (drawFromTo): change sine fullRebreak always return
12825 * buffer.C (parseSingleLyXformat2Token): reindent some
12827 * BufferView_pimpl.C (update): change since fullRebreak always
12829 (Dispatch): git rid of the last hardcoded "Standard"s.
12831 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12833 * text2.[Ch] (fullRebreak): make it return void now that we always
12836 2002-04-30 Juergen Vigna <jug@sad.it>
12838 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12839 ert compatibility check for "latex" layout.
12841 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12843 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12844 minipages: use col% instead of p%, and also use the current font.
12845 (makeLaTeXFile): Fix use babel condition.
12846 (parseSingleLyXformat2Token): Correct font when reading old floats.
12848 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12850 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12851 inserting list of floats.
12853 2002-04-25 Herbert Voss <voss@lyx.org>
12855 * MenuBackend.C (expand): don't add the graphics extensions to the
12858 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12860 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12861 non-existing layout, do not complain if it was the default layout
12862 of the original class (bug #342)
12864 2002-04-24 Juergen Vigna <jug@sad.it>
12866 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12867 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12869 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12871 * buffer.C (getBibkeyList): If using \bibliography, return the
12872 option field with the reference itself. Enables us to provide natbib
12873 support when using \bibliography.
12875 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12877 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12879 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12880 natbib is provided by the LaTeX class.
12882 2002-04-23 Juergen Vigna <jug@sad.it>
12884 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12887 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12889 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12891 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12893 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12894 ensuremath around textordmasculine, textordfeminine and
12897 2002-04-19 Juergen Vigna <jug@sad.it>
12899 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12900 reinitializing the buffer otherwise row-dimensions may be wrong.
12901 (update): reset also the selection cursors if they do exits otherwise
12902 their x/y positions may be wrong.
12904 * text2.C (cursorDown): don't enter the inset if we came from a row
12905 above and are one row over the inset.
12907 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12908 really leaving an inset.
12910 2002-04-18 Juergen Vigna <jug@sad.it>
12912 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12913 of the selected paragraph does not have the selected layout also if
12916 * text2.C (setLayout): fixed bug which did not change last selected
12919 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12920 changed the read and substituted \\end_float with \\end_inset!
12922 * BufferView_pimpl.C (cursorPrevious):
12923 (cursorNext): fixed to make it work with rows heigher than the work
12924 area without moving the cursor only the draw of the row.
12925 (workAreaMotionNotify): fix jumping over high rows.
12927 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12932 2002-04-16 Juergen Vigna <jug@sad.it>
12934 * text2.C (setCursor): set also the irow().
12935 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12937 (cursorDown): support for locking an inset if the x_fix value goes
12938 inside it. That way I can transverse insets too with cursor up/down.
12940 * lyxrow.h: added irow helper function same as other (i) functions.
12942 * BufferView_pimpl.C (cursorPrevious):
12943 (cursorNext): fixed for insets!
12945 2002-04-15 Juergen Vigna <jug@sad.it>
12947 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12948 position otherwise it is wrong in some cases.
12950 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12951 inside the inset before the call.
12953 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12955 * buffer.[Ch] (getBibkeyList): make it const.
12957 2002-04-12 Juergen Vigna <jug@sad.it>
12959 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12961 * text2.C (getCursorX): new helper function
12962 (setCursor): compute also ix_
12963 (setCursorFromCoordinates): set also ix.
12965 * lyxcursor.h: added ix_ and helper functions.
12967 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12969 * buffer.C (insertStringAsLines): dont break paragraph if the this
12970 paragraph is inside an inset which does not permit it!
12972 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12973 also with no chars on this paragraph.
12974 (paintRowText): only paint stuff if it's inside the workarea!
12976 * paragraph.C (breakParagraph): honor keepempty flag and break the
12977 paragraph always below not above.
12979 * BufferView2.C (unlockInset): update the paragraph layout on inset
12980 unlock as we changed paragraph in such a case.
12982 * lyxfind.C (LyXFind): clear the former selection if not found!
12984 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12985 again called in insertChar().
12987 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12988 an inset which uses the whole row!
12989 (rightMargin): ditto.
12990 (insertChar): force a rebreak if we inserted an inset!
12992 2002-03-28 Herbert Voss <voss@lyx.org>
12994 * lyxlength.[Ch]: add inBP() to get the right PS-point
12995 units (BigPoint). With inPixels we have rounding errors
12997 2002-04-11 Juergen Vigna <jug@sad.it>
12999 * text2.C (setCursorFromCoordinates): set iy to the right value.
13000 (setCursor): add check if row->previous exists!
13002 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13003 an old float_type as this was the case in the old code!
13005 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13007 * BufferView2.C (showLockedInsetCursor): use iy
13008 (fitLockedInsetCursor): ditto
13010 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13011 locked insets as there we have the right value now.
13013 * lyxcursor.C: added iy_ variable and iy functions to set to the
13014 baseline of cursor-y of the locked inset.
13016 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13017 (setCursor): fixed for insets which need a full row.
13019 * text.C (rowLastPrintable): don't ignore the last space when before
13020 an inset which needs a full row.
13021 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13022 as last character of a row when before a inset which needs a full row.
13024 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13026 * version.C.in: update date
13028 * text2.C (fullRebreak): try to always return true and see what
13031 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13033 * MenuBackend.C (expand): use Floating::listName
13035 * FloatList.C (FloatList): add listName argument to the built-in
13038 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13039 text associated with the float.
13041 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13043 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13045 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13047 * ShareContainer.h: add a couple of missing typenames.
13049 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13051 * lyxrc.C (getDescription): use _() correctly rather than N_().
13053 2002-03-28 Herbert Voss <voss@lyx.org>
13055 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13056 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13058 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13060 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13061 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13063 2002-03-29 Juergen Vigna <jug@sad.it>
13065 * lyxfunc.C (dispatch): add a missing fitCursor call.
13067 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13068 it was scrolled by a cursor move, so return the bool status.
13070 * BufferView.C (fitCursor): return the bool flag also to the outside
13071 world as this is needed.
13073 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13075 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13076 call the edit() as it is not needed (and wrong) IMO.
13077 (workAreaButtonPress): set the screen_first variable before evt.
13078 unlock the inset as this may change screen_first and then we have
13079 a wrong y position for the click!
13081 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13083 * MenuBackend.C (expand): another translation that I missed
13085 2002-03-28 Juergen Vigna <jug@sad.it>
13087 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13089 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13091 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13093 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13095 * MenuBackend.C (expand): fix export/view/update when there is no
13098 2002-03-27 Herbert Voss <voss@lyx.org>
13100 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13103 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13105 * bufferview_funcs.C (currentState): only show paragraph number
13106 for is DEVEL_VERSION is set.
13108 * lyxfunc.C (dispatch): put warning in INFO channel
13110 * MenuBackend.C (expand): translate the name of floats
13112 * FloatList.C (FloatList): mark the float names for translation
13114 * converter.C (convert): use LibScriptSearch
13116 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13118 * MenuBackend.C (defaults): fix default menu (we might as well get
13121 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13123 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13126 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13128 * lyxvc.C: reorder includes.
13130 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13132 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13135 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13137 * CutAndPaste.C: change layouts earlier on paste
13138 to avoid crashing when calling getFont()
13140 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13142 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13145 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13147 * WorkArea.C: remove 'Pending' debug message.
13149 * most files: ws cleanup
13151 * buffer.[Ch]: ws changes
13153 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13155 2002-03-21 Juergen Vigna <jug@sad.it>
13157 * tabular.C (SetMultiColumn): collapse also the contents of the
13158 cells and set the last border right. Added a Buffer const * param.
13160 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13162 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13165 2002-03-19 Juergen Vigna <jug@sad.it>
13167 * text2.C (clearSelection): reset also xsel_cache.
13169 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13170 where it needs to be called (John tells us to do so too :)
13171 (selectionLost): reset sel_cache.
13173 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13175 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13177 * text2.C (setCursorIntern): put debuging code in INSETS channel
13179 2002-03-19 André Pönitz <poenitz@gmx.net>
13181 * lyxfunc.C: tiny whitespace change
13183 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13185 * ToolbarDefaults.C (init):
13186 * LyXAction.C (init):
13188 * BufferView_pimpl.C (Dispatch):
13189 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13191 2002-03-19 Allan Rae <rae@lyx.org>
13193 * exporter.C (Export): removeAutoInsets before doing anything else.
13194 While I've just introduced a dependency on BufferView this really is
13195 the best place to clean the buffer otherwise you need to cleanup in
13196 a dozen places before calling export or cleanup in a dozen functions
13199 * converter.C (runLaTeX):
13200 (scanLog): Better handling of removeAutoInsets and screen updates.
13202 * lyxfunc.C (dispatch): small whitespace changes
13204 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13206 * WorkArea.C (C_WorkAreaEvent): return a value.
13207 (event_cb): return 1 if we handled the event, 0 otherwise.
13209 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13211 2002-03-18 Juergen Vigna <jug@sad.it>
13213 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13214 (GetAdditionalWidth): ditto.
13215 (RightLine): ditto.
13218 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13219 inset if we're there actually (probably not used right now but this
13220 is the direction to go for unifying code).
13221 (paste): disable code to clear the selection.
13223 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13224 inside an InsetText and move the check further up as it is in the
13227 * text2.C (pasteSelection): set a selection over the pasted text.
13229 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13231 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13232 and libgraphics to build on Cygwin.
13234 2002-03-15 Juergen Vigna <jug@sad.it>
13236 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13237 inserting an Inset into the paragraph. I know this is not the best
13238 fix but we already use current_view in CutAndPaste so we will remove
13239 all of it's using at the same time.
13241 * buffer.C (sgmlError): deactivated function till it is rewritten in
13242 the right mode, now it can create problems.
13244 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13245 before accessing it.
13247 2002-03-14 Juergen Vigna <jug@sad.it>
13249 * undo_funcs.C (textHandleUndo): do the right thing when updating
13250 the inset after the undo/redo.
13252 * text2.C (setCursor): just some testcode for #44 not ready yet.
13254 * undo_funcs.C (textHandleUndo): set the next() and previous()
13255 pointers of the paragraph to 0 before deleting otherwise we have
13256 problems with the Paragraph::[destructor].
13258 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13259 on a paragraph insertion.
13261 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13263 * buffer.C (asciiParagraph): use += operator for char append to
13266 * paragraph.C (getFontSettings): compare >= not just >
13267 (highestFontInRange): ditto
13270 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13272 * paragraph.C: change several algorithm to be more appripriate for
13273 the problem domain. This is lookip in FontList and in the InsetList.
13275 2002-03-13 André Pönitz <poenitz@gmx.net>
13278 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13280 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13285 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13287 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13289 * Painter.C (display): anon helper function, adjust code for this
13291 (pixmap): remove function.
13293 * Painter.h: remove private display variable.
13295 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13297 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13299 * WorkArea.[Ch]: remove figinset_canvas cruft.
13301 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13303 * lyxtextclass.C (operator): add one item cache optimization.
13305 * bufferlist.h: doxy changes
13307 * bufferlist.C: ws changes
13309 * DepTable.[Ch] (ext_exist): place const in the right spot.
13311 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13313 (workAreaExpose): call resizeInsets when the with BufferView changes.
13314 (Dispatch): adjust for protectedBlank removal
13315 (specialChar): call updateInset if the insert went ok.
13317 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13318 specialChar instead.
13320 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13322 * BufferView.h: doxy change
13324 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13326 * lyxtextclass.C (operator[]): remove non-const version
13327 (defaultLayout): remove non-const version
13329 2002-03-12 Juergen Vigna <jug@sad.it>
13331 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13332 did resize the LyXText too.
13334 * buffer.C (readLyXformat2): set layout information on newly allocated
13337 * tabular.C (OldFormatRead): set layout information on the paragraph.
13339 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13341 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13343 2002-03-11 Juergen Vigna <jug@sad.it>
13345 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13347 (resizeCurrentBuffer): force also the insets to resize themselfes.
13348 (moveCursorUpdate): fixed up for InsetText.
13350 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13353 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13354 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13355 value of Dialogs::tooltipsEnabled().
13356 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13358 2002-03-08 Juergen Vigna <jug@sad.it>
13360 * BufferView_pimpl.C (updateInset): update inset inside inset also
13361 if it isn't inside theLockingInset().
13363 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13365 * buffer.C (asciiParagraph): redo some of the word and line length
13367 (getLists): look for Caption instead of caption.
13369 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13371 * buffer.C (Buffer): initialize niceFile to true
13373 (makeLinuxDocFile):
13374 (makeDocBookFile): make sure niceFile is true on exit
13376 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13378 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13380 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13382 * LyXSendto.C: remove.
13383 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13384 * lyx_gui.C: remove now-redundant comment.
13385 * ColorHandler.h: remove forward declaration of class WorkArea.
13386 * lyxfunc.C: remove #include "WorkArea.h".
13388 2002-03-07 Juergen Vigna <jug@sad.it>
13390 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13391 got moved away with the DEPM and also set the inset_owner always
13392 right which before could have been omitted.
13394 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13396 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13397 wanted layout is not found.
13399 2002-03-07 Juergen Vigna <jug@sad.it>
13401 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13403 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13405 * paragraph.C (breakParagraph): use default layout not layout of
13407 (Paragraph): clear ParagraphParameters.
13409 2002-03-06 Juergen Vigna <jug@sad.it>
13411 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13412 otherwise it would not be a valid lenght. Fixed a special case in
13413 the minipage compatibility read where we end the document with a
13416 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13417 was set as it could be 0 for InsetTexts first entry.
13419 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13421 * paragraph.C (writeFile): if layout is empty write out
13422 defaultLayoutName().
13424 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13425 file without named layout we set layout to defaultLayoutName().
13427 2002-03-06 Juergen Vigna <jug@sad.it>
13429 * CutAndPaste.C (copySelection): set layout for new paragraph.
13431 * text.C (prepareToPrint): leave ERT inset left aligned
13432 (leftMargin): don't indent paragraphs inside ERT insets
13434 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13436 * paragraph.C (breakParagraph): dont call clear do the work manually
13438 * paragraph.[Ch] (clear): remove function
13440 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13442 * paragraph.C (Paragraph): dont call clear, the work has already
13445 * lyxtextclass.C (operator): assert if n is empty
13447 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13448 work manually instead.
13450 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13452 * BufferView_pimpl.C: protect selectionLost against text == 0
13454 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13456 * text.C (breakParagraph): fix a setting layout to '0' problem.
13458 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13460 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13461 final location of file, for the included files, and graphics.
13463 2002-03-05 Juergen Vigna <jug@sad.it>
13465 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13467 2002-03-04 Juergen Vigna <jug@sad.it>
13469 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13471 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13472 last column of multicolumn cells.
13473 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13475 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13477 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13478 file if it doesn't go to a temporary file.
13480 * buffer.C (sgmlOpenTag):
13481 (sgmlCloseTag): remove extra newline insertion.
13483 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13485 * text.C (getRowNearY): comment out debug msg
13487 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13489 * text2.C: first -> first_y
13491 * text.C (getRowNearY): add some attemts at a possible
13492 optimization, not working.
13494 * tabular.[Ch]: add BufferParams to several function so that newly
13495 created paragraph can be initialized to he default layotu for the
13498 * tabular-old.C (ReadOld): add buf->params to call of Init
13500 * screen.C: rename text->first to text->first_y
13502 * paragraph.C (breakParagraph): always set layout in the broken
13505 * lyxtextclass.C (Read): remove lowercase
13508 (delete_layout): ditto
13510 * lyxtext.h: rename first -> first_y
13512 * lyxlayout.C (Read): remove lowercase
13515 (obsoleted_by): ditto
13517 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13519 * buffer.C (insertErtContents): add params are to InsetERT
13520 (parseSingleLyXformat2Token): add code to check if a paragraphs
13521 layout really exist.
13522 (parseSingleLyXformat2Token): add params to several inset
13524 (asciiParagraph): remove lowercase, do the layout comparisons with
13527 * BufferView_pimpl.C (cursorNext): first -> first_y
13528 (resizeCurrentBuffer): first -> first_y
13529 (updateScrollbar): first -> first_y
13530 (scrollCB): first -> first_y
13531 (workAreaMotionNotify): first -> first_y
13532 (workAreaButtonPress): first -> first_y
13533 (checkInsetHit): first -> first_y
13534 (cursorPrevious): first -> first_y
13535 (cursorNext): first -> first_y
13536 (Dispatch): add buffer_->params to severl inset contructors
13538 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13540 * lyxlayout.C (Read): remove some debug info that I forgot.
13542 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13543 clean up the code slightly.
13544 (makeLinuxDocFile): ditto
13545 (makeDocBookFile): ditto
13547 * text2.C: layout as string
13549 * text.C: layout as string
13551 * paragraph_pimpl.C: layout as string
13553 * paragraph.[Ch]: layout as string
13555 * lyxtextclasslist.[Ch]: layout as string
13557 * lyxtextclass.[Ch]: layout as string
13559 * lyxtext.h: layout as string
13561 * lyxlayout.[Ch]: layout as string
13563 * lyx_cb.C: layout as string
13565 * bufferview_funcs.C: layout as string
13567 * bufferparams.C: layout as string
13569 * buffer.C: layout as string
13571 * LyXView.[Ch]: layout as string
13573 * LaTeXFeatures.[Ch]: layout as string
13575 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13577 * BufferView_pimpl.C: change current_layout to string, remove
13582 (workAreaButtonRelease): layout as string
13584 * BufferView2.C (unlockInset): adjust
13586 * vspace.C (asLatexCommand): use an explict temp variable.
13588 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13590 * Makefile.am: use FRONTEND_*
13592 2002-03-01 Juergen Vigna <jug@sad.it>
13594 * tabular.C (SetWidthOfMulticolCell): changed to something better
13595 I hope but still work in progress.
13596 (recalculateMulticolumnsOfColumn): renamed function from
13597 recalculateMulticolCells as it is more appropriate now.
13598 (SetWidthOfCell): calculate multicols better.
13600 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13602 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13604 * lyxfunc.C (processKeySym): print sequence also if it is
13605 `deleted' (complete)
13607 * kbsequence.C (print): print sequence even if it is deleted
13608 (complete would be a better word, actually).
13610 * lyxfunc.C (dispatch): print complete options after a prefix key
13612 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13614 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13616 * text2.C (setCharFont): eliminate setCharFont code duplication.
13618 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13620 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13621 LFUN_TABULAR_FEATURE (bug #177)
13623 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13625 * Makefile.am: remove figure.h
13627 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13629 * Bufferview_pimpl.C:
13641 * text2.C: remove #include "lyx_gui_misc.h".
13643 * LaTeX.C: added #include <cstdio>
13645 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13647 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13648 that the paragraph following this one can have.
13650 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13652 * vspace.C (asLatexCommand): fix bogus gcc warning
13654 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13656 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13658 * text2.C (setLayout): get rid of redundant code
13660 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13662 * text2.C (incDepth): make sure depth cannot be increased beyond
13665 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13667 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13668 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13670 * PainterBase.h (image):
13671 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13672 a LyXImage const *.
13674 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13678 * BufferView_pimpl.C:
13679 * BufferView_pimpl.h:
13699 * sp_spell.C: remove fig inset, and the crap house of
13700 cards that follows it
13702 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13707 * os2_errortable.h:
13708 * nt_defines.h: move .h into support/
13710 * vms_defines.h: remove
13712 * WorkArea.C: add space in debug output
13716 * buffer.C: add WITH_WARNINGS
13720 * bufferlist.C: s/retrive/retrieve/, add docs
13729 * chset.C: add docs
13731 * lyxgui.C: add ID to X error handler
13733 * lyxtestclass.c: fix typo
13735 2002-02-26 Juergen Vigna <jug@sad.it>
13737 * tabular_funcs.C (write_attribute): changed so that some default
13738 attributes are not written at all.
13739 (getTokenValue): set default values before trying to read the
13740 value so we have the return value always set as default if we don't
13741 find the token we search for.
13743 * tabular.C (Write): write bools as bools not as strings!
13745 2002-02-22 Juergen Vigna <jug@sad.it>
13747 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13748 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13750 * text.C (leftMargin): don't add an indent for paragraphs inside
13751 tabular cells (fix #208).
13753 2002-02-21 José Matos <jamatos@fep.up.pt>
13755 * tabular.C (docBook): fixed support for long tables.
13757 2002-02-20 Juergen Vigna <jug@sad.it>
13759 * text2.C (getFont): get the drawing font of the Inset if this
13760 paragraph is inside an inset (only important for InsetERT for now).
13762 * buffer.C (insertErtContents): use new lanugage params in ERT
13765 * CutAndPaste.C: commenting out seemingly uneeded code.
13767 2002-02-19 Allan Rae <rae@lyx.org>
13769 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13770 Iterators might be simple to use but they also get invalidated.
13771 (removeAutoInsets): renamed saved cursor tracking variables and added
13772 some comments to clarify what everything does.
13774 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13781 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13782 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13785 * vc-backend.h: remove #include "support/syscall.h"
13789 * converter.C: rearrange #includes in Lars' approved fashion.
13791 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13792 forward declare class Timeout in the header file.
13794 * XFormsView.C: changes due to the above.
13796 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13797 similar to LyXView.
13799 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13800 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13802 2002-02-18 José Matos <jamatos@fep.up.pt>
13804 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13807 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13809 * a lot of small ws changes
13810 * add a lot of using std::XXX
13811 * use std construcs some places where approp.
13812 * use some exisint stuff from lyxfunctional where approp.
13813 * Make file changes to use partial linking (lets test this now...)
13815 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13819 remove #include "support/syscontr.h" as it's redundant. Always has been.
13827 change Systemcalls::System to Systemcalls::Wait and
13828 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13829 No change of functionality, just reflects the stripped down Systemcalls
13832 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13834 * debug.[Ch]: add a GRAPHICS type to the enum.
13836 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13838 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13840 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13843 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13845 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13846 match the changes below.
13848 * text2.C (toggleInset): if there is not editable inset at cursor
13849 position, try to see if cursor is _inside_ a collapsable inset
13852 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13854 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13855 document menu has a nice checkbox
13857 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13859 * lyxlength.C (asLatexString): change PW to output as percent of
13862 * lengthcommon.C: change '%' to 't%'
13864 * lyxfunc.C (dispatch): a few comments from Martin
13866 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13870 * BufferView_pimpl.h:
13871 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13874 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13876 * vspace.C (inPixels): fix compiler warning
13878 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13880 * lyxfunc.C (getStatus): fix status message for disabled commands.
13882 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13884 * BufferView_pimpl.C: fix crash on close buffer
13885 during selection (#227)
13887 2002-01-27 Herbert Voss <voss@lyx.org>
13889 * buffer.C: link old Figure to new graphic inset
13891 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13893 * FontLoader.C (getFontinfo): Change the latex font names in order
13894 to match the names of type1inst.
13896 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13898 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13900 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13901 (extchanged): ditto
13903 (remove_files_with_extension): ditto
13904 (remove_file): ditto
13907 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13908 document is smaller than the work area height. Do not initialize
13909 static variables to 0.
13911 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13913 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13915 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13916 LFUN_LAYOUT_PARAGRAPHS.
13918 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13919 tabular. It is possible to provide a possible cell, which will
13920 typically be the actcell from the corresponding insettabular
13922 * lyxfunc.C (getStatus): small cleanup; disable
13923 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13926 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13928 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13930 * paragraph.C (startTeXParParams):
13931 (endTeXParParams): new methods. The LaTeX code to
13932 start/end paragraph formatting
13933 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13934 empty (fixes bug #200)
13936 * vspace.C (inPixels): adapt to the change below
13937 (inPixels): [later] more cleanups (remove unused variables)
13939 * lyxlength.C (inPixels): change to use a width and a height as
13942 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13944 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13945 Replaced with \paperwidth
13947 * DepTable.C (insert): add std:: qualifier
13949 2002-01-18 Allan Rae <rae@lyx.org>
13951 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13954 * text.C (drawInset): Turned out I didn't know enough about how
13955 rebreaking worked. This fixes most of the redraw problems. I see
13956 an occasional cursor trail when a line is broken now and the cursor
13957 placement can seem out by a few pixels also after a rebreak.
13959 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13961 * buffer.C (parseSingleLyXformat2Token): update because minipage
13962 width is now a LyXLength
13964 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13966 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13969 2002-01-17 Juergen Vigna <jug@sad.it>
13971 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13973 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13974 is set correctly and the inset is updated correctly.
13976 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13978 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13979 the beginning of the loop.
13981 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13983 * lyxrc.C: improve help for use_scalable_fonts
13985 2002-01-17 Allan Rae <rae@lyx.org>
13987 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13989 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13991 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13992 make sure to set their inset_owner to the right value (bug #171)
13994 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13997 * DepTable.C: Implement mtime checking to reduce time spent doing
14000 2002-01-16 Juergen Vigna <jug@sad.it>
14002 * tabular.C (GetAdditionalHeight): one of error fixed.
14004 * lyxrc.C (output): small fix in writing use_pspell.
14006 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14008 * sp_base.h: #include LString.h
14010 2002-01-16 Allan Rae <rae@lyx.org>
14012 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14013 Can someone check this please?
14015 * text.C (drawInset): It was possible that p.row would be removed by
14016 breakAgainOneRow upsetting a few other settings. There may be another
14017 small tweak possible by setting need_break_row = 0 when p.row has been
14018 removed but I don't know enough about the logic here.
14020 2002-01-15 Allan Rae <rae@lyx.org>
14022 * text.C (insertChar): removed conditional truism.
14024 * BufferView2.C (removeAutoInsets): More tweaks.
14025 cur_par_prev could be a stray pointer. Check for trailing empty line
14026 in case last line was cur_par and only had an error inset on it.
14028 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14030 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14033 * vc-backend.C (most methods):
14034 * exporter.C (Export):
14035 * converter.C (convert):
14037 * LyXSendto.C (SendtoApplyCB):
14038 * lyxfunc.C (dispatch):
14042 * lyx_cb.C (AutoSave):
14044 * BufferView_pimpl.C (MenuInsertLyXFile):
14045 * buffer.C (runChktex): use Buffer::filePath().
14047 * buffer.h: rename filename to filename_; rename filepath to
14048 filepath_ and make it private
14049 (filePath): new method
14051 * buffer.C (writeFile): use fileName()
14054 * lyx_main.C (init): fix starting of LyX when the binary is a
14055 link from so,ewhere else.
14057 * minibuffer.C: include <cctype> for isprint
14059 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14061 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14062 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14063 name clash with InsetCollapsable's width function.
14065 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14067 * lastfiles.C: include <iterator>
14069 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14071 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14074 * buffer.C (makeLaTeXFile): ditto.
14075 Also make loop operation more transparent.
14077 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14079 * ToolbarDefaults.C: remove trailing comma closing namespace.
14081 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14083 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14086 * trans.C (Load): comment out unused variable, allowed.
14088 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14090 * minibuffer.[Ch] (append_char): new method to recieve input from the
14091 drop-down completion browser. If a key was pressed, then recieve this
14092 char and append it to the existing string.
14093 (peek_event): modify the positioning data passed to the completion
14094 browser so that it can be placed above the minibuffer rather than below.
14095 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14097 * LyXAction.C (init): alloe error-next for readonly documents.
14099 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14102 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14104 * bufferlist.C (readFile): create the buffer _after_ checking that
14107 * lyxfunc.C (verboseDispatch): fix handling of arguments
14109 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14111 * lyxrc.C: use string::erase() instead of initializing to "".
14114 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14116 * BufferView_pimpl.h:
14117 * BufferView_pimpl.C:
14120 * text2.C: tell X when we have made a selection for copying
14122 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14124 * BufferView_pimpl.C (MenuInsertLyXFile):
14125 * lyxfunc.C (menuNew):
14127 (doImport): add shortcuts to directory buttons
14129 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14132 * lyxfunc.C (setStatusMessage):
14133 (getStatusMessage): new methods
14134 (getStatus):use setStatusMessage instead of setErrorMessage
14135 (dispatch): when function is disabled, set error message here
14136 [instead of in getStatus previously]
14138 * BufferView_pimpl.C (workAreaButtonRelease): update
14139 toolbar/menubar here too.
14141 2002-01-13 Allan Rae <rae@lyx.org>
14143 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14144 Now seems indestructible. Remaining task is to audit all other
14145 code affected by deleteEmptyParagraphMechanism. One small quirk
14146 left is that an empty document with an error in the preamble can
14147 be made to report an error but no error box appears. I don't know
14149 (removeAutoInsets): Improved comments.
14151 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14154 * Thesaurus.C: update for Aiksaurus 0.14
14156 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14158 * text2.C (firstParagraph): removed member function, all uses
14159 replaces with ownerParagraph
14160 (redoParagraphs): here
14161 (updateInset): here
14162 (toggleAppendix): here
14163 * BufferView2.C (insertErrors): here
14164 (setCursorFromRow): here
14166 2002-01-13 Allan Rae <rae@lyx.org>
14168 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14169 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14170 There is still a way to segfault this although you may have to do this
14171 multiple times: Have an InsetERT with an unknown command in it.
14172 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14173 <down-arrow>, <Enter> again, View->DVI, BANG!
14175 * text2.C (setCursor):
14176 (deleteEmptyParagraphMechanism):
14177 * lyxtext.h (setCursor):
14178 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14179 Making use of the return value may help fix other bugs.
14181 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14183 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14185 * LyXView.C (updateMenubar): call MenuBar::update here
14186 (updateToolbar): but not here
14187 (showState): do not update toolbar/menubar
14189 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14190 should need to care about that.
14192 * lyxfunc.C (verboseDispatch): simplify a bit
14193 (getStatus): have a version which takes a pseudoaction, and
14194 another which requires a (kb_action,string).
14196 * LyXAction.C (retrieveActionArg): make it work also when action
14197 is not a pseudo-action.
14198 (getActionName): simplify a bit
14201 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14203 * lyxfunc.C (verboseDispatch): new families of methods with
14204 several ways to specify a command and a bool to indicate whether
14205 the command name and shortcut should be displayed in minibuffer
14206 (eventually, we could extend that to a finer bitmask like
14207 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14208 (dispatch): the pristine dispatch command which just, well,
14209 dispatchs! Note it still sets its result to minibuffer; I'm not
14212 * lyxfunc.h: remove setHintMessage
14214 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14216 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14218 * BufferView_pimpl.C (specialChar): delete new inset if we have
14219 not been able to insert it.
14221 * kbmap.C: revert to using int instead of kb_action, since all we
14222 are dealing with is pseudo-actions.
14224 * LyXAction.C (searchActionArg): change to return int instead of
14225 kb_action, since the result is a pseudoaction.
14227 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14229 * buffer.C (insertErtContents): Fix (partially) the font bug.
14231 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14233 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14234 as the other one is broken on my machine!
14236 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14239 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14241 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14243 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14244 reflect their actual use. Provide compatibility code for older lyxrc
14247 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14249 change names of popup font variables in line with the changes to lyxrc.C
14251 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14253 * buffer.C (asciiParagraph): avoid outputing a word twice after
14256 * lyxrc.C (getDescription): document that document_path and
14257 template_path can be empty.
14259 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14261 * LaTeXFeatures.C (getMacros):
14262 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14264 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14266 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14268 (getPackages): rename feature "floats" to "float". Use an array to
14269 iterate over 'simple' features (i.e. just a \usepackage). Add
14270 handling of "amsmath" (renamed from "amsstyle").
14272 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14274 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14277 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14279 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14280 FuncStaus::FuncStatus & FuncStaus::some_method().
14282 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14284 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14285 of the func_satus stuff. Edited and massaged in various ways by
14288 * lyxfunc.C (getStatus): use FuncStatus
14290 2002-01-08 Juergen Vigna <jug@sad.it>
14292 * text.C (nextBreakPoint): use function Inset::isChar().
14294 * paragraph.C (TeXOnePar): use function
14295 Inset::forceDefaultParagraphs.
14297 * buffer.C (latexParagraphs): use function
14298 Inset::forceDefaultParagraphs.
14300 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14302 * lyx_gui.C (init): set the style of the menu popups to
14303 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14305 2002-01-07 Juergen Vigna <jug@sad.it>
14307 * text.C (setHeightOfRow): small fix
14308 (prepareToPrint): don't look at alignment if we don't have the place
14311 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14313 * box.C: New file. Move the Box methods and functions out of box.h,
14314 following Lars' suggestion.
14316 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14318 * box.h: #include "support/LOstream.h", needed for inlined function.
14321 * lyxtextclasslist.C: added some using std declarations.
14323 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14325 * box.h: make signed dimensions to allow insets wider than
14326 the screen (bug #162)
14328 * BufferView_pimpl.C: add some insetHit debug
14330 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14332 * vc-backend.C: add FIXME
14334 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14336 * lyxfunc.C (getStatus): enable code for showing math font status
14339 2002-01-07 Juergen Vigna <jug@sad.it>
14341 * text.C (nextBreakPoint): removed debug output not needed anymore.
14343 2002-01-06 Juergen Vigna <jug@sad.it>
14345 * text.C (nextBreakPoint): fixed up this function we had this bug
14346 since ever but now hopefully we break row better.
14347 (insertChar): we have to check if an inset is the next char as it
14348 could now happen that a large inset is causing a break.
14350 2002-01-05 Juergen Vigna <jug@sad.it>
14352 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14353 if it doesn't like to be drawed.
14355 2002-01-04 Juergen Vigna <jug@sad.it>
14357 * BufferView2.C (lockInset): forgot to set a cursor.
14359 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14361 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14363 * FormMathsPanel.C:
14366 * form_maths_panel.C:
14367 * form_maths_panel.h:
14368 * form_maths_panel.fd: implemented sub- and super- buttons in math
14371 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14372 (or ^ space) to be used as in TeX (req'd by Andr�.
14374 * lyxfunc.C: Allow ^ and _ again to be used both as
14375 super/subscript (mathed) and as themselves (in text).
14377 2002-01-03 Allan Rae <rae@lyx.org>
14379 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14380 "LyX" or the filename of the current buffer if it has one. This is a
14381 modified form of John Levon's patch.
14383 * XFormsView.C (setWindowTitle): also set icon title.
14385 * LyXView.h (setWindowTitle): signature changed.
14386 * XFormsView.h (setWindowTitle): ditto.
14388 2002-01-02 Juergen Vigna <jug@sad.it>
14390 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14392 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14394 * screen.C (topCursorVisible): introduce a temp var for
14395 text->cursor.row(), handle the case where this row is null. (kindo
14398 * text2.C (setCursor): add a couple of asserts.
14400 * paragraph.h (inset_iterator): add -> operator
14402 * paragraph.[Ch] (autoDeleteInsets): remove member function
14404 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14405 cursor pos correctly and handle inset deletion by itself.
14406 (insertErrors): move iterator declaration out of for expression
14408 * lyxtextclass.C: add <algorithm>
14410 * Makefile.am: added the new files to sources, removed layout.C
14412 * layout.C: removed file
14414 * layout.h: remove LYX_DUMMY_LAYOUT
14416 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14420 * lyxtextclass.[Ch]:
14421 * lyxtextclasslist.[Ch]: new files
14423 * include order changes to a lot of files, also changes because of
14426 2001-12-27 Juergen Vigna <jug@sad.it>
14428 * buffer.C (asciiParagraph): more fixes.
14430 * tabular.C (ascii): make ascii export support export of only the
14431 data separated by a column-delimiter.
14432 (ascii): better support for ascii export.
14434 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14436 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14438 * tabular_funcs.C: use a "using std::getline" instead of the
14439 previous fix from Angus (necessary for cxx + lyxstring)
14441 2001-12-24 Juergen Vigna <jug@sad.it>
14443 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14445 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14446 problems. First check a minipage also if we have some ert-contents
14447 (not only on par->size(), second set the right depth of the paragraph
14448 on the relink to the root-paragraph-list!
14450 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14451 which then did not anymore update the main paragraphs on undo/redo!
14453 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14455 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14456 code. Support all font-changing funcs (even those which are not in
14457 menu currently). Support for reporting font settings in
14458 mathed (disabled until Andre provides a function on mathed's side).
14460 * func_status.h (toggle): small helper function to set toggle
14463 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14465 * tabular_funcs.C: getline -> std::getline
14467 2001-12-21 Juergen Vigna <jug@sad.it>
14469 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14470 accessed and could be 0 (I couldn't generate this but it seems
14473 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14475 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14476 * tabular_funcs.h: here and include iosfwd
14478 2001-12-20 Juergen Vigna <jug@sad.it>
14480 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14481 inside inset but undo_par was.
14483 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14485 * Thesaurus.C: always include <config.h> in sources.
14489 * box.h: do not include <config.h> in header files
14491 * text.C (paintLastRow): remove unused variable
14493 * text.C (transformChar):
14495 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14497 * Painter.C (text):
14498 * font.C (width): rewrite to use uppercase() instead of
14501 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14503 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14505 * lyxfind.C: clean up of find failure position change
14507 2001-12-20 Juergen Vigna <jug@sad.it>
14509 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14511 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14512 (TeXRow): added to LaTeX a single tabular row.
14513 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14514 (Latex): simplified and finally good LT-h/f support.
14515 (various_functions): just small adaptions for LT-h/f support.
14517 * tabular_funcs.[hC]: added and moved here all not classfunctions
14520 2001-12-19 Juergen Vigna <jug@sad.it>
14522 * tabular.[Ch]: better support for longtabular options (not finished
14525 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14527 * text.C (paintLastRow): use the label font instead of the font of
14528 the last character to compute the size of *_BOX. This makes more
14529 sense and avoids a crash with empty paragraphs.
14530 Use Painter::rectangle to draw EMPTY_BOX.
14532 2001-12-19 Juergen Vigna <jug@sad.it>
14534 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14535 the paragraphs if the replaced paragraph is not the first one!
14536 Tried to delete not used paragraphs but does not work yet so for
14537 now it's inside #ifdef's and by default off!
14539 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14541 * MenuBackend.C: include "lyx_main.h" instead of declaring
14542 lastfiles (actually was declared as LastFiles* instead of a
14545 2001-12-17 Juergen Vigna <jug@sad.it>
14547 * tabular.C (AppendColumn): applied John's fix
14549 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14553 * BufferView_pimpl.h:
14554 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14557 * box.h: new start of class for above
14559 * lyxfunc.C: ignore space-only minibuffer dispatches.
14560 Show the command name when it doesn't exist
14562 * minibuffer.C: don't add empty lines to the history
14564 * minibuffer.C: add a space on dropdown completion
14566 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14568 * text.C: fix line above/below drawing in insets
14570 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14572 * lyxlength.C (LyXLength): Initialize private variables.
14574 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14576 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14577 when inserting error insets.
14579 2001-12-13 Juergen Vigna <jug@sad.it>
14581 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14582 actually sometimes the before-paragraph.
14583 (setUndo): don't clear the redostack if we're not actually undoing!
14585 2001-12-06 Juergen Vigna <jug@sad.it>
14587 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14588 and fixed redoing of main paragraph, so we can use it now ;)
14590 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14592 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14594 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14597 2001-12-13 André Pönitz <poenitz@gmx.net>
14600 * undo_func.C: minor cleanup
14602 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14604 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14605 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14606 font in urw-fonts package which is marked as -urw-fontspecific and
14607 does not work (incidentally, changing the encoding in the
14608 fonts.dir of this package to -adobe-fontspecific fixes the
14611 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14612 is a crash when undoing first paragraph (Juergen, please take a
14613 look). THis does not mean the undo fix is wrong, just that it
14616 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14617 the (Paragraph*) version when needed instead of duplicating the
14620 * text.C (workWidth): use Inset::parOwner to find out where the
14621 inset has been inserted. This is a huge performance gain for large
14622 documents with lots of insets. If Inset::parOwner is not set, fall
14623 back on the brute force method
14625 * paragraph_pimpl.C (insertInset):
14626 * paragraph.C (Paragraph):
14627 (cutIntoMinibuffer): set parOwner of insets when
14628 inserting/removing them
14630 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14632 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14638 * mathed/formulabase.C:
14639 * mathed/math_cursor.[Ch]:
14640 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14643 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14645 * lyxlength.[Ch] (operator!=): new function
14647 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14649 * text.C (workWidth): use Inset::parOwner to find out where the
14650 inset has been inserted. This is a huge performance gain for large
14651 documents with lots of insets. If Inset::parOwner is not set, fall
14652 back on the brute force method
14654 * paragraph_pimpl.C (insertInset):
14655 * paragraph.C (Paragraph):
14656 (cutIntoMinibuffer): set parOwner of insets when
14657 inserting/removing them
14659 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14661 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14663 * tabular-old.C (getTokenValue):
14664 * tabular.C (getTokenValue):
14665 (write_attribute): new versions for LyXLength
14666 (everywhere): adjust the use of widths
14668 * tabular.h: change the type of widths from string to LyXLength
14670 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14672 * paragraph.C: fixed missing line number count when exporting
14673 Environments to LaTeX file
14675 * buffer.C: added informational message for checking line numbers.
14677 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14679 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14680 paragraph, do the 'double space' part, but not the 'empty
14683 * text.C (workWidth): small optimization
14684 (getLengthMarkerHeight): use minimal size for negative lengths.
14686 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14688 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14690 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14692 2001-12-11 André Pönitz <poenitz@gmx.net>
14695 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14697 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14699 * text2.C: keep selection on a setFont()
14701 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14703 * lyx_cb.C: another bv->text misuse, from insert label
14705 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14708 * kbsequence.C: re-instate nmodifier mask
14710 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14712 * lyx_main.h: make lyxGUI private.
14714 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14716 * lyxfind.C: place the cursor correctly on failed search
14718 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14720 * text.C (getLengthMarkerHeight): for small heights, the arrows
14721 are not always on top/bottom of the text
14722 (drawLengthMarker): smaller arrows; take the left margin in
14723 account; draw also vfills.
14725 (paintLastRow): remove special code for vfill and standard spaces,
14726 since everything is handled in drawLengthMarker now.
14728 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14730 * buffer.C (insertErtContents): try to handle font and language
14731 interaction a bit better.g
14733 * ColorHandler.C (updateColor): change the hash to cover the whole
14734 LColor enum, ws cleanup
14735 (getGCLinepars): ditto
14736 (getGCLinepars): only lookup in the linecache once.
14738 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14740 * iterators.C (operator++): Make the iterator more robust
14742 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14744 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14746 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14749 * text.C: better added space drawing
14751 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14754 * BufferView2.C: fix layout combo update on inset unlock
14756 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14758 * Makefile.am: don't compile unused files
14760 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14764 * LyXAction.C: remove old LFUN_LAYOUTNO
14766 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14768 * paragraph_pimpl.h:
14769 * paragraph_pimpl.C: isTextAt() doesn't need font param
14771 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14774 * lyxlex.C: little cleanup
14776 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14778 * BufferView_pimpl.C: fix insertAscii for insets
14780 2001-12-05 Juergen Vigna <jug@sad.it>
14782 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14783 set the right font on the "multi" paragraph paste!
14785 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14791 * lyxlength.C: remove out-commented code.
14793 * BufferView_pimpl:
14807 * vc-backend.C: change "while(" to "while ("
14809 * lyxlength.[Ch]: add zero function to check if length is zero or
14811 * lyxgluelength.C: use it
14813 2001-12-05 Allan Rae <rae@lyx.org>
14815 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14816 Works for 2.95.3, from what I understand of Garst's reports this should
14817 work for other g++ versions. We're screwed if the abs(int) definition
14818 changed between bugfix releases of gcc.
14820 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14822 * text.C: fix chapter label offset !
14824 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14827 * text.C: fix hfill at end of line, clean up
14829 2001-12-04 Juergen Vigna <jug@sad.it>
14831 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14832 that we force an update of the inset and it's owners if neccessary.
14834 2001-12-03 Juergen Vigna <jug@sad.it>
14836 * text.C (rowLast): simplified code
14838 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14840 * lyxfunc.C: fix show options on timeout
14842 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14844 * screen.C (topCursorVisible): scroll half a page when the cursor
14845 reached top of bottom of screen
14847 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14849 * minibuffer.C: deactivate on loss of focus
14851 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14853 * vspace.[Ch] (operator!=): add operator.
14855 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14857 * BufferView_pimpl.C: refuse to open an inset when
14858 there's a selection.
14860 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14862 * BufferView_pimpl.C: allow to click on RHS of full row insets
14864 2001-11-30 Juergen Vigna <jug@sad.it>
14866 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14867 insets for undo reasons.
14869 2001-11-28 André Pönitz <poenitz@gmx.net>
14871 * vspace.[Ch]: cosmetical changes
14873 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14883 * kbsequence.C: part re-write of old kb code
14886 * WorkArea.C: remove Lgb_bug_find_hack
14888 2001-11-30 José Matos <jamatos@fep.up.pt>
14890 * buffer.C (makeDocBookFile): add a comment to point a hack.
14891 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14892 Fixed a double write of labels.
14894 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14897 * LaTeX.h Fixed bug in LaTeX class where it would not
14898 re-run latex if no depfiles were changed, but the .dvi was removed.
14900 2001-11-28 André Pönitz <poenitz@gmx.net>
14902 * all the files from the change on 2001/11/26:
14903 use lyx::layout_type instead of LyXTextClass::size_type
14904 use lyx::textclass_type instead of LyXTextClassList::size_type
14906 2001-11-29 Juergen Vigna <jug@sad.it>
14908 * text.C: added support for paragraph::isFreeSpacing()
14910 * buffer.C: same as above
14912 * paragraph.h: inserted isFreeSpacing() function to enable
14913 FreeSpacing inside InsetERT.
14915 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14916 of the paragraph's in the cut/copy buffer to 0!
14918 * text2.C (removeRow): remove the assert as it can!
14920 * lyxtext.h: added helper function firstRow returning firstrow and
14921 made firstrow private again.
14923 * BufferView2.C (lockInset): don't relock if we're already locked!
14925 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14926 the only paragraph.
14927 (removeRow): added Assert::(firstrow)
14929 * debug.C: forgot to add INSETTEXT here.
14931 2001-11-28 Juergen Vigna <jug@sad.it>
14933 * sp_spell.C (initialize): changed error text to more general
14934 spellchecker command use (not only ispell!)
14936 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14938 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14940 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14942 * vspace.C: initialise lyxgluelength on failure
14944 2001-11-28 Allan Rae <rae@lyx.org>
14946 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14947 declaration & definition that looks like a function declaration.
14949 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14951 * BufferView2.C (copy):
14952 (copyEnvironment): do not clear the selection when doing a copy.
14954 * text.C (paintFirstRow): compilation fix
14956 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14958 * tabular.C (Latex): correct line count when writing latex.
14960 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14962 * paragraph_pimpl.h:
14963 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14966 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14970 * LColor.C: change vfillline->added_space
14972 * text.C: add markers and text for added space
14974 * vspace.C: fix comment
14976 2001-11-28 André Pönitz <poenitz@gmx.net>
14978 * paragraph.C: whitespace changes
14979 * all the other files from the change on 2001/11/26:
14980 change *::pos_type into lyx::pos_type
14982 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14984 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14985 language of the document when inserting error insets.
14987 2001-11-26 André Pönitz <poenitz@gmx.net>
14989 * BufferView_pimpl.[Ch]:
14997 * paragraph_pimpl.[Ch]:
15000 * text2.C: reduce header dependencies, introduce type for positions
15002 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15004 * <various>: change to use Alert.h
15006 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15008 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15009 when encountering an unknown token.
15010 (readLyXformat2): Show an error message if there were unknown tokens.
15012 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15015 * BufferView_pimpl.C:
15019 * text2.C: use par->isInset()
15021 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15023 * paragraph_pimpl.h:
15024 * paragraph_pimpl.C: cleanup
15026 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15028 * text2.C (removeRow):
15029 * text.C (setHeightOfRow): remove useless (and costly) call to
15032 2001-11-20 Allan Rae <rae@lyx.org>
15034 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15035 Now need Inset*::checkInsertChar() to return true for appropriate
15036 cases so that the characters in the minibuffer will actually be
15039 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15041 * text.C: change the order of the includes.
15042 (workWidth): initialize it at once.
15043 (workWidth): make maxw unsigned
15044 (setHeightOfRow): remove unused variable (inset)
15045 (selectSelectedWord): remove unused variable (inset)
15046 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15048 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15050 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15051 server is not running.
15053 (closeConnection): add debug info when server is disabled.
15055 * ColorHandler.C (getGCForeground): send debug message to GUI
15058 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15060 * kbmap.C (bind): modify because return conventions of
15061 kb_sequence::parse have changed.
15063 * kbsequence.C (parse): only ignore spaces and not any stupid
15064 control character. This avoids tests like s[i] <= ' ', which are
15065 guaranteed to fail with 8bit characters and signed chars.
15066 Change return code to string::npos when there have been no error
15067 (0 was a bad idea when error is at first character)
15069 2001-11-14 José Matos <jamatos@fep.up.pt>
15072 * buffer.C (simpleDocBookOnePar): removed unused argument.
15074 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15076 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15077 insets which are part of a word. Paragraph::isLetter takes care of
15078 that now. Use Paragraph::isInset to identify insets.
15079 (selectSelectedWord): do not test for hyphenation break.
15081 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15082 that protected spaces are considered as spaces.
15084 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15087 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15090 * lyxserver.C: fix it. and small cleanup.
15092 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15094 * BufferView_pimpl.C: use inline helpers
15097 * LaTeXFeatures.C: fix typos
15100 * Spacing.C: move spacing_string into class
15102 * ToolbarDefaults.C: move stuff into namespace anon
15104 * layout.h: update enum
15106 * lyxfunc.C: use better debug
15108 * minibuffer.h: fix typo
15112 * WorkArea.C: add and use Debug::WORKAREA
15116 * text2.C: code re-organisation, inline helpers
15118 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15120 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15121 std::vector.empty().
15123 2001-11-09 Allan Rae <rae@lyx.org>
15125 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15126 '\n's after tables. Tabular and ERT inset work now makes this no
15129 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15132 * minibuffer.C: fix crash, improve drop-down completion
15134 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15137 * lyxserver.C: invalidate fd's when doing endPipe()
15139 2001-11-08 José Matos <jamatos@fep.up.pt>
15141 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15142 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15145 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15147 2001-11-07 José Matos <jamatos@fep.up.pt>
15150 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15153 * buffer.C (sgmlOpenTag):
15154 * buffer.C (sgmlCloseTag): removed debug info.
15156 * buffer.h (sgmlOpenTag):
15157 * buffer.h (sgmlCloseTag): made public.
15159 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15161 * buffer.C (saveParamsAsDefaults):
15162 * lyx_cb.C (MenuLayoutSave): remove
15164 * LyXAction.C (init):
15166 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15168 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15170 * buffer.C (setPaperStuff): removed from here...
15172 * bufferparams.C (setPaperStuff): ... and moved there.
15174 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15178 * XFormsView.C: add support for drop-down completion
15180 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15182 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15185 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15187 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15190 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15192 * lyx_main.C: change ref to known bugs
15194 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15196 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15197 to work around older babel problems.
15199 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15201 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15203 2001-10-24 Juergen Vigna <jug@sad.it>
15205 * tabular-old.C (ReadOld): below variable changes reflected.
15207 * tabular.[Ch]: added ltType struct for longtable header/footer
15208 defines and changed all instances where they are used. Added
15209 future support for double top/bottom rows.
15211 2001-10-24 José Matos <jamatos@fep.up.pt>
15213 * buffer.h (docbookHandleCaption):
15214 * buffer.C (docbookHandleCaption): removed unused function.
15215 (makeDocBookFile): moved docbook supported version to v4.1.
15217 2001-10-24 José Matos <jamatos@fep.up.pt>
15220 * tabular.C (docbookRow): new function to export docbook code of a row.
15221 (DocBook): now honors the longtable flags.
15223 2001-10-23 José Matos <jamatos@fep.up.pt>
15226 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15227 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15229 * buffer.C (makeLinuxDocFile):
15230 (makeDocBookFile): reworked the preamble, more clean, and with
15231 support for lyx defined entities. Changed the document declaration
15232 to be more XML friendly.
15234 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15235 if we need to output XML that should be done with a filter.
15237 2001-10-22 Juergen Vigna <jug@sad.it>
15239 * sp_pspell.h (class PSpell): add alive function needed in the
15240 controller to see if the spellchecker could be started.
15242 2001-10-22 Juergen Vigna <jug@sad.it>
15244 * buffer.C (insertStringAsLines): modify the font for inserting
15245 chars in certain conditions by calling checkInsertChar(font).
15247 2001-10-19 Juergen Vigna <jug@sad.it>
15249 * text.C (workWidth): use getRow instead of wrong algorithm.
15250 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15252 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15257 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15259 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15261 * text.C (workWidth): do not search for the exact row when
15262 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15263 optimization for big documents.
15265 2001-10-18 Juergen Vigna <jug@sad.it>
15267 * text.C (workWidth): new function with added Inset * parameter.
15269 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15271 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15273 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15274 change return type of getColumnNearX.
15277 * text.C (changeRegionCase): use uppercase/lowercase instead of
15280 (rightMargin): simplify code by factoring out the uses of
15285 (appendParagraph): use Paragraph::size_type
15287 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15289 * vspace.C (asLatexString): add a missing break
15291 2001-10-15 Herbert Voss <voss@perce.de>
15293 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15295 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15297 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15300 2001-10-10 André Pönitz <poenitz@gmx.net>
15302 * lyxfunc.C: removed greek_kb_flag.
15304 2001-10-10 Herbert Voss <voss@perce.de>
15306 * lyx_main.C: delete global string help_lyxdir.
15308 2001-10-09 Herbert Voss <voss@perce.de>
15310 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15312 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15314 * lyx_main.C: added global string help_lyxdir.
15316 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15318 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15320 * lyxrc.C (set_font_norm_type): support iso8859-4
15322 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15324 * LaTeX.C (deplog): add another regex for MikTeX
15326 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15328 * lyxrc.C (set_font_norm_type): support iso8859-3
15330 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15332 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15334 * LaTeXFeatures.C: remove special case of french and index
15336 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15337 before \begin{document}). This solves several incompatibilities.
15339 2001-10-03 Garst Reese <reese@isn.net>
15341 * lyx_cb.C: change CheckTex error msg.
15343 2001-10-03 José Matos <jamatos@fep.up.pt>
15345 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15347 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15349 * .cvsignore: update
15351 * lyx_main.C (commandLineVersionInfo): use new style version info.
15353 * buffer.C (writeFile):
15355 (makeLinuxDocFile):
15356 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15358 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15360 * version.h: update to use stuff in version.C
15362 * version.C.in: new file. Contains version information determined
15363 at compile time. This is a merging of version.h and
15366 2001-10-03 Juergen Vigna <jug@sad.it>
15368 * BufferView_pimpl.C (update): don't change "dirty" status in
15371 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15373 * WorkArea.C (c-tor): re-position version string slightly.
15375 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15377 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15378 revert to previous code.
15380 WorkArea.[Ch]: (show, destroySplash): methods removed.
15382 WorkArea.C: rework code so that it's an amalgam of the codes before and
15383 after the splash screen was moved to WorkArea.
15385 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15388 * vspace.C (inPixels):
15391 * buffer.C (insertStringAsLines):
15392 (asciiParagraph): fix types to be large enough
15394 * lyxlex_pimpl.h: change member status from short to int
15396 * layout.h: fix type of endlabeltype
15399 * kbsequence.C (parse): change return type to string::size_type
15401 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15404 * Bullet.C (bulletSize):
15405 (bulletEntry): do not use short ints as parameters
15407 * BufferView2.C (insertLyXFile): change a char to an int.
15409 * WorkArea.C (WorkArea): remove unneeded floats in computation
15411 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15413 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15415 * paragraph.C (asString): Do not ignore newline/hfill chars when
15416 copying to the clipboard.
15418 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15420 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15421 after a multi-line inset.
15423 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15425 * paragraph.C (validate): Set NeedLyXFootnoteCode
15427 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15429 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15430 and decrease-error to decrease.
15432 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15434 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15435 it more readable (should be equivalent)
15437 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15439 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15441 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15443 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15444 of a cursor (row, etc.) after a character has been deleted
15445 (deleteEmptyParagraphMechanism): call the method above on _all_
15446 cursors held by the LyXText when a double space has been
15449 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15451 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15453 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15455 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15456 background. Use greyOut() and the new show() methods to toggle between
15457 the foreground and background. Add code to remove the splash after
15458 its initial showing.
15460 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15461 (create_forms): no longer call Dialogs::showSplash.
15463 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15465 * .cvsignore: add version_info.h
15467 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15469 * version_info.h.in: new file
15471 * Makefile.am: add version_info.h.in
15473 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15474 version_info.h instead of VERSION_INFO
15476 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15478 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15479 The ERT inset now returns string().
15481 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15483 * lyxtext.h, text.C (selectNextWord): renamed as
15484 selectNextWordToSpellcheck.
15486 * text.C (selectNextWordToSpellcheck): Modified to not select
15487 words inside an ERT inset.
15489 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15491 * lyx_cb.C (MenuLayoutSave): change a bit the question
15493 * sp_base.h: include <sys/types.h>
15495 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15497 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15499 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15501 * several files: fix typos in user-visible strings
15503 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15505 * text2.C (pasteSelection): do not set the selection, since it
15506 will be cleared later. Actually, the intent was to fix the way the
15507 selection was set, but I figured rmoving the code was just as good.
15509 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15511 * FontLoader.C (available): Check if font is available without
15514 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15516 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15518 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15520 * lyxrc.[Ch]: added display_graphics variable and associated code.
15522 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15524 * bufferparams.C (hasClassDefaults): new method. Returns true if
15525 the buffer parameters correspond to known class defaults
15527 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15529 * XFormsView.C (show): set minimum size to the main window.
15531 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15533 * text2.C (copySelection):
15535 * lyxfind.C (LyXReplace):
15536 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15537 LyXText::selectionAsString.
15539 * paragraph.C (asString): add "label" argument to the second form
15541 * text2.C (selectionAsString): add "label" argument and pass it to
15542 Paragraph::asString.
15544 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15546 * lyx_main.C (commandLineHelp): remove version information
15548 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15550 * lyx_main.C: add -version commandline option
15552 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15554 * paragraph.h: make the optional constructor arg required instead.
15555 some modifications to other files because of this.
15557 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15559 * lyxserver.C (C_LyXComm_callback): make it static
15561 * lyx_main.C (error_handler): make it static
15563 * lyx_gui.C (LyX_XErrHandler): make it static
15565 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15567 * WorkArea.C: make the extern "C" methods static.
15569 * Makefile.am (lyx_LDADD): simplify
15571 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15573 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15574 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15576 * LyXAction.C (init):
15577 * lyxfunc.C (dispatch): associated code removal.
15579 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15581 * lyxfont.h (isSymbolFont): shut off warning
15583 * text.C (setHeightOfRow):
15584 (getVisibleRow): fix crash with empty paragraphs which have a
15587 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15589 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15592 2001-09-04 José Matos <jamatos@fep.up.pt>
15595 * tabular.C (docbook): rename docBook method to docbook.
15597 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15599 * Makefile.am: add dependencies to main.o.
15601 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15603 * FontLoader.C (available): Return false if !lyxrc.use_gui
15605 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15607 * FontInfo.C (query):
15608 * converter.C (view):
15609 * importer.C (Import):
15610 * exporter.C (Export): Can not -> cannot.
15612 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15614 * BufferView_pimpl.C: allow to create index inset even if
15617 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15619 * buffer.C (getLists): replace boost::tie code with an explicit pair
15620 as boost::tie can break some compilers.
15622 * iterators.h: Added a std:: declaration to the return type of
15625 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15627 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15630 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15632 * iterators.[Ch]: New files. Provide paragraph iterators.
15634 * buffer.C (changeLanguage): Use paragraph iterators.
15635 (isMultiLingual): ditto
15637 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15639 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15641 * FontLoader.C: Support for cmr font.
15643 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15645 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15646 (available): New method.
15648 * FontInfo.C (getFontname): Use scalable fonts even when
15649 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15652 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15654 * converter.C (Formats::view): reverted! Incorrect fix.
15656 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15658 * converter.C (Formats::view): only output the -paper option
15659 if the dvi viewer is xdvi, thereby fixing bug #233429.
15661 2001-08-23 Herbert Voss <voss@perce>
15663 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15665 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15667 * Spacing.h (Spacing): Set space to Default on in the default
15670 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15672 * vc-backend.h (RCS::versionString): add RCS to version
15673 (CVS::versionString): add CVS to version
15675 * vc-backend.C (scanMaster): do not add CVS to version.
15676 (scanMaster): do not add RCS to version
15678 * lyxvc.C (versionString): new method
15680 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15682 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15684 * Spacing.C (set): initialize fval
15686 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15688 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15691 2001-08-16 Juergen Vigna <jug@sad.it>
15693 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15695 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15697 * BufferView_pimpl.C:
15700 * text2.C: setParagraph takes linespacing now
15702 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15704 * LyxAction.C: add internal LFUN_CITATION_INSERT
15706 * LyXView.C: actually apply fix
15708 * bufferlist.C: fix open non-existent file
15710 * lyxfind.C: fix indentation
15712 * lyxfunc.C: remove unneeded assert, fix typo
15714 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15716 * MenuBackend.C: use "Floatname List"
15718 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15720 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15721 when converting LaTeX layout to insetERT.
15722 Generate a non-collapsed float when reading old float
15724 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15726 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15729 2001-08-13 Juergen Vigna <jug@sad.it>
15731 * text.C (fill): return 0 instead of 20 as this seems to be the more
15734 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15736 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15739 2001-08-13 Juergen Vigna <jug@sad.it>
15741 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15743 (SearchBackward): comment out the unlocking of the inset_owner this
15744 should not be needed!
15746 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15748 * Many files: Remove inherit_language, and add latex_language
15750 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15751 collapsible insets.
15753 2001-08-10 Juergen Vigna <jug@sad.it>
15755 * text.C (prepareToPrint): fixed hfill-width in draw!
15757 * BufferView2.C (selectLastWord): save the selection cursor as this
15758 now is cleared in the function LyXText::clearSelection!
15760 2001-08-08 Juergen Vigna <jug@sad.it>
15762 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15763 BACKSPACE type functions.
15765 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15766 is only cutted from the document but not put in the cut-buffer, where
15767 still the old stuff should be.
15769 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15771 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15773 * tabular.C (SetWidthOfCell): fixed special case where the width
15775 (LeftLine): handle '|' in align_special.
15777 (LeftAlreadyDrawed): ditto
15778 (SetWidthOfCell): ditto
15780 2001-08-07 Juergen Vigna <jug@sad.it>
15782 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15784 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15786 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15787 * lyxlex.[hC]: ditto
15789 2001-08-06 Juergen Vigna <jug@sad.it>
15791 * text.C (getVisibleRow): fix up row clearing a bit.
15793 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15795 * minibuffer.C: make sure the X server sees the changes in the input.
15797 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15799 * paragraph.C (getFont): split into...
15800 (getLabelFont): this
15801 (getLayoutFont): and this
15802 * paragraph_pimpl.C (realizeFont): calling this
15804 * text2.C (getFont): split into...
15805 (getLayoutFont): this
15806 (getLabelFont): and this
15807 (realizeFont): all three calling this
15809 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15812 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15814 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15816 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15818 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15819 layouts from the Quote inset insertion.
15821 2001-08-03 Juergen Vigna <jug@sad.it>
15823 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15825 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15826 only if status not is already CHANGED_IN_DRAW (second level).
15828 * text.C (draw): don't set the need_break_row when inside an
15831 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15833 * buffer.C (parseSingleLyXformat2Token): handle more latex
15836 * bufferview_funcs.[hC]: change function names to
15837 begin with small char, adjust other files.
15839 2001-08-02 André Pönitz <poenitz@gmx.net>
15842 BufferView_pimpl.C: remove broken special code for math-greek
15844 2001-08-02 Juergen Vigna <jug@sad.it>
15846 * BufferView_pimpl.C (update): redone this function so that we
15847 update the text again if there was a CHANGE_IN_DRAW.
15849 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15850 (drawFromTo): added a new internal bool which is used by draw() and
15852 (general): some cursor drawing problems fixed.
15854 2001-08-01 Juergen Vigna <jug@sad.it>
15856 * lyxfind.C (LyXFind): fixed
15857 (SearchForward): ditto
15858 (SearchBackward): ditto
15860 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15861 spurius drawing of the cursor in the main area.
15863 * text2.C (status): small fix which could lead to a segfault!
15864 (clearSelection): remove unneeded BufferView param.
15866 2001-08-01 André Pönitz <poenitz@gmx.net>
15868 * lyxfunc.C: small change due to changed mathed interface
15870 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15872 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15874 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15876 * lyxfunc.c: fail gracefully if file doesn't exist
15881 * BufferView_pimpl.C: IsDirWriteable() proto changed
15883 * LyXView.C: fix updateWindowTitle() to store the last title
15885 2001-07-31 Juergen Vigna <jug@sad.it>
15887 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15888 the font (wrong since using of Paragraph::highestFontInRange).
15890 * paragraph.C (highestFontInRange): added a default_size parameter.
15892 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15893 (setHeightOfRow): reformat
15895 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15897 * converter.[hC] + affected files: move to (inital-char)lowercase
15900 * ParagraphParameters.C (ParagraphParameters): remove commented code
15902 * PainterBase.[Ch]: remove commented code
15904 * LaTeXFeatures.h: add "bool floats" for float.sty
15906 * LaTeXFeatures.C (LaTeXFeatures): init floats
15907 (require): handle float
15908 (getPackages): do it with floats
15910 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15912 * BufferView_pimpl.C (Dispatch): improve handling of
15913 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15915 * commandtags.h: #include lyxfont.h here temporarily to avoid
15918 * bufferlist.h: include LString.h here.
15920 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15922 * text2.C (getStringToIndex): new method.
15924 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15926 * *: Reduced header file dependencies all over.
15928 2001-07-30 Baruch Even <baruch@lyx.org>
15930 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15932 2001-07-29 Baruch Even <baruch@lyx.org>
15934 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15936 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15938 * ParameterStruct.h (endif): add a default constructor to make
15939 sure that all variables is initialized.
15941 * ParagraphParameters.C (ParagraphParameters): adjust
15943 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15945 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15946 index; also, check that there is something to index, and that it
15947 does not span over several paragraphs.
15948 (doubleClick): use WHOLE_WORD_STRICT for double click.
15950 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15952 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15955 2001-07-26 Baruch Even <baruch@lyx.org>
15957 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15958 an InsetFig figure, backwards compatible reading of old figure code.
15960 2001-07-27 Juergen Vigna <jug@sad.it>
15962 * text2.C: font.realize function adaption.
15964 * text.C (draw): add a warnings lyxerr text if needed.
15966 * layout.C: font.realize function adaption.
15968 * language.C: add inherit_language and implement it's handlings
15970 * bufferview_funcs.C (StyleReset): remove language parameter from
15971 font creation (should be language_inherit now).
15973 * bufferparams.C (writeFile): handle ignore_language.
15975 * paragraph.C (getFontSettings): the language has to be resolved
15976 otherwise we have problems in LyXFont!
15978 * lyxfont.C (lyxWriteChanges): added document_language parameter
15979 (update): removed unneeded language parameter
15981 * paragraph.C (validate): fixed wrong output of color-package when
15982 using interface colors for certain fonts in certain environments,
15983 which should not seen as that on the final output.
15985 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15987 * BufferView_pimpl.C:
15992 * LyXAction.C: add thesaurus support
15995 * lyxfind.C: add "once" parameter, for thesaurus, to not
15996 move to the next match
15998 2001-07-26 Juergen Vigna <jug@sad.it>
16000 * lyxfont.C (realize): honor ignore_language too!
16003 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16005 * text.C (draw): one place more for ignore_language to not draw
16008 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16010 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16012 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16014 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16015 the minipage conversion problem.
16017 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16019 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16022 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16024 * BufferView.h: don't forward declare WorkArea
16026 * BufferView.C: don't include WorkArea.h
16028 2001-07-25 André Pönitz <poenitz@gmx.net>
16032 * lyxfunc.C: new LFUN 'math-space'
16034 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16036 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16038 * text2.C (toggleInset): call open/close
16040 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16042 * lyxfunc.C (dispatch): add debug for the disabled case
16044 * font.C (buttonText): make similar to rectText
16046 * buffer.C (readInset): comment out parsing of insetlist and
16049 * PainterBase.C (rectText): small correction
16051 * BufferView_pimpl.C: comment out insettheorem and insetlist
16052 * LyXAction.C: ditto
16053 * commandtags.h: ditto
16055 2001-07-24 Juergen Vigna <jug@sad.it>
16057 * text.C (draw): honor the ignore_language.
16059 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16061 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16063 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16066 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16068 * lyxtext.h: remove unused (and unimplemented) methods
16070 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16072 * text.C (getVisibleRow): honor background color
16075 * Painter.h: remove default color argument for fillRectangle
16077 * text.C (backgroundColor): new method
16079 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16081 * text.C (getVisibleRow): adjust
16083 * font.[Ch] (rectText): new method, metrics
16084 (buttonText): new method, metrics
16086 * PainterBase.[hC]: make rectText and buttonText always draw and take
16089 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16091 * ToolbarDefaults.C (read):
16092 * MenuBackend.C (read): allow escaping in all strings
16094 * BufferView_pimpl.C (insertAndEditInset): new method.
16095 (Dispatch): use insertAndEditInset whenever appropriate.
16097 * BufferView_pimpl.C (insertNote): removed
16099 * BufferView_pimpl.C (smartQuote): new method, moved from
16100 BufferView; if an insetquote cannot be inserted, insert a '"'
16103 * BufferView2.C: remove insertCorrectQuote();
16105 * lyxfunc.C (getStatus): Add support for all remaingin
16106 inset-insert lfuns.
16108 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16110 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16111 command (necessary to pass " as parameter of self-insert.
16113 * text.C (selectWordWhenUnderCursor):
16114 (selectWord): add word_location parameter
16115 (selectWordWhenUnderCursor): same + remove special code for word
16117 (selectNextWord): use kind() to guess type of insetspecialchar,
16120 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16121 (insertErtContents): create ert insets as collapsed.
16122 (readInset): better compatibility code for Info inset.
16124 2001-07-20 Juergen Vigna <jug@sad.it>
16126 * lyxfunc.C (dispatch): use always LyXFind now!
16128 * text2.C (init): add a reinit flag so that the LyXText can be
16129 reinited instead of deleted and reallocated (used in InsetText).
16131 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16137 2001-07-18 Juergen Vigna <jug@sad.it>
16139 * text.C (selectNextWord): handle insets inside inset by calling
16140 always the bv->text functions so that we can go up the_locking_inset!
16142 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16143 in strange locations when inside an inset!
16145 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16146 handling to include insets.
16148 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16150 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16152 * LyXAction.C (init):
16154 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16155 LIGATURE_BREAK, since the name is so stupid.
16157 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16159 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16162 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16164 * sp_form.[Ch]: remove.
16166 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16168 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16171 * src/buffer.C (readInset): ditto.
16173 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16175 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16176 menuSeparator(), endOfSentenceDot(), ldots() and
16177 hyphenationPoint(), which are therefore removed.
16178 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16180 * LyXAction.C (init):
16181 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16183 * paragraph.C (getWord): removed.
16185 * BufferView_pimpl.C (Dispatch): use last word or selection for
16186 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16188 * lyx_main.C (queryUserLyXDir): do not ask before creating
16189 user_dir, except if it has been named explicitely.
16191 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16193 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16194 a document of zero size.
16196 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16198 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16199 approriately in the c-tor and in require().
16200 (getPackages): output the appropriate LaTeX for natbib support.
16202 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16203 variables "use_natbib" and "use_numerical_citations" when reading the
16205 (readInset): read the various natbib cite commands.
16206 (validate): white-space change.
16208 * bufferparams.[Ch]: new variables "bool use_natbib" and
16209 "bool use_numerical_citations".
16210 (writeFile): output them in the LyX file.
16212 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16214 * lyxfunc.C (getStatus): add support for all the inset insertion
16217 * text2.C (insertInset):
16218 * paragraph.C (insetAllowed):
16219 * BufferView_pimpl.C (insertInset): update to take in account the
16220 renaming of insertInsetAllowed
16222 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16224 * text2.C (getInset): new method. returns inset at cursor position.
16226 * BufferView_pimpl.C (Dispatch): changes because of this.
16228 * LyXAction.C (init): rename open-stuff to inset-toggle.
16230 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16232 * text2.C (toggleInset): renamed from openStuff; use
16235 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16237 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16239 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16241 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16243 * buffer.C (readLyXformat2): Add filename to the error dialog
16245 2001-07-18 Juergen Vigna <jug@sad.it>
16247 * tabular.C (GetCellNumber): put an assert here instead of the check!
16249 2001-07-17 Juergen Vigna <jug@sad.it>
16251 * BufferView_pimpl.C (toggleSelection): adapted too.
16253 * text.C (selectNextWord): adapted for use with insets.
16254 (selectSelectedWord): ditto
16256 2001-07-17 Juergen Vigna <jug@sad.it>
16258 * sp_spell.C (PSpell): fix initialitation order.
16260 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16262 * paragraph.C: spacing
16264 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16266 * sp_spell.C: repair language selection for pspell
16268 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16270 * lyxfunc.h: change more methods to begin with lower char.
16272 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16274 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16275 for unknown layouts.
16277 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16279 * buffer.C (readLyXformat2): Generate an error dialog if there are
16282 2001-07-16 Juergen Vigna <jug@sad.it>
16284 * sp_spell.C: always compile ISpell part.
16286 * lyxrc.C: added use_pspell entry and it's handling.
16288 2001-07-13 Juergen Vigna <jug@sad.it>
16290 * sp_spell.C: removed double includes.
16292 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16294 Consistent use of Lsstream.h:
16295 * Lsstream.h: added using std::stringstream for consistencies sake.
16297 * buffer.C: removed using std::stringstream
16299 * lyxfont.C (stateText):
16300 * paragraph.C (asString):
16301 * text.C (selectNextWord, selectSelectedWord):
16302 * text2.C (setCounter):
16303 * vspace.C (asString, asLatexString):
16304 std::ostringstream -> ostringstream.
16306 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16308 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16309 * commandtags.h: add LFUN_HELP_ABOUTLYX
16310 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16312 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16314 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16316 * lyx_gui_misc.C: remove spellchecker
16317 * lyxfunc.C: showSpellchecker
16319 * sp_ispell.h: added
16320 * sp_pspell.h: added
16321 * sp_spell.C: added
16322 * sp_form.[Ch]: removed
16323 * spellchecker.[Ch]: removed
16325 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16327 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16329 (simpleTeXSpecialChars): Simply print the input character without
16330 any special translation if pass_thru is set.
16332 * layout.h: Added bool pass_thru to layout class for being able to
16333 implement pass through of a paragraph for Literate Programming.
16335 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16336 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16337 * layout.C (Read): add "passthru" to list of layout tags and add
16338 code to set the pass_thru boolean when it is read.
16340 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16342 * trans_decl.h: remove allowed from KmodInfo
16344 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16345 remove allowed code
16348 * paragraph_pimpl.C (erase): use boost::prior
16350 * Painter.C (text): use data() instead of c_str() when length is
16352 * WorkArea.C (putClipboard): ditto
16353 * font.h (width): ditto
16355 * BufferView2.C: use it-> instead of (*it). for iterators
16357 * paragraph_pimpl.C: ditto
16358 * paragraph.C: ditto
16359 * minibuffer.C: ditto
16360 * language.C: ditto
16362 * encoding.C: ditto
16363 * counters.C: ditto
16364 * converter.C: ditto
16366 * Variables.C: ditto
16367 * TextCache.C: ditto
16368 * MenuBackend.C: ditto
16369 * LyXAction.C: ditto
16371 * FloatList.C: ditto
16372 * DepTable.C: ditto
16373 * ColorHandler.C (LyXColorHandler): ditto
16375 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16377 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16379 * text2.C (openStuff): reintroduce this method (which had been
16380 nuked in NEW_INSETS frenzy).
16382 * lyxfunc.C (Dispatch): when an action has not been handled, use
16383 its name in the error message, not its number.
16385 * paragraph.C (inInset): change method name to begin with lowercase.
16388 * text2.C: updates because of this.
16390 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16392 * ToolbarDefaults.C (add): add spaces in error message
16394 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16396 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16397 (readLyXformat2): rename return_par to first_par, use lyxlex's
16398 pushToken and remove the manual push handling.
16399 (parseSingleLyXformat2Token): add another ert comp. variable:
16400 in_tabular, rename return_par to first_par. handle newlines better
16402 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16404 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16406 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16408 * text2.C (getParFromID): removed
16410 * buffer.C (getParFromID): new method moved form lyxtext.
16411 * BufferView2.C (insertErrors): adjust
16412 (setCursorFromRow): adjust
16413 * BufferView_pimpl.C (restorePosition): adjust
16414 * lyxfunc.C (Dispatch): adjust
16415 * undo_funcs.C (textUndo): adjust
16417 (textHandleUndo): adjust
16418 (textHandleUndo): adjust
16420 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16422 * buffer.C: up' the LYX_FORMAT
16424 * lyxfont.h: turn NO_LATEX on as default
16426 * buffer.C (insertErtContents): new methods of tex style compability.
16427 (parseSingleLyXformat2Token): use it several places.
16428 * tabular.C (OldFormatRead): and here
16430 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16432 * text2.C: remove some commented code.
16435 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16436 * trans.C: changes because of the above.
16438 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16440 * text2.C (setCounter): Fix counters bug with bibliography layout.
16442 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16444 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16445 own member functions
16446 (simpleTeXSpecialChars): ditto
16448 2001-07-06 Juergen Vigna <jug@sad.it>
16450 * a lot of files: changed the access to LyXText::status and the
16451 call of undo-functions.
16453 * undo.[Ch]: added a inset_id to the undo informations.
16455 * undo_funcs.[Ch]: added and moved here all undo functions.
16457 * lyxtext.h: give the status enum a weight, made status_ a private
16458 variable and made accessor functions for it, removed the whole bunch
16459 of undo-functions as they are now in their own file, make some
16460 functions publically available. Added function ownerParagraph with
16463 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16464 made InInset() a const function, added getParFromID() function.
16466 * buffer.[Ch]: added const version for inset_iterator functions,
16467 added getInsetFromID() function.
16469 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16470 changed undo functions for new version.
16472 2001-07-05 Juergen Vigna <jug@sad.it>
16474 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16475 unknow mechanism does not call the proper constructor but only this
16476 one also if I request the other!?
16478 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16480 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16482 * text2.C (LyXText): use initialization lists.
16484 * lyxtext.h (Selection): initialize set_ and mark_
16485 (init): remove method
16487 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16489 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16491 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16493 * screen.[Ch]: change method names to begin with lowercase
16495 * BufferView_pimpl.C (updateScrollbar): simplify further and
16496 hopefully make it a bit faster.
16498 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16500 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16501 calling directly xforms functions.
16503 * Painter.C (Painter):
16504 * lyx_cb.C (MenuWrite):
16505 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16508 * lyx_gui.C: remove bogus guiruntime extern declaration.
16510 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16512 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16514 (redoDrawingOfParagraph): ditto
16515 (redoParagraphs): ditto
16516 (cutSelection): don't create a object for CutAndPaste use the
16517 static method directly
16518 (pasteSelection): ditto
16520 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16523 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16525 * modifications to some other files because of this.
16527 * Makefile.am (lyx_SOURCES): add XFormsView
16529 * XFormsView.[Ch]: new files
16531 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16532 the main window. Move the gui dependent stuff to XFormsView
16534 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16536 * tabular.C (GetCellInset): update cur_cell also in the row/col
16537 version of this function.
16539 * lyxfunc.C: no need to include figure_form.h here.
16545 * lyxvc.C: no need to include forms.h here.
16547 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16549 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16551 * lyxfunc.C (Dispatch):
16553 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16554 constructor argument.
16556 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16558 * paragraph.C (Paragraph): dont't clear, and just set layout.
16559 (makeSameLayout): use params's copy contructor.
16561 * ParagraphParameters.[Ch] (makeSame): delete method
16563 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16565 * Variables.[Ch]: fix indentation, rename set to isSet
16567 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16569 * lyxfunc.C (Dispatch): fix typo
16571 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16573 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16576 * bufferlist.C: include assert.h for emergencyWrite().
16578 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16580 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16581 give up at last (bug #425202) !
16583 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16589 * spellchecker.C: strip spellchecker options and bring up
16590 preferences tab instead
16592 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16594 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16595 the istringstream constructor
16597 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16599 * paragraph.C (getLayout): fix return value
16601 * paragraph.h: do not declare getLayout as inline.
16603 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16605 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16607 * lyxcursor.h (operator<): new func
16608 (operator>): new func
16609 (operator>=): new func
16610 (operator<=): new func
16612 * text.C (changeCase): use selection.start and selection.end
16613 (changeRegionCase): require from to be <= to. Require par to be a
16616 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16618 2001-06-27 Juergen Vigna <jug@sad.it>
16620 * text.C (cursorLeftOneWord): changed to return the cursor and added
16621 overlay with BufferView * parameter which calls this one.
16623 (selectWord): use new getWord function.
16624 (changeCase): renamed from changeWordCase as and extended to work
16625 also on selections.
16627 * lyxtext.h: added enum word_location
16629 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16630 changeCase as this operates now also on selections.
16632 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16634 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16636 * many files: send debug output to Debug::INFO instead of
16639 * converter.C (View):
16641 (Move): send debug output to Debug::FILES instead of console.
16643 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16645 * lyxfunc.C (getStatus): use func_status
16647 * func_status.h: new header, describing the results of
16648 LyXFunc::getStatus;
16650 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16653 2001-06-25 The LyX Project <jug@sad.it>
16655 * buffer.C (sgmlOpenTag):
16657 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16659 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16661 * text2.C: remove some dead code
16663 * tabular.C (GetCellInset): store the last cell checked (gotten)
16665 * tabular.h: add the helper for the speedup
16667 * lyxtext.h: remove some dead code
16669 2001-06-26 The LyX Project <Asger>
16671 * paragraph.C: Change export to LaTeX of alignment to
16672 \begin{center} and family for better roundtrip work with reLyX.
16674 * Tune the math drawing a bit.
16676 2001-06-25 The LyX Project <Asger>
16678 * LColor.C (LColor): New color for math background. New color
16681 2001-06-25 The LyX Project <jug@sad.it>
16683 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16685 * lyxfunc.C (Open):
16686 * bufferlist.C (newFile): do not restrict to files ending with
16689 * BufferView_pimpl.C (MenuInsertLyXFile):
16691 2001-06-24 The LyX Project <jug@sad.it>
16693 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16696 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16698 * lyxtext.h: rename most methods to begin with a small char.
16699 Lots of changes because of this.
16701 * paragraph.C (Paragraph): do not call fitToSize
16702 (erase): call Pimpl::erase
16703 (insertChar): call Pimpl::insertChar
16704 (insertInset): call Pipl::insertInset
16705 (breakParagraph): do not call fitToSize
16706 (breakParagraphConservative): do not call fitToSize
16707 (fitToSize): remove method
16709 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16711 2001-06-24 The LyX Project <Asger>
16713 * Fix Qt compilation^2
16715 2001-06-24 The LyX Project <jug@sad.it>
16717 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16718 depthHook(getDepth()-1).
16721 * ParagraphParameters.h:
16722 * ParameterStruct.h: change type of depth to unsigned int ==
16723 depth_type. Many adaptations to other files before of that.
16725 2001-06-24 The LyX Project <Asger>
16727 * Fix Qt compilation.
16729 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16731 * paragraph.h: renamed several methods to begin with small letter.
16732 several changes to many parts of the code because of this.
16734 2001-06-23 The LyX Project <jug@sad.it>
16736 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16737 rewritten to discard all double spaces when KeepEmpty is off
16738 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16739 to only handle newlines but not fiddle with spaces and friends.
16741 * lyxfunc.C (MenuNew): when doing 'new from template', use
16742 template_path as default directory
16744 2001-06-23 The LyX Project <Asger>
16746 * Clean-up of header file includes all over
16747 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16749 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16751 * paragraph.h: renamed from lyxparagraph.h
16753 2001-06-23 Asger <lyx@violet.home.sad.it>
16755 * Buffer.h: Removed Buffer::resize
16756 * BufferList.h: Removed BufferList::resize
16757 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16758 the document lazily when we change the width, or the font settings.
16760 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16762 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16764 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16766 * buffer.h: remove out of date comment
16768 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16771 * screen.C: fix "theoretical" GC leak
16773 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16775 * LaTeX.C (scanAuxFile):
16776 (deplog): remove trailing \r when reading stream (useful under
16779 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16781 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16782 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16783 and BufferView::theLockingInset(Inset*), so should use them and not
16784 access bv_->text->the_locking_inset directly.
16786 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16788 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16791 * tex-defs.h: remove old unused file
16793 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16795 * BufferView_pimpl.C: fix typo, remove minibuffer message
16796 when buffer has loaded
16798 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16800 * lyxfunc.C (Dispatch): use stringstream
16801 (MenuNew): use stringstream
16802 (Open): use stringstream
16804 * importer.C (Import): use stringstream
16806 * bufferview_funcs.C (CurrentState): use stringstream
16808 * LaTeX.C (run): use stringstream
16810 * BufferView_pimpl.C (savePosition): use stringstream
16811 (restorePosition): use stringstream
16812 (MenuInsertLyXFile): use stringstream
16814 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16827 * vspace.C: removed // -*- C++ -*- as first line.
16830 * version.h: added // -*- C++ -*- as first line.
16832 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16834 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16836 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16839 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16841 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16844 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16846 * gettext.C: include LString.h even when --disable-nls is on.
16848 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16850 * converter.h (Get): changed argument type from int to
16851 FormatList::size_type to avoid unnecessary conversion.
16853 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16856 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16858 * gettext.h: include LString.h even when --disable-nls is on.
16860 2001-06-07 Juergen Vigna <jug@sad.it>
16862 * text.C (BreakAgain): subst spaces with tabs.
16864 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16865 (resizeInsetsLyXText): set force on resizeLyXText.
16867 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16869 * gettext.h (gettext_init):
16870 (locale_init): use a real definition instead of a macro
16872 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16874 * Bufferview_pimpl.C:
16876 * LColor.C: further lcolor tidies
16878 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16880 * BufferView_pimpl.C (updateScrollbar): simplify.
16882 * BufferView2.C: don't include insets/insetinfo.h, change
16883 prototype for insertInset and call the Pimpl version. let
16884 updateInset call Pimpl version.
16886 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16887 gotoInset to BufferView::Pimpl
16889 2001-06-01 Juergen Vigna <jug@sad.it>
16891 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16892 inside a LockingInset (is the update needed at all?).
16894 2001-05-31 Juergen Vigna <jug@sad.it>
16896 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16897 here not the old one otherwise how should we compare it afterwards
16900 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16905 * FontInfo.C: bring C functions into global namespace when
16908 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16910 * LString.h: make sure config.h has been loaded before LString.h.
16912 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16913 (one for each char read by EatLine!).
16915 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16918 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16920 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16921 to the same as the par we break from
16923 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16925 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16927 * MenuBackend.C (expand): also create menu entries for wide
16928 versions of the floats.
16930 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16932 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16934 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16935 frontends/Makefile.am
16941 * tabular.C (getTokenValue): add std::
16943 * tabular-old.C (getTokenValue): add std::
16944 (getTokenValue): ditto
16945 (getTokenValue): ditto
16947 * screen.C (ToggleSelection): adjust
16949 * lyxtext.h: put selection cursors inside a Selection struct.
16951 * lyxfunc.C (moveCursorUpdate): adjust
16953 * lyxfont.C (latexWriteStartChanges): add std::
16955 * lyxfind.C: adjust
16957 * font.h: delete with(char const *, LyXFont const &)
16959 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16961 * FontInfo.C (getFontname): add std::
16963 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16964 (workAreaButtonPress): adjust
16965 (tripleClick): adjust
16967 (moveCursorUpdate): adjust
16970 * BufferView2.C (gotoInset): adjust
16972 2001-05-30 Juergen Vigna <jug@sad.it>
16974 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16975 to check pspell I add this as default as I now have new pspell
16976 libraries and they seem to use this.
16978 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16980 * text2.C (CutSelection): make the cursor valid before the call to
16983 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16985 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16986 relied on 0 terminated strings and other horrors. Bug found due to
16987 the new assert in lyxstring!
16989 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16992 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16994 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16997 * lyxfunc.C (processKeySym): change method of getting to the
17000 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17001 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17002 * BufferView_pimpl.[Ch]: here as private methods.
17004 2001-05-28 Juergen Vigna <jug@sad.it>
17006 * text.C (SetHeightOfRow): added the update() call again as it is
17007 needed to initialize inset dimensions!
17009 2001-05-16 Juergen Vigna <jug@sad.it>
17011 * text2.C (SetCharFont): Add new function with BufferView * and
17012 bool toggleall parameters for setting insets internal fonts.
17013 (SetFont): Freeze the undo as we may change fonts in Insets and
17014 all this change should be inside only one Undo!
17016 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17017 setting font's in insets as for them we have the SetFont function!
17019 2001-05-15 Juergen Vigna <jug@sad.it>
17021 * text2.C (ClearSelection): to be sure we REALLY don't have any
17024 * tabular.C (TeXCellPreamble): fixed the left border problem for
17027 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17029 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17032 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17034 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17035 LFUN_BREAKPARAGRAPH.
17037 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17038 help test to "internal only", similar for LFUN_INSERT_URL
17040 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17041 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17042 auto_region_delete and deadkeys.
17044 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17047 * LColor.C: remove some dead entries, tidy a little
17049 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17051 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17053 (Dispatch): implement LFUN_ESCAPE
17055 * commandtags.h: add LFUN_ESCAPE
17057 * LyXAction.C (init): add entry for LFUN_ESCAPE
17059 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17060 Remove commented code.
17061 (insertNote): moved here
17062 (open_new_inset): moved here
17064 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17067 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17069 * kbmap.C (findbinding): clean it up and make it work correctly.
17071 * lyx_main.C (init): do not pass argc and argv as parameters
17073 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17075 * buffer.C: fix path for OS/2 & Win32
17079 * lyx_main.C: Added os:: class.
17081 * os2_defines.h: update
17083 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17085 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17086 better by trying again with reduced state.
17088 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17090 * lyxrc.C (read): print error about invalid key sequence only when
17091 debugging (because not all latinX keysyms are known to some X
17094 * kbsequence.C (getiso): add a few std:: qualifiers
17095 (getiso): comment out extra return statement.
17097 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17099 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17101 (Dispatch): enhance the accent inset a bit. (not perfect)
17103 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17105 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17107 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17109 * bufferlist.C (emergencyWrite): fix assert() call
17111 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17113 * text.C (InsertChar): Added trivial patch to only send the "you
17114 can not do multiple spaces this way" message once during a
17117 2001-05-08 Baruch Even <baruch@lyx.org>
17119 * Makefile.am: Changed order of libraries to get LyX to link properly
17120 with the gnome frontend.
17122 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17124 * LaTeXFeatures.h: add a std:: qualifier
17126 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17128 * paragraph.C (String): use stringstream
17130 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17132 * paragraph.C (writeFile): remove footflag arg
17134 * buffer.C (makeLaTeXFile): use stringstream
17135 (latexParagraphs): remove footnot gurba
17137 * LaTeXFeatures.C (getPackages): use stringstream
17138 (getMacros): likewise
17139 (getTClassPreamble): likewise
17140 (getFloatDefinitions): new method
17142 * paragraph.C (writeFile): reindent
17145 * WorkArea.h: revert the xpos + etc changes.
17147 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17149 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17151 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17152 (pasteSelection): likewise
17153 * text2.C (CreateUndo): likewise
17155 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17157 * minibuffer.C (peek_event): temporarily reduce the functionality
17158 of the minibuffer (to allow args on lfuns)
17160 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17161 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17163 * buffer.C (readInset): add compability reading of old float
17164 lists, add reading of new style float list.
17165 (readInset): avoid reevaluation of inscmd.getCmdName()
17166 (getLists): reindent
17168 * MenuBackend.C (MenuItem): implement parsing of
17169 md_floatlistinsert and md_floatinsert.
17170 (expand::LastFiles): move initalizaton of iterators out of loop,
17171 avoid reevaluation.
17172 (expand::Documents): introduce typdedef vector<string> Strings,
17174 (expand::ExportFormats): introduce typedef vector<Format const *>
17175 Formats, and use it.
17176 (expand): implement FloatListInsert and FloatInsert.
17178 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17179 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17180 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17182 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17184 (Dispatch::LFUN_FLOAT_LIST): implement
17186 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17188 * LaTeX.C (run): Fix problem with --export code.
17190 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17192 * BufferView.[Ch] (workarea): removed.
17193 (getClipboard) new method; wrapper for workarea()->getClipboard()
17195 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17198 * WorkArea.h (width, height, xpos, ypos): These methods all
17199 returned the dimensions of the work_area sub-area of WorkArea,
17200 resulting in a position error if the WorkArea were resized. Now
17201 return the dimensions of the entire WorkArea.
17203 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17205 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17207 * LaTeX.C (deplog): correct the syntax of regex reg1
17209 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17211 * undo.C: remove !NEW_INSETS cruft
17213 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17215 * text2.C: remove !NEW_INSETS cruft
17217 * text.C: remove !NEW_INSETS cruft
17219 * tabular.C: remove !NEW_INSETS cruft
17221 * spellchecker.C: remove !NEW_INSETS cruft
17223 * lyxtext.h: remove !NEW_INSETS cruft
17225 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17227 * lyxfunc.C: remove !NEW_INSETS cruft
17229 * lyxfind.C: remove !NEW_INSETS cruft
17231 * lyx_cb.C: remove !NEW_INSETS cruft
17233 * figureForm.C: remove !NEW_INSETS cruft
17235 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17237 * buffer.[Ch]: remove !NEW_INSETS cruft
17239 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17241 * CutAndPaste.C: remove !NEW_INSETS cruft
17243 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17245 * BufferView2.C: remove !NEW_INSETS cruft
17247 * BufferView.h: remove !NEW_INSETS cruft
17249 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17251 * Lsstream.h: include LString.h before the sstream headers to
17252 fix problem with gcc 2.95.3 and lyxstring
17254 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17256 * lyx_main.C: add using directives when needed for C functions
17257 declared in std:: namespace.
17259 2001-04-27 Juergen Vigna <jug@sad.it>
17261 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17262 (SetHeightOfRow): comment out the update call should not be needed!
17264 2001-04-13 Juergen Vigna <jug@sad.it>
17266 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17267 (LyXTabular): tried to minimize operator= operations (and realized
17268 hopfully Lars wish).
17270 2001-04-27 Juergen Vigna <jug@sad.it>
17272 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17274 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17276 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17278 * buffer.C (readInset): hack to make listof algorithm work
17280 * BufferView_pimpl.C: hack to make listof algorithm work
17282 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17284 * LyXAction.C: removed all !NEW_INSETS cruft
17285 (init): moved lfun_item in method
17287 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17289 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17291 * BufferView2.C (theLockingInset): white space.
17293 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17295 * minibuffer.C: include <iostream>
17297 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17299 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17301 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17303 * text.[Ch] (TransposeChars): new method
17305 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17307 * call message directly through LyXView instead of through LyXFunc
17308 * BufferView2.C: adjust
17309 * BufferView_pimpl.C: adjust
17310 * FontLoader.C: adjust
17312 * bufferview_funcs.C: adjust
17313 * converter.C: adjust
17314 * figureForm.C: adjust
17315 * importer.C: adjust
17317 * lyx_gui_misc.C: adjust
17318 * lyxfunc.C: adjust
17321 + more files in subdirs
17323 * lyxparagraph.h (size): move up int file
17326 * adjust all uses of Assert to lyx::Assert.
17328 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17329 lyxfunctional in namespace lyx
17330 * layout.C (hasLayout): ditto
17333 (delete_layout): ditto
17334 (NumberOfClass): ditto
17335 * converter.C (GetFormat): ditto
17340 * bufferlist.C (getFileNames): ditto
17341 (emergencyWriteAll): ditto
17344 * MenuBackend.C (hasSubmenu): ditto
17347 * BufferView_pimpl.C (getInsetByCode): ditto
17349 2001-04-18 Juergen Vigna <jug@sad.it>
17351 * vspace.C (asLatexString): fixed the 100% problem.
17353 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17355 * lyxfunc.C (Dispatch):
17357 * minibuffer.h: add a few std:: qualifiers
17359 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17361 * minibuffer.[Ch]: reimplement so that commands is initiated and
17362 run from lyxfunc, simplified som handling, and made the completion
17363 and history code for complete. wip.
17365 * lyxfunc.C (processKeySym): call message
17366 (miniDispatch): new temporary method
17367 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17368 (LFUN_MESSAGE): implement
17369 (LFUN_MESSAGE_PUSH): implement
17370 (LFUN_MESSAGE_POP): implement
17371 (initMiniBuffer): the initial/defualt minibuffer message.
17373 * lyxfont.[Ch]: inline some more getters
17375 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17377 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17379 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17380 (AutoSave): use LFUN_MESSAGE
17381 (Reconfigure): ditto
17383 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17385 * figureForm.C: use LFUN_MESSAGE
17387 * converter.C (runLaTeX): use LFUN_MESSAGE
17389 * bufferview_funcs.C: use LFUN_MESSAGE
17391 (changeDepth): ditto
17393 * bufferparams.h: use boost::
17395 * bufferlist.h: inherit privately from noncopyable
17397 * bufferlist.C (loadLyXFile): remove some commented code.
17399 * buffer.C (runChktex): use LFUN_MESSAGE
17401 * ShareContainer.h: inherit privately from noncopyable
17403 * ParagraphParameters.[hC] (depth): inline it.
17405 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17407 (message): new method
17408 (messagePush): ditto
17409 (messagePop): ditto
17410 (show): init minibuffer
17411 (showState): direct call
17413 * LaTeX.[Ch]: inherit privately from noncopyable
17414 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17415 instead of WriteStatus.
17417 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17419 * BufferView_pimpl.C (buffer): don't init minibuffer
17420 (workAreaButtonPress): use LFUN_MESSAGE
17421 (workAreaButtonRelease): ditto
17422 (savePosition): ditto
17423 (restorePosition): ditto
17424 (MenuInsertLyXFile): ditto
17425 (workAreaExpose): don't init minibuffer
17426 (update): remove commented code, simplify
17428 * BufferView2.C (openStuff): use LFUN_MESSAGE
17429 (toggleFloat): ditto
17432 (copyEnvironment): ditto
17433 (pasteEnvironment): ditto
17438 (updateInset): remove some commented code
17440 * lastfiles.h: inherit privately from noncopyable
17443 * lyx_main.h: ditto
17445 * lyxlex_pimpl.h: ditto
17447 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17448 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17449 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17451 * LyXAction.h: inherit privately from noncopyable, add methods
17452 func_begin, func_end, returning iterators to the func map.
17454 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17455 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17456 (func_begin): new method
17457 (func_end): new method
17459 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17461 (copySelection): ditto
17462 (pasteSelection): ditto
17464 * BufferView.C: whitespace change
17465 * BufferView.h: inherit privately from noncopyable
17467 2001-04-16 Allan Rae <rae@lyx.org>
17469 * tabular-old.C (l_getline):
17470 * spellchecker.C (sc_check_word):
17471 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17472 an unrecognised preprocessor directive. So ensure they're wrapped.
17474 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17476 * src/exporter.C (Export): Give an error message when path to file
17479 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17481 * LaTeX.C (deplog): Always check that foundfile exists.
17483 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17486 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17488 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17490 * tabular.[Ch] (getLabelList): implement new method
17492 * minibuffer.h: comment ouf setTiimer
17494 * minibuffer.C (ExecutingCB): constify res
17495 (peek_event): constify s
17496 (Set): constify ntext
17497 (Init): constify nicename
17499 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17501 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17502 (savePosition): use two params to Minibuffer::Set
17503 (restorePosition): ditto
17505 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17507 * lyx_main.C: include language.h
17509 * Makefile.am (lyx_main.o): add language.h
17511 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17517 * CutAndPaste.C: include gettext.h
17519 * lyxfont.h: remove old hack with ON and OFF.
17522 * lyxfont.h: do not include language.h...
17527 * bufferview_funcs.C:
17533 * paragraph.C: ... but do it here instead
17535 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17537 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17539 * tabular.C: small reformat
17541 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17544 (BreakParagraph): ditto
17545 (SetOnlyLayout): ditto
17548 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17551 * lastfiles.C: removed most using decl, add std:: where needed
17553 * buffer.C: ws changes
17555 * MenuBackend.C (class compare_format): put into anon namespace
17556 (expand): constify label, names, action, action2
17559 * text.C (SingleWidth): constify font
17560 (IsBoundary): constify rtl2
17561 (GetVisibleRow): constify ww
17563 * LaTeX.C (deplog): constify logfile
17565 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17567 (workAreaExpose): constify widthChange, heightChange
17569 * lyxrow.C (par): moved
17572 * lyxrow.h: as inlines here
17574 * lyxfont.h (shape): moved from lyxfont.C
17575 (emph): moved from lyxfont.C
17577 * lyxfont.C (LyXFont): use initialization list for all
17579 (shape): move to lyxfont.h as inline
17580 (emph): move to lyxfont.h as inline
17583 2001-04-04 Juergen Vigna <jug@sad.it>
17585 * vspace.C: had to include stdio.h for use of sscanf
17587 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17590 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17591 independent of xforms.
17593 2001-04-02 Juergen Vigna <jug@sad.it>
17595 * spellchecker.C: fixed namespace placing!
17597 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17599 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17600 the LyXParagraph * is 0.
17602 2001-03-29 Juergen Vigna <jug@sad.it>
17604 * vspace.C: added support for %, c%, p%, l%.
17605 (stringFromUnit): added helper function.
17606 (asLatexString): changed to give right results for the %-values.
17608 * buffer.C: convert the widthp in a width%.
17610 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17612 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17615 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17616 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17618 * lyx_cb.[Ch]: see above.
17620 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17624 * lyx.[Ch]: replaced by figure_form.[Ch].
17628 * lyxfunc.C: changed headers associated with above changes.
17630 2001-03-27 Juergen Vigna <jug@sad.it>
17632 * BufferView_pimpl.C: set the temporary cursor right!
17634 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17636 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17638 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17640 * LString.h: removed "using std::getline"!
17642 * BufferView_pimpl.C (Dispatch): changes due to changes in
17643 InsetInclude::Params.
17645 * buffer.C (tag_name): removed redundant break statements as they were
17646 producing lots of warnings with my compiler.
17648 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17650 * LString.h: add "using std::getline" when using the real <string>.
17652 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17654 * buffer.C: removed bitset usage.
17655 PAR_TAG moved to an anonymous name space.
17656 (tag_name): new funtion, also in the anonymous namespace.
17657 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17658 (makeDocBookFile): clean code. Completed transition from string arrays
17660 (SimpleDocBookOnePar): code clean.
17662 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17664 * tabular.C: add some comments.
17666 2001-03-22 Juergen Vigna <jug@sad.it>
17668 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17669 compatibility read a bit and fixed bug with minipage in different
17672 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17674 * buffer.C (pop_tag): removed.
17675 (push_tag): removed.
17676 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17677 array replaced with vector. Added support for CDATA sections.
17678 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17680 (makeDocBookFile): XML conformant declaration of CDATA section,
17681 fixed bug related to <emphasis> in the first paragraph char.
17682 (sgmlOpenTag): exclude empty tags.
17683 (sgmlCloseTag): ditto.
17685 * buffer.h (pop_tag): removed.
17686 (push_tag): removed.
17688 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17690 * language.h (Languages): added size_type and size().
17692 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17694 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17695 response on compability reading of minipages. One probliem is that
17696 the old usage of minipages was flertydig
17698 * several files here and in subdirs: don't use static at file
17699 scope use anon namespaces instead.
17701 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17703 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17704 LaTeX output. This is necessary for Literate document
17707 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17709 * buffer.C: insert hfill when needed.
17711 * tabular.C (l_getline): use string::erase, small whitespace change.
17713 * BufferView_pimpl.C: try the anon namespace.
17714 * WorkArea.C: ditto
17716 2001-03-16 Juergen Vigna <jug@sad.it>
17718 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17719 otherwise it won't open options-dialogs.
17721 * buffer.C: honor pextraWidth(p) on converting minipages.
17723 * tabular.C (l_getline): changed the functions to strip trailing \r.
17725 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17727 * BufferView_pimpl.C:
17728 * minibuffer..C: added "using SigC::slot" declaration.
17730 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17732 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17738 * paragraph.C: ditto
17740 * lyxtext.h: NO_PEXTRA
17742 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17744 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17745 * ParameterStruct.h: ditto
17746 * ParagraphParameters.h: ditto
17747 * lyxparagraph.h: ditto
17749 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17751 * buffer.C: add compability for minipage alignment.
17752 (latexParagraphs): remove unwanted pextra check.
17754 * several files: remove CXX_WORKING_NAMESPACES
17756 * buffer.C (pop_tag): tie is in namespace boost
17758 * BufferView.h: noncopyable is in namespace boost
17760 * lyx_main.h: ditto
17763 * lastfiles.h: ditto
17764 * bufferlist.h: ditto
17765 * ShareContainer.h: ditto
17767 * LyXAction.h: ditto
17770 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17772 * Merging changes from BRANCH_MVC back into HEAD.
17774 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17776 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17778 * BufferView_pimpl.C: change from intl.C
17782 * Makefile.am: move combox.*
17788 * intl.C: remove dialog (covered by prefs)
17790 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17792 * lyxfunc.C (Dispatch): removed redundant break statement.
17794 2001-03-14 Juergen Vigna <jug@sad.it>
17796 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17798 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17800 * buffer.C: add hack to fix compability reading of minipages.
17802 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17804 * buffer.C (getLists): Cleanup.
17806 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17808 * lyxfont.C (update): don't honor toggleall on font size.
17810 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17814 * Makefile.am: moved to frontends/xforms/
17818 * BufferView_pimpl.C: changes for moved mathpanel
17820 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17822 * gettext.h: fix gettext_init() in --disable-nls
17824 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17826 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17828 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17831 * lyx.h: strip external form
17833 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17835 * BufferView_pimpl.C: add comment, destroySplash()
17837 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17839 * BufferView_pimpl.C:
17843 * lyxfunc.C: use re-worked insetinclude
17845 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17847 * buffer.C: add using std::stringstream.
17849 * lyx_cb.C: readd using std::ios.
17851 * buffer.C: add using std::map.
17853 * BufferView_pimpl.C: add using std::vector.
17855 * ShareContainer.h: add std:: to swap.
17857 * buffer.h: add some typedefs
17858 * buffer.C (getLists): use them
17859 (getLists): renamed from getTocList.
17860 add a counter for the different float types and use it in the
17862 (getLists): use the same counter for the NEW_INSETS and the "non"
17865 * lyx_cb.h: remove unused items, includes, using etc.
17867 * ShareContainer.h: remove some commented code, add more comments
17868 and "documentation".
17870 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17872 * buffer.C (getTocList): make the list also when NEW_INSETS is
17875 * buffer.h: remove TocType
17877 * buffer.C (getTocList): change to return a map<string,
17878 vector<TocItem> >, implement for dynamic number of list.
17880 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17881 * text2.C (PasteSelection): adjust
17882 * CutAndPaste.C (pasteSelection): adjust
17884 * FloatList.C (FloatList): update from the new_insets branch.
17885 * Floating.[Ch]: ditto
17886 * LaTeXFeatures.C: ditto
17888 * lyxlex_pimpl.C: ditto
17890 * paragraph.C (Last): remove when NEW_INSETS is defined.
17892 * other file: changes because of the above.
17894 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17896 * lyxparagraph.h: rename next to next_, previous to previous_,
17897 make them private for NEW_INSETS. Rename Next() to next(),
17898 Previous() to previous().
17900 * other files: changes because of the above.
17902 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17905 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17908 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17910 * main.C (main): pass lyx_localedir to gettext_init().
17912 * gettext.h: remove locale_init and gettext_init macros
17914 * gettext.C (locale_init): new function
17915 (gettext_init): new function
17917 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17920 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17922 * Moved credits to frontends:
17923 * credits.[Ch]: removed
17924 * credits_form.[Ch]: removed
17925 * lyx_gui_misc.C: remove credits stuff
17928 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17930 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17932 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17933 unneeded destructor.
17935 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17936 a standalone pointer again.
17938 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17940 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17946 * ToolbarDefaults.C:
17955 * BufferView_pimpl.C: use new file dialog in GUII
17958 * lyx_cb.C: remove LayoutsCB to Toolbar
17960 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17962 * ShareContainer.h (get): add std:: qualifier
17964 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17966 * ShareContainer.h: define a proper ShareContainer::value_type
17967 type (and use typename to please compaq cxx)
17969 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17971 * lyxparagraph.h: move serveral local vars to
17972 ParameterStruct/ParagraphParameters., use ShareContainer in
17973 FontTable., make vars in FontTable private and add getter and
17976 * paragraph.C: changes because of the above.
17978 * lyxfont.h: remove copy constructor and copy assignment. (the
17979 default ones is ok), move number inside FontBits. move inlines to
17982 * lyxfont.C: add number to initializaton of statics, move several
17983 inlines here. constify several local vars. some whitespace
17984 cleanup. Dont hide outerscope variables.
17986 * Spacing.h: add two new constructors to match the set methods.
17988 * ShareContainer.h: new file, will perhaps be moved to support
17990 * ParameterStruct.h: new file
17992 * ParagraphParameters.h: new file
17994 * ParagraphParameters.C: new file
17996 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17997 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17999 * BufferView_pimpl.C: ParagraphParameter changes.
18000 * buffer.C: Likewise.
18001 * bufferview_funcs.C: Likewise.
18002 * text.C: Likewise.
18003 * text2.C: Likewise.
18005 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18007 * lyxfind.C (LyXReplace): do not redefine default argument in
18009 (IsStringInText): ditto
18010 (SearchForward): ditto
18011 (SearchBackward): ditto
18013 2001-03-06 Juergen Vigna <jug@sad.it>
18015 * lyxfind.C (IsStringInText): put parentes around expressions.
18017 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18019 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18021 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18023 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18025 * stl_string_fwd.h: add comment
18027 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18030 * tabular.C: remove unused DocBook methods
18036 killed DO_USE_DEFAULT_LANGUAGE
18038 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18040 * lyx_gui.C: do not include language.h.
18042 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18043 arguments in function implementation.
18045 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18047 * BufferView_pimpl.C: add <ctime>
18049 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18051 * BufferView_pimpl.C: add using std::find_if
18053 2001-02-27 José Matos <jamatos@fep.up.pt>
18055 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18058 2001-02-11 José Matos <jamatos@fep.up.pt>
18060 * buffer.C (makeDocBookFile): command styles now have a parameter as
18061 "title" by default.
18063 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18065 * layout_forms.[Ch]: removed
18066 * lyx_cb.[Ch]: out character
18067 * lyx_gui.C: out character
18068 * lyx_gui_misc.C: out character
18069 * bufferview_funcs.C: : out character,
18070 added toggleall as parameter in ToggleAndShow
18072 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18074 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18076 * text2.C (SetCurrentFont): Disable number property at boundary.
18078 2001-02-26 Juergen Vigna <jug@sad.it>
18080 * lyxfunc.C (getStatus): added a string argument override function so
18081 that this is correctly called from LyXFunc::Dispatch if it contains a
18082 do_not_use_argument which is used!
18083 (Dispatch): added check for "custom" export and call appropriate func.
18085 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18087 * lyxrc.C: Add language_command_local, language_use_babel and
18088 language_global_options.
18090 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18092 * buffer.C (makeLaTeXFile): Use language_use_babel and
18093 language_global_options.
18095 2001-02-23 Juergen Vigna <jug@sad.it>
18097 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18098 which works with LyXText and putted it inside BufferView. Here now we
18099 only call for that part the BufferView::Dispatch() function.
18101 * BufferView.C (Dispatch): added.
18103 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18104 functions which needs to use a LyXText over from LyXFunc.
18105 (MenuInsertLyXFile): added
18106 (getInsetByCode): added
18107 (moveCursorUpdate): added
18108 (static TEXT): added
18110 2001-02-22 Juergen Vigna <jug@sad.it>
18112 * BufferView_pimpl.C (update): call a status update to see if LyXText
18115 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18117 * vc-backend.C (revert): implement for CVS
18118 (getLog): implement for CVS
18120 2001-02-20 Juergen Vigna <jug@sad.it>
18122 * text2.C (ClearSelection): added BufferView param for inset_owner call
18124 * lyxfunc.C (TEXT): added this function and use it instead of
18125 directly owner->view()-text of getLyXText().
18127 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18129 * src/layout_forms.C: out preamble
18130 * src/layout_forms.h: out preamble
18131 * src/lyx_cb.C: out preamble
18132 * src/lyx_cb.h: out preamble
18133 * src/lyx_gui.C: out preamble
18134 * src/lyx_gui_misc.C: out preamble
18135 * src/lyxfunc.C: connect with guii preamble
18137 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18139 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18141 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18143 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18144 whether to run bibtex.
18146 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18148 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18150 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18152 * Makefile.am (lyx_SOURCES): removed bibforms.h
18154 * vspace.h: doxygen
18156 * text.C (GetVisibleRow): make several local vars const
18158 * tabular.C: small cleanup.
18160 * lyxserver.C (callback): use compare instead of strncmp
18162 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18163 inlines to after class or to paragraph.C
18165 * lyxfont.h: remove friend operator!=
18167 * converter.h: move friend bool operator< to non friend and after
18170 * combox.h: small cleanup
18172 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18173 to inlines after class def.
18175 * buffer.C (pop_tag): use string operations instead of strcmp
18177 * bmtable.c: doxygen, small cleanup
18179 * LaTeX.h: remove friend operator==
18181 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18193 * BufferView_pimpl.C:
18194 * BufferView.[Ch]: remove cruft
18196 2001-02-14 Juergen Vigna <jug@sad.it>
18198 * lyxfunc.C: removed #if 0 unused code
18200 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18202 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18204 * text2.C (SetSelection): added a BufferView * parameter
18206 2001-02-13 Juergen Vigna <jug@sad.it>
18208 * lyxfunc.C (Dispatch): fixed protected blank problem.
18209 * BufferView2.C (protectedBlank): added LyxText * parameter.
18211 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18212 (AppendColumn): same as above for column_info.
18214 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18215 (moveCursorUpdate): use a LyXText param for support of InsetText.
18217 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18218 (tripleClick): ditto
18220 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18222 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18224 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18226 * text2.C (SetSelection): set correct update status if inset_owner
18227 (ToggleFree): ditto
18229 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18231 * tabular.C: remove some commented code.
18233 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18235 * BufferView_pimpl.C: call hideSplash()
18237 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18240 * bibforms.h: remove
18243 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18244 add LFUN_CHILD_CREATE
18246 * counters.h: fix tiny typo
18251 * lyx.C: move splash to frontends/xforms/
18253 * lyx_gui_misc.C: move Include and Bibform to frontends
18255 * lyxvc.h: clarify comment
18257 * vspace.C: tiny housekeeping
18259 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18261 * text.C (PrepareToPrint): RTL Fix.
18263 * paragraph.C (GetUChar): New method.
18264 (String): Use GetUChar.
18266 * buffer.C (asciiParagraph): Use GetUChar.
18268 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18270 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18272 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18275 * buffer.C: rename to getLogName(), handle
18276 build log / latex log nicely
18278 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18281 * MenuBackend.h: remove support for reference menuitem type.
18283 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18285 * BufferView_pimpl.C: housekeeping
18286 * BufferView_pimpl.h:
18291 * minibuffer.h: move Timeout GUI-I
18293 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18295 * lyxrc.C (read): Update converters data-structures.
18297 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18299 * LaTeX.h (operator!=): add operator != for Aux_Info
18301 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18303 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18305 * LaTeXLog.C: deleted, useful code moved to Buffer
18308 * buffer.C: new function getLatexLogName()
18314 * lyxfunc.C: use frontends for LaTeX and VC logs
18316 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18318 * LaTeX.h: yet another std:: that Allan forgot.
18320 * Variables.C (set): renamed from isset(), because this clashes
18321 with some HP-UX macros (grr).
18323 2001-02-06 Allan Rae <rae@lyx.org>
18325 * LaTeX.h: Another bug fix. Missing std:: this time.
18327 2001-02-04 Allan Rae <rae@lyx.org>
18329 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18330 floats problem. I've left it commented out because it's not quite
18331 correct. It should also test that the current object is a table or
18332 figure inset. But I haven't gotten around to figuring out how to do
18333 that. I *think* it'll be something like: "table" == inset.type()
18335 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18338 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18340 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18341 all the citation/databases/styles in the auxilary file.
18342 (run): Rerun latex if there was a babel language error.
18344 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18346 * text.C (Backspace): Preserve the font when changing newline char
18348 (BreakParagraph): If the cursor is before a space, delete the space.
18350 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18352 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18354 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18355 new argument (code).
18356 (ChangeCitationsIfUnique): New method.
18358 * paragraph.C (GetPositionOfInset): Handle bibkey.
18360 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18362 * BufferView_pimpl.h: change type of Position::par_pos to
18363 LyXParagraph::size_type.
18365 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18367 * BufferView_pimpl.C (savePosition, restorePosition): Write
18368 messages to minibuffer.
18370 2001-01-28 José Matos <jamatos@fep.up.pt>
18372 * buffer.C (makeDocBookFile): adds support for document language.
18373 A silly restriction on the name of LatexCommand types where removed.
18374 Added support for CDATA sections, allows to chars unescaped, used
18375 among others in code, to avoid escape < and >.
18377 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18379 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18380 saved positions instrad of a stack. Furthermore, a position is
18381 stored using paragraph id/paragraph position.
18383 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18384 Remove LFUN_REF_BACK.
18386 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18388 * converter.C (dvipdfm_options): New method.
18390 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18392 * vspace.C (isValidLength): Fix for empty input string.
18394 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18396 * LyXAction.C (init): change description of LFUN_FIGURE to
18399 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18401 * LaTeX.C: add using directive
18403 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18405 * MenuBackend.C (expand): Fix the sorting of the formats.
18407 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18409 * lyx_main.C: tiny error message fix
18411 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18413 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18414 calling fl_initialize(). This fixes the problem with ',' as
18415 decimal separator in text files.
18417 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18419 * trans.C (process): Fix the keymap bug.
18421 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18423 * LaTeX.C (scanAuxFiles): New method. Provides support for
18424 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18425 (scanLogFile) Scan for "run BibTeX" messages.
18427 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18428 OT1 font encoding. Also, load the aecompl package if the ae
18431 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18433 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18435 * texrow.C (increasePos): turn two error messages into debug
18438 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18440 * LaTeX.C (scanAux): Handle the \@input macro.
18441 (runBibTeX): Use scanAux().
18443 * language.C (latex_options_): New field.
18445 * LaTeXFeatures.C (getMacros): Add language macros.
18447 * buffer.C (makeLaTeXFile): Small fix.
18449 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18451 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18453 * text2.C: add a using directive.
18455 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18460 * lyxfunc.C: kill LyXBell.
18462 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18464 * text.C (IsBoundary): Remove the error message
18466 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18468 * lyxrc.C (setDefaults): Correct initialization value for
18471 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18473 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18476 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18477 and GotoNextNote().
18479 * src/LyXAction.C: Added reference-next.
18481 * text.C (InsertChar): Use contains instead of strchr.
18483 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18485 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18487 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18488 alignment commands (when needed).
18490 * text.C (InsertChar): Add ':' to number separator chars.