1 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
5 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
7 * messages.C: fix crash and localization on MinGW/Windows platform
9 2005-11-02 Angus Leeming <leeming@lyx.org>
12 * lyxtextclass.C: trivial fixes to some MSVS warnings.
14 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16 * text3.C (getStatus): re-enable disabled code. (bug 2081)
18 * BranchList.h (empty): constify.
20 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
22 * text3.C (getStatus):
23 * MenuBackend.C (expandBranches): take the branch list from the
24 master document (bug 2092).
26 * MenuBackend.C (expandBranches):
27 * bufferparams.C (writeFile): use BranchList type.
29 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * text3.C (dispatch, getStatus):
33 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
35 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
39 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * text.C (insertChar): do not reset boundary (bug 2061)
43 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * dociterator.C (updateInsets): new method. Updates the inset_
46 cache of all the slices of the iterator.
48 * text2.C (deleteEmptyParagraphMechanism): compare also containing
49 insets when comparing pit/pos; pass the right cursor to
50 recordUndo; when a paragraph has been deleted, compare `old.top()' to
51 the right cursor slice of `cur'; use updateInsets on cur to make
52 sure that the inset caches are correct; general cleanup.
54 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
57 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
58 containg inset. If this does not work, the same command will be
59 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
61 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
64 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
66 * lyxtextclass.C (Read): convert layout file if the format is wrong
67 * lyxtextclass.C (layout2layout): new, needed for the above
69 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
71 * messages.C: do not forget to include <cerrno>.
73 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
75 * dociterator.h (StableDocIterator): add access to pos().
76 * undo.C (samePar): new method to check if two
77 iterators are in the same paragraph
78 * undo.C (recordUndo): check for samePar instead of cell identity
79 (which includes pos() and is too strict) (fixes bug 2097)
81 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * text.C (setCursorFromCoordinates): return a bool telling whether
86 * text3.C (cursorPrevious): update if needed after
87 setCursorFromCoordinates (when dEPM triggered).
89 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
90 (otherwise the anchor may be completely wrong and make dEPM assert).
92 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
94 * buffer.C: version upgrade to 245.
95 * bufferparams.C: remove \quotes_times (bug 2090).
96 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
97 quotation marks as default.
99 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
101 * CutAndPaste.C (nrOfParagraphs): remove (unused)
102 * CutAndPaste.C (cutSelection): Remove debug message
103 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
104 undo information and only copy if this is a real cut
105 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
107 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
109 * CutAndPaste.C (eraseSelection): prevent cursor corruption
110 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
111 superflous cur.selection() setting
112 * CutAndPaste.[Ch] (grabSelection): take a const cursor
113 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
115 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
117 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
120 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
122 * BufferView_pimpl.C: comment layout change
124 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
128 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
129 by bibliography managers (bug 2071).
131 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
133 * BufferView_pimpl.C (update): choose arguments to update call so
134 that single-par update works most times
135 * text3.C (dispatch): carefully tune updating separately for
136 whole-screen and current-paragraph
137 * rowpainter.C (paintText): 1) replace painting by caching for
138 the two extra paragraphs, because we can;
139 2) suppress greying out of areas below/above drawn area in case of
141 * lyxfunc.C (dispatch): remove superfluous update
142 * LyXAction.[Ch]: introduce SingleParUpdate
144 2005-10-05 Angus Leeming <leeming@lyx.org>
146 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
147 always initialised before use.
149 * text.C (setHeightOfRow): squash warning about comparison
150 of signed and unsigned types.
152 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
154 * text.C (cursorX): two fixes involving RtL text drawing
156 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
159 items, not only large ones (part of bug 2057)
161 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
163 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
164 argument, use "newcommand".
166 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
168 * cursor.C (setSelection): do not open collapsable insets;
169 the insets do by themselves now (autoopen).
171 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
173 * buffer.C: format is up to 244.
175 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
177 * text.C (redoParagraph): fix calcultation of inset width wrt
178 leftMargin (bug 1957).
180 * text3.C (dispatch): leave inset to the right when hitting ESC
183 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * messages.C: include <boost/current_function.hpp>
190 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
193 when command is internal. (bug 1941)
195 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * text2.C (cursorRight): do not honor boundary when at the end of
198 a paragraph. (bug 2010 again)
200 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
204 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
206 * rowpainter.C (paintText): fix RtL space width display bug (2029)
208 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * text2.C (setCursor): remove the unused 'boundary' parameter for
211 the CursorSlice version; adapt the LCursor version.
214 * paragraph_pimpl.C (markErased):
215 * cursor.C (bruteFind2, bruteFond3): fix warnings.
217 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
219 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
220 as is already done for "chapter".
222 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
224 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
225 textclass; do not record undo if nothing is changed.
227 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
229 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
231 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
233 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
235 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
237 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
238 combox, it is necessary to search for the topmost paragraph in the
239 cursor stack (bug 1926)
241 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
244 end of paragraph. (bug 2010)
246 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
248 * text.C (leftMargin): check for inInset == 0
250 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
252 * text.C (leftMargin): test for insetbase's new neverIndent()
253 bool instead of listing each and every inset that does not
254 wish par indendation.
256 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * buffer_funcs.C (setCounter): put the code to compute enum label
259 here (where it belongs).
261 * counters.C (enumLabel): move code to buffer_funcs.C.
263 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
265 * outputparams.[Ch]: store local_font instead of local_language
266 * paragraph.C (simpleTeXOnePar): adapt to the change above
268 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
271 * counters.[Ch]: clean up special code for Hebrew.
273 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
278 2005-09-08 Angus Leeming <leeming@lyx.org>
281 * lyxrc.C: correct grammar describing invocation of the
284 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * text.C (read): remove unused variable.
287 (readParToken): remove static Change variable (never good in
288 recursive settings...); add it as a parameter instead.
290 * paragraph_pimpl.C (acceptChange): make debug info conditional.
292 * metricsinfo.C (PainterInfo): add new member erased_.
294 * rowpainter.C (RowPainter): add erased_ member, initialized from
296 (paintInset): pass erased_ to Inset::draw.
298 * lyxfunc.C (lookupChange): new function. Tells whether change
299 tracking is disabled at a given postion.
300 (getStatus): disable some actions when in deleted text with change
303 2005-08-03 John Levon <levon@movementarian.org>
305 * tabular.C (appendColumn, setMultiColumn): adapt to change to
308 * paragraph_pimpl.C (markErased): add bool argument and handle it.
309 Also make sure to mark insets recursively.
310 (rejectChange, erase): be recursive
312 * paragraph.C (markErased): add bool argument.
313 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
315 * lyxfind.C (findNextChange): tiny cleanup.
317 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
318 change tracking with the cursor in an inset; make sure the first
319 change is not skipped.
321 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
323 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
324 tabularStackDirty to work around bug 1919 (tabular needs
325 to know whether its own cell paste buffer or the one of
327 * CutAndPaste.C: mark tabular_stack_ clean after copy.
329 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
331 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
333 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
335 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
336 use old deleteion algorithm when changetracking is on.
338 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
340 * messages.C (get): add debug output.
342 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
344 * text.C (cursorX): fix bug 1965: cursor movement at
345 line end broken in RtL.
346 (drawSelection): fix bug 1970: drawing of single-line
347 selection broken for RtL.
349 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * dociterator.h (clear, push_back, pop_back): change from
356 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
357 and changed to just return the value of the item depth; take a
358 ParIterator as argument; take the itemdepth at outer nesting level
359 in account if necessary; cleanup and comment the code.
360 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
361 and changed to just return true if reset is needed; take a
362 ParIterator as argument; cleanup and comment the code.
363 (setCounter): adapt to above changes.
365 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 * text3.C (dispatch): make debug message optional
369 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
371 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
374 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
376 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
378 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
380 * text.C (insertChar):
381 * text2.C (deleteEmptyParagraphMechanism): take care whether
382 a blank has been deleted (in change tracking mode) (bug 1254).
384 2005-07-20 John Levon <levon@movementarian.org>
386 * text2.C (insertStringAsLines): remove old dubious code,
389 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
391 * MenuBackend.C (expandToc): use Floating::listName() as title of
394 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
396 * toc.[Ch]: Do not use translatable strings (bug 1870).
398 2005-07-20 John Levon <levon@movementarian.org>
400 * tabular.C: fix 1748 - setting multicolumn adds
401 left line to the first cell
403 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
406 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
409 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
411 * messages.C: supress some lyxerr messages
413 2005-07-18 Juergen Vigna <jug@lyx.org>
415 * text.C (drawSelection): honor boundary when asking for cursorX.
417 2005-07-17 José Matos <jamatos@fc.up.pt>
419 * tabular.C (recalculateMulticolumns): fix handling of one column
422 2005-07-17 Juergen Vigna <jug@lyx.org>
424 * text.C (Delete, backspace): fixed so that paragraph with the
425 same layout can be merged by Delete/Backspace.
427 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
429 * text.C (readParToken): fix spelling.
431 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
433 * text2.C: fix counter update for DEPM problem reported by
436 2005-07-17 Juergen Vigna <jug@lyx.org>
438 * BufferView_pimpl.C (setBuffer): save/restore the
439 cursor/selection when switching buffers
442 * buffer.C (saveCursor): add saveDocumentIterators to save the
443 cursor when switching buffer.
445 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
448 * buffer.C: clarify message
450 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
452 * dociterator.C (DocIterator): fix initialization order
454 2005-07-17 Juergen Vigna <jug@lyx.org>
456 * text2.C (cursorHome):
457 * text.C (drawSelection, cursorX):
458 * dociterator.C (textRow): add boundary to getRow() call
460 * paragraph.C (getRow): implementation of below
462 * paragraph.h: add parameter boundary for getRow() function
464 2005-07-17 José Matos <jamatos@fc.up.pt>
468 * tex-strings.[Ch]: new file format, remove support for a4.sty,
469 a4wide.sty and a4widemargins.
471 2005-07-17 Juergen Vigna <jug@lyx.org>
473 * text2.C (cursorLeft): fix one of error
475 2005-07-17 Juergen Vigna <jug@lyx.org>
477 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
479 more fixes for boundary handling
481 * text3.C (dispatch): don't reset cursor if boundary has changed
484 2005-07-16 Juergen Vigna <jug@lyx.org>
486 * text2.C (getColumnNearX): hopefully got it right now,
487 check if we are on column 0 for special case.
489 2005-07-16 Juergen Vigna <jug@lyx.org>
491 * text2.C (getColumnNearX): handle special case Newline Inset
493 * text.C (singleWidth): Just remove bogus check
495 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
497 * funcrequest.C (split): avoid reading uninitialized char c
499 2005-07-16 José Matos <jamatos@fc.up.pt>
505 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
506 single papersize variable.
508 2005-07-16 Juergen Vigna <jug@lyx.org>
510 * text3.C (dispatch): honor boundary when checking if a cursor
511 movement has been done
513 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
514 (setCursor, setCursorIntern): fix cursor movement with boundary
516 2005-07-16 Juergen Vigna <jug@lyx.org>
518 * text.C (currentState): output the actual Boundary
520 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
522 * factory.C (createInset): fix bad logic for tabular creation
524 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
526 * lyx_main.C (init): change some reLyX reference to tex2lyx
528 2005-07-16 Juergen Vigna <jug@lyx.org>
530 * dociterator.C (DocIterator): initialize boundary
532 2005-07-16 Juergen Vigna <jug@lyx.org>
534 * text2.C (getColumnNearX): Consider rows without trailing blank.
536 2005-07-16 André Pönitz <poenitz@gmx.net>
538 * lyxfont.h: Change order of declarations to give the compiler
539 a better chance to inline things
541 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
542 questions on unsaved docs for better scritability
544 2005-07-16 André Pönitz <poenitz@gmx.net>
546 * paragraph.h (getChar): remove asserts as the same kind of security
547 can be achieved by using a suitable standard library implementation
548 and the function was in the critical path (25.9% in profiler)
550 2005-07-16 Juergen Vigna <jug@lyx.org>
552 * cursor.C (bruteFind2):
553 * bufferview_funcs.C (coordOffset):
554 * text.C (cursorX,cursorY): Handle cursor position after last char
555 in row before a inset which uses a whole row.
557 2005-07-15 José Matos <jamatos@lyx.org>
559 * output_plaintext.[Ch] (writeFileAscii): control reference title
561 (asciiParagraph): noparbreak was already deal and was incorrectly
564 2005-07-15 Juergen Vigna <jug@lyx.org>
566 * lyxfunc.C (dispatch): save and restore the cursor after a
569 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
571 * text.C (backspace): bug 806 for empty keepempty paragraphs we
572 change the layout to default before letting DEPM do its thing.
574 * paragraph_funcs.C (breakParagraph): dont reset the layout on
577 * text.C (setCursorFromCoordinates): add a debug statement
579 * text2.C (getColumnNearX): bug 1825 make sure that we don't
580 return a pos that is not on the row
582 * output_latex.C (TeXDeeper): get rid of potential dereferencing
583 of past the end iterator
585 2005-07-14 André Pönitz <poenitz@gmx.net>
587 * undo.C (recordUndoFullBuffer): implement undo for
590 2005-07-14 André Pönitz <poenitz@gmx.net>
592 * cursor.C (setSelection): open insets when selection is set there
593 to avoid crashs with cold coord cache
595 2005-07-14 André Pönitz <poenitz@gmx.net>
597 * trans_mgr.C (insert): move cursor to the right after inserting
600 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
602 * BufferView_pimpl.C (update): dampen some of the debug blabbering
603 * factory.C (readInset): ditto
604 * text.C, text2.C: ditto
606 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
608 * buffer.C: format incremented to 242. There is no file format per
609 se, but the "frenchb" language has been removed from lib/language
610 and has to be translated to "french" by lyx2lyx.
612 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
614 * cursor_slice.h, dociterator.h: add some documentation
615 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
617 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
619 * text.C (leftMargin): do not add identation to display() style
620 insets, because they are always centered (bug 1293).
622 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
624 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
625 formatted_time methods in support/lyxtime.
627 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
629 * toc.[Ch]: new method getGuiName, which is used by the frontends
630 to set the toc combo (fixes bug 1870). Make TOC string translatable.
632 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
634 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
635 StableDocIterator const &)
636 * undo.C (recordUndo): use the above instead of cell.size() comparison
637 (fixes bug 1808; instructed by Andr�.
639 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
642 * dociterator.h: Fix the assert when copying rows/cols in math
644 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
646 * BufferView_pimpl.C:
648 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
650 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
651 (findInset): new functions, refactored from goto Inset that return
652 the position of a certain inset without setting the buffer's cursor
654 (gotoInset): rewrite to call findInset and then set the cursor
657 2005-06-16 Angus Leeming <leeming@lyx.org>
659 * lyxrc.C (output, read): wrap all input and output of paths with
660 calls to os::internal_path and os::external_path, respectively.
661 (output): wrap bind_file inside quotes.
663 * format.C (view): enable the viewer to use the '$$s' placeholder.
665 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
667 * LColor.[Ch] (getFromLaTeXName): new
669 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
671 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
673 2005-06-14 Angus Leeming <leeming@lyx.org>
675 * lyx_main.C (init): ensure that the LyX binary dir is the first
676 element in the PATH on non-POSIX builds.
678 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
680 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
682 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
684 * rowpainter.C (paintInset, paintHebrewComposeChar)
685 (paintArabicComposeChar, paintChars): add a LyXFont argument.
686 (paintChars): use getFontSpan to reduce calls to getFont to a
687 minimum; use Paragraph::lookupChange instead of isXXXText.
688 (paintForeignMark): rename LyXFont argument.
689 (paintFromPos): pass a LyXFont object to the various paintXXX
692 * FontIterator.C (FontIterator, operator++): use
693 Paragraph::getFontSpan
695 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
696 version that returns the font span as a pair.
698 2005-06-09 Angus Leeming <leeming@lyx.org>
700 * converter.C (convert): Don't forget "outfile = real_outfile" as
701 the final step in a conversion where the input and output file names
702 are the same. Otherwise, future conversion steps won't work...
704 2005-06-09 Angus Leeming <leeming@lyx.org>
706 * lyxsocket.C: remove stub code as it isn't needed by
707 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
709 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
711 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
712 effectively disabled -x
714 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
716 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
717 when it actually makes sense.
719 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
721 * BufferView_pimpl.C: revert to showCursor in connection with
722 Lars's front-end stack
724 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
726 * text.C (redoParagraph): move cursor right after a bibitem
729 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
731 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
733 * buffer_funcs.C (bufferErrors): fix computation of the end of an
736 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
738 * BufferView.[Ch] (update):
739 * BufferView_pimpl.[Ch] (update, metrics):
740 * dimension.h (operator==):
741 * lyxfunc.C (dispatch):
742 * metricsinfo.h (ViewMetricsInfo):
743 * rowpainter.C (paintText):
745 * text.C (redoParagraph):
746 * text3.C (dispatch): Make LyX only repaint current paragraph in
747 case of character insert --> speedup. Also fix cursor draw
750 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
752 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
753 avoid a crash (bug 1891)
755 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * text2.C (getStringToIndex): constify cur argument.
761 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
762 argument has been given
763 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
764 try to invoke LFUN_INSET_APPLY).
766 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
767 if no inset was created by doInsertInset
768 (doInsertInset): return true if an inset has been inserted.
770 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
772 * vspace.C (asGUIName): new method. A version of the space
773 suitable for showing on screen.
775 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
778 * lyxrc.C: rename "ASCII" to "Plain Text"
780 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
782 * buffer_funcs.C (expandLabel): take a Buffer as argument;
783 translate the labelstring.
784 (setCounter): translate labelstring as needed.
786 * output_docbook.C (makeCommand): fix expandLabel invokation
788 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
790 * BufferView.C: fix dialog title
792 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
794 * lyx_main.C (priv_exec): fix logic error with help from Angus
795 * lyx_main.C (parse_execute): set is_gui = false and remove now
796 obsolete comment about a segfault
798 2005-05-18 Angus Leeming <leeming@lyx.org>
800 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
802 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
804 * tabular.[hC]: added setCellInset to fix tabular paste.
806 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
808 * buffer.C (save): check if destination is writable before trying
811 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
813 * BufferView_pimpl.C (update): fix processEvents -caused update
816 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
818 * buffer_funcs.C (setCounter): fix test for numbering of
821 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
822 depth correctly; use optional argument when it exists
824 * lyxtextclass.C: remove unused MaxCounterTags enum
825 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
826 (max_toclevel, min_toclevel): new methods.
828 * MenuBackend.C (expandToc2): fix case where depth is smaller than
829 the smallest depth in toc.
831 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
832 layouts that should not appear in a table of contents.
834 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
836 * cursor.h (undispatched, noUpdate): add comments from Andr�
837 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
841 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
843 2005-05-07 André Pönitz <poenitz@gmx.net>
845 * cursor.[Ch] (leaveInset): new function
847 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
849 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
851 2005-05-04 Angus Leeming <leeming@lyx.org>
853 * lyxfunc.C (getStatus): disable the spell checker dialog if
854 none of USE_[AIP]SPELL are defined.
856 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
858 * tabular.C (setWidthOfCell): remove obsolete comment
860 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
862 * paragraph.C (bibitem):
863 * buffer_funcs.C (setCounter):
864 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
866 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
868 * text3.C (getStatus): immediately return after setOnOff
870 * rowpainter.C: fix drawing of appendix start
872 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
874 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
875 SwitchBetweenClasses and remove the unused return value.
876 Handle character styles, too
878 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
880 * factory.C (createInset): handle undefined character styles
882 2005-05-02 Angus Leeming <leeming@lyx.org>
884 * buffer.C: protect the #include of utime.h with a preprocessor
887 2005-05-02 Angus Leeming <leeming@lyx.org>
889 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
890 function so that auto-saving works, albeit in a blocking manner.
892 * Makefile.am: make compilation of the client sub directory, of
893 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
894 on conditionals set at configure time.
896 * SpellBase.[Ch]: no longer an abstract base class. Instead,
897 it can be compiled in its own right but has no-op functionality.
899 * aspell.C, pspell.C: remove preprocessor guards. The files should
900 be compiled only if the necessary functionality exists.
902 * lyxserver.C, lyxsocket.C: disable on Windows.
904 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
906 * text.C (leftMargin): Fix the parindent use bug (1764)
909 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
911 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
914 2005-04-25 Angus Leeming <leeming@lyx.org>
922 include <config.h> in .C files, not .h ones.
924 protect headers inside preprocessor guards.
926 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
928 * FuncStatus.h (StatusCodes): document
930 2005-04-21 André Pönitz <poenitz@gmx.net>
932 * FuncStatus.h (enabled, onoff): document
934 2005-04-19 Angus Leeming <leeming@lyx.org>
936 * BufferView_pimpl.C (cursorToggle): no longer test whether
937 any child processes have been reaped before calling
938 handleCompletedProcesses().
940 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
942 * text3.C (dispatch): fix, finally fix, the language problem in
943 new lyxtexts, without disabling on-the-fly font changes (Helge's
946 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
948 * text3.C (dispatch): set cursor on double/triple click events
951 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
953 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
954 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
956 * rowpainter.C (paintFirst): simplify the code a little bit. In
957 particular, remove the test for secnumdepth.
958 * text.C (setHeightOfRow): only allocate space for chapter number
959 when updateCounters provided an actual label, instead of looking
960 at secnumdepth directly.
962 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
964 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
965 paragraphs when secnumdepth is large enough or, for environments,
966 when they are not the first in a sequence.
968 2005-04-17 Angus Leeming <leeming@lyx.org>
970 * buffer.C (makeLaTeXFile): replace code to manipulate a path
971 containing space and '~' characters with a call to latex_path().
973 2005-04-17 Angus Leeming <leeming@lyx.org>
975 * converter.C (convert): protect all args of convertDefault.sh
978 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
980 * text3.C (dispatch): change the layout to "Caption" after inserting
983 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
985 * text3.C (dispatch): fix language problem in newly created
986 textinsets (and main text) in non-english docs
988 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
990 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
991 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
992 * text3.C (getStatus): disable LFUN_INSET_MODIFY
994 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
999 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1002 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1004 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1005 output of \item arguments without trailing text.
1007 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1009 * FontIterator.C (operator*): avoid a copy of the font.
1011 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1013 * rowpainter.C (getFont): fix language bug from previous fix
1015 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1017 * rowpainter.C (RowPainter, getFont): fix font inside inset
1020 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1022 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1023 preventing inserted font, deco, delim insets jumping to start of
1026 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1028 * lyxfunc.C (dispatch): translate message before sending it to the
1031 2005-03-29 Angus Leeming <leeming@lyx.org>
1033 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1034 to LyX on the command line.
1036 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1038 * vc-backend.C: use QuoteName to protect file names wherever
1041 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1044 * BranchList.h: fix bugs 1844,1845: document settings don't
1047 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1049 * lyxrc.C (setDefaults, read, output, getDescription): add support
1050 for tex_allows_spaces.
1052 * exporter.C (Export): allows files in directory containing spaces
1053 if tex_allows_spaces is true.
1055 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1056 output it in double quotes.
1058 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1060 * rowpainter.C: use default text height for drawing change tracker
1063 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1065 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1067 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1069 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1070 directory is missing.
1072 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1074 * text2.C: fixed the fix, extended to other case.
1076 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1078 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1080 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1082 * text2.C (cursorUp): get rid of a crash
1083 * text.C (x2pos): add an assert
1085 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1091 * dociterator.C: include <boost/current_function.hpp>, which is
1092 needed when assertions are disabled.
1094 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1096 * text2.C: fix for stuck cursor when traversing two
1097 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1099 2005-02-25 Andreas Vox <avox@arcor.de>
1101 * output_docbook.C (makeParagraph): suppress trailing newline
1102 after a run of paragraphs
1104 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1106 * paragraph.C: fix for confused change tracker when pasting
1107 text that begins with a lineseparator. [bug 1827]
1108 (setChange(0, Change::INSERTED);)
1110 * paragraph_funcs.C: fix for lost changes on triple-paste
1111 in change tracking mode [bug 1827] (par.setChange()).
1113 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1115 * text2.C (updateCounters, setCounter, expandLabel): move to
1118 * buffer_funcs.C (updateCounters): turn into a free standing
1119 function and add a buffer parameter. Remove dead code for tracking
1121 (setCounter): change into a free-standing function which gets a
1122 dociterator as argument. Use this iterator to fix captions in a
1123 simple way. When no float is found above the caption, use the
1124 labelstring of the caption layout as default.
1126 * text.C (breakParagraph, backspace):
1127 * text2.C (init, setLayout, changeDepth):
1128 * text3.C (dispatch):
1129 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1132 * dociterator.C (forwardPar): make it much faster by calling
1133 forwardPos() only when really necessary.
1135 * output_docbook.C (makeCommand): adapt to expandLabel move.
1137 * cursor.C: remove unused variable
1139 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1141 * paragraph_funcs.C: fix crash when pasting insets in change
1142 tracking mode [bug 1277] (honour change type in moveItem).
1144 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1146 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1148 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1150 * BufferView.C (setCursor): change to use a DocIterator.
1151 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1152 (putSelectionAt): adapt to BufferView::setCursor change.
1154 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1155 moved here from LyXText and rewritten to use proper cursor
1156 methods. Fixes bug 1787, 616 and 835.
1158 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1159 when inside an inset (part of bug 781).
1160 (dispatch): adapt to change of BufferView::setCursor.
1161 (getStatus, dispatch): handle LFUN_GOTOERROR,
1162 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1164 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1165 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1166 * text3.C (gotoNextInset, gotoInset): removed.
1168 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1170 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1172 2005-02-15 Angus Leeming <leeming@lyx.org>
1174 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1175 can be used meaningfully in a comparison.
1177 2005-02-13 André Pönitz <poenitz@gmx.net>
1179 * bufferview_funcs.C (coordOffset): improve cursor drawing
1181 2005-02-13 André Pönitz <poenitz@gmx.net>
1183 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1184 * Cursor.C (dispatch): use fixIfBroken
1185 * lyxfunc.C (getStatus): use fixIfBroken
1187 2005-02-15 Angus Leeming <leeming@lyx.org>
1189 * lyx_main.C (error_handler):
1191 * lyxrc.C (setDefaults):
1193 #include "environment.h".
1195 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1197 2005-02-15 Angus Leeming <leeming@lyx.org>
1199 * lyxserver.C (startPipe): squash MSVC warning "local variable
1200 'fd' used without having been initialized".
1202 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1204 * BufferView_pimpl.C: revert accidental commit.
1206 2005-02-14 André Pönitz <poenitz@gmx.net>
1208 * dociterator.[Ch]: new member forwardPosNoDescent(),
1209 which doesn't enter nested insets.
1210 * text2.C (setFont): use forwardPosNoDescent() instead
1211 of ForwardPos() (fixes crash on font change).
1213 2005-02-13 Angus Leeming <leeming@lyx.org>
1215 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1216 only if lyxrc.path_prefix is not empty.
1218 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1220 * bufferparams.C (readGraphicsDriver): prevent crash
1222 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1224 * text2.C (setCounter): check for inInset() == 0
1226 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1228 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1229 but use update() to get correct screen display; use convert
1230 instead of istringstream.
1231 (getStatus): handle LFUN_GOTO_PARAGRAPH
1233 * lyxfunc.C (dispatch, getStatus): do not handle
1234 LFUN_GOTO_PARAGRAPH here.
1236 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1238 * text3.C (dispatch): size() -> depth()
1240 * text2.C: remove some debug output
1242 * paragraph.C: ws changes only
1244 * lyxfunc.C (getStatus): size() -> depth()
1246 * dociterator.h (clear, push_back, pop_back, internalData,
1247 operator[], resize, empty): new functions
1248 Make StableDocIterator and operator== be friends. Don't inherit
1249 from std::vector use a privat class variable slices_ instead.
1252 * dociterator.C: update because of not inheriting from std::vector
1253 anymore. Call explictly to slices_ instead. Use depth() instead of
1254 size() and top() instead of back()
1256 * cursor.C: chagne size() -> depth and back() -> top(). Also
1257 remove some direct operator[](i) calls in favour of foo[i]
1258 (getFont): remove some dead code
1260 * bufferview_funcs.C (coordOffset): size() -> depth()
1262 * buffer.C: ws changes only
1264 * CutAndPaste.C (eraseSelection): back() -> top()
1266 * BufferView_pimpl.C (selectionRequested): back() -> top()
1268 * BufferView.C (setCursor): size() -> depth()
1270 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1272 * text3.C (cursorPrevious): return true if depm changed something
1274 (dispatch): rename sl to oldTopSlice, remove moving use the new
1275 NoUpdate func attrib instead. Make sure that needsUpdate is set
1276 for function that have NoUpdate, but where depm might have changed
1279 * text2.C (cursorLeft): make us return true if depm changed
1281 (cursorRight): ditto
1282 (cursorUpParagraph): ditto
1283 (curosrDownParagraph): ditto
1284 (cursorUp, cursorDown): ditto, make sure to read comments in code
1285 (deleteEmptyParagraphMechanism): remove an assert, also return
1286 true if just a single char was deleted.
1288 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1289 cursor that we modify, to avoid modifying an active cursor before
1290 we call setCursor. This allows depm to run. Also return true if
1291 depm deleted something.
1293 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1294 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1295 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1296 something was changed in the buffer because of them (ie. depm run)
1298 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1299 debug messages. Make update by default be false. Make sure that
1300 the result of update is retained throught several calls down to
1303 * LyXAction.h: add a new func_attrib: NoUpdate
1305 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1306 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1307 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1309 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1311 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1313 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1314 bv_->owner(), bv_->buffer() by direct references to the private
1316 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1317 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1318 (fitCursor): center() is in BufferView::Pimpl.
1319 (getStatus, trackChanges, dispatch): no need for a temporary buf
1321 (fitCursor, workAreaDispatch): use workarea().workheight()
1323 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1325 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1327 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1329 * buffer.C: format up to 241.
1330 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1331 break if pasting into ERT
1332 * lyxfunc.C (getStatus): suppress mathpanel and
1333 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1335 2005-02-01 Angus Leeming <leeming@lyx.org>
1337 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1339 2005-02-01 Angus Leeming <leeming@lyx.org>
1341 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1342 calling fs::is_directory().
1344 2005-01-31 Angus Leeming <leeming@lyx.org>
1346 * lyx_main.C (priv_exec): specify explicitly the relative location
1347 of the top level build directory when run in-place.
1349 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1351 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1352 LyXText containing the cursor, not the top-level one.
1354 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1356 (insertStringAsLines): rename par to pit; use temporary variable
1357 par to hold a Paragraph; do not store par.layout() in a variable,
1358 since the pointer may die when breaking paragraphs; pass pars to
1359 breakParagraph() instead of Buffer::paragraphs().
1361 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1363 * lyxlex_pimpl.h: #include <fstream>.
1365 * BufferView.[Ch] (getLyXText): add a const version.
1367 * BufferView_pimpl.C: add debug aids.
1372 * paragraph_funcs.h: add commentary explaining what the class does.
1375 * coordcache.[Ch]: add lots of commentary.
1376 (startUpdating, doneUpdating): debug aids.
1377 (arrays, insets, parPos, getParPos): accessors to private data.
1379 * cursor_slice.[Ch] (text): add a const version.
1380 * dociterator.[Ch] (text, innerText): add const versions.
1382 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1385 * paragraph.C (getRow, pos2ros): add asserts.
1387 * paragraph.h: add commentary. Lots of.
1389 * paragraph.[Ch] (metrucs, draw): removed.
1392 * rowpainter.[Ch]: const-correct changes.
1394 * text.C: various obvious clean-ups. Removal of ancient cruft.
1397 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1399 * vc-backend.C (find_file): rewrite to use boost.filesystem
1402 * main.C (main): set default name check for boost.filesystem to
1405 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1408 (actOnUpdatedPrefs): ditto
1410 * lyx_main.C (init): rewrite to use boost.filesystem
1411 (queryUserLyXDir): ditto
1413 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1414 (getContentsOfAsciiFile): ditto
1416 * lastfiles.C (readFile): rewrite to use boost.filesystem
1418 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1420 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1421 (loadLyXFile): ditto
1423 * buffer.C (Buffer): adjust for destroydir
1424 (getLogName): rewrite to use boost.filesystem
1425 (setFileName): ditto
1426 (save): use fs::copy_file (from fs_extras)
1428 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1430 * LaTeX.C (run): rewrite to use boost.filesystem
1431 (scanAuxFiles): ditto
1432 (handleFoundFile): ditto
1434 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1436 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1438 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1440 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1442 * lyxlayout.[Ch]: change some vars from float to double
1444 * buffer.C (readFile): make a local var const
1446 * Several files: use convert<> instead of atoi,strToXXX and friends
1448 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1450 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1451 holds the contents of packages.lst. New functions getAvailable
1452 and isAvailable to parse and check that list, resp.
1456 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1458 * bufferparams.[Ch]: new param output_changes.
1460 * Buffer.C: increase file format to 240.
1461 Use output_changes and isVailable.
1465 * paragraph_pimpl.C: Use output_changes and isVailable.
1467 2005-01-23 Angus Leeming <leeming@lyx.org>
1469 * output_latex.C: #include "insetbibitem.h", rather than
1470 forward declare function bibitemWidest.
1472 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1474 * lyx_main.C (init): make it compile on the Mac.
1476 2005-01-20 Angus Leeming <leeming@lyx.org>
1478 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1479 (setLyXMisc): (char string literal) != (char string literal) is
1480 performing a comparison on the addresses. Convert one operand
1481 explicitly to string to guarantee expected behaviour.
1484 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1487 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1489 * output_plaintext.C: remove unneeded #include gzstream.h.
1491 2005-01-20 Angus Leeming <leeming@lyx.org>
1493 * SpellBase.h: rename some of the elements of the Result enum.
1500 * pspell.C (check): ditto
1502 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1504 * buffer.C: add #include <fstream>.
1506 * lyx_main.C (init): Compile fix.
1508 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1510 2005-01-20 Angus Leeming <leeming@lyx.org>
1512 * mover.h: change commentary to reflect the changed meaning of
1513 the $$s placeholder.
1515 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1517 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1519 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1521 2005-01-20 Angus Leeming <leeming@lyx.org>
1523 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1524 printing diagnostic data by not dereferecing an iterator past the
1527 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1529 * buffer.C (readHeader): use "&&" rather than "and".
1531 * lyxserver.h (inPipeName, outPipeName): make these const.
1533 2005-01-19 Angus Leeming <leeming@lyx.org>
1535 * lyx_main.C (error_handler, init): protect SIGHUP with
1536 #ifdef SIGHUP guards.
1538 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1540 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1542 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1544 * text.C (setHeightOfRow): add a margin at the top and bottom of
1545 the document (bug 1761)
1547 2005-01-17 Angus Leeming <leeming@lyx.org>
1549 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1550 with "python ". Workaround for a brain-dead Windows.
1552 2005-01-16 Angus Leeming <leeming@lyx.org>
1554 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1555 for MacOSX and Windows to use prependEnvPath.
1556 Strip out the hard-coded block to add elements to the PATH for
1557 MacOSX and replace it with a call to prependEnvPath using the
1558 contents of LyXRC::path_prefix.
1559 (queryUserLyXDir): strip out the code to run reconfigure, instead
1560 returning a boolean indicating the necessity to do so.
1561 (reconfigureUserLyXDir): contains the code to reconfigure the
1562 user support directory. Is now called after the various LyXRC data
1563 files have been read.
1565 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1567 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1569 * converter.[Ch] (convert): take a new parameter try_default. Use
1570 a default converter (imagemagick) if try_default is true.
1572 2005-01-13 Angus Leeming <leeming@lyx.org>
1574 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1575 os::cygwin_path_fix.
1576 (write): output LyXRC::cygwin_path_fix as necessary.
1578 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1581 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1583 2005-01-12 Angus Leeming <leeming@lyx.org>
1585 * lyx_main.C (init): set the PATH variable to include the
1586 directory containing the LyX binary when running on Mac or Windows.
1588 2005-01-12 Angus Leeming <leeming@lyx.org>
1590 * lyx_main.C (init): remove cruft that purports to set the locale
1591 dir. It doesn't and is not needed anyway.
1593 2005-01-10 Angus Leeming <leeming@lyx.org>
1595 * Makefile.am: remove the lyx_main.C special casing.
1597 * BufferView_pimpl.C:
1603 * messages.C: use support/package.h to provide the paths to the
1604 various directories used by LyX.
1606 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1608 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1609 layout if pasting into an empty paragraph)
1611 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1613 * tex-accent.C: add <string>
1615 2005-01-06 José Matos <jamatos@lyx.org>
1617 * ParagraphParameters.C (write): put every parameter in its own line.
1618 * paragraph.C (write): reduce number of consecutive empty lines exported.
1619 * buffer.C (LYX_FORMAT): increase file format to 239.
1621 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1623 * everywhere: change support/tostr.h -> support/convert.h
1625 * tabular.C: make all write_attributes templates, tostr -> convert
1627 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1628 (emptyTag): and -> &&, and fix type for ret from getChar
1629 (getFirstWord): fix type for ret from getChar
1630 (onlyText): and -> &&
1631 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1634 * toc.C (goTo, action):
1635 * text3.C (dispatch):
1636 * text.C (currentState):
1637 * tex-accent.C (DoAccent):
1640 * lyxfunc.C (menuNew):
1641 * lyxfinc.C (replace):
1642 * counters.C (laberItem):
1643 * bufferview_funcs.C (font2string):
1644 * bufferparams.C (writeFile):
1645 * buffer.C (readFile):
1647 * MenuBackend.C: tostr -> convert
1649 * LaTeX.C (runMessage): fix format
1650 (scanAuxFiles): tostr -> convert
1652 * BufferView_pimpl.C (savePosition): fix format
1653 (restorePosition): ditto
1656 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1658 * Spacing.[Ch]: New method getValueAsString().
1662 * ParagraphParameters.C:
1665 * text3.C: store/read spacing value as string.
1667 * rowpainter.C: change float value (spacing_val) to double.
1669 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1670 broken custom document spacing).
1672 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1675 namespace, also more use of temp references and const
1677 * cursor.[Ch] (getStatus): move to lyxfunc.C
1679 * bufferparams.C: reformat slightly
1681 * bufferview_funcs.C (font2string): constify arg
1687 * buffer_funcs.C: (many funcs): constify arg on function
1688 definitions, also make more local vars const, also add ASSERTS on
1691 * buffer.C (LYX_FORMAT): put const in correct place
1692 (many funcs): constify arg on function definitions, also make
1693 more local vars const
1695 * aspell_local.h: remove "struct" from typdef setup
1697 * aspell.C (check): make word_ok const
1698 (nextMiss): simplify slightly
1701 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1703 * lyxrc.[Ch]: store all float values as strings.
1704 use int (not float) for lyxrc.dpi.
1706 2005-01-04 Angus Leeming <leeming@lyx.org>
1708 * lyx_cb.C (Reconfigure):
1709 * lyx_main.C (queryUserLyXDir):
1710 to run the <system_lyxdir>/configure correctly on Windows, prefix
1711 the path to the script with "sh " when generating the string that
1712 is passed to system().
1714 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1716 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1718 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1720 * lyxlength.C (asLatexString): get rid of setprecision
1722 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1724 * text2.C (setLayout): remove unused variable endpit.
1725 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1727 * paragraph.C (onlyText): remove unused variable style.
1729 * cursor.C (bruteFind): remove unused variables beg and end.
1731 * Makefile.am (dist_noinset_DATA): not needed anymore
1733 * cheaders/*: remove.
1735 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1737 * text3.C: fix LFUN_MATH_MODE.
1739 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1741 * buffer_funcs.C (countWords): new function. Counts words between
1744 * BufferView_pimpl.C (getStatus, dispatch): handle
1747 * LyXAction.C (init):
1748 * lfuns.h: add LFUN_WORDS_COUNT.
1750 2004-12-19 Angus Leeming <leeming@lyx.org>
1752 * buffer.C (save): s/slashify_path/internal_path/.
1754 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1756 * lyxfind.C (findChange): do not search for end of pars, because
1757 the change tracker cannot handle this (fixes bug 1719).
1759 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1761 * paragraph.[Ch] (autoBreakRows): remove
1763 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1765 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1766 avoid using the paragraph one
1768 * text2.C (LyXText, insertStringAsLines): adjust
1770 2004-12-16 Angus Leeming <leeming@lyx.org>
1774 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1776 2004-12-14 Angus Leeming <leeming@lyx.org>
1778 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1780 * bufferlist.C (emergencyWrite):
1781 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1784 2004-12-14 Angus Leeming <leeming@lyx.org>
1786 * main.C: (main): no longer pass pointers to os::init.
1788 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1790 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1791 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1793 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1796 * text3.C: remove selection_possible global flag
1798 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1800 * text2.C (getSelectionSpan): remove
1801 (changeDepth, changeDepthAllowed): adjust
1803 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1805 * Makefile.am (BOOST_LIBS): use boost variables
1807 2004-12-03 José Matos <jamatos@lyx.org>
1809 * buffer.C: format up to 238.
1811 2004-12-03 José Matos <jamatos@lyx.org>
1813 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1815 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1817 * cursor.C (goUpDown): remove call to idxUpDown2
1819 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1821 * tabular.[Ch]: use size_t-like types for cell, row and column
1824 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1826 * lyxfunc.C (getStatus): do not lose previous information when
1827 calling BufferView::getStatus; do not set a default "Command
1828 disabled" message at the beginning, but just before returning.
1830 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1832 * cursor.h (getStatus): add better comment from src/cursor.C
1834 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1836 * text3.C (getStatus): return false when the lfun is not handled
1838 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1840 * broken_headers.h: remove
1842 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1844 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1846 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1847 offset_ref accessors
1849 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1850 top_y_, merge fitcursor with update
1851 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1853 (metrics): introduce
1854 (workAreaDispatch): adapt to new coord scheme
1855 (redoCurrentBuffer): remove
1857 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1859 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1862 * coordcache.[Ch]: add paragraph cache and helpers
1864 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1867 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1868 (targetX, setTargetX): introduce
1870 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1871 baseline -> ascent, as the rest of lyx
1873 * lyxtext.h: remove redoParagraphs, updateParPositions,
1874 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1875 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1876 have ascent/descent (ascent is ascent of first par)
1878 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1881 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1883 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1885 * pariterator.C: fix infinite loop introduced in par->pit renaming
1887 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1888 in insets and LyXText, draw two off-screen paragraphs using
1889 NullPainter, and adapt to new coord scheme
1893 * text3.C: adapt lfun handlers to the new coord scheme, which
1894 means: there's only guaranteed coord information for onscreen pars
1895 plus one above and one below. This implies that one can do search
1896 from y coordinates in the range [-1,workHeight]
1898 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1900 * rename a lot of InsetOld to InsetBase
1902 2004-11-25 Angus Leeming <leeming@lyx.org>
1904 * BufferView_pimpl.C:
1906 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1908 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1910 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1911 call BufferView::getStatus if LCursor::getStatus did nothing
1912 (setStatusMessage, getStatusMessage): removed.
1914 * FuncStatus.C (message): new methods. Used to provide an error
1915 message indicating why a command is disabled.
1916 (clear, |=, FuncStatus): update for message.
1918 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1920 * lyxfunc.C (dispatch): always call sendDispatchMessage
1922 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1925 * BufferView_pimpl.C:
1930 * cursor_slice.[Ch]:
1933 * paragraph_funcs.C:
1939 * undo.C: par->pit renaming
1941 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1943 * tabular.C (cellstruct): use initialization, store a shared_ptr
1944 to insettext instead of the insettext directly, adjust to fit.
1945 (operator=): new function
1946 (swap): new function
1947 (rowstruct): use initialization
1948 (columnstruct): use initialization
1949 (ltType): use initialization
1952 * lyxlength.h (swap): new function
1954 * LColor.[Ch] (operator=): use the common semantics
1956 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1958 * lyxfind.C (findNextChange): update the bufferview after setting
1961 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1963 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1964 number of InsetOptArgs has already been inserted.
1966 * output_latex.C (latexOptArgInsets): new method. This outputs all
1967 the optarg insets, up to the limit defined in the layout file.
1968 (optArgInset): removed
1969 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1971 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1973 * paragraph.C (isLetter): remove special spellchecker-related
1974 code; return true also for digits
1975 (isWord, isKomma): remove
1977 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1978 * lyxfind.C (MatchString()): use isLetter instead of isWord
1980 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1982 * pariterator.h (operatir=): comment out un-implemented member
1985 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1988 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1990 * lyxfont.h: include LColor.h to satisfy concept checks.
1992 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1994 * pariterator.h: add typdefs for value_type, difference_type,
1995 pointer and reference to satisfy concept checks. Also add default
1996 constructor for same reason.
1998 * pariterator.C (operator++): add post-increment operator to
1999 satisfy concept checks.
2001 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2004 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2006 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2007 checks. Also rename base_type to BaseType to follow naming
2010 * FloatList.h: include Floating.h to satisfy concept checks.
2012 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2014 * lyxfunc.C (getStatus): when the origin of the request is menu or
2015 toolbar, and the LyXView does not have focus, do as if there was
2016 no buffer (bug 1720)
2018 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2019 FuncRequest to individual entries of LFUN_SEQUENCE
2021 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2023 * output_latex.C (TeXOnePar): override runparams.moving_arg
2024 according to the needprotect value of the current paragraph (bug
2027 * paragraph.C (simpleTeXOnePar): no need to override
2028 runparams.moving_args here
2030 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2032 * vspace.C: fix off-by-one-error, related to fix #1682
2034 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2036 * lengthcommon.C: a more general fix for bug 1682
2038 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2040 * text.C (backspace): fix crash
2042 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2044 * format.[Ch] (getFormatFromFile): new method
2045 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2047 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2049 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2051 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2053 * lyxfunc.C (dispatch): remove the verbose argument
2054 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2057 * kbmap.C (defkey): set the origin of func to KEYBOARD
2059 * MenuBackend.C (MenuItem):
2060 * ToolbarBackend.C (add): set the origin of func to UI
2062 * funcrequest.[Ch]: add origin member, which indicates which part
2063 of LyX requests an action
2065 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2067 * converter.C (move): don't lie in the error message
2068 * converter.h (isReachable, move): document
2070 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2072 * buffer.C: remove unused using lyx::support::atoi
2073 * paragraph_funcs.C: ditto
2075 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2077 * bufferlist.C (exists): use bind and equal_to instead of
2080 * lyxtextclasslist.C (NumberOfClass): ditto
2082 * cursor.C (insert): use for_each instead of explicit for loop
2084 * bufferlist.C (getFileNames): use std::transform and
2085 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2087 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2090 * buffer.C (changeLanguage): use for_each instead of explicit for
2092 (hasParWithID): implement using getParFromID
2094 * LaTeXFeatures.C: ws change only
2096 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2099 * BufferView_pimpl.C (trackChanges): use for_each instead of
2102 2004-11-04 André Pönitz <poenitz@gmx.net>
2105 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2107 * dociterator.C (asDocIterator): use hard assert again.
2109 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2111 * lyxlength.C (asLatexString): rewrite so that it does not use
2114 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2116 * text3.C (specialChar, dispatch): make sure cursor moves to the
2117 right after inserting an inset
2119 2004-11-02 José Matos <jamatos@lyx.org>
2121 * output_docbook.C (docbook):
2122 * paragraph.C (getID):
2123 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2124 garantee that the output is always legal.
2126 * tabular.C (docbook):
2127 * outputprams.[Ch]: remove mixed contents.
2129 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2131 * text2.C (setCounter): prevent endless loop
2133 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2135 * exporter.C (copyFile): use the mover instead of support::copy()
2136 * exporter.C (Export): pass format and latex name to copyFile()
2137 * exporter.h (addExternalFile): document
2138 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2140 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2142 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2144 2004-10-30 José Matos <jamatos@lyx.org>
2146 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2147 text and no inset or font change. This allows to use CDATA
2148 sections just for the whole paragraph.
2150 2004-10-30 José Matos <jamatos@lyx.org>
2152 * paragraph.C (getFirstWord): remove unused variable.
2154 2004-10-30 José Matos <jamatos@lyx.org>
2156 * paragraph.C (getFirstWord): the content should always be escaped
2158 (simpleDocBookOnePar):
2159 * output_docbook.C (makeEnvironment): replace reference to CDATA
2162 2004-10-30 José Matos <jamatos@lyx.org>
2164 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2166 2004-10-30 José Matos <jamatos@lyx.org>
2168 * output_docbook.C (makeParagraphs):
2169 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2170 standard paragraph has only a given type of content drop the wrapper.
2172 2004-10-29 José Matos <jamatos@lyx.org>
2174 * output_docbook.C (makeEnvironment):
2176 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2178 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2180 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2181 (cleanID): sanitize any id.
2183 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2185 * buffer.C, lyxlex_pimpl.C:
2186 * lyxlex_pimpl.C (setFile):
2187 s/getExtFromContents/getFormatFromContents/
2189 2004-10-28 José Matos <jamatos@lyx.org>
2191 * output_docbook.C (makeEnvironment): move id to broadest possible
2194 * sgml.C (openTag): apply substitution of <> for all attributes.
2196 2004-10-28 José Matos <jamatos@lyx.org>
2198 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2199 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2200 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2202 * sgml.[Ch]: new version for open and closeTag for paragraph and
2203 for strings. Now they handle the ids of paragraphs.
2205 2004-10-26 Angus Leeming <leeming@lyx.org>
2207 * Makefile.am: add mover.[Ch].
2209 * converter.C (convert, move): use the new Movers to move external
2210 files to the temp directory.
2212 * lyx_main.C (init): ensure that the global system_movers data
2215 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2218 * mover.[Ch]: new files, defining a Mover as a utility to move an
2219 external file between directories and, if necessary, manipulate this
2220 file using a helper script.
2222 2004-10-25 José Matos <jamatos@lyx.org>
2224 * output_docbook.C (makeCommand): merge two if's that tested the
2227 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2229 * sgml.C (escapeString): fix warning in a better way
2231 2004-10-25 José Matos <jamatos@lyx.org>
2233 * sgml.C (escapeString): import the require boosts header file for
2234 tie, and avoid a signed unsigned comparison.
2236 2004-10-25 José Matos <jamatos@lyx.org>
2238 * sgml.h: add #include <string>
2240 2004-10-25 José Matos <jamatos@lyx.org>
2242 * sgml.[Ch] (escapeString): new function to escape all the string.
2244 2004-10-24 José Matos <jamatos@lyx.org>
2246 * paragraph.[Ch] (getFirstWord): new function to get the first
2247 word. Useful for description.
2248 (simpleDocBookOnePar): remove depth argument, add another that
2249 says where to start the paragraph.
2251 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2252 use the new functions to fix cleanly the support for descriptions.
2254 2004-10-24 José Matos <jamatos@lyx.org>
2256 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2257 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2258 * output_linuxdoc.C (linuxdocParagraphs):
2259 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2260 add buffer as argument.
2262 2004-10-24 José Matos <jamatos@lyx.org>
2264 * output_docbook.C (makeEnvironment, searchEnvironment): place
2265 CDATA inside paragraphs and fix scope for listitems.
2267 2004-10-24 José Matos <jamatos@lyx.org>
2269 * output_docbook.C: remove using statement for stack.
2271 2004-10-23 José Matos <jamatos@lyx.org>
2273 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2274 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2275 docbook. The new scheme is recursive and makes use of iterators, the
2276 same as latex export works.
2277 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2278 directly with the paragraph contents. This code was moved up to
2279 output_docbook.C (docbookParagraphs).
2280 * sgml.C (openTag, closeTag): removed unneeded newlines.
2281 (closeEnvTags) removed.
2283 2004-10-23 André Pönitz <poenitz@gmx.net>
2285 * undo.C (textUndoOrRedo):
2286 * dociterator.C (asDocIterator): work around crash
2288 * cursor.C (getStatus): replace ASSERT by more verbose error message
2289 and manual correction of the problem. Should increase stability
2290 while providing more sensible information.
2292 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2294 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2296 * bufferlist.C (previous, next): new methods
2299 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2301 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2303 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2304 entities to preamble.
2306 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2308 * messages.C (Pimpl): strip off translation context information
2310 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2312 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2313 the cursor is correct (bug 1694)
2315 2004-10-13 José Matos <jamatos@lyx.org>
2317 * output_docbook.C (docbookParagraphs): fix closing tags in the
2318 end of the document.
2320 2004-10-09 José Matos <jamatos@lyx.org>
2322 * buffer.C: format up to 237.
2323 * bufferparams.C (write): use tostr to convert booleans to strings.
2325 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2327 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2329 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2331 * LaTeX.C: implement use of babel language in xindy.
2333 2004-10-05 José Matos <jamatos@lyx.org>
2335 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2336 Add new translators to help reading and writing the lyx file.
2338 2004-10-05 José Matos <jamatos@lyx.org>
2340 * ParagraphParameters.C (read):
2341 * text.C (readParToken): replace nexToken by more appropriate lex
2344 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2346 * LaTeX.C (runMakeIndex):
2347 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2348 (usually 'makeindex') configurable.
2350 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2351 with a variable rather than with a number.
2353 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2355 * output_latex.C (TeXOnePar): make sure font setting is the first
2356 thing that gets output (and the last at the end). Should fix bug
2359 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2361 * pch.h: use proper signal include
2363 * LaTeX.h: Use preferred calling of Boost.Signal
2366 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2368 * pch.h: dont include <boost/function/function0.hpp>
2370 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2372 * paragraph_pimpl.h: remove usage of ShareContainer
2374 * paragraph_pimpl.C: remove initialization of ShareContainer.
2376 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2380 * BufferView.C (putSelectionAt): change the semantics when
2381 backwards == true: now, this just swaps cursor and anchor wrt the
2384 * BufferView.h (putSelectionAt): add some documentation
2386 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2387 make sure backwardChar is done at least once (to avoid getting
2389 (findNextChange): use putSelectionAt in the forward direction
2390 (operator()): use Paragraph::isWord
2392 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * Spacing.C (set): c_str fix
2396 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2398 * lyx_cb.C (Reconfigure): quote the name of configure script in
2399 case it contains spaces
2401 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2406 (BOOST_LIBS): use top_buildir when looking for the file
2408 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2410 * pch.h: do not use include boost/format.hpp, multiple symbols
2411 will result (gcc bug)
2414 2004-08-23 José Matos <jamatos@lyx.org>
2416 * bufferparams.C (readToken): fix reading of the author field.
2418 2004-08-20 José Matos <jamatos@lyx.org>
2420 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2422 2004-08-20 José Matos <jamatos@lyx.org>
2424 * lyxlex.[Ch] (findToken): remove function.
2426 * ParagraphParameters.C (findToken):
2427 * bufferparams.C (findToken): replace call for previous function
2428 with local copy. This local function has one more argument, the
2429 read string argument.
2431 2004-08-16 José Matos <jamatos@lyx.org>
2433 * ParagraphParameters.C (write):
2434 * Spacing.C (writeFile):
2435 * bufferparams.C (writeLaTeX):
2436 * lyx_cb.C (Reconfigure):
2437 * paragraph.C (write):
2438 * tabular.C (write): remove unnecessary space at end of line.
2441 2004-08-16 José Matos <jamatos@lyx.org>
2443 * text.C (readParagraph): remove debug message.
2445 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2447 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2450 * output_plaintext.C (asciiParagraph): set depth correctly
2452 * outputparams.h: add member depth
2454 * paragraph_funcs.C (ownerPar): remove.
2456 * text2.C (setCounter): remove first_pit; comment out some
2457 non-working code that uses ownerPar
2459 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2462 2004-08-16 José Matos <jamatos@lyx.org>
2464 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2465 For the same level of importance use the same chanel to report problems.
2466 (read): add code to deal with \begin_body and \end_body.
2469 2004-08-15 José Matos <jamatos@lyx.org>
2471 * lyxlex.C (getString): fix comment, buffer::readBody is now
2472 buffer:readDocument.
2474 * tex-strings.C (string_papersize): Default -> default,
2475 Custom -> custom, for consistency with other options.
2477 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2481 * Makefile.am: support pch
2483 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2485 * text.C (readParToken): remove the static LyXFont variable and
2486 pass it as a parameter instead. This fixes a nasty bug where an
2487 inset will be inserted with a bad font in some situations
2488 (readParagraph): adapt
2490 * text2.C (setCounter): reduce number of calls to pars_[pit]
2492 * text.C (singleWidth): add an assert, fix a test
2494 * rowpainter.C (paintText): reduce number of calls to singleWidth
2496 * paragraph.C (isHfill):
2497 (isNewline): ws only
2499 2004-08-14 André Pönitz <poenitz@gmx.net>
2504 * lyxtext.h (several functions): use a Paragraph & argument
2507 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2509 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2511 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2513 * text.C (singleWidth): remove useless test
2515 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2517 * tabular.h: remove bogus comments
2519 * tabular.C (getDescentOfRow):
2520 (isPartOfMultiColumn): add assertions
2522 * lyxlength.C (inPixels): remove #warning
2524 2004-08-14 André Pönitz <poenitz@gmx.net>
2526 * paragraph.h: inline getChar()
2528 * BufferView.h: remove unused declarations
2530 2004-08-14 José Matos <jamatos@lyx.org>
2532 * Buffer.[Ch] (readDocument): new name for old readBody.
2533 * Buffer.C: new file format, new keywords: \begin_document,
2534 \begin_header, \begin_body, \end_body.
2536 * bufferparams.C (readToken): replace all calls to lex.nextToken
2537 by lex.next(). Do the same to eatLine except where really needed.
2539 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2540 line when writing to the lyx file.
2542 * output_plaintext.C (asciiParagraph): fix Bibliography style
2545 * text.C (read): fix end of file handling.
2547 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2549 * MenuBackend.C (Menu::operator[]): new method to access
2550 individual menu items
2551 (Menu::hasFunc): new method. search for an item that corresponds
2553 (MenuBackend::specialMenu): new method
2554 (MenuBackend::expand): if a special menu has been set, skip
2555 entries whose func() appears in this menu
2557 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2559 * text3.C: use Debug::DEBUG a bit more
2561 * text.C (leftMargin): try to simplify a tiny bit change var x to
2562 l_margin. Dont output the wide margins always.
2563 (rightMargin): no margin in inner texts
2565 * rowpainter.h (nestMargin): new func
2566 (changebarMargin): new func
2567 (rightMargin): new func
2569 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2573 * factory.C (createInset): modify setDrawFrame
2575 * cursor.C: use Debug::DEBUG a bit more
2577 2004-08-14 André Pönitz <poenitz@gmx.net>
2580 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2581 cache for all insets in (at least partially) visible (top-level)
2584 * BufferView_pimpl.C: reset external coord cache before every update.
2585 This means the coord cache only contains valid entries.
2587 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2590 * BufferView_pimpl.C (getInsetByCode): move function out of class
2591 and change in to a template in anon namespace. Also fix to do what
2594 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2597 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2599 (breakParagraph): rename par to par_offset and use a local
2600 reference. Add code to keep the language over a rebreak.
2601 (breakParagraphConservative): rename par to par_offset, use a
2603 (mergeParagraph): ditto
2605 (isFirstInSequence): ditto
2606 (outerFont): rename pit to par_offset
2608 * paragraph.C: ws change
2609 * paragraph.h: ditto
2613 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2615 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2618 * paragraph.C (simpleTeXOnePar): when we have a \item with
2619 optional argument, enclose the argument with curly brackets (in
2620 case it contains a closing square bracket)
2624 * text3.C (checkInsetHit): constify
2626 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2628 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2629 documents (bug 1629)
2631 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2633 Fix toggling of collapsable insets with the mouse (bug 1558)
2635 * lyxfunc.C (dispatch): adapt to LCursor changes
2637 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2638 make sure that dispatch is not invoked twice
2640 * cursor.C (needsUpdate): new method
2641 (dispatch): return void
2642 (result): new method, to access the DispatchResult of the cursor.
2644 2004-08-13 José Matos <jamatos@lyx.org>
2646 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2648 2004-08-13 André Pönitz <poenitz@gmx.net>
2650 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2652 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2655 2004-08-12 André Pönitz <poenitz@gmx.net>
2657 * text3.C: take out the 'cursor right' form insertInset and only
2658 do it in those places when it is really needed. Fixes crash on
2661 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2663 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2665 * BufferView_pimpl.C (setBuffer): initialize the current font of
2666 the underlying LyXText
2668 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2670 * kbsequence.C (print): use UI native formatting for menu
2673 * text.C (insertChar): call Paragraph::insertChar with a font
2676 * paragraph.C (insertInset, insertChar): the version that takes a
2677 LyXFont argument is now a wrapper around the other one (the
2678 opposite used to be true).
2680 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2681 argument. Font setting is done in Paragraph now.
2683 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2685 * outputparams.h: add new members intitle and lang.
2687 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2688 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2690 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2692 * text3.C (dispatch): remove special handling of button 4 and 5,
2693 it is now taken care of in the frontend code.
2695 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2697 * Spacing.h: add <string> (STLPort compile fix)
2699 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2701 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2703 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2705 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2708 * converter.C (showMessage): inherit from unary_function, make
2711 * buffer.C (writeFile): initialize retval
2713 * InsetList.h: rename private variable list to list_
2714 * InsetList.[Ch]: adjust accordingly.
2716 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2718 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2719 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2720 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2721 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2722 * ParagraphParameters.C, LaTeXFeatures.C: replace
2723 "support/std_sstream.h" with <sstream>
2725 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2727 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2728 * lyxsocket.C (LyXServerSocket): ditto
2729 (serverCallback): ditto
2731 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2733 * LaTeXFeatures.C: check release date when loading jurabib.
2735 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2737 * lyxserver.C (startPipe): call register_socket_callback
2738 (endPipe): call unregister_socket_callback
2740 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2742 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2743 (LyXServerSocket): register the callback
2744 (LyXServerSocket): unregister the callback
2745 (fd): delete function
2746 (serverCallback): improve error checking and setup the callbacks.
2747 (dataCallback): change arg to fd.
2748 (writeln): new func (copied fro the client socket) used for server
2750 (LyXDataSocket): simplify
2751 (~LyXDataSocket): close ann unregiser callback
2752 (server): delete function
2753 (fd): delete function
2754 (readln): small changes, improve some std::string usage
2755 (writeln): constify a bit
2757 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2759 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2762 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2764 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2765 after it has been populated
2767 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2769 * text2.C (insertInset): move cursor when inserting inset.
2771 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2773 * kbmap.C (findbindings): a couple of new methods. returns a
2774 container of kb_sequence objects. The real work is done by the
2775 private recursive version
2776 (printbindings): uses findbindings to print out a bracketed list
2777 of bindings (renamed from findbinding).
2779 * MenuBackend.C (binding): use kb_keymap::findbindings
2781 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2783 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2785 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2787 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2789 * paragraph.C (isWord): return true on insets that report
2792 * text.C (getWord): use Paragraph::isWord to decide what is in a
2793 word and what is not; fix bug 1609.
2795 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2797 * tex-strings.C: add "none" to string_paperpackages[], fixes
2798 off-by-one-error in the paperpackage selection.
2801 * tex-strings.[Ch]: char const * string[n]
2802 -> char const * const string[]
2804 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2806 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2807 command, return early.
2809 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * debug.h: add DEBUG to enum and fix size of ANY.
2813 * debug.C: add support for Debug::DEBUG
2814 (showTags): cast errorTags.level to unsigned int
2816 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2817 (redoCurrentBuffer): ditto
2818 (updateScrollbar): ditto
2819 * cursor.C (dispatch): ditto
2820 * text2.C (setLayout): ditto
2822 (updateCounters): ditto
2824 (deleteEmptyParagraphMechanism): ditto
2826 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2829 annotations to cleanup the Makefile slightly.
2831 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2833 * lyxrc.C: do not set user_email to a default value but use empty
2834 instead. The entry used to be translated, which does not work
2835 since at the point where lyxrc is constructed there is no
2836 translation service available
2838 * messages.C (getLocaleDir): remove and use directly
2839 lyx_localedir() instead
2841 2004-06-02 Angus Leeming <leeming@lyx.org>
2843 Fix crash caused by dereferencing null pointer 'exportdata' in
2844 OutputParams by creating a new ExportData variable on the heap,
2845 storing it in a boost::shared_ptr.
2846 The crash was triggered when generating an Instant Preview
2847 of an external inset.
2849 * Makefile.am: add outputparams.C
2851 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2852 (c-tor): allocate memory to it.
2854 * exporter.C (c-tor): associated changes.
2856 2004-06-01 Angus Leeming <leeming@lyx.org>
2858 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2859 contains data before calling isInset(0). (Bug 1513.)
2861 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2863 * exporter.C (checkOverwrite): new method
2864 * exporter.C (copyFile): new method
2865 * exporter.C (Export): copy referenced files to the document dir
2866 * exporter.[Ch]: new class ExportedFile
2867 * exporter.[Ch]: new class ExportData. Contains currently the
2868 names of referenced external files
2869 * outputparams.h: add exportdata member.
2871 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2876 2004-05-19 Angus Leeming <leeming@lyx.org>
2881 * lyxfunc.C: small changes due to the introduction of namespace
2882 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2884 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2886 * text3.C (dispatch): supress update when only moving the cursor
2887 * cursor.C (selHandle): remove commented code
2889 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2891 * paragraph.C (startTeXParParams): correct column count
2892 * CutAndPaste.C (pasteSelection): remove const_cast
2893 * output_docbook.C (docbookParagraphs): remove const_cast
2894 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2895 const_cast and return ParagraphList::const_iterator
2896 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2897 * output_plaintext.C (writeFileAscii): remove const_cast
2898 * paragraph.[Ch] (simpleTeXOnePar): make const
2899 * paragraph_funcs.C (outerPar): use const iterators
2900 * paragraph_pimpl.C (validate): use const iterators
2901 * text.C (setHeightOfRow): use const iterators
2903 2004-05-17 Angus Leeming <leeming@lyx.org>
2906 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2908 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2909 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2910 if the citation engine has changed.
2912 2004-05-14 José Matos <jamatos@lyx.org>
2914 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2915 if the textclass does not provide it. Have it different for sgml and
2917 support the language of document.
2918 * output_docbook.C (docbookParagraphs):
2919 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2920 first anchor as the id of the paragraph, remove special case code.
2921 * sgml.C (escapeChar): escape only < & >.
2923 2004-05-14 Angus Leeming <leeming@lyx.org>
2925 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2926 dependencies on src/frontends/controllers/biblio.h. Define a
2927 CiteEngine_enum wrapper class to enable the enum to be forward
2930 2004-05-12 Angus Leeming <leeming@lyx.org>
2932 * buffer.C: up LYX_FORMAT to 234.
2933 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2934 use_numerical_citations with a single biblio::CiteEngine cite_engine
2936 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2938 2004-05-13 José Matos <jamatos@lyx.org>
2941 * converter.C (Converter, readFlags): add xml member.
2942 * outputparams.h: add XML flavor.
2943 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2945 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2947 * lyxfunc.C (dispatch):
2948 (getStatus): fix handling of LFUN_SEQUENCE
2950 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2952 * debug.C (showLevel): do not forget the end-of-line marker
2954 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2956 * kbmap.C (read): do not stop parsing a bind file when an error
2959 2004-04-29 Angus Leeming <leeming@lyx.org>
2964 * text2.C: wrap a bunch of #warning statements
2965 inside #ifdef WITH_WARNINGS blocks.
2967 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2969 * buffer.C: increment format to 233.
2971 2004-04-28 Angus Leeming <leeming@lyx.org>
2973 * BufferView_pimpl.C:
2976 s/updateToolbar()/updateToolbars()/
2977 s/Toolbar.h/Toolbars.h/
2979 2004-04-28 Angus Leeming <leeming@lyx.org>
2981 * BufferView.[Ch] (c-tor):
2982 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2983 No longer passes these data to the WorkArea generator.
2985 2004-04-28 Angus Leeming <leeming@lyx.org>
2987 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2989 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2991 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2993 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2995 * output_latex.C (TeXEnvironment): make sure that there is a line
2996 break before \end{foo} for the last paragraph of a document
2997 (TeXOnePar): if the paragraph is at the end of the document (or
2998 inset) and the language has to be reset, then make sure that the
2999 line break is _before_ the language command, not after (fixes bug
3000 1225); also make sure that the language reset command is the first
3001 thing after the paragraph (to ensure proper nesting of
3002 environments and thus fix bug 1404)
3004 2004-04-21 John Levon <levon@movementarian.org>
3007 * ToolbarBackend.C: make "name" be a programmatic name
3008 and a gui_name field.
3010 * lyxfunc.C: display the minibuffer on M-x
3012 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3014 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3017 2004-04-19 Angus Leeming <leeming@lyx.org>
3019 * BufferView_pimpl.C (setBuffer): changed preview interface.
3021 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3024 2004-04-19 John Levon <levon@movementarian.org>
3026 * BufferView_pimpl.C:
3027 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3029 2004-04-05 Angus Leeming <leeming@lyx.org>
3031 * text.C (redoParagraphs): add call to updateCounters(), thereby
3032 fixing the missing "Figure #:" label from the caption of a
3035 2004-04-13 Angus Leeming <leeming@lyx.org>
3037 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3038 cursor is clicked out of an inset.
3040 2004-04-13 Angus Leeming <leeming@lyx.org>
3042 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3043 than an InsetOld one.
3045 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3047 * format.[Ch]: add editor to Format
3048 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3049 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3051 2004-04-08 André Pönitz <poenitz@gmx.net>
3053 * metricsinfo.h: remove PainterInfo::width member
3055 2004-04-08 Angus Leeming <leeming@lyx.org>
3057 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3058 "\providecommand" rather than "\newcommand", thereby preventing
3059 clashes with packages that define "\boldsymbol" themselves.
3062 2004-04-08 Angus Leeming <leeming@lyx.org>
3064 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3065 thereby squashing an unnecessary warning.
3067 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3069 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3072 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3074 * BufferView.C (setCursor): call redoParagraph (some insets could
3076 (putSelectionAt): remove the 'double update' trick
3078 * BufferView_pimpl.C (fitCursor): call refreshPar
3079 (workAreaDispatch): remove an uneeded update call
3080 (dispatch): remove some manual update calls
3082 * cursor.[Ch]: remove cached_y_, updatePos
3083 (selHandle): set noUpdate when appropriate
3085 * lyxfunc.C (dispatch): track if we need an update
3087 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3089 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3090 (paintSelection): cheap optimization, do not call cursorX when not
3092 (paintPars): change signature
3095 (paintTextInset): adjust
3099 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3101 * lengthcommon.C: compilation fix: remove explicit array size from
3102 unit_name[] and friends
3104 2004-04-05 Angus Leeming <leeming@lyx.org>
3106 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3108 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3109 present only for the preferences dialog.
3110 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3112 2004-04-05 Angus Leeming <leeming@lyx.org>
3114 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3115 to enable the frontends to export changes to lyxrc correctly.
3117 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3119 2004-04-07 André Pönitz <poenitz@gmx.net>
3121 * cursor.[Ch] (selClear, adjust): remove math
3123 * cursor_slice.C: more agressive assert
3126 * BufferView_pimpl.C: rework mouse event dispatch
3133 2004-04-05 André Pönitz <poenitz@gmx.net>
3135 * cursor.[Ch] (valign, halign...): remove unneeded functions
3137 2004-04-05 Angus Leeming <leeming@lyx.org>
3139 * lyxlength.[Ch] (unit_name et al.): const-correct.
3141 2004-04-05 Angus Leeming <leeming@lyx.org>
3143 * BufferView_pimpl.C:
3152 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3154 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3156 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3158 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3160 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3161 * BufferView_pimpl.[Ch] (getStatus)
3162 * BufferView.[Ch] (getStatus): add
3163 * lyxfunc.C (getStatus): move lfuns handled in
3164 BufferView::dispatch to te function above
3165 * Cursor.C (setSelection): set selection() = true
3167 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3169 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3171 2004-03-31 Angus Leeming <leeming@lyx.org>
3173 * lyxfunc.C (dispatch): Fall through to the generic
3174 Dialogs::show("preamble").
3176 2004-03-31 Angus Leeming <leeming@lyx.org>
3178 * lyxfunc.C (dispatch): Fall through to the generic
3179 Dialogs::show("spellchecker").
3181 2004-03-31 Angus Leeming <leeming@lyx.org>
3183 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3186 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3191 * insetiterator.[Ch]:
3196 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3198 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3200 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3201 insets where we are putting the cursor.
3203 2004-03-31 Angus Leeming <leeming@lyx.org>
3206 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3208 * lyxrc.[Ch] (read, write): overloaded member functions taking
3209 a std::[io]stream arguments.
3211 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3213 2004-03-31 Angus Leeming <leeming@lyx.org>
3215 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3216 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3218 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3219 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3221 2004-03-31 Angus Leeming <leeming@lyx.org>
3223 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3224 the LFUN_ALL_INSETS_TOGGLE code.
3226 2004-03-30 Angus Leeming <leeming@lyx.org>
3228 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3229 has died. Fall through to the generic Dialogs::show("document").
3231 2004-03-30 Angus Leeming <leeming@lyx.org>
3234 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3235 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3237 * lyxfunc.C (getStatus, dispatch): define the actions for these
3238 lfuns. Little more than a cut and pste job from ControlDocument.C
3240 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3242 2004-03-30 Angus Leeming <leeming@lyx.org>
3245 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3246 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3248 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3249 open/closed state of ollapsable insets. Usage:
3251 all-inset-toggle <state> <name>, where
3252 <state> == "open" || "closed" || "toggle" and
3253 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3255 * lyxtext.h, text2.C (toggleInset): removed.
3257 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3258 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3259 now passes LFUN_INSET_TOGGLE to the found inset.
3261 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3262 is now invoked as "all-insets-toggle toggle branch".
3264 2004-03-30 Angus Leeming <leeming@lyx.org>
3268 * pariterator.[Ch]: added/corrected header blurb.
3270 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3272 * dociterator.[Ch]: add an inset_ member
3273 (backwardPos): implemented
3274 (backwardPos, forwardPos): use inset_ when the stack is empty.
3275 (doc_iterator_begin, doc_iterator_end): implemented
3276 * pariterator.[Ch]: adjust, add begin, end
3277 * insetiterator.[Ch]: adjust, add begin, end
3281 * BufferView_pimpl.C:
3282 * CutAndPaste.C: adjust
3284 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3286 * buffer.C: increment file format to 232.
3287 * LaTeXFeatures.C: add bibtopic package.
3288 * bufferparams.[Ch]: param \use_bibtopic.
3290 * lyxrc.[Ch]: add lyxrc bibtex_command
3291 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3293 * buffer.C: increment file format to 231.
3295 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3297 * dociterator.C: implement forwardPar
3298 * iterators.[Ch]: remove, replaced by
3299 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3301 * BufferView_pimpl.C:
3304 * bufferview_funcs.C:
3310 * Makefile.am: adjust
3312 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3314 * CutAndPaste.C (pasteSelection): fix 2 crashes
3315 (eraseSelection): fix a crash
3316 * paragraph_funcs.C: remove a warning
3318 2004-03-28 Angus Leeming <leeming@lyx.org>
3321 * LyXAction.C (init): new LFUN_PRINT.
3323 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3325 2004-03-27 Angus Leeming <leeming@lyx.org>
3328 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3330 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3332 2004-03-27 Angus Leeming <leeming@lyx.org>
3334 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3335 insetlist always contains non-null pointers to insets.
3337 2004-03-26 Angus Leeming <leeming@lyx.org>
3339 * src/BufferView_pimpl.C:
3340 * src/CutAndPaste.C:
3343 * src/output_plaintext.C:
3344 * src/outputparams.h:
3345 * src/paragraph_funcs.C:
3349 * src/frontends/controllers/ControlErrorList.C:
3350 * src/frontends/gtk/FileDialogPrivate.C:
3351 * src/frontends/gtk/GPainter.C:
3352 * src/frontends/gtk/GToolbar.C:
3353 * src/frontends/qt2/QRef.C:
3354 * src/mathed/math_scriptinset.C: squash compiler warnings.
3356 2004-03-26 Angus Leeming <leeming@lyx.org>
3358 * ispell.C (LaunchIspell::start):
3359 * lyx_cb.C (AutoSaveBuffer::start):
3360 invoke run(DontWait) rather than runNonBlocking().
3362 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3364 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3366 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3368 * kbsequence.C (print): adjust
3370 * kbmap.C (printKeySym): rename and change signature
3371 (printKey): use LyXKeySym::print()
3373 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3375 * undo.C: add using std::advance to compile for stlport
3377 2004-03-24 Angus Leeming <leeming@lyx.org>
3379 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3380 it leads to a crash when no buffer is present.
3382 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3383 Martin Vermeer <martin.vermeer@hut.fi>
3385 * lyxfunc.C (dispatch):
3386 * bufferparams.C (readToken): use the new LColor::setColor
3388 * LColor.[Ch] (setColor): new version that takes two strings as
3389 argument and creates a new color entry if necessary
3391 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3393 * buffer.C (makeLaTeXFile): if the main latex file that is
3394 processed is usually a subdocument of some master, then pretend
3395 for a while that it is actually the master
3397 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3399 * buffer.C (getLabelList):
3400 (getBibkeyList): use getMasterBuffer()
3401 (getMasterBuffer): new method. Returns the main document in the
3402 case where one is using included documents.
3404 2004-03-25 André Pönitz <poenitz@gmx.net>
3408 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3410 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3412 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3413 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3415 * ParameterStruct.h: merge with ParagraphParameters
3417 * lyxtext.h: remove LyXText::parOffset() and getPar()
3419 * text3.C: Remove all 'manual' update calls. We do now one per user
3420 interaction which is completely sufficient.
3424 * BufferView_pimpl.C:
3425 * FontIterator.[Ch]:
3427 * ParagraphParameters.[Ch]:
3432 * cursor_slice.[Ch]:
3439 * output_docbook.[Ch]:
3440 * output_latex.[Ch]:
3441 * output_linuxdoc.[Ch]:
3442 * output_plaintext.[Ch]:
3444 * paragraph_funcs.[Ch]:
3445 * paragraph_pimpl.[Ch]:
3453 * frontends/controllers/ControlDocument.C:
3454 * frontends/controllers/ControlErrorList.C:
3455 * frontends/controllers/ControlSpellchecker.C:
3458 * insets/insetbase.h:
3459 * insets/insetbibitem.C:
3460 * insets/insetbox.C:
3461 * insets/insetbranch.C:
3462 * insets/insetcaption.C:
3463 * insets/insetcharstyle.C:
3464 * insets/insetcharstyle.h:
3465 * insets/insetcollapsable.C:
3466 * insets/insetcollapsable.h:
3467 * insets/insetert.C:
3468 * insets/insetfloat.C:
3469 * insets/insetfoot.C:
3470 * insets/insetmarginal.C:
3471 * insets/insetnote.C:
3472 * insets/insetoptarg.C:
3473 * insets/insettabular.C:
3474 * insets/insettext.C:
3475 * insets/insettext.h:
3476 * insets/insetwrap.C:
3477 * mathed/math_mboxinset.C:
3478 * mathed/math_nestinset.C:
3479 * mathed/math_scriptinset.C:
3480 * mathed/math_scriptinset.h:
3483 2004-03-24 Angus Leeming <leeming@lyx.org>
3485 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3486 deal with any child processes that have finished but are waiting to
3487 communicate this fact to the rest of LyX.
3489 2004-03-24 Angus Leeming <leeming@lyx.org>
3491 64-bit compile fixes.
3493 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3494 (c-tor): pass lyx::pos_types rather than ints.
3496 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3499 * text.C (Delete): compile fix.
3500 (getPar): ensure that function declaration is the same as that in
3503 2004-03-23 Angus Leeming <leeming@lyx.org>
3505 * ispell.C (LaunchIspell):
3506 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3507 a boost::shred_ptr rather than a std::auto_ptr.
3509 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3511 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3512 handle LFUN_FILE_INSERT_*
3514 * lyxrc.C (setDefaults, getDescription, output, read):
3515 * lyxrc.h: remove ps_command
3517 2004-03-22 Angus Leeming <leeming@lyx.org>
3519 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3520 Ensure that error_handler is processed once only and that all data
3521 is saved before attempting to output any warning messages.
3523 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3525 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3527 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3529 2004-03-19 André Pönitz <poenitz@gmx.net>
3531 * cursor.[Ch] (reset): take main text inset as argument
3533 * BufferView: adjust
3534 * BufferView_pimpl.C: adjust
3536 * paragraph.[Ch]: fix completely broken operator=()
3538 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3540 * LColor.C (getFromLyXName): make sure that the color name is used
3543 2004-03-17 Angus Leeming <leeming@lyx.org>
3546 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3548 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3549 dialog and to kill a forked process.
3551 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3553 * text2.C (setCursorFromCoordinates): fix font problem
3555 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3557 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3558 bogus "rebuild cursor" code
3560 2004-03-11 André Pönitz <poenitz@gmx.net>
3562 * buffer.[Ch]: use InsetText instead of LyXText as container for
3565 * dociterator.[Ch]: drop the BufferView * member which is not needed
3566 anymore after the change to buffer.C
3568 * paragraph_funcs.C:
3572 * BufferView_pimpl.[Ch]:
3574 * cursor_slice.[Ch]: adjust
3576 * text3.C: fix bug in mathDispatch
3578 2004-03-08 André Pönitz <poenitz@gmx.net>
3580 * undo.[Ch]: use 'StableDocumentIterator' as base for
3583 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3586 * bufferparams.[Ch]: add jurabib support and param.
3588 * LaTeX.C: add FIXME/comment.
3590 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3592 * buffer.C: increment file format to 230.
3594 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3596 * cursor.C (dispatch): avoid infinite loops
3598 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3600 * rowpainter.C (paintSelection): fix x coordinates
3602 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3604 * text.C (rowBreakPoint): fix breaking before displayed insets
3606 2004-03-01 André Pönitz <poenitz@gmx.net>
3608 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3610 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3614 * BufferView_pimpl.C:
3622 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3628 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3629 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3631 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3633 * Bidi.[Ch] (computeTables): const correctness
3634 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3635 fill_hfill, fill_label_hfill and x from Row
3636 * lyxtext.h: prepareToPrint returns a RowMetrics
3637 * rowPainter.C: adjust
3638 * text.C (prepareToPrint): use width, not textWidth. adjust
3639 (redoParagraphInternal, cursorX): adjust
3640 * text2.C (getColumnNearX): adjust
3641 (init): put a default value to the top LyXText::width
3643 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3645 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3647 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3649 * lyxtext.h: add FontIterator class
3651 * text.C (FontIterator, operator*, operator->, operator++): add
3652 (rowBreakPoint, setRowWidth): adjust (fixing a
3655 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3657 * BufferView_pimpl.C (workAreaDispatch): allow also
3658 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3660 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3662 * text.C (rowBreakPoint): fix a bug showing with very large insets
3664 2004-02-25 André Pönitz <poenitz@gmx.net>
3667 * cursor.[Ch]: move some mathed specific code to mathed
3669 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3671 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3672 use_tempdir in preferences
3673 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3675 * lyx_main.C: ensure that tempdir is valid
3676 * lyxlex.h: correct typo
3677 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3678 * paragraph.[Ch] (isMultiLingual): make const
3679 * cursor.[Ch] (openable): make const
3681 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3683 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3685 2004-02-20 André Pönitz <poenitz@gmx.net>
3687 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3689 * cursor.[Ch]: prepare for localized getStatus()
3695 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3697 2004-02-20 André Pönitz <poenitz@gmx.net>
3699 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3701 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3703 * text2.C (setCursorFromCoordinates): switch to absolute coords
3705 (cursorDown): adjust
3706 * text3.C (dispatch): adjust
3708 2004-02-16 André Pönitz <poenitz@gmx.net>
3710 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3713 * cursor_slice.[Ch]: remove unneeded acessor function
3715 * lyxtext.h: rename rtl() to isRTL()
3723 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3725 * rowpainter.C (paintSelection): coord fix
3727 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3729 * Spacing.C: compile fix
3731 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3733 * cursor.C (dispatch): restore current_ before returning
3735 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3737 * text2.C (cursorUp, cursorDown): fix coords
3740 2004-02-12 André Pönitz <poenitz@gmx.net>
3745 * text3.C: add LCursor & parameter to most cursor movement functions
3746 remove usage of LyXText::cursorRow() and cursorPar()
3748 * cursor.[Ch]: add textRow() needed members
3751 * BufferView_pimpl.C:
3754 * BufferView_pimpl.C: adjust
3756 2004-02-11 André Pönitz <poenitz@gmx.net>
3760 * BufferView_pimpl.C: shift undo/redo handling
3762 * cursor.[Ch]: fix mathed crash
3765 * lyxtext.h: move selectionAsText to LCursor
3773 * rowpainter.C: fix excessive drawing
3775 2004-02-06 André Pönitz <poenitz@gmx.net>
3778 * BufferView_pimpl.[Ch]:
3779 * text3.C: move some text specific LFUN handling
3781 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3783 * text3.C (checkInsetHit): adjust coords
3784 * text2.C (getColumnNearX): adjust coords
3785 (edit): adjust coords
3786 * text.C (getRowNearY): add two asserts
3788 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3791 * format.C: add using std::distance to compile on gcc 2.95/stlport
3793 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3795 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3797 2004-02-04 André Pönitz <poenitz@gmx.net>
3799 * BufferView.[Ch] (insertInset):
3800 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3805 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3807 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3808 on the default clause of the switch
3809 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3810 wasn't catched by LCursor::dispatch
3812 2004-02-03 André Pönitz <poenitz@gmx.net>
3815 * cursor.[Ch]: some additional asserts
3817 * undo.[Ch]: remove LyXText dependency in interface
3821 * lyxtext.h (firstPar, lastPar): remove dead functions
3826 * paragraph.[Ch]: adjust
3828 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3830 * lyxfind.C (find): fix argument order in call to ::find
3832 2004-02-02 André Pönitz <poenitz@gmx.net>
3834 * cursor.[Ch]: remove direct access to anchor
3836 * text.C: remove findText() hack
3838 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3840 * iterators.[Ch] (lockPath): remove in favour of...
3841 * BufferView.[Ch] (setCursor): this addition
3842 * BufferView.C (putSelectionAt): adjust
3843 * undo.C (performUndoOrRedo): adjust
3844 * lyxfunc.C (dispatch): adjust
3846 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3848 * iterators.C (lockPath): add a missing slice
3849 * undo.C (performUndoOrRedo): remove redundant positioning code
3851 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3853 * vc-backend.C (scanMaster): ";" -> ';'
3855 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3857 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3858 std::binary_function
3860 * lyxtextclass.C (compare_name): rename to...
3861 (LayoutNamesEqual): ...this
3863 * lyxlex_pimpl.C (compare_tags): inherit from
3864 std::binary_function, put back into anon namespace
3866 * lyxfind.C (MatchString): inherig from std::binary_function
3867 (findChange): use empty() istead of !size()
3869 * format.C (FormatNamesEqual): new functor
3876 * converter.C (compare_Converter): rename to...
3877 (ConverterEqual): ...this, and fixup a bit.
3878 (getConverter): use it, and make function const
3879 (getNumber): use it, and make function const
3883 * bufferlist.C: add using boost::bind
3885 * MenuBackend.C (MenuNamesEqual): new functor
3886 (hasMenu): use it, and make function const
3887 (hasSubmenu): use nested bind to get rid of compare_memfun.
3889 2004-01-30 André Pönitz <poenitz@gmx.net>
3891 * BufferView_pimpl.C:
3894 * cursor_slice.[Ch]:
3897 * paragraph_funcs.C:
3898 * paragraph_funcs.h:
3902 * text3.C: move some of the edit(x,y) handling to the insets
3903 some coordinate changes.
3905 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3907 * text.C: add using statements for std::advance and std::distance
3909 * paragraph.C: add using statement for std::distance
3911 * lyxfind.C: add using statement for std::advance
3913 * cursor.C (region): remove std:: from swap
3914 (openable): use nucleus in stead of operator->
3916 * BufferView.C: add using statements for std::distance and std::swap
3918 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3920 * iterators.C: Remove the pimple, move the needed structures to
3921 the header file. Create accessor for the positions stack.
3922 (asPosIterator): remove function
3924 * PosIterator.C (PosIterator): move constructors to top of file
3925 (PosIterator): reimplement the constructor taking a ParIterator in
3927 (setFrom): new function
3928 (operator!=): inline it
3930 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * lyxfind.C (replaceAll): use std::advance
3934 * iterators.h: inherit from std::iterator.
3936 * PosIterator.C (advance, distance): remove
3937 * PosIterator.h: interit from std::iterator.
3939 2004-01-26 André Pönitz <poenitz@gmx.net>
3942 * BufferView_pimpl.[Ch]:
3946 * bufferview_funcs.C:
3956 * output_linuxdoc.C:
3957 * output_plaintext.C:
3959 * paragraph_funcs.[Ch]:
3960 * paragraph_pimpl.[Ch]:
3966 * text3.C: more IU: dumps most of the rest of the mathcursor
3967 implementation into cursor.[Ch]; "globalize" a bit of it.
3969 2004-01-25 Angus Leeming <leeming@lyx.org>
3971 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3973 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3975 * LaTeXFeatures.h: add nice_ and nice() const
3976 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3978 2004-01-20 André Pönitz <poenitz@gmx.net>
3981 * BufferView_pimpl.C:
3983 * bufferview_funcs.C:
3985 * cursor_slice.[Ch]:
3996 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3997 LCursor and mathcursor parts to LCursor and InsetBase.
3999 2004-01-15 André Pönitz <poenitz@gmx.net>
4001 * cursor_slice.[Ch]: add a few covienience functions
4003 * funcrequest.[Ch]: remove BufferView * member
4005 * BufferView_pimpl.C:
4012 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4014 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4016 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4017 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4019 2004-01-13 André Pönitz <poenitz@gmx.net>
4022 * lyxtext.h: hide cursor and selection anchor behind accessor function
4025 * BufferView_pimpl.[Ch]:
4027 * bufferview_funcs.C:
4037 * cursor_slice.[Ch]: some integer type changes for inset unification
4039 * lyxcursor.[hC]: remove, it's CursorSlice now.
4042 * BufferView_pimpl.[Ch]:
4043 * bufferview_funcs.C:
4049 * textcursor.[Ch]: adjust
4051 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4053 * text2.C (undoSpan): add and use
4054 * text.C (breakParagraph): use undoSpan (fix bug 578)
4057 2004-01-08 Angus Leeming <leeming@lyx.org>
4059 * BufferView_pimpl.C (MenuInsertLyXFile):
4060 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4061 * lyxfunc.C (menuNew, open, doImport):
4062 FileFilterList change to the FileDialog open and save functions.
4064 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4066 * ShareContainer.h: make isEqual and isUnique adaptable
4068 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4070 2004-01-07 Angus Leeming <leeming@lyx.org>
4073 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4075 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4077 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4078 functions replacing find, replace and replaceAll.
4080 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4081 LFUN_WORDFIND(FORWARD|BACKWARD).
4083 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4085 * text.C (breakParagraph): remove an outdated #warning
4087 2004-01-07 André Pönitz <poenitz@gmx.net>
4089 * lyxfind.C: somewhat clearer logic
4091 * text.C: prevent crash in cursorX on unitialized row cache
4093 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4095 * lyxcursor.[Ch] (operator>): add
4096 * textcursor.C (selStart, selEnd): use std::min and std::max
4098 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * Chktex.C: include boost/format.hpp
4102 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4104 * InsetList.C: replace functor MathcIt with adaptable functor
4106 (insetIterator): modify accordingly
4108 * BranchList.h: move the BranchNamesEqual functor here from...
4109 * BranchList.C: ... to here
4111 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4113 (add): replace a finding loop with std::find_if.
4115 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4117 * output_docbook.C: moving LatexParam functionality into
4120 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4122 * buffer.C: increment format to 229.
4124 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4127 * lyx_sty.[Ch]: remove minipageindent_def
4133 * text3.C: remove LFUN_INSET_MINIPAGE
4135 2003-12-28 Angus Leeming <leeming@lyx.org>
4137 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4139 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4141 * text2.C (setParagraph): fix off-by-one crash
4143 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4145 * output_docbook.C: header stuff for AGU
4147 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4149 * text2.C (redoCursor): remove
4152 * BufferView_pimpl.C: remove calls to redoCursor and
4153 setCursor(cursor.par(), cursor.pos()) all around
4155 2003-12-15 Angus Leeming <leeming@lyx.org>
4157 * buffer.C: up the format to 228.
4159 2003-12-15 André Pönitz <poenitz@gmx.net>
4161 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4166 * BufferView_pimpl.C:
4175 2003-12-15 Angus Leeming <leeming@lyx.org>
4177 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4178 than getFromGUIName to manipulate the color.
4180 2003-12-14 Angus Leeming <leeming@lyx.org>
4182 * BranchList.[Ch]: minimize the API.
4183 (Branch::getBranch, getColor): now return a 'const &'.
4184 (Branch::setSelected) now returns a bool set to true if the
4185 selection status changes.
4186 (BranchList::clear, size, getColor, setColor, setSelected,
4187 allBranches, allSelected, separator): removed.
4188 (BranchList::find): new functions, returning the Branch with
4190 (BranchList::add, remove): return a bool indicating that
4191 the operation was successful.
4193 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4194 new InsetBranch::isBranchSlected member function.
4196 * LColor.[Ch]: mimimize the API.
4197 (fill): renamed as addColor and made private.
4198 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4199 versions of these functions taking a string arg have been removed.
4201 * bufferparams.C (readToken):
4202 * lyxfunc.C (dispatch):
4203 * lyxrc.C (read): changes due to the altered BranchList and
4206 * factory.C (createInset, readInset): changes due to altered
4209 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4212 * lyxfunc.C: remove insetminipage. "minipage-insert"
4213 now produces a frameless minipage box inset.
4215 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4217 * textcursor.[Ch] (selStart,selEnd): add new methods
4218 remove selection::start, end, use LyXCursor::operator<
4219 * lyxcursor.[Ch] (operator<): add
4220 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4221 * BufferView.[Ch] (unsetXSel): add
4222 * text2.C (clearSelection): use unsetXSel,adjust
4225 * rowpainter.C: adjust
4226 * bufferview_funcs.C (put_selection_at): adjust
4228 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4230 * BufferView_pimpl.C: small coord. correction
4232 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4234 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4235 dragging over the splash screen.
4237 2003-12-11 Angus Leeming <leeming@lyx.org>
4239 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4240 as it is now handled in LyXText::dispatch.
4242 * text3.C (doInsertInset): remove a level of nesting.
4244 2003-12-11 Angus Leeming <leeming@lyx.org>
4246 * factory.C (createInset): changes due to the changed interface to
4247 InsetCommandMailer::string2params.
4249 2003-12-10 Angus Leeming <leeming@lyx.org>
4251 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4252 'dialog-show-new-inset <inset name>'
4254 2003-12-10 Angus Leeming <leeming@lyx.org>
4256 * buffer.C: up the format to 227.
4258 * factory.C: the box inset is now identified simply by 'Box'.
4260 2003-12-10 Angus Leeming <leeming@lyx.org>
4262 * buffer.C: up the format to 226.
4264 * factory.C: the note inset is now identified simply by 'Note'.
4266 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4268 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4269 when a pit is enough. Standarize a couple of loops.
4271 2003-12-05 Angus Leeming <leeming@lyx.org>
4273 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4274 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4275 data to the re-worked "log" dialog.
4277 2003-12-03 André Pönitz <poenitz@gmx.net>
4283 * paragraph_funcs.C:
4285 * text2.C: use Inset::getText instead of Inset::getParagraph
4287 2003-12-03 André Pönitz <poenitz@gmx.net>
4291 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4292 InsetText::read() as LyXText::read()
4294 2003-12-02 Angus Leeming <leeming@lyx.org>
4296 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4297 type. Add a comment in the implementation that the function uses
4298 the stream's bad() function rather than fail() as the std::streams
4301 2003-12-02 André Pönitz <poenitz@gmx.net>
4303 * lyxlex.[Ch]: make interface more similar to std::stream
4305 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4307 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4309 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4311 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4313 * vspace.[Ch]: remove VSpace::NONE
4315 2003-12-01 André Pönitz <poenitz@gmx.net>
4318 * lyxtext.h: move ParagraphList member to LyXText
4319 rename LyXText::ownerParagraphs to LyXText::paragraph
4322 * bufferview_funcs.C:
4332 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4334 * undo.C: fix cursor positioning
4336 2003-12-01 John Levon <levon@movementarian.org>
4338 * BufferView_pimpl.C: fix a crash on exit with
4341 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4343 * BranchList.C: fix setSelected() method.
4345 2003-11-28 André Pönitz <poenitz@gmx.net>
4347 * ParagraphParameters.[Ch]:
4348 * ParameterStruct.h: remove space above/below from Paragraph to
4351 * BufferView_pimpl.C:
4357 * paragraph_funcs.C:
4363 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4365 * factory.C: Syntax change for CharStyles
4367 2003-11-28 André Pönitz <poenitz@gmx.net>
4372 * buffer.[Ch]: move LyXText member
4374 2003-11-28 André Pönitz <poenitz@gmx.net>
4376 * BufferView.[Ch]: make LyXText * text a private member
4378 * BufferView_pimpl.C:
4389 * output_plaintext.C: cleanup
4391 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4394 * lyxtextclass.[Ch]: parametrize SGML document header
4396 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4399 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4402 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4404 * text2.C (setFont): rework using PosIterator (no more recursive)
4405 (setCharFont): no more needed
4406 (setLayout): no more selection cursors fiddling (done by redoCursor)
4407 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4408 destroy remaining ones)
4410 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4412 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4414 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4417 * text3.C: adjust + re-allow multi par depth changes
4418 * textcursor.C: simplify a bit
4420 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4426 * src/output_docbook.C:
4427 * src/output_latex.C:
4432 * src/text2.C: Introducing a number of tags parametrizing various
4433 XML formats that we may want to support
4435 2003-11-25 André Pönitz <poenitz@gmx.net>
4437 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4439 * lyxtext.h (leftMargin/rightMargin): simplify interface
4446 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4448 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4449 master file to any child files. Fixes bug 546.
4451 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4453 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4455 2003-11-24 André Pönitz <poenitz@gmx.net>
4457 * rowpainter.C: simplification
4459 * text2.C (updateCounters): remove call to redoParagraph on
4460 changed labels as this is far too expensive.
4462 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4464 * converter.C (convert): fix a crash: this function gets
4465 called with buffer == 0 from importer code.
4467 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4469 * text3.C (cursorPrevious): make sure that we do not compare
4470 iterators form different containers.
4473 * rowpainter.C (paintSelection): make sure that we do not compare
4474 iterators from different containers.
4476 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4477 iterators from different ParagraphList containers.
4480 * text2.C (LyXText): change order of initialization slightly
4481 (operator=): new function. copy all variables except cache_par_
4482 (moveUp): make sure that we do not compare iterators from
4483 different ParagraphList constainers.
4486 * text.C (firstPar): new function
4487 (lastPar): new function
4488 (endPar): new function
4490 * lyxtext.h: move things around and group public functions, public
4491 variables, private functions, private variables
4493 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4495 * factory.C: change call to InsetERT constructor to avoid
4496 additional invocation of method status
4497 * text2.C (toggleInset): remove redundant update() call
4498 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4499 instead of a Bufferview pointer
4501 2003-11-21 André Pönitz <poenitz@gmx.net>
4503 * rowpainter.C: simplification
4505 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4507 * text3.C (dispatch): make possible to extend a word/row selection
4510 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4512 * lyxtext.h: x0_,y0_ -> xo_,yo_
4513 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4514 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4515 * rowpainter.C (paintRows): paint full paragraphs
4517 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4519 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4522 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4524 * lyxtext.h: add x0_, y0_
4525 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4526 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4528 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4530 * text2.C (setCursorIntern): move the x_target update here *
4531 * text3.C: change some bv() to true/false in calls to
4532 cursorUp/Down/Right/Left
4533 * cursor.C: use helper function.
4535 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4537 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4538 * paragraph_funcs.[Ch]: correct comment
4539 * rowpainter.C: do not paint selections away from bv->cursor()
4540 Fix a long standing selection painting bug.
4541 * text3.C: generalize mouse-selection code to LyXTexts other that
4543 * textcursor.C: do not use y coords if we can use par offsets
4545 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4547 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4548 cursor position after e.g. inset insert)
4550 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4552 * lyxfind.C (replace): adjust to locking removal + some
4555 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4557 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4560 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4563 * output_docbook.C: XML sanitation: new layout
4564 parameters InnerTag and CommandDepth
4566 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4568 * BufferView_pimpl.C:
4570 * text3.C: Fix the insertion and modification of button-style
4573 2003-11-13 André Pönitz <poenitz@gmx.net>
4575 * InsetList.[Ch]: remove deleteLyXText
4577 * paragraph.[Ch]: cache beginOfBody position
4582 * text3.C: remove superfluous update() calls
4586 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4588 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4589 * BufferView.C (fitLockedInsetCursor): remove
4590 * cursor.[Ch] (getDim): add
4591 * text.C (getRowNearY): add faster version
4592 * text3.C: remove some update calls
4594 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4606 * text3.C: The Character Style /XML short element patch.
4608 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4611 * factory.C: Small step to solving 'unable to insert some insets'
4614 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4616 * cursor.[Ch] (updatePos): new function for updating the y
4617 position of the tip inset
4618 * bufferview_funcs.C (put_selection_at):
4619 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4621 2003-11-11 André Pönitz <poenitz@gmx.net>
4623 * text.C: remove big comment on invalid Paragraph pointers as it is
4626 2003-11-11 André Pönitz <poenitz@gmx.net>
4628 * text_funcs.[Ch]: merge with ...
4636 * Makefile.am: remove text_funcs.[Ch]
4638 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4640 * cursor.C (getPos): return absolute cached y coord
4642 * BufferView_pimpl.C (fitCursor): new simplistic code
4643 (workAreaDispatch): add a fitCursor call
4645 2003-11-10 André Pönitz <poenitz@gmx.net>
4648 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4650 2003-11-10 André Pönitz <poenitz@gmx.net>
4652 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4653 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4654 indicate that the cursor needs to leave an inset
4656 * lyxtext.h: remove inset locking
4658 * cursor.[Ch]: re-implement functionality provided by inset locking
4661 * BufferView_pimpl.[Ch]:
4663 * bufferview_funcs.[Ch]:
4675 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4677 * PosIterator.[Ch]: replace the stack with a vector, add inset
4679 * iterators.[C]: adjust
4681 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4683 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4685 * paragraph_funcs.C (readParToken): put the correct id in the
4686 error item, not the id of the top paragraph
4688 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4690 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4691 * bufferview_funcs.C (put_selection_at): use the above
4693 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4695 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4697 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4699 * output_linuxdoc.h:
4700 * output_plaintext.h:
4702 * output_docbook.h: add #include statements
4704 2003-11-05 José Matos <jamatos@lyx.org>
4706 * output_docbook.[Ch]:
4707 * output_latex.[Ch]:
4708 * output_linuxdoc.[Ch]:
4709 * output_plaintext.[Ch]: New files for output formats.
4710 * output.[Ch]: New file for helper functions.
4713 * paragraph_funcs.[Ch]: output functions moved to new files.
4715 * outputparams.h: rename of latexrunparams.h
4723 * paragraph_funcs.[Ch]:
4724 * paragraph_pimpl.[Ch]:
4725 * tabular.[Ch]: rename ascii to plaintext
4726 and LatexRunParams to OutputParams.
4728 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4730 * iterators.[Ch] (text): require bv argument
4731 * undo.C (recordUndo):
4732 * lyxfunc.C (dispatch):
4733 * bufferview_funcs.C (put_selection_at): adjust
4735 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4737 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4739 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4741 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4744 2003-11-04 André Pönitz <poenitz@gmx.net>
4746 * cursor.[Ch]: restructure
4749 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4751 * iterators.[Ch] (asCursor): remove
4753 * lfuns.h: remove LFUN_INSET_EDIT
4759 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4761 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4763 * lyxfind.[Ch]: complete overhaul
4764 * BufferView_pimpl.C:
4766 * paragraph.[Ch] (insert): add
4768 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4772 * text.C: remove dead spellcheck code
4774 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4776 * dispatchresult.h: add a val setter
4778 * cursor.C (dispatch): use a tempvar for data_[i]
4780 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4782 * PosIterator.[Ch]: compile fix
4784 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4786 * text.C (cursorPar): deactivate the cursor cache
4788 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4790 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4792 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * text3.C (dispatch): adjust for new DisptchResult semantics.
4796 * lyxfunc.C (dispatch): handle update when return from
4797 Cursor::dispatch, adjust for new DispatchResult semantics.
4799 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4800 DispatchResult(true) mean to not update. Add class functions for
4801 setting dispatched and update, as well as reading.
4803 * cursor.C (dispatch): don't handle update here
4805 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4807 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4808 * trans_mgr.C: adjust
4810 * paragraph_funcs.C (readParToken): exception safety
4812 * lyxvc.h: store the vcs pointer in a scoped_ptr
4815 * lyxsocket.C (serverCallback): exception safety
4817 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4819 * ispell.C (clone): make it return a auto_ptr
4821 * factory.C (createInset): exception safety
4822 (readInset): exception safety
4824 * bufferlist.C (newBuffer): exception safety
4826 * Thesaurus.C (Thesaurus): use initialization for aik_
4828 * MenuBackend.C (expandToc): exception safety.
4830 2003-11-03 André Pönitz <poenitz@gmx.net>
4834 * bufferview_funcs.C: remove getInsetFromId()
4837 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4843 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4845 * PosIterator.C (distance, advance): new
4846 * bufferview_funcs.[Ch] (put_selection_at): new
4847 * iterators.[Ch] (lockPath): new
4849 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4851 * iterators.[Ch] (asPosIterator): added
4852 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4853 * PosIterator.[Ch]: added
4855 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4859 * cursor.C (dispatch):
4860 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4862 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4863 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4864 contructor, add a class function dispatched. Remove operator>=
4866 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4868 * debug.C: only use the default constructor for debugstream
4871 * main.C (main): include debug.h and setup the lyxerr streambuf
4874 2003-10-31 José Matos <jamatos@lyx.org>
4876 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4878 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4879 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4880 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4881 * paragraph_pimpl.C (simpleTeXSpecialC):
4882 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4883 add LatexRunParams argument.
4885 * exporter.C (Export): change call accordingly.
4887 * latexrunparams.h: add new member to take care of the other backends.
4888 2003-10-30 José Matos <jamatos@lyx.org>
4890 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4891 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4892 factorise code for paragraph output.
4894 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4897 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4899 * text3.C (dispatch):
4900 * lyxfunc.C (dispatch):
4901 * cursor.C (dispatch):
4902 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4904 * dispatchresult.h: make the dispatch_result_t ctor explicit
4906 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4909 * buffer.C: small refactoring of docbook stuff
4911 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4916 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4919 operator dispatch_result_t, and operators for == != and >=
4921 * cursor.C (dispatch): adjust for operator dispatch_result_t
4922 removal. comment out call to update
4924 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4926 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4937 * dispatchresult.h: new file, DispatchResult broken out of
4940 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4942 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4944 * text.C (rowBreakPoint): put a hack inside #if 0
4946 2003-10-28 André Pönitz <poenitz@gmx.net>
4950 * paragraph_funcs.C:
4953 * text2.C: general cleanup (lots of small stuff)
4955 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4957 * text2.C (cursorEnd): simple fix to the "end key goes to one
4958 before the end on last row" bug
4960 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4962 * text.C (backspace): fix the "zombie characters"
4964 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4966 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4968 2003-10-27 André Pönitz <poenitz@gmx.net>
4970 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4972 * factory.C: handle new InsetPagebreak, InsetLine
4974 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4975 and move handling into new InsetPagebreak, InsetLine
4977 * BufferView_pimpl.C:
4979 * ParagraphParameters.C:
4980 * ParameterStruct.h:
4985 * paragraph_funcs.C:
4986 * paragraph_pimpl.C:
4992 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4995 * lyxrow_funcs.[Ch]:
5001 * text3.C: remove lastPos uses in favour of Row::endpos
5003 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5005 * undo.C (performUndoOrRedo): fix two crashes by setting a
5006 cursor by hand and reordering some calls. Use bv->lockInset instead
5007 of inset->edit because the latter loses cursor information
5009 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5011 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5013 (rowBreakPoint): fix width. change point to point + 1.
5014 Add a missing check.
5016 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5019 * lyxfunc.C: fix (at least partly) the problems
5020 with the Nav menu and headers inside branch insets
5023 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5025 * paragraph.C (getChar): add strong asserts
5027 * lyxrow_funcs.C (lastPos): remove hideous hack
5029 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5030 (fill): adjust to that (avoid an infinite loop)
5032 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5034 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5036 2003-10-23 André Pönitz <poenitz@gmx.net>
5038 * RowList_fwd.h: change list<> to vector<> to gain speed
5039 after suggestion from Alfredo
5041 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5043 * lyxtext.h: move the bidi stuff from here...
5046 * Bidi.[Ch]: ... to here
5048 2003-10-23 André Pönitz <poenitz@gmx.net>
5051 * text.C (isLastRow, isFirstRow): new functions
5053 * paragraph.h: new width cache member
5055 * rowpainter.C: replace RowList::iterator with Row & where possible
5057 * lyxfunc.C: replace several view()->text with a single call
5059 * toc.C: fix 'unused' warning
5061 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5063 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5064 when woring with stream::pos_type
5065 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5067 2003-10-22 André Pönitz <poenitz@gmx.net>
5070 * text.C: use Row & instead of RowList::iterator
5072 * lyxrow.h: rename end() to endpos()
5078 2003-10-22 Angus Leeming <leeming@lyx.org>
5080 * buffer.[Ch] (fully_loaded): new member function, returning true
5081 only when the file has been loaded fully.
5082 Used to prevent the premature generation of previews and by the
5083 citation inset to prevent computation of the natbib-style label.
5085 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5086 templates are all set up.
5088 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5090 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5092 * text.C: fixed an "oops" in the "is a bit silly"
5095 2003-10-21 André Pönitz <poenitz@gmx.net>
5097 * FuncStatus.[Ch]: small stuff, whitespace
5099 * lyxfont.[Ch]: operator<<() for debug reasons
5103 * lyxtext.h: whitespace, spelling
5105 * paragraph.C: naming of variables
5108 * text2.C: small stuff
5111 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5113 * text.C: (1) finish off the inset display() work;
5114 (2) fix the "is a bit silly" bug (accessing char
5117 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5119 * text.C: re-introduce display() for insets, fixing the
5120 various bugs (stretch of line above, math inset
5123 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5125 * text.C (rightMargin): remove spurious semicolon
5127 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5130 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5132 * text3.C: fix one crash due to wrong cursor def
5134 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5136 * vc-backend.C (scanMaster): make the regex static
5138 * LaTeX.C (scanAuxFile): make the regexs static
5140 * text3.C (doInsertInset, dispatch, dispatch):
5141 * text2.C (cursorUp, cursorDown):
5142 * text.C (selectNextWordToSpellcheck):
5143 * BufferView_pimpl.C (dispatch):
5144 * lyxfunc.C (dispatch): localDispatch -> dispatch
5146 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5148 * lyxsocket.C: include <cerrno>
5150 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5152 * lyxfunc.C (dispatch): remove textcache stuff
5154 * bufferlist.C (release): remove textcache stuff
5157 * TextCache.C: delete file
5158 * TextCache.h: delete file
5160 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5162 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5163 delete of the bv_->text.
5164 (resizeCurrentBuffer): remove texcache stuff
5165 (workAreaResize): ditto
5167 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5172 2003-10-16 André Pönitz <poenitz@gmx.net>
5179 * text3.C: speed up by storing y positions per paragraph plus per-row
5180 offset instead of having a 'full' y position in the row.
5182 2003-10-15 André Pönitz <poenitz@gmx.net>
5186 * undo.[Ch]: make undo aware of inner insets
5188 2003-10-14 Angus Leeming <leeming@lyx.org>
5190 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5191 static member functions LyX::ref() and LyX::cref.
5192 (lastfiles): new accessor functions for the new lastfiles_ member var.
5193 (addLyXView, views_): add a new LyXView to the list of views_.
5194 (updateInset): loop over all LyXViews to call their own updateInset
5195 member function, returning a pointer to the Buffer owning the inset.
5197 * BufferView_pimpl.C (loadLyXFile):
5198 * MenuBackend.C (expandLastfiles):
5199 * bufferlist.C (MenuWrite, QuitLyX):
5200 lastfiles is no longer a global variable.
5201 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5203 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5204 static function. Access through LyX::cref().emergencyCleanup().
5206 2003-10-14 André Pönitz <poenitz@gmx.net>
5208 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5210 * undo.[Ch]: restoring part of 'undo in insets'
5213 * undo_funcs.[Ch]: merge with undo.[Ch]
5215 * tabular.C: small cleansing stuff
5217 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5219 * paragraph_funcs.C (readParToken): report unknown insets as error
5220 boxes. Use the outer paragraph as location (also for unknown
5223 * factory.C (readInset): do not abort on reading an unknown inset.
5224 Eat it and return 0.
5226 2003-10-13 Angus Leeming <leeming@lyx.org>
5228 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5230 * lyxrc.C: displayTranslator is now a function,
5231 declared in GraphicsTypes.h.
5233 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5235 * format.C: new placeholder $$a to pass the socket address.
5237 * bufferlist.[Ch]: new function getBufferFromTmp.
5239 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5240 files in the temporary dir.
5242 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5244 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5246 * Makefile.am: add lyxsocket.[Ch].
5248 * lyx_main.C (error_handler): handle SIGPIPE.
5250 2003-10-13 André Pönitz <poenitz@gmx.net>
5252 * BufferView_pimpl.C:
5257 * undo_funcs.[Ch]: use paroffset_type instead of
5258 ParagraphList::iterators to prevent multiple conversion
5259 (and get a more robust interface)
5261 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5263 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5265 * text3.C (dispatch): ditto
5267 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5269 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5270 move the onlyfile, use onlyfile instead of foundfile in a couple
5273 * DepTable.C (update): flush the error stream a bit more
5275 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * lyxserver.C (callback): adjust
5279 * lyxfunc.C (getStatus): add a missing brace in commented code
5280 (ensureBufferClean): reindent
5281 (dispatch): delete version taking a string
5283 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5285 * LaTeX.C (deplog): move found file handlig from here...
5286 (handleFoundFile): .. to new function here.
5287 (deplog): make sure to discover several files mentioned on the
5290 2003-10-10 André Pönitz <poenitz@gmx.net>
5297 * text3.C: fix some of the tabular crashes
5299 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5301 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5303 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5305 2003-10-09 André Pönitz <poenitz@gmx.net>
5307 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5310 * BufferView_pimpl.C:
5311 * bufferview_funcs.C:
5322 * undo_funcs.C: adjust
5324 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5326 * text2.C (incrementItemDepth): new function, use a backtracking
5327 algorithm to discover the correct item depth.
5328 (resetEnumCounterIfNeeded): new function, use a backtracking
5329 algorithm to discover if counter reset is needed.
5330 (setCounter): use them. Simplify a bit. Add different labels for
5331 different item depths for itemize.
5333 * paragraph.C (Paragraph): remove initialization of enumdepth
5336 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5337 enumerate and itemize. Change the type of itemdepth to signed char.
5339 2003-10-08 André Pönitz <poenitz@gmx.net>
5341 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5346 * tabular.[Ch]: fix crash after 'row-insert'
5348 2003-10-08 Angus Leeming <leeming@lyx.org>
5350 Fix doxygen warnings.
5352 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5353 Remove CutAndPaste:: prefix from header file declaration.
5355 * LColor.h (fill): remove LColor:: prefix from declaration.
5357 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5358 use lyx::depth_type rather than Paragraph::depth_type so that
5359 header file and .C file match.
5361 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5363 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5364 * aspell.C: \file aspell_local.C -> \file aspell.C
5365 * gettext.C: \file gettext.C -> \file src/gettext.C
5366 * gettext.h: \file gettext.h -> \file src/gettext.h
5367 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5368 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5369 * text.C: \file text.C -> \file src/text.C
5371 * toc.C: move comment so that doxygen is not confused.
5373 2003-10-07 Angus Leeming <leeming@lyx.org>
5375 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5377 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5380 * aspell_local.h: add forgotten std::string's.
5382 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5389 * text3.C: The Box patch. Fancybox support, minipage, parbox
5391 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5397 * ParagraphParameters.h:
5407 * lyxtextclasslist.h:
5410 * paragraph_pimpl.C:
5411 * textcursor.h: add <string> and other small fixes to make Lars'
5412 std::string patch compile with STLport.
5414 2003-10-06 Angus Leeming <leeming@lyx.org>
5416 * LColor.h: Add missing #include <string>.
5418 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5420 * All most all file in all subdirs: Make <string> be the prefered
5421 way of getting to std::string, add using declarations.
5423 2003-10-06 André Pönitz <poenitz@gmx.net>
5425 * metricsinfo.C: initialize LyXFont before changing attribute.
5426 (fixes the 'math in \emph is upright' bug)
5428 2003-10-06 André Pönitz <poenitz@gmx.net>
5430 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5432 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5435 * paragraph_pimpl.C: Small fixes to build using STLport
5437 2003-10-02 André Pönitz <poenitz@gmx.net>
5440 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5442 2003-10-01 André Pönitz <poenitz@gmx.net>
5444 * factory.C: assert early
5446 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5448 * lyx_main.C: remove the global debug object
5450 * debug.h: adjust for new debugstream
5452 * debug.C: adjust for new debugstream and keep the global debug
5455 2003-09-22 Angus Leeming <leeming@lyx.org>
5457 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5458 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5459 an incomplete class LyXFont.
5461 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5463 * factory.C: bug fix in branches
5465 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5467 * lyxfunc.C (processKeySym): adjust
5469 (dispatch): change arg name from ev to func, adjust
5470 (sendDispatchMessage): ditto
5472 * lyx_main.C (defaultKeyBindings): adjust keybindings
5473 (deadKeyBindings): ditto
5475 * kbsequence.C (addkey): return a FuncRequest
5477 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5479 * kbmap.C (bind): take a FuncRequest as arg, adjust
5482 (defkey): change to take a FuncRequest as arg, adjust
5483 (findbinding): take a FuncRequest as arg, adjust.
5485 * funcrequest.h (operator=): added
5487 * funcrequest.C (FuncRequest): default kb_action changed from
5488 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5490 * buffer.C (dispatch): simplify
5491 (dispatch): adjust to take a FuncRequest as arg, adjust
5493 * boost.C (assertion_failed): change assertion message slightly
5495 * ToolbarBackend.C (read): simplify
5497 * MenuBackend.C (binding): adjust call to findbinding, add a
5498 message if no binding is found.
5500 (expandToc): correct by adding a empty FuncRequest
5502 * LyXAction.C: include <boost/assert.hpp>
5503 (isPseudoAction): delete function
5504 (LookupFunc): change name to...
5505 (lookupFunc): this. change return type to FuncRequest.
5506 (getActionName): take kb_action as arg, simplify
5507 (funcHasFlag): add an assert, simplify.
5509 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5511 * toc.C (action): return a FuncRequest, simplify
5513 * lyxfunc.C (processKeySym): adjust
5514 (getStatus): delete version that takes an int.
5516 (dispatch): delete version that takes action as int
5518 (sendDispatchMessage): simplify and adjust
5520 * funcrequest.C (getArg): take unsigned int as arg
5522 * ToolbarBackend.C (read): adjust
5523 (add): delete version that takes func as a string.
5524 (getIton): take a FuncRequest as arg
5526 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5529 * MenuBackend.C (MenuItem): add a new construct that only takes a
5530 Kind, simplify the constructor use for submenus.
5532 (expandLastfiles): adjust
5533 (expandDocuments): adjust
5534 (expandFormats): adjust
5535 (expandFloatListInsert): adjust
5536 (expandFloatInsert): adjust
5537 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5539 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5540 Remove class variables lyx_pseudo_map and lyx_arg_map
5542 * LyXAction.C (searchActionArg): delete function
5543 (getPseudoAction): delete function
5544 (retrieveActionArg): delete function
5545 (LookupFunc): make it return kb_action, simplify.
5546 (getActionName): simplify
5548 * factory.C (createInset): fix new bug
5550 2003-09-19 Angus Leeming <leeming@lyx.org>
5552 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5553 masterFilename_ parameter in the include inset.
5555 * factory.C (createInset): changes due to the changes to InsetInclude.
5557 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5559 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5561 2003-09-18 Angus Leeming <leeming@lyx.org>
5564 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5565 Inset::fillWithBibKeys.
5566 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5568 2003-09-18 Angus Leeming <leeming@lyx.org>
5570 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5572 (ctor): pass and store a 'Buffer const &'
5573 (buffer): new member function.
5575 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5576 '*this' to the LaTeXFeatures ctor.
5578 2003-09-18 Angus Leeming <leeming@lyx.org>
5584 * text.C: rename EnumLColor as LColor_color.
5586 2003-09-18 Angus Leeming <leeming@lyx.org>
5588 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5589 remove #include "insets/insetbase.h" from cursor.h.
5591 2003-09-18 Angus Leeming <leeming@lyx.org>
5593 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5594 InsetOld_code to remove #include "inset.h".
5596 * iterators.C: add #include "insets/inset.h"
5598 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5600 * BufferView.C: remove more locking stuff that apparently doesn't
5601 do anything sensible.
5603 2003-09-16 André Pönitz <poenitz@gmx.net>
5606 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5609 2003-09-16 Angus Leeming <leeming@lyx.org>
5611 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5613 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5616 * paragraph.h: remove #include "lyxfont.h". Forward declare
5619 2003-09-16 Angus Leeming <leeming@lyx.org>
5621 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5622 of support/textutils.h.
5623 (isWord): move the contents of support/textutils.h's IsWordChar here.
5629 * text2.C: add #include "paragraph.h".
5632 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5634 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5640 * LaTeX.C: use namespace alias for lyx::support::os
5642 2003-09-16 Angus Leeming <leeming@lyx.org>
5645 * bufferview_funcs.C:
5648 * paragraph_pimpl.C:
5650 * text.C: add #include "LColor.h".
5652 2003-09-16 Angus Leeming <leeming@lyx.org>
5654 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5655 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5657 Store the FontBits::color variable as an int rather than as an
5658 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5661 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5662 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5663 string calls together.
5665 * lyxrc.C: add #include "LColor.h".
5667 2003-09-15 Angus Leeming <leeming@lyx.org>
5669 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5672 2003-09-15 Angus Leeming <leeming@lyx.org>
5674 * LColor.h: add an EnumLColor wrapper for LColor::color.
5676 * lyxfont.[Ch] (color, setColor, realColor):
5677 * lyxtext.h, text.C (backgroundColor):
5678 pass EnumLColor args to/from the functions, rather than LColor::color
5682 * lyxtext.h: forward declare EnumLColor.
5684 * lyx_main.C: add #include "LColor.h".
5686 2003-09-15 Angus Leeming <leeming@lyx.org>
5688 * .cvsignore: add lyx-gtk.
5690 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5695 * ParagraphParameters.C
5699 * bufferview_funcs.C
5709 * vc-backend.C: remove usage of STRCONV
5711 2003-09-15 Angus Leeming <leeming@lyx.org>
5713 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5714 explicitly define the color passed to the painter.
5716 2003-09-15 Angus Leeming <leeming@lyx.org>
5718 * bufferparams.C (BufferParams): reorder member initializers to avoid
5721 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5723 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5724 * text.C (updateRowPositions): remove an unusual nop
5726 2003-09-12 André Pönitz <poenitz@gmx.net>
5728 * BufferView_pimpl.C:
5737 * Counters.[Ch]: finish the 'automatic counters' job
5739 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5741 * aspell.C: include <boost/assert.cpp> (compile fix)
5743 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5745 * boost.C (assertion_failed): use lyx::support::abort instead of
5748 2003-09-10 Angus Leeming <leeming@lyx.org>
5750 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5751 with their _fwd progeny.
5753 2003-09-09 Angus Leeming <leeming@lyx.org>
5755 134 files throughtout the source tree: replace 'using namespace abc;'
5756 directives with the appropriate 'using abc::xyz;' declarations.
5758 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5760 * boost.C (emergencyCleanup): moved here from LAssert.c
5761 (assertion_failed): new function, called by BOOST_ASSERT
5763 * several files: change Assert to BOOST_ASSERT
5765 2003-09-09 Angus Leeming <leeming@lyx.org>
5767 * buffer.[Ch]: Add an Impl class and move Buffer's member
5768 variables into it. As a result move several header files out of
5771 Add header files to lots of .C files all over the tree as a result.
5773 2003-09-09 Angus Leeming <leeming@lyx.org>
5775 * buffer.[Ch]: make Buffer's member variables private. Add
5778 Lots of changes all over the tree as a result.
5780 2003-09-08 Angus Leeming <leeming@lyx.org>
5782 * graph.C: #include <config.h>.
5784 2003-09-08 Angus Leeming <leeming@lyx.org>
5788 * BufferView_pimpl.C:
5817 * toc.C: remove redundant using directives.
5819 2003-09-07 Angus Leeming <leeming@lyx.org>
5821 * LaTeXFeatures.h: remove #include "support/types.h".
5822 * ToolbarBackend.h: remove #include <algorithm>.
5823 * changes.h: remove #include <ctime>.
5824 * debug.h: remove #include <iosfwd>.
5825 * graph.h: remove #include "support/std_string.h".
5826 * lyx_main.h: remove #include <csignal>.
5827 * lyxlex_pimpl.h: remove #include <fstream>.
5828 * sgml.h: remove #include <algorithm>, <utility>.
5829 * toc.h: remove #include "support/std_ostream.h".
5830 Add #include <iosfwd>.
5832 2003-09-07 Angus Leeming <leeming@lyx.org>
5834 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5836 * converter.h: forward declare LatexRunParams.
5837 * encoding.h: remove #include "lyxrc.h".
5838 * lyxtext.h: remove #include "LColor.h".
5839 * lyxtextclass.h: remove #include "support/types.h".
5840 * trans.h: remove #include "tex-accent.h".
5841 * trans_mgr.h: remove #include "tex-accent.h".
5842 * insets/inset.h: remove #include "support/types.h", <vector>.
5843 * insets/insetcollapsable.h: remove #include "LColor.h".
5844 * insets/insetinclude.h: remove #include "dimension.h".
5845 * insets/insetlatexaccent.h: remove #include "dimension.h".
5846 * insets/insetoptarg.h:: remove #include "insettext.h".
5847 * insets/insettext.h: remove #include "dimension.h",
5848 <boost/shared_ptr.hpp>
5850 * insets/renderers.h: add #include "dimension.h".
5851 * insets/updatableinset.h: add #include "support/types.h".
5853 * many .C files: Associated changes.
5855 2003-09-06 Angus Leeming <leeming@lyx.org>
5857 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5858 one, inside testInvariant.
5860 * PrinterParams.C: new file.
5861 * PrinterParams.[Ch]: move the function bodies out of line.
5863 2003-09-06 Angus Leeming <leeming@lyx.org>
5865 * ParagraphParameters.h: forward declare ParameterStruct rather than
5866 including its header file.
5867 (depth): moved out-of-line.
5869 2003-09-06 Angus Leeming <leeming@lyx.org>
5871 * BufferView_pimpl.h:
5874 * lyxfunc.h: forward declare LyXKeySym rather than
5875 #include "frontends/LyXKeySym.h".
5877 * BufferView_pimpl.C:
5880 * lyxfunc.C: associated changes.
5882 2003-09-06 Angus Leeming <leeming@lyx.org>
5884 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5885 As a result, can remove the #include "insets/inset.h" from BufferView.h
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>
5898 * bufferview_funcs.C:
5899 * BufferView_pimpl.C:
5904 * ParagraphParameters.C:
5909 * frontends/controllers/ControlDocument.C:
5910 * insets/insetcaption.C: rearrange the #includes into some sort of
5913 * buffer.h: remove #includes ErrorList.h, undo.h
5915 2003-09-06 Angus Leeming <leeming@lyx.org>
5917 * support/types.h: add a 'depth_type' typedef, used to store the
5918 nesting depth of a paragraph.
5921 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5922 defining explicitly.
5925 * paragraph_funcs.h:
5926 * ParagraphParameters.h:
5927 * sgml.h: use lyx::depth_type rather than Paragraph or
5928 ParameterStruct's depth_type.
5931 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5934 * BufferView_pimpl.C:
5936 * ParagraphParameters.C:
5939 * bufferview_funcs.C:
5946 * frontends/LyXView.C:
5947 * frontends/controllers/ControlDocument.C:
5948 * frontends/controllers/ControlErrorList.C:
5949 * insets/insetbibitem.C:
5950 * insets/insetbranch.C:
5951 * insets/insetcaption.C:
5952 * insets/insetcollapsable.C:
5953 * insets/insetenv.C:
5954 * insets/insetert.C:
5955 * insets/insetfloat.C:
5956 * insets/insetfoot.C:
5957 * insets/insetfootlike.C:
5958 * insets/insetnewline.C:
5959 * insets/insetquotes.C:
5960 * insets/insettabular.C:
5961 * insets/insettext.C:
5962 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5964 * frontends/controllers/ControlChanges.C: #include "changes.h".
5966 2003-09-06 Angus Leeming <leeming@lyx.org>
5968 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5969 than #including paragraph.h.
5972 * RowList.h: deleted. Superfluous.
5982 * insets/insettext.h: use ParagraphList_fwd.h rather than
5985 * paragraph.h: don't forward declare ParagraphList.
5988 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5989 rather than ParagraphList.h. paragraph.h is still needed for the
5990 Paragraph::depth_type parameters.
5992 * textcursor.h: enable it to compile stand-alone in light of the
5995 * bufferview_funcs.C:
6007 * frontends/controllers/ControlParagraph.C:
6008 * frontends/controllers/ControlTabular.C:
6009 * insets/insetmarginal.C:
6010 * insets/insetminipage.C:
6011 * insets/insetnote.C:
6012 * insets/insetoptarg.C: add header files needed to compile again.
6014 2003-09-06 Angus Leeming <leeming@lyx.org>
6016 * RowList_fwd.h: new file, forward-declaring Row rather than
6017 #including lyxrow.h.
6022 * insets/insettext.h: use it instead of RowList.h
6024 * bufferview_funcs.C:
6031 * text3.C: #include "RowList.h".
6033 2003-09-05 Angus Leeming <leeming@lyx.org>
6035 * factory.C (createInset):
6036 * vspace.C (c-tor): replace sscanf call with an istringstream.
6037 * ispell.C: re-add missing HP/UX headers.
6038 * lyxserver.C: re-add missing os2 headers.
6040 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6049 * text3.C: re-add missing system headers, needed for 2.95.2.
6051 2003-09-05 Angus Leeming <leeming@lyx.org>
6053 Changes most place everywhere due to the removal of using directives
6054 from support/std_sstream.h.
6056 2003-09-05 Angus Leeming <leeming@lyx.org>
6058 Replace LString.h with support/std_string.h,
6059 Lsstream.h with support/std_sstream.h,
6060 support/LIstream.h with support/std_istream.h,
6061 support/LOstream.h with support/std_ostream.h.
6063 Changes resulting throughout the tree.
6065 2003-09-05 Angus Leeming <leeming@lyx.org>
6067 * sgml.h: ensure that the header file can be compiled stand-alone.
6068 * *.C: strip out redundant #includes. (320 in total.)
6070 2003-09-04 Angus Leeming <leeming@lyx.org>
6072 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6073 here (from getPackages).
6075 * debug.[Ch]: add a new EXTERNAL tag.
6077 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6079 * text2.C (cursorEnd): simplify
6081 (getColumnNearX): adjust
6083 * text.C (computeBidiTables): adjust
6086 * rowpainter.C (paintChars): adjust
6087 (paintSelection): adjust
6088 (paintChangeBar): adjust
6091 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6093 (numberOfSeparators): adjust
6095 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6101 * text3.C: Restricts the mouse click functionality
6102 of insets like bibtex, include, toc and floatlist to the visible
6103 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6104 up the dialogs. Cursor has to be in front of the inset (i.e.
6105 start of row) for this to function.
6107 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6109 * bufferview_funcs.C (currentState): output row information
6111 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6113 * bufferview_funcs.C (currentState): output paragraph position
6115 2003-09-04 Angus Leeming <leeming@lyx.org>
6117 * FloatList.h: move out #include "Floating.h".
6118 * LaTeX.h: move out #include "DepTable.h".
6119 * LyXAction.h: move out #include "funcrequest.h".
6120 * buffer.h: move out #include "author.h", "iterators.h".
6121 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6122 * lyx_main.h: move out #include "errorlist.h".
6123 * lyxfunc.h: move out #include "FuncStatus.h".
6124 * lyxtext: move out #include "lyxcursor.h".
6125 * paragraph_pimpl.h: move out #include "counters.h".
6127 2003-09-03 Angus Leeming <leeming@lyx.org>
6129 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6130 preamble_snippets list, enabling us to add snippets to the preamble
6131 only if the snippet was not there already.
6133 2003-09-04 Angus Leeming <leeming@lyx.org>
6135 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6137 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6139 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6142 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6144 * BranchList.C: point fix, earlier forgotten
6146 2003-09-02 Angus Leeming <leeming@lyx.org>
6148 * box.C (contains): renamed from 'contained' after a fantastic
6151 2003-09-02 John Levon <levon@movementarian.org>
6157 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6159 2003-09-02 John Levon <levon@movementarian.org>
6161 * text2.C: simplification of cursorEnd(), including partial
6164 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * buffer.C (readFile): add a space
6168 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6170 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6172 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6174 * buffer.C (readFile): new function, take a filename and a
6175 ParagraphList::iterator
6177 (readFile): adjust, make it private. don't use setStream, make
6178 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6179 always contain the filename.
6181 * BufferView.C (insertLyXFile): simplify and make it work for
6184 2003-08-30 John Levon <levon@movementarian.org>
6186 * Makefile.am: fix dist (from Kayvan)
6188 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6190 * most files: change to use const Buffer refs
6192 2003-08-27 André Pönitz <poenitz@gmx.net>
6194 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6195 on top of ownerPar().
6197 2003-08-27 John Levon <levon@movementarian.org>
6199 * funcrequest.C: properly initialise POD members
6201 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6203 * lyxtext.h (top_y): move top_y from here
6208 * BufferView_pimpl.[Ch]: to here
6209 * frontends/screen.C:
6210 * insets/insettabular.C:
6211 * insets/insettext.C: adjust
6212 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6214 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6217 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6219 2003-08-26 André Pönitz <poenitz@gmx.net>
6221 * paragraph_func.[Ch] (outerPar): new function
6224 * paragraph_funcs.C:
6225 * paragraph_funcs.h:
6226 * paragraph_pimpl.C:
6227 * text2.C: remove Inset::par_owner
6229 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6234 * text2.C: eliminates the needFullRow/display() stuff
6235 altogether, putting the logic in metrics/draw in the insets.
6237 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6239 * text2.C (redoParagraphInternal, redoParagraphs):
6240 * text.C (redoParagraph): add a call to updateRowPositions at the
6241 end of each 'metrics-like' call. Remove all others.
6242 (getRow): remove the 'y-computing' version.
6243 (getRowNearY): do not compute nor return the real y. Solve the
6244 'y < 0' problem and simplify.
6246 2003-08-22 Angus Leeming <leeming@lyx.org>
6248 * *.[Ch]: clean-up of licence and author blurbs.
6249 Also move config.h out of a few .h files and into a few .C files.
6251 2003-08-22 André Pönitz <poenitz@gmx.net>
6253 * lyxrow.[Ch]: add x_ and *fill_ members
6258 * text2.C: adjust/remove prepareToPrint() calls
6260 2003-08-22 André Pönitz <poenitz@gmx.net>
6262 * lyxrow.[Ch]: add end_ member
6264 * lyxrow_funcs.C: use LyXRow::end_
6266 * lyxtext.h (singleWidth): add LyXFont parameter
6269 * text2.C: adjust LyXText::singleWidth() calls
6271 * text.C (redoParagraph): simplify row breaking logic
6274 2003-08-19 André Pönitz <poenitz@gmx.net>
6276 * funcrequest.C: initialize button_ member
6279 * rowpainter.[Ch]: interface consolidation
6281 2003-08-18 André Pönitz <poenitz@gmx.net>
6284 * BufferView_pimpl.C:
6286 * paragraph_funcs.C:
6288 * text3.C: remove LyXScreen::draw() and fitCursor calls
6290 * BranchList.h: remove spurious semicolons
6292 * MenuBackend.C: fix branchlist related crash
6294 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6302 * bufferparams.[Ch]:
6306 * text3.C: implements the 'branch inset'
6307 idea. This allows the output of various versions of a document
6308 from a single source version, selectively outputing or suppressing
6309 output of parts of the text.
6310 This implementation contains a 'branch list editor' in a separate
6311 tab of the document settings dialog. Branches are user definable
6312 and have a "display colour" to distinguish them on-screen.
6314 ColorHandler was somewhat cleaned up.
6315 (1) make possible a dynamically growing LColor list by allowing
6316 the graphic context cache to grow along (vector);
6317 (2) eliminate an IMHO unnecessary step in colour allocation.
6319 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6321 * BufferView_pimpl.C: compile fix
6323 2003-08-15 André Pönitz <poenitz@gmx.net>
6325 * rowpainter.C: remove extra metrics calls
6327 * lyxtext.h: merge the two constructors into a single one,
6328 pass reference to owner's par list
6330 * BufferView_pimpl.C:
6334 2003-08-15 André Pönitz <poenitz@gmx.net>
6336 * lyxrow_funcs.[Ch]:
6339 * paragraph_funcs.C:
6344 * text_funcs.C: split LyXText::rowlist_ into individual
6345 Paragraph::rows_ chunks
6348 * BufferView_pimpl.[Ch]:
6351 * text3.C: remove toggleSelection()
6353 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6355 * bufferlist.C: beautify two alerts (shorter text of buttons)
6356 * buffer.C: Remove redundant ' ' from message
6358 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6359 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6360 rename VALIGN_CENTER to VALIGN_MIDDLE
6362 2003-08-11 André Pönitz <poenitz@gmx.net>
6364 * lyxtext.h (getPar):
6365 * text.C: new function
6367 2003-08-11 André Pönitz <poenitz@gmx.net>
6370 * tracer.[Ch]: remove unneeded files
6372 * InsetList.[Ch]: remove resizeInsetsLyXText()
6377 * text3.C: merge insertParagraphs() and appendParagraph()
6378 remove breakAgain(), update()
6380 * BufferView_pimpl.[Ch]:
6381 * bufferview_funcs.[Ch]:
6385 * tabular.C: adjust after text & InsetList changes.
6387 2003-08-08 André Pönitz <poenitz@gmx.net>
6389 * text.C (insertChar, backspace): replace rowlist fiddling
6390 with rebreak of full par
6393 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6394 checkParagraph, updateInset): removed
6396 2003-08-07 André Pönitz <poenitz@gmx.net>
6399 * text3.C: merge some LFUN handlers, remove dead code
6401 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6403 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6405 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6407 * text2.C (DEPM): fix part of bug 1255 and 1256
6409 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6411 * BufferView_pimpl.C (workAreaDispatch): change to use
6412 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6413 that are no mouse related.
6415 2003-08-05 André Pönitz <poenitz@gmx.net>
6418 * BufferView_pimpl.[Ch]:
6419 * bufferview_funcs.C:
6421 * text3.C: rip out "deep update"
6423 * textcursor.[Ch] (last_sel_cursor): remove unused member
6425 2003-08-04 André Pönitz <poenitz@gmx.net>
6428 * BufferView_pimpl.[Ch]:
6429 * ParagraphParameters.C:
6430 * bufferview_funcs.C:
6436 * text3.C: replace "complicated" BufferView::update(...) calls with
6439 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6441 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6443 * Makefile.am (lyx_SOURCES): add paper.h
6445 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6447 * Makefile.am: move things around so that both lyx-qt and
6448 lyx-xforms can be built (according to --with-frontend). Then lyx
6449 is a symbolic link to lyx-[firstfrontend]
6451 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6453 * Always use std::endl with lyxerr
6455 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6457 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6459 2003-08-01 André Pönitz <poenitz@gmx.net>
6462 * BufferView_pimpl.[Ch]:
6464 * text3.C: merge BufferView::repaint() and BufferView::update()
6466 2003-08-01 José Matos <jamatos@lyx.org>
6468 * buffer.[Ch]: file_format is no longer a buffer data element.
6470 2003-08-01 André Pönitz <poenitz@gmx.net>
6475 * text2.C: make redoParagraph more independent of current cursor
6477 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6479 * text2.C: remove unneeded members
6481 2003-07-30 André Pönitz <poenitz@gmx.net>
6483 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6485 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6486 create a single function...
6488 * paragraph_funcs.C (moveItem): ... here.
6491 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6493 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6495 * LColor.[Ch]: Add comment and greyedout logical colors.
6497 2003-07-30 André Pönitz <poenitz@gmx.net>
6499 * tabular.C: don't use Assert too heavily. This crashes where it
6502 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6504 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6505 is disabled (bug 1232)
6507 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6509 * factory.C: limited 'arg' scope
6511 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6513 * factory.C: fixed Note submenu issues
6515 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6517 * factory.C: submenu for Note/Comment/Greyedout
6519 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6522 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6524 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6527 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6528 greyedout. Patch provided by Jürgen Spitzmüller.
6530 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6532 * kbmap.C (read): fix error message when reading bind files
6534 2003-07-29 Angus Leeming <leeming@lyx.org>
6536 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6537 certainly does not do what it purports to do. I am doing it, and
6538 us, a favour by killing it.
6540 2003-07-28 José Matos <jamatos@lyx.org>
6542 * buffer.C (readBody, do_writeFile):
6543 * paragraph.C(readParagraph): \end_document replaces \the_end.
6545 2003-07-29 André Pönitz <poenitz@gmx.net>
6548 * BufferView_pimpl.[Ch]:
6552 * textcursor.[Ch]: remove toggleToggle & Co
6554 2003-07-28 José Matos <jamatos@fep.up.pt>
6556 * buffer.C (readParagraph):
6557 * params_func (readParToken, readParagraph):
6558 * paragraph.C (write): \layout -> \begin_layout.
6560 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6562 * lyxlex_pimpl.C (setFile): clean up slightly.
6564 * bufferparams.h: add compressed var
6566 * buffer_funcs.C (readFile): adjust for LyXLex change
6567 (newFile): ditto + simplify
6569 * buffer.C (writeFile): handle writing of compressed files
6571 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6572 Check if the file is compressed and set a bufferparm if so.
6574 * Makefile.am (lyx_LDADD): remove explicit -lz
6576 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6578 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6579 makeDocBookFile): put the real LyX version in the first line of
6583 * version.C.in: remove lyx_docversion
6585 * tabular.C (write_attribute): add a template-based version to
6586 write enums properly
6588 2003-07-28 André Pönitz <poenitz@gmx.net>
6593 * text3.C: use doubles again for x-coordinates. They are needed.
6595 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6597 * messages.C (getLocaleDir): use lyx_localedir()
6599 * lyxlex_pimpl.C (setFile): compress stuff
6601 * buffer.C (writeFile): add some compression stuff
6602 (do_writeFile): new func, dont call expliti close... will this
6605 * Makefile.am (lyx_LDADD): add -lz
6607 2003-07-28 José Matos <jamatos@fep.up.pt>
6609 * buffer.C: increment file format.
6610 * paragraph_funcs (readParagraph, readParToken):
6611 * paragraph.C (readParagraph): add \end_layout.
6613 2003-07-27 Angus Leeming <leeming@lyx.org>
6615 * Makefile.am: remove special casing for configure-time setting of
6616 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6618 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6619 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6621 2003-07-26 André Pönitz <poenitz@gmx.net>
6623 * paragraph_func.[Ch]:
6624 * paragraph.C (realizeFont): inline it whereever it is used
6629 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6632 2003-07-26 André Pönitz <poenitz@gmx.net>
6636 * text2.C: get rid of LyXText::need_break_row
6638 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6640 * toc.[Ch]: put namespace toc inside namespace lyx
6642 * MenuBackend.C (expandToc2): adjust for lyx::toc
6645 * lyxfunc.C (dispatch): adjust for lyx::find
6647 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6648 lyx::find instead. Reorganize a bit.
6649 (LyXReplace): rename to replace
6650 (LyXFind): rename to find
6652 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6655 2003-07-26 André Pönitz <poenitz@gmx.net>
6657 * text.C (setHeightOfRow): restrict scope of temporary variable
6659 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6660 code (never has been used?)
6662 2003-07-27 Asger Alstrup <alstrup@local>
6664 * text.C (fill): Optimise algorithm to exploit that we can reuse
6665 the LyXFont for many characters.
6666 (setHeightOfRow): Same thing.
6667 (rowBreakPoint): Same thing.
6669 2003-07-26 Asger Alstrup <alstrup@local>
6671 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6673 * text.C (singleWidth): Spurious font copying in hot-spot
6674 singleWidth avoided. Reorder tests for arabic for efficiency.
6676 * text.C (fill): handle empty paragraphs better.
6678 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6681 * encoding.h: add includes
6683 * lyxrc.C: remove reading of bind files
6685 * lyx_main.C (init): setup bindings and menus only if we have a
6688 * kbmap.C (read): new method. Do the actual reading of bind
6691 * converter.C (dvipdfm_options):
6694 (output): adapt PAPER_* enums.
6696 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6698 * bufferparams.h: remove paper-related enums from there
6700 * paper.h: New file. A trivial header file to hold paper-related
6701 enums. It should later expand to contain many paper-related
6704 * lyxrc.C: declare extern displayTranslator
6706 2003-07-27 José Matos <jamatos@fep.up.pt>
6708 * tabular.[Ch] (linuxdoc): add support for tables and figures
6711 2003-07-27 José Matos <jamatos@fep.up.pt>
6713 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6714 consistency in both functions.
6715 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6717 2003-07-26 Asger Alstrup <alstrup@local>
6719 * rowpainter.C (paintRows): Change algorithm to work directly on
6720 the insets rather than asking every character in the document
6721 whether its an inset.
6723 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6725 * buffer.C (openFileWrite): factorize some code
6727 2003-07-26 Angus Leeming <leeming@lyx.org>
6730 * lyx_main.[Ch]: replace occurances of system_tempdir with
6733 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6735 * rename Inset to InsetOld
6737 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6739 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6740 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6741 which I think is a bit clearer. EDIT is gone, since it was
6742 premature optimisation, and broken for mathed anyway.
6743 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6744 with cursor positioning in insets as well (math insets still do not
6745 work, but that's a different story anyway.) It mysteriously
6746 crashes sometimes with undo in the first paragraph, but I'm fairly
6747 confident that this is a compiler bug.
6749 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * paragraph.C (Paragraph): adjust for new clone return type
6753 (copyIntoMinibuffer): ditto
6755 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6757 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6758 by not having a special case, and always doing a full rebreak of
6759 the document after undo.
6761 2003-07-23 Angus Leeming <leeming@lyx.org>
6763 * factory.C (createInset): InsetExternal::setParams now takes a
6766 2003-07-23 Angus Leeming <leeming@lyx.org>
6768 * factory.C (createInset): changed interface to the external and
6769 graphics mailers' string2params functions.
6771 2003-07-23 Angus Leeming <leeming@lyx.org>
6773 * factory.C (createInset): pass a
6774 Buffer const * parameter to InsetExternalMailer's string2params.
6776 2003-07-22 John Levon <levon@movementarian.org>
6778 * Thesaurus.h: include the right aiksaurus header
6780 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6782 * MenuBackend.C (expand): check menu shortcuts unconditionally
6784 2003-07-21 Angus Leeming <leeming@lyx.org>
6786 * factory.C (createInset): pass a
6787 buffer_path parameter to InsetGraphicsMailer's string2params.
6789 2003-07-21 Angus Leeming <leeming@lyx.org>
6791 * BufferView_pimpl.C (buffer):
6794 * lyxfunc.C (dispatch):
6795 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6796 rather than the grfx shortcut.
6798 2003-07-21 André Pönitz <poenitz@gmx.net>
6800 * rowpainter.C: remove unused variables
6803 * tabular_funcs.h: move to tabular.C
6804 * Makefile.am: adjust
6806 * tabular.[Ch]: basic optical cleaning
6808 * author.h: pass references, not values
6810 2003-07-18 André Pönitz <poenitz@gmx.net>
6818 * text3.C: two-phase drawing for InsetText and InsetTabular
6819 some float -> int changes.
6821 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6823 * lyx_main.C: fix the fix
6825 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6827 * lyx_main.C: fix a crash in batch mode if no files specified
6830 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6832 * format.[Ch] (papersize): moved to BufferParams
6833 * converter.[Ch] (dvips_options): moved to BufferParams
6834 (dvipdfm_options): moved to anon namespace
6835 * bufferparams.[Ch]: added above functions.
6837 2003-07-17 André Pönitz <poenitz@gmx.net>
6841 * text2.C: don't call inset->update() anymore
6843 * metricsinfo.[Ch]: add convenience constructor
6845 2003-07-16 André Pönitz <poenitz@gmx.net>
6850 * text2.C: replace the LyXCursor::irow_ member with
6851 on-demand computation of the value
6853 2003-07-16 John Levon <levon@movementarian.org>
6855 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6857 2003-07-15 André Pönitz <poenitz@gmx.net>
6860 * text2.C: remove no more needed refresh_row
6862 2003-07-15 André Pönitz <poenitz@gmx.net>
6867 * text3.C: refresh_status tristate -> need_update bool
6869 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6871 * lyxtext.h (init): remove reinit argument (act as if always true)
6872 * text2.C: adjust to that
6874 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6876 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6877 * text3.C: use it to delete selections in some cases
6878 (bugs 441, 673, 702, 954).
6880 2003-07-14 André Pönitz <poenitz@gmx.net>
6882 * rowpainter.[Ch]: reduce interface
6884 2003-07-14 André Pönitz <poenitz@gmx.net>
6886 * BufferView_pimpl.C:
6887 * text2.C: adjust after removing unused BufferView * argument
6889 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6891 * text2.C (init): fix a crash fired on resize
6893 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6895 * buffer.[Ch]: added new closing signal
6896 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6897 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6898 BufferView::Pimpl via the closing the signal
6900 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6902 * buffer.[Ch]: take out all bv-related from buffer
6904 * BufferView_pimpl.[Ch]: connect to new signals
6905 * CutAndPaste.C: removed useless asserts
6906 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6909 * lyxfunc.C: moved view-related funciontality from vc here
6910 * paragraph.C: removed outdated comments
6913 2003-07-10 André Pönitz <poenitz@gmx.net>
6915 * BufferView_pimpl.C:
6919 * text2.C: remove InsetText::InnerCache, clean up consequences
6921 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6923 * ispell.C: fix two typos in error messages
6925 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6927 * Extend Note inset to other forms of annotation like Comment
6928 and Greyedout. Right button click gives dialog.
6930 Files modified or added (+):
6934 * ControlNote.[Ch] +
6936 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6937 frontends/controllers
6941 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6943 * aspell.C: add missing namespace lyx::support
6945 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6947 * BufferView.[Ch] (newFile): Add
6948 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6949 * LaTeX.[Ch] (message): added this signal and use it
6950 * buffer.[Ch] (busy, message): added these signals and use them
6951 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6955 * importer.C: use buffer signals instead of direct bv calling
6956 * lyx_cb.[Ch] (ShowMessage): removed
6959 * paragraph_funcs.C:
6960 * text2.C: use buffer signals
6962 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6964 * introduce namespace lyx::graphics
6966 2003-07-02 André Pönitz <poenitz@gmx.net>
6968 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6970 2003-07-01 André Pönitz <poenitz@gmx.net>
6977 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6978 text*.C to text_func.C
6980 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6982 * introduce namespace lyx::support
6984 2003-06-30 André Pönitz <poenitz@gmx.net>
6989 * text.C: re-enable --with-included-string
6991 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6993 * textcursor.C: add <config.h>
6995 * text.C (getWord): remove const from word_location arg
6997 * lyxvc.C (getLogFile): fix const type order
6999 * lyxtext.h: remove const from word_location arg, add arg name
7001 * lyxlayout.h: currect type on labeltype.
7003 * importer.C: correct \file
7005 * converter.C (intToFormat): use std:: on ret val, ws changes
7007 * bufferlist.h: correct \file
7009 * buffer.C (makeLinuxDocFile): fix const type order
7010 (makeDocBookFile): ditto
7011 (fillWithBibKeys): use std:: on stdlib args.
7013 * CutAndPaste.C: fix authors.
7014 (availableSelections): use std:: on return vector
7016 2003-06-27 André Pönitz <poenitz@gmx.net>
7018 * BufferView_pimpl.C:
7019 * bufferview_funcs.C:
7027 * text3.C: remove LyXCursor::row_ member
7030 * text.C: rename fullRebreak() to partialRebreak() and implement
7031 a fullRebreak() that really bereks fully
7033 * textcursor.h: new struct for cursor-related data
7035 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7037 * lyx_main.C (LyX): get full path of document loaded on the
7040 2003-06-26 André Pönitz <poenitz@gmx.net>
7042 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7043 remove unused/broken operator>,<,>=.
7045 * text.C: remove only use of broken operator<= in an Assert().
7047 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7049 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7050 moved errorlist_.clear to showErrorList
7052 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7054 * converter.C (scanLog, runLaTeX):
7055 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7056 move the bv->showErrorList call to the callers
7057 * lyxfunc.C: i.e. here...
7059 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7060 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7061 namespace, the second to...
7062 * buffer_funcs (BufferFormat, parseErrors): added
7063 * errorlist.C (ErrorList(TeXErrors const &)): removed
7065 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7067 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7069 2003-06-24 "Garst R. Reese" <reese@isn.net>
7073 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7075 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7077 * version.C.in: change docversion to 1.4
7079 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7081 * buffer.C: fix a bug just introduced
7083 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7085 * buffer.[Ch]: added the parseError signal and use it, removed
7087 * BufferView.[Ch] (addError): moved to ...
7088 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7089 to the Buffer::parseError signal to catch (guess what) parse errors
7090 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7092 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7094 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7095 ability to create a buffer and to return an existing one from
7096 the list. Moved these functions to...
7097 * buffer_funcs.[Ch]: added
7098 * BufferView.[Ch] (loadLyXFile): added
7099 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7100 job removed from bufferlist::loadLyXFile.
7101 * buffer.C (setReadOnly): make it work without view
7102 (i.e added an if (users))
7104 2003-06-19 Angus Leeming <leeming@lyx.org>
7107 * LyXAction.C (init):
7108 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7109 with LFUN_DIALOG_SHOW <name> <data>.
7111 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7113 * CutAndPaste.C (availableSelections): small compilation fix for
7114 ancient (gcc 2.9x) compilers
7116 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * text3.C (cursorNext): add tmp var
7120 * text2.C (updateCounters): for function calling out of for clause
7121 (replaceSelectionWithString): ditto
7122 (insertStringAsParagraphs): ditto
7123 (getColumnNearX): add tmp var
7124 (setCursorFromCoordinates): add tmp var
7125 (cursorDownParagraph): add tmp var
7126 (deleteEmptyParagraphMechanism): add tmp var
7128 * text.C (insertChar): add tmp var
7130 * rowpainter.C (paintDepthBar): add tmp var
7132 * CutAndPaste.C (availableSelections): potentially check all
7133 paragraphs in a cut to fill the shown strings.
7135 2003-06-18 André Pönitz <poenitz@gmx.net>
7137 * kbmap.[Ch]: use vector<> instead of list<>
7139 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7141 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7142 pasteSelection with index
7144 * text2.C (pasteSelection): modify, call pasteSelection with index
7146 * paragraph.C (asString): reimplement version with no interval to
7147 call the one with interval.
7149 * lyxtext.h: add index arg to pasteSelection
7151 * MenuBackend.C (MenuItem): handle PasteRecent
7152 (Menu::read::Menutags): add md_pasterecent
7154 (expandPasteRecent): new function
7157 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7159 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7161 (availableSelections): new function
7163 2003-06-17 Angus Leeming <leeming@lyx.org>
7165 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7167 2003-06-17 Angus Leeming <leeming@lyx.org>
7170 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7172 * lyxfunc.C (dispatch): invoke it.
7174 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7176 * iterators.C (operator++, ParPosition): reintroduce some
7177 const_cast for the benefit of older compilers.
7179 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7181 * text3.C (dispatch): do not modify clipboard when doing
7182 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7183 LFUN_DELETE_SKIP on a selection selection
7185 2003-06-16 André Pönitz <poenitz@gmx.net>
7191 * tabular.[Ch]: IU of clone() and getLabelList();
7193 2003-06-13 André Pönitz <poenitz@gmx.net>
7195 * tabular.h: compactification
7197 2003-06-12 André Pönitz <poenitz@gmx.net>
7201 * tabular_funcs.h: some renaming plus whitespace
7203 2003-06-12 André Pönitz <poenitz@gmx.net>
7206 * BufferView_pimpl.C:
7212 * toc.C: Return a Paragraph & for ParIterator::operator*()
7214 2003-06-11 John Levon <levon@movementarian.org>
7218 * ToolbarBackend.C: add "Toolbars" section and
7221 2003-06-10 Angus Leeming <leeming@lyx.org>
7224 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7226 * lyxfunc.C (dispatch): invoke it.
7228 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * main.C: protect <ios> with HAVE_IOS
7231 (main): protect sync_with_stdio with HAVE_IOS
7233 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7235 * text2.C (cutSelection): adjust
7236 (pasteSelection): adjust
7238 * messages.C: handle get of empty string
7240 * main.C (main): use sync_with_stdio(false)
7242 * lyxfunc.C (dispatch): adjust
7244 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7245 (WriteAs): remove unneeded BufferView arg.
7247 * bufferparams.h: use correct types on papersize, papersize2 and
7250 * bufferparams.C (readToken): adjust for type
7251 (writeLaTeX): add missing cases to switch.
7253 * bufferlist.C (quitWriteBuffer): adjust
7256 * buffer.C (asciiParagraph): remove some commented code.
7258 * CutAndPaste.C: remove current_view extern variable.
7259 (cutSelection): add BufferParams arg.
7260 (eraseSelection): add BufferParams arg.
7261 (pasteSelection): add Buffer const & arg
7263 2003-06-07 John Levon <levon@movementarian.org>
7266 * paragraph_funcs.C:
7267 * paragraph_pimpl.C:
7271 * paragraph.C: allow InsetERT to freely space lines,
7272 and some consolidation of code
7274 2003-06-06 José Matos <jamatos@fep.up.pt>
7276 * buffer.C (makeDocBookFile): fix bug #821
7278 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7280 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7282 2003-06-04 Angus Leeming <leeming@lyx.org>
7284 * buffer.C: bump format to 224.
7286 2003-06-05 André Pönitz <poenitz@gmx.net>
7288 * text2.C (redoParagraphs): remove two const_cast<>
7290 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7292 * ParagraphList.h: remove last remnants of NO_STD_LIST
7294 2003-06-03 Angus Leeming <leeming@lyx.org>
7296 * factory.C (createInset): small change to the way InsetExternal's params
7299 2003-06-04 André Pönitz <poenitz@gmx.net>
7301 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7303 * paragraph_pimpl.h:
7304 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7306 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7308 * undo_funcs.C: make some simple cases of undo work again
7310 2003-06-03 John Levon <levon@movementarian.org>
7312 * ispell.C: HPUX doesn't have sys/select.h
7315 2003-06-03 John Levon <levon@movementarian.org>
7317 * CutAndPaste.C: update tabular and include inset
7322 * paragraph.C: remove owningBuffer(), don't pass Buffer
7325 * factory.C: insetGraphicsParams changed
7327 2003-06-02 John Levon <levon@movementarian.org>
7333 * text3.C: remove insetparent
7335 2003-06-02 John Levon <levon@movementarian.org>
7338 * buffer.C: fix inset_iterator.end(), move out of line
7341 2003-06-01 John Levon <levon@movementarian.org>
7343 * text3.C: use a proper cut/paste when doing inset
7344 insert (from Jürgen Spitzmüller)
7346 2003-06-01 John Levon <levon@movementarian.org>
7348 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7350 2003-05-30 André Pönitz <poenitz@gmx.net>
7352 * rowpainter.C: unify second drawing phase
7354 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7356 * trans_mgr.C: remove one case of current_view
7358 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7360 * paragraph_funcs.h: remove paragraph.h include
7362 * paragraph.h: delete NO_STD_LIST stuff
7364 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7366 * buffer.h: remove paragraph.h include
7368 * ParagraphList.C: delete file
7370 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7372 * toc.C (getTocList): adjust
7374 * paragraph_pimpl.C (validate): adjust
7376 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7378 * paragraph.C (Paragraph): adjust
7379 (getPositionOfInset): use const_iterator, adjust
7380 (bibitem): use const_iterator, adjust
7381 (setInsetOwner): adjust
7383 * iterators.C (operator++): adjust
7385 * InsetList.[Ch]: Replace selfmade iterator with standard
7386 vector::iterator also introduce const_iterator. Remove getPos,
7387 getInset and setInset from InsetTable. Adjust accordingly.
7389 * BufferView.C (lockInset): adjust
7390 (ChangeInsets): adjust
7392 * tabular.[Ch]: delete commented same_id functions
7394 2003-05-28 John Levon <levon@movementarian.org>
7396 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7398 2003-05-28 André Pönitz <poenitz@gmx.net>
7400 * metricsinfo.[Ch]: remove 'fullredraw' member
7402 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7404 * lyxtextclass.C (operator): remove caching.
7406 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7410 * text2.C (cursorBottom): adjust
7411 (setCounter): use ParagraphList::find, adjust
7413 * text.C (workWidth): use ParagraphList::find, adjust
7415 * lyxcursor.C (LyXCursor): adjust
7417 * buffer.C (inset_iterator): adjust
7419 * ParagraphList.h: make iterator(value_type) private, make
7420 ParagraphList a friend of iterator.
7422 * ParagraphList.C (find): new function
7424 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7426 2003-05-27 André Pönitz <poenitz@gmx.net>
7428 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7430 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7432 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7434 2003-05-26 John Levon <levon@movementarian.org>
7436 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7438 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7440 * remove same_id from function signatures, adjust.
7442 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7444 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7446 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7448 * paragraph.C (Paragraph): get rid of same_ids parameter
7450 * ParagraphList.C (insert): adjust
7453 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7455 * paragraph_funcs.C (breakParagraph): adjust
7456 (breakParagraphConservative): adjust
7458 * buffer.C (readParagraph): adjust
7460 * ParagraphList.C (insert): take a reference instead of a pointer
7463 * paragraph.[Ch] (id): new function
7465 * bufferlist.C (newFile): adjust
7467 * ParagraphList.C (ParagraphList): adjust
7469 (push_back): take a reference instead of a pointer.
7471 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7473 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7476 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7477 set else use old code.
7479 * ParagraphList.C: remove all NO_NEXT code and only compile this
7480 code of NO_STD_LIST is set.
7482 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7484 * BufferView_pimpl.C:
7494 * graphics/GraphicsConverter.C:
7495 * graphics/PreviewLoader.C: header adjustment
7497 2003-05-23 Angus Leeming <leeming@lyx.org>
7499 * LaTeXFeatures.[Ch] (useBabel): new method.
7500 * bufferparams.C (writeLaTeX): use it.
7502 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * ParagraphList.h (set): remove unused function.
7506 2003-05-23 André Pönitz <poenitz@gmx.net>
7509 * BufferView_pimpl.C:
7513 * undo_funcs.C: setUndo reworked
7515 * iterators.[Ch]: add access to topmost ParagraphList
7517 * lyxtext.[Ch] (workWidth): add a const
7519 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7521 * texrow.[Ch] (increasePos): remove function
7522 * exporter.C (export): removed unused var and outdated comment
7524 2003-05-23 Angus Leeming <leeming@lyx.org>
7526 * latexrunparams.h: rename fragile as moving_arg.
7527 * paragraph.C (simpleTeXOnePar): ditto.
7528 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7530 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7532 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7534 (textUndoOrRedo): comment out a currently unused var.
7536 * paragraph.h (NO_NEXT): enable NO_NEXT
7538 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7540 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7542 * exporter.C (Export): adjust for removeAutoInsets removal.
7544 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7546 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7548 * BufferView.[Ch] (removeAutoInsets): delete function
7550 2003-05-22 Angus Leeming <leeming@lyx.org>
7552 * latexrunparams.h: add a free_spacing variable.
7554 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7555 to pass moving_arg, as the data is stored in runparams.fragile.
7557 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7558 to Inset::latexOptional or to simpleTeXOnePar.
7560 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7561 free_spacing arg to Inset::latexOptional.
7563 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7566 2003-05-22 Angus Leeming <leeming@lyx.org>
7568 * latexrunparams.h: add fragile and use_babel variables.
7570 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7571 * buffer.C (makeLaTeXFile): store this returned value in
7572 runparams.use_babel, thus passing it to the inset::latex methods.
7574 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7575 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7577 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7578 longer has a fragile arg, as it is stored in runparams.fragile.
7580 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7581 moving_arg parameter as the data is stored in runparams.fragile.
7583 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7584 a fragile parameter as the data is stored in runparams.fragile.
7586 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7588 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7590 2003-05-22 Angus Leeming <leeming@lyx.org>
7592 * latexrunparams.h: add a 'bool nice' which defaults to false.
7594 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7595 now encapsulated within runparams.
7597 * bufferlist.C (updateIncludedTeXfiles):
7598 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7600 2003-05-22 Angus Leeming <leeming@lyx.org>
7602 * latexrunparams.h: new file containing struct LatexRunParams.
7603 * Makefile.am: add new file.
7605 * LaTeX.[Ch] (c-tor, run):
7606 * buffer.[Ch] (makeLaTeXFile):
7607 * bufferlist.[Ch] (updateIncludedTeXfiles):
7608 * converter.C (convert, scanLog):
7609 * converter.[Ch] (runLaTeX):
7610 * exporter.C (Export):
7611 * paragraph.[Ch] (simpleTeXOnePar):
7612 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7613 * paragraph_funcs.[Ch] (latexParagraphs):
7614 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7615 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7616 pass around a LatexRunParams parameter.
7618 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7620 * paragraph.[Ch]: remove unused constructor
7622 * ParagraphList.C (erase): new function, taking two iterators
7624 2003-05-22 André Pönitz <poenitz@gmx.net>
7626 * undo_funcs.C: remove duplicated code
7628 * iterator.[Ch]: operator=
7630 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7632 * tabular.C (SetMultiColumn): ws changes
7634 * rowpainter.C (paintFirst): get rid of a ->previous
7636 * lyx_cb.C (getPossibleLabel): parlist simplification
7638 * BufferView.C (ChangeInsets): simplify slightly.
7640 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7642 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7643 * lfuns.h: new LFUN_SPACE
7644 * lyxfunc.C: protected space has a new lfun
7645 * paragraph_funcs.C: read new space insets
7647 * factory.C: handle new space insets
7649 2003-05-22 André Pönitz <poenitz@gmx.net>
7652 * BufferView_pimpl.C:
7655 * undo_funcs.C: return a ParIterator from getParFromID.
7657 * iterators.[Ch]: add two const's
7659 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7661 * toc.C (getTocList): adjust
7663 * iterators.[Ch]: rework for parlist
7665 * buffer.C (par_iterator_begin): adjust
7666 (par_iterator_end): adjust
7668 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7670 * BufferView.C (removeAutoInsets): adjust
7671 (ChangeInsets): adjust
7673 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7675 * text.C (top_y): fix bug 1110
7677 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7679 * errorlist.[Ch]: added
7682 * BufferView_pimpl.C:
7683 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7686 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7688 * Makefile.am: ensure that lyx is relinked upon changes to the
7689 various "convenience" libs.
7691 2003-05-20 Angus Leeming <leeming@lyx.org>
7693 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7694 files are compiled in alphabetical order again.
7696 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7698 2003-05-19 Angus Leeming <leeming@lyx.org>
7700 * gettext.[Ch]: remove "char const * _(char const *)".
7702 2003-05-19 André Pönitz <poenitz@gmx.net>
7704 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7713 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7715 2003-05-19 André Pönitz <poenitz@gmx.net>
7719 * lyxtextclass.[Ch]:
7721 * paragraph_funcs.[Ch]:
7723 * text3.C: more insetenv work
7725 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7727 * ParagraphParameters.C (params2string): small bug fixed
7729 2003-05-16 André Pönitz <poenitz@gmx.net>
7732 * bufferview_funcs.C: patch from Kornel Benko to prevent
7733 crash when _(...) is called twice in a statement
7735 2003-05-16 André Pönitz <poenitz@gmx.net>
7742 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7744 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7746 * lyx_main.C (init): remove spurious static_cast
7748 2003-05-14 André Pönitz <poenitz@gmx.net>
7750 * BufferView.C: fix format string
7752 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7754 * BufferView.[Ch] (insertErrors): removed
7755 * BufferView.[Ch] (showErrorList): added
7756 * buffer.C (runChkTeX):
7757 * converter.C (scanLog): call showErrorList instead of inserterrors
7759 2003-05-13 André Pönitz <poenitz@gmx.net>
7761 * BufferView_pimpl.C:
7763 * bufferview_func.C:
7770 * tabular_funcs.h: tostr() from its own header
7772 * ParagraphParameters.C:
7777 * text3.C: STRCONV()
7779 2003-05-12 André Pönitz <poenitz@gmx.net>
7782 * BufferView_pimpl.C:
7786 * ParagraphParameters.C:
7790 * bufferview_funcs.C:
7803 * paragraph_funcs.C:
7807 * text3.C: boost::format -> bformat all over the place
7810 2003-05-09 André Pönitz <poenitz@gmx.net>
7812 * LColor.[Ch]: Pimpl the #include <map> away
7814 2003-05-09 John Levon <levon@movementarian.org>
7816 * bufferlist.C: never remove emergency saves
7818 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7820 * Makefile.am: better lib building
7822 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7824 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7826 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7827 (simpleTeXSpecialChars): adjust
7828 (simpleTeXSpecialChars): adjust
7829 * paragraph.C (simpleTeXOnePar): adjust
7830 * buffer.C (makeLaTeXFile): adjust
7832 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7834 * text2.C (changeDepth): parlist cleanup
7835 (getColumnNearX): ditto
7837 * rowpainter.C (getLabelFont): parlist cleanup
7839 * bufferlist.C (newFile): parlist cleanup
7841 * CutAndPaste.C (eraseSelection): parlist cleanup
7843 * BufferView_pimpl.C (trackChanges): parlist cleanup
7846 * BufferView.C (lockInset): parlist cleanup.
7847 (ChangeInsets): ditto
7849 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7851 * CutAndPaste.h: Update file header.
7853 * CutAndPaste.C: Update file header.
7854 Store the parts cut out of the Document in a limited_stack.
7855 (copySelection): adjust
7856 (pasteSelection): new function, takes the index in the limited stack.
7857 (nrOfParagraphs): adjust
7858 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7859 simplify error inset insertion.
7860 (checkPastePossible): adjust
7862 2003-05-06 John Levon <levon@movementarian.org>
7864 * text2.C: don't cast wrap inset to float
7866 2003-05-05 André Pönitz <poenitz@gmx.net>
7869 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7871 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7872 few naked Paragraph *.
7874 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7876 * bufferparams.C: Output warning if a document with missing
7877 TeX document class is loaded
7878 * exporter.C: Disable TeX exports if the document class is missing
7881 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7882 isTeXClassAvailable()
7884 2003-05-03 John Levon <levon@movementarian.org>
7887 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7888 explicit cursor show/hide
7890 * BufferView_pimpl.h:
7891 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7892 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7894 * lyxfunc.C: hide cursor before dispatching.
7899 * text3.C: remove explicit cursor hides
7901 2003-05-02 André Pönitz <poenitz@gmx.net>
7903 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7906 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7909 * text2.C: tiny whitespace
7911 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7913 * undo_funcs.C: almost only ws changes.
7915 * ParagraphList.C (splice): just return if pl is empty.
7917 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7919 * ParagraphList.C (splice): new function.
7921 * CutAndPaste.C (pasteSelection): use it
7923 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7925 * CutAndPaste.C (pasteSelection): remove the last next and
7926 previous from this file.
7928 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7930 * CutAndPaste.C (pasteSelection): more clean up, user proper
7931 ParagraphList functions for pasteing.
7933 * ParagraphList.C (insert): new function, three arg insert
7935 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7937 * ParagraphList.C (insert): new function, three arg insert
7939 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7942 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7944 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7946 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7950 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7952 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7953 (copySelection): clean up a bit.
7954 (pasteSelection): use make_pair
7956 * ParagraphList.C (ParagraphList): implement copy constructor
7957 (operator=): implement, base on copy constructor.
7960 * paragraph.C (erase): return a bool
7962 * paragraph_pimpl.C (erasePos): remove function, move contents...
7963 (erase): ... here. Return a bool.
7964 (erase): call erase instead of erasePos.
7966 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7968 * ParagraphList.h: define PitPosPair
7969 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7970 ParagraphList, fix a bug on pasting multiple pars
7971 * text2.C: change interface to C&P
7973 2003-04-30 André Pönitz <poenitz@gmx.net>
7975 * undo_func.C: revert part of yesterday's patch 2
7977 2003-04-30 John Levon <levon@movementarian.org>
7979 * LColor.C: s/tabular/table/
7981 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7983 * text3.C (dispatch): do not convert iterator -> pointer
7984 * undo_funcs.C (setCursorParUndo): ditto
7985 * text_funcs.C (transposeChars): ditto
7987 * text2.C (setLayout): ws changes only
7989 * text.C (breakParagraph): do not convert iterator -> pointer
7991 (acceptChange): ditto
7992 (rejectChange): ditto
7997 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8000 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8002 * text3.C (gotoInset): YABG (yet another bad getChar)
8004 2003-04-29 André Pönitz <poenitz@gmx.net>
8006 * paragraph.h: make operator= private unimplemented as long as
8009 * ParagraphList.C: whitespace
8012 * paragraph_pimpl.[Ch]:
8013 * paragraph_funcs.C:
8015 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8018 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8020 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8022 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8023 * paragraph.[Ch] (erase):
8024 * paragraph_pimpl.[Ch] (erase): change return type and value
8025 * text2.C (cutSelection): some rework
8027 2003-04-28 John Levon <levon@movementarian.org>
8029 * bufferlist.C: changes for unsaved changes dialog
8031 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8033 * bufferlist.C (newFile): set language (messages_) for new
8036 * buffer.C (readFile): ws changes only.
8038 2003-04-28 André Pönitz <poenitz@gmx.net>
8043 * BufferView_pimpl.C:
8044 * BufferView.C: getParFromID related ParagraphList::iterator changes
8046 2003-04-28 André Pönitz <poenitz@gmx.net>
8048 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8051 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8053 * messages.C: remove one more localedir class variable.
8055 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8057 * messages.C (getLocaleDir): singleton generation function
8059 (Messages): add a default constructor.
8061 * main.C (main): do not setup localedir here, do not call
8064 * gettext.C (_): use it.
8065 (gettext_init): delete funciton
8067 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8069 * gettext.C (getLyXMessages): new singleton generating function.
8071 * buffer.C (updateDocLang): adjust
8073 * Makefile.am (messages.o): add target
8074 (main.o): remove target
8076 2003-04-27 John Levon <levon@movementarian.org>
8081 * lyxvc.C: specify cancel button in Alert::prompt
8083 2003-04-26 John Levon <levon@movementarian.org>
8088 * LyXAction.C: add LFUN_INSET_SETTINGS
8090 * lyxfunc.C: don't enable tabular-feature when there's
8091 just any locking inset
8093 2003-04-26 John Levon <levon@movementarian.org>
8095 * bufferlist.C: re-add Cancel to buffer close question
8097 * lyxfunc.C: fix import UI a bit
8099 2003-04-25 John Levon <levon@movementarian.org>
8101 * gettext.C: remove the broken asserts for now
8103 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * messages.C: make case where setlocale cannot comply work better.
8107 * buffer.C (updateDocLang): new function
8108 (changeLanguage): use it
8111 * text2.C (setCounter): use B_ a bit.
8113 * lyxlayout.C (Read): be sure to trim the label strings.
8115 * messages.C (Messages): fix typo in comment
8117 * buffer.C (readFile): set message_ after file is loaded.
8118 (makeDocBookFile): remove double return
8119 (changeLanguage): reset message_ upon language change.
8120 (B_): new func, use this to get translated buffer strings.
8122 * main.C: add myself and Jean Marc as authors.
8124 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8126 * messages.[hC]: pimplify Messages, and three different pimpls to be
8127 used in different circumstances.
8129 * gettext.[Ch]: change for use with new message code.
8131 2003-04-24 André Pönitz <poenitz@gmx.net>
8133 * factory.C: support for eqref
8135 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8137 * messages.[Ch]: add missing char
8139 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8141 * messages.[Ch]: New files
8143 2003-04-18 John Levon <levon@movementarian.org>
8147 * BufferView_pimpl.C:
8151 * text2.C: remove layout-copy/paste (bug 778)
8153 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8155 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8157 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8159 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8160 if they succeed. Act accordingly.
8162 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8164 * text2.C (setCharFont): adjust
8165 (setCounter): adjust
8166 (insertStringAsLines): adjust
8168 * text.C (leftMargin): adjust
8169 (setHeightOfRow): adjust
8171 * rowpainter.C (paintFirst): adjust
8174 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8176 (isFirstInSequence): ditto
8177 (getEndLabel): ditto
8180 * paragraph.C (getParLanguage): comment out some hard stuff.
8182 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8184 (simpleDocBookOnePar): ditto
8185 (makeDocBookFile): use ParagraphList::iterator
8187 * CutAndPaste.C (pasteSelection): adjust
8189 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8191 * text2.C (getFont): adjust
8192 (getLayoutFont): adjust
8193 (getLabelFont): adjust
8195 * paragraph_funcs.C (TeXOnePar): adjust
8197 * buffer.C (simpleLinuxDocOnePar): adjust
8198 (simpleDocBookOnePar): adjust
8200 * CutAndPaste.C (pasteSelection): adjust
8202 * BufferView.C (getEncoding): adjust
8204 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8206 2003-04-16 John Levon <levon@movementarian.org>
8208 * lyxfind.C: use parlist stuff for search/changes
8210 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8212 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8214 * text2.C (deleteEmptyParagraphMechanism): adjust
8216 * text2.[Ch] (ownerParagraph): delete func (both of them
8218 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8220 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8222 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8224 * ParagraphList.C: prepare for NO_NEXT
8226 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8228 * text2.C (getFont): adjust
8229 (getLayoutFont): adjust
8230 (getLabelFont): adjust
8232 * paragraph.C (getFont): adjust
8233 (getLabelFont): adjust
8234 (getLayoutFont): adjust
8236 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8238 2003-04-15 John Levon <levon@movementarian.org>
8242 * lyx_main.C: handle Include in .ui files
8244 2003-04-15 John Levon <levon@movementarian.org>
8246 * MenuBackend.C: make the doc files length shorter
8249 * ToolbarBackend.C: handle toolbar placement flags,
8252 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8254 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8257 * paragraph_funcs.C (TeXOnePar): adjust
8259 * paragraph.C (getLabelFont): add outerfont arg, adjust
8260 (getLayoutFont): ditto
8261 (simpleTeXOnePar): adjust
8263 * paragraph_pimpl.C (realizeFont): delete func
8265 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8267 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8268 row argument, constify cur argument.
8270 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8272 * text2.C (getFont): adjust
8273 (getLayoutFont): adjust
8274 (getLabelFont): adjust
8276 * paragraph_funcs.C (TeXOnePar): adjust
8277 (outerFont): new func...
8278 (realizeFont): ...moved out from here, changed this to facilitate
8281 * paragraph.C (getFont): take outerfont as arg, adjust
8282 (simpleTeXOnePar): add outerfont arg, adjust
8284 * buffer.C (simpleLinuxDocOnePar): adjust
8285 (simpleDocBookOnePar): adjust
8287 * CutAndPaste.C (pasteSelection): adjust
8289 * BufferView.C (getEncoding): adjust
8291 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8293 * text2.C (setCharFont): adjust
8294 (setCounter): adjust
8296 * text.C (leftMargin): adjust
8297 (setHeightOfRow): adjust
8299 * rowpainter.C (paintFirst): adjust
8302 * paragraph_pimpl.C (realizeFont): adjust
8304 * paragraph.C (isFirstInSequence): move from here...
8305 * paragraph_funcs.C (isFirstInSequence): ...to here
8307 * paragraph.C (outerHook): move from here...
8308 * paragraph_funcs.C (outerHook): ...to here
8310 * paragraph.C (depthHook): move from here...
8311 * paragraph_funcs.C (depthHook): ...to here
8313 * paragraph.C (getEndLabel): move from here...
8314 * paragraph_funcs.C (getEndLabel): ...to here
8316 * text2.C (realizeFont): move from here...
8317 * paragraph_funcs.C (realizeFont): ...to here
8319 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8321 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8323 2003-04-14 Angus Leeming <leeming@lyx.org>
8325 * LColor.[Ch]: scrap LColor mathcursor.
8327 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8329 * lyxlex.[Ch] (text): delete function
8330 * trans.C (Load): adjust
8331 * paragraph_funcs.C (readParToken): adjust
8333 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8335 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8336 vector<char> instead of a char[].
8338 * lyxlex_pimpl.C (getString): adjust
8340 (lex): use getString
8344 * lyxlex.C (text): use pimpl_->getString()
8348 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8350 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8351 (makeFontEntriesLayoutSpecific): temp var for par.size()
8352 (setLayout): temp var for ownerParagraphs().end()
8353 (fullRebreak): temp var for rows().end()
8354 (selectionAsString): temp var for boost::next(startpit), realize
8355 that the while really is a regular for loop.
8356 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8357 setCursor in one place.
8358 (setParagraph): temp vr for ownerParagraphs().end()
8359 (updateCounters): make the while loop a for loop
8360 (cutSelection): temp var for ownerParagraphs().end()
8361 (updateInset): make the do {} while() a regular for loop
8362 (getCursorX): use temp vars
8363 (setCurrentFont): use temp vars
8364 (getColumnNearX): use temp vars
8366 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8368 * text.C (transformChar): use temp var for getChar
8369 (computeBidiTables): use temp var for row->par()
8370 (fill): move temp vars for row->par() and pit->layout() earlier in
8372 (labelFill): use temp var for row->par()
8373 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8374 asc and desc, realize that pit never changes and that firstpit is
8375 just a duplicate and not needed. Exchange rit->par() with pit in a
8377 (breakAgain): use a temp var for boost::next(rit)
8378 (breakAgainOneRow): ditto
8379 (breakParagraph): use a temp var for rows().begin()
8380 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8381 (cursorRightOneWord): use temp var for cursor.par() and
8382 cursor.pos(), remove usage of tmpcursor.
8383 (cursorLeftOneWord): use temp var for cursor.par() and
8384 cursor.pos() only set cur at end of function.
8386 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8388 * text.C, text2.C: exchange all usage of Paragraph::next with
8389 boost::next(ParagraphList::iterator)
8391 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8393 * text2.C (cursorTop): simplify implementation
8394 (cursorBottom): ditto
8395 (setParagraph): use ParagraphList::iterator
8396 (setCurrentFont): adjust
8397 (getColumnNearX): adjust
8398 (cursorRight): adjust
8399 (cursorLeft): remove usage of Paragraph::previous
8400 (cursorUpParagraph): ditto
8401 (deleteEmptyParagraphMechanism): slight cleanup
8403 * text.C (isBoundary): take a Paragraph const & instead of a
8405 (addressBreakPoint): ditto
8406 (leftMargin): remove usage of Paragraph::previous.
8407 (setHeightOfRow): ditto
8408 (cursorLeftOneWord): ditto
8409 (selectNextWordToSpellcheck): ditto
8412 (breakParagraph): remove one usage of Paragraph::next
8413 (redoParagraph): ditto
8414 (acceptChange): ditto
8415 (insertChar): adjust
8416 (rowBreakPoint): adjust
8418 * bufferview_funcs.C (toggleAndShow): adjust
8420 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8422 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8423 methods to access it.
8425 * text.C: Added updateRowPositions to compute all row positions.
8426 Make top_y and getRowNearY() to use the cached y position
8428 2003-04-11 John Levon <levon@movementarian.org>
8430 * text.C (rowBreakPoint): reintroduce the labelEnd
8431 checks, code copied from the row fill stuff. Deep voodoo.
8433 * text.C (fill): add a comment and debugging for the
8436 2003-04-11 John Levon <levon@movementarian.org>
8438 * text.C: make sure fullrow insets get wrapped to the next line,
8439 even when they're in a manual label
8441 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8443 * text2.C (insertParagraph): make it take ParagraphList::iterator
8445 (setLayout): make it return ParagraphList::iterator
8446 (redoParagraphs): ditto
8448 (checkParagraph): ditto
8450 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8452 * text2.C: adjust several funcs.
8453 (realizeFont): take a ParagraphList::iterator as arg.
8454 (getLayoutFont): ditto
8455 (getLabelFont): ditto
8456 (setCharFont): ditto
8458 * text.C: adjust several funcs.
8460 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8462 * text.C (selectNextWordToSpellcheck): don't accidentally
8465 2003-04-10 John Levon <levon@movementarian.org>
8467 * ToolbarBackend.C (getIcon): special handling for
8470 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8472 * text2.C (cursorRight): a getChar assert fixed
8474 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8476 * text2.C (getFont): change to take a ParagraphList::iterator
8477 instead of Paragraph*
8478 Adjust several functions.
8480 * text.C (transformChar): change to take a ParagraphList::iterator
8481 instead of Paragraph*
8482 (singleWidth): ditto
8483 Adjust several functions.
8485 * rowpainter.C: adjust several functions
8486 * rowpainter.h:store a ParagraphList::iterator and not a
8490 2003-04-09 John Levon <levon@movementarian.org>
8495 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8496 and the "help" bits as well
8498 2003-04-09 John Levon <levon@movementarian.org>
8501 * ToolbarBackend.C: allow multiple toolbars
8503 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8505 * undo_funcs.C (setCursorParUndo): adjust
8507 * text_funcs.C (transposeChars): adjust
8509 * text3.C (gotoNextInset): adjust
8512 * text2.C (setLayout): adjust
8513 (changeDepth): adjust
8515 (redoParagraphs): adjust
8516 (selectionAsString): adjust
8517 (setParagraph): adjust
8518 (insertInset): adjust
8519 (cutSelection): adjust
8520 (copySelection): adjust
8521 (pasteSelection): adjust
8522 (insertStringAsLines): adjust
8523 (updateInset): adjust
8524 (setCursor): change to take a ParagraphList::iterator parameter
8525 (setCursorIntern): change to take a ParagraphList::iterator parameter
8526 (setCurrentFont): adjust
8527 (cursorLeft): adjust
8528 (cursorRight): adjust
8529 (deleteEmptyParagraphMechanism): adjust
8531 * text.C (breakParagraph): adjust
8532 (insertChar): adjust
8533 (acceptChange): adjust
8534 (rejectChange): adjust
8535 (selectNextWordToSpellcheck): adjust
8536 (changeCase): adjust
8540 * lyxfind.C (SearchForward): adjust
8541 (SearchBackward): adjust
8542 (nextChange): adjust
8544 * lyxcursor.C (par): adjust
8546 * lyxcursor.h: store a ParagraphList::iterator instead of a
8549 * lyx_cb.C (getPossibleLabel): adjust
8551 * bufferview_funcs.C (toggleAndShow): adjust
8553 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8556 * BufferView.C (removeAutoInsets): adjust
8557 (lockedInsetStoreUndo): adjust
8559 2003-04-09 John Levon <levon@movementarian.org>
8561 * ToolbarBackend.C: try icon without argument
8562 if with argument fails
8564 2003-04-08 John Levon <levon@movementarian.org>
8567 * ToolbarBackend.C: add getIcon(), handle tooltip,
8568 and change from "Icon" to "Item".
8570 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8572 * BufferView.C (lockInset): another bad getchar crunched
8574 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8576 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8579 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8581 * lyxfind.C (searchForward, searchBackwards): bug 782
8583 2003-04-07 John Levon <levon@movementarian.org>
8585 * paragraph.C: remove dead comment
8587 * text.C: remove troublesome depth-fiddling code
8588 in leftMargin() and rightMargin() (bug 1017)
8590 * text.C: fix breaking of rows in nested lists
8593 * text2.C (updateCounters): fix up depth values
8596 2003-04-07 John Levon <levon@movementarian.org>
8598 * BufferView_pimpl.C: clear message when doc finishes resizing,
8599 and after a mouse event
8601 * lyxfunc.C: clear message after exiting inset
8603 2003-04-07 John Levon <levon@movementarian.org>
8605 * bufferview_funcs.C: show math status not outside
8606 status in the statusbar
8608 2003-04-07 John Levon <levon@movementarian.org>
8610 * lyxfunc.C: note status changed after a depth change
8612 2003-04-04 Angus Leeming <leeming@lyx.org>
8614 * LaTeX.h: move AuxInfo operator==, != out of line.
8615 Remove LaTeX virtual destructor; nothing derives from it.
8616 Move operator()() out of public area and rename it startscript().
8617 Change protected for private.
8619 2003-04-04 Angus Leeming <leeming@lyx.org>
8622 * text2.C: remove unneeded #includes.
8624 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8626 * text2.C (dEPM): fix the heigth of the next row
8628 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8630 * text.C: squashed an invalid getChar requester + some ws changes
8632 2003-04-03 John Levon <levon@movementarian.org>
8634 * bufferview_funcs.h:
8635 * bufferview_funcs.C:
8638 * text2.C: make getStatus work for the env depth lfuns
8640 2003-04-03 John Levon <levon@movementarian.org>
8642 * bufferview_funcs.h:
8643 * bufferview_funcs.C:
8646 * text2.C: parlistize decDepth(), by merging it with incDepth()
8648 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8650 * lyxrow.h: store a ParagraphList::iterator instead of a
8651 Paragraph* and adjust other class functions to suit.
8653 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8656 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8658 * text2.C (setCursor): do not anchor to cursor row for the time being
8660 2003-04-02 John Levon <levon@movementarian.org>
8667 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8669 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8671 * paragraph.h: make ParagraphList and ParagraphList::iterator
8672 friends of Paragraph.
8674 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8676 * ParagraphList.C: Use the private next_ and previous_ from
8679 2003-04-01 John Levon <levon@movementarian.org>
8683 * Makefile.am: rename, remove defaults gunk
8686 * MenuBackend.C: remove defaults gunk
8689 * Languages.C: remove defaults gunk
8692 * lyx_main.C: error out if files couldn't be found.
8694 2003-04-02 John Levon <levon@movementarian.org>
8696 * text2.C: make incDepth() use parlist
8698 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8700 * undo_funcs.C (firstUndoParagraph): adjust
8702 * text3.C (gotoInset): adjust
8703 (dispatch): adjust, and rewrite loop.
8705 * text2.C (init): adjust, and rewrite loop.
8706 (redoParagraphs): adjust
8707 (updateInset): adjust, and rewrite loop.
8708 (deleteEmptyParagraphMechanism): adjust
8710 * tabular.C (LyXTabular): adjust
8711 (SetMultiColumn): adjust
8714 * lyxtext.[Ch] (ownerParagraph): delete function
8715 (ownerParagraphs): new function returns a ParagraphList.
8717 * BufferView.C (removeAutoInsets): adjust
8718 (insertErrors): adjust
8719 (setCursorFromRow): adjust
8721 2003-04-01 Angus Leeming <leeming@lyx.org>
8723 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8726 2003-04-02 John Levon <levon@movementarian.org>
8732 * text_funcs.C: make transposeChars a free function
8734 * lyxrow_funcs.C: remove wrong comment
8736 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8739 * rowpainter.C: adjust
8744 * lyxrow_funcs. [Ch]: new files
8746 * lyxrow.[Ch]: remove next and previous pointers
8747 (next,previous): remove accessor functions
8748 (isParEnd): move to lyxrow_funcs
8749 (lastPos): move to lyxrow_funcs
8750 (nextRowIsAllInset): move to lyxrow_funcs
8751 (lastPrintablePos): move to lyxrow_funcs
8752 (numberOfSeparators): move to lyxrow_funcs
8753 (numberOfHfills): move to lyxrow_funcs
8754 (numberOfLabelHfills): move to lyxrow_funcs
8755 (hfillExpansion): move to lyxrow_funcs
8759 * bufferview_funcs.C (toggleAndShow): adjust
8761 * RowList.h: Remove class RowList from file leave just a
8764 * RowList.C: delete file
8766 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8769 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8771 * text3.C (cursorPrevious): adjust
8772 (cursorNext): adjust
8775 * text2.C (redoHeightOfParagraph): adjust
8776 (redoDrawingOfParagraph): adjust
8779 * text.C (breakParagraph): adjust
8780 (insertChar): adjust
8783 * rowpainter.C (RowPainter): adjust
8784 (leftMargin): simplify and adjust
8785 (most rowpainter functions): adjust.
8787 * rowpainter.h: store the row as RowList::iterator not as Row*
8789 * lyxcursor.C (row): taka RowList::iterator as arg
8792 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8795 2003-04-01 Angus Leeming <leeming@lyx.org>
8797 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8798 stuff like bool Bool.
8800 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8802 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8805 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8807 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8810 * lyxtext.h (rows): drop one version and leve a const variant that
8811 returns a RowList::iterator.
8813 2003-03-31 Angus Leeming <leeming@lyx.org>
8815 * text.C (fill): ensure that the signature is the same as that in the
8818 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8820 * text2.C (redoParagraphs): adjust
8821 (updateCounters): adjust
8822 (checkParagraph): adjust
8823 (getColumnNearX): adjust and reformat a bit.
8825 * text.C (top_y): adjust
8827 (leftMargin): adjust
8828 (prepareToPrint): adjust
8830 (getRowNearY): adjust
8832 * lyxtext.h: make rowlist_ mutable.
8834 * RowList.h: add const_iterator
8835 * RowList.C: adjust for RowList::const_iterator.
8837 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8840 2003-03-31 John Levon <levon@movementarian.org>
8843 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8845 * lyx_main.C: set default fonts from using lyx_gui funcs
8847 * exporter.C: pdf_mode moved from lyxrc
8850 * lyxfunc.C: changes from above
8852 2003-03-31 John Levon <levon@movementarian.org>
8854 * lyx_main.C: fix to the last fix
8856 2003-03-31 John Levon <levon@movementarian.org>
8858 * bufferlist.C: "Load original" -> "Load Original"
8864 * format.C: more Alert cleanups
8866 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8868 * text2.C (removeParagraph): make it take a RowList::iterator as
8870 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8871 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8873 * text.C (anchor_row): make it take a RowList::iterator as arg,
8875 (computeBidiTables): make it take a const reference to Row instead
8876 of Row pointer, adjust.
8877 (leftMargin): make it take a RowList::iterator as arg, adjust.
8878 (rowBreakPoint): adjust
8879 (breakAgainOneRow): make it take a RowList::iterator as arg,
8881 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8883 * bufferview_funcs.C (toggleAndShow): adjust
8885 2003-03-30 John Levon <levon@movementarian.org>
8889 * boost-inst.C: moved to support
8891 * several files: changes as a result
8893 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8895 * text2.C (LyXText): adjust.
8897 (removeRow): make it take a RowList::iterator as arg, adjust.
8898 (fullRebreak): adjust
8899 (deleteEmptyParagraphMechanism): adjust
8900 (clearPaint): adjust
8903 * text.C (top_y): adjust
8904 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8905 (breakAgain): make it take a RowList::iterator as arg, adjust.
8906 (breakParagraph): adjust
8907 (insertChar): adjust
8910 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8911 need_break_row, and refresh_row.
8913 * text3.C (dispatch): adjust
8915 * text2.C (checkParagraph): adjust
8917 (setCursorFromCoordinates): adjust
8919 * text.C (top_y): adjust
8921 (getRow): make it return a RowList::iterator, adjust
8922 (getRowNearY): make it return a RowList::iterator, adjust
8924 * text2.C (init): adjust
8925 (insertRow): remove function
8926 (insertParagraph): adjust
8927 (redoParagraphs): adjust
8928 (fullRebreak): adjust
8929 (updateCounters): adjust
8931 * text.C (top_y): rewrite to use RowList iterators.
8933 (setHeightOfRow): rewrite to sue RowList iterators.
8934 (appendParagraph): adjust
8935 (breakAgain): adjust
8936 (breakAgainOneRow): adjust
8937 (breakParagraph): adjust
8939 (getRowNearY): adjust, and remove commented code.
8941 * lyxtext.h (firstRow): delete function
8942 (lastRow): delete function
8943 (rows): new function (const and non-const versions.)
8944 (insertRow): delete function
8946 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8948 2003-03-29 John Levon <levon@movementarian.org>
8950 * BufferView_pimpl.C: always update scrollbar top
8951 because pasting text when we're anchored could mean we
8952 miss an update altogether
8954 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8956 * text2.C (init): use rowlist_.end() and not 0.
8957 (insertRow): change to take a RowList::iterator as arg, adjust
8959 (insertParagraph): change to take a RowList::iterator as arg,
8961 (redoParagraphs): remove some debug msgs.
8963 * text.C (appendParagraph): change to take a RowList::iterator
8964 arg, adjust for this.
8965 (breakAgain): add an assert
8966 (breakAgainOneRow): ditto
8968 2003-03-29 John Levon <levon@movementarian.org>
8970 * text2.C: do not clear selection after inc/decDepth
8973 2003-03-29 John Levon <levon@movementarian.org>
8976 * buffer.C: fix broken strerrors according to Lars
8978 2003-03-29 John Levon <levon@movementarian.org>
8980 * converters.C: more Alert cleanups
8982 2003-03-29 John Levon <levon@movementarian.org>
8984 * bufferview_funcs.C: remove pointless Alert
8986 * buffer.C: fix confusing error message when
8987 a template is chmoded 000
8989 2003-03-29 John Levon <levon@movementarian.org>
8993 * BufferView_pimpl.C: Alert fixes
8997 * tabular-old.C: remove unused table compat reading
8999 2003-03-29 John Levon <levon@movementarian.org>
9004 * lyx_cb.C: more Alert cleanups
9006 * lyxfunc.C: don't allow chktex if not latex document
9008 2003-03-29 John Levon <levon@movementarian.org>
9012 * buffer.C: warnings pushed down from support/,
9015 2003-03-29 John Levon <levon@movementarian.org>
9017 * lyxfunc.C: safety check for C-r (revert)
9019 2003-03-29 John Levon <levon@movementarian.org>
9022 * bufferlist.C: several UI fixes using Alert::prompt.
9023 Fix the pointless looping quit code. Fix stupid revert
9028 * lyx_cb.C: use Alert::prompt
9030 * lyx_main.C: remove a silly question
9032 * lyxfunc.C: remove a couple of silly questions,
9035 2003-03-28 John Levon <levon@movementarian.org>
9037 * text2.C: fix bug 974 (End on empty par)
9039 2003-03-28 John Levon <levon@movementarian.org>
9041 * BufferView_pimpl.C:
9043 * lfuns.h: remove do-nothing math greek lfuns
9045 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9047 * lyxgluelength.h (isValidGlueLength): add default arg on
9048 parameter 2. Remove default arg from friend in class.
9050 * lyxlength.h (isValidLength): add default arg on parameter 2.
9051 Remove default arg from friend in class.
9053 * text2.C (LyXText): adjust, initialize refresh_row.
9057 (insertParagraph): adjst
9058 (redoParagraphs): adjust
9059 (fullRebreak): adjust
9060 (updateCounters): adjust
9061 (deleteEmptyParagraphMechanism): first attempt at fixing a
9064 * text.C (top_y): adjust
9065 (setHeightOfRow): adjust
9067 (getRowNearY): adjust
9069 * lyxtext.h: include RowList.h
9070 (~LyXText): not needed anymore, deleted.
9071 (firstRow): modify for RowList
9072 (lastRow): new function
9073 Delete firstrow and lastrow class variables, add a Rowlist
9074 rowlist_ class variable.
9076 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9079 * RowList.C (insert): fix case where it == begin().
9081 2003-03-26 Angus Leeming <leeming@lyx.org>
9083 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9084 the thesaurus dialog.
9086 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9088 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9090 * RowList.[Ch]: new files
9092 * ParagraphList.C (erase): handle the case where it == begin
9095 2003-03-25 John Levon <levon@movementarian.org>
9099 * aspell.C: add new aspell support
9102 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9105 2003-03-25 Angus Leeming <leeming@lyx.org>
9108 * LyXAction.C (init): new LFUN_INSET_INSERT.
9110 * BufferView_pimpl.C (dispatch): split out part of the
9111 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9113 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9116 2003-03-25 Angus Leeming <leeming@lyx.org>
9118 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9120 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9123 * text3.C: remove useless row->height(0)
9125 2003-03-25 John Levon <levon@movementarian.org>
9129 * text3.C: rename the refreshing stuff to better names
9131 2003-03-24 John Levon <levon@movementarian.org>
9133 * BufferView_pimpl.h:
9134 * BufferView_pimpl.C: update layout choice on a mouse
9137 2003-03-23 John Levon <levon@movementarian.org>
9139 * Makefile.am: fix commandtags.h reference
9141 2003-03-22 John Levon <levon@movementarian.org>
9143 * BufferView_pimpl.C:
9148 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9150 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9153 * text.C: take the rtl methods out of line
9155 2003-03-21 André Pönitz <poenitz@gmx.net>
9157 * metricsinfo.[Ch]: new files containing structures to be passed around
9158 during the two-phase-drawing...
9160 2003-03-21 André Pönitz <poenitz@gmx.net>
9162 * lyxtextclass.C: read 'environment' tag.
9164 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9166 * text2.C (removeRow): fix bug 964
9168 2003-03-20 John Levon <levon@movementarian.org>
9172 * text2.C: paint cleanups. Inset::update() dropped font
9175 2003-03-19 John Levon <levon@movementarian.org>
9177 * lyxfunc.C: only fitcursor/markDirty if available()
9179 2003-03-19 John Levon <levon@movementarian.org>
9181 * commandtags.h: rename to ...
9183 * lfuns.h: ... this, and renumber / cleanup
9185 2003-03-19 John Levon <levon@movementarian.org>
9187 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9188 fit the cursor after an lfun
9192 * BufferView_pimpl.h:
9193 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9195 * LyXAction.C: layout-character should have ReadOnly
9197 * ParagraphParameters.C:
9199 * bufferview_funcs.C:
9206 * undo_funcs.C: changes from above
9208 2003-03-18 John Levon <levon@movementarian.org>
9210 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9211 remove it from update()
9213 * lyxfunc.C: update layout choice after an lfun
9215 * text3.C: remove extra updateLayoutChoice()s
9217 2003-03-18 John Levon <levon@movementarian.org>
9219 * text.C: top_y change means full repaint, fix
9220 a drawing bug with cursor movement
9222 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9226 * text2.C: anchor row on setCursor
9228 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9230 * lyxtext.h: remove almost all mutable keywords
9233 * text3.C: remove const keywords accordingly
9235 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9237 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9239 (TeXEnvironment): ditto
9242 2003-03-17 John Levon <levon@movementarian.org>
9244 * text.C (rowBreakPoint): remove attempt to fix displayed
9245 math insets inside a manual label
9247 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9249 * lyxtext.h: remove BufferView* as first arg from almost all class
9251 * other files: adjust.
9253 2003-03-17 John Levon <levon@movementarian.org>
9257 * text2.C: more paint cleanups
9259 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9262 * rowpainter.C: remove "smart" background painting code
9264 2003-03-16 John Levon <levon@movementarian.org>
9269 * text3.C: add helper functions for setting refresh_row/y
9271 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9273 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9274 newline inset which *can* get inserted in the pass_thru layouts.
9275 This is primarily for literate documents.
9277 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9279 * buffer.C: increment LYX_FORMAT to 223
9281 2003-03-14 André Pönitz <poenitz@gmx.net>
9283 * textclass.h: prepare for environment handling, ws changes
9284 * lyxlayout.C: read latexheader and latexfooter tags
9286 2003-03-14 John Levon <levon@movementarian.org>
9288 * text2.C: rewrite ::status() a bit
9290 2003-03-13 John Levon <levon@movementarian.org>
9292 * lyxtext.h: add some docs
9294 2003-03-13 John Levon <levon@movementarian.org>
9299 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9301 2003-03-13 John Levon <levon@movementarian.org>
9303 * text3.C: fix appendix redrawing
9305 2003-03-13 John Levon <levon@movementarian.org>
9307 * text.C (setHeightOfRow):
9309 * rowpainter.C: make appendix mark have the text
9310 "Appendix" so the user knows what it is
9313 * LColor.C: s/appendixline/appendix/ from above
9315 2003-03-13 John Levon <levon@movementarian.org>
9317 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9319 * text.C: fix a getChar(pos) bug properly
9321 2003-03-13 Angus Leeming <leeming@lyx.org>
9324 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9325 Probably only temporary. Let's see how things pan out.
9327 * BufferView.C (unlockInset):
9328 * BufferView_pimpl.C (fitCursor):
9329 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9331 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9332 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9334 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9335 new functions that convert ParagraphParameters to and from a string.
9337 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9338 BufferView::Pimpl's dispatch.
9339 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9341 2003-03-13 André Pönitz <poenitz@gmx.net>
9345 * factory.C: make it aware of InsetEnv
9347 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9349 * text2.C (setCursor): never ask for one past last
9350 (setCursor): add some debugging messages.
9352 * text.C (singleWidth): never ask for one past last
9353 (singleWidth): ditto
9355 (rightMargin): ditto
9356 (rowBreakPoint): ditto
9357 (setHeightOfRow): ditto
9358 (prepareToPrint): ditto
9360 * rowpainter.C (paintBackground): never ask for one past last
9361 (paintText): never ask for one past last
9363 * paragraph_pimpl.C (getChar): make the assert stricter, never
9364 allow the one past last pos to be taken
9366 * paragraph.C (getChar): ws changes only
9368 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9369 (numberOfSeparators): ditto
9370 (numberOfHfills): ditto
9372 2003-03-12 John Levon <levon@movementarian.org>
9378 * paragraph_funcs.C: fix per-buffer authorlists
9380 2003-03-12 John Levon <levon@movementarian.org>
9382 * text.C: fix newline in right address
9384 2003-03-12 Angus Leeming <leeming@lyx.org>
9386 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9387 duplicate those in LyXFunc::dispatch.
9391 * ToolbarDefaults.C:
9392 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9393 Add LFUN_FONTFREE_UPDATE.
9395 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9396 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9398 * bufferview_func.[Ch]: several new functions to facilliate
9399 transfer of data to and from the character dialog.
9401 2003-03-12 John Levon <levon@movementarian.org>
9406 * paragraph_funcs.C:
9407 * paragraph_pimpl.C:
9411 * text3.C: remove META_NEWLINE in favour of an inset
9414 * rowpainter.C: remove paintNewline (done by inset)
9416 2003-03-12 John Levon <levon@movementarian.org>
9418 * paragraph_pimpl.C: complain about bad getChar()s
9419 for a while at least
9421 2003-03-12 John Levon <levon@movementarian.org>
9424 * buffer.C: move paragraph read into a separate function,
9425 a little renaming to reflect that.
9428 * bufferparams.C: remove the author_ids map, not necessary now
9431 * factory.C: moved Buffer::readInset to here
9433 * paragraph_funcs.h:
9434 * paragraph_funcs.C: readParagraph free function moved from
9437 * tabular.C: name change
9439 2003-03-12 John Levon <levon@movementarian.org>
9442 * ParagraphParameters.C: move par params input to
9445 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9446 behave like a normal read from the stream wrt reading
9447 a line vs. a \\token
9449 2003-03-12 John Levon <levon@movementarian.org>
9452 * ParagraphParameters.h:
9453 * ParagraphParameters.C: move output code to a
9456 2003-03-12 John Levon <levon@movementarian.org>
9458 * BufferView.C (insertLyXFile):
9461 * tabular.C: use a parlist iterator for creating the
9464 2003-03-12 John Levon <levon@movementarian.org>
9466 * buffer.C: make current_change static local not
9469 2003-03-12 John Levon <levon@movementarian.org>
9471 * buffer.C: fix insertStringAsLines for change tracking
9473 2003-03-12 John Levon <levon@movementarian.org>
9480 * bufferparams.C: move author list into params. Rename some
9481 functions. Move the header reading into a separate token
9482 loop. Move the header token reading into BufferParams.
9484 2003-03-12 John Levon <levon@movementarian.org>
9486 * changes.C: put debug inside lyxerr.debugging() checks
9488 2003-03-11 André Pönitz <poenitz@gmx.net>
9490 * factory.C: make it aware of InsetHFill
9492 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9494 * buffer.C (latexParagraphs): move function from here...
9495 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9498 2003-03-10 Angus Leeming <leeming@lyx.org>
9500 * LyXAction.C (init): fix bug in poplating array with multiple entries
9501 with the same LFUN (spotted by JMarc).
9503 2003-03-10 John Levon <levon@movementarian.org>
9506 * text2.C: move getColumnNearX() near its
9509 2003-03-10 John Levon <levon@movementarian.org>
9511 * text.C: fix break before a minipage
9513 2003-03-10 John Levon <levon@movementarian.org>
9515 * text.C: fix the last commit
9517 2003-03-09 John Levon <levon@movementarian.org>
9521 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9522 bug 365 (don't break before insets unless needed). Don't
9523 return a value > last under any circumstances.
9525 2003-03-09 Angus Leeming <leeming@lyx.org>
9527 * BufferView_pimpl.C (trackChanges, dispatch): call
9528 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9530 2003-03-09 Angus Leeming <leeming@lyx.org>
9532 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9533 than Dialogs::showAboutlyx().
9535 2003-03-09 Angus Leeming <leeming@lyx.org>
9537 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9538 than Dialogs::showTabularCreate().
9540 2003-03-09 John Levon <levon@movementarian.org>
9544 * text2.C: 3rd arg to nextBreakPoint was always the same.
9547 2003-03-08 John Levon <levon@movementarian.org>
9554 * text2.C: Remove the "main" bit from the "main body"
9557 2003-03-08 John Levon <levon@movementarian.org>
9559 * text.C (leftMargin): The left margin of an empty
9560 manual label paragraph should not include the label width
9563 * text.C (prepareToPrint): don't attempt to measure hfills
9564 for empty manual label paragraphs - the answer should be 0
9566 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9568 * CutAndPaste.C: remove commented code and reindent.
9570 2003-03-08 John Levon <levon@movementarian.org>
9573 * lyxfunc.C: move reloadBuffer()
9576 * BufferView.C: to here
9578 * lyxvc.C: add comment
9581 * vc-backend.C: call bv->reload() to avoid
9582 getStatus() check on MENURELOAD
9584 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9586 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9587 to an old format .dep file.
9589 2003-03-07 Angus Leeming <leeming@lyx.org>
9591 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9592 when the LFUN_MOUSE_RELEASE should have been handled by
9593 inset->localDispatch.
9595 2003-03-07 Angus Leeming <leeming@lyx.org>
9597 * BufferView_pimpl.C (dispatch):
9598 * LyXAction.C (init):
9599 * ToolbarDefaults.C (init):
9601 * lyxfunc.C (getStatus):
9602 remove LFUN_INSET_GRAPHICS.
9604 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9606 2003-03-07 Angus Leeming <leeming@lyx.org>
9609 * LyXAction.C (init):
9610 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9612 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9615 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9617 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9618 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9620 2003-03-07 Angus Leeming <leeming@lyx.org>
9622 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9625 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9627 * ParagraphList.C (front): new function
9630 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9632 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9633 and top_row_offset_. removed var first_y.
9635 * text2.C (LyXText, removeRow):
9637 * BufferView_pimpl.C:
9638 use these methods instead of using first_y
9640 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9642 * text2.C (pasteSelection): adjust for checkPastePossible
9644 * CutAndPaste.C: remove Paragraph * buf and replace with
9645 ParagraphList paragraphs.
9646 (DeleteBuffer): delete
9647 (cutSelection): change the tc type to textclass_type
9648 (copySelection): change the tc type to textclass_type
9649 (copySelection): adjust for ParagraphList
9650 (pasteSelection): change the tc type to textclass_type
9651 (pasteSelection): adjust for Paragraphlist
9652 (nrOfParagraphs): simplify for ParagraphList
9653 (checkPastePossible): simplify for ParagraphList
9654 (checkPastePossible): remove unused arg
9656 * ParagraphList.C (insert): handle the case where there are no
9659 * CutAndPaste.h: make CutAndPaste a namespace.
9661 * text3.C (dispatch): adjust
9663 * text.C (breakParagraph): add a ParagraphList as arg
9665 * paragraph_funcs.C (breakParagraph): change to take a
9666 BufferParams and a ParagraphList as args.
9667 (breakParagraphConservative): ditto
9668 (mergeParagraph): ditto
9669 (TeXDeeper): add a ParagraphList arg
9670 (TeXEnvironment): ditto
9673 * buffer.C (readLyXformat2): adjust
9674 (insertStringAsLines): adjust
9675 (latexParagraphs): adjust
9677 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9678 (cutSelection): adjust
9679 (pasteSelection): adjust
9681 * BufferView_pimpl.C (insertInset): adjust
9683 2003-03-05 Angus Leeming <leeming@lyx.org>
9686 * LyXAction.C (init):
9687 * BufferView_pimpl.C (dispatch):
9688 * lyxfunc.C (getStatus):
9689 remove LFUN_CHILD_INSERT.
9691 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9693 2003-03-05 Angus Leeming <leeming@lyx.org>
9696 * LyXAction.C (init):
9697 * src/factory.C (createInset):
9698 * lyxfunc.C (getStatus):
9699 * text3.C (dispatch):
9700 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9702 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9704 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9706 * ParagraphList.C (insert): handle insert right before end()
9707 (erase): fix cases where it can be first or last paragraph.
9709 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9711 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9712 Paragraph::next and Paragraph::previous
9715 * text.C (breakParagraph): adjust
9717 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9718 BufferParams& as arg.
9719 (breakParagraph): use ParagraphList::insert
9720 (breakParagraphConservative): take a Buffer* instead of a
9721 BufferParams& as arg.
9722 (breakParagraphConservative): use ParagraphList::insert.
9724 * buffer.C (insertStringAsLines): un-const it
9725 (insertStringAsLines): adjust
9727 * ParagraphList.C (insert): new function
9729 * CutAndPaste.C (pasteSelection): adjust
9731 * text.C (backspace): adjust
9733 * tabular.C (SetMultiColumn): adjust
9735 * CutAndPaste.C (cutSelection): adjust
9736 (pasteSelection): adjust
9738 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9739 Buffer const * as arg
9741 * ParagraphList.C (erase): new function
9742 * paragraph_funcs.C (mergeParagraph): use it
9743 (mergeParagraph): make it take a Buffer* instead of a
9744 BufferParams* as arg
9746 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9748 (breakParagraphConservative): ditto
9750 * paragraph.h: remove the breakParagraph friend
9752 * paragraph.C (eraseIntern): new function
9753 (setChange): new function
9755 * paragraph_funcs.C (mergeParagraph): make it take a
9756 ParagraphList::iterator instead of a Paragraph *, adjust
9759 * paragraph.h: move an #endif so that the change tracking stuff
9760 also works in the NO_NEXT case.
9762 2003-03-04 Angus Leeming <leeming@lyx.org>
9765 * LyXAction.C: new LFUN_INSET_MODIFY.
9767 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9768 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9770 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9772 * several files: ws changes only
9774 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9775 (TeXEnvironment): ditto
9778 * buffer.C (makeLaTeXFile): adjust
9779 (latexParagraphs): make it take ParagraphList::iterator as args
9781 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9783 * buffer.C (latexParagraphs): adjust
9785 * paragraph.C (TeXOnePar): move function...
9786 (optArgInset): move function...
9787 (TeXEnvironment): move function...
9788 * paragraph_pimpl.C (TeXDeeper): move function...
9789 * paragraph_funcs.C: ...here
9791 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9793 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9795 * buffer.C (readInset): remove compability code for old Figure and
9798 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9800 * buffer.C: ws changes
9803 * BufferView_pimpl.C: ditto
9806 * bufferlist.h: ditto
9810 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9812 * converter.[Ch]: split into itself +
9815 * Makefile.am: += graph.[Ch] + format.[Ch]
9822 * lyxrc.C: added #include "format.h"
9824 2003-02-27 Angus Leeming <leeming@lyx.org>
9826 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9829 * factory.C (createInset): add "label" to the factory.
9831 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9832 string and do no more.
9834 2003-02-27 Angus Leeming <leeming@lyx.org>
9837 * LyXAction.C (init):
9838 * factory.C (createInset):
9839 * BufferView_pimpl.C (dispatch):
9840 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9842 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9844 * lyxfunc.C (dispatch):
9845 * text3.C (dispatch): pass name to params2string.
9847 2003-02-26 Angus Leeming <leeming@lyx.org>
9849 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9851 Rearrange the ~includes. Strip out the unnecessary ones.
9853 * factory.C (createInset): reformat.
9854 create new insets for the various LFUN_XYZ_APPLY lfuns.
9856 2003-02-26 John Levon <levon@movementarian.org>
9859 * lyxrow.C: add isParStart,isParEnd helpers
9861 * paragraph.h: make isInserted/DeletedText take refs
9863 * paragraph_funcs.h:
9864 * paragraph_funcs.C: remove #if 0'd code
9869 * text.C: use lyxrow helpers above.
9870 Move draw and paint routines to RowPainter.
9871 Make several methods use refs not pointers.
9872 Make backgroundColor() const.
9873 Add markChangeInDraw(), isInInset().
9874 Merge changeRegionCase into changeCase.
9875 Make workWidth() shouldn't-happen code into an Assert.
9878 * rowpainter.C: new class for painting a row.
9881 * vspace.C: make inPixels take a ref
9883 2003-02-26 Angus Leeming <leeming@lyx.org>
9885 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9888 2003-02-25 John Levon <levon@movementarian.org>
9890 * ispell.C: give the forked command a more accurate name
9892 2003-02-22 John Levon <levon@movementarian.org>
9895 * toc.C: make TocItem store an id not a Paragraph *
9898 2003-02-21 Angus Leeming <leeming@lyx.org>
9900 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9901 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9902 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9903 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9904 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9905 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9907 * BufferView_pimpl.C (dispatch):
9908 * LyXAction.C (init):
9909 * factory.C (createInset):
9910 * lyxfunc.C (getStatus, dispatch):
9911 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9913 2003-02-21 Angus Leeming <leeming@lyx.org>
9915 * BufferView_pimpl.C (MenuInsertLyXFile):
9916 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9917 * lyxfunc.C (menuNew, open, doImport):
9918 no longer pass a LyXView & to fileDlg.
9920 2003-02-21 Angus Leeming <leeming@lyx.org>
9922 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9923 * LyXAction.C: change, BIBKEY to BIBITEM.
9924 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9925 Change InsetBibKey to InsetBibitem.
9926 Change BIBKEY_CODE to BIBITEM_CODE.
9927 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9928 * factory.C: replace insetbib.h with insetbibitem.h.
9929 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9930 * paragraph.C: replace insetbib.h with insetbibitem.h.
9931 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9932 Change bibkey() to bibitem().
9933 * text.C: remove insetbib.h.
9934 * text2.C: replace insetbib.h with insetbibitem.h.
9935 change bibkey() to bibitem().
9936 * text3.C: remove insetbib.h.
9937 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9939 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9941 * lyxrc.C (output): enclose user email in quotes (in case there are
9944 2003-02-18 John Levon <levon@movementarian.org>
9946 * buffer.h: add std::
9948 2003-02-17 John Levon <levon@movementarian.org>
9954 * pspell.C: reworking. Especially in ispell, a large
9955 number of clean ups and bug fixes.
9957 * lyxfunc.C: fix revert to behave sensibly
9959 2003-02-17 André Pönitz <poenitz@gmx.net>
9962 * commandtags.h: new LFUN_INSERT_BIBKEY
9972 * paragraph_func.C: remove special bibkey handling
9974 2003-02-17 John Levon <levon@movementarian.org>
9976 * text.C (Delete): fix case where delete at the end of
9977 the very first paragraph would not merge the pars
9979 2003-02-17 John Levon <levon@movementarian.org>
9981 * lyxrow.C: fix lastPrintablePos()
9983 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9985 * bufferparams.C (writeLaTeX): add a std:here
9987 * buffer.C: and remove a using directive there
9989 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9991 * buffer.C (makeLaTeXFile): move the code that generates the
9994 * bufferparams.C (writeLaTeX): ... in this new method
9996 * LaTeXFeatures.C (getEncodingSet): make const
9997 (getLanguages): make const
9999 * MenuBackend.C (binding): returns the binding associated to this
10001 (add): sets the status of each item by calling getStatus. Adds
10003 (read): add support for OptSubMenu
10004 (expand): remove extra separator at the end of expanded menu
10006 2003-02-15 John Levon <levon@movementarian.org>
10009 * BufferView_pimpl.C:
10011 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10012 inset code that had no actual effect. Remove unneeded status
10015 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10017 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10020 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10022 * text.C (drawLengthMarker): also draw an arrow marker for
10023 symbolic lengths (medskip...)
10025 2003-02-14 John Levon <levon@movementarian.org>
10028 * tabular.C: better method names
10030 2003-02-14 John Levon <levon@movementarian.org>
10032 * BufferView_pimpl.C:
10037 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10038 it's a more accurate name. Remove some pointless uses.
10040 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10042 * text2.C (LyXText): change order of initilizers to shut off
10045 2003-02-14 John Levon <levon@movementarian.org>
10047 * buffer.C: use ParIterator for getParFromID()
10051 * paragraph_pimpl.h:
10052 * paragraph_pimpl.C: remove unused getParFromID()
10054 2003-02-14 John Levon <levon@movementarian.org>
10056 * buffer.C: remove some very old #if 0'd parse code
10058 2003-02-13 John Levon <levon@movementarian.org>
10062 * text2.C: move hfillExpansion(), numberOfSeparators(),
10063 rowLast(), rowLastPrintable(), numberofHfills(),
10064 numberOfLabelHfills() ...
10067 * lyxrow.C: ... to member functions here.
10072 * text.C: remove LyXText::beginningOfMainBody(), and call
10073 p->beginningOfMainBody() directly. Move the check for
10074 LABEL_MANUAL into the latter.
10081 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10087 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10088 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10090 2003-02-13 John Levon <levon@movementarian.org>
10092 * CutAndPaste.C: remove debug
10094 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10096 * paragraph.C (asString): remove two unused variables
10098 * lyxtextclass.C (readTitleType):
10100 (LyXTextClass): handle new members titletype_ and titlename_
10102 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10104 2003-02-09 John Levon <levon@movementarian.org>
10107 * buffer.C: replace hand-coded list with a map for the dep clean
10109 2003-02-08 John Levon <levon@movementarian.org>
10111 * LaTeX.C: consolidate code into showRunMessage() helper
10113 2003-02-08 John Levon <levon@movementarian.org>
10118 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10119 and pass the size in explicitly
10121 * BufferView_pimpl.h:
10122 * BufferView_pimpl.C:
10124 * BufferView.C: add getCurrentChange()
10126 * BufferView_pimpl.h:
10127 * BufferView_pimpl.C: handle change lfuns
10129 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10130 for changes. Mark pasted paragraphs as new.
10132 * support/lyxtime.h:
10133 * support/lyxtime.C:
10134 * DepTable.C: abstract time_t as lyx::time_type
10137 * LColor.C: add colours for new text, deleted text, changebars
10139 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10140 package use "usenames" option.
10144 * LyXAction.C: add change lfuns
10148 * author.C: author handling
10151 * buffer.C: add a per-buffer author list, with first entry as
10152 current author. Handle new .lyx tokens for change tracking. Output
10153 author list to .lyx file. Output dvipost stuff to .tex preamble.
10154 Bump lyx format to 222.
10157 * bufferlist.C: add setCurrentAuthor() to reset current author details
10161 * bufferparams.C: add param for tracking
10163 * bufferview_funcs.C: output change info in minibuffer
10167 * changes.C: add change-tracking structure
10170 * debug.C: add CHANGES debug flag
10173 * lyxfind.C: add code for finding the next change piece
10176 * lyxrc.C: add user_name and user_email
10179 * lyxrow.C: add a metric for the top of the text line
10182 * text.C: implement accept/rejectChange()
10185 * text.C: paint changebars. Paint new/deleted text in the chosen
10186 colours. Strike through deleted text.
10190 * paragraph_pimpl.h:
10191 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10192 in the current change to the insert functions. Rework erase to
10193 mark text as deleted, adding an eraseIntern() and a range-based
10194 erase(). Implement per-paragraph change lookup and
10197 * paragraph_funcs.C: Fixup paste for change tracking.
10199 * tabular.C: mark added row/columns as new.
10201 * text.C: fix rowLast() to never return -1. Don't allow
10202 spellchecking of deleted text. Track transpose changes. Don't
10203 allow paragraph break or merge where appropriate.
10205 * text2.C: leave cursor at end of selection after a cut.
10207 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10209 * text.C (getLengthMarkerHeight):
10210 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10211 visible on screen too.
10213 2003-02-07 John Levon <levon@movementarian.org>
10215 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10217 2003-02-05 Angus Leeming <leeming@lyx.org>
10219 * lyxserver.C (read_ready): revert my patch of 11 September last year
10220 as it sends PC cpu through the roof. Presumably this means that
10221 the lyxserver will no longer run on an Alpha...
10223 2003-01-30 Angus Leeming <leeming@lyx.org>
10225 * factory.C (createInset): create an InsetCommandParam of type "index"
10226 and use it to 'do the right thing'.
10228 * text2.C (getStringToIndex): ensure that cursor position is always
10229 reset to the reset_cursor position.
10231 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10233 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10236 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10240 * lyxfunc.C: Output messages with identical spelling, punctuation,
10243 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10245 * MenuBackend.C (expandFormats): List only viewable export formats
10248 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10251 * lyxfunc.C (getStatus): Make sure that formats other than
10252 "fax" can also be disabled
10254 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10256 * text3.C (dispatch): put the lfuns that insert insets in 3
10257 groups, and call doInsertInset with appropriate arguments.
10258 (doInsertInset): new function, that creates an inset and inserts
10259 it according to some boolean parameters.
10261 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10263 * buffer.C (readFile): remember to pass on 'par' when calling
10264 readFile recursively.
10266 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10268 * MenuBackend.C (expandFormats): add "..." to import formats.
10270 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10272 * paragraph.C (asString): Remove XForms RTL hacks.
10274 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10275 * buffer.C: fix typo
10277 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10279 * Makefile.am (LIBS): delete var
10280 (lyx_LDADD): add @LIBS@ here instead.
10282 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10284 * Clarify the meaning of "wheel mouse jump"
10286 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10288 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10291 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10293 * importer.C (Loaders): do not preallocate 3 elements in the
10294 vector, since one ends up with 6 elements otherwise
10296 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10298 * DepTable.C (write): write the file name as last element of the
10299 .dep file (because it may contain spaces)
10300 (read): read info in the right order
10302 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10304 * paragraph_pimpl.C (simpleTeXBlanks):
10305 (simpleTeXSpecialChars):
10306 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10308 * tabular.C (latex): add some missing case statements. Reindent.
10310 * MenuBackend.C (expandToc): remove unused variable.
10312 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10321 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10324 2003-01-05 John Levon <levon@movementarian.org>
10327 * BufferView.C: add getEncoding()
10330 * kbsequence.C: do not store last keypress
10333 * lyxfunc.C: store last keypress here instead. Pass encoding
10336 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10338 * lyx_main.C (init): remove annoying error message when following
10339 symbolic links (bug #780)
10341 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10343 * text.C (insertChar):
10344 * lyxrc.C (getDescription): remove extra spaces
10346 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10348 * lyxrc.C (getDescription): remove extra spaces
10350 2002-12-20 John Levon <levon@movementarian.org>
10352 * text3.C: hack fix for page up/down across tall rows
10354 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10356 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10359 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10361 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10362 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10363 thesaurus is not compiled in
10365 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10367 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10369 2002-12-16 Angus Leeming <leeming@lyx.org>
10372 * lyx_main.C (init): remove override_x_deadkeys stuff.
10374 2002-12-12 John Levon <levon@movementarian.org>
10376 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10377 insert. Only remove shift modifier under strict
10380 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10382 * MenuBackend.C (expandToc): fix crash.
10384 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10386 * MenuBackend.C (expandToc): gettext on float names.
10388 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10390 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10391 implement bool empty() [bug 490]
10393 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10395 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10397 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10399 * several files: ws changes
10401 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10403 * text2.C (setCounter): clean up a bit, use boost.format.
10404 (updateCounters): initialize par upon declaration.
10406 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10407 if the layout exists. We do not just store the layout any more.
10408 (SwitchLayoutsBetweenClasses): use boost.format
10410 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10412 * converter.C (convert): if from and to files are the same, use a
10413 temporary files as intermediary
10415 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10418 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10420 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10422 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10424 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10426 * tabular.C (asciiPrintCell): use string(size, char) instead of
10429 * sgml.C (openTag): fix order of arguments to string constructor
10432 * lyxfunc.C (dispatch): use boost.format
10434 * lots of files: change "c" -> 'c'
10436 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10438 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10440 2002-11-25 Angus Leeming <leeming@lyx.org>
10442 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10444 * lyx_main.C (init): compile fix.
10446 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10448 * lyx_cb.C (start): boost.formatify
10449 do not include <iostream>
10451 * lengthcommon.C: ws only
10453 * boost-inst.C,BoostFormat.h: add more explict instantations
10455 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10457 * lots of files: handle USE_BOOST_FORMAT
10459 2002-11-21 John Levon <levon@movementarian.org>
10461 * pspell.C: fix compile
10463 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10465 * lyxfunc.C (dispatch): use boost::format
10469 * lyxfont.C (stateText): use boost::format
10471 * lyx_main.C (LyX): use boost::format
10473 (queryUserLyXDir): ditto
10474 (readRcFile): ditto
10476 (typedef boost::function): use the recommened syntax.
10478 * importer.C (Import): use boost::format
10480 * debug.C (showLevel): use boost::format
10482 * converter.C (view): use boost::format
10487 * bufferview_funcs.C (currentState): use boost::format
10489 * bufferlist.C (emergencyWrite): use boost::format
10491 * buffer.C (readLyXformat2): use boost::format
10492 (parseSingleLyXformat2Token): ditto
10494 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10496 * LaTeX.C (run): use boost::format
10498 * Chktex.C (scanLogFile): use boost::format
10500 * BufferView_pimpl.C (savePosition): use boost::format
10501 (restorePosition): ditto
10502 (MenuInsertLyXFile): ditto
10504 * BoostFormat.h: help file for explicit instation.
10506 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10508 * tabular.C (latex): Support for block alignment in fixed width
10511 2002-11-17 John Levon <levon@movementarian.org>
10513 * BufferView_pimpl.C:
10515 * lyxfunc.C: split filedialog into open/save
10517 2002-11-08 Juergen Vigna <jug@sad.it>
10519 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10520 by my last patch (hopefully).
10522 2002-11-08 John Levon <levon@movementarian.org>
10531 * toc.C: ParConstIterator, and use it (from Lars)
10533 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10535 * lyxtextclass.[Ch]: revise and add doxygen comments
10537 2002-11-07 John Levon <levon@movementarian.org>
10539 * text.C: fix progress value for spellchecker
10541 * toc.C: fix navigate menu for insetwrap inside minipage
10543 * paragraph_funcs.C: added FIXME for suspect code
10545 2002-11-07 John Levon <levon@movementarian.org>
10547 * BufferView_pimpl.C: fix redrawing of insets
10550 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10552 * text2.C (updateCounters): fix bug 668
10554 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10556 * text3.C (dispatch): Do not make the buffer dirty when moving the
10559 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10561 * vc-backend.C: STRCONV
10562 (scanMaster): ditto
10564 * text2.C (setCounter): STRCONV
10566 * paragraph.C (asString): STRCONV
10568 * lyxlength.C (asString): STRCONV
10569 (asLatexString): ditto
10571 * lyxgluelength.C (asString): STRCONV
10572 (asLatexString): ditto
10574 * lyxfunc.C (dispatch): STRCONV
10577 * lyxfont.C (stateText): STRCONV
10579 * importer.C (Import): STRCONV
10581 * counters.C (labelItem): STRCONV
10582 (numberLabel): ditto
10583 (numberLabel): remove unused ostringstream o
10588 * bufferview_funcs.C (currentState): STRCONV
10590 * buffer.C (readFile): STRCONV
10591 (asciiParagraph): ditto
10592 (makeLaTeXFile): ditto
10594 * Spacing.C (writeEnvirBegin): STRCONV
10596 * LaTeXFeatures.C (getLanguages): STRCONV
10597 (getPackages): ditto
10599 (getBabelOptions): ditto
10600 (getTClassPreamble): ditto
10601 (getLyXSGMLEntities): ditto
10602 (getIncludedFiles): ditto
10606 (scanAuxFile): ditto
10609 * LString.h: add the STRCONV macros
10611 * BufferView_pimpl.C (savePosition): STRCONV
10612 (restorePosition): ditto
10613 (MenuInsertLyXFile): ditto
10615 * vc-backend.C (scanMaster): change from submatch[...] to
10618 * funcrequest.C: include config.h
10620 * factory.C: include config.h
10622 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10624 * box.C: include config.h
10626 * LaTeX.C (scanAuxFile): change from submatch[...] to
10630 2002-10-25 Angus Leeming <leeming@lyx.org>
10632 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10634 * ispell.[Ch] (setError): new method.
10635 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10636 Use setError() insetead of goto END.
10638 * lyx_cb.C (AutoSave): move out child process into new class
10641 2002-10-30 John Levon <levon@movementarian.org>
10643 * text3.C: make start appendix undoable
10645 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10647 * lyxlength.C (inPixels): Fix returned value.
10649 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10652 2002-10-24 Angus Leeming <leeming@lyx.org>
10654 * lyxgluelength.h: no need to forward declare BufferParams
10655 or BufferView, so don't.
10657 2002-10-21 John Levon <levon@movementarian.org>
10659 * BufferView.C: menuUndo ->undo, redo
10661 * BufferView.h: document, remove dead, make some methods private
10663 * paragraph_funcs.h:
10664 * paragraph_funcs.C:
10665 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10670 * sgml.C: move sgml open/close tag into sgml.C
10672 * bufferview_funcs.h: unused prototype
10675 * lyxfunc.C: remove unused
10678 * text.C: remove unused
10680 2002-10-21 John Levon <levon@movementarian.org>
10684 * BufferView_pimpl.h:
10685 * BufferView_pimpl.C: fix mouse wheel handling based on
10686 patch from Darren Freeman
10688 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10690 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10692 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10694 * lyxlength.C (inPixels): Fix hanfling of negative length.
10695 Fix LyXLength::MU case.
10697 2002-10-16 John Levon <levon@movementarian.org>
10699 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10701 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10703 * converter.C (view): add support for $$i (file name) and $$p
10704 (file path) for the viewer command. If $$i is not specified, then
10705 it is appended to the command (for compatibility with old syntax)
10707 2002-10-14 Juergen Vigna <jug@sad.it>
10709 * undo_funcs.C (textHandleUndo): alter the order in which the
10710 new undopar is added to the LyXText, as we have to set first
10711 the right prev/next and then add it as otherwise the rebuild of
10712 LyXText is not correct. Also reset the cursor to the right paragraph,
10713 with this IMO we could remove the hack in "redoParagraphs()".
10715 2002-10-09 Angus Leeming <leeming@lyx.org>
10717 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10718 to turn off an optimisation if a new inset is to be inserted.
10720 2002-10-11 André Pönitz <poenitz@gmx.net>
10722 * lyxtext.h: make some functions public to allow access
10723 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10725 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10727 * text3.C (dispatch): when changing layout, avoid an infinite loop
10730 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10732 * lyxrc.C (read): treat a viewer or converter command of "none" as
10735 * MenuBackend.C (expandFormats): for an update, also allow the
10736 formats that are not viewable
10738 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10739 script if it is newer than the lyxrc.defaults in user directory
10741 2002-10-07 André Pönitz <poenitz@gmx.net>
10743 * text.C: Vitaly Lipatov's small i18n fix
10745 2002-09-25 Angus Leeming <leeming@lyx.org>
10747 * ispell.h: doxygen fix.
10749 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10751 * buffer.h (readFile): Add a new argument to the method, to allow
10752 reading of old-format templates.
10754 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10756 * toc.C (getTocList): Get TOC from InsetWrap.
10758 2002-09-16 John Levon <levon@movementarian.org>
10760 * lyxfunc.C: check tabular for cut/copy too
10762 2002-09-12 John Levon <levon@movementarian.org>
10764 * LyXAction.C: tidy
10767 * factory.C: add header
10769 * paragraph_funcs.h:
10770 * paragraph_funcs.C: cleanup
10772 2002-09-11 John Levon <levon@movementarian.org>
10774 * PrinterParams.h: odd/even default to true
10776 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10778 * PrinterParams.h: update printer parameters for new xforms dialog
10780 2002-09-11 Angus Leeming <leeming@lyx.org>
10782 * lyxserver.C (read_ready): re-write to make it more transparent
10783 and to make it work in coherent fashion under Tru64 Unix.
10785 2002-09-11 André Pönitz <poenitz@gmx.net>
10789 * text3.C: implement LFUN_WORDSEL
10791 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10793 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10794 make floatlist_ a boost::shared_ptr<FloatList>
10796 * lyxtextclass.C: include FloatList.h
10797 (LyXTextClass): initialize floatlist_
10798 (TextClassTags): add TC_NOFLOAT
10799 (Read): match "nofloat" to TC_NOFLOAT and use it.
10800 (readFloat): modify call to floatlist_
10804 * FloatList.[Ch] (FloatList): remove commented out float
10806 (erase): new function
10808 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10810 * MenuBackend.C (expandToc): fix crash when there is no document
10813 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10815 * many files: Add insetwrap.
10817 2002-09-09 John Levon <levon@movementarian.org>
10819 * text2.C: remove confusing and awkward depth wraparound
10821 2002-09-09 John Levon <levon@movementarian.org>
10823 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10826 * buffer.C: remove getIncludeonlyList()
10829 * lyxfunc.C: remove headers
10831 2002-09-09 Juergen Vigna <jug@sad.it>
10833 * text.C (getColumnNearX): fix form Michael this is most
10834 probably a cut&paste bug.
10836 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10838 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10840 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10841 references, ws changes.
10843 * text2.C (init): update counters after init
10844 (insertParagraph): no need to set counter on idividual paragraphs.
10845 (setCounter): access the counters object in the textclass object
10846 on in the buffer object.
10847 (updateCounters): ditto
10849 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10850 shared_ptr<Counters> to avoid loading counters.h in all
10852 (LyXTextClass): initialize ctrs_
10853 (TextClassTags): add TC_COUNTER, and ...
10854 (Read): use it here.
10855 (CounterTags): new tags
10856 (readCounter): new function
10857 (counters): new funtion
10858 (defaultLayoutName): return a const reference
10860 * counters.C (Counters): remove contructor
10861 (newCounter): remove a couple of unneeded statements.
10862 (newCounter): simplify a bit.
10863 (numberLabel): some small formatting changes.
10865 * buffer.[Ch]: remove all traces of counters, move the Counters
10866 object to the LyXTextClass.
10868 2002-09-06 Alain Castera <castera@in2p3.fr>
10870 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10871 package to set the horizontal alignment on fixed width columns.
10874 * lyx_sty.h: added tabularnewline macro def.
10876 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10878 2002-09-06 John Levon <levon@movementarian.org>
10880 * LyXAction.C: tooltips for sub/superscript
10882 * MenuBackend.C: a bit more verbose
10884 * lyxfunc.C: tiny clean
10886 * undo_funcs.C: document undo_frozen
10888 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10890 * counters.C (Counters): add missing algorithm counter.
10892 * text2.C (setCounter): lookup the counter with layouts latexname
10893 instead of by section number.
10894 (setCounter): use a hackish way to lookup the correct enum
10896 a float name->type change
10897 reset enum couners with counter name directly instead of depth value.
10899 * counters.C (Counters): remove the push_backs, change to use the
10900 float type not the float name.
10901 (labelItem): remove unused string, float name->type change
10903 * counters.h: don't include vector, loose the enums and sects vectors
10905 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10907 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10908 (Read): add float->TC_FLOAT to textclassTags
10909 (Read): and handle it in the switch
10910 (readFloat): new function
10912 * FloatList.C (FloatList): comment out the hardcoded float
10915 * lyxlayout.h: ws change.
10917 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10919 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10921 2002-09-03 Angus Leeming <leeming@lyx.org>
10923 * BufferView_pimpl.h: qualified name is not allowed in member
10924 declaration: WorkArea & Pimpl::workarea() const;
10926 * factory.C: added using std::endl directive.
10928 * text3.C: added using std::find and std::vector directives.
10930 2002-08-29 André Pönitz <poenitz@gmx.net>
10933 * text2.C: remove unused member number_of_rows
10936 * BufferView2.C: remove file, move contents to...
10937 * BufferView.C: ... here
10939 * BufferView_pimpl.C:
10940 * factory.C: move more inset creation to factory
10942 * vspace.C: avoid direct usage of LyXText, ws changes
10945 don't provide direct access to WorkArea, use two simple
10946 acessors haveSelction() and workHeight() instead
10949 2002-08-29 John Levon <levon@movementarian.org>
10951 * BufferView_pimpl.C (dispatch): do not continue when
10954 2002-08-28 André Pönitz <poenitz@gmx.net>
10956 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10959 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10961 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10963 * buffer.C: increment LYX_FORMAT to 221
10965 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10966 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10968 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10970 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10972 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10974 * factory.C (createInset): use LyXTextClass::floats
10976 * MenuBackend.C (expandFloatListInsert):
10977 (expandFloatInsert):
10980 * text2.C (setCounter):
10982 * LaTeXFeatures.C (useFloat):
10983 (getFloatDefinitions):
10985 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10987 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10988 floatlist_, with accessor floats().
10990 * FloatList.h: remove global FloatList
10992 2002-08-26 André Pönitz <poenitz@gmx.net>
10994 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10998 * BufferView_pimpl.C:
10999 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11001 2002-08-25 John Levon <levon@movementarian.org>
11003 * LyXAction.C: fix margin note description
11005 2002-08-24 John Levon <levon@movementarian.org>
11009 * bufferview_funcs.C:
11011 * undo_funcs.C: cleanups
11013 * lyxfunc.C: disable CUT/COPY when no selection
11015 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11017 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11018 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11020 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11021 Add backward compatibility to "mono", "gray" and "no".
11023 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11025 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11026 (and file_format >= 200).
11028 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11030 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11032 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11034 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11036 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11038 * BufferView_pimpl.C:
11045 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11046 inset and code to make it work with the paragraph code. The inset
11047 can be anywhere in the paragraph, but will only do the expected
11048 thing in LaTeX if the layout file contains the parameter line
11050 (or more generally, a nonzero value) for that layout.
11052 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11054 * paragraph.h: remove the declaration of undefined counters class
11057 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11059 * text2.C (setCounter): fixed enumeration mis-count as reported by
11060 Dr. Richard Hawkins.
11062 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11064 * paragraph_funcs.h: remove some unneeded includes
11066 * text.C (backspace): pasteParagraph now in global scipe
11068 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11069 (pasteSelection): ditto
11071 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11072 * paragraph_funcs.C (pasteParagraph): ... here
11074 2002-08-20 André Pönitz <poenitz@gmx.net>
11076 * commandtags.h: new LFUNs for swapping/copying table row/colums
11079 * lyxfunc.C: support for new lfuns
11081 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11084 * buffer.[Ch]: remove NO_COMPABILITY stuff
11086 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11088 * boost.C (throw_exception): new file, with helper function for
11089 boost compiled without exceptions.
11094 * ParameterStruct.h:
11095 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11097 * bufferlist.C (emergencyWriteAll): use boost bind
11099 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11101 * text.C: include paragraph_funcs.h
11102 (breakParagraph): breakParagraph is now in global scope
11104 * paragraph_funcs.[Ch]: new files
11106 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11109 * buffer.C: include paragraph_funcs.h
11110 (insertStringAsLines): breakParagraph is now in global scope
11112 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11115 * CutAndPaste.C: include paragraph_funcs.h
11116 (cutSelection): breakParagraphConservative is now in global scope
11117 (pasteSelection): ditto
11119 * buffer.h: declare oprator== and operator!= for
11120 Buffer::inset_iterator
11122 * bufferlist.C (emergencyWrite): don't use fmt(...)
11124 * text3.C: add using std::endl
11126 * BufferView.C (moveCursorUpdate): remove default arg
11128 2002-08-20 André Pönitz <poenitz@gmx.net>
11130 * buffer.[Ch]: move inline functions to .C
11133 * BufferView_pimpl.C:
11135 * buffer.[Ch]: use improved inset_iterator
11138 * paragraph.[Ch]: write one paragraph at a time
11140 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11142 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11143 style if style is not specified.
11145 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11147 * text2.C (setCounter): when searching for right label for a
11148 caption, make sure to recurse to parent insets (so that a caption
11149 in a minipage in a figure float works) (bug #568)
11151 2002-08-20 André Pönitz <poenitz@gmx.net>
11153 * text3.C: new file for LyXText::dispatch() and helpers
11155 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11157 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11159 2002-08-19 André Pönitz <poenitz@gmx.net>
11162 * text.C: new LyXText::dispatch()
11164 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11166 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11168 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11170 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11173 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11175 * Makefile.am: use $(variables) instead of @substitutions@
11177 2002-08-15 André Pönitz <poenitz@gmx.net>
11180 * BufferView_pimpl.C: streamlining mathed <-> outer world
11184 * LyXAction.C: remove unused LFUN_MATH
11186 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11188 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11190 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11192 * paragraph.C (Paragraph): reformat a bit
11193 (cutIntoMinibuffer): use builtin InsetList function instad of
11197 * buffer.C: include boost/bind.hpp, add using std::for_each
11198 (writeFileAscii): use ParagraphList iterators
11199 (validate): use for_each for validate traversal of paragraphs
11200 (getBibkeyList): use ParagraphList iterators
11201 (resizeInsets): use for_each to resizeInsetsLyXText for all
11203 (getParFromID): use ParagraphList iterators
11205 * BufferView2.C (lockInset): use paragraph list and iterators
11207 2002-08-14 John Levon <levon@movementarian.org>
11209 * lyxserver.C: remove spurious xforms include
11211 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11213 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11215 2002-08-13 André Pönitz <poenitz@gmx.net>
11218 * lyxfunc.C: further cleaning
11220 2002-08-13 André Pönitz <poenitz@gmx.net>
11222 * funcrequest.h: new constructor
11224 * funcrequest.C: move stuff here from .h
11227 * BufferView_pimpl.C:
11230 * lyxfunc.C: subsequent changes
11232 * lyxfunc.h: new view() member function
11234 * lyxfunc.C: subsequent changes
11236 2002-08-13 Angus Leeming <leeming@lyx.org>
11239 * BufferView_pimpl.C:
11247 changes due to the changed LyXView interface that now returns references
11248 to member variables not pointers.
11250 2002-08-13 Angus Leeming <leeming@lyx.org>
11252 * WordLangTuple (word, lang_code): return references to strings,
11257 * lyxtext.h: forward-declare WordLangTuple.
11262 * text.C: #include "WordLangTuple.h".
11265 * text.C: (selectNextWordToSpellcheck): constify return type.
11267 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11273 * paragraph_pimpl.h:
11276 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11277 suggested by Angus.
11278 Made updateCounter always count from start of buffer, and removed
11279 second argument (par).
11280 Reverted floats number display to '#'. Perhaps I'll try again when the
11281 code base is sanitized a bit.
11283 2002-08-12 Angus Leeming <leeming@lyx.org>
11285 * buffer.[Ch] (getLabelList): constify.
11287 2002-08-07 André Pönitz <poenitz@gmx.net>
11289 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11291 * funcrequest.h: extension to keep mouse (x,y) position
11293 2002-08-12 Juergen Vigna <jug@sad.it>
11295 * BufferView2.C (insertErrors): forbid undo when inserting error
11298 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11300 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11302 * ParagraphList.[Ch]: new files
11304 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11306 * BufferView2.C (lockInset): ParagraphList changes
11309 * bufferlist.C: ditto
11313 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11315 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11316 unused class variable counter_,
11318 * paragraph.[Ch] (getFirstCounter): delete unused function
11320 * counters.C: include LAssert.h
11321 (reset): add a new function with no arg, change other version to
11322 not have def. arg and to not allow empty arg.
11324 * text2.C (setCounter): remove empty arg from call to Counters::reset
11326 2002-08-11 John Levon <levon@movementarian.org>
11328 * Makefile.am: add WordLangTuple.h
11330 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11332 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11333 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11335 * insets/insettext.C: InsetList changes
11337 * graphics/GraphicsSupport.C (operator()): InsetList changes
11339 * toc.C (getTocList): InsetList changes
11341 * paragraph_pimpl.[Ch]: InsetList changes
11343 * paragraph.[Ch]: InsetList changes
11345 * buffer.C (inset_iterator): InsetList changes
11346 (setParagraph): ditto
11347 * buffer.h (inset_iterator): ditto
11348 * iterators.C (operator++): ditto
11349 * iterators.h: ditto
11351 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11353 * InsetList.[Ch]: new files, most InsetList handling moved out of
11356 * BufferView2.C (removeAutoInsets): InsetList changes
11358 (ChangeInsets): ditto
11360 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11362 * paragraph_pimpl.h (empty): new function
11364 * paragraph.[Ch] (empty): new function
11366 * other files: use the new Paragraph::empty function
11368 2002-08-09 John Levon <levon@movementarian.org>
11370 * lyxtext.h: remove unused refresh_height
11372 2002-08-09 John Levon <levon@movementarian.org>
11379 * paragraph.C: move sgml char escaping out of paragraph
11382 * paragraph.C: remove id setter
11386 * paragraph_pimpl.C: remove dead tex_code_break_column
11388 * bufferview_funcs.C: small cleanup
11390 * lyxfunc.C: remove dead proto
11392 * lyxtext.h: make some stuff private. Remove some dead stuff.
11394 * lyxgluelength.C: make as[LyX]String() readable
11396 2002-08-08 John Levon <levon@movementarian.org>
11401 * ToolbarDefaults.C:
11404 * toc.C: lyxaction cleanup
11406 2002-08-08 John Levon <levon@movementarian.org>
11408 * BufferView2.C: small cleanup
11411 * lyxfind.C: move unnecessary header into the .C
11413 2002-08-08 John Levon <levon@movementarian.org>
11415 * funcrequest.h: just tedious nonsense
11418 * lyx_main.C: cleanups
11421 * vspace.C: remove dead header lyx_main.h
11423 2002-08-07 Angus Leeming <leeming@lyx.org>
11426 * paragraph_pimpl.h:
11427 Forward declare class Counters in paragraph.h by moving the ctrs member
11428 variable into Paragraph::Pimpl.
11429 (counters): new method, returning a reference to pimpl_->ctrs.
11431 * text2.C: ensuing changes.
11433 2002-08-07 John Levon <levon@movementarian.org>
11435 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11437 * BufferView_pimpl.C: announce X selection on double/triple
11440 * lyx_main.C: use correct bool in batch dispatch
11442 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11444 2002-08-07 André Pönitz <poenitz@gmx.net>
11446 * funcrequest.h: new class to wrap a kb_action and its argument
11449 * BufferView_pimpl[Ch]:
11453 * lyxrc.C: subsequent changes
11456 2002-08-07 John Levon <levon@movementarian.org>
11458 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11459 document options change.
11461 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11466 * makefile.am: move counters functionality over from
11467 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11469 2002-08-06 John Levon <levon@movementarian.org>
11471 * WordLangTuple.h: new file for word + language code tuple
11482 * BufferView2.C: use WordLangTuple
11485 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11487 2002-08-06 John Levon <levon@movementarian.org>
11489 * lyx_main.C: fix cmdline batch handling
11491 2002-08-06 André Pönitz <poenitz@gmx.net>
11493 * lyxrc.C: set default for show_banner to true
11495 2002-08-06 John Levon <levon@movementarian.org>
11497 * pspell.C: fix a crash, and allow new aspell to work
11499 2002-08-06 John Levon <levon@movementarian.org>
11502 * kbmap.C: small cleanup
11505 * vspace.C: add const
11507 2002-08-05 John Levon <levon@movementarian.org>
11509 * LyXAction.C: back to tabular-insert
11511 2002-08-04 John Levon <levon@movementarian.org>
11514 * BufferView.C: cosmetic change
11516 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11526 * BufferView2.C: purge all "Lyx" not "LyX" strings
11529 * lyxcursor.C: attempt to add some documentation
11534 * ToolbarDefaults.C:
11535 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11536 merge with LFUN_TABULAR_INSERT
11543 * pspell.C: split up i/pspell implementations into separate
11544 files, many cleanups
11546 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11548 * text2.C: some cleanup
11550 * lyxfunc.C: don't check for isp_command == "none" any more, it
11551 didn't make any sense
11553 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11558 * makefile.am: move counters functionality over
11559 from text2.C/paragraph.[Ch] to counters.[Ch], and
11561 2002-08-02 John Levon <levon@movementarian.org>
11563 * buffer.C: s/lyxconvert/lyx2lyx/
11565 2002-08-02 Angus Leeming <leeming@lyx.org>
11567 * lyxlex.C: revert John's change as it breaks reading of the user
11570 2002-08-02 Angus Leeming <leeming@lyx.org>
11572 * importer.C (Import):
11573 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11574 changes due to LyXView::view() now returning a boost::shared_ptr.
11576 2002-08-02 John Levon <levon@movementarian.org>
11578 * lyxlex.C: small cleanup
11580 2002-08-02 John Levon <levon@movementarian.org>
11582 * text2.C (status): small cleanup, no logic change
11584 2002-08-01 John Levon <levon@movementarian.org>
11587 * buffer.C (writeFile): don't output alerts, caller
11591 * lyx_cb.C: from above
11593 * lyxfunc.C: allow to open non-existent files
11595 2002-07-31 John Levon <levon@movementarian.org>
11597 * lyxserver.C: don't let incidental errors get
11600 2002-07-30 John Levon <levon@movementarian.org>
11602 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11604 2002-07-30 John Levon <levon@movementarian.org>
11607 * lyxserver.C: remove I/O callback too
11609 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11611 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11614 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11616 * many files: strip,frontStrip -> trim,ltrim,rtrim
11618 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11620 * PrinterParams.h: remove extern containsOnly, and include
11621 support/lstrings.h instead.
11623 * LaTeX.C (scanAuxFile): modify because of strip changes
11625 * buffer.C (makeLaTeXFile): ditto
11626 * bufferparams.C (writeFile): ditt
11627 * lyxfont.C (stateText): ditto
11628 * lyxserver.C (read_ready): ditto
11629 * vc-backend.C (scanMaster): ditto
11631 * BufferView_pimpl.h: ws changes
11633 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11635 2002-07-26 André Pönitz <poenitz@gmx.net>
11637 * kb_sequence.C: remove unnedred usings
11639 2002-07-26 Juergen Vigna <jug@sad.it>
11641 * lyxfind.C (LyXReplace): we have to check better if the returned
11642 text is not of theLockingInset()->getLockingInset().
11644 2002-07-25 Juergen Vigna <jug@sad.it>
11646 * lyxfind.C (LyXReplace): don't replace if we don't get the
11649 * undo_funcs.C (createUndo): remove debugging code.
11651 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11653 * buffer.C (parseSingleLyXformat2Token): Use default placement
11654 when reading old floats.
11656 * FloatList.C (FloatList): Change the default placement of figure
11657 and tables to "tbp".
11659 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11661 * MenuBackend.C: using std::max
11663 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11665 * MenuBackend.C (expandToc):
11666 (expandToc2): code moved from xforms menu frontend. It is now
11667 generic and TOCs are transparent to menu frontends.
11669 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11671 * toc.C (getTocList): protect against buf=0
11673 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11674 Menu as first parameter. Now, this calls itself recursively to
11675 expand a whole tree (this will be useful for TOC handling)
11676 (expandFloatInsert): remove 'wide' version of floats
11678 * MenuBackend.h (submenuname): returns the name of the submenu.
11679 (submenu): returns the submenu itself, provided it has been
11680 created by MenuBackend::expand
11682 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11684 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11685 insets which have noFontChange == true. (bug #172)
11687 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11689 * BufferView_pimpl.C: add connection objects and use them...
11692 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11694 * MenuBackend.C (expandLastfiles):
11697 (expandFloatListInsert):
11698 (expandFloatInsert):
11699 (expand): split expand in parts
11701 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11703 * lyx_gui.C: use lyx_gui::exit()
11705 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11707 * LyXAction.C: show the failing pseudo action
11709 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11711 * buffer.C (readFile): Run the lyxconvert script in order to read
11714 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11718 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11720 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11724 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11726 2002-07-22 Herbert Voss <voss@lyx.org>
11729 * lyxlength.[Ch]: add support for the vertical lengths
11731 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11733 * toc.[Ch]: std:: fixes
11735 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11737 * lyxrc.C: do not include lyx_main.h
11739 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11745 * BufferView2.C: include "lyxlex.h"
11748 * bufferparams.h: do not #include "lyxlex.h"
11750 * lyxtextclasslist.C (Add): remove method
11751 (classlist): renamed to classlist_
11753 * paragraph_pimpl.C:
11757 * bufferview_funcs.C:
11762 * toc.C (getTocList): use BufferParams::getLyXTextClass
11764 * toc.C (getTocList): use InsetFloat::addToToc
11766 * toc.[Ch]: new files, containing helper functions to handle table
11769 * lyxfunc.C (dispatch): no need to remove spaces around command
11771 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11772 first command of the sequence; it is not very clever, but I do not
11773 have a better idea, actually
11775 * LyXAction.C (LookupFunc): make sure to remove space at the
11776 beginning and end of the command
11778 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11780 * MenuBackend.C (getMenubar): new method: return the menubar of
11782 (read): treat differently reading of menu and menubar (in
11783 particular, the menubar has no name now)
11784 (Menu::menubar): remove
11786 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11789 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11791 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11792 a bibitem inset in a RTL paragraph.
11794 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11796 * paragraph_pimpl.C: constify
11798 * BufferView_pimpl.C:
11800 * lyxfunc.C: fix dispatch in a nicer way
11802 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11804 * lyxfunc.C (dispatch):
11805 * BufferView_pimpl.C:
11806 * BufferView_pimpl.h:
11808 * BufferView.h: rename Dispatch() to dispatch()
11810 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11812 * lyxlayout.C (Read): honor DependsOn tag
11814 * lyxlayout.[Ch] (depends_on): new method
11816 * version.C.in: update lyx_docversion
11818 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11820 * paragraph.C (validate): remove from here...
11821 * paragraph_pimpl.C (validate): ... and move here
11822 (isTextAt): make it const
11824 * buffer.C (getLists): ws cleanup
11826 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11828 * language.C (read): Use iso8859-1 encoding in latex_lang
11829 (this prevents LyX from crashing when using iso10646-1 encoding).
11831 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11833 * text2.C (toggleInset): if cursor is inside an inset, close the
11834 inset and leave cursor _after_ it
11836 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11838 * lyxfunc.C: move minibuffer completion handling out of here
11840 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11842 * BufferView_pimpl.C:
11843 * LaTeX.C: fix dispatch calls
11845 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11847 * text.C (drawChars): Fix Arabic text rendering.
11849 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11853 * lyxfunc.C: remove message-push/pop
11857 * lyxfunc.C: rationalise some code by removing verboseDispatch
11858 in favour of a bool argument to dispatch()
11860 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11862 * lyx_main.C (init): make sure to read symlinks as absolute paths
11864 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11867 * lyxfunc.C: no need for commandshortcut to be a member
11869 2002-07-15 André Pönitz <poenitz@gmx.net>
11871 * converter.C: add support for $$s (scripts from lib/scripts dir)
11872 * lyx_main.C: white space
11874 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11878 * lyxrc.C: remove second exit confirmation
11880 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11885 * BufferView_pimpl.h:
11886 * BufferView_pimpl.C:
11887 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11889 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11891 * MenuBackend.C (expand): add numeric shortcuts to document menu
11893 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11895 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11897 * lyxfont.C (setLyXFamily):
11904 * buffer.C (asciiParagraph): use ascii_lowercase
11906 2002-07-15 Mike Fabian <mfabian@suse.de>
11908 * lyxlex_pimpl.C (search_kw):
11909 * lyxlex.C (getLongString):
11910 * converter.h (operator<):
11911 * converter.C (operator<):
11912 * buffer.C (parseSingleLyXformat2Token):
11914 * ToolbarDefaults.C (read):
11915 * MenuBackend.C (checkShortcuts):
11917 * LColor.C (getFromGUIName):
11918 (getFromLyXName): use the compare_ascii_no_case instead of
11919 compare_no_case, because in turkish, 'i' is not the lowercase
11920 version of 'I', and thus turkish locale breaks parsing of tags.
11922 2002-07-16 Angus Leeming <leeming@lyx.org>
11924 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11925 now takes a Buffer const & argument.
11927 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11929 * BufferView.C (resize): check there's a buffer to resize
11931 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11933 * lyxfunc.C: remove dead code
11936 * lyxserver.C: use lyx_guii::set_read_callback
11938 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11940 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11941 an inset in a RTL paragraph.
11943 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11945 * lyxfunc.C: repaint after a font size update
11947 2002-07-15 André Pönitz <poenitz@gmx.net>
11949 * lyxlength.C: inBP should be able to return negative values
11951 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11953 * lyxfunc.C: use lyx_gui::update_fonts()
11955 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11957 * lyxfunc.C: use lyx_gui::update_color()
11959 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11965 * lyxrc.C: remove file->new asks for name option, and let
11966 buffer-new take an argument
11968 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11970 * BufferView_pimpl.C: remove unneeded extra repaint()
11972 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11974 * LyXAction.C: allow command-sequence with NoBuffer
11976 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11978 2002-07-10 Angus Leeming <leeming@lyx.org>
11980 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11982 2002-07-09 Angus Leeming <leeming@lyx.org>
11984 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11986 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11988 * lengthcommon.h: whitespace
11990 * lyxfunc.C: update scrollbar after goto paragraph
11992 * lyxtext.h: factor out page break drawing, and fix it so
11993 page break/added space paints as selected nicely
11995 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11997 * BufferView_pimpl.C: add FIXMEs, clean up a little
11999 2002-07-09 André Pönitz <poenitz@gmx.net>
12001 * lyxfont.[Ch]: support for wasy symbols
12003 2002-07-08 André Pönitz <poenitz@gmx.net>
12005 * BufferView_pimpl.C: apply John's patch for #93.
12007 2002-07-05 Angus Leeming <leeming@lyx.org>
12009 * BufferView_pimpl.C (buffer): generate previews if desired.
12011 * LColor.h: add "preview" to the color enum.
12013 * LColor.C (LColor): add a corresponding entry to the items array.
12015 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12018 2002-07-05 Angus Leeming <leeming@lyx.org>
12020 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12021 The body of the code is now in the method that is passed an ostream &
12022 rather than a file name.
12023 Pass an additional only_preamble parameter, useful for the forthcoming
12026 2002-07-03 André Pönitz <poenitz@gmx.net>
12028 * lyxfunc.C: simplify getStatus() a bit for math stuff
12030 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12032 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12034 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12036 * text.C (changeRegionCase): do not change case of all the
12037 document when region ends at paragraph end (bug #461)
12039 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12041 * paragraph.C (startTeXParParams):
12042 (endTeXParParams): add \protect when necessary
12044 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12046 * BufferView_pimpl.C (workAreaExpose): remove warning
12048 2002-06-27 Angus Leeming <leeming@lyx.org>
12050 * Makefile.am: add lyxlayout_ptr_fwd.h.
12052 2002-06-26 André Pönitz <poenitz@gmx.net>
12054 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12056 2002-06-25 Angus Leeming <leeming@lyx.org>
12058 * lyxfunc.C (dispatch): Comment out the call to
12059 grfx::GCache::changeDisplay. The method no longer exists now that the
12060 pixmap generation part of the graphics loader has been moved into
12063 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12065 * text2.C: layout as layout
12067 * text.C: layout as layout
12069 * tabular.C (OldFormatRead): layout as layout
12071 * paragraph_pimpl.C (TeXDeeper): layout as layout
12072 (realizeFont): layout as layout
12074 * paragraph.C (writeFile): layout as layout
12075 (validate): layout as layout
12076 (getFont): layout as layout
12077 (getLabelFont): layout as layout
12078 (getLayoutFont): layout as layout
12079 (breakParagraph): layout as layout
12080 (stripLeadingSpaces): layout as layout
12081 (getEndLabel): layout as layout
12082 (getMaxDepthAfter): layout as layout
12083 (applyLayout): layout as layout
12084 (TeXOnePar): layout as layout
12085 (simpleTeXOnePar): layout as layout
12086 (TeXEnvironment): layout as layout
12087 (layout): layout as layout
12088 (layout): layout as layout
12090 * lyxtextclass.C (compare_name): new functor to work with
12091 shared_ptr, layout as layout
12092 (Read): layout as layout
12093 (hasLayout): layout as layout
12094 (operator): layout as layout
12095 (delete_layout): layout as layout
12096 (defaultLayout): layout as layout
12098 * lyxlayout_ptr_fwd.h: new file
12100 * lyxlayout.C (Read): layout as layout
12102 * lyx_cb.C (MenuInsertLabel): layout as layout
12104 * bufferlist.C (newFile): layout as layout
12106 * buffer.C (readLyXformat2): layout as layout
12107 (parseSingleLyXformat2Token): layout as layout
12108 (insertStringAsLines): layout as layout
12109 (asciiParagraph): layout as layout
12110 (latexParagraphs): layout as layout
12111 (makeLinuxDocFile): layout as layout
12112 (simpleLinuxDocOnePar): layout as layout
12113 (makeDocBookFile): layout as layout
12114 (simpleDocBookOnePar): layout as layout
12115 (getLists): layout as layout
12117 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12119 * CutAndPaste.C (cutSelection): layout as layout
12120 (pasteSelection): layout as layout
12121 (SwitchLayoutsBetweenClasses): layout as layout
12123 * BufferView_pimpl.C (Dispatch): layout as layout
12124 (smartQuote): layout as layout
12126 * BufferView2.C (unlockInset): layout as layout
12128 2002-06-24 André Pönitz <poenitz@gmx.net>
12130 * lyxfunc.C: fix #487
12132 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12136 * lyxfunc.C: remove display_shortcuts, show_banner
12138 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12140 * Buffer_pimpl.C: oops, update on resize
12142 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12149 * BufferView.C: use repaint()
12151 * BufferView_pimpl.h:
12152 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12153 as it's a clearer description. Remove superfluous
12156 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12158 * text.C: fix bug 488. Not ideal, but getting
12159 getWord() to work properly for the insets that
12160 matter is more difficult ...
12162 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12164 * BufferView_pimpl.C:
12167 * lyxfunc.C: remove the six million index lyxfuncs to just
12168 one, and DTRT (bug 458)
12170 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12174 * BufferView_pimpl.h:
12175 * BufferView_pimpl.C: clean up resize() stuff,
12176 and unnecessary updateScreen()s
12178 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12182 * BufferView_pimpl.h:
12183 * BufferView_pimpl.C:
12186 * minibuffer.C: remove focus management of workarea,
12187 not needed. Use screen's greyOut()
12189 2002-06-17 Herbert Voss <voss@lyx.org>
12191 * converter.C: (convert) do not post a message, when converting
12192 fails, let the calling function decide what to do in this case
12194 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12196 * lyxfunc.C: tidy up a little
12198 2002-06-16 <alstrup@diku.dk>
12200 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12201 Got rid of FORMS_H_LOCATION include. Now we are
12204 2002-06-15 LyX Development team <lyx@rilke>
12206 * buffer.[Ch] (sgmlOpenTag):
12207 (sgmlCloseTag): Added support for avoiding pernicious mixed
12208 content. Return number of lines written.
12210 (makeLinuxDocFile):
12211 (makeDocBookFile): Fixed calls to sgml*Tag.
12212 Simple white space clean.
12214 (simpleDocBookOnePar): Simple white space clean.
12216 * tabular.[Ch] (docBook): Renamed to docbook and got another
12217 argument to related with the pernicious mixed content.
12219 (docbookRow): Fixed calls for docbook inset method.
12221 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12223 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12224 so it's X11 independent.
12228 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12230 2002-06-15 Lyx Development team <lyx@electronia>
12232 * intl.h: Renamed getTrans to getTransManager.
12234 2002-06-14 Angus Leeming <leeming@lyx.org>
12236 * Makefile.am: nuke forgotten stl_string_fwd.h.
12238 2002-06-12 Angus Leeming <leeming@lyx.org>
12240 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12242 2002-06-13 Angus Leeming <leeming@lyx.org>
12245 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12247 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12249 * kbmap.C (getiso): add support for cyrillic and greek
12251 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12255 * BufferView_pimpl.h:
12256 * BufferView_pimpl.C: move bogus scrolling logic
12259 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12262 * BufferView_pimpl.C: view->resize() change
12264 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12266 * BufferView_pimpl.C: topCursorVisible
12269 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12273 * lyx_gui.C: move to frontends/
12277 * lyx_main.C: changes from above
12279 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12286 * lyx_main.C: minor tidy
12288 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12290 * BufferView_pimpl.h:
12291 * BufferView_pimpl.C:
12293 * BufferView.C: make painter() const,
12296 * BufferView2.C: use screen() accessor
12299 * lyx_main.C: some minor cleanup
12301 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12303 * BufferView_pimpl.h:
12304 * BufferView_pimpl.C: remove enter/leaveView,
12307 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12312 * BufferView_pimpl.h:
12313 * BufferView_pimpl.C: only construct screen once,
12316 * lyxrc.C: remove pointless comment
12318 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12321 * BufferView.C: remove active() and belowMouse()
12323 * BufferView_pimpl.h:
12324 * BufferView_pimpl.C: use workarea() not workarea_,
12325 and make it use a scoped_ptr instead
12327 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12329 * lyx_gui.C: add debug message on BadWindow
12331 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12333 * sp_spell.C: fdopen is not part of the C++ standard.
12335 * paragraph.C (InsetIterator): use >= instead of ==
12337 2002-06-07 Angus Leeming <leeming@lyx.org>
12339 Fixes needed to compile with Compaq cxx 6.5.
12340 * BufferView_pimpl.C:
12347 * lyxtextclasslist.C:
12352 all c-library variables have been moved into namespace std. Wrap
12353 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12358 Add a using std::abs declaration.
12360 * kbmap.h (modifier_pair):
12361 * paragraph.h (InsetTable, InsetList):
12362 * lyxfont.h (FontBits):
12363 type definition made public.
12365 * bufferlist.C (emergencyWriteAll): the compiler complains that
12366 there is more than one possible lyx::class_fun template to choose from.
12367 I re-named the void specialisation as lyx::void_class_fun.
12369 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12371 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12372 the compiler is is unable to find tostr in write_attribute.
12374 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12376 * buffer.C (sgmlError): hide #warning
12378 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12380 * xtl/*: get rid of xtl, which is not in use anyway
12382 * LyXAction.C (init):
12383 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12384 were unimplemented xtl experimentation
12386 2002-06-04 André Pönitz <poenitz@gmx.net>
12388 * lyxfunc.C: disable array operation on simple formulae
12390 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12392 * converter.C: constify a bit
12394 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12396 * lyx_gui.C: check xforms version correctly
12398 2002-04-30 Herbert Voss <voss@lyx.org>
12400 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12403 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12405 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12406 attempt to register it with a VCS)
12408 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12410 * lyx_main.C (init): honor variables LYX_DIR_13x and
12413 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12417 * lyx_main.C: fix a crash on bad command line,
12418 and give a useful exit status on error
12420 * lyxfunc.C (doImport): allow -i lyx to work
12422 2002-03-30 André Pönitz <poenitz@gmx.net>
12424 * lyxfunc.C: mathed font changes
12426 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12441 * trans_mgr.h: srcdocs, and some minor cleanups
12443 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12445 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12446 call getFont all the time)
12448 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * switch from SigC signals to boost::signals
12452 2002-05-29 André Pönitz <poenitz@gmx.net>
12454 * paragraph_pimpl.C (getChar): don't call size() too often...
12456 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12458 * paragraph_pimpl.C (insertChar): do not try to update tables when
12459 appending (pos == size())
12461 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12462 in order to reduce drastically the number of comparisons needed to
12463 parse a large document
12465 2002-05-29 André Pönitz <poenitz@gmx.net>
12471 * textclasslist.[Ch]:
12472 * sp_ispell.h: whitespace change
12474 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12476 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12477 lyxaction directly now.
12479 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12483 * lyxvc.C: remove unused headers
12485 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12492 * undo_funcs.C: some cleanups. Use shared_ptr
12493 and a template for the undo stacks.
12495 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12497 * BufferView_pimpl.h:
12498 * BufferView_pimpl.C:
12505 * text2.C: use key_state/mouse_state
12507 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12509 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12512 * chset.C: change include order
12513 (loadFile): use boost regex and get rid of LRegex and LSubstring
12515 * Makefile.am (BOOST_LIBS): new variable
12516 (lyx_LDADD): use it
12518 * LaTeX.C: change include order.
12519 (scanAuxFile): use boost regex and get rid of LRegex and
12523 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12528 * FontInfo.C: moved to frontends/xforms/
12531 * FontLoader.C: moved into frontends for GUIIzation
12536 * lyxfunc.C: changes from above
12538 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12540 * LColor.C: remove spurious X include
12542 * BufferView_pimpl.C:
12547 * text2.C: move font metrics to frontends/
12549 2002-05-24 Juergen Vigna <jug@sad.it>
12551 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12552 setting the undo_cursor.
12554 * ParagraphParameters.h: include local includes first.
12556 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12558 * BufferView_pimpl.C:
12559 * BufferView_pimpl.h:
12563 * screen.C: move WorkArea into frontends/
12569 * BufferView2.C: move LyXScreen into frontends/
12573 * lyx_gui.C: move lyxlookup into frontends/xforms/
12575 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12578 * BufferView_pimpl.C:
12588 * bufferview_funcs.C:
12601 * vc-backend.C: move LyX/XFormsView into frontends/
12603 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12615 * text2.C: move Painter to frontends/
12617 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12619 * buffer.C: comment out some some code that depend upon lyx_format
12622 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12623 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12625 * buffer.h (NO_COMPABILITY): turn off compability
12627 * ColorHandler.C: include scoped_array.hpp
12629 * font.C: Use more specific smart_ptr header.
12632 * ShareContainer.h: ditto
12633 * lyx_main.h: ditto
12635 * FontInfo.h: ditto
12636 * BufferView_pimpl.h: ditto
12637 * ColorHandler.h: ditto
12639 * kbmap.C (defkey): change call to shared_ptr::reset
12641 2002-05-21 Juergen Vigna <jug@sad.it>
12643 * buffer.C (insertErtContents): fix to insert ert asis if it is
12644 non empty. Skip it completely if it contains only whitespaces.
12646 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12648 * BufferView_pimpl.C:
12649 * BufferView2.C: clear selection on paste (bug 393)
12651 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12653 * DepTable.C: include ctime
12655 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12657 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12659 2002-05-14 Juergen Vigna <jug@sad.it>
12661 * text.C (breakParagraph): fixed function to honor the keepempty
12662 layout in the right maner and also to permit the right breaking
12663 algorithm on empty or non empyt keepempty paragraphs.
12665 * paragraph.C (breakParagraph): we have to check also if the par
12666 is really empty (!size()) for isempty otherwise we do the wrong
12669 2002-05-10 Juergen Vigna <jug@sad.it>
12671 * buffer.[Ch] : The following are only changes to the ert
12672 compatibility read reading old LaTeX layout and font stuff and
12673 convert it to ERTInsets.
12675 * buffer.h: added isErtInset().
12677 * buffer.C (struct ErtComp): add a fromlayout bool to check
12678 if we're inside a LaTeX layout.
12679 (isErtInset): new helper function.
12680 (insertErtContents): look for other ert insets before this one
12681 and insert the contents there, so that we don't have subsequent
12682 ERT insets with nothing between them. This way we create only one
12683 inset with multiple paragraphs. Also check if we don't insert only
12684 spaces ' ' as they are ignored anyway afterwards in the .tex file
12685 so if we have only spaces we will ignore this latex part in the
12687 (parseSingleLyXformat2Token \\layout): better compatibility when
12688 reading layout-latex stuff.
12689 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12691 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12692 stuff after reading the inset only get the information back from
12695 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12697 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12699 * LaTeXFeatures.C (getBabelOptions): New method.
12701 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * BufferView_pimpl.C (Dispatch): work around missing argument for
12706 2002-05-08 Juergen Vigna <jug@sad.it>
12708 * text.C (leftMargin): handle paragraph leftindent.
12710 * paragraph.C (writeFile): write the new \\leftindent tag.
12711 (validate): handle leftindent code.
12712 (TeXEnvironment): handle paragraphleftindent code again.
12714 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12716 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12717 for paragrap_extra indent code and new token \\leftindent.
12718 (latexParagraphs): handle the leftindent as environment.
12720 * ParameterStruct.h: added leftindent support.
12722 * ParagraphParameters.C (leftIndent): added support functions for
12723 the paragraph left indent.
12725 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12728 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12730 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12733 * text.C (computeBidiTables): No bidi in insetERT.
12735 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12738 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12740 * version.C.in: pre 5
12742 2002-05-02 José Matos <jamatos@fep.up.pt>
12743 * buffer.C (makeDocBookFile): white space changes, add newline to
12745 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12747 * tabular.C (docBook): fix typo.
12749 2002-05-03 Juergen Vigna <jug@sad.it>
12751 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12752 change in LyXText as we can not be sure it was not freed.
12753 (drawOneRow): remove unused code.
12755 * text.C (drawInset): redo the calculation of the need_break_row as
12756 it could have a row which was already freed.
12757 (draw): look at the return value of drawInset and return false if
12758 it also returned false.
12759 (paintRowText): look at the return value of draw and return false if
12760 it also returned false.
12762 * lyxtext.h: added bool return type to drawInset() and draw() so that
12763 if we have a change in the row so that the rowbreak has to be redone
12764 we abort drawing as it will be called again.
12766 2002-05-02 Juergen Vigna <jug@sad.it>
12768 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12769 a change in the maintext also if we're inside an inset.
12770 (Dispatch): set the cursor again after a break line and after the
12771 screen has been updated as it could be we're in a different row.
12773 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12774 to set the cursor behind the pargraph with > size().
12775 (setCursor): check also for the same paragraph when checking where
12776 to put the cursor if we have a NFR inset.
12778 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12779 parts of layout read further up as it still was in the wrong
12782 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * screen.C (drawFromTo): change sine fullRebreak always return
12787 * buffer.C (parseSingleLyXformat2Token): reindent some
12789 * BufferView_pimpl.C (update): change since fullRebreak always
12791 (Dispatch): git rid of the last hardcoded "Standard"s.
12793 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12795 * text2.[Ch] (fullRebreak): make it return void now that we always
12798 2002-04-30 Juergen Vigna <jug@sad.it>
12800 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12801 ert compatibility check for "latex" layout.
12803 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12805 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12806 minipages: use col% instead of p%, and also use the current font.
12807 (makeLaTeXFile): Fix use babel condition.
12808 (parseSingleLyXformat2Token): Correct font when reading old floats.
12810 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12812 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12813 inserting list of floats.
12815 2002-04-25 Herbert Voss <voss@lyx.org>
12817 * MenuBackend.C (expand): don't add the graphics extensions to the
12820 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12822 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12823 non-existing layout, do not complain if it was the default layout
12824 of the original class (bug #342)
12826 2002-04-24 Juergen Vigna <jug@sad.it>
12828 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12829 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12831 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12833 * buffer.C (getBibkeyList): If using \bibliography, return the
12834 option field with the reference itself. Enables us to provide natbib
12835 support when using \bibliography.
12837 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12839 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12841 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12842 natbib is provided by the LaTeX class.
12844 2002-04-23 Juergen Vigna <jug@sad.it>
12846 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12849 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12851 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12853 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12855 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12856 ensuremath around textordmasculine, textordfeminine and
12859 2002-04-19 Juergen Vigna <jug@sad.it>
12861 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12862 reinitializing the buffer otherwise row-dimensions may be wrong.
12863 (update): reset also the selection cursors if they do exits otherwise
12864 their x/y positions may be wrong.
12866 * text2.C (cursorDown): don't enter the inset if we came from a row
12867 above and are one row over the inset.
12869 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12870 really leaving an inset.
12872 2002-04-18 Juergen Vigna <jug@sad.it>
12874 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12875 of the selected paragraph does not have the selected layout also if
12878 * text2.C (setLayout): fixed bug which did not change last selected
12881 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12882 changed the read and substituted \\end_float with \\end_inset!
12884 * BufferView_pimpl.C (cursorPrevious):
12885 (cursorNext): fixed to make it work with rows heigher than the work
12886 area without moving the cursor only the draw of the row.
12887 (workAreaMotionNotify): fix jumping over high rows.
12889 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12891 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12894 2002-04-16 Juergen Vigna <jug@sad.it>
12896 * text2.C (setCursor): set also the irow().
12897 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12899 (cursorDown): support for locking an inset if the x_fix value goes
12900 inside it. That way I can transverse insets too with cursor up/down.
12902 * lyxrow.h: added irow helper function same as other (i) functions.
12904 * BufferView_pimpl.C (cursorPrevious):
12905 (cursorNext): fixed for insets!
12907 2002-04-15 Juergen Vigna <jug@sad.it>
12909 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12910 position otherwise it is wrong in some cases.
12912 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12913 inside the inset before the call.
12915 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12917 * buffer.[Ch] (getBibkeyList): make it const.
12919 2002-04-12 Juergen Vigna <jug@sad.it>
12921 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12923 * text2.C (getCursorX): new helper function
12924 (setCursor): compute also ix_
12925 (setCursorFromCoordinates): set also ix.
12927 * lyxcursor.h: added ix_ and helper functions.
12929 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12931 * buffer.C (insertStringAsLines): dont break paragraph if the this
12932 paragraph is inside an inset which does not permit it!
12934 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12935 also with no chars on this paragraph.
12936 (paintRowText): only paint stuff if it's inside the workarea!
12938 * paragraph.C (breakParagraph): honor keepempty flag and break the
12939 paragraph always below not above.
12941 * BufferView2.C (unlockInset): update the paragraph layout on inset
12942 unlock as we changed paragraph in such a case.
12944 * lyxfind.C (LyXFind): clear the former selection if not found!
12946 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12947 again called in insertChar().
12949 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12950 an inset which uses the whole row!
12951 (rightMargin): ditto.
12952 (insertChar): force a rebreak if we inserted an inset!
12954 2002-03-28 Herbert Voss <voss@lyx.org>
12956 * lyxlength.[Ch]: add inBP() to get the right PS-point
12957 units (BigPoint). With inPixels we have rounding errors
12959 2002-04-11 Juergen Vigna <jug@sad.it>
12961 * text2.C (setCursorFromCoordinates): set iy to the right value.
12962 (setCursor): add check if row->previous exists!
12964 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12965 an old float_type as this was the case in the old code!
12967 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12969 * BufferView2.C (showLockedInsetCursor): use iy
12970 (fitLockedInsetCursor): ditto
12972 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12973 locked insets as there we have the right value now.
12975 * lyxcursor.C: added iy_ variable and iy functions to set to the
12976 baseline of cursor-y of the locked inset.
12978 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12979 (setCursor): fixed for insets which need a full row.
12981 * text.C (rowLastPrintable): don't ignore the last space when before
12982 an inset which needs a full row.
12983 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12984 as last character of a row when before a inset which needs a full row.
12986 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12988 * version.C.in: update date
12990 * text2.C (fullRebreak): try to always return true and see what
12993 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12995 * MenuBackend.C (expand): use Floating::listName
12997 * FloatList.C (FloatList): add listName argument to the built-in
13000 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13001 text associated with the float.
13003 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13005 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13007 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13009 * ShareContainer.h: add a couple of missing typenames.
13011 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13013 * lyxrc.C (getDescription): use _() correctly rather than N_().
13015 2002-03-28 Herbert Voss <voss@lyx.org>
13017 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13018 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13020 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13022 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13023 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13025 2002-03-29 Juergen Vigna <jug@sad.it>
13027 * lyxfunc.C (dispatch): add a missing fitCursor call.
13029 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13030 it was scrolled by a cursor move, so return the bool status.
13032 * BufferView.C (fitCursor): return the bool flag also to the outside
13033 world as this is needed.
13035 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13037 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13038 call the edit() as it is not needed (and wrong) IMO.
13039 (workAreaButtonPress): set the screen_first variable before evt.
13040 unlock the inset as this may change screen_first and then we have
13041 a wrong y position for the click!
13043 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13045 * MenuBackend.C (expand): another translation that I missed
13047 2002-03-28 Juergen Vigna <jug@sad.it>
13049 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13051 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13053 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13055 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13057 * MenuBackend.C (expand): fix export/view/update when there is no
13060 2002-03-27 Herbert Voss <voss@lyx.org>
13062 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13065 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13067 * bufferview_funcs.C (currentState): only show paragraph number
13068 for is DEVEL_VERSION is set.
13070 * lyxfunc.C (dispatch): put warning in INFO channel
13072 * MenuBackend.C (expand): translate the name of floats
13074 * FloatList.C (FloatList): mark the float names for translation
13076 * converter.C (convert): use LibScriptSearch
13078 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13080 * MenuBackend.C (defaults): fix default menu (we might as well get
13083 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13085 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13088 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13090 * lyxvc.C: reorder includes.
13092 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13094 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13097 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13099 * CutAndPaste.C: change layouts earlier on paste
13100 to avoid crashing when calling getFont()
13102 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13104 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13107 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13109 * WorkArea.C: remove 'Pending' debug message.
13111 * most files: ws cleanup
13113 * buffer.[Ch]: ws changes
13115 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13117 2002-03-21 Juergen Vigna <jug@sad.it>
13119 * tabular.C (SetMultiColumn): collapse also the contents of the
13120 cells and set the last border right. Added a Buffer const * param.
13122 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13124 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13127 2002-03-19 Juergen Vigna <jug@sad.it>
13129 * text2.C (clearSelection): reset also xsel_cache.
13131 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13132 where it needs to be called (John tells us to do so too :)
13133 (selectionLost): reset sel_cache.
13135 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13137 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13139 * text2.C (setCursorIntern): put debuging code in INSETS channel
13141 2002-03-19 André Pönitz <poenitz@gmx.net>
13143 * lyxfunc.C: tiny whitespace change
13145 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13147 * ToolbarDefaults.C (init):
13148 * LyXAction.C (init):
13150 * BufferView_pimpl.C (Dispatch):
13151 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13153 2002-03-19 Allan Rae <rae@lyx.org>
13155 * exporter.C (Export): removeAutoInsets before doing anything else.
13156 While I've just introduced a dependency on BufferView this really is
13157 the best place to clean the buffer otherwise you need to cleanup in
13158 a dozen places before calling export or cleanup in a dozen functions
13161 * converter.C (runLaTeX):
13162 (scanLog): Better handling of removeAutoInsets and screen updates.
13164 * lyxfunc.C (dispatch): small whitespace changes
13166 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * WorkArea.C (C_WorkAreaEvent): return a value.
13169 (event_cb): return 1 if we handled the event, 0 otherwise.
13171 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13173 2002-03-18 Juergen Vigna <jug@sad.it>
13175 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13176 (GetAdditionalWidth): ditto.
13177 (RightLine): ditto.
13180 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13181 inset if we're there actually (probably not used right now but this
13182 is the direction to go for unifying code).
13183 (paste): disable code to clear the selection.
13185 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13186 inside an InsetText and move the check further up as it is in the
13189 * text2.C (pasteSelection): set a selection over the pasted text.
13191 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13193 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13194 and libgraphics to build on Cygwin.
13196 2002-03-15 Juergen Vigna <jug@sad.it>
13198 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13199 inserting an Inset into the paragraph. I know this is not the best
13200 fix but we already use current_view in CutAndPaste so we will remove
13201 all of it's using at the same time.
13203 * buffer.C (sgmlError): deactivated function till it is rewritten in
13204 the right mode, now it can create problems.
13206 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13207 before accessing it.
13209 2002-03-14 Juergen Vigna <jug@sad.it>
13211 * undo_funcs.C (textHandleUndo): do the right thing when updating
13212 the inset after the undo/redo.
13214 * text2.C (setCursor): just some testcode for #44 not ready yet.
13216 * undo_funcs.C (textHandleUndo): set the next() and previous()
13217 pointers of the paragraph to 0 before deleting otherwise we have
13218 problems with the Paragraph::[destructor].
13220 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13221 on a paragraph insertion.
13223 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13225 * buffer.C (asciiParagraph): use += operator for char append to
13228 * paragraph.C (getFontSettings): compare >= not just >
13229 (highestFontInRange): ditto
13232 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13234 * paragraph.C: change several algorithm to be more appripriate for
13235 the problem domain. This is lookip in FontList and in the InsetList.
13237 2002-03-13 André Pönitz <poenitz@gmx.net>
13240 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13242 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13247 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13249 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13251 * Painter.C (display): anon helper function, adjust code for this
13253 (pixmap): remove function.
13255 * Painter.h: remove private display variable.
13257 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13259 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13261 * WorkArea.[Ch]: remove figinset_canvas cruft.
13263 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13265 * lyxtextclass.C (operator): add one item cache optimization.
13267 * bufferlist.h: doxy changes
13269 * bufferlist.C: ws changes
13271 * DepTable.[Ch] (ext_exist): place const in the right spot.
13273 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13275 (workAreaExpose): call resizeInsets when the with BufferView changes.
13276 (Dispatch): adjust for protectedBlank removal
13277 (specialChar): call updateInset if the insert went ok.
13279 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13280 specialChar instead.
13282 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13284 * BufferView.h: doxy change
13286 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13288 * lyxtextclass.C (operator[]): remove non-const version
13289 (defaultLayout): remove non-const version
13291 2002-03-12 Juergen Vigna <jug@sad.it>
13293 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13294 did resize the LyXText too.
13296 * buffer.C (readLyXformat2): set layout information on newly allocated
13299 * tabular.C (OldFormatRead): set layout information on the paragraph.
13301 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13303 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13305 2002-03-11 Juergen Vigna <jug@sad.it>
13307 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13309 (resizeCurrentBuffer): force also the insets to resize themselfes.
13310 (moveCursorUpdate): fixed up for InsetText.
13312 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13315 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13316 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13317 value of Dialogs::tooltipsEnabled().
13318 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13320 2002-03-08 Juergen Vigna <jug@sad.it>
13322 * BufferView_pimpl.C (updateInset): update inset inside inset also
13323 if it isn't inside theLockingInset().
13325 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13327 * buffer.C (asciiParagraph): redo some of the word and line length
13329 (getLists): look for Caption instead of caption.
13331 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13333 * buffer.C (Buffer): initialize niceFile to true
13335 (makeLinuxDocFile):
13336 (makeDocBookFile): make sure niceFile is true on exit
13338 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13340 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13342 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13344 * LyXSendto.C: remove.
13345 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13346 * lyx_gui.C: remove now-redundant comment.
13347 * ColorHandler.h: remove forward declaration of class WorkArea.
13348 * lyxfunc.C: remove #include "WorkArea.h".
13350 2002-03-07 Juergen Vigna <jug@sad.it>
13352 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13353 got moved away with the DEPM and also set the inset_owner always
13354 right which before could have been omitted.
13356 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13358 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13359 wanted layout is not found.
13361 2002-03-07 Juergen Vigna <jug@sad.it>
13363 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13365 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13367 * paragraph.C (breakParagraph): use default layout not layout of
13369 (Paragraph): clear ParagraphParameters.
13371 2002-03-06 Juergen Vigna <jug@sad.it>
13373 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13374 otherwise it would not be a valid lenght. Fixed a special case in
13375 the minipage compatibility read where we end the document with a
13378 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13379 was set as it could be 0 for InsetTexts first entry.
13381 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13383 * paragraph.C (writeFile): if layout is empty write out
13384 defaultLayoutName().
13386 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13387 file without named layout we set layout to defaultLayoutName().
13389 2002-03-06 Juergen Vigna <jug@sad.it>
13391 * CutAndPaste.C (copySelection): set layout for new paragraph.
13393 * text.C (prepareToPrint): leave ERT inset left aligned
13394 (leftMargin): don't indent paragraphs inside ERT insets
13396 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13398 * paragraph.C (breakParagraph): dont call clear do the work manually
13400 * paragraph.[Ch] (clear): remove function
13402 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13404 * paragraph.C (Paragraph): dont call clear, the work has already
13407 * lyxtextclass.C (operator): assert if n is empty
13409 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13410 work manually instead.
13412 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13414 * BufferView_pimpl.C: protect selectionLost against text == 0
13416 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13418 * text.C (breakParagraph): fix a setting layout to '0' problem.
13420 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13422 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13423 final location of file, for the included files, and graphics.
13425 2002-03-05 Juergen Vigna <jug@sad.it>
13427 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13429 2002-03-04 Juergen Vigna <jug@sad.it>
13431 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13433 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13434 last column of multicolumn cells.
13435 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13437 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13439 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13440 file if it doesn't go to a temporary file.
13442 * buffer.C (sgmlOpenTag):
13443 (sgmlCloseTag): remove extra newline insertion.
13445 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13447 * text.C (getRowNearY): comment out debug msg
13449 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13451 * text2.C: first -> first_y
13453 * text.C (getRowNearY): add some attemts at a possible
13454 optimization, not working.
13456 * tabular.[Ch]: add BufferParams to several function so that newly
13457 created paragraph can be initialized to he default layotu for the
13460 * tabular-old.C (ReadOld): add buf->params to call of Init
13462 * screen.C: rename text->first to text->first_y
13464 * paragraph.C (breakParagraph): always set layout in the broken
13467 * lyxtextclass.C (Read): remove lowercase
13470 (delete_layout): ditto
13472 * lyxtext.h: rename first -> first_y
13474 * lyxlayout.C (Read): remove lowercase
13477 (obsoleted_by): ditto
13479 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13481 * buffer.C (insertErtContents): add params are to InsetERT
13482 (parseSingleLyXformat2Token): add code to check if a paragraphs
13483 layout really exist.
13484 (parseSingleLyXformat2Token): add params to several inset
13486 (asciiParagraph): remove lowercase, do the layout comparisons with
13489 * BufferView_pimpl.C (cursorNext): first -> first_y
13490 (resizeCurrentBuffer): first -> first_y
13491 (updateScrollbar): first -> first_y
13492 (scrollCB): first -> first_y
13493 (workAreaMotionNotify): first -> first_y
13494 (workAreaButtonPress): first -> first_y
13495 (checkInsetHit): first -> first_y
13496 (cursorPrevious): first -> first_y
13497 (cursorNext): first -> first_y
13498 (Dispatch): add buffer_->params to severl inset contructors
13500 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13502 * lyxlayout.C (Read): remove some debug info that I forgot.
13504 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13505 clean up the code slightly.
13506 (makeLinuxDocFile): ditto
13507 (makeDocBookFile): ditto
13509 * text2.C: layout as string
13511 * text.C: layout as string
13513 * paragraph_pimpl.C: layout as string
13515 * paragraph.[Ch]: layout as string
13517 * lyxtextclasslist.[Ch]: layout as string
13519 * lyxtextclass.[Ch]: layout as string
13521 * lyxtext.h: layout as string
13523 * lyxlayout.[Ch]: layout as string
13525 * lyx_cb.C: layout as string
13527 * bufferview_funcs.C: layout as string
13529 * bufferparams.C: layout as string
13531 * buffer.C: layout as string
13533 * LyXView.[Ch]: layout as string
13535 * LaTeXFeatures.[Ch]: layout as string
13537 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13539 * BufferView_pimpl.C: change current_layout to string, remove
13544 (workAreaButtonRelease): layout as string
13546 * BufferView2.C (unlockInset): adjust
13548 * vspace.C (asLatexCommand): use an explict temp variable.
13550 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13552 * Makefile.am: use FRONTEND_*
13554 2002-03-01 Juergen Vigna <jug@sad.it>
13556 * tabular.C (SetWidthOfMulticolCell): changed to something better
13557 I hope but still work in progress.
13558 (recalculateMulticolumnsOfColumn): renamed function from
13559 recalculateMulticolCells as it is more appropriate now.
13560 (SetWidthOfCell): calculate multicols better.
13562 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13564 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13566 * lyxfunc.C (processKeySym): print sequence also if it is
13567 `deleted' (complete)
13569 * kbsequence.C (print): print sequence even if it is deleted
13570 (complete would be a better word, actually).
13572 * lyxfunc.C (dispatch): print complete options after a prefix key
13574 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13576 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13578 * text2.C (setCharFont): eliminate setCharFont code duplication.
13580 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13582 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13583 LFUN_TABULAR_FEATURE (bug #177)
13585 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13587 * Makefile.am: remove figure.h
13589 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13591 * Bufferview_pimpl.C:
13603 * text2.C: remove #include "lyx_gui_misc.h".
13605 * LaTeX.C: added #include <cstdio>
13607 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13609 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13610 that the paragraph following this one can have.
13612 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13614 * vspace.C (asLatexCommand): fix bogus gcc warning
13616 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13618 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13620 * text2.C (setLayout): get rid of redundant code
13622 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13624 * text2.C (incDepth): make sure depth cannot be increased beyond
13627 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13629 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13630 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13632 * PainterBase.h (image):
13633 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13634 a LyXImage const *.
13636 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13640 * BufferView_pimpl.C:
13641 * BufferView_pimpl.h:
13661 * sp_spell.C: remove fig inset, and the crap house of
13662 cards that follows it
13664 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13669 * os2_errortable.h:
13670 * nt_defines.h: move .h into support/
13672 * vms_defines.h: remove
13674 * WorkArea.C: add space in debug output
13678 * buffer.C: add WITH_WARNINGS
13682 * bufferlist.C: s/retrive/retrieve/, add docs
13691 * chset.C: add docs
13693 * lyxgui.C: add ID to X error handler
13695 * lyxtestclass.c: fix typo
13697 2002-02-26 Juergen Vigna <jug@sad.it>
13699 * tabular_funcs.C (write_attribute): changed so that some default
13700 attributes are not written at all.
13701 (getTokenValue): set default values before trying to read the
13702 value so we have the return value always set as default if we don't
13703 find the token we search for.
13705 * tabular.C (Write): write bools as bools not as strings!
13707 2002-02-22 Juergen Vigna <jug@sad.it>
13709 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13710 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13712 * text.C (leftMargin): don't add an indent for paragraphs inside
13713 tabular cells (fix #208).
13715 2002-02-21 José Matos <jamatos@fep.up.pt>
13717 * tabular.C (docBook): fixed support for long tables.
13719 2002-02-20 Juergen Vigna <jug@sad.it>
13721 * text2.C (getFont): get the drawing font of the Inset if this
13722 paragraph is inside an inset (only important for InsetERT for now).
13724 * buffer.C (insertErtContents): use new lanugage params in ERT
13727 * CutAndPaste.C: commenting out seemingly uneeded code.
13729 2002-02-19 Allan Rae <rae@lyx.org>
13731 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13732 Iterators might be simple to use but they also get invalidated.
13733 (removeAutoInsets): renamed saved cursor tracking variables and added
13734 some comments to clarify what everything does.
13736 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13743 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13744 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13747 * vc-backend.h: remove #include "support/syscall.h"
13751 * converter.C: rearrange #includes in Lars' approved fashion.
13753 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13754 forward declare class Timeout in the header file.
13756 * XFormsView.C: changes due to the above.
13758 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13759 similar to LyXView.
13761 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13762 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13764 2002-02-18 José Matos <jamatos@fep.up.pt>
13766 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13769 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13771 * a lot of small ws changes
13772 * add a lot of using std::XXX
13773 * use std construcs some places where approp.
13774 * use some exisint stuff from lyxfunctional where approp.
13775 * Make file changes to use partial linking (lets test this now...)
13777 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13781 remove #include "support/syscontr.h" as it's redundant. Always has been.
13789 change Systemcalls::System to Systemcalls::Wait and
13790 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13791 No change of functionality, just reflects the stripped down Systemcalls
13794 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13796 * debug.[Ch]: add a GRAPHICS type to the enum.
13798 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13800 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13802 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13805 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13807 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13808 match the changes below.
13810 * text2.C (toggleInset): if there is not editable inset at cursor
13811 position, try to see if cursor is _inside_ a collapsable inset
13814 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13816 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13817 document menu has a nice checkbox
13819 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13821 * lyxlength.C (asLatexString): change PW to output as percent of
13824 * lengthcommon.C: change '%' to 't%'
13826 * lyxfunc.C (dispatch): a few comments from Martin
13828 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13832 * BufferView_pimpl.h:
13833 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13836 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13838 * vspace.C (inPixels): fix compiler warning
13840 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13842 * lyxfunc.C (getStatus): fix status message for disabled commands.
13844 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13846 * BufferView_pimpl.C: fix crash on close buffer
13847 during selection (#227)
13849 2002-01-27 Herbert Voss <voss@lyx.org>
13851 * buffer.C: link old Figure to new graphic inset
13853 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13855 * FontLoader.C (getFontinfo): Change the latex font names in order
13856 to match the names of type1inst.
13858 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13860 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13862 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13863 (extchanged): ditto
13865 (remove_files_with_extension): ditto
13866 (remove_file): ditto
13869 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13870 document is smaller than the work area height. Do not initialize
13871 static variables to 0.
13873 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13875 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13877 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13878 LFUN_LAYOUT_PARAGRAPHS.
13880 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13881 tabular. It is possible to provide a possible cell, which will
13882 typically be the actcell from the corresponding insettabular
13884 * lyxfunc.C (getStatus): small cleanup; disable
13885 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13888 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13890 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13892 * paragraph.C (startTeXParParams):
13893 (endTeXParParams): new methods. The LaTeX code to
13894 start/end paragraph formatting
13895 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13896 empty (fixes bug #200)
13898 * vspace.C (inPixels): adapt to the change below
13899 (inPixels): [later] more cleanups (remove unused variables)
13901 * lyxlength.C (inPixels): change to use a width and a height as
13904 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13906 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13907 Replaced with \paperwidth
13909 * DepTable.C (insert): add std:: qualifier
13911 2002-01-18 Allan Rae <rae@lyx.org>
13913 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13916 * text.C (drawInset): Turned out I didn't know enough about how
13917 rebreaking worked. This fixes most of the redraw problems. I see
13918 an occasional cursor trail when a line is broken now and the cursor
13919 placement can seem out by a few pixels also after a rebreak.
13921 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13923 * buffer.C (parseSingleLyXformat2Token): update because minipage
13924 width is now a LyXLength
13926 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13928 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13931 2002-01-17 Juergen Vigna <jug@sad.it>
13933 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13935 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13936 is set correctly and the inset is updated correctly.
13938 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13940 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13941 the beginning of the loop.
13943 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13945 * lyxrc.C: improve help for use_scalable_fonts
13947 2002-01-17 Allan Rae <rae@lyx.org>
13949 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13951 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13953 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13954 make sure to set their inset_owner to the right value (bug #171)
13956 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13959 * DepTable.C: Implement mtime checking to reduce time spent doing
13962 2002-01-16 Juergen Vigna <jug@sad.it>
13964 * tabular.C (GetAdditionalHeight): one of error fixed.
13966 * lyxrc.C (output): small fix in writing use_pspell.
13968 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13970 * sp_base.h: #include LString.h
13972 2002-01-16 Allan Rae <rae@lyx.org>
13974 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13975 Can someone check this please?
13977 * text.C (drawInset): It was possible that p.row would be removed by
13978 breakAgainOneRow upsetting a few other settings. There may be another
13979 small tweak possible by setting need_break_row = 0 when p.row has been
13980 removed but I don't know enough about the logic here.
13982 2002-01-15 Allan Rae <rae@lyx.org>
13984 * text.C (insertChar): removed conditional truism.
13986 * BufferView2.C (removeAutoInsets): More tweaks.
13987 cur_par_prev could be a stray pointer. Check for trailing empty line
13988 in case last line was cur_par and only had an error inset on it.
13990 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13992 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13995 * vc-backend.C (most methods):
13996 * exporter.C (Export):
13997 * converter.C (convert):
13999 * LyXSendto.C (SendtoApplyCB):
14000 * lyxfunc.C (dispatch):
14004 * lyx_cb.C (AutoSave):
14006 * BufferView_pimpl.C (MenuInsertLyXFile):
14007 * buffer.C (runChktex): use Buffer::filePath().
14009 * buffer.h: rename filename to filename_; rename filepath to
14010 filepath_ and make it private
14011 (filePath): new method
14013 * buffer.C (writeFile): use fileName()
14016 * lyx_main.C (init): fix starting of LyX when the binary is a
14017 link from so,ewhere else.
14019 * minibuffer.C: include <cctype> for isprint
14021 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14023 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14024 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14025 name clash with InsetCollapsable's width function.
14027 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14029 * lastfiles.C: include <iterator>
14031 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14033 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14036 * buffer.C (makeLaTeXFile): ditto.
14037 Also make loop operation more transparent.
14039 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14041 * ToolbarDefaults.C: remove trailing comma closing namespace.
14043 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14045 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14048 * trans.C (Load): comment out unused variable, allowed.
14050 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14052 * minibuffer.[Ch] (append_char): new method to recieve input from the
14053 drop-down completion browser. If a key was pressed, then recieve this
14054 char and append it to the existing string.
14055 (peek_event): modify the positioning data passed to the completion
14056 browser so that it can be placed above the minibuffer rather than below.
14057 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14059 * LyXAction.C (init): alloe error-next for readonly documents.
14061 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14064 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14066 * bufferlist.C (readFile): create the buffer _after_ checking that
14069 * lyxfunc.C (verboseDispatch): fix handling of arguments
14071 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14073 * lyxrc.C: use string::erase() instead of initializing to "".
14076 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14078 * BufferView_pimpl.h:
14079 * BufferView_pimpl.C:
14082 * text2.C: tell X when we have made a selection for copying
14084 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14086 * BufferView_pimpl.C (MenuInsertLyXFile):
14087 * lyxfunc.C (menuNew):
14089 (doImport): add shortcuts to directory buttons
14091 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14094 * lyxfunc.C (setStatusMessage):
14095 (getStatusMessage): new methods
14096 (getStatus):use setStatusMessage instead of setErrorMessage
14097 (dispatch): when function is disabled, set error message here
14098 [instead of in getStatus previously]
14100 * BufferView_pimpl.C (workAreaButtonRelease): update
14101 toolbar/menubar here too.
14103 2002-01-13 Allan Rae <rae@lyx.org>
14105 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14106 Now seems indestructible. Remaining task is to audit all other
14107 code affected by deleteEmptyParagraphMechanism. One small quirk
14108 left is that an empty document with an error in the preamble can
14109 be made to report an error but no error box appears. I don't know
14111 (removeAutoInsets): Improved comments.
14113 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14116 * Thesaurus.C: update for Aiksaurus 0.14
14118 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14120 * text2.C (firstParagraph): removed member function, all uses
14121 replaces with ownerParagraph
14122 (redoParagraphs): here
14123 (updateInset): here
14124 (toggleAppendix): here
14125 * BufferView2.C (insertErrors): here
14126 (setCursorFromRow): here
14128 2002-01-13 Allan Rae <rae@lyx.org>
14130 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14131 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14132 There is still a way to segfault this although you may have to do this
14133 multiple times: Have an InsetERT with an unknown command in it.
14134 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14135 <down-arrow>, <Enter> again, View->DVI, BANG!
14137 * text2.C (setCursor):
14138 (deleteEmptyParagraphMechanism):
14139 * lyxtext.h (setCursor):
14140 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14141 Making use of the return value may help fix other bugs.
14143 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14145 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14147 * LyXView.C (updateMenubar): call MenuBar::update here
14148 (updateToolbar): but not here
14149 (showState): do not update toolbar/menubar
14151 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14152 should need to care about that.
14154 * lyxfunc.C (verboseDispatch): simplify a bit
14155 (getStatus): have a version which takes a pseudoaction, and
14156 another which requires a (kb_action,string).
14158 * LyXAction.C (retrieveActionArg): make it work also when action
14159 is not a pseudo-action.
14160 (getActionName): simplify a bit
14163 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14165 * lyxfunc.C (verboseDispatch): new families of methods with
14166 several ways to specify a command and a bool to indicate whether
14167 the command name and shortcut should be displayed in minibuffer
14168 (eventually, we could extend that to a finer bitmask like
14169 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14170 (dispatch): the pristine dispatch command which just, well,
14171 dispatchs! Note it still sets its result to minibuffer; I'm not
14174 * lyxfunc.h: remove setHintMessage
14176 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14178 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14180 * BufferView_pimpl.C (specialChar): delete new inset if we have
14181 not been able to insert it.
14183 * kbmap.C: revert to using int instead of kb_action, since all we
14184 are dealing with is pseudo-actions.
14186 * LyXAction.C (searchActionArg): change to return int instead of
14187 kb_action, since the result is a pseudoaction.
14189 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14191 * buffer.C (insertErtContents): Fix (partially) the font bug.
14193 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14195 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14196 as the other one is broken on my machine!
14198 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14201 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14203 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14205 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14206 reflect their actual use. Provide compatibility code for older lyxrc
14209 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14211 change names of popup font variables in line with the changes to lyxrc.C
14213 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14215 * buffer.C (asciiParagraph): avoid outputing a word twice after
14218 * lyxrc.C (getDescription): document that document_path and
14219 template_path can be empty.
14221 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14223 * LaTeXFeatures.C (getMacros):
14224 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14226 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14228 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14230 (getPackages): rename feature "floats" to "float". Use an array to
14231 iterate over 'simple' features (i.e. just a \usepackage). Add
14232 handling of "amsmath" (renamed from "amsstyle").
14234 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14236 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14239 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14241 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14242 FuncStaus::FuncStatus & FuncStaus::some_method().
14244 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14246 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14247 of the func_satus stuff. Edited and massaged in various ways by
14250 * lyxfunc.C (getStatus): use FuncStatus
14252 2002-01-08 Juergen Vigna <jug@sad.it>
14254 * text.C (nextBreakPoint): use function Inset::isChar().
14256 * paragraph.C (TeXOnePar): use function
14257 Inset::forceDefaultParagraphs.
14259 * buffer.C (latexParagraphs): use function
14260 Inset::forceDefaultParagraphs.
14262 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14264 * lyx_gui.C (init): set the style of the menu popups to
14265 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14267 2002-01-07 Juergen Vigna <jug@sad.it>
14269 * text.C (setHeightOfRow): small fix
14270 (prepareToPrint): don't look at alignment if we don't have the place
14273 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14275 * box.C: New file. Move the Box methods and functions out of box.h,
14276 following Lars' suggestion.
14278 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14280 * box.h: #include "support/LOstream.h", needed for inlined function.
14283 * lyxtextclasslist.C: added some using std declarations.
14285 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14287 * box.h: make signed dimensions to allow insets wider than
14288 the screen (bug #162)
14290 * BufferView_pimpl.C: add some insetHit debug
14292 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14294 * vc-backend.C: add FIXME
14296 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14298 * lyxfunc.C (getStatus): enable code for showing math font status
14301 2002-01-07 Juergen Vigna <jug@sad.it>
14303 * text.C (nextBreakPoint): removed debug output not needed anymore.
14305 2002-01-06 Juergen Vigna <jug@sad.it>
14307 * text.C (nextBreakPoint): fixed up this function we had this bug
14308 since ever but now hopefully we break row better.
14309 (insertChar): we have to check if an inset is the next char as it
14310 could now happen that a large inset is causing a break.
14312 2002-01-05 Juergen Vigna <jug@sad.it>
14314 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14315 if it doesn't like to be drawed.
14317 2002-01-04 Juergen Vigna <jug@sad.it>
14319 * BufferView2.C (lockInset): forgot to set a cursor.
14321 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14323 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14325 * FormMathsPanel.C:
14328 * form_maths_panel.C:
14329 * form_maths_panel.h:
14330 * form_maths_panel.fd: implemented sub- and super- buttons in math
14333 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14334 (or ^ space) to be used as in TeX (req'd by Andr�.
14336 * lyxfunc.C: Allow ^ and _ again to be used both as
14337 super/subscript (mathed) and as themselves (in text).
14339 2002-01-03 Allan Rae <rae@lyx.org>
14341 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14342 "LyX" or the filename of the current buffer if it has one. This is a
14343 modified form of John Levon's patch.
14345 * XFormsView.C (setWindowTitle): also set icon title.
14347 * LyXView.h (setWindowTitle): signature changed.
14348 * XFormsView.h (setWindowTitle): ditto.
14350 2002-01-02 Juergen Vigna <jug@sad.it>
14352 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14354 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14356 * screen.C (topCursorVisible): introduce a temp var for
14357 text->cursor.row(), handle the case where this row is null. (kindo
14360 * text2.C (setCursor): add a couple of asserts.
14362 * paragraph.h (inset_iterator): add -> operator
14364 * paragraph.[Ch] (autoDeleteInsets): remove member function
14366 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14367 cursor pos correctly and handle inset deletion by itself.
14368 (insertErrors): move iterator declaration out of for expression
14370 * lyxtextclass.C: add <algorithm>
14372 * Makefile.am: added the new files to sources, removed layout.C
14374 * layout.C: removed file
14376 * layout.h: remove LYX_DUMMY_LAYOUT
14378 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14382 * lyxtextclass.[Ch]:
14383 * lyxtextclasslist.[Ch]: new files
14385 * include order changes to a lot of files, also changes because of
14388 2001-12-27 Juergen Vigna <jug@sad.it>
14390 * buffer.C (asciiParagraph): more fixes.
14392 * tabular.C (ascii): make ascii export support export of only the
14393 data separated by a column-delimiter.
14394 (ascii): better support for ascii export.
14396 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14398 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14400 * tabular_funcs.C: use a "using std::getline" instead of the
14401 previous fix from Angus (necessary for cxx + lyxstring)
14403 2001-12-24 Juergen Vigna <jug@sad.it>
14405 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14407 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14408 problems. First check a minipage also if we have some ert-contents
14409 (not only on par->size(), second set the right depth of the paragraph
14410 on the relink to the root-paragraph-list!
14412 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14413 which then did not anymore update the main paragraphs on undo/redo!
14415 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14417 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14418 code. Support all font-changing funcs (even those which are not in
14419 menu currently). Support for reporting font settings in
14420 mathed (disabled until Andre provides a function on mathed's side).
14422 * func_status.h (toggle): small helper function to set toggle
14425 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14427 * tabular_funcs.C: getline -> std::getline
14429 2001-12-21 Juergen Vigna <jug@sad.it>
14431 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14432 accessed and could be 0 (I couldn't generate this but it seems
14435 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14437 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14438 * tabular_funcs.h: here and include iosfwd
14440 2001-12-20 Juergen Vigna <jug@sad.it>
14442 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14443 inside inset but undo_par was.
14445 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14447 * Thesaurus.C: always include <config.h> in sources.
14451 * box.h: do not include <config.h> in header files
14453 * text.C (paintLastRow): remove unused variable
14455 * text.C (transformChar):
14457 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14459 * Painter.C (text):
14460 * font.C (width): rewrite to use uppercase() instead of
14463 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14465 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14467 * lyxfind.C: clean up of find failure position change
14469 2001-12-20 Juergen Vigna <jug@sad.it>
14471 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14473 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14474 (TeXRow): added to LaTeX a single tabular row.
14475 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14476 (Latex): simplified and finally good LT-h/f support.
14477 (various_functions): just small adaptions for LT-h/f support.
14479 * tabular_funcs.[hC]: added and moved here all not classfunctions
14482 2001-12-19 Juergen Vigna <jug@sad.it>
14484 * tabular.[Ch]: better support for longtabular options (not finished
14487 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14489 * text.C (paintLastRow): use the label font instead of the font of
14490 the last character to compute the size of *_BOX. This makes more
14491 sense and avoids a crash with empty paragraphs.
14492 Use Painter::rectangle to draw EMPTY_BOX.
14494 2001-12-19 Juergen Vigna <jug@sad.it>
14496 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14497 the paragraphs if the replaced paragraph is not the first one!
14498 Tried to delete not used paragraphs but does not work yet so for
14499 now it's inside #ifdef's and by default off!
14501 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14503 * MenuBackend.C: include "lyx_main.h" instead of declaring
14504 lastfiles (actually was declared as LastFiles* instead of a
14507 2001-12-17 Juergen Vigna <jug@sad.it>
14509 * tabular.C (AppendColumn): applied John's fix
14511 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14515 * BufferView_pimpl.h:
14516 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14519 * box.h: new start of class for above
14521 * lyxfunc.C: ignore space-only minibuffer dispatches.
14522 Show the command name when it doesn't exist
14524 * minibuffer.C: don't add empty lines to the history
14526 * minibuffer.C: add a space on dropdown completion
14528 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14530 * text.C: fix line above/below drawing in insets
14532 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14534 * lyxlength.C (LyXLength): Initialize private variables.
14536 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14538 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14539 when inserting error insets.
14541 2001-12-13 Juergen Vigna <jug@sad.it>
14543 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14544 actually sometimes the before-paragraph.
14545 (setUndo): don't clear the redostack if we're not actually undoing!
14547 2001-12-06 Juergen Vigna <jug@sad.it>
14549 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14550 and fixed redoing of main paragraph, so we can use it now ;)
14552 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14554 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14556 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14559 2001-12-13 André Pönitz <poenitz@gmx.net>
14562 * undo_func.C: minor cleanup
14564 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14566 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14567 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14568 font in urw-fonts package which is marked as -urw-fontspecific and
14569 does not work (incidentally, changing the encoding in the
14570 fonts.dir of this package to -adobe-fontspecific fixes the
14573 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14574 is a crash when undoing first paragraph (Juergen, please take a
14575 look). THis does not mean the undo fix is wrong, just that it
14578 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14579 the (Paragraph*) version when needed instead of duplicating the
14582 * text.C (workWidth): use Inset::parOwner to find out where the
14583 inset has been inserted. This is a huge performance gain for large
14584 documents with lots of insets. If Inset::parOwner is not set, fall
14585 back on the brute force method
14587 * paragraph_pimpl.C (insertInset):
14588 * paragraph.C (Paragraph):
14589 (cutIntoMinibuffer): set parOwner of insets when
14590 inserting/removing them
14592 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14594 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14600 * mathed/formulabase.C:
14601 * mathed/math_cursor.[Ch]:
14602 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14605 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14607 * lyxlength.[Ch] (operator!=): new function
14609 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14611 * text.C (workWidth): use Inset::parOwner to find out where the
14612 inset has been inserted. This is a huge performance gain for large
14613 documents with lots of insets. If Inset::parOwner is not set, fall
14614 back on the brute force method
14616 * paragraph_pimpl.C (insertInset):
14617 * paragraph.C (Paragraph):
14618 (cutIntoMinibuffer): set parOwner of insets when
14619 inserting/removing them
14621 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14623 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14625 * tabular-old.C (getTokenValue):
14626 * tabular.C (getTokenValue):
14627 (write_attribute): new versions for LyXLength
14628 (everywhere): adjust the use of widths
14630 * tabular.h: change the type of widths from string to LyXLength
14632 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14634 * paragraph.C: fixed missing line number count when exporting
14635 Environments to LaTeX file
14637 * buffer.C: added informational message for checking line numbers.
14639 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14641 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14642 paragraph, do the 'double space' part, but not the 'empty
14645 * text.C (workWidth): small optimization
14646 (getLengthMarkerHeight): use minimal size for negative lengths.
14648 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14650 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14652 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14654 2001-12-11 André Pönitz <poenitz@gmx.net>
14657 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14659 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14661 * text2.C: keep selection on a setFont()
14663 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14665 * lyx_cb.C: another bv->text misuse, from insert label
14667 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14670 * kbsequence.C: re-instate nmodifier mask
14672 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14674 * lyx_main.h: make lyxGUI private.
14676 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14678 * lyxfind.C: place the cursor correctly on failed search
14680 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14682 * text.C (getLengthMarkerHeight): for small heights, the arrows
14683 are not always on top/bottom of the text
14684 (drawLengthMarker): smaller arrows; take the left margin in
14685 account; draw also vfills.
14687 (paintLastRow): remove special code for vfill and standard spaces,
14688 since everything is handled in drawLengthMarker now.
14690 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14692 * buffer.C (insertErtContents): try to handle font and language
14693 interaction a bit better.g
14695 * ColorHandler.C (updateColor): change the hash to cover the whole
14696 LColor enum, ws cleanup
14697 (getGCLinepars): ditto
14698 (getGCLinepars): only lookup in the linecache once.
14700 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14702 * iterators.C (operator++): Make the iterator more robust
14704 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14706 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14708 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14711 * text.C: better added space drawing
14713 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14716 * BufferView2.C: fix layout combo update on inset unlock
14718 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14720 * Makefile.am: don't compile unused files
14722 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14726 * LyXAction.C: remove old LFUN_LAYOUTNO
14728 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14730 * paragraph_pimpl.h:
14731 * paragraph_pimpl.C: isTextAt() doesn't need font param
14733 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14736 * lyxlex.C: little cleanup
14738 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14740 * BufferView_pimpl.C: fix insertAscii for insets
14742 2001-12-05 Juergen Vigna <jug@sad.it>
14744 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14745 set the right font on the "multi" paragraph paste!
14747 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14753 * lyxlength.C: remove out-commented code.
14755 * BufferView_pimpl:
14769 * vc-backend.C: change "while(" to "while ("
14771 * lyxlength.[Ch]: add zero function to check if length is zero or
14773 * lyxgluelength.C: use it
14775 2001-12-05 Allan Rae <rae@lyx.org>
14777 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14778 Works for 2.95.3, from what I understand of Garst's reports this should
14779 work for other g++ versions. We're screwed if the abs(int) definition
14780 changed between bugfix releases of gcc.
14782 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14784 * text.C: fix chapter label offset !
14786 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14789 * text.C: fix hfill at end of line, clean up
14791 2001-12-04 Juergen Vigna <jug@sad.it>
14793 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14794 that we force an update of the inset and it's owners if neccessary.
14796 2001-12-03 Juergen Vigna <jug@sad.it>
14798 * text.C (rowLast): simplified code
14800 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14802 * lyxfunc.C: fix show options on timeout
14804 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14806 * screen.C (topCursorVisible): scroll half a page when the cursor
14807 reached top of bottom of screen
14809 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14811 * minibuffer.C: deactivate on loss of focus
14813 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14815 * vspace.[Ch] (operator!=): add operator.
14817 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14819 * BufferView_pimpl.C: refuse to open an inset when
14820 there's a selection.
14822 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14824 * BufferView_pimpl.C: allow to click on RHS of full row insets
14826 2001-11-30 Juergen Vigna <jug@sad.it>
14828 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14829 insets for undo reasons.
14831 2001-11-28 André Pönitz <poenitz@gmx.net>
14833 * vspace.[Ch]: cosmetical changes
14835 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14845 * kbsequence.C: part re-write of old kb code
14848 * WorkArea.C: remove Lgb_bug_find_hack
14850 2001-11-30 José Matos <jamatos@fep.up.pt>
14852 * buffer.C (makeDocBookFile): add a comment to point a hack.
14853 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14854 Fixed a double write of labels.
14856 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14859 * LaTeX.h Fixed bug in LaTeX class where it would not
14860 re-run latex if no depfiles were changed, but the .dvi was removed.
14862 2001-11-28 André Pönitz <poenitz@gmx.net>
14864 * all the files from the change on 2001/11/26:
14865 use lyx::layout_type instead of LyXTextClass::size_type
14866 use lyx::textclass_type instead of LyXTextClassList::size_type
14868 2001-11-29 Juergen Vigna <jug@sad.it>
14870 * text.C: added support for paragraph::isFreeSpacing()
14872 * buffer.C: same as above
14874 * paragraph.h: inserted isFreeSpacing() function to enable
14875 FreeSpacing inside InsetERT.
14877 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14878 of the paragraph's in the cut/copy buffer to 0!
14880 * text2.C (removeRow): remove the assert as it can!
14882 * lyxtext.h: added helper function firstRow returning firstrow and
14883 made firstrow private again.
14885 * BufferView2.C (lockInset): don't relock if we're already locked!
14887 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14888 the only paragraph.
14889 (removeRow): added Assert::(firstrow)
14891 * debug.C: forgot to add INSETTEXT here.
14893 2001-11-28 Juergen Vigna <jug@sad.it>
14895 * sp_spell.C (initialize): changed error text to more general
14896 spellchecker command use (not only ispell!)
14898 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14900 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14902 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14904 * vspace.C: initialise lyxgluelength on failure
14906 2001-11-28 Allan Rae <rae@lyx.org>
14908 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14909 declaration & definition that looks like a function declaration.
14911 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14913 * BufferView2.C (copy):
14914 (copyEnvironment): do not clear the selection when doing a copy.
14916 * text.C (paintFirstRow): compilation fix
14918 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14920 * tabular.C (Latex): correct line count when writing latex.
14922 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14924 * paragraph_pimpl.h:
14925 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14928 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14932 * LColor.C: change vfillline->added_space
14934 * text.C: add markers and text for added space
14936 * vspace.C: fix comment
14938 2001-11-28 André Pönitz <poenitz@gmx.net>
14940 * paragraph.C: whitespace changes
14941 * all the other files from the change on 2001/11/26:
14942 change *::pos_type into lyx::pos_type
14944 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14946 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14947 language of the document when inserting error insets.
14949 2001-11-26 André Pönitz <poenitz@gmx.net>
14951 * BufferView_pimpl.[Ch]:
14959 * paragraph_pimpl.[Ch]:
14962 * text2.C: reduce header dependencies, introduce type for positions
14964 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14966 * <various>: change to use Alert.h
14968 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14970 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14971 when encountering an unknown token.
14972 (readLyXformat2): Show an error message if there were unknown tokens.
14974 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14977 * BufferView_pimpl.C:
14981 * text2.C: use par->isInset()
14983 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14985 * paragraph_pimpl.h:
14986 * paragraph_pimpl.C: cleanup
14988 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14990 * text2.C (removeRow):
14991 * text.C (setHeightOfRow): remove useless (and costly) call to
14994 2001-11-20 Allan Rae <rae@lyx.org>
14996 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14997 Now need Inset*::checkInsertChar() to return true for appropriate
14998 cases so that the characters in the minibuffer will actually be
15001 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15003 * text.C: change the order of the includes.
15004 (workWidth): initialize it at once.
15005 (workWidth): make maxw unsigned
15006 (setHeightOfRow): remove unused variable (inset)
15007 (selectSelectedWord): remove unused variable (inset)
15008 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15010 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15012 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15013 server is not running.
15015 (closeConnection): add debug info when server is disabled.
15017 * ColorHandler.C (getGCForeground): send debug message to GUI
15020 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15022 * kbmap.C (bind): modify because return conventions of
15023 kb_sequence::parse have changed.
15025 * kbsequence.C (parse): only ignore spaces and not any stupid
15026 control character. This avoids tests like s[i] <= ' ', which are
15027 guaranteed to fail with 8bit characters and signed chars.
15028 Change return code to string::npos when there have been no error
15029 (0 was a bad idea when error is at first character)
15031 2001-11-14 José Matos <jamatos@fep.up.pt>
15034 * buffer.C (simpleDocBookOnePar): removed unused argument.
15036 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15038 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15039 insets which are part of a word. Paragraph::isLetter takes care of
15040 that now. Use Paragraph::isInset to identify insets.
15041 (selectSelectedWord): do not test for hyphenation break.
15043 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15044 that protected spaces are considered as spaces.
15046 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15049 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15052 * lyxserver.C: fix it. and small cleanup.
15054 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15056 * BufferView_pimpl.C: use inline helpers
15059 * LaTeXFeatures.C: fix typos
15062 * Spacing.C: move spacing_string into class
15064 * ToolbarDefaults.C: move stuff into namespace anon
15066 * layout.h: update enum
15068 * lyxfunc.C: use better debug
15070 * minibuffer.h: fix typo
15074 * WorkArea.C: add and use Debug::WORKAREA
15078 * text2.C: code re-organisation, inline helpers
15080 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15082 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15083 std::vector.empty().
15085 2001-11-09 Allan Rae <rae@lyx.org>
15087 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15088 '\n's after tables. Tabular and ERT inset work now makes this no
15091 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15094 * minibuffer.C: fix crash, improve drop-down completion
15096 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15099 * lyxserver.C: invalidate fd's when doing endPipe()
15101 2001-11-08 José Matos <jamatos@fep.up.pt>
15103 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15104 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15107 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15109 2001-11-07 José Matos <jamatos@fep.up.pt>
15112 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15115 * buffer.C (sgmlOpenTag):
15116 * buffer.C (sgmlCloseTag): removed debug info.
15118 * buffer.h (sgmlOpenTag):
15119 * buffer.h (sgmlCloseTag): made public.
15121 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15123 * buffer.C (saveParamsAsDefaults):
15124 * lyx_cb.C (MenuLayoutSave): remove
15126 * LyXAction.C (init):
15128 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15130 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15132 * buffer.C (setPaperStuff): removed from here...
15134 * bufferparams.C (setPaperStuff): ... and moved there.
15136 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15140 * XFormsView.C: add support for drop-down completion
15142 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15144 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15147 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15149 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15152 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15154 * lyx_main.C: change ref to known bugs
15156 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15158 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15159 to work around older babel problems.
15161 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15163 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15165 2001-10-24 Juergen Vigna <jug@sad.it>
15167 * tabular-old.C (ReadOld): below variable changes reflected.
15169 * tabular.[Ch]: added ltType struct for longtable header/footer
15170 defines and changed all instances where they are used. Added
15171 future support for double top/bottom rows.
15173 2001-10-24 José Matos <jamatos@fep.up.pt>
15175 * buffer.h (docbookHandleCaption):
15176 * buffer.C (docbookHandleCaption): removed unused function.
15177 (makeDocBookFile): moved docbook supported version to v4.1.
15179 2001-10-24 José Matos <jamatos@fep.up.pt>
15182 * tabular.C (docbookRow): new function to export docbook code of a row.
15183 (DocBook): now honors the longtable flags.
15185 2001-10-23 José Matos <jamatos@fep.up.pt>
15188 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15189 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15191 * buffer.C (makeLinuxDocFile):
15192 (makeDocBookFile): reworked the preamble, more clean, and with
15193 support for lyx defined entities. Changed the document declaration
15194 to be more XML friendly.
15196 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15197 if we need to output XML that should be done with a filter.
15199 2001-10-22 Juergen Vigna <jug@sad.it>
15201 * sp_pspell.h (class PSpell): add alive function needed in the
15202 controller to see if the spellchecker could be started.
15204 2001-10-22 Juergen Vigna <jug@sad.it>
15206 * buffer.C (insertStringAsLines): modify the font for inserting
15207 chars in certain conditions by calling checkInsertChar(font).
15209 2001-10-19 Juergen Vigna <jug@sad.it>
15211 * text.C (workWidth): use getRow instead of wrong algorithm.
15212 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15214 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15219 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15221 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15223 * text.C (workWidth): do not search for the exact row when
15224 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15225 optimization for big documents.
15227 2001-10-18 Juergen Vigna <jug@sad.it>
15229 * text.C (workWidth): new function with added Inset * parameter.
15231 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15233 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15235 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15236 change return type of getColumnNearX.
15239 * text.C (changeRegionCase): use uppercase/lowercase instead of
15242 (rightMargin): simplify code by factoring out the uses of
15247 (appendParagraph): use Paragraph::size_type
15249 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15251 * vspace.C (asLatexString): add a missing break
15253 2001-10-15 Herbert Voss <voss@perce.de>
15255 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15257 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15259 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15262 2001-10-10 André Pönitz <poenitz@gmx.net>
15264 * lyxfunc.C: removed greek_kb_flag.
15266 2001-10-10 Herbert Voss <voss@perce.de>
15268 * lyx_main.C: delete global string help_lyxdir.
15270 2001-10-09 Herbert Voss <voss@perce.de>
15272 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15274 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15276 * lyx_main.C: added global string help_lyxdir.
15278 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15280 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15282 * lyxrc.C (set_font_norm_type): support iso8859-4
15284 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15286 * LaTeX.C (deplog): add another regex for MikTeX
15288 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15290 * lyxrc.C (set_font_norm_type): support iso8859-3
15292 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15294 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15296 * LaTeXFeatures.C: remove special case of french and index
15298 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15299 before \begin{document}). This solves several incompatibilities.
15301 2001-10-03 Garst Reese <reese@isn.net>
15303 * lyx_cb.C: change CheckTex error msg.
15305 2001-10-03 José Matos <jamatos@fep.up.pt>
15307 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15309 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15311 * .cvsignore: update
15313 * lyx_main.C (commandLineVersionInfo): use new style version info.
15315 * buffer.C (writeFile):
15317 (makeLinuxDocFile):
15318 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15320 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15322 * version.h: update to use stuff in version.C
15324 * version.C.in: new file. Contains version information determined
15325 at compile time. This is a merging of version.h and
15328 2001-10-03 Juergen Vigna <jug@sad.it>
15330 * BufferView_pimpl.C (update): don't change "dirty" status in
15333 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15335 * WorkArea.C (c-tor): re-position version string slightly.
15337 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15339 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15340 revert to previous code.
15342 WorkArea.[Ch]: (show, destroySplash): methods removed.
15344 WorkArea.C: rework code so that it's an amalgam of the codes before and
15345 after the splash screen was moved to WorkArea.
15347 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15350 * vspace.C (inPixels):
15353 * buffer.C (insertStringAsLines):
15354 (asciiParagraph): fix types to be large enough
15356 * lyxlex_pimpl.h: change member status from short to int
15358 * layout.h: fix type of endlabeltype
15361 * kbsequence.C (parse): change return type to string::size_type
15363 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15366 * Bullet.C (bulletSize):
15367 (bulletEntry): do not use short ints as parameters
15369 * BufferView2.C (insertLyXFile): change a char to an int.
15371 * WorkArea.C (WorkArea): remove unneeded floats in computation
15373 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15375 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15377 * paragraph.C (asString): Do not ignore newline/hfill chars when
15378 copying to the clipboard.
15380 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15382 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15383 after a multi-line inset.
15385 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15387 * paragraph.C (validate): Set NeedLyXFootnoteCode
15389 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15391 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15392 and decrease-error to decrease.
15394 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15396 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15397 it more readable (should be equivalent)
15399 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15401 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15403 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15405 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15406 of a cursor (row, etc.) after a character has been deleted
15407 (deleteEmptyParagraphMechanism): call the method above on _all_
15408 cursors held by the LyXText when a double space has been
15411 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15413 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15415 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15417 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15418 background. Use greyOut() and the new show() methods to toggle between
15419 the foreground and background. Add code to remove the splash after
15420 its initial showing.
15422 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15423 (create_forms): no longer call Dialogs::showSplash.
15425 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15427 * .cvsignore: add version_info.h
15429 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15431 * version_info.h.in: new file
15433 * Makefile.am: add version_info.h.in
15435 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15436 version_info.h instead of VERSION_INFO
15438 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15440 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15441 The ERT inset now returns string().
15443 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15445 * lyxtext.h, text.C (selectNextWord): renamed as
15446 selectNextWordToSpellcheck.
15448 * text.C (selectNextWordToSpellcheck): Modified to not select
15449 words inside an ERT inset.
15451 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15453 * lyx_cb.C (MenuLayoutSave): change a bit the question
15455 * sp_base.h: include <sys/types.h>
15457 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15459 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15461 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15463 * several files: fix typos in user-visible strings
15465 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15467 * text2.C (pasteSelection): do not set the selection, since it
15468 will be cleared later. Actually, the intent was to fix the way the
15469 selection was set, but I figured rmoving the code was just as good.
15471 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15473 * FontLoader.C (available): Check if font is available without
15476 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15478 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15480 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15482 * lyxrc.[Ch]: added display_graphics variable and associated code.
15484 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15486 * bufferparams.C (hasClassDefaults): new method. Returns true if
15487 the buffer parameters correspond to known class defaults
15489 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15491 * XFormsView.C (show): set minimum size to the main window.
15493 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15495 * text2.C (copySelection):
15497 * lyxfind.C (LyXReplace):
15498 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15499 LyXText::selectionAsString.
15501 * paragraph.C (asString): add "label" argument to the second form
15503 * text2.C (selectionAsString): add "label" argument and pass it to
15504 Paragraph::asString.
15506 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15508 * lyx_main.C (commandLineHelp): remove version information
15510 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15512 * lyx_main.C: add -version commandline option
15514 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15516 * paragraph.h: make the optional constructor arg required instead.
15517 some modifications to other files because of this.
15519 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15521 * lyxserver.C (C_LyXComm_callback): make it static
15523 * lyx_main.C (error_handler): make it static
15525 * lyx_gui.C (LyX_XErrHandler): make it static
15527 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15529 * WorkArea.C: make the extern "C" methods static.
15531 * Makefile.am (lyx_LDADD): simplify
15533 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15535 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15536 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15538 * LyXAction.C (init):
15539 * lyxfunc.C (dispatch): associated code removal.
15541 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15543 * lyxfont.h (isSymbolFont): shut off warning
15545 * text.C (setHeightOfRow):
15546 (getVisibleRow): fix crash with empty paragraphs which have a
15549 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15551 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15554 2001-09-04 José Matos <jamatos@fep.up.pt>
15557 * tabular.C (docbook): rename docBook method to docbook.
15559 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15561 * Makefile.am: add dependencies to main.o.
15563 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15565 * FontLoader.C (available): Return false if !lyxrc.use_gui
15567 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15569 * FontInfo.C (query):
15570 * converter.C (view):
15571 * importer.C (Import):
15572 * exporter.C (Export): Can not -> cannot.
15574 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15576 * BufferView_pimpl.C: allow to create index inset even if
15579 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15581 * buffer.C (getLists): replace boost::tie code with an explicit pair
15582 as boost::tie can break some compilers.
15584 * iterators.h: Added a std:: declaration to the return type of
15587 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15589 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15592 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15594 * iterators.[Ch]: New files. Provide paragraph iterators.
15596 * buffer.C (changeLanguage): Use paragraph iterators.
15597 (isMultiLingual): ditto
15599 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15601 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15603 * FontLoader.C: Support for cmr font.
15605 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15607 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15608 (available): New method.
15610 * FontInfo.C (getFontname): Use scalable fonts even when
15611 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15614 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15616 * converter.C (Formats::view): reverted! Incorrect fix.
15618 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15620 * converter.C (Formats::view): only output the -paper option
15621 if the dvi viewer is xdvi, thereby fixing bug #233429.
15623 2001-08-23 Herbert Voss <voss@perce>
15625 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15627 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15629 * Spacing.h (Spacing): Set space to Default on in the default
15632 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15634 * vc-backend.h (RCS::versionString): add RCS to version
15635 (CVS::versionString): add CVS to version
15637 * vc-backend.C (scanMaster): do not add CVS to version.
15638 (scanMaster): do not add RCS to version
15640 * lyxvc.C (versionString): new method
15642 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15644 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15646 * Spacing.C (set): initialize fval
15648 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15650 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15653 2001-08-16 Juergen Vigna <jug@sad.it>
15655 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15657 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15659 * BufferView_pimpl.C:
15662 * text2.C: setParagraph takes linespacing now
15664 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15666 * LyxAction.C: add internal LFUN_CITATION_INSERT
15668 * LyXView.C: actually apply fix
15670 * bufferlist.C: fix open non-existent file
15672 * lyxfind.C: fix indentation
15674 * lyxfunc.C: remove unneeded assert, fix typo
15676 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15678 * MenuBackend.C: use "Floatname List"
15680 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15682 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15683 when converting LaTeX layout to insetERT.
15684 Generate a non-collapsed float when reading old float
15686 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15688 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15691 2001-08-13 Juergen Vigna <jug@sad.it>
15693 * text.C (fill): return 0 instead of 20 as this seems to be the more
15696 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15698 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15701 2001-08-13 Juergen Vigna <jug@sad.it>
15703 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15705 (SearchBackward): comment out the unlocking of the inset_owner this
15706 should not be needed!
15708 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15710 * Many files: Remove inherit_language, and add latex_language
15712 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15713 collapsible insets.
15715 2001-08-10 Juergen Vigna <jug@sad.it>
15717 * text.C (prepareToPrint): fixed hfill-width in draw!
15719 * BufferView2.C (selectLastWord): save the selection cursor as this
15720 now is cleared in the function LyXText::clearSelection!
15722 2001-08-08 Juergen Vigna <jug@sad.it>
15724 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15725 BACKSPACE type functions.
15727 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15728 is only cutted from the document but not put in the cut-buffer, where
15729 still the old stuff should be.
15731 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15733 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15735 * tabular.C (SetWidthOfCell): fixed special case where the width
15737 (LeftLine): handle '|' in align_special.
15739 (LeftAlreadyDrawed): ditto
15740 (SetWidthOfCell): ditto
15742 2001-08-07 Juergen Vigna <jug@sad.it>
15744 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15746 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15748 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15749 * lyxlex.[hC]: ditto
15751 2001-08-06 Juergen Vigna <jug@sad.it>
15753 * text.C (getVisibleRow): fix up row clearing a bit.
15755 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15757 * minibuffer.C: make sure the X server sees the changes in the input.
15759 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15761 * paragraph.C (getFont): split into...
15762 (getLabelFont): this
15763 (getLayoutFont): and this
15764 * paragraph_pimpl.C (realizeFont): calling this
15766 * text2.C (getFont): split into...
15767 (getLayoutFont): this
15768 (getLabelFont): and this
15769 (realizeFont): all three calling this
15771 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15774 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15776 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15778 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15780 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15781 layouts from the Quote inset insertion.
15783 2001-08-03 Juergen Vigna <jug@sad.it>
15785 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15787 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15788 only if status not is already CHANGED_IN_DRAW (second level).
15790 * text.C (draw): don't set the need_break_row when inside an
15793 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15795 * buffer.C (parseSingleLyXformat2Token): handle more latex
15798 * bufferview_funcs.[hC]: change function names to
15799 begin with small char, adjust other files.
15801 2001-08-02 André Pönitz <poenitz@gmx.net>
15804 BufferView_pimpl.C: remove broken special code for math-greek
15806 2001-08-02 Juergen Vigna <jug@sad.it>
15808 * BufferView_pimpl.C (update): redone this function so that we
15809 update the text again if there was a CHANGE_IN_DRAW.
15811 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15812 (drawFromTo): added a new internal bool which is used by draw() and
15814 (general): some cursor drawing problems fixed.
15816 2001-08-01 Juergen Vigna <jug@sad.it>
15818 * lyxfind.C (LyXFind): fixed
15819 (SearchForward): ditto
15820 (SearchBackward): ditto
15822 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15823 spurius drawing of the cursor in the main area.
15825 * text2.C (status): small fix which could lead to a segfault!
15826 (clearSelection): remove unneeded BufferView param.
15828 2001-08-01 André Pönitz <poenitz@gmx.net>
15830 * lyxfunc.C: small change due to changed mathed interface
15832 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15834 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15836 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15838 * lyxfunc.c: fail gracefully if file doesn't exist
15843 * BufferView_pimpl.C: IsDirWriteable() proto changed
15845 * LyXView.C: fix updateWindowTitle() to store the last title
15847 2001-07-31 Juergen Vigna <jug@sad.it>
15849 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15850 the font (wrong since using of Paragraph::highestFontInRange).
15852 * paragraph.C (highestFontInRange): added a default_size parameter.
15854 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15855 (setHeightOfRow): reformat
15857 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15859 * converter.[hC] + affected files: move to (inital-char)lowercase
15862 * ParagraphParameters.C (ParagraphParameters): remove commented code
15864 * PainterBase.[Ch]: remove commented code
15866 * LaTeXFeatures.h: add "bool floats" for float.sty
15868 * LaTeXFeatures.C (LaTeXFeatures): init floats
15869 (require): handle float
15870 (getPackages): do it with floats
15872 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15874 * BufferView_pimpl.C (Dispatch): improve handling of
15875 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15877 * commandtags.h: #include lyxfont.h here temporarily to avoid
15880 * bufferlist.h: include LString.h here.
15882 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15884 * text2.C (getStringToIndex): new method.
15886 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15888 * *: Reduced header file dependencies all over.
15890 2001-07-30 Baruch Even <baruch@lyx.org>
15892 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15894 2001-07-29 Baruch Even <baruch@lyx.org>
15896 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15898 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15900 * ParameterStruct.h (endif): add a default constructor to make
15901 sure that all variables is initialized.
15903 * ParagraphParameters.C (ParagraphParameters): adjust
15905 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15907 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15908 index; also, check that there is something to index, and that it
15909 does not span over several paragraphs.
15910 (doubleClick): use WHOLE_WORD_STRICT for double click.
15912 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15914 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15917 2001-07-26 Baruch Even <baruch@lyx.org>
15919 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15920 an InsetFig figure, backwards compatible reading of old figure code.
15922 2001-07-27 Juergen Vigna <jug@sad.it>
15924 * text2.C: font.realize function adaption.
15926 * text.C (draw): add a warnings lyxerr text if needed.
15928 * layout.C: font.realize function adaption.
15930 * language.C: add inherit_language and implement it's handlings
15932 * bufferview_funcs.C (StyleReset): remove language parameter from
15933 font creation (should be language_inherit now).
15935 * bufferparams.C (writeFile): handle ignore_language.
15937 * paragraph.C (getFontSettings): the language has to be resolved
15938 otherwise we have problems in LyXFont!
15940 * lyxfont.C (lyxWriteChanges): added document_language parameter
15941 (update): removed unneeded language parameter
15943 * paragraph.C (validate): fixed wrong output of color-package when
15944 using interface colors for certain fonts in certain environments,
15945 which should not seen as that on the final output.
15947 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15949 * BufferView_pimpl.C:
15954 * LyXAction.C: add thesaurus support
15957 * lyxfind.C: add "once" parameter, for thesaurus, to not
15958 move to the next match
15960 2001-07-26 Juergen Vigna <jug@sad.it>
15962 * lyxfont.C (realize): honor ignore_language too!
15965 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15967 * text.C (draw): one place more for ignore_language to not draw
15970 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15972 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15974 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15976 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15977 the minipage conversion problem.
15979 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15981 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15984 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15986 * BufferView.h: don't forward declare WorkArea
15988 * BufferView.C: don't include WorkArea.h
15990 2001-07-25 André Pönitz <poenitz@gmx.net>
15994 * lyxfunc.C: new LFUN 'math-space'
15996 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15998 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16000 * text2.C (toggleInset): call open/close
16002 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16004 * lyxfunc.C (dispatch): add debug for the disabled case
16006 * font.C (buttonText): make similar to rectText
16008 * buffer.C (readInset): comment out parsing of insetlist and
16011 * PainterBase.C (rectText): small correction
16013 * BufferView_pimpl.C: comment out insettheorem and insetlist
16014 * LyXAction.C: ditto
16015 * commandtags.h: ditto
16017 2001-07-24 Juergen Vigna <jug@sad.it>
16019 * text.C (draw): honor the ignore_language.
16021 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16023 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16025 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16028 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16030 * lyxtext.h: remove unused (and unimplemented) methods
16032 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16034 * text.C (getVisibleRow): honor background color
16037 * Painter.h: remove default color argument for fillRectangle
16039 * text.C (backgroundColor): new method
16041 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16043 * text.C (getVisibleRow): adjust
16045 * font.[Ch] (rectText): new method, metrics
16046 (buttonText): new method, metrics
16048 * PainterBase.[hC]: make rectText and buttonText always draw and take
16051 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16053 * ToolbarDefaults.C (read):
16054 * MenuBackend.C (read): allow escaping in all strings
16056 * BufferView_pimpl.C (insertAndEditInset): new method.
16057 (Dispatch): use insertAndEditInset whenever appropriate.
16059 * BufferView_pimpl.C (insertNote): removed
16061 * BufferView_pimpl.C (smartQuote): new method, moved from
16062 BufferView; if an insetquote cannot be inserted, insert a '"'
16065 * BufferView2.C: remove insertCorrectQuote();
16067 * lyxfunc.C (getStatus): Add support for all remaingin
16068 inset-insert lfuns.
16070 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16072 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16073 command (necessary to pass " as parameter of self-insert.
16075 * text.C (selectWordWhenUnderCursor):
16076 (selectWord): add word_location parameter
16077 (selectWordWhenUnderCursor): same + remove special code for word
16079 (selectNextWord): use kind() to guess type of insetspecialchar,
16082 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16083 (insertErtContents): create ert insets as collapsed.
16084 (readInset): better compatibility code for Info inset.
16086 2001-07-20 Juergen Vigna <jug@sad.it>
16088 * lyxfunc.C (dispatch): use always LyXFind now!
16090 * text2.C (init): add a reinit flag so that the LyXText can be
16091 reinited instead of deleted and reallocated (used in InsetText).
16093 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16099 2001-07-18 Juergen Vigna <jug@sad.it>
16101 * text.C (selectNextWord): handle insets inside inset by calling
16102 always the bv->text functions so that we can go up the_locking_inset!
16104 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16105 in strange locations when inside an inset!
16107 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16108 handling to include insets.
16110 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16112 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16114 * LyXAction.C (init):
16116 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16117 LIGATURE_BREAK, since the name is so stupid.
16119 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16121 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16124 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16126 * sp_form.[Ch]: remove.
16128 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16130 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16133 * src/buffer.C (readInset): ditto.
16135 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16137 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16138 menuSeparator(), endOfSentenceDot(), ldots() and
16139 hyphenationPoint(), which are therefore removed.
16140 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16142 * LyXAction.C (init):
16143 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16145 * paragraph.C (getWord): removed.
16147 * BufferView_pimpl.C (Dispatch): use last word or selection for
16148 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16150 * lyx_main.C (queryUserLyXDir): do not ask before creating
16151 user_dir, except if it has been named explicitely.
16153 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16155 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16156 a document of zero size.
16158 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16160 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16161 approriately in the c-tor and in require().
16162 (getPackages): output the appropriate LaTeX for natbib support.
16164 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16165 variables "use_natbib" and "use_numerical_citations" when reading the
16167 (readInset): read the various natbib cite commands.
16168 (validate): white-space change.
16170 * bufferparams.[Ch]: new variables "bool use_natbib" and
16171 "bool use_numerical_citations".
16172 (writeFile): output them in the LyX file.
16174 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16176 * lyxfunc.C (getStatus): add support for all the inset insertion
16179 * text2.C (insertInset):
16180 * paragraph.C (insetAllowed):
16181 * BufferView_pimpl.C (insertInset): update to take in account the
16182 renaming of insertInsetAllowed
16184 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16186 * text2.C (getInset): new method. returns inset at cursor position.
16188 * BufferView_pimpl.C (Dispatch): changes because of this.
16190 * LyXAction.C (init): rename open-stuff to inset-toggle.
16192 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16194 * text2.C (toggleInset): renamed from openStuff; use
16197 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16199 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16201 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16203 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16205 * buffer.C (readLyXformat2): Add filename to the error dialog
16207 2001-07-18 Juergen Vigna <jug@sad.it>
16209 * tabular.C (GetCellNumber): put an assert here instead of the check!
16211 2001-07-17 Juergen Vigna <jug@sad.it>
16213 * BufferView_pimpl.C (toggleSelection): adapted too.
16215 * text.C (selectNextWord): adapted for use with insets.
16216 (selectSelectedWord): ditto
16218 2001-07-17 Juergen Vigna <jug@sad.it>
16220 * sp_spell.C (PSpell): fix initialitation order.
16222 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16224 * paragraph.C: spacing
16226 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16228 * sp_spell.C: repair language selection for pspell
16230 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16232 * lyxfunc.h: change more methods to begin with lower char.
16234 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16236 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16237 for unknown layouts.
16239 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16241 * buffer.C (readLyXformat2): Generate an error dialog if there are
16244 2001-07-16 Juergen Vigna <jug@sad.it>
16246 * sp_spell.C: always compile ISpell part.
16248 * lyxrc.C: added use_pspell entry and it's handling.
16250 2001-07-13 Juergen Vigna <jug@sad.it>
16252 * sp_spell.C: removed double includes.
16254 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16256 Consistent use of Lsstream.h:
16257 * Lsstream.h: added using std::stringstream for consistencies sake.
16259 * buffer.C: removed using std::stringstream
16261 * lyxfont.C (stateText):
16262 * paragraph.C (asString):
16263 * text.C (selectNextWord, selectSelectedWord):
16264 * text2.C (setCounter):
16265 * vspace.C (asString, asLatexString):
16266 std::ostringstream -> ostringstream.
16268 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16270 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16271 * commandtags.h: add LFUN_HELP_ABOUTLYX
16272 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16274 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16276 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16278 * lyx_gui_misc.C: remove spellchecker
16279 * lyxfunc.C: showSpellchecker
16281 * sp_ispell.h: added
16282 * sp_pspell.h: added
16283 * sp_spell.C: added
16284 * sp_form.[Ch]: removed
16285 * spellchecker.[Ch]: removed
16287 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16289 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16291 (simpleTeXSpecialChars): Simply print the input character without
16292 any special translation if pass_thru is set.
16294 * layout.h: Added bool pass_thru to layout class for being able to
16295 implement pass through of a paragraph for Literate Programming.
16297 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16298 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16299 * layout.C (Read): add "passthru" to list of layout tags and add
16300 code to set the pass_thru boolean when it is read.
16302 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16304 * trans_decl.h: remove allowed from KmodInfo
16306 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16307 remove allowed code
16310 * paragraph_pimpl.C (erase): use boost::prior
16312 * Painter.C (text): use data() instead of c_str() when length is
16314 * WorkArea.C (putClipboard): ditto
16315 * font.h (width): ditto
16317 * BufferView2.C: use it-> instead of (*it). for iterators
16319 * paragraph_pimpl.C: ditto
16320 * paragraph.C: ditto
16321 * minibuffer.C: ditto
16322 * language.C: ditto
16324 * encoding.C: ditto
16325 * counters.C: ditto
16326 * converter.C: ditto
16328 * Variables.C: ditto
16329 * TextCache.C: ditto
16330 * MenuBackend.C: ditto
16331 * LyXAction.C: ditto
16333 * FloatList.C: ditto
16334 * DepTable.C: ditto
16335 * ColorHandler.C (LyXColorHandler): ditto
16337 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16339 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16341 * text2.C (openStuff): reintroduce this method (which had been
16342 nuked in NEW_INSETS frenzy).
16344 * lyxfunc.C (Dispatch): when an action has not been handled, use
16345 its name in the error message, not its number.
16347 * paragraph.C (inInset): change method name to begin with lowercase.
16350 * text2.C: updates because of this.
16352 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16354 * ToolbarDefaults.C (add): add spaces in error message
16356 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16358 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16359 (readLyXformat2): rename return_par to first_par, use lyxlex's
16360 pushToken and remove the manual push handling.
16361 (parseSingleLyXformat2Token): add another ert comp. variable:
16362 in_tabular, rename return_par to first_par. handle newlines better
16364 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16366 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16368 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16370 * text2.C (getParFromID): removed
16372 * buffer.C (getParFromID): new method moved form lyxtext.
16373 * BufferView2.C (insertErrors): adjust
16374 (setCursorFromRow): adjust
16375 * BufferView_pimpl.C (restorePosition): adjust
16376 * lyxfunc.C (Dispatch): adjust
16377 * undo_funcs.C (textUndo): adjust
16379 (textHandleUndo): adjust
16380 (textHandleUndo): adjust
16382 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16384 * buffer.C: up' the LYX_FORMAT
16386 * lyxfont.h: turn NO_LATEX on as default
16388 * buffer.C (insertErtContents): new methods of tex style compability.
16389 (parseSingleLyXformat2Token): use it several places.
16390 * tabular.C (OldFormatRead): and here
16392 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16394 * text2.C: remove some commented code.
16397 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16398 * trans.C: changes because of the above.
16400 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16402 * text2.C (setCounter): Fix counters bug with bibliography layout.
16404 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16406 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16407 own member functions
16408 (simpleTeXSpecialChars): ditto
16410 2001-07-06 Juergen Vigna <jug@sad.it>
16412 * a lot of files: changed the access to LyXText::status and the
16413 call of undo-functions.
16415 * undo.[Ch]: added a inset_id to the undo informations.
16417 * undo_funcs.[Ch]: added and moved here all undo functions.
16419 * lyxtext.h: give the status enum a weight, made status_ a private
16420 variable and made accessor functions for it, removed the whole bunch
16421 of undo-functions as they are now in their own file, make some
16422 functions publically available. Added function ownerParagraph with
16425 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16426 made InInset() a const function, added getParFromID() function.
16428 * buffer.[Ch]: added const version for inset_iterator functions,
16429 added getInsetFromID() function.
16431 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16432 changed undo functions for new version.
16434 2001-07-05 Juergen Vigna <jug@sad.it>
16436 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16437 unknow mechanism does not call the proper constructor but only this
16438 one also if I request the other!?
16440 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16442 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16444 * text2.C (LyXText): use initialization lists.
16446 * lyxtext.h (Selection): initialize set_ and mark_
16447 (init): remove method
16449 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16451 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16453 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16455 * screen.[Ch]: change method names to begin with lowercase
16457 * BufferView_pimpl.C (updateScrollbar): simplify further and
16458 hopefully make it a bit faster.
16460 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16462 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16463 calling directly xforms functions.
16465 * Painter.C (Painter):
16466 * lyx_cb.C (MenuWrite):
16467 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16470 * lyx_gui.C: remove bogus guiruntime extern declaration.
16472 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16474 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16476 (redoDrawingOfParagraph): ditto
16477 (redoParagraphs): ditto
16478 (cutSelection): don't create a object for CutAndPaste use the
16479 static method directly
16480 (pasteSelection): ditto
16482 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16485 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16487 * modifications to some other files because of this.
16489 * Makefile.am (lyx_SOURCES): add XFormsView
16491 * XFormsView.[Ch]: new files
16493 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16494 the main window. Move the gui dependent stuff to XFormsView
16496 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16498 * tabular.C (GetCellInset): update cur_cell also in the row/col
16499 version of this function.
16501 * lyxfunc.C: no need to include figure_form.h here.
16507 * lyxvc.C: no need to include forms.h here.
16509 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16511 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16513 * lyxfunc.C (Dispatch):
16515 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16516 constructor argument.
16518 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16520 * paragraph.C (Paragraph): dont't clear, and just set layout.
16521 (makeSameLayout): use params's copy contructor.
16523 * ParagraphParameters.[Ch] (makeSame): delete method
16525 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16527 * Variables.[Ch]: fix indentation, rename set to isSet
16529 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16531 * lyxfunc.C (Dispatch): fix typo
16533 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16535 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16538 * bufferlist.C: include assert.h for emergencyWrite().
16540 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16542 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16543 give up at last (bug #425202) !
16545 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16551 * spellchecker.C: strip spellchecker options and bring up
16552 preferences tab instead
16554 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16556 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16557 the istringstream constructor
16559 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16561 * paragraph.C (getLayout): fix return value
16563 * paragraph.h: do not declare getLayout as inline.
16565 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16567 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16569 * lyxcursor.h (operator<): new func
16570 (operator>): new func
16571 (operator>=): new func
16572 (operator<=): new func
16574 * text.C (changeCase): use selection.start and selection.end
16575 (changeRegionCase): require from to be <= to. Require par to be a
16578 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16580 2001-06-27 Juergen Vigna <jug@sad.it>
16582 * text.C (cursorLeftOneWord): changed to return the cursor and added
16583 overlay with BufferView * parameter which calls this one.
16585 (selectWord): use new getWord function.
16586 (changeCase): renamed from changeWordCase as and extended to work
16587 also on selections.
16589 * lyxtext.h: added enum word_location
16591 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16592 changeCase as this operates now also on selections.
16594 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16596 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16598 * many files: send debug output to Debug::INFO instead of
16601 * converter.C (View):
16603 (Move): send debug output to Debug::FILES instead of console.
16605 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16607 * lyxfunc.C (getStatus): use func_status
16609 * func_status.h: new header, describing the results of
16610 LyXFunc::getStatus;
16612 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16615 2001-06-25 The LyX Project <jug@sad.it>
16617 * buffer.C (sgmlOpenTag):
16619 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16621 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16623 * text2.C: remove some dead code
16625 * tabular.C (GetCellInset): store the last cell checked (gotten)
16627 * tabular.h: add the helper for the speedup
16629 * lyxtext.h: remove some dead code
16631 2001-06-26 The LyX Project <Asger>
16633 * paragraph.C: Change export to LaTeX of alignment to
16634 \begin{center} and family for better roundtrip work with reLyX.
16636 * Tune the math drawing a bit.
16638 2001-06-25 The LyX Project <Asger>
16640 * LColor.C (LColor): New color for math background. New color
16643 2001-06-25 The LyX Project <jug@sad.it>
16645 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16647 * lyxfunc.C (Open):
16648 * bufferlist.C (newFile): do not restrict to files ending with
16651 * BufferView_pimpl.C (MenuInsertLyXFile):
16653 2001-06-24 The LyX Project <jug@sad.it>
16655 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16658 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16660 * lyxtext.h: rename most methods to begin with a small char.
16661 Lots of changes because of this.
16663 * paragraph.C (Paragraph): do not call fitToSize
16664 (erase): call Pimpl::erase
16665 (insertChar): call Pimpl::insertChar
16666 (insertInset): call Pipl::insertInset
16667 (breakParagraph): do not call fitToSize
16668 (breakParagraphConservative): do not call fitToSize
16669 (fitToSize): remove method
16671 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16673 2001-06-24 The LyX Project <Asger>
16675 * Fix Qt compilation^2
16677 2001-06-24 The LyX Project <jug@sad.it>
16679 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16680 depthHook(getDepth()-1).
16683 * ParagraphParameters.h:
16684 * ParameterStruct.h: change type of depth to unsigned int ==
16685 depth_type. Many adaptations to other files before of that.
16687 2001-06-24 The LyX Project <Asger>
16689 * Fix Qt compilation.
16691 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16693 * paragraph.h: renamed several methods to begin with small letter.
16694 several changes to many parts of the code because of this.
16696 2001-06-23 The LyX Project <jug@sad.it>
16698 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16699 rewritten to discard all double spaces when KeepEmpty is off
16700 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16701 to only handle newlines but not fiddle with spaces and friends.
16703 * lyxfunc.C (MenuNew): when doing 'new from template', use
16704 template_path as default directory
16706 2001-06-23 The LyX Project <Asger>
16708 * Clean-up of header file includes all over
16709 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16711 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16713 * paragraph.h: renamed from lyxparagraph.h
16715 2001-06-23 Asger <lyx@violet.home.sad.it>
16717 * Buffer.h: Removed Buffer::resize
16718 * BufferList.h: Removed BufferList::resize
16719 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16720 the document lazily when we change the width, or the font settings.
16722 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16724 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16726 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16728 * buffer.h: remove out of date comment
16730 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16733 * screen.C: fix "theoretical" GC leak
16735 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16737 * LaTeX.C (scanAuxFile):
16738 (deplog): remove trailing \r when reading stream (useful under
16741 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16743 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16744 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16745 and BufferView::theLockingInset(Inset*), so should use them and not
16746 access bv_->text->the_locking_inset directly.
16748 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16750 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16753 * tex-defs.h: remove old unused file
16755 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16757 * BufferView_pimpl.C: fix typo, remove minibuffer message
16758 when buffer has loaded
16760 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16762 * lyxfunc.C (Dispatch): use stringstream
16763 (MenuNew): use stringstream
16764 (Open): use stringstream
16766 * importer.C (Import): use stringstream
16768 * bufferview_funcs.C (CurrentState): use stringstream
16770 * LaTeX.C (run): use stringstream
16772 * BufferView_pimpl.C (savePosition): use stringstream
16773 (restorePosition): use stringstream
16774 (MenuInsertLyXFile): use stringstream
16776 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16789 * vspace.C: removed // -*- C++ -*- as first line.
16792 * version.h: added // -*- C++ -*- as first line.
16794 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16796 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16798 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16801 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16803 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16806 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16808 * gettext.C: include LString.h even when --disable-nls is on.
16810 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16812 * converter.h (Get): changed argument type from int to
16813 FormatList::size_type to avoid unnecessary conversion.
16815 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16818 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16820 * gettext.h: include LString.h even when --disable-nls is on.
16822 2001-06-07 Juergen Vigna <jug@sad.it>
16824 * text.C (BreakAgain): subst spaces with tabs.
16826 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16827 (resizeInsetsLyXText): set force on resizeLyXText.
16829 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16831 * gettext.h (gettext_init):
16832 (locale_init): use a real definition instead of a macro
16834 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16836 * Bufferview_pimpl.C:
16838 * LColor.C: further lcolor tidies
16840 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16842 * BufferView_pimpl.C (updateScrollbar): simplify.
16844 * BufferView2.C: don't include insets/insetinfo.h, change
16845 prototype for insertInset and call the Pimpl version. let
16846 updateInset call Pimpl version.
16848 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16849 gotoInset to BufferView::Pimpl
16851 2001-06-01 Juergen Vigna <jug@sad.it>
16853 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16854 inside a LockingInset (is the update needed at all?).
16856 2001-05-31 Juergen Vigna <jug@sad.it>
16858 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16859 here not the old one otherwise how should we compare it afterwards
16862 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16867 * FontInfo.C: bring C functions into global namespace when
16870 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16872 * LString.h: make sure config.h has been loaded before LString.h.
16874 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16875 (one for each char read by EatLine!).
16877 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16880 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16882 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16883 to the same as the par we break from
16885 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16887 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16889 * MenuBackend.C (expand): also create menu entries for wide
16890 versions of the floats.
16892 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16894 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16896 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16897 frontends/Makefile.am
16903 * tabular.C (getTokenValue): add std::
16905 * tabular-old.C (getTokenValue): add std::
16906 (getTokenValue): ditto
16907 (getTokenValue): ditto
16909 * screen.C (ToggleSelection): adjust
16911 * lyxtext.h: put selection cursors inside a Selection struct.
16913 * lyxfunc.C (moveCursorUpdate): adjust
16915 * lyxfont.C (latexWriteStartChanges): add std::
16917 * lyxfind.C: adjust
16919 * font.h: delete with(char const *, LyXFont const &)
16921 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16923 * FontInfo.C (getFontname): add std::
16925 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16926 (workAreaButtonPress): adjust
16927 (tripleClick): adjust
16929 (moveCursorUpdate): adjust
16932 * BufferView2.C (gotoInset): adjust
16934 2001-05-30 Juergen Vigna <jug@sad.it>
16936 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16937 to check pspell I add this as default as I now have new pspell
16938 libraries and they seem to use this.
16940 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16942 * text2.C (CutSelection): make the cursor valid before the call to
16945 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16947 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16948 relied on 0 terminated strings and other horrors. Bug found due to
16949 the new assert in lyxstring!
16951 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16954 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16956 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16959 * lyxfunc.C (processKeySym): change method of getting to the
16962 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16963 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16964 * BufferView_pimpl.[Ch]: here as private methods.
16966 2001-05-28 Juergen Vigna <jug@sad.it>
16968 * text.C (SetHeightOfRow): added the update() call again as it is
16969 needed to initialize inset dimensions!
16971 2001-05-16 Juergen Vigna <jug@sad.it>
16973 * text2.C (SetCharFont): Add new function with BufferView * and
16974 bool toggleall parameters for setting insets internal fonts.
16975 (SetFont): Freeze the undo as we may change fonts in Insets and
16976 all this change should be inside only one Undo!
16978 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16979 setting font's in insets as for them we have the SetFont function!
16981 2001-05-15 Juergen Vigna <jug@sad.it>
16983 * text2.C (ClearSelection): to be sure we REALLY don't have any
16986 * tabular.C (TeXCellPreamble): fixed the left border problem for
16989 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16991 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16994 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16996 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16997 LFUN_BREAKPARAGRAPH.
16999 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17000 help test to "internal only", similar for LFUN_INSERT_URL
17002 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17003 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17004 auto_region_delete and deadkeys.
17006 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17009 * LColor.C: remove some dead entries, tidy a little
17011 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17013 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17015 (Dispatch): implement LFUN_ESCAPE
17017 * commandtags.h: add LFUN_ESCAPE
17019 * LyXAction.C (init): add entry for LFUN_ESCAPE
17021 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17022 Remove commented code.
17023 (insertNote): moved here
17024 (open_new_inset): moved here
17026 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17029 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17031 * kbmap.C (findbinding): clean it up and make it work correctly.
17033 * lyx_main.C (init): do not pass argc and argv as parameters
17035 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17037 * buffer.C: fix path for OS/2 & Win32
17041 * lyx_main.C: Added os:: class.
17043 * os2_defines.h: update
17045 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17047 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17048 better by trying again with reduced state.
17050 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17052 * lyxrc.C (read): print error about invalid key sequence only when
17053 debugging (because not all latinX keysyms are known to some X
17056 * kbsequence.C (getiso): add a few std:: qualifiers
17057 (getiso): comment out extra return statement.
17059 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17061 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17063 (Dispatch): enhance the accent inset a bit. (not perfect)
17065 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17067 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17069 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17071 * bufferlist.C (emergencyWrite): fix assert() call
17073 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17075 * text.C (InsertChar): Added trivial patch to only send the "you
17076 can not do multiple spaces this way" message once during a
17079 2001-05-08 Baruch Even <baruch@lyx.org>
17081 * Makefile.am: Changed order of libraries to get LyX to link properly
17082 with the gnome frontend.
17084 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17086 * LaTeXFeatures.h: add a std:: qualifier
17088 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17090 * paragraph.C (String): use stringstream
17092 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17094 * paragraph.C (writeFile): remove footflag arg
17096 * buffer.C (makeLaTeXFile): use stringstream
17097 (latexParagraphs): remove footnot gurba
17099 * LaTeXFeatures.C (getPackages): use stringstream
17100 (getMacros): likewise
17101 (getTClassPreamble): likewise
17102 (getFloatDefinitions): new method
17104 * paragraph.C (writeFile): reindent
17107 * WorkArea.h: revert the xpos + etc changes.
17109 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17111 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17113 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17114 (pasteSelection): likewise
17115 * text2.C (CreateUndo): likewise
17117 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17119 * minibuffer.C (peek_event): temporarily reduce the functionality
17120 of the minibuffer (to allow args on lfuns)
17122 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17123 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17125 * buffer.C (readInset): add compability reading of old float
17126 lists, add reading of new style float list.
17127 (readInset): avoid reevaluation of inscmd.getCmdName()
17128 (getLists): reindent
17130 * MenuBackend.C (MenuItem): implement parsing of
17131 md_floatlistinsert and md_floatinsert.
17132 (expand::LastFiles): move initalizaton of iterators out of loop,
17133 avoid reevaluation.
17134 (expand::Documents): introduce typdedef vector<string> Strings,
17136 (expand::ExportFormats): introduce typedef vector<Format const *>
17137 Formats, and use it.
17138 (expand): implement FloatListInsert and FloatInsert.
17140 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17141 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17142 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17144 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17146 (Dispatch::LFUN_FLOAT_LIST): implement
17148 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17150 * LaTeX.C (run): Fix problem with --export code.
17152 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17154 * BufferView.[Ch] (workarea): removed.
17155 (getClipboard) new method; wrapper for workarea()->getClipboard()
17157 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17160 * WorkArea.h (width, height, xpos, ypos): These methods all
17161 returned the dimensions of the work_area sub-area of WorkArea,
17162 resulting in a position error if the WorkArea were resized. Now
17163 return the dimensions of the entire WorkArea.
17165 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17167 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17169 * LaTeX.C (deplog): correct the syntax of regex reg1
17171 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17173 * undo.C: remove !NEW_INSETS cruft
17175 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17177 * text2.C: remove !NEW_INSETS cruft
17179 * text.C: remove !NEW_INSETS cruft
17181 * tabular.C: remove !NEW_INSETS cruft
17183 * spellchecker.C: remove !NEW_INSETS cruft
17185 * lyxtext.h: remove !NEW_INSETS cruft
17187 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17189 * lyxfunc.C: remove !NEW_INSETS cruft
17191 * lyxfind.C: remove !NEW_INSETS cruft
17193 * lyx_cb.C: remove !NEW_INSETS cruft
17195 * figureForm.C: remove !NEW_INSETS cruft
17197 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17199 * buffer.[Ch]: remove !NEW_INSETS cruft
17201 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17203 * CutAndPaste.C: remove !NEW_INSETS cruft
17205 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17207 * BufferView2.C: remove !NEW_INSETS cruft
17209 * BufferView.h: remove !NEW_INSETS cruft
17211 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17213 * Lsstream.h: include LString.h before the sstream headers to
17214 fix problem with gcc 2.95.3 and lyxstring
17216 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17218 * lyx_main.C: add using directives when needed for C functions
17219 declared in std:: namespace.
17221 2001-04-27 Juergen Vigna <jug@sad.it>
17223 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17224 (SetHeightOfRow): comment out the update call should not be needed!
17226 2001-04-13 Juergen Vigna <jug@sad.it>
17228 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17229 (LyXTabular): tried to minimize operator= operations (and realized
17230 hopfully Lars wish).
17232 2001-04-27 Juergen Vigna <jug@sad.it>
17234 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17236 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17238 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17240 * buffer.C (readInset): hack to make listof algorithm work
17242 * BufferView_pimpl.C: hack to make listof algorithm work
17244 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17246 * LyXAction.C: removed all !NEW_INSETS cruft
17247 (init): moved lfun_item in method
17249 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17251 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17253 * BufferView2.C (theLockingInset): white space.
17255 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17257 * minibuffer.C: include <iostream>
17259 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17261 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17263 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17265 * text.[Ch] (TransposeChars): new method
17267 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17269 * call message directly through LyXView instead of through LyXFunc
17270 * BufferView2.C: adjust
17271 * BufferView_pimpl.C: adjust
17272 * FontLoader.C: adjust
17274 * bufferview_funcs.C: adjust
17275 * converter.C: adjust
17276 * figureForm.C: adjust
17277 * importer.C: adjust
17279 * lyx_gui_misc.C: adjust
17280 * lyxfunc.C: adjust
17283 + more files in subdirs
17285 * lyxparagraph.h (size): move up int file
17288 * adjust all uses of Assert to lyx::Assert.
17290 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17291 lyxfunctional in namespace lyx
17292 * layout.C (hasLayout): ditto
17295 (delete_layout): ditto
17296 (NumberOfClass): ditto
17297 * converter.C (GetFormat): ditto
17302 * bufferlist.C (getFileNames): ditto
17303 (emergencyWriteAll): ditto
17306 * MenuBackend.C (hasSubmenu): ditto
17309 * BufferView_pimpl.C (getInsetByCode): ditto
17311 2001-04-18 Juergen Vigna <jug@sad.it>
17313 * vspace.C (asLatexString): fixed the 100% problem.
17315 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17317 * lyxfunc.C (Dispatch):
17319 * minibuffer.h: add a few std:: qualifiers
17321 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17323 * minibuffer.[Ch]: reimplement so that commands is initiated and
17324 run from lyxfunc, simplified som handling, and made the completion
17325 and history code for complete. wip.
17327 * lyxfunc.C (processKeySym): call message
17328 (miniDispatch): new temporary method
17329 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17330 (LFUN_MESSAGE): implement
17331 (LFUN_MESSAGE_PUSH): implement
17332 (LFUN_MESSAGE_POP): implement
17333 (initMiniBuffer): the initial/defualt minibuffer message.
17335 * lyxfont.[Ch]: inline some more getters
17337 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17339 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17341 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17342 (AutoSave): use LFUN_MESSAGE
17343 (Reconfigure): ditto
17345 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17347 * figureForm.C: use LFUN_MESSAGE
17349 * converter.C (runLaTeX): use LFUN_MESSAGE
17351 * bufferview_funcs.C: use LFUN_MESSAGE
17353 (changeDepth): ditto
17355 * bufferparams.h: use boost::
17357 * bufferlist.h: inherit privately from noncopyable
17359 * bufferlist.C (loadLyXFile): remove some commented code.
17361 * buffer.C (runChktex): use LFUN_MESSAGE
17363 * ShareContainer.h: inherit privately from noncopyable
17365 * ParagraphParameters.[hC] (depth): inline it.
17367 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17369 (message): new method
17370 (messagePush): ditto
17371 (messagePop): ditto
17372 (show): init minibuffer
17373 (showState): direct call
17375 * LaTeX.[Ch]: inherit privately from noncopyable
17376 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17377 instead of WriteStatus.
17379 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17381 * BufferView_pimpl.C (buffer): don't init minibuffer
17382 (workAreaButtonPress): use LFUN_MESSAGE
17383 (workAreaButtonRelease): ditto
17384 (savePosition): ditto
17385 (restorePosition): ditto
17386 (MenuInsertLyXFile): ditto
17387 (workAreaExpose): don't init minibuffer
17388 (update): remove commented code, simplify
17390 * BufferView2.C (openStuff): use LFUN_MESSAGE
17391 (toggleFloat): ditto
17394 (copyEnvironment): ditto
17395 (pasteEnvironment): ditto
17400 (updateInset): remove some commented code
17402 * lastfiles.h: inherit privately from noncopyable
17405 * lyx_main.h: ditto
17407 * lyxlex_pimpl.h: ditto
17409 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17410 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17411 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17413 * LyXAction.h: inherit privately from noncopyable, add methods
17414 func_begin, func_end, returning iterators to the func map.
17416 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17417 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17418 (func_begin): new method
17419 (func_end): new method
17421 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17423 (copySelection): ditto
17424 (pasteSelection): ditto
17426 * BufferView.C: whitespace change
17427 * BufferView.h: inherit privately from noncopyable
17429 2001-04-16 Allan Rae <rae@lyx.org>
17431 * tabular-old.C (l_getline):
17432 * spellchecker.C (sc_check_word):
17433 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17434 an unrecognised preprocessor directive. So ensure they're wrapped.
17436 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17438 * src/exporter.C (Export): Give an error message when path to file
17441 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17443 * LaTeX.C (deplog): Always check that foundfile exists.
17445 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17448 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17450 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17452 * tabular.[Ch] (getLabelList): implement new method
17454 * minibuffer.h: comment ouf setTiimer
17456 * minibuffer.C (ExecutingCB): constify res
17457 (peek_event): constify s
17458 (Set): constify ntext
17459 (Init): constify nicename
17461 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17463 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17464 (savePosition): use two params to Minibuffer::Set
17465 (restorePosition): ditto
17467 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17469 * lyx_main.C: include language.h
17471 * Makefile.am (lyx_main.o): add language.h
17473 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17479 * CutAndPaste.C: include gettext.h
17481 * lyxfont.h: remove old hack with ON and OFF.
17484 * lyxfont.h: do not include language.h...
17489 * bufferview_funcs.C:
17495 * paragraph.C: ... but do it here instead
17497 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17499 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17501 * tabular.C: small reformat
17503 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17506 (BreakParagraph): ditto
17507 (SetOnlyLayout): ditto
17510 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17513 * lastfiles.C: removed most using decl, add std:: where needed
17515 * buffer.C: ws changes
17517 * MenuBackend.C (class compare_format): put into anon namespace
17518 (expand): constify label, names, action, action2
17521 * text.C (SingleWidth): constify font
17522 (IsBoundary): constify rtl2
17523 (GetVisibleRow): constify ww
17525 * LaTeX.C (deplog): constify logfile
17527 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17529 (workAreaExpose): constify widthChange, heightChange
17531 * lyxrow.C (par): moved
17534 * lyxrow.h: as inlines here
17536 * lyxfont.h (shape): moved from lyxfont.C
17537 (emph): moved from lyxfont.C
17539 * lyxfont.C (LyXFont): use initialization list for all
17541 (shape): move to lyxfont.h as inline
17542 (emph): move to lyxfont.h as inline
17545 2001-04-04 Juergen Vigna <jug@sad.it>
17547 * vspace.C: had to include stdio.h for use of sscanf
17549 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17552 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17553 independent of xforms.
17555 2001-04-02 Juergen Vigna <jug@sad.it>
17557 * spellchecker.C: fixed namespace placing!
17559 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17561 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17562 the LyXParagraph * is 0.
17564 2001-03-29 Juergen Vigna <jug@sad.it>
17566 * vspace.C: added support for %, c%, p%, l%.
17567 (stringFromUnit): added helper function.
17568 (asLatexString): changed to give right results for the %-values.
17570 * buffer.C: convert the widthp in a width%.
17572 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17574 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17577 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17578 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17580 * lyx_cb.[Ch]: see above.
17582 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17586 * lyx.[Ch]: replaced by figure_form.[Ch].
17590 * lyxfunc.C: changed headers associated with above changes.
17592 2001-03-27 Juergen Vigna <jug@sad.it>
17594 * BufferView_pimpl.C: set the temporary cursor right!
17596 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17598 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17600 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17602 * LString.h: removed "using std::getline"!
17604 * BufferView_pimpl.C (Dispatch): changes due to changes in
17605 InsetInclude::Params.
17607 * buffer.C (tag_name): removed redundant break statements as they were
17608 producing lots of warnings with my compiler.
17610 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17612 * LString.h: add "using std::getline" when using the real <string>.
17614 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17616 * buffer.C: removed bitset usage.
17617 PAR_TAG moved to an anonymous name space.
17618 (tag_name): new funtion, also in the anonymous namespace.
17619 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17620 (makeDocBookFile): clean code. Completed transition from string arrays
17622 (SimpleDocBookOnePar): code clean.
17624 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17626 * tabular.C: add some comments.
17628 2001-03-22 Juergen Vigna <jug@sad.it>
17630 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17631 compatibility read a bit and fixed bug with minipage in different
17634 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17636 * buffer.C (pop_tag): removed.
17637 (push_tag): removed.
17638 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17639 array replaced with vector. Added support for CDATA sections.
17640 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17642 (makeDocBookFile): XML conformant declaration of CDATA section,
17643 fixed bug related to <emphasis> in the first paragraph char.
17644 (sgmlOpenTag): exclude empty tags.
17645 (sgmlCloseTag): ditto.
17647 * buffer.h (pop_tag): removed.
17648 (push_tag): removed.
17650 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17652 * language.h (Languages): added size_type and size().
17654 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17656 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17657 response on compability reading of minipages. One probliem is that
17658 the old usage of minipages was flertydig
17660 * several files here and in subdirs: don't use static at file
17661 scope use anon namespaces instead.
17663 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17665 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17666 LaTeX output. This is necessary for Literate document
17669 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17671 * buffer.C: insert hfill when needed.
17673 * tabular.C (l_getline): use string::erase, small whitespace change.
17675 * BufferView_pimpl.C: try the anon namespace.
17676 * WorkArea.C: ditto
17678 2001-03-16 Juergen Vigna <jug@sad.it>
17680 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17681 otherwise it won't open options-dialogs.
17683 * buffer.C: honor pextraWidth(p) on converting minipages.
17685 * tabular.C (l_getline): changed the functions to strip trailing \r.
17687 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17689 * BufferView_pimpl.C:
17690 * minibuffer..C: added "using SigC::slot" declaration.
17692 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17694 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17700 * paragraph.C: ditto
17702 * lyxtext.h: NO_PEXTRA
17704 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17706 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17707 * ParameterStruct.h: ditto
17708 * ParagraphParameters.h: ditto
17709 * lyxparagraph.h: ditto
17711 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17713 * buffer.C: add compability for minipage alignment.
17714 (latexParagraphs): remove unwanted pextra check.
17716 * several files: remove CXX_WORKING_NAMESPACES
17718 * buffer.C (pop_tag): tie is in namespace boost
17720 * BufferView.h: noncopyable is in namespace boost
17722 * lyx_main.h: ditto
17725 * lastfiles.h: ditto
17726 * bufferlist.h: ditto
17727 * ShareContainer.h: ditto
17729 * LyXAction.h: ditto
17732 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17734 * Merging changes from BRANCH_MVC back into HEAD.
17736 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17738 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17740 * BufferView_pimpl.C: change from intl.C
17744 * Makefile.am: move combox.*
17750 * intl.C: remove dialog (covered by prefs)
17752 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17754 * lyxfunc.C (Dispatch): removed redundant break statement.
17756 2001-03-14 Juergen Vigna <jug@sad.it>
17758 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17760 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17762 * buffer.C: add hack to fix compability reading of minipages.
17764 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17766 * buffer.C (getLists): Cleanup.
17768 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17770 * lyxfont.C (update): don't honor toggleall on font size.
17772 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17776 * Makefile.am: moved to frontends/xforms/
17780 * BufferView_pimpl.C: changes for moved mathpanel
17782 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17784 * gettext.h: fix gettext_init() in --disable-nls
17786 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17788 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17790 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17793 * lyx.h: strip external form
17795 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17797 * BufferView_pimpl.C: add comment, destroySplash()
17799 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17801 * BufferView_pimpl.C:
17805 * lyxfunc.C: use re-worked insetinclude
17807 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17809 * buffer.C: add using std::stringstream.
17811 * lyx_cb.C: readd using std::ios.
17813 * buffer.C: add using std::map.
17815 * BufferView_pimpl.C: add using std::vector.
17817 * ShareContainer.h: add std:: to swap.
17819 * buffer.h: add some typedefs
17820 * buffer.C (getLists): use them
17821 (getLists): renamed from getTocList.
17822 add a counter for the different float types and use it in the
17824 (getLists): use the same counter for the NEW_INSETS and the "non"
17827 * lyx_cb.h: remove unused items, includes, using etc.
17829 * ShareContainer.h: remove some commented code, add more comments
17830 and "documentation".
17832 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17834 * buffer.C (getTocList): make the list also when NEW_INSETS is
17837 * buffer.h: remove TocType
17839 * buffer.C (getTocList): change to return a map<string,
17840 vector<TocItem> >, implement for dynamic number of list.
17842 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17843 * text2.C (PasteSelection): adjust
17844 * CutAndPaste.C (pasteSelection): adjust
17846 * FloatList.C (FloatList): update from the new_insets branch.
17847 * Floating.[Ch]: ditto
17848 * LaTeXFeatures.C: ditto
17850 * lyxlex_pimpl.C: ditto
17852 * paragraph.C (Last): remove when NEW_INSETS is defined.
17854 * other file: changes because of the above.
17856 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17858 * lyxparagraph.h: rename next to next_, previous to previous_,
17859 make them private for NEW_INSETS. Rename Next() to next(),
17860 Previous() to previous().
17862 * other files: changes because of the above.
17864 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17867 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17870 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17872 * main.C (main): pass lyx_localedir to gettext_init().
17874 * gettext.h: remove locale_init and gettext_init macros
17876 * gettext.C (locale_init): new function
17877 (gettext_init): new function
17879 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17882 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17884 * Moved credits to frontends:
17885 * credits.[Ch]: removed
17886 * credits_form.[Ch]: removed
17887 * lyx_gui_misc.C: remove credits stuff
17890 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17892 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17894 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17895 unneeded destructor.
17897 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17898 a standalone pointer again.
17900 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17902 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17908 * ToolbarDefaults.C:
17917 * BufferView_pimpl.C: use new file dialog in GUII
17920 * lyx_cb.C: remove LayoutsCB to Toolbar
17922 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17924 * ShareContainer.h (get): add std:: qualifier
17926 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17928 * ShareContainer.h: define a proper ShareContainer::value_type
17929 type (and use typename to please compaq cxx)
17931 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17933 * lyxparagraph.h: move serveral local vars to
17934 ParameterStruct/ParagraphParameters., use ShareContainer in
17935 FontTable., make vars in FontTable private and add getter and
17938 * paragraph.C: changes because of the above.
17940 * lyxfont.h: remove copy constructor and copy assignment. (the
17941 default ones is ok), move number inside FontBits. move inlines to
17944 * lyxfont.C: add number to initializaton of statics, move several
17945 inlines here. constify several local vars. some whitespace
17946 cleanup. Dont hide outerscope variables.
17948 * Spacing.h: add two new constructors to match the set methods.
17950 * ShareContainer.h: new file, will perhaps be moved to support
17952 * ParameterStruct.h: new file
17954 * ParagraphParameters.h: new file
17956 * ParagraphParameters.C: new file
17958 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17959 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17961 * BufferView_pimpl.C: ParagraphParameter changes.
17962 * buffer.C: Likewise.
17963 * bufferview_funcs.C: Likewise.
17964 * text.C: Likewise.
17965 * text2.C: Likewise.
17967 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17969 * lyxfind.C (LyXReplace): do not redefine default argument in
17971 (IsStringInText): ditto
17972 (SearchForward): ditto
17973 (SearchBackward): ditto
17975 2001-03-06 Juergen Vigna <jug@sad.it>
17977 * lyxfind.C (IsStringInText): put parentes around expressions.
17979 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17981 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17983 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17985 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17987 * stl_string_fwd.h: add comment
17989 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17992 * tabular.C: remove unused DocBook methods
17998 killed DO_USE_DEFAULT_LANGUAGE
18000 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18002 * lyx_gui.C: do not include language.h.
18004 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18005 arguments in function implementation.
18007 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18009 * BufferView_pimpl.C: add <ctime>
18011 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18013 * BufferView_pimpl.C: add using std::find_if
18015 2001-02-27 José Matos <jamatos@fep.up.pt>
18017 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18020 2001-02-11 José Matos <jamatos@fep.up.pt>
18022 * buffer.C (makeDocBookFile): command styles now have a parameter as
18023 "title" by default.
18025 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18027 * layout_forms.[Ch]: removed
18028 * lyx_cb.[Ch]: out character
18029 * lyx_gui.C: out character
18030 * lyx_gui_misc.C: out character
18031 * bufferview_funcs.C: : out character,
18032 added toggleall as parameter in ToggleAndShow
18034 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18036 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18038 * text2.C (SetCurrentFont): Disable number property at boundary.
18040 2001-02-26 Juergen Vigna <jug@sad.it>
18042 * lyxfunc.C (getStatus): added a string argument override function so
18043 that this is correctly called from LyXFunc::Dispatch if it contains a
18044 do_not_use_argument which is used!
18045 (Dispatch): added check for "custom" export and call appropriate func.
18047 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18049 * lyxrc.C: Add language_command_local, language_use_babel and
18050 language_global_options.
18052 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18054 * buffer.C (makeLaTeXFile): Use language_use_babel and
18055 language_global_options.
18057 2001-02-23 Juergen Vigna <jug@sad.it>
18059 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18060 which works with LyXText and putted it inside BufferView. Here now we
18061 only call for that part the BufferView::Dispatch() function.
18063 * BufferView.C (Dispatch): added.
18065 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18066 functions which needs to use a LyXText over from LyXFunc.
18067 (MenuInsertLyXFile): added
18068 (getInsetByCode): added
18069 (moveCursorUpdate): added
18070 (static TEXT): added
18072 2001-02-22 Juergen Vigna <jug@sad.it>
18074 * BufferView_pimpl.C (update): call a status update to see if LyXText
18077 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18079 * vc-backend.C (revert): implement for CVS
18080 (getLog): implement for CVS
18082 2001-02-20 Juergen Vigna <jug@sad.it>
18084 * text2.C (ClearSelection): added BufferView param for inset_owner call
18086 * lyxfunc.C (TEXT): added this function and use it instead of
18087 directly owner->view()-text of getLyXText().
18089 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18091 * src/layout_forms.C: out preamble
18092 * src/layout_forms.h: out preamble
18093 * src/lyx_cb.C: out preamble
18094 * src/lyx_cb.h: out preamble
18095 * src/lyx_gui.C: out preamble
18096 * src/lyx_gui_misc.C: out preamble
18097 * src/lyxfunc.C: connect with guii preamble
18099 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18101 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18103 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18105 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18106 whether to run bibtex.
18108 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18110 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18112 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18114 * Makefile.am (lyx_SOURCES): removed bibforms.h
18116 * vspace.h: doxygen
18118 * text.C (GetVisibleRow): make several local vars const
18120 * tabular.C: small cleanup.
18122 * lyxserver.C (callback): use compare instead of strncmp
18124 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18125 inlines to after class or to paragraph.C
18127 * lyxfont.h: remove friend operator!=
18129 * converter.h: move friend bool operator< to non friend and after
18132 * combox.h: small cleanup
18134 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18135 to inlines after class def.
18137 * buffer.C (pop_tag): use string operations instead of strcmp
18139 * bmtable.c: doxygen, small cleanup
18141 * LaTeX.h: remove friend operator==
18143 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18155 * BufferView_pimpl.C:
18156 * BufferView.[Ch]: remove cruft
18158 2001-02-14 Juergen Vigna <jug@sad.it>
18160 * lyxfunc.C: removed #if 0 unused code
18162 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18164 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18166 * text2.C (SetSelection): added a BufferView * parameter
18168 2001-02-13 Juergen Vigna <jug@sad.it>
18170 * lyxfunc.C (Dispatch): fixed protected blank problem.
18171 * BufferView2.C (protectedBlank): added LyxText * parameter.
18173 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18174 (AppendColumn): same as above for column_info.
18176 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18177 (moveCursorUpdate): use a LyXText param for support of InsetText.
18179 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18180 (tripleClick): ditto
18182 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18184 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18186 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18188 * text2.C (SetSelection): set correct update status if inset_owner
18189 (ToggleFree): ditto
18191 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18193 * tabular.C: remove some commented code.
18195 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18197 * BufferView_pimpl.C: call hideSplash()
18199 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18202 * bibforms.h: remove
18205 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18206 add LFUN_CHILD_CREATE
18208 * counters.h: fix tiny typo
18213 * lyx.C: move splash to frontends/xforms/
18215 * lyx_gui_misc.C: move Include and Bibform to frontends
18217 * lyxvc.h: clarify comment
18219 * vspace.C: tiny housekeeping
18221 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18223 * text.C (PrepareToPrint): RTL Fix.
18225 * paragraph.C (GetUChar): New method.
18226 (String): Use GetUChar.
18228 * buffer.C (asciiParagraph): Use GetUChar.
18230 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18232 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18234 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18237 * buffer.C: rename to getLogName(), handle
18238 build log / latex log nicely
18240 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18243 * MenuBackend.h: remove support for reference menuitem type.
18245 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18247 * BufferView_pimpl.C: housekeeping
18248 * BufferView_pimpl.h:
18253 * minibuffer.h: move Timeout GUI-I
18255 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18257 * lyxrc.C (read): Update converters data-structures.
18259 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18261 * LaTeX.h (operator!=): add operator != for Aux_Info
18263 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18265 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18267 * LaTeXLog.C: deleted, useful code moved to Buffer
18270 * buffer.C: new function getLatexLogName()
18276 * lyxfunc.C: use frontends for LaTeX and VC logs
18278 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18280 * LaTeX.h: yet another std:: that Allan forgot.
18282 * Variables.C (set): renamed from isset(), because this clashes
18283 with some HP-UX macros (grr).
18285 2001-02-06 Allan Rae <rae@lyx.org>
18287 * LaTeX.h: Another bug fix. Missing std:: this time.
18289 2001-02-04 Allan Rae <rae@lyx.org>
18291 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18292 floats problem. I've left it commented out because it's not quite
18293 correct. It should also test that the current object is a table or
18294 figure inset. But I haven't gotten around to figuring out how to do
18295 that. I *think* it'll be something like: "table" == inset.type()
18297 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18300 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18302 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18303 all the citation/databases/styles in the auxilary file.
18304 (run): Rerun latex if there was a babel language error.
18306 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18308 * text.C (Backspace): Preserve the font when changing newline char
18310 (BreakParagraph): If the cursor is before a space, delete the space.
18312 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18314 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18316 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18317 new argument (code).
18318 (ChangeCitationsIfUnique): New method.
18320 * paragraph.C (GetPositionOfInset): Handle bibkey.
18322 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18324 * BufferView_pimpl.h: change type of Position::par_pos to
18325 LyXParagraph::size_type.
18327 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18329 * BufferView_pimpl.C (savePosition, restorePosition): Write
18330 messages to minibuffer.
18332 2001-01-28 José Matos <jamatos@fep.up.pt>
18334 * buffer.C (makeDocBookFile): adds support for document language.
18335 A silly restriction on the name of LatexCommand types where removed.
18336 Added support for CDATA sections, allows to chars unescaped, used
18337 among others in code, to avoid escape < and >.
18339 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18341 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18342 saved positions instrad of a stack. Furthermore, a position is
18343 stored using paragraph id/paragraph position.
18345 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18346 Remove LFUN_REF_BACK.
18348 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18350 * converter.C (dvipdfm_options): New method.
18352 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18354 * vspace.C (isValidLength): Fix for empty input string.
18356 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18358 * LyXAction.C (init): change description of LFUN_FIGURE to
18361 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18363 * LaTeX.C: add using directive
18365 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18367 * MenuBackend.C (expand): Fix the sorting of the formats.
18369 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18371 * lyx_main.C: tiny error message fix
18373 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18375 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18376 calling fl_initialize(). This fixes the problem with ',' as
18377 decimal separator in text files.
18379 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18381 * trans.C (process): Fix the keymap bug.
18383 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18385 * LaTeX.C (scanAuxFiles): New method. Provides support for
18386 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18387 (scanLogFile) Scan for "run BibTeX" messages.
18389 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18390 OT1 font encoding. Also, load the aecompl package if the ae
18393 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18395 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18397 * texrow.C (increasePos): turn two error messages into debug
18400 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18402 * LaTeX.C (scanAux): Handle the \@input macro.
18403 (runBibTeX): Use scanAux().
18405 * language.C (latex_options_): New field.
18407 * LaTeXFeatures.C (getMacros): Add language macros.
18409 * buffer.C (makeLaTeXFile): Small fix.
18411 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18413 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18415 * text2.C: add a using directive.
18417 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18422 * lyxfunc.C: kill LyXBell.
18424 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18426 * text.C (IsBoundary): Remove the error message
18428 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18430 * lyxrc.C (setDefaults): Correct initialization value for
18433 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18435 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18438 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18439 and GotoNextNote().
18441 * src/LyXAction.C: Added reference-next.
18443 * text.C (InsertChar): Use contains instead of strchr.
18445 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18447 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18449 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18450 alignment commands (when needed).
18452 * text.C (InsertChar): Add ':' to number separator chars.