1 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * paragraph.C (fontSpan): make sure that the FontSpan does not
4 span across beginOfBody (bug 1947).
6 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
10 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
12 * messages.C: fix crash and localization on MinGW/Windows platform
14 2005-11-02 Angus Leeming <leeming@lyx.org>
17 * lyxtextclass.C: trivial fixes to some MSVS warnings.
19 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
21 * text3.C (getStatus): re-enable disabled code. (bug 2081)
23 * BranchList.h (empty): constify.
25 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * text3.C (getStatus):
28 * MenuBackend.C (expandBranches): take the branch list from the
29 master document (bug 2092).
31 * MenuBackend.C (expandBranches):
32 * bufferparams.C (writeFile): use BranchList type.
34 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
36 * text3.C (dispatch, getStatus):
38 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
40 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
44 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
46 * text.C (insertChar): do not reset boundary (bug 2061)
48 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
50 * dociterator.C (updateInsets): new method. Updates the inset_
51 cache of all the slices of the iterator.
53 * text2.C (deleteEmptyParagraphMechanism): compare also containing
54 insets when comparing pit/pos; pass the right cursor to
55 recordUndo; when a paragraph has been deleted, compare `old.top()' to
56 the right cursor slice of `cur'; use updateInsets on cur to make
57 sure that the inset caches are correct; general cleanup.
59 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
62 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
63 containg inset. If this does not work, the same command will be
64 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
66 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
69 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
71 * lyxtextclass.C (Read): convert layout file if the format is wrong
72 * lyxtextclass.C (layout2layout): new, needed for the above
74 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
76 * messages.C: do not forget to include <cerrno>.
78 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
80 * dociterator.h (StableDocIterator): add access to pos().
81 * undo.C (samePar): new method to check if two
82 iterators are in the same paragraph
83 * undo.C (recordUndo): check for samePar instead of cell identity
84 (which includes pos() and is too strict) (fixes bug 2097)
86 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * text.C (setCursorFromCoordinates): return a bool telling whether
91 * text3.C (cursorPrevious): update if needed after
92 setCursorFromCoordinates (when dEPM triggered).
94 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
95 (otherwise the anchor may be completely wrong and make dEPM assert).
97 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
99 * buffer.C: version upgrade to 245.
100 * bufferparams.C: remove \quotes_times (bug 2090).
101 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
102 quotation marks as default.
104 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
106 * CutAndPaste.C (nrOfParagraphs): remove (unused)
107 * CutAndPaste.C (cutSelection): Remove debug message
108 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
109 undo information and only copy if this is a real cut
110 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
112 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
114 * CutAndPaste.C (eraseSelection): prevent cursor corruption
115 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
116 superflous cur.selection() setting
117 * CutAndPaste.[Ch] (grabSelection): take a const cursor
118 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
120 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
122 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
125 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
127 * BufferView_pimpl.C: comment layout change
129 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
133 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
134 by bibliography managers (bug 2071).
136 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
138 * BufferView_pimpl.C (update): choose arguments to update call so
139 that single-par update works most times
140 * text3.C (dispatch): carefully tune updating separately for
141 whole-screen and current-paragraph
142 * rowpainter.C (paintText): 1) replace painting by caching for
143 the two extra paragraphs, because we can;
144 2) suppress greying out of areas below/above drawn area in case of
146 * lyxfunc.C (dispatch): remove superfluous update
147 * LyXAction.[Ch]: introduce SingleParUpdate
149 2005-10-05 Angus Leeming <leeming@lyx.org>
151 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
152 always initialised before use.
154 * text.C (setHeightOfRow): squash warning about comparison
155 of signed and unsigned types.
157 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
159 * text.C (cursorX): two fixes involving RtL text drawing
161 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
163 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
164 items, not only large ones (part of bug 2057)
166 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
168 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
169 argument, use "newcommand".
171 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
173 * cursor.C (setSelection): do not open collapsable insets;
174 the insets do by themselves now (autoopen).
176 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
178 * buffer.C: format is up to 244.
180 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
182 * text.C (redoParagraph): fix calcultation of inset width wrt
183 leftMargin (bug 1957).
185 * text3.C (dispatch): leave inset to the right when hitting ESC
188 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * messages.C: include <boost/current_function.hpp>
195 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
198 when command is internal. (bug 1941)
200 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * text2.C (cursorRight): do not honor boundary when at the end of
203 a paragraph. (bug 2010 again)
205 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
209 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
211 * rowpainter.C (paintText): fix RtL space width display bug (2029)
213 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
215 * text2.C (setCursor): remove the unused 'boundary' parameter for
216 the CursorSlice version; adapt the LCursor version.
219 * paragraph_pimpl.C (markErased):
220 * cursor.C (bruteFind2, bruteFond3): fix warnings.
222 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
224 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
225 as is already done for "chapter".
227 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
229 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
230 textclass; do not record undo if nothing is changed.
232 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
234 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
236 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
238 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
240 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
242 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
243 combox, it is necessary to search for the topmost paragraph in the
244 cursor stack (bug 1926)
246 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
249 end of paragraph. (bug 2010)
251 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
253 * text.C (leftMargin): check for inInset == 0
255 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
257 * text.C (leftMargin): test for insetbase's new neverIndent()
258 bool instead of listing each and every inset that does not
259 wish par indendation.
261 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * buffer_funcs.C (setCounter): put the code to compute enum label
264 here (where it belongs).
266 * counters.C (enumLabel): move code to buffer_funcs.C.
268 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
270 * outputparams.[Ch]: store local_font instead of local_language
271 * paragraph.C (simpleTeXOnePar): adapt to the change above
273 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
276 * counters.[Ch]: clean up special code for Hebrew.
278 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
283 2005-09-08 Angus Leeming <leeming@lyx.org>
286 * lyxrc.C: correct grammar describing invocation of the
289 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * text.C (read): remove unused variable.
292 (readParToken): remove static Change variable (never good in
293 recursive settings...); add it as a parameter instead.
295 * paragraph_pimpl.C (acceptChange): make debug info conditional.
297 * metricsinfo.C (PainterInfo): add new member erased_.
299 * rowpainter.C (RowPainter): add erased_ member, initialized from
301 (paintInset): pass erased_ to Inset::draw.
303 * lyxfunc.C (lookupChange): new function. Tells whether change
304 tracking is disabled at a given postion.
305 (getStatus): disable some actions when in deleted text with change
308 2005-08-03 John Levon <levon@movementarian.org>
310 * tabular.C (appendColumn, setMultiColumn): adapt to change to
313 * paragraph_pimpl.C (markErased): add bool argument and handle it.
314 Also make sure to mark insets recursively.
315 (rejectChange, erase): be recursive
317 * paragraph.C (markErased): add bool argument.
318 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
320 * lyxfind.C (findNextChange): tiny cleanup.
322 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
323 change tracking with the cursor in an inset; make sure the first
324 change is not skipped.
326 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
328 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
329 tabularStackDirty to work around bug 1919 (tabular needs
330 to know whether its own cell paste buffer or the one of
332 * CutAndPaste.C: mark tabular_stack_ clean after copy.
334 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
336 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
338 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
340 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
341 use old deleteion algorithm when changetracking is on.
343 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
345 * messages.C (get): add debug output.
347 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
349 * text.C (cursorX): fix bug 1965: cursor movement at
350 line end broken in RtL.
351 (drawSelection): fix bug 1970: drawing of single-line
352 selection broken for RtL.
354 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
358 * dociterator.h (clear, push_back, pop_back): change from
361 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
362 and changed to just return the value of the item depth; take a
363 ParIterator as argument; take the itemdepth at outer nesting level
364 in account if necessary; cleanup and comment the code.
365 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
366 and changed to just return true if reset is needed; take a
367 ParIterator as argument; cleanup and comment the code.
368 (setCounter): adapt to above changes.
370 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * text3.C (dispatch): make debug message optional
374 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
379 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
381 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
383 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
385 * text.C (insertChar):
386 * text2.C (deleteEmptyParagraphMechanism): take care whether
387 a blank has been deleted (in change tracking mode) (bug 1254).
389 2005-07-20 John Levon <levon@movementarian.org>
391 * text2.C (insertStringAsLines): remove old dubious code,
394 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
396 * MenuBackend.C (expandToc): use Floating::listName() as title of
399 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
401 * toc.[Ch]: Do not use translatable strings (bug 1870).
403 2005-07-20 John Levon <levon@movementarian.org>
405 * tabular.C: fix 1748 - setting multicolumn adds
406 left line to the first cell
408 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
411 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
414 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
416 * messages.C: supress some lyxerr messages
418 2005-07-18 Juergen Vigna <jug@lyx.org>
420 * text.C (drawSelection): honor boundary when asking for cursorX.
422 2005-07-17 José Matos <jamatos@fc.up.pt>
424 * tabular.C (recalculateMulticolumns): fix handling of one column
427 2005-07-17 Juergen Vigna <jug@lyx.org>
429 * text.C (Delete, backspace): fixed so that paragraph with the
430 same layout can be merged by Delete/Backspace.
432 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
434 * text.C (readParToken): fix spelling.
436 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
438 * text2.C: fix counter update for DEPM problem reported by
441 2005-07-17 Juergen Vigna <jug@lyx.org>
443 * BufferView_pimpl.C (setBuffer): save/restore the
444 cursor/selection when switching buffers
447 * buffer.C (saveCursor): add saveDocumentIterators to save the
448 cursor when switching buffer.
450 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
453 * buffer.C: clarify message
455 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
457 * dociterator.C (DocIterator): fix initialization order
459 2005-07-17 Juergen Vigna <jug@lyx.org>
461 * text2.C (cursorHome):
462 * text.C (drawSelection, cursorX):
463 * dociterator.C (textRow): add boundary to getRow() call
465 * paragraph.C (getRow): implementation of below
467 * paragraph.h: add parameter boundary for getRow() function
469 2005-07-17 José Matos <jamatos@fc.up.pt>
473 * tex-strings.[Ch]: new file format, remove support for a4.sty,
474 a4wide.sty and a4widemargins.
476 2005-07-17 Juergen Vigna <jug@lyx.org>
478 * text2.C (cursorLeft): fix one of error
480 2005-07-17 Juergen Vigna <jug@lyx.org>
482 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
484 more fixes for boundary handling
486 * text3.C (dispatch): don't reset cursor if boundary has changed
489 2005-07-16 Juergen Vigna <jug@lyx.org>
491 * text2.C (getColumnNearX): hopefully got it right now,
492 check if we are on column 0 for special case.
494 2005-07-16 Juergen Vigna <jug@lyx.org>
496 * text2.C (getColumnNearX): handle special case Newline Inset
498 * text.C (singleWidth): Just remove bogus check
500 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
502 * funcrequest.C (split): avoid reading uninitialized char c
504 2005-07-16 José Matos <jamatos@fc.up.pt>
510 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
511 single papersize variable.
513 2005-07-16 Juergen Vigna <jug@lyx.org>
515 * text3.C (dispatch): honor boundary when checking if a cursor
516 movement has been done
518 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
519 (setCursor, setCursorIntern): fix cursor movement with boundary
521 2005-07-16 Juergen Vigna <jug@lyx.org>
523 * text.C (currentState): output the actual Boundary
525 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * factory.C (createInset): fix bad logic for tabular creation
529 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
531 * lyx_main.C (init): change some reLyX reference to tex2lyx
533 2005-07-16 Juergen Vigna <jug@lyx.org>
535 * dociterator.C (DocIterator): initialize boundary
537 2005-07-16 Juergen Vigna <jug@lyx.org>
539 * text2.C (getColumnNearX): Consider rows without trailing blank.
541 2005-07-16 André Pönitz <poenitz@gmx.net>
543 * lyxfont.h: Change order of declarations to give the compiler
544 a better chance to inline things
546 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
547 questions on unsaved docs for better scritability
549 2005-07-16 André Pönitz <poenitz@gmx.net>
551 * paragraph.h (getChar): remove asserts as the same kind of security
552 can be achieved by using a suitable standard library implementation
553 and the function was in the critical path (25.9% in profiler)
555 2005-07-16 Juergen Vigna <jug@lyx.org>
557 * cursor.C (bruteFind2):
558 * bufferview_funcs.C (coordOffset):
559 * text.C (cursorX,cursorY): Handle cursor position after last char
560 in row before a inset which uses a whole row.
562 2005-07-15 José Matos <jamatos@lyx.org>
564 * output_plaintext.[Ch] (writeFileAscii): control reference title
566 (asciiParagraph): noparbreak was already deal and was incorrectly
569 2005-07-15 Juergen Vigna <jug@lyx.org>
571 * lyxfunc.C (dispatch): save and restore the cursor after a
574 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
576 * text.C (backspace): bug 806 for empty keepempty paragraphs we
577 change the layout to default before letting DEPM do its thing.
579 * paragraph_funcs.C (breakParagraph): dont reset the layout on
582 * text.C (setCursorFromCoordinates): add a debug statement
584 * text2.C (getColumnNearX): bug 1825 make sure that we don't
585 return a pos that is not on the row
587 * output_latex.C (TeXDeeper): get rid of potential dereferencing
588 of past the end iterator
590 2005-07-14 André Pönitz <poenitz@gmx.net>
592 * undo.C (recordUndoFullBuffer): implement undo for
595 2005-07-14 André Pönitz <poenitz@gmx.net>
597 * cursor.C (setSelection): open insets when selection is set there
598 to avoid crashs with cold coord cache
600 2005-07-14 André Pönitz <poenitz@gmx.net>
602 * trans_mgr.C (insert): move cursor to the right after inserting
605 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
607 * BufferView_pimpl.C (update): dampen some of the debug blabbering
608 * factory.C (readInset): ditto
609 * text.C, text2.C: ditto
611 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
613 * buffer.C: format incremented to 242. There is no file format per
614 se, but the "frenchb" language has been removed from lib/language
615 and has to be translated to "french" by lyx2lyx.
617 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
619 * cursor_slice.h, dociterator.h: add some documentation
620 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
622 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
624 * text.C (leftMargin): do not add identation to display() style
625 insets, because they are always centered (bug 1293).
627 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
629 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
630 formatted_time methods in support/lyxtime.
632 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
634 * toc.[Ch]: new method getGuiName, which is used by the frontends
635 to set the toc combo (fixes bug 1870). Make TOC string translatable.
637 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
639 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
640 StableDocIterator const &)
641 * undo.C (recordUndo): use the above instead of cell.size() comparison
642 (fixes bug 1808; instructed by Andr�.
644 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
647 * dociterator.h: Fix the assert when copying rows/cols in math
649 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
651 * BufferView_pimpl.C:
653 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
655 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
656 (findInset): new functions, refactored from goto Inset that return
657 the position of a certain inset without setting the buffer's cursor
659 (gotoInset): rewrite to call findInset and then set the cursor
662 2005-06-16 Angus Leeming <leeming@lyx.org>
664 * lyxrc.C (output, read): wrap all input and output of paths with
665 calls to os::internal_path and os::external_path, respectively.
666 (output): wrap bind_file inside quotes.
668 * format.C (view): enable the viewer to use the '$$s' placeholder.
670 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
672 * LColor.[Ch] (getFromLaTeXName): new
674 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
676 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
678 2005-06-14 Angus Leeming <leeming@lyx.org>
680 * lyx_main.C (init): ensure that the LyX binary dir is the first
681 element in the PATH on non-POSIX builds.
683 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
685 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
687 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
689 * rowpainter.C (paintInset, paintHebrewComposeChar)
690 (paintArabicComposeChar, paintChars): add a LyXFont argument.
691 (paintChars): use getFontSpan to reduce calls to getFont to a
692 minimum; use Paragraph::lookupChange instead of isXXXText.
693 (paintForeignMark): rename LyXFont argument.
694 (paintFromPos): pass a LyXFont object to the various paintXXX
697 * FontIterator.C (FontIterator, operator++): use
698 Paragraph::getFontSpan
700 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
701 version that returns the font span as a pair.
703 2005-06-09 Angus Leeming <leeming@lyx.org>
705 * converter.C (convert): Don't forget "outfile = real_outfile" as
706 the final step in a conversion where the input and output file names
707 are the same. Otherwise, future conversion steps won't work...
709 2005-06-09 Angus Leeming <leeming@lyx.org>
711 * lyxsocket.C: remove stub code as it isn't needed by
712 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
714 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
716 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
717 effectively disabled -x
719 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
721 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
722 when it actually makes sense.
724 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
726 * BufferView_pimpl.C: revert to showCursor in connection with
727 Lars's front-end stack
729 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
731 * text.C (redoParagraph): move cursor right after a bibitem
734 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
736 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
738 * buffer_funcs.C (bufferErrors): fix computation of the end of an
741 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
743 * BufferView.[Ch] (update):
744 * BufferView_pimpl.[Ch] (update, metrics):
745 * dimension.h (operator==):
746 * lyxfunc.C (dispatch):
747 * metricsinfo.h (ViewMetricsInfo):
748 * rowpainter.C (paintText):
750 * text.C (redoParagraph):
751 * text3.C (dispatch): Make LyX only repaint current paragraph in
752 case of character insert --> speedup. Also fix cursor draw
755 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
757 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
758 avoid a crash (bug 1891)
760 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * text2.C (getStringToIndex): constify cur argument.
766 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
767 argument has been given
768 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
769 try to invoke LFUN_INSET_APPLY).
771 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
772 if no inset was created by doInsertInset
773 (doInsertInset): return true if an inset has been inserted.
775 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
777 * vspace.C (asGUIName): new method. A version of the space
778 suitable for showing on screen.
780 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
783 * lyxrc.C: rename "ASCII" to "Plain Text"
785 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
787 * buffer_funcs.C (expandLabel): take a Buffer as argument;
788 translate the labelstring.
789 (setCounter): translate labelstring as needed.
791 * output_docbook.C (makeCommand): fix expandLabel invokation
793 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
795 * BufferView.C: fix dialog title
797 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
799 * lyx_main.C (priv_exec): fix logic error with help from Angus
800 * lyx_main.C (parse_execute): set is_gui = false and remove now
801 obsolete comment about a segfault
803 2005-05-18 Angus Leeming <leeming@lyx.org>
805 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
807 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
809 * tabular.[hC]: added setCellInset to fix tabular paste.
811 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
813 * buffer.C (save): check if destination is writable before trying
816 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
818 * BufferView_pimpl.C (update): fix processEvents -caused update
821 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
823 * buffer_funcs.C (setCounter): fix test for numbering of
826 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
827 depth correctly; use optional argument when it exists
829 * lyxtextclass.C: remove unused MaxCounterTags enum
830 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
831 (max_toclevel, min_toclevel): new methods.
833 * MenuBackend.C (expandToc2): fix case where depth is smaller than
834 the smallest depth in toc.
836 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
837 layouts that should not appear in a table of contents.
839 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
841 * cursor.h (undispatched, noUpdate): add comments from Andr�
842 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
846 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
848 2005-05-07 André Pönitz <poenitz@gmx.net>
850 * cursor.[Ch] (leaveInset): new function
852 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
854 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
856 2005-05-04 Angus Leeming <leeming@lyx.org>
858 * lyxfunc.C (getStatus): disable the spell checker dialog if
859 none of USE_[AIP]SPELL are defined.
861 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
863 * tabular.C (setWidthOfCell): remove obsolete comment
865 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
867 * paragraph.C (bibitem):
868 * buffer_funcs.C (setCounter):
869 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
871 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
873 * text3.C (getStatus): immediately return after setOnOff
875 * rowpainter.C: fix drawing of appendix start
877 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
879 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
880 SwitchBetweenClasses and remove the unused return value.
881 Handle character styles, too
883 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
885 * factory.C (createInset): handle undefined character styles
887 2005-05-02 Angus Leeming <leeming@lyx.org>
889 * buffer.C: protect the #include of utime.h with a preprocessor
892 2005-05-02 Angus Leeming <leeming@lyx.org>
894 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
895 function so that auto-saving works, albeit in a blocking manner.
897 * Makefile.am: make compilation of the client sub directory, of
898 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
899 on conditionals set at configure time.
901 * SpellBase.[Ch]: no longer an abstract base class. Instead,
902 it can be compiled in its own right but has no-op functionality.
904 * aspell.C, pspell.C: remove preprocessor guards. The files should
905 be compiled only if the necessary functionality exists.
907 * lyxserver.C, lyxsocket.C: disable on Windows.
909 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
911 * text.C (leftMargin): Fix the parindent use bug (1764)
914 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
916 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
919 2005-04-25 Angus Leeming <leeming@lyx.org>
927 include <config.h> in .C files, not .h ones.
929 protect headers inside preprocessor guards.
931 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
933 * FuncStatus.h (StatusCodes): document
935 2005-04-21 André Pönitz <poenitz@gmx.net>
937 * FuncStatus.h (enabled, onoff): document
939 2005-04-19 Angus Leeming <leeming@lyx.org>
941 * BufferView_pimpl.C (cursorToggle): no longer test whether
942 any child processes have been reaped before calling
943 handleCompletedProcesses().
945 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
947 * text3.C (dispatch): fix, finally fix, the language problem in
948 new lyxtexts, without disabling on-the-fly font changes (Helge's
951 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
953 * text3.C (dispatch): set cursor on double/triple click events
956 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
958 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
959 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
961 * rowpainter.C (paintFirst): simplify the code a little bit. In
962 particular, remove the test for secnumdepth.
963 * text.C (setHeightOfRow): only allocate space for chapter number
964 when updateCounters provided an actual label, instead of looking
965 at secnumdepth directly.
967 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
969 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
970 paragraphs when secnumdepth is large enough or, for environments,
971 when they are not the first in a sequence.
973 2005-04-17 Angus Leeming <leeming@lyx.org>
975 * buffer.C (makeLaTeXFile): replace code to manipulate a path
976 containing space and '~' characters with a call to latex_path().
978 2005-04-17 Angus Leeming <leeming@lyx.org>
980 * converter.C (convert): protect all args of convertDefault.sh
983 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * text3.C (dispatch): change the layout to "Caption" after inserting
988 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
990 * text3.C (dispatch): fix language problem in newly created
991 textinsets (and main text) in non-english docs
993 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
995 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
996 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
997 * text3.C (getStatus): disable LFUN_INSET_MODIFY
999 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1003 * text2.C (getFont):
1004 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1007 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1009 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1010 output of \item arguments without trailing text.
1012 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1014 * FontIterator.C (operator*): avoid a copy of the font.
1016 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1018 * rowpainter.C (getFont): fix language bug from previous fix
1020 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1022 * rowpainter.C (RowPainter, getFont): fix font inside inset
1025 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1027 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1028 preventing inserted font, deco, delim insets jumping to start of
1031 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1033 * lyxfunc.C (dispatch): translate message before sending it to the
1036 2005-03-29 Angus Leeming <leeming@lyx.org>
1038 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1039 to LyX on the command line.
1041 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1043 * vc-backend.C: use QuoteName to protect file names wherever
1046 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1049 * BranchList.h: fix bugs 1844,1845: document settings don't
1052 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1054 * lyxrc.C (setDefaults, read, output, getDescription): add support
1055 for tex_allows_spaces.
1057 * exporter.C (Export): allows files in directory containing spaces
1058 if tex_allows_spaces is true.
1060 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1061 output it in double quotes.
1063 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1065 * rowpainter.C: use default text height for drawing change tracker
1068 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1070 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1072 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1074 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1075 directory is missing.
1077 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1079 * text2.C: fixed the fix, extended to other case.
1081 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1083 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1085 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1087 * text2.C (cursorUp): get rid of a crash
1088 * text.C (x2pos): add an assert
1090 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1092 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1096 * dociterator.C: include <boost/current_function.hpp>, which is
1097 needed when assertions are disabled.
1099 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1101 * text2.C: fix for stuck cursor when traversing two
1102 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1104 2005-02-25 Andreas Vox <avox@arcor.de>
1106 * output_docbook.C (makeParagraph): suppress trailing newline
1107 after a run of paragraphs
1109 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1111 * paragraph.C: fix for confused change tracker when pasting
1112 text that begins with a lineseparator. [bug 1827]
1113 (setChange(0, Change::INSERTED);)
1115 * paragraph_funcs.C: fix for lost changes on triple-paste
1116 in change tracking mode [bug 1827] (par.setChange()).
1118 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1120 * text2.C (updateCounters, setCounter, expandLabel): move to
1123 * buffer_funcs.C (updateCounters): turn into a free standing
1124 function and add a buffer parameter. Remove dead code for tracking
1126 (setCounter): change into a free-standing function which gets a
1127 dociterator as argument. Use this iterator to fix captions in a
1128 simple way. When no float is found above the caption, use the
1129 labelstring of the caption layout as default.
1131 * text.C (breakParagraph, backspace):
1132 * text2.C (init, setLayout, changeDepth):
1133 * text3.C (dispatch):
1134 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1137 * dociterator.C (forwardPar): make it much faster by calling
1138 forwardPos() only when really necessary.
1140 * output_docbook.C (makeCommand): adapt to expandLabel move.
1142 * cursor.C: remove unused variable
1144 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1146 * paragraph_funcs.C: fix crash when pasting insets in change
1147 tracking mode [bug 1277] (honour change type in moveItem).
1149 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1151 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1153 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1155 * BufferView.C (setCursor): change to use a DocIterator.
1156 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1157 (putSelectionAt): adapt to BufferView::setCursor change.
1159 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1160 moved here from LyXText and rewritten to use proper cursor
1161 methods. Fixes bug 1787, 616 and 835.
1163 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1164 when inside an inset (part of bug 781).
1165 (dispatch): adapt to change of BufferView::setCursor.
1166 (getStatus, dispatch): handle LFUN_GOTOERROR,
1167 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1169 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1170 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1171 * text3.C (gotoNextInset, gotoInset): removed.
1173 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1175 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1177 2005-02-15 Angus Leeming <leeming@lyx.org>
1179 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1180 can be used meaningfully in a comparison.
1182 2005-02-13 André Pönitz <poenitz@gmx.net>
1184 * bufferview_funcs.C (coordOffset): improve cursor drawing
1186 2005-02-13 André Pönitz <poenitz@gmx.net>
1188 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1189 * Cursor.C (dispatch): use fixIfBroken
1190 * lyxfunc.C (getStatus): use fixIfBroken
1192 2005-02-15 Angus Leeming <leeming@lyx.org>
1194 * lyx_main.C (error_handler):
1196 * lyxrc.C (setDefaults):
1198 #include "environment.h".
1200 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1202 2005-02-15 Angus Leeming <leeming@lyx.org>
1204 * lyxserver.C (startPipe): squash MSVC warning "local variable
1205 'fd' used without having been initialized".
1207 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1209 * BufferView_pimpl.C: revert accidental commit.
1211 2005-02-14 André Pönitz <poenitz@gmx.net>
1213 * dociterator.[Ch]: new member forwardPosNoDescent(),
1214 which doesn't enter nested insets.
1215 * text2.C (setFont): use forwardPosNoDescent() instead
1216 of ForwardPos() (fixes crash on font change).
1218 2005-02-13 Angus Leeming <leeming@lyx.org>
1220 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1221 only if lyxrc.path_prefix is not empty.
1223 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1225 * bufferparams.C (readGraphicsDriver): prevent crash
1227 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1229 * text2.C (setCounter): check for inInset() == 0
1231 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1233 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1234 but use update() to get correct screen display; use convert
1235 instead of istringstream.
1236 (getStatus): handle LFUN_GOTO_PARAGRAPH
1238 * lyxfunc.C (dispatch, getStatus): do not handle
1239 LFUN_GOTO_PARAGRAPH here.
1241 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1243 * text3.C (dispatch): size() -> depth()
1245 * text2.C: remove some debug output
1247 * paragraph.C: ws changes only
1249 * lyxfunc.C (getStatus): size() -> depth()
1251 * dociterator.h (clear, push_back, pop_back, internalData,
1252 operator[], resize, empty): new functions
1253 Make StableDocIterator and operator== be friends. Don't inherit
1254 from std::vector use a privat class variable slices_ instead.
1257 * dociterator.C: update because of not inheriting from std::vector
1258 anymore. Call explictly to slices_ instead. Use depth() instead of
1259 size() and top() instead of back()
1261 * cursor.C: chagne size() -> depth and back() -> top(). Also
1262 remove some direct operator[](i) calls in favour of foo[i]
1263 (getFont): remove some dead code
1265 * bufferview_funcs.C (coordOffset): size() -> depth()
1267 * buffer.C: ws changes only
1269 * CutAndPaste.C (eraseSelection): back() -> top()
1271 * BufferView_pimpl.C (selectionRequested): back() -> top()
1273 * BufferView.C (setCursor): size() -> depth()
1275 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1277 * text3.C (cursorPrevious): return true if depm changed something
1279 (dispatch): rename sl to oldTopSlice, remove moving use the new
1280 NoUpdate func attrib instead. Make sure that needsUpdate is set
1281 for function that have NoUpdate, but where depm might have changed
1284 * text2.C (cursorLeft): make us return true if depm changed
1286 (cursorRight): ditto
1287 (cursorUpParagraph): ditto
1288 (curosrDownParagraph): ditto
1289 (cursorUp, cursorDown): ditto, make sure to read comments in code
1290 (deleteEmptyParagraphMechanism): remove an assert, also return
1291 true if just a single char was deleted.
1293 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1294 cursor that we modify, to avoid modifying an active cursor before
1295 we call setCursor. This allows depm to run. Also return true if
1296 depm deleted something.
1298 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1299 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1300 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1301 something was changed in the buffer because of them (ie. depm run)
1303 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1304 debug messages. Make update by default be false. Make sure that
1305 the result of update is retained throught several calls down to
1308 * LyXAction.h: add a new func_attrib: NoUpdate
1310 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1311 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1312 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1314 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1316 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1318 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1319 bv_->owner(), bv_->buffer() by direct references to the private
1321 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1322 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1323 (fitCursor): center() is in BufferView::Pimpl.
1324 (getStatus, trackChanges, dispatch): no need for a temporary buf
1326 (fitCursor, workAreaDispatch): use workarea().workheight()
1328 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1330 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1332 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1334 * buffer.C: format up to 241.
1335 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1336 break if pasting into ERT
1337 * lyxfunc.C (getStatus): suppress mathpanel and
1338 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1340 2005-02-01 Angus Leeming <leeming@lyx.org>
1342 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1344 2005-02-01 Angus Leeming <leeming@lyx.org>
1346 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1347 calling fs::is_directory().
1349 2005-01-31 Angus Leeming <leeming@lyx.org>
1351 * lyx_main.C (priv_exec): specify explicitly the relative location
1352 of the top level build directory when run in-place.
1354 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1356 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1357 LyXText containing the cursor, not the top-level one.
1359 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1361 (insertStringAsLines): rename par to pit; use temporary variable
1362 par to hold a Paragraph; do not store par.layout() in a variable,
1363 since the pointer may die when breaking paragraphs; pass pars to
1364 breakParagraph() instead of Buffer::paragraphs().
1366 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1368 * lyxlex_pimpl.h: #include <fstream>.
1370 * BufferView.[Ch] (getLyXText): add a const version.
1372 * BufferView_pimpl.C: add debug aids.
1377 * paragraph_funcs.h: add commentary explaining what the class does.
1380 * coordcache.[Ch]: add lots of commentary.
1381 (startUpdating, doneUpdating): debug aids.
1382 (arrays, insets, parPos, getParPos): accessors to private data.
1384 * cursor_slice.[Ch] (text): add a const version.
1385 * dociterator.[Ch] (text, innerText): add const versions.
1387 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1390 * paragraph.C (getRow, pos2ros): add asserts.
1392 * paragraph.h: add commentary. Lots of.
1394 * paragraph.[Ch] (metrucs, draw): removed.
1397 * rowpainter.[Ch]: const-correct changes.
1399 * text.C: various obvious clean-ups. Removal of ancient cruft.
1402 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1404 * vc-backend.C (find_file): rewrite to use boost.filesystem
1407 * main.C (main): set default name check for boost.filesystem to
1410 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1413 (actOnUpdatedPrefs): ditto
1415 * lyx_main.C (init): rewrite to use boost.filesystem
1416 (queryUserLyXDir): ditto
1418 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1419 (getContentsOfAsciiFile): ditto
1421 * lastfiles.C (readFile): rewrite to use boost.filesystem
1423 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1425 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1426 (loadLyXFile): ditto
1428 * buffer.C (Buffer): adjust for destroydir
1429 (getLogName): rewrite to use boost.filesystem
1430 (setFileName): ditto
1431 (save): use fs::copy_file (from fs_extras)
1433 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1435 * LaTeX.C (run): rewrite to use boost.filesystem
1436 (scanAuxFiles): ditto
1437 (handleFoundFile): ditto
1439 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1441 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1443 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1445 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1447 * lyxlayout.[Ch]: change some vars from float to double
1449 * buffer.C (readFile): make a local var const
1451 * Several files: use convert<> instead of atoi,strToXXX and friends
1453 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1455 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1456 holds the contents of packages.lst. New functions getAvailable
1457 and isAvailable to parse and check that list, resp.
1461 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1463 * bufferparams.[Ch]: new param output_changes.
1465 * Buffer.C: increase file format to 240.
1466 Use output_changes and isVailable.
1470 * paragraph_pimpl.C: Use output_changes and isVailable.
1472 2005-01-23 Angus Leeming <leeming@lyx.org>
1474 * output_latex.C: #include "insetbibitem.h", rather than
1475 forward declare function bibitemWidest.
1477 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1479 * lyx_main.C (init): make it compile on the Mac.
1481 2005-01-20 Angus Leeming <leeming@lyx.org>
1483 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1484 (setLyXMisc): (char string literal) != (char string literal) is
1485 performing a comparison on the addresses. Convert one operand
1486 explicitly to string to guarantee expected behaviour.
1489 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1492 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1494 * output_plaintext.C: remove unneeded #include gzstream.h.
1496 2005-01-20 Angus Leeming <leeming@lyx.org>
1498 * SpellBase.h: rename some of the elements of the Result enum.
1505 * pspell.C (check): ditto
1507 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1509 * buffer.C: add #include <fstream>.
1511 * lyx_main.C (init): Compile fix.
1513 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1515 2005-01-20 Angus Leeming <leeming@lyx.org>
1517 * mover.h: change commentary to reflect the changed meaning of
1518 the $$s placeholder.
1520 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1522 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1524 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1526 2005-01-20 Angus Leeming <leeming@lyx.org>
1528 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1529 printing diagnostic data by not dereferecing an iterator past the
1532 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1534 * buffer.C (readHeader): use "&&" rather than "and".
1536 * lyxserver.h (inPipeName, outPipeName): make these const.
1538 2005-01-19 Angus Leeming <leeming@lyx.org>
1540 * lyx_main.C (error_handler, init): protect SIGHUP with
1541 #ifdef SIGHUP guards.
1543 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1545 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1547 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1549 * text.C (setHeightOfRow): add a margin at the top and bottom of
1550 the document (bug 1761)
1552 2005-01-17 Angus Leeming <leeming@lyx.org>
1554 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1555 with "python ". Workaround for a brain-dead Windows.
1557 2005-01-16 Angus Leeming <leeming@lyx.org>
1559 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1560 for MacOSX and Windows to use prependEnvPath.
1561 Strip out the hard-coded block to add elements to the PATH for
1562 MacOSX and replace it with a call to prependEnvPath using the
1563 contents of LyXRC::path_prefix.
1564 (queryUserLyXDir): strip out the code to run reconfigure, instead
1565 returning a boolean indicating the necessity to do so.
1566 (reconfigureUserLyXDir): contains the code to reconfigure the
1567 user support directory. Is now called after the various LyXRC data
1568 files have been read.
1570 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1572 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1574 * converter.[Ch] (convert): take a new parameter try_default. Use
1575 a default converter (imagemagick) if try_default is true.
1577 2005-01-13 Angus Leeming <leeming@lyx.org>
1579 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1580 os::cygwin_path_fix.
1581 (write): output LyXRC::cygwin_path_fix as necessary.
1583 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1586 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1588 2005-01-12 Angus Leeming <leeming@lyx.org>
1590 * lyx_main.C (init): set the PATH variable to include the
1591 directory containing the LyX binary when running on Mac or Windows.
1593 2005-01-12 Angus Leeming <leeming@lyx.org>
1595 * lyx_main.C (init): remove cruft that purports to set the locale
1596 dir. It doesn't and is not needed anyway.
1598 2005-01-10 Angus Leeming <leeming@lyx.org>
1600 * Makefile.am: remove the lyx_main.C special casing.
1602 * BufferView_pimpl.C:
1608 * messages.C: use support/package.h to provide the paths to the
1609 various directories used by LyX.
1611 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1613 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1614 layout if pasting into an empty paragraph)
1616 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1618 * tex-accent.C: add <string>
1620 2005-01-06 José Matos <jamatos@lyx.org>
1622 * ParagraphParameters.C (write): put every parameter in its own line.
1623 * paragraph.C (write): reduce number of consecutive empty lines exported.
1624 * buffer.C (LYX_FORMAT): increase file format to 239.
1626 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1628 * everywhere: change support/tostr.h -> support/convert.h
1630 * tabular.C: make all write_attributes templates, tostr -> convert
1632 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1633 (emptyTag): and -> &&, and fix type for ret from getChar
1634 (getFirstWord): fix type for ret from getChar
1635 (onlyText): and -> &&
1636 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1639 * toc.C (goTo, action):
1640 * text3.C (dispatch):
1641 * text.C (currentState):
1642 * tex-accent.C (DoAccent):
1645 * lyxfunc.C (menuNew):
1646 * lyxfinc.C (replace):
1647 * counters.C (laberItem):
1648 * bufferview_funcs.C (font2string):
1649 * bufferparams.C (writeFile):
1650 * buffer.C (readFile):
1652 * MenuBackend.C: tostr -> convert
1654 * LaTeX.C (runMessage): fix format
1655 (scanAuxFiles): tostr -> convert
1657 * BufferView_pimpl.C (savePosition): fix format
1658 (restorePosition): ditto
1661 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1663 * Spacing.[Ch]: New method getValueAsString().
1667 * ParagraphParameters.C:
1670 * text3.C: store/read spacing value as string.
1672 * rowpainter.C: change float value (spacing_val) to double.
1674 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1675 broken custom document spacing).
1677 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1679 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1680 namespace, also more use of temp references and const
1682 * cursor.[Ch] (getStatus): move to lyxfunc.C
1684 * bufferparams.C: reformat slightly
1686 * bufferview_funcs.C (font2string): constify arg
1692 * buffer_funcs.C: (many funcs): constify arg on function
1693 definitions, also make more local vars const, also add ASSERTS on
1696 * buffer.C (LYX_FORMAT): put const in correct place
1697 (many funcs): constify arg on function definitions, also make
1698 more local vars const
1700 * aspell_local.h: remove "struct" from typdef setup
1702 * aspell.C (check): make word_ok const
1703 (nextMiss): simplify slightly
1706 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1708 * lyxrc.[Ch]: store all float values as strings.
1709 use int (not float) for lyxrc.dpi.
1711 2005-01-04 Angus Leeming <leeming@lyx.org>
1713 * lyx_cb.C (Reconfigure):
1714 * lyx_main.C (queryUserLyXDir):
1715 to run the <system_lyxdir>/configure correctly on Windows, prefix
1716 the path to the script with "sh " when generating the string that
1717 is passed to system().
1719 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1721 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1723 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1725 * lyxlength.C (asLatexString): get rid of setprecision
1727 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1729 * text2.C (setLayout): remove unused variable endpit.
1730 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1732 * paragraph.C (onlyText): remove unused variable style.
1734 * cursor.C (bruteFind): remove unused variables beg and end.
1736 * Makefile.am (dist_noinset_DATA): not needed anymore
1738 * cheaders/*: remove.
1740 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1742 * text3.C: fix LFUN_MATH_MODE.
1744 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1746 * buffer_funcs.C (countWords): new function. Counts words between
1749 * BufferView_pimpl.C (getStatus, dispatch): handle
1752 * LyXAction.C (init):
1753 * lfuns.h: add LFUN_WORDS_COUNT.
1755 2004-12-19 Angus Leeming <leeming@lyx.org>
1757 * buffer.C (save): s/slashify_path/internal_path/.
1759 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1761 * lyxfind.C (findChange): do not search for end of pars, because
1762 the change tracker cannot handle this (fixes bug 1719).
1764 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1766 * paragraph.[Ch] (autoBreakRows): remove
1768 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1770 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1771 avoid using the paragraph one
1773 * text2.C (LyXText, insertStringAsLines): adjust
1775 2004-12-16 Angus Leeming <leeming@lyx.org>
1779 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1781 2004-12-14 Angus Leeming <leeming@lyx.org>
1783 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1785 * bufferlist.C (emergencyWrite):
1786 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1789 2004-12-14 Angus Leeming <leeming@lyx.org>
1791 * main.C: (main): no longer pass pointers to os::init.
1793 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1795 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1796 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1798 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1801 * text3.C: remove selection_possible global flag
1803 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1805 * text2.C (getSelectionSpan): remove
1806 (changeDepth, changeDepthAllowed): adjust
1808 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1810 * Makefile.am (BOOST_LIBS): use boost variables
1812 2004-12-03 José Matos <jamatos@lyx.org>
1814 * buffer.C: format up to 238.
1816 2004-12-03 José Matos <jamatos@lyx.org>
1818 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1820 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1822 * cursor.C (goUpDown): remove call to idxUpDown2
1824 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1826 * tabular.[Ch]: use size_t-like types for cell, row and column
1829 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1831 * lyxfunc.C (getStatus): do not lose previous information when
1832 calling BufferView::getStatus; do not set a default "Command
1833 disabled" message at the beginning, but just before returning.
1835 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1837 * cursor.h (getStatus): add better comment from src/cursor.C
1839 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1841 * text3.C (getStatus): return false when the lfun is not handled
1843 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1845 * broken_headers.h: remove
1847 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1849 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1851 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1852 offset_ref accessors
1854 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1855 top_y_, merge fitcursor with update
1856 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1858 (metrics): introduce
1859 (workAreaDispatch): adapt to new coord scheme
1860 (redoCurrentBuffer): remove
1862 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1864 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1867 * coordcache.[Ch]: add paragraph cache and helpers
1869 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1872 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1873 (targetX, setTargetX): introduce
1875 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1876 baseline -> ascent, as the rest of lyx
1878 * lyxtext.h: remove redoParagraphs, updateParPositions,
1879 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1880 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1881 have ascent/descent (ascent is ascent of first par)
1883 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1886 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1888 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1890 * pariterator.C: fix infinite loop introduced in par->pit renaming
1892 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1893 in insets and LyXText, draw two off-screen paragraphs using
1894 NullPainter, and adapt to new coord scheme
1898 * text3.C: adapt lfun handlers to the new coord scheme, which
1899 means: there's only guaranteed coord information for onscreen pars
1900 plus one above and one below. This implies that one can do search
1901 from y coordinates in the range [-1,workHeight]
1903 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1905 * rename a lot of InsetOld to InsetBase
1907 2004-11-25 Angus Leeming <leeming@lyx.org>
1909 * BufferView_pimpl.C:
1911 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1913 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1915 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1916 call BufferView::getStatus if LCursor::getStatus did nothing
1917 (setStatusMessage, getStatusMessage): removed.
1919 * FuncStatus.C (message): new methods. Used to provide an error
1920 message indicating why a command is disabled.
1921 (clear, |=, FuncStatus): update for message.
1923 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1925 * lyxfunc.C (dispatch): always call sendDispatchMessage
1927 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1930 * BufferView_pimpl.C:
1935 * cursor_slice.[Ch]:
1938 * paragraph_funcs.C:
1944 * undo.C: par->pit renaming
1946 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1948 * tabular.C (cellstruct): use initialization, store a shared_ptr
1949 to insettext instead of the insettext directly, adjust to fit.
1950 (operator=): new function
1951 (swap): new function
1952 (rowstruct): use initialization
1953 (columnstruct): use initialization
1954 (ltType): use initialization
1957 * lyxlength.h (swap): new function
1959 * LColor.[Ch] (operator=): use the common semantics
1961 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1963 * lyxfind.C (findNextChange): update the bufferview after setting
1966 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1968 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1969 number of InsetOptArgs has already been inserted.
1971 * output_latex.C (latexOptArgInsets): new method. This outputs all
1972 the optarg insets, up to the limit defined in the layout file.
1973 (optArgInset): removed
1974 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1976 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1978 * paragraph.C (isLetter): remove special spellchecker-related
1979 code; return true also for digits
1980 (isWord, isKomma): remove
1982 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1983 * lyxfind.C (MatchString()): use isLetter instead of isWord
1985 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1987 * pariterator.h (operatir=): comment out un-implemented member
1990 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1993 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * lyxfont.h: include LColor.h to satisfy concept checks.
1997 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1999 * pariterator.h: add typdefs for value_type, difference_type,
2000 pointer and reference to satisfy concept checks. Also add default
2001 constructor for same reason.
2003 * pariterator.C (operator++): add post-increment operator to
2004 satisfy concept checks.
2006 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2009 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2011 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2012 checks. Also rename base_type to BaseType to follow naming
2015 * FloatList.h: include Floating.h to satisfy concept checks.
2017 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2019 * lyxfunc.C (getStatus): when the origin of the request is menu or
2020 toolbar, and the LyXView does not have focus, do as if there was
2021 no buffer (bug 1720)
2023 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2024 FuncRequest to individual entries of LFUN_SEQUENCE
2026 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2028 * output_latex.C (TeXOnePar): override runparams.moving_arg
2029 according to the needprotect value of the current paragraph (bug
2032 * paragraph.C (simpleTeXOnePar): no need to override
2033 runparams.moving_args here
2035 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2037 * vspace.C: fix off-by-one-error, related to fix #1682
2039 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2041 * lengthcommon.C: a more general fix for bug 1682
2043 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2045 * text.C (backspace): fix crash
2047 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2049 * format.[Ch] (getFormatFromFile): new method
2050 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2052 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2054 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2056 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2058 * lyxfunc.C (dispatch): remove the verbose argument
2059 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2062 * kbmap.C (defkey): set the origin of func to KEYBOARD
2064 * MenuBackend.C (MenuItem):
2065 * ToolbarBackend.C (add): set the origin of func to UI
2067 * funcrequest.[Ch]: add origin member, which indicates which part
2068 of LyX requests an action
2070 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2072 * converter.C (move): don't lie in the error message
2073 * converter.h (isReachable, move): document
2075 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2077 * buffer.C: remove unused using lyx::support::atoi
2078 * paragraph_funcs.C: ditto
2080 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * bufferlist.C (exists): use bind and equal_to instead of
2085 * lyxtextclasslist.C (NumberOfClass): ditto
2087 * cursor.C (insert): use for_each instead of explicit for loop
2089 * bufferlist.C (getFileNames): use std::transform and
2090 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2092 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2095 * buffer.C (changeLanguage): use for_each instead of explicit for
2097 (hasParWithID): implement using getParFromID
2099 * LaTeXFeatures.C: ws change only
2101 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2104 * BufferView_pimpl.C (trackChanges): use for_each instead of
2107 2004-11-04 André Pönitz <poenitz@gmx.net>
2110 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2112 * dociterator.C (asDocIterator): use hard assert again.
2114 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2116 * lyxlength.C (asLatexString): rewrite so that it does not use
2119 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2121 * text3.C (specialChar, dispatch): make sure cursor moves to the
2122 right after inserting an inset
2124 2004-11-02 José Matos <jamatos@lyx.org>
2126 * output_docbook.C (docbook):
2127 * paragraph.C (getID):
2128 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2129 garantee that the output is always legal.
2131 * tabular.C (docbook):
2132 * outputprams.[Ch]: remove mixed contents.
2134 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2136 * text2.C (setCounter): prevent endless loop
2138 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2140 * exporter.C (copyFile): use the mover instead of support::copy()
2141 * exporter.C (Export): pass format and latex name to copyFile()
2142 * exporter.h (addExternalFile): document
2143 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2145 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2147 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2149 2004-10-30 José Matos <jamatos@lyx.org>
2151 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2152 text and no inset or font change. This allows to use CDATA
2153 sections just for the whole paragraph.
2155 2004-10-30 José Matos <jamatos@lyx.org>
2157 * paragraph.C (getFirstWord): remove unused variable.
2159 2004-10-30 José Matos <jamatos@lyx.org>
2161 * paragraph.C (getFirstWord): the content should always be escaped
2163 (simpleDocBookOnePar):
2164 * output_docbook.C (makeEnvironment): replace reference to CDATA
2167 2004-10-30 José Matos <jamatos@lyx.org>
2169 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2171 2004-10-30 José Matos <jamatos@lyx.org>
2173 * output_docbook.C (makeParagraphs):
2174 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2175 standard paragraph has only a given type of content drop the wrapper.
2177 2004-10-29 José Matos <jamatos@lyx.org>
2179 * output_docbook.C (makeEnvironment):
2181 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2183 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2185 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2186 (cleanID): sanitize any id.
2188 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2190 * buffer.C, lyxlex_pimpl.C:
2191 * lyxlex_pimpl.C (setFile):
2192 s/getExtFromContents/getFormatFromContents/
2194 2004-10-28 José Matos <jamatos@lyx.org>
2196 * output_docbook.C (makeEnvironment): move id to broadest possible
2199 * sgml.C (openTag): apply substitution of <> for all attributes.
2201 2004-10-28 José Matos <jamatos@lyx.org>
2203 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2204 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2205 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2207 * sgml.[Ch]: new version for open and closeTag for paragraph and
2208 for strings. Now they handle the ids of paragraphs.
2210 2004-10-26 Angus Leeming <leeming@lyx.org>
2212 * Makefile.am: add mover.[Ch].
2214 * converter.C (convert, move): use the new Movers to move external
2215 files to the temp directory.
2217 * lyx_main.C (init): ensure that the global system_movers data
2220 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2223 * mover.[Ch]: new files, defining a Mover as a utility to move an
2224 external file between directories and, if necessary, manipulate this
2225 file using a helper script.
2227 2004-10-25 José Matos <jamatos@lyx.org>
2229 * output_docbook.C (makeCommand): merge two if's that tested the
2232 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2234 * sgml.C (escapeString): fix warning in a better way
2236 2004-10-25 José Matos <jamatos@lyx.org>
2238 * sgml.C (escapeString): import the require boosts header file for
2239 tie, and avoid a signed unsigned comparison.
2241 2004-10-25 José Matos <jamatos@lyx.org>
2243 * sgml.h: add #include <string>
2245 2004-10-25 José Matos <jamatos@lyx.org>
2247 * sgml.[Ch] (escapeString): new function to escape all the string.
2249 2004-10-24 José Matos <jamatos@lyx.org>
2251 * paragraph.[Ch] (getFirstWord): new function to get the first
2252 word. Useful for description.
2253 (simpleDocBookOnePar): remove depth argument, add another that
2254 says where to start the paragraph.
2256 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2257 use the new functions to fix cleanly the support for descriptions.
2259 2004-10-24 José Matos <jamatos@lyx.org>
2261 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2262 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2263 * output_linuxdoc.C (linuxdocParagraphs):
2264 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2265 add buffer as argument.
2267 2004-10-24 José Matos <jamatos@lyx.org>
2269 * output_docbook.C (makeEnvironment, searchEnvironment): place
2270 CDATA inside paragraphs and fix scope for listitems.
2272 2004-10-24 José Matos <jamatos@lyx.org>
2274 * output_docbook.C: remove using statement for stack.
2276 2004-10-23 José Matos <jamatos@lyx.org>
2278 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2279 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2280 docbook. The new scheme is recursive and makes use of iterators, the
2281 same as latex export works.
2282 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2283 directly with the paragraph contents. This code was moved up to
2284 output_docbook.C (docbookParagraphs).
2285 * sgml.C (openTag, closeTag): removed unneeded newlines.
2286 (closeEnvTags) removed.
2288 2004-10-23 André Pönitz <poenitz@gmx.net>
2290 * undo.C (textUndoOrRedo):
2291 * dociterator.C (asDocIterator): work around crash
2293 * cursor.C (getStatus): replace ASSERT by more verbose error message
2294 and manual correction of the problem. Should increase stability
2295 while providing more sensible information.
2297 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2299 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2301 * bufferlist.C (previous, next): new methods
2304 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2306 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2308 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2309 entities to preamble.
2311 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2313 * messages.C (Pimpl): strip off translation context information
2315 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2317 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2318 the cursor is correct (bug 1694)
2320 2004-10-13 José Matos <jamatos@lyx.org>
2322 * output_docbook.C (docbookParagraphs): fix closing tags in the
2323 end of the document.
2325 2004-10-09 José Matos <jamatos@lyx.org>
2327 * buffer.C: format up to 237.
2328 * bufferparams.C (write): use tostr to convert booleans to strings.
2330 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2332 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2334 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2336 * LaTeX.C: implement use of babel language in xindy.
2338 2004-10-05 José Matos <jamatos@lyx.org>
2340 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2341 Add new translators to help reading and writing the lyx file.
2343 2004-10-05 José Matos <jamatos@lyx.org>
2345 * ParagraphParameters.C (read):
2346 * text.C (readParToken): replace nexToken by more appropriate lex
2349 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2351 * LaTeX.C (runMakeIndex):
2352 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2353 (usually 'makeindex') configurable.
2355 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2356 with a variable rather than with a number.
2358 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2360 * output_latex.C (TeXOnePar): make sure font setting is the first
2361 thing that gets output (and the last at the end). Should fix bug
2364 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2366 * pch.h: use proper signal include
2368 * LaTeX.h: Use preferred calling of Boost.Signal
2371 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2373 * pch.h: dont include <boost/function/function0.hpp>
2375 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2377 * paragraph_pimpl.h: remove usage of ShareContainer
2379 * paragraph_pimpl.C: remove initialization of ShareContainer.
2381 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2385 * BufferView.C (putSelectionAt): change the semantics when
2386 backwards == true: now, this just swaps cursor and anchor wrt the
2389 * BufferView.h (putSelectionAt): add some documentation
2391 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2392 make sure backwardChar is done at least once (to avoid getting
2394 (findNextChange): use putSelectionAt in the forward direction
2395 (operator()): use Paragraph::isWord
2397 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * Spacing.C (set): c_str fix
2401 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2403 * lyx_cb.C (Reconfigure): quote the name of configure script in
2404 case it contains spaces
2406 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2410 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2411 (BOOST_LIBS): use top_buildir when looking for the file
2413 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2415 * pch.h: do not use include boost/format.hpp, multiple symbols
2416 will result (gcc bug)
2419 2004-08-23 José Matos <jamatos@lyx.org>
2421 * bufferparams.C (readToken): fix reading of the author field.
2423 2004-08-20 José Matos <jamatos@lyx.org>
2425 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2427 2004-08-20 José Matos <jamatos@lyx.org>
2429 * lyxlex.[Ch] (findToken): remove function.
2431 * ParagraphParameters.C (findToken):
2432 * bufferparams.C (findToken): replace call for previous function
2433 with local copy. This local function has one more argument, the
2434 read string argument.
2436 2004-08-16 José Matos <jamatos@lyx.org>
2438 * ParagraphParameters.C (write):
2439 * Spacing.C (writeFile):
2440 * bufferparams.C (writeLaTeX):
2441 * lyx_cb.C (Reconfigure):
2442 * paragraph.C (write):
2443 * tabular.C (write): remove unnecessary space at end of line.
2446 2004-08-16 José Matos <jamatos@lyx.org>
2448 * text.C (readParagraph): remove debug message.
2450 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2452 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2455 * output_plaintext.C (asciiParagraph): set depth correctly
2457 * outputparams.h: add member depth
2459 * paragraph_funcs.C (ownerPar): remove.
2461 * text2.C (setCounter): remove first_pit; comment out some
2462 non-working code that uses ownerPar
2464 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2467 2004-08-16 José Matos <jamatos@lyx.org>
2469 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2470 For the same level of importance use the same chanel to report problems.
2471 (read): add code to deal with \begin_body and \end_body.
2474 2004-08-15 José Matos <jamatos@lyx.org>
2476 * lyxlex.C (getString): fix comment, buffer::readBody is now
2477 buffer:readDocument.
2479 * tex-strings.C (string_papersize): Default -> default,
2480 Custom -> custom, for consistency with other options.
2482 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2486 * Makefile.am: support pch
2488 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2490 * text.C (readParToken): remove the static LyXFont variable and
2491 pass it as a parameter instead. This fixes a nasty bug where an
2492 inset will be inserted with a bad font in some situations
2493 (readParagraph): adapt
2495 * text2.C (setCounter): reduce number of calls to pars_[pit]
2497 * text.C (singleWidth): add an assert, fix a test
2499 * rowpainter.C (paintText): reduce number of calls to singleWidth
2501 * paragraph.C (isHfill):
2502 (isNewline): ws only
2504 2004-08-14 André Pönitz <poenitz@gmx.net>
2509 * lyxtext.h (several functions): use a Paragraph & argument
2512 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2514 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2516 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2518 * text.C (singleWidth): remove useless test
2520 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2522 * tabular.h: remove bogus comments
2524 * tabular.C (getDescentOfRow):
2525 (isPartOfMultiColumn): add assertions
2527 * lyxlength.C (inPixels): remove #warning
2529 2004-08-14 André Pönitz <poenitz@gmx.net>
2531 * paragraph.h: inline getChar()
2533 * BufferView.h: remove unused declarations
2535 2004-08-14 José Matos <jamatos@lyx.org>
2537 * Buffer.[Ch] (readDocument): new name for old readBody.
2538 * Buffer.C: new file format, new keywords: \begin_document,
2539 \begin_header, \begin_body, \end_body.
2541 * bufferparams.C (readToken): replace all calls to lex.nextToken
2542 by lex.next(). Do the same to eatLine except where really needed.
2544 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2545 line when writing to the lyx file.
2547 * output_plaintext.C (asciiParagraph): fix Bibliography style
2550 * text.C (read): fix end of file handling.
2552 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2554 * MenuBackend.C (Menu::operator[]): new method to access
2555 individual menu items
2556 (Menu::hasFunc): new method. search for an item that corresponds
2558 (MenuBackend::specialMenu): new method
2559 (MenuBackend::expand): if a special menu has been set, skip
2560 entries whose func() appears in this menu
2562 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2564 * text3.C: use Debug::DEBUG a bit more
2566 * text.C (leftMargin): try to simplify a tiny bit change var x to
2567 l_margin. Dont output the wide margins always.
2568 (rightMargin): no margin in inner texts
2570 * rowpainter.h (nestMargin): new func
2571 (changebarMargin): new func
2572 (rightMargin): new func
2574 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2578 * factory.C (createInset): modify setDrawFrame
2580 * cursor.C: use Debug::DEBUG a bit more
2582 2004-08-14 André Pönitz <poenitz@gmx.net>
2585 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2586 cache for all insets in (at least partially) visible (top-level)
2589 * BufferView_pimpl.C: reset external coord cache before every update.
2590 This means the coord cache only contains valid entries.
2592 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2595 * BufferView_pimpl.C (getInsetByCode): move function out of class
2596 and change in to a template in anon namespace. Also fix to do what
2599 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2602 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2604 (breakParagraph): rename par to par_offset and use a local
2605 reference. Add code to keep the language over a rebreak.
2606 (breakParagraphConservative): rename par to par_offset, use a
2608 (mergeParagraph): ditto
2610 (isFirstInSequence): ditto
2611 (outerFont): rename pit to par_offset
2613 * paragraph.C: ws change
2614 * paragraph.h: ditto
2618 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2620 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2623 * paragraph.C (simpleTeXOnePar): when we have a \item with
2624 optional argument, enclose the argument with curly brackets (in
2625 case it contains a closing square bracket)
2629 * text3.C (checkInsetHit): constify
2631 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2633 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2634 documents (bug 1629)
2636 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2638 Fix toggling of collapsable insets with the mouse (bug 1558)
2640 * lyxfunc.C (dispatch): adapt to LCursor changes
2642 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2643 make sure that dispatch is not invoked twice
2645 * cursor.C (needsUpdate): new method
2646 (dispatch): return void
2647 (result): new method, to access the DispatchResult of the cursor.
2649 2004-08-13 José Matos <jamatos@lyx.org>
2651 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2653 2004-08-13 André Pönitz <poenitz@gmx.net>
2655 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2657 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2660 2004-08-12 André Pönitz <poenitz@gmx.net>
2662 * text3.C: take out the 'cursor right' form insertInset and only
2663 do it in those places when it is really needed. Fixes crash on
2666 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2668 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2670 * BufferView_pimpl.C (setBuffer): initialize the current font of
2671 the underlying LyXText
2673 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2675 * kbsequence.C (print): use UI native formatting for menu
2678 * text.C (insertChar): call Paragraph::insertChar with a font
2681 * paragraph.C (insertInset, insertChar): the version that takes a
2682 LyXFont argument is now a wrapper around the other one (the
2683 opposite used to be true).
2685 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2686 argument. Font setting is done in Paragraph now.
2688 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2690 * outputparams.h: add new members intitle and lang.
2692 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2693 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2695 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2697 * text3.C (dispatch): remove special handling of button 4 and 5,
2698 it is now taken care of in the frontend code.
2700 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2702 * Spacing.h: add <string> (STLPort compile fix)
2704 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2706 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2708 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2710 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2713 * converter.C (showMessage): inherit from unary_function, make
2716 * buffer.C (writeFile): initialize retval
2718 * InsetList.h: rename private variable list to list_
2719 * InsetList.[Ch]: adjust accordingly.
2721 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2724 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2725 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2726 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2727 * ParagraphParameters.C, LaTeXFeatures.C: replace
2728 "support/std_sstream.h" with <sstream>
2730 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2732 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2733 * lyxsocket.C (LyXServerSocket): ditto
2734 (serverCallback): ditto
2736 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2738 * LaTeXFeatures.C: check release date when loading jurabib.
2740 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2742 * lyxserver.C (startPipe): call register_socket_callback
2743 (endPipe): call unregister_socket_callback
2745 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2747 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2748 (LyXServerSocket): register the callback
2749 (LyXServerSocket): unregister the callback
2750 (fd): delete function
2751 (serverCallback): improve error checking and setup the callbacks.
2752 (dataCallback): change arg to fd.
2753 (writeln): new func (copied fro the client socket) used for server
2755 (LyXDataSocket): simplify
2756 (~LyXDataSocket): close ann unregiser callback
2757 (server): delete function
2758 (fd): delete function
2759 (readln): small changes, improve some std::string usage
2760 (writeln): constify a bit
2762 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2764 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2767 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2769 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2770 after it has been populated
2772 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2774 * text2.C (insertInset): move cursor when inserting inset.
2776 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2778 * kbmap.C (findbindings): a couple of new methods. returns a
2779 container of kb_sequence objects. The real work is done by the
2780 private recursive version
2781 (printbindings): uses findbindings to print out a bracketed list
2782 of bindings (renamed from findbinding).
2784 * MenuBackend.C (binding): use kb_keymap::findbindings
2786 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2788 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2790 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2792 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2794 * paragraph.C (isWord): return true on insets that report
2797 * text.C (getWord): use Paragraph::isWord to decide what is in a
2798 word and what is not; fix bug 1609.
2800 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2802 * tex-strings.C: add "none" to string_paperpackages[], fixes
2803 off-by-one-error in the paperpackage selection.
2806 * tex-strings.[Ch]: char const * string[n]
2807 -> char const * const string[]
2809 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2811 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2812 command, return early.
2814 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2816 * debug.h: add DEBUG to enum and fix size of ANY.
2818 * debug.C: add support for Debug::DEBUG
2819 (showTags): cast errorTags.level to unsigned int
2821 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2822 (redoCurrentBuffer): ditto
2823 (updateScrollbar): ditto
2824 * cursor.C (dispatch): ditto
2825 * text2.C (setLayout): ditto
2827 (updateCounters): ditto
2829 (deleteEmptyParagraphMechanism): ditto
2831 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2833 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2834 annotations to cleanup the Makefile slightly.
2836 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2838 * lyxrc.C: do not set user_email to a default value but use empty
2839 instead. The entry used to be translated, which does not work
2840 since at the point where lyxrc is constructed there is no
2841 translation service available
2843 * messages.C (getLocaleDir): remove and use directly
2844 lyx_localedir() instead
2846 2004-06-02 Angus Leeming <leeming@lyx.org>
2848 Fix crash caused by dereferencing null pointer 'exportdata' in
2849 OutputParams by creating a new ExportData variable on the heap,
2850 storing it in a boost::shared_ptr.
2851 The crash was triggered when generating an Instant Preview
2852 of an external inset.
2854 * Makefile.am: add outputparams.C
2856 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2857 (c-tor): allocate memory to it.
2859 * exporter.C (c-tor): associated changes.
2861 2004-06-01 Angus Leeming <leeming@lyx.org>
2863 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2864 contains data before calling isInset(0). (Bug 1513.)
2866 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2868 * exporter.C (checkOverwrite): new method
2869 * exporter.C (copyFile): new method
2870 * exporter.C (Export): copy referenced files to the document dir
2871 * exporter.[Ch]: new class ExportedFile
2872 * exporter.[Ch]: new class ExportData. Contains currently the
2873 names of referenced external files
2874 * outputparams.h: add exportdata member.
2876 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2878 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2881 2004-05-19 Angus Leeming <leeming@lyx.org>
2886 * lyxfunc.C: small changes due to the introduction of namespace
2887 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2889 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2891 * text3.C (dispatch): supress update when only moving the cursor
2892 * cursor.C (selHandle): remove commented code
2894 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2896 * paragraph.C (startTeXParParams): correct column count
2897 * CutAndPaste.C (pasteSelection): remove const_cast
2898 * output_docbook.C (docbookParagraphs): remove const_cast
2899 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2900 const_cast and return ParagraphList::const_iterator
2901 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2902 * output_plaintext.C (writeFileAscii): remove const_cast
2903 * paragraph.[Ch] (simpleTeXOnePar): make const
2904 * paragraph_funcs.C (outerPar): use const iterators
2905 * paragraph_pimpl.C (validate): use const iterators
2906 * text.C (setHeightOfRow): use const iterators
2908 2004-05-17 Angus Leeming <leeming@lyx.org>
2911 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2913 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2914 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2915 if the citation engine has changed.
2917 2004-05-14 José Matos <jamatos@lyx.org>
2919 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2920 if the textclass does not provide it. Have it different for sgml and
2922 support the language of document.
2923 * output_docbook.C (docbookParagraphs):
2924 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2925 first anchor as the id of the paragraph, remove special case code.
2926 * sgml.C (escapeChar): escape only < & >.
2928 2004-05-14 Angus Leeming <leeming@lyx.org>
2930 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2931 dependencies on src/frontends/controllers/biblio.h. Define a
2932 CiteEngine_enum wrapper class to enable the enum to be forward
2935 2004-05-12 Angus Leeming <leeming@lyx.org>
2937 * buffer.C: up LYX_FORMAT to 234.
2938 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2939 use_numerical_citations with a single biblio::CiteEngine cite_engine
2941 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2943 2004-05-13 José Matos <jamatos@lyx.org>
2946 * converter.C (Converter, readFlags): add xml member.
2947 * outputparams.h: add XML flavor.
2948 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2950 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2952 * lyxfunc.C (dispatch):
2953 (getStatus): fix handling of LFUN_SEQUENCE
2955 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2957 * debug.C (showLevel): do not forget the end-of-line marker
2959 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2961 * kbmap.C (read): do not stop parsing a bind file when an error
2964 2004-04-29 Angus Leeming <leeming@lyx.org>
2969 * text2.C: wrap a bunch of #warning statements
2970 inside #ifdef WITH_WARNINGS blocks.
2972 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2974 * buffer.C: increment format to 233.
2976 2004-04-28 Angus Leeming <leeming@lyx.org>
2978 * BufferView_pimpl.C:
2981 s/updateToolbar()/updateToolbars()/
2982 s/Toolbar.h/Toolbars.h/
2984 2004-04-28 Angus Leeming <leeming@lyx.org>
2986 * BufferView.[Ch] (c-tor):
2987 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2988 No longer passes these data to the WorkArea generator.
2990 2004-04-28 Angus Leeming <leeming@lyx.org>
2992 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2994 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2996 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2998 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3000 * output_latex.C (TeXEnvironment): make sure that there is a line
3001 break before \end{foo} for the last paragraph of a document
3002 (TeXOnePar): if the paragraph is at the end of the document (or
3003 inset) and the language has to be reset, then make sure that the
3004 line break is _before_ the language command, not after (fixes bug
3005 1225); also make sure that the language reset command is the first
3006 thing after the paragraph (to ensure proper nesting of
3007 environments and thus fix bug 1404)
3009 2004-04-21 John Levon <levon@movementarian.org>
3012 * ToolbarBackend.C: make "name" be a programmatic name
3013 and a gui_name field.
3015 * lyxfunc.C: display the minibuffer on M-x
3017 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3019 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3022 2004-04-19 Angus Leeming <leeming@lyx.org>
3024 * BufferView_pimpl.C (setBuffer): changed preview interface.
3026 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3029 2004-04-19 John Levon <levon@movementarian.org>
3031 * BufferView_pimpl.C:
3032 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3034 2004-04-05 Angus Leeming <leeming@lyx.org>
3036 * text.C (redoParagraphs): add call to updateCounters(), thereby
3037 fixing the missing "Figure #:" label from the caption of a
3040 2004-04-13 Angus Leeming <leeming@lyx.org>
3042 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3043 cursor is clicked out of an inset.
3045 2004-04-13 Angus Leeming <leeming@lyx.org>
3047 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3048 than an InsetOld one.
3050 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3052 * format.[Ch]: add editor to Format
3053 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3054 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3056 2004-04-08 André Pönitz <poenitz@gmx.net>
3058 * metricsinfo.h: remove PainterInfo::width member
3060 2004-04-08 Angus Leeming <leeming@lyx.org>
3062 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3063 "\providecommand" rather than "\newcommand", thereby preventing
3064 clashes with packages that define "\boldsymbol" themselves.
3067 2004-04-08 Angus Leeming <leeming@lyx.org>
3069 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3070 thereby squashing an unnecessary warning.
3072 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3074 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3077 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3079 * BufferView.C (setCursor): call redoParagraph (some insets could
3081 (putSelectionAt): remove the 'double update' trick
3083 * BufferView_pimpl.C (fitCursor): call refreshPar
3084 (workAreaDispatch): remove an uneeded update call
3085 (dispatch): remove some manual update calls
3087 * cursor.[Ch]: remove cached_y_, updatePos
3088 (selHandle): set noUpdate when appropriate
3090 * lyxfunc.C (dispatch): track if we need an update
3092 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3094 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3095 (paintSelection): cheap optimization, do not call cursorX when not
3097 (paintPars): change signature
3100 (paintTextInset): adjust
3104 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3106 * lengthcommon.C: compilation fix: remove explicit array size from
3107 unit_name[] and friends
3109 2004-04-05 Angus Leeming <leeming@lyx.org>
3111 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3113 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3114 present only for the preferences dialog.
3115 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3117 2004-04-05 Angus Leeming <leeming@lyx.org>
3119 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3120 to enable the frontends to export changes to lyxrc correctly.
3122 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3124 2004-04-07 André Pönitz <poenitz@gmx.net>
3126 * cursor.[Ch] (selClear, adjust): remove math
3128 * cursor_slice.C: more agressive assert
3131 * BufferView_pimpl.C: rework mouse event dispatch
3138 2004-04-05 André Pönitz <poenitz@gmx.net>
3140 * cursor.[Ch] (valign, halign...): remove unneeded functions
3142 2004-04-05 Angus Leeming <leeming@lyx.org>
3144 * lyxlength.[Ch] (unit_name et al.): const-correct.
3146 2004-04-05 Angus Leeming <leeming@lyx.org>
3148 * BufferView_pimpl.C:
3157 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3159 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3161 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3163 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3165 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3166 * BufferView_pimpl.[Ch] (getStatus)
3167 * BufferView.[Ch] (getStatus): add
3168 * lyxfunc.C (getStatus): move lfuns handled in
3169 BufferView::dispatch to te function above
3170 * Cursor.C (setSelection): set selection() = true
3172 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3174 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3176 2004-03-31 Angus Leeming <leeming@lyx.org>
3178 * lyxfunc.C (dispatch): Fall through to the generic
3179 Dialogs::show("preamble").
3181 2004-03-31 Angus Leeming <leeming@lyx.org>
3183 * lyxfunc.C (dispatch): Fall through to the generic
3184 Dialogs::show("spellchecker").
3186 2004-03-31 Angus Leeming <leeming@lyx.org>
3188 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3191 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3196 * insetiterator.[Ch]:
3201 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3203 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3205 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3206 insets where we are putting the cursor.
3208 2004-03-31 Angus Leeming <leeming@lyx.org>
3211 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3213 * lyxrc.[Ch] (read, write): overloaded member functions taking
3214 a std::[io]stream arguments.
3216 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3218 2004-03-31 Angus Leeming <leeming@lyx.org>
3220 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3221 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3223 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3224 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3226 2004-03-31 Angus Leeming <leeming@lyx.org>
3228 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3229 the LFUN_ALL_INSETS_TOGGLE code.
3231 2004-03-30 Angus Leeming <leeming@lyx.org>
3233 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3234 has died. Fall through to the generic Dialogs::show("document").
3236 2004-03-30 Angus Leeming <leeming@lyx.org>
3239 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3240 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3242 * lyxfunc.C (getStatus, dispatch): define the actions for these
3243 lfuns. Little more than a cut and pste job from ControlDocument.C
3245 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3247 2004-03-30 Angus Leeming <leeming@lyx.org>
3250 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3251 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3253 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3254 open/closed state of ollapsable insets. Usage:
3256 all-inset-toggle <state> <name>, where
3257 <state> == "open" || "closed" || "toggle" and
3258 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3260 * lyxtext.h, text2.C (toggleInset): removed.
3262 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3263 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3264 now passes LFUN_INSET_TOGGLE to the found inset.
3266 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3267 is now invoked as "all-insets-toggle toggle branch".
3269 2004-03-30 Angus Leeming <leeming@lyx.org>
3273 * pariterator.[Ch]: added/corrected header blurb.
3275 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3277 * dociterator.[Ch]: add an inset_ member
3278 (backwardPos): implemented
3279 (backwardPos, forwardPos): use inset_ when the stack is empty.
3280 (doc_iterator_begin, doc_iterator_end): implemented
3281 * pariterator.[Ch]: adjust, add begin, end
3282 * insetiterator.[Ch]: adjust, add begin, end
3286 * BufferView_pimpl.C:
3287 * CutAndPaste.C: adjust
3289 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3291 * buffer.C: increment file format to 232.
3292 * LaTeXFeatures.C: add bibtopic package.
3293 * bufferparams.[Ch]: param \use_bibtopic.
3295 * lyxrc.[Ch]: add lyxrc bibtex_command
3296 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3298 * buffer.C: increment file format to 231.
3300 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3302 * dociterator.C: implement forwardPar
3303 * iterators.[Ch]: remove, replaced by
3304 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3306 * BufferView_pimpl.C:
3309 * bufferview_funcs.C:
3315 * Makefile.am: adjust
3317 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3319 * CutAndPaste.C (pasteSelection): fix 2 crashes
3320 (eraseSelection): fix a crash
3321 * paragraph_funcs.C: remove a warning
3323 2004-03-28 Angus Leeming <leeming@lyx.org>
3326 * LyXAction.C (init): new LFUN_PRINT.
3328 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3330 2004-03-27 Angus Leeming <leeming@lyx.org>
3333 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3335 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3337 2004-03-27 Angus Leeming <leeming@lyx.org>
3339 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3340 insetlist always contains non-null pointers to insets.
3342 2004-03-26 Angus Leeming <leeming@lyx.org>
3344 * src/BufferView_pimpl.C:
3345 * src/CutAndPaste.C:
3348 * src/output_plaintext.C:
3349 * src/outputparams.h:
3350 * src/paragraph_funcs.C:
3354 * src/frontends/controllers/ControlErrorList.C:
3355 * src/frontends/gtk/FileDialogPrivate.C:
3356 * src/frontends/gtk/GPainter.C:
3357 * src/frontends/gtk/GToolbar.C:
3358 * src/frontends/qt2/QRef.C:
3359 * src/mathed/math_scriptinset.C: squash compiler warnings.
3361 2004-03-26 Angus Leeming <leeming@lyx.org>
3363 * ispell.C (LaunchIspell::start):
3364 * lyx_cb.C (AutoSaveBuffer::start):
3365 invoke run(DontWait) rather than runNonBlocking().
3367 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3369 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3371 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3373 * kbsequence.C (print): adjust
3375 * kbmap.C (printKeySym): rename and change signature
3376 (printKey): use LyXKeySym::print()
3378 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3380 * undo.C: add using std::advance to compile for stlport
3382 2004-03-24 Angus Leeming <leeming@lyx.org>
3384 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3385 it leads to a crash when no buffer is present.
3387 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3388 Martin Vermeer <martin.vermeer@hut.fi>
3390 * lyxfunc.C (dispatch):
3391 * bufferparams.C (readToken): use the new LColor::setColor
3393 * LColor.[Ch] (setColor): new version that takes two strings as
3394 argument and creates a new color entry if necessary
3396 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3398 * buffer.C (makeLaTeXFile): if the main latex file that is
3399 processed is usually a subdocument of some master, then pretend
3400 for a while that it is actually the master
3402 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3404 * buffer.C (getLabelList):
3405 (getBibkeyList): use getMasterBuffer()
3406 (getMasterBuffer): new method. Returns the main document in the
3407 case where one is using included documents.
3409 2004-03-25 André Pönitz <poenitz@gmx.net>
3413 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3415 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3417 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3418 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3420 * ParameterStruct.h: merge with ParagraphParameters
3422 * lyxtext.h: remove LyXText::parOffset() and getPar()
3424 * text3.C: Remove all 'manual' update calls. We do now one per user
3425 interaction which is completely sufficient.
3429 * BufferView_pimpl.C:
3430 * FontIterator.[Ch]:
3432 * ParagraphParameters.[Ch]:
3437 * cursor_slice.[Ch]:
3444 * output_docbook.[Ch]:
3445 * output_latex.[Ch]:
3446 * output_linuxdoc.[Ch]:
3447 * output_plaintext.[Ch]:
3449 * paragraph_funcs.[Ch]:
3450 * paragraph_pimpl.[Ch]:
3458 * frontends/controllers/ControlDocument.C:
3459 * frontends/controllers/ControlErrorList.C:
3460 * frontends/controllers/ControlSpellchecker.C:
3463 * insets/insetbase.h:
3464 * insets/insetbibitem.C:
3465 * insets/insetbox.C:
3466 * insets/insetbranch.C:
3467 * insets/insetcaption.C:
3468 * insets/insetcharstyle.C:
3469 * insets/insetcharstyle.h:
3470 * insets/insetcollapsable.C:
3471 * insets/insetcollapsable.h:
3472 * insets/insetert.C:
3473 * insets/insetfloat.C:
3474 * insets/insetfoot.C:
3475 * insets/insetmarginal.C:
3476 * insets/insetnote.C:
3477 * insets/insetoptarg.C:
3478 * insets/insettabular.C:
3479 * insets/insettext.C:
3480 * insets/insettext.h:
3481 * insets/insetwrap.C:
3482 * mathed/math_mboxinset.C:
3483 * mathed/math_nestinset.C:
3484 * mathed/math_scriptinset.C:
3485 * mathed/math_scriptinset.h:
3488 2004-03-24 Angus Leeming <leeming@lyx.org>
3490 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3491 deal with any child processes that have finished but are waiting to
3492 communicate this fact to the rest of LyX.
3494 2004-03-24 Angus Leeming <leeming@lyx.org>
3496 64-bit compile fixes.
3498 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3499 (c-tor): pass lyx::pos_types rather than ints.
3501 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3504 * text.C (Delete): compile fix.
3505 (getPar): ensure that function declaration is the same as that in
3508 2004-03-23 Angus Leeming <leeming@lyx.org>
3510 * ispell.C (LaunchIspell):
3511 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3512 a boost::shred_ptr rather than a std::auto_ptr.
3514 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3516 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3517 handle LFUN_FILE_INSERT_*
3519 * lyxrc.C (setDefaults, getDescription, output, read):
3520 * lyxrc.h: remove ps_command
3522 2004-03-22 Angus Leeming <leeming@lyx.org>
3524 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3525 Ensure that error_handler is processed once only and that all data
3526 is saved before attempting to output any warning messages.
3528 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3530 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3532 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3534 2004-03-19 André Pönitz <poenitz@gmx.net>
3536 * cursor.[Ch] (reset): take main text inset as argument
3538 * BufferView: adjust
3539 * BufferView_pimpl.C: adjust
3541 * paragraph.[Ch]: fix completely broken operator=()
3543 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3545 * LColor.C (getFromLyXName): make sure that the color name is used
3548 2004-03-17 Angus Leeming <leeming@lyx.org>
3551 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3553 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3554 dialog and to kill a forked process.
3556 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3558 * text2.C (setCursorFromCoordinates): fix font problem
3560 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3562 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3563 bogus "rebuild cursor" code
3565 2004-03-11 André Pönitz <poenitz@gmx.net>
3567 * buffer.[Ch]: use InsetText instead of LyXText as container for
3570 * dociterator.[Ch]: drop the BufferView * member which is not needed
3571 anymore after the change to buffer.C
3573 * paragraph_funcs.C:
3577 * BufferView_pimpl.[Ch]:
3579 * cursor_slice.[Ch]: adjust
3581 * text3.C: fix bug in mathDispatch
3583 2004-03-08 André Pönitz <poenitz@gmx.net>
3585 * undo.[Ch]: use 'StableDocumentIterator' as base for
3588 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3591 * bufferparams.[Ch]: add jurabib support and param.
3593 * LaTeX.C: add FIXME/comment.
3595 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3597 * buffer.C: increment file format to 230.
3599 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3601 * cursor.C (dispatch): avoid infinite loops
3603 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3605 * rowpainter.C (paintSelection): fix x coordinates
3607 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3609 * text.C (rowBreakPoint): fix breaking before displayed insets
3611 2004-03-01 André Pönitz <poenitz@gmx.net>
3613 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3615 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3619 * BufferView_pimpl.C:
3627 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3633 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3634 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3636 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3638 * Bidi.[Ch] (computeTables): const correctness
3639 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3640 fill_hfill, fill_label_hfill and x from Row
3641 * lyxtext.h: prepareToPrint returns a RowMetrics
3642 * rowPainter.C: adjust
3643 * text.C (prepareToPrint): use width, not textWidth. adjust
3644 (redoParagraphInternal, cursorX): adjust
3645 * text2.C (getColumnNearX): adjust
3646 (init): put a default value to the top LyXText::width
3648 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3650 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3652 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3654 * lyxtext.h: add FontIterator class
3656 * text.C (FontIterator, operator*, operator->, operator++): add
3657 (rowBreakPoint, setRowWidth): adjust (fixing a
3660 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3662 * BufferView_pimpl.C (workAreaDispatch): allow also
3663 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3665 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3667 * text.C (rowBreakPoint): fix a bug showing with very large insets
3669 2004-02-25 André Pönitz <poenitz@gmx.net>
3672 * cursor.[Ch]: move some mathed specific code to mathed
3674 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3676 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3677 use_tempdir in preferences
3678 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3680 * lyx_main.C: ensure that tempdir is valid
3681 * lyxlex.h: correct typo
3682 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3683 * paragraph.[Ch] (isMultiLingual): make const
3684 * cursor.[Ch] (openable): make const
3686 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3688 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3690 2004-02-20 André Pönitz <poenitz@gmx.net>
3692 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3694 * cursor.[Ch]: prepare for localized getStatus()
3700 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3702 2004-02-20 André Pönitz <poenitz@gmx.net>
3704 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3706 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3708 * text2.C (setCursorFromCoordinates): switch to absolute coords
3710 (cursorDown): adjust
3711 * text3.C (dispatch): adjust
3713 2004-02-16 André Pönitz <poenitz@gmx.net>
3715 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3718 * cursor_slice.[Ch]: remove unneeded acessor function
3720 * lyxtext.h: rename rtl() to isRTL()
3728 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3730 * rowpainter.C (paintSelection): coord fix
3732 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3734 * Spacing.C: compile fix
3736 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3738 * cursor.C (dispatch): restore current_ before returning
3740 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3742 * text2.C (cursorUp, cursorDown): fix coords
3745 2004-02-12 André Pönitz <poenitz@gmx.net>
3750 * text3.C: add LCursor & parameter to most cursor movement functions
3751 remove usage of LyXText::cursorRow() and cursorPar()
3753 * cursor.[Ch]: add textRow() needed members
3756 * BufferView_pimpl.C:
3759 * BufferView_pimpl.C: adjust
3761 2004-02-11 André Pönitz <poenitz@gmx.net>
3765 * BufferView_pimpl.C: shift undo/redo handling
3767 * cursor.[Ch]: fix mathed crash
3770 * lyxtext.h: move selectionAsText to LCursor
3778 * rowpainter.C: fix excessive drawing
3780 2004-02-06 André Pönitz <poenitz@gmx.net>
3783 * BufferView_pimpl.[Ch]:
3784 * text3.C: move some text specific LFUN handling
3786 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3788 * text3.C (checkInsetHit): adjust coords
3789 * text2.C (getColumnNearX): adjust coords
3790 (edit): adjust coords
3791 * text.C (getRowNearY): add two asserts
3793 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3796 * format.C: add using std::distance to compile on gcc 2.95/stlport
3798 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3800 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3802 2004-02-04 André Pönitz <poenitz@gmx.net>
3804 * BufferView.[Ch] (insertInset):
3805 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3810 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3812 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3813 on the default clause of the switch
3814 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3815 wasn't catched by LCursor::dispatch
3817 2004-02-03 André Pönitz <poenitz@gmx.net>
3820 * cursor.[Ch]: some additional asserts
3822 * undo.[Ch]: remove LyXText dependency in interface
3826 * lyxtext.h (firstPar, lastPar): remove dead functions
3831 * paragraph.[Ch]: adjust
3833 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3835 * lyxfind.C (find): fix argument order in call to ::find
3837 2004-02-02 André Pönitz <poenitz@gmx.net>
3839 * cursor.[Ch]: remove direct access to anchor
3841 * text.C: remove findText() hack
3843 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3845 * iterators.[Ch] (lockPath): remove in favour of...
3846 * BufferView.[Ch] (setCursor): this addition
3847 * BufferView.C (putSelectionAt): adjust
3848 * undo.C (performUndoOrRedo): adjust
3849 * lyxfunc.C (dispatch): adjust
3851 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3853 * iterators.C (lockPath): add a missing slice
3854 * undo.C (performUndoOrRedo): remove redundant positioning code
3856 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * vc-backend.C (scanMaster): ";" -> ';'
3860 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3862 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3863 std::binary_function
3865 * lyxtextclass.C (compare_name): rename to...
3866 (LayoutNamesEqual): ...this
3868 * lyxlex_pimpl.C (compare_tags): inherit from
3869 std::binary_function, put back into anon namespace
3871 * lyxfind.C (MatchString): inherig from std::binary_function
3872 (findChange): use empty() istead of !size()
3874 * format.C (FormatNamesEqual): new functor
3881 * converter.C (compare_Converter): rename to...
3882 (ConverterEqual): ...this, and fixup a bit.
3883 (getConverter): use it, and make function const
3884 (getNumber): use it, and make function const
3888 * bufferlist.C: add using boost::bind
3890 * MenuBackend.C (MenuNamesEqual): new functor
3891 (hasMenu): use it, and make function const
3892 (hasSubmenu): use nested bind to get rid of compare_memfun.
3894 2004-01-30 André Pönitz <poenitz@gmx.net>
3896 * BufferView_pimpl.C:
3899 * cursor_slice.[Ch]:
3902 * paragraph_funcs.C:
3903 * paragraph_funcs.h:
3907 * text3.C: move some of the edit(x,y) handling to the insets
3908 some coordinate changes.
3910 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3912 * text.C: add using statements for std::advance and std::distance
3914 * paragraph.C: add using statement for std::distance
3916 * lyxfind.C: add using statement for std::advance
3918 * cursor.C (region): remove std:: from swap
3919 (openable): use nucleus in stead of operator->
3921 * BufferView.C: add using statements for std::distance and std::swap
3923 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3925 * iterators.C: Remove the pimple, move the needed structures to
3926 the header file. Create accessor for the positions stack.
3927 (asPosIterator): remove function
3929 * PosIterator.C (PosIterator): move constructors to top of file
3930 (PosIterator): reimplement the constructor taking a ParIterator in
3932 (setFrom): new function
3933 (operator!=): inline it
3935 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3937 * lyxfind.C (replaceAll): use std::advance
3939 * iterators.h: inherit from std::iterator.
3941 * PosIterator.C (advance, distance): remove
3942 * PosIterator.h: interit from std::iterator.
3944 2004-01-26 André Pönitz <poenitz@gmx.net>
3947 * BufferView_pimpl.[Ch]:
3951 * bufferview_funcs.C:
3961 * output_linuxdoc.C:
3962 * output_plaintext.C:
3964 * paragraph_funcs.[Ch]:
3965 * paragraph_pimpl.[Ch]:
3971 * text3.C: more IU: dumps most of the rest of the mathcursor
3972 implementation into cursor.[Ch]; "globalize" a bit of it.
3974 2004-01-25 Angus Leeming <leeming@lyx.org>
3976 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3978 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3980 * LaTeXFeatures.h: add nice_ and nice() const
3981 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3983 2004-01-20 André Pönitz <poenitz@gmx.net>
3986 * BufferView_pimpl.C:
3988 * bufferview_funcs.C:
3990 * cursor_slice.[Ch]:
4001 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4002 LCursor and mathcursor parts to LCursor and InsetBase.
4004 2004-01-15 André Pönitz <poenitz@gmx.net>
4006 * cursor_slice.[Ch]: add a few covienience functions
4008 * funcrequest.[Ch]: remove BufferView * member
4010 * BufferView_pimpl.C:
4017 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4019 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4021 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4022 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4024 2004-01-13 André Pönitz <poenitz@gmx.net>
4027 * lyxtext.h: hide cursor and selection anchor behind accessor function
4030 * BufferView_pimpl.[Ch]:
4032 * bufferview_funcs.C:
4042 * cursor_slice.[Ch]: some integer type changes for inset unification
4044 * lyxcursor.[hC]: remove, it's CursorSlice now.
4047 * BufferView_pimpl.[Ch]:
4048 * bufferview_funcs.C:
4054 * textcursor.[Ch]: adjust
4056 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4058 * text2.C (undoSpan): add and use
4059 * text.C (breakParagraph): use undoSpan (fix bug 578)
4062 2004-01-08 Angus Leeming <leeming@lyx.org>
4064 * BufferView_pimpl.C (MenuInsertLyXFile):
4065 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4066 * lyxfunc.C (menuNew, open, doImport):
4067 FileFilterList change to the FileDialog open and save functions.
4069 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4071 * ShareContainer.h: make isEqual and isUnique adaptable
4073 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4075 2004-01-07 Angus Leeming <leeming@lyx.org>
4078 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4080 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4082 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4083 functions replacing find, replace and replaceAll.
4085 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4086 LFUN_WORDFIND(FORWARD|BACKWARD).
4088 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4090 * text.C (breakParagraph): remove an outdated #warning
4092 2004-01-07 André Pönitz <poenitz@gmx.net>
4094 * lyxfind.C: somewhat clearer logic
4096 * text.C: prevent crash in cursorX on unitialized row cache
4098 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4100 * lyxcursor.[Ch] (operator>): add
4101 * textcursor.C (selStart, selEnd): use std::min and std::max
4103 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * Chktex.C: include boost/format.hpp
4107 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * InsetList.C: replace functor MathcIt with adaptable functor
4111 (insetIterator): modify accordingly
4113 * BranchList.h: move the BranchNamesEqual functor here from...
4114 * BranchList.C: ... to here
4116 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4118 (add): replace a finding loop with std::find_if.
4120 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4122 * output_docbook.C: moving LatexParam functionality into
4125 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4127 * buffer.C: increment format to 229.
4129 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4132 * lyx_sty.[Ch]: remove minipageindent_def
4138 * text3.C: remove LFUN_INSET_MINIPAGE
4140 2003-12-28 Angus Leeming <leeming@lyx.org>
4142 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4144 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4146 * text2.C (setParagraph): fix off-by-one crash
4148 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4150 * output_docbook.C: header stuff for AGU
4152 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4154 * text2.C (redoCursor): remove
4157 * BufferView_pimpl.C: remove calls to redoCursor and
4158 setCursor(cursor.par(), cursor.pos()) all around
4160 2003-12-15 Angus Leeming <leeming@lyx.org>
4162 * buffer.C: up the format to 228.
4164 2003-12-15 André Pönitz <poenitz@gmx.net>
4166 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4171 * BufferView_pimpl.C:
4180 2003-12-15 Angus Leeming <leeming@lyx.org>
4182 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4183 than getFromGUIName to manipulate the color.
4185 2003-12-14 Angus Leeming <leeming@lyx.org>
4187 * BranchList.[Ch]: minimize the API.
4188 (Branch::getBranch, getColor): now return a 'const &'.
4189 (Branch::setSelected) now returns a bool set to true if the
4190 selection status changes.
4191 (BranchList::clear, size, getColor, setColor, setSelected,
4192 allBranches, allSelected, separator): removed.
4193 (BranchList::find): new functions, returning the Branch with
4195 (BranchList::add, remove): return a bool indicating that
4196 the operation was successful.
4198 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4199 new InsetBranch::isBranchSlected member function.
4201 * LColor.[Ch]: mimimize the API.
4202 (fill): renamed as addColor and made private.
4203 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4204 versions of these functions taking a string arg have been removed.
4206 * bufferparams.C (readToken):
4207 * lyxfunc.C (dispatch):
4208 * lyxrc.C (read): changes due to the altered BranchList and
4211 * factory.C (createInset, readInset): changes due to altered
4214 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4217 * lyxfunc.C: remove insetminipage. "minipage-insert"
4218 now produces a frameless minipage box inset.
4220 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4222 * textcursor.[Ch] (selStart,selEnd): add new methods
4223 remove selection::start, end, use LyXCursor::operator<
4224 * lyxcursor.[Ch] (operator<): add
4225 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4226 * BufferView.[Ch] (unsetXSel): add
4227 * text2.C (clearSelection): use unsetXSel,adjust
4230 * rowpainter.C: adjust
4231 * bufferview_funcs.C (put_selection_at): adjust
4233 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4235 * BufferView_pimpl.C: small coord. correction
4237 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4239 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4240 dragging over the splash screen.
4242 2003-12-11 Angus Leeming <leeming@lyx.org>
4244 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4245 as it is now handled in LyXText::dispatch.
4247 * text3.C (doInsertInset): remove a level of nesting.
4249 2003-12-11 Angus Leeming <leeming@lyx.org>
4251 * factory.C (createInset): changes due to the changed interface to
4252 InsetCommandMailer::string2params.
4254 2003-12-10 Angus Leeming <leeming@lyx.org>
4256 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4257 'dialog-show-new-inset <inset name>'
4259 2003-12-10 Angus Leeming <leeming@lyx.org>
4261 * buffer.C: up the format to 227.
4263 * factory.C: the box inset is now identified simply by 'Box'.
4265 2003-12-10 Angus Leeming <leeming@lyx.org>
4267 * buffer.C: up the format to 226.
4269 * factory.C: the note inset is now identified simply by 'Note'.
4271 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4273 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4274 when a pit is enough. Standarize a couple of loops.
4276 2003-12-05 Angus Leeming <leeming@lyx.org>
4278 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4279 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4280 data to the re-worked "log" dialog.
4282 2003-12-03 André Pönitz <poenitz@gmx.net>
4288 * paragraph_funcs.C:
4290 * text2.C: use Inset::getText instead of Inset::getParagraph
4292 2003-12-03 André Pönitz <poenitz@gmx.net>
4296 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4297 InsetText::read() as LyXText::read()
4299 2003-12-02 Angus Leeming <leeming@lyx.org>
4301 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4302 type. Add a comment in the implementation that the function uses
4303 the stream's bad() function rather than fail() as the std::streams
4306 2003-12-02 André Pönitz <poenitz@gmx.net>
4308 * lyxlex.[Ch]: make interface more similar to std::stream
4310 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4312 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4314 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4316 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4318 * vspace.[Ch]: remove VSpace::NONE
4320 2003-12-01 André Pönitz <poenitz@gmx.net>
4323 * lyxtext.h: move ParagraphList member to LyXText
4324 rename LyXText::ownerParagraphs to LyXText::paragraph
4327 * bufferview_funcs.C:
4337 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4339 * undo.C: fix cursor positioning
4341 2003-12-01 John Levon <levon@movementarian.org>
4343 * BufferView_pimpl.C: fix a crash on exit with
4346 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4348 * BranchList.C: fix setSelected() method.
4350 2003-11-28 André Pönitz <poenitz@gmx.net>
4352 * ParagraphParameters.[Ch]:
4353 * ParameterStruct.h: remove space above/below from Paragraph to
4356 * BufferView_pimpl.C:
4362 * paragraph_funcs.C:
4368 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4370 * factory.C: Syntax change for CharStyles
4372 2003-11-28 André Pönitz <poenitz@gmx.net>
4377 * buffer.[Ch]: move LyXText member
4379 2003-11-28 André Pönitz <poenitz@gmx.net>
4381 * BufferView.[Ch]: make LyXText * text a private member
4383 * BufferView_pimpl.C:
4394 * output_plaintext.C: cleanup
4396 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4399 * lyxtextclass.[Ch]: parametrize SGML document header
4401 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4404 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4407 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4409 * text2.C (setFont): rework using PosIterator (no more recursive)
4410 (setCharFont): no more needed
4411 (setLayout): no more selection cursors fiddling (done by redoCursor)
4412 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4413 destroy remaining ones)
4415 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4417 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4419 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4422 * text3.C: adjust + re-allow multi par depth changes
4423 * textcursor.C: simplify a bit
4425 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4431 * src/output_docbook.C:
4432 * src/output_latex.C:
4437 * src/text2.C: Introducing a number of tags parametrizing various
4438 XML formats that we may want to support
4440 2003-11-25 André Pönitz <poenitz@gmx.net>
4442 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4444 * lyxtext.h (leftMargin/rightMargin): simplify interface
4451 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4453 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4454 master file to any child files. Fixes bug 546.
4456 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4458 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4460 2003-11-24 André Pönitz <poenitz@gmx.net>
4462 * rowpainter.C: simplification
4464 * text2.C (updateCounters): remove call to redoParagraph on
4465 changed labels as this is far too expensive.
4467 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4469 * converter.C (convert): fix a crash: this function gets
4470 called with buffer == 0 from importer code.
4472 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4474 * text3.C (cursorPrevious): make sure that we do not compare
4475 iterators form different containers.
4478 * rowpainter.C (paintSelection): make sure that we do not compare
4479 iterators from different containers.
4481 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4482 iterators from different ParagraphList containers.
4485 * text2.C (LyXText): change order of initialization slightly
4486 (operator=): new function. copy all variables except cache_par_
4487 (moveUp): make sure that we do not compare iterators from
4488 different ParagraphList constainers.
4491 * text.C (firstPar): new function
4492 (lastPar): new function
4493 (endPar): new function
4495 * lyxtext.h: move things around and group public functions, public
4496 variables, private functions, private variables
4498 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4500 * factory.C: change call to InsetERT constructor to avoid
4501 additional invocation of method status
4502 * text2.C (toggleInset): remove redundant update() call
4503 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4504 instead of a Bufferview pointer
4506 2003-11-21 André Pönitz <poenitz@gmx.net>
4508 * rowpainter.C: simplification
4510 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4512 * text3.C (dispatch): make possible to extend a word/row selection
4515 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4517 * lyxtext.h: x0_,y0_ -> xo_,yo_
4518 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4519 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4520 * rowpainter.C (paintRows): paint full paragraphs
4522 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4524 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4527 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4529 * lyxtext.h: add x0_, y0_
4530 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4531 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4533 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4535 * text2.C (setCursorIntern): move the x_target update here *
4536 * text3.C: change some bv() to true/false in calls to
4537 cursorUp/Down/Right/Left
4538 * cursor.C: use helper function.
4540 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4542 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4543 * paragraph_funcs.[Ch]: correct comment
4544 * rowpainter.C: do not paint selections away from bv->cursor()
4545 Fix a long standing selection painting bug.
4546 * text3.C: generalize mouse-selection code to LyXTexts other that
4548 * textcursor.C: do not use y coords if we can use par offsets
4550 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4552 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4553 cursor position after e.g. inset insert)
4555 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4557 * lyxfind.C (replace): adjust to locking removal + some
4560 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4562 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4565 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4568 * output_docbook.C: XML sanitation: new layout
4569 parameters InnerTag and CommandDepth
4571 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4573 * BufferView_pimpl.C:
4575 * text3.C: Fix the insertion and modification of button-style
4578 2003-11-13 André Pönitz <poenitz@gmx.net>
4580 * InsetList.[Ch]: remove deleteLyXText
4582 * paragraph.[Ch]: cache beginOfBody position
4587 * text3.C: remove superfluous update() calls
4591 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4593 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4594 * BufferView.C (fitLockedInsetCursor): remove
4595 * cursor.[Ch] (getDim): add
4596 * text.C (getRowNearY): add faster version
4597 * text3.C: remove some update calls
4599 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4611 * text3.C: The Character Style /XML short element patch.
4613 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4616 * factory.C: Small step to solving 'unable to insert some insets'
4619 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4621 * cursor.[Ch] (updatePos): new function for updating the y
4622 position of the tip inset
4623 * bufferview_funcs.C (put_selection_at):
4624 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4626 2003-11-11 André Pönitz <poenitz@gmx.net>
4628 * text.C: remove big comment on invalid Paragraph pointers as it is
4631 2003-11-11 André Pönitz <poenitz@gmx.net>
4633 * text_funcs.[Ch]: merge with ...
4641 * Makefile.am: remove text_funcs.[Ch]
4643 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4645 * cursor.C (getPos): return absolute cached y coord
4647 * BufferView_pimpl.C (fitCursor): new simplistic code
4648 (workAreaDispatch): add a fitCursor call
4650 2003-11-10 André Pönitz <poenitz@gmx.net>
4653 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4655 2003-11-10 André Pönitz <poenitz@gmx.net>
4657 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4658 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4659 indicate that the cursor needs to leave an inset
4661 * lyxtext.h: remove inset locking
4663 * cursor.[Ch]: re-implement functionality provided by inset locking
4666 * BufferView_pimpl.[Ch]:
4668 * bufferview_funcs.[Ch]:
4680 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4682 * PosIterator.[Ch]: replace the stack with a vector, add inset
4684 * iterators.[C]: adjust
4686 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4688 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4690 * paragraph_funcs.C (readParToken): put the correct id in the
4691 error item, not the id of the top paragraph
4693 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4695 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4696 * bufferview_funcs.C (put_selection_at): use the above
4698 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4700 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4702 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4704 * output_linuxdoc.h:
4705 * output_plaintext.h:
4707 * output_docbook.h: add #include statements
4709 2003-11-05 José Matos <jamatos@lyx.org>
4711 * output_docbook.[Ch]:
4712 * output_latex.[Ch]:
4713 * output_linuxdoc.[Ch]:
4714 * output_plaintext.[Ch]: New files for output formats.
4715 * output.[Ch]: New file for helper functions.
4718 * paragraph_funcs.[Ch]: output functions moved to new files.
4720 * outputparams.h: rename of latexrunparams.h
4728 * paragraph_funcs.[Ch]:
4729 * paragraph_pimpl.[Ch]:
4730 * tabular.[Ch]: rename ascii to plaintext
4731 and LatexRunParams to OutputParams.
4733 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4735 * iterators.[Ch] (text): require bv argument
4736 * undo.C (recordUndo):
4737 * lyxfunc.C (dispatch):
4738 * bufferview_funcs.C (put_selection_at): adjust
4740 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4742 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4744 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4746 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4749 2003-11-04 André Pönitz <poenitz@gmx.net>
4751 * cursor.[Ch]: restructure
4754 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4756 * iterators.[Ch] (asCursor): remove
4758 * lfuns.h: remove LFUN_INSET_EDIT
4764 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4766 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4768 * lyxfind.[Ch]: complete overhaul
4769 * BufferView_pimpl.C:
4771 * paragraph.[Ch] (insert): add
4773 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4777 * text.C: remove dead spellcheck code
4779 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * dispatchresult.h: add a val setter
4783 * cursor.C (dispatch): use a tempvar for data_[i]
4785 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4787 * PosIterator.[Ch]: compile fix
4789 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4791 * text.C (cursorPar): deactivate the cursor cache
4793 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4795 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4797 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4799 * text3.C (dispatch): adjust for new DisptchResult semantics.
4801 * lyxfunc.C (dispatch): handle update when return from
4802 Cursor::dispatch, adjust for new DispatchResult semantics.
4804 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4805 DispatchResult(true) mean to not update. Add class functions for
4806 setting dispatched and update, as well as reading.
4808 * cursor.C (dispatch): don't handle update here
4810 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4813 * trans_mgr.C: adjust
4815 * paragraph_funcs.C (readParToken): exception safety
4817 * lyxvc.h: store the vcs pointer in a scoped_ptr
4820 * lyxsocket.C (serverCallback): exception safety
4822 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4824 * ispell.C (clone): make it return a auto_ptr
4826 * factory.C (createInset): exception safety
4827 (readInset): exception safety
4829 * bufferlist.C (newBuffer): exception safety
4831 * Thesaurus.C (Thesaurus): use initialization for aik_
4833 * MenuBackend.C (expandToc): exception safety.
4835 2003-11-03 André Pönitz <poenitz@gmx.net>
4839 * bufferview_funcs.C: remove getInsetFromId()
4842 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4848 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4850 * PosIterator.C (distance, advance): new
4851 * bufferview_funcs.[Ch] (put_selection_at): new
4852 * iterators.[Ch] (lockPath): new
4854 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4856 * iterators.[Ch] (asPosIterator): added
4857 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4858 * PosIterator.[Ch]: added
4860 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * cursor.C (dispatch):
4865 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4867 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4868 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4869 contructor, add a class function dispatched. Remove operator>=
4871 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4873 * debug.C: only use the default constructor for debugstream
4876 * main.C (main): include debug.h and setup the lyxerr streambuf
4879 2003-10-31 José Matos <jamatos@lyx.org>
4881 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4883 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4884 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4885 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4886 * paragraph_pimpl.C (simpleTeXSpecialC):
4887 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4888 add LatexRunParams argument.
4890 * exporter.C (Export): change call accordingly.
4892 * latexrunparams.h: add new member to take care of the other backends.
4893 2003-10-30 José Matos <jamatos@lyx.org>
4895 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4896 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4897 factorise code for paragraph output.
4899 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4902 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4904 * text3.C (dispatch):
4905 * lyxfunc.C (dispatch):
4906 * cursor.C (dispatch):
4907 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4909 * dispatchresult.h: make the dispatch_result_t ctor explicit
4911 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4914 * buffer.C: small refactoring of docbook stuff
4916 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4921 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4923 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4924 operator dispatch_result_t, and operators for == != and >=
4926 * cursor.C (dispatch): adjust for operator dispatch_result_t
4927 removal. comment out call to update
4929 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4931 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4942 * dispatchresult.h: new file, DispatchResult broken out of
4945 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4947 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4949 * text.C (rowBreakPoint): put a hack inside #if 0
4951 2003-10-28 André Pönitz <poenitz@gmx.net>
4955 * paragraph_funcs.C:
4958 * text2.C: general cleanup (lots of small stuff)
4960 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4962 * text2.C (cursorEnd): simple fix to the "end key goes to one
4963 before the end on last row" bug
4965 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4967 * text.C (backspace): fix the "zombie characters"
4969 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4971 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4973 2003-10-27 André Pönitz <poenitz@gmx.net>
4975 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4977 * factory.C: handle new InsetPagebreak, InsetLine
4979 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4980 and move handling into new InsetPagebreak, InsetLine
4982 * BufferView_pimpl.C:
4984 * ParagraphParameters.C:
4985 * ParameterStruct.h:
4990 * paragraph_funcs.C:
4991 * paragraph_pimpl.C:
4997 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5000 * lyxrow_funcs.[Ch]:
5006 * text3.C: remove lastPos uses in favour of Row::endpos
5008 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5010 * undo.C (performUndoOrRedo): fix two crashes by setting a
5011 cursor by hand and reordering some calls. Use bv->lockInset instead
5012 of inset->edit because the latter loses cursor information
5014 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5016 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5018 (rowBreakPoint): fix width. change point to point + 1.
5019 Add a missing check.
5021 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5024 * lyxfunc.C: fix (at least partly) the problems
5025 with the Nav menu and headers inside branch insets
5028 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5030 * paragraph.C (getChar): add strong asserts
5032 * lyxrow_funcs.C (lastPos): remove hideous hack
5034 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5035 (fill): adjust to that (avoid an infinite loop)
5037 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5039 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5041 2003-10-23 André Pönitz <poenitz@gmx.net>
5043 * RowList_fwd.h: change list<> to vector<> to gain speed
5044 after suggestion from Alfredo
5046 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5048 * lyxtext.h: move the bidi stuff from here...
5051 * Bidi.[Ch]: ... to here
5053 2003-10-23 André Pönitz <poenitz@gmx.net>
5056 * text.C (isLastRow, isFirstRow): new functions
5058 * paragraph.h: new width cache member
5060 * rowpainter.C: replace RowList::iterator with Row & where possible
5062 * lyxfunc.C: replace several view()->text with a single call
5064 * toc.C: fix 'unused' warning
5066 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5069 when woring with stream::pos_type
5070 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5072 2003-10-22 André Pönitz <poenitz@gmx.net>
5075 * text.C: use Row & instead of RowList::iterator
5077 * lyxrow.h: rename end() to endpos()
5083 2003-10-22 Angus Leeming <leeming@lyx.org>
5085 * buffer.[Ch] (fully_loaded): new member function, returning true
5086 only when the file has been loaded fully.
5087 Used to prevent the premature generation of previews and by the
5088 citation inset to prevent computation of the natbib-style label.
5090 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5091 templates are all set up.
5093 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5095 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5097 * text.C: fixed an "oops" in the "is a bit silly"
5100 2003-10-21 André Pönitz <poenitz@gmx.net>
5102 * FuncStatus.[Ch]: small stuff, whitespace
5104 * lyxfont.[Ch]: operator<<() for debug reasons
5108 * lyxtext.h: whitespace, spelling
5110 * paragraph.C: naming of variables
5113 * text2.C: small stuff
5116 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5118 * text.C: (1) finish off the inset display() work;
5119 (2) fix the "is a bit silly" bug (accessing char
5122 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5124 * text.C: re-introduce display() for insets, fixing the
5125 various bugs (stretch of line above, math inset
5128 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5130 * text.C (rightMargin): remove spurious semicolon
5132 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5135 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5137 * text3.C: fix one crash due to wrong cursor def
5139 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * vc-backend.C (scanMaster): make the regex static
5143 * LaTeX.C (scanAuxFile): make the regexs static
5145 * text3.C (doInsertInset, dispatch, dispatch):
5146 * text2.C (cursorUp, cursorDown):
5147 * text.C (selectNextWordToSpellcheck):
5148 * BufferView_pimpl.C (dispatch):
5149 * lyxfunc.C (dispatch): localDispatch -> dispatch
5151 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5153 * lyxsocket.C: include <cerrno>
5155 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5157 * lyxfunc.C (dispatch): remove textcache stuff
5159 * bufferlist.C (release): remove textcache stuff
5162 * TextCache.C: delete file
5163 * TextCache.h: delete file
5165 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5167 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5168 delete of the bv_->text.
5169 (resizeCurrentBuffer): remove texcache stuff
5170 (workAreaResize): ditto
5172 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5177 2003-10-16 André Pönitz <poenitz@gmx.net>
5184 * text3.C: speed up by storing y positions per paragraph plus per-row
5185 offset instead of having a 'full' y position in the row.
5187 2003-10-15 André Pönitz <poenitz@gmx.net>
5191 * undo.[Ch]: make undo aware of inner insets
5193 2003-10-14 Angus Leeming <leeming@lyx.org>
5195 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5196 static member functions LyX::ref() and LyX::cref.
5197 (lastfiles): new accessor functions for the new lastfiles_ member var.
5198 (addLyXView, views_): add a new LyXView to the list of views_.
5199 (updateInset): loop over all LyXViews to call their own updateInset
5200 member function, returning a pointer to the Buffer owning the inset.
5202 * BufferView_pimpl.C (loadLyXFile):
5203 * MenuBackend.C (expandLastfiles):
5204 * bufferlist.C (MenuWrite, QuitLyX):
5205 lastfiles is no longer a global variable.
5206 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5208 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5209 static function. Access through LyX::cref().emergencyCleanup().
5211 2003-10-14 André Pönitz <poenitz@gmx.net>
5213 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5215 * undo.[Ch]: restoring part of 'undo in insets'
5218 * undo_funcs.[Ch]: merge with undo.[Ch]
5220 * tabular.C: small cleansing stuff
5222 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5224 * paragraph_funcs.C (readParToken): report unknown insets as error
5225 boxes. Use the outer paragraph as location (also for unknown
5228 * factory.C (readInset): do not abort on reading an unknown inset.
5229 Eat it and return 0.
5231 2003-10-13 Angus Leeming <leeming@lyx.org>
5233 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5235 * lyxrc.C: displayTranslator is now a function,
5236 declared in GraphicsTypes.h.
5238 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5240 * format.C: new placeholder $$a to pass the socket address.
5242 * bufferlist.[Ch]: new function getBufferFromTmp.
5244 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5245 files in the temporary dir.
5247 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5249 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5251 * Makefile.am: add lyxsocket.[Ch].
5253 * lyx_main.C (error_handler): handle SIGPIPE.
5255 2003-10-13 André Pönitz <poenitz@gmx.net>
5257 * BufferView_pimpl.C:
5262 * undo_funcs.[Ch]: use paroffset_type instead of
5263 ParagraphList::iterators to prevent multiple conversion
5264 (and get a more robust interface)
5266 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5268 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5270 * text3.C (dispatch): ditto
5272 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5274 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5275 move the onlyfile, use onlyfile instead of foundfile in a couple
5278 * DepTable.C (update): flush the error stream a bit more
5280 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * lyxserver.C (callback): adjust
5284 * lyxfunc.C (getStatus): add a missing brace in commented code
5285 (ensureBufferClean): reindent
5286 (dispatch): delete version taking a string
5288 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5290 * LaTeX.C (deplog): move found file handlig from here...
5291 (handleFoundFile): .. to new function here.
5292 (deplog): make sure to discover several files mentioned on the
5295 2003-10-10 André Pönitz <poenitz@gmx.net>
5302 * text3.C: fix some of the tabular crashes
5304 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5306 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5308 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5310 2003-10-09 André Pönitz <poenitz@gmx.net>
5312 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5315 * BufferView_pimpl.C:
5316 * bufferview_funcs.C:
5327 * undo_funcs.C: adjust
5329 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5331 * text2.C (incrementItemDepth): new function, use a backtracking
5332 algorithm to discover the correct item depth.
5333 (resetEnumCounterIfNeeded): new function, use a backtracking
5334 algorithm to discover if counter reset is needed.
5335 (setCounter): use them. Simplify a bit. Add different labels for
5336 different item depths for itemize.
5338 * paragraph.C (Paragraph): remove initialization of enumdepth
5341 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5342 enumerate and itemize. Change the type of itemdepth to signed char.
5344 2003-10-08 André Pönitz <poenitz@gmx.net>
5346 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5351 * tabular.[Ch]: fix crash after 'row-insert'
5353 2003-10-08 Angus Leeming <leeming@lyx.org>
5355 Fix doxygen warnings.
5357 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5358 Remove CutAndPaste:: prefix from header file declaration.
5360 * LColor.h (fill): remove LColor:: prefix from declaration.
5362 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5363 use lyx::depth_type rather than Paragraph::depth_type so that
5364 header file and .C file match.
5366 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5368 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5369 * aspell.C: \file aspell_local.C -> \file aspell.C
5370 * gettext.C: \file gettext.C -> \file src/gettext.C
5371 * gettext.h: \file gettext.h -> \file src/gettext.h
5372 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5373 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5374 * text.C: \file text.C -> \file src/text.C
5376 * toc.C: move comment so that doxygen is not confused.
5378 2003-10-07 Angus Leeming <leeming@lyx.org>
5380 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5382 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5385 * aspell_local.h: add forgotten std::string's.
5387 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5394 * text3.C: The Box patch. Fancybox support, minipage, parbox
5396 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5402 * ParagraphParameters.h:
5412 * lyxtextclasslist.h:
5415 * paragraph_pimpl.C:
5416 * textcursor.h: add <string> and other small fixes to make Lars'
5417 std::string patch compile with STLport.
5419 2003-10-06 Angus Leeming <leeming@lyx.org>
5421 * LColor.h: Add missing #include <string>.
5423 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5425 * All most all file in all subdirs: Make <string> be the prefered
5426 way of getting to std::string, add using declarations.
5428 2003-10-06 André Pönitz <poenitz@gmx.net>
5430 * metricsinfo.C: initialize LyXFont before changing attribute.
5431 (fixes the 'math in \emph is upright' bug)
5433 2003-10-06 André Pönitz <poenitz@gmx.net>
5435 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5437 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5440 * paragraph_pimpl.C: Small fixes to build using STLport
5442 2003-10-02 André Pönitz <poenitz@gmx.net>
5445 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5447 2003-10-01 André Pönitz <poenitz@gmx.net>
5449 * factory.C: assert early
5451 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5453 * lyx_main.C: remove the global debug object
5455 * debug.h: adjust for new debugstream
5457 * debug.C: adjust for new debugstream and keep the global debug
5460 2003-09-22 Angus Leeming <leeming@lyx.org>
5462 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5463 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5464 an incomplete class LyXFont.
5466 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5468 * factory.C: bug fix in branches
5470 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5472 * lyxfunc.C (processKeySym): adjust
5474 (dispatch): change arg name from ev to func, adjust
5475 (sendDispatchMessage): ditto
5477 * lyx_main.C (defaultKeyBindings): adjust keybindings
5478 (deadKeyBindings): ditto
5480 * kbsequence.C (addkey): return a FuncRequest
5482 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5484 * kbmap.C (bind): take a FuncRequest as arg, adjust
5487 (defkey): change to take a FuncRequest as arg, adjust
5488 (findbinding): take a FuncRequest as arg, adjust.
5490 * funcrequest.h (operator=): added
5492 * funcrequest.C (FuncRequest): default kb_action changed from
5493 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5495 * buffer.C (dispatch): simplify
5496 (dispatch): adjust to take a FuncRequest as arg, adjust
5498 * boost.C (assertion_failed): change assertion message slightly
5500 * ToolbarBackend.C (read): simplify
5502 * MenuBackend.C (binding): adjust call to findbinding, add a
5503 message if no binding is found.
5505 (expandToc): correct by adding a empty FuncRequest
5507 * LyXAction.C: include <boost/assert.hpp>
5508 (isPseudoAction): delete function
5509 (LookupFunc): change name to...
5510 (lookupFunc): this. change return type to FuncRequest.
5511 (getActionName): take kb_action as arg, simplify
5512 (funcHasFlag): add an assert, simplify.
5514 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5516 * toc.C (action): return a FuncRequest, simplify
5518 * lyxfunc.C (processKeySym): adjust
5519 (getStatus): delete version that takes an int.
5521 (dispatch): delete version that takes action as int
5523 (sendDispatchMessage): simplify and adjust
5525 * funcrequest.C (getArg): take unsigned int as arg
5527 * ToolbarBackend.C (read): adjust
5528 (add): delete version that takes func as a string.
5529 (getIton): take a FuncRequest as arg
5531 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5534 * MenuBackend.C (MenuItem): add a new construct that only takes a
5535 Kind, simplify the constructor use for submenus.
5537 (expandLastfiles): adjust
5538 (expandDocuments): adjust
5539 (expandFormats): adjust
5540 (expandFloatListInsert): adjust
5541 (expandFloatInsert): adjust
5542 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5544 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5545 Remove class variables lyx_pseudo_map and lyx_arg_map
5547 * LyXAction.C (searchActionArg): delete function
5548 (getPseudoAction): delete function
5549 (retrieveActionArg): delete function
5550 (LookupFunc): make it return kb_action, simplify.
5551 (getActionName): simplify
5553 * factory.C (createInset): fix new bug
5555 2003-09-19 Angus Leeming <leeming@lyx.org>
5557 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5558 masterFilename_ parameter in the include inset.
5560 * factory.C (createInset): changes due to the changes to InsetInclude.
5562 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5564 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5566 2003-09-18 Angus Leeming <leeming@lyx.org>
5569 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5570 Inset::fillWithBibKeys.
5571 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5573 2003-09-18 Angus Leeming <leeming@lyx.org>
5575 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5577 (ctor): pass and store a 'Buffer const &'
5578 (buffer): new member function.
5580 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5581 '*this' to the LaTeXFeatures ctor.
5583 2003-09-18 Angus Leeming <leeming@lyx.org>
5589 * text.C: rename EnumLColor as LColor_color.
5591 2003-09-18 Angus Leeming <leeming@lyx.org>
5593 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5594 remove #include "insets/insetbase.h" from cursor.h.
5596 2003-09-18 Angus Leeming <leeming@lyx.org>
5598 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5599 InsetOld_code to remove #include "inset.h".
5601 * iterators.C: add #include "insets/inset.h"
5603 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5605 * BufferView.C: remove more locking stuff that apparently doesn't
5606 do anything sensible.
5608 2003-09-16 André Pönitz <poenitz@gmx.net>
5611 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5614 2003-09-16 Angus Leeming <leeming@lyx.org>
5616 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5618 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5621 * paragraph.h: remove #include "lyxfont.h". Forward declare
5624 2003-09-16 Angus Leeming <leeming@lyx.org>
5626 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5627 of support/textutils.h.
5628 (isWord): move the contents of support/textutils.h's IsWordChar here.
5634 * text2.C: add #include "paragraph.h".
5637 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5639 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5645 * LaTeX.C: use namespace alias for lyx::support::os
5647 2003-09-16 Angus Leeming <leeming@lyx.org>
5650 * bufferview_funcs.C:
5653 * paragraph_pimpl.C:
5655 * text.C: add #include "LColor.h".
5657 2003-09-16 Angus Leeming <leeming@lyx.org>
5659 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5660 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5662 Store the FontBits::color variable as an int rather than as an
5663 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5666 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5667 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5668 string calls together.
5670 * lyxrc.C: add #include "LColor.h".
5672 2003-09-15 Angus Leeming <leeming@lyx.org>
5674 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5677 2003-09-15 Angus Leeming <leeming@lyx.org>
5679 * LColor.h: add an EnumLColor wrapper for LColor::color.
5681 * lyxfont.[Ch] (color, setColor, realColor):
5682 * lyxtext.h, text.C (backgroundColor):
5683 pass EnumLColor args to/from the functions, rather than LColor::color
5687 * lyxtext.h: forward declare EnumLColor.
5689 * lyx_main.C: add #include "LColor.h".
5691 2003-09-15 Angus Leeming <leeming@lyx.org>
5693 * .cvsignore: add lyx-gtk.
5695 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5700 * ParagraphParameters.C
5704 * bufferview_funcs.C
5714 * vc-backend.C: remove usage of STRCONV
5716 2003-09-15 Angus Leeming <leeming@lyx.org>
5718 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5719 explicitly define the color passed to the painter.
5721 2003-09-15 Angus Leeming <leeming@lyx.org>
5723 * bufferparams.C (BufferParams): reorder member initializers to avoid
5726 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5728 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5729 * text.C (updateRowPositions): remove an unusual nop
5731 2003-09-12 André Pönitz <poenitz@gmx.net>
5733 * BufferView_pimpl.C:
5742 * Counters.[Ch]: finish the 'automatic counters' job
5744 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5746 * aspell.C: include <boost/assert.cpp> (compile fix)
5748 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5750 * boost.C (assertion_failed): use lyx::support::abort instead of
5753 2003-09-10 Angus Leeming <leeming@lyx.org>
5755 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5756 with their _fwd progeny.
5758 2003-09-09 Angus Leeming <leeming@lyx.org>
5760 134 files throughtout the source tree: replace 'using namespace abc;'
5761 directives with the appropriate 'using abc::xyz;' declarations.
5763 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5765 * boost.C (emergencyCleanup): moved here from LAssert.c
5766 (assertion_failed): new function, called by BOOST_ASSERT
5768 * several files: change Assert to BOOST_ASSERT
5770 2003-09-09 Angus Leeming <leeming@lyx.org>
5772 * buffer.[Ch]: Add an Impl class and move Buffer's member
5773 variables into it. As a result move several header files out of
5776 Add header files to lots of .C files all over the tree as a result.
5778 2003-09-09 Angus Leeming <leeming@lyx.org>
5780 * buffer.[Ch]: make Buffer's member variables private. Add
5783 Lots of changes all over the tree as a result.
5785 2003-09-08 Angus Leeming <leeming@lyx.org>
5787 * graph.C: #include <config.h>.
5789 2003-09-08 Angus Leeming <leeming@lyx.org>
5793 * BufferView_pimpl.C:
5822 * toc.C: remove redundant using directives.
5824 2003-09-07 Angus Leeming <leeming@lyx.org>
5826 * LaTeXFeatures.h: remove #include "support/types.h".
5827 * ToolbarBackend.h: remove #include <algorithm>.
5828 * changes.h: remove #include <ctime>.
5829 * debug.h: remove #include <iosfwd>.
5830 * graph.h: remove #include "support/std_string.h".
5831 * lyx_main.h: remove #include <csignal>.
5832 * lyxlex_pimpl.h: remove #include <fstream>.
5833 * sgml.h: remove #include <algorithm>, <utility>.
5834 * toc.h: remove #include "support/std_ostream.h".
5835 Add #include <iosfwd>.
5837 2003-09-07 Angus Leeming <leeming@lyx.org>
5839 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5841 * converter.h: forward declare LatexRunParams.
5842 * encoding.h: remove #include "lyxrc.h".
5843 * lyxtext.h: remove #include "LColor.h".
5844 * lyxtextclass.h: remove #include "support/types.h".
5845 * trans.h: remove #include "tex-accent.h".
5846 * trans_mgr.h: remove #include "tex-accent.h".
5847 * insets/inset.h: remove #include "support/types.h", <vector>.
5848 * insets/insetcollapsable.h: remove #include "LColor.h".
5849 * insets/insetinclude.h: remove #include "dimension.h".
5850 * insets/insetlatexaccent.h: remove #include "dimension.h".
5851 * insets/insetoptarg.h:: remove #include "insettext.h".
5852 * insets/insettext.h: remove #include "dimension.h",
5853 <boost/shared_ptr.hpp>
5855 * insets/renderers.h: add #include "dimension.h".
5856 * insets/updatableinset.h: add #include "support/types.h".
5858 * many .C files: Associated changes.
5860 2003-09-06 Angus Leeming <leeming@lyx.org>
5862 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5863 one, inside testInvariant.
5865 * PrinterParams.C: new file.
5866 * PrinterParams.[Ch]: move the function bodies out of line.
5868 2003-09-06 Angus Leeming <leeming@lyx.org>
5870 * ParagraphParameters.h: forward declare ParameterStruct rather than
5871 including its header file.
5872 (depth): moved out-of-line.
5874 2003-09-06 Angus Leeming <leeming@lyx.org>
5876 * BufferView_pimpl.h:
5879 * lyxfunc.h: forward declare LyXKeySym rather than
5880 #include "frontends/LyXKeySym.h".
5882 * BufferView_pimpl.C:
5885 * lyxfunc.C: associated changes.
5887 2003-09-06 Angus Leeming <leeming@lyx.org>
5889 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5890 As a result, can remove the #include "insets/inset.h" from BufferView.h
5892 2003-09-06 Angus Leeming <leeming@lyx.org>
5894 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5895 As a result, can remove the #include "insets/inset.h" from BufferView.h
5897 2003-09-06 Angus Leeming <leeming@lyx.org>
5903 * bufferview_funcs.C:
5904 * BufferView_pimpl.C:
5909 * ParagraphParameters.C:
5914 * frontends/controllers/ControlDocument.C:
5915 * insets/insetcaption.C: rearrange the #includes into some sort of
5918 * buffer.h: remove #includes ErrorList.h, undo.h
5920 2003-09-06 Angus Leeming <leeming@lyx.org>
5922 * support/types.h: add a 'depth_type' typedef, used to store the
5923 nesting depth of a paragraph.
5926 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5927 defining explicitly.
5930 * paragraph_funcs.h:
5931 * ParagraphParameters.h:
5932 * sgml.h: use lyx::depth_type rather than Paragraph or
5933 ParameterStruct's depth_type.
5936 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5939 * BufferView_pimpl.C:
5941 * ParagraphParameters.C:
5944 * bufferview_funcs.C:
5951 * frontends/LyXView.C:
5952 * frontends/controllers/ControlDocument.C:
5953 * frontends/controllers/ControlErrorList.C:
5954 * insets/insetbibitem.C:
5955 * insets/insetbranch.C:
5956 * insets/insetcaption.C:
5957 * insets/insetcollapsable.C:
5958 * insets/insetenv.C:
5959 * insets/insetert.C:
5960 * insets/insetfloat.C:
5961 * insets/insetfoot.C:
5962 * insets/insetfootlike.C:
5963 * insets/insetnewline.C:
5964 * insets/insetquotes.C:
5965 * insets/insettabular.C:
5966 * insets/insettext.C:
5967 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5969 * frontends/controllers/ControlChanges.C: #include "changes.h".
5971 2003-09-06 Angus Leeming <leeming@lyx.org>
5973 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5974 than #including paragraph.h.
5977 * RowList.h: deleted. Superfluous.
5987 * insets/insettext.h: use ParagraphList_fwd.h rather than
5990 * paragraph.h: don't forward declare ParagraphList.
5993 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5994 rather than ParagraphList.h. paragraph.h is still needed for the
5995 Paragraph::depth_type parameters.
5997 * textcursor.h: enable it to compile stand-alone in light of the
6000 * bufferview_funcs.C:
6012 * frontends/controllers/ControlParagraph.C:
6013 * frontends/controllers/ControlTabular.C:
6014 * insets/insetmarginal.C:
6015 * insets/insetminipage.C:
6016 * insets/insetnote.C:
6017 * insets/insetoptarg.C: add header files needed to compile again.
6019 2003-09-06 Angus Leeming <leeming@lyx.org>
6021 * RowList_fwd.h: new file, forward-declaring Row rather than
6022 #including lyxrow.h.
6027 * insets/insettext.h: use it instead of RowList.h
6029 * bufferview_funcs.C:
6036 * text3.C: #include "RowList.h".
6038 2003-09-05 Angus Leeming <leeming@lyx.org>
6040 * factory.C (createInset):
6041 * vspace.C (c-tor): replace sscanf call with an istringstream.
6042 * ispell.C: re-add missing HP/UX headers.
6043 * lyxserver.C: re-add missing os2 headers.
6045 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6054 * text3.C: re-add missing system headers, needed for 2.95.2.
6056 2003-09-05 Angus Leeming <leeming@lyx.org>
6058 Changes most place everywhere due to the removal of using directives
6059 from support/std_sstream.h.
6061 2003-09-05 Angus Leeming <leeming@lyx.org>
6063 Replace LString.h with support/std_string.h,
6064 Lsstream.h with support/std_sstream.h,
6065 support/LIstream.h with support/std_istream.h,
6066 support/LOstream.h with support/std_ostream.h.
6068 Changes resulting throughout the tree.
6070 2003-09-05 Angus Leeming <leeming@lyx.org>
6072 * sgml.h: ensure that the header file can be compiled stand-alone.
6073 * *.C: strip out redundant #includes. (320 in total.)
6075 2003-09-04 Angus Leeming <leeming@lyx.org>
6077 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6078 here (from getPackages).
6080 * debug.[Ch]: add a new EXTERNAL tag.
6082 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6084 * text2.C (cursorEnd): simplify
6086 (getColumnNearX): adjust
6088 * text.C (computeBidiTables): adjust
6091 * rowpainter.C (paintChars): adjust
6092 (paintSelection): adjust
6093 (paintChangeBar): adjust
6096 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6098 (numberOfSeparators): adjust
6100 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6106 * text3.C: Restricts the mouse click functionality
6107 of insets like bibtex, include, toc and floatlist to the visible
6108 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6109 up the dialogs. Cursor has to be in front of the inset (i.e.
6110 start of row) for this to function.
6112 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6114 * bufferview_funcs.C (currentState): output row information
6116 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6118 * bufferview_funcs.C (currentState): output paragraph position
6120 2003-09-04 Angus Leeming <leeming@lyx.org>
6122 * FloatList.h: move out #include "Floating.h".
6123 * LaTeX.h: move out #include "DepTable.h".
6124 * LyXAction.h: move out #include "funcrequest.h".
6125 * buffer.h: move out #include "author.h", "iterators.h".
6126 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6127 * lyx_main.h: move out #include "errorlist.h".
6128 * lyxfunc.h: move out #include "FuncStatus.h".
6129 * lyxtext: move out #include "lyxcursor.h".
6130 * paragraph_pimpl.h: move out #include "counters.h".
6132 2003-09-03 Angus Leeming <leeming@lyx.org>
6134 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6135 preamble_snippets list, enabling us to add snippets to the preamble
6136 only if the snippet was not there already.
6138 2003-09-04 Angus Leeming <leeming@lyx.org>
6140 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6142 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6144 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6147 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6149 * BranchList.C: point fix, earlier forgotten
6151 2003-09-02 Angus Leeming <leeming@lyx.org>
6153 * box.C (contains): renamed from 'contained' after a fantastic
6156 2003-09-02 John Levon <levon@movementarian.org>
6162 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6164 2003-09-02 John Levon <levon@movementarian.org>
6166 * text2.C: simplification of cursorEnd(), including partial
6169 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6171 * buffer.C (readFile): add a space
6173 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6175 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6177 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * buffer.C (readFile): new function, take a filename and a
6180 ParagraphList::iterator
6182 (readFile): adjust, make it private. don't use setStream, make
6183 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6184 always contain the filename.
6186 * BufferView.C (insertLyXFile): simplify and make it work for
6189 2003-08-30 John Levon <levon@movementarian.org>
6191 * Makefile.am: fix dist (from Kayvan)
6193 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * most files: change to use const Buffer refs
6197 2003-08-27 André Pönitz <poenitz@gmx.net>
6199 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6200 on top of ownerPar().
6202 2003-08-27 John Levon <levon@movementarian.org>
6204 * funcrequest.C: properly initialise POD members
6206 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6208 * lyxtext.h (top_y): move top_y from here
6213 * BufferView_pimpl.[Ch]: to here
6214 * frontends/screen.C:
6215 * insets/insettabular.C:
6216 * insets/insettext.C: adjust
6217 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6219 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6222 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6224 2003-08-26 André Pönitz <poenitz@gmx.net>
6226 * paragraph_func.[Ch] (outerPar): new function
6229 * paragraph_funcs.C:
6230 * paragraph_funcs.h:
6231 * paragraph_pimpl.C:
6232 * text2.C: remove Inset::par_owner
6234 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6239 * text2.C: eliminates the needFullRow/display() stuff
6240 altogether, putting the logic in metrics/draw in the insets.
6242 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6244 * text2.C (redoParagraphInternal, redoParagraphs):
6245 * text.C (redoParagraph): add a call to updateRowPositions at the
6246 end of each 'metrics-like' call. Remove all others.
6247 (getRow): remove the 'y-computing' version.
6248 (getRowNearY): do not compute nor return the real y. Solve the
6249 'y < 0' problem and simplify.
6251 2003-08-22 Angus Leeming <leeming@lyx.org>
6253 * *.[Ch]: clean-up of licence and author blurbs.
6254 Also move config.h out of a few .h files and into a few .C files.
6256 2003-08-22 André Pönitz <poenitz@gmx.net>
6258 * lyxrow.[Ch]: add x_ and *fill_ members
6263 * text2.C: adjust/remove prepareToPrint() calls
6265 2003-08-22 André Pönitz <poenitz@gmx.net>
6267 * lyxrow.[Ch]: add end_ member
6269 * lyxrow_funcs.C: use LyXRow::end_
6271 * lyxtext.h (singleWidth): add LyXFont parameter
6274 * text2.C: adjust LyXText::singleWidth() calls
6276 * text.C (redoParagraph): simplify row breaking logic
6279 2003-08-19 André Pönitz <poenitz@gmx.net>
6281 * funcrequest.C: initialize button_ member
6284 * rowpainter.[Ch]: interface consolidation
6286 2003-08-18 André Pönitz <poenitz@gmx.net>
6289 * BufferView_pimpl.C:
6291 * paragraph_funcs.C:
6293 * text3.C: remove LyXScreen::draw() and fitCursor calls
6295 * BranchList.h: remove spurious semicolons
6297 * MenuBackend.C: fix branchlist related crash
6299 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6307 * bufferparams.[Ch]:
6311 * text3.C: implements the 'branch inset'
6312 idea. This allows the output of various versions of a document
6313 from a single source version, selectively outputing or suppressing
6314 output of parts of the text.
6315 This implementation contains a 'branch list editor' in a separate
6316 tab of the document settings dialog. Branches are user definable
6317 and have a "display colour" to distinguish them on-screen.
6319 ColorHandler was somewhat cleaned up.
6320 (1) make possible a dynamically growing LColor list by allowing
6321 the graphic context cache to grow along (vector);
6322 (2) eliminate an IMHO unnecessary step in colour allocation.
6324 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6326 * BufferView_pimpl.C: compile fix
6328 2003-08-15 André Pönitz <poenitz@gmx.net>
6330 * rowpainter.C: remove extra metrics calls
6332 * lyxtext.h: merge the two constructors into a single one,
6333 pass reference to owner's par list
6335 * BufferView_pimpl.C:
6339 2003-08-15 André Pönitz <poenitz@gmx.net>
6341 * lyxrow_funcs.[Ch]:
6344 * paragraph_funcs.C:
6349 * text_funcs.C: split LyXText::rowlist_ into individual
6350 Paragraph::rows_ chunks
6353 * BufferView_pimpl.[Ch]:
6356 * text3.C: remove toggleSelection()
6358 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6360 * bufferlist.C: beautify two alerts (shorter text of buttons)
6361 * buffer.C: Remove redundant ' ' from message
6363 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6364 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6365 rename VALIGN_CENTER to VALIGN_MIDDLE
6367 2003-08-11 André Pönitz <poenitz@gmx.net>
6369 * lyxtext.h (getPar):
6370 * text.C: new function
6372 2003-08-11 André Pönitz <poenitz@gmx.net>
6375 * tracer.[Ch]: remove unneeded files
6377 * InsetList.[Ch]: remove resizeInsetsLyXText()
6382 * text3.C: merge insertParagraphs() and appendParagraph()
6383 remove breakAgain(), update()
6385 * BufferView_pimpl.[Ch]:
6386 * bufferview_funcs.[Ch]:
6390 * tabular.C: adjust after text & InsetList changes.
6392 2003-08-08 André Pönitz <poenitz@gmx.net>
6394 * text.C (insertChar, backspace): replace rowlist fiddling
6395 with rebreak of full par
6398 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6399 checkParagraph, updateInset): removed
6401 2003-08-07 André Pönitz <poenitz@gmx.net>
6404 * text3.C: merge some LFUN handlers, remove dead code
6406 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6408 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6410 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6412 * text2.C (DEPM): fix part of bug 1255 and 1256
6414 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6416 * BufferView_pimpl.C (workAreaDispatch): change to use
6417 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6418 that are no mouse related.
6420 2003-08-05 André Pönitz <poenitz@gmx.net>
6423 * BufferView_pimpl.[Ch]:
6424 * bufferview_funcs.C:
6426 * text3.C: rip out "deep update"
6428 * textcursor.[Ch] (last_sel_cursor): remove unused member
6430 2003-08-04 André Pönitz <poenitz@gmx.net>
6433 * BufferView_pimpl.[Ch]:
6434 * ParagraphParameters.C:
6435 * bufferview_funcs.C:
6441 * text3.C: replace "complicated" BufferView::update(...) calls with
6444 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6446 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6448 * Makefile.am (lyx_SOURCES): add paper.h
6450 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6452 * Makefile.am: move things around so that both lyx-qt and
6453 lyx-xforms can be built (according to --with-frontend). Then lyx
6454 is a symbolic link to lyx-[firstfrontend]
6456 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6458 * Always use std::endl with lyxerr
6460 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6462 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6464 2003-08-01 André Pönitz <poenitz@gmx.net>
6467 * BufferView_pimpl.[Ch]:
6469 * text3.C: merge BufferView::repaint() and BufferView::update()
6471 2003-08-01 José Matos <jamatos@lyx.org>
6473 * buffer.[Ch]: file_format is no longer a buffer data element.
6475 2003-08-01 André Pönitz <poenitz@gmx.net>
6480 * text2.C: make redoParagraph more independent of current cursor
6482 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6484 * text2.C: remove unneeded members
6486 2003-07-30 André Pönitz <poenitz@gmx.net>
6488 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6490 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6491 create a single function...
6493 * paragraph_funcs.C (moveItem): ... here.
6496 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6498 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6500 * LColor.[Ch]: Add comment and greyedout logical colors.
6502 2003-07-30 André Pönitz <poenitz@gmx.net>
6504 * tabular.C: don't use Assert too heavily. This crashes where it
6507 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6509 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6510 is disabled (bug 1232)
6512 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6514 * factory.C: limited 'arg' scope
6516 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6518 * factory.C: fixed Note submenu issues
6520 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6522 * factory.C: submenu for Note/Comment/Greyedout
6524 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6527 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6529 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6532 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6533 greyedout. Patch provided by Jürgen Spitzmüller.
6535 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6537 * kbmap.C (read): fix error message when reading bind files
6539 2003-07-29 Angus Leeming <leeming@lyx.org>
6541 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6542 certainly does not do what it purports to do. I am doing it, and
6543 us, a favour by killing it.
6545 2003-07-28 José Matos <jamatos@lyx.org>
6547 * buffer.C (readBody, do_writeFile):
6548 * paragraph.C(readParagraph): \end_document replaces \the_end.
6550 2003-07-29 André Pönitz <poenitz@gmx.net>
6553 * BufferView_pimpl.[Ch]:
6557 * textcursor.[Ch]: remove toggleToggle & Co
6559 2003-07-28 José Matos <jamatos@fep.up.pt>
6561 * buffer.C (readParagraph):
6562 * params_func (readParToken, readParagraph):
6563 * paragraph.C (write): \layout -> \begin_layout.
6565 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6567 * lyxlex_pimpl.C (setFile): clean up slightly.
6569 * bufferparams.h: add compressed var
6571 * buffer_funcs.C (readFile): adjust for LyXLex change
6572 (newFile): ditto + simplify
6574 * buffer.C (writeFile): handle writing of compressed files
6576 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6577 Check if the file is compressed and set a bufferparm if so.
6579 * Makefile.am (lyx_LDADD): remove explicit -lz
6581 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6583 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6584 makeDocBookFile): put the real LyX version in the first line of
6588 * version.C.in: remove lyx_docversion
6590 * tabular.C (write_attribute): add a template-based version to
6591 write enums properly
6593 2003-07-28 André Pönitz <poenitz@gmx.net>
6598 * text3.C: use doubles again for x-coordinates. They are needed.
6600 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * messages.C (getLocaleDir): use lyx_localedir()
6604 * lyxlex_pimpl.C (setFile): compress stuff
6606 * buffer.C (writeFile): add some compression stuff
6607 (do_writeFile): new func, dont call expliti close... will this
6610 * Makefile.am (lyx_LDADD): add -lz
6612 2003-07-28 José Matos <jamatos@fep.up.pt>
6614 * buffer.C: increment file format.
6615 * paragraph_funcs (readParagraph, readParToken):
6616 * paragraph.C (readParagraph): add \end_layout.
6618 2003-07-27 Angus Leeming <leeming@lyx.org>
6620 * Makefile.am: remove special casing for configure-time setting of
6621 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6623 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6624 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6626 2003-07-26 André Pönitz <poenitz@gmx.net>
6628 * paragraph_func.[Ch]:
6629 * paragraph.C (realizeFont): inline it whereever it is used
6634 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6637 2003-07-26 André Pönitz <poenitz@gmx.net>
6641 * text2.C: get rid of LyXText::need_break_row
6643 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6645 * toc.[Ch]: put namespace toc inside namespace lyx
6647 * MenuBackend.C (expandToc2): adjust for lyx::toc
6650 * lyxfunc.C (dispatch): adjust for lyx::find
6652 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6653 lyx::find instead. Reorganize a bit.
6654 (LyXReplace): rename to replace
6655 (LyXFind): rename to find
6657 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6660 2003-07-26 André Pönitz <poenitz@gmx.net>
6662 * text.C (setHeightOfRow): restrict scope of temporary variable
6664 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6665 code (never has been used?)
6667 2003-07-27 Asger Alstrup <alstrup@local>
6669 * text.C (fill): Optimise algorithm to exploit that we can reuse
6670 the LyXFont for many characters.
6671 (setHeightOfRow): Same thing.
6672 (rowBreakPoint): Same thing.
6674 2003-07-26 Asger Alstrup <alstrup@local>
6676 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6678 * text.C (singleWidth): Spurious font copying in hot-spot
6679 singleWidth avoided. Reorder tests for arabic for efficiency.
6681 * text.C (fill): handle empty paragraphs better.
6683 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6686 * encoding.h: add includes
6688 * lyxrc.C: remove reading of bind files
6690 * lyx_main.C (init): setup bindings and menus only if we have a
6693 * kbmap.C (read): new method. Do the actual reading of bind
6696 * converter.C (dvipdfm_options):
6699 (output): adapt PAPER_* enums.
6701 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6703 * bufferparams.h: remove paper-related enums from there
6705 * paper.h: New file. A trivial header file to hold paper-related
6706 enums. It should later expand to contain many paper-related
6709 * lyxrc.C: declare extern displayTranslator
6711 2003-07-27 José Matos <jamatos@fep.up.pt>
6713 * tabular.[Ch] (linuxdoc): add support for tables and figures
6716 2003-07-27 José Matos <jamatos@fep.up.pt>
6718 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6719 consistency in both functions.
6720 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6722 2003-07-26 Asger Alstrup <alstrup@local>
6724 * rowpainter.C (paintRows): Change algorithm to work directly on
6725 the insets rather than asking every character in the document
6726 whether its an inset.
6728 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6730 * buffer.C (openFileWrite): factorize some code
6732 2003-07-26 Angus Leeming <leeming@lyx.org>
6735 * lyx_main.[Ch]: replace occurances of system_tempdir with
6738 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6740 * rename Inset to InsetOld
6742 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6744 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6745 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6746 which I think is a bit clearer. EDIT is gone, since it was
6747 premature optimisation, and broken for mathed anyway.
6748 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6749 with cursor positioning in insets as well (math insets still do not
6750 work, but that's a different story anyway.) It mysteriously
6751 crashes sometimes with undo in the first paragraph, but I'm fairly
6752 confident that this is a compiler bug.
6754 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6756 * paragraph.C (Paragraph): adjust for new clone return type
6758 (copyIntoMinibuffer): ditto
6760 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6762 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6763 by not having a special case, and always doing a full rebreak of
6764 the document after undo.
6766 2003-07-23 Angus Leeming <leeming@lyx.org>
6768 * factory.C (createInset): InsetExternal::setParams now takes a
6771 2003-07-23 Angus Leeming <leeming@lyx.org>
6773 * factory.C (createInset): changed interface to the external and
6774 graphics mailers' string2params functions.
6776 2003-07-23 Angus Leeming <leeming@lyx.org>
6778 * factory.C (createInset): pass a
6779 Buffer const * parameter to InsetExternalMailer's string2params.
6781 2003-07-22 John Levon <levon@movementarian.org>
6783 * Thesaurus.h: include the right aiksaurus header
6785 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6787 * MenuBackend.C (expand): check menu shortcuts unconditionally
6789 2003-07-21 Angus Leeming <leeming@lyx.org>
6791 * factory.C (createInset): pass a
6792 buffer_path parameter to InsetGraphicsMailer's string2params.
6794 2003-07-21 Angus Leeming <leeming@lyx.org>
6796 * BufferView_pimpl.C (buffer):
6799 * lyxfunc.C (dispatch):
6800 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6801 rather than the grfx shortcut.
6803 2003-07-21 André Pönitz <poenitz@gmx.net>
6805 * rowpainter.C: remove unused variables
6808 * tabular_funcs.h: move to tabular.C
6809 * Makefile.am: adjust
6811 * tabular.[Ch]: basic optical cleaning
6813 * author.h: pass references, not values
6815 2003-07-18 André Pönitz <poenitz@gmx.net>
6823 * text3.C: two-phase drawing for InsetText and InsetTabular
6824 some float -> int changes.
6826 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6828 * lyx_main.C: fix the fix
6830 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6832 * lyx_main.C: fix a crash in batch mode if no files specified
6835 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6837 * format.[Ch] (papersize): moved to BufferParams
6838 * converter.[Ch] (dvips_options): moved to BufferParams
6839 (dvipdfm_options): moved to anon namespace
6840 * bufferparams.[Ch]: added above functions.
6842 2003-07-17 André Pönitz <poenitz@gmx.net>
6846 * text2.C: don't call inset->update() anymore
6848 * metricsinfo.[Ch]: add convenience constructor
6850 2003-07-16 André Pönitz <poenitz@gmx.net>
6855 * text2.C: replace the LyXCursor::irow_ member with
6856 on-demand computation of the value
6858 2003-07-16 John Levon <levon@movementarian.org>
6860 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6862 2003-07-15 André Pönitz <poenitz@gmx.net>
6865 * text2.C: remove no more needed refresh_row
6867 2003-07-15 André Pönitz <poenitz@gmx.net>
6872 * text3.C: refresh_status tristate -> need_update bool
6874 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6876 * lyxtext.h (init): remove reinit argument (act as if always true)
6877 * text2.C: adjust to that
6879 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6881 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6882 * text3.C: use it to delete selections in some cases
6883 (bugs 441, 673, 702, 954).
6885 2003-07-14 André Pönitz <poenitz@gmx.net>
6887 * rowpainter.[Ch]: reduce interface
6889 2003-07-14 André Pönitz <poenitz@gmx.net>
6891 * BufferView_pimpl.C:
6892 * text2.C: adjust after removing unused BufferView * argument
6894 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6896 * text2.C (init): fix a crash fired on resize
6898 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6900 * buffer.[Ch]: added new closing signal
6901 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6902 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6903 BufferView::Pimpl via the closing the signal
6905 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6907 * buffer.[Ch]: take out all bv-related from buffer
6909 * BufferView_pimpl.[Ch]: connect to new signals
6910 * CutAndPaste.C: removed useless asserts
6911 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6914 * lyxfunc.C: moved view-related funciontality from vc here
6915 * paragraph.C: removed outdated comments
6918 2003-07-10 André Pönitz <poenitz@gmx.net>
6920 * BufferView_pimpl.C:
6924 * text2.C: remove InsetText::InnerCache, clean up consequences
6926 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6928 * ispell.C: fix two typos in error messages
6930 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6932 * Extend Note inset to other forms of annotation like Comment
6933 and Greyedout. Right button click gives dialog.
6935 Files modified or added (+):
6939 * ControlNote.[Ch] +
6941 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6942 frontends/controllers
6946 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6948 * aspell.C: add missing namespace lyx::support
6950 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6952 * BufferView.[Ch] (newFile): Add
6953 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6954 * LaTeX.[Ch] (message): added this signal and use it
6955 * buffer.[Ch] (busy, message): added these signals and use them
6956 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6960 * importer.C: use buffer signals instead of direct bv calling
6961 * lyx_cb.[Ch] (ShowMessage): removed
6964 * paragraph_funcs.C:
6965 * text2.C: use buffer signals
6967 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6969 * introduce namespace lyx::graphics
6971 2003-07-02 André Pönitz <poenitz@gmx.net>
6973 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6975 2003-07-01 André Pönitz <poenitz@gmx.net>
6982 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6983 text*.C to text_func.C
6985 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6987 * introduce namespace lyx::support
6989 2003-06-30 André Pönitz <poenitz@gmx.net>
6994 * text.C: re-enable --with-included-string
6996 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6998 * textcursor.C: add <config.h>
7000 * text.C (getWord): remove const from word_location arg
7002 * lyxvc.C (getLogFile): fix const type order
7004 * lyxtext.h: remove const from word_location arg, add arg name
7006 * lyxlayout.h: currect type on labeltype.
7008 * importer.C: correct \file
7010 * converter.C (intToFormat): use std:: on ret val, ws changes
7012 * bufferlist.h: correct \file
7014 * buffer.C (makeLinuxDocFile): fix const type order
7015 (makeDocBookFile): ditto
7016 (fillWithBibKeys): use std:: on stdlib args.
7018 * CutAndPaste.C: fix authors.
7019 (availableSelections): use std:: on return vector
7021 2003-06-27 André Pönitz <poenitz@gmx.net>
7023 * BufferView_pimpl.C:
7024 * bufferview_funcs.C:
7032 * text3.C: remove LyXCursor::row_ member
7035 * text.C: rename fullRebreak() to partialRebreak() and implement
7036 a fullRebreak() that really bereks fully
7038 * textcursor.h: new struct for cursor-related data
7040 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7042 * lyx_main.C (LyX): get full path of document loaded on the
7045 2003-06-26 André Pönitz <poenitz@gmx.net>
7047 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7048 remove unused/broken operator>,<,>=.
7050 * text.C: remove only use of broken operator<= in an Assert().
7052 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7054 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7055 moved errorlist_.clear to showErrorList
7057 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7059 * converter.C (scanLog, runLaTeX):
7060 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7061 move the bv->showErrorList call to the callers
7062 * lyxfunc.C: i.e. here...
7064 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7065 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7066 namespace, the second to...
7067 * buffer_funcs (BufferFormat, parseErrors): added
7068 * errorlist.C (ErrorList(TeXErrors const &)): removed
7070 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7072 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7074 2003-06-24 "Garst R. Reese" <reese@isn.net>
7078 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7080 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7082 * version.C.in: change docversion to 1.4
7084 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7086 * buffer.C: fix a bug just introduced
7088 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7090 * buffer.[Ch]: added the parseError signal and use it, removed
7092 * BufferView.[Ch] (addError): moved to ...
7093 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7094 to the Buffer::parseError signal to catch (guess what) parse errors
7095 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7097 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7099 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7100 ability to create a buffer and to return an existing one from
7101 the list. Moved these functions to...
7102 * buffer_funcs.[Ch]: added
7103 * BufferView.[Ch] (loadLyXFile): added
7104 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7105 job removed from bufferlist::loadLyXFile.
7106 * buffer.C (setReadOnly): make it work without view
7107 (i.e added an if (users))
7109 2003-06-19 Angus Leeming <leeming@lyx.org>
7112 * LyXAction.C (init):
7113 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7114 with LFUN_DIALOG_SHOW <name> <data>.
7116 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7118 * CutAndPaste.C (availableSelections): small compilation fix for
7119 ancient (gcc 2.9x) compilers
7121 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7123 * text3.C (cursorNext): add tmp var
7125 * text2.C (updateCounters): for function calling out of for clause
7126 (replaceSelectionWithString): ditto
7127 (insertStringAsParagraphs): ditto
7128 (getColumnNearX): add tmp var
7129 (setCursorFromCoordinates): add tmp var
7130 (cursorDownParagraph): add tmp var
7131 (deleteEmptyParagraphMechanism): add tmp var
7133 * text.C (insertChar): add tmp var
7135 * rowpainter.C (paintDepthBar): add tmp var
7137 * CutAndPaste.C (availableSelections): potentially check all
7138 paragraphs in a cut to fill the shown strings.
7140 2003-06-18 André Pönitz <poenitz@gmx.net>
7142 * kbmap.[Ch]: use vector<> instead of list<>
7144 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7146 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7147 pasteSelection with index
7149 * text2.C (pasteSelection): modify, call pasteSelection with index
7151 * paragraph.C (asString): reimplement version with no interval to
7152 call the one with interval.
7154 * lyxtext.h: add index arg to pasteSelection
7156 * MenuBackend.C (MenuItem): handle PasteRecent
7157 (Menu::read::Menutags): add md_pasterecent
7159 (expandPasteRecent): new function
7162 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7164 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7166 (availableSelections): new function
7168 2003-06-17 Angus Leeming <leeming@lyx.org>
7170 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7172 2003-06-17 Angus Leeming <leeming@lyx.org>
7175 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7177 * lyxfunc.C (dispatch): invoke it.
7179 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7181 * iterators.C (operator++, ParPosition): reintroduce some
7182 const_cast for the benefit of older compilers.
7184 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7186 * text3.C (dispatch): do not modify clipboard when doing
7187 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7188 LFUN_DELETE_SKIP on a selection selection
7190 2003-06-16 André Pönitz <poenitz@gmx.net>
7196 * tabular.[Ch]: IU of clone() and getLabelList();
7198 2003-06-13 André Pönitz <poenitz@gmx.net>
7200 * tabular.h: compactification
7202 2003-06-12 André Pönitz <poenitz@gmx.net>
7206 * tabular_funcs.h: some renaming plus whitespace
7208 2003-06-12 André Pönitz <poenitz@gmx.net>
7211 * BufferView_pimpl.C:
7217 * toc.C: Return a Paragraph & for ParIterator::operator*()
7219 2003-06-11 John Levon <levon@movementarian.org>
7223 * ToolbarBackend.C: add "Toolbars" section and
7226 2003-06-10 Angus Leeming <leeming@lyx.org>
7229 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7231 * lyxfunc.C (dispatch): invoke it.
7233 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7235 * main.C: protect <ios> with HAVE_IOS
7236 (main): protect sync_with_stdio with HAVE_IOS
7238 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7240 * text2.C (cutSelection): adjust
7241 (pasteSelection): adjust
7243 * messages.C: handle get of empty string
7245 * main.C (main): use sync_with_stdio(false)
7247 * lyxfunc.C (dispatch): adjust
7249 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7250 (WriteAs): remove unneeded BufferView arg.
7252 * bufferparams.h: use correct types on papersize, papersize2 and
7255 * bufferparams.C (readToken): adjust for type
7256 (writeLaTeX): add missing cases to switch.
7258 * bufferlist.C (quitWriteBuffer): adjust
7261 * buffer.C (asciiParagraph): remove some commented code.
7263 * CutAndPaste.C: remove current_view extern variable.
7264 (cutSelection): add BufferParams arg.
7265 (eraseSelection): add BufferParams arg.
7266 (pasteSelection): add Buffer const & arg
7268 2003-06-07 John Levon <levon@movementarian.org>
7271 * paragraph_funcs.C:
7272 * paragraph_pimpl.C:
7276 * paragraph.C: allow InsetERT to freely space lines,
7277 and some consolidation of code
7279 2003-06-06 José Matos <jamatos@fep.up.pt>
7281 * buffer.C (makeDocBookFile): fix bug #821
7283 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7285 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7287 2003-06-04 Angus Leeming <leeming@lyx.org>
7289 * buffer.C: bump format to 224.
7291 2003-06-05 André Pönitz <poenitz@gmx.net>
7293 * text2.C (redoParagraphs): remove two const_cast<>
7295 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7297 * ParagraphList.h: remove last remnants of NO_STD_LIST
7299 2003-06-03 Angus Leeming <leeming@lyx.org>
7301 * factory.C (createInset): small change to the way InsetExternal's params
7304 2003-06-04 André Pönitz <poenitz@gmx.net>
7306 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7308 * paragraph_pimpl.h:
7309 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7311 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7313 * undo_funcs.C: make some simple cases of undo work again
7315 2003-06-03 John Levon <levon@movementarian.org>
7317 * ispell.C: HPUX doesn't have sys/select.h
7320 2003-06-03 John Levon <levon@movementarian.org>
7322 * CutAndPaste.C: update tabular and include inset
7327 * paragraph.C: remove owningBuffer(), don't pass Buffer
7330 * factory.C: insetGraphicsParams changed
7332 2003-06-02 John Levon <levon@movementarian.org>
7338 * text3.C: remove insetparent
7340 2003-06-02 John Levon <levon@movementarian.org>
7343 * buffer.C: fix inset_iterator.end(), move out of line
7346 2003-06-01 John Levon <levon@movementarian.org>
7348 * text3.C: use a proper cut/paste when doing inset
7349 insert (from Jürgen Spitzmüller)
7351 2003-06-01 John Levon <levon@movementarian.org>
7353 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7355 2003-05-30 André Pönitz <poenitz@gmx.net>
7357 * rowpainter.C: unify second drawing phase
7359 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7361 * trans_mgr.C: remove one case of current_view
7363 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7365 * paragraph_funcs.h: remove paragraph.h include
7367 * paragraph.h: delete NO_STD_LIST stuff
7369 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7371 * buffer.h: remove paragraph.h include
7373 * ParagraphList.C: delete file
7375 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7377 * toc.C (getTocList): adjust
7379 * paragraph_pimpl.C (validate): adjust
7381 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7383 * paragraph.C (Paragraph): adjust
7384 (getPositionOfInset): use const_iterator, adjust
7385 (bibitem): use const_iterator, adjust
7386 (setInsetOwner): adjust
7388 * iterators.C (operator++): adjust
7390 * InsetList.[Ch]: Replace selfmade iterator with standard
7391 vector::iterator also introduce const_iterator. Remove getPos,
7392 getInset and setInset from InsetTable. Adjust accordingly.
7394 * BufferView.C (lockInset): adjust
7395 (ChangeInsets): adjust
7397 * tabular.[Ch]: delete commented same_id functions
7399 2003-05-28 John Levon <levon@movementarian.org>
7401 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7403 2003-05-28 André Pönitz <poenitz@gmx.net>
7405 * metricsinfo.[Ch]: remove 'fullredraw' member
7407 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7409 * lyxtextclass.C (operator): remove caching.
7411 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7415 * text2.C (cursorBottom): adjust
7416 (setCounter): use ParagraphList::find, adjust
7418 * text.C (workWidth): use ParagraphList::find, adjust
7420 * lyxcursor.C (LyXCursor): adjust
7422 * buffer.C (inset_iterator): adjust
7424 * ParagraphList.h: make iterator(value_type) private, make
7425 ParagraphList a friend of iterator.
7427 * ParagraphList.C (find): new function
7429 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7431 2003-05-27 André Pönitz <poenitz@gmx.net>
7433 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7435 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7437 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7439 2003-05-26 John Levon <levon@movementarian.org>
7441 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7443 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7445 * remove same_id from function signatures, adjust.
7447 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7449 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7451 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7453 * paragraph.C (Paragraph): get rid of same_ids parameter
7455 * ParagraphList.C (insert): adjust
7458 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7460 * paragraph_funcs.C (breakParagraph): adjust
7461 (breakParagraphConservative): adjust
7463 * buffer.C (readParagraph): adjust
7465 * ParagraphList.C (insert): take a reference instead of a pointer
7468 * paragraph.[Ch] (id): new function
7470 * bufferlist.C (newFile): adjust
7472 * ParagraphList.C (ParagraphList): adjust
7474 (push_back): take a reference instead of a pointer.
7476 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7478 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7481 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7482 set else use old code.
7484 * ParagraphList.C: remove all NO_NEXT code and only compile this
7485 code of NO_STD_LIST is set.
7487 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7489 * BufferView_pimpl.C:
7499 * graphics/GraphicsConverter.C:
7500 * graphics/PreviewLoader.C: header adjustment
7502 2003-05-23 Angus Leeming <leeming@lyx.org>
7504 * LaTeXFeatures.[Ch] (useBabel): new method.
7505 * bufferparams.C (writeLaTeX): use it.
7507 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7509 * ParagraphList.h (set): remove unused function.
7511 2003-05-23 André Pönitz <poenitz@gmx.net>
7514 * BufferView_pimpl.C:
7518 * undo_funcs.C: setUndo reworked
7520 * iterators.[Ch]: add access to topmost ParagraphList
7522 * lyxtext.[Ch] (workWidth): add a const
7524 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7526 * texrow.[Ch] (increasePos): remove function
7527 * exporter.C (export): removed unused var and outdated comment
7529 2003-05-23 Angus Leeming <leeming@lyx.org>
7531 * latexrunparams.h: rename fragile as moving_arg.
7532 * paragraph.C (simpleTeXOnePar): ditto.
7533 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7535 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7537 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7539 (textUndoOrRedo): comment out a currently unused var.
7541 * paragraph.h (NO_NEXT): enable NO_NEXT
7543 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7545 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7547 * exporter.C (Export): adjust for removeAutoInsets removal.
7549 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7551 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7553 * BufferView.[Ch] (removeAutoInsets): delete function
7555 2003-05-22 Angus Leeming <leeming@lyx.org>
7557 * latexrunparams.h: add a free_spacing variable.
7559 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7560 to pass moving_arg, as the data is stored in runparams.fragile.
7562 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7563 to Inset::latexOptional or to simpleTeXOnePar.
7565 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7566 free_spacing arg to Inset::latexOptional.
7568 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7571 2003-05-22 Angus Leeming <leeming@lyx.org>
7573 * latexrunparams.h: add fragile and use_babel variables.
7575 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7576 * buffer.C (makeLaTeXFile): store this returned value in
7577 runparams.use_babel, thus passing it to the inset::latex methods.
7579 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7580 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7582 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7583 longer has a fragile arg, as it is stored in runparams.fragile.
7585 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7586 moving_arg parameter as the data is stored in runparams.fragile.
7588 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7589 a fragile parameter as the data is stored in runparams.fragile.
7591 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7593 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7595 2003-05-22 Angus Leeming <leeming@lyx.org>
7597 * latexrunparams.h: add a 'bool nice' which defaults to false.
7599 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7600 now encapsulated within runparams.
7602 * bufferlist.C (updateIncludedTeXfiles):
7603 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7605 2003-05-22 Angus Leeming <leeming@lyx.org>
7607 * latexrunparams.h: new file containing struct LatexRunParams.
7608 * Makefile.am: add new file.
7610 * LaTeX.[Ch] (c-tor, run):
7611 * buffer.[Ch] (makeLaTeXFile):
7612 * bufferlist.[Ch] (updateIncludedTeXfiles):
7613 * converter.C (convert, scanLog):
7614 * converter.[Ch] (runLaTeX):
7615 * exporter.C (Export):
7616 * paragraph.[Ch] (simpleTeXOnePar):
7617 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7618 * paragraph_funcs.[Ch] (latexParagraphs):
7619 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7620 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7621 pass around a LatexRunParams parameter.
7623 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7625 * paragraph.[Ch]: remove unused constructor
7627 * ParagraphList.C (erase): new function, taking two iterators
7629 2003-05-22 André Pönitz <poenitz@gmx.net>
7631 * undo_funcs.C: remove duplicated code
7633 * iterator.[Ch]: operator=
7635 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7637 * tabular.C (SetMultiColumn): ws changes
7639 * rowpainter.C (paintFirst): get rid of a ->previous
7641 * lyx_cb.C (getPossibleLabel): parlist simplification
7643 * BufferView.C (ChangeInsets): simplify slightly.
7645 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7647 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7648 * lfuns.h: new LFUN_SPACE
7649 * lyxfunc.C: protected space has a new lfun
7650 * paragraph_funcs.C: read new space insets
7652 * factory.C: handle new space insets
7654 2003-05-22 André Pönitz <poenitz@gmx.net>
7657 * BufferView_pimpl.C:
7660 * undo_funcs.C: return a ParIterator from getParFromID.
7662 * iterators.[Ch]: add two const's
7664 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7666 * toc.C (getTocList): adjust
7668 * iterators.[Ch]: rework for parlist
7670 * buffer.C (par_iterator_begin): adjust
7671 (par_iterator_end): adjust
7673 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7675 * BufferView.C (removeAutoInsets): adjust
7676 (ChangeInsets): adjust
7678 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7680 * text.C (top_y): fix bug 1110
7682 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7684 * errorlist.[Ch]: added
7687 * BufferView_pimpl.C:
7688 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7691 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7693 * Makefile.am: ensure that lyx is relinked upon changes to the
7694 various "convenience" libs.
7696 2003-05-20 Angus Leeming <leeming@lyx.org>
7698 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7699 files are compiled in alphabetical order again.
7701 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7703 2003-05-19 Angus Leeming <leeming@lyx.org>
7705 * gettext.[Ch]: remove "char const * _(char const *)".
7707 2003-05-19 André Pönitz <poenitz@gmx.net>
7709 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7718 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7720 2003-05-19 André Pönitz <poenitz@gmx.net>
7724 * lyxtextclass.[Ch]:
7726 * paragraph_funcs.[Ch]:
7728 * text3.C: more insetenv work
7730 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7732 * ParagraphParameters.C (params2string): small bug fixed
7734 2003-05-16 André Pönitz <poenitz@gmx.net>
7737 * bufferview_funcs.C: patch from Kornel Benko to prevent
7738 crash when _(...) is called twice in a statement
7740 2003-05-16 André Pönitz <poenitz@gmx.net>
7747 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7749 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7751 * lyx_main.C (init): remove spurious static_cast
7753 2003-05-14 André Pönitz <poenitz@gmx.net>
7755 * BufferView.C: fix format string
7757 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7759 * BufferView.[Ch] (insertErrors): removed
7760 * BufferView.[Ch] (showErrorList): added
7761 * buffer.C (runChkTeX):
7762 * converter.C (scanLog): call showErrorList instead of inserterrors
7764 2003-05-13 André Pönitz <poenitz@gmx.net>
7766 * BufferView_pimpl.C:
7768 * bufferview_func.C:
7775 * tabular_funcs.h: tostr() from its own header
7777 * ParagraphParameters.C:
7782 * text3.C: STRCONV()
7784 2003-05-12 André Pönitz <poenitz@gmx.net>
7787 * BufferView_pimpl.C:
7791 * ParagraphParameters.C:
7795 * bufferview_funcs.C:
7808 * paragraph_funcs.C:
7812 * text3.C: boost::format -> bformat all over the place
7815 2003-05-09 André Pönitz <poenitz@gmx.net>
7817 * LColor.[Ch]: Pimpl the #include <map> away
7819 2003-05-09 John Levon <levon@movementarian.org>
7821 * bufferlist.C: never remove emergency saves
7823 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7825 * Makefile.am: better lib building
7827 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7829 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7831 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7832 (simpleTeXSpecialChars): adjust
7833 (simpleTeXSpecialChars): adjust
7834 * paragraph.C (simpleTeXOnePar): adjust
7835 * buffer.C (makeLaTeXFile): adjust
7837 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7839 * text2.C (changeDepth): parlist cleanup
7840 (getColumnNearX): ditto
7842 * rowpainter.C (getLabelFont): parlist cleanup
7844 * bufferlist.C (newFile): parlist cleanup
7846 * CutAndPaste.C (eraseSelection): parlist cleanup
7848 * BufferView_pimpl.C (trackChanges): parlist cleanup
7851 * BufferView.C (lockInset): parlist cleanup.
7852 (ChangeInsets): ditto
7854 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7856 * CutAndPaste.h: Update file header.
7858 * CutAndPaste.C: Update file header.
7859 Store the parts cut out of the Document in a limited_stack.
7860 (copySelection): adjust
7861 (pasteSelection): new function, takes the index in the limited stack.
7862 (nrOfParagraphs): adjust
7863 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7864 simplify error inset insertion.
7865 (checkPastePossible): adjust
7867 2003-05-06 John Levon <levon@movementarian.org>
7869 * text2.C: don't cast wrap inset to float
7871 2003-05-05 André Pönitz <poenitz@gmx.net>
7874 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7876 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7877 few naked Paragraph *.
7879 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7881 * bufferparams.C: Output warning if a document with missing
7882 TeX document class is loaded
7883 * exporter.C: Disable TeX exports if the document class is missing
7886 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7887 isTeXClassAvailable()
7889 2003-05-03 John Levon <levon@movementarian.org>
7892 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7893 explicit cursor show/hide
7895 * BufferView_pimpl.h:
7896 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7897 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7899 * lyxfunc.C: hide cursor before dispatching.
7904 * text3.C: remove explicit cursor hides
7906 2003-05-02 André Pönitz <poenitz@gmx.net>
7908 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7911 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7914 * text2.C: tiny whitespace
7916 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7918 * undo_funcs.C: almost only ws changes.
7920 * ParagraphList.C (splice): just return if pl is empty.
7922 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7924 * ParagraphList.C (splice): new function.
7926 * CutAndPaste.C (pasteSelection): use it
7928 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7930 * CutAndPaste.C (pasteSelection): remove the last next and
7931 previous from this file.
7933 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7935 * CutAndPaste.C (pasteSelection): more clean up, user proper
7936 ParagraphList functions for pasteing.
7938 * ParagraphList.C (insert): new function, three arg insert
7940 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7942 * ParagraphList.C (insert): new function, three arg insert
7944 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7947 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7949 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7951 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7953 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7955 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7957 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7958 (copySelection): clean up a bit.
7959 (pasteSelection): use make_pair
7961 * ParagraphList.C (ParagraphList): implement copy constructor
7962 (operator=): implement, base on copy constructor.
7965 * paragraph.C (erase): return a bool
7967 * paragraph_pimpl.C (erasePos): remove function, move contents...
7968 (erase): ... here. Return a bool.
7969 (erase): call erase instead of erasePos.
7971 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7973 * ParagraphList.h: define PitPosPair
7974 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7975 ParagraphList, fix a bug on pasting multiple pars
7976 * text2.C: change interface to C&P
7978 2003-04-30 André Pönitz <poenitz@gmx.net>
7980 * undo_func.C: revert part of yesterday's patch 2
7982 2003-04-30 John Levon <levon@movementarian.org>
7984 * LColor.C: s/tabular/table/
7986 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7988 * text3.C (dispatch): do not convert iterator -> pointer
7989 * undo_funcs.C (setCursorParUndo): ditto
7990 * text_funcs.C (transposeChars): ditto
7992 * text2.C (setLayout): ws changes only
7994 * text.C (breakParagraph): do not convert iterator -> pointer
7996 (acceptChange): ditto
7997 (rejectChange): ditto
8002 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8005 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8007 * text3.C (gotoInset): YABG (yet another bad getChar)
8009 2003-04-29 André Pönitz <poenitz@gmx.net>
8011 * paragraph.h: make operator= private unimplemented as long as
8014 * ParagraphList.C: whitespace
8017 * paragraph_pimpl.[Ch]:
8018 * paragraph_funcs.C:
8020 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8023 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8025 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8027 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8028 * paragraph.[Ch] (erase):
8029 * paragraph_pimpl.[Ch] (erase): change return type and value
8030 * text2.C (cutSelection): some rework
8032 2003-04-28 John Levon <levon@movementarian.org>
8034 * bufferlist.C: changes for unsaved changes dialog
8036 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8038 * bufferlist.C (newFile): set language (messages_) for new
8041 * buffer.C (readFile): ws changes only.
8043 2003-04-28 André Pönitz <poenitz@gmx.net>
8048 * BufferView_pimpl.C:
8049 * BufferView.C: getParFromID related ParagraphList::iterator changes
8051 2003-04-28 André Pönitz <poenitz@gmx.net>
8053 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8056 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8058 * messages.C: remove one more localedir class variable.
8060 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8062 * messages.C (getLocaleDir): singleton generation function
8064 (Messages): add a default constructor.
8066 * main.C (main): do not setup localedir here, do not call
8069 * gettext.C (_): use it.
8070 (gettext_init): delete funciton
8072 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8074 * gettext.C (getLyXMessages): new singleton generating function.
8076 * buffer.C (updateDocLang): adjust
8078 * Makefile.am (messages.o): add target
8079 (main.o): remove target
8081 2003-04-27 John Levon <levon@movementarian.org>
8086 * lyxvc.C: specify cancel button in Alert::prompt
8088 2003-04-26 John Levon <levon@movementarian.org>
8093 * LyXAction.C: add LFUN_INSET_SETTINGS
8095 * lyxfunc.C: don't enable tabular-feature when there's
8096 just any locking inset
8098 2003-04-26 John Levon <levon@movementarian.org>
8100 * bufferlist.C: re-add Cancel to buffer close question
8102 * lyxfunc.C: fix import UI a bit
8104 2003-04-25 John Levon <levon@movementarian.org>
8106 * gettext.C: remove the broken asserts for now
8108 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8110 * messages.C: make case where setlocale cannot comply work better.
8112 * buffer.C (updateDocLang): new function
8113 (changeLanguage): use it
8116 * text2.C (setCounter): use B_ a bit.
8118 * lyxlayout.C (Read): be sure to trim the label strings.
8120 * messages.C (Messages): fix typo in comment
8122 * buffer.C (readFile): set message_ after file is loaded.
8123 (makeDocBookFile): remove double return
8124 (changeLanguage): reset message_ upon language change.
8125 (B_): new func, use this to get translated buffer strings.
8127 * main.C: add myself and Jean Marc as authors.
8129 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8131 * messages.[hC]: pimplify Messages, and three different pimpls to be
8132 used in different circumstances.
8134 * gettext.[Ch]: change for use with new message code.
8136 2003-04-24 André Pönitz <poenitz@gmx.net>
8138 * factory.C: support for eqref
8140 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8142 * messages.[Ch]: add missing char
8144 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8146 * messages.[Ch]: New files
8148 2003-04-18 John Levon <levon@movementarian.org>
8152 * BufferView_pimpl.C:
8156 * text2.C: remove layout-copy/paste (bug 778)
8158 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8160 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8162 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8164 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8165 if they succeed. Act accordingly.
8167 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8169 * text2.C (setCharFont): adjust
8170 (setCounter): adjust
8171 (insertStringAsLines): adjust
8173 * text.C (leftMargin): adjust
8174 (setHeightOfRow): adjust
8176 * rowpainter.C (paintFirst): adjust
8179 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8181 (isFirstInSequence): ditto
8182 (getEndLabel): ditto
8185 * paragraph.C (getParLanguage): comment out some hard stuff.
8187 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8189 (simpleDocBookOnePar): ditto
8190 (makeDocBookFile): use ParagraphList::iterator
8192 * CutAndPaste.C (pasteSelection): adjust
8194 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8196 * text2.C (getFont): adjust
8197 (getLayoutFont): adjust
8198 (getLabelFont): adjust
8200 * paragraph_funcs.C (TeXOnePar): adjust
8202 * buffer.C (simpleLinuxDocOnePar): adjust
8203 (simpleDocBookOnePar): adjust
8205 * CutAndPaste.C (pasteSelection): adjust
8207 * BufferView.C (getEncoding): adjust
8209 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8211 2003-04-16 John Levon <levon@movementarian.org>
8213 * lyxfind.C: use parlist stuff for search/changes
8215 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8217 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8219 * text2.C (deleteEmptyParagraphMechanism): adjust
8221 * text2.[Ch] (ownerParagraph): delete func (both of them
8223 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8225 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8227 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8229 * ParagraphList.C: prepare for NO_NEXT
8231 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8233 * text2.C (getFont): adjust
8234 (getLayoutFont): adjust
8235 (getLabelFont): adjust
8237 * paragraph.C (getFont): adjust
8238 (getLabelFont): adjust
8239 (getLayoutFont): adjust
8241 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8243 2003-04-15 John Levon <levon@movementarian.org>
8247 * lyx_main.C: handle Include in .ui files
8249 2003-04-15 John Levon <levon@movementarian.org>
8251 * MenuBackend.C: make the doc files length shorter
8254 * ToolbarBackend.C: handle toolbar placement flags,
8257 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8259 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8262 * paragraph_funcs.C (TeXOnePar): adjust
8264 * paragraph.C (getLabelFont): add outerfont arg, adjust
8265 (getLayoutFont): ditto
8266 (simpleTeXOnePar): adjust
8268 * paragraph_pimpl.C (realizeFont): delete func
8270 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8272 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8273 row argument, constify cur argument.
8275 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8277 * text2.C (getFont): adjust
8278 (getLayoutFont): adjust
8279 (getLabelFont): adjust
8281 * paragraph_funcs.C (TeXOnePar): adjust
8282 (outerFont): new func...
8283 (realizeFont): ...moved out from here, changed this to facilitate
8286 * paragraph.C (getFont): take outerfont as arg, adjust
8287 (simpleTeXOnePar): add outerfont arg, adjust
8289 * buffer.C (simpleLinuxDocOnePar): adjust
8290 (simpleDocBookOnePar): adjust
8292 * CutAndPaste.C (pasteSelection): adjust
8294 * BufferView.C (getEncoding): adjust
8296 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8298 * text2.C (setCharFont): adjust
8299 (setCounter): adjust
8301 * text.C (leftMargin): adjust
8302 (setHeightOfRow): adjust
8304 * rowpainter.C (paintFirst): adjust
8307 * paragraph_pimpl.C (realizeFont): adjust
8309 * paragraph.C (isFirstInSequence): move from here...
8310 * paragraph_funcs.C (isFirstInSequence): ...to here
8312 * paragraph.C (outerHook): move from here...
8313 * paragraph_funcs.C (outerHook): ...to here
8315 * paragraph.C (depthHook): move from here...
8316 * paragraph_funcs.C (depthHook): ...to here
8318 * paragraph.C (getEndLabel): move from here...
8319 * paragraph_funcs.C (getEndLabel): ...to here
8321 * text2.C (realizeFont): move from here...
8322 * paragraph_funcs.C (realizeFont): ...to here
8324 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8326 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8328 2003-04-14 Angus Leeming <leeming@lyx.org>
8330 * LColor.[Ch]: scrap LColor mathcursor.
8332 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8334 * lyxlex.[Ch] (text): delete function
8335 * trans.C (Load): adjust
8336 * paragraph_funcs.C (readParToken): adjust
8338 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8340 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8341 vector<char> instead of a char[].
8343 * lyxlex_pimpl.C (getString): adjust
8345 (lex): use getString
8349 * lyxlex.C (text): use pimpl_->getString()
8353 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8355 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8356 (makeFontEntriesLayoutSpecific): temp var for par.size()
8357 (setLayout): temp var for ownerParagraphs().end()
8358 (fullRebreak): temp var for rows().end()
8359 (selectionAsString): temp var for boost::next(startpit), realize
8360 that the while really is a regular for loop.
8361 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8362 setCursor in one place.
8363 (setParagraph): temp vr for ownerParagraphs().end()
8364 (updateCounters): make the while loop a for loop
8365 (cutSelection): temp var for ownerParagraphs().end()
8366 (updateInset): make the do {} while() a regular for loop
8367 (getCursorX): use temp vars
8368 (setCurrentFont): use temp vars
8369 (getColumnNearX): use temp vars
8371 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8373 * text.C (transformChar): use temp var for getChar
8374 (computeBidiTables): use temp var for row->par()
8375 (fill): move temp vars for row->par() and pit->layout() earlier in
8377 (labelFill): use temp var for row->par()
8378 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8379 asc and desc, realize that pit never changes and that firstpit is
8380 just a duplicate and not needed. Exchange rit->par() with pit in a
8382 (breakAgain): use a temp var for boost::next(rit)
8383 (breakAgainOneRow): ditto
8384 (breakParagraph): use a temp var for rows().begin()
8385 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8386 (cursorRightOneWord): use temp var for cursor.par() and
8387 cursor.pos(), remove usage of tmpcursor.
8388 (cursorLeftOneWord): use temp var for cursor.par() and
8389 cursor.pos() only set cur at end of function.
8391 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8393 * text.C, text2.C: exchange all usage of Paragraph::next with
8394 boost::next(ParagraphList::iterator)
8396 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8398 * text2.C (cursorTop): simplify implementation
8399 (cursorBottom): ditto
8400 (setParagraph): use ParagraphList::iterator
8401 (setCurrentFont): adjust
8402 (getColumnNearX): adjust
8403 (cursorRight): adjust
8404 (cursorLeft): remove usage of Paragraph::previous
8405 (cursorUpParagraph): ditto
8406 (deleteEmptyParagraphMechanism): slight cleanup
8408 * text.C (isBoundary): take a Paragraph const & instead of a
8410 (addressBreakPoint): ditto
8411 (leftMargin): remove usage of Paragraph::previous.
8412 (setHeightOfRow): ditto
8413 (cursorLeftOneWord): ditto
8414 (selectNextWordToSpellcheck): ditto
8417 (breakParagraph): remove one usage of Paragraph::next
8418 (redoParagraph): ditto
8419 (acceptChange): ditto
8420 (insertChar): adjust
8421 (rowBreakPoint): adjust
8423 * bufferview_funcs.C (toggleAndShow): adjust
8425 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8427 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8428 methods to access it.
8430 * text.C: Added updateRowPositions to compute all row positions.
8431 Make top_y and getRowNearY() to use the cached y position
8433 2003-04-11 John Levon <levon@movementarian.org>
8435 * text.C (rowBreakPoint): reintroduce the labelEnd
8436 checks, code copied from the row fill stuff. Deep voodoo.
8438 * text.C (fill): add a comment and debugging for the
8441 2003-04-11 John Levon <levon@movementarian.org>
8443 * text.C: make sure fullrow insets get wrapped to the next line,
8444 even when they're in a manual label
8446 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8448 * text2.C (insertParagraph): make it take ParagraphList::iterator
8450 (setLayout): make it return ParagraphList::iterator
8451 (redoParagraphs): ditto
8453 (checkParagraph): ditto
8455 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8457 * text2.C: adjust several funcs.
8458 (realizeFont): take a ParagraphList::iterator as arg.
8459 (getLayoutFont): ditto
8460 (getLabelFont): ditto
8461 (setCharFont): ditto
8463 * text.C: adjust several funcs.
8465 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8467 * text.C (selectNextWordToSpellcheck): don't accidentally
8470 2003-04-10 John Levon <levon@movementarian.org>
8472 * ToolbarBackend.C (getIcon): special handling for
8475 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8477 * text2.C (cursorRight): a getChar assert fixed
8479 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8481 * text2.C (getFont): change to take a ParagraphList::iterator
8482 instead of Paragraph*
8483 Adjust several functions.
8485 * text.C (transformChar): change to take a ParagraphList::iterator
8486 instead of Paragraph*
8487 (singleWidth): ditto
8488 Adjust several functions.
8490 * rowpainter.C: adjust several functions
8491 * rowpainter.h:store a ParagraphList::iterator and not a
8495 2003-04-09 John Levon <levon@movementarian.org>
8500 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8501 and the "help" bits as well
8503 2003-04-09 John Levon <levon@movementarian.org>
8506 * ToolbarBackend.C: allow multiple toolbars
8508 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8510 * undo_funcs.C (setCursorParUndo): adjust
8512 * text_funcs.C (transposeChars): adjust
8514 * text3.C (gotoNextInset): adjust
8517 * text2.C (setLayout): adjust
8518 (changeDepth): adjust
8520 (redoParagraphs): adjust
8521 (selectionAsString): adjust
8522 (setParagraph): adjust
8523 (insertInset): adjust
8524 (cutSelection): adjust
8525 (copySelection): adjust
8526 (pasteSelection): adjust
8527 (insertStringAsLines): adjust
8528 (updateInset): adjust
8529 (setCursor): change to take a ParagraphList::iterator parameter
8530 (setCursorIntern): change to take a ParagraphList::iterator parameter
8531 (setCurrentFont): adjust
8532 (cursorLeft): adjust
8533 (cursorRight): adjust
8534 (deleteEmptyParagraphMechanism): adjust
8536 * text.C (breakParagraph): adjust
8537 (insertChar): adjust
8538 (acceptChange): adjust
8539 (rejectChange): adjust
8540 (selectNextWordToSpellcheck): adjust
8541 (changeCase): adjust
8545 * lyxfind.C (SearchForward): adjust
8546 (SearchBackward): adjust
8547 (nextChange): adjust
8549 * lyxcursor.C (par): adjust
8551 * lyxcursor.h: store a ParagraphList::iterator instead of a
8554 * lyx_cb.C (getPossibleLabel): adjust
8556 * bufferview_funcs.C (toggleAndShow): adjust
8558 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8561 * BufferView.C (removeAutoInsets): adjust
8562 (lockedInsetStoreUndo): adjust
8564 2003-04-09 John Levon <levon@movementarian.org>
8566 * ToolbarBackend.C: try icon without argument
8567 if with argument fails
8569 2003-04-08 John Levon <levon@movementarian.org>
8572 * ToolbarBackend.C: add getIcon(), handle tooltip,
8573 and change from "Icon" to "Item".
8575 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8577 * BufferView.C (lockInset): another bad getchar crunched
8579 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8581 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8584 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8586 * lyxfind.C (searchForward, searchBackwards): bug 782
8588 2003-04-07 John Levon <levon@movementarian.org>
8590 * paragraph.C: remove dead comment
8592 * text.C: remove troublesome depth-fiddling code
8593 in leftMargin() and rightMargin() (bug 1017)
8595 * text.C: fix breaking of rows in nested lists
8598 * text2.C (updateCounters): fix up depth values
8601 2003-04-07 John Levon <levon@movementarian.org>
8603 * BufferView_pimpl.C: clear message when doc finishes resizing,
8604 and after a mouse event
8606 * lyxfunc.C: clear message after exiting inset
8608 2003-04-07 John Levon <levon@movementarian.org>
8610 * bufferview_funcs.C: show math status not outside
8611 status in the statusbar
8613 2003-04-07 John Levon <levon@movementarian.org>
8615 * lyxfunc.C: note status changed after a depth change
8617 2003-04-04 Angus Leeming <leeming@lyx.org>
8619 * LaTeX.h: move AuxInfo operator==, != out of line.
8620 Remove LaTeX virtual destructor; nothing derives from it.
8621 Move operator()() out of public area and rename it startscript().
8622 Change protected for private.
8624 2003-04-04 Angus Leeming <leeming@lyx.org>
8627 * text2.C: remove unneeded #includes.
8629 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8631 * text2.C (dEPM): fix the heigth of the next row
8633 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8635 * text.C: squashed an invalid getChar requester + some ws changes
8637 2003-04-03 John Levon <levon@movementarian.org>
8639 * bufferview_funcs.h:
8640 * bufferview_funcs.C:
8643 * text2.C: make getStatus work for the env depth lfuns
8645 2003-04-03 John Levon <levon@movementarian.org>
8647 * bufferview_funcs.h:
8648 * bufferview_funcs.C:
8651 * text2.C: parlistize decDepth(), by merging it with incDepth()
8653 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8655 * lyxrow.h: store a ParagraphList::iterator instead of a
8656 Paragraph* and adjust other class functions to suit.
8658 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8661 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8663 * text2.C (setCursor): do not anchor to cursor row for the time being
8665 2003-04-02 John Levon <levon@movementarian.org>
8672 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8674 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8676 * paragraph.h: make ParagraphList and ParagraphList::iterator
8677 friends of Paragraph.
8679 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8681 * ParagraphList.C: Use the private next_ and previous_ from
8684 2003-04-01 John Levon <levon@movementarian.org>
8688 * Makefile.am: rename, remove defaults gunk
8691 * MenuBackend.C: remove defaults gunk
8694 * Languages.C: remove defaults gunk
8697 * lyx_main.C: error out if files couldn't be found.
8699 2003-04-02 John Levon <levon@movementarian.org>
8701 * text2.C: make incDepth() use parlist
8703 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8705 * undo_funcs.C (firstUndoParagraph): adjust
8707 * text3.C (gotoInset): adjust
8708 (dispatch): adjust, and rewrite loop.
8710 * text2.C (init): adjust, and rewrite loop.
8711 (redoParagraphs): adjust
8712 (updateInset): adjust, and rewrite loop.
8713 (deleteEmptyParagraphMechanism): adjust
8715 * tabular.C (LyXTabular): adjust
8716 (SetMultiColumn): adjust
8719 * lyxtext.[Ch] (ownerParagraph): delete function
8720 (ownerParagraphs): new function returns a ParagraphList.
8722 * BufferView.C (removeAutoInsets): adjust
8723 (insertErrors): adjust
8724 (setCursorFromRow): adjust
8726 2003-04-01 Angus Leeming <leeming@lyx.org>
8728 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8731 2003-04-02 John Levon <levon@movementarian.org>
8737 * text_funcs.C: make transposeChars a free function
8739 * lyxrow_funcs.C: remove wrong comment
8741 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8744 * rowpainter.C: adjust
8749 * lyxrow_funcs. [Ch]: new files
8751 * lyxrow.[Ch]: remove next and previous pointers
8752 (next,previous): remove accessor functions
8753 (isParEnd): move to lyxrow_funcs
8754 (lastPos): move to lyxrow_funcs
8755 (nextRowIsAllInset): move to lyxrow_funcs
8756 (lastPrintablePos): move to lyxrow_funcs
8757 (numberOfSeparators): move to lyxrow_funcs
8758 (numberOfHfills): move to lyxrow_funcs
8759 (numberOfLabelHfills): move to lyxrow_funcs
8760 (hfillExpansion): move to lyxrow_funcs
8764 * bufferview_funcs.C (toggleAndShow): adjust
8766 * RowList.h: Remove class RowList from file leave just a
8769 * RowList.C: delete file
8771 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8774 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8776 * text3.C (cursorPrevious): adjust
8777 (cursorNext): adjust
8780 * text2.C (redoHeightOfParagraph): adjust
8781 (redoDrawingOfParagraph): adjust
8784 * text.C (breakParagraph): adjust
8785 (insertChar): adjust
8788 * rowpainter.C (RowPainter): adjust
8789 (leftMargin): simplify and adjust
8790 (most rowpainter functions): adjust.
8792 * rowpainter.h: store the row as RowList::iterator not as Row*
8794 * lyxcursor.C (row): taka RowList::iterator as arg
8797 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8800 2003-04-01 Angus Leeming <leeming@lyx.org>
8802 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8803 stuff like bool Bool.
8805 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8807 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8810 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8812 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8815 * lyxtext.h (rows): drop one version and leve a const variant that
8816 returns a RowList::iterator.
8818 2003-03-31 Angus Leeming <leeming@lyx.org>
8820 * text.C (fill): ensure that the signature is the same as that in the
8823 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8825 * text2.C (redoParagraphs): adjust
8826 (updateCounters): adjust
8827 (checkParagraph): adjust
8828 (getColumnNearX): adjust and reformat a bit.
8830 * text.C (top_y): adjust
8832 (leftMargin): adjust
8833 (prepareToPrint): adjust
8835 (getRowNearY): adjust
8837 * lyxtext.h: make rowlist_ mutable.
8839 * RowList.h: add const_iterator
8840 * RowList.C: adjust for RowList::const_iterator.
8842 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8845 2003-03-31 John Levon <levon@movementarian.org>
8848 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8850 * lyx_main.C: set default fonts from using lyx_gui funcs
8852 * exporter.C: pdf_mode moved from lyxrc
8855 * lyxfunc.C: changes from above
8857 2003-03-31 John Levon <levon@movementarian.org>
8859 * lyx_main.C: fix to the last fix
8861 2003-03-31 John Levon <levon@movementarian.org>
8863 * bufferlist.C: "Load original" -> "Load Original"
8869 * format.C: more Alert cleanups
8871 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8873 * text2.C (removeParagraph): make it take a RowList::iterator as
8875 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8876 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8878 * text.C (anchor_row): make it take a RowList::iterator as arg,
8880 (computeBidiTables): make it take a const reference to Row instead
8881 of Row pointer, adjust.
8882 (leftMargin): make it take a RowList::iterator as arg, adjust.
8883 (rowBreakPoint): adjust
8884 (breakAgainOneRow): make it take a RowList::iterator as arg,
8886 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8888 * bufferview_funcs.C (toggleAndShow): adjust
8890 2003-03-30 John Levon <levon@movementarian.org>
8894 * boost-inst.C: moved to support
8896 * several files: changes as a result
8898 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8900 * text2.C (LyXText): adjust.
8902 (removeRow): make it take a RowList::iterator as arg, adjust.
8903 (fullRebreak): adjust
8904 (deleteEmptyParagraphMechanism): adjust
8905 (clearPaint): adjust
8908 * text.C (top_y): adjust
8909 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8910 (breakAgain): make it take a RowList::iterator as arg, adjust.
8911 (breakParagraph): adjust
8912 (insertChar): adjust
8915 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8916 need_break_row, and refresh_row.
8918 * text3.C (dispatch): adjust
8920 * text2.C (checkParagraph): adjust
8922 (setCursorFromCoordinates): adjust
8924 * text.C (top_y): adjust
8926 (getRow): make it return a RowList::iterator, adjust
8927 (getRowNearY): make it return a RowList::iterator, adjust
8929 * text2.C (init): adjust
8930 (insertRow): remove function
8931 (insertParagraph): adjust
8932 (redoParagraphs): adjust
8933 (fullRebreak): adjust
8934 (updateCounters): adjust
8936 * text.C (top_y): rewrite to use RowList iterators.
8938 (setHeightOfRow): rewrite to sue RowList iterators.
8939 (appendParagraph): adjust
8940 (breakAgain): adjust
8941 (breakAgainOneRow): adjust
8942 (breakParagraph): adjust
8944 (getRowNearY): adjust, and remove commented code.
8946 * lyxtext.h (firstRow): delete function
8947 (lastRow): delete function
8948 (rows): new function (const and non-const versions.)
8949 (insertRow): delete function
8951 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8953 2003-03-29 John Levon <levon@movementarian.org>
8955 * BufferView_pimpl.C: always update scrollbar top
8956 because pasting text when we're anchored could mean we
8957 miss an update altogether
8959 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8961 * text2.C (init): use rowlist_.end() and not 0.
8962 (insertRow): change to take a RowList::iterator as arg, adjust
8964 (insertParagraph): change to take a RowList::iterator as arg,
8966 (redoParagraphs): remove some debug msgs.
8968 * text.C (appendParagraph): change to take a RowList::iterator
8969 arg, adjust for this.
8970 (breakAgain): add an assert
8971 (breakAgainOneRow): ditto
8973 2003-03-29 John Levon <levon@movementarian.org>
8975 * text2.C: do not clear selection after inc/decDepth
8978 2003-03-29 John Levon <levon@movementarian.org>
8981 * buffer.C: fix broken strerrors according to Lars
8983 2003-03-29 John Levon <levon@movementarian.org>
8985 * converters.C: more Alert cleanups
8987 2003-03-29 John Levon <levon@movementarian.org>
8989 * bufferview_funcs.C: remove pointless Alert
8991 * buffer.C: fix confusing error message when
8992 a template is chmoded 000
8994 2003-03-29 John Levon <levon@movementarian.org>
8998 * BufferView_pimpl.C: Alert fixes
9002 * tabular-old.C: remove unused table compat reading
9004 2003-03-29 John Levon <levon@movementarian.org>
9009 * lyx_cb.C: more Alert cleanups
9011 * lyxfunc.C: don't allow chktex if not latex document
9013 2003-03-29 John Levon <levon@movementarian.org>
9017 * buffer.C: warnings pushed down from support/,
9020 2003-03-29 John Levon <levon@movementarian.org>
9022 * lyxfunc.C: safety check for C-r (revert)
9024 2003-03-29 John Levon <levon@movementarian.org>
9027 * bufferlist.C: several UI fixes using Alert::prompt.
9028 Fix the pointless looping quit code. Fix stupid revert
9033 * lyx_cb.C: use Alert::prompt
9035 * lyx_main.C: remove a silly question
9037 * lyxfunc.C: remove a couple of silly questions,
9040 2003-03-28 John Levon <levon@movementarian.org>
9042 * text2.C: fix bug 974 (End on empty par)
9044 2003-03-28 John Levon <levon@movementarian.org>
9046 * BufferView_pimpl.C:
9048 * lfuns.h: remove do-nothing math greek lfuns
9050 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9052 * lyxgluelength.h (isValidGlueLength): add default arg on
9053 parameter 2. Remove default arg from friend in class.
9055 * lyxlength.h (isValidLength): add default arg on parameter 2.
9056 Remove default arg from friend in class.
9058 * text2.C (LyXText): adjust, initialize refresh_row.
9062 (insertParagraph): adjst
9063 (redoParagraphs): adjust
9064 (fullRebreak): adjust
9065 (updateCounters): adjust
9066 (deleteEmptyParagraphMechanism): first attempt at fixing a
9069 * text.C (top_y): adjust
9070 (setHeightOfRow): adjust
9072 (getRowNearY): adjust
9074 * lyxtext.h: include RowList.h
9075 (~LyXText): not needed anymore, deleted.
9076 (firstRow): modify for RowList
9077 (lastRow): new function
9078 Delete firstrow and lastrow class variables, add a Rowlist
9079 rowlist_ class variable.
9081 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9084 * RowList.C (insert): fix case where it == begin().
9086 2003-03-26 Angus Leeming <leeming@lyx.org>
9088 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9089 the thesaurus dialog.
9091 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9093 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9095 * RowList.[Ch]: new files
9097 * ParagraphList.C (erase): handle the case where it == begin
9100 2003-03-25 John Levon <levon@movementarian.org>
9104 * aspell.C: add new aspell support
9107 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9110 2003-03-25 Angus Leeming <leeming@lyx.org>
9113 * LyXAction.C (init): new LFUN_INSET_INSERT.
9115 * BufferView_pimpl.C (dispatch): split out part of the
9116 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9118 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9121 2003-03-25 Angus Leeming <leeming@lyx.org>
9123 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9125 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9128 * text3.C: remove useless row->height(0)
9130 2003-03-25 John Levon <levon@movementarian.org>
9134 * text3.C: rename the refreshing stuff to better names
9136 2003-03-24 John Levon <levon@movementarian.org>
9138 * BufferView_pimpl.h:
9139 * BufferView_pimpl.C: update layout choice on a mouse
9142 2003-03-23 John Levon <levon@movementarian.org>
9144 * Makefile.am: fix commandtags.h reference
9146 2003-03-22 John Levon <levon@movementarian.org>
9148 * BufferView_pimpl.C:
9153 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9155 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9158 * text.C: take the rtl methods out of line
9160 2003-03-21 André Pönitz <poenitz@gmx.net>
9162 * metricsinfo.[Ch]: new files containing structures to be passed around
9163 during the two-phase-drawing...
9165 2003-03-21 André Pönitz <poenitz@gmx.net>
9167 * lyxtextclass.C: read 'environment' tag.
9169 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9171 * text2.C (removeRow): fix bug 964
9173 2003-03-20 John Levon <levon@movementarian.org>
9177 * text2.C: paint cleanups. Inset::update() dropped font
9180 2003-03-19 John Levon <levon@movementarian.org>
9182 * lyxfunc.C: only fitcursor/markDirty if available()
9184 2003-03-19 John Levon <levon@movementarian.org>
9186 * commandtags.h: rename to ...
9188 * lfuns.h: ... this, and renumber / cleanup
9190 2003-03-19 John Levon <levon@movementarian.org>
9192 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9193 fit the cursor after an lfun
9197 * BufferView_pimpl.h:
9198 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9200 * LyXAction.C: layout-character should have ReadOnly
9202 * ParagraphParameters.C:
9204 * bufferview_funcs.C:
9211 * undo_funcs.C: changes from above
9213 2003-03-18 John Levon <levon@movementarian.org>
9215 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9216 remove it from update()
9218 * lyxfunc.C: update layout choice after an lfun
9220 * text3.C: remove extra updateLayoutChoice()s
9222 2003-03-18 John Levon <levon@movementarian.org>
9224 * text.C: top_y change means full repaint, fix
9225 a drawing bug with cursor movement
9227 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9231 * text2.C: anchor row on setCursor
9233 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9235 * lyxtext.h: remove almost all mutable keywords
9238 * text3.C: remove const keywords accordingly
9240 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9242 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9244 (TeXEnvironment): ditto
9247 2003-03-17 John Levon <levon@movementarian.org>
9249 * text.C (rowBreakPoint): remove attempt to fix displayed
9250 math insets inside a manual label
9252 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9254 * lyxtext.h: remove BufferView* as first arg from almost all class
9256 * other files: adjust.
9258 2003-03-17 John Levon <levon@movementarian.org>
9262 * text2.C: more paint cleanups
9264 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9267 * rowpainter.C: remove "smart" background painting code
9269 2003-03-16 John Levon <levon@movementarian.org>
9274 * text3.C: add helper functions for setting refresh_row/y
9276 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9278 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9279 newline inset which *can* get inserted in the pass_thru layouts.
9280 This is primarily for literate documents.
9282 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9284 * buffer.C: increment LYX_FORMAT to 223
9286 2003-03-14 André Pönitz <poenitz@gmx.net>
9288 * textclass.h: prepare for environment handling, ws changes
9289 * lyxlayout.C: read latexheader and latexfooter tags
9291 2003-03-14 John Levon <levon@movementarian.org>
9293 * text2.C: rewrite ::status() a bit
9295 2003-03-13 John Levon <levon@movementarian.org>
9297 * lyxtext.h: add some docs
9299 2003-03-13 John Levon <levon@movementarian.org>
9304 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9306 2003-03-13 John Levon <levon@movementarian.org>
9308 * text3.C: fix appendix redrawing
9310 2003-03-13 John Levon <levon@movementarian.org>
9312 * text.C (setHeightOfRow):
9314 * rowpainter.C: make appendix mark have the text
9315 "Appendix" so the user knows what it is
9318 * LColor.C: s/appendixline/appendix/ from above
9320 2003-03-13 John Levon <levon@movementarian.org>
9322 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9324 * text.C: fix a getChar(pos) bug properly
9326 2003-03-13 Angus Leeming <leeming@lyx.org>
9329 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9330 Probably only temporary. Let's see how things pan out.
9332 * BufferView.C (unlockInset):
9333 * BufferView_pimpl.C (fitCursor):
9334 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9336 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9337 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9339 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9340 new functions that convert ParagraphParameters to and from a string.
9342 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9343 BufferView::Pimpl's dispatch.
9344 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9346 2003-03-13 André Pönitz <poenitz@gmx.net>
9350 * factory.C: make it aware of InsetEnv
9352 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9354 * text2.C (setCursor): never ask for one past last
9355 (setCursor): add some debugging messages.
9357 * text.C (singleWidth): never ask for one past last
9358 (singleWidth): ditto
9360 (rightMargin): ditto
9361 (rowBreakPoint): ditto
9362 (setHeightOfRow): ditto
9363 (prepareToPrint): ditto
9365 * rowpainter.C (paintBackground): never ask for one past last
9366 (paintText): never ask for one past last
9368 * paragraph_pimpl.C (getChar): make the assert stricter, never
9369 allow the one past last pos to be taken
9371 * paragraph.C (getChar): ws changes only
9373 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9374 (numberOfSeparators): ditto
9375 (numberOfHfills): ditto
9377 2003-03-12 John Levon <levon@movementarian.org>
9383 * paragraph_funcs.C: fix per-buffer authorlists
9385 2003-03-12 John Levon <levon@movementarian.org>
9387 * text.C: fix newline in right address
9389 2003-03-12 Angus Leeming <leeming@lyx.org>
9391 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9392 duplicate those in LyXFunc::dispatch.
9396 * ToolbarDefaults.C:
9397 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9398 Add LFUN_FONTFREE_UPDATE.
9400 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9401 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9403 * bufferview_func.[Ch]: several new functions to facilliate
9404 transfer of data to and from the character dialog.
9406 2003-03-12 John Levon <levon@movementarian.org>
9411 * paragraph_funcs.C:
9412 * paragraph_pimpl.C:
9416 * text3.C: remove META_NEWLINE in favour of an inset
9419 * rowpainter.C: remove paintNewline (done by inset)
9421 2003-03-12 John Levon <levon@movementarian.org>
9423 * paragraph_pimpl.C: complain about bad getChar()s
9424 for a while at least
9426 2003-03-12 John Levon <levon@movementarian.org>
9429 * buffer.C: move paragraph read into a separate function,
9430 a little renaming to reflect that.
9433 * bufferparams.C: remove the author_ids map, not necessary now
9436 * factory.C: moved Buffer::readInset to here
9438 * paragraph_funcs.h:
9439 * paragraph_funcs.C: readParagraph free function moved from
9442 * tabular.C: name change
9444 2003-03-12 John Levon <levon@movementarian.org>
9447 * ParagraphParameters.C: move par params input to
9450 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9451 behave like a normal read from the stream wrt reading
9452 a line vs. a \\token
9454 2003-03-12 John Levon <levon@movementarian.org>
9457 * ParagraphParameters.h:
9458 * ParagraphParameters.C: move output code to a
9461 2003-03-12 John Levon <levon@movementarian.org>
9463 * BufferView.C (insertLyXFile):
9466 * tabular.C: use a parlist iterator for creating the
9469 2003-03-12 John Levon <levon@movementarian.org>
9471 * buffer.C: make current_change static local not
9474 2003-03-12 John Levon <levon@movementarian.org>
9476 * buffer.C: fix insertStringAsLines for change tracking
9478 2003-03-12 John Levon <levon@movementarian.org>
9485 * bufferparams.C: move author list into params. Rename some
9486 functions. Move the header reading into a separate token
9487 loop. Move the header token reading into BufferParams.
9489 2003-03-12 John Levon <levon@movementarian.org>
9491 * changes.C: put debug inside lyxerr.debugging() checks
9493 2003-03-11 André Pönitz <poenitz@gmx.net>
9495 * factory.C: make it aware of InsetHFill
9497 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9499 * buffer.C (latexParagraphs): move function from here...
9500 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9503 2003-03-10 Angus Leeming <leeming@lyx.org>
9505 * LyXAction.C (init): fix bug in poplating array with multiple entries
9506 with the same LFUN (spotted by JMarc).
9508 2003-03-10 John Levon <levon@movementarian.org>
9511 * text2.C: move getColumnNearX() near its
9514 2003-03-10 John Levon <levon@movementarian.org>
9516 * text.C: fix break before a minipage
9518 2003-03-10 John Levon <levon@movementarian.org>
9520 * text.C: fix the last commit
9522 2003-03-09 John Levon <levon@movementarian.org>
9526 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9527 bug 365 (don't break before insets unless needed). Don't
9528 return a value > last under any circumstances.
9530 2003-03-09 Angus Leeming <leeming@lyx.org>
9532 * BufferView_pimpl.C (trackChanges, dispatch): call
9533 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9535 2003-03-09 Angus Leeming <leeming@lyx.org>
9537 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9538 than Dialogs::showAboutlyx().
9540 2003-03-09 Angus Leeming <leeming@lyx.org>
9542 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9543 than Dialogs::showTabularCreate().
9545 2003-03-09 John Levon <levon@movementarian.org>
9549 * text2.C: 3rd arg to nextBreakPoint was always the same.
9552 2003-03-08 John Levon <levon@movementarian.org>
9559 * text2.C: Remove the "main" bit from the "main body"
9562 2003-03-08 John Levon <levon@movementarian.org>
9564 * text.C (leftMargin): The left margin of an empty
9565 manual label paragraph should not include the label width
9568 * text.C (prepareToPrint): don't attempt to measure hfills
9569 for empty manual label paragraphs - the answer should be 0
9571 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9573 * CutAndPaste.C: remove commented code and reindent.
9575 2003-03-08 John Levon <levon@movementarian.org>
9578 * lyxfunc.C: move reloadBuffer()
9581 * BufferView.C: to here
9583 * lyxvc.C: add comment
9586 * vc-backend.C: call bv->reload() to avoid
9587 getStatus() check on MENURELOAD
9589 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9591 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9592 to an old format .dep file.
9594 2003-03-07 Angus Leeming <leeming@lyx.org>
9596 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9597 when the LFUN_MOUSE_RELEASE should have been handled by
9598 inset->localDispatch.
9600 2003-03-07 Angus Leeming <leeming@lyx.org>
9602 * BufferView_pimpl.C (dispatch):
9603 * LyXAction.C (init):
9604 * ToolbarDefaults.C (init):
9606 * lyxfunc.C (getStatus):
9607 remove LFUN_INSET_GRAPHICS.
9609 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9611 2003-03-07 Angus Leeming <leeming@lyx.org>
9614 * LyXAction.C (init):
9615 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9617 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9620 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9622 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9623 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9625 2003-03-07 Angus Leeming <leeming@lyx.org>
9627 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9630 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9632 * ParagraphList.C (front): new function
9635 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9637 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9638 and top_row_offset_. removed var first_y.
9640 * text2.C (LyXText, removeRow):
9642 * BufferView_pimpl.C:
9643 use these methods instead of using first_y
9645 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9647 * text2.C (pasteSelection): adjust for checkPastePossible
9649 * CutAndPaste.C: remove Paragraph * buf and replace with
9650 ParagraphList paragraphs.
9651 (DeleteBuffer): delete
9652 (cutSelection): change the tc type to textclass_type
9653 (copySelection): change the tc type to textclass_type
9654 (copySelection): adjust for ParagraphList
9655 (pasteSelection): change the tc type to textclass_type
9656 (pasteSelection): adjust for Paragraphlist
9657 (nrOfParagraphs): simplify for ParagraphList
9658 (checkPastePossible): simplify for ParagraphList
9659 (checkPastePossible): remove unused arg
9661 * ParagraphList.C (insert): handle the case where there are no
9664 * CutAndPaste.h: make CutAndPaste a namespace.
9666 * text3.C (dispatch): adjust
9668 * text.C (breakParagraph): add a ParagraphList as arg
9670 * paragraph_funcs.C (breakParagraph): change to take a
9671 BufferParams and a ParagraphList as args.
9672 (breakParagraphConservative): ditto
9673 (mergeParagraph): ditto
9674 (TeXDeeper): add a ParagraphList arg
9675 (TeXEnvironment): ditto
9678 * buffer.C (readLyXformat2): adjust
9679 (insertStringAsLines): adjust
9680 (latexParagraphs): adjust
9682 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9683 (cutSelection): adjust
9684 (pasteSelection): adjust
9686 * BufferView_pimpl.C (insertInset): adjust
9688 2003-03-05 Angus Leeming <leeming@lyx.org>
9691 * LyXAction.C (init):
9692 * BufferView_pimpl.C (dispatch):
9693 * lyxfunc.C (getStatus):
9694 remove LFUN_CHILD_INSERT.
9696 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9698 2003-03-05 Angus Leeming <leeming@lyx.org>
9701 * LyXAction.C (init):
9702 * src/factory.C (createInset):
9703 * lyxfunc.C (getStatus):
9704 * text3.C (dispatch):
9705 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9707 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9709 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9711 * ParagraphList.C (insert): handle insert right before end()
9712 (erase): fix cases where it can be first or last paragraph.
9714 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9716 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9717 Paragraph::next and Paragraph::previous
9720 * text.C (breakParagraph): adjust
9722 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9723 BufferParams& as arg.
9724 (breakParagraph): use ParagraphList::insert
9725 (breakParagraphConservative): take a Buffer* instead of a
9726 BufferParams& as arg.
9727 (breakParagraphConservative): use ParagraphList::insert.
9729 * buffer.C (insertStringAsLines): un-const it
9730 (insertStringAsLines): adjust
9732 * ParagraphList.C (insert): new function
9734 * CutAndPaste.C (pasteSelection): adjust
9736 * text.C (backspace): adjust
9738 * tabular.C (SetMultiColumn): adjust
9740 * CutAndPaste.C (cutSelection): adjust
9741 (pasteSelection): adjust
9743 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9744 Buffer const * as arg
9746 * ParagraphList.C (erase): new function
9747 * paragraph_funcs.C (mergeParagraph): use it
9748 (mergeParagraph): make it take a Buffer* instead of a
9749 BufferParams* as arg
9751 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9753 (breakParagraphConservative): ditto
9755 * paragraph.h: remove the breakParagraph friend
9757 * paragraph.C (eraseIntern): new function
9758 (setChange): new function
9760 * paragraph_funcs.C (mergeParagraph): make it take a
9761 ParagraphList::iterator instead of a Paragraph *, adjust
9764 * paragraph.h: move an #endif so that the change tracking stuff
9765 also works in the NO_NEXT case.
9767 2003-03-04 Angus Leeming <leeming@lyx.org>
9770 * LyXAction.C: new LFUN_INSET_MODIFY.
9772 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9773 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9775 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9777 * several files: ws changes only
9779 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9780 (TeXEnvironment): ditto
9783 * buffer.C (makeLaTeXFile): adjust
9784 (latexParagraphs): make it take ParagraphList::iterator as args
9786 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9788 * buffer.C (latexParagraphs): adjust
9790 * paragraph.C (TeXOnePar): move function...
9791 (optArgInset): move function...
9792 (TeXEnvironment): move function...
9793 * paragraph_pimpl.C (TeXDeeper): move function...
9794 * paragraph_funcs.C: ...here
9796 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9798 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9800 * buffer.C (readInset): remove compability code for old Figure and
9803 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9805 * buffer.C: ws changes
9808 * BufferView_pimpl.C: ditto
9811 * bufferlist.h: ditto
9815 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9817 * converter.[Ch]: split into itself +
9820 * Makefile.am: += graph.[Ch] + format.[Ch]
9827 * lyxrc.C: added #include "format.h"
9829 2003-02-27 Angus Leeming <leeming@lyx.org>
9831 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9834 * factory.C (createInset): add "label" to the factory.
9836 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9837 string and do no more.
9839 2003-02-27 Angus Leeming <leeming@lyx.org>
9842 * LyXAction.C (init):
9843 * factory.C (createInset):
9844 * BufferView_pimpl.C (dispatch):
9845 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9847 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9849 * lyxfunc.C (dispatch):
9850 * text3.C (dispatch): pass name to params2string.
9852 2003-02-26 Angus Leeming <leeming@lyx.org>
9854 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9856 Rearrange the ~includes. Strip out the unnecessary ones.
9858 * factory.C (createInset): reformat.
9859 create new insets for the various LFUN_XYZ_APPLY lfuns.
9861 2003-02-26 John Levon <levon@movementarian.org>
9864 * lyxrow.C: add isParStart,isParEnd helpers
9866 * paragraph.h: make isInserted/DeletedText take refs
9868 * paragraph_funcs.h:
9869 * paragraph_funcs.C: remove #if 0'd code
9874 * text.C: use lyxrow helpers above.
9875 Move draw and paint routines to RowPainter.
9876 Make several methods use refs not pointers.
9877 Make backgroundColor() const.
9878 Add markChangeInDraw(), isInInset().
9879 Merge changeRegionCase into changeCase.
9880 Make workWidth() shouldn't-happen code into an Assert.
9883 * rowpainter.C: new class for painting a row.
9886 * vspace.C: make inPixels take a ref
9888 2003-02-26 Angus Leeming <leeming@lyx.org>
9890 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9893 2003-02-25 John Levon <levon@movementarian.org>
9895 * ispell.C: give the forked command a more accurate name
9897 2003-02-22 John Levon <levon@movementarian.org>
9900 * toc.C: make TocItem store an id not a Paragraph *
9903 2003-02-21 Angus Leeming <leeming@lyx.org>
9905 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9906 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9907 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9908 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9909 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9910 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9912 * BufferView_pimpl.C (dispatch):
9913 * LyXAction.C (init):
9914 * factory.C (createInset):
9915 * lyxfunc.C (getStatus, dispatch):
9916 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9918 2003-02-21 Angus Leeming <leeming@lyx.org>
9920 * BufferView_pimpl.C (MenuInsertLyXFile):
9921 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9922 * lyxfunc.C (menuNew, open, doImport):
9923 no longer pass a LyXView & to fileDlg.
9925 2003-02-21 Angus Leeming <leeming@lyx.org>
9927 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9928 * LyXAction.C: change, BIBKEY to BIBITEM.
9929 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9930 Change InsetBibKey to InsetBibitem.
9931 Change BIBKEY_CODE to BIBITEM_CODE.
9932 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9933 * factory.C: replace insetbib.h with insetbibitem.h.
9934 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9935 * paragraph.C: replace insetbib.h with insetbibitem.h.
9936 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9937 Change bibkey() to bibitem().
9938 * text.C: remove insetbib.h.
9939 * text2.C: replace insetbib.h with insetbibitem.h.
9940 change bibkey() to bibitem().
9941 * text3.C: remove insetbib.h.
9942 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9944 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9946 * lyxrc.C (output): enclose user email in quotes (in case there are
9949 2003-02-18 John Levon <levon@movementarian.org>
9951 * buffer.h: add std::
9953 2003-02-17 John Levon <levon@movementarian.org>
9959 * pspell.C: reworking. Especially in ispell, a large
9960 number of clean ups and bug fixes.
9962 * lyxfunc.C: fix revert to behave sensibly
9964 2003-02-17 André Pönitz <poenitz@gmx.net>
9967 * commandtags.h: new LFUN_INSERT_BIBKEY
9977 * paragraph_func.C: remove special bibkey handling
9979 2003-02-17 John Levon <levon@movementarian.org>
9981 * text.C (Delete): fix case where delete at the end of
9982 the very first paragraph would not merge the pars
9984 2003-02-17 John Levon <levon@movementarian.org>
9986 * lyxrow.C: fix lastPrintablePos()
9988 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9990 * bufferparams.C (writeLaTeX): add a std:here
9992 * buffer.C: and remove a using directive there
9994 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9996 * buffer.C (makeLaTeXFile): move the code that generates the
9999 * bufferparams.C (writeLaTeX): ... in this new method
10001 * LaTeXFeatures.C (getEncodingSet): make const
10002 (getLanguages): make const
10004 * MenuBackend.C (binding): returns the binding associated to this
10006 (add): sets the status of each item by calling getStatus. Adds
10008 (read): add support for OptSubMenu
10009 (expand): remove extra separator at the end of expanded menu
10011 2003-02-15 John Levon <levon@movementarian.org>
10014 * BufferView_pimpl.C:
10016 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10017 inset code that had no actual effect. Remove unneeded status
10020 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10022 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10025 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10027 * text.C (drawLengthMarker): also draw an arrow marker for
10028 symbolic lengths (medskip...)
10030 2003-02-14 John Levon <levon@movementarian.org>
10033 * tabular.C: better method names
10035 2003-02-14 John Levon <levon@movementarian.org>
10037 * BufferView_pimpl.C:
10042 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10043 it's a more accurate name. Remove some pointless uses.
10045 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10047 * text2.C (LyXText): change order of initilizers to shut off
10050 2003-02-14 John Levon <levon@movementarian.org>
10052 * buffer.C: use ParIterator for getParFromID()
10056 * paragraph_pimpl.h:
10057 * paragraph_pimpl.C: remove unused getParFromID()
10059 2003-02-14 John Levon <levon@movementarian.org>
10061 * buffer.C: remove some very old #if 0'd parse code
10063 2003-02-13 John Levon <levon@movementarian.org>
10067 * text2.C: move hfillExpansion(), numberOfSeparators(),
10068 rowLast(), rowLastPrintable(), numberofHfills(),
10069 numberOfLabelHfills() ...
10072 * lyxrow.C: ... to member functions here.
10077 * text.C: remove LyXText::beginningOfMainBody(), and call
10078 p->beginningOfMainBody() directly. Move the check for
10079 LABEL_MANUAL into the latter.
10086 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10092 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10093 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10095 2003-02-13 John Levon <levon@movementarian.org>
10097 * CutAndPaste.C: remove debug
10099 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10101 * paragraph.C (asString): remove two unused variables
10103 * lyxtextclass.C (readTitleType):
10105 (LyXTextClass): handle new members titletype_ and titlename_
10107 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10109 2003-02-09 John Levon <levon@movementarian.org>
10112 * buffer.C: replace hand-coded list with a map for the dep clean
10114 2003-02-08 John Levon <levon@movementarian.org>
10116 * LaTeX.C: consolidate code into showRunMessage() helper
10118 2003-02-08 John Levon <levon@movementarian.org>
10123 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10124 and pass the size in explicitly
10126 * BufferView_pimpl.h:
10127 * BufferView_pimpl.C:
10129 * BufferView.C: add getCurrentChange()
10131 * BufferView_pimpl.h:
10132 * BufferView_pimpl.C: handle change lfuns
10134 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10135 for changes. Mark pasted paragraphs as new.
10137 * support/lyxtime.h:
10138 * support/lyxtime.C:
10139 * DepTable.C: abstract time_t as lyx::time_type
10142 * LColor.C: add colours for new text, deleted text, changebars
10144 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10145 package use "usenames" option.
10149 * LyXAction.C: add change lfuns
10153 * author.C: author handling
10156 * buffer.C: add a per-buffer author list, with first entry as
10157 current author. Handle new .lyx tokens for change tracking. Output
10158 author list to .lyx file. Output dvipost stuff to .tex preamble.
10159 Bump lyx format to 222.
10162 * bufferlist.C: add setCurrentAuthor() to reset current author details
10166 * bufferparams.C: add param for tracking
10168 * bufferview_funcs.C: output change info in minibuffer
10172 * changes.C: add change-tracking structure
10175 * debug.C: add CHANGES debug flag
10178 * lyxfind.C: add code for finding the next change piece
10181 * lyxrc.C: add user_name and user_email
10184 * lyxrow.C: add a metric for the top of the text line
10187 * text.C: implement accept/rejectChange()
10190 * text.C: paint changebars. Paint new/deleted text in the chosen
10191 colours. Strike through deleted text.
10195 * paragraph_pimpl.h:
10196 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10197 in the current change to the insert functions. Rework erase to
10198 mark text as deleted, adding an eraseIntern() and a range-based
10199 erase(). Implement per-paragraph change lookup and
10202 * paragraph_funcs.C: Fixup paste for change tracking.
10204 * tabular.C: mark added row/columns as new.
10206 * text.C: fix rowLast() to never return -1. Don't allow
10207 spellchecking of deleted text. Track transpose changes. Don't
10208 allow paragraph break or merge where appropriate.
10210 * text2.C: leave cursor at end of selection after a cut.
10212 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10214 * text.C (getLengthMarkerHeight):
10215 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10216 visible on screen too.
10218 2003-02-07 John Levon <levon@movementarian.org>
10220 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10222 2003-02-05 Angus Leeming <leeming@lyx.org>
10224 * lyxserver.C (read_ready): revert my patch of 11 September last year
10225 as it sends PC cpu through the roof. Presumably this means that
10226 the lyxserver will no longer run on an Alpha...
10228 2003-01-30 Angus Leeming <leeming@lyx.org>
10230 * factory.C (createInset): create an InsetCommandParam of type "index"
10231 and use it to 'do the right thing'.
10233 * text2.C (getStringToIndex): ensure that cursor position is always
10234 reset to the reset_cursor position.
10236 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10238 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10241 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10245 * lyxfunc.C: Output messages with identical spelling, punctuation,
10248 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10250 * MenuBackend.C (expandFormats): List only viewable export formats
10253 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10256 * lyxfunc.C (getStatus): Make sure that formats other than
10257 "fax" can also be disabled
10259 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10261 * text3.C (dispatch): put the lfuns that insert insets in 3
10262 groups, and call doInsertInset with appropriate arguments.
10263 (doInsertInset): new function, that creates an inset and inserts
10264 it according to some boolean parameters.
10266 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10268 * buffer.C (readFile): remember to pass on 'par' when calling
10269 readFile recursively.
10271 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10273 * MenuBackend.C (expandFormats): add "..." to import formats.
10275 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10277 * paragraph.C (asString): Remove XForms RTL hacks.
10279 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10280 * buffer.C: fix typo
10282 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10284 * Makefile.am (LIBS): delete var
10285 (lyx_LDADD): add @LIBS@ here instead.
10287 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10289 * Clarify the meaning of "wheel mouse jump"
10291 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10293 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10296 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10298 * importer.C (Loaders): do not preallocate 3 elements in the
10299 vector, since one ends up with 6 elements otherwise
10301 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10303 * DepTable.C (write): write the file name as last element of the
10304 .dep file (because it may contain spaces)
10305 (read): read info in the right order
10307 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10309 * paragraph_pimpl.C (simpleTeXBlanks):
10310 (simpleTeXSpecialChars):
10311 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10313 * tabular.C (latex): add some missing case statements. Reindent.
10315 * MenuBackend.C (expandToc): remove unused variable.
10317 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10326 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10329 2003-01-05 John Levon <levon@movementarian.org>
10332 * BufferView.C: add getEncoding()
10335 * kbsequence.C: do not store last keypress
10338 * lyxfunc.C: store last keypress here instead. Pass encoding
10341 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10343 * lyx_main.C (init): remove annoying error message when following
10344 symbolic links (bug #780)
10346 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10348 * text.C (insertChar):
10349 * lyxrc.C (getDescription): remove extra spaces
10351 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10353 * lyxrc.C (getDescription): remove extra spaces
10355 2002-12-20 John Levon <levon@movementarian.org>
10357 * text3.C: hack fix for page up/down across tall rows
10359 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10361 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10364 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10366 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10367 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10368 thesaurus is not compiled in
10370 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10372 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10374 2002-12-16 Angus Leeming <leeming@lyx.org>
10377 * lyx_main.C (init): remove override_x_deadkeys stuff.
10379 2002-12-12 John Levon <levon@movementarian.org>
10381 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10382 insert. Only remove shift modifier under strict
10385 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10387 * MenuBackend.C (expandToc): fix crash.
10389 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10391 * MenuBackend.C (expandToc): gettext on float names.
10393 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10395 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10396 implement bool empty() [bug 490]
10398 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10400 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10402 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10404 * several files: ws changes
10406 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10408 * text2.C (setCounter): clean up a bit, use boost.format.
10409 (updateCounters): initialize par upon declaration.
10411 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10412 if the layout exists. We do not just store the layout any more.
10413 (SwitchLayoutsBetweenClasses): use boost.format
10415 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10417 * converter.C (convert): if from and to files are the same, use a
10418 temporary files as intermediary
10420 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10423 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10425 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10427 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10429 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10431 * tabular.C (asciiPrintCell): use string(size, char) instead of
10434 * sgml.C (openTag): fix order of arguments to string constructor
10437 * lyxfunc.C (dispatch): use boost.format
10439 * lots of files: change "c" -> 'c'
10441 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10443 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10445 2002-11-25 Angus Leeming <leeming@lyx.org>
10447 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10449 * lyx_main.C (init): compile fix.
10451 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10453 * lyx_cb.C (start): boost.formatify
10454 do not include <iostream>
10456 * lengthcommon.C: ws only
10458 * boost-inst.C,BoostFormat.h: add more explict instantations
10460 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10462 * lots of files: handle USE_BOOST_FORMAT
10464 2002-11-21 John Levon <levon@movementarian.org>
10466 * pspell.C: fix compile
10468 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10470 * lyxfunc.C (dispatch): use boost::format
10474 * lyxfont.C (stateText): use boost::format
10476 * lyx_main.C (LyX): use boost::format
10478 (queryUserLyXDir): ditto
10479 (readRcFile): ditto
10481 (typedef boost::function): use the recommened syntax.
10483 * importer.C (Import): use boost::format
10485 * debug.C (showLevel): use boost::format
10487 * converter.C (view): use boost::format
10492 * bufferview_funcs.C (currentState): use boost::format
10494 * bufferlist.C (emergencyWrite): use boost::format
10496 * buffer.C (readLyXformat2): use boost::format
10497 (parseSingleLyXformat2Token): ditto
10499 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10501 * LaTeX.C (run): use boost::format
10503 * Chktex.C (scanLogFile): use boost::format
10505 * BufferView_pimpl.C (savePosition): use boost::format
10506 (restorePosition): ditto
10507 (MenuInsertLyXFile): ditto
10509 * BoostFormat.h: help file for explicit instation.
10511 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10513 * tabular.C (latex): Support for block alignment in fixed width
10516 2002-11-17 John Levon <levon@movementarian.org>
10518 * BufferView_pimpl.C:
10520 * lyxfunc.C: split filedialog into open/save
10522 2002-11-08 Juergen Vigna <jug@sad.it>
10524 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10525 by my last patch (hopefully).
10527 2002-11-08 John Levon <levon@movementarian.org>
10536 * toc.C: ParConstIterator, and use it (from Lars)
10538 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10540 * lyxtextclass.[Ch]: revise and add doxygen comments
10542 2002-11-07 John Levon <levon@movementarian.org>
10544 * text.C: fix progress value for spellchecker
10546 * toc.C: fix navigate menu for insetwrap inside minipage
10548 * paragraph_funcs.C: added FIXME for suspect code
10550 2002-11-07 John Levon <levon@movementarian.org>
10552 * BufferView_pimpl.C: fix redrawing of insets
10555 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10557 * text2.C (updateCounters): fix bug 668
10559 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10561 * text3.C (dispatch): Do not make the buffer dirty when moving the
10564 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10566 * vc-backend.C: STRCONV
10567 (scanMaster): ditto
10569 * text2.C (setCounter): STRCONV
10571 * paragraph.C (asString): STRCONV
10573 * lyxlength.C (asString): STRCONV
10574 (asLatexString): ditto
10576 * lyxgluelength.C (asString): STRCONV
10577 (asLatexString): ditto
10579 * lyxfunc.C (dispatch): STRCONV
10582 * lyxfont.C (stateText): STRCONV
10584 * importer.C (Import): STRCONV
10586 * counters.C (labelItem): STRCONV
10587 (numberLabel): ditto
10588 (numberLabel): remove unused ostringstream o
10593 * bufferview_funcs.C (currentState): STRCONV
10595 * buffer.C (readFile): STRCONV
10596 (asciiParagraph): ditto
10597 (makeLaTeXFile): ditto
10599 * Spacing.C (writeEnvirBegin): STRCONV
10601 * LaTeXFeatures.C (getLanguages): STRCONV
10602 (getPackages): ditto
10604 (getBabelOptions): ditto
10605 (getTClassPreamble): ditto
10606 (getLyXSGMLEntities): ditto
10607 (getIncludedFiles): ditto
10611 (scanAuxFile): ditto
10614 * LString.h: add the STRCONV macros
10616 * BufferView_pimpl.C (savePosition): STRCONV
10617 (restorePosition): ditto
10618 (MenuInsertLyXFile): ditto
10620 * vc-backend.C (scanMaster): change from submatch[...] to
10623 * funcrequest.C: include config.h
10625 * factory.C: include config.h
10627 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10629 * box.C: include config.h
10631 * LaTeX.C (scanAuxFile): change from submatch[...] to
10635 2002-10-25 Angus Leeming <leeming@lyx.org>
10637 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10639 * ispell.[Ch] (setError): new method.
10640 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10641 Use setError() insetead of goto END.
10643 * lyx_cb.C (AutoSave): move out child process into new class
10646 2002-10-30 John Levon <levon@movementarian.org>
10648 * text3.C: make start appendix undoable
10650 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10652 * lyxlength.C (inPixels): Fix returned value.
10654 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10657 2002-10-24 Angus Leeming <leeming@lyx.org>
10659 * lyxgluelength.h: no need to forward declare BufferParams
10660 or BufferView, so don't.
10662 2002-10-21 John Levon <levon@movementarian.org>
10664 * BufferView.C: menuUndo ->undo, redo
10666 * BufferView.h: document, remove dead, make some methods private
10668 * paragraph_funcs.h:
10669 * paragraph_funcs.C:
10670 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10675 * sgml.C: move sgml open/close tag into sgml.C
10677 * bufferview_funcs.h: unused prototype
10680 * lyxfunc.C: remove unused
10683 * text.C: remove unused
10685 2002-10-21 John Levon <levon@movementarian.org>
10689 * BufferView_pimpl.h:
10690 * BufferView_pimpl.C: fix mouse wheel handling based on
10691 patch from Darren Freeman
10693 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10695 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10697 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10699 * lyxlength.C (inPixels): Fix hanfling of negative length.
10700 Fix LyXLength::MU case.
10702 2002-10-16 John Levon <levon@movementarian.org>
10704 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10706 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10708 * converter.C (view): add support for $$i (file name) and $$p
10709 (file path) for the viewer command. If $$i is not specified, then
10710 it is appended to the command (for compatibility with old syntax)
10712 2002-10-14 Juergen Vigna <jug@sad.it>
10714 * undo_funcs.C (textHandleUndo): alter the order in which the
10715 new undopar is added to the LyXText, as we have to set first
10716 the right prev/next and then add it as otherwise the rebuild of
10717 LyXText is not correct. Also reset the cursor to the right paragraph,
10718 with this IMO we could remove the hack in "redoParagraphs()".
10720 2002-10-09 Angus Leeming <leeming@lyx.org>
10722 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10723 to turn off an optimisation if a new inset is to be inserted.
10725 2002-10-11 André Pönitz <poenitz@gmx.net>
10727 * lyxtext.h: make some functions public to allow access
10728 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10730 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10732 * text3.C (dispatch): when changing layout, avoid an infinite loop
10735 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10737 * lyxrc.C (read): treat a viewer or converter command of "none" as
10740 * MenuBackend.C (expandFormats): for an update, also allow the
10741 formats that are not viewable
10743 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10744 script if it is newer than the lyxrc.defaults in user directory
10746 2002-10-07 André Pönitz <poenitz@gmx.net>
10748 * text.C: Vitaly Lipatov's small i18n fix
10750 2002-09-25 Angus Leeming <leeming@lyx.org>
10752 * ispell.h: doxygen fix.
10754 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10756 * buffer.h (readFile): Add a new argument to the method, to allow
10757 reading of old-format templates.
10759 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10761 * toc.C (getTocList): Get TOC from InsetWrap.
10763 2002-09-16 John Levon <levon@movementarian.org>
10765 * lyxfunc.C: check tabular for cut/copy too
10767 2002-09-12 John Levon <levon@movementarian.org>
10769 * LyXAction.C: tidy
10772 * factory.C: add header
10774 * paragraph_funcs.h:
10775 * paragraph_funcs.C: cleanup
10777 2002-09-11 John Levon <levon@movementarian.org>
10779 * PrinterParams.h: odd/even default to true
10781 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10783 * PrinterParams.h: update printer parameters for new xforms dialog
10785 2002-09-11 Angus Leeming <leeming@lyx.org>
10787 * lyxserver.C (read_ready): re-write to make it more transparent
10788 and to make it work in coherent fashion under Tru64 Unix.
10790 2002-09-11 André Pönitz <poenitz@gmx.net>
10794 * text3.C: implement LFUN_WORDSEL
10796 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10798 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10799 make floatlist_ a boost::shared_ptr<FloatList>
10801 * lyxtextclass.C: include FloatList.h
10802 (LyXTextClass): initialize floatlist_
10803 (TextClassTags): add TC_NOFLOAT
10804 (Read): match "nofloat" to TC_NOFLOAT and use it.
10805 (readFloat): modify call to floatlist_
10809 * FloatList.[Ch] (FloatList): remove commented out float
10811 (erase): new function
10813 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10815 * MenuBackend.C (expandToc): fix crash when there is no document
10818 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10820 * many files: Add insetwrap.
10822 2002-09-09 John Levon <levon@movementarian.org>
10824 * text2.C: remove confusing and awkward depth wraparound
10826 2002-09-09 John Levon <levon@movementarian.org>
10828 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10831 * buffer.C: remove getIncludeonlyList()
10834 * lyxfunc.C: remove headers
10836 2002-09-09 Juergen Vigna <jug@sad.it>
10838 * text.C (getColumnNearX): fix form Michael this is most
10839 probably a cut&paste bug.
10841 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10843 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10845 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10846 references, ws changes.
10848 * text2.C (init): update counters after init
10849 (insertParagraph): no need to set counter on idividual paragraphs.
10850 (setCounter): access the counters object in the textclass object
10851 on in the buffer object.
10852 (updateCounters): ditto
10854 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10855 shared_ptr<Counters> to avoid loading counters.h in all
10857 (LyXTextClass): initialize ctrs_
10858 (TextClassTags): add TC_COUNTER, and ...
10859 (Read): use it here.
10860 (CounterTags): new tags
10861 (readCounter): new function
10862 (counters): new funtion
10863 (defaultLayoutName): return a const reference
10865 * counters.C (Counters): remove contructor
10866 (newCounter): remove a couple of unneeded statements.
10867 (newCounter): simplify a bit.
10868 (numberLabel): some small formatting changes.
10870 * buffer.[Ch]: remove all traces of counters, move the Counters
10871 object to the LyXTextClass.
10873 2002-09-06 Alain Castera <castera@in2p3.fr>
10875 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10876 package to set the horizontal alignment on fixed width columns.
10879 * lyx_sty.h: added tabularnewline macro def.
10881 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10883 2002-09-06 John Levon <levon@movementarian.org>
10885 * LyXAction.C: tooltips for sub/superscript
10887 * MenuBackend.C: a bit more verbose
10889 * lyxfunc.C: tiny clean
10891 * undo_funcs.C: document undo_frozen
10893 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10895 * counters.C (Counters): add missing algorithm counter.
10897 * text2.C (setCounter): lookup the counter with layouts latexname
10898 instead of by section number.
10899 (setCounter): use a hackish way to lookup the correct enum
10901 a float name->type change
10902 reset enum couners with counter name directly instead of depth value.
10904 * counters.C (Counters): remove the push_backs, change to use the
10905 float type not the float name.
10906 (labelItem): remove unused string, float name->type change
10908 * counters.h: don't include vector, loose the enums and sects vectors
10910 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10912 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10913 (Read): add float->TC_FLOAT to textclassTags
10914 (Read): and handle it in the switch
10915 (readFloat): new function
10917 * FloatList.C (FloatList): comment out the hardcoded float
10920 * lyxlayout.h: ws change.
10922 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10924 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10926 2002-09-03 Angus Leeming <leeming@lyx.org>
10928 * BufferView_pimpl.h: qualified name is not allowed in member
10929 declaration: WorkArea & Pimpl::workarea() const;
10931 * factory.C: added using std::endl directive.
10933 * text3.C: added using std::find and std::vector directives.
10935 2002-08-29 André Pönitz <poenitz@gmx.net>
10938 * text2.C: remove unused member number_of_rows
10941 * BufferView2.C: remove file, move contents to...
10942 * BufferView.C: ... here
10944 * BufferView_pimpl.C:
10945 * factory.C: move more inset creation to factory
10947 * vspace.C: avoid direct usage of LyXText, ws changes
10950 don't provide direct access to WorkArea, use two simple
10951 acessors haveSelction() and workHeight() instead
10954 2002-08-29 John Levon <levon@movementarian.org>
10956 * BufferView_pimpl.C (dispatch): do not continue when
10959 2002-08-28 André Pönitz <poenitz@gmx.net>
10961 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10964 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10966 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10968 * buffer.C: increment LYX_FORMAT to 221
10970 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10971 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10973 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10975 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10977 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10979 * factory.C (createInset): use LyXTextClass::floats
10981 * MenuBackend.C (expandFloatListInsert):
10982 (expandFloatInsert):
10985 * text2.C (setCounter):
10987 * LaTeXFeatures.C (useFloat):
10988 (getFloatDefinitions):
10990 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10992 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10993 floatlist_, with accessor floats().
10995 * FloatList.h: remove global FloatList
10997 2002-08-26 André Pönitz <poenitz@gmx.net>
10999 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11003 * BufferView_pimpl.C:
11004 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11006 2002-08-25 John Levon <levon@movementarian.org>
11008 * LyXAction.C: fix margin note description
11010 2002-08-24 John Levon <levon@movementarian.org>
11014 * bufferview_funcs.C:
11016 * undo_funcs.C: cleanups
11018 * lyxfunc.C: disable CUT/COPY when no selection
11020 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11022 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11023 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11025 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11026 Add backward compatibility to "mono", "gray" and "no".
11028 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11030 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11031 (and file_format >= 200).
11033 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11035 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11037 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11039 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11041 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11043 * BufferView_pimpl.C:
11050 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11051 inset and code to make it work with the paragraph code. The inset
11052 can be anywhere in the paragraph, but will only do the expected
11053 thing in LaTeX if the layout file contains the parameter line
11055 (or more generally, a nonzero value) for that layout.
11057 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11059 * paragraph.h: remove the declaration of undefined counters class
11062 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11064 * text2.C (setCounter): fixed enumeration mis-count as reported by
11065 Dr. Richard Hawkins.
11067 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11069 * paragraph_funcs.h: remove some unneeded includes
11071 * text.C (backspace): pasteParagraph now in global scipe
11073 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11074 (pasteSelection): ditto
11076 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11077 * paragraph_funcs.C (pasteParagraph): ... here
11079 2002-08-20 André Pönitz <poenitz@gmx.net>
11081 * commandtags.h: new LFUNs for swapping/copying table row/colums
11084 * lyxfunc.C: support for new lfuns
11086 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11089 * buffer.[Ch]: remove NO_COMPABILITY stuff
11091 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11093 * boost.C (throw_exception): new file, with helper function for
11094 boost compiled without exceptions.
11099 * ParameterStruct.h:
11100 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11102 * bufferlist.C (emergencyWriteAll): use boost bind
11104 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11106 * text.C: include paragraph_funcs.h
11107 (breakParagraph): breakParagraph is now in global scope
11109 * paragraph_funcs.[Ch]: new files
11111 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11114 * buffer.C: include paragraph_funcs.h
11115 (insertStringAsLines): breakParagraph is now in global scope
11117 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11120 * CutAndPaste.C: include paragraph_funcs.h
11121 (cutSelection): breakParagraphConservative is now in global scope
11122 (pasteSelection): ditto
11124 * buffer.h: declare oprator== and operator!= for
11125 Buffer::inset_iterator
11127 * bufferlist.C (emergencyWrite): don't use fmt(...)
11129 * text3.C: add using std::endl
11131 * BufferView.C (moveCursorUpdate): remove default arg
11133 2002-08-20 André Pönitz <poenitz@gmx.net>
11135 * buffer.[Ch]: move inline functions to .C
11138 * BufferView_pimpl.C:
11140 * buffer.[Ch]: use improved inset_iterator
11143 * paragraph.[Ch]: write one paragraph at a time
11145 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11147 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11148 style if style is not specified.
11150 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11152 * text2.C (setCounter): when searching for right label for a
11153 caption, make sure to recurse to parent insets (so that a caption
11154 in a minipage in a figure float works) (bug #568)
11156 2002-08-20 André Pönitz <poenitz@gmx.net>
11158 * text3.C: new file for LyXText::dispatch() and helpers
11160 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11162 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11164 2002-08-19 André Pönitz <poenitz@gmx.net>
11167 * text.C: new LyXText::dispatch()
11169 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11171 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11173 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11175 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11178 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11180 * Makefile.am: use $(variables) instead of @substitutions@
11182 2002-08-15 André Pönitz <poenitz@gmx.net>
11185 * BufferView_pimpl.C: streamlining mathed <-> outer world
11189 * LyXAction.C: remove unused LFUN_MATH
11191 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11193 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11195 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11197 * paragraph.C (Paragraph): reformat a bit
11198 (cutIntoMinibuffer): use builtin InsetList function instad of
11202 * buffer.C: include boost/bind.hpp, add using std::for_each
11203 (writeFileAscii): use ParagraphList iterators
11204 (validate): use for_each for validate traversal of paragraphs
11205 (getBibkeyList): use ParagraphList iterators
11206 (resizeInsets): use for_each to resizeInsetsLyXText for all
11208 (getParFromID): use ParagraphList iterators
11210 * BufferView2.C (lockInset): use paragraph list and iterators
11212 2002-08-14 John Levon <levon@movementarian.org>
11214 * lyxserver.C: remove spurious xforms include
11216 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11218 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11220 2002-08-13 André Pönitz <poenitz@gmx.net>
11223 * lyxfunc.C: further cleaning
11225 2002-08-13 André Pönitz <poenitz@gmx.net>
11227 * funcrequest.h: new constructor
11229 * funcrequest.C: move stuff here from .h
11232 * BufferView_pimpl.C:
11235 * lyxfunc.C: subsequent changes
11237 * lyxfunc.h: new view() member function
11239 * lyxfunc.C: subsequent changes
11241 2002-08-13 Angus Leeming <leeming@lyx.org>
11244 * BufferView_pimpl.C:
11252 changes due to the changed LyXView interface that now returns references
11253 to member variables not pointers.
11255 2002-08-13 Angus Leeming <leeming@lyx.org>
11257 * WordLangTuple (word, lang_code): return references to strings,
11262 * lyxtext.h: forward-declare WordLangTuple.
11267 * text.C: #include "WordLangTuple.h".
11270 * text.C: (selectNextWordToSpellcheck): constify return type.
11272 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11278 * paragraph_pimpl.h:
11281 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11282 suggested by Angus.
11283 Made updateCounter always count from start of buffer, and removed
11284 second argument (par).
11285 Reverted floats number display to '#'. Perhaps I'll try again when the
11286 code base is sanitized a bit.
11288 2002-08-12 Angus Leeming <leeming@lyx.org>
11290 * buffer.[Ch] (getLabelList): constify.
11292 2002-08-07 André Pönitz <poenitz@gmx.net>
11294 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11296 * funcrequest.h: extension to keep mouse (x,y) position
11298 2002-08-12 Juergen Vigna <jug@sad.it>
11300 * BufferView2.C (insertErrors): forbid undo when inserting error
11303 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11305 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11307 * ParagraphList.[Ch]: new files
11309 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11311 * BufferView2.C (lockInset): ParagraphList changes
11314 * bufferlist.C: ditto
11318 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11320 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11321 unused class variable counter_,
11323 * paragraph.[Ch] (getFirstCounter): delete unused function
11325 * counters.C: include LAssert.h
11326 (reset): add a new function with no arg, change other version to
11327 not have def. arg and to not allow empty arg.
11329 * text2.C (setCounter): remove empty arg from call to Counters::reset
11331 2002-08-11 John Levon <levon@movementarian.org>
11333 * Makefile.am: add WordLangTuple.h
11335 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11337 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11338 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11340 * insets/insettext.C: InsetList changes
11342 * graphics/GraphicsSupport.C (operator()): InsetList changes
11344 * toc.C (getTocList): InsetList changes
11346 * paragraph_pimpl.[Ch]: InsetList changes
11348 * paragraph.[Ch]: InsetList changes
11350 * buffer.C (inset_iterator): InsetList changes
11351 (setParagraph): ditto
11352 * buffer.h (inset_iterator): ditto
11353 * iterators.C (operator++): ditto
11354 * iterators.h: ditto
11356 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11358 * InsetList.[Ch]: new files, most InsetList handling moved out of
11361 * BufferView2.C (removeAutoInsets): InsetList changes
11363 (ChangeInsets): ditto
11365 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11367 * paragraph_pimpl.h (empty): new function
11369 * paragraph.[Ch] (empty): new function
11371 * other files: use the new Paragraph::empty function
11373 2002-08-09 John Levon <levon@movementarian.org>
11375 * lyxtext.h: remove unused refresh_height
11377 2002-08-09 John Levon <levon@movementarian.org>
11384 * paragraph.C: move sgml char escaping out of paragraph
11387 * paragraph.C: remove id setter
11391 * paragraph_pimpl.C: remove dead tex_code_break_column
11393 * bufferview_funcs.C: small cleanup
11395 * lyxfunc.C: remove dead proto
11397 * lyxtext.h: make some stuff private. Remove some dead stuff.
11399 * lyxgluelength.C: make as[LyX]String() readable
11401 2002-08-08 John Levon <levon@movementarian.org>
11406 * ToolbarDefaults.C:
11409 * toc.C: lyxaction cleanup
11411 2002-08-08 John Levon <levon@movementarian.org>
11413 * BufferView2.C: small cleanup
11416 * lyxfind.C: move unnecessary header into the .C
11418 2002-08-08 John Levon <levon@movementarian.org>
11420 * funcrequest.h: just tedious nonsense
11423 * lyx_main.C: cleanups
11426 * vspace.C: remove dead header lyx_main.h
11428 2002-08-07 Angus Leeming <leeming@lyx.org>
11431 * paragraph_pimpl.h:
11432 Forward declare class Counters in paragraph.h by moving the ctrs member
11433 variable into Paragraph::Pimpl.
11434 (counters): new method, returning a reference to pimpl_->ctrs.
11436 * text2.C: ensuing changes.
11438 2002-08-07 John Levon <levon@movementarian.org>
11440 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11442 * BufferView_pimpl.C: announce X selection on double/triple
11445 * lyx_main.C: use correct bool in batch dispatch
11447 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11449 2002-08-07 André Pönitz <poenitz@gmx.net>
11451 * funcrequest.h: new class to wrap a kb_action and its argument
11454 * BufferView_pimpl[Ch]:
11458 * lyxrc.C: subsequent changes
11461 2002-08-07 John Levon <levon@movementarian.org>
11463 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11464 document options change.
11466 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11471 * makefile.am: move counters functionality over from
11472 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11474 2002-08-06 John Levon <levon@movementarian.org>
11476 * WordLangTuple.h: new file for word + language code tuple
11487 * BufferView2.C: use WordLangTuple
11490 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11492 2002-08-06 John Levon <levon@movementarian.org>
11494 * lyx_main.C: fix cmdline batch handling
11496 2002-08-06 André Pönitz <poenitz@gmx.net>
11498 * lyxrc.C: set default for show_banner to true
11500 2002-08-06 John Levon <levon@movementarian.org>
11502 * pspell.C: fix a crash, and allow new aspell to work
11504 2002-08-06 John Levon <levon@movementarian.org>
11507 * kbmap.C: small cleanup
11510 * vspace.C: add const
11512 2002-08-05 John Levon <levon@movementarian.org>
11514 * LyXAction.C: back to tabular-insert
11516 2002-08-04 John Levon <levon@movementarian.org>
11519 * BufferView.C: cosmetic change
11521 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11531 * BufferView2.C: purge all "Lyx" not "LyX" strings
11534 * lyxcursor.C: attempt to add some documentation
11539 * ToolbarDefaults.C:
11540 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11541 merge with LFUN_TABULAR_INSERT
11548 * pspell.C: split up i/pspell implementations into separate
11549 files, many cleanups
11551 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11553 * text2.C: some cleanup
11555 * lyxfunc.C: don't check for isp_command == "none" any more, it
11556 didn't make any sense
11558 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11563 * makefile.am: move counters functionality over
11564 from text2.C/paragraph.[Ch] to counters.[Ch], and
11566 2002-08-02 John Levon <levon@movementarian.org>
11568 * buffer.C: s/lyxconvert/lyx2lyx/
11570 2002-08-02 Angus Leeming <leeming@lyx.org>
11572 * lyxlex.C: revert John's change as it breaks reading of the user
11575 2002-08-02 Angus Leeming <leeming@lyx.org>
11577 * importer.C (Import):
11578 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11579 changes due to LyXView::view() now returning a boost::shared_ptr.
11581 2002-08-02 John Levon <levon@movementarian.org>
11583 * lyxlex.C: small cleanup
11585 2002-08-02 John Levon <levon@movementarian.org>
11587 * text2.C (status): small cleanup, no logic change
11589 2002-08-01 John Levon <levon@movementarian.org>
11592 * buffer.C (writeFile): don't output alerts, caller
11596 * lyx_cb.C: from above
11598 * lyxfunc.C: allow to open non-existent files
11600 2002-07-31 John Levon <levon@movementarian.org>
11602 * lyxserver.C: don't let incidental errors get
11605 2002-07-30 John Levon <levon@movementarian.org>
11607 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11609 2002-07-30 John Levon <levon@movementarian.org>
11612 * lyxserver.C: remove I/O callback too
11614 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11616 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11619 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11621 * many files: strip,frontStrip -> trim,ltrim,rtrim
11623 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11625 * PrinterParams.h: remove extern containsOnly, and include
11626 support/lstrings.h instead.
11628 * LaTeX.C (scanAuxFile): modify because of strip changes
11630 * buffer.C (makeLaTeXFile): ditto
11631 * bufferparams.C (writeFile): ditt
11632 * lyxfont.C (stateText): ditto
11633 * lyxserver.C (read_ready): ditto
11634 * vc-backend.C (scanMaster): ditto
11636 * BufferView_pimpl.h: ws changes
11638 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11640 2002-07-26 André Pönitz <poenitz@gmx.net>
11642 * kb_sequence.C: remove unnedred usings
11644 2002-07-26 Juergen Vigna <jug@sad.it>
11646 * lyxfind.C (LyXReplace): we have to check better if the returned
11647 text is not of theLockingInset()->getLockingInset().
11649 2002-07-25 Juergen Vigna <jug@sad.it>
11651 * lyxfind.C (LyXReplace): don't replace if we don't get the
11654 * undo_funcs.C (createUndo): remove debugging code.
11656 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11658 * buffer.C (parseSingleLyXformat2Token): Use default placement
11659 when reading old floats.
11661 * FloatList.C (FloatList): Change the default placement of figure
11662 and tables to "tbp".
11664 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11666 * MenuBackend.C: using std::max
11668 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11670 * MenuBackend.C (expandToc):
11671 (expandToc2): code moved from xforms menu frontend. It is now
11672 generic and TOCs are transparent to menu frontends.
11674 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11676 * toc.C (getTocList): protect against buf=0
11678 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11679 Menu as first parameter. Now, this calls itself recursively to
11680 expand a whole tree (this will be useful for TOC handling)
11681 (expandFloatInsert): remove 'wide' version of floats
11683 * MenuBackend.h (submenuname): returns the name of the submenu.
11684 (submenu): returns the submenu itself, provided it has been
11685 created by MenuBackend::expand
11687 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11689 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11690 insets which have noFontChange == true. (bug #172)
11692 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11694 * BufferView_pimpl.C: add connection objects and use them...
11697 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11699 * MenuBackend.C (expandLastfiles):
11702 (expandFloatListInsert):
11703 (expandFloatInsert):
11704 (expand): split expand in parts
11706 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11708 * lyx_gui.C: use lyx_gui::exit()
11710 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11712 * LyXAction.C: show the failing pseudo action
11714 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11716 * buffer.C (readFile): Run the lyxconvert script in order to read
11719 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11723 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11725 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11729 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11731 2002-07-22 Herbert Voss <voss@lyx.org>
11734 * lyxlength.[Ch]: add support for the vertical lengths
11736 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11738 * toc.[Ch]: std:: fixes
11740 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11742 * lyxrc.C: do not include lyx_main.h
11744 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11750 * BufferView2.C: include "lyxlex.h"
11753 * bufferparams.h: do not #include "lyxlex.h"
11755 * lyxtextclasslist.C (Add): remove method
11756 (classlist): renamed to classlist_
11758 * paragraph_pimpl.C:
11762 * bufferview_funcs.C:
11767 * toc.C (getTocList): use BufferParams::getLyXTextClass
11769 * toc.C (getTocList): use InsetFloat::addToToc
11771 * toc.[Ch]: new files, containing helper functions to handle table
11774 * lyxfunc.C (dispatch): no need to remove spaces around command
11776 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11777 first command of the sequence; it is not very clever, but I do not
11778 have a better idea, actually
11780 * LyXAction.C (LookupFunc): make sure to remove space at the
11781 beginning and end of the command
11783 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11785 * MenuBackend.C (getMenubar): new method: return the menubar of
11787 (read): treat differently reading of menu and menubar (in
11788 particular, the menubar has no name now)
11789 (Menu::menubar): remove
11791 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11794 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11796 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11797 a bibitem inset in a RTL paragraph.
11799 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11801 * paragraph_pimpl.C: constify
11803 * BufferView_pimpl.C:
11805 * lyxfunc.C: fix dispatch in a nicer way
11807 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11809 * lyxfunc.C (dispatch):
11810 * BufferView_pimpl.C:
11811 * BufferView_pimpl.h:
11813 * BufferView.h: rename Dispatch() to dispatch()
11815 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11817 * lyxlayout.C (Read): honor DependsOn tag
11819 * lyxlayout.[Ch] (depends_on): new method
11821 * version.C.in: update lyx_docversion
11823 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11825 * paragraph.C (validate): remove from here...
11826 * paragraph_pimpl.C (validate): ... and move here
11827 (isTextAt): make it const
11829 * buffer.C (getLists): ws cleanup
11831 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11833 * language.C (read): Use iso8859-1 encoding in latex_lang
11834 (this prevents LyX from crashing when using iso10646-1 encoding).
11836 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11838 * text2.C (toggleInset): if cursor is inside an inset, close the
11839 inset and leave cursor _after_ it
11841 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11843 * lyxfunc.C: move minibuffer completion handling out of here
11845 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11847 * BufferView_pimpl.C:
11848 * LaTeX.C: fix dispatch calls
11850 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11852 * text.C (drawChars): Fix Arabic text rendering.
11854 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11858 * lyxfunc.C: remove message-push/pop
11862 * lyxfunc.C: rationalise some code by removing verboseDispatch
11863 in favour of a bool argument to dispatch()
11865 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11867 * lyx_main.C (init): make sure to read symlinks as absolute paths
11869 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11872 * lyxfunc.C: no need for commandshortcut to be a member
11874 2002-07-15 André Pönitz <poenitz@gmx.net>
11876 * converter.C: add support for $$s (scripts from lib/scripts dir)
11877 * lyx_main.C: white space
11879 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11883 * lyxrc.C: remove second exit confirmation
11885 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11890 * BufferView_pimpl.h:
11891 * BufferView_pimpl.C:
11892 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11894 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11896 * MenuBackend.C (expand): add numeric shortcuts to document menu
11898 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11900 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11902 * lyxfont.C (setLyXFamily):
11909 * buffer.C (asciiParagraph): use ascii_lowercase
11911 2002-07-15 Mike Fabian <mfabian@suse.de>
11913 * lyxlex_pimpl.C (search_kw):
11914 * lyxlex.C (getLongString):
11915 * converter.h (operator<):
11916 * converter.C (operator<):
11917 * buffer.C (parseSingleLyXformat2Token):
11919 * ToolbarDefaults.C (read):
11920 * MenuBackend.C (checkShortcuts):
11922 * LColor.C (getFromGUIName):
11923 (getFromLyXName): use the compare_ascii_no_case instead of
11924 compare_no_case, because in turkish, 'i' is not the lowercase
11925 version of 'I', and thus turkish locale breaks parsing of tags.
11927 2002-07-16 Angus Leeming <leeming@lyx.org>
11929 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11930 now takes a Buffer const & argument.
11932 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11934 * BufferView.C (resize): check there's a buffer to resize
11936 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11938 * lyxfunc.C: remove dead code
11941 * lyxserver.C: use lyx_guii::set_read_callback
11943 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11945 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11946 an inset in a RTL paragraph.
11948 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11950 * lyxfunc.C: repaint after a font size update
11952 2002-07-15 André Pönitz <poenitz@gmx.net>
11954 * lyxlength.C: inBP should be able to return negative values
11956 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11958 * lyxfunc.C: use lyx_gui::update_fonts()
11960 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11962 * lyxfunc.C: use lyx_gui::update_color()
11964 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11970 * lyxrc.C: remove file->new asks for name option, and let
11971 buffer-new take an argument
11973 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11975 * BufferView_pimpl.C: remove unneeded extra repaint()
11977 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11979 * LyXAction.C: allow command-sequence with NoBuffer
11981 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11983 2002-07-10 Angus Leeming <leeming@lyx.org>
11985 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11987 2002-07-09 Angus Leeming <leeming@lyx.org>
11989 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11991 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11993 * lengthcommon.h: whitespace
11995 * lyxfunc.C: update scrollbar after goto paragraph
11997 * lyxtext.h: factor out page break drawing, and fix it so
11998 page break/added space paints as selected nicely
12000 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12002 * BufferView_pimpl.C: add FIXMEs, clean up a little
12004 2002-07-09 André Pönitz <poenitz@gmx.net>
12006 * lyxfont.[Ch]: support for wasy symbols
12008 2002-07-08 André Pönitz <poenitz@gmx.net>
12010 * BufferView_pimpl.C: apply John's patch for #93.
12012 2002-07-05 Angus Leeming <leeming@lyx.org>
12014 * BufferView_pimpl.C (buffer): generate previews if desired.
12016 * LColor.h: add "preview" to the color enum.
12018 * LColor.C (LColor): add a corresponding entry to the items array.
12020 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12023 2002-07-05 Angus Leeming <leeming@lyx.org>
12025 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12026 The body of the code is now in the method that is passed an ostream &
12027 rather than a file name.
12028 Pass an additional only_preamble parameter, useful for the forthcoming
12031 2002-07-03 André Pönitz <poenitz@gmx.net>
12033 * lyxfunc.C: simplify getStatus() a bit for math stuff
12035 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12037 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12039 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12041 * text.C (changeRegionCase): do not change case of all the
12042 document when region ends at paragraph end (bug #461)
12044 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12046 * paragraph.C (startTeXParParams):
12047 (endTeXParParams): add \protect when necessary
12049 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12051 * BufferView_pimpl.C (workAreaExpose): remove warning
12053 2002-06-27 Angus Leeming <leeming@lyx.org>
12055 * Makefile.am: add lyxlayout_ptr_fwd.h.
12057 2002-06-26 André Pönitz <poenitz@gmx.net>
12059 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12061 2002-06-25 Angus Leeming <leeming@lyx.org>
12063 * lyxfunc.C (dispatch): Comment out the call to
12064 grfx::GCache::changeDisplay. The method no longer exists now that the
12065 pixmap generation part of the graphics loader has been moved into
12068 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12070 * text2.C: layout as layout
12072 * text.C: layout as layout
12074 * tabular.C (OldFormatRead): layout as layout
12076 * paragraph_pimpl.C (TeXDeeper): layout as layout
12077 (realizeFont): layout as layout
12079 * paragraph.C (writeFile): layout as layout
12080 (validate): layout as layout
12081 (getFont): layout as layout
12082 (getLabelFont): layout as layout
12083 (getLayoutFont): layout as layout
12084 (breakParagraph): layout as layout
12085 (stripLeadingSpaces): layout as layout
12086 (getEndLabel): layout as layout
12087 (getMaxDepthAfter): layout as layout
12088 (applyLayout): layout as layout
12089 (TeXOnePar): layout as layout
12090 (simpleTeXOnePar): layout as layout
12091 (TeXEnvironment): layout as layout
12092 (layout): layout as layout
12093 (layout): layout as layout
12095 * lyxtextclass.C (compare_name): new functor to work with
12096 shared_ptr, layout as layout
12097 (Read): layout as layout
12098 (hasLayout): layout as layout
12099 (operator): layout as layout
12100 (delete_layout): layout as layout
12101 (defaultLayout): layout as layout
12103 * lyxlayout_ptr_fwd.h: new file
12105 * lyxlayout.C (Read): layout as layout
12107 * lyx_cb.C (MenuInsertLabel): layout as layout
12109 * bufferlist.C (newFile): layout as layout
12111 * buffer.C (readLyXformat2): layout as layout
12112 (parseSingleLyXformat2Token): layout as layout
12113 (insertStringAsLines): layout as layout
12114 (asciiParagraph): layout as layout
12115 (latexParagraphs): layout as layout
12116 (makeLinuxDocFile): layout as layout
12117 (simpleLinuxDocOnePar): layout as layout
12118 (makeDocBookFile): layout as layout
12119 (simpleDocBookOnePar): layout as layout
12120 (getLists): layout as layout
12122 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12124 * CutAndPaste.C (cutSelection): layout as layout
12125 (pasteSelection): layout as layout
12126 (SwitchLayoutsBetweenClasses): layout as layout
12128 * BufferView_pimpl.C (Dispatch): layout as layout
12129 (smartQuote): layout as layout
12131 * BufferView2.C (unlockInset): layout as layout
12133 2002-06-24 André Pönitz <poenitz@gmx.net>
12135 * lyxfunc.C: fix #487
12137 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12141 * lyxfunc.C: remove display_shortcuts, show_banner
12143 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12145 * Buffer_pimpl.C: oops, update on resize
12147 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12154 * BufferView.C: use repaint()
12156 * BufferView_pimpl.h:
12157 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12158 as it's a clearer description. Remove superfluous
12161 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12163 * text.C: fix bug 488. Not ideal, but getting
12164 getWord() to work properly for the insets that
12165 matter is more difficult ...
12167 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12169 * BufferView_pimpl.C:
12172 * lyxfunc.C: remove the six million index lyxfuncs to just
12173 one, and DTRT (bug 458)
12175 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12179 * BufferView_pimpl.h:
12180 * BufferView_pimpl.C: clean up resize() stuff,
12181 and unnecessary updateScreen()s
12183 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12187 * BufferView_pimpl.h:
12188 * BufferView_pimpl.C:
12191 * minibuffer.C: remove focus management of workarea,
12192 not needed. Use screen's greyOut()
12194 2002-06-17 Herbert Voss <voss@lyx.org>
12196 * converter.C: (convert) do not post a message, when converting
12197 fails, let the calling function decide what to do in this case
12199 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12201 * lyxfunc.C: tidy up a little
12203 2002-06-16 <alstrup@diku.dk>
12205 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12206 Got rid of FORMS_H_LOCATION include. Now we are
12209 2002-06-15 LyX Development team <lyx@rilke>
12211 * buffer.[Ch] (sgmlOpenTag):
12212 (sgmlCloseTag): Added support for avoiding pernicious mixed
12213 content. Return number of lines written.
12215 (makeLinuxDocFile):
12216 (makeDocBookFile): Fixed calls to sgml*Tag.
12217 Simple white space clean.
12219 (simpleDocBookOnePar): Simple white space clean.
12221 * tabular.[Ch] (docBook): Renamed to docbook and got another
12222 argument to related with the pernicious mixed content.
12224 (docbookRow): Fixed calls for docbook inset method.
12226 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12228 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12229 so it's X11 independent.
12233 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12235 2002-06-15 Lyx Development team <lyx@electronia>
12237 * intl.h: Renamed getTrans to getTransManager.
12239 2002-06-14 Angus Leeming <leeming@lyx.org>
12241 * Makefile.am: nuke forgotten stl_string_fwd.h.
12243 2002-06-12 Angus Leeming <leeming@lyx.org>
12245 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12247 2002-06-13 Angus Leeming <leeming@lyx.org>
12250 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12252 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12254 * kbmap.C (getiso): add support for cyrillic and greek
12256 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12260 * BufferView_pimpl.h:
12261 * BufferView_pimpl.C: move bogus scrolling logic
12264 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12267 * BufferView_pimpl.C: view->resize() change
12269 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12271 * BufferView_pimpl.C: topCursorVisible
12274 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12278 * lyx_gui.C: move to frontends/
12282 * lyx_main.C: changes from above
12284 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12291 * lyx_main.C: minor tidy
12293 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12295 * BufferView_pimpl.h:
12296 * BufferView_pimpl.C:
12298 * BufferView.C: make painter() const,
12301 * BufferView2.C: use screen() accessor
12304 * lyx_main.C: some minor cleanup
12306 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12308 * BufferView_pimpl.h:
12309 * BufferView_pimpl.C: remove enter/leaveView,
12312 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12317 * BufferView_pimpl.h:
12318 * BufferView_pimpl.C: only construct screen once,
12321 * lyxrc.C: remove pointless comment
12323 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12326 * BufferView.C: remove active() and belowMouse()
12328 * BufferView_pimpl.h:
12329 * BufferView_pimpl.C: use workarea() not workarea_,
12330 and make it use a scoped_ptr instead
12332 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12334 * lyx_gui.C: add debug message on BadWindow
12336 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12338 * sp_spell.C: fdopen is not part of the C++ standard.
12340 * paragraph.C (InsetIterator): use >= instead of ==
12342 2002-06-07 Angus Leeming <leeming@lyx.org>
12344 Fixes needed to compile with Compaq cxx 6.5.
12345 * BufferView_pimpl.C:
12352 * lyxtextclasslist.C:
12357 all c-library variables have been moved into namespace std. Wrap
12358 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12363 Add a using std::abs declaration.
12365 * kbmap.h (modifier_pair):
12366 * paragraph.h (InsetTable, InsetList):
12367 * lyxfont.h (FontBits):
12368 type definition made public.
12370 * bufferlist.C (emergencyWriteAll): the compiler complains that
12371 there is more than one possible lyx::class_fun template to choose from.
12372 I re-named the void specialisation as lyx::void_class_fun.
12374 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12376 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12377 the compiler is is unable to find tostr in write_attribute.
12379 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12381 * buffer.C (sgmlError): hide #warning
12383 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12385 * xtl/*: get rid of xtl, which is not in use anyway
12387 * LyXAction.C (init):
12388 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12389 were unimplemented xtl experimentation
12391 2002-06-04 André Pönitz <poenitz@gmx.net>
12393 * lyxfunc.C: disable array operation on simple formulae
12395 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12397 * converter.C: constify a bit
12399 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12401 * lyx_gui.C: check xforms version correctly
12403 2002-04-30 Herbert Voss <voss@lyx.org>
12405 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12408 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12410 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12411 attempt to register it with a VCS)
12413 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12415 * lyx_main.C (init): honor variables LYX_DIR_13x and
12418 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12422 * lyx_main.C: fix a crash on bad command line,
12423 and give a useful exit status on error
12425 * lyxfunc.C (doImport): allow -i lyx to work
12427 2002-03-30 André Pönitz <poenitz@gmx.net>
12429 * lyxfunc.C: mathed font changes
12431 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12446 * trans_mgr.h: srcdocs, and some minor cleanups
12448 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12450 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12451 call getFont all the time)
12453 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12455 * switch from SigC signals to boost::signals
12457 2002-05-29 André Pönitz <poenitz@gmx.net>
12459 * paragraph_pimpl.C (getChar): don't call size() too often...
12461 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12463 * paragraph_pimpl.C (insertChar): do not try to update tables when
12464 appending (pos == size())
12466 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12467 in order to reduce drastically the number of comparisons needed to
12468 parse a large document
12470 2002-05-29 André Pönitz <poenitz@gmx.net>
12476 * textclasslist.[Ch]:
12477 * sp_ispell.h: whitespace change
12479 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12481 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12482 lyxaction directly now.
12484 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12488 * lyxvc.C: remove unused headers
12490 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12497 * undo_funcs.C: some cleanups. Use shared_ptr
12498 and a template for the undo stacks.
12500 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12502 * BufferView_pimpl.h:
12503 * BufferView_pimpl.C:
12510 * text2.C: use key_state/mouse_state
12512 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12514 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12517 * chset.C: change include order
12518 (loadFile): use boost regex and get rid of LRegex and LSubstring
12520 * Makefile.am (BOOST_LIBS): new variable
12521 (lyx_LDADD): use it
12523 * LaTeX.C: change include order.
12524 (scanAuxFile): use boost regex and get rid of LRegex and
12528 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12533 * FontInfo.C: moved to frontends/xforms/
12536 * FontLoader.C: moved into frontends for GUIIzation
12541 * lyxfunc.C: changes from above
12543 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12545 * LColor.C: remove spurious X include
12547 * BufferView_pimpl.C:
12552 * text2.C: move font metrics to frontends/
12554 2002-05-24 Juergen Vigna <jug@sad.it>
12556 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12557 setting the undo_cursor.
12559 * ParagraphParameters.h: include local includes first.
12561 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12563 * BufferView_pimpl.C:
12564 * BufferView_pimpl.h:
12568 * screen.C: move WorkArea into frontends/
12574 * BufferView2.C: move LyXScreen into frontends/
12578 * lyx_gui.C: move lyxlookup into frontends/xforms/
12580 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12583 * BufferView_pimpl.C:
12593 * bufferview_funcs.C:
12606 * vc-backend.C: move LyX/XFormsView into frontends/
12608 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12620 * text2.C: move Painter to frontends/
12622 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12624 * buffer.C: comment out some some code that depend upon lyx_format
12627 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12628 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12630 * buffer.h (NO_COMPABILITY): turn off compability
12632 * ColorHandler.C: include scoped_array.hpp
12634 * font.C: Use more specific smart_ptr header.
12637 * ShareContainer.h: ditto
12638 * lyx_main.h: ditto
12640 * FontInfo.h: ditto
12641 * BufferView_pimpl.h: ditto
12642 * ColorHandler.h: ditto
12644 * kbmap.C (defkey): change call to shared_ptr::reset
12646 2002-05-21 Juergen Vigna <jug@sad.it>
12648 * buffer.C (insertErtContents): fix to insert ert asis if it is
12649 non empty. Skip it completely if it contains only whitespaces.
12651 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12653 * BufferView_pimpl.C:
12654 * BufferView2.C: clear selection on paste (bug 393)
12656 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12658 * DepTable.C: include ctime
12660 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12662 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12664 2002-05-14 Juergen Vigna <jug@sad.it>
12666 * text.C (breakParagraph): fixed function to honor the keepempty
12667 layout in the right maner and also to permit the right breaking
12668 algorithm on empty or non empyt keepempty paragraphs.
12670 * paragraph.C (breakParagraph): we have to check also if the par
12671 is really empty (!size()) for isempty otherwise we do the wrong
12674 2002-05-10 Juergen Vigna <jug@sad.it>
12676 * buffer.[Ch] : The following are only changes to the ert
12677 compatibility read reading old LaTeX layout and font stuff and
12678 convert it to ERTInsets.
12680 * buffer.h: added isErtInset().
12682 * buffer.C (struct ErtComp): add a fromlayout bool to check
12683 if we're inside a LaTeX layout.
12684 (isErtInset): new helper function.
12685 (insertErtContents): look for other ert insets before this one
12686 and insert the contents there, so that we don't have subsequent
12687 ERT insets with nothing between them. This way we create only one
12688 inset with multiple paragraphs. Also check if we don't insert only
12689 spaces ' ' as they are ignored anyway afterwards in the .tex file
12690 so if we have only spaces we will ignore this latex part in the
12692 (parseSingleLyXformat2Token \\layout): better compatibility when
12693 reading layout-latex stuff.
12694 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12696 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12697 stuff after reading the inset only get the information back from
12700 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12702 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12704 * LaTeXFeatures.C (getBabelOptions): New method.
12706 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12708 * BufferView_pimpl.C (Dispatch): work around missing argument for
12711 2002-05-08 Juergen Vigna <jug@sad.it>
12713 * text.C (leftMargin): handle paragraph leftindent.
12715 * paragraph.C (writeFile): write the new \\leftindent tag.
12716 (validate): handle leftindent code.
12717 (TeXEnvironment): handle paragraphleftindent code again.
12719 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12721 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12722 for paragrap_extra indent code and new token \\leftindent.
12723 (latexParagraphs): handle the leftindent as environment.
12725 * ParameterStruct.h: added leftindent support.
12727 * ParagraphParameters.C (leftIndent): added support functions for
12728 the paragraph left indent.
12730 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12733 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12735 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12738 * text.C (computeBidiTables): No bidi in insetERT.
12740 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12743 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12745 * version.C.in: pre 5
12747 2002-05-02 José Matos <jamatos@fep.up.pt>
12748 * buffer.C (makeDocBookFile): white space changes, add newline to
12750 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12752 * tabular.C (docBook): fix typo.
12754 2002-05-03 Juergen Vigna <jug@sad.it>
12756 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12757 change in LyXText as we can not be sure it was not freed.
12758 (drawOneRow): remove unused code.
12760 * text.C (drawInset): redo the calculation of the need_break_row as
12761 it could have a row which was already freed.
12762 (draw): look at the return value of drawInset and return false if
12763 it also returned false.
12764 (paintRowText): look at the return value of draw and return false if
12765 it also returned false.
12767 * lyxtext.h: added bool return type to drawInset() and draw() so that
12768 if we have a change in the row so that the rowbreak has to be redone
12769 we abort drawing as it will be called again.
12771 2002-05-02 Juergen Vigna <jug@sad.it>
12773 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12774 a change in the maintext also if we're inside an inset.
12775 (Dispatch): set the cursor again after a break line and after the
12776 screen has been updated as it could be we're in a different row.
12778 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12779 to set the cursor behind the pargraph with > size().
12780 (setCursor): check also for the same paragraph when checking where
12781 to put the cursor if we have a NFR inset.
12783 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12784 parts of layout read further up as it still was in the wrong
12787 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12789 * screen.C (drawFromTo): change sine fullRebreak always return
12792 * buffer.C (parseSingleLyXformat2Token): reindent some
12794 * BufferView_pimpl.C (update): change since fullRebreak always
12796 (Dispatch): git rid of the last hardcoded "Standard"s.
12798 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12800 * text2.[Ch] (fullRebreak): make it return void now that we always
12803 2002-04-30 Juergen Vigna <jug@sad.it>
12805 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12806 ert compatibility check for "latex" layout.
12808 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12810 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12811 minipages: use col% instead of p%, and also use the current font.
12812 (makeLaTeXFile): Fix use babel condition.
12813 (parseSingleLyXformat2Token): Correct font when reading old floats.
12815 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12817 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12818 inserting list of floats.
12820 2002-04-25 Herbert Voss <voss@lyx.org>
12822 * MenuBackend.C (expand): don't add the graphics extensions to the
12825 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12827 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12828 non-existing layout, do not complain if it was the default layout
12829 of the original class (bug #342)
12831 2002-04-24 Juergen Vigna <jug@sad.it>
12833 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12834 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12836 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12838 * buffer.C (getBibkeyList): If using \bibliography, return the
12839 option field with the reference itself. Enables us to provide natbib
12840 support when using \bibliography.
12842 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12844 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12846 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12847 natbib is provided by the LaTeX class.
12849 2002-04-23 Juergen Vigna <jug@sad.it>
12851 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12854 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12856 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12858 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12860 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12861 ensuremath around textordmasculine, textordfeminine and
12864 2002-04-19 Juergen Vigna <jug@sad.it>
12866 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12867 reinitializing the buffer otherwise row-dimensions may be wrong.
12868 (update): reset also the selection cursors if they do exits otherwise
12869 their x/y positions may be wrong.
12871 * text2.C (cursorDown): don't enter the inset if we came from a row
12872 above and are one row over the inset.
12874 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12875 really leaving an inset.
12877 2002-04-18 Juergen Vigna <jug@sad.it>
12879 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12880 of the selected paragraph does not have the selected layout also if
12883 * text2.C (setLayout): fixed bug which did not change last selected
12886 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12887 changed the read and substituted \\end_float with \\end_inset!
12889 * BufferView_pimpl.C (cursorPrevious):
12890 (cursorNext): fixed to make it work with rows heigher than the work
12891 area without moving the cursor only the draw of the row.
12892 (workAreaMotionNotify): fix jumping over high rows.
12894 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12899 2002-04-16 Juergen Vigna <jug@sad.it>
12901 * text2.C (setCursor): set also the irow().
12902 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12904 (cursorDown): support for locking an inset if the x_fix value goes
12905 inside it. That way I can transverse insets too with cursor up/down.
12907 * lyxrow.h: added irow helper function same as other (i) functions.
12909 * BufferView_pimpl.C (cursorPrevious):
12910 (cursorNext): fixed for insets!
12912 2002-04-15 Juergen Vigna <jug@sad.it>
12914 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12915 position otherwise it is wrong in some cases.
12917 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12918 inside the inset before the call.
12920 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12922 * buffer.[Ch] (getBibkeyList): make it const.
12924 2002-04-12 Juergen Vigna <jug@sad.it>
12926 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12928 * text2.C (getCursorX): new helper function
12929 (setCursor): compute also ix_
12930 (setCursorFromCoordinates): set also ix.
12932 * lyxcursor.h: added ix_ and helper functions.
12934 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12936 * buffer.C (insertStringAsLines): dont break paragraph if the this
12937 paragraph is inside an inset which does not permit it!
12939 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12940 also with no chars on this paragraph.
12941 (paintRowText): only paint stuff if it's inside the workarea!
12943 * paragraph.C (breakParagraph): honor keepempty flag and break the
12944 paragraph always below not above.
12946 * BufferView2.C (unlockInset): update the paragraph layout on inset
12947 unlock as we changed paragraph in such a case.
12949 * lyxfind.C (LyXFind): clear the former selection if not found!
12951 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12952 again called in insertChar().
12954 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12955 an inset which uses the whole row!
12956 (rightMargin): ditto.
12957 (insertChar): force a rebreak if we inserted an inset!
12959 2002-03-28 Herbert Voss <voss@lyx.org>
12961 * lyxlength.[Ch]: add inBP() to get the right PS-point
12962 units (BigPoint). With inPixels we have rounding errors
12964 2002-04-11 Juergen Vigna <jug@sad.it>
12966 * text2.C (setCursorFromCoordinates): set iy to the right value.
12967 (setCursor): add check if row->previous exists!
12969 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12970 an old float_type as this was the case in the old code!
12972 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12974 * BufferView2.C (showLockedInsetCursor): use iy
12975 (fitLockedInsetCursor): ditto
12977 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12978 locked insets as there we have the right value now.
12980 * lyxcursor.C: added iy_ variable and iy functions to set to the
12981 baseline of cursor-y of the locked inset.
12983 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12984 (setCursor): fixed for insets which need a full row.
12986 * text.C (rowLastPrintable): don't ignore the last space when before
12987 an inset which needs a full row.
12988 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12989 as last character of a row when before a inset which needs a full row.
12991 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * version.C.in: update date
12995 * text2.C (fullRebreak): try to always return true and see what
12998 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13000 * MenuBackend.C (expand): use Floating::listName
13002 * FloatList.C (FloatList): add listName argument to the built-in
13005 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13006 text associated with the float.
13008 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13010 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13012 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13014 * ShareContainer.h: add a couple of missing typenames.
13016 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13018 * lyxrc.C (getDescription): use _() correctly rather than N_().
13020 2002-03-28 Herbert Voss <voss@lyx.org>
13022 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13023 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13025 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13027 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13028 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13030 2002-03-29 Juergen Vigna <jug@sad.it>
13032 * lyxfunc.C (dispatch): add a missing fitCursor call.
13034 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13035 it was scrolled by a cursor move, so return the bool status.
13037 * BufferView.C (fitCursor): return the bool flag also to the outside
13038 world as this is needed.
13040 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13042 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13043 call the edit() as it is not needed (and wrong) IMO.
13044 (workAreaButtonPress): set the screen_first variable before evt.
13045 unlock the inset as this may change screen_first and then we have
13046 a wrong y position for the click!
13048 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13050 * MenuBackend.C (expand): another translation that I missed
13052 2002-03-28 Juergen Vigna <jug@sad.it>
13054 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13056 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13058 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13060 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13062 * MenuBackend.C (expand): fix export/view/update when there is no
13065 2002-03-27 Herbert Voss <voss@lyx.org>
13067 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13070 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13072 * bufferview_funcs.C (currentState): only show paragraph number
13073 for is DEVEL_VERSION is set.
13075 * lyxfunc.C (dispatch): put warning in INFO channel
13077 * MenuBackend.C (expand): translate the name of floats
13079 * FloatList.C (FloatList): mark the float names for translation
13081 * converter.C (convert): use LibScriptSearch
13083 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13085 * MenuBackend.C (defaults): fix default menu (we might as well get
13088 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13090 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13093 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13095 * lyxvc.C: reorder includes.
13097 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13099 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13102 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13104 * CutAndPaste.C: change layouts earlier on paste
13105 to avoid crashing when calling getFont()
13107 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13109 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13112 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13114 * WorkArea.C: remove 'Pending' debug message.
13116 * most files: ws cleanup
13118 * buffer.[Ch]: ws changes
13120 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13122 2002-03-21 Juergen Vigna <jug@sad.it>
13124 * tabular.C (SetMultiColumn): collapse also the contents of the
13125 cells and set the last border right. Added a Buffer const * param.
13127 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13129 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13132 2002-03-19 Juergen Vigna <jug@sad.it>
13134 * text2.C (clearSelection): reset also xsel_cache.
13136 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13137 where it needs to be called (John tells us to do so too :)
13138 (selectionLost): reset sel_cache.
13140 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13142 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13144 * text2.C (setCursorIntern): put debuging code in INSETS channel
13146 2002-03-19 André Pönitz <poenitz@gmx.net>
13148 * lyxfunc.C: tiny whitespace change
13150 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13152 * ToolbarDefaults.C (init):
13153 * LyXAction.C (init):
13155 * BufferView_pimpl.C (Dispatch):
13156 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13158 2002-03-19 Allan Rae <rae@lyx.org>
13160 * exporter.C (Export): removeAutoInsets before doing anything else.
13161 While I've just introduced a dependency on BufferView this really is
13162 the best place to clean the buffer otherwise you need to cleanup in
13163 a dozen places before calling export or cleanup in a dozen functions
13166 * converter.C (runLaTeX):
13167 (scanLog): Better handling of removeAutoInsets and screen updates.
13169 * lyxfunc.C (dispatch): small whitespace changes
13171 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13173 * WorkArea.C (C_WorkAreaEvent): return a value.
13174 (event_cb): return 1 if we handled the event, 0 otherwise.
13176 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13178 2002-03-18 Juergen Vigna <jug@sad.it>
13180 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13181 (GetAdditionalWidth): ditto.
13182 (RightLine): ditto.
13185 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13186 inset if we're there actually (probably not used right now but this
13187 is the direction to go for unifying code).
13188 (paste): disable code to clear the selection.
13190 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13191 inside an InsetText and move the check further up as it is in the
13194 * text2.C (pasteSelection): set a selection over the pasted text.
13196 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13198 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13199 and libgraphics to build on Cygwin.
13201 2002-03-15 Juergen Vigna <jug@sad.it>
13203 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13204 inserting an Inset into the paragraph. I know this is not the best
13205 fix but we already use current_view in CutAndPaste so we will remove
13206 all of it's using at the same time.
13208 * buffer.C (sgmlError): deactivated function till it is rewritten in
13209 the right mode, now it can create problems.
13211 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13212 before accessing it.
13214 2002-03-14 Juergen Vigna <jug@sad.it>
13216 * undo_funcs.C (textHandleUndo): do the right thing when updating
13217 the inset after the undo/redo.
13219 * text2.C (setCursor): just some testcode for #44 not ready yet.
13221 * undo_funcs.C (textHandleUndo): set the next() and previous()
13222 pointers of the paragraph to 0 before deleting otherwise we have
13223 problems with the Paragraph::[destructor].
13225 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13226 on a paragraph insertion.
13228 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13230 * buffer.C (asciiParagraph): use += operator for char append to
13233 * paragraph.C (getFontSettings): compare >= not just >
13234 (highestFontInRange): ditto
13237 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13239 * paragraph.C: change several algorithm to be more appripriate for
13240 the problem domain. This is lookip in FontList and in the InsetList.
13242 2002-03-13 André Pönitz <poenitz@gmx.net>
13245 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13247 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13252 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13254 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13256 * Painter.C (display): anon helper function, adjust code for this
13258 (pixmap): remove function.
13260 * Painter.h: remove private display variable.
13262 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13264 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13266 * WorkArea.[Ch]: remove figinset_canvas cruft.
13268 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13270 * lyxtextclass.C (operator): add one item cache optimization.
13272 * bufferlist.h: doxy changes
13274 * bufferlist.C: ws changes
13276 * DepTable.[Ch] (ext_exist): place const in the right spot.
13278 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13280 (workAreaExpose): call resizeInsets when the with BufferView changes.
13281 (Dispatch): adjust for protectedBlank removal
13282 (specialChar): call updateInset if the insert went ok.
13284 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13285 specialChar instead.
13287 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13289 * BufferView.h: doxy change
13291 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13293 * lyxtextclass.C (operator[]): remove non-const version
13294 (defaultLayout): remove non-const version
13296 2002-03-12 Juergen Vigna <jug@sad.it>
13298 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13299 did resize the LyXText too.
13301 * buffer.C (readLyXformat2): set layout information on newly allocated
13304 * tabular.C (OldFormatRead): set layout information on the paragraph.
13306 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13308 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13310 2002-03-11 Juergen Vigna <jug@sad.it>
13312 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13314 (resizeCurrentBuffer): force also the insets to resize themselfes.
13315 (moveCursorUpdate): fixed up for InsetText.
13317 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13320 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13321 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13322 value of Dialogs::tooltipsEnabled().
13323 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13325 2002-03-08 Juergen Vigna <jug@sad.it>
13327 * BufferView_pimpl.C (updateInset): update inset inside inset also
13328 if it isn't inside theLockingInset().
13330 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13332 * buffer.C (asciiParagraph): redo some of the word and line length
13334 (getLists): look for Caption instead of caption.
13336 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13338 * buffer.C (Buffer): initialize niceFile to true
13340 (makeLinuxDocFile):
13341 (makeDocBookFile): make sure niceFile is true on exit
13343 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13345 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13347 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13349 * LyXSendto.C: remove.
13350 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13351 * lyx_gui.C: remove now-redundant comment.
13352 * ColorHandler.h: remove forward declaration of class WorkArea.
13353 * lyxfunc.C: remove #include "WorkArea.h".
13355 2002-03-07 Juergen Vigna <jug@sad.it>
13357 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13358 got moved away with the DEPM and also set the inset_owner always
13359 right which before could have been omitted.
13361 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13363 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13364 wanted layout is not found.
13366 2002-03-07 Juergen Vigna <jug@sad.it>
13368 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13370 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13372 * paragraph.C (breakParagraph): use default layout not layout of
13374 (Paragraph): clear ParagraphParameters.
13376 2002-03-06 Juergen Vigna <jug@sad.it>
13378 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13379 otherwise it would not be a valid lenght. Fixed a special case in
13380 the minipage compatibility read where we end the document with a
13383 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13384 was set as it could be 0 for InsetTexts first entry.
13386 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13388 * paragraph.C (writeFile): if layout is empty write out
13389 defaultLayoutName().
13391 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13392 file without named layout we set layout to defaultLayoutName().
13394 2002-03-06 Juergen Vigna <jug@sad.it>
13396 * CutAndPaste.C (copySelection): set layout for new paragraph.
13398 * text.C (prepareToPrint): leave ERT inset left aligned
13399 (leftMargin): don't indent paragraphs inside ERT insets
13401 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * paragraph.C (breakParagraph): dont call clear do the work manually
13405 * paragraph.[Ch] (clear): remove function
13407 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13409 * paragraph.C (Paragraph): dont call clear, the work has already
13412 * lyxtextclass.C (operator): assert if n is empty
13414 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13415 work manually instead.
13417 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13419 * BufferView_pimpl.C: protect selectionLost against text == 0
13421 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13423 * text.C (breakParagraph): fix a setting layout to '0' problem.
13425 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13427 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13428 final location of file, for the included files, and graphics.
13430 2002-03-05 Juergen Vigna <jug@sad.it>
13432 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13434 2002-03-04 Juergen Vigna <jug@sad.it>
13436 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13438 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13439 last column of multicolumn cells.
13440 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13442 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13444 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13445 file if it doesn't go to a temporary file.
13447 * buffer.C (sgmlOpenTag):
13448 (sgmlCloseTag): remove extra newline insertion.
13450 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13452 * text.C (getRowNearY): comment out debug msg
13454 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13456 * text2.C: first -> first_y
13458 * text.C (getRowNearY): add some attemts at a possible
13459 optimization, not working.
13461 * tabular.[Ch]: add BufferParams to several function so that newly
13462 created paragraph can be initialized to he default layotu for the
13465 * tabular-old.C (ReadOld): add buf->params to call of Init
13467 * screen.C: rename text->first to text->first_y
13469 * paragraph.C (breakParagraph): always set layout in the broken
13472 * lyxtextclass.C (Read): remove lowercase
13475 (delete_layout): ditto
13477 * lyxtext.h: rename first -> first_y
13479 * lyxlayout.C (Read): remove lowercase
13482 (obsoleted_by): ditto
13484 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13486 * buffer.C (insertErtContents): add params are to InsetERT
13487 (parseSingleLyXformat2Token): add code to check if a paragraphs
13488 layout really exist.
13489 (parseSingleLyXformat2Token): add params to several inset
13491 (asciiParagraph): remove lowercase, do the layout comparisons with
13494 * BufferView_pimpl.C (cursorNext): first -> first_y
13495 (resizeCurrentBuffer): first -> first_y
13496 (updateScrollbar): first -> first_y
13497 (scrollCB): first -> first_y
13498 (workAreaMotionNotify): first -> first_y
13499 (workAreaButtonPress): first -> first_y
13500 (checkInsetHit): first -> first_y
13501 (cursorPrevious): first -> first_y
13502 (cursorNext): first -> first_y
13503 (Dispatch): add buffer_->params to severl inset contructors
13505 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13507 * lyxlayout.C (Read): remove some debug info that I forgot.
13509 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13510 clean up the code slightly.
13511 (makeLinuxDocFile): ditto
13512 (makeDocBookFile): ditto
13514 * text2.C: layout as string
13516 * text.C: layout as string
13518 * paragraph_pimpl.C: layout as string
13520 * paragraph.[Ch]: layout as string
13522 * lyxtextclasslist.[Ch]: layout as string
13524 * lyxtextclass.[Ch]: layout as string
13526 * lyxtext.h: layout as string
13528 * lyxlayout.[Ch]: layout as string
13530 * lyx_cb.C: layout as string
13532 * bufferview_funcs.C: layout as string
13534 * bufferparams.C: layout as string
13536 * buffer.C: layout as string
13538 * LyXView.[Ch]: layout as string
13540 * LaTeXFeatures.[Ch]: layout as string
13542 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13544 * BufferView_pimpl.C: change current_layout to string, remove
13549 (workAreaButtonRelease): layout as string
13551 * BufferView2.C (unlockInset): adjust
13553 * vspace.C (asLatexCommand): use an explict temp variable.
13555 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13557 * Makefile.am: use FRONTEND_*
13559 2002-03-01 Juergen Vigna <jug@sad.it>
13561 * tabular.C (SetWidthOfMulticolCell): changed to something better
13562 I hope but still work in progress.
13563 (recalculateMulticolumnsOfColumn): renamed function from
13564 recalculateMulticolCells as it is more appropriate now.
13565 (SetWidthOfCell): calculate multicols better.
13567 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13569 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13571 * lyxfunc.C (processKeySym): print sequence also if it is
13572 `deleted' (complete)
13574 * kbsequence.C (print): print sequence even if it is deleted
13575 (complete would be a better word, actually).
13577 * lyxfunc.C (dispatch): print complete options after a prefix key
13579 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13581 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13583 * text2.C (setCharFont): eliminate setCharFont code duplication.
13585 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13587 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13588 LFUN_TABULAR_FEATURE (bug #177)
13590 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13592 * Makefile.am: remove figure.h
13594 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13596 * Bufferview_pimpl.C:
13608 * text2.C: remove #include "lyx_gui_misc.h".
13610 * LaTeX.C: added #include <cstdio>
13612 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13614 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13615 that the paragraph following this one can have.
13617 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13619 * vspace.C (asLatexCommand): fix bogus gcc warning
13621 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13623 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13625 * text2.C (setLayout): get rid of redundant code
13627 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13629 * text2.C (incDepth): make sure depth cannot be increased beyond
13632 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13634 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13635 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13637 * PainterBase.h (image):
13638 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13639 a LyXImage const *.
13641 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13645 * BufferView_pimpl.C:
13646 * BufferView_pimpl.h:
13666 * sp_spell.C: remove fig inset, and the crap house of
13667 cards that follows it
13669 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13674 * os2_errortable.h:
13675 * nt_defines.h: move .h into support/
13677 * vms_defines.h: remove
13679 * WorkArea.C: add space in debug output
13683 * buffer.C: add WITH_WARNINGS
13687 * bufferlist.C: s/retrive/retrieve/, add docs
13696 * chset.C: add docs
13698 * lyxgui.C: add ID to X error handler
13700 * lyxtestclass.c: fix typo
13702 2002-02-26 Juergen Vigna <jug@sad.it>
13704 * tabular_funcs.C (write_attribute): changed so that some default
13705 attributes are not written at all.
13706 (getTokenValue): set default values before trying to read the
13707 value so we have the return value always set as default if we don't
13708 find the token we search for.
13710 * tabular.C (Write): write bools as bools not as strings!
13712 2002-02-22 Juergen Vigna <jug@sad.it>
13714 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13715 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13717 * text.C (leftMargin): don't add an indent for paragraphs inside
13718 tabular cells (fix #208).
13720 2002-02-21 José Matos <jamatos@fep.up.pt>
13722 * tabular.C (docBook): fixed support for long tables.
13724 2002-02-20 Juergen Vigna <jug@sad.it>
13726 * text2.C (getFont): get the drawing font of the Inset if this
13727 paragraph is inside an inset (only important for InsetERT for now).
13729 * buffer.C (insertErtContents): use new lanugage params in ERT
13732 * CutAndPaste.C: commenting out seemingly uneeded code.
13734 2002-02-19 Allan Rae <rae@lyx.org>
13736 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13737 Iterators might be simple to use but they also get invalidated.
13738 (removeAutoInsets): renamed saved cursor tracking variables and added
13739 some comments to clarify what everything does.
13741 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13748 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13749 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13752 * vc-backend.h: remove #include "support/syscall.h"
13756 * converter.C: rearrange #includes in Lars' approved fashion.
13758 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13759 forward declare class Timeout in the header file.
13761 * XFormsView.C: changes due to the above.
13763 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13764 similar to LyXView.
13766 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13767 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13769 2002-02-18 José Matos <jamatos@fep.up.pt>
13771 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13774 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13776 * a lot of small ws changes
13777 * add a lot of using std::XXX
13778 * use std construcs some places where approp.
13779 * use some exisint stuff from lyxfunctional where approp.
13780 * Make file changes to use partial linking (lets test this now...)
13782 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13786 remove #include "support/syscontr.h" as it's redundant. Always has been.
13794 change Systemcalls::System to Systemcalls::Wait and
13795 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13796 No change of functionality, just reflects the stripped down Systemcalls
13799 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13801 * debug.[Ch]: add a GRAPHICS type to the enum.
13803 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13805 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13807 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13810 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13812 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13813 match the changes below.
13815 * text2.C (toggleInset): if there is not editable inset at cursor
13816 position, try to see if cursor is _inside_ a collapsable inset
13819 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13821 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13822 document menu has a nice checkbox
13824 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13826 * lyxlength.C (asLatexString): change PW to output as percent of
13829 * lengthcommon.C: change '%' to 't%'
13831 * lyxfunc.C (dispatch): a few comments from Martin
13833 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13837 * BufferView_pimpl.h:
13838 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13841 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13843 * vspace.C (inPixels): fix compiler warning
13845 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13847 * lyxfunc.C (getStatus): fix status message for disabled commands.
13849 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13851 * BufferView_pimpl.C: fix crash on close buffer
13852 during selection (#227)
13854 2002-01-27 Herbert Voss <voss@lyx.org>
13856 * buffer.C: link old Figure to new graphic inset
13858 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13860 * FontLoader.C (getFontinfo): Change the latex font names in order
13861 to match the names of type1inst.
13863 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13865 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13867 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13868 (extchanged): ditto
13870 (remove_files_with_extension): ditto
13871 (remove_file): ditto
13874 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13875 document is smaller than the work area height. Do not initialize
13876 static variables to 0.
13878 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13880 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13882 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13883 LFUN_LAYOUT_PARAGRAPHS.
13885 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13886 tabular. It is possible to provide a possible cell, which will
13887 typically be the actcell from the corresponding insettabular
13889 * lyxfunc.C (getStatus): small cleanup; disable
13890 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13893 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13895 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13897 * paragraph.C (startTeXParParams):
13898 (endTeXParParams): new methods. The LaTeX code to
13899 start/end paragraph formatting
13900 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13901 empty (fixes bug #200)
13903 * vspace.C (inPixels): adapt to the change below
13904 (inPixels): [later] more cleanups (remove unused variables)
13906 * lyxlength.C (inPixels): change to use a width and a height as
13909 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13911 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13912 Replaced with \paperwidth
13914 * DepTable.C (insert): add std:: qualifier
13916 2002-01-18 Allan Rae <rae@lyx.org>
13918 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13921 * text.C (drawInset): Turned out I didn't know enough about how
13922 rebreaking worked. This fixes most of the redraw problems. I see
13923 an occasional cursor trail when a line is broken now and the cursor
13924 placement can seem out by a few pixels also after a rebreak.
13926 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13928 * buffer.C (parseSingleLyXformat2Token): update because minipage
13929 width is now a LyXLength
13931 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13933 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13936 2002-01-17 Juergen Vigna <jug@sad.it>
13938 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13940 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13941 is set correctly and the inset is updated correctly.
13943 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13945 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13946 the beginning of the loop.
13948 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13950 * lyxrc.C: improve help for use_scalable_fonts
13952 2002-01-17 Allan Rae <rae@lyx.org>
13954 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13956 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13958 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13959 make sure to set their inset_owner to the right value (bug #171)
13961 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13964 * DepTable.C: Implement mtime checking to reduce time spent doing
13967 2002-01-16 Juergen Vigna <jug@sad.it>
13969 * tabular.C (GetAdditionalHeight): one of error fixed.
13971 * lyxrc.C (output): small fix in writing use_pspell.
13973 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13975 * sp_base.h: #include LString.h
13977 2002-01-16 Allan Rae <rae@lyx.org>
13979 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13980 Can someone check this please?
13982 * text.C (drawInset): It was possible that p.row would be removed by
13983 breakAgainOneRow upsetting a few other settings. There may be another
13984 small tweak possible by setting need_break_row = 0 when p.row has been
13985 removed but I don't know enough about the logic here.
13987 2002-01-15 Allan Rae <rae@lyx.org>
13989 * text.C (insertChar): removed conditional truism.
13991 * BufferView2.C (removeAutoInsets): More tweaks.
13992 cur_par_prev could be a stray pointer. Check for trailing empty line
13993 in case last line was cur_par and only had an error inset on it.
13995 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13997 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14000 * vc-backend.C (most methods):
14001 * exporter.C (Export):
14002 * converter.C (convert):
14004 * LyXSendto.C (SendtoApplyCB):
14005 * lyxfunc.C (dispatch):
14009 * lyx_cb.C (AutoSave):
14011 * BufferView_pimpl.C (MenuInsertLyXFile):
14012 * buffer.C (runChktex): use Buffer::filePath().
14014 * buffer.h: rename filename to filename_; rename filepath to
14015 filepath_ and make it private
14016 (filePath): new method
14018 * buffer.C (writeFile): use fileName()
14021 * lyx_main.C (init): fix starting of LyX when the binary is a
14022 link from so,ewhere else.
14024 * minibuffer.C: include <cctype> for isprint
14026 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14028 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14029 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14030 name clash with InsetCollapsable's width function.
14032 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14034 * lastfiles.C: include <iterator>
14036 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14038 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14041 * buffer.C (makeLaTeXFile): ditto.
14042 Also make loop operation more transparent.
14044 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14046 * ToolbarDefaults.C: remove trailing comma closing namespace.
14048 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14050 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14053 * trans.C (Load): comment out unused variable, allowed.
14055 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14057 * minibuffer.[Ch] (append_char): new method to recieve input from the
14058 drop-down completion browser. If a key was pressed, then recieve this
14059 char and append it to the existing string.
14060 (peek_event): modify the positioning data passed to the completion
14061 browser so that it can be placed above the minibuffer rather than below.
14062 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14064 * LyXAction.C (init): alloe error-next for readonly documents.
14066 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14069 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14071 * bufferlist.C (readFile): create the buffer _after_ checking that
14074 * lyxfunc.C (verboseDispatch): fix handling of arguments
14076 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14078 * lyxrc.C: use string::erase() instead of initializing to "".
14081 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14083 * BufferView_pimpl.h:
14084 * BufferView_pimpl.C:
14087 * text2.C: tell X when we have made a selection for copying
14089 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14091 * BufferView_pimpl.C (MenuInsertLyXFile):
14092 * lyxfunc.C (menuNew):
14094 (doImport): add shortcuts to directory buttons
14096 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14099 * lyxfunc.C (setStatusMessage):
14100 (getStatusMessage): new methods
14101 (getStatus):use setStatusMessage instead of setErrorMessage
14102 (dispatch): when function is disabled, set error message here
14103 [instead of in getStatus previously]
14105 * BufferView_pimpl.C (workAreaButtonRelease): update
14106 toolbar/menubar here too.
14108 2002-01-13 Allan Rae <rae@lyx.org>
14110 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14111 Now seems indestructible. Remaining task is to audit all other
14112 code affected by deleteEmptyParagraphMechanism. One small quirk
14113 left is that an empty document with an error in the preamble can
14114 be made to report an error but no error box appears. I don't know
14116 (removeAutoInsets): Improved comments.
14118 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14121 * Thesaurus.C: update for Aiksaurus 0.14
14123 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14125 * text2.C (firstParagraph): removed member function, all uses
14126 replaces with ownerParagraph
14127 (redoParagraphs): here
14128 (updateInset): here
14129 (toggleAppendix): here
14130 * BufferView2.C (insertErrors): here
14131 (setCursorFromRow): here
14133 2002-01-13 Allan Rae <rae@lyx.org>
14135 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14136 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14137 There is still a way to segfault this although you may have to do this
14138 multiple times: Have an InsetERT with an unknown command in it.
14139 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14140 <down-arrow>, <Enter> again, View->DVI, BANG!
14142 * text2.C (setCursor):
14143 (deleteEmptyParagraphMechanism):
14144 * lyxtext.h (setCursor):
14145 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14146 Making use of the return value may help fix other bugs.
14148 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14150 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14152 * LyXView.C (updateMenubar): call MenuBar::update here
14153 (updateToolbar): but not here
14154 (showState): do not update toolbar/menubar
14156 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14157 should need to care about that.
14159 * lyxfunc.C (verboseDispatch): simplify a bit
14160 (getStatus): have a version which takes a pseudoaction, and
14161 another which requires a (kb_action,string).
14163 * LyXAction.C (retrieveActionArg): make it work also when action
14164 is not a pseudo-action.
14165 (getActionName): simplify a bit
14168 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14170 * lyxfunc.C (verboseDispatch): new families of methods with
14171 several ways to specify a command and a bool to indicate whether
14172 the command name and shortcut should be displayed in minibuffer
14173 (eventually, we could extend that to a finer bitmask like
14174 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14175 (dispatch): the pristine dispatch command which just, well,
14176 dispatchs! Note it still sets its result to minibuffer; I'm not
14179 * lyxfunc.h: remove setHintMessage
14181 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14183 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14185 * BufferView_pimpl.C (specialChar): delete new inset if we have
14186 not been able to insert it.
14188 * kbmap.C: revert to using int instead of kb_action, since all we
14189 are dealing with is pseudo-actions.
14191 * LyXAction.C (searchActionArg): change to return int instead of
14192 kb_action, since the result is a pseudoaction.
14194 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14196 * buffer.C (insertErtContents): Fix (partially) the font bug.
14198 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14200 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14201 as the other one is broken on my machine!
14203 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14206 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14208 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14210 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14211 reflect their actual use. Provide compatibility code for older lyxrc
14214 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14216 change names of popup font variables in line with the changes to lyxrc.C
14218 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14220 * buffer.C (asciiParagraph): avoid outputing a word twice after
14223 * lyxrc.C (getDescription): document that document_path and
14224 template_path can be empty.
14226 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14228 * LaTeXFeatures.C (getMacros):
14229 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14231 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14233 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14235 (getPackages): rename feature "floats" to "float". Use an array to
14236 iterate over 'simple' features (i.e. just a \usepackage). Add
14237 handling of "amsmath" (renamed from "amsstyle").
14239 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14241 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14244 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14246 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14247 FuncStaus::FuncStatus & FuncStaus::some_method().
14249 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14251 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14252 of the func_satus stuff. Edited and massaged in various ways by
14255 * lyxfunc.C (getStatus): use FuncStatus
14257 2002-01-08 Juergen Vigna <jug@sad.it>
14259 * text.C (nextBreakPoint): use function Inset::isChar().
14261 * paragraph.C (TeXOnePar): use function
14262 Inset::forceDefaultParagraphs.
14264 * buffer.C (latexParagraphs): use function
14265 Inset::forceDefaultParagraphs.
14267 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14269 * lyx_gui.C (init): set the style of the menu popups to
14270 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14272 2002-01-07 Juergen Vigna <jug@sad.it>
14274 * text.C (setHeightOfRow): small fix
14275 (prepareToPrint): don't look at alignment if we don't have the place
14278 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14280 * box.C: New file. Move the Box methods and functions out of box.h,
14281 following Lars' suggestion.
14283 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14285 * box.h: #include "support/LOstream.h", needed for inlined function.
14288 * lyxtextclasslist.C: added some using std declarations.
14290 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14292 * box.h: make signed dimensions to allow insets wider than
14293 the screen (bug #162)
14295 * BufferView_pimpl.C: add some insetHit debug
14297 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14299 * vc-backend.C: add FIXME
14301 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14303 * lyxfunc.C (getStatus): enable code for showing math font status
14306 2002-01-07 Juergen Vigna <jug@sad.it>
14308 * text.C (nextBreakPoint): removed debug output not needed anymore.
14310 2002-01-06 Juergen Vigna <jug@sad.it>
14312 * text.C (nextBreakPoint): fixed up this function we had this bug
14313 since ever but now hopefully we break row better.
14314 (insertChar): we have to check if an inset is the next char as it
14315 could now happen that a large inset is causing a break.
14317 2002-01-05 Juergen Vigna <jug@sad.it>
14319 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14320 if it doesn't like to be drawed.
14322 2002-01-04 Juergen Vigna <jug@sad.it>
14324 * BufferView2.C (lockInset): forgot to set a cursor.
14326 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14328 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14330 * FormMathsPanel.C:
14333 * form_maths_panel.C:
14334 * form_maths_panel.h:
14335 * form_maths_panel.fd: implemented sub- and super- buttons in math
14338 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14339 (or ^ space) to be used as in TeX (req'd by Andr�.
14341 * lyxfunc.C: Allow ^ and _ again to be used both as
14342 super/subscript (mathed) and as themselves (in text).
14344 2002-01-03 Allan Rae <rae@lyx.org>
14346 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14347 "LyX" or the filename of the current buffer if it has one. This is a
14348 modified form of John Levon's patch.
14350 * XFormsView.C (setWindowTitle): also set icon title.
14352 * LyXView.h (setWindowTitle): signature changed.
14353 * XFormsView.h (setWindowTitle): ditto.
14355 2002-01-02 Juergen Vigna <jug@sad.it>
14357 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14359 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14361 * screen.C (topCursorVisible): introduce a temp var for
14362 text->cursor.row(), handle the case where this row is null. (kindo
14365 * text2.C (setCursor): add a couple of asserts.
14367 * paragraph.h (inset_iterator): add -> operator
14369 * paragraph.[Ch] (autoDeleteInsets): remove member function
14371 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14372 cursor pos correctly and handle inset deletion by itself.
14373 (insertErrors): move iterator declaration out of for expression
14375 * lyxtextclass.C: add <algorithm>
14377 * Makefile.am: added the new files to sources, removed layout.C
14379 * layout.C: removed file
14381 * layout.h: remove LYX_DUMMY_LAYOUT
14383 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14387 * lyxtextclass.[Ch]:
14388 * lyxtextclasslist.[Ch]: new files
14390 * include order changes to a lot of files, also changes because of
14393 2001-12-27 Juergen Vigna <jug@sad.it>
14395 * buffer.C (asciiParagraph): more fixes.
14397 * tabular.C (ascii): make ascii export support export of only the
14398 data separated by a column-delimiter.
14399 (ascii): better support for ascii export.
14401 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14403 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14405 * tabular_funcs.C: use a "using std::getline" instead of the
14406 previous fix from Angus (necessary for cxx + lyxstring)
14408 2001-12-24 Juergen Vigna <jug@sad.it>
14410 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14412 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14413 problems. First check a minipage also if we have some ert-contents
14414 (not only on par->size(), second set the right depth of the paragraph
14415 on the relink to the root-paragraph-list!
14417 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14418 which then did not anymore update the main paragraphs on undo/redo!
14420 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14422 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14423 code. Support all font-changing funcs (even those which are not in
14424 menu currently). Support for reporting font settings in
14425 mathed (disabled until Andre provides a function on mathed's side).
14427 * func_status.h (toggle): small helper function to set toggle
14430 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14432 * tabular_funcs.C: getline -> std::getline
14434 2001-12-21 Juergen Vigna <jug@sad.it>
14436 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14437 accessed and could be 0 (I couldn't generate this but it seems
14440 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14442 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14443 * tabular_funcs.h: here and include iosfwd
14445 2001-12-20 Juergen Vigna <jug@sad.it>
14447 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14448 inside inset but undo_par was.
14450 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14452 * Thesaurus.C: always include <config.h> in sources.
14456 * box.h: do not include <config.h> in header files
14458 * text.C (paintLastRow): remove unused variable
14460 * text.C (transformChar):
14462 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14464 * Painter.C (text):
14465 * font.C (width): rewrite to use uppercase() instead of
14468 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14470 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14472 * lyxfind.C: clean up of find failure position change
14474 2001-12-20 Juergen Vigna <jug@sad.it>
14476 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14478 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14479 (TeXRow): added to LaTeX a single tabular row.
14480 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14481 (Latex): simplified and finally good LT-h/f support.
14482 (various_functions): just small adaptions for LT-h/f support.
14484 * tabular_funcs.[hC]: added and moved here all not classfunctions
14487 2001-12-19 Juergen Vigna <jug@sad.it>
14489 * tabular.[Ch]: better support for longtabular options (not finished
14492 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14494 * text.C (paintLastRow): use the label font instead of the font of
14495 the last character to compute the size of *_BOX. This makes more
14496 sense and avoids a crash with empty paragraphs.
14497 Use Painter::rectangle to draw EMPTY_BOX.
14499 2001-12-19 Juergen Vigna <jug@sad.it>
14501 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14502 the paragraphs if the replaced paragraph is not the first one!
14503 Tried to delete not used paragraphs but does not work yet so for
14504 now it's inside #ifdef's and by default off!
14506 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14508 * MenuBackend.C: include "lyx_main.h" instead of declaring
14509 lastfiles (actually was declared as LastFiles* instead of a
14512 2001-12-17 Juergen Vigna <jug@sad.it>
14514 * tabular.C (AppendColumn): applied John's fix
14516 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14520 * BufferView_pimpl.h:
14521 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14524 * box.h: new start of class for above
14526 * lyxfunc.C: ignore space-only minibuffer dispatches.
14527 Show the command name when it doesn't exist
14529 * minibuffer.C: don't add empty lines to the history
14531 * minibuffer.C: add a space on dropdown completion
14533 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14535 * text.C: fix line above/below drawing in insets
14537 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14539 * lyxlength.C (LyXLength): Initialize private variables.
14541 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14543 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14544 when inserting error insets.
14546 2001-12-13 Juergen Vigna <jug@sad.it>
14548 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14549 actually sometimes the before-paragraph.
14550 (setUndo): don't clear the redostack if we're not actually undoing!
14552 2001-12-06 Juergen Vigna <jug@sad.it>
14554 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14555 and fixed redoing of main paragraph, so we can use it now ;)
14557 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14559 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14561 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14564 2001-12-13 André Pönitz <poenitz@gmx.net>
14567 * undo_func.C: minor cleanup
14569 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14571 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14572 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14573 font in urw-fonts package which is marked as -urw-fontspecific and
14574 does not work (incidentally, changing the encoding in the
14575 fonts.dir of this package to -adobe-fontspecific fixes the
14578 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14579 is a crash when undoing first paragraph (Juergen, please take a
14580 look). THis does not mean the undo fix is wrong, just that it
14583 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14584 the (Paragraph*) version when needed instead of duplicating the
14587 * text.C (workWidth): use Inset::parOwner to find out where the
14588 inset has been inserted. This is a huge performance gain for large
14589 documents with lots of insets. If Inset::parOwner is not set, fall
14590 back on the brute force method
14592 * paragraph_pimpl.C (insertInset):
14593 * paragraph.C (Paragraph):
14594 (cutIntoMinibuffer): set parOwner of insets when
14595 inserting/removing them
14597 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14599 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14605 * mathed/formulabase.C:
14606 * mathed/math_cursor.[Ch]:
14607 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14610 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14612 * lyxlength.[Ch] (operator!=): new function
14614 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14616 * text.C (workWidth): use Inset::parOwner to find out where the
14617 inset has been inserted. This is a huge performance gain for large
14618 documents with lots of insets. If Inset::parOwner is not set, fall
14619 back on the brute force method
14621 * paragraph_pimpl.C (insertInset):
14622 * paragraph.C (Paragraph):
14623 (cutIntoMinibuffer): set parOwner of insets when
14624 inserting/removing them
14626 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14628 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14630 * tabular-old.C (getTokenValue):
14631 * tabular.C (getTokenValue):
14632 (write_attribute): new versions for LyXLength
14633 (everywhere): adjust the use of widths
14635 * tabular.h: change the type of widths from string to LyXLength
14637 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14639 * paragraph.C: fixed missing line number count when exporting
14640 Environments to LaTeX file
14642 * buffer.C: added informational message for checking line numbers.
14644 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14646 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14647 paragraph, do the 'double space' part, but not the 'empty
14650 * text.C (workWidth): small optimization
14651 (getLengthMarkerHeight): use minimal size for negative lengths.
14653 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14655 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14657 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14659 2001-12-11 André Pönitz <poenitz@gmx.net>
14662 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14664 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14666 * text2.C: keep selection on a setFont()
14668 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14670 * lyx_cb.C: another bv->text misuse, from insert label
14672 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14675 * kbsequence.C: re-instate nmodifier mask
14677 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14679 * lyx_main.h: make lyxGUI private.
14681 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14683 * lyxfind.C: place the cursor correctly on failed search
14685 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14687 * text.C (getLengthMarkerHeight): for small heights, the arrows
14688 are not always on top/bottom of the text
14689 (drawLengthMarker): smaller arrows; take the left margin in
14690 account; draw also vfills.
14692 (paintLastRow): remove special code for vfill and standard spaces,
14693 since everything is handled in drawLengthMarker now.
14695 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14697 * buffer.C (insertErtContents): try to handle font and language
14698 interaction a bit better.g
14700 * ColorHandler.C (updateColor): change the hash to cover the whole
14701 LColor enum, ws cleanup
14702 (getGCLinepars): ditto
14703 (getGCLinepars): only lookup in the linecache once.
14705 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14707 * iterators.C (operator++): Make the iterator more robust
14709 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14711 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14713 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14716 * text.C: better added space drawing
14718 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14721 * BufferView2.C: fix layout combo update on inset unlock
14723 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14725 * Makefile.am: don't compile unused files
14727 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14731 * LyXAction.C: remove old LFUN_LAYOUTNO
14733 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14735 * paragraph_pimpl.h:
14736 * paragraph_pimpl.C: isTextAt() doesn't need font param
14738 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14741 * lyxlex.C: little cleanup
14743 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14745 * BufferView_pimpl.C: fix insertAscii for insets
14747 2001-12-05 Juergen Vigna <jug@sad.it>
14749 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14750 set the right font on the "multi" paragraph paste!
14752 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14758 * lyxlength.C: remove out-commented code.
14760 * BufferView_pimpl:
14774 * vc-backend.C: change "while(" to "while ("
14776 * lyxlength.[Ch]: add zero function to check if length is zero or
14778 * lyxgluelength.C: use it
14780 2001-12-05 Allan Rae <rae@lyx.org>
14782 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14783 Works for 2.95.3, from what I understand of Garst's reports this should
14784 work for other g++ versions. We're screwed if the abs(int) definition
14785 changed between bugfix releases of gcc.
14787 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14789 * text.C: fix chapter label offset !
14791 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14794 * text.C: fix hfill at end of line, clean up
14796 2001-12-04 Juergen Vigna <jug@sad.it>
14798 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14799 that we force an update of the inset and it's owners if neccessary.
14801 2001-12-03 Juergen Vigna <jug@sad.it>
14803 * text.C (rowLast): simplified code
14805 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14807 * lyxfunc.C: fix show options on timeout
14809 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14811 * screen.C (topCursorVisible): scroll half a page when the cursor
14812 reached top of bottom of screen
14814 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14816 * minibuffer.C: deactivate on loss of focus
14818 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14820 * vspace.[Ch] (operator!=): add operator.
14822 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14824 * BufferView_pimpl.C: refuse to open an inset when
14825 there's a selection.
14827 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14829 * BufferView_pimpl.C: allow to click on RHS of full row insets
14831 2001-11-30 Juergen Vigna <jug@sad.it>
14833 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14834 insets for undo reasons.
14836 2001-11-28 André Pönitz <poenitz@gmx.net>
14838 * vspace.[Ch]: cosmetical changes
14840 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14850 * kbsequence.C: part re-write of old kb code
14853 * WorkArea.C: remove Lgb_bug_find_hack
14855 2001-11-30 José Matos <jamatos@fep.up.pt>
14857 * buffer.C (makeDocBookFile): add a comment to point a hack.
14858 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14859 Fixed a double write of labels.
14861 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14864 * LaTeX.h Fixed bug in LaTeX class where it would not
14865 re-run latex if no depfiles were changed, but the .dvi was removed.
14867 2001-11-28 André Pönitz <poenitz@gmx.net>
14869 * all the files from the change on 2001/11/26:
14870 use lyx::layout_type instead of LyXTextClass::size_type
14871 use lyx::textclass_type instead of LyXTextClassList::size_type
14873 2001-11-29 Juergen Vigna <jug@sad.it>
14875 * text.C: added support for paragraph::isFreeSpacing()
14877 * buffer.C: same as above
14879 * paragraph.h: inserted isFreeSpacing() function to enable
14880 FreeSpacing inside InsetERT.
14882 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14883 of the paragraph's in the cut/copy buffer to 0!
14885 * text2.C (removeRow): remove the assert as it can!
14887 * lyxtext.h: added helper function firstRow returning firstrow and
14888 made firstrow private again.
14890 * BufferView2.C (lockInset): don't relock if we're already locked!
14892 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14893 the only paragraph.
14894 (removeRow): added Assert::(firstrow)
14896 * debug.C: forgot to add INSETTEXT here.
14898 2001-11-28 Juergen Vigna <jug@sad.it>
14900 * sp_spell.C (initialize): changed error text to more general
14901 spellchecker command use (not only ispell!)
14903 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14905 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14907 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14909 * vspace.C: initialise lyxgluelength on failure
14911 2001-11-28 Allan Rae <rae@lyx.org>
14913 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14914 declaration & definition that looks like a function declaration.
14916 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14918 * BufferView2.C (copy):
14919 (copyEnvironment): do not clear the selection when doing a copy.
14921 * text.C (paintFirstRow): compilation fix
14923 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14925 * tabular.C (Latex): correct line count when writing latex.
14927 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14929 * paragraph_pimpl.h:
14930 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14933 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14937 * LColor.C: change vfillline->added_space
14939 * text.C: add markers and text for added space
14941 * vspace.C: fix comment
14943 2001-11-28 André Pönitz <poenitz@gmx.net>
14945 * paragraph.C: whitespace changes
14946 * all the other files from the change on 2001/11/26:
14947 change *::pos_type into lyx::pos_type
14949 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14951 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14952 language of the document when inserting error insets.
14954 2001-11-26 André Pönitz <poenitz@gmx.net>
14956 * BufferView_pimpl.[Ch]:
14964 * paragraph_pimpl.[Ch]:
14967 * text2.C: reduce header dependencies, introduce type for positions
14969 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14971 * <various>: change to use Alert.h
14973 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14975 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14976 when encountering an unknown token.
14977 (readLyXformat2): Show an error message if there were unknown tokens.
14979 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14982 * BufferView_pimpl.C:
14986 * text2.C: use par->isInset()
14988 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14990 * paragraph_pimpl.h:
14991 * paragraph_pimpl.C: cleanup
14993 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14995 * text2.C (removeRow):
14996 * text.C (setHeightOfRow): remove useless (and costly) call to
14999 2001-11-20 Allan Rae <rae@lyx.org>
15001 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15002 Now need Inset*::checkInsertChar() to return true for appropriate
15003 cases so that the characters in the minibuffer will actually be
15006 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15008 * text.C: change the order of the includes.
15009 (workWidth): initialize it at once.
15010 (workWidth): make maxw unsigned
15011 (setHeightOfRow): remove unused variable (inset)
15012 (selectSelectedWord): remove unused variable (inset)
15013 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15015 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15017 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15018 server is not running.
15020 (closeConnection): add debug info when server is disabled.
15022 * ColorHandler.C (getGCForeground): send debug message to GUI
15025 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15027 * kbmap.C (bind): modify because return conventions of
15028 kb_sequence::parse have changed.
15030 * kbsequence.C (parse): only ignore spaces and not any stupid
15031 control character. This avoids tests like s[i] <= ' ', which are
15032 guaranteed to fail with 8bit characters and signed chars.
15033 Change return code to string::npos when there have been no error
15034 (0 was a bad idea when error is at first character)
15036 2001-11-14 José Matos <jamatos@fep.up.pt>
15039 * buffer.C (simpleDocBookOnePar): removed unused argument.
15041 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15043 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15044 insets which are part of a word. Paragraph::isLetter takes care of
15045 that now. Use Paragraph::isInset to identify insets.
15046 (selectSelectedWord): do not test for hyphenation break.
15048 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15049 that protected spaces are considered as spaces.
15051 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15054 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15057 * lyxserver.C: fix it. and small cleanup.
15059 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15061 * BufferView_pimpl.C: use inline helpers
15064 * LaTeXFeatures.C: fix typos
15067 * Spacing.C: move spacing_string into class
15069 * ToolbarDefaults.C: move stuff into namespace anon
15071 * layout.h: update enum
15073 * lyxfunc.C: use better debug
15075 * minibuffer.h: fix typo
15079 * WorkArea.C: add and use Debug::WORKAREA
15083 * text2.C: code re-organisation, inline helpers
15085 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15087 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15088 std::vector.empty().
15090 2001-11-09 Allan Rae <rae@lyx.org>
15092 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15093 '\n's after tables. Tabular and ERT inset work now makes this no
15096 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15099 * minibuffer.C: fix crash, improve drop-down completion
15101 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15104 * lyxserver.C: invalidate fd's when doing endPipe()
15106 2001-11-08 José Matos <jamatos@fep.up.pt>
15108 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15109 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15112 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15114 2001-11-07 José Matos <jamatos@fep.up.pt>
15117 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15120 * buffer.C (sgmlOpenTag):
15121 * buffer.C (sgmlCloseTag): removed debug info.
15123 * buffer.h (sgmlOpenTag):
15124 * buffer.h (sgmlCloseTag): made public.
15126 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15128 * buffer.C (saveParamsAsDefaults):
15129 * lyx_cb.C (MenuLayoutSave): remove
15131 * LyXAction.C (init):
15133 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15135 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15137 * buffer.C (setPaperStuff): removed from here...
15139 * bufferparams.C (setPaperStuff): ... and moved there.
15141 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15145 * XFormsView.C: add support for drop-down completion
15147 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15149 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15152 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15154 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15157 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15159 * lyx_main.C: change ref to known bugs
15161 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15163 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15164 to work around older babel problems.
15166 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15168 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15170 2001-10-24 Juergen Vigna <jug@sad.it>
15172 * tabular-old.C (ReadOld): below variable changes reflected.
15174 * tabular.[Ch]: added ltType struct for longtable header/footer
15175 defines and changed all instances where they are used. Added
15176 future support for double top/bottom rows.
15178 2001-10-24 José Matos <jamatos@fep.up.pt>
15180 * buffer.h (docbookHandleCaption):
15181 * buffer.C (docbookHandleCaption): removed unused function.
15182 (makeDocBookFile): moved docbook supported version to v4.1.
15184 2001-10-24 José Matos <jamatos@fep.up.pt>
15187 * tabular.C (docbookRow): new function to export docbook code of a row.
15188 (DocBook): now honors the longtable flags.
15190 2001-10-23 José Matos <jamatos@fep.up.pt>
15193 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15194 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15196 * buffer.C (makeLinuxDocFile):
15197 (makeDocBookFile): reworked the preamble, more clean, and with
15198 support for lyx defined entities. Changed the document declaration
15199 to be more XML friendly.
15201 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15202 if we need to output XML that should be done with a filter.
15204 2001-10-22 Juergen Vigna <jug@sad.it>
15206 * sp_pspell.h (class PSpell): add alive function needed in the
15207 controller to see if the spellchecker could be started.
15209 2001-10-22 Juergen Vigna <jug@sad.it>
15211 * buffer.C (insertStringAsLines): modify the font for inserting
15212 chars in certain conditions by calling checkInsertChar(font).
15214 2001-10-19 Juergen Vigna <jug@sad.it>
15216 * text.C (workWidth): use getRow instead of wrong algorithm.
15217 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15219 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15224 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15226 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15228 * text.C (workWidth): do not search for the exact row when
15229 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15230 optimization for big documents.
15232 2001-10-18 Juergen Vigna <jug@sad.it>
15234 * text.C (workWidth): new function with added Inset * parameter.
15236 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15238 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15240 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15241 change return type of getColumnNearX.
15244 * text.C (changeRegionCase): use uppercase/lowercase instead of
15247 (rightMargin): simplify code by factoring out the uses of
15252 (appendParagraph): use Paragraph::size_type
15254 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15256 * vspace.C (asLatexString): add a missing break
15258 2001-10-15 Herbert Voss <voss@perce.de>
15260 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15262 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15264 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15267 2001-10-10 André Pönitz <poenitz@gmx.net>
15269 * lyxfunc.C: removed greek_kb_flag.
15271 2001-10-10 Herbert Voss <voss@perce.de>
15273 * lyx_main.C: delete global string help_lyxdir.
15275 2001-10-09 Herbert Voss <voss@perce.de>
15277 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15279 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15281 * lyx_main.C: added global string help_lyxdir.
15283 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15285 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15287 * lyxrc.C (set_font_norm_type): support iso8859-4
15289 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15291 * LaTeX.C (deplog): add another regex for MikTeX
15293 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15295 * lyxrc.C (set_font_norm_type): support iso8859-3
15297 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15299 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15301 * LaTeXFeatures.C: remove special case of french and index
15303 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15304 before \begin{document}). This solves several incompatibilities.
15306 2001-10-03 Garst Reese <reese@isn.net>
15308 * lyx_cb.C: change CheckTex error msg.
15310 2001-10-03 José Matos <jamatos@fep.up.pt>
15312 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15314 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15316 * .cvsignore: update
15318 * lyx_main.C (commandLineVersionInfo): use new style version info.
15320 * buffer.C (writeFile):
15322 (makeLinuxDocFile):
15323 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15325 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15327 * version.h: update to use stuff in version.C
15329 * version.C.in: new file. Contains version information determined
15330 at compile time. This is a merging of version.h and
15333 2001-10-03 Juergen Vigna <jug@sad.it>
15335 * BufferView_pimpl.C (update): don't change "dirty" status in
15338 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15340 * WorkArea.C (c-tor): re-position version string slightly.
15342 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15344 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15345 revert to previous code.
15347 WorkArea.[Ch]: (show, destroySplash): methods removed.
15349 WorkArea.C: rework code so that it's an amalgam of the codes before and
15350 after the splash screen was moved to WorkArea.
15352 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15355 * vspace.C (inPixels):
15358 * buffer.C (insertStringAsLines):
15359 (asciiParagraph): fix types to be large enough
15361 * lyxlex_pimpl.h: change member status from short to int
15363 * layout.h: fix type of endlabeltype
15366 * kbsequence.C (parse): change return type to string::size_type
15368 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15371 * Bullet.C (bulletSize):
15372 (bulletEntry): do not use short ints as parameters
15374 * BufferView2.C (insertLyXFile): change a char to an int.
15376 * WorkArea.C (WorkArea): remove unneeded floats in computation
15378 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15380 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15382 * paragraph.C (asString): Do not ignore newline/hfill chars when
15383 copying to the clipboard.
15385 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15387 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15388 after a multi-line inset.
15390 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15392 * paragraph.C (validate): Set NeedLyXFootnoteCode
15394 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15396 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15397 and decrease-error to decrease.
15399 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15401 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15402 it more readable (should be equivalent)
15404 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15406 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15408 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15410 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15411 of a cursor (row, etc.) after a character has been deleted
15412 (deleteEmptyParagraphMechanism): call the method above on _all_
15413 cursors held by the LyXText when a double space has been
15416 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15418 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15420 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15422 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15423 background. Use greyOut() and the new show() methods to toggle between
15424 the foreground and background. Add code to remove the splash after
15425 its initial showing.
15427 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15428 (create_forms): no longer call Dialogs::showSplash.
15430 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15432 * .cvsignore: add version_info.h
15434 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15436 * version_info.h.in: new file
15438 * Makefile.am: add version_info.h.in
15440 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15441 version_info.h instead of VERSION_INFO
15443 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15445 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15446 The ERT inset now returns string().
15448 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15450 * lyxtext.h, text.C (selectNextWord): renamed as
15451 selectNextWordToSpellcheck.
15453 * text.C (selectNextWordToSpellcheck): Modified to not select
15454 words inside an ERT inset.
15456 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15458 * lyx_cb.C (MenuLayoutSave): change a bit the question
15460 * sp_base.h: include <sys/types.h>
15462 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15464 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15466 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15468 * several files: fix typos in user-visible strings
15470 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15472 * text2.C (pasteSelection): do not set the selection, since it
15473 will be cleared later. Actually, the intent was to fix the way the
15474 selection was set, but I figured rmoving the code was just as good.
15476 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15478 * FontLoader.C (available): Check if font is available without
15481 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15483 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15485 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15487 * lyxrc.[Ch]: added display_graphics variable and associated code.
15489 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15491 * bufferparams.C (hasClassDefaults): new method. Returns true if
15492 the buffer parameters correspond to known class defaults
15494 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15496 * XFormsView.C (show): set minimum size to the main window.
15498 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15500 * text2.C (copySelection):
15502 * lyxfind.C (LyXReplace):
15503 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15504 LyXText::selectionAsString.
15506 * paragraph.C (asString): add "label" argument to the second form
15508 * text2.C (selectionAsString): add "label" argument and pass it to
15509 Paragraph::asString.
15511 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15513 * lyx_main.C (commandLineHelp): remove version information
15515 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15517 * lyx_main.C: add -version commandline option
15519 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15521 * paragraph.h: make the optional constructor arg required instead.
15522 some modifications to other files because of this.
15524 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15526 * lyxserver.C (C_LyXComm_callback): make it static
15528 * lyx_main.C (error_handler): make it static
15530 * lyx_gui.C (LyX_XErrHandler): make it static
15532 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15534 * WorkArea.C: make the extern "C" methods static.
15536 * Makefile.am (lyx_LDADD): simplify
15538 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15540 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15541 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15543 * LyXAction.C (init):
15544 * lyxfunc.C (dispatch): associated code removal.
15546 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15548 * lyxfont.h (isSymbolFont): shut off warning
15550 * text.C (setHeightOfRow):
15551 (getVisibleRow): fix crash with empty paragraphs which have a
15554 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15556 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15559 2001-09-04 José Matos <jamatos@fep.up.pt>
15562 * tabular.C (docbook): rename docBook method to docbook.
15564 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15566 * Makefile.am: add dependencies to main.o.
15568 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15570 * FontLoader.C (available): Return false if !lyxrc.use_gui
15572 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15574 * FontInfo.C (query):
15575 * converter.C (view):
15576 * importer.C (Import):
15577 * exporter.C (Export): Can not -> cannot.
15579 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15581 * BufferView_pimpl.C: allow to create index inset even if
15584 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15586 * buffer.C (getLists): replace boost::tie code with an explicit pair
15587 as boost::tie can break some compilers.
15589 * iterators.h: Added a std:: declaration to the return type of
15592 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15594 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15597 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15599 * iterators.[Ch]: New files. Provide paragraph iterators.
15601 * buffer.C (changeLanguage): Use paragraph iterators.
15602 (isMultiLingual): ditto
15604 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15606 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15608 * FontLoader.C: Support for cmr font.
15610 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15612 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15613 (available): New method.
15615 * FontInfo.C (getFontname): Use scalable fonts even when
15616 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15619 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15621 * converter.C (Formats::view): reverted! Incorrect fix.
15623 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15625 * converter.C (Formats::view): only output the -paper option
15626 if the dvi viewer is xdvi, thereby fixing bug #233429.
15628 2001-08-23 Herbert Voss <voss@perce>
15630 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15632 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15634 * Spacing.h (Spacing): Set space to Default on in the default
15637 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15639 * vc-backend.h (RCS::versionString): add RCS to version
15640 (CVS::versionString): add CVS to version
15642 * vc-backend.C (scanMaster): do not add CVS to version.
15643 (scanMaster): do not add RCS to version
15645 * lyxvc.C (versionString): new method
15647 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15649 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15651 * Spacing.C (set): initialize fval
15653 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15655 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15658 2001-08-16 Juergen Vigna <jug@sad.it>
15660 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15662 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15664 * BufferView_pimpl.C:
15667 * text2.C: setParagraph takes linespacing now
15669 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15671 * LyxAction.C: add internal LFUN_CITATION_INSERT
15673 * LyXView.C: actually apply fix
15675 * bufferlist.C: fix open non-existent file
15677 * lyxfind.C: fix indentation
15679 * lyxfunc.C: remove unneeded assert, fix typo
15681 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15683 * MenuBackend.C: use "Floatname List"
15685 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15687 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15688 when converting LaTeX layout to insetERT.
15689 Generate a non-collapsed float when reading old float
15691 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15693 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15696 2001-08-13 Juergen Vigna <jug@sad.it>
15698 * text.C (fill): return 0 instead of 20 as this seems to be the more
15701 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15703 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15706 2001-08-13 Juergen Vigna <jug@sad.it>
15708 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15710 (SearchBackward): comment out the unlocking of the inset_owner this
15711 should not be needed!
15713 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15715 * Many files: Remove inherit_language, and add latex_language
15717 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15718 collapsible insets.
15720 2001-08-10 Juergen Vigna <jug@sad.it>
15722 * text.C (prepareToPrint): fixed hfill-width in draw!
15724 * BufferView2.C (selectLastWord): save the selection cursor as this
15725 now is cleared in the function LyXText::clearSelection!
15727 2001-08-08 Juergen Vigna <jug@sad.it>
15729 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15730 BACKSPACE type functions.
15732 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15733 is only cutted from the document but not put in the cut-buffer, where
15734 still the old stuff should be.
15736 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15738 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15740 * tabular.C (SetWidthOfCell): fixed special case where the width
15742 (LeftLine): handle '|' in align_special.
15744 (LeftAlreadyDrawed): ditto
15745 (SetWidthOfCell): ditto
15747 2001-08-07 Juergen Vigna <jug@sad.it>
15749 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15751 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15753 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15754 * lyxlex.[hC]: ditto
15756 2001-08-06 Juergen Vigna <jug@sad.it>
15758 * text.C (getVisibleRow): fix up row clearing a bit.
15760 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15762 * minibuffer.C: make sure the X server sees the changes in the input.
15764 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15766 * paragraph.C (getFont): split into...
15767 (getLabelFont): this
15768 (getLayoutFont): and this
15769 * paragraph_pimpl.C (realizeFont): calling this
15771 * text2.C (getFont): split into...
15772 (getLayoutFont): this
15773 (getLabelFont): and this
15774 (realizeFont): all three calling this
15776 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15779 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15781 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15783 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15785 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15786 layouts from the Quote inset insertion.
15788 2001-08-03 Juergen Vigna <jug@sad.it>
15790 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15792 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15793 only if status not is already CHANGED_IN_DRAW (second level).
15795 * text.C (draw): don't set the need_break_row when inside an
15798 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15800 * buffer.C (parseSingleLyXformat2Token): handle more latex
15803 * bufferview_funcs.[hC]: change function names to
15804 begin with small char, adjust other files.
15806 2001-08-02 André Pönitz <poenitz@gmx.net>
15809 BufferView_pimpl.C: remove broken special code for math-greek
15811 2001-08-02 Juergen Vigna <jug@sad.it>
15813 * BufferView_pimpl.C (update): redone this function so that we
15814 update the text again if there was a CHANGE_IN_DRAW.
15816 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15817 (drawFromTo): added a new internal bool which is used by draw() and
15819 (general): some cursor drawing problems fixed.
15821 2001-08-01 Juergen Vigna <jug@sad.it>
15823 * lyxfind.C (LyXFind): fixed
15824 (SearchForward): ditto
15825 (SearchBackward): ditto
15827 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15828 spurius drawing of the cursor in the main area.
15830 * text2.C (status): small fix which could lead to a segfault!
15831 (clearSelection): remove unneeded BufferView param.
15833 2001-08-01 André Pönitz <poenitz@gmx.net>
15835 * lyxfunc.C: small change due to changed mathed interface
15837 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15839 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15841 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15843 * lyxfunc.c: fail gracefully if file doesn't exist
15848 * BufferView_pimpl.C: IsDirWriteable() proto changed
15850 * LyXView.C: fix updateWindowTitle() to store the last title
15852 2001-07-31 Juergen Vigna <jug@sad.it>
15854 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15855 the font (wrong since using of Paragraph::highestFontInRange).
15857 * paragraph.C (highestFontInRange): added a default_size parameter.
15859 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15860 (setHeightOfRow): reformat
15862 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15864 * converter.[hC] + affected files: move to (inital-char)lowercase
15867 * ParagraphParameters.C (ParagraphParameters): remove commented code
15869 * PainterBase.[Ch]: remove commented code
15871 * LaTeXFeatures.h: add "bool floats" for float.sty
15873 * LaTeXFeatures.C (LaTeXFeatures): init floats
15874 (require): handle float
15875 (getPackages): do it with floats
15877 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15879 * BufferView_pimpl.C (Dispatch): improve handling of
15880 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15882 * commandtags.h: #include lyxfont.h here temporarily to avoid
15885 * bufferlist.h: include LString.h here.
15887 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15889 * text2.C (getStringToIndex): new method.
15891 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15893 * *: Reduced header file dependencies all over.
15895 2001-07-30 Baruch Even <baruch@lyx.org>
15897 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15899 2001-07-29 Baruch Even <baruch@lyx.org>
15901 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15903 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15905 * ParameterStruct.h (endif): add a default constructor to make
15906 sure that all variables is initialized.
15908 * ParagraphParameters.C (ParagraphParameters): adjust
15910 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15912 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15913 index; also, check that there is something to index, and that it
15914 does not span over several paragraphs.
15915 (doubleClick): use WHOLE_WORD_STRICT for double click.
15917 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15919 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15922 2001-07-26 Baruch Even <baruch@lyx.org>
15924 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15925 an InsetFig figure, backwards compatible reading of old figure code.
15927 2001-07-27 Juergen Vigna <jug@sad.it>
15929 * text2.C: font.realize function adaption.
15931 * text.C (draw): add a warnings lyxerr text if needed.
15933 * layout.C: font.realize function adaption.
15935 * language.C: add inherit_language and implement it's handlings
15937 * bufferview_funcs.C (StyleReset): remove language parameter from
15938 font creation (should be language_inherit now).
15940 * bufferparams.C (writeFile): handle ignore_language.
15942 * paragraph.C (getFontSettings): the language has to be resolved
15943 otherwise we have problems in LyXFont!
15945 * lyxfont.C (lyxWriteChanges): added document_language parameter
15946 (update): removed unneeded language parameter
15948 * paragraph.C (validate): fixed wrong output of color-package when
15949 using interface colors for certain fonts in certain environments,
15950 which should not seen as that on the final output.
15952 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15954 * BufferView_pimpl.C:
15959 * LyXAction.C: add thesaurus support
15962 * lyxfind.C: add "once" parameter, for thesaurus, to not
15963 move to the next match
15965 2001-07-26 Juergen Vigna <jug@sad.it>
15967 * lyxfont.C (realize): honor ignore_language too!
15970 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15972 * text.C (draw): one place more for ignore_language to not draw
15975 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15977 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15979 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15981 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15982 the minipage conversion problem.
15984 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15986 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15989 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15991 * BufferView.h: don't forward declare WorkArea
15993 * BufferView.C: don't include WorkArea.h
15995 2001-07-25 André Pönitz <poenitz@gmx.net>
15999 * lyxfunc.C: new LFUN 'math-space'
16001 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16003 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16005 * text2.C (toggleInset): call open/close
16007 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16009 * lyxfunc.C (dispatch): add debug for the disabled case
16011 * font.C (buttonText): make similar to rectText
16013 * buffer.C (readInset): comment out parsing of insetlist and
16016 * PainterBase.C (rectText): small correction
16018 * BufferView_pimpl.C: comment out insettheorem and insetlist
16019 * LyXAction.C: ditto
16020 * commandtags.h: ditto
16022 2001-07-24 Juergen Vigna <jug@sad.it>
16024 * text.C (draw): honor the ignore_language.
16026 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16028 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16030 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16033 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16035 * lyxtext.h: remove unused (and unimplemented) methods
16037 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16039 * text.C (getVisibleRow): honor background color
16042 * Painter.h: remove default color argument for fillRectangle
16044 * text.C (backgroundColor): new method
16046 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16048 * text.C (getVisibleRow): adjust
16050 * font.[Ch] (rectText): new method, metrics
16051 (buttonText): new method, metrics
16053 * PainterBase.[hC]: make rectText and buttonText always draw and take
16056 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16058 * ToolbarDefaults.C (read):
16059 * MenuBackend.C (read): allow escaping in all strings
16061 * BufferView_pimpl.C (insertAndEditInset): new method.
16062 (Dispatch): use insertAndEditInset whenever appropriate.
16064 * BufferView_pimpl.C (insertNote): removed
16066 * BufferView_pimpl.C (smartQuote): new method, moved from
16067 BufferView; if an insetquote cannot be inserted, insert a '"'
16070 * BufferView2.C: remove insertCorrectQuote();
16072 * lyxfunc.C (getStatus): Add support for all remaingin
16073 inset-insert lfuns.
16075 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16077 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16078 command (necessary to pass " as parameter of self-insert.
16080 * text.C (selectWordWhenUnderCursor):
16081 (selectWord): add word_location parameter
16082 (selectWordWhenUnderCursor): same + remove special code for word
16084 (selectNextWord): use kind() to guess type of insetspecialchar,
16087 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16088 (insertErtContents): create ert insets as collapsed.
16089 (readInset): better compatibility code for Info inset.
16091 2001-07-20 Juergen Vigna <jug@sad.it>
16093 * lyxfunc.C (dispatch): use always LyXFind now!
16095 * text2.C (init): add a reinit flag so that the LyXText can be
16096 reinited instead of deleted and reallocated (used in InsetText).
16098 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16104 2001-07-18 Juergen Vigna <jug@sad.it>
16106 * text.C (selectNextWord): handle insets inside inset by calling
16107 always the bv->text functions so that we can go up the_locking_inset!
16109 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16110 in strange locations when inside an inset!
16112 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16113 handling to include insets.
16115 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16117 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16119 * LyXAction.C (init):
16121 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16122 LIGATURE_BREAK, since the name is so stupid.
16124 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16126 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16129 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16131 * sp_form.[Ch]: remove.
16133 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16135 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16138 * src/buffer.C (readInset): ditto.
16140 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16142 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16143 menuSeparator(), endOfSentenceDot(), ldots() and
16144 hyphenationPoint(), which are therefore removed.
16145 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16147 * LyXAction.C (init):
16148 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16150 * paragraph.C (getWord): removed.
16152 * BufferView_pimpl.C (Dispatch): use last word or selection for
16153 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16155 * lyx_main.C (queryUserLyXDir): do not ask before creating
16156 user_dir, except if it has been named explicitely.
16158 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16160 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16161 a document of zero size.
16163 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16165 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16166 approriately in the c-tor and in require().
16167 (getPackages): output the appropriate LaTeX for natbib support.
16169 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16170 variables "use_natbib" and "use_numerical_citations" when reading the
16172 (readInset): read the various natbib cite commands.
16173 (validate): white-space change.
16175 * bufferparams.[Ch]: new variables "bool use_natbib" and
16176 "bool use_numerical_citations".
16177 (writeFile): output them in the LyX file.
16179 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16181 * lyxfunc.C (getStatus): add support for all the inset insertion
16184 * text2.C (insertInset):
16185 * paragraph.C (insetAllowed):
16186 * BufferView_pimpl.C (insertInset): update to take in account the
16187 renaming of insertInsetAllowed
16189 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16191 * text2.C (getInset): new method. returns inset at cursor position.
16193 * BufferView_pimpl.C (Dispatch): changes because of this.
16195 * LyXAction.C (init): rename open-stuff to inset-toggle.
16197 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16199 * text2.C (toggleInset): renamed from openStuff; use
16202 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16204 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16206 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16208 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16210 * buffer.C (readLyXformat2): Add filename to the error dialog
16212 2001-07-18 Juergen Vigna <jug@sad.it>
16214 * tabular.C (GetCellNumber): put an assert here instead of the check!
16216 2001-07-17 Juergen Vigna <jug@sad.it>
16218 * BufferView_pimpl.C (toggleSelection): adapted too.
16220 * text.C (selectNextWord): adapted for use with insets.
16221 (selectSelectedWord): ditto
16223 2001-07-17 Juergen Vigna <jug@sad.it>
16225 * sp_spell.C (PSpell): fix initialitation order.
16227 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16229 * paragraph.C: spacing
16231 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16233 * sp_spell.C: repair language selection for pspell
16235 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16237 * lyxfunc.h: change more methods to begin with lower char.
16239 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16241 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16242 for unknown layouts.
16244 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16246 * buffer.C (readLyXformat2): Generate an error dialog if there are
16249 2001-07-16 Juergen Vigna <jug@sad.it>
16251 * sp_spell.C: always compile ISpell part.
16253 * lyxrc.C: added use_pspell entry and it's handling.
16255 2001-07-13 Juergen Vigna <jug@sad.it>
16257 * sp_spell.C: removed double includes.
16259 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16261 Consistent use of Lsstream.h:
16262 * Lsstream.h: added using std::stringstream for consistencies sake.
16264 * buffer.C: removed using std::stringstream
16266 * lyxfont.C (stateText):
16267 * paragraph.C (asString):
16268 * text.C (selectNextWord, selectSelectedWord):
16269 * text2.C (setCounter):
16270 * vspace.C (asString, asLatexString):
16271 std::ostringstream -> ostringstream.
16273 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16275 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16276 * commandtags.h: add LFUN_HELP_ABOUTLYX
16277 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16279 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16281 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16283 * lyx_gui_misc.C: remove spellchecker
16284 * lyxfunc.C: showSpellchecker
16286 * sp_ispell.h: added
16287 * sp_pspell.h: added
16288 * sp_spell.C: added
16289 * sp_form.[Ch]: removed
16290 * spellchecker.[Ch]: removed
16292 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16294 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16296 (simpleTeXSpecialChars): Simply print the input character without
16297 any special translation if pass_thru is set.
16299 * layout.h: Added bool pass_thru to layout class for being able to
16300 implement pass through of a paragraph for Literate Programming.
16302 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16303 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16304 * layout.C (Read): add "passthru" to list of layout tags and add
16305 code to set the pass_thru boolean when it is read.
16307 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16309 * trans_decl.h: remove allowed from KmodInfo
16311 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16312 remove allowed code
16315 * paragraph_pimpl.C (erase): use boost::prior
16317 * Painter.C (text): use data() instead of c_str() when length is
16319 * WorkArea.C (putClipboard): ditto
16320 * font.h (width): ditto
16322 * BufferView2.C: use it-> instead of (*it). for iterators
16324 * paragraph_pimpl.C: ditto
16325 * paragraph.C: ditto
16326 * minibuffer.C: ditto
16327 * language.C: ditto
16329 * encoding.C: ditto
16330 * counters.C: ditto
16331 * converter.C: ditto
16333 * Variables.C: ditto
16334 * TextCache.C: ditto
16335 * MenuBackend.C: ditto
16336 * LyXAction.C: ditto
16338 * FloatList.C: ditto
16339 * DepTable.C: ditto
16340 * ColorHandler.C (LyXColorHandler): ditto
16342 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16344 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16346 * text2.C (openStuff): reintroduce this method (which had been
16347 nuked in NEW_INSETS frenzy).
16349 * lyxfunc.C (Dispatch): when an action has not been handled, use
16350 its name in the error message, not its number.
16352 * paragraph.C (inInset): change method name to begin with lowercase.
16355 * text2.C: updates because of this.
16357 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16359 * ToolbarDefaults.C (add): add spaces in error message
16361 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16363 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16364 (readLyXformat2): rename return_par to first_par, use lyxlex's
16365 pushToken and remove the manual push handling.
16366 (parseSingleLyXformat2Token): add another ert comp. variable:
16367 in_tabular, rename return_par to first_par. handle newlines better
16369 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16371 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16373 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16375 * text2.C (getParFromID): removed
16377 * buffer.C (getParFromID): new method moved form lyxtext.
16378 * BufferView2.C (insertErrors): adjust
16379 (setCursorFromRow): adjust
16380 * BufferView_pimpl.C (restorePosition): adjust
16381 * lyxfunc.C (Dispatch): adjust
16382 * undo_funcs.C (textUndo): adjust
16384 (textHandleUndo): adjust
16385 (textHandleUndo): adjust
16387 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16389 * buffer.C: up' the LYX_FORMAT
16391 * lyxfont.h: turn NO_LATEX on as default
16393 * buffer.C (insertErtContents): new methods of tex style compability.
16394 (parseSingleLyXformat2Token): use it several places.
16395 * tabular.C (OldFormatRead): and here
16397 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16399 * text2.C: remove some commented code.
16402 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16403 * trans.C: changes because of the above.
16405 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16407 * text2.C (setCounter): Fix counters bug with bibliography layout.
16409 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16411 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16412 own member functions
16413 (simpleTeXSpecialChars): ditto
16415 2001-07-06 Juergen Vigna <jug@sad.it>
16417 * a lot of files: changed the access to LyXText::status and the
16418 call of undo-functions.
16420 * undo.[Ch]: added a inset_id to the undo informations.
16422 * undo_funcs.[Ch]: added and moved here all undo functions.
16424 * lyxtext.h: give the status enum a weight, made status_ a private
16425 variable and made accessor functions for it, removed the whole bunch
16426 of undo-functions as they are now in their own file, make some
16427 functions publically available. Added function ownerParagraph with
16430 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16431 made InInset() a const function, added getParFromID() function.
16433 * buffer.[Ch]: added const version for inset_iterator functions,
16434 added getInsetFromID() function.
16436 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16437 changed undo functions for new version.
16439 2001-07-05 Juergen Vigna <jug@sad.it>
16441 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16442 unknow mechanism does not call the proper constructor but only this
16443 one also if I request the other!?
16445 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16447 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16449 * text2.C (LyXText): use initialization lists.
16451 * lyxtext.h (Selection): initialize set_ and mark_
16452 (init): remove method
16454 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16456 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16458 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16460 * screen.[Ch]: change method names to begin with lowercase
16462 * BufferView_pimpl.C (updateScrollbar): simplify further and
16463 hopefully make it a bit faster.
16465 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16467 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16468 calling directly xforms functions.
16470 * Painter.C (Painter):
16471 * lyx_cb.C (MenuWrite):
16472 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16475 * lyx_gui.C: remove bogus guiruntime extern declaration.
16477 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16479 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16481 (redoDrawingOfParagraph): ditto
16482 (redoParagraphs): ditto
16483 (cutSelection): don't create a object for CutAndPaste use the
16484 static method directly
16485 (pasteSelection): ditto
16487 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16490 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16492 * modifications to some other files because of this.
16494 * Makefile.am (lyx_SOURCES): add XFormsView
16496 * XFormsView.[Ch]: new files
16498 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16499 the main window. Move the gui dependent stuff to XFormsView
16501 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16503 * tabular.C (GetCellInset): update cur_cell also in the row/col
16504 version of this function.
16506 * lyxfunc.C: no need to include figure_form.h here.
16512 * lyxvc.C: no need to include forms.h here.
16514 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16516 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16518 * lyxfunc.C (Dispatch):
16520 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16521 constructor argument.
16523 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16525 * paragraph.C (Paragraph): dont't clear, and just set layout.
16526 (makeSameLayout): use params's copy contructor.
16528 * ParagraphParameters.[Ch] (makeSame): delete method
16530 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16532 * Variables.[Ch]: fix indentation, rename set to isSet
16534 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16536 * lyxfunc.C (Dispatch): fix typo
16538 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16540 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16543 * bufferlist.C: include assert.h for emergencyWrite().
16545 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16547 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16548 give up at last (bug #425202) !
16550 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16556 * spellchecker.C: strip spellchecker options and bring up
16557 preferences tab instead
16559 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16561 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16562 the istringstream constructor
16564 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16566 * paragraph.C (getLayout): fix return value
16568 * paragraph.h: do not declare getLayout as inline.
16570 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16572 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16574 * lyxcursor.h (operator<): new func
16575 (operator>): new func
16576 (operator>=): new func
16577 (operator<=): new func
16579 * text.C (changeCase): use selection.start and selection.end
16580 (changeRegionCase): require from to be <= to. Require par to be a
16583 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16585 2001-06-27 Juergen Vigna <jug@sad.it>
16587 * text.C (cursorLeftOneWord): changed to return the cursor and added
16588 overlay with BufferView * parameter which calls this one.
16590 (selectWord): use new getWord function.
16591 (changeCase): renamed from changeWordCase as and extended to work
16592 also on selections.
16594 * lyxtext.h: added enum word_location
16596 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16597 changeCase as this operates now also on selections.
16599 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16601 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16603 * many files: send debug output to Debug::INFO instead of
16606 * converter.C (View):
16608 (Move): send debug output to Debug::FILES instead of console.
16610 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16612 * lyxfunc.C (getStatus): use func_status
16614 * func_status.h: new header, describing the results of
16615 LyXFunc::getStatus;
16617 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16620 2001-06-25 The LyX Project <jug@sad.it>
16622 * buffer.C (sgmlOpenTag):
16624 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16626 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16628 * text2.C: remove some dead code
16630 * tabular.C (GetCellInset): store the last cell checked (gotten)
16632 * tabular.h: add the helper for the speedup
16634 * lyxtext.h: remove some dead code
16636 2001-06-26 The LyX Project <Asger>
16638 * paragraph.C: Change export to LaTeX of alignment to
16639 \begin{center} and family for better roundtrip work with reLyX.
16641 * Tune the math drawing a bit.
16643 2001-06-25 The LyX Project <Asger>
16645 * LColor.C (LColor): New color for math background. New color
16648 2001-06-25 The LyX Project <jug@sad.it>
16650 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16652 * lyxfunc.C (Open):
16653 * bufferlist.C (newFile): do not restrict to files ending with
16656 * BufferView_pimpl.C (MenuInsertLyXFile):
16658 2001-06-24 The LyX Project <jug@sad.it>
16660 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16663 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16665 * lyxtext.h: rename most methods to begin with a small char.
16666 Lots of changes because of this.
16668 * paragraph.C (Paragraph): do not call fitToSize
16669 (erase): call Pimpl::erase
16670 (insertChar): call Pimpl::insertChar
16671 (insertInset): call Pipl::insertInset
16672 (breakParagraph): do not call fitToSize
16673 (breakParagraphConservative): do not call fitToSize
16674 (fitToSize): remove method
16676 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16678 2001-06-24 The LyX Project <Asger>
16680 * Fix Qt compilation^2
16682 2001-06-24 The LyX Project <jug@sad.it>
16684 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16685 depthHook(getDepth()-1).
16688 * ParagraphParameters.h:
16689 * ParameterStruct.h: change type of depth to unsigned int ==
16690 depth_type. Many adaptations to other files before of that.
16692 2001-06-24 The LyX Project <Asger>
16694 * Fix Qt compilation.
16696 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16698 * paragraph.h: renamed several methods to begin with small letter.
16699 several changes to many parts of the code because of this.
16701 2001-06-23 The LyX Project <jug@sad.it>
16703 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16704 rewritten to discard all double spaces when KeepEmpty is off
16705 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16706 to only handle newlines but not fiddle with spaces and friends.
16708 * lyxfunc.C (MenuNew): when doing 'new from template', use
16709 template_path as default directory
16711 2001-06-23 The LyX Project <Asger>
16713 * Clean-up of header file includes all over
16714 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16716 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16718 * paragraph.h: renamed from lyxparagraph.h
16720 2001-06-23 Asger <lyx@violet.home.sad.it>
16722 * Buffer.h: Removed Buffer::resize
16723 * BufferList.h: Removed BufferList::resize
16724 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16725 the document lazily when we change the width, or the font settings.
16727 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16729 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16731 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16733 * buffer.h: remove out of date comment
16735 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16738 * screen.C: fix "theoretical" GC leak
16740 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16742 * LaTeX.C (scanAuxFile):
16743 (deplog): remove trailing \r when reading stream (useful under
16746 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16748 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16749 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16750 and BufferView::theLockingInset(Inset*), so should use them and not
16751 access bv_->text->the_locking_inset directly.
16753 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16755 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16758 * tex-defs.h: remove old unused file
16760 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16762 * BufferView_pimpl.C: fix typo, remove minibuffer message
16763 when buffer has loaded
16765 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16767 * lyxfunc.C (Dispatch): use stringstream
16768 (MenuNew): use stringstream
16769 (Open): use stringstream
16771 * importer.C (Import): use stringstream
16773 * bufferview_funcs.C (CurrentState): use stringstream
16775 * LaTeX.C (run): use stringstream
16777 * BufferView_pimpl.C (savePosition): use stringstream
16778 (restorePosition): use stringstream
16779 (MenuInsertLyXFile): use stringstream
16781 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16794 * vspace.C: removed // -*- C++ -*- as first line.
16797 * version.h: added // -*- C++ -*- as first line.
16799 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16801 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16803 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16806 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16808 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16811 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16813 * gettext.C: include LString.h even when --disable-nls is on.
16815 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16817 * converter.h (Get): changed argument type from int to
16818 FormatList::size_type to avoid unnecessary conversion.
16820 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16823 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16825 * gettext.h: include LString.h even when --disable-nls is on.
16827 2001-06-07 Juergen Vigna <jug@sad.it>
16829 * text.C (BreakAgain): subst spaces with tabs.
16831 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16832 (resizeInsetsLyXText): set force on resizeLyXText.
16834 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16836 * gettext.h (gettext_init):
16837 (locale_init): use a real definition instead of a macro
16839 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16841 * Bufferview_pimpl.C:
16843 * LColor.C: further lcolor tidies
16845 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16847 * BufferView_pimpl.C (updateScrollbar): simplify.
16849 * BufferView2.C: don't include insets/insetinfo.h, change
16850 prototype for insertInset and call the Pimpl version. let
16851 updateInset call Pimpl version.
16853 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16854 gotoInset to BufferView::Pimpl
16856 2001-06-01 Juergen Vigna <jug@sad.it>
16858 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16859 inside a LockingInset (is the update needed at all?).
16861 2001-05-31 Juergen Vigna <jug@sad.it>
16863 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16864 here not the old one otherwise how should we compare it afterwards
16867 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16872 * FontInfo.C: bring C functions into global namespace when
16875 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16877 * LString.h: make sure config.h has been loaded before LString.h.
16879 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16880 (one for each char read by EatLine!).
16882 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16885 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16887 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16888 to the same as the par we break from
16890 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16892 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16894 * MenuBackend.C (expand): also create menu entries for wide
16895 versions of the floats.
16897 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16899 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16901 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16902 frontends/Makefile.am
16908 * tabular.C (getTokenValue): add std::
16910 * tabular-old.C (getTokenValue): add std::
16911 (getTokenValue): ditto
16912 (getTokenValue): ditto
16914 * screen.C (ToggleSelection): adjust
16916 * lyxtext.h: put selection cursors inside a Selection struct.
16918 * lyxfunc.C (moveCursorUpdate): adjust
16920 * lyxfont.C (latexWriteStartChanges): add std::
16922 * lyxfind.C: adjust
16924 * font.h: delete with(char const *, LyXFont const &)
16926 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16928 * FontInfo.C (getFontname): add std::
16930 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16931 (workAreaButtonPress): adjust
16932 (tripleClick): adjust
16934 (moveCursorUpdate): adjust
16937 * BufferView2.C (gotoInset): adjust
16939 2001-05-30 Juergen Vigna <jug@sad.it>
16941 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16942 to check pspell I add this as default as I now have new pspell
16943 libraries and they seem to use this.
16945 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16947 * text2.C (CutSelection): make the cursor valid before the call to
16950 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16952 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16953 relied on 0 terminated strings and other horrors. Bug found due to
16954 the new assert in lyxstring!
16956 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16959 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16961 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16964 * lyxfunc.C (processKeySym): change method of getting to the
16967 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16968 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16969 * BufferView_pimpl.[Ch]: here as private methods.
16971 2001-05-28 Juergen Vigna <jug@sad.it>
16973 * text.C (SetHeightOfRow): added the update() call again as it is
16974 needed to initialize inset dimensions!
16976 2001-05-16 Juergen Vigna <jug@sad.it>
16978 * text2.C (SetCharFont): Add new function with BufferView * and
16979 bool toggleall parameters for setting insets internal fonts.
16980 (SetFont): Freeze the undo as we may change fonts in Insets and
16981 all this change should be inside only one Undo!
16983 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16984 setting font's in insets as for them we have the SetFont function!
16986 2001-05-15 Juergen Vigna <jug@sad.it>
16988 * text2.C (ClearSelection): to be sure we REALLY don't have any
16991 * tabular.C (TeXCellPreamble): fixed the left border problem for
16994 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16996 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16999 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17001 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17002 LFUN_BREAKPARAGRAPH.
17004 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17005 help test to "internal only", similar for LFUN_INSERT_URL
17007 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17008 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17009 auto_region_delete and deadkeys.
17011 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17014 * LColor.C: remove some dead entries, tidy a little
17016 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17018 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17020 (Dispatch): implement LFUN_ESCAPE
17022 * commandtags.h: add LFUN_ESCAPE
17024 * LyXAction.C (init): add entry for LFUN_ESCAPE
17026 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17027 Remove commented code.
17028 (insertNote): moved here
17029 (open_new_inset): moved here
17031 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17034 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17036 * kbmap.C (findbinding): clean it up and make it work correctly.
17038 * lyx_main.C (init): do not pass argc and argv as parameters
17040 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17042 * buffer.C: fix path for OS/2 & Win32
17046 * lyx_main.C: Added os:: class.
17048 * os2_defines.h: update
17050 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17052 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17053 better by trying again with reduced state.
17055 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17057 * lyxrc.C (read): print error about invalid key sequence only when
17058 debugging (because not all latinX keysyms are known to some X
17061 * kbsequence.C (getiso): add a few std:: qualifiers
17062 (getiso): comment out extra return statement.
17064 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17066 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17068 (Dispatch): enhance the accent inset a bit. (not perfect)
17070 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17072 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17074 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17076 * bufferlist.C (emergencyWrite): fix assert() call
17078 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17080 * text.C (InsertChar): Added trivial patch to only send the "you
17081 can not do multiple spaces this way" message once during a
17084 2001-05-08 Baruch Even <baruch@lyx.org>
17086 * Makefile.am: Changed order of libraries to get LyX to link properly
17087 with the gnome frontend.
17089 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17091 * LaTeXFeatures.h: add a std:: qualifier
17093 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17095 * paragraph.C (String): use stringstream
17097 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17099 * paragraph.C (writeFile): remove footflag arg
17101 * buffer.C (makeLaTeXFile): use stringstream
17102 (latexParagraphs): remove footnot gurba
17104 * LaTeXFeatures.C (getPackages): use stringstream
17105 (getMacros): likewise
17106 (getTClassPreamble): likewise
17107 (getFloatDefinitions): new method
17109 * paragraph.C (writeFile): reindent
17112 * WorkArea.h: revert the xpos + etc changes.
17114 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17116 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17118 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17119 (pasteSelection): likewise
17120 * text2.C (CreateUndo): likewise
17122 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17124 * minibuffer.C (peek_event): temporarily reduce the functionality
17125 of the minibuffer (to allow args on lfuns)
17127 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17128 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17130 * buffer.C (readInset): add compability reading of old float
17131 lists, add reading of new style float list.
17132 (readInset): avoid reevaluation of inscmd.getCmdName()
17133 (getLists): reindent
17135 * MenuBackend.C (MenuItem): implement parsing of
17136 md_floatlistinsert and md_floatinsert.
17137 (expand::LastFiles): move initalizaton of iterators out of loop,
17138 avoid reevaluation.
17139 (expand::Documents): introduce typdedef vector<string> Strings,
17141 (expand::ExportFormats): introduce typedef vector<Format const *>
17142 Formats, and use it.
17143 (expand): implement FloatListInsert and FloatInsert.
17145 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17146 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17147 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17149 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17151 (Dispatch::LFUN_FLOAT_LIST): implement
17153 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17155 * LaTeX.C (run): Fix problem with --export code.
17157 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17159 * BufferView.[Ch] (workarea): removed.
17160 (getClipboard) new method; wrapper for workarea()->getClipboard()
17162 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17165 * WorkArea.h (width, height, xpos, ypos): These methods all
17166 returned the dimensions of the work_area sub-area of WorkArea,
17167 resulting in a position error if the WorkArea were resized. Now
17168 return the dimensions of the entire WorkArea.
17170 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17172 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17174 * LaTeX.C (deplog): correct the syntax of regex reg1
17176 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17178 * undo.C: remove !NEW_INSETS cruft
17180 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17182 * text2.C: remove !NEW_INSETS cruft
17184 * text.C: remove !NEW_INSETS cruft
17186 * tabular.C: remove !NEW_INSETS cruft
17188 * spellchecker.C: remove !NEW_INSETS cruft
17190 * lyxtext.h: remove !NEW_INSETS cruft
17192 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17194 * lyxfunc.C: remove !NEW_INSETS cruft
17196 * lyxfind.C: remove !NEW_INSETS cruft
17198 * lyx_cb.C: remove !NEW_INSETS cruft
17200 * figureForm.C: remove !NEW_INSETS cruft
17202 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17204 * buffer.[Ch]: remove !NEW_INSETS cruft
17206 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17208 * CutAndPaste.C: remove !NEW_INSETS cruft
17210 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17212 * BufferView2.C: remove !NEW_INSETS cruft
17214 * BufferView.h: remove !NEW_INSETS cruft
17216 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17218 * Lsstream.h: include LString.h before the sstream headers to
17219 fix problem with gcc 2.95.3 and lyxstring
17221 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17223 * lyx_main.C: add using directives when needed for C functions
17224 declared in std:: namespace.
17226 2001-04-27 Juergen Vigna <jug@sad.it>
17228 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17229 (SetHeightOfRow): comment out the update call should not be needed!
17231 2001-04-13 Juergen Vigna <jug@sad.it>
17233 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17234 (LyXTabular): tried to minimize operator= operations (and realized
17235 hopfully Lars wish).
17237 2001-04-27 Juergen Vigna <jug@sad.it>
17239 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17241 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17243 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17245 * buffer.C (readInset): hack to make listof algorithm work
17247 * BufferView_pimpl.C: hack to make listof algorithm work
17249 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17251 * LyXAction.C: removed all !NEW_INSETS cruft
17252 (init): moved lfun_item in method
17254 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17256 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17258 * BufferView2.C (theLockingInset): white space.
17260 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17262 * minibuffer.C: include <iostream>
17264 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17266 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17268 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17270 * text.[Ch] (TransposeChars): new method
17272 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17274 * call message directly through LyXView instead of through LyXFunc
17275 * BufferView2.C: adjust
17276 * BufferView_pimpl.C: adjust
17277 * FontLoader.C: adjust
17279 * bufferview_funcs.C: adjust
17280 * converter.C: adjust
17281 * figureForm.C: adjust
17282 * importer.C: adjust
17284 * lyx_gui_misc.C: adjust
17285 * lyxfunc.C: adjust
17288 + more files in subdirs
17290 * lyxparagraph.h (size): move up int file
17293 * adjust all uses of Assert to lyx::Assert.
17295 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17296 lyxfunctional in namespace lyx
17297 * layout.C (hasLayout): ditto
17300 (delete_layout): ditto
17301 (NumberOfClass): ditto
17302 * converter.C (GetFormat): ditto
17307 * bufferlist.C (getFileNames): ditto
17308 (emergencyWriteAll): ditto
17311 * MenuBackend.C (hasSubmenu): ditto
17314 * BufferView_pimpl.C (getInsetByCode): ditto
17316 2001-04-18 Juergen Vigna <jug@sad.it>
17318 * vspace.C (asLatexString): fixed the 100% problem.
17320 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17322 * lyxfunc.C (Dispatch):
17324 * minibuffer.h: add a few std:: qualifiers
17326 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17328 * minibuffer.[Ch]: reimplement so that commands is initiated and
17329 run from lyxfunc, simplified som handling, and made the completion
17330 and history code for complete. wip.
17332 * lyxfunc.C (processKeySym): call message
17333 (miniDispatch): new temporary method
17334 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17335 (LFUN_MESSAGE): implement
17336 (LFUN_MESSAGE_PUSH): implement
17337 (LFUN_MESSAGE_POP): implement
17338 (initMiniBuffer): the initial/defualt minibuffer message.
17340 * lyxfont.[Ch]: inline some more getters
17342 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17344 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17346 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17347 (AutoSave): use LFUN_MESSAGE
17348 (Reconfigure): ditto
17350 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17352 * figureForm.C: use LFUN_MESSAGE
17354 * converter.C (runLaTeX): use LFUN_MESSAGE
17356 * bufferview_funcs.C: use LFUN_MESSAGE
17358 (changeDepth): ditto
17360 * bufferparams.h: use boost::
17362 * bufferlist.h: inherit privately from noncopyable
17364 * bufferlist.C (loadLyXFile): remove some commented code.
17366 * buffer.C (runChktex): use LFUN_MESSAGE
17368 * ShareContainer.h: inherit privately from noncopyable
17370 * ParagraphParameters.[hC] (depth): inline it.
17372 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17374 (message): new method
17375 (messagePush): ditto
17376 (messagePop): ditto
17377 (show): init minibuffer
17378 (showState): direct call
17380 * LaTeX.[Ch]: inherit privately from noncopyable
17381 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17382 instead of WriteStatus.
17384 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17386 * BufferView_pimpl.C (buffer): don't init minibuffer
17387 (workAreaButtonPress): use LFUN_MESSAGE
17388 (workAreaButtonRelease): ditto
17389 (savePosition): ditto
17390 (restorePosition): ditto
17391 (MenuInsertLyXFile): ditto
17392 (workAreaExpose): don't init minibuffer
17393 (update): remove commented code, simplify
17395 * BufferView2.C (openStuff): use LFUN_MESSAGE
17396 (toggleFloat): ditto
17399 (copyEnvironment): ditto
17400 (pasteEnvironment): ditto
17405 (updateInset): remove some commented code
17407 * lastfiles.h: inherit privately from noncopyable
17410 * lyx_main.h: ditto
17412 * lyxlex_pimpl.h: ditto
17414 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17415 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17416 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17418 * LyXAction.h: inherit privately from noncopyable, add methods
17419 func_begin, func_end, returning iterators to the func map.
17421 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17422 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17423 (func_begin): new method
17424 (func_end): new method
17426 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17428 (copySelection): ditto
17429 (pasteSelection): ditto
17431 * BufferView.C: whitespace change
17432 * BufferView.h: inherit privately from noncopyable
17434 2001-04-16 Allan Rae <rae@lyx.org>
17436 * tabular-old.C (l_getline):
17437 * spellchecker.C (sc_check_word):
17438 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17439 an unrecognised preprocessor directive. So ensure they're wrapped.
17441 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17443 * src/exporter.C (Export): Give an error message when path to file
17446 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17448 * LaTeX.C (deplog): Always check that foundfile exists.
17450 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17453 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17455 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17457 * tabular.[Ch] (getLabelList): implement new method
17459 * minibuffer.h: comment ouf setTiimer
17461 * minibuffer.C (ExecutingCB): constify res
17462 (peek_event): constify s
17463 (Set): constify ntext
17464 (Init): constify nicename
17466 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17468 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17469 (savePosition): use two params to Minibuffer::Set
17470 (restorePosition): ditto
17472 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17474 * lyx_main.C: include language.h
17476 * Makefile.am (lyx_main.o): add language.h
17478 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17484 * CutAndPaste.C: include gettext.h
17486 * lyxfont.h: remove old hack with ON and OFF.
17489 * lyxfont.h: do not include language.h...
17494 * bufferview_funcs.C:
17500 * paragraph.C: ... but do it here instead
17502 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17504 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17506 * tabular.C: small reformat
17508 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17511 (BreakParagraph): ditto
17512 (SetOnlyLayout): ditto
17515 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17518 * lastfiles.C: removed most using decl, add std:: where needed
17520 * buffer.C: ws changes
17522 * MenuBackend.C (class compare_format): put into anon namespace
17523 (expand): constify label, names, action, action2
17526 * text.C (SingleWidth): constify font
17527 (IsBoundary): constify rtl2
17528 (GetVisibleRow): constify ww
17530 * LaTeX.C (deplog): constify logfile
17532 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17534 (workAreaExpose): constify widthChange, heightChange
17536 * lyxrow.C (par): moved
17539 * lyxrow.h: as inlines here
17541 * lyxfont.h (shape): moved from lyxfont.C
17542 (emph): moved from lyxfont.C
17544 * lyxfont.C (LyXFont): use initialization list for all
17546 (shape): move to lyxfont.h as inline
17547 (emph): move to lyxfont.h as inline
17550 2001-04-04 Juergen Vigna <jug@sad.it>
17552 * vspace.C: had to include stdio.h for use of sscanf
17554 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17557 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17558 independent of xforms.
17560 2001-04-02 Juergen Vigna <jug@sad.it>
17562 * spellchecker.C: fixed namespace placing!
17564 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17566 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17567 the LyXParagraph * is 0.
17569 2001-03-29 Juergen Vigna <jug@sad.it>
17571 * vspace.C: added support for %, c%, p%, l%.
17572 (stringFromUnit): added helper function.
17573 (asLatexString): changed to give right results for the %-values.
17575 * buffer.C: convert the widthp in a width%.
17577 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17579 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17582 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17583 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17585 * lyx_cb.[Ch]: see above.
17587 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17591 * lyx.[Ch]: replaced by figure_form.[Ch].
17595 * lyxfunc.C: changed headers associated with above changes.
17597 2001-03-27 Juergen Vigna <jug@sad.it>
17599 * BufferView_pimpl.C: set the temporary cursor right!
17601 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17603 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17605 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17607 * LString.h: removed "using std::getline"!
17609 * BufferView_pimpl.C (Dispatch): changes due to changes in
17610 InsetInclude::Params.
17612 * buffer.C (tag_name): removed redundant break statements as they were
17613 producing lots of warnings with my compiler.
17615 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17617 * LString.h: add "using std::getline" when using the real <string>.
17619 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17621 * buffer.C: removed bitset usage.
17622 PAR_TAG moved to an anonymous name space.
17623 (tag_name): new funtion, also in the anonymous namespace.
17624 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17625 (makeDocBookFile): clean code. Completed transition from string arrays
17627 (SimpleDocBookOnePar): code clean.
17629 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17631 * tabular.C: add some comments.
17633 2001-03-22 Juergen Vigna <jug@sad.it>
17635 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17636 compatibility read a bit and fixed bug with minipage in different
17639 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17641 * buffer.C (pop_tag): removed.
17642 (push_tag): removed.
17643 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17644 array replaced with vector. Added support for CDATA sections.
17645 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17647 (makeDocBookFile): XML conformant declaration of CDATA section,
17648 fixed bug related to <emphasis> in the first paragraph char.
17649 (sgmlOpenTag): exclude empty tags.
17650 (sgmlCloseTag): ditto.
17652 * buffer.h (pop_tag): removed.
17653 (push_tag): removed.
17655 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17657 * language.h (Languages): added size_type and size().
17659 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17661 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17662 response on compability reading of minipages. One probliem is that
17663 the old usage of minipages was flertydig
17665 * several files here and in subdirs: don't use static at file
17666 scope use anon namespaces instead.
17668 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17670 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17671 LaTeX output. This is necessary for Literate document
17674 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17676 * buffer.C: insert hfill when needed.
17678 * tabular.C (l_getline): use string::erase, small whitespace change.
17680 * BufferView_pimpl.C: try the anon namespace.
17681 * WorkArea.C: ditto
17683 2001-03-16 Juergen Vigna <jug@sad.it>
17685 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17686 otherwise it won't open options-dialogs.
17688 * buffer.C: honor pextraWidth(p) on converting minipages.
17690 * tabular.C (l_getline): changed the functions to strip trailing \r.
17692 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17694 * BufferView_pimpl.C:
17695 * minibuffer..C: added "using SigC::slot" declaration.
17697 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17699 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17705 * paragraph.C: ditto
17707 * lyxtext.h: NO_PEXTRA
17709 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17711 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17712 * ParameterStruct.h: ditto
17713 * ParagraphParameters.h: ditto
17714 * lyxparagraph.h: ditto
17716 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17718 * buffer.C: add compability for minipage alignment.
17719 (latexParagraphs): remove unwanted pextra check.
17721 * several files: remove CXX_WORKING_NAMESPACES
17723 * buffer.C (pop_tag): tie is in namespace boost
17725 * BufferView.h: noncopyable is in namespace boost
17727 * lyx_main.h: ditto
17730 * lastfiles.h: ditto
17731 * bufferlist.h: ditto
17732 * ShareContainer.h: ditto
17734 * LyXAction.h: ditto
17737 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17739 * Merging changes from BRANCH_MVC back into HEAD.
17741 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17743 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17745 * BufferView_pimpl.C: change from intl.C
17749 * Makefile.am: move combox.*
17755 * intl.C: remove dialog (covered by prefs)
17757 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17759 * lyxfunc.C (Dispatch): removed redundant break statement.
17761 2001-03-14 Juergen Vigna <jug@sad.it>
17763 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17765 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17767 * buffer.C: add hack to fix compability reading of minipages.
17769 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17771 * buffer.C (getLists): Cleanup.
17773 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17775 * lyxfont.C (update): don't honor toggleall on font size.
17777 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17781 * Makefile.am: moved to frontends/xforms/
17785 * BufferView_pimpl.C: changes for moved mathpanel
17787 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17789 * gettext.h: fix gettext_init() in --disable-nls
17791 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17793 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17795 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17798 * lyx.h: strip external form
17800 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17802 * BufferView_pimpl.C: add comment, destroySplash()
17804 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17806 * BufferView_pimpl.C:
17810 * lyxfunc.C: use re-worked insetinclude
17812 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17814 * buffer.C: add using std::stringstream.
17816 * lyx_cb.C: readd using std::ios.
17818 * buffer.C: add using std::map.
17820 * BufferView_pimpl.C: add using std::vector.
17822 * ShareContainer.h: add std:: to swap.
17824 * buffer.h: add some typedefs
17825 * buffer.C (getLists): use them
17826 (getLists): renamed from getTocList.
17827 add a counter for the different float types and use it in the
17829 (getLists): use the same counter for the NEW_INSETS and the "non"
17832 * lyx_cb.h: remove unused items, includes, using etc.
17834 * ShareContainer.h: remove some commented code, add more comments
17835 and "documentation".
17837 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17839 * buffer.C (getTocList): make the list also when NEW_INSETS is
17842 * buffer.h: remove TocType
17844 * buffer.C (getTocList): change to return a map<string,
17845 vector<TocItem> >, implement for dynamic number of list.
17847 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17848 * text2.C (PasteSelection): adjust
17849 * CutAndPaste.C (pasteSelection): adjust
17851 * FloatList.C (FloatList): update from the new_insets branch.
17852 * Floating.[Ch]: ditto
17853 * LaTeXFeatures.C: ditto
17855 * lyxlex_pimpl.C: ditto
17857 * paragraph.C (Last): remove when NEW_INSETS is defined.
17859 * other file: changes because of the above.
17861 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17863 * lyxparagraph.h: rename next to next_, previous to previous_,
17864 make them private for NEW_INSETS. Rename Next() to next(),
17865 Previous() to previous().
17867 * other files: changes because of the above.
17869 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17872 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17875 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17877 * main.C (main): pass lyx_localedir to gettext_init().
17879 * gettext.h: remove locale_init and gettext_init macros
17881 * gettext.C (locale_init): new function
17882 (gettext_init): new function
17884 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17887 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17889 * Moved credits to frontends:
17890 * credits.[Ch]: removed
17891 * credits_form.[Ch]: removed
17892 * lyx_gui_misc.C: remove credits stuff
17895 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17897 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17899 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17900 unneeded destructor.
17902 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17903 a standalone pointer again.
17905 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17907 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17913 * ToolbarDefaults.C:
17922 * BufferView_pimpl.C: use new file dialog in GUII
17925 * lyx_cb.C: remove LayoutsCB to Toolbar
17927 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17929 * ShareContainer.h (get): add std:: qualifier
17931 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17933 * ShareContainer.h: define a proper ShareContainer::value_type
17934 type (and use typename to please compaq cxx)
17936 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17938 * lyxparagraph.h: move serveral local vars to
17939 ParameterStruct/ParagraphParameters., use ShareContainer in
17940 FontTable., make vars in FontTable private and add getter and
17943 * paragraph.C: changes because of the above.
17945 * lyxfont.h: remove copy constructor and copy assignment. (the
17946 default ones is ok), move number inside FontBits. move inlines to
17949 * lyxfont.C: add number to initializaton of statics, move several
17950 inlines here. constify several local vars. some whitespace
17951 cleanup. Dont hide outerscope variables.
17953 * Spacing.h: add two new constructors to match the set methods.
17955 * ShareContainer.h: new file, will perhaps be moved to support
17957 * ParameterStruct.h: new file
17959 * ParagraphParameters.h: new file
17961 * ParagraphParameters.C: new file
17963 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17964 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17966 * BufferView_pimpl.C: ParagraphParameter changes.
17967 * buffer.C: Likewise.
17968 * bufferview_funcs.C: Likewise.
17969 * text.C: Likewise.
17970 * text2.C: Likewise.
17972 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17974 * lyxfind.C (LyXReplace): do not redefine default argument in
17976 (IsStringInText): ditto
17977 (SearchForward): ditto
17978 (SearchBackward): ditto
17980 2001-03-06 Juergen Vigna <jug@sad.it>
17982 * lyxfind.C (IsStringInText): put parentes around expressions.
17984 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17986 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17988 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17990 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17992 * stl_string_fwd.h: add comment
17994 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17997 * tabular.C: remove unused DocBook methods
18003 killed DO_USE_DEFAULT_LANGUAGE
18005 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18007 * lyx_gui.C: do not include language.h.
18009 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18010 arguments in function implementation.
18012 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18014 * BufferView_pimpl.C: add <ctime>
18016 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18018 * BufferView_pimpl.C: add using std::find_if
18020 2001-02-27 José Matos <jamatos@fep.up.pt>
18022 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18025 2001-02-11 José Matos <jamatos@fep.up.pt>
18027 * buffer.C (makeDocBookFile): command styles now have a parameter as
18028 "title" by default.
18030 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18032 * layout_forms.[Ch]: removed
18033 * lyx_cb.[Ch]: out character
18034 * lyx_gui.C: out character
18035 * lyx_gui_misc.C: out character
18036 * bufferview_funcs.C: : out character,
18037 added toggleall as parameter in ToggleAndShow
18039 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18041 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18043 * text2.C (SetCurrentFont): Disable number property at boundary.
18045 2001-02-26 Juergen Vigna <jug@sad.it>
18047 * lyxfunc.C (getStatus): added a string argument override function so
18048 that this is correctly called from LyXFunc::Dispatch if it contains a
18049 do_not_use_argument which is used!
18050 (Dispatch): added check for "custom" export and call appropriate func.
18052 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18054 * lyxrc.C: Add language_command_local, language_use_babel and
18055 language_global_options.
18057 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18059 * buffer.C (makeLaTeXFile): Use language_use_babel and
18060 language_global_options.
18062 2001-02-23 Juergen Vigna <jug@sad.it>
18064 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18065 which works with LyXText and putted it inside BufferView. Here now we
18066 only call for that part the BufferView::Dispatch() function.
18068 * BufferView.C (Dispatch): added.
18070 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18071 functions which needs to use a LyXText over from LyXFunc.
18072 (MenuInsertLyXFile): added
18073 (getInsetByCode): added
18074 (moveCursorUpdate): added
18075 (static TEXT): added
18077 2001-02-22 Juergen Vigna <jug@sad.it>
18079 * BufferView_pimpl.C (update): call a status update to see if LyXText
18082 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18084 * vc-backend.C (revert): implement for CVS
18085 (getLog): implement for CVS
18087 2001-02-20 Juergen Vigna <jug@sad.it>
18089 * text2.C (ClearSelection): added BufferView param for inset_owner call
18091 * lyxfunc.C (TEXT): added this function and use it instead of
18092 directly owner->view()-text of getLyXText().
18094 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18096 * src/layout_forms.C: out preamble
18097 * src/layout_forms.h: out preamble
18098 * src/lyx_cb.C: out preamble
18099 * src/lyx_cb.h: out preamble
18100 * src/lyx_gui.C: out preamble
18101 * src/lyx_gui_misc.C: out preamble
18102 * src/lyxfunc.C: connect with guii preamble
18104 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18106 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18108 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18110 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18111 whether to run bibtex.
18113 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18115 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18117 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18119 * Makefile.am (lyx_SOURCES): removed bibforms.h
18121 * vspace.h: doxygen
18123 * text.C (GetVisibleRow): make several local vars const
18125 * tabular.C: small cleanup.
18127 * lyxserver.C (callback): use compare instead of strncmp
18129 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18130 inlines to after class or to paragraph.C
18132 * lyxfont.h: remove friend operator!=
18134 * converter.h: move friend bool operator< to non friend and after
18137 * combox.h: small cleanup
18139 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18140 to inlines after class def.
18142 * buffer.C (pop_tag): use string operations instead of strcmp
18144 * bmtable.c: doxygen, small cleanup
18146 * LaTeX.h: remove friend operator==
18148 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18160 * BufferView_pimpl.C:
18161 * BufferView.[Ch]: remove cruft
18163 2001-02-14 Juergen Vigna <jug@sad.it>
18165 * lyxfunc.C: removed #if 0 unused code
18167 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18169 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18171 * text2.C (SetSelection): added a BufferView * parameter
18173 2001-02-13 Juergen Vigna <jug@sad.it>
18175 * lyxfunc.C (Dispatch): fixed protected blank problem.
18176 * BufferView2.C (protectedBlank): added LyxText * parameter.
18178 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18179 (AppendColumn): same as above for column_info.
18181 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18182 (moveCursorUpdate): use a LyXText param for support of InsetText.
18184 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18185 (tripleClick): ditto
18187 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18189 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18191 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18193 * text2.C (SetSelection): set correct update status if inset_owner
18194 (ToggleFree): ditto
18196 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18198 * tabular.C: remove some commented code.
18200 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18202 * BufferView_pimpl.C: call hideSplash()
18204 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18207 * bibforms.h: remove
18210 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18211 add LFUN_CHILD_CREATE
18213 * counters.h: fix tiny typo
18218 * lyx.C: move splash to frontends/xforms/
18220 * lyx_gui_misc.C: move Include and Bibform to frontends
18222 * lyxvc.h: clarify comment
18224 * vspace.C: tiny housekeeping
18226 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18228 * text.C (PrepareToPrint): RTL Fix.
18230 * paragraph.C (GetUChar): New method.
18231 (String): Use GetUChar.
18233 * buffer.C (asciiParagraph): Use GetUChar.
18235 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18237 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18239 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18242 * buffer.C: rename to getLogName(), handle
18243 build log / latex log nicely
18245 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18248 * MenuBackend.h: remove support for reference menuitem type.
18250 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18252 * BufferView_pimpl.C: housekeeping
18253 * BufferView_pimpl.h:
18258 * minibuffer.h: move Timeout GUI-I
18260 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18262 * lyxrc.C (read): Update converters data-structures.
18264 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18266 * LaTeX.h (operator!=): add operator != for Aux_Info
18268 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18270 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18272 * LaTeXLog.C: deleted, useful code moved to Buffer
18275 * buffer.C: new function getLatexLogName()
18281 * lyxfunc.C: use frontends for LaTeX and VC logs
18283 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18285 * LaTeX.h: yet another std:: that Allan forgot.
18287 * Variables.C (set): renamed from isset(), because this clashes
18288 with some HP-UX macros (grr).
18290 2001-02-06 Allan Rae <rae@lyx.org>
18292 * LaTeX.h: Another bug fix. Missing std:: this time.
18294 2001-02-04 Allan Rae <rae@lyx.org>
18296 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18297 floats problem. I've left it commented out because it's not quite
18298 correct. It should also test that the current object is a table or
18299 figure inset. But I haven't gotten around to figuring out how to do
18300 that. I *think* it'll be something like: "table" == inset.type()
18302 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18305 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18307 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18308 all the citation/databases/styles in the auxilary file.
18309 (run): Rerun latex if there was a babel language error.
18311 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18313 * text.C (Backspace): Preserve the font when changing newline char
18315 (BreakParagraph): If the cursor is before a space, delete the space.
18317 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18319 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18321 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18322 new argument (code).
18323 (ChangeCitationsIfUnique): New method.
18325 * paragraph.C (GetPositionOfInset): Handle bibkey.
18327 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18329 * BufferView_pimpl.h: change type of Position::par_pos to
18330 LyXParagraph::size_type.
18332 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18334 * BufferView_pimpl.C (savePosition, restorePosition): Write
18335 messages to minibuffer.
18337 2001-01-28 José Matos <jamatos@fep.up.pt>
18339 * buffer.C (makeDocBookFile): adds support for document language.
18340 A silly restriction on the name of LatexCommand types where removed.
18341 Added support for CDATA sections, allows to chars unescaped, used
18342 among others in code, to avoid escape < and >.
18344 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18346 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18347 saved positions instrad of a stack. Furthermore, a position is
18348 stored using paragraph id/paragraph position.
18350 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18351 Remove LFUN_REF_BACK.
18353 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18355 * converter.C (dvipdfm_options): New method.
18357 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18359 * vspace.C (isValidLength): Fix for empty input string.
18361 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18363 * LyXAction.C (init): change description of LFUN_FIGURE to
18366 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18368 * LaTeX.C: add using directive
18370 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18372 * MenuBackend.C (expand): Fix the sorting of the formats.
18374 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18376 * lyx_main.C: tiny error message fix
18378 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18380 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18381 calling fl_initialize(). This fixes the problem with ',' as
18382 decimal separator in text files.
18384 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18386 * trans.C (process): Fix the keymap bug.
18388 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18390 * LaTeX.C (scanAuxFiles): New method. Provides support for
18391 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18392 (scanLogFile) Scan for "run BibTeX" messages.
18394 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18395 OT1 font encoding. Also, load the aecompl package if the ae
18398 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18400 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18402 * texrow.C (increasePos): turn two error messages into debug
18405 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18407 * LaTeX.C (scanAux): Handle the \@input macro.
18408 (runBibTeX): Use scanAux().
18410 * language.C (latex_options_): New field.
18412 * LaTeXFeatures.C (getMacros): Add language macros.
18414 * buffer.C (makeLaTeXFile): Small fix.
18416 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18418 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18420 * text2.C: add a using directive.
18422 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18427 * lyxfunc.C: kill LyXBell.
18429 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18431 * text.C (IsBoundary): Remove the error message
18433 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18435 * lyxrc.C (setDefaults): Correct initialization value for
18438 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18440 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18443 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18444 and GotoNextNote().
18446 * src/LyXAction.C: Added reference-next.
18448 * text.C (InsertChar): Use contains instead of strchr.
18450 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18452 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18454 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18455 alignment commands (when needed).
18457 * text.C (InsertChar): Add ':' to number separator chars.