1 2005-11-02 Angus Leeming <leeming@lyx.org>
4 * lyxtextclass.C: trivial fixes to some MSVS warnings.
6 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * text3.C (getStatus): re-enable disabled code. (bug 2081)
10 * BranchList.h (empty): constify.
12 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14 * text3.C (getStatus):
15 * MenuBackend.C (expandBranches): take the branch list from the
16 master document (bug 2092).
18 * MenuBackend.C (expandBranches):
19 * bufferparams.C (writeFile): use BranchList type.
21 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * text3.C (dispatch, getStatus):
25 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
27 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
31 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
33 * text.C (insertChar): do not reset boundary (bug 2061)
35 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * dociterator.C (updateInsets): new method. Updates the inset_
38 cache of all the slices of the iterator.
40 * text2.C (deleteEmptyParagraphMechanism): compare also containing
41 insets when comparing pit/pos; pass the right cursor to
42 recordUndo; when a paragraph has been deleted, compare `old.top()' to
43 the right cursor slice of `cur'; use updateInsets on cur to make
44 sure that the inset caches are correct; general cleanup.
46 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
48 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
49 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
50 containg inset. If this does not work, the same command will be
51 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
53 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
56 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
58 * lyxtextclass.C (Read): convert layout file if the format is wrong
59 * lyxtextclass.C (layout2layout): new, needed for the above
61 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * messages.C: do not forget to include <cerrno>.
65 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
67 * dociterator.h (StableDocIterator): add access to pos().
68 * undo.C (samePar): new method to check if two
69 iterators are in the same paragraph
70 * undo.C (recordUndo): check for samePar instead of cell identity
71 (which includes pos() and is too strict) (fixes bug 2097)
73 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * text.C (setCursorFromCoordinates): return a bool telling whether
78 * text3.C (cursorPrevious): update if needed after
79 setCursorFromCoordinates (when dEPM triggered).
81 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
82 (otherwise the anchor may be completely wrong and make dEPM assert).
84 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
86 * buffer.C: version upgrade to 245.
87 * bufferparams.C: remove \quotes_times (bug 2090).
88 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
89 quotation marks as default.
91 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
93 * CutAndPaste.C (nrOfParagraphs): remove (unused)
94 * CutAndPaste.C (cutSelection): Remove debug message
95 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
96 undo information and only copy if this is a real cut
97 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
99 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
101 * CutAndPaste.C (eraseSelection): prevent cursor corruption
102 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
103 superflous cur.selection() setting
104 * CutAndPaste.[Ch] (grabSelection): take a const cursor
105 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
107 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
112 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
114 * BufferView_pimpl.C: comment layout change
116 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
120 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
121 by bibliography managers (bug 2071).
123 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
125 * BufferView_pimpl.C (update): choose arguments to update call so
126 that single-par update works most times
127 * text3.C (dispatch): carefully tune updating separately for
128 whole-screen and current-paragraph
129 * rowpainter.C (paintText): 1) replace painting by caching for
130 the two extra paragraphs, because we can;
131 2) suppress greying out of areas below/above drawn area in case of
133 * lyxfunc.C (dispatch): remove superfluous update
134 * LyXAction.[Ch]: introduce SingleParUpdate
136 2005-10-05 Angus Leeming <leeming@lyx.org>
138 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
139 always initialised before use.
141 * text.C (setHeightOfRow): squash warning about comparison
142 of signed and unsigned types.
144 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
146 * text.C (cursorX): two fixes involving RtL text drawing
148 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
151 items, not only large ones (part of bug 2057)
153 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
156 argument, use "newcommand".
158 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
160 * cursor.C (setSelection): do not open collapsable insets;
161 the insets do by themselves now (autoopen).
163 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
165 * buffer.C: format is up to 244.
167 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
169 * text.C (redoParagraph): fix calcultation of inset width wrt
170 leftMargin (bug 1957).
172 * text3.C (dispatch): leave inset to the right when hitting ESC
175 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * messages.C: include <boost/current_function.hpp>
182 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
185 when command is internal. (bug 1941)
187 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * text2.C (cursorRight): do not honor boundary when at the end of
190 a paragraph. (bug 2010 again)
192 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
196 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
198 * rowpainter.C (paintText): fix RtL space width display bug (2029)
200 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * text2.C (setCursor): remove the unused 'boundary' parameter for
203 the CursorSlice version; adapt the LCursor version.
206 * paragraph_pimpl.C (markErased):
207 * cursor.C (bruteFind2, bruteFond3): fix warnings.
209 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
212 as is already done for "chapter".
214 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
217 textclass; do not record undo if nothing is changed.
219 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
221 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
223 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
225 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
227 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
229 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
230 combox, it is necessary to search for the topmost paragraph in the
231 cursor stack (bug 1926)
233 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
236 end of paragraph. (bug 2010)
238 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
240 * text.C (leftMargin): check for inInset == 0
242 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
244 * text.C (leftMargin): test for insetbase's new neverIndent()
245 bool instead of listing each and every inset that does not
246 wish par indendation.
248 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * buffer_funcs.C (setCounter): put the code to compute enum label
251 here (where it belongs).
253 * counters.C (enumLabel): move code to buffer_funcs.C.
255 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
257 * outputparams.[Ch]: store local_font instead of local_language
258 * paragraph.C (simpleTeXOnePar): adapt to the change above
260 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
263 * counters.[Ch]: clean up special code for Hebrew.
265 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
267 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
270 2005-09-08 Angus Leeming <leeming@lyx.org>
273 * lyxrc.C: correct grammar describing invocation of the
276 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
278 * text.C (read): remove unused variable.
279 (readParToken): remove static Change variable (never good in
280 recursive settings...); add it as a parameter instead.
282 * paragraph_pimpl.C (acceptChange): make debug info conditional.
284 * metricsinfo.C (PainterInfo): add new member erased_.
286 * rowpainter.C (RowPainter): add erased_ member, initialized from
288 (paintInset): pass erased_ to Inset::draw.
290 * lyxfunc.C (lookupChange): new function. Tells whether change
291 tracking is disabled at a given postion.
292 (getStatus): disable some actions when in deleted text with change
295 2005-08-03 John Levon <levon@movementarian.org>
297 * tabular.C (appendColumn, setMultiColumn): adapt to change to
300 * paragraph_pimpl.C (markErased): add bool argument and handle it.
301 Also make sure to mark insets recursively.
302 (rejectChange, erase): be recursive
304 * paragraph.C (markErased): add bool argument.
305 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * lyxfind.C (findNextChange): tiny cleanup.
309 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
310 change tracking with the cursor in an inset; make sure the first
311 change is not skipped.
313 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
315 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
316 tabularStackDirty to work around bug 1919 (tabular needs
317 to know whether its own cell paste buffer or the one of
319 * CutAndPaste.C: mark tabular_stack_ clean after copy.
321 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
323 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
325 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
327 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
328 use old deleteion algorithm when changetracking is on.
330 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
332 * messages.C (get): add debug output.
334 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
336 * text.C (cursorX): fix bug 1965: cursor movement at
337 line end broken in RtL.
338 (drawSelection): fix bug 1970: drawing of single-line
339 selection broken for RtL.
341 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
345 * dociterator.h (clear, push_back, pop_back): change from
348 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
349 and changed to just return the value of the item depth; take a
350 ParIterator as argument; take the itemdepth at outer nesting level
351 in account if necessary; cleanup and comment the code.
352 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
353 and changed to just return true if reset is needed; take a
354 ParIterator as argument; cleanup and comment the code.
355 (setCounter): adapt to above changes.
357 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * text3.C (dispatch): make debug message optional
361 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
363 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
366 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
368 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
370 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
372 * text.C (insertChar):
373 * text2.C (deleteEmptyParagraphMechanism): take care whether
374 a blank has been deleted (in change tracking mode) (bug 1254).
376 2005-07-20 John Levon <levon@movementarian.org>
378 * text2.C (insertStringAsLines): remove old dubious code,
381 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
383 * MenuBackend.C (expandToc): use Floating::listName() as title of
386 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
388 * toc.[Ch]: Do not use translatable strings (bug 1870).
390 2005-07-20 John Levon <levon@movementarian.org>
392 * tabular.C: fix 1748 - setting multicolumn adds
393 left line to the first cell
395 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
398 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
401 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
403 * messages.C: supress some lyxerr messages
405 2005-07-18 Juergen Vigna <jug@lyx.org>
407 * text.C (drawSelection): honor boundary when asking for cursorX.
409 2005-07-17 José Matos <jamatos@fc.up.pt>
411 * tabular.C (recalculateMulticolumns): fix handling of one column
414 2005-07-17 Juergen Vigna <jug@lyx.org>
416 * text.C (Delete, backspace): fixed so that paragraph with the
417 same layout can be merged by Delete/Backspace.
419 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
421 * text.C (readParToken): fix spelling.
423 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
425 * text2.C: fix counter update for DEPM problem reported by
428 2005-07-17 Juergen Vigna <jug@lyx.org>
430 * BufferView_pimpl.C (setBuffer): save/restore the
431 cursor/selection when switching buffers
434 * buffer.C (saveCursor): add saveDocumentIterators to save the
435 cursor when switching buffer.
437 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
440 * buffer.C: clarify message
442 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
444 * dociterator.C (DocIterator): fix initialization order
446 2005-07-17 Juergen Vigna <jug@lyx.org>
448 * text2.C (cursorHome):
449 * text.C (drawSelection, cursorX):
450 * dociterator.C (textRow): add boundary to getRow() call
452 * paragraph.C (getRow): implementation of below
454 * paragraph.h: add parameter boundary for getRow() function
456 2005-07-17 José Matos <jamatos@fc.up.pt>
460 * tex-strings.[Ch]: new file format, remove support for a4.sty,
461 a4wide.sty and a4widemargins.
463 2005-07-17 Juergen Vigna <jug@lyx.org>
465 * text2.C (cursorLeft): fix one of error
467 2005-07-17 Juergen Vigna <jug@lyx.org>
469 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
471 more fixes for boundary handling
473 * text3.C (dispatch): don't reset cursor if boundary has changed
476 2005-07-16 Juergen Vigna <jug@lyx.org>
478 * text2.C (getColumnNearX): hopefully got it right now,
479 check if we are on column 0 for special case.
481 2005-07-16 Juergen Vigna <jug@lyx.org>
483 * text2.C (getColumnNearX): handle special case Newline Inset
485 * text.C (singleWidth): Just remove bogus check
487 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
489 * funcrequest.C (split): avoid reading uninitialized char c
491 2005-07-16 José Matos <jamatos@fc.up.pt>
497 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
498 single papersize variable.
500 2005-07-16 Juergen Vigna <jug@lyx.org>
502 * text3.C (dispatch): honor boundary when checking if a cursor
503 movement has been done
505 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
506 (setCursor, setCursorIntern): fix cursor movement with boundary
508 2005-07-16 Juergen Vigna <jug@lyx.org>
510 * text.C (currentState): output the actual Boundary
512 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
514 * factory.C (createInset): fix bad logic for tabular creation
516 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
518 * lyx_main.C (init): change some reLyX reference to tex2lyx
520 2005-07-16 Juergen Vigna <jug@lyx.org>
522 * dociterator.C (DocIterator): initialize boundary
524 2005-07-16 Juergen Vigna <jug@lyx.org>
526 * text2.C (getColumnNearX): Consider rows without trailing blank.
528 2005-07-16 André Pönitz <poenitz@gmx.net>
530 * lyxfont.h: Change order of declarations to give the compiler
531 a better chance to inline things
533 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
534 questions on unsaved docs for better scritability
536 2005-07-16 André Pönitz <poenitz@gmx.net>
538 * paragraph.h (getChar): remove asserts as the same kind of security
539 can be achieved by using a suitable standard library implementation
540 and the function was in the critical path (25.9% in profiler)
542 2005-07-16 Juergen Vigna <jug@lyx.org>
544 * cursor.C (bruteFind2):
545 * bufferview_funcs.C (coordOffset):
546 * text.C (cursorX,cursorY): Handle cursor position after last char
547 in row before a inset which uses a whole row.
549 2005-07-15 José Matos <jamatos@lyx.org>
551 * output_plaintext.[Ch] (writeFileAscii): control reference title
553 (asciiParagraph): noparbreak was already deal and was incorrectly
556 2005-07-15 Juergen Vigna <jug@lyx.org>
558 * lyxfunc.C (dispatch): save and restore the cursor after a
561 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
563 * text.C (backspace): bug 806 for empty keepempty paragraphs we
564 change the layout to default before letting DEPM do its thing.
566 * paragraph_funcs.C (breakParagraph): dont reset the layout on
569 * text.C (setCursorFromCoordinates): add a debug statement
571 * text2.C (getColumnNearX): bug 1825 make sure that we don't
572 return a pos that is not on the row
574 * output_latex.C (TeXDeeper): get rid of potential dereferencing
575 of past the end iterator
577 2005-07-14 André Pönitz <poenitz@gmx.net>
579 * undo.C (recordUndoFullBuffer): implement undo for
582 2005-07-14 André Pönitz <poenitz@gmx.net>
584 * cursor.C (setSelection): open insets when selection is set there
585 to avoid crashs with cold coord cache
587 2005-07-14 André Pönitz <poenitz@gmx.net>
589 * trans_mgr.C (insert): move cursor to the right after inserting
592 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
594 * BufferView_pimpl.C (update): dampen some of the debug blabbering
595 * factory.C (readInset): ditto
596 * text.C, text2.C: ditto
598 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * buffer.C: format incremented to 242. There is no file format per
601 se, but the "frenchb" language has been removed from lib/language
602 and has to be translated to "french" by lyx2lyx.
604 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
606 * cursor_slice.h, dociterator.h: add some documentation
607 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
609 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
611 * text.C (leftMargin): do not add identation to display() style
612 insets, because they are always centered (bug 1293).
614 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
616 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
617 formatted_time methods in support/lyxtime.
619 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
621 * toc.[Ch]: new method getGuiName, which is used by the frontends
622 to set the toc combo (fixes bug 1870). Make TOC string translatable.
624 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
626 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
627 StableDocIterator const &)
628 * undo.C (recordUndo): use the above instead of cell.size() comparison
629 (fixes bug 1808; instructed by Andr�.
631 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
634 * dociterator.h: Fix the assert when copying rows/cols in math
636 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
638 * BufferView_pimpl.C:
640 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
642 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
643 (findInset): new functions, refactored from goto Inset that return
644 the position of a certain inset without setting the buffer's cursor
646 (gotoInset): rewrite to call findInset and then set the cursor
649 2005-06-16 Angus Leeming <leeming@lyx.org>
651 * lyxrc.C (output, read): wrap all input and output of paths with
652 calls to os::internal_path and os::external_path, respectively.
653 (output): wrap bind_file inside quotes.
655 * format.C (view): enable the viewer to use the '$$s' placeholder.
657 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
659 * LColor.[Ch] (getFromLaTeXName): new
661 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
663 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
665 2005-06-14 Angus Leeming <leeming@lyx.org>
667 * lyx_main.C (init): ensure that the LyX binary dir is the first
668 element in the PATH on non-POSIX builds.
670 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
672 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
674 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
676 * rowpainter.C (paintInset, paintHebrewComposeChar)
677 (paintArabicComposeChar, paintChars): add a LyXFont argument.
678 (paintChars): use getFontSpan to reduce calls to getFont to a
679 minimum; use Paragraph::lookupChange instead of isXXXText.
680 (paintForeignMark): rename LyXFont argument.
681 (paintFromPos): pass a LyXFont object to the various paintXXX
684 * FontIterator.C (FontIterator, operator++): use
685 Paragraph::getFontSpan
687 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
688 version that returns the font span as a pair.
690 2005-06-09 Angus Leeming <leeming@lyx.org>
692 * converter.C (convert): Don't forget "outfile = real_outfile" as
693 the final step in a conversion where the input and output file names
694 are the same. Otherwise, future conversion steps won't work...
696 2005-06-09 Angus Leeming <leeming@lyx.org>
698 * lyxsocket.C: remove stub code as it isn't needed by
699 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
701 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
703 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
704 effectively disabled -x
706 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
708 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
709 when it actually makes sense.
711 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
713 * BufferView_pimpl.C: revert to showCursor in connection with
714 Lars's front-end stack
716 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
718 * text.C (redoParagraph): move cursor right after a bibitem
721 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
723 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
725 * buffer_funcs.C (bufferErrors): fix computation of the end of an
728 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
730 * BufferView.[Ch] (update):
731 * BufferView_pimpl.[Ch] (update, metrics):
732 * dimension.h (operator==):
733 * lyxfunc.C (dispatch):
734 * metricsinfo.h (ViewMetricsInfo):
735 * rowpainter.C (paintText):
737 * text.C (redoParagraph):
738 * text3.C (dispatch): Make LyX only repaint current paragraph in
739 case of character insert --> speedup. Also fix cursor draw
742 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
744 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
745 avoid a crash (bug 1891)
747 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
751 * text2.C (getStringToIndex): constify cur argument.
753 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
754 argument has been given
755 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
756 try to invoke LFUN_INSET_APPLY).
758 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
759 if no inset was created by doInsertInset
760 (doInsertInset): return true if an inset has been inserted.
762 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * vspace.C (asGUIName): new method. A version of the space
765 suitable for showing on screen.
767 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
770 * lyxrc.C: rename "ASCII" to "Plain Text"
772 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
774 * buffer_funcs.C (expandLabel): take a Buffer as argument;
775 translate the labelstring.
776 (setCounter): translate labelstring as needed.
778 * output_docbook.C (makeCommand): fix expandLabel invokation
780 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
782 * BufferView.C: fix dialog title
784 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
786 * lyx_main.C (priv_exec): fix logic error with help from Angus
787 * lyx_main.C (parse_execute): set is_gui = false and remove now
788 obsolete comment about a segfault
790 2005-05-18 Angus Leeming <leeming@lyx.org>
792 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
794 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
796 * tabular.[hC]: added setCellInset to fix tabular paste.
798 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
800 * buffer.C (save): check if destination is writable before trying
803 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
805 * BufferView_pimpl.C (update): fix processEvents -caused update
808 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
810 * buffer_funcs.C (setCounter): fix test for numbering of
813 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
814 depth correctly; use optional argument when it exists
816 * lyxtextclass.C: remove unused MaxCounterTags enum
817 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
818 (max_toclevel, min_toclevel): new methods.
820 * MenuBackend.C (expandToc2): fix case where depth is smaller than
821 the smallest depth in toc.
823 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
824 layouts that should not appear in a table of contents.
826 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
828 * cursor.h (undispatched, noUpdate): add comments from Andr�
829 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
833 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
835 2005-05-07 André Pönitz <poenitz@gmx.net>
837 * cursor.[Ch] (leaveInset): new function
839 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
841 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
843 2005-05-04 Angus Leeming <leeming@lyx.org>
845 * lyxfunc.C (getStatus): disable the spell checker dialog if
846 none of USE_[AIP]SPELL are defined.
848 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
850 * tabular.C (setWidthOfCell): remove obsolete comment
852 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
854 * paragraph.C (bibitem):
855 * buffer_funcs.C (setCounter):
856 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
858 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
860 * text3.C (getStatus): immediately return after setOnOff
862 * rowpainter.C: fix drawing of appendix start
864 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
866 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
867 SwitchBetweenClasses and remove the unused return value.
868 Handle character styles, too
870 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
872 * factory.C (createInset): handle undefined character styles
874 2005-05-02 Angus Leeming <leeming@lyx.org>
876 * buffer.C: protect the #include of utime.h with a preprocessor
879 2005-05-02 Angus Leeming <leeming@lyx.org>
881 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
882 function so that auto-saving works, albeit in a blocking manner.
884 * Makefile.am: make compilation of the client sub directory, of
885 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
886 on conditionals set at configure time.
888 * SpellBase.[Ch]: no longer an abstract base class. Instead,
889 it can be compiled in its own right but has no-op functionality.
891 * aspell.C, pspell.C: remove preprocessor guards. The files should
892 be compiled only if the necessary functionality exists.
894 * lyxserver.C, lyxsocket.C: disable on Windows.
896 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
898 * text.C (leftMargin): Fix the parindent use bug (1764)
901 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
903 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
906 2005-04-25 Angus Leeming <leeming@lyx.org>
914 include <config.h> in .C files, not .h ones.
916 protect headers inside preprocessor guards.
918 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
920 * FuncStatus.h (StatusCodes): document
922 2005-04-21 André Pönitz <poenitz@gmx.net>
924 * FuncStatus.h (enabled, onoff): document
926 2005-04-19 Angus Leeming <leeming@lyx.org>
928 * BufferView_pimpl.C (cursorToggle): no longer test whether
929 any child processes have been reaped before calling
930 handleCompletedProcesses().
932 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
934 * text3.C (dispatch): fix, finally fix, the language problem in
935 new lyxtexts, without disabling on-the-fly font changes (Helge's
938 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
940 * text3.C (dispatch): set cursor on double/triple click events
943 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
945 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
946 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
948 * rowpainter.C (paintFirst): simplify the code a little bit. In
949 particular, remove the test for secnumdepth.
950 * text.C (setHeightOfRow): only allocate space for chapter number
951 when updateCounters provided an actual label, instead of looking
952 at secnumdepth directly.
954 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
956 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
957 paragraphs when secnumdepth is large enough or, for environments,
958 when they are not the first in a sequence.
960 2005-04-17 Angus Leeming <leeming@lyx.org>
962 * buffer.C (makeLaTeXFile): replace code to manipulate a path
963 containing space and '~' characters with a call to latex_path().
965 2005-04-17 Angus Leeming <leeming@lyx.org>
967 * converter.C (convert): protect all args of convertDefault.sh
970 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
972 * text3.C (dispatch): change the layout to "Caption" after inserting
975 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
977 * text3.C (dispatch): fix language problem in newly created
978 textinsets (and main text) in non-english docs
980 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
982 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
983 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
984 * text3.C (getStatus): disable LFUN_INSET_MODIFY
986 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
991 * rowpainter.C (getFont): Fix metrics bug introduced by inset
994 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
996 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
997 output of \item arguments without trailing text.
999 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1001 * FontIterator.C (operator*): avoid a copy of the font.
1003 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1005 * rowpainter.C (getFont): fix language bug from previous fix
1007 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1009 * rowpainter.C (RowPainter, getFont): fix font inside inset
1012 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1014 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1015 preventing inserted font, deco, delim insets jumping to start of
1018 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1020 * lyxfunc.C (dispatch): translate message before sending it to the
1023 2005-03-29 Angus Leeming <leeming@lyx.org>
1025 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1026 to LyX on the command line.
1028 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1030 * vc-backend.C: use QuoteName to protect file names wherever
1033 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1036 * BranchList.h: fix bugs 1844,1845: document settings don't
1039 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1041 * lyxrc.C (setDefaults, read, output, getDescription): add support
1042 for tex_allows_spaces.
1044 * exporter.C (Export): allows files in directory containing spaces
1045 if tex_allows_spaces is true.
1047 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1048 output it in double quotes.
1050 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1052 * rowpainter.C: use default text height for drawing change tracker
1055 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1057 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1059 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1061 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1062 directory is missing.
1064 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1066 * text2.C: fixed the fix, extended to other case.
1068 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1070 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1072 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1074 * text2.C (cursorUp): get rid of a crash
1075 * text.C (x2pos): add an assert
1077 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1079 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1083 * dociterator.C: include <boost/current_function.hpp>, which is
1084 needed when assertions are disabled.
1086 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1088 * text2.C: fix for stuck cursor when traversing two
1089 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1091 2005-02-25 Andreas Vox <avox@arcor.de>
1093 * output_docbook.C (makeParagraph): suppress trailing newline
1094 after a run of paragraphs
1096 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1098 * paragraph.C: fix for confused change tracker when pasting
1099 text that begins with a lineseparator. [bug 1827]
1100 (setChange(0, Change::INSERTED);)
1102 * paragraph_funcs.C: fix for lost changes on triple-paste
1103 in change tracking mode [bug 1827] (par.setChange()).
1105 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1107 * text2.C (updateCounters, setCounter, expandLabel): move to
1110 * buffer_funcs.C (updateCounters): turn into a free standing
1111 function and add a buffer parameter. Remove dead code for tracking
1113 (setCounter): change into a free-standing function which gets a
1114 dociterator as argument. Use this iterator to fix captions in a
1115 simple way. When no float is found above the caption, use the
1116 labelstring of the caption layout as default.
1118 * text.C (breakParagraph, backspace):
1119 * text2.C (init, setLayout, changeDepth):
1120 * text3.C (dispatch):
1121 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1124 * dociterator.C (forwardPar): make it much faster by calling
1125 forwardPos() only when really necessary.
1127 * output_docbook.C (makeCommand): adapt to expandLabel move.
1129 * cursor.C: remove unused variable
1131 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1133 * paragraph_funcs.C: fix crash when pasting insets in change
1134 tracking mode [bug 1277] (honour change type in moveItem).
1136 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1138 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1140 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1142 * BufferView.C (setCursor): change to use a DocIterator.
1143 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1144 (putSelectionAt): adapt to BufferView::setCursor change.
1146 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1147 moved here from LyXText and rewritten to use proper cursor
1148 methods. Fixes bug 1787, 616 and 835.
1150 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1151 when inside an inset (part of bug 781).
1152 (dispatch): adapt to change of BufferView::setCursor.
1153 (getStatus, dispatch): handle LFUN_GOTOERROR,
1154 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1156 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1157 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1158 * text3.C (gotoNextInset, gotoInset): removed.
1160 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1162 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1164 2005-02-15 Angus Leeming <leeming@lyx.org>
1166 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1167 can be used meaningfully in a comparison.
1169 2005-02-13 André Pönitz <poenitz@gmx.net>
1171 * bufferview_funcs.C (coordOffset): improve cursor drawing
1173 2005-02-13 André Pönitz <poenitz@gmx.net>
1175 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1176 * Cursor.C (dispatch): use fixIfBroken
1177 * lyxfunc.C (getStatus): use fixIfBroken
1179 2005-02-15 Angus Leeming <leeming@lyx.org>
1181 * lyx_main.C (error_handler):
1183 * lyxrc.C (setDefaults):
1185 #include "environment.h".
1187 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1189 2005-02-15 Angus Leeming <leeming@lyx.org>
1191 * lyxserver.C (startPipe): squash MSVC warning "local variable
1192 'fd' used without having been initialized".
1194 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1196 * BufferView_pimpl.C: revert accidental commit.
1198 2005-02-14 André Pönitz <poenitz@gmx.net>
1200 * dociterator.[Ch]: new member forwardPosNoDescent(),
1201 which doesn't enter nested insets.
1202 * text2.C (setFont): use forwardPosNoDescent() instead
1203 of ForwardPos() (fixes crash on font change).
1205 2005-02-13 Angus Leeming <leeming@lyx.org>
1207 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1208 only if lyxrc.path_prefix is not empty.
1210 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1212 * bufferparams.C (readGraphicsDriver): prevent crash
1214 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1216 * text2.C (setCounter): check for inInset() == 0
1218 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1220 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1221 but use update() to get correct screen display; use convert
1222 instead of istringstream.
1223 (getStatus): handle LFUN_GOTO_PARAGRAPH
1225 * lyxfunc.C (dispatch, getStatus): do not handle
1226 LFUN_GOTO_PARAGRAPH here.
1228 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1230 * text3.C (dispatch): size() -> depth()
1232 * text2.C: remove some debug output
1234 * paragraph.C: ws changes only
1236 * lyxfunc.C (getStatus): size() -> depth()
1238 * dociterator.h (clear, push_back, pop_back, internalData,
1239 operator[], resize, empty): new functions
1240 Make StableDocIterator and operator== be friends. Don't inherit
1241 from std::vector use a privat class variable slices_ instead.
1244 * dociterator.C: update because of not inheriting from std::vector
1245 anymore. Call explictly to slices_ instead. Use depth() instead of
1246 size() and top() instead of back()
1248 * cursor.C: chagne size() -> depth and back() -> top(). Also
1249 remove some direct operator[](i) calls in favour of foo[i]
1250 (getFont): remove some dead code
1252 * bufferview_funcs.C (coordOffset): size() -> depth()
1254 * buffer.C: ws changes only
1256 * CutAndPaste.C (eraseSelection): back() -> top()
1258 * BufferView_pimpl.C (selectionRequested): back() -> top()
1260 * BufferView.C (setCursor): size() -> depth()
1262 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1264 * text3.C (cursorPrevious): return true if depm changed something
1266 (dispatch): rename sl to oldTopSlice, remove moving use the new
1267 NoUpdate func attrib instead. Make sure that needsUpdate is set
1268 for function that have NoUpdate, but where depm might have changed
1271 * text2.C (cursorLeft): make us return true if depm changed
1273 (cursorRight): ditto
1274 (cursorUpParagraph): ditto
1275 (curosrDownParagraph): ditto
1276 (cursorUp, cursorDown): ditto, make sure to read comments in code
1277 (deleteEmptyParagraphMechanism): remove an assert, also return
1278 true if just a single char was deleted.
1280 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1281 cursor that we modify, to avoid modifying an active cursor before
1282 we call setCursor. This allows depm to run. Also return true if
1283 depm deleted something.
1285 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1286 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1287 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1288 something was changed in the buffer because of them (ie. depm run)
1290 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1291 debug messages. Make update by default be false. Make sure that
1292 the result of update is retained throught several calls down to
1295 * LyXAction.h: add a new func_attrib: NoUpdate
1297 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1298 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1299 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1301 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1303 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1305 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1306 bv_->owner(), bv_->buffer() by direct references to the private
1308 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1309 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1310 (fitCursor): center() is in BufferView::Pimpl.
1311 (getStatus, trackChanges, dispatch): no need for a temporary buf
1313 (fitCursor, workAreaDispatch): use workarea().workheight()
1315 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1317 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1319 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1321 * buffer.C: format up to 241.
1322 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1323 break if pasting into ERT
1324 * lyxfunc.C (getStatus): suppress mathpanel and
1325 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1327 2005-02-01 Angus Leeming <leeming@lyx.org>
1329 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1331 2005-02-01 Angus Leeming <leeming@lyx.org>
1333 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1334 calling fs::is_directory().
1336 2005-01-31 Angus Leeming <leeming@lyx.org>
1338 * lyx_main.C (priv_exec): specify explicitly the relative location
1339 of the top level build directory when run in-place.
1341 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1343 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1344 LyXText containing the cursor, not the top-level one.
1346 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1348 (insertStringAsLines): rename par to pit; use temporary variable
1349 par to hold a Paragraph; do not store par.layout() in a variable,
1350 since the pointer may die when breaking paragraphs; pass pars to
1351 breakParagraph() instead of Buffer::paragraphs().
1353 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1355 * lyxlex_pimpl.h: #include <fstream>.
1357 * BufferView.[Ch] (getLyXText): add a const version.
1359 * BufferView_pimpl.C: add debug aids.
1364 * paragraph_funcs.h: add commentary explaining what the class does.
1367 * coordcache.[Ch]: add lots of commentary.
1368 (startUpdating, doneUpdating): debug aids.
1369 (arrays, insets, parPos, getParPos): accessors to private data.
1371 * cursor_slice.[Ch] (text): add a const version.
1372 * dociterator.[Ch] (text, innerText): add const versions.
1374 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1377 * paragraph.C (getRow, pos2ros): add asserts.
1379 * paragraph.h: add commentary. Lots of.
1381 * paragraph.[Ch] (metrucs, draw): removed.
1384 * rowpainter.[Ch]: const-correct changes.
1386 * text.C: various obvious clean-ups. Removal of ancient cruft.
1389 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * vc-backend.C (find_file): rewrite to use boost.filesystem
1394 * main.C (main): set default name check for boost.filesystem to
1397 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1400 (actOnUpdatedPrefs): ditto
1402 * lyx_main.C (init): rewrite to use boost.filesystem
1403 (queryUserLyXDir): ditto
1405 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1406 (getContentsOfAsciiFile): ditto
1408 * lastfiles.C (readFile): rewrite to use boost.filesystem
1410 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1412 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1413 (loadLyXFile): ditto
1415 * buffer.C (Buffer): adjust for destroydir
1416 (getLogName): rewrite to use boost.filesystem
1417 (setFileName): ditto
1418 (save): use fs::copy_file (from fs_extras)
1420 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1422 * LaTeX.C (run): rewrite to use boost.filesystem
1423 (scanAuxFiles): ditto
1424 (handleFoundFile): ditto
1426 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1428 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1430 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1432 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1434 * lyxlayout.[Ch]: change some vars from float to double
1436 * buffer.C (readFile): make a local var const
1438 * Several files: use convert<> instead of atoi,strToXXX and friends
1440 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1442 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1443 holds the contents of packages.lst. New functions getAvailable
1444 and isAvailable to parse and check that list, resp.
1448 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1450 * bufferparams.[Ch]: new param output_changes.
1452 * Buffer.C: increase file format to 240.
1453 Use output_changes and isVailable.
1457 * paragraph_pimpl.C: Use output_changes and isVailable.
1459 2005-01-23 Angus Leeming <leeming@lyx.org>
1461 * output_latex.C: #include "insetbibitem.h", rather than
1462 forward declare function bibitemWidest.
1464 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1466 * lyx_main.C (init): make it compile on the Mac.
1468 2005-01-20 Angus Leeming <leeming@lyx.org>
1470 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1471 (setLyXMisc): (char string literal) != (char string literal) is
1472 performing a comparison on the addresses. Convert one operand
1473 explicitly to string to guarantee expected behaviour.
1476 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1479 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1481 * output_plaintext.C: remove unneeded #include gzstream.h.
1483 2005-01-20 Angus Leeming <leeming@lyx.org>
1485 * SpellBase.h: rename some of the elements of the Result enum.
1492 * pspell.C (check): ditto
1494 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1496 * buffer.C: add #include <fstream>.
1498 * lyx_main.C (init): Compile fix.
1500 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1502 2005-01-20 Angus Leeming <leeming@lyx.org>
1504 * mover.h: change commentary to reflect the changed meaning of
1505 the $$s placeholder.
1507 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1509 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1511 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1513 2005-01-20 Angus Leeming <leeming@lyx.org>
1515 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1516 printing diagnostic data by not dereferecing an iterator past the
1519 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1521 * buffer.C (readHeader): use "&&" rather than "and".
1523 * lyxserver.h (inPipeName, outPipeName): make these const.
1525 2005-01-19 Angus Leeming <leeming@lyx.org>
1527 * lyx_main.C (error_handler, init): protect SIGHUP with
1528 #ifdef SIGHUP guards.
1530 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1532 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1534 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1536 * text.C (setHeightOfRow): add a margin at the top and bottom of
1537 the document (bug 1761)
1539 2005-01-17 Angus Leeming <leeming@lyx.org>
1541 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1542 with "python ". Workaround for a brain-dead Windows.
1544 2005-01-16 Angus Leeming <leeming@lyx.org>
1546 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1547 for MacOSX and Windows to use prependEnvPath.
1548 Strip out the hard-coded block to add elements to the PATH for
1549 MacOSX and replace it with a call to prependEnvPath using the
1550 contents of LyXRC::path_prefix.
1551 (queryUserLyXDir): strip out the code to run reconfigure, instead
1552 returning a boolean indicating the necessity to do so.
1553 (reconfigureUserLyXDir): contains the code to reconfigure the
1554 user support directory. Is now called after the various LyXRC data
1555 files have been read.
1557 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1559 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1561 * converter.[Ch] (convert): take a new parameter try_default. Use
1562 a default converter (imagemagick) if try_default is true.
1564 2005-01-13 Angus Leeming <leeming@lyx.org>
1566 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1567 os::cygwin_path_fix.
1568 (write): output LyXRC::cygwin_path_fix as necessary.
1570 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1573 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1575 2005-01-12 Angus Leeming <leeming@lyx.org>
1577 * lyx_main.C (init): set the PATH variable to include the
1578 directory containing the LyX binary when running on Mac or Windows.
1580 2005-01-12 Angus Leeming <leeming@lyx.org>
1582 * lyx_main.C (init): remove cruft that purports to set the locale
1583 dir. It doesn't and is not needed anyway.
1585 2005-01-10 Angus Leeming <leeming@lyx.org>
1587 * Makefile.am: remove the lyx_main.C special casing.
1589 * BufferView_pimpl.C:
1595 * messages.C: use support/package.h to provide the paths to the
1596 various directories used by LyX.
1598 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1600 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1601 layout if pasting into an empty paragraph)
1603 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1605 * tex-accent.C: add <string>
1607 2005-01-06 José Matos <jamatos@lyx.org>
1609 * ParagraphParameters.C (write): put every parameter in its own line.
1610 * paragraph.C (write): reduce number of consecutive empty lines exported.
1611 * buffer.C (LYX_FORMAT): increase file format to 239.
1613 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1615 * everywhere: change support/tostr.h -> support/convert.h
1617 * tabular.C: make all write_attributes templates, tostr -> convert
1619 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1620 (emptyTag): and -> &&, and fix type for ret from getChar
1621 (getFirstWord): fix type for ret from getChar
1622 (onlyText): and -> &&
1623 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1626 * toc.C (goTo, action):
1627 * text3.C (dispatch):
1628 * text.C (currentState):
1629 * tex-accent.C (DoAccent):
1632 * lyxfunc.C (menuNew):
1633 * lyxfinc.C (replace):
1634 * counters.C (laberItem):
1635 * bufferview_funcs.C (font2string):
1636 * bufferparams.C (writeFile):
1637 * buffer.C (readFile):
1639 * MenuBackend.C: tostr -> convert
1641 * LaTeX.C (runMessage): fix format
1642 (scanAuxFiles): tostr -> convert
1644 * BufferView_pimpl.C (savePosition): fix format
1645 (restorePosition): ditto
1648 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1650 * Spacing.[Ch]: New method getValueAsString().
1654 * ParagraphParameters.C:
1657 * text3.C: store/read spacing value as string.
1659 * rowpainter.C: change float value (spacing_val) to double.
1661 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1662 broken custom document spacing).
1664 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1667 namespace, also more use of temp references and const
1669 * cursor.[Ch] (getStatus): move to lyxfunc.C
1671 * bufferparams.C: reformat slightly
1673 * bufferview_funcs.C (font2string): constify arg
1679 * buffer_funcs.C: (many funcs): constify arg on function
1680 definitions, also make more local vars const, also add ASSERTS on
1683 * buffer.C (LYX_FORMAT): put const in correct place
1684 (many funcs): constify arg on function definitions, also make
1685 more local vars const
1687 * aspell_local.h: remove "struct" from typdef setup
1689 * aspell.C (check): make word_ok const
1690 (nextMiss): simplify slightly
1693 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1695 * lyxrc.[Ch]: store all float values as strings.
1696 use int (not float) for lyxrc.dpi.
1698 2005-01-04 Angus Leeming <leeming@lyx.org>
1700 * lyx_cb.C (Reconfigure):
1701 * lyx_main.C (queryUserLyXDir):
1702 to run the <system_lyxdir>/configure correctly on Windows, prefix
1703 the path to the script with "sh " when generating the string that
1704 is passed to system().
1706 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1708 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1710 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1712 * lyxlength.C (asLatexString): get rid of setprecision
1714 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1716 * text2.C (setLayout): remove unused variable endpit.
1717 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1719 * paragraph.C (onlyText): remove unused variable style.
1721 * cursor.C (bruteFind): remove unused variables beg and end.
1723 * Makefile.am (dist_noinset_DATA): not needed anymore
1725 * cheaders/*: remove.
1727 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1729 * text3.C: fix LFUN_MATH_MODE.
1731 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1733 * buffer_funcs.C (countWords): new function. Counts words between
1736 * BufferView_pimpl.C (getStatus, dispatch): handle
1739 * LyXAction.C (init):
1740 * lfuns.h: add LFUN_WORDS_COUNT.
1742 2004-12-19 Angus Leeming <leeming@lyx.org>
1744 * buffer.C (save): s/slashify_path/internal_path/.
1746 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1748 * lyxfind.C (findChange): do not search for end of pars, because
1749 the change tracker cannot handle this (fixes bug 1719).
1751 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1753 * paragraph.[Ch] (autoBreakRows): remove
1755 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1757 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1758 avoid using the paragraph one
1760 * text2.C (LyXText, insertStringAsLines): adjust
1762 2004-12-16 Angus Leeming <leeming@lyx.org>
1766 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1768 2004-12-14 Angus Leeming <leeming@lyx.org>
1770 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1772 * bufferlist.C (emergencyWrite):
1773 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1776 2004-12-14 Angus Leeming <leeming@lyx.org>
1778 * main.C: (main): no longer pass pointers to os::init.
1780 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1782 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1783 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1785 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1788 * text3.C: remove selection_possible global flag
1790 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1792 * text2.C (getSelectionSpan): remove
1793 (changeDepth, changeDepthAllowed): adjust
1795 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1797 * Makefile.am (BOOST_LIBS): use boost variables
1799 2004-12-03 José Matos <jamatos@lyx.org>
1801 * buffer.C: format up to 238.
1803 2004-12-03 José Matos <jamatos@lyx.org>
1805 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1807 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1809 * cursor.C (goUpDown): remove call to idxUpDown2
1811 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1813 * tabular.[Ch]: use size_t-like types for cell, row and column
1816 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1818 * lyxfunc.C (getStatus): do not lose previous information when
1819 calling BufferView::getStatus; do not set a default "Command
1820 disabled" message at the beginning, but just before returning.
1822 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1824 * cursor.h (getStatus): add better comment from src/cursor.C
1826 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1828 * text3.C (getStatus): return false when the lfun is not handled
1830 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 * broken_headers.h: remove
1834 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1836 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1838 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1839 offset_ref accessors
1841 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1842 top_y_, merge fitcursor with update
1843 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1845 (metrics): introduce
1846 (workAreaDispatch): adapt to new coord scheme
1847 (redoCurrentBuffer): remove
1849 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1851 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1854 * coordcache.[Ch]: add paragraph cache and helpers
1856 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1859 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1860 (targetX, setTargetX): introduce
1862 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1863 baseline -> ascent, as the rest of lyx
1865 * lyxtext.h: remove redoParagraphs, updateParPositions,
1866 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1867 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1868 have ascent/descent (ascent is ascent of first par)
1870 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1873 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1875 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1877 * pariterator.C: fix infinite loop introduced in par->pit renaming
1879 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1880 in insets and LyXText, draw two off-screen paragraphs using
1881 NullPainter, and adapt to new coord scheme
1885 * text3.C: adapt lfun handlers to the new coord scheme, which
1886 means: there's only guaranteed coord information for onscreen pars
1887 plus one above and one below. This implies that one can do search
1888 from y coordinates in the range [-1,workHeight]
1890 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1892 * rename a lot of InsetOld to InsetBase
1894 2004-11-25 Angus Leeming <leeming@lyx.org>
1896 * BufferView_pimpl.C:
1898 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1900 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1902 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1903 call BufferView::getStatus if LCursor::getStatus did nothing
1904 (setStatusMessage, getStatusMessage): removed.
1906 * FuncStatus.C (message): new methods. Used to provide an error
1907 message indicating why a command is disabled.
1908 (clear, |=, FuncStatus): update for message.
1910 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1912 * lyxfunc.C (dispatch): always call sendDispatchMessage
1914 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1917 * BufferView_pimpl.C:
1922 * cursor_slice.[Ch]:
1925 * paragraph_funcs.C:
1931 * undo.C: par->pit renaming
1933 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1935 * tabular.C (cellstruct): use initialization, store a shared_ptr
1936 to insettext instead of the insettext directly, adjust to fit.
1937 (operator=): new function
1938 (swap): new function
1939 (rowstruct): use initialization
1940 (columnstruct): use initialization
1941 (ltType): use initialization
1944 * lyxlength.h (swap): new function
1946 * LColor.[Ch] (operator=): use the common semantics
1948 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1950 * lyxfind.C (findNextChange): update the bufferview after setting
1953 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1955 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1956 number of InsetOptArgs has already been inserted.
1958 * output_latex.C (latexOptArgInsets): new method. This outputs all
1959 the optarg insets, up to the limit defined in the layout file.
1960 (optArgInset): removed
1961 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1963 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1965 * paragraph.C (isLetter): remove special spellchecker-related
1966 code; return true also for digits
1967 (isWord, isKomma): remove
1969 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1970 * lyxfind.C (MatchString()): use isLetter instead of isWord
1972 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1974 * pariterator.h (operatir=): comment out un-implemented member
1977 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1980 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1982 * lyxfont.h: include LColor.h to satisfy concept checks.
1984 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1986 * pariterator.h: add typdefs for value_type, difference_type,
1987 pointer and reference to satisfy concept checks. Also add default
1988 constructor for same reason.
1990 * pariterator.C (operator++): add post-increment operator to
1991 satisfy concept checks.
1993 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1996 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1998 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1999 checks. Also rename base_type to BaseType to follow naming
2002 * FloatList.h: include Floating.h to satisfy concept checks.
2004 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2006 * lyxfunc.C (getStatus): when the origin of the request is menu or
2007 toolbar, and the LyXView does not have focus, do as if there was
2008 no buffer (bug 1720)
2010 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2011 FuncRequest to individual entries of LFUN_SEQUENCE
2013 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2015 * output_latex.C (TeXOnePar): override runparams.moving_arg
2016 according to the needprotect value of the current paragraph (bug
2019 * paragraph.C (simpleTeXOnePar): no need to override
2020 runparams.moving_args here
2022 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2024 * vspace.C: fix off-by-one-error, related to fix #1682
2026 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2028 * lengthcommon.C: a more general fix for bug 1682
2030 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2032 * text.C (backspace): fix crash
2034 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2036 * format.[Ch] (getFormatFromFile): new method
2037 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2039 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2041 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2043 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2045 * lyxfunc.C (dispatch): remove the verbose argument
2046 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2049 * kbmap.C (defkey): set the origin of func to KEYBOARD
2051 * MenuBackend.C (MenuItem):
2052 * ToolbarBackend.C (add): set the origin of func to UI
2054 * funcrequest.[Ch]: add origin member, which indicates which part
2055 of LyX requests an action
2057 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2059 * converter.C (move): don't lie in the error message
2060 * converter.h (isReachable, move): document
2062 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2064 * buffer.C: remove unused using lyx::support::atoi
2065 * paragraph_funcs.C: ditto
2067 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2069 * bufferlist.C (exists): use bind and equal_to instead of
2072 * lyxtextclasslist.C (NumberOfClass): ditto
2074 * cursor.C (insert): use for_each instead of explicit for loop
2076 * bufferlist.C (getFileNames): use std::transform and
2077 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2079 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2082 * buffer.C (changeLanguage): use for_each instead of explicit for
2084 (hasParWithID): implement using getParFromID
2086 * LaTeXFeatures.C: ws change only
2088 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2091 * BufferView_pimpl.C (trackChanges): use for_each instead of
2094 2004-11-04 André Pönitz <poenitz@gmx.net>
2097 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2099 * dociterator.C (asDocIterator): use hard assert again.
2101 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2103 * lyxlength.C (asLatexString): rewrite so that it does not use
2106 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2108 * text3.C (specialChar, dispatch): make sure cursor moves to the
2109 right after inserting an inset
2111 2004-11-02 José Matos <jamatos@lyx.org>
2113 * output_docbook.C (docbook):
2114 * paragraph.C (getID):
2115 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2116 garantee that the output is always legal.
2118 * tabular.C (docbook):
2119 * outputprams.[Ch]: remove mixed contents.
2121 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2123 * text2.C (setCounter): prevent endless loop
2125 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2127 * exporter.C (copyFile): use the mover instead of support::copy()
2128 * exporter.C (Export): pass format and latex name to copyFile()
2129 * exporter.h (addExternalFile): document
2130 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2132 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2134 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2136 2004-10-30 José Matos <jamatos@lyx.org>
2138 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2139 text and no inset or font change. This allows to use CDATA
2140 sections just for the whole paragraph.
2142 2004-10-30 José Matos <jamatos@lyx.org>
2144 * paragraph.C (getFirstWord): remove unused variable.
2146 2004-10-30 José Matos <jamatos@lyx.org>
2148 * paragraph.C (getFirstWord): the content should always be escaped
2150 (simpleDocBookOnePar):
2151 * output_docbook.C (makeEnvironment): replace reference to CDATA
2154 2004-10-30 José Matos <jamatos@lyx.org>
2156 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2158 2004-10-30 José Matos <jamatos@lyx.org>
2160 * output_docbook.C (makeParagraphs):
2161 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2162 standard paragraph has only a given type of content drop the wrapper.
2164 2004-10-29 José Matos <jamatos@lyx.org>
2166 * output_docbook.C (makeEnvironment):
2168 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2170 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2172 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2173 (cleanID): sanitize any id.
2175 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2177 * buffer.C, lyxlex_pimpl.C:
2178 * lyxlex_pimpl.C (setFile):
2179 s/getExtFromContents/getFormatFromContents/
2181 2004-10-28 José Matos <jamatos@lyx.org>
2183 * output_docbook.C (makeEnvironment): move id to broadest possible
2186 * sgml.C (openTag): apply substitution of <> for all attributes.
2188 2004-10-28 José Matos <jamatos@lyx.org>
2190 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2191 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2192 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2194 * sgml.[Ch]: new version for open and closeTag for paragraph and
2195 for strings. Now they handle the ids of paragraphs.
2197 2004-10-26 Angus Leeming <leeming@lyx.org>
2199 * Makefile.am: add mover.[Ch].
2201 * converter.C (convert, move): use the new Movers to move external
2202 files to the temp directory.
2204 * lyx_main.C (init): ensure that the global system_movers data
2207 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2210 * mover.[Ch]: new files, defining a Mover as a utility to move an
2211 external file between directories and, if necessary, manipulate this
2212 file using a helper script.
2214 2004-10-25 José Matos <jamatos@lyx.org>
2216 * output_docbook.C (makeCommand): merge two if's that tested the
2219 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2221 * sgml.C (escapeString): fix warning in a better way
2223 2004-10-25 José Matos <jamatos@lyx.org>
2225 * sgml.C (escapeString): import the require boosts header file for
2226 tie, and avoid a signed unsigned comparison.
2228 2004-10-25 José Matos <jamatos@lyx.org>
2230 * sgml.h: add #include <string>
2232 2004-10-25 José Matos <jamatos@lyx.org>
2234 * sgml.[Ch] (escapeString): new function to escape all the string.
2236 2004-10-24 José Matos <jamatos@lyx.org>
2238 * paragraph.[Ch] (getFirstWord): new function to get the first
2239 word. Useful for description.
2240 (simpleDocBookOnePar): remove depth argument, add another that
2241 says where to start the paragraph.
2243 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2244 use the new functions to fix cleanly the support for descriptions.
2246 2004-10-24 José Matos <jamatos@lyx.org>
2248 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2249 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2250 * output_linuxdoc.C (linuxdocParagraphs):
2251 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2252 add buffer as argument.
2254 2004-10-24 José Matos <jamatos@lyx.org>
2256 * output_docbook.C (makeEnvironment, searchEnvironment): place
2257 CDATA inside paragraphs and fix scope for listitems.
2259 2004-10-24 José Matos <jamatos@lyx.org>
2261 * output_docbook.C: remove using statement for stack.
2263 2004-10-23 José Matos <jamatos@lyx.org>
2265 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2266 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2267 docbook. The new scheme is recursive and makes use of iterators, the
2268 same as latex export works.
2269 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2270 directly with the paragraph contents. This code was moved up to
2271 output_docbook.C (docbookParagraphs).
2272 * sgml.C (openTag, closeTag): removed unneeded newlines.
2273 (closeEnvTags) removed.
2275 2004-10-23 André Pönitz <poenitz@gmx.net>
2277 * undo.C (textUndoOrRedo):
2278 * dociterator.C (asDocIterator): work around crash
2280 * cursor.C (getStatus): replace ASSERT by more verbose error message
2281 and manual correction of the problem. Should increase stability
2282 while providing more sensible information.
2284 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2286 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2288 * bufferlist.C (previous, next): new methods
2291 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2293 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2295 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2296 entities to preamble.
2298 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2300 * messages.C (Pimpl): strip off translation context information
2302 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2304 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2305 the cursor is correct (bug 1694)
2307 2004-10-13 José Matos <jamatos@lyx.org>
2309 * output_docbook.C (docbookParagraphs): fix closing tags in the
2310 end of the document.
2312 2004-10-09 José Matos <jamatos@lyx.org>
2314 * buffer.C: format up to 237.
2315 * bufferparams.C (write): use tostr to convert booleans to strings.
2317 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2319 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2321 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2323 * LaTeX.C: implement use of babel language in xindy.
2325 2004-10-05 José Matos <jamatos@lyx.org>
2327 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2328 Add new translators to help reading and writing the lyx file.
2330 2004-10-05 José Matos <jamatos@lyx.org>
2332 * ParagraphParameters.C (read):
2333 * text.C (readParToken): replace nexToken by more appropriate lex
2336 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2338 * LaTeX.C (runMakeIndex):
2339 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2340 (usually 'makeindex') configurable.
2342 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2343 with a variable rather than with a number.
2345 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2347 * output_latex.C (TeXOnePar): make sure font setting is the first
2348 thing that gets output (and the last at the end). Should fix bug
2351 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2353 * pch.h: use proper signal include
2355 * LaTeX.h: Use preferred calling of Boost.Signal
2358 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * pch.h: dont include <boost/function/function0.hpp>
2362 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2364 * paragraph_pimpl.h: remove usage of ShareContainer
2366 * paragraph_pimpl.C: remove initialization of ShareContainer.
2368 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2372 * BufferView.C (putSelectionAt): change the semantics when
2373 backwards == true: now, this just swaps cursor and anchor wrt the
2376 * BufferView.h (putSelectionAt): add some documentation
2378 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2379 make sure backwardChar is done at least once (to avoid getting
2381 (findNextChange): use putSelectionAt in the forward direction
2382 (operator()): use Paragraph::isWord
2384 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2386 * Spacing.C (set): c_str fix
2388 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2390 * lyx_cb.C (Reconfigure): quote the name of configure script in
2391 case it contains spaces
2393 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2397 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2398 (BOOST_LIBS): use top_buildir when looking for the file
2400 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2402 * pch.h: do not use include boost/format.hpp, multiple symbols
2403 will result (gcc bug)
2406 2004-08-23 José Matos <jamatos@lyx.org>
2408 * bufferparams.C (readToken): fix reading of the author field.
2410 2004-08-20 José Matos <jamatos@lyx.org>
2412 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2414 2004-08-20 José Matos <jamatos@lyx.org>
2416 * lyxlex.[Ch] (findToken): remove function.
2418 * ParagraphParameters.C (findToken):
2419 * bufferparams.C (findToken): replace call for previous function
2420 with local copy. This local function has one more argument, the
2421 read string argument.
2423 2004-08-16 José Matos <jamatos@lyx.org>
2425 * ParagraphParameters.C (write):
2426 * Spacing.C (writeFile):
2427 * bufferparams.C (writeLaTeX):
2428 * lyx_cb.C (Reconfigure):
2429 * paragraph.C (write):
2430 * tabular.C (write): remove unnecessary space at end of line.
2433 2004-08-16 José Matos <jamatos@lyx.org>
2435 * text.C (readParagraph): remove debug message.
2437 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2439 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2442 * output_plaintext.C (asciiParagraph): set depth correctly
2444 * outputparams.h: add member depth
2446 * paragraph_funcs.C (ownerPar): remove.
2448 * text2.C (setCounter): remove first_pit; comment out some
2449 non-working code that uses ownerPar
2451 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2454 2004-08-16 José Matos <jamatos@lyx.org>
2456 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2457 For the same level of importance use the same chanel to report problems.
2458 (read): add code to deal with \begin_body and \end_body.
2461 2004-08-15 José Matos <jamatos@lyx.org>
2463 * lyxlex.C (getString): fix comment, buffer::readBody is now
2464 buffer:readDocument.
2466 * tex-strings.C (string_papersize): Default -> default,
2467 Custom -> custom, for consistency with other options.
2469 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2473 * Makefile.am: support pch
2475 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2477 * text.C (readParToken): remove the static LyXFont variable and
2478 pass it as a parameter instead. This fixes a nasty bug where an
2479 inset will be inserted with a bad font in some situations
2480 (readParagraph): adapt
2482 * text2.C (setCounter): reduce number of calls to pars_[pit]
2484 * text.C (singleWidth): add an assert, fix a test
2486 * rowpainter.C (paintText): reduce number of calls to singleWidth
2488 * paragraph.C (isHfill):
2489 (isNewline): ws only
2491 2004-08-14 André Pönitz <poenitz@gmx.net>
2496 * lyxtext.h (several functions): use a Paragraph & argument
2499 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2501 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2503 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2505 * text.C (singleWidth): remove useless test
2507 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2509 * tabular.h: remove bogus comments
2511 * tabular.C (getDescentOfRow):
2512 (isPartOfMultiColumn): add assertions
2514 * lyxlength.C (inPixels): remove #warning
2516 2004-08-14 André Pönitz <poenitz@gmx.net>
2518 * paragraph.h: inline getChar()
2520 * BufferView.h: remove unused declarations
2522 2004-08-14 José Matos <jamatos@lyx.org>
2524 * Buffer.[Ch] (readDocument): new name for old readBody.
2525 * Buffer.C: new file format, new keywords: \begin_document,
2526 \begin_header, \begin_body, \end_body.
2528 * bufferparams.C (readToken): replace all calls to lex.nextToken
2529 by lex.next(). Do the same to eatLine except where really needed.
2531 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2532 line when writing to the lyx file.
2534 * output_plaintext.C (asciiParagraph): fix Bibliography style
2537 * text.C (read): fix end of file handling.
2539 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2541 * MenuBackend.C (Menu::operator[]): new method to access
2542 individual menu items
2543 (Menu::hasFunc): new method. search for an item that corresponds
2545 (MenuBackend::specialMenu): new method
2546 (MenuBackend::expand): if a special menu has been set, skip
2547 entries whose func() appears in this menu
2549 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2551 * text3.C: use Debug::DEBUG a bit more
2553 * text.C (leftMargin): try to simplify a tiny bit change var x to
2554 l_margin. Dont output the wide margins always.
2555 (rightMargin): no margin in inner texts
2557 * rowpainter.h (nestMargin): new func
2558 (changebarMargin): new func
2559 (rightMargin): new func
2561 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2565 * factory.C (createInset): modify setDrawFrame
2567 * cursor.C: use Debug::DEBUG a bit more
2569 2004-08-14 André Pönitz <poenitz@gmx.net>
2572 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2573 cache for all insets in (at least partially) visible (top-level)
2576 * BufferView_pimpl.C: reset external coord cache before every update.
2577 This means the coord cache only contains valid entries.
2579 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2582 * BufferView_pimpl.C (getInsetByCode): move function out of class
2583 and change in to a template in anon namespace. Also fix to do what
2586 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2589 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2591 (breakParagraph): rename par to par_offset and use a local
2592 reference. Add code to keep the language over a rebreak.
2593 (breakParagraphConservative): rename par to par_offset, use a
2595 (mergeParagraph): ditto
2597 (isFirstInSequence): ditto
2598 (outerFont): rename pit to par_offset
2600 * paragraph.C: ws change
2601 * paragraph.h: ditto
2605 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2607 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2610 * paragraph.C (simpleTeXOnePar): when we have a \item with
2611 optional argument, enclose the argument with curly brackets (in
2612 case it contains a closing square bracket)
2616 * text3.C (checkInsetHit): constify
2618 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2620 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2621 documents (bug 1629)
2623 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2625 Fix toggling of collapsable insets with the mouse (bug 1558)
2627 * lyxfunc.C (dispatch): adapt to LCursor changes
2629 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2630 make sure that dispatch is not invoked twice
2632 * cursor.C (needsUpdate): new method
2633 (dispatch): return void
2634 (result): new method, to access the DispatchResult of the cursor.
2636 2004-08-13 José Matos <jamatos@lyx.org>
2638 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2640 2004-08-13 André Pönitz <poenitz@gmx.net>
2642 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2644 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2647 2004-08-12 André Pönitz <poenitz@gmx.net>
2649 * text3.C: take out the 'cursor right' form insertInset and only
2650 do it in those places when it is really needed. Fixes crash on
2653 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2655 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2657 * BufferView_pimpl.C (setBuffer): initialize the current font of
2658 the underlying LyXText
2660 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2662 * kbsequence.C (print): use UI native formatting for menu
2665 * text.C (insertChar): call Paragraph::insertChar with a font
2668 * paragraph.C (insertInset, insertChar): the version that takes a
2669 LyXFont argument is now a wrapper around the other one (the
2670 opposite used to be true).
2672 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2673 argument. Font setting is done in Paragraph now.
2675 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2677 * outputparams.h: add new members intitle and lang.
2679 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2680 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2682 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2684 * text3.C (dispatch): remove special handling of button 4 and 5,
2685 it is now taken care of in the frontend code.
2687 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2689 * Spacing.h: add <string> (STLPort compile fix)
2691 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2693 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2695 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2697 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2700 * converter.C (showMessage): inherit from unary_function, make
2703 * buffer.C (writeFile): initialize retval
2705 * InsetList.h: rename private variable list to list_
2706 * InsetList.[Ch]: adjust accordingly.
2708 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2710 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2711 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2712 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2713 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2714 * ParagraphParameters.C, LaTeXFeatures.C: replace
2715 "support/std_sstream.h" with <sstream>
2717 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2719 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2720 * lyxsocket.C (LyXServerSocket): ditto
2721 (serverCallback): ditto
2723 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2725 * LaTeXFeatures.C: check release date when loading jurabib.
2727 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2729 * lyxserver.C (startPipe): call register_socket_callback
2730 (endPipe): call unregister_socket_callback
2732 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2734 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2735 (LyXServerSocket): register the callback
2736 (LyXServerSocket): unregister the callback
2737 (fd): delete function
2738 (serverCallback): improve error checking and setup the callbacks.
2739 (dataCallback): change arg to fd.
2740 (writeln): new func (copied fro the client socket) used for server
2742 (LyXDataSocket): simplify
2743 (~LyXDataSocket): close ann unregiser callback
2744 (server): delete function
2745 (fd): delete function
2746 (readln): small changes, improve some std::string usage
2747 (writeln): constify a bit
2749 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2751 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2754 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2756 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2757 after it has been populated
2759 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2761 * text2.C (insertInset): move cursor when inserting inset.
2763 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2765 * kbmap.C (findbindings): a couple of new methods. returns a
2766 container of kb_sequence objects. The real work is done by the
2767 private recursive version
2768 (printbindings): uses findbindings to print out a bracketed list
2769 of bindings (renamed from findbinding).
2771 * MenuBackend.C (binding): use kb_keymap::findbindings
2773 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2775 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2777 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2779 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2781 * paragraph.C (isWord): return true on insets that report
2784 * text.C (getWord): use Paragraph::isWord to decide what is in a
2785 word and what is not; fix bug 1609.
2787 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2789 * tex-strings.C: add "none" to string_paperpackages[], fixes
2790 off-by-one-error in the paperpackage selection.
2793 * tex-strings.[Ch]: char const * string[n]
2794 -> char const * const string[]
2796 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2798 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2799 command, return early.
2801 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * debug.h: add DEBUG to enum and fix size of ANY.
2805 * debug.C: add support for Debug::DEBUG
2806 (showTags): cast errorTags.level to unsigned int
2808 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2809 (redoCurrentBuffer): ditto
2810 (updateScrollbar): ditto
2811 * cursor.C (dispatch): ditto
2812 * text2.C (setLayout): ditto
2814 (updateCounters): ditto
2816 (deleteEmptyParagraphMechanism): ditto
2818 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2820 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2821 annotations to cleanup the Makefile slightly.
2823 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2825 * lyxrc.C: do not set user_email to a default value but use empty
2826 instead. The entry used to be translated, which does not work
2827 since at the point where lyxrc is constructed there is no
2828 translation service available
2830 * messages.C (getLocaleDir): remove and use directly
2831 lyx_localedir() instead
2833 2004-06-02 Angus Leeming <leeming@lyx.org>
2835 Fix crash caused by dereferencing null pointer 'exportdata' in
2836 OutputParams by creating a new ExportData variable on the heap,
2837 storing it in a boost::shared_ptr.
2838 The crash was triggered when generating an Instant Preview
2839 of an external inset.
2841 * Makefile.am: add outputparams.C
2843 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2844 (c-tor): allocate memory to it.
2846 * exporter.C (c-tor): associated changes.
2848 2004-06-01 Angus Leeming <leeming@lyx.org>
2850 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2851 contains data before calling isInset(0). (Bug 1513.)
2853 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2855 * exporter.C (checkOverwrite): new method
2856 * exporter.C (copyFile): new method
2857 * exporter.C (Export): copy referenced files to the document dir
2858 * exporter.[Ch]: new class ExportedFile
2859 * exporter.[Ch]: new class ExportData. Contains currently the
2860 names of referenced external files
2861 * outputparams.h: add exportdata member.
2863 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2865 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2868 2004-05-19 Angus Leeming <leeming@lyx.org>
2873 * lyxfunc.C: small changes due to the introduction of namespace
2874 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2876 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2878 * text3.C (dispatch): supress update when only moving the cursor
2879 * cursor.C (selHandle): remove commented code
2881 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2883 * paragraph.C (startTeXParParams): correct column count
2884 * CutAndPaste.C (pasteSelection): remove const_cast
2885 * output_docbook.C (docbookParagraphs): remove const_cast
2886 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2887 const_cast and return ParagraphList::const_iterator
2888 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2889 * output_plaintext.C (writeFileAscii): remove const_cast
2890 * paragraph.[Ch] (simpleTeXOnePar): make const
2891 * paragraph_funcs.C (outerPar): use const iterators
2892 * paragraph_pimpl.C (validate): use const iterators
2893 * text.C (setHeightOfRow): use const iterators
2895 2004-05-17 Angus Leeming <leeming@lyx.org>
2898 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2900 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2901 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2902 if the citation engine has changed.
2904 2004-05-14 José Matos <jamatos@lyx.org>
2906 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2907 if the textclass does not provide it. Have it different for sgml and
2909 support the language of document.
2910 * output_docbook.C (docbookParagraphs):
2911 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2912 first anchor as the id of the paragraph, remove special case code.
2913 * sgml.C (escapeChar): escape only < & >.
2915 2004-05-14 Angus Leeming <leeming@lyx.org>
2917 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2918 dependencies on src/frontends/controllers/biblio.h. Define a
2919 CiteEngine_enum wrapper class to enable the enum to be forward
2922 2004-05-12 Angus Leeming <leeming@lyx.org>
2924 * buffer.C: up LYX_FORMAT to 234.
2925 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2926 use_numerical_citations with a single biblio::CiteEngine cite_engine
2928 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2930 2004-05-13 José Matos <jamatos@lyx.org>
2933 * converter.C (Converter, readFlags): add xml member.
2934 * outputparams.h: add XML flavor.
2935 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2937 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2939 * lyxfunc.C (dispatch):
2940 (getStatus): fix handling of LFUN_SEQUENCE
2942 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2944 * debug.C (showLevel): do not forget the end-of-line marker
2946 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2948 * kbmap.C (read): do not stop parsing a bind file when an error
2951 2004-04-29 Angus Leeming <leeming@lyx.org>
2956 * text2.C: wrap a bunch of #warning statements
2957 inside #ifdef WITH_WARNINGS blocks.
2959 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2961 * buffer.C: increment format to 233.
2963 2004-04-28 Angus Leeming <leeming@lyx.org>
2965 * BufferView_pimpl.C:
2968 s/updateToolbar()/updateToolbars()/
2969 s/Toolbar.h/Toolbars.h/
2971 2004-04-28 Angus Leeming <leeming@lyx.org>
2973 * BufferView.[Ch] (c-tor):
2974 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2975 No longer passes these data to the WorkArea generator.
2977 2004-04-28 Angus Leeming <leeming@lyx.org>
2979 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2981 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2983 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2985 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2987 * output_latex.C (TeXEnvironment): make sure that there is a line
2988 break before \end{foo} for the last paragraph of a document
2989 (TeXOnePar): if the paragraph is at the end of the document (or
2990 inset) and the language has to be reset, then make sure that the
2991 line break is _before_ the language command, not after (fixes bug
2992 1225); also make sure that the language reset command is the first
2993 thing after the paragraph (to ensure proper nesting of
2994 environments and thus fix bug 1404)
2996 2004-04-21 John Levon <levon@movementarian.org>
2999 * ToolbarBackend.C: make "name" be a programmatic name
3000 and a gui_name field.
3002 * lyxfunc.C: display the minibuffer on M-x
3004 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3006 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3009 2004-04-19 Angus Leeming <leeming@lyx.org>
3011 * BufferView_pimpl.C (setBuffer): changed preview interface.
3013 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3016 2004-04-19 John Levon <levon@movementarian.org>
3018 * BufferView_pimpl.C:
3019 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3021 2004-04-05 Angus Leeming <leeming@lyx.org>
3023 * text.C (redoParagraphs): add call to updateCounters(), thereby
3024 fixing the missing "Figure #:" label from the caption of a
3027 2004-04-13 Angus Leeming <leeming@lyx.org>
3029 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3030 cursor is clicked out of an inset.
3032 2004-04-13 Angus Leeming <leeming@lyx.org>
3034 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3035 than an InsetOld one.
3037 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3039 * format.[Ch]: add editor to Format
3040 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3041 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3043 2004-04-08 André Pönitz <poenitz@gmx.net>
3045 * metricsinfo.h: remove PainterInfo::width member
3047 2004-04-08 Angus Leeming <leeming@lyx.org>
3049 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3050 "\providecommand" rather than "\newcommand", thereby preventing
3051 clashes with packages that define "\boldsymbol" themselves.
3054 2004-04-08 Angus Leeming <leeming@lyx.org>
3056 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3057 thereby squashing an unnecessary warning.
3059 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3061 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3064 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3066 * BufferView.C (setCursor): call redoParagraph (some insets could
3068 (putSelectionAt): remove the 'double update' trick
3070 * BufferView_pimpl.C (fitCursor): call refreshPar
3071 (workAreaDispatch): remove an uneeded update call
3072 (dispatch): remove some manual update calls
3074 * cursor.[Ch]: remove cached_y_, updatePos
3075 (selHandle): set noUpdate when appropriate
3077 * lyxfunc.C (dispatch): track if we need an update
3079 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3081 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3082 (paintSelection): cheap optimization, do not call cursorX when not
3084 (paintPars): change signature
3087 (paintTextInset): adjust
3091 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3093 * lengthcommon.C: compilation fix: remove explicit array size from
3094 unit_name[] and friends
3096 2004-04-05 Angus Leeming <leeming@lyx.org>
3098 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3100 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3101 present only for the preferences dialog.
3102 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3104 2004-04-05 Angus Leeming <leeming@lyx.org>
3106 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3107 to enable the frontends to export changes to lyxrc correctly.
3109 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3111 2004-04-07 André Pönitz <poenitz@gmx.net>
3113 * cursor.[Ch] (selClear, adjust): remove math
3115 * cursor_slice.C: more agressive assert
3118 * BufferView_pimpl.C: rework mouse event dispatch
3125 2004-04-05 André Pönitz <poenitz@gmx.net>
3127 * cursor.[Ch] (valign, halign...): remove unneeded functions
3129 2004-04-05 Angus Leeming <leeming@lyx.org>
3131 * lyxlength.[Ch] (unit_name et al.): const-correct.
3133 2004-04-05 Angus Leeming <leeming@lyx.org>
3135 * BufferView_pimpl.C:
3144 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3146 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3148 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3150 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3152 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3153 * BufferView_pimpl.[Ch] (getStatus)
3154 * BufferView.[Ch] (getStatus): add
3155 * lyxfunc.C (getStatus): move lfuns handled in
3156 BufferView::dispatch to te function above
3157 * Cursor.C (setSelection): set selection() = true
3159 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3161 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3163 2004-03-31 Angus Leeming <leeming@lyx.org>
3165 * lyxfunc.C (dispatch): Fall through to the generic
3166 Dialogs::show("preamble").
3168 2004-03-31 Angus Leeming <leeming@lyx.org>
3170 * lyxfunc.C (dispatch): Fall through to the generic
3171 Dialogs::show("spellchecker").
3173 2004-03-31 Angus Leeming <leeming@lyx.org>
3175 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3178 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3183 * insetiterator.[Ch]:
3188 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3190 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3192 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3193 insets where we are putting the cursor.
3195 2004-03-31 Angus Leeming <leeming@lyx.org>
3198 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3200 * lyxrc.[Ch] (read, write): overloaded member functions taking
3201 a std::[io]stream arguments.
3203 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3205 2004-03-31 Angus Leeming <leeming@lyx.org>
3207 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3208 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3210 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3211 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3213 2004-03-31 Angus Leeming <leeming@lyx.org>
3215 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3216 the LFUN_ALL_INSETS_TOGGLE code.
3218 2004-03-30 Angus Leeming <leeming@lyx.org>
3220 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3221 has died. Fall through to the generic Dialogs::show("document").
3223 2004-03-30 Angus Leeming <leeming@lyx.org>
3226 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3227 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3229 * lyxfunc.C (getStatus, dispatch): define the actions for these
3230 lfuns. Little more than a cut and pste job from ControlDocument.C
3232 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3234 2004-03-30 Angus Leeming <leeming@lyx.org>
3237 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3238 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3240 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3241 open/closed state of ollapsable insets. Usage:
3243 all-inset-toggle <state> <name>, where
3244 <state> == "open" || "closed" || "toggle" and
3245 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3247 * lyxtext.h, text2.C (toggleInset): removed.
3249 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3250 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3251 now passes LFUN_INSET_TOGGLE to the found inset.
3253 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3254 is now invoked as "all-insets-toggle toggle branch".
3256 2004-03-30 Angus Leeming <leeming@lyx.org>
3260 * pariterator.[Ch]: added/corrected header blurb.
3262 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3264 * dociterator.[Ch]: add an inset_ member
3265 (backwardPos): implemented
3266 (backwardPos, forwardPos): use inset_ when the stack is empty.
3267 (doc_iterator_begin, doc_iterator_end): implemented
3268 * pariterator.[Ch]: adjust, add begin, end
3269 * insetiterator.[Ch]: adjust, add begin, end
3273 * BufferView_pimpl.C:
3274 * CutAndPaste.C: adjust
3276 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3278 * buffer.C: increment file format to 232.
3279 * LaTeXFeatures.C: add bibtopic package.
3280 * bufferparams.[Ch]: param \use_bibtopic.
3282 * lyxrc.[Ch]: add lyxrc bibtex_command
3283 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3285 * buffer.C: increment file format to 231.
3287 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3289 * dociterator.C: implement forwardPar
3290 * iterators.[Ch]: remove, replaced by
3291 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3293 * BufferView_pimpl.C:
3296 * bufferview_funcs.C:
3302 * Makefile.am: adjust
3304 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3306 * CutAndPaste.C (pasteSelection): fix 2 crashes
3307 (eraseSelection): fix a crash
3308 * paragraph_funcs.C: remove a warning
3310 2004-03-28 Angus Leeming <leeming@lyx.org>
3313 * LyXAction.C (init): new LFUN_PRINT.
3315 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3317 2004-03-27 Angus Leeming <leeming@lyx.org>
3320 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3322 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3324 2004-03-27 Angus Leeming <leeming@lyx.org>
3326 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3327 insetlist always contains non-null pointers to insets.
3329 2004-03-26 Angus Leeming <leeming@lyx.org>
3331 * src/BufferView_pimpl.C:
3332 * src/CutAndPaste.C:
3335 * src/output_plaintext.C:
3336 * src/outputparams.h:
3337 * src/paragraph_funcs.C:
3341 * src/frontends/controllers/ControlErrorList.C:
3342 * src/frontends/gtk/FileDialogPrivate.C:
3343 * src/frontends/gtk/GPainter.C:
3344 * src/frontends/gtk/GToolbar.C:
3345 * src/frontends/qt2/QRef.C:
3346 * src/mathed/math_scriptinset.C: squash compiler warnings.
3348 2004-03-26 Angus Leeming <leeming@lyx.org>
3350 * ispell.C (LaunchIspell::start):
3351 * lyx_cb.C (AutoSaveBuffer::start):
3352 invoke run(DontWait) rather than runNonBlocking().
3354 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3356 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3358 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3360 * kbsequence.C (print): adjust
3362 * kbmap.C (printKeySym): rename and change signature
3363 (printKey): use LyXKeySym::print()
3365 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3367 * undo.C: add using std::advance to compile for stlport
3369 2004-03-24 Angus Leeming <leeming@lyx.org>
3371 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3372 it leads to a crash when no buffer is present.
3374 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3375 Martin Vermeer <martin.vermeer@hut.fi>
3377 * lyxfunc.C (dispatch):
3378 * bufferparams.C (readToken): use the new LColor::setColor
3380 * LColor.[Ch] (setColor): new version that takes two strings as
3381 argument and creates a new color entry if necessary
3383 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3385 * buffer.C (makeLaTeXFile): if the main latex file that is
3386 processed is usually a subdocument of some master, then pretend
3387 for a while that it is actually the master
3389 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3391 * buffer.C (getLabelList):
3392 (getBibkeyList): use getMasterBuffer()
3393 (getMasterBuffer): new method. Returns the main document in the
3394 case where one is using included documents.
3396 2004-03-25 André Pönitz <poenitz@gmx.net>
3400 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3402 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3404 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3405 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3407 * ParameterStruct.h: merge with ParagraphParameters
3409 * lyxtext.h: remove LyXText::parOffset() and getPar()
3411 * text3.C: Remove all 'manual' update calls. We do now one per user
3412 interaction which is completely sufficient.
3416 * BufferView_pimpl.C:
3417 * FontIterator.[Ch]:
3419 * ParagraphParameters.[Ch]:
3424 * cursor_slice.[Ch]:
3431 * output_docbook.[Ch]:
3432 * output_latex.[Ch]:
3433 * output_linuxdoc.[Ch]:
3434 * output_plaintext.[Ch]:
3436 * paragraph_funcs.[Ch]:
3437 * paragraph_pimpl.[Ch]:
3445 * frontends/controllers/ControlDocument.C:
3446 * frontends/controllers/ControlErrorList.C:
3447 * frontends/controllers/ControlSpellchecker.C:
3450 * insets/insetbase.h:
3451 * insets/insetbibitem.C:
3452 * insets/insetbox.C:
3453 * insets/insetbranch.C:
3454 * insets/insetcaption.C:
3455 * insets/insetcharstyle.C:
3456 * insets/insetcharstyle.h:
3457 * insets/insetcollapsable.C:
3458 * insets/insetcollapsable.h:
3459 * insets/insetert.C:
3460 * insets/insetfloat.C:
3461 * insets/insetfoot.C:
3462 * insets/insetmarginal.C:
3463 * insets/insetnote.C:
3464 * insets/insetoptarg.C:
3465 * insets/insettabular.C:
3466 * insets/insettext.C:
3467 * insets/insettext.h:
3468 * insets/insetwrap.C:
3469 * mathed/math_mboxinset.C:
3470 * mathed/math_nestinset.C:
3471 * mathed/math_scriptinset.C:
3472 * mathed/math_scriptinset.h:
3475 2004-03-24 Angus Leeming <leeming@lyx.org>
3477 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3478 deal with any child processes that have finished but are waiting to
3479 communicate this fact to the rest of LyX.
3481 2004-03-24 Angus Leeming <leeming@lyx.org>
3483 64-bit compile fixes.
3485 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3486 (c-tor): pass lyx::pos_types rather than ints.
3488 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3491 * text.C (Delete): compile fix.
3492 (getPar): ensure that function declaration is the same as that in
3495 2004-03-23 Angus Leeming <leeming@lyx.org>
3497 * ispell.C (LaunchIspell):
3498 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3499 a boost::shred_ptr rather than a std::auto_ptr.
3501 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3503 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3504 handle LFUN_FILE_INSERT_*
3506 * lyxrc.C (setDefaults, getDescription, output, read):
3507 * lyxrc.h: remove ps_command
3509 2004-03-22 Angus Leeming <leeming@lyx.org>
3511 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3512 Ensure that error_handler is processed once only and that all data
3513 is saved before attempting to output any warning messages.
3515 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3517 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3519 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3521 2004-03-19 André Pönitz <poenitz@gmx.net>
3523 * cursor.[Ch] (reset): take main text inset as argument
3525 * BufferView: adjust
3526 * BufferView_pimpl.C: adjust
3528 * paragraph.[Ch]: fix completely broken operator=()
3530 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3532 * LColor.C (getFromLyXName): make sure that the color name is used
3535 2004-03-17 Angus Leeming <leeming@lyx.org>
3538 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3540 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3541 dialog and to kill a forked process.
3543 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3545 * text2.C (setCursorFromCoordinates): fix font problem
3547 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3549 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3550 bogus "rebuild cursor" code
3552 2004-03-11 André Pönitz <poenitz@gmx.net>
3554 * buffer.[Ch]: use InsetText instead of LyXText as container for
3557 * dociterator.[Ch]: drop the BufferView * member which is not needed
3558 anymore after the change to buffer.C
3560 * paragraph_funcs.C:
3564 * BufferView_pimpl.[Ch]:
3566 * cursor_slice.[Ch]: adjust
3568 * text3.C: fix bug in mathDispatch
3570 2004-03-08 André Pönitz <poenitz@gmx.net>
3572 * undo.[Ch]: use 'StableDocumentIterator' as base for
3575 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3578 * bufferparams.[Ch]: add jurabib support and param.
3580 * LaTeX.C: add FIXME/comment.
3582 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3584 * buffer.C: increment file format to 230.
3586 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3588 * cursor.C (dispatch): avoid infinite loops
3590 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3592 * rowpainter.C (paintSelection): fix x coordinates
3594 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3596 * text.C (rowBreakPoint): fix breaking before displayed insets
3598 2004-03-01 André Pönitz <poenitz@gmx.net>
3600 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3602 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3606 * BufferView_pimpl.C:
3614 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3620 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3621 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3623 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3625 * Bidi.[Ch] (computeTables): const correctness
3626 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3627 fill_hfill, fill_label_hfill and x from Row
3628 * lyxtext.h: prepareToPrint returns a RowMetrics
3629 * rowPainter.C: adjust
3630 * text.C (prepareToPrint): use width, not textWidth. adjust
3631 (redoParagraphInternal, cursorX): adjust
3632 * text2.C (getColumnNearX): adjust
3633 (init): put a default value to the top LyXText::width
3635 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3637 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3639 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3641 * lyxtext.h: add FontIterator class
3643 * text.C (FontIterator, operator*, operator->, operator++): add
3644 (rowBreakPoint, setRowWidth): adjust (fixing a
3647 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3649 * BufferView_pimpl.C (workAreaDispatch): allow also
3650 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3652 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3654 * text.C (rowBreakPoint): fix a bug showing with very large insets
3656 2004-02-25 André Pönitz <poenitz@gmx.net>
3659 * cursor.[Ch]: move some mathed specific code to mathed
3661 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3663 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3664 use_tempdir in preferences
3665 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3667 * lyx_main.C: ensure that tempdir is valid
3668 * lyxlex.h: correct typo
3669 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3670 * paragraph.[Ch] (isMultiLingual): make const
3671 * cursor.[Ch] (openable): make const
3673 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3675 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3677 2004-02-20 André Pönitz <poenitz@gmx.net>
3679 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3681 * cursor.[Ch]: prepare for localized getStatus()
3687 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3689 2004-02-20 André Pönitz <poenitz@gmx.net>
3691 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3693 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3695 * text2.C (setCursorFromCoordinates): switch to absolute coords
3697 (cursorDown): adjust
3698 * text3.C (dispatch): adjust
3700 2004-02-16 André Pönitz <poenitz@gmx.net>
3702 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3705 * cursor_slice.[Ch]: remove unneeded acessor function
3707 * lyxtext.h: rename rtl() to isRTL()
3715 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3717 * rowpainter.C (paintSelection): coord fix
3719 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3721 * Spacing.C: compile fix
3723 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3725 * cursor.C (dispatch): restore current_ before returning
3727 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3729 * text2.C (cursorUp, cursorDown): fix coords
3732 2004-02-12 André Pönitz <poenitz@gmx.net>
3737 * text3.C: add LCursor & parameter to most cursor movement functions
3738 remove usage of LyXText::cursorRow() and cursorPar()
3740 * cursor.[Ch]: add textRow() needed members
3743 * BufferView_pimpl.C:
3746 * BufferView_pimpl.C: adjust
3748 2004-02-11 André Pönitz <poenitz@gmx.net>
3752 * BufferView_pimpl.C: shift undo/redo handling
3754 * cursor.[Ch]: fix mathed crash
3757 * lyxtext.h: move selectionAsText to LCursor
3765 * rowpainter.C: fix excessive drawing
3767 2004-02-06 André Pönitz <poenitz@gmx.net>
3770 * BufferView_pimpl.[Ch]:
3771 * text3.C: move some text specific LFUN handling
3773 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3775 * text3.C (checkInsetHit): adjust coords
3776 * text2.C (getColumnNearX): adjust coords
3777 (edit): adjust coords
3778 * text.C (getRowNearY): add two asserts
3780 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3783 * format.C: add using std::distance to compile on gcc 2.95/stlport
3785 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3787 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3789 2004-02-04 André Pönitz <poenitz@gmx.net>
3791 * BufferView.[Ch] (insertInset):
3792 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3797 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3799 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3800 on the default clause of the switch
3801 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3802 wasn't catched by LCursor::dispatch
3804 2004-02-03 André Pönitz <poenitz@gmx.net>
3807 * cursor.[Ch]: some additional asserts
3809 * undo.[Ch]: remove LyXText dependency in interface
3813 * lyxtext.h (firstPar, lastPar): remove dead functions
3818 * paragraph.[Ch]: adjust
3820 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3822 * lyxfind.C (find): fix argument order in call to ::find
3824 2004-02-02 André Pönitz <poenitz@gmx.net>
3826 * cursor.[Ch]: remove direct access to anchor
3828 * text.C: remove findText() hack
3830 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3832 * iterators.[Ch] (lockPath): remove in favour of...
3833 * BufferView.[Ch] (setCursor): this addition
3834 * BufferView.C (putSelectionAt): adjust
3835 * undo.C (performUndoOrRedo): adjust
3836 * lyxfunc.C (dispatch): adjust
3838 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3840 * iterators.C (lockPath): add a missing slice
3841 * undo.C (performUndoOrRedo): remove redundant positioning code
3843 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3845 * vc-backend.C (scanMaster): ";" -> ';'
3847 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3850 std::binary_function
3852 * lyxtextclass.C (compare_name): rename to...
3853 (LayoutNamesEqual): ...this
3855 * lyxlex_pimpl.C (compare_tags): inherit from
3856 std::binary_function, put back into anon namespace
3858 * lyxfind.C (MatchString): inherig from std::binary_function
3859 (findChange): use empty() istead of !size()
3861 * format.C (FormatNamesEqual): new functor
3868 * converter.C (compare_Converter): rename to...
3869 (ConverterEqual): ...this, and fixup a bit.
3870 (getConverter): use it, and make function const
3871 (getNumber): use it, and make function const
3875 * bufferlist.C: add using boost::bind
3877 * MenuBackend.C (MenuNamesEqual): new functor
3878 (hasMenu): use it, and make function const
3879 (hasSubmenu): use nested bind to get rid of compare_memfun.
3881 2004-01-30 André Pönitz <poenitz@gmx.net>
3883 * BufferView_pimpl.C:
3886 * cursor_slice.[Ch]:
3889 * paragraph_funcs.C:
3890 * paragraph_funcs.h:
3894 * text3.C: move some of the edit(x,y) handling to the insets
3895 some coordinate changes.
3897 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * text.C: add using statements for std::advance and std::distance
3901 * paragraph.C: add using statement for std::distance
3903 * lyxfind.C: add using statement for std::advance
3905 * cursor.C (region): remove std:: from swap
3906 (openable): use nucleus in stead of operator->
3908 * BufferView.C: add using statements for std::distance and std::swap
3910 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3912 * iterators.C: Remove the pimple, move the needed structures to
3913 the header file. Create accessor for the positions stack.
3914 (asPosIterator): remove function
3916 * PosIterator.C (PosIterator): move constructors to top of file
3917 (PosIterator): reimplement the constructor taking a ParIterator in
3919 (setFrom): new function
3920 (operator!=): inline it
3922 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * lyxfind.C (replaceAll): use std::advance
3926 * iterators.h: inherit from std::iterator.
3928 * PosIterator.C (advance, distance): remove
3929 * PosIterator.h: interit from std::iterator.
3931 2004-01-26 André Pönitz <poenitz@gmx.net>
3934 * BufferView_pimpl.[Ch]:
3938 * bufferview_funcs.C:
3948 * output_linuxdoc.C:
3949 * output_plaintext.C:
3951 * paragraph_funcs.[Ch]:
3952 * paragraph_pimpl.[Ch]:
3958 * text3.C: more IU: dumps most of the rest of the mathcursor
3959 implementation into cursor.[Ch]; "globalize" a bit of it.
3961 2004-01-25 Angus Leeming <leeming@lyx.org>
3963 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3965 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3967 * LaTeXFeatures.h: add nice_ and nice() const
3968 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3970 2004-01-20 André Pönitz <poenitz@gmx.net>
3973 * BufferView_pimpl.C:
3975 * bufferview_funcs.C:
3977 * cursor_slice.[Ch]:
3988 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3989 LCursor and mathcursor parts to LCursor and InsetBase.
3991 2004-01-15 André Pönitz <poenitz@gmx.net>
3993 * cursor_slice.[Ch]: add a few covienience functions
3995 * funcrequest.[Ch]: remove BufferView * member
3997 * BufferView_pimpl.C:
4004 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4006 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4008 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4009 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4011 2004-01-13 André Pönitz <poenitz@gmx.net>
4014 * lyxtext.h: hide cursor and selection anchor behind accessor function
4017 * BufferView_pimpl.[Ch]:
4019 * bufferview_funcs.C:
4029 * cursor_slice.[Ch]: some integer type changes for inset unification
4031 * lyxcursor.[hC]: remove, it's CursorSlice now.
4034 * BufferView_pimpl.[Ch]:
4035 * bufferview_funcs.C:
4041 * textcursor.[Ch]: adjust
4043 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4045 * text2.C (undoSpan): add and use
4046 * text.C (breakParagraph): use undoSpan (fix bug 578)
4049 2004-01-08 Angus Leeming <leeming@lyx.org>
4051 * BufferView_pimpl.C (MenuInsertLyXFile):
4052 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4053 * lyxfunc.C (menuNew, open, doImport):
4054 FileFilterList change to the FileDialog open and save functions.
4056 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * ShareContainer.h: make isEqual and isUnique adaptable
4060 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4062 2004-01-07 Angus Leeming <leeming@lyx.org>
4065 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4067 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4069 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4070 functions replacing find, replace and replaceAll.
4072 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4073 LFUN_WORDFIND(FORWARD|BACKWARD).
4075 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4077 * text.C (breakParagraph): remove an outdated #warning
4079 2004-01-07 André Pönitz <poenitz@gmx.net>
4081 * lyxfind.C: somewhat clearer logic
4083 * text.C: prevent crash in cursorX on unitialized row cache
4085 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4087 * lyxcursor.[Ch] (operator>): add
4088 * textcursor.C (selStart, selEnd): use std::min and std::max
4090 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * Chktex.C: include boost/format.hpp
4094 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4096 * InsetList.C: replace functor MathcIt with adaptable functor
4098 (insetIterator): modify accordingly
4100 * BranchList.h: move the BranchNamesEqual functor here from...
4101 * BranchList.C: ... to here
4103 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4105 (add): replace a finding loop with std::find_if.
4107 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4109 * output_docbook.C: moving LatexParam functionality into
4112 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4114 * buffer.C: increment format to 229.
4116 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4119 * lyx_sty.[Ch]: remove minipageindent_def
4125 * text3.C: remove LFUN_INSET_MINIPAGE
4127 2003-12-28 Angus Leeming <leeming@lyx.org>
4129 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4131 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4133 * text2.C (setParagraph): fix off-by-one crash
4135 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4137 * output_docbook.C: header stuff for AGU
4139 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4141 * text2.C (redoCursor): remove
4144 * BufferView_pimpl.C: remove calls to redoCursor and
4145 setCursor(cursor.par(), cursor.pos()) all around
4147 2003-12-15 Angus Leeming <leeming@lyx.org>
4149 * buffer.C: up the format to 228.
4151 2003-12-15 André Pönitz <poenitz@gmx.net>
4153 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4158 * BufferView_pimpl.C:
4167 2003-12-15 Angus Leeming <leeming@lyx.org>
4169 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4170 than getFromGUIName to manipulate the color.
4172 2003-12-14 Angus Leeming <leeming@lyx.org>
4174 * BranchList.[Ch]: minimize the API.
4175 (Branch::getBranch, getColor): now return a 'const &'.
4176 (Branch::setSelected) now returns a bool set to true if the
4177 selection status changes.
4178 (BranchList::clear, size, getColor, setColor, setSelected,
4179 allBranches, allSelected, separator): removed.
4180 (BranchList::find): new functions, returning the Branch with
4182 (BranchList::add, remove): return a bool indicating that
4183 the operation was successful.
4185 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4186 new InsetBranch::isBranchSlected member function.
4188 * LColor.[Ch]: mimimize the API.
4189 (fill): renamed as addColor and made private.
4190 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4191 versions of these functions taking a string arg have been removed.
4193 * bufferparams.C (readToken):
4194 * lyxfunc.C (dispatch):
4195 * lyxrc.C (read): changes due to the altered BranchList and
4198 * factory.C (createInset, readInset): changes due to altered
4201 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4204 * lyxfunc.C: remove insetminipage. "minipage-insert"
4205 now produces a frameless minipage box inset.
4207 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4209 * textcursor.[Ch] (selStart,selEnd): add new methods
4210 remove selection::start, end, use LyXCursor::operator<
4211 * lyxcursor.[Ch] (operator<): add
4212 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4213 * BufferView.[Ch] (unsetXSel): add
4214 * text2.C (clearSelection): use unsetXSel,adjust
4217 * rowpainter.C: adjust
4218 * bufferview_funcs.C (put_selection_at): adjust
4220 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4222 * BufferView_pimpl.C: small coord. correction
4224 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4226 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4227 dragging over the splash screen.
4229 2003-12-11 Angus Leeming <leeming@lyx.org>
4231 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4232 as it is now handled in LyXText::dispatch.
4234 * text3.C (doInsertInset): remove a level of nesting.
4236 2003-12-11 Angus Leeming <leeming@lyx.org>
4238 * factory.C (createInset): changes due to the changed interface to
4239 InsetCommandMailer::string2params.
4241 2003-12-10 Angus Leeming <leeming@lyx.org>
4243 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4244 'dialog-show-new-inset <inset name>'
4246 2003-12-10 Angus Leeming <leeming@lyx.org>
4248 * buffer.C: up the format to 227.
4250 * factory.C: the box inset is now identified simply by 'Box'.
4252 2003-12-10 Angus Leeming <leeming@lyx.org>
4254 * buffer.C: up the format to 226.
4256 * factory.C: the note inset is now identified simply by 'Note'.
4258 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4260 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4261 when a pit is enough. Standarize a couple of loops.
4263 2003-12-05 Angus Leeming <leeming@lyx.org>
4265 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4266 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4267 data to the re-worked "log" dialog.
4269 2003-12-03 André Pönitz <poenitz@gmx.net>
4275 * paragraph_funcs.C:
4277 * text2.C: use Inset::getText instead of Inset::getParagraph
4279 2003-12-03 André Pönitz <poenitz@gmx.net>
4283 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4284 InsetText::read() as LyXText::read()
4286 2003-12-02 Angus Leeming <leeming@lyx.org>
4288 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4289 type. Add a comment in the implementation that the function uses
4290 the stream's bad() function rather than fail() as the std::streams
4293 2003-12-02 André Pönitz <poenitz@gmx.net>
4295 * lyxlex.[Ch]: make interface more similar to std::stream
4297 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4299 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4301 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4303 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4305 * vspace.[Ch]: remove VSpace::NONE
4307 2003-12-01 André Pönitz <poenitz@gmx.net>
4310 * lyxtext.h: move ParagraphList member to LyXText
4311 rename LyXText::ownerParagraphs to LyXText::paragraph
4314 * bufferview_funcs.C:
4324 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4326 * undo.C: fix cursor positioning
4328 2003-12-01 John Levon <levon@movementarian.org>
4330 * BufferView_pimpl.C: fix a crash on exit with
4333 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4335 * BranchList.C: fix setSelected() method.
4337 2003-11-28 André Pönitz <poenitz@gmx.net>
4339 * ParagraphParameters.[Ch]:
4340 * ParameterStruct.h: remove space above/below from Paragraph to
4343 * BufferView_pimpl.C:
4349 * paragraph_funcs.C:
4355 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4357 * factory.C: Syntax change for CharStyles
4359 2003-11-28 André Pönitz <poenitz@gmx.net>
4364 * buffer.[Ch]: move LyXText member
4366 2003-11-28 André Pönitz <poenitz@gmx.net>
4368 * BufferView.[Ch]: make LyXText * text a private member
4370 * BufferView_pimpl.C:
4381 * output_plaintext.C: cleanup
4383 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4386 * lyxtextclass.[Ch]: parametrize SGML document header
4388 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4391 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4394 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4396 * text2.C (setFont): rework using PosIterator (no more recursive)
4397 (setCharFont): no more needed
4398 (setLayout): no more selection cursors fiddling (done by redoCursor)
4399 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4400 destroy remaining ones)
4402 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4404 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4406 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4409 * text3.C: adjust + re-allow multi par depth changes
4410 * textcursor.C: simplify a bit
4412 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4418 * src/output_docbook.C:
4419 * src/output_latex.C:
4424 * src/text2.C: Introducing a number of tags parametrizing various
4425 XML formats that we may want to support
4427 2003-11-25 André Pönitz <poenitz@gmx.net>
4429 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4431 * lyxtext.h (leftMargin/rightMargin): simplify interface
4438 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4440 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4441 master file to any child files. Fixes bug 546.
4443 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4445 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4447 2003-11-24 André Pönitz <poenitz@gmx.net>
4449 * rowpainter.C: simplification
4451 * text2.C (updateCounters): remove call to redoParagraph on
4452 changed labels as this is far too expensive.
4454 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4456 * converter.C (convert): fix a crash: this function gets
4457 called with buffer == 0 from importer code.
4459 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4461 * text3.C (cursorPrevious): make sure that we do not compare
4462 iterators form different containers.
4465 * rowpainter.C (paintSelection): make sure that we do not compare
4466 iterators from different containers.
4468 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4469 iterators from different ParagraphList containers.
4472 * text2.C (LyXText): change order of initialization slightly
4473 (operator=): new function. copy all variables except cache_par_
4474 (moveUp): make sure that we do not compare iterators from
4475 different ParagraphList constainers.
4478 * text.C (firstPar): new function
4479 (lastPar): new function
4480 (endPar): new function
4482 * lyxtext.h: move things around and group public functions, public
4483 variables, private functions, private variables
4485 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4487 * factory.C: change call to InsetERT constructor to avoid
4488 additional invocation of method status
4489 * text2.C (toggleInset): remove redundant update() call
4490 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4491 instead of a Bufferview pointer
4493 2003-11-21 André Pönitz <poenitz@gmx.net>
4495 * rowpainter.C: simplification
4497 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4499 * text3.C (dispatch): make possible to extend a word/row selection
4502 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4504 * lyxtext.h: x0_,y0_ -> xo_,yo_
4505 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4506 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4507 * rowpainter.C (paintRows): paint full paragraphs
4509 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4511 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4514 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4516 * lyxtext.h: add x0_, y0_
4517 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4518 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4520 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4522 * text2.C (setCursorIntern): move the x_target update here *
4523 * text3.C: change some bv() to true/false in calls to
4524 cursorUp/Down/Right/Left
4525 * cursor.C: use helper function.
4527 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4529 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4530 * paragraph_funcs.[Ch]: correct comment
4531 * rowpainter.C: do not paint selections away from bv->cursor()
4532 Fix a long standing selection painting bug.
4533 * text3.C: generalize mouse-selection code to LyXTexts other that
4535 * textcursor.C: do not use y coords if we can use par offsets
4537 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4539 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4540 cursor position after e.g. inset insert)
4542 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4544 * lyxfind.C (replace): adjust to locking removal + some
4547 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4549 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4552 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4555 * output_docbook.C: XML sanitation: new layout
4556 parameters InnerTag and CommandDepth
4558 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4560 * BufferView_pimpl.C:
4562 * text3.C: Fix the insertion and modification of button-style
4565 2003-11-13 André Pönitz <poenitz@gmx.net>
4567 * InsetList.[Ch]: remove deleteLyXText
4569 * paragraph.[Ch]: cache beginOfBody position
4574 * text3.C: remove superfluous update() calls
4578 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4580 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4581 * BufferView.C (fitLockedInsetCursor): remove
4582 * cursor.[Ch] (getDim): add
4583 * text.C (getRowNearY): add faster version
4584 * text3.C: remove some update calls
4586 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4598 * text3.C: The Character Style /XML short element patch.
4600 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4603 * factory.C: Small step to solving 'unable to insert some insets'
4606 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4608 * cursor.[Ch] (updatePos): new function for updating the y
4609 position of the tip inset
4610 * bufferview_funcs.C (put_selection_at):
4611 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4613 2003-11-11 André Pönitz <poenitz@gmx.net>
4615 * text.C: remove big comment on invalid Paragraph pointers as it is
4618 2003-11-11 André Pönitz <poenitz@gmx.net>
4620 * text_funcs.[Ch]: merge with ...
4628 * Makefile.am: remove text_funcs.[Ch]
4630 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4632 * cursor.C (getPos): return absolute cached y coord
4634 * BufferView_pimpl.C (fitCursor): new simplistic code
4635 (workAreaDispatch): add a fitCursor call
4637 2003-11-10 André Pönitz <poenitz@gmx.net>
4640 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4642 2003-11-10 André Pönitz <poenitz@gmx.net>
4644 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4645 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4646 indicate that the cursor needs to leave an inset
4648 * lyxtext.h: remove inset locking
4650 * cursor.[Ch]: re-implement functionality provided by inset locking
4653 * BufferView_pimpl.[Ch]:
4655 * bufferview_funcs.[Ch]:
4667 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4669 * PosIterator.[Ch]: replace the stack with a vector, add inset
4671 * iterators.[C]: adjust
4673 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4675 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4677 * paragraph_funcs.C (readParToken): put the correct id in the
4678 error item, not the id of the top paragraph
4680 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4682 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4683 * bufferview_funcs.C (put_selection_at): use the above
4685 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4687 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4689 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4691 * output_linuxdoc.h:
4692 * output_plaintext.h:
4694 * output_docbook.h: add #include statements
4696 2003-11-05 José Matos <jamatos@lyx.org>
4698 * output_docbook.[Ch]:
4699 * output_latex.[Ch]:
4700 * output_linuxdoc.[Ch]:
4701 * output_plaintext.[Ch]: New files for output formats.
4702 * output.[Ch]: New file for helper functions.
4705 * paragraph_funcs.[Ch]: output functions moved to new files.
4707 * outputparams.h: rename of latexrunparams.h
4715 * paragraph_funcs.[Ch]:
4716 * paragraph_pimpl.[Ch]:
4717 * tabular.[Ch]: rename ascii to plaintext
4718 and LatexRunParams to OutputParams.
4720 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4722 * iterators.[Ch] (text): require bv argument
4723 * undo.C (recordUndo):
4724 * lyxfunc.C (dispatch):
4725 * bufferview_funcs.C (put_selection_at): adjust
4727 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4729 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4731 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4733 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4736 2003-11-04 André Pönitz <poenitz@gmx.net>
4738 * cursor.[Ch]: restructure
4741 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4743 * iterators.[Ch] (asCursor): remove
4745 * lfuns.h: remove LFUN_INSET_EDIT
4751 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4753 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4755 * lyxfind.[Ch]: complete overhaul
4756 * BufferView_pimpl.C:
4758 * paragraph.[Ch] (insert): add
4760 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4764 * text.C: remove dead spellcheck code
4766 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4768 * dispatchresult.h: add a val setter
4770 * cursor.C (dispatch): use a tempvar for data_[i]
4772 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4774 * PosIterator.[Ch]: compile fix
4776 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4778 * text.C (cursorPar): deactivate the cursor cache
4780 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4782 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4784 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4786 * text3.C (dispatch): adjust for new DisptchResult semantics.
4788 * lyxfunc.C (dispatch): handle update when return from
4789 Cursor::dispatch, adjust for new DispatchResult semantics.
4791 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4792 DispatchResult(true) mean to not update. Add class functions for
4793 setting dispatched and update, as well as reading.
4795 * cursor.C (dispatch): don't handle update here
4797 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4799 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4800 * trans_mgr.C: adjust
4802 * paragraph_funcs.C (readParToken): exception safety
4804 * lyxvc.h: store the vcs pointer in a scoped_ptr
4807 * lyxsocket.C (serverCallback): exception safety
4809 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4811 * ispell.C (clone): make it return a auto_ptr
4813 * factory.C (createInset): exception safety
4814 (readInset): exception safety
4816 * bufferlist.C (newBuffer): exception safety
4818 * Thesaurus.C (Thesaurus): use initialization for aik_
4820 * MenuBackend.C (expandToc): exception safety.
4822 2003-11-03 André Pönitz <poenitz@gmx.net>
4826 * bufferview_funcs.C: remove getInsetFromId()
4829 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4835 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4837 * PosIterator.C (distance, advance): new
4838 * bufferview_funcs.[Ch] (put_selection_at): new
4839 * iterators.[Ch] (lockPath): new
4841 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4843 * iterators.[Ch] (asPosIterator): added
4844 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4845 * PosIterator.[Ch]: added
4847 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4851 * cursor.C (dispatch):
4852 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4854 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4855 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4856 contructor, add a class function dispatched. Remove operator>=
4858 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4860 * debug.C: only use the default constructor for debugstream
4863 * main.C (main): include debug.h and setup the lyxerr streambuf
4866 2003-10-31 José Matos <jamatos@lyx.org>
4868 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4870 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4871 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4872 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4873 * paragraph_pimpl.C (simpleTeXSpecialC):
4874 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4875 add LatexRunParams argument.
4877 * exporter.C (Export): change call accordingly.
4879 * latexrunparams.h: add new member to take care of the other backends.
4880 2003-10-30 José Matos <jamatos@lyx.org>
4882 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4883 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4884 factorise code for paragraph output.
4886 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4889 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4891 * text3.C (dispatch):
4892 * lyxfunc.C (dispatch):
4893 * cursor.C (dispatch):
4894 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4896 * dispatchresult.h: make the dispatch_result_t ctor explicit
4898 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4901 * buffer.C: small refactoring of docbook stuff
4903 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4905 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4908 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4910 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4911 operator dispatch_result_t, and operators for == != and >=
4913 * cursor.C (dispatch): adjust for operator dispatch_result_t
4914 removal. comment out call to update
4916 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4918 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4929 * dispatchresult.h: new file, DispatchResult broken out of
4932 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4934 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4936 * text.C (rowBreakPoint): put a hack inside #if 0
4938 2003-10-28 André Pönitz <poenitz@gmx.net>
4942 * paragraph_funcs.C:
4945 * text2.C: general cleanup (lots of small stuff)
4947 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4949 * text2.C (cursorEnd): simple fix to the "end key goes to one
4950 before the end on last row" bug
4952 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4954 * text.C (backspace): fix the "zombie characters"
4956 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4958 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4960 2003-10-27 André Pönitz <poenitz@gmx.net>
4962 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4964 * factory.C: handle new InsetPagebreak, InsetLine
4966 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4967 and move handling into new InsetPagebreak, InsetLine
4969 * BufferView_pimpl.C:
4971 * ParagraphParameters.C:
4972 * ParameterStruct.h:
4977 * paragraph_funcs.C:
4978 * paragraph_pimpl.C:
4984 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4987 * lyxrow_funcs.[Ch]:
4993 * text3.C: remove lastPos uses in favour of Row::endpos
4995 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4997 * undo.C (performUndoOrRedo): fix two crashes by setting a
4998 cursor by hand and reordering some calls. Use bv->lockInset instead
4999 of inset->edit because the latter loses cursor information
5001 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5003 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5005 (rowBreakPoint): fix width. change point to point + 1.
5006 Add a missing check.
5008 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5011 * lyxfunc.C: fix (at least partly) the problems
5012 with the Nav menu and headers inside branch insets
5015 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5017 * paragraph.C (getChar): add strong asserts
5019 * lyxrow_funcs.C (lastPos): remove hideous hack
5021 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5022 (fill): adjust to that (avoid an infinite loop)
5024 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5026 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5028 2003-10-23 André Pönitz <poenitz@gmx.net>
5030 * RowList_fwd.h: change list<> to vector<> to gain speed
5031 after suggestion from Alfredo
5033 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5035 * lyxtext.h: move the bidi stuff from here...
5038 * Bidi.[Ch]: ... to here
5040 2003-10-23 André Pönitz <poenitz@gmx.net>
5043 * text.C (isLastRow, isFirstRow): new functions
5045 * paragraph.h: new width cache member
5047 * rowpainter.C: replace RowList::iterator with Row & where possible
5049 * lyxfunc.C: replace several view()->text with a single call
5051 * toc.C: fix 'unused' warning
5053 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5055 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5056 when woring with stream::pos_type
5057 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5059 2003-10-22 André Pönitz <poenitz@gmx.net>
5062 * text.C: use Row & instead of RowList::iterator
5064 * lyxrow.h: rename end() to endpos()
5070 2003-10-22 Angus Leeming <leeming@lyx.org>
5072 * buffer.[Ch] (fully_loaded): new member function, returning true
5073 only when the file has been loaded fully.
5074 Used to prevent the premature generation of previews and by the
5075 citation inset to prevent computation of the natbib-style label.
5077 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5078 templates are all set up.
5080 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5082 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5084 * text.C: fixed an "oops" in the "is a bit silly"
5087 2003-10-21 André Pönitz <poenitz@gmx.net>
5089 * FuncStatus.[Ch]: small stuff, whitespace
5091 * lyxfont.[Ch]: operator<<() for debug reasons
5095 * lyxtext.h: whitespace, spelling
5097 * paragraph.C: naming of variables
5100 * text2.C: small stuff
5103 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5105 * text.C: (1) finish off the inset display() work;
5106 (2) fix the "is a bit silly" bug (accessing char
5109 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5111 * text.C: re-introduce display() for insets, fixing the
5112 various bugs (stretch of line above, math inset
5115 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5117 * text.C (rightMargin): remove spurious semicolon
5119 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5122 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5124 * text3.C: fix one crash due to wrong cursor def
5126 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5128 * vc-backend.C (scanMaster): make the regex static
5130 * LaTeX.C (scanAuxFile): make the regexs static
5132 * text3.C (doInsertInset, dispatch, dispatch):
5133 * text2.C (cursorUp, cursorDown):
5134 * text.C (selectNextWordToSpellcheck):
5135 * BufferView_pimpl.C (dispatch):
5136 * lyxfunc.C (dispatch): localDispatch -> dispatch
5138 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5140 * lyxsocket.C: include <cerrno>
5142 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5144 * lyxfunc.C (dispatch): remove textcache stuff
5146 * bufferlist.C (release): remove textcache stuff
5149 * TextCache.C: delete file
5150 * TextCache.h: delete file
5152 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5154 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5155 delete of the bv_->text.
5156 (resizeCurrentBuffer): remove texcache stuff
5157 (workAreaResize): ditto
5159 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5161 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5164 2003-10-16 André Pönitz <poenitz@gmx.net>
5171 * text3.C: speed up by storing y positions per paragraph plus per-row
5172 offset instead of having a 'full' y position in the row.
5174 2003-10-15 André Pönitz <poenitz@gmx.net>
5178 * undo.[Ch]: make undo aware of inner insets
5180 2003-10-14 Angus Leeming <leeming@lyx.org>
5182 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5183 static member functions LyX::ref() and LyX::cref.
5184 (lastfiles): new accessor functions for the new lastfiles_ member var.
5185 (addLyXView, views_): add a new LyXView to the list of views_.
5186 (updateInset): loop over all LyXViews to call their own updateInset
5187 member function, returning a pointer to the Buffer owning the inset.
5189 * BufferView_pimpl.C (loadLyXFile):
5190 * MenuBackend.C (expandLastfiles):
5191 * bufferlist.C (MenuWrite, QuitLyX):
5192 lastfiles is no longer a global variable.
5193 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5195 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5196 static function. Access through LyX::cref().emergencyCleanup().
5198 2003-10-14 André Pönitz <poenitz@gmx.net>
5200 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5202 * undo.[Ch]: restoring part of 'undo in insets'
5205 * undo_funcs.[Ch]: merge with undo.[Ch]
5207 * tabular.C: small cleansing stuff
5209 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5211 * paragraph_funcs.C (readParToken): report unknown insets as error
5212 boxes. Use the outer paragraph as location (also for unknown
5215 * factory.C (readInset): do not abort on reading an unknown inset.
5216 Eat it and return 0.
5218 2003-10-13 Angus Leeming <leeming@lyx.org>
5220 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5222 * lyxrc.C: displayTranslator is now a function,
5223 declared in GraphicsTypes.h.
5225 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5227 * format.C: new placeholder $$a to pass the socket address.
5229 * bufferlist.[Ch]: new function getBufferFromTmp.
5231 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5232 files in the temporary dir.
5234 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5236 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5238 * Makefile.am: add lyxsocket.[Ch].
5240 * lyx_main.C (error_handler): handle SIGPIPE.
5242 2003-10-13 André Pönitz <poenitz@gmx.net>
5244 * BufferView_pimpl.C:
5249 * undo_funcs.[Ch]: use paroffset_type instead of
5250 ParagraphList::iterators to prevent multiple conversion
5251 (and get a more robust interface)
5253 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5255 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5257 * text3.C (dispatch): ditto
5259 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5261 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5262 move the onlyfile, use onlyfile instead of foundfile in a couple
5265 * DepTable.C (update): flush the error stream a bit more
5267 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5269 * lyxserver.C (callback): adjust
5271 * lyxfunc.C (getStatus): add a missing brace in commented code
5272 (ensureBufferClean): reindent
5273 (dispatch): delete version taking a string
5275 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * LaTeX.C (deplog): move found file handlig from here...
5278 (handleFoundFile): .. to new function here.
5279 (deplog): make sure to discover several files mentioned on the
5282 2003-10-10 André Pönitz <poenitz@gmx.net>
5289 * text3.C: fix some of the tabular crashes
5291 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5293 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5295 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5297 2003-10-09 André Pönitz <poenitz@gmx.net>
5299 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5302 * BufferView_pimpl.C:
5303 * bufferview_funcs.C:
5314 * undo_funcs.C: adjust
5316 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * text2.C (incrementItemDepth): new function, use a backtracking
5319 algorithm to discover the correct item depth.
5320 (resetEnumCounterIfNeeded): new function, use a backtracking
5321 algorithm to discover if counter reset is needed.
5322 (setCounter): use them. Simplify a bit. Add different labels for
5323 different item depths for itemize.
5325 * paragraph.C (Paragraph): remove initialization of enumdepth
5328 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5329 enumerate and itemize. Change the type of itemdepth to signed char.
5331 2003-10-08 André Pönitz <poenitz@gmx.net>
5333 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5338 * tabular.[Ch]: fix crash after 'row-insert'
5340 2003-10-08 Angus Leeming <leeming@lyx.org>
5342 Fix doxygen warnings.
5344 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5345 Remove CutAndPaste:: prefix from header file declaration.
5347 * LColor.h (fill): remove LColor:: prefix from declaration.
5349 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5350 use lyx::depth_type rather than Paragraph::depth_type so that
5351 header file and .C file match.
5353 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5355 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5356 * aspell.C: \file aspell_local.C -> \file aspell.C
5357 * gettext.C: \file gettext.C -> \file src/gettext.C
5358 * gettext.h: \file gettext.h -> \file src/gettext.h
5359 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5360 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5361 * text.C: \file text.C -> \file src/text.C
5363 * toc.C: move comment so that doxygen is not confused.
5365 2003-10-07 Angus Leeming <leeming@lyx.org>
5367 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5369 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5372 * aspell_local.h: add forgotten std::string's.
5374 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5381 * text3.C: The Box patch. Fancybox support, minipage, parbox
5383 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5389 * ParagraphParameters.h:
5399 * lyxtextclasslist.h:
5402 * paragraph_pimpl.C:
5403 * textcursor.h: add <string> and other small fixes to make Lars'
5404 std::string patch compile with STLport.
5406 2003-10-06 Angus Leeming <leeming@lyx.org>
5408 * LColor.h: Add missing #include <string>.
5410 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5412 * All most all file in all subdirs: Make <string> be the prefered
5413 way of getting to std::string, add using declarations.
5415 2003-10-06 André Pönitz <poenitz@gmx.net>
5417 * metricsinfo.C: initialize LyXFont before changing attribute.
5418 (fixes the 'math in \emph is upright' bug)
5420 2003-10-06 André Pönitz <poenitz@gmx.net>
5422 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5424 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5427 * paragraph_pimpl.C: Small fixes to build using STLport
5429 2003-10-02 André Pönitz <poenitz@gmx.net>
5432 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5434 2003-10-01 André Pönitz <poenitz@gmx.net>
5436 * factory.C: assert early
5438 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * lyx_main.C: remove the global debug object
5442 * debug.h: adjust for new debugstream
5444 * debug.C: adjust for new debugstream and keep the global debug
5447 2003-09-22 Angus Leeming <leeming@lyx.org>
5449 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5450 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5451 an incomplete class LyXFont.
5453 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5455 * factory.C: bug fix in branches
5457 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * lyxfunc.C (processKeySym): adjust
5461 (dispatch): change arg name from ev to func, adjust
5462 (sendDispatchMessage): ditto
5464 * lyx_main.C (defaultKeyBindings): adjust keybindings
5465 (deadKeyBindings): ditto
5467 * kbsequence.C (addkey): return a FuncRequest
5469 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5471 * kbmap.C (bind): take a FuncRequest as arg, adjust
5474 (defkey): change to take a FuncRequest as arg, adjust
5475 (findbinding): take a FuncRequest as arg, adjust.
5477 * funcrequest.h (operator=): added
5479 * funcrequest.C (FuncRequest): default kb_action changed from
5480 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5482 * buffer.C (dispatch): simplify
5483 (dispatch): adjust to take a FuncRequest as arg, adjust
5485 * boost.C (assertion_failed): change assertion message slightly
5487 * ToolbarBackend.C (read): simplify
5489 * MenuBackend.C (binding): adjust call to findbinding, add a
5490 message if no binding is found.
5492 (expandToc): correct by adding a empty FuncRequest
5494 * LyXAction.C: include <boost/assert.hpp>
5495 (isPseudoAction): delete function
5496 (LookupFunc): change name to...
5497 (lookupFunc): this. change return type to FuncRequest.
5498 (getActionName): take kb_action as arg, simplify
5499 (funcHasFlag): add an assert, simplify.
5501 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5503 * toc.C (action): return a FuncRequest, simplify
5505 * lyxfunc.C (processKeySym): adjust
5506 (getStatus): delete version that takes an int.
5508 (dispatch): delete version that takes action as int
5510 (sendDispatchMessage): simplify and adjust
5512 * funcrequest.C (getArg): take unsigned int as arg
5514 * ToolbarBackend.C (read): adjust
5515 (add): delete version that takes func as a string.
5516 (getIton): take a FuncRequest as arg
5518 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5521 * MenuBackend.C (MenuItem): add a new construct that only takes a
5522 Kind, simplify the constructor use for submenus.
5524 (expandLastfiles): adjust
5525 (expandDocuments): adjust
5526 (expandFormats): adjust
5527 (expandFloatListInsert): adjust
5528 (expandFloatInsert): adjust
5529 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5531 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5532 Remove class variables lyx_pseudo_map and lyx_arg_map
5534 * LyXAction.C (searchActionArg): delete function
5535 (getPseudoAction): delete function
5536 (retrieveActionArg): delete function
5537 (LookupFunc): make it return kb_action, simplify.
5538 (getActionName): simplify
5540 * factory.C (createInset): fix new bug
5542 2003-09-19 Angus Leeming <leeming@lyx.org>
5544 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5545 masterFilename_ parameter in the include inset.
5547 * factory.C (createInset): changes due to the changes to InsetInclude.
5549 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5551 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5553 2003-09-18 Angus Leeming <leeming@lyx.org>
5556 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5557 Inset::fillWithBibKeys.
5558 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5560 2003-09-18 Angus Leeming <leeming@lyx.org>
5562 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5564 (ctor): pass and store a 'Buffer const &'
5565 (buffer): new member function.
5567 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5568 '*this' to the LaTeXFeatures ctor.
5570 2003-09-18 Angus Leeming <leeming@lyx.org>
5576 * text.C: rename EnumLColor as LColor_color.
5578 2003-09-18 Angus Leeming <leeming@lyx.org>
5580 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5581 remove #include "insets/insetbase.h" from cursor.h.
5583 2003-09-18 Angus Leeming <leeming@lyx.org>
5585 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5586 InsetOld_code to remove #include "inset.h".
5588 * iterators.C: add #include "insets/inset.h"
5590 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5592 * BufferView.C: remove more locking stuff that apparently doesn't
5593 do anything sensible.
5595 2003-09-16 André Pönitz <poenitz@gmx.net>
5598 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5601 2003-09-16 Angus Leeming <leeming@lyx.org>
5603 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5605 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5608 * paragraph.h: remove #include "lyxfont.h". Forward declare
5611 2003-09-16 Angus Leeming <leeming@lyx.org>
5613 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5614 of support/textutils.h.
5615 (isWord): move the contents of support/textutils.h's IsWordChar here.
5621 * text2.C: add #include "paragraph.h".
5624 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5626 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * LaTeX.C: use namespace alias for lyx::support::os
5634 2003-09-16 Angus Leeming <leeming@lyx.org>
5637 * bufferview_funcs.C:
5640 * paragraph_pimpl.C:
5642 * text.C: add #include "LColor.h".
5644 2003-09-16 Angus Leeming <leeming@lyx.org>
5646 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5647 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5649 Store the FontBits::color variable as an int rather than as an
5650 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5653 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5654 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5655 string calls together.
5657 * lyxrc.C: add #include "LColor.h".
5659 2003-09-15 Angus Leeming <leeming@lyx.org>
5661 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5664 2003-09-15 Angus Leeming <leeming@lyx.org>
5666 * LColor.h: add an EnumLColor wrapper for LColor::color.
5668 * lyxfont.[Ch] (color, setColor, realColor):
5669 * lyxtext.h, text.C (backgroundColor):
5670 pass EnumLColor args to/from the functions, rather than LColor::color
5674 * lyxtext.h: forward declare EnumLColor.
5676 * lyx_main.C: add #include "LColor.h".
5678 2003-09-15 Angus Leeming <leeming@lyx.org>
5680 * .cvsignore: add lyx-gtk.
5682 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5687 * ParagraphParameters.C
5691 * bufferview_funcs.C
5701 * vc-backend.C: remove usage of STRCONV
5703 2003-09-15 Angus Leeming <leeming@lyx.org>
5705 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5706 explicitly define the color passed to the painter.
5708 2003-09-15 Angus Leeming <leeming@lyx.org>
5710 * bufferparams.C (BufferParams): reorder member initializers to avoid
5713 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5715 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5716 * text.C (updateRowPositions): remove an unusual nop
5718 2003-09-12 André Pönitz <poenitz@gmx.net>
5720 * BufferView_pimpl.C:
5729 * Counters.[Ch]: finish the 'automatic counters' job
5731 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5733 * aspell.C: include <boost/assert.cpp> (compile fix)
5735 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5737 * boost.C (assertion_failed): use lyx::support::abort instead of
5740 2003-09-10 Angus Leeming <leeming@lyx.org>
5742 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5743 with their _fwd progeny.
5745 2003-09-09 Angus Leeming <leeming@lyx.org>
5747 134 files throughtout the source tree: replace 'using namespace abc;'
5748 directives with the appropriate 'using abc::xyz;' declarations.
5750 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5752 * boost.C (emergencyCleanup): moved here from LAssert.c
5753 (assertion_failed): new function, called by BOOST_ASSERT
5755 * several files: change Assert to BOOST_ASSERT
5757 2003-09-09 Angus Leeming <leeming@lyx.org>
5759 * buffer.[Ch]: Add an Impl class and move Buffer's member
5760 variables into it. As a result move several header files out of
5763 Add header files to lots of .C files all over the tree as a result.
5765 2003-09-09 Angus Leeming <leeming@lyx.org>
5767 * buffer.[Ch]: make Buffer's member variables private. Add
5770 Lots of changes all over the tree as a result.
5772 2003-09-08 Angus Leeming <leeming@lyx.org>
5774 * graph.C: #include <config.h>.
5776 2003-09-08 Angus Leeming <leeming@lyx.org>
5780 * BufferView_pimpl.C:
5809 * toc.C: remove redundant using directives.
5811 2003-09-07 Angus Leeming <leeming@lyx.org>
5813 * LaTeXFeatures.h: remove #include "support/types.h".
5814 * ToolbarBackend.h: remove #include <algorithm>.
5815 * changes.h: remove #include <ctime>.
5816 * debug.h: remove #include <iosfwd>.
5817 * graph.h: remove #include "support/std_string.h".
5818 * lyx_main.h: remove #include <csignal>.
5819 * lyxlex_pimpl.h: remove #include <fstream>.
5820 * sgml.h: remove #include <algorithm>, <utility>.
5821 * toc.h: remove #include "support/std_ostream.h".
5822 Add #include <iosfwd>.
5824 2003-09-07 Angus Leeming <leeming@lyx.org>
5826 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5828 * converter.h: forward declare LatexRunParams.
5829 * encoding.h: remove #include "lyxrc.h".
5830 * lyxtext.h: remove #include "LColor.h".
5831 * lyxtextclass.h: remove #include "support/types.h".
5832 * trans.h: remove #include "tex-accent.h".
5833 * trans_mgr.h: remove #include "tex-accent.h".
5834 * insets/inset.h: remove #include "support/types.h", <vector>.
5835 * insets/insetcollapsable.h: remove #include "LColor.h".
5836 * insets/insetinclude.h: remove #include "dimension.h".
5837 * insets/insetlatexaccent.h: remove #include "dimension.h".
5838 * insets/insetoptarg.h:: remove #include "insettext.h".
5839 * insets/insettext.h: remove #include "dimension.h",
5840 <boost/shared_ptr.hpp>
5842 * insets/renderers.h: add #include "dimension.h".
5843 * insets/updatableinset.h: add #include "support/types.h".
5845 * many .C files: Associated changes.
5847 2003-09-06 Angus Leeming <leeming@lyx.org>
5849 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5850 one, inside testInvariant.
5852 * PrinterParams.C: new file.
5853 * PrinterParams.[Ch]: move the function bodies out of line.
5855 2003-09-06 Angus Leeming <leeming@lyx.org>
5857 * ParagraphParameters.h: forward declare ParameterStruct rather than
5858 including its header file.
5859 (depth): moved out-of-line.
5861 2003-09-06 Angus Leeming <leeming@lyx.org>
5863 * BufferView_pimpl.h:
5866 * lyxfunc.h: forward declare LyXKeySym rather than
5867 #include "frontends/LyXKeySym.h".
5869 * BufferView_pimpl.C:
5872 * lyxfunc.C: associated changes.
5874 2003-09-06 Angus Leeming <leeming@lyx.org>
5876 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5877 As a result, can remove the #include "insets/inset.h" from BufferView.h
5879 2003-09-06 Angus Leeming <leeming@lyx.org>
5881 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5882 As a result, can remove the #include "insets/inset.h" from BufferView.h
5884 2003-09-06 Angus Leeming <leeming@lyx.org>
5890 * bufferview_funcs.C:
5891 * BufferView_pimpl.C:
5896 * ParagraphParameters.C:
5901 * frontends/controllers/ControlDocument.C:
5902 * insets/insetcaption.C: rearrange the #includes into some sort of
5905 * buffer.h: remove #includes ErrorList.h, undo.h
5907 2003-09-06 Angus Leeming <leeming@lyx.org>
5909 * support/types.h: add a 'depth_type' typedef, used to store the
5910 nesting depth of a paragraph.
5913 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5914 defining explicitly.
5917 * paragraph_funcs.h:
5918 * ParagraphParameters.h:
5919 * sgml.h: use lyx::depth_type rather than Paragraph or
5920 ParameterStruct's depth_type.
5923 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5926 * BufferView_pimpl.C:
5928 * ParagraphParameters.C:
5931 * bufferview_funcs.C:
5938 * frontends/LyXView.C:
5939 * frontends/controllers/ControlDocument.C:
5940 * frontends/controllers/ControlErrorList.C:
5941 * insets/insetbibitem.C:
5942 * insets/insetbranch.C:
5943 * insets/insetcaption.C:
5944 * insets/insetcollapsable.C:
5945 * insets/insetenv.C:
5946 * insets/insetert.C:
5947 * insets/insetfloat.C:
5948 * insets/insetfoot.C:
5949 * insets/insetfootlike.C:
5950 * insets/insetnewline.C:
5951 * insets/insetquotes.C:
5952 * insets/insettabular.C:
5953 * insets/insettext.C:
5954 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5956 * frontends/controllers/ControlChanges.C: #include "changes.h".
5958 2003-09-06 Angus Leeming <leeming@lyx.org>
5960 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5961 than #including paragraph.h.
5964 * RowList.h: deleted. Superfluous.
5974 * insets/insettext.h: use ParagraphList_fwd.h rather than
5977 * paragraph.h: don't forward declare ParagraphList.
5980 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5981 rather than ParagraphList.h. paragraph.h is still needed for the
5982 Paragraph::depth_type parameters.
5984 * textcursor.h: enable it to compile stand-alone in light of the
5987 * bufferview_funcs.C:
5999 * frontends/controllers/ControlParagraph.C:
6000 * frontends/controllers/ControlTabular.C:
6001 * insets/insetmarginal.C:
6002 * insets/insetminipage.C:
6003 * insets/insetnote.C:
6004 * insets/insetoptarg.C: add header files needed to compile again.
6006 2003-09-06 Angus Leeming <leeming@lyx.org>
6008 * RowList_fwd.h: new file, forward-declaring Row rather than
6009 #including lyxrow.h.
6014 * insets/insettext.h: use it instead of RowList.h
6016 * bufferview_funcs.C:
6023 * text3.C: #include "RowList.h".
6025 2003-09-05 Angus Leeming <leeming@lyx.org>
6027 * factory.C (createInset):
6028 * vspace.C (c-tor): replace sscanf call with an istringstream.
6029 * ispell.C: re-add missing HP/UX headers.
6030 * lyxserver.C: re-add missing os2 headers.
6032 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6041 * text3.C: re-add missing system headers, needed for 2.95.2.
6043 2003-09-05 Angus Leeming <leeming@lyx.org>
6045 Changes most place everywhere due to the removal of using directives
6046 from support/std_sstream.h.
6048 2003-09-05 Angus Leeming <leeming@lyx.org>
6050 Replace LString.h with support/std_string.h,
6051 Lsstream.h with support/std_sstream.h,
6052 support/LIstream.h with support/std_istream.h,
6053 support/LOstream.h with support/std_ostream.h.
6055 Changes resulting throughout the tree.
6057 2003-09-05 Angus Leeming <leeming@lyx.org>
6059 * sgml.h: ensure that the header file can be compiled stand-alone.
6060 * *.C: strip out redundant #includes. (320 in total.)
6062 2003-09-04 Angus Leeming <leeming@lyx.org>
6064 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6065 here (from getPackages).
6067 * debug.[Ch]: add a new EXTERNAL tag.
6069 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6071 * text2.C (cursorEnd): simplify
6073 (getColumnNearX): adjust
6075 * text.C (computeBidiTables): adjust
6078 * rowpainter.C (paintChars): adjust
6079 (paintSelection): adjust
6080 (paintChangeBar): adjust
6083 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6085 (numberOfSeparators): adjust
6087 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6093 * text3.C: Restricts the mouse click functionality
6094 of insets like bibtex, include, toc and floatlist to the visible
6095 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6096 up the dialogs. Cursor has to be in front of the inset (i.e.
6097 start of row) for this to function.
6099 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6101 * bufferview_funcs.C (currentState): output row information
6103 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6105 * bufferview_funcs.C (currentState): output paragraph position
6107 2003-09-04 Angus Leeming <leeming@lyx.org>
6109 * FloatList.h: move out #include "Floating.h".
6110 * LaTeX.h: move out #include "DepTable.h".
6111 * LyXAction.h: move out #include "funcrequest.h".
6112 * buffer.h: move out #include "author.h", "iterators.h".
6113 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6114 * lyx_main.h: move out #include "errorlist.h".
6115 * lyxfunc.h: move out #include "FuncStatus.h".
6116 * lyxtext: move out #include "lyxcursor.h".
6117 * paragraph_pimpl.h: move out #include "counters.h".
6119 2003-09-03 Angus Leeming <leeming@lyx.org>
6121 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6122 preamble_snippets list, enabling us to add snippets to the preamble
6123 only if the snippet was not there already.
6125 2003-09-04 Angus Leeming <leeming@lyx.org>
6127 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6129 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6131 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6134 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6136 * BranchList.C: point fix, earlier forgotten
6138 2003-09-02 Angus Leeming <leeming@lyx.org>
6140 * box.C (contains): renamed from 'contained' after a fantastic
6143 2003-09-02 John Levon <levon@movementarian.org>
6149 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6151 2003-09-02 John Levon <levon@movementarian.org>
6153 * text2.C: simplification of cursorEnd(), including partial
6156 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6158 * buffer.C (readFile): add a space
6160 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6162 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6164 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * buffer.C (readFile): new function, take a filename and a
6167 ParagraphList::iterator
6169 (readFile): adjust, make it private. don't use setStream, make
6170 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6171 always contain the filename.
6173 * BufferView.C (insertLyXFile): simplify and make it work for
6176 2003-08-30 John Levon <levon@movementarian.org>
6178 * Makefile.am: fix dist (from Kayvan)
6180 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6182 * most files: change to use const Buffer refs
6184 2003-08-27 André Pönitz <poenitz@gmx.net>
6186 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6187 on top of ownerPar().
6189 2003-08-27 John Levon <levon@movementarian.org>
6191 * funcrequest.C: properly initialise POD members
6193 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6195 * lyxtext.h (top_y): move top_y from here
6200 * BufferView_pimpl.[Ch]: to here
6201 * frontends/screen.C:
6202 * insets/insettabular.C:
6203 * insets/insettext.C: adjust
6204 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6206 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6209 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6211 2003-08-26 André Pönitz <poenitz@gmx.net>
6213 * paragraph_func.[Ch] (outerPar): new function
6216 * paragraph_funcs.C:
6217 * paragraph_funcs.h:
6218 * paragraph_pimpl.C:
6219 * text2.C: remove Inset::par_owner
6221 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6226 * text2.C: eliminates the needFullRow/display() stuff
6227 altogether, putting the logic in metrics/draw in the insets.
6229 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6231 * text2.C (redoParagraphInternal, redoParagraphs):
6232 * text.C (redoParagraph): add a call to updateRowPositions at the
6233 end of each 'metrics-like' call. Remove all others.
6234 (getRow): remove the 'y-computing' version.
6235 (getRowNearY): do not compute nor return the real y. Solve the
6236 'y < 0' problem and simplify.
6238 2003-08-22 Angus Leeming <leeming@lyx.org>
6240 * *.[Ch]: clean-up of licence and author blurbs.
6241 Also move config.h out of a few .h files and into a few .C files.
6243 2003-08-22 André Pönitz <poenitz@gmx.net>
6245 * lyxrow.[Ch]: add x_ and *fill_ members
6250 * text2.C: adjust/remove prepareToPrint() calls
6252 2003-08-22 André Pönitz <poenitz@gmx.net>
6254 * lyxrow.[Ch]: add end_ member
6256 * lyxrow_funcs.C: use LyXRow::end_
6258 * lyxtext.h (singleWidth): add LyXFont parameter
6261 * text2.C: adjust LyXText::singleWidth() calls
6263 * text.C (redoParagraph): simplify row breaking logic
6266 2003-08-19 André Pönitz <poenitz@gmx.net>
6268 * funcrequest.C: initialize button_ member
6271 * rowpainter.[Ch]: interface consolidation
6273 2003-08-18 André Pönitz <poenitz@gmx.net>
6276 * BufferView_pimpl.C:
6278 * paragraph_funcs.C:
6280 * text3.C: remove LyXScreen::draw() and fitCursor calls
6282 * BranchList.h: remove spurious semicolons
6284 * MenuBackend.C: fix branchlist related crash
6286 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6294 * bufferparams.[Ch]:
6298 * text3.C: implements the 'branch inset'
6299 idea. This allows the output of various versions of a document
6300 from a single source version, selectively outputing or suppressing
6301 output of parts of the text.
6302 This implementation contains a 'branch list editor' in a separate
6303 tab of the document settings dialog. Branches are user definable
6304 and have a "display colour" to distinguish them on-screen.
6306 ColorHandler was somewhat cleaned up.
6307 (1) make possible a dynamically growing LColor list by allowing
6308 the graphic context cache to grow along (vector);
6309 (2) eliminate an IMHO unnecessary step in colour allocation.
6311 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6313 * BufferView_pimpl.C: compile fix
6315 2003-08-15 André Pönitz <poenitz@gmx.net>
6317 * rowpainter.C: remove extra metrics calls
6319 * lyxtext.h: merge the two constructors into a single one,
6320 pass reference to owner's par list
6322 * BufferView_pimpl.C:
6326 2003-08-15 André Pönitz <poenitz@gmx.net>
6328 * lyxrow_funcs.[Ch]:
6331 * paragraph_funcs.C:
6336 * text_funcs.C: split LyXText::rowlist_ into individual
6337 Paragraph::rows_ chunks
6340 * BufferView_pimpl.[Ch]:
6343 * text3.C: remove toggleSelection()
6345 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6347 * bufferlist.C: beautify two alerts (shorter text of buttons)
6348 * buffer.C: Remove redundant ' ' from message
6350 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6351 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6352 rename VALIGN_CENTER to VALIGN_MIDDLE
6354 2003-08-11 André Pönitz <poenitz@gmx.net>
6356 * lyxtext.h (getPar):
6357 * text.C: new function
6359 2003-08-11 André Pönitz <poenitz@gmx.net>
6362 * tracer.[Ch]: remove unneeded files
6364 * InsetList.[Ch]: remove resizeInsetsLyXText()
6369 * text3.C: merge insertParagraphs() and appendParagraph()
6370 remove breakAgain(), update()
6372 * BufferView_pimpl.[Ch]:
6373 * bufferview_funcs.[Ch]:
6377 * tabular.C: adjust after text & InsetList changes.
6379 2003-08-08 André Pönitz <poenitz@gmx.net>
6381 * text.C (insertChar, backspace): replace rowlist fiddling
6382 with rebreak of full par
6385 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6386 checkParagraph, updateInset): removed
6388 2003-08-07 André Pönitz <poenitz@gmx.net>
6391 * text3.C: merge some LFUN handlers, remove dead code
6393 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6395 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6397 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6399 * text2.C (DEPM): fix part of bug 1255 and 1256
6401 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6403 * BufferView_pimpl.C (workAreaDispatch): change to use
6404 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6405 that are no mouse related.
6407 2003-08-05 André Pönitz <poenitz@gmx.net>
6410 * BufferView_pimpl.[Ch]:
6411 * bufferview_funcs.C:
6413 * text3.C: rip out "deep update"
6415 * textcursor.[Ch] (last_sel_cursor): remove unused member
6417 2003-08-04 André Pönitz <poenitz@gmx.net>
6420 * BufferView_pimpl.[Ch]:
6421 * ParagraphParameters.C:
6422 * bufferview_funcs.C:
6428 * text3.C: replace "complicated" BufferView::update(...) calls with
6431 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6433 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6435 * Makefile.am (lyx_SOURCES): add paper.h
6437 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6439 * Makefile.am: move things around so that both lyx-qt and
6440 lyx-xforms can be built (according to --with-frontend). Then lyx
6441 is a symbolic link to lyx-[firstfrontend]
6443 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6445 * Always use std::endl with lyxerr
6447 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6449 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6451 2003-08-01 André Pönitz <poenitz@gmx.net>
6454 * BufferView_pimpl.[Ch]:
6456 * text3.C: merge BufferView::repaint() and BufferView::update()
6458 2003-08-01 José Matos <jamatos@lyx.org>
6460 * buffer.[Ch]: file_format is no longer a buffer data element.
6462 2003-08-01 André Pönitz <poenitz@gmx.net>
6467 * text2.C: make redoParagraph more independent of current cursor
6469 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6471 * text2.C: remove unneeded members
6473 2003-07-30 André Pönitz <poenitz@gmx.net>
6475 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6477 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6478 create a single function...
6480 * paragraph_funcs.C (moveItem): ... here.
6483 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6485 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6487 * LColor.[Ch]: Add comment and greyedout logical colors.
6489 2003-07-30 André Pönitz <poenitz@gmx.net>
6491 * tabular.C: don't use Assert too heavily. This crashes where it
6494 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6496 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6497 is disabled (bug 1232)
6499 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6501 * factory.C: limited 'arg' scope
6503 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6505 * factory.C: fixed Note submenu issues
6507 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6509 * factory.C: submenu for Note/Comment/Greyedout
6511 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6514 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6516 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6519 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6520 greyedout. Patch provided by Jürgen Spitzmüller.
6522 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6524 * kbmap.C (read): fix error message when reading bind files
6526 2003-07-29 Angus Leeming <leeming@lyx.org>
6528 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6529 certainly does not do what it purports to do. I am doing it, and
6530 us, a favour by killing it.
6532 2003-07-28 José Matos <jamatos@lyx.org>
6534 * buffer.C (readBody, do_writeFile):
6535 * paragraph.C(readParagraph): \end_document replaces \the_end.
6537 2003-07-29 André Pönitz <poenitz@gmx.net>
6540 * BufferView_pimpl.[Ch]:
6544 * textcursor.[Ch]: remove toggleToggle & Co
6546 2003-07-28 José Matos <jamatos@fep.up.pt>
6548 * buffer.C (readParagraph):
6549 * params_func (readParToken, readParagraph):
6550 * paragraph.C (write): \layout -> \begin_layout.
6552 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6554 * lyxlex_pimpl.C (setFile): clean up slightly.
6556 * bufferparams.h: add compressed var
6558 * buffer_funcs.C (readFile): adjust for LyXLex change
6559 (newFile): ditto + simplify
6561 * buffer.C (writeFile): handle writing of compressed files
6563 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6564 Check if the file is compressed and set a bufferparm if so.
6566 * Makefile.am (lyx_LDADD): remove explicit -lz
6568 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6570 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6571 makeDocBookFile): put the real LyX version in the first line of
6575 * version.C.in: remove lyx_docversion
6577 * tabular.C (write_attribute): add a template-based version to
6578 write enums properly
6580 2003-07-28 André Pönitz <poenitz@gmx.net>
6585 * text3.C: use doubles again for x-coordinates. They are needed.
6587 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6589 * messages.C (getLocaleDir): use lyx_localedir()
6591 * lyxlex_pimpl.C (setFile): compress stuff
6593 * buffer.C (writeFile): add some compression stuff
6594 (do_writeFile): new func, dont call expliti close... will this
6597 * Makefile.am (lyx_LDADD): add -lz
6599 2003-07-28 José Matos <jamatos@fep.up.pt>
6601 * buffer.C: increment file format.
6602 * paragraph_funcs (readParagraph, readParToken):
6603 * paragraph.C (readParagraph): add \end_layout.
6605 2003-07-27 Angus Leeming <leeming@lyx.org>
6607 * Makefile.am: remove special casing for configure-time setting of
6608 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6610 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6611 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6613 2003-07-26 André Pönitz <poenitz@gmx.net>
6615 * paragraph_func.[Ch]:
6616 * paragraph.C (realizeFont): inline it whereever it is used
6621 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6624 2003-07-26 André Pönitz <poenitz@gmx.net>
6628 * text2.C: get rid of LyXText::need_break_row
6630 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * toc.[Ch]: put namespace toc inside namespace lyx
6634 * MenuBackend.C (expandToc2): adjust for lyx::toc
6637 * lyxfunc.C (dispatch): adjust for lyx::find
6639 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6640 lyx::find instead. Reorganize a bit.
6641 (LyXReplace): rename to replace
6642 (LyXFind): rename to find
6644 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6647 2003-07-26 André Pönitz <poenitz@gmx.net>
6649 * text.C (setHeightOfRow): restrict scope of temporary variable
6651 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6652 code (never has been used?)
6654 2003-07-27 Asger Alstrup <alstrup@local>
6656 * text.C (fill): Optimise algorithm to exploit that we can reuse
6657 the LyXFont for many characters.
6658 (setHeightOfRow): Same thing.
6659 (rowBreakPoint): Same thing.
6661 2003-07-26 Asger Alstrup <alstrup@local>
6663 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6665 * text.C (singleWidth): Spurious font copying in hot-spot
6666 singleWidth avoided. Reorder tests for arabic for efficiency.
6668 * text.C (fill): handle empty paragraphs better.
6670 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6673 * encoding.h: add includes
6675 * lyxrc.C: remove reading of bind files
6677 * lyx_main.C (init): setup bindings and menus only if we have a
6680 * kbmap.C (read): new method. Do the actual reading of bind
6683 * converter.C (dvipdfm_options):
6686 (output): adapt PAPER_* enums.
6688 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6690 * bufferparams.h: remove paper-related enums from there
6692 * paper.h: New file. A trivial header file to hold paper-related
6693 enums. It should later expand to contain many paper-related
6696 * lyxrc.C: declare extern displayTranslator
6698 2003-07-27 José Matos <jamatos@fep.up.pt>
6700 * tabular.[Ch] (linuxdoc): add support for tables and figures
6703 2003-07-27 José Matos <jamatos@fep.up.pt>
6705 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6706 consistency in both functions.
6707 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6709 2003-07-26 Asger Alstrup <alstrup@local>
6711 * rowpainter.C (paintRows): Change algorithm to work directly on
6712 the insets rather than asking every character in the document
6713 whether its an inset.
6715 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6717 * buffer.C (openFileWrite): factorize some code
6719 2003-07-26 Angus Leeming <leeming@lyx.org>
6722 * lyx_main.[Ch]: replace occurances of system_tempdir with
6725 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6727 * rename Inset to InsetOld
6729 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6731 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6732 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6733 which I think is a bit clearer. EDIT is gone, since it was
6734 premature optimisation, and broken for mathed anyway.
6735 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6736 with cursor positioning in insets as well (math insets still do not
6737 work, but that's a different story anyway.) It mysteriously
6738 crashes sometimes with undo in the first paragraph, but I'm fairly
6739 confident that this is a compiler bug.
6741 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * paragraph.C (Paragraph): adjust for new clone return type
6745 (copyIntoMinibuffer): ditto
6747 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6749 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6750 by not having a special case, and always doing a full rebreak of
6751 the document after undo.
6753 2003-07-23 Angus Leeming <leeming@lyx.org>
6755 * factory.C (createInset): InsetExternal::setParams now takes a
6758 2003-07-23 Angus Leeming <leeming@lyx.org>
6760 * factory.C (createInset): changed interface to the external and
6761 graphics mailers' string2params functions.
6763 2003-07-23 Angus Leeming <leeming@lyx.org>
6765 * factory.C (createInset): pass a
6766 Buffer const * parameter to InsetExternalMailer's string2params.
6768 2003-07-22 John Levon <levon@movementarian.org>
6770 * Thesaurus.h: include the right aiksaurus header
6772 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6774 * MenuBackend.C (expand): check menu shortcuts unconditionally
6776 2003-07-21 Angus Leeming <leeming@lyx.org>
6778 * factory.C (createInset): pass a
6779 buffer_path parameter to InsetGraphicsMailer's string2params.
6781 2003-07-21 Angus Leeming <leeming@lyx.org>
6783 * BufferView_pimpl.C (buffer):
6786 * lyxfunc.C (dispatch):
6787 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6788 rather than the grfx shortcut.
6790 2003-07-21 André Pönitz <poenitz@gmx.net>
6792 * rowpainter.C: remove unused variables
6795 * tabular_funcs.h: move to tabular.C
6796 * Makefile.am: adjust
6798 * tabular.[Ch]: basic optical cleaning
6800 * author.h: pass references, not values
6802 2003-07-18 André Pönitz <poenitz@gmx.net>
6810 * text3.C: two-phase drawing for InsetText and InsetTabular
6811 some float -> int changes.
6813 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6815 * lyx_main.C: fix the fix
6817 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6819 * lyx_main.C: fix a crash in batch mode if no files specified
6822 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6824 * format.[Ch] (papersize): moved to BufferParams
6825 * converter.[Ch] (dvips_options): moved to BufferParams
6826 (dvipdfm_options): moved to anon namespace
6827 * bufferparams.[Ch]: added above functions.
6829 2003-07-17 André Pönitz <poenitz@gmx.net>
6833 * text2.C: don't call inset->update() anymore
6835 * metricsinfo.[Ch]: add convenience constructor
6837 2003-07-16 André Pönitz <poenitz@gmx.net>
6842 * text2.C: replace the LyXCursor::irow_ member with
6843 on-demand computation of the value
6845 2003-07-16 John Levon <levon@movementarian.org>
6847 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6849 2003-07-15 André Pönitz <poenitz@gmx.net>
6852 * text2.C: remove no more needed refresh_row
6854 2003-07-15 André Pönitz <poenitz@gmx.net>
6859 * text3.C: refresh_status tristate -> need_update bool
6861 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6863 * lyxtext.h (init): remove reinit argument (act as if always true)
6864 * text2.C: adjust to that
6866 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6868 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6869 * text3.C: use it to delete selections in some cases
6870 (bugs 441, 673, 702, 954).
6872 2003-07-14 André Pönitz <poenitz@gmx.net>
6874 * rowpainter.[Ch]: reduce interface
6876 2003-07-14 André Pönitz <poenitz@gmx.net>
6878 * BufferView_pimpl.C:
6879 * text2.C: adjust after removing unused BufferView * argument
6881 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6883 * text2.C (init): fix a crash fired on resize
6885 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6887 * buffer.[Ch]: added new closing signal
6888 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6889 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6890 BufferView::Pimpl via the closing the signal
6892 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6894 * buffer.[Ch]: take out all bv-related from buffer
6896 * BufferView_pimpl.[Ch]: connect to new signals
6897 * CutAndPaste.C: removed useless asserts
6898 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6901 * lyxfunc.C: moved view-related funciontality from vc here
6902 * paragraph.C: removed outdated comments
6905 2003-07-10 André Pönitz <poenitz@gmx.net>
6907 * BufferView_pimpl.C:
6911 * text2.C: remove InsetText::InnerCache, clean up consequences
6913 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6915 * ispell.C: fix two typos in error messages
6917 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6919 * Extend Note inset to other forms of annotation like Comment
6920 and Greyedout. Right button click gives dialog.
6922 Files modified or added (+):
6926 * ControlNote.[Ch] +
6928 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6929 frontends/controllers
6933 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6935 * aspell.C: add missing namespace lyx::support
6937 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6939 * BufferView.[Ch] (newFile): Add
6940 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6941 * LaTeX.[Ch] (message): added this signal and use it
6942 * buffer.[Ch] (busy, message): added these signals and use them
6943 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6947 * importer.C: use buffer signals instead of direct bv calling
6948 * lyx_cb.[Ch] (ShowMessage): removed
6951 * paragraph_funcs.C:
6952 * text2.C: use buffer signals
6954 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6956 * introduce namespace lyx::graphics
6958 2003-07-02 André Pönitz <poenitz@gmx.net>
6960 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6962 2003-07-01 André Pönitz <poenitz@gmx.net>
6969 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6970 text*.C to text_func.C
6972 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6974 * introduce namespace lyx::support
6976 2003-06-30 André Pönitz <poenitz@gmx.net>
6981 * text.C: re-enable --with-included-string
6983 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6985 * textcursor.C: add <config.h>
6987 * text.C (getWord): remove const from word_location arg
6989 * lyxvc.C (getLogFile): fix const type order
6991 * lyxtext.h: remove const from word_location arg, add arg name
6993 * lyxlayout.h: currect type on labeltype.
6995 * importer.C: correct \file
6997 * converter.C (intToFormat): use std:: on ret val, ws changes
6999 * bufferlist.h: correct \file
7001 * buffer.C (makeLinuxDocFile): fix const type order
7002 (makeDocBookFile): ditto
7003 (fillWithBibKeys): use std:: on stdlib args.
7005 * CutAndPaste.C: fix authors.
7006 (availableSelections): use std:: on return vector
7008 2003-06-27 André Pönitz <poenitz@gmx.net>
7010 * BufferView_pimpl.C:
7011 * bufferview_funcs.C:
7019 * text3.C: remove LyXCursor::row_ member
7022 * text.C: rename fullRebreak() to partialRebreak() and implement
7023 a fullRebreak() that really bereks fully
7025 * textcursor.h: new struct for cursor-related data
7027 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7029 * lyx_main.C (LyX): get full path of document loaded on the
7032 2003-06-26 André Pönitz <poenitz@gmx.net>
7034 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7035 remove unused/broken operator>,<,>=.
7037 * text.C: remove only use of broken operator<= in an Assert().
7039 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7041 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7042 moved errorlist_.clear to showErrorList
7044 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7046 * converter.C (scanLog, runLaTeX):
7047 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7048 move the bv->showErrorList call to the callers
7049 * lyxfunc.C: i.e. here...
7051 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7052 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7053 namespace, the second to...
7054 * buffer_funcs (BufferFormat, parseErrors): added
7055 * errorlist.C (ErrorList(TeXErrors const &)): removed
7057 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7059 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7061 2003-06-24 "Garst R. Reese" <reese@isn.net>
7065 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7067 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7069 * version.C.in: change docversion to 1.4
7071 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7073 * buffer.C: fix a bug just introduced
7075 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7077 * buffer.[Ch]: added the parseError signal and use it, removed
7079 * BufferView.[Ch] (addError): moved to ...
7080 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7081 to the Buffer::parseError signal to catch (guess what) parse errors
7082 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7084 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7086 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7087 ability to create a buffer and to return an existing one from
7088 the list. Moved these functions to...
7089 * buffer_funcs.[Ch]: added
7090 * BufferView.[Ch] (loadLyXFile): added
7091 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7092 job removed from bufferlist::loadLyXFile.
7093 * buffer.C (setReadOnly): make it work without view
7094 (i.e added an if (users))
7096 2003-06-19 Angus Leeming <leeming@lyx.org>
7099 * LyXAction.C (init):
7100 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7101 with LFUN_DIALOG_SHOW <name> <data>.
7103 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7105 * CutAndPaste.C (availableSelections): small compilation fix for
7106 ancient (gcc 2.9x) compilers
7108 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * text3.C (cursorNext): add tmp var
7112 * text2.C (updateCounters): for function calling out of for clause
7113 (replaceSelectionWithString): ditto
7114 (insertStringAsParagraphs): ditto
7115 (getColumnNearX): add tmp var
7116 (setCursorFromCoordinates): add tmp var
7117 (cursorDownParagraph): add tmp var
7118 (deleteEmptyParagraphMechanism): add tmp var
7120 * text.C (insertChar): add tmp var
7122 * rowpainter.C (paintDepthBar): add tmp var
7124 * CutAndPaste.C (availableSelections): potentially check all
7125 paragraphs in a cut to fill the shown strings.
7127 2003-06-18 André Pönitz <poenitz@gmx.net>
7129 * kbmap.[Ch]: use vector<> instead of list<>
7131 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7133 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7134 pasteSelection with index
7136 * text2.C (pasteSelection): modify, call pasteSelection with index
7138 * paragraph.C (asString): reimplement version with no interval to
7139 call the one with interval.
7141 * lyxtext.h: add index arg to pasteSelection
7143 * MenuBackend.C (MenuItem): handle PasteRecent
7144 (Menu::read::Menutags): add md_pasterecent
7146 (expandPasteRecent): new function
7149 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7151 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7153 (availableSelections): new function
7155 2003-06-17 Angus Leeming <leeming@lyx.org>
7157 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7159 2003-06-17 Angus Leeming <leeming@lyx.org>
7162 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7164 * lyxfunc.C (dispatch): invoke it.
7166 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7168 * iterators.C (operator++, ParPosition): reintroduce some
7169 const_cast for the benefit of older compilers.
7171 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7173 * text3.C (dispatch): do not modify clipboard when doing
7174 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7175 LFUN_DELETE_SKIP on a selection selection
7177 2003-06-16 André Pönitz <poenitz@gmx.net>
7183 * tabular.[Ch]: IU of clone() and getLabelList();
7185 2003-06-13 André Pönitz <poenitz@gmx.net>
7187 * tabular.h: compactification
7189 2003-06-12 André Pönitz <poenitz@gmx.net>
7193 * tabular_funcs.h: some renaming plus whitespace
7195 2003-06-12 André Pönitz <poenitz@gmx.net>
7198 * BufferView_pimpl.C:
7204 * toc.C: Return a Paragraph & for ParIterator::operator*()
7206 2003-06-11 John Levon <levon@movementarian.org>
7210 * ToolbarBackend.C: add "Toolbars" section and
7213 2003-06-10 Angus Leeming <leeming@lyx.org>
7216 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7218 * lyxfunc.C (dispatch): invoke it.
7220 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7222 * main.C: protect <ios> with HAVE_IOS
7223 (main): protect sync_with_stdio with HAVE_IOS
7225 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7227 * text2.C (cutSelection): adjust
7228 (pasteSelection): adjust
7230 * messages.C: handle get of empty string
7232 * main.C (main): use sync_with_stdio(false)
7234 * lyxfunc.C (dispatch): adjust
7236 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7237 (WriteAs): remove unneeded BufferView arg.
7239 * bufferparams.h: use correct types on papersize, papersize2 and
7242 * bufferparams.C (readToken): adjust for type
7243 (writeLaTeX): add missing cases to switch.
7245 * bufferlist.C (quitWriteBuffer): adjust
7248 * buffer.C (asciiParagraph): remove some commented code.
7250 * CutAndPaste.C: remove current_view extern variable.
7251 (cutSelection): add BufferParams arg.
7252 (eraseSelection): add BufferParams arg.
7253 (pasteSelection): add Buffer const & arg
7255 2003-06-07 John Levon <levon@movementarian.org>
7258 * paragraph_funcs.C:
7259 * paragraph_pimpl.C:
7263 * paragraph.C: allow InsetERT to freely space lines,
7264 and some consolidation of code
7266 2003-06-06 José Matos <jamatos@fep.up.pt>
7268 * buffer.C (makeDocBookFile): fix bug #821
7270 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7272 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7274 2003-06-04 Angus Leeming <leeming@lyx.org>
7276 * buffer.C: bump format to 224.
7278 2003-06-05 André Pönitz <poenitz@gmx.net>
7280 * text2.C (redoParagraphs): remove two const_cast<>
7282 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7284 * ParagraphList.h: remove last remnants of NO_STD_LIST
7286 2003-06-03 Angus Leeming <leeming@lyx.org>
7288 * factory.C (createInset): small change to the way InsetExternal's params
7291 2003-06-04 André Pönitz <poenitz@gmx.net>
7293 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7295 * paragraph_pimpl.h:
7296 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7298 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7300 * undo_funcs.C: make some simple cases of undo work again
7302 2003-06-03 John Levon <levon@movementarian.org>
7304 * ispell.C: HPUX doesn't have sys/select.h
7307 2003-06-03 John Levon <levon@movementarian.org>
7309 * CutAndPaste.C: update tabular and include inset
7314 * paragraph.C: remove owningBuffer(), don't pass Buffer
7317 * factory.C: insetGraphicsParams changed
7319 2003-06-02 John Levon <levon@movementarian.org>
7325 * text3.C: remove insetparent
7327 2003-06-02 John Levon <levon@movementarian.org>
7330 * buffer.C: fix inset_iterator.end(), move out of line
7333 2003-06-01 John Levon <levon@movementarian.org>
7335 * text3.C: use a proper cut/paste when doing inset
7336 insert (from Jürgen Spitzmüller)
7338 2003-06-01 John Levon <levon@movementarian.org>
7340 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7342 2003-05-30 André Pönitz <poenitz@gmx.net>
7344 * rowpainter.C: unify second drawing phase
7346 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7348 * trans_mgr.C: remove one case of current_view
7350 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7352 * paragraph_funcs.h: remove paragraph.h include
7354 * paragraph.h: delete NO_STD_LIST stuff
7356 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7358 * buffer.h: remove paragraph.h include
7360 * ParagraphList.C: delete file
7362 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7364 * toc.C (getTocList): adjust
7366 * paragraph_pimpl.C (validate): adjust
7368 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7370 * paragraph.C (Paragraph): adjust
7371 (getPositionOfInset): use const_iterator, adjust
7372 (bibitem): use const_iterator, adjust
7373 (setInsetOwner): adjust
7375 * iterators.C (operator++): adjust
7377 * InsetList.[Ch]: Replace selfmade iterator with standard
7378 vector::iterator also introduce const_iterator. Remove getPos,
7379 getInset and setInset from InsetTable. Adjust accordingly.
7381 * BufferView.C (lockInset): adjust
7382 (ChangeInsets): adjust
7384 * tabular.[Ch]: delete commented same_id functions
7386 2003-05-28 John Levon <levon@movementarian.org>
7388 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7390 2003-05-28 André Pönitz <poenitz@gmx.net>
7392 * metricsinfo.[Ch]: remove 'fullredraw' member
7394 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7396 * lyxtextclass.C (operator): remove caching.
7398 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7402 * text2.C (cursorBottom): adjust
7403 (setCounter): use ParagraphList::find, adjust
7405 * text.C (workWidth): use ParagraphList::find, adjust
7407 * lyxcursor.C (LyXCursor): adjust
7409 * buffer.C (inset_iterator): adjust
7411 * ParagraphList.h: make iterator(value_type) private, make
7412 ParagraphList a friend of iterator.
7414 * ParagraphList.C (find): new function
7416 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7418 2003-05-27 André Pönitz <poenitz@gmx.net>
7420 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7422 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7424 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7426 2003-05-26 John Levon <levon@movementarian.org>
7428 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7430 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7432 * remove same_id from function signatures, adjust.
7434 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7436 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7438 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7440 * paragraph.C (Paragraph): get rid of same_ids parameter
7442 * ParagraphList.C (insert): adjust
7445 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7447 * paragraph_funcs.C (breakParagraph): adjust
7448 (breakParagraphConservative): adjust
7450 * buffer.C (readParagraph): adjust
7452 * ParagraphList.C (insert): take a reference instead of a pointer
7455 * paragraph.[Ch] (id): new function
7457 * bufferlist.C (newFile): adjust
7459 * ParagraphList.C (ParagraphList): adjust
7461 (push_back): take a reference instead of a pointer.
7463 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7465 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7468 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7469 set else use old code.
7471 * ParagraphList.C: remove all NO_NEXT code and only compile this
7472 code of NO_STD_LIST is set.
7474 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7476 * BufferView_pimpl.C:
7486 * graphics/GraphicsConverter.C:
7487 * graphics/PreviewLoader.C: header adjustment
7489 2003-05-23 Angus Leeming <leeming@lyx.org>
7491 * LaTeXFeatures.[Ch] (useBabel): new method.
7492 * bufferparams.C (writeLaTeX): use it.
7494 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7496 * ParagraphList.h (set): remove unused function.
7498 2003-05-23 André Pönitz <poenitz@gmx.net>
7501 * BufferView_pimpl.C:
7505 * undo_funcs.C: setUndo reworked
7507 * iterators.[Ch]: add access to topmost ParagraphList
7509 * lyxtext.[Ch] (workWidth): add a const
7511 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7513 * texrow.[Ch] (increasePos): remove function
7514 * exporter.C (export): removed unused var and outdated comment
7516 2003-05-23 Angus Leeming <leeming@lyx.org>
7518 * latexrunparams.h: rename fragile as moving_arg.
7519 * paragraph.C (simpleTeXOnePar): ditto.
7520 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7522 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7524 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7526 (textUndoOrRedo): comment out a currently unused var.
7528 * paragraph.h (NO_NEXT): enable NO_NEXT
7530 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7532 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7534 * exporter.C (Export): adjust for removeAutoInsets removal.
7536 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7538 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7540 * BufferView.[Ch] (removeAutoInsets): delete function
7542 2003-05-22 Angus Leeming <leeming@lyx.org>
7544 * latexrunparams.h: add a free_spacing variable.
7546 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7547 to pass moving_arg, as the data is stored in runparams.fragile.
7549 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7550 to Inset::latexOptional or to simpleTeXOnePar.
7552 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7553 free_spacing arg to Inset::latexOptional.
7555 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7558 2003-05-22 Angus Leeming <leeming@lyx.org>
7560 * latexrunparams.h: add fragile and use_babel variables.
7562 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7563 * buffer.C (makeLaTeXFile): store this returned value in
7564 runparams.use_babel, thus passing it to the inset::latex methods.
7566 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7567 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7569 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7570 longer has a fragile arg, as it is stored in runparams.fragile.
7572 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7573 moving_arg parameter as the data is stored in runparams.fragile.
7575 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7576 a fragile parameter as the data is stored in runparams.fragile.
7578 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7580 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7582 2003-05-22 Angus Leeming <leeming@lyx.org>
7584 * latexrunparams.h: add a 'bool nice' which defaults to false.
7586 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7587 now encapsulated within runparams.
7589 * bufferlist.C (updateIncludedTeXfiles):
7590 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7592 2003-05-22 Angus Leeming <leeming@lyx.org>
7594 * latexrunparams.h: new file containing struct LatexRunParams.
7595 * Makefile.am: add new file.
7597 * LaTeX.[Ch] (c-tor, run):
7598 * buffer.[Ch] (makeLaTeXFile):
7599 * bufferlist.[Ch] (updateIncludedTeXfiles):
7600 * converter.C (convert, scanLog):
7601 * converter.[Ch] (runLaTeX):
7602 * exporter.C (Export):
7603 * paragraph.[Ch] (simpleTeXOnePar):
7604 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7605 * paragraph_funcs.[Ch] (latexParagraphs):
7606 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7607 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7608 pass around a LatexRunParams parameter.
7610 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7612 * paragraph.[Ch]: remove unused constructor
7614 * ParagraphList.C (erase): new function, taking two iterators
7616 2003-05-22 André Pönitz <poenitz@gmx.net>
7618 * undo_funcs.C: remove duplicated code
7620 * iterator.[Ch]: operator=
7622 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7624 * tabular.C (SetMultiColumn): ws changes
7626 * rowpainter.C (paintFirst): get rid of a ->previous
7628 * lyx_cb.C (getPossibleLabel): parlist simplification
7630 * BufferView.C (ChangeInsets): simplify slightly.
7632 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7634 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7635 * lfuns.h: new LFUN_SPACE
7636 * lyxfunc.C: protected space has a new lfun
7637 * paragraph_funcs.C: read new space insets
7639 * factory.C: handle new space insets
7641 2003-05-22 André Pönitz <poenitz@gmx.net>
7644 * BufferView_pimpl.C:
7647 * undo_funcs.C: return a ParIterator from getParFromID.
7649 * iterators.[Ch]: add two const's
7651 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7653 * toc.C (getTocList): adjust
7655 * iterators.[Ch]: rework for parlist
7657 * buffer.C (par_iterator_begin): adjust
7658 (par_iterator_end): adjust
7660 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7662 * BufferView.C (removeAutoInsets): adjust
7663 (ChangeInsets): adjust
7665 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7667 * text.C (top_y): fix bug 1110
7669 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7671 * errorlist.[Ch]: added
7674 * BufferView_pimpl.C:
7675 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7678 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7680 * Makefile.am: ensure that lyx is relinked upon changes to the
7681 various "convenience" libs.
7683 2003-05-20 Angus Leeming <leeming@lyx.org>
7685 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7686 files are compiled in alphabetical order again.
7688 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7690 2003-05-19 Angus Leeming <leeming@lyx.org>
7692 * gettext.[Ch]: remove "char const * _(char const *)".
7694 2003-05-19 André Pönitz <poenitz@gmx.net>
7696 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7705 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7707 2003-05-19 André Pönitz <poenitz@gmx.net>
7711 * lyxtextclass.[Ch]:
7713 * paragraph_funcs.[Ch]:
7715 * text3.C: more insetenv work
7717 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7719 * ParagraphParameters.C (params2string): small bug fixed
7721 2003-05-16 André Pönitz <poenitz@gmx.net>
7724 * bufferview_funcs.C: patch from Kornel Benko to prevent
7725 crash when _(...) is called twice in a statement
7727 2003-05-16 André Pönitz <poenitz@gmx.net>
7734 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7736 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7738 * lyx_main.C (init): remove spurious static_cast
7740 2003-05-14 André Pönitz <poenitz@gmx.net>
7742 * BufferView.C: fix format string
7744 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7746 * BufferView.[Ch] (insertErrors): removed
7747 * BufferView.[Ch] (showErrorList): added
7748 * buffer.C (runChkTeX):
7749 * converter.C (scanLog): call showErrorList instead of inserterrors
7751 2003-05-13 André Pönitz <poenitz@gmx.net>
7753 * BufferView_pimpl.C:
7755 * bufferview_func.C:
7762 * tabular_funcs.h: tostr() from its own header
7764 * ParagraphParameters.C:
7769 * text3.C: STRCONV()
7771 2003-05-12 André Pönitz <poenitz@gmx.net>
7774 * BufferView_pimpl.C:
7778 * ParagraphParameters.C:
7782 * bufferview_funcs.C:
7795 * paragraph_funcs.C:
7799 * text3.C: boost::format -> bformat all over the place
7802 2003-05-09 André Pönitz <poenitz@gmx.net>
7804 * LColor.[Ch]: Pimpl the #include <map> away
7806 2003-05-09 John Levon <levon@movementarian.org>
7808 * bufferlist.C: never remove emergency saves
7810 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7812 * Makefile.am: better lib building
7814 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7816 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7818 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7819 (simpleTeXSpecialChars): adjust
7820 (simpleTeXSpecialChars): adjust
7821 * paragraph.C (simpleTeXOnePar): adjust
7822 * buffer.C (makeLaTeXFile): adjust
7824 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7826 * text2.C (changeDepth): parlist cleanup
7827 (getColumnNearX): ditto
7829 * rowpainter.C (getLabelFont): parlist cleanup
7831 * bufferlist.C (newFile): parlist cleanup
7833 * CutAndPaste.C (eraseSelection): parlist cleanup
7835 * BufferView_pimpl.C (trackChanges): parlist cleanup
7838 * BufferView.C (lockInset): parlist cleanup.
7839 (ChangeInsets): ditto
7841 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7843 * CutAndPaste.h: Update file header.
7845 * CutAndPaste.C: Update file header.
7846 Store the parts cut out of the Document in a limited_stack.
7847 (copySelection): adjust
7848 (pasteSelection): new function, takes the index in the limited stack.
7849 (nrOfParagraphs): adjust
7850 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7851 simplify error inset insertion.
7852 (checkPastePossible): adjust
7854 2003-05-06 John Levon <levon@movementarian.org>
7856 * text2.C: don't cast wrap inset to float
7858 2003-05-05 André Pönitz <poenitz@gmx.net>
7861 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7863 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7864 few naked Paragraph *.
7866 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7868 * bufferparams.C: Output warning if a document with missing
7869 TeX document class is loaded
7870 * exporter.C: Disable TeX exports if the document class is missing
7873 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7874 isTeXClassAvailable()
7876 2003-05-03 John Levon <levon@movementarian.org>
7879 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7880 explicit cursor show/hide
7882 * BufferView_pimpl.h:
7883 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7884 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7886 * lyxfunc.C: hide cursor before dispatching.
7891 * text3.C: remove explicit cursor hides
7893 2003-05-02 André Pönitz <poenitz@gmx.net>
7895 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7898 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7901 * text2.C: tiny whitespace
7903 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7905 * undo_funcs.C: almost only ws changes.
7907 * ParagraphList.C (splice): just return if pl is empty.
7909 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7911 * ParagraphList.C (splice): new function.
7913 * CutAndPaste.C (pasteSelection): use it
7915 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7917 * CutAndPaste.C (pasteSelection): remove the last next and
7918 previous from this file.
7920 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7922 * CutAndPaste.C (pasteSelection): more clean up, user proper
7923 ParagraphList functions for pasteing.
7925 * ParagraphList.C (insert): new function, three arg insert
7927 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7929 * ParagraphList.C (insert): new function, three arg insert
7931 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7934 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7936 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7938 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7940 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7942 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7944 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7945 (copySelection): clean up a bit.
7946 (pasteSelection): use make_pair
7948 * ParagraphList.C (ParagraphList): implement copy constructor
7949 (operator=): implement, base on copy constructor.
7952 * paragraph.C (erase): return a bool
7954 * paragraph_pimpl.C (erasePos): remove function, move contents...
7955 (erase): ... here. Return a bool.
7956 (erase): call erase instead of erasePos.
7958 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7960 * ParagraphList.h: define PitPosPair
7961 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7962 ParagraphList, fix a bug on pasting multiple pars
7963 * text2.C: change interface to C&P
7965 2003-04-30 André Pönitz <poenitz@gmx.net>
7967 * undo_func.C: revert part of yesterday's patch 2
7969 2003-04-30 John Levon <levon@movementarian.org>
7971 * LColor.C: s/tabular/table/
7973 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7975 * text3.C (dispatch): do not convert iterator -> pointer
7976 * undo_funcs.C (setCursorParUndo): ditto
7977 * text_funcs.C (transposeChars): ditto
7979 * text2.C (setLayout): ws changes only
7981 * text.C (breakParagraph): do not convert iterator -> pointer
7983 (acceptChange): ditto
7984 (rejectChange): ditto
7989 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7992 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7994 * text3.C (gotoInset): YABG (yet another bad getChar)
7996 2003-04-29 André Pönitz <poenitz@gmx.net>
7998 * paragraph.h: make operator= private unimplemented as long as
8001 * ParagraphList.C: whitespace
8004 * paragraph_pimpl.[Ch]:
8005 * paragraph_funcs.C:
8007 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8010 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8012 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8014 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8015 * paragraph.[Ch] (erase):
8016 * paragraph_pimpl.[Ch] (erase): change return type and value
8017 * text2.C (cutSelection): some rework
8019 2003-04-28 John Levon <levon@movementarian.org>
8021 * bufferlist.C: changes for unsaved changes dialog
8023 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8025 * bufferlist.C (newFile): set language (messages_) for new
8028 * buffer.C (readFile): ws changes only.
8030 2003-04-28 André Pönitz <poenitz@gmx.net>
8035 * BufferView_pimpl.C:
8036 * BufferView.C: getParFromID related ParagraphList::iterator changes
8038 2003-04-28 André Pönitz <poenitz@gmx.net>
8040 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8043 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8045 * messages.C: remove one more localedir class variable.
8047 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * messages.C (getLocaleDir): singleton generation function
8051 (Messages): add a default constructor.
8053 * main.C (main): do not setup localedir here, do not call
8056 * gettext.C (_): use it.
8057 (gettext_init): delete funciton
8059 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8061 * gettext.C (getLyXMessages): new singleton generating function.
8063 * buffer.C (updateDocLang): adjust
8065 * Makefile.am (messages.o): add target
8066 (main.o): remove target
8068 2003-04-27 John Levon <levon@movementarian.org>
8073 * lyxvc.C: specify cancel button in Alert::prompt
8075 2003-04-26 John Levon <levon@movementarian.org>
8080 * LyXAction.C: add LFUN_INSET_SETTINGS
8082 * lyxfunc.C: don't enable tabular-feature when there's
8083 just any locking inset
8085 2003-04-26 John Levon <levon@movementarian.org>
8087 * bufferlist.C: re-add Cancel to buffer close question
8089 * lyxfunc.C: fix import UI a bit
8091 2003-04-25 John Levon <levon@movementarian.org>
8093 * gettext.C: remove the broken asserts for now
8095 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8097 * messages.C: make case where setlocale cannot comply work better.
8099 * buffer.C (updateDocLang): new function
8100 (changeLanguage): use it
8103 * text2.C (setCounter): use B_ a bit.
8105 * lyxlayout.C (Read): be sure to trim the label strings.
8107 * messages.C (Messages): fix typo in comment
8109 * buffer.C (readFile): set message_ after file is loaded.
8110 (makeDocBookFile): remove double return
8111 (changeLanguage): reset message_ upon language change.
8112 (B_): new func, use this to get translated buffer strings.
8114 * main.C: add myself and Jean Marc as authors.
8116 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8118 * messages.[hC]: pimplify Messages, and three different pimpls to be
8119 used in different circumstances.
8121 * gettext.[Ch]: change for use with new message code.
8123 2003-04-24 André Pönitz <poenitz@gmx.net>
8125 * factory.C: support for eqref
8127 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8129 * messages.[Ch]: add missing char
8131 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8133 * messages.[Ch]: New files
8135 2003-04-18 John Levon <levon@movementarian.org>
8139 * BufferView_pimpl.C:
8143 * text2.C: remove layout-copy/paste (bug 778)
8145 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8147 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8149 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8151 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8152 if they succeed. Act accordingly.
8154 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * text2.C (setCharFont): adjust
8157 (setCounter): adjust
8158 (insertStringAsLines): adjust
8160 * text.C (leftMargin): adjust
8161 (setHeightOfRow): adjust
8163 * rowpainter.C (paintFirst): adjust
8166 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8168 (isFirstInSequence): ditto
8169 (getEndLabel): ditto
8172 * paragraph.C (getParLanguage): comment out some hard stuff.
8174 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8176 (simpleDocBookOnePar): ditto
8177 (makeDocBookFile): use ParagraphList::iterator
8179 * CutAndPaste.C (pasteSelection): adjust
8181 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8183 * text2.C (getFont): adjust
8184 (getLayoutFont): adjust
8185 (getLabelFont): adjust
8187 * paragraph_funcs.C (TeXOnePar): adjust
8189 * buffer.C (simpleLinuxDocOnePar): adjust
8190 (simpleDocBookOnePar): adjust
8192 * CutAndPaste.C (pasteSelection): adjust
8194 * BufferView.C (getEncoding): adjust
8196 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8198 2003-04-16 John Levon <levon@movementarian.org>
8200 * lyxfind.C: use parlist stuff for search/changes
8202 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8204 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8206 * text2.C (deleteEmptyParagraphMechanism): adjust
8208 * text2.[Ch] (ownerParagraph): delete func (both of them
8210 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8212 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8214 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8216 * ParagraphList.C: prepare for NO_NEXT
8218 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8220 * text2.C (getFont): adjust
8221 (getLayoutFont): adjust
8222 (getLabelFont): adjust
8224 * paragraph.C (getFont): adjust
8225 (getLabelFont): adjust
8226 (getLayoutFont): adjust
8228 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8230 2003-04-15 John Levon <levon@movementarian.org>
8234 * lyx_main.C: handle Include in .ui files
8236 2003-04-15 John Levon <levon@movementarian.org>
8238 * MenuBackend.C: make the doc files length shorter
8241 * ToolbarBackend.C: handle toolbar placement flags,
8244 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8249 * paragraph_funcs.C (TeXOnePar): adjust
8251 * paragraph.C (getLabelFont): add outerfont arg, adjust
8252 (getLayoutFont): ditto
8253 (simpleTeXOnePar): adjust
8255 * paragraph_pimpl.C (realizeFont): delete func
8257 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8259 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8260 row argument, constify cur argument.
8262 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8264 * text2.C (getFont): adjust
8265 (getLayoutFont): adjust
8266 (getLabelFont): adjust
8268 * paragraph_funcs.C (TeXOnePar): adjust
8269 (outerFont): new func...
8270 (realizeFont): ...moved out from here, changed this to facilitate
8273 * paragraph.C (getFont): take outerfont as arg, adjust
8274 (simpleTeXOnePar): add outerfont arg, adjust
8276 * buffer.C (simpleLinuxDocOnePar): adjust
8277 (simpleDocBookOnePar): adjust
8279 * CutAndPaste.C (pasteSelection): adjust
8281 * BufferView.C (getEncoding): adjust
8283 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8285 * text2.C (setCharFont): adjust
8286 (setCounter): adjust
8288 * text.C (leftMargin): adjust
8289 (setHeightOfRow): adjust
8291 * rowpainter.C (paintFirst): adjust
8294 * paragraph_pimpl.C (realizeFont): adjust
8296 * paragraph.C (isFirstInSequence): move from here...
8297 * paragraph_funcs.C (isFirstInSequence): ...to here
8299 * paragraph.C (outerHook): move from here...
8300 * paragraph_funcs.C (outerHook): ...to here
8302 * paragraph.C (depthHook): move from here...
8303 * paragraph_funcs.C (depthHook): ...to here
8305 * paragraph.C (getEndLabel): move from here...
8306 * paragraph_funcs.C (getEndLabel): ...to here
8308 * text2.C (realizeFont): move from here...
8309 * paragraph_funcs.C (realizeFont): ...to here
8311 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8313 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8315 2003-04-14 Angus Leeming <leeming@lyx.org>
8317 * LColor.[Ch]: scrap LColor mathcursor.
8319 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8321 * lyxlex.[Ch] (text): delete function
8322 * trans.C (Load): adjust
8323 * paragraph_funcs.C (readParToken): adjust
8325 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8327 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8328 vector<char> instead of a char[].
8330 * lyxlex_pimpl.C (getString): adjust
8332 (lex): use getString
8336 * lyxlex.C (text): use pimpl_->getString()
8340 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8342 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8343 (makeFontEntriesLayoutSpecific): temp var for par.size()
8344 (setLayout): temp var for ownerParagraphs().end()
8345 (fullRebreak): temp var for rows().end()
8346 (selectionAsString): temp var for boost::next(startpit), realize
8347 that the while really is a regular for loop.
8348 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8349 setCursor in one place.
8350 (setParagraph): temp vr for ownerParagraphs().end()
8351 (updateCounters): make the while loop a for loop
8352 (cutSelection): temp var for ownerParagraphs().end()
8353 (updateInset): make the do {} while() a regular for loop
8354 (getCursorX): use temp vars
8355 (setCurrentFont): use temp vars
8356 (getColumnNearX): use temp vars
8358 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8360 * text.C (transformChar): use temp var for getChar
8361 (computeBidiTables): use temp var for row->par()
8362 (fill): move temp vars for row->par() and pit->layout() earlier in
8364 (labelFill): use temp var for row->par()
8365 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8366 asc and desc, realize that pit never changes and that firstpit is
8367 just a duplicate and not needed. Exchange rit->par() with pit in a
8369 (breakAgain): use a temp var for boost::next(rit)
8370 (breakAgainOneRow): ditto
8371 (breakParagraph): use a temp var for rows().begin()
8372 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8373 (cursorRightOneWord): use temp var for cursor.par() and
8374 cursor.pos(), remove usage of tmpcursor.
8375 (cursorLeftOneWord): use temp var for cursor.par() and
8376 cursor.pos() only set cur at end of function.
8378 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8380 * text.C, text2.C: exchange all usage of Paragraph::next with
8381 boost::next(ParagraphList::iterator)
8383 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8385 * text2.C (cursorTop): simplify implementation
8386 (cursorBottom): ditto
8387 (setParagraph): use ParagraphList::iterator
8388 (setCurrentFont): adjust
8389 (getColumnNearX): adjust
8390 (cursorRight): adjust
8391 (cursorLeft): remove usage of Paragraph::previous
8392 (cursorUpParagraph): ditto
8393 (deleteEmptyParagraphMechanism): slight cleanup
8395 * text.C (isBoundary): take a Paragraph const & instead of a
8397 (addressBreakPoint): ditto
8398 (leftMargin): remove usage of Paragraph::previous.
8399 (setHeightOfRow): ditto
8400 (cursorLeftOneWord): ditto
8401 (selectNextWordToSpellcheck): ditto
8404 (breakParagraph): remove one usage of Paragraph::next
8405 (redoParagraph): ditto
8406 (acceptChange): ditto
8407 (insertChar): adjust
8408 (rowBreakPoint): adjust
8410 * bufferview_funcs.C (toggleAndShow): adjust
8412 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8414 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8415 methods to access it.
8417 * text.C: Added updateRowPositions to compute all row positions.
8418 Make top_y and getRowNearY() to use the cached y position
8420 2003-04-11 John Levon <levon@movementarian.org>
8422 * text.C (rowBreakPoint): reintroduce the labelEnd
8423 checks, code copied from the row fill stuff. Deep voodoo.
8425 * text.C (fill): add a comment and debugging for the
8428 2003-04-11 John Levon <levon@movementarian.org>
8430 * text.C: make sure fullrow insets get wrapped to the next line,
8431 even when they're in a manual label
8433 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8435 * text2.C (insertParagraph): make it take ParagraphList::iterator
8437 (setLayout): make it return ParagraphList::iterator
8438 (redoParagraphs): ditto
8440 (checkParagraph): ditto
8442 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8444 * text2.C: adjust several funcs.
8445 (realizeFont): take a ParagraphList::iterator as arg.
8446 (getLayoutFont): ditto
8447 (getLabelFont): ditto
8448 (setCharFont): ditto
8450 * text.C: adjust several funcs.
8452 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8454 * text.C (selectNextWordToSpellcheck): don't accidentally
8457 2003-04-10 John Levon <levon@movementarian.org>
8459 * ToolbarBackend.C (getIcon): special handling for
8462 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8464 * text2.C (cursorRight): a getChar assert fixed
8466 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8468 * text2.C (getFont): change to take a ParagraphList::iterator
8469 instead of Paragraph*
8470 Adjust several functions.
8472 * text.C (transformChar): change to take a ParagraphList::iterator
8473 instead of Paragraph*
8474 (singleWidth): ditto
8475 Adjust several functions.
8477 * rowpainter.C: adjust several functions
8478 * rowpainter.h:store a ParagraphList::iterator and not a
8482 2003-04-09 John Levon <levon@movementarian.org>
8487 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8488 and the "help" bits as well
8490 2003-04-09 John Levon <levon@movementarian.org>
8493 * ToolbarBackend.C: allow multiple toolbars
8495 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8497 * undo_funcs.C (setCursorParUndo): adjust
8499 * text_funcs.C (transposeChars): adjust
8501 * text3.C (gotoNextInset): adjust
8504 * text2.C (setLayout): adjust
8505 (changeDepth): adjust
8507 (redoParagraphs): adjust
8508 (selectionAsString): adjust
8509 (setParagraph): adjust
8510 (insertInset): adjust
8511 (cutSelection): adjust
8512 (copySelection): adjust
8513 (pasteSelection): adjust
8514 (insertStringAsLines): adjust
8515 (updateInset): adjust
8516 (setCursor): change to take a ParagraphList::iterator parameter
8517 (setCursorIntern): change to take a ParagraphList::iterator parameter
8518 (setCurrentFont): adjust
8519 (cursorLeft): adjust
8520 (cursorRight): adjust
8521 (deleteEmptyParagraphMechanism): adjust
8523 * text.C (breakParagraph): adjust
8524 (insertChar): adjust
8525 (acceptChange): adjust
8526 (rejectChange): adjust
8527 (selectNextWordToSpellcheck): adjust
8528 (changeCase): adjust
8532 * lyxfind.C (SearchForward): adjust
8533 (SearchBackward): adjust
8534 (nextChange): adjust
8536 * lyxcursor.C (par): adjust
8538 * lyxcursor.h: store a ParagraphList::iterator instead of a
8541 * lyx_cb.C (getPossibleLabel): adjust
8543 * bufferview_funcs.C (toggleAndShow): adjust
8545 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8548 * BufferView.C (removeAutoInsets): adjust
8549 (lockedInsetStoreUndo): adjust
8551 2003-04-09 John Levon <levon@movementarian.org>
8553 * ToolbarBackend.C: try icon without argument
8554 if with argument fails
8556 2003-04-08 John Levon <levon@movementarian.org>
8559 * ToolbarBackend.C: add getIcon(), handle tooltip,
8560 and change from "Icon" to "Item".
8562 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8564 * BufferView.C (lockInset): another bad getchar crunched
8566 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8568 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8571 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8573 * lyxfind.C (searchForward, searchBackwards): bug 782
8575 2003-04-07 John Levon <levon@movementarian.org>
8577 * paragraph.C: remove dead comment
8579 * text.C: remove troublesome depth-fiddling code
8580 in leftMargin() and rightMargin() (bug 1017)
8582 * text.C: fix breaking of rows in nested lists
8585 * text2.C (updateCounters): fix up depth values
8588 2003-04-07 John Levon <levon@movementarian.org>
8590 * BufferView_pimpl.C: clear message when doc finishes resizing,
8591 and after a mouse event
8593 * lyxfunc.C: clear message after exiting inset
8595 2003-04-07 John Levon <levon@movementarian.org>
8597 * bufferview_funcs.C: show math status not outside
8598 status in the statusbar
8600 2003-04-07 John Levon <levon@movementarian.org>
8602 * lyxfunc.C: note status changed after a depth change
8604 2003-04-04 Angus Leeming <leeming@lyx.org>
8606 * LaTeX.h: move AuxInfo operator==, != out of line.
8607 Remove LaTeX virtual destructor; nothing derives from it.
8608 Move operator()() out of public area and rename it startscript().
8609 Change protected for private.
8611 2003-04-04 Angus Leeming <leeming@lyx.org>
8614 * text2.C: remove unneeded #includes.
8616 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8618 * text2.C (dEPM): fix the heigth of the next row
8620 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8622 * text.C: squashed an invalid getChar requester + some ws changes
8624 2003-04-03 John Levon <levon@movementarian.org>
8626 * bufferview_funcs.h:
8627 * bufferview_funcs.C:
8630 * text2.C: make getStatus work for the env depth lfuns
8632 2003-04-03 John Levon <levon@movementarian.org>
8634 * bufferview_funcs.h:
8635 * bufferview_funcs.C:
8638 * text2.C: parlistize decDepth(), by merging it with incDepth()
8640 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8642 * lyxrow.h: store a ParagraphList::iterator instead of a
8643 Paragraph* and adjust other class functions to suit.
8645 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8648 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8650 * text2.C (setCursor): do not anchor to cursor row for the time being
8652 2003-04-02 John Levon <levon@movementarian.org>
8659 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8661 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8663 * paragraph.h: make ParagraphList and ParagraphList::iterator
8664 friends of Paragraph.
8666 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8668 * ParagraphList.C: Use the private next_ and previous_ from
8671 2003-04-01 John Levon <levon@movementarian.org>
8675 * Makefile.am: rename, remove defaults gunk
8678 * MenuBackend.C: remove defaults gunk
8681 * Languages.C: remove defaults gunk
8684 * lyx_main.C: error out if files couldn't be found.
8686 2003-04-02 John Levon <levon@movementarian.org>
8688 * text2.C: make incDepth() use parlist
8690 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8692 * undo_funcs.C (firstUndoParagraph): adjust
8694 * text3.C (gotoInset): adjust
8695 (dispatch): adjust, and rewrite loop.
8697 * text2.C (init): adjust, and rewrite loop.
8698 (redoParagraphs): adjust
8699 (updateInset): adjust, and rewrite loop.
8700 (deleteEmptyParagraphMechanism): adjust
8702 * tabular.C (LyXTabular): adjust
8703 (SetMultiColumn): adjust
8706 * lyxtext.[Ch] (ownerParagraph): delete function
8707 (ownerParagraphs): new function returns a ParagraphList.
8709 * BufferView.C (removeAutoInsets): adjust
8710 (insertErrors): adjust
8711 (setCursorFromRow): adjust
8713 2003-04-01 Angus Leeming <leeming@lyx.org>
8715 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8718 2003-04-02 John Levon <levon@movementarian.org>
8724 * text_funcs.C: make transposeChars a free function
8726 * lyxrow_funcs.C: remove wrong comment
8728 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8731 * rowpainter.C: adjust
8736 * lyxrow_funcs. [Ch]: new files
8738 * lyxrow.[Ch]: remove next and previous pointers
8739 (next,previous): remove accessor functions
8740 (isParEnd): move to lyxrow_funcs
8741 (lastPos): move to lyxrow_funcs
8742 (nextRowIsAllInset): move to lyxrow_funcs
8743 (lastPrintablePos): move to lyxrow_funcs
8744 (numberOfSeparators): move to lyxrow_funcs
8745 (numberOfHfills): move to lyxrow_funcs
8746 (numberOfLabelHfills): move to lyxrow_funcs
8747 (hfillExpansion): move to lyxrow_funcs
8751 * bufferview_funcs.C (toggleAndShow): adjust
8753 * RowList.h: Remove class RowList from file leave just a
8756 * RowList.C: delete file
8758 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8761 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8763 * text3.C (cursorPrevious): adjust
8764 (cursorNext): adjust
8767 * text2.C (redoHeightOfParagraph): adjust
8768 (redoDrawingOfParagraph): adjust
8771 * text.C (breakParagraph): adjust
8772 (insertChar): adjust
8775 * rowpainter.C (RowPainter): adjust
8776 (leftMargin): simplify and adjust
8777 (most rowpainter functions): adjust.
8779 * rowpainter.h: store the row as RowList::iterator not as Row*
8781 * lyxcursor.C (row): taka RowList::iterator as arg
8784 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8787 2003-04-01 Angus Leeming <leeming@lyx.org>
8789 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8790 stuff like bool Bool.
8792 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8794 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8797 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8799 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8802 * lyxtext.h (rows): drop one version and leve a const variant that
8803 returns a RowList::iterator.
8805 2003-03-31 Angus Leeming <leeming@lyx.org>
8807 * text.C (fill): ensure that the signature is the same as that in the
8810 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8812 * text2.C (redoParagraphs): adjust
8813 (updateCounters): adjust
8814 (checkParagraph): adjust
8815 (getColumnNearX): adjust and reformat a bit.
8817 * text.C (top_y): adjust
8819 (leftMargin): adjust
8820 (prepareToPrint): adjust
8822 (getRowNearY): adjust
8824 * lyxtext.h: make rowlist_ mutable.
8826 * RowList.h: add const_iterator
8827 * RowList.C: adjust for RowList::const_iterator.
8829 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8832 2003-03-31 John Levon <levon@movementarian.org>
8835 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8837 * lyx_main.C: set default fonts from using lyx_gui funcs
8839 * exporter.C: pdf_mode moved from lyxrc
8842 * lyxfunc.C: changes from above
8844 2003-03-31 John Levon <levon@movementarian.org>
8846 * lyx_main.C: fix to the last fix
8848 2003-03-31 John Levon <levon@movementarian.org>
8850 * bufferlist.C: "Load original" -> "Load Original"
8856 * format.C: more Alert cleanups
8858 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8860 * text2.C (removeParagraph): make it take a RowList::iterator as
8862 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8863 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8865 * text.C (anchor_row): make it take a RowList::iterator as arg,
8867 (computeBidiTables): make it take a const reference to Row instead
8868 of Row pointer, adjust.
8869 (leftMargin): make it take a RowList::iterator as arg, adjust.
8870 (rowBreakPoint): adjust
8871 (breakAgainOneRow): make it take a RowList::iterator as arg,
8873 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8875 * bufferview_funcs.C (toggleAndShow): adjust
8877 2003-03-30 John Levon <levon@movementarian.org>
8881 * boost-inst.C: moved to support
8883 * several files: changes as a result
8885 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8887 * text2.C (LyXText): adjust.
8889 (removeRow): make it take a RowList::iterator as arg, adjust.
8890 (fullRebreak): adjust
8891 (deleteEmptyParagraphMechanism): adjust
8892 (clearPaint): adjust
8895 * text.C (top_y): adjust
8896 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8897 (breakAgain): make it take a RowList::iterator as arg, adjust.
8898 (breakParagraph): adjust
8899 (insertChar): adjust
8902 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8903 need_break_row, and refresh_row.
8905 * text3.C (dispatch): adjust
8907 * text2.C (checkParagraph): adjust
8909 (setCursorFromCoordinates): adjust
8911 * text.C (top_y): adjust
8913 (getRow): make it return a RowList::iterator, adjust
8914 (getRowNearY): make it return a RowList::iterator, adjust
8916 * text2.C (init): adjust
8917 (insertRow): remove function
8918 (insertParagraph): adjust
8919 (redoParagraphs): adjust
8920 (fullRebreak): adjust
8921 (updateCounters): adjust
8923 * text.C (top_y): rewrite to use RowList iterators.
8925 (setHeightOfRow): rewrite to sue RowList iterators.
8926 (appendParagraph): adjust
8927 (breakAgain): adjust
8928 (breakAgainOneRow): adjust
8929 (breakParagraph): adjust
8931 (getRowNearY): adjust, and remove commented code.
8933 * lyxtext.h (firstRow): delete function
8934 (lastRow): delete function
8935 (rows): new function (const and non-const versions.)
8936 (insertRow): delete function
8938 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8940 2003-03-29 John Levon <levon@movementarian.org>
8942 * BufferView_pimpl.C: always update scrollbar top
8943 because pasting text when we're anchored could mean we
8944 miss an update altogether
8946 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8948 * text2.C (init): use rowlist_.end() and not 0.
8949 (insertRow): change to take a RowList::iterator as arg, adjust
8951 (insertParagraph): change to take a RowList::iterator as arg,
8953 (redoParagraphs): remove some debug msgs.
8955 * text.C (appendParagraph): change to take a RowList::iterator
8956 arg, adjust for this.
8957 (breakAgain): add an assert
8958 (breakAgainOneRow): ditto
8960 2003-03-29 John Levon <levon@movementarian.org>
8962 * text2.C: do not clear selection after inc/decDepth
8965 2003-03-29 John Levon <levon@movementarian.org>
8968 * buffer.C: fix broken strerrors according to Lars
8970 2003-03-29 John Levon <levon@movementarian.org>
8972 * converters.C: more Alert cleanups
8974 2003-03-29 John Levon <levon@movementarian.org>
8976 * bufferview_funcs.C: remove pointless Alert
8978 * buffer.C: fix confusing error message when
8979 a template is chmoded 000
8981 2003-03-29 John Levon <levon@movementarian.org>
8985 * BufferView_pimpl.C: Alert fixes
8989 * tabular-old.C: remove unused table compat reading
8991 2003-03-29 John Levon <levon@movementarian.org>
8996 * lyx_cb.C: more Alert cleanups
8998 * lyxfunc.C: don't allow chktex if not latex document
9000 2003-03-29 John Levon <levon@movementarian.org>
9004 * buffer.C: warnings pushed down from support/,
9007 2003-03-29 John Levon <levon@movementarian.org>
9009 * lyxfunc.C: safety check for C-r (revert)
9011 2003-03-29 John Levon <levon@movementarian.org>
9014 * bufferlist.C: several UI fixes using Alert::prompt.
9015 Fix the pointless looping quit code. Fix stupid revert
9020 * lyx_cb.C: use Alert::prompt
9022 * lyx_main.C: remove a silly question
9024 * lyxfunc.C: remove a couple of silly questions,
9027 2003-03-28 John Levon <levon@movementarian.org>
9029 * text2.C: fix bug 974 (End on empty par)
9031 2003-03-28 John Levon <levon@movementarian.org>
9033 * BufferView_pimpl.C:
9035 * lfuns.h: remove do-nothing math greek lfuns
9037 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9039 * lyxgluelength.h (isValidGlueLength): add default arg on
9040 parameter 2. Remove default arg from friend in class.
9042 * lyxlength.h (isValidLength): add default arg on parameter 2.
9043 Remove default arg from friend in class.
9045 * text2.C (LyXText): adjust, initialize refresh_row.
9049 (insertParagraph): adjst
9050 (redoParagraphs): adjust
9051 (fullRebreak): adjust
9052 (updateCounters): adjust
9053 (deleteEmptyParagraphMechanism): first attempt at fixing a
9056 * text.C (top_y): adjust
9057 (setHeightOfRow): adjust
9059 (getRowNearY): adjust
9061 * lyxtext.h: include RowList.h
9062 (~LyXText): not needed anymore, deleted.
9063 (firstRow): modify for RowList
9064 (lastRow): new function
9065 Delete firstrow and lastrow class variables, add a Rowlist
9066 rowlist_ class variable.
9068 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9071 * RowList.C (insert): fix case where it == begin().
9073 2003-03-26 Angus Leeming <leeming@lyx.org>
9075 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9076 the thesaurus dialog.
9078 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9080 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9082 * RowList.[Ch]: new files
9084 * ParagraphList.C (erase): handle the case where it == begin
9087 2003-03-25 John Levon <levon@movementarian.org>
9091 * aspell.C: add new aspell support
9094 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9097 2003-03-25 Angus Leeming <leeming@lyx.org>
9100 * LyXAction.C (init): new LFUN_INSET_INSERT.
9102 * BufferView_pimpl.C (dispatch): split out part of the
9103 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9105 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9108 2003-03-25 Angus Leeming <leeming@lyx.org>
9110 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9112 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9115 * text3.C: remove useless row->height(0)
9117 2003-03-25 John Levon <levon@movementarian.org>
9121 * text3.C: rename the refreshing stuff to better names
9123 2003-03-24 John Levon <levon@movementarian.org>
9125 * BufferView_pimpl.h:
9126 * BufferView_pimpl.C: update layout choice on a mouse
9129 2003-03-23 John Levon <levon@movementarian.org>
9131 * Makefile.am: fix commandtags.h reference
9133 2003-03-22 John Levon <levon@movementarian.org>
9135 * BufferView_pimpl.C:
9140 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9142 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9145 * text.C: take the rtl methods out of line
9147 2003-03-21 André Pönitz <poenitz@gmx.net>
9149 * metricsinfo.[Ch]: new files containing structures to be passed around
9150 during the two-phase-drawing...
9152 2003-03-21 André Pönitz <poenitz@gmx.net>
9154 * lyxtextclass.C: read 'environment' tag.
9156 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9158 * text2.C (removeRow): fix bug 964
9160 2003-03-20 John Levon <levon@movementarian.org>
9164 * text2.C: paint cleanups. Inset::update() dropped font
9167 2003-03-19 John Levon <levon@movementarian.org>
9169 * lyxfunc.C: only fitcursor/markDirty if available()
9171 2003-03-19 John Levon <levon@movementarian.org>
9173 * commandtags.h: rename to ...
9175 * lfuns.h: ... this, and renumber / cleanup
9177 2003-03-19 John Levon <levon@movementarian.org>
9179 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9180 fit the cursor after an lfun
9184 * BufferView_pimpl.h:
9185 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9187 * LyXAction.C: layout-character should have ReadOnly
9189 * ParagraphParameters.C:
9191 * bufferview_funcs.C:
9198 * undo_funcs.C: changes from above
9200 2003-03-18 John Levon <levon@movementarian.org>
9202 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9203 remove it from update()
9205 * lyxfunc.C: update layout choice after an lfun
9207 * text3.C: remove extra updateLayoutChoice()s
9209 2003-03-18 John Levon <levon@movementarian.org>
9211 * text.C: top_y change means full repaint, fix
9212 a drawing bug with cursor movement
9214 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9218 * text2.C: anchor row on setCursor
9220 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9222 * lyxtext.h: remove almost all mutable keywords
9225 * text3.C: remove const keywords accordingly
9227 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9229 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9231 (TeXEnvironment): ditto
9234 2003-03-17 John Levon <levon@movementarian.org>
9236 * text.C (rowBreakPoint): remove attempt to fix displayed
9237 math insets inside a manual label
9239 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9241 * lyxtext.h: remove BufferView* as first arg from almost all class
9243 * other files: adjust.
9245 2003-03-17 John Levon <levon@movementarian.org>
9249 * text2.C: more paint cleanups
9251 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9254 * rowpainter.C: remove "smart" background painting code
9256 2003-03-16 John Levon <levon@movementarian.org>
9261 * text3.C: add helper functions for setting refresh_row/y
9263 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9265 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9266 newline inset which *can* get inserted in the pass_thru layouts.
9267 This is primarily for literate documents.
9269 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9271 * buffer.C: increment LYX_FORMAT to 223
9273 2003-03-14 André Pönitz <poenitz@gmx.net>
9275 * textclass.h: prepare for environment handling, ws changes
9276 * lyxlayout.C: read latexheader and latexfooter tags
9278 2003-03-14 John Levon <levon@movementarian.org>
9280 * text2.C: rewrite ::status() a bit
9282 2003-03-13 John Levon <levon@movementarian.org>
9284 * lyxtext.h: add some docs
9286 2003-03-13 John Levon <levon@movementarian.org>
9291 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9293 2003-03-13 John Levon <levon@movementarian.org>
9295 * text3.C: fix appendix redrawing
9297 2003-03-13 John Levon <levon@movementarian.org>
9299 * text.C (setHeightOfRow):
9301 * rowpainter.C: make appendix mark have the text
9302 "Appendix" so the user knows what it is
9305 * LColor.C: s/appendixline/appendix/ from above
9307 2003-03-13 John Levon <levon@movementarian.org>
9309 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9311 * text.C: fix a getChar(pos) bug properly
9313 2003-03-13 Angus Leeming <leeming@lyx.org>
9316 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9317 Probably only temporary. Let's see how things pan out.
9319 * BufferView.C (unlockInset):
9320 * BufferView_pimpl.C (fitCursor):
9321 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9323 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9324 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9326 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9327 new functions that convert ParagraphParameters to and from a string.
9329 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9330 BufferView::Pimpl's dispatch.
9331 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9333 2003-03-13 André Pönitz <poenitz@gmx.net>
9337 * factory.C: make it aware of InsetEnv
9339 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9341 * text2.C (setCursor): never ask for one past last
9342 (setCursor): add some debugging messages.
9344 * text.C (singleWidth): never ask for one past last
9345 (singleWidth): ditto
9347 (rightMargin): ditto
9348 (rowBreakPoint): ditto
9349 (setHeightOfRow): ditto
9350 (prepareToPrint): ditto
9352 * rowpainter.C (paintBackground): never ask for one past last
9353 (paintText): never ask for one past last
9355 * paragraph_pimpl.C (getChar): make the assert stricter, never
9356 allow the one past last pos to be taken
9358 * paragraph.C (getChar): ws changes only
9360 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9361 (numberOfSeparators): ditto
9362 (numberOfHfills): ditto
9364 2003-03-12 John Levon <levon@movementarian.org>
9370 * paragraph_funcs.C: fix per-buffer authorlists
9372 2003-03-12 John Levon <levon@movementarian.org>
9374 * text.C: fix newline in right address
9376 2003-03-12 Angus Leeming <leeming@lyx.org>
9378 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9379 duplicate those in LyXFunc::dispatch.
9383 * ToolbarDefaults.C:
9384 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9385 Add LFUN_FONTFREE_UPDATE.
9387 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9388 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9390 * bufferview_func.[Ch]: several new functions to facilliate
9391 transfer of data to and from the character dialog.
9393 2003-03-12 John Levon <levon@movementarian.org>
9398 * paragraph_funcs.C:
9399 * paragraph_pimpl.C:
9403 * text3.C: remove META_NEWLINE in favour of an inset
9406 * rowpainter.C: remove paintNewline (done by inset)
9408 2003-03-12 John Levon <levon@movementarian.org>
9410 * paragraph_pimpl.C: complain about bad getChar()s
9411 for a while at least
9413 2003-03-12 John Levon <levon@movementarian.org>
9416 * buffer.C: move paragraph read into a separate function,
9417 a little renaming to reflect that.
9420 * bufferparams.C: remove the author_ids map, not necessary now
9423 * factory.C: moved Buffer::readInset to here
9425 * paragraph_funcs.h:
9426 * paragraph_funcs.C: readParagraph free function moved from
9429 * tabular.C: name change
9431 2003-03-12 John Levon <levon@movementarian.org>
9434 * ParagraphParameters.C: move par params input to
9437 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9438 behave like a normal read from the stream wrt reading
9439 a line vs. a \\token
9441 2003-03-12 John Levon <levon@movementarian.org>
9444 * ParagraphParameters.h:
9445 * ParagraphParameters.C: move output code to a
9448 2003-03-12 John Levon <levon@movementarian.org>
9450 * BufferView.C (insertLyXFile):
9453 * tabular.C: use a parlist iterator for creating the
9456 2003-03-12 John Levon <levon@movementarian.org>
9458 * buffer.C: make current_change static local not
9461 2003-03-12 John Levon <levon@movementarian.org>
9463 * buffer.C: fix insertStringAsLines for change tracking
9465 2003-03-12 John Levon <levon@movementarian.org>
9472 * bufferparams.C: move author list into params. Rename some
9473 functions. Move the header reading into a separate token
9474 loop. Move the header token reading into BufferParams.
9476 2003-03-12 John Levon <levon@movementarian.org>
9478 * changes.C: put debug inside lyxerr.debugging() checks
9480 2003-03-11 André Pönitz <poenitz@gmx.net>
9482 * factory.C: make it aware of InsetHFill
9484 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9486 * buffer.C (latexParagraphs): move function from here...
9487 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9490 2003-03-10 Angus Leeming <leeming@lyx.org>
9492 * LyXAction.C (init): fix bug in poplating array with multiple entries
9493 with the same LFUN (spotted by JMarc).
9495 2003-03-10 John Levon <levon@movementarian.org>
9498 * text2.C: move getColumnNearX() near its
9501 2003-03-10 John Levon <levon@movementarian.org>
9503 * text.C: fix break before a minipage
9505 2003-03-10 John Levon <levon@movementarian.org>
9507 * text.C: fix the last commit
9509 2003-03-09 John Levon <levon@movementarian.org>
9513 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9514 bug 365 (don't break before insets unless needed). Don't
9515 return a value > last under any circumstances.
9517 2003-03-09 Angus Leeming <leeming@lyx.org>
9519 * BufferView_pimpl.C (trackChanges, dispatch): call
9520 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9522 2003-03-09 Angus Leeming <leeming@lyx.org>
9524 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9525 than Dialogs::showAboutlyx().
9527 2003-03-09 Angus Leeming <leeming@lyx.org>
9529 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9530 than Dialogs::showTabularCreate().
9532 2003-03-09 John Levon <levon@movementarian.org>
9536 * text2.C: 3rd arg to nextBreakPoint was always the same.
9539 2003-03-08 John Levon <levon@movementarian.org>
9546 * text2.C: Remove the "main" bit from the "main body"
9549 2003-03-08 John Levon <levon@movementarian.org>
9551 * text.C (leftMargin): The left margin of an empty
9552 manual label paragraph should not include the label width
9555 * text.C (prepareToPrint): don't attempt to measure hfills
9556 for empty manual label paragraphs - the answer should be 0
9558 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9560 * CutAndPaste.C: remove commented code and reindent.
9562 2003-03-08 John Levon <levon@movementarian.org>
9565 * lyxfunc.C: move reloadBuffer()
9568 * BufferView.C: to here
9570 * lyxvc.C: add comment
9573 * vc-backend.C: call bv->reload() to avoid
9574 getStatus() check on MENURELOAD
9576 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9578 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9579 to an old format .dep file.
9581 2003-03-07 Angus Leeming <leeming@lyx.org>
9583 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9584 when the LFUN_MOUSE_RELEASE should have been handled by
9585 inset->localDispatch.
9587 2003-03-07 Angus Leeming <leeming@lyx.org>
9589 * BufferView_pimpl.C (dispatch):
9590 * LyXAction.C (init):
9591 * ToolbarDefaults.C (init):
9593 * lyxfunc.C (getStatus):
9594 remove LFUN_INSET_GRAPHICS.
9596 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9598 2003-03-07 Angus Leeming <leeming@lyx.org>
9601 * LyXAction.C (init):
9602 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9604 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9607 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9609 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9610 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9612 2003-03-07 Angus Leeming <leeming@lyx.org>
9614 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9617 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9619 * ParagraphList.C (front): new function
9622 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9624 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9625 and top_row_offset_. removed var first_y.
9627 * text2.C (LyXText, removeRow):
9629 * BufferView_pimpl.C:
9630 use these methods instead of using first_y
9632 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9634 * text2.C (pasteSelection): adjust for checkPastePossible
9636 * CutAndPaste.C: remove Paragraph * buf and replace with
9637 ParagraphList paragraphs.
9638 (DeleteBuffer): delete
9639 (cutSelection): change the tc type to textclass_type
9640 (copySelection): change the tc type to textclass_type
9641 (copySelection): adjust for ParagraphList
9642 (pasteSelection): change the tc type to textclass_type
9643 (pasteSelection): adjust for Paragraphlist
9644 (nrOfParagraphs): simplify for ParagraphList
9645 (checkPastePossible): simplify for ParagraphList
9646 (checkPastePossible): remove unused arg
9648 * ParagraphList.C (insert): handle the case where there are no
9651 * CutAndPaste.h: make CutAndPaste a namespace.
9653 * text3.C (dispatch): adjust
9655 * text.C (breakParagraph): add a ParagraphList as arg
9657 * paragraph_funcs.C (breakParagraph): change to take a
9658 BufferParams and a ParagraphList as args.
9659 (breakParagraphConservative): ditto
9660 (mergeParagraph): ditto
9661 (TeXDeeper): add a ParagraphList arg
9662 (TeXEnvironment): ditto
9665 * buffer.C (readLyXformat2): adjust
9666 (insertStringAsLines): adjust
9667 (latexParagraphs): adjust
9669 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9670 (cutSelection): adjust
9671 (pasteSelection): adjust
9673 * BufferView_pimpl.C (insertInset): adjust
9675 2003-03-05 Angus Leeming <leeming@lyx.org>
9678 * LyXAction.C (init):
9679 * BufferView_pimpl.C (dispatch):
9680 * lyxfunc.C (getStatus):
9681 remove LFUN_CHILD_INSERT.
9683 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9685 2003-03-05 Angus Leeming <leeming@lyx.org>
9688 * LyXAction.C (init):
9689 * src/factory.C (createInset):
9690 * lyxfunc.C (getStatus):
9691 * text3.C (dispatch):
9692 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9694 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9696 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9698 * ParagraphList.C (insert): handle insert right before end()
9699 (erase): fix cases where it can be first or last paragraph.
9701 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9703 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9704 Paragraph::next and Paragraph::previous
9707 * text.C (breakParagraph): adjust
9709 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9710 BufferParams& as arg.
9711 (breakParagraph): use ParagraphList::insert
9712 (breakParagraphConservative): take a Buffer* instead of a
9713 BufferParams& as arg.
9714 (breakParagraphConservative): use ParagraphList::insert.
9716 * buffer.C (insertStringAsLines): un-const it
9717 (insertStringAsLines): adjust
9719 * ParagraphList.C (insert): new function
9721 * CutAndPaste.C (pasteSelection): adjust
9723 * text.C (backspace): adjust
9725 * tabular.C (SetMultiColumn): adjust
9727 * CutAndPaste.C (cutSelection): adjust
9728 (pasteSelection): adjust
9730 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9731 Buffer const * as arg
9733 * ParagraphList.C (erase): new function
9734 * paragraph_funcs.C (mergeParagraph): use it
9735 (mergeParagraph): make it take a Buffer* instead of a
9736 BufferParams* as arg
9738 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9740 (breakParagraphConservative): ditto
9742 * paragraph.h: remove the breakParagraph friend
9744 * paragraph.C (eraseIntern): new function
9745 (setChange): new function
9747 * paragraph_funcs.C (mergeParagraph): make it take a
9748 ParagraphList::iterator instead of a Paragraph *, adjust
9751 * paragraph.h: move an #endif so that the change tracking stuff
9752 also works in the NO_NEXT case.
9754 2003-03-04 Angus Leeming <leeming@lyx.org>
9757 * LyXAction.C: new LFUN_INSET_MODIFY.
9759 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9760 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9762 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9764 * several files: ws changes only
9766 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9767 (TeXEnvironment): ditto
9770 * buffer.C (makeLaTeXFile): adjust
9771 (latexParagraphs): make it take ParagraphList::iterator as args
9773 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9775 * buffer.C (latexParagraphs): adjust
9777 * paragraph.C (TeXOnePar): move function...
9778 (optArgInset): move function...
9779 (TeXEnvironment): move function...
9780 * paragraph_pimpl.C (TeXDeeper): move function...
9781 * paragraph_funcs.C: ...here
9783 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9785 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9787 * buffer.C (readInset): remove compability code for old Figure and
9790 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9792 * buffer.C: ws changes
9795 * BufferView_pimpl.C: ditto
9798 * bufferlist.h: ditto
9802 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9804 * converter.[Ch]: split into itself +
9807 * Makefile.am: += graph.[Ch] + format.[Ch]
9814 * lyxrc.C: added #include "format.h"
9816 2003-02-27 Angus Leeming <leeming@lyx.org>
9818 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9821 * factory.C (createInset): add "label" to the factory.
9823 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9824 string and do no more.
9826 2003-02-27 Angus Leeming <leeming@lyx.org>
9829 * LyXAction.C (init):
9830 * factory.C (createInset):
9831 * BufferView_pimpl.C (dispatch):
9832 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9834 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9836 * lyxfunc.C (dispatch):
9837 * text3.C (dispatch): pass name to params2string.
9839 2003-02-26 Angus Leeming <leeming@lyx.org>
9841 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9843 Rearrange the ~includes. Strip out the unnecessary ones.
9845 * factory.C (createInset): reformat.
9846 create new insets for the various LFUN_XYZ_APPLY lfuns.
9848 2003-02-26 John Levon <levon@movementarian.org>
9851 * lyxrow.C: add isParStart,isParEnd helpers
9853 * paragraph.h: make isInserted/DeletedText take refs
9855 * paragraph_funcs.h:
9856 * paragraph_funcs.C: remove #if 0'd code
9861 * text.C: use lyxrow helpers above.
9862 Move draw and paint routines to RowPainter.
9863 Make several methods use refs not pointers.
9864 Make backgroundColor() const.
9865 Add markChangeInDraw(), isInInset().
9866 Merge changeRegionCase into changeCase.
9867 Make workWidth() shouldn't-happen code into an Assert.
9870 * rowpainter.C: new class for painting a row.
9873 * vspace.C: make inPixels take a ref
9875 2003-02-26 Angus Leeming <leeming@lyx.org>
9877 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9880 2003-02-25 John Levon <levon@movementarian.org>
9882 * ispell.C: give the forked command a more accurate name
9884 2003-02-22 John Levon <levon@movementarian.org>
9887 * toc.C: make TocItem store an id not a Paragraph *
9890 2003-02-21 Angus Leeming <leeming@lyx.org>
9892 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9893 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9894 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9895 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9896 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9897 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9899 * BufferView_pimpl.C (dispatch):
9900 * LyXAction.C (init):
9901 * factory.C (createInset):
9902 * lyxfunc.C (getStatus, dispatch):
9903 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9905 2003-02-21 Angus Leeming <leeming@lyx.org>
9907 * BufferView_pimpl.C (MenuInsertLyXFile):
9908 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9909 * lyxfunc.C (menuNew, open, doImport):
9910 no longer pass a LyXView & to fileDlg.
9912 2003-02-21 Angus Leeming <leeming@lyx.org>
9914 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9915 * LyXAction.C: change, BIBKEY to BIBITEM.
9916 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9917 Change InsetBibKey to InsetBibitem.
9918 Change BIBKEY_CODE to BIBITEM_CODE.
9919 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9920 * factory.C: replace insetbib.h with insetbibitem.h.
9921 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9922 * paragraph.C: replace insetbib.h with insetbibitem.h.
9923 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9924 Change bibkey() to bibitem().
9925 * text.C: remove insetbib.h.
9926 * text2.C: replace insetbib.h with insetbibitem.h.
9927 change bibkey() to bibitem().
9928 * text3.C: remove insetbib.h.
9929 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9931 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9933 * lyxrc.C (output): enclose user email in quotes (in case there are
9936 2003-02-18 John Levon <levon@movementarian.org>
9938 * buffer.h: add std::
9940 2003-02-17 John Levon <levon@movementarian.org>
9946 * pspell.C: reworking. Especially in ispell, a large
9947 number of clean ups and bug fixes.
9949 * lyxfunc.C: fix revert to behave sensibly
9951 2003-02-17 André Pönitz <poenitz@gmx.net>
9954 * commandtags.h: new LFUN_INSERT_BIBKEY
9964 * paragraph_func.C: remove special bibkey handling
9966 2003-02-17 John Levon <levon@movementarian.org>
9968 * text.C (Delete): fix case where delete at the end of
9969 the very first paragraph would not merge the pars
9971 2003-02-17 John Levon <levon@movementarian.org>
9973 * lyxrow.C: fix lastPrintablePos()
9975 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9977 * bufferparams.C (writeLaTeX): add a std:here
9979 * buffer.C: and remove a using directive there
9981 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9983 * buffer.C (makeLaTeXFile): move the code that generates the
9986 * bufferparams.C (writeLaTeX): ... in this new method
9988 * LaTeXFeatures.C (getEncodingSet): make const
9989 (getLanguages): make const
9991 * MenuBackend.C (binding): returns the binding associated to this
9993 (add): sets the status of each item by calling getStatus. Adds
9995 (read): add support for OptSubMenu
9996 (expand): remove extra separator at the end of expanded menu
9998 2003-02-15 John Levon <levon@movementarian.org>
10001 * BufferView_pimpl.C:
10003 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10004 inset code that had no actual effect. Remove unneeded status
10007 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10009 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10012 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10014 * text.C (drawLengthMarker): also draw an arrow marker for
10015 symbolic lengths (medskip...)
10017 2003-02-14 John Levon <levon@movementarian.org>
10020 * tabular.C: better method names
10022 2003-02-14 John Levon <levon@movementarian.org>
10024 * BufferView_pimpl.C:
10029 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10030 it's a more accurate name. Remove some pointless uses.
10032 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10034 * text2.C (LyXText): change order of initilizers to shut off
10037 2003-02-14 John Levon <levon@movementarian.org>
10039 * buffer.C: use ParIterator for getParFromID()
10043 * paragraph_pimpl.h:
10044 * paragraph_pimpl.C: remove unused getParFromID()
10046 2003-02-14 John Levon <levon@movementarian.org>
10048 * buffer.C: remove some very old #if 0'd parse code
10050 2003-02-13 John Levon <levon@movementarian.org>
10054 * text2.C: move hfillExpansion(), numberOfSeparators(),
10055 rowLast(), rowLastPrintable(), numberofHfills(),
10056 numberOfLabelHfills() ...
10059 * lyxrow.C: ... to member functions here.
10064 * text.C: remove LyXText::beginningOfMainBody(), and call
10065 p->beginningOfMainBody() directly. Move the check for
10066 LABEL_MANUAL into the latter.
10073 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10079 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10080 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10082 2003-02-13 John Levon <levon@movementarian.org>
10084 * CutAndPaste.C: remove debug
10086 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10088 * paragraph.C (asString): remove two unused variables
10090 * lyxtextclass.C (readTitleType):
10092 (LyXTextClass): handle new members titletype_ and titlename_
10094 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10096 2003-02-09 John Levon <levon@movementarian.org>
10099 * buffer.C: replace hand-coded list with a map for the dep clean
10101 2003-02-08 John Levon <levon@movementarian.org>
10103 * LaTeX.C: consolidate code into showRunMessage() helper
10105 2003-02-08 John Levon <levon@movementarian.org>
10110 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10111 and pass the size in explicitly
10113 * BufferView_pimpl.h:
10114 * BufferView_pimpl.C:
10116 * BufferView.C: add getCurrentChange()
10118 * BufferView_pimpl.h:
10119 * BufferView_pimpl.C: handle change lfuns
10121 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10122 for changes. Mark pasted paragraphs as new.
10124 * support/lyxtime.h:
10125 * support/lyxtime.C:
10126 * DepTable.C: abstract time_t as lyx::time_type
10129 * LColor.C: add colours for new text, deleted text, changebars
10131 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10132 package use "usenames" option.
10136 * LyXAction.C: add change lfuns
10140 * author.C: author handling
10143 * buffer.C: add a per-buffer author list, with first entry as
10144 current author. Handle new .lyx tokens for change tracking. Output
10145 author list to .lyx file. Output dvipost stuff to .tex preamble.
10146 Bump lyx format to 222.
10149 * bufferlist.C: add setCurrentAuthor() to reset current author details
10153 * bufferparams.C: add param for tracking
10155 * bufferview_funcs.C: output change info in minibuffer
10159 * changes.C: add change-tracking structure
10162 * debug.C: add CHANGES debug flag
10165 * lyxfind.C: add code for finding the next change piece
10168 * lyxrc.C: add user_name and user_email
10171 * lyxrow.C: add a metric for the top of the text line
10174 * text.C: implement accept/rejectChange()
10177 * text.C: paint changebars. Paint new/deleted text in the chosen
10178 colours. Strike through deleted text.
10182 * paragraph_pimpl.h:
10183 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10184 in the current change to the insert functions. Rework erase to
10185 mark text as deleted, adding an eraseIntern() and a range-based
10186 erase(). Implement per-paragraph change lookup and
10189 * paragraph_funcs.C: Fixup paste for change tracking.
10191 * tabular.C: mark added row/columns as new.
10193 * text.C: fix rowLast() to never return -1. Don't allow
10194 spellchecking of deleted text. Track transpose changes. Don't
10195 allow paragraph break or merge where appropriate.
10197 * text2.C: leave cursor at end of selection after a cut.
10199 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10201 * text.C (getLengthMarkerHeight):
10202 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10203 visible on screen too.
10205 2003-02-07 John Levon <levon@movementarian.org>
10207 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10209 2003-02-05 Angus Leeming <leeming@lyx.org>
10211 * lyxserver.C (read_ready): revert my patch of 11 September last year
10212 as it sends PC cpu through the roof. Presumably this means that
10213 the lyxserver will no longer run on an Alpha...
10215 2003-01-30 Angus Leeming <leeming@lyx.org>
10217 * factory.C (createInset): create an InsetCommandParam of type "index"
10218 and use it to 'do the right thing'.
10220 * text2.C (getStringToIndex): ensure that cursor position is always
10221 reset to the reset_cursor position.
10223 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10225 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10228 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10232 * lyxfunc.C: Output messages with identical spelling, punctuation,
10235 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10237 * MenuBackend.C (expandFormats): List only viewable export formats
10240 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10243 * lyxfunc.C (getStatus): Make sure that formats other than
10244 "fax" can also be disabled
10246 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10248 * text3.C (dispatch): put the lfuns that insert insets in 3
10249 groups, and call doInsertInset with appropriate arguments.
10250 (doInsertInset): new function, that creates an inset and inserts
10251 it according to some boolean parameters.
10253 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10255 * buffer.C (readFile): remember to pass on 'par' when calling
10256 readFile recursively.
10258 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10260 * MenuBackend.C (expandFormats): add "..." to import formats.
10262 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10264 * paragraph.C (asString): Remove XForms RTL hacks.
10266 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10267 * buffer.C: fix typo
10269 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10271 * Makefile.am (LIBS): delete var
10272 (lyx_LDADD): add @LIBS@ here instead.
10274 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10276 * Clarify the meaning of "wheel mouse jump"
10278 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10280 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10283 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10285 * importer.C (Loaders): do not preallocate 3 elements in the
10286 vector, since one ends up with 6 elements otherwise
10288 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10290 * DepTable.C (write): write the file name as last element of the
10291 .dep file (because it may contain spaces)
10292 (read): read info in the right order
10294 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10296 * paragraph_pimpl.C (simpleTeXBlanks):
10297 (simpleTeXSpecialChars):
10298 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10300 * tabular.C (latex): add some missing case statements. Reindent.
10302 * MenuBackend.C (expandToc): remove unused variable.
10304 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10313 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10316 2003-01-05 John Levon <levon@movementarian.org>
10319 * BufferView.C: add getEncoding()
10322 * kbsequence.C: do not store last keypress
10325 * lyxfunc.C: store last keypress here instead. Pass encoding
10328 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10330 * lyx_main.C (init): remove annoying error message when following
10331 symbolic links (bug #780)
10333 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10335 * text.C (insertChar):
10336 * lyxrc.C (getDescription): remove extra spaces
10338 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10340 * lyxrc.C (getDescription): remove extra spaces
10342 2002-12-20 John Levon <levon@movementarian.org>
10344 * text3.C: hack fix for page up/down across tall rows
10346 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10348 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10351 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10353 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10354 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10355 thesaurus is not compiled in
10357 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10359 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10361 2002-12-16 Angus Leeming <leeming@lyx.org>
10364 * lyx_main.C (init): remove override_x_deadkeys stuff.
10366 2002-12-12 John Levon <levon@movementarian.org>
10368 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10369 insert. Only remove shift modifier under strict
10372 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10374 * MenuBackend.C (expandToc): fix crash.
10376 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10378 * MenuBackend.C (expandToc): gettext on float names.
10380 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10382 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10383 implement bool empty() [bug 490]
10385 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10387 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10389 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10391 * several files: ws changes
10393 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10395 * text2.C (setCounter): clean up a bit, use boost.format.
10396 (updateCounters): initialize par upon declaration.
10398 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10399 if the layout exists. We do not just store the layout any more.
10400 (SwitchLayoutsBetweenClasses): use boost.format
10402 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10404 * converter.C (convert): if from and to files are the same, use a
10405 temporary files as intermediary
10407 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10410 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10412 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10414 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10416 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10418 * tabular.C (asciiPrintCell): use string(size, char) instead of
10421 * sgml.C (openTag): fix order of arguments to string constructor
10424 * lyxfunc.C (dispatch): use boost.format
10426 * lots of files: change "c" -> 'c'
10428 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10430 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10432 2002-11-25 Angus Leeming <leeming@lyx.org>
10434 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10436 * lyx_main.C (init): compile fix.
10438 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10440 * lyx_cb.C (start): boost.formatify
10441 do not include <iostream>
10443 * lengthcommon.C: ws only
10445 * boost-inst.C,BoostFormat.h: add more explict instantations
10447 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10449 * lots of files: handle USE_BOOST_FORMAT
10451 2002-11-21 John Levon <levon@movementarian.org>
10453 * pspell.C: fix compile
10455 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10457 * lyxfunc.C (dispatch): use boost::format
10461 * lyxfont.C (stateText): use boost::format
10463 * lyx_main.C (LyX): use boost::format
10465 (queryUserLyXDir): ditto
10466 (readRcFile): ditto
10468 (typedef boost::function): use the recommened syntax.
10470 * importer.C (Import): use boost::format
10472 * debug.C (showLevel): use boost::format
10474 * converter.C (view): use boost::format
10479 * bufferview_funcs.C (currentState): use boost::format
10481 * bufferlist.C (emergencyWrite): use boost::format
10483 * buffer.C (readLyXformat2): use boost::format
10484 (parseSingleLyXformat2Token): ditto
10486 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10488 * LaTeX.C (run): use boost::format
10490 * Chktex.C (scanLogFile): use boost::format
10492 * BufferView_pimpl.C (savePosition): use boost::format
10493 (restorePosition): ditto
10494 (MenuInsertLyXFile): ditto
10496 * BoostFormat.h: help file for explicit instation.
10498 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10500 * tabular.C (latex): Support for block alignment in fixed width
10503 2002-11-17 John Levon <levon@movementarian.org>
10505 * BufferView_pimpl.C:
10507 * lyxfunc.C: split filedialog into open/save
10509 2002-11-08 Juergen Vigna <jug@sad.it>
10511 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10512 by my last patch (hopefully).
10514 2002-11-08 John Levon <levon@movementarian.org>
10523 * toc.C: ParConstIterator, and use it (from Lars)
10525 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10527 * lyxtextclass.[Ch]: revise and add doxygen comments
10529 2002-11-07 John Levon <levon@movementarian.org>
10531 * text.C: fix progress value for spellchecker
10533 * toc.C: fix navigate menu for insetwrap inside minipage
10535 * paragraph_funcs.C: added FIXME for suspect code
10537 2002-11-07 John Levon <levon@movementarian.org>
10539 * BufferView_pimpl.C: fix redrawing of insets
10542 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10544 * text2.C (updateCounters): fix bug 668
10546 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10548 * text3.C (dispatch): Do not make the buffer dirty when moving the
10551 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10553 * vc-backend.C: STRCONV
10554 (scanMaster): ditto
10556 * text2.C (setCounter): STRCONV
10558 * paragraph.C (asString): STRCONV
10560 * lyxlength.C (asString): STRCONV
10561 (asLatexString): ditto
10563 * lyxgluelength.C (asString): STRCONV
10564 (asLatexString): ditto
10566 * lyxfunc.C (dispatch): STRCONV
10569 * lyxfont.C (stateText): STRCONV
10571 * importer.C (Import): STRCONV
10573 * counters.C (labelItem): STRCONV
10574 (numberLabel): ditto
10575 (numberLabel): remove unused ostringstream o
10580 * bufferview_funcs.C (currentState): STRCONV
10582 * buffer.C (readFile): STRCONV
10583 (asciiParagraph): ditto
10584 (makeLaTeXFile): ditto
10586 * Spacing.C (writeEnvirBegin): STRCONV
10588 * LaTeXFeatures.C (getLanguages): STRCONV
10589 (getPackages): ditto
10591 (getBabelOptions): ditto
10592 (getTClassPreamble): ditto
10593 (getLyXSGMLEntities): ditto
10594 (getIncludedFiles): ditto
10598 (scanAuxFile): ditto
10601 * LString.h: add the STRCONV macros
10603 * BufferView_pimpl.C (savePosition): STRCONV
10604 (restorePosition): ditto
10605 (MenuInsertLyXFile): ditto
10607 * vc-backend.C (scanMaster): change from submatch[...] to
10610 * funcrequest.C: include config.h
10612 * factory.C: include config.h
10614 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10616 * box.C: include config.h
10618 * LaTeX.C (scanAuxFile): change from submatch[...] to
10622 2002-10-25 Angus Leeming <leeming@lyx.org>
10624 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10626 * ispell.[Ch] (setError): new method.
10627 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10628 Use setError() insetead of goto END.
10630 * lyx_cb.C (AutoSave): move out child process into new class
10633 2002-10-30 John Levon <levon@movementarian.org>
10635 * text3.C: make start appendix undoable
10637 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10639 * lyxlength.C (inPixels): Fix returned value.
10641 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10644 2002-10-24 Angus Leeming <leeming@lyx.org>
10646 * lyxgluelength.h: no need to forward declare BufferParams
10647 or BufferView, so don't.
10649 2002-10-21 John Levon <levon@movementarian.org>
10651 * BufferView.C: menuUndo ->undo, redo
10653 * BufferView.h: document, remove dead, make some methods private
10655 * paragraph_funcs.h:
10656 * paragraph_funcs.C:
10657 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10662 * sgml.C: move sgml open/close tag into sgml.C
10664 * bufferview_funcs.h: unused prototype
10667 * lyxfunc.C: remove unused
10670 * text.C: remove unused
10672 2002-10-21 John Levon <levon@movementarian.org>
10676 * BufferView_pimpl.h:
10677 * BufferView_pimpl.C: fix mouse wheel handling based on
10678 patch from Darren Freeman
10680 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10682 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10684 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10686 * lyxlength.C (inPixels): Fix hanfling of negative length.
10687 Fix LyXLength::MU case.
10689 2002-10-16 John Levon <levon@movementarian.org>
10691 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10693 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10695 * converter.C (view): add support for $$i (file name) and $$p
10696 (file path) for the viewer command. If $$i is not specified, then
10697 it is appended to the command (for compatibility with old syntax)
10699 2002-10-14 Juergen Vigna <jug@sad.it>
10701 * undo_funcs.C (textHandleUndo): alter the order in which the
10702 new undopar is added to the LyXText, as we have to set first
10703 the right prev/next and then add it as otherwise the rebuild of
10704 LyXText is not correct. Also reset the cursor to the right paragraph,
10705 with this IMO we could remove the hack in "redoParagraphs()".
10707 2002-10-09 Angus Leeming <leeming@lyx.org>
10709 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10710 to turn off an optimisation if a new inset is to be inserted.
10712 2002-10-11 André Pönitz <poenitz@gmx.net>
10714 * lyxtext.h: make some functions public to allow access
10715 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10717 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10719 * text3.C (dispatch): when changing layout, avoid an infinite loop
10722 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10724 * lyxrc.C (read): treat a viewer or converter command of "none" as
10727 * MenuBackend.C (expandFormats): for an update, also allow the
10728 formats that are not viewable
10730 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10731 script if it is newer than the lyxrc.defaults in user directory
10733 2002-10-07 André Pönitz <poenitz@gmx.net>
10735 * text.C: Vitaly Lipatov's small i18n fix
10737 2002-09-25 Angus Leeming <leeming@lyx.org>
10739 * ispell.h: doxygen fix.
10741 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10743 * buffer.h (readFile): Add a new argument to the method, to allow
10744 reading of old-format templates.
10746 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10748 * toc.C (getTocList): Get TOC from InsetWrap.
10750 2002-09-16 John Levon <levon@movementarian.org>
10752 * lyxfunc.C: check tabular for cut/copy too
10754 2002-09-12 John Levon <levon@movementarian.org>
10756 * LyXAction.C: tidy
10759 * factory.C: add header
10761 * paragraph_funcs.h:
10762 * paragraph_funcs.C: cleanup
10764 2002-09-11 John Levon <levon@movementarian.org>
10766 * PrinterParams.h: odd/even default to true
10768 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10770 * PrinterParams.h: update printer parameters for new xforms dialog
10772 2002-09-11 Angus Leeming <leeming@lyx.org>
10774 * lyxserver.C (read_ready): re-write to make it more transparent
10775 and to make it work in coherent fashion under Tru64 Unix.
10777 2002-09-11 André Pönitz <poenitz@gmx.net>
10781 * text3.C: implement LFUN_WORDSEL
10783 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10785 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10786 make floatlist_ a boost::shared_ptr<FloatList>
10788 * lyxtextclass.C: include FloatList.h
10789 (LyXTextClass): initialize floatlist_
10790 (TextClassTags): add TC_NOFLOAT
10791 (Read): match "nofloat" to TC_NOFLOAT and use it.
10792 (readFloat): modify call to floatlist_
10796 * FloatList.[Ch] (FloatList): remove commented out float
10798 (erase): new function
10800 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10802 * MenuBackend.C (expandToc): fix crash when there is no document
10805 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10807 * many files: Add insetwrap.
10809 2002-09-09 John Levon <levon@movementarian.org>
10811 * text2.C: remove confusing and awkward depth wraparound
10813 2002-09-09 John Levon <levon@movementarian.org>
10815 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10818 * buffer.C: remove getIncludeonlyList()
10821 * lyxfunc.C: remove headers
10823 2002-09-09 Juergen Vigna <jug@sad.it>
10825 * text.C (getColumnNearX): fix form Michael this is most
10826 probably a cut&paste bug.
10828 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10830 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10832 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10833 references, ws changes.
10835 * text2.C (init): update counters after init
10836 (insertParagraph): no need to set counter on idividual paragraphs.
10837 (setCounter): access the counters object in the textclass object
10838 on in the buffer object.
10839 (updateCounters): ditto
10841 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10842 shared_ptr<Counters> to avoid loading counters.h in all
10844 (LyXTextClass): initialize ctrs_
10845 (TextClassTags): add TC_COUNTER, and ...
10846 (Read): use it here.
10847 (CounterTags): new tags
10848 (readCounter): new function
10849 (counters): new funtion
10850 (defaultLayoutName): return a const reference
10852 * counters.C (Counters): remove contructor
10853 (newCounter): remove a couple of unneeded statements.
10854 (newCounter): simplify a bit.
10855 (numberLabel): some small formatting changes.
10857 * buffer.[Ch]: remove all traces of counters, move the Counters
10858 object to the LyXTextClass.
10860 2002-09-06 Alain Castera <castera@in2p3.fr>
10862 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10863 package to set the horizontal alignment on fixed width columns.
10866 * lyx_sty.h: added tabularnewline macro def.
10868 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10870 2002-09-06 John Levon <levon@movementarian.org>
10872 * LyXAction.C: tooltips for sub/superscript
10874 * MenuBackend.C: a bit more verbose
10876 * lyxfunc.C: tiny clean
10878 * undo_funcs.C: document undo_frozen
10880 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10882 * counters.C (Counters): add missing algorithm counter.
10884 * text2.C (setCounter): lookup the counter with layouts latexname
10885 instead of by section number.
10886 (setCounter): use a hackish way to lookup the correct enum
10888 a float name->type change
10889 reset enum couners with counter name directly instead of depth value.
10891 * counters.C (Counters): remove the push_backs, change to use the
10892 float type not the float name.
10893 (labelItem): remove unused string, float name->type change
10895 * counters.h: don't include vector, loose the enums and sects vectors
10897 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10899 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10900 (Read): add float->TC_FLOAT to textclassTags
10901 (Read): and handle it in the switch
10902 (readFloat): new function
10904 * FloatList.C (FloatList): comment out the hardcoded float
10907 * lyxlayout.h: ws change.
10909 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10911 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10913 2002-09-03 Angus Leeming <leeming@lyx.org>
10915 * BufferView_pimpl.h: qualified name is not allowed in member
10916 declaration: WorkArea & Pimpl::workarea() const;
10918 * factory.C: added using std::endl directive.
10920 * text3.C: added using std::find and std::vector directives.
10922 2002-08-29 André Pönitz <poenitz@gmx.net>
10925 * text2.C: remove unused member number_of_rows
10928 * BufferView2.C: remove file, move contents to...
10929 * BufferView.C: ... here
10931 * BufferView_pimpl.C:
10932 * factory.C: move more inset creation to factory
10934 * vspace.C: avoid direct usage of LyXText, ws changes
10937 don't provide direct access to WorkArea, use two simple
10938 acessors haveSelction() and workHeight() instead
10941 2002-08-29 John Levon <levon@movementarian.org>
10943 * BufferView_pimpl.C (dispatch): do not continue when
10946 2002-08-28 André Pönitz <poenitz@gmx.net>
10948 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10951 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10953 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10955 * buffer.C: increment LYX_FORMAT to 221
10957 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10958 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10960 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10962 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10964 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10966 * factory.C (createInset): use LyXTextClass::floats
10968 * MenuBackend.C (expandFloatListInsert):
10969 (expandFloatInsert):
10972 * text2.C (setCounter):
10974 * LaTeXFeatures.C (useFloat):
10975 (getFloatDefinitions):
10977 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10979 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10980 floatlist_, with accessor floats().
10982 * FloatList.h: remove global FloatList
10984 2002-08-26 André Pönitz <poenitz@gmx.net>
10986 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10990 * BufferView_pimpl.C:
10991 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10993 2002-08-25 John Levon <levon@movementarian.org>
10995 * LyXAction.C: fix margin note description
10997 2002-08-24 John Levon <levon@movementarian.org>
11001 * bufferview_funcs.C:
11003 * undo_funcs.C: cleanups
11005 * lyxfunc.C: disable CUT/COPY when no selection
11007 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11009 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11010 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11012 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11013 Add backward compatibility to "mono", "gray" and "no".
11015 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11017 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11018 (and file_format >= 200).
11020 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11022 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11024 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11026 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11028 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11030 * BufferView_pimpl.C:
11037 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11038 inset and code to make it work with the paragraph code. The inset
11039 can be anywhere in the paragraph, but will only do the expected
11040 thing in LaTeX if the layout file contains the parameter line
11042 (or more generally, a nonzero value) for that layout.
11044 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11046 * paragraph.h: remove the declaration of undefined counters class
11049 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11051 * text2.C (setCounter): fixed enumeration mis-count as reported by
11052 Dr. Richard Hawkins.
11054 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11056 * paragraph_funcs.h: remove some unneeded includes
11058 * text.C (backspace): pasteParagraph now in global scipe
11060 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11061 (pasteSelection): ditto
11063 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11064 * paragraph_funcs.C (pasteParagraph): ... here
11066 2002-08-20 André Pönitz <poenitz@gmx.net>
11068 * commandtags.h: new LFUNs for swapping/copying table row/colums
11071 * lyxfunc.C: support for new lfuns
11073 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11076 * buffer.[Ch]: remove NO_COMPABILITY stuff
11078 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11080 * boost.C (throw_exception): new file, with helper function for
11081 boost compiled without exceptions.
11086 * ParameterStruct.h:
11087 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11089 * bufferlist.C (emergencyWriteAll): use boost bind
11091 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11093 * text.C: include paragraph_funcs.h
11094 (breakParagraph): breakParagraph is now in global scope
11096 * paragraph_funcs.[Ch]: new files
11098 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11101 * buffer.C: include paragraph_funcs.h
11102 (insertStringAsLines): breakParagraph is now in global scope
11104 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11107 * CutAndPaste.C: include paragraph_funcs.h
11108 (cutSelection): breakParagraphConservative is now in global scope
11109 (pasteSelection): ditto
11111 * buffer.h: declare oprator== and operator!= for
11112 Buffer::inset_iterator
11114 * bufferlist.C (emergencyWrite): don't use fmt(...)
11116 * text3.C: add using std::endl
11118 * BufferView.C (moveCursorUpdate): remove default arg
11120 2002-08-20 André Pönitz <poenitz@gmx.net>
11122 * buffer.[Ch]: move inline functions to .C
11125 * BufferView_pimpl.C:
11127 * buffer.[Ch]: use improved inset_iterator
11130 * paragraph.[Ch]: write one paragraph at a time
11132 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11134 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11135 style if style is not specified.
11137 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11139 * text2.C (setCounter): when searching for right label for a
11140 caption, make sure to recurse to parent insets (so that a caption
11141 in a minipage in a figure float works) (bug #568)
11143 2002-08-20 André Pönitz <poenitz@gmx.net>
11145 * text3.C: new file for LyXText::dispatch() and helpers
11147 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11149 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11151 2002-08-19 André Pönitz <poenitz@gmx.net>
11154 * text.C: new LyXText::dispatch()
11156 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11158 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11160 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11162 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11165 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11167 * Makefile.am: use $(variables) instead of @substitutions@
11169 2002-08-15 André Pönitz <poenitz@gmx.net>
11172 * BufferView_pimpl.C: streamlining mathed <-> outer world
11176 * LyXAction.C: remove unused LFUN_MATH
11178 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11180 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11182 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11184 * paragraph.C (Paragraph): reformat a bit
11185 (cutIntoMinibuffer): use builtin InsetList function instad of
11189 * buffer.C: include boost/bind.hpp, add using std::for_each
11190 (writeFileAscii): use ParagraphList iterators
11191 (validate): use for_each for validate traversal of paragraphs
11192 (getBibkeyList): use ParagraphList iterators
11193 (resizeInsets): use for_each to resizeInsetsLyXText for all
11195 (getParFromID): use ParagraphList iterators
11197 * BufferView2.C (lockInset): use paragraph list and iterators
11199 2002-08-14 John Levon <levon@movementarian.org>
11201 * lyxserver.C: remove spurious xforms include
11203 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11205 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11207 2002-08-13 André Pönitz <poenitz@gmx.net>
11210 * lyxfunc.C: further cleaning
11212 2002-08-13 André Pönitz <poenitz@gmx.net>
11214 * funcrequest.h: new constructor
11216 * funcrequest.C: move stuff here from .h
11219 * BufferView_pimpl.C:
11222 * lyxfunc.C: subsequent changes
11224 * lyxfunc.h: new view() member function
11226 * lyxfunc.C: subsequent changes
11228 2002-08-13 Angus Leeming <leeming@lyx.org>
11231 * BufferView_pimpl.C:
11239 changes due to the changed LyXView interface that now returns references
11240 to member variables not pointers.
11242 2002-08-13 Angus Leeming <leeming@lyx.org>
11244 * WordLangTuple (word, lang_code): return references to strings,
11249 * lyxtext.h: forward-declare WordLangTuple.
11254 * text.C: #include "WordLangTuple.h".
11257 * text.C: (selectNextWordToSpellcheck): constify return type.
11259 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11265 * paragraph_pimpl.h:
11268 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11269 suggested by Angus.
11270 Made updateCounter always count from start of buffer, and removed
11271 second argument (par).
11272 Reverted floats number display to '#'. Perhaps I'll try again when the
11273 code base is sanitized a bit.
11275 2002-08-12 Angus Leeming <leeming@lyx.org>
11277 * buffer.[Ch] (getLabelList): constify.
11279 2002-08-07 André Pönitz <poenitz@gmx.net>
11281 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11283 * funcrequest.h: extension to keep mouse (x,y) position
11285 2002-08-12 Juergen Vigna <jug@sad.it>
11287 * BufferView2.C (insertErrors): forbid undo when inserting error
11290 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11292 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11294 * ParagraphList.[Ch]: new files
11296 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11298 * BufferView2.C (lockInset): ParagraphList changes
11301 * bufferlist.C: ditto
11305 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11307 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11308 unused class variable counter_,
11310 * paragraph.[Ch] (getFirstCounter): delete unused function
11312 * counters.C: include LAssert.h
11313 (reset): add a new function with no arg, change other version to
11314 not have def. arg and to not allow empty arg.
11316 * text2.C (setCounter): remove empty arg from call to Counters::reset
11318 2002-08-11 John Levon <levon@movementarian.org>
11320 * Makefile.am: add WordLangTuple.h
11322 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11324 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11325 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11327 * insets/insettext.C: InsetList changes
11329 * graphics/GraphicsSupport.C (operator()): InsetList changes
11331 * toc.C (getTocList): InsetList changes
11333 * paragraph_pimpl.[Ch]: InsetList changes
11335 * paragraph.[Ch]: InsetList changes
11337 * buffer.C (inset_iterator): InsetList changes
11338 (setParagraph): ditto
11339 * buffer.h (inset_iterator): ditto
11340 * iterators.C (operator++): ditto
11341 * iterators.h: ditto
11343 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11345 * InsetList.[Ch]: new files, most InsetList handling moved out of
11348 * BufferView2.C (removeAutoInsets): InsetList changes
11350 (ChangeInsets): ditto
11352 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11354 * paragraph_pimpl.h (empty): new function
11356 * paragraph.[Ch] (empty): new function
11358 * other files: use the new Paragraph::empty function
11360 2002-08-09 John Levon <levon@movementarian.org>
11362 * lyxtext.h: remove unused refresh_height
11364 2002-08-09 John Levon <levon@movementarian.org>
11371 * paragraph.C: move sgml char escaping out of paragraph
11374 * paragraph.C: remove id setter
11378 * paragraph_pimpl.C: remove dead tex_code_break_column
11380 * bufferview_funcs.C: small cleanup
11382 * lyxfunc.C: remove dead proto
11384 * lyxtext.h: make some stuff private. Remove some dead stuff.
11386 * lyxgluelength.C: make as[LyX]String() readable
11388 2002-08-08 John Levon <levon@movementarian.org>
11393 * ToolbarDefaults.C:
11396 * toc.C: lyxaction cleanup
11398 2002-08-08 John Levon <levon@movementarian.org>
11400 * BufferView2.C: small cleanup
11403 * lyxfind.C: move unnecessary header into the .C
11405 2002-08-08 John Levon <levon@movementarian.org>
11407 * funcrequest.h: just tedious nonsense
11410 * lyx_main.C: cleanups
11413 * vspace.C: remove dead header lyx_main.h
11415 2002-08-07 Angus Leeming <leeming@lyx.org>
11418 * paragraph_pimpl.h:
11419 Forward declare class Counters in paragraph.h by moving the ctrs member
11420 variable into Paragraph::Pimpl.
11421 (counters): new method, returning a reference to pimpl_->ctrs.
11423 * text2.C: ensuing changes.
11425 2002-08-07 John Levon <levon@movementarian.org>
11427 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11429 * BufferView_pimpl.C: announce X selection on double/triple
11432 * lyx_main.C: use correct bool in batch dispatch
11434 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11436 2002-08-07 André Pönitz <poenitz@gmx.net>
11438 * funcrequest.h: new class to wrap a kb_action and its argument
11441 * BufferView_pimpl[Ch]:
11445 * lyxrc.C: subsequent changes
11448 2002-08-07 John Levon <levon@movementarian.org>
11450 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11451 document options change.
11453 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11458 * makefile.am: move counters functionality over from
11459 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11461 2002-08-06 John Levon <levon@movementarian.org>
11463 * WordLangTuple.h: new file for word + language code tuple
11474 * BufferView2.C: use WordLangTuple
11477 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11479 2002-08-06 John Levon <levon@movementarian.org>
11481 * lyx_main.C: fix cmdline batch handling
11483 2002-08-06 André Pönitz <poenitz@gmx.net>
11485 * lyxrc.C: set default for show_banner to true
11487 2002-08-06 John Levon <levon@movementarian.org>
11489 * pspell.C: fix a crash, and allow new aspell to work
11491 2002-08-06 John Levon <levon@movementarian.org>
11494 * kbmap.C: small cleanup
11497 * vspace.C: add const
11499 2002-08-05 John Levon <levon@movementarian.org>
11501 * LyXAction.C: back to tabular-insert
11503 2002-08-04 John Levon <levon@movementarian.org>
11506 * BufferView.C: cosmetic change
11508 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11518 * BufferView2.C: purge all "Lyx" not "LyX" strings
11521 * lyxcursor.C: attempt to add some documentation
11526 * ToolbarDefaults.C:
11527 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11528 merge with LFUN_TABULAR_INSERT
11535 * pspell.C: split up i/pspell implementations into separate
11536 files, many cleanups
11538 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11540 * text2.C: some cleanup
11542 * lyxfunc.C: don't check for isp_command == "none" any more, it
11543 didn't make any sense
11545 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11550 * makefile.am: move counters functionality over
11551 from text2.C/paragraph.[Ch] to counters.[Ch], and
11553 2002-08-02 John Levon <levon@movementarian.org>
11555 * buffer.C: s/lyxconvert/lyx2lyx/
11557 2002-08-02 Angus Leeming <leeming@lyx.org>
11559 * lyxlex.C: revert John's change as it breaks reading of the user
11562 2002-08-02 Angus Leeming <leeming@lyx.org>
11564 * importer.C (Import):
11565 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11566 changes due to LyXView::view() now returning a boost::shared_ptr.
11568 2002-08-02 John Levon <levon@movementarian.org>
11570 * lyxlex.C: small cleanup
11572 2002-08-02 John Levon <levon@movementarian.org>
11574 * text2.C (status): small cleanup, no logic change
11576 2002-08-01 John Levon <levon@movementarian.org>
11579 * buffer.C (writeFile): don't output alerts, caller
11583 * lyx_cb.C: from above
11585 * lyxfunc.C: allow to open non-existent files
11587 2002-07-31 John Levon <levon@movementarian.org>
11589 * lyxserver.C: don't let incidental errors get
11592 2002-07-30 John Levon <levon@movementarian.org>
11594 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11596 2002-07-30 John Levon <levon@movementarian.org>
11599 * lyxserver.C: remove I/O callback too
11601 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11603 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11606 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11608 * many files: strip,frontStrip -> trim,ltrim,rtrim
11610 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11612 * PrinterParams.h: remove extern containsOnly, and include
11613 support/lstrings.h instead.
11615 * LaTeX.C (scanAuxFile): modify because of strip changes
11617 * buffer.C (makeLaTeXFile): ditto
11618 * bufferparams.C (writeFile): ditt
11619 * lyxfont.C (stateText): ditto
11620 * lyxserver.C (read_ready): ditto
11621 * vc-backend.C (scanMaster): ditto
11623 * BufferView_pimpl.h: ws changes
11625 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11627 2002-07-26 André Pönitz <poenitz@gmx.net>
11629 * kb_sequence.C: remove unnedred usings
11631 2002-07-26 Juergen Vigna <jug@sad.it>
11633 * lyxfind.C (LyXReplace): we have to check better if the returned
11634 text is not of theLockingInset()->getLockingInset().
11636 2002-07-25 Juergen Vigna <jug@sad.it>
11638 * lyxfind.C (LyXReplace): don't replace if we don't get the
11641 * undo_funcs.C (createUndo): remove debugging code.
11643 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11645 * buffer.C (parseSingleLyXformat2Token): Use default placement
11646 when reading old floats.
11648 * FloatList.C (FloatList): Change the default placement of figure
11649 and tables to "tbp".
11651 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11653 * MenuBackend.C: using std::max
11655 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11657 * MenuBackend.C (expandToc):
11658 (expandToc2): code moved from xforms menu frontend. It is now
11659 generic and TOCs are transparent to menu frontends.
11661 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11663 * toc.C (getTocList): protect against buf=0
11665 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11666 Menu as first parameter. Now, this calls itself recursively to
11667 expand a whole tree (this will be useful for TOC handling)
11668 (expandFloatInsert): remove 'wide' version of floats
11670 * MenuBackend.h (submenuname): returns the name of the submenu.
11671 (submenu): returns the submenu itself, provided it has been
11672 created by MenuBackend::expand
11674 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11676 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11677 insets which have noFontChange == true. (bug #172)
11679 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11681 * BufferView_pimpl.C: add connection objects and use them...
11684 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11686 * MenuBackend.C (expandLastfiles):
11689 (expandFloatListInsert):
11690 (expandFloatInsert):
11691 (expand): split expand in parts
11693 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11695 * lyx_gui.C: use lyx_gui::exit()
11697 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11699 * LyXAction.C: show the failing pseudo action
11701 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11703 * buffer.C (readFile): Run the lyxconvert script in order to read
11706 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11710 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11712 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11716 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11718 2002-07-22 Herbert Voss <voss@lyx.org>
11721 * lyxlength.[Ch]: add support for the vertical lengths
11723 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11725 * toc.[Ch]: std:: fixes
11727 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11729 * lyxrc.C: do not include lyx_main.h
11731 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11737 * BufferView2.C: include "lyxlex.h"
11740 * bufferparams.h: do not #include "lyxlex.h"
11742 * lyxtextclasslist.C (Add): remove method
11743 (classlist): renamed to classlist_
11745 * paragraph_pimpl.C:
11749 * bufferview_funcs.C:
11754 * toc.C (getTocList): use BufferParams::getLyXTextClass
11756 * toc.C (getTocList): use InsetFloat::addToToc
11758 * toc.[Ch]: new files, containing helper functions to handle table
11761 * lyxfunc.C (dispatch): no need to remove spaces around command
11763 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11764 first command of the sequence; it is not very clever, but I do not
11765 have a better idea, actually
11767 * LyXAction.C (LookupFunc): make sure to remove space at the
11768 beginning and end of the command
11770 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11772 * MenuBackend.C (getMenubar): new method: return the menubar of
11774 (read): treat differently reading of menu and menubar (in
11775 particular, the menubar has no name now)
11776 (Menu::menubar): remove
11778 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11781 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11783 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11784 a bibitem inset in a RTL paragraph.
11786 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11788 * paragraph_pimpl.C: constify
11790 * BufferView_pimpl.C:
11792 * lyxfunc.C: fix dispatch in a nicer way
11794 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11796 * lyxfunc.C (dispatch):
11797 * BufferView_pimpl.C:
11798 * BufferView_pimpl.h:
11800 * BufferView.h: rename Dispatch() to dispatch()
11802 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11804 * lyxlayout.C (Read): honor DependsOn tag
11806 * lyxlayout.[Ch] (depends_on): new method
11808 * version.C.in: update lyx_docversion
11810 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11812 * paragraph.C (validate): remove from here...
11813 * paragraph_pimpl.C (validate): ... and move here
11814 (isTextAt): make it const
11816 * buffer.C (getLists): ws cleanup
11818 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11820 * language.C (read): Use iso8859-1 encoding in latex_lang
11821 (this prevents LyX from crashing when using iso10646-1 encoding).
11823 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11825 * text2.C (toggleInset): if cursor is inside an inset, close the
11826 inset and leave cursor _after_ it
11828 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11830 * lyxfunc.C: move minibuffer completion handling out of here
11832 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11834 * BufferView_pimpl.C:
11835 * LaTeX.C: fix dispatch calls
11837 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11839 * text.C (drawChars): Fix Arabic text rendering.
11841 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11845 * lyxfunc.C: remove message-push/pop
11849 * lyxfunc.C: rationalise some code by removing verboseDispatch
11850 in favour of a bool argument to dispatch()
11852 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11854 * lyx_main.C (init): make sure to read symlinks as absolute paths
11856 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11859 * lyxfunc.C: no need for commandshortcut to be a member
11861 2002-07-15 André Pönitz <poenitz@gmx.net>
11863 * converter.C: add support for $$s (scripts from lib/scripts dir)
11864 * lyx_main.C: white space
11866 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11870 * lyxrc.C: remove second exit confirmation
11872 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11877 * BufferView_pimpl.h:
11878 * BufferView_pimpl.C:
11879 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11881 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11883 * MenuBackend.C (expand): add numeric shortcuts to document menu
11885 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11887 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11889 * lyxfont.C (setLyXFamily):
11896 * buffer.C (asciiParagraph): use ascii_lowercase
11898 2002-07-15 Mike Fabian <mfabian@suse.de>
11900 * lyxlex_pimpl.C (search_kw):
11901 * lyxlex.C (getLongString):
11902 * converter.h (operator<):
11903 * converter.C (operator<):
11904 * buffer.C (parseSingleLyXformat2Token):
11906 * ToolbarDefaults.C (read):
11907 * MenuBackend.C (checkShortcuts):
11909 * LColor.C (getFromGUIName):
11910 (getFromLyXName): use the compare_ascii_no_case instead of
11911 compare_no_case, because in turkish, 'i' is not the lowercase
11912 version of 'I', and thus turkish locale breaks parsing of tags.
11914 2002-07-16 Angus Leeming <leeming@lyx.org>
11916 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11917 now takes a Buffer const & argument.
11919 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11921 * BufferView.C (resize): check there's a buffer to resize
11923 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11925 * lyxfunc.C: remove dead code
11928 * lyxserver.C: use lyx_guii::set_read_callback
11930 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11932 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11933 an inset in a RTL paragraph.
11935 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11937 * lyxfunc.C: repaint after a font size update
11939 2002-07-15 André Pönitz <poenitz@gmx.net>
11941 * lyxlength.C: inBP should be able to return negative values
11943 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11945 * lyxfunc.C: use lyx_gui::update_fonts()
11947 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11949 * lyxfunc.C: use lyx_gui::update_color()
11951 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11957 * lyxrc.C: remove file->new asks for name option, and let
11958 buffer-new take an argument
11960 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11962 * BufferView_pimpl.C: remove unneeded extra repaint()
11964 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11966 * LyXAction.C: allow command-sequence with NoBuffer
11968 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11970 2002-07-10 Angus Leeming <leeming@lyx.org>
11972 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11974 2002-07-09 Angus Leeming <leeming@lyx.org>
11976 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11978 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11980 * lengthcommon.h: whitespace
11982 * lyxfunc.C: update scrollbar after goto paragraph
11984 * lyxtext.h: factor out page break drawing, and fix it so
11985 page break/added space paints as selected nicely
11987 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11989 * BufferView_pimpl.C: add FIXMEs, clean up a little
11991 2002-07-09 André Pönitz <poenitz@gmx.net>
11993 * lyxfont.[Ch]: support for wasy symbols
11995 2002-07-08 André Pönitz <poenitz@gmx.net>
11997 * BufferView_pimpl.C: apply John's patch for #93.
11999 2002-07-05 Angus Leeming <leeming@lyx.org>
12001 * BufferView_pimpl.C (buffer): generate previews if desired.
12003 * LColor.h: add "preview" to the color enum.
12005 * LColor.C (LColor): add a corresponding entry to the items array.
12007 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12010 2002-07-05 Angus Leeming <leeming@lyx.org>
12012 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12013 The body of the code is now in the method that is passed an ostream &
12014 rather than a file name.
12015 Pass an additional only_preamble parameter, useful for the forthcoming
12018 2002-07-03 André Pönitz <poenitz@gmx.net>
12020 * lyxfunc.C: simplify getStatus() a bit for math stuff
12022 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12024 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12026 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12028 * text.C (changeRegionCase): do not change case of all the
12029 document when region ends at paragraph end (bug #461)
12031 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12033 * paragraph.C (startTeXParParams):
12034 (endTeXParParams): add \protect when necessary
12036 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12038 * BufferView_pimpl.C (workAreaExpose): remove warning
12040 2002-06-27 Angus Leeming <leeming@lyx.org>
12042 * Makefile.am: add lyxlayout_ptr_fwd.h.
12044 2002-06-26 André Pönitz <poenitz@gmx.net>
12046 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12048 2002-06-25 Angus Leeming <leeming@lyx.org>
12050 * lyxfunc.C (dispatch): Comment out the call to
12051 grfx::GCache::changeDisplay. The method no longer exists now that the
12052 pixmap generation part of the graphics loader has been moved into
12055 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12057 * text2.C: layout as layout
12059 * text.C: layout as layout
12061 * tabular.C (OldFormatRead): layout as layout
12063 * paragraph_pimpl.C (TeXDeeper): layout as layout
12064 (realizeFont): layout as layout
12066 * paragraph.C (writeFile): layout as layout
12067 (validate): layout as layout
12068 (getFont): layout as layout
12069 (getLabelFont): layout as layout
12070 (getLayoutFont): layout as layout
12071 (breakParagraph): layout as layout
12072 (stripLeadingSpaces): layout as layout
12073 (getEndLabel): layout as layout
12074 (getMaxDepthAfter): layout as layout
12075 (applyLayout): layout as layout
12076 (TeXOnePar): layout as layout
12077 (simpleTeXOnePar): layout as layout
12078 (TeXEnvironment): layout as layout
12079 (layout): layout as layout
12080 (layout): layout as layout
12082 * lyxtextclass.C (compare_name): new functor to work with
12083 shared_ptr, layout as layout
12084 (Read): layout as layout
12085 (hasLayout): layout as layout
12086 (operator): layout as layout
12087 (delete_layout): layout as layout
12088 (defaultLayout): layout as layout
12090 * lyxlayout_ptr_fwd.h: new file
12092 * lyxlayout.C (Read): layout as layout
12094 * lyx_cb.C (MenuInsertLabel): layout as layout
12096 * bufferlist.C (newFile): layout as layout
12098 * buffer.C (readLyXformat2): layout as layout
12099 (parseSingleLyXformat2Token): layout as layout
12100 (insertStringAsLines): layout as layout
12101 (asciiParagraph): layout as layout
12102 (latexParagraphs): layout as layout
12103 (makeLinuxDocFile): layout as layout
12104 (simpleLinuxDocOnePar): layout as layout
12105 (makeDocBookFile): layout as layout
12106 (simpleDocBookOnePar): layout as layout
12107 (getLists): layout as layout
12109 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12111 * CutAndPaste.C (cutSelection): layout as layout
12112 (pasteSelection): layout as layout
12113 (SwitchLayoutsBetweenClasses): layout as layout
12115 * BufferView_pimpl.C (Dispatch): layout as layout
12116 (smartQuote): layout as layout
12118 * BufferView2.C (unlockInset): layout as layout
12120 2002-06-24 André Pönitz <poenitz@gmx.net>
12122 * lyxfunc.C: fix #487
12124 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12128 * lyxfunc.C: remove display_shortcuts, show_banner
12130 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12132 * Buffer_pimpl.C: oops, update on resize
12134 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12141 * BufferView.C: use repaint()
12143 * BufferView_pimpl.h:
12144 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12145 as it's a clearer description. Remove superfluous
12148 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12150 * text.C: fix bug 488. Not ideal, but getting
12151 getWord() to work properly for the insets that
12152 matter is more difficult ...
12154 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12156 * BufferView_pimpl.C:
12159 * lyxfunc.C: remove the six million index lyxfuncs to just
12160 one, and DTRT (bug 458)
12162 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12166 * BufferView_pimpl.h:
12167 * BufferView_pimpl.C: clean up resize() stuff,
12168 and unnecessary updateScreen()s
12170 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12174 * BufferView_pimpl.h:
12175 * BufferView_pimpl.C:
12178 * minibuffer.C: remove focus management of workarea,
12179 not needed. Use screen's greyOut()
12181 2002-06-17 Herbert Voss <voss@lyx.org>
12183 * converter.C: (convert) do not post a message, when converting
12184 fails, let the calling function decide what to do in this case
12186 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12188 * lyxfunc.C: tidy up a little
12190 2002-06-16 <alstrup@diku.dk>
12192 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12193 Got rid of FORMS_H_LOCATION include. Now we are
12196 2002-06-15 LyX Development team <lyx@rilke>
12198 * buffer.[Ch] (sgmlOpenTag):
12199 (sgmlCloseTag): Added support for avoiding pernicious mixed
12200 content. Return number of lines written.
12202 (makeLinuxDocFile):
12203 (makeDocBookFile): Fixed calls to sgml*Tag.
12204 Simple white space clean.
12206 (simpleDocBookOnePar): Simple white space clean.
12208 * tabular.[Ch] (docBook): Renamed to docbook and got another
12209 argument to related with the pernicious mixed content.
12211 (docbookRow): Fixed calls for docbook inset method.
12213 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12215 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12216 so it's X11 independent.
12220 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12222 2002-06-15 Lyx Development team <lyx@electronia>
12224 * intl.h: Renamed getTrans to getTransManager.
12226 2002-06-14 Angus Leeming <leeming@lyx.org>
12228 * Makefile.am: nuke forgotten stl_string_fwd.h.
12230 2002-06-12 Angus Leeming <leeming@lyx.org>
12232 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12234 2002-06-13 Angus Leeming <leeming@lyx.org>
12237 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12239 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12241 * kbmap.C (getiso): add support for cyrillic and greek
12243 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12247 * BufferView_pimpl.h:
12248 * BufferView_pimpl.C: move bogus scrolling logic
12251 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12254 * BufferView_pimpl.C: view->resize() change
12256 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12258 * BufferView_pimpl.C: topCursorVisible
12261 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12265 * lyx_gui.C: move to frontends/
12269 * lyx_main.C: changes from above
12271 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12278 * lyx_main.C: minor tidy
12280 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12282 * BufferView_pimpl.h:
12283 * BufferView_pimpl.C:
12285 * BufferView.C: make painter() const,
12288 * BufferView2.C: use screen() accessor
12291 * lyx_main.C: some minor cleanup
12293 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12295 * BufferView_pimpl.h:
12296 * BufferView_pimpl.C: remove enter/leaveView,
12299 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12304 * BufferView_pimpl.h:
12305 * BufferView_pimpl.C: only construct screen once,
12308 * lyxrc.C: remove pointless comment
12310 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12313 * BufferView.C: remove active() and belowMouse()
12315 * BufferView_pimpl.h:
12316 * BufferView_pimpl.C: use workarea() not workarea_,
12317 and make it use a scoped_ptr instead
12319 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12321 * lyx_gui.C: add debug message on BadWindow
12323 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12325 * sp_spell.C: fdopen is not part of the C++ standard.
12327 * paragraph.C (InsetIterator): use >= instead of ==
12329 2002-06-07 Angus Leeming <leeming@lyx.org>
12331 Fixes needed to compile with Compaq cxx 6.5.
12332 * BufferView_pimpl.C:
12339 * lyxtextclasslist.C:
12344 all c-library variables have been moved into namespace std. Wrap
12345 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12350 Add a using std::abs declaration.
12352 * kbmap.h (modifier_pair):
12353 * paragraph.h (InsetTable, InsetList):
12354 * lyxfont.h (FontBits):
12355 type definition made public.
12357 * bufferlist.C (emergencyWriteAll): the compiler complains that
12358 there is more than one possible lyx::class_fun template to choose from.
12359 I re-named the void specialisation as lyx::void_class_fun.
12361 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12363 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12364 the compiler is is unable to find tostr in write_attribute.
12366 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12368 * buffer.C (sgmlError): hide #warning
12370 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12372 * xtl/*: get rid of xtl, which is not in use anyway
12374 * LyXAction.C (init):
12375 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12376 were unimplemented xtl experimentation
12378 2002-06-04 André Pönitz <poenitz@gmx.net>
12380 * lyxfunc.C: disable array operation on simple formulae
12382 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12384 * converter.C: constify a bit
12386 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12388 * lyx_gui.C: check xforms version correctly
12390 2002-04-30 Herbert Voss <voss@lyx.org>
12392 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12395 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12397 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12398 attempt to register it with a VCS)
12400 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12402 * lyx_main.C (init): honor variables LYX_DIR_13x and
12405 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12409 * lyx_main.C: fix a crash on bad command line,
12410 and give a useful exit status on error
12412 * lyxfunc.C (doImport): allow -i lyx to work
12414 2002-03-30 André Pönitz <poenitz@gmx.net>
12416 * lyxfunc.C: mathed font changes
12418 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12433 * trans_mgr.h: srcdocs, and some minor cleanups
12435 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12437 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12438 call getFont all the time)
12440 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12442 * switch from SigC signals to boost::signals
12444 2002-05-29 André Pönitz <poenitz@gmx.net>
12446 * paragraph_pimpl.C (getChar): don't call size() too often...
12448 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12450 * paragraph_pimpl.C (insertChar): do not try to update tables when
12451 appending (pos == size())
12453 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12454 in order to reduce drastically the number of comparisons needed to
12455 parse a large document
12457 2002-05-29 André Pönitz <poenitz@gmx.net>
12463 * textclasslist.[Ch]:
12464 * sp_ispell.h: whitespace change
12466 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12468 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12469 lyxaction directly now.
12471 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12475 * lyxvc.C: remove unused headers
12477 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12484 * undo_funcs.C: some cleanups. Use shared_ptr
12485 and a template for the undo stacks.
12487 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12489 * BufferView_pimpl.h:
12490 * BufferView_pimpl.C:
12497 * text2.C: use key_state/mouse_state
12499 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12501 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12504 * chset.C: change include order
12505 (loadFile): use boost regex and get rid of LRegex and LSubstring
12507 * Makefile.am (BOOST_LIBS): new variable
12508 (lyx_LDADD): use it
12510 * LaTeX.C: change include order.
12511 (scanAuxFile): use boost regex and get rid of LRegex and
12515 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12520 * FontInfo.C: moved to frontends/xforms/
12523 * FontLoader.C: moved into frontends for GUIIzation
12528 * lyxfunc.C: changes from above
12530 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12532 * LColor.C: remove spurious X include
12534 * BufferView_pimpl.C:
12539 * text2.C: move font metrics to frontends/
12541 2002-05-24 Juergen Vigna <jug@sad.it>
12543 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12544 setting the undo_cursor.
12546 * ParagraphParameters.h: include local includes first.
12548 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12550 * BufferView_pimpl.C:
12551 * BufferView_pimpl.h:
12555 * screen.C: move WorkArea into frontends/
12561 * BufferView2.C: move LyXScreen into frontends/
12565 * lyx_gui.C: move lyxlookup into frontends/xforms/
12567 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12570 * BufferView_pimpl.C:
12580 * bufferview_funcs.C:
12593 * vc-backend.C: move LyX/XFormsView into frontends/
12595 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12607 * text2.C: move Painter to frontends/
12609 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12611 * buffer.C: comment out some some code that depend upon lyx_format
12614 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12615 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12617 * buffer.h (NO_COMPABILITY): turn off compability
12619 * ColorHandler.C: include scoped_array.hpp
12621 * font.C: Use more specific smart_ptr header.
12624 * ShareContainer.h: ditto
12625 * lyx_main.h: ditto
12627 * FontInfo.h: ditto
12628 * BufferView_pimpl.h: ditto
12629 * ColorHandler.h: ditto
12631 * kbmap.C (defkey): change call to shared_ptr::reset
12633 2002-05-21 Juergen Vigna <jug@sad.it>
12635 * buffer.C (insertErtContents): fix to insert ert asis if it is
12636 non empty. Skip it completely if it contains only whitespaces.
12638 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12640 * BufferView_pimpl.C:
12641 * BufferView2.C: clear selection on paste (bug 393)
12643 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * DepTable.C: include ctime
12647 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12649 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12651 2002-05-14 Juergen Vigna <jug@sad.it>
12653 * text.C (breakParagraph): fixed function to honor the keepempty
12654 layout in the right maner and also to permit the right breaking
12655 algorithm on empty or non empyt keepempty paragraphs.
12657 * paragraph.C (breakParagraph): we have to check also if the par
12658 is really empty (!size()) for isempty otherwise we do the wrong
12661 2002-05-10 Juergen Vigna <jug@sad.it>
12663 * buffer.[Ch] : The following are only changes to the ert
12664 compatibility read reading old LaTeX layout and font stuff and
12665 convert it to ERTInsets.
12667 * buffer.h: added isErtInset().
12669 * buffer.C (struct ErtComp): add a fromlayout bool to check
12670 if we're inside a LaTeX layout.
12671 (isErtInset): new helper function.
12672 (insertErtContents): look for other ert insets before this one
12673 and insert the contents there, so that we don't have subsequent
12674 ERT insets with nothing between them. This way we create only one
12675 inset with multiple paragraphs. Also check if we don't insert only
12676 spaces ' ' as they are ignored anyway afterwards in the .tex file
12677 so if we have only spaces we will ignore this latex part in the
12679 (parseSingleLyXformat2Token \\layout): better compatibility when
12680 reading layout-latex stuff.
12681 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12683 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12684 stuff after reading the inset only get the information back from
12687 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12689 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12691 * LaTeXFeatures.C (getBabelOptions): New method.
12693 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12695 * BufferView_pimpl.C (Dispatch): work around missing argument for
12698 2002-05-08 Juergen Vigna <jug@sad.it>
12700 * text.C (leftMargin): handle paragraph leftindent.
12702 * paragraph.C (writeFile): write the new \\leftindent tag.
12703 (validate): handle leftindent code.
12704 (TeXEnvironment): handle paragraphleftindent code again.
12706 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12708 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12709 for paragrap_extra indent code and new token \\leftindent.
12710 (latexParagraphs): handle the leftindent as environment.
12712 * ParameterStruct.h: added leftindent support.
12714 * ParagraphParameters.C (leftIndent): added support functions for
12715 the paragraph left indent.
12717 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12720 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12722 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12725 * text.C (computeBidiTables): No bidi in insetERT.
12727 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12730 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12732 * version.C.in: pre 5
12734 2002-05-02 José Matos <jamatos@fep.up.pt>
12735 * buffer.C (makeDocBookFile): white space changes, add newline to
12737 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12739 * tabular.C (docBook): fix typo.
12741 2002-05-03 Juergen Vigna <jug@sad.it>
12743 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12744 change in LyXText as we can not be sure it was not freed.
12745 (drawOneRow): remove unused code.
12747 * text.C (drawInset): redo the calculation of the need_break_row as
12748 it could have a row which was already freed.
12749 (draw): look at the return value of drawInset and return false if
12750 it also returned false.
12751 (paintRowText): look at the return value of draw and return false if
12752 it also returned false.
12754 * lyxtext.h: added bool return type to drawInset() and draw() so that
12755 if we have a change in the row so that the rowbreak has to be redone
12756 we abort drawing as it will be called again.
12758 2002-05-02 Juergen Vigna <jug@sad.it>
12760 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12761 a change in the maintext also if we're inside an inset.
12762 (Dispatch): set the cursor again after a break line and after the
12763 screen has been updated as it could be we're in a different row.
12765 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12766 to set the cursor behind the pargraph with > size().
12767 (setCursor): check also for the same paragraph when checking where
12768 to put the cursor if we have a NFR inset.
12770 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12771 parts of layout read further up as it still was in the wrong
12774 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12776 * screen.C (drawFromTo): change sine fullRebreak always return
12779 * buffer.C (parseSingleLyXformat2Token): reindent some
12781 * BufferView_pimpl.C (update): change since fullRebreak always
12783 (Dispatch): git rid of the last hardcoded "Standard"s.
12785 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12787 * text2.[Ch] (fullRebreak): make it return void now that we always
12790 2002-04-30 Juergen Vigna <jug@sad.it>
12792 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12793 ert compatibility check for "latex" layout.
12795 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12797 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12798 minipages: use col% instead of p%, and also use the current font.
12799 (makeLaTeXFile): Fix use babel condition.
12800 (parseSingleLyXformat2Token): Correct font when reading old floats.
12802 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12804 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12805 inserting list of floats.
12807 2002-04-25 Herbert Voss <voss@lyx.org>
12809 * MenuBackend.C (expand): don't add the graphics extensions to the
12812 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12814 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12815 non-existing layout, do not complain if it was the default layout
12816 of the original class (bug #342)
12818 2002-04-24 Juergen Vigna <jug@sad.it>
12820 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12821 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12823 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12825 * buffer.C (getBibkeyList): If using \bibliography, return the
12826 option field with the reference itself. Enables us to provide natbib
12827 support when using \bibliography.
12829 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12831 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12833 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12834 natbib is provided by the LaTeX class.
12836 2002-04-23 Juergen Vigna <jug@sad.it>
12838 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12841 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12843 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12845 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12847 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12848 ensuremath around textordmasculine, textordfeminine and
12851 2002-04-19 Juergen Vigna <jug@sad.it>
12853 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12854 reinitializing the buffer otherwise row-dimensions may be wrong.
12855 (update): reset also the selection cursors if they do exits otherwise
12856 their x/y positions may be wrong.
12858 * text2.C (cursorDown): don't enter the inset if we came from a row
12859 above and are one row over the inset.
12861 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12862 really leaving an inset.
12864 2002-04-18 Juergen Vigna <jug@sad.it>
12866 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12867 of the selected paragraph does not have the selected layout also if
12870 * text2.C (setLayout): fixed bug which did not change last selected
12873 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12874 changed the read and substituted \\end_float with \\end_inset!
12876 * BufferView_pimpl.C (cursorPrevious):
12877 (cursorNext): fixed to make it work with rows heigher than the work
12878 area without moving the cursor only the draw of the row.
12879 (workAreaMotionNotify): fix jumping over high rows.
12881 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12883 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12886 2002-04-16 Juergen Vigna <jug@sad.it>
12888 * text2.C (setCursor): set also the irow().
12889 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12891 (cursorDown): support for locking an inset if the x_fix value goes
12892 inside it. That way I can transverse insets too with cursor up/down.
12894 * lyxrow.h: added irow helper function same as other (i) functions.
12896 * BufferView_pimpl.C (cursorPrevious):
12897 (cursorNext): fixed for insets!
12899 2002-04-15 Juergen Vigna <jug@sad.it>
12901 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12902 position otherwise it is wrong in some cases.
12904 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12905 inside the inset before the call.
12907 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12909 * buffer.[Ch] (getBibkeyList): make it const.
12911 2002-04-12 Juergen Vigna <jug@sad.it>
12913 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12915 * text2.C (getCursorX): new helper function
12916 (setCursor): compute also ix_
12917 (setCursorFromCoordinates): set also ix.
12919 * lyxcursor.h: added ix_ and helper functions.
12921 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12923 * buffer.C (insertStringAsLines): dont break paragraph if the this
12924 paragraph is inside an inset which does not permit it!
12926 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12927 also with no chars on this paragraph.
12928 (paintRowText): only paint stuff if it's inside the workarea!
12930 * paragraph.C (breakParagraph): honor keepempty flag and break the
12931 paragraph always below not above.
12933 * BufferView2.C (unlockInset): update the paragraph layout on inset
12934 unlock as we changed paragraph in such a case.
12936 * lyxfind.C (LyXFind): clear the former selection if not found!
12938 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12939 again called in insertChar().
12941 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12942 an inset which uses the whole row!
12943 (rightMargin): ditto.
12944 (insertChar): force a rebreak if we inserted an inset!
12946 2002-03-28 Herbert Voss <voss@lyx.org>
12948 * lyxlength.[Ch]: add inBP() to get the right PS-point
12949 units (BigPoint). With inPixels we have rounding errors
12951 2002-04-11 Juergen Vigna <jug@sad.it>
12953 * text2.C (setCursorFromCoordinates): set iy to the right value.
12954 (setCursor): add check if row->previous exists!
12956 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12957 an old float_type as this was the case in the old code!
12959 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12961 * BufferView2.C (showLockedInsetCursor): use iy
12962 (fitLockedInsetCursor): ditto
12964 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12965 locked insets as there we have the right value now.
12967 * lyxcursor.C: added iy_ variable and iy functions to set to the
12968 baseline of cursor-y of the locked inset.
12970 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12971 (setCursor): fixed for insets which need a full row.
12973 * text.C (rowLastPrintable): don't ignore the last space when before
12974 an inset which needs a full row.
12975 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12976 as last character of a row when before a inset which needs a full row.
12978 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12980 * version.C.in: update date
12982 * text2.C (fullRebreak): try to always return true and see what
12985 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12987 * MenuBackend.C (expand): use Floating::listName
12989 * FloatList.C (FloatList): add listName argument to the built-in
12992 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12993 text associated with the float.
12995 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12997 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12999 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13001 * ShareContainer.h: add a couple of missing typenames.
13003 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13005 * lyxrc.C (getDescription): use _() correctly rather than N_().
13007 2002-03-28 Herbert Voss <voss@lyx.org>
13009 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13010 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13012 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13014 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13015 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13017 2002-03-29 Juergen Vigna <jug@sad.it>
13019 * lyxfunc.C (dispatch): add a missing fitCursor call.
13021 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13022 it was scrolled by a cursor move, so return the bool status.
13024 * BufferView.C (fitCursor): return the bool flag also to the outside
13025 world as this is needed.
13027 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13029 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13030 call the edit() as it is not needed (and wrong) IMO.
13031 (workAreaButtonPress): set the screen_first variable before evt.
13032 unlock the inset as this may change screen_first and then we have
13033 a wrong y position for the click!
13035 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13037 * MenuBackend.C (expand): another translation that I missed
13039 2002-03-28 Juergen Vigna <jug@sad.it>
13041 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13043 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13045 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13047 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13049 * MenuBackend.C (expand): fix export/view/update when there is no
13052 2002-03-27 Herbert Voss <voss@lyx.org>
13054 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13057 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13059 * bufferview_funcs.C (currentState): only show paragraph number
13060 for is DEVEL_VERSION is set.
13062 * lyxfunc.C (dispatch): put warning in INFO channel
13064 * MenuBackend.C (expand): translate the name of floats
13066 * FloatList.C (FloatList): mark the float names for translation
13068 * converter.C (convert): use LibScriptSearch
13070 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13072 * MenuBackend.C (defaults): fix default menu (we might as well get
13075 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13080 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13082 * lyxvc.C: reorder includes.
13084 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13086 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13089 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13091 * CutAndPaste.C: change layouts earlier on paste
13092 to avoid crashing when calling getFont()
13094 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13096 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13099 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13101 * WorkArea.C: remove 'Pending' debug message.
13103 * most files: ws cleanup
13105 * buffer.[Ch]: ws changes
13107 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13109 2002-03-21 Juergen Vigna <jug@sad.it>
13111 * tabular.C (SetMultiColumn): collapse also the contents of the
13112 cells and set the last border right. Added a Buffer const * param.
13114 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13116 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13119 2002-03-19 Juergen Vigna <jug@sad.it>
13121 * text2.C (clearSelection): reset also xsel_cache.
13123 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13124 where it needs to be called (John tells us to do so too :)
13125 (selectionLost): reset sel_cache.
13127 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13129 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13131 * text2.C (setCursorIntern): put debuging code in INSETS channel
13133 2002-03-19 André Pönitz <poenitz@gmx.net>
13135 * lyxfunc.C: tiny whitespace change
13137 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13139 * ToolbarDefaults.C (init):
13140 * LyXAction.C (init):
13142 * BufferView_pimpl.C (Dispatch):
13143 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13145 2002-03-19 Allan Rae <rae@lyx.org>
13147 * exporter.C (Export): removeAutoInsets before doing anything else.
13148 While I've just introduced a dependency on BufferView this really is
13149 the best place to clean the buffer otherwise you need to cleanup in
13150 a dozen places before calling export or cleanup in a dozen functions
13153 * converter.C (runLaTeX):
13154 (scanLog): Better handling of removeAutoInsets and screen updates.
13156 * lyxfunc.C (dispatch): small whitespace changes
13158 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * WorkArea.C (C_WorkAreaEvent): return a value.
13161 (event_cb): return 1 if we handled the event, 0 otherwise.
13163 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13165 2002-03-18 Juergen Vigna <jug@sad.it>
13167 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13168 (GetAdditionalWidth): ditto.
13169 (RightLine): ditto.
13172 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13173 inset if we're there actually (probably not used right now but this
13174 is the direction to go for unifying code).
13175 (paste): disable code to clear the selection.
13177 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13178 inside an InsetText and move the check further up as it is in the
13181 * text2.C (pasteSelection): set a selection over the pasted text.
13183 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13185 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13186 and libgraphics to build on Cygwin.
13188 2002-03-15 Juergen Vigna <jug@sad.it>
13190 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13191 inserting an Inset into the paragraph. I know this is not the best
13192 fix but we already use current_view in CutAndPaste so we will remove
13193 all of it's using at the same time.
13195 * buffer.C (sgmlError): deactivated function till it is rewritten in
13196 the right mode, now it can create problems.
13198 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13199 before accessing it.
13201 2002-03-14 Juergen Vigna <jug@sad.it>
13203 * undo_funcs.C (textHandleUndo): do the right thing when updating
13204 the inset after the undo/redo.
13206 * text2.C (setCursor): just some testcode for #44 not ready yet.
13208 * undo_funcs.C (textHandleUndo): set the next() and previous()
13209 pointers of the paragraph to 0 before deleting otherwise we have
13210 problems with the Paragraph::[destructor].
13212 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13213 on a paragraph insertion.
13215 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13217 * buffer.C (asciiParagraph): use += operator for char append to
13220 * paragraph.C (getFontSettings): compare >= not just >
13221 (highestFontInRange): ditto
13224 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13226 * paragraph.C: change several algorithm to be more appripriate for
13227 the problem domain. This is lookip in FontList and in the InsetList.
13229 2002-03-13 André Pönitz <poenitz@gmx.net>
13232 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13234 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13239 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13241 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13243 * Painter.C (display): anon helper function, adjust code for this
13245 (pixmap): remove function.
13247 * Painter.h: remove private display variable.
13249 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13251 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13253 * WorkArea.[Ch]: remove figinset_canvas cruft.
13255 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13257 * lyxtextclass.C (operator): add one item cache optimization.
13259 * bufferlist.h: doxy changes
13261 * bufferlist.C: ws changes
13263 * DepTable.[Ch] (ext_exist): place const in the right spot.
13265 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13267 (workAreaExpose): call resizeInsets when the with BufferView changes.
13268 (Dispatch): adjust for protectedBlank removal
13269 (specialChar): call updateInset if the insert went ok.
13271 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13272 specialChar instead.
13274 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13276 * BufferView.h: doxy change
13278 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13280 * lyxtextclass.C (operator[]): remove non-const version
13281 (defaultLayout): remove non-const version
13283 2002-03-12 Juergen Vigna <jug@sad.it>
13285 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13286 did resize the LyXText too.
13288 * buffer.C (readLyXformat2): set layout information on newly allocated
13291 * tabular.C (OldFormatRead): set layout information on the paragraph.
13293 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13295 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13297 2002-03-11 Juergen Vigna <jug@sad.it>
13299 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13301 (resizeCurrentBuffer): force also the insets to resize themselfes.
13302 (moveCursorUpdate): fixed up for InsetText.
13304 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13307 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13308 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13309 value of Dialogs::tooltipsEnabled().
13310 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13312 2002-03-08 Juergen Vigna <jug@sad.it>
13314 * BufferView_pimpl.C (updateInset): update inset inside inset also
13315 if it isn't inside theLockingInset().
13317 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * buffer.C (asciiParagraph): redo some of the word and line length
13321 (getLists): look for Caption instead of caption.
13323 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13325 * buffer.C (Buffer): initialize niceFile to true
13327 (makeLinuxDocFile):
13328 (makeDocBookFile): make sure niceFile is true on exit
13330 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13332 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13334 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13336 * LyXSendto.C: remove.
13337 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13338 * lyx_gui.C: remove now-redundant comment.
13339 * ColorHandler.h: remove forward declaration of class WorkArea.
13340 * lyxfunc.C: remove #include "WorkArea.h".
13342 2002-03-07 Juergen Vigna <jug@sad.it>
13344 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13345 got moved away with the DEPM and also set the inset_owner always
13346 right which before could have been omitted.
13348 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13350 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13351 wanted layout is not found.
13353 2002-03-07 Juergen Vigna <jug@sad.it>
13355 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13357 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13359 * paragraph.C (breakParagraph): use default layout not layout of
13361 (Paragraph): clear ParagraphParameters.
13363 2002-03-06 Juergen Vigna <jug@sad.it>
13365 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13366 otherwise it would not be a valid lenght. Fixed a special case in
13367 the minipage compatibility read where we end the document with a
13370 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13371 was set as it could be 0 for InsetTexts first entry.
13373 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13375 * paragraph.C (writeFile): if layout is empty write out
13376 defaultLayoutName().
13378 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13379 file without named layout we set layout to defaultLayoutName().
13381 2002-03-06 Juergen Vigna <jug@sad.it>
13383 * CutAndPaste.C (copySelection): set layout for new paragraph.
13385 * text.C (prepareToPrint): leave ERT inset left aligned
13386 (leftMargin): don't indent paragraphs inside ERT insets
13388 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13390 * paragraph.C (breakParagraph): dont call clear do the work manually
13392 * paragraph.[Ch] (clear): remove function
13394 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13396 * paragraph.C (Paragraph): dont call clear, the work has already
13399 * lyxtextclass.C (operator): assert if n is empty
13401 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13402 work manually instead.
13404 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13406 * BufferView_pimpl.C: protect selectionLost against text == 0
13408 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13410 * text.C (breakParagraph): fix a setting layout to '0' problem.
13412 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13414 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13415 final location of file, for the included files, and graphics.
13417 2002-03-05 Juergen Vigna <jug@sad.it>
13419 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13421 2002-03-04 Juergen Vigna <jug@sad.it>
13423 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13425 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13426 last column of multicolumn cells.
13427 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13429 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13431 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13432 file if it doesn't go to a temporary file.
13434 * buffer.C (sgmlOpenTag):
13435 (sgmlCloseTag): remove extra newline insertion.
13437 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13439 * text.C (getRowNearY): comment out debug msg
13441 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13443 * text2.C: first -> first_y
13445 * text.C (getRowNearY): add some attemts at a possible
13446 optimization, not working.
13448 * tabular.[Ch]: add BufferParams to several function so that newly
13449 created paragraph can be initialized to he default layotu for the
13452 * tabular-old.C (ReadOld): add buf->params to call of Init
13454 * screen.C: rename text->first to text->first_y
13456 * paragraph.C (breakParagraph): always set layout in the broken
13459 * lyxtextclass.C (Read): remove lowercase
13462 (delete_layout): ditto
13464 * lyxtext.h: rename first -> first_y
13466 * lyxlayout.C (Read): remove lowercase
13469 (obsoleted_by): ditto
13471 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13473 * buffer.C (insertErtContents): add params are to InsetERT
13474 (parseSingleLyXformat2Token): add code to check if a paragraphs
13475 layout really exist.
13476 (parseSingleLyXformat2Token): add params to several inset
13478 (asciiParagraph): remove lowercase, do the layout comparisons with
13481 * BufferView_pimpl.C (cursorNext): first -> first_y
13482 (resizeCurrentBuffer): first -> first_y
13483 (updateScrollbar): first -> first_y
13484 (scrollCB): first -> first_y
13485 (workAreaMotionNotify): first -> first_y
13486 (workAreaButtonPress): first -> first_y
13487 (checkInsetHit): first -> first_y
13488 (cursorPrevious): first -> first_y
13489 (cursorNext): first -> first_y
13490 (Dispatch): add buffer_->params to severl inset contructors
13492 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13494 * lyxlayout.C (Read): remove some debug info that I forgot.
13496 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13497 clean up the code slightly.
13498 (makeLinuxDocFile): ditto
13499 (makeDocBookFile): ditto
13501 * text2.C: layout as string
13503 * text.C: layout as string
13505 * paragraph_pimpl.C: layout as string
13507 * paragraph.[Ch]: layout as string
13509 * lyxtextclasslist.[Ch]: layout as string
13511 * lyxtextclass.[Ch]: layout as string
13513 * lyxtext.h: layout as string
13515 * lyxlayout.[Ch]: layout as string
13517 * lyx_cb.C: layout as string
13519 * bufferview_funcs.C: layout as string
13521 * bufferparams.C: layout as string
13523 * buffer.C: layout as string
13525 * LyXView.[Ch]: layout as string
13527 * LaTeXFeatures.[Ch]: layout as string
13529 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13531 * BufferView_pimpl.C: change current_layout to string, remove
13536 (workAreaButtonRelease): layout as string
13538 * BufferView2.C (unlockInset): adjust
13540 * vspace.C (asLatexCommand): use an explict temp variable.
13542 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13544 * Makefile.am: use FRONTEND_*
13546 2002-03-01 Juergen Vigna <jug@sad.it>
13548 * tabular.C (SetWidthOfMulticolCell): changed to something better
13549 I hope but still work in progress.
13550 (recalculateMulticolumnsOfColumn): renamed function from
13551 recalculateMulticolCells as it is more appropriate now.
13552 (SetWidthOfCell): calculate multicols better.
13554 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13556 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13558 * lyxfunc.C (processKeySym): print sequence also if it is
13559 `deleted' (complete)
13561 * kbsequence.C (print): print sequence even if it is deleted
13562 (complete would be a better word, actually).
13564 * lyxfunc.C (dispatch): print complete options after a prefix key
13566 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13568 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13570 * text2.C (setCharFont): eliminate setCharFont code duplication.
13572 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13574 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13575 LFUN_TABULAR_FEATURE (bug #177)
13577 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13579 * Makefile.am: remove figure.h
13581 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13583 * Bufferview_pimpl.C:
13595 * text2.C: remove #include "lyx_gui_misc.h".
13597 * LaTeX.C: added #include <cstdio>
13599 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13601 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13602 that the paragraph following this one can have.
13604 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13606 * vspace.C (asLatexCommand): fix bogus gcc warning
13608 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13610 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13612 * text2.C (setLayout): get rid of redundant code
13614 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13616 * text2.C (incDepth): make sure depth cannot be increased beyond
13619 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13621 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13622 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13624 * PainterBase.h (image):
13625 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13626 a LyXImage const *.
13628 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13632 * BufferView_pimpl.C:
13633 * BufferView_pimpl.h:
13653 * sp_spell.C: remove fig inset, and the crap house of
13654 cards that follows it
13656 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13661 * os2_errortable.h:
13662 * nt_defines.h: move .h into support/
13664 * vms_defines.h: remove
13666 * WorkArea.C: add space in debug output
13670 * buffer.C: add WITH_WARNINGS
13674 * bufferlist.C: s/retrive/retrieve/, add docs
13683 * chset.C: add docs
13685 * lyxgui.C: add ID to X error handler
13687 * lyxtestclass.c: fix typo
13689 2002-02-26 Juergen Vigna <jug@sad.it>
13691 * tabular_funcs.C (write_attribute): changed so that some default
13692 attributes are not written at all.
13693 (getTokenValue): set default values before trying to read the
13694 value so we have the return value always set as default if we don't
13695 find the token we search for.
13697 * tabular.C (Write): write bools as bools not as strings!
13699 2002-02-22 Juergen Vigna <jug@sad.it>
13701 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13702 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13704 * text.C (leftMargin): don't add an indent for paragraphs inside
13705 tabular cells (fix #208).
13707 2002-02-21 José Matos <jamatos@fep.up.pt>
13709 * tabular.C (docBook): fixed support for long tables.
13711 2002-02-20 Juergen Vigna <jug@sad.it>
13713 * text2.C (getFont): get the drawing font of the Inset if this
13714 paragraph is inside an inset (only important for InsetERT for now).
13716 * buffer.C (insertErtContents): use new lanugage params in ERT
13719 * CutAndPaste.C: commenting out seemingly uneeded code.
13721 2002-02-19 Allan Rae <rae@lyx.org>
13723 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13724 Iterators might be simple to use but they also get invalidated.
13725 (removeAutoInsets): renamed saved cursor tracking variables and added
13726 some comments to clarify what everything does.
13728 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13735 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13736 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13739 * vc-backend.h: remove #include "support/syscall.h"
13743 * converter.C: rearrange #includes in Lars' approved fashion.
13745 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13746 forward declare class Timeout in the header file.
13748 * XFormsView.C: changes due to the above.
13750 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13751 similar to LyXView.
13753 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13754 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13756 2002-02-18 José Matos <jamatos@fep.up.pt>
13758 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13761 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13763 * a lot of small ws changes
13764 * add a lot of using std::XXX
13765 * use std construcs some places where approp.
13766 * use some exisint stuff from lyxfunctional where approp.
13767 * Make file changes to use partial linking (lets test this now...)
13769 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13773 remove #include "support/syscontr.h" as it's redundant. Always has been.
13781 change Systemcalls::System to Systemcalls::Wait and
13782 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13783 No change of functionality, just reflects the stripped down Systemcalls
13786 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13788 * debug.[Ch]: add a GRAPHICS type to the enum.
13790 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13792 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13794 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13797 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13799 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13800 match the changes below.
13802 * text2.C (toggleInset): if there is not editable inset at cursor
13803 position, try to see if cursor is _inside_ a collapsable inset
13806 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13808 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13809 document menu has a nice checkbox
13811 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13813 * lyxlength.C (asLatexString): change PW to output as percent of
13816 * lengthcommon.C: change '%' to 't%'
13818 * lyxfunc.C (dispatch): a few comments from Martin
13820 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13824 * BufferView_pimpl.h:
13825 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13828 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13830 * vspace.C (inPixels): fix compiler warning
13832 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13834 * lyxfunc.C (getStatus): fix status message for disabled commands.
13836 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13838 * BufferView_pimpl.C: fix crash on close buffer
13839 during selection (#227)
13841 2002-01-27 Herbert Voss <voss@lyx.org>
13843 * buffer.C: link old Figure to new graphic inset
13845 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13847 * FontLoader.C (getFontinfo): Change the latex font names in order
13848 to match the names of type1inst.
13850 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13852 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13854 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13855 (extchanged): ditto
13857 (remove_files_with_extension): ditto
13858 (remove_file): ditto
13861 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13862 document is smaller than the work area height. Do not initialize
13863 static variables to 0.
13865 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13867 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13869 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13870 LFUN_LAYOUT_PARAGRAPHS.
13872 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13873 tabular. It is possible to provide a possible cell, which will
13874 typically be the actcell from the corresponding insettabular
13876 * lyxfunc.C (getStatus): small cleanup; disable
13877 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13880 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13882 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13884 * paragraph.C (startTeXParParams):
13885 (endTeXParParams): new methods. The LaTeX code to
13886 start/end paragraph formatting
13887 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13888 empty (fixes bug #200)
13890 * vspace.C (inPixels): adapt to the change below
13891 (inPixels): [later] more cleanups (remove unused variables)
13893 * lyxlength.C (inPixels): change to use a width and a height as
13896 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13898 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13899 Replaced with \paperwidth
13901 * DepTable.C (insert): add std:: qualifier
13903 2002-01-18 Allan Rae <rae@lyx.org>
13905 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13908 * text.C (drawInset): Turned out I didn't know enough about how
13909 rebreaking worked. This fixes most of the redraw problems. I see
13910 an occasional cursor trail when a line is broken now and the cursor
13911 placement can seem out by a few pixels also after a rebreak.
13913 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13915 * buffer.C (parseSingleLyXformat2Token): update because minipage
13916 width is now a LyXLength
13918 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13920 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13923 2002-01-17 Juergen Vigna <jug@sad.it>
13925 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13927 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13928 is set correctly and the inset is updated correctly.
13930 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13932 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13933 the beginning of the loop.
13935 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13937 * lyxrc.C: improve help for use_scalable_fonts
13939 2002-01-17 Allan Rae <rae@lyx.org>
13941 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13943 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13945 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13946 make sure to set their inset_owner to the right value (bug #171)
13948 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13951 * DepTable.C: Implement mtime checking to reduce time spent doing
13954 2002-01-16 Juergen Vigna <jug@sad.it>
13956 * tabular.C (GetAdditionalHeight): one of error fixed.
13958 * lyxrc.C (output): small fix in writing use_pspell.
13960 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13962 * sp_base.h: #include LString.h
13964 2002-01-16 Allan Rae <rae@lyx.org>
13966 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13967 Can someone check this please?
13969 * text.C (drawInset): It was possible that p.row would be removed by
13970 breakAgainOneRow upsetting a few other settings. There may be another
13971 small tweak possible by setting need_break_row = 0 when p.row has been
13972 removed but I don't know enough about the logic here.
13974 2002-01-15 Allan Rae <rae@lyx.org>
13976 * text.C (insertChar): removed conditional truism.
13978 * BufferView2.C (removeAutoInsets): More tweaks.
13979 cur_par_prev could be a stray pointer. Check for trailing empty line
13980 in case last line was cur_par and only had an error inset on it.
13982 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13984 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13987 * vc-backend.C (most methods):
13988 * exporter.C (Export):
13989 * converter.C (convert):
13991 * LyXSendto.C (SendtoApplyCB):
13992 * lyxfunc.C (dispatch):
13996 * lyx_cb.C (AutoSave):
13998 * BufferView_pimpl.C (MenuInsertLyXFile):
13999 * buffer.C (runChktex): use Buffer::filePath().
14001 * buffer.h: rename filename to filename_; rename filepath to
14002 filepath_ and make it private
14003 (filePath): new method
14005 * buffer.C (writeFile): use fileName()
14008 * lyx_main.C (init): fix starting of LyX when the binary is a
14009 link from so,ewhere else.
14011 * minibuffer.C: include <cctype> for isprint
14013 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14015 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14016 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14017 name clash with InsetCollapsable's width function.
14019 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14021 * lastfiles.C: include <iterator>
14023 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14025 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14028 * buffer.C (makeLaTeXFile): ditto.
14029 Also make loop operation more transparent.
14031 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14033 * ToolbarDefaults.C: remove trailing comma closing namespace.
14035 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14037 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14040 * trans.C (Load): comment out unused variable, allowed.
14042 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14044 * minibuffer.[Ch] (append_char): new method to recieve input from the
14045 drop-down completion browser. If a key was pressed, then recieve this
14046 char and append it to the existing string.
14047 (peek_event): modify the positioning data passed to the completion
14048 browser so that it can be placed above the minibuffer rather than below.
14049 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14051 * LyXAction.C (init): alloe error-next for readonly documents.
14053 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14056 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14058 * bufferlist.C (readFile): create the buffer _after_ checking that
14061 * lyxfunc.C (verboseDispatch): fix handling of arguments
14063 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14065 * lyxrc.C: use string::erase() instead of initializing to "".
14068 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14070 * BufferView_pimpl.h:
14071 * BufferView_pimpl.C:
14074 * text2.C: tell X when we have made a selection for copying
14076 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14078 * BufferView_pimpl.C (MenuInsertLyXFile):
14079 * lyxfunc.C (menuNew):
14081 (doImport): add shortcuts to directory buttons
14083 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14086 * lyxfunc.C (setStatusMessage):
14087 (getStatusMessage): new methods
14088 (getStatus):use setStatusMessage instead of setErrorMessage
14089 (dispatch): when function is disabled, set error message here
14090 [instead of in getStatus previously]
14092 * BufferView_pimpl.C (workAreaButtonRelease): update
14093 toolbar/menubar here too.
14095 2002-01-13 Allan Rae <rae@lyx.org>
14097 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14098 Now seems indestructible. Remaining task is to audit all other
14099 code affected by deleteEmptyParagraphMechanism. One small quirk
14100 left is that an empty document with an error in the preamble can
14101 be made to report an error but no error box appears. I don't know
14103 (removeAutoInsets): Improved comments.
14105 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14108 * Thesaurus.C: update for Aiksaurus 0.14
14110 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14112 * text2.C (firstParagraph): removed member function, all uses
14113 replaces with ownerParagraph
14114 (redoParagraphs): here
14115 (updateInset): here
14116 (toggleAppendix): here
14117 * BufferView2.C (insertErrors): here
14118 (setCursorFromRow): here
14120 2002-01-13 Allan Rae <rae@lyx.org>
14122 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14123 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14124 There is still a way to segfault this although you may have to do this
14125 multiple times: Have an InsetERT with an unknown command in it.
14126 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14127 <down-arrow>, <Enter> again, View->DVI, BANG!
14129 * text2.C (setCursor):
14130 (deleteEmptyParagraphMechanism):
14131 * lyxtext.h (setCursor):
14132 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14133 Making use of the return value may help fix other bugs.
14135 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14137 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14139 * LyXView.C (updateMenubar): call MenuBar::update here
14140 (updateToolbar): but not here
14141 (showState): do not update toolbar/menubar
14143 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14144 should need to care about that.
14146 * lyxfunc.C (verboseDispatch): simplify a bit
14147 (getStatus): have a version which takes a pseudoaction, and
14148 another which requires a (kb_action,string).
14150 * LyXAction.C (retrieveActionArg): make it work also when action
14151 is not a pseudo-action.
14152 (getActionName): simplify a bit
14155 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14157 * lyxfunc.C (verboseDispatch): new families of methods with
14158 several ways to specify a command and a bool to indicate whether
14159 the command name and shortcut should be displayed in minibuffer
14160 (eventually, we could extend that to a finer bitmask like
14161 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14162 (dispatch): the pristine dispatch command which just, well,
14163 dispatchs! Note it still sets its result to minibuffer; I'm not
14166 * lyxfunc.h: remove setHintMessage
14168 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14170 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14172 * BufferView_pimpl.C (specialChar): delete new inset if we have
14173 not been able to insert it.
14175 * kbmap.C: revert to using int instead of kb_action, since all we
14176 are dealing with is pseudo-actions.
14178 * LyXAction.C (searchActionArg): change to return int instead of
14179 kb_action, since the result is a pseudoaction.
14181 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14183 * buffer.C (insertErtContents): Fix (partially) the font bug.
14185 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14187 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14188 as the other one is broken on my machine!
14190 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14193 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14195 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14197 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14198 reflect their actual use. Provide compatibility code for older lyxrc
14201 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14203 change names of popup font variables in line with the changes to lyxrc.C
14205 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14207 * buffer.C (asciiParagraph): avoid outputing a word twice after
14210 * lyxrc.C (getDescription): document that document_path and
14211 template_path can be empty.
14213 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14215 * LaTeXFeatures.C (getMacros):
14216 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14218 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14220 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14222 (getPackages): rename feature "floats" to "float". Use an array to
14223 iterate over 'simple' features (i.e. just a \usepackage). Add
14224 handling of "amsmath" (renamed from "amsstyle").
14226 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14228 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14231 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14233 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14234 FuncStaus::FuncStatus & FuncStaus::some_method().
14236 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14238 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14239 of the func_satus stuff. Edited and massaged in various ways by
14242 * lyxfunc.C (getStatus): use FuncStatus
14244 2002-01-08 Juergen Vigna <jug@sad.it>
14246 * text.C (nextBreakPoint): use function Inset::isChar().
14248 * paragraph.C (TeXOnePar): use function
14249 Inset::forceDefaultParagraphs.
14251 * buffer.C (latexParagraphs): use function
14252 Inset::forceDefaultParagraphs.
14254 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14256 * lyx_gui.C (init): set the style of the menu popups to
14257 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14259 2002-01-07 Juergen Vigna <jug@sad.it>
14261 * text.C (setHeightOfRow): small fix
14262 (prepareToPrint): don't look at alignment if we don't have the place
14265 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14267 * box.C: New file. Move the Box methods and functions out of box.h,
14268 following Lars' suggestion.
14270 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14272 * box.h: #include "support/LOstream.h", needed for inlined function.
14275 * lyxtextclasslist.C: added some using std declarations.
14277 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14279 * box.h: make signed dimensions to allow insets wider than
14280 the screen (bug #162)
14282 * BufferView_pimpl.C: add some insetHit debug
14284 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14286 * vc-backend.C: add FIXME
14288 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14290 * lyxfunc.C (getStatus): enable code for showing math font status
14293 2002-01-07 Juergen Vigna <jug@sad.it>
14295 * text.C (nextBreakPoint): removed debug output not needed anymore.
14297 2002-01-06 Juergen Vigna <jug@sad.it>
14299 * text.C (nextBreakPoint): fixed up this function we had this bug
14300 since ever but now hopefully we break row better.
14301 (insertChar): we have to check if an inset is the next char as it
14302 could now happen that a large inset is causing a break.
14304 2002-01-05 Juergen Vigna <jug@sad.it>
14306 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14307 if it doesn't like to be drawed.
14309 2002-01-04 Juergen Vigna <jug@sad.it>
14311 * BufferView2.C (lockInset): forgot to set a cursor.
14313 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14315 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14317 * FormMathsPanel.C:
14320 * form_maths_panel.C:
14321 * form_maths_panel.h:
14322 * form_maths_panel.fd: implemented sub- and super- buttons in math
14325 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14326 (or ^ space) to be used as in TeX (req'd by Andr�.
14328 * lyxfunc.C: Allow ^ and _ again to be used both as
14329 super/subscript (mathed) and as themselves (in text).
14331 2002-01-03 Allan Rae <rae@lyx.org>
14333 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14334 "LyX" or the filename of the current buffer if it has one. This is a
14335 modified form of John Levon's patch.
14337 * XFormsView.C (setWindowTitle): also set icon title.
14339 * LyXView.h (setWindowTitle): signature changed.
14340 * XFormsView.h (setWindowTitle): ditto.
14342 2002-01-02 Juergen Vigna <jug@sad.it>
14344 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14346 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14348 * screen.C (topCursorVisible): introduce a temp var for
14349 text->cursor.row(), handle the case where this row is null. (kindo
14352 * text2.C (setCursor): add a couple of asserts.
14354 * paragraph.h (inset_iterator): add -> operator
14356 * paragraph.[Ch] (autoDeleteInsets): remove member function
14358 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14359 cursor pos correctly and handle inset deletion by itself.
14360 (insertErrors): move iterator declaration out of for expression
14362 * lyxtextclass.C: add <algorithm>
14364 * Makefile.am: added the new files to sources, removed layout.C
14366 * layout.C: removed file
14368 * layout.h: remove LYX_DUMMY_LAYOUT
14370 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14374 * lyxtextclass.[Ch]:
14375 * lyxtextclasslist.[Ch]: new files
14377 * include order changes to a lot of files, also changes because of
14380 2001-12-27 Juergen Vigna <jug@sad.it>
14382 * buffer.C (asciiParagraph): more fixes.
14384 * tabular.C (ascii): make ascii export support export of only the
14385 data separated by a column-delimiter.
14386 (ascii): better support for ascii export.
14388 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14390 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14392 * tabular_funcs.C: use a "using std::getline" instead of the
14393 previous fix from Angus (necessary for cxx + lyxstring)
14395 2001-12-24 Juergen Vigna <jug@sad.it>
14397 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14399 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14400 problems. First check a minipage also if we have some ert-contents
14401 (not only on par->size(), second set the right depth of the paragraph
14402 on the relink to the root-paragraph-list!
14404 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14405 which then did not anymore update the main paragraphs on undo/redo!
14407 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14409 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14410 code. Support all font-changing funcs (even those which are not in
14411 menu currently). Support for reporting font settings in
14412 mathed (disabled until Andre provides a function on mathed's side).
14414 * func_status.h (toggle): small helper function to set toggle
14417 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14419 * tabular_funcs.C: getline -> std::getline
14421 2001-12-21 Juergen Vigna <jug@sad.it>
14423 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14424 accessed and could be 0 (I couldn't generate this but it seems
14427 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14429 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14430 * tabular_funcs.h: here and include iosfwd
14432 2001-12-20 Juergen Vigna <jug@sad.it>
14434 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14435 inside inset but undo_par was.
14437 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14439 * Thesaurus.C: always include <config.h> in sources.
14443 * box.h: do not include <config.h> in header files
14445 * text.C (paintLastRow): remove unused variable
14447 * text.C (transformChar):
14449 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14451 * Painter.C (text):
14452 * font.C (width): rewrite to use uppercase() instead of
14455 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14457 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14459 * lyxfind.C: clean up of find failure position change
14461 2001-12-20 Juergen Vigna <jug@sad.it>
14463 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14465 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14466 (TeXRow): added to LaTeX a single tabular row.
14467 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14468 (Latex): simplified and finally good LT-h/f support.
14469 (various_functions): just small adaptions for LT-h/f support.
14471 * tabular_funcs.[hC]: added and moved here all not classfunctions
14474 2001-12-19 Juergen Vigna <jug@sad.it>
14476 * tabular.[Ch]: better support for longtabular options (not finished
14479 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14481 * text.C (paintLastRow): use the label font instead of the font of
14482 the last character to compute the size of *_BOX. This makes more
14483 sense and avoids a crash with empty paragraphs.
14484 Use Painter::rectangle to draw EMPTY_BOX.
14486 2001-12-19 Juergen Vigna <jug@sad.it>
14488 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14489 the paragraphs if the replaced paragraph is not the first one!
14490 Tried to delete not used paragraphs but does not work yet so for
14491 now it's inside #ifdef's and by default off!
14493 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14495 * MenuBackend.C: include "lyx_main.h" instead of declaring
14496 lastfiles (actually was declared as LastFiles* instead of a
14499 2001-12-17 Juergen Vigna <jug@sad.it>
14501 * tabular.C (AppendColumn): applied John's fix
14503 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14507 * BufferView_pimpl.h:
14508 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14511 * box.h: new start of class for above
14513 * lyxfunc.C: ignore space-only minibuffer dispatches.
14514 Show the command name when it doesn't exist
14516 * minibuffer.C: don't add empty lines to the history
14518 * minibuffer.C: add a space on dropdown completion
14520 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14522 * text.C: fix line above/below drawing in insets
14524 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14526 * lyxlength.C (LyXLength): Initialize private variables.
14528 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14530 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14531 when inserting error insets.
14533 2001-12-13 Juergen Vigna <jug@sad.it>
14535 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14536 actually sometimes the before-paragraph.
14537 (setUndo): don't clear the redostack if we're not actually undoing!
14539 2001-12-06 Juergen Vigna <jug@sad.it>
14541 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14542 and fixed redoing of main paragraph, so we can use it now ;)
14544 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14546 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14548 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14551 2001-12-13 André Pönitz <poenitz@gmx.net>
14554 * undo_func.C: minor cleanup
14556 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14558 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14559 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14560 font in urw-fonts package which is marked as -urw-fontspecific and
14561 does not work (incidentally, changing the encoding in the
14562 fonts.dir of this package to -adobe-fontspecific fixes the
14565 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14566 is a crash when undoing first paragraph (Juergen, please take a
14567 look). THis does not mean the undo fix is wrong, just that it
14570 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14571 the (Paragraph*) version when needed instead of duplicating the
14574 * text.C (workWidth): use Inset::parOwner to find out where the
14575 inset has been inserted. This is a huge performance gain for large
14576 documents with lots of insets. If Inset::parOwner is not set, fall
14577 back on the brute force method
14579 * paragraph_pimpl.C (insertInset):
14580 * paragraph.C (Paragraph):
14581 (cutIntoMinibuffer): set parOwner of insets when
14582 inserting/removing them
14584 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14586 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14592 * mathed/formulabase.C:
14593 * mathed/math_cursor.[Ch]:
14594 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14597 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14599 * lyxlength.[Ch] (operator!=): new function
14601 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14603 * text.C (workWidth): use Inset::parOwner to find out where the
14604 inset has been inserted. This is a huge performance gain for large
14605 documents with lots of insets. If Inset::parOwner is not set, fall
14606 back on the brute force method
14608 * paragraph_pimpl.C (insertInset):
14609 * paragraph.C (Paragraph):
14610 (cutIntoMinibuffer): set parOwner of insets when
14611 inserting/removing them
14613 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14615 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14617 * tabular-old.C (getTokenValue):
14618 * tabular.C (getTokenValue):
14619 (write_attribute): new versions for LyXLength
14620 (everywhere): adjust the use of widths
14622 * tabular.h: change the type of widths from string to LyXLength
14624 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14626 * paragraph.C: fixed missing line number count when exporting
14627 Environments to LaTeX file
14629 * buffer.C: added informational message for checking line numbers.
14631 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14633 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14634 paragraph, do the 'double space' part, but not the 'empty
14637 * text.C (workWidth): small optimization
14638 (getLengthMarkerHeight): use minimal size for negative lengths.
14640 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14642 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14644 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14646 2001-12-11 André Pönitz <poenitz@gmx.net>
14649 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14651 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14653 * text2.C: keep selection on a setFont()
14655 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14657 * lyx_cb.C: another bv->text misuse, from insert label
14659 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14662 * kbsequence.C: re-instate nmodifier mask
14664 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14666 * lyx_main.h: make lyxGUI private.
14668 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14670 * lyxfind.C: place the cursor correctly on failed search
14672 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14674 * text.C (getLengthMarkerHeight): for small heights, the arrows
14675 are not always on top/bottom of the text
14676 (drawLengthMarker): smaller arrows; take the left margin in
14677 account; draw also vfills.
14679 (paintLastRow): remove special code for vfill and standard spaces,
14680 since everything is handled in drawLengthMarker now.
14682 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14684 * buffer.C (insertErtContents): try to handle font and language
14685 interaction a bit better.g
14687 * ColorHandler.C (updateColor): change the hash to cover the whole
14688 LColor enum, ws cleanup
14689 (getGCLinepars): ditto
14690 (getGCLinepars): only lookup in the linecache once.
14692 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14694 * iterators.C (operator++): Make the iterator more robust
14696 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14698 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14700 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14703 * text.C: better added space drawing
14705 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14708 * BufferView2.C: fix layout combo update on inset unlock
14710 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14712 * Makefile.am: don't compile unused files
14714 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14718 * LyXAction.C: remove old LFUN_LAYOUTNO
14720 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14722 * paragraph_pimpl.h:
14723 * paragraph_pimpl.C: isTextAt() doesn't need font param
14725 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14728 * lyxlex.C: little cleanup
14730 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14732 * BufferView_pimpl.C: fix insertAscii for insets
14734 2001-12-05 Juergen Vigna <jug@sad.it>
14736 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14737 set the right font on the "multi" paragraph paste!
14739 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14745 * lyxlength.C: remove out-commented code.
14747 * BufferView_pimpl:
14761 * vc-backend.C: change "while(" to "while ("
14763 * lyxlength.[Ch]: add zero function to check if length is zero or
14765 * lyxgluelength.C: use it
14767 2001-12-05 Allan Rae <rae@lyx.org>
14769 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14770 Works for 2.95.3, from what I understand of Garst's reports this should
14771 work for other g++ versions. We're screwed if the abs(int) definition
14772 changed between bugfix releases of gcc.
14774 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14776 * text.C: fix chapter label offset !
14778 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14781 * text.C: fix hfill at end of line, clean up
14783 2001-12-04 Juergen Vigna <jug@sad.it>
14785 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14786 that we force an update of the inset and it's owners if neccessary.
14788 2001-12-03 Juergen Vigna <jug@sad.it>
14790 * text.C (rowLast): simplified code
14792 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14794 * lyxfunc.C: fix show options on timeout
14796 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14798 * screen.C (topCursorVisible): scroll half a page when the cursor
14799 reached top of bottom of screen
14801 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14803 * minibuffer.C: deactivate on loss of focus
14805 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14807 * vspace.[Ch] (operator!=): add operator.
14809 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14811 * BufferView_pimpl.C: refuse to open an inset when
14812 there's a selection.
14814 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14816 * BufferView_pimpl.C: allow to click on RHS of full row insets
14818 2001-11-30 Juergen Vigna <jug@sad.it>
14820 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14821 insets for undo reasons.
14823 2001-11-28 André Pönitz <poenitz@gmx.net>
14825 * vspace.[Ch]: cosmetical changes
14827 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14837 * kbsequence.C: part re-write of old kb code
14840 * WorkArea.C: remove Lgb_bug_find_hack
14842 2001-11-30 José Matos <jamatos@fep.up.pt>
14844 * buffer.C (makeDocBookFile): add a comment to point a hack.
14845 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14846 Fixed a double write of labels.
14848 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14851 * LaTeX.h Fixed bug in LaTeX class where it would not
14852 re-run latex if no depfiles were changed, but the .dvi was removed.
14854 2001-11-28 André Pönitz <poenitz@gmx.net>
14856 * all the files from the change on 2001/11/26:
14857 use lyx::layout_type instead of LyXTextClass::size_type
14858 use lyx::textclass_type instead of LyXTextClassList::size_type
14860 2001-11-29 Juergen Vigna <jug@sad.it>
14862 * text.C: added support for paragraph::isFreeSpacing()
14864 * buffer.C: same as above
14866 * paragraph.h: inserted isFreeSpacing() function to enable
14867 FreeSpacing inside InsetERT.
14869 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14870 of the paragraph's in the cut/copy buffer to 0!
14872 * text2.C (removeRow): remove the assert as it can!
14874 * lyxtext.h: added helper function firstRow returning firstrow and
14875 made firstrow private again.
14877 * BufferView2.C (lockInset): don't relock if we're already locked!
14879 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14880 the only paragraph.
14881 (removeRow): added Assert::(firstrow)
14883 * debug.C: forgot to add INSETTEXT here.
14885 2001-11-28 Juergen Vigna <jug@sad.it>
14887 * sp_spell.C (initialize): changed error text to more general
14888 spellchecker command use (not only ispell!)
14890 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14892 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14894 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14896 * vspace.C: initialise lyxgluelength on failure
14898 2001-11-28 Allan Rae <rae@lyx.org>
14900 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14901 declaration & definition that looks like a function declaration.
14903 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14905 * BufferView2.C (copy):
14906 (copyEnvironment): do not clear the selection when doing a copy.
14908 * text.C (paintFirstRow): compilation fix
14910 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14912 * tabular.C (Latex): correct line count when writing latex.
14914 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14916 * paragraph_pimpl.h:
14917 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14920 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14924 * LColor.C: change vfillline->added_space
14926 * text.C: add markers and text for added space
14928 * vspace.C: fix comment
14930 2001-11-28 André Pönitz <poenitz@gmx.net>
14932 * paragraph.C: whitespace changes
14933 * all the other files from the change on 2001/11/26:
14934 change *::pos_type into lyx::pos_type
14936 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14938 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14939 language of the document when inserting error insets.
14941 2001-11-26 André Pönitz <poenitz@gmx.net>
14943 * BufferView_pimpl.[Ch]:
14951 * paragraph_pimpl.[Ch]:
14954 * text2.C: reduce header dependencies, introduce type for positions
14956 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14958 * <various>: change to use Alert.h
14960 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14962 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14963 when encountering an unknown token.
14964 (readLyXformat2): Show an error message if there were unknown tokens.
14966 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14969 * BufferView_pimpl.C:
14973 * text2.C: use par->isInset()
14975 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14977 * paragraph_pimpl.h:
14978 * paragraph_pimpl.C: cleanup
14980 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14982 * text2.C (removeRow):
14983 * text.C (setHeightOfRow): remove useless (and costly) call to
14986 2001-11-20 Allan Rae <rae@lyx.org>
14988 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14989 Now need Inset*::checkInsertChar() to return true for appropriate
14990 cases so that the characters in the minibuffer will actually be
14993 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14995 * text.C: change the order of the includes.
14996 (workWidth): initialize it at once.
14997 (workWidth): make maxw unsigned
14998 (setHeightOfRow): remove unused variable (inset)
14999 (selectSelectedWord): remove unused variable (inset)
15000 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15002 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15004 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15005 server is not running.
15007 (closeConnection): add debug info when server is disabled.
15009 * ColorHandler.C (getGCForeground): send debug message to GUI
15012 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15014 * kbmap.C (bind): modify because return conventions of
15015 kb_sequence::parse have changed.
15017 * kbsequence.C (parse): only ignore spaces and not any stupid
15018 control character. This avoids tests like s[i] <= ' ', which are
15019 guaranteed to fail with 8bit characters and signed chars.
15020 Change return code to string::npos when there have been no error
15021 (0 was a bad idea when error is at first character)
15023 2001-11-14 José Matos <jamatos@fep.up.pt>
15026 * buffer.C (simpleDocBookOnePar): removed unused argument.
15028 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15030 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15031 insets which are part of a word. Paragraph::isLetter takes care of
15032 that now. Use Paragraph::isInset to identify insets.
15033 (selectSelectedWord): do not test for hyphenation break.
15035 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15036 that protected spaces are considered as spaces.
15038 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15041 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15044 * lyxserver.C: fix it. and small cleanup.
15046 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15048 * BufferView_pimpl.C: use inline helpers
15051 * LaTeXFeatures.C: fix typos
15054 * Spacing.C: move spacing_string into class
15056 * ToolbarDefaults.C: move stuff into namespace anon
15058 * layout.h: update enum
15060 * lyxfunc.C: use better debug
15062 * minibuffer.h: fix typo
15066 * WorkArea.C: add and use Debug::WORKAREA
15070 * text2.C: code re-organisation, inline helpers
15072 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15074 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15075 std::vector.empty().
15077 2001-11-09 Allan Rae <rae@lyx.org>
15079 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15080 '\n's after tables. Tabular and ERT inset work now makes this no
15083 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15086 * minibuffer.C: fix crash, improve drop-down completion
15088 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15091 * lyxserver.C: invalidate fd's when doing endPipe()
15093 2001-11-08 José Matos <jamatos@fep.up.pt>
15095 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15096 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15099 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15101 2001-11-07 José Matos <jamatos@fep.up.pt>
15104 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15107 * buffer.C (sgmlOpenTag):
15108 * buffer.C (sgmlCloseTag): removed debug info.
15110 * buffer.h (sgmlOpenTag):
15111 * buffer.h (sgmlCloseTag): made public.
15113 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15115 * buffer.C (saveParamsAsDefaults):
15116 * lyx_cb.C (MenuLayoutSave): remove
15118 * LyXAction.C (init):
15120 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15122 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15124 * buffer.C (setPaperStuff): removed from here...
15126 * bufferparams.C (setPaperStuff): ... and moved there.
15128 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15132 * XFormsView.C: add support for drop-down completion
15134 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15136 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15139 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15141 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15144 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15146 * lyx_main.C: change ref to known bugs
15148 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15150 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15151 to work around older babel problems.
15153 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15155 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15157 2001-10-24 Juergen Vigna <jug@sad.it>
15159 * tabular-old.C (ReadOld): below variable changes reflected.
15161 * tabular.[Ch]: added ltType struct for longtable header/footer
15162 defines and changed all instances where they are used. Added
15163 future support for double top/bottom rows.
15165 2001-10-24 José Matos <jamatos@fep.up.pt>
15167 * buffer.h (docbookHandleCaption):
15168 * buffer.C (docbookHandleCaption): removed unused function.
15169 (makeDocBookFile): moved docbook supported version to v4.1.
15171 2001-10-24 José Matos <jamatos@fep.up.pt>
15174 * tabular.C (docbookRow): new function to export docbook code of a row.
15175 (DocBook): now honors the longtable flags.
15177 2001-10-23 José Matos <jamatos@fep.up.pt>
15180 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15181 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15183 * buffer.C (makeLinuxDocFile):
15184 (makeDocBookFile): reworked the preamble, more clean, and with
15185 support for lyx defined entities. Changed the document declaration
15186 to be more XML friendly.
15188 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15189 if we need to output XML that should be done with a filter.
15191 2001-10-22 Juergen Vigna <jug@sad.it>
15193 * sp_pspell.h (class PSpell): add alive function needed in the
15194 controller to see if the spellchecker could be started.
15196 2001-10-22 Juergen Vigna <jug@sad.it>
15198 * buffer.C (insertStringAsLines): modify the font for inserting
15199 chars in certain conditions by calling checkInsertChar(font).
15201 2001-10-19 Juergen Vigna <jug@sad.it>
15203 * text.C (workWidth): use getRow instead of wrong algorithm.
15204 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15206 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15211 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15213 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15215 * text.C (workWidth): do not search for the exact row when
15216 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15217 optimization for big documents.
15219 2001-10-18 Juergen Vigna <jug@sad.it>
15221 * text.C (workWidth): new function with added Inset * parameter.
15223 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15225 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15227 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15228 change return type of getColumnNearX.
15231 * text.C (changeRegionCase): use uppercase/lowercase instead of
15234 (rightMargin): simplify code by factoring out the uses of
15239 (appendParagraph): use Paragraph::size_type
15241 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15243 * vspace.C (asLatexString): add a missing break
15245 2001-10-15 Herbert Voss <voss@perce.de>
15247 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15249 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15251 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15254 2001-10-10 André Pönitz <poenitz@gmx.net>
15256 * lyxfunc.C: removed greek_kb_flag.
15258 2001-10-10 Herbert Voss <voss@perce.de>
15260 * lyx_main.C: delete global string help_lyxdir.
15262 2001-10-09 Herbert Voss <voss@perce.de>
15264 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15266 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15268 * lyx_main.C: added global string help_lyxdir.
15270 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15272 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15274 * lyxrc.C (set_font_norm_type): support iso8859-4
15276 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15278 * LaTeX.C (deplog): add another regex for MikTeX
15280 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15282 * lyxrc.C (set_font_norm_type): support iso8859-3
15284 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15286 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15288 * LaTeXFeatures.C: remove special case of french and index
15290 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15291 before \begin{document}). This solves several incompatibilities.
15293 2001-10-03 Garst Reese <reese@isn.net>
15295 * lyx_cb.C: change CheckTex error msg.
15297 2001-10-03 José Matos <jamatos@fep.up.pt>
15299 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15301 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15303 * .cvsignore: update
15305 * lyx_main.C (commandLineVersionInfo): use new style version info.
15307 * buffer.C (writeFile):
15309 (makeLinuxDocFile):
15310 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15312 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15314 * version.h: update to use stuff in version.C
15316 * version.C.in: new file. Contains version information determined
15317 at compile time. This is a merging of version.h and
15320 2001-10-03 Juergen Vigna <jug@sad.it>
15322 * BufferView_pimpl.C (update): don't change "dirty" status in
15325 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15327 * WorkArea.C (c-tor): re-position version string slightly.
15329 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15331 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15332 revert to previous code.
15334 WorkArea.[Ch]: (show, destroySplash): methods removed.
15336 WorkArea.C: rework code so that it's an amalgam of the codes before and
15337 after the splash screen was moved to WorkArea.
15339 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15342 * vspace.C (inPixels):
15345 * buffer.C (insertStringAsLines):
15346 (asciiParagraph): fix types to be large enough
15348 * lyxlex_pimpl.h: change member status from short to int
15350 * layout.h: fix type of endlabeltype
15353 * kbsequence.C (parse): change return type to string::size_type
15355 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15358 * Bullet.C (bulletSize):
15359 (bulletEntry): do not use short ints as parameters
15361 * BufferView2.C (insertLyXFile): change a char to an int.
15363 * WorkArea.C (WorkArea): remove unneeded floats in computation
15365 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15367 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15369 * paragraph.C (asString): Do not ignore newline/hfill chars when
15370 copying to the clipboard.
15372 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15374 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15375 after a multi-line inset.
15377 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15379 * paragraph.C (validate): Set NeedLyXFootnoteCode
15381 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15383 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15384 and decrease-error to decrease.
15386 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15388 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15389 it more readable (should be equivalent)
15391 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15393 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15395 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15397 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15398 of a cursor (row, etc.) after a character has been deleted
15399 (deleteEmptyParagraphMechanism): call the method above on _all_
15400 cursors held by the LyXText when a double space has been
15403 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15405 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15407 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15409 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15410 background. Use greyOut() and the new show() methods to toggle between
15411 the foreground and background. Add code to remove the splash after
15412 its initial showing.
15414 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15415 (create_forms): no longer call Dialogs::showSplash.
15417 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15419 * .cvsignore: add version_info.h
15421 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15423 * version_info.h.in: new file
15425 * Makefile.am: add version_info.h.in
15427 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15428 version_info.h instead of VERSION_INFO
15430 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15432 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15433 The ERT inset now returns string().
15435 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15437 * lyxtext.h, text.C (selectNextWord): renamed as
15438 selectNextWordToSpellcheck.
15440 * text.C (selectNextWordToSpellcheck): Modified to not select
15441 words inside an ERT inset.
15443 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15445 * lyx_cb.C (MenuLayoutSave): change a bit the question
15447 * sp_base.h: include <sys/types.h>
15449 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15451 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15453 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15455 * several files: fix typos in user-visible strings
15457 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15459 * text2.C (pasteSelection): do not set the selection, since it
15460 will be cleared later. Actually, the intent was to fix the way the
15461 selection was set, but I figured rmoving the code was just as good.
15463 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15465 * FontLoader.C (available): Check if font is available without
15468 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15470 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15472 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15474 * lyxrc.[Ch]: added display_graphics variable and associated code.
15476 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15478 * bufferparams.C (hasClassDefaults): new method. Returns true if
15479 the buffer parameters correspond to known class defaults
15481 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15483 * XFormsView.C (show): set minimum size to the main window.
15485 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15487 * text2.C (copySelection):
15489 * lyxfind.C (LyXReplace):
15490 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15491 LyXText::selectionAsString.
15493 * paragraph.C (asString): add "label" argument to the second form
15495 * text2.C (selectionAsString): add "label" argument and pass it to
15496 Paragraph::asString.
15498 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15500 * lyx_main.C (commandLineHelp): remove version information
15502 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15504 * lyx_main.C: add -version commandline option
15506 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15508 * paragraph.h: make the optional constructor arg required instead.
15509 some modifications to other files because of this.
15511 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15513 * lyxserver.C (C_LyXComm_callback): make it static
15515 * lyx_main.C (error_handler): make it static
15517 * lyx_gui.C (LyX_XErrHandler): make it static
15519 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15521 * WorkArea.C: make the extern "C" methods static.
15523 * Makefile.am (lyx_LDADD): simplify
15525 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15527 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15528 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15530 * LyXAction.C (init):
15531 * lyxfunc.C (dispatch): associated code removal.
15533 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15535 * lyxfont.h (isSymbolFont): shut off warning
15537 * text.C (setHeightOfRow):
15538 (getVisibleRow): fix crash with empty paragraphs which have a
15541 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15543 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15546 2001-09-04 José Matos <jamatos@fep.up.pt>
15549 * tabular.C (docbook): rename docBook method to docbook.
15551 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15553 * Makefile.am: add dependencies to main.o.
15555 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15557 * FontLoader.C (available): Return false if !lyxrc.use_gui
15559 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15561 * FontInfo.C (query):
15562 * converter.C (view):
15563 * importer.C (Import):
15564 * exporter.C (Export): Can not -> cannot.
15566 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15568 * BufferView_pimpl.C: allow to create index inset even if
15571 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15573 * buffer.C (getLists): replace boost::tie code with an explicit pair
15574 as boost::tie can break some compilers.
15576 * iterators.h: Added a std:: declaration to the return type of
15579 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15581 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15584 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15586 * iterators.[Ch]: New files. Provide paragraph iterators.
15588 * buffer.C (changeLanguage): Use paragraph iterators.
15589 (isMultiLingual): ditto
15591 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15593 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15595 * FontLoader.C: Support for cmr font.
15597 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15599 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15600 (available): New method.
15602 * FontInfo.C (getFontname): Use scalable fonts even when
15603 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15606 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15608 * converter.C (Formats::view): reverted! Incorrect fix.
15610 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15612 * converter.C (Formats::view): only output the -paper option
15613 if the dvi viewer is xdvi, thereby fixing bug #233429.
15615 2001-08-23 Herbert Voss <voss@perce>
15617 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15619 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15621 * Spacing.h (Spacing): Set space to Default on in the default
15624 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15626 * vc-backend.h (RCS::versionString): add RCS to version
15627 (CVS::versionString): add CVS to version
15629 * vc-backend.C (scanMaster): do not add CVS to version.
15630 (scanMaster): do not add RCS to version
15632 * lyxvc.C (versionString): new method
15634 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15636 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15638 * Spacing.C (set): initialize fval
15640 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15642 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15645 2001-08-16 Juergen Vigna <jug@sad.it>
15647 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15649 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15651 * BufferView_pimpl.C:
15654 * text2.C: setParagraph takes linespacing now
15656 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15658 * LyxAction.C: add internal LFUN_CITATION_INSERT
15660 * LyXView.C: actually apply fix
15662 * bufferlist.C: fix open non-existent file
15664 * lyxfind.C: fix indentation
15666 * lyxfunc.C: remove unneeded assert, fix typo
15668 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15670 * MenuBackend.C: use "Floatname List"
15672 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15674 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15675 when converting LaTeX layout to insetERT.
15676 Generate a non-collapsed float when reading old float
15678 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15680 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15683 2001-08-13 Juergen Vigna <jug@sad.it>
15685 * text.C (fill): return 0 instead of 20 as this seems to be the more
15688 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15690 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15693 2001-08-13 Juergen Vigna <jug@sad.it>
15695 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15697 (SearchBackward): comment out the unlocking of the inset_owner this
15698 should not be needed!
15700 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15702 * Many files: Remove inherit_language, and add latex_language
15704 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15705 collapsible insets.
15707 2001-08-10 Juergen Vigna <jug@sad.it>
15709 * text.C (prepareToPrint): fixed hfill-width in draw!
15711 * BufferView2.C (selectLastWord): save the selection cursor as this
15712 now is cleared in the function LyXText::clearSelection!
15714 2001-08-08 Juergen Vigna <jug@sad.it>
15716 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15717 BACKSPACE type functions.
15719 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15720 is only cutted from the document but not put in the cut-buffer, where
15721 still the old stuff should be.
15723 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15725 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15727 * tabular.C (SetWidthOfCell): fixed special case where the width
15729 (LeftLine): handle '|' in align_special.
15731 (LeftAlreadyDrawed): ditto
15732 (SetWidthOfCell): ditto
15734 2001-08-07 Juergen Vigna <jug@sad.it>
15736 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15738 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15740 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15741 * lyxlex.[hC]: ditto
15743 2001-08-06 Juergen Vigna <jug@sad.it>
15745 * text.C (getVisibleRow): fix up row clearing a bit.
15747 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15749 * minibuffer.C: make sure the X server sees the changes in the input.
15751 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15753 * paragraph.C (getFont): split into...
15754 (getLabelFont): this
15755 (getLayoutFont): and this
15756 * paragraph_pimpl.C (realizeFont): calling this
15758 * text2.C (getFont): split into...
15759 (getLayoutFont): this
15760 (getLabelFont): and this
15761 (realizeFont): all three calling this
15763 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15766 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15768 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15770 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15772 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15773 layouts from the Quote inset insertion.
15775 2001-08-03 Juergen Vigna <jug@sad.it>
15777 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15779 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15780 only if status not is already CHANGED_IN_DRAW (second level).
15782 * text.C (draw): don't set the need_break_row when inside an
15785 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15787 * buffer.C (parseSingleLyXformat2Token): handle more latex
15790 * bufferview_funcs.[hC]: change function names to
15791 begin with small char, adjust other files.
15793 2001-08-02 André Pönitz <poenitz@gmx.net>
15796 BufferView_pimpl.C: remove broken special code for math-greek
15798 2001-08-02 Juergen Vigna <jug@sad.it>
15800 * BufferView_pimpl.C (update): redone this function so that we
15801 update the text again if there was a CHANGE_IN_DRAW.
15803 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15804 (drawFromTo): added a new internal bool which is used by draw() and
15806 (general): some cursor drawing problems fixed.
15808 2001-08-01 Juergen Vigna <jug@sad.it>
15810 * lyxfind.C (LyXFind): fixed
15811 (SearchForward): ditto
15812 (SearchBackward): ditto
15814 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15815 spurius drawing of the cursor in the main area.
15817 * text2.C (status): small fix which could lead to a segfault!
15818 (clearSelection): remove unneeded BufferView param.
15820 2001-08-01 André Pönitz <poenitz@gmx.net>
15822 * lyxfunc.C: small change due to changed mathed interface
15824 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15826 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15828 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15830 * lyxfunc.c: fail gracefully if file doesn't exist
15835 * BufferView_pimpl.C: IsDirWriteable() proto changed
15837 * LyXView.C: fix updateWindowTitle() to store the last title
15839 2001-07-31 Juergen Vigna <jug@sad.it>
15841 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15842 the font (wrong since using of Paragraph::highestFontInRange).
15844 * paragraph.C (highestFontInRange): added a default_size parameter.
15846 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15847 (setHeightOfRow): reformat
15849 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15851 * converter.[hC] + affected files: move to (inital-char)lowercase
15854 * ParagraphParameters.C (ParagraphParameters): remove commented code
15856 * PainterBase.[Ch]: remove commented code
15858 * LaTeXFeatures.h: add "bool floats" for float.sty
15860 * LaTeXFeatures.C (LaTeXFeatures): init floats
15861 (require): handle float
15862 (getPackages): do it with floats
15864 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15866 * BufferView_pimpl.C (Dispatch): improve handling of
15867 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15869 * commandtags.h: #include lyxfont.h here temporarily to avoid
15872 * bufferlist.h: include LString.h here.
15874 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15876 * text2.C (getStringToIndex): new method.
15878 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15880 * *: Reduced header file dependencies all over.
15882 2001-07-30 Baruch Even <baruch@lyx.org>
15884 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15886 2001-07-29 Baruch Even <baruch@lyx.org>
15888 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15890 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15892 * ParameterStruct.h (endif): add a default constructor to make
15893 sure that all variables is initialized.
15895 * ParagraphParameters.C (ParagraphParameters): adjust
15897 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15899 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15900 index; also, check that there is something to index, and that it
15901 does not span over several paragraphs.
15902 (doubleClick): use WHOLE_WORD_STRICT for double click.
15904 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15906 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15909 2001-07-26 Baruch Even <baruch@lyx.org>
15911 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15912 an InsetFig figure, backwards compatible reading of old figure code.
15914 2001-07-27 Juergen Vigna <jug@sad.it>
15916 * text2.C: font.realize function adaption.
15918 * text.C (draw): add a warnings lyxerr text if needed.
15920 * layout.C: font.realize function adaption.
15922 * language.C: add inherit_language and implement it's handlings
15924 * bufferview_funcs.C (StyleReset): remove language parameter from
15925 font creation (should be language_inherit now).
15927 * bufferparams.C (writeFile): handle ignore_language.
15929 * paragraph.C (getFontSettings): the language has to be resolved
15930 otherwise we have problems in LyXFont!
15932 * lyxfont.C (lyxWriteChanges): added document_language parameter
15933 (update): removed unneeded language parameter
15935 * paragraph.C (validate): fixed wrong output of color-package when
15936 using interface colors for certain fonts in certain environments,
15937 which should not seen as that on the final output.
15939 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15941 * BufferView_pimpl.C:
15946 * LyXAction.C: add thesaurus support
15949 * lyxfind.C: add "once" parameter, for thesaurus, to not
15950 move to the next match
15952 2001-07-26 Juergen Vigna <jug@sad.it>
15954 * lyxfont.C (realize): honor ignore_language too!
15957 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15959 * text.C (draw): one place more for ignore_language to not draw
15962 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15964 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15966 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15968 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15969 the minipage conversion problem.
15971 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15973 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15976 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15978 * BufferView.h: don't forward declare WorkArea
15980 * BufferView.C: don't include WorkArea.h
15982 2001-07-25 André Pönitz <poenitz@gmx.net>
15986 * lyxfunc.C: new LFUN 'math-space'
15988 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15990 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15992 * text2.C (toggleInset): call open/close
15994 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15996 * lyxfunc.C (dispatch): add debug for the disabled case
15998 * font.C (buttonText): make similar to rectText
16000 * buffer.C (readInset): comment out parsing of insetlist and
16003 * PainterBase.C (rectText): small correction
16005 * BufferView_pimpl.C: comment out insettheorem and insetlist
16006 * LyXAction.C: ditto
16007 * commandtags.h: ditto
16009 2001-07-24 Juergen Vigna <jug@sad.it>
16011 * text.C (draw): honor the ignore_language.
16013 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16015 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16017 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16020 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16022 * lyxtext.h: remove unused (and unimplemented) methods
16024 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16026 * text.C (getVisibleRow): honor background color
16029 * Painter.h: remove default color argument for fillRectangle
16031 * text.C (backgroundColor): new method
16033 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16035 * text.C (getVisibleRow): adjust
16037 * font.[Ch] (rectText): new method, metrics
16038 (buttonText): new method, metrics
16040 * PainterBase.[hC]: make rectText and buttonText always draw and take
16043 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16045 * ToolbarDefaults.C (read):
16046 * MenuBackend.C (read): allow escaping in all strings
16048 * BufferView_pimpl.C (insertAndEditInset): new method.
16049 (Dispatch): use insertAndEditInset whenever appropriate.
16051 * BufferView_pimpl.C (insertNote): removed
16053 * BufferView_pimpl.C (smartQuote): new method, moved from
16054 BufferView; if an insetquote cannot be inserted, insert a '"'
16057 * BufferView2.C: remove insertCorrectQuote();
16059 * lyxfunc.C (getStatus): Add support for all remaingin
16060 inset-insert lfuns.
16062 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16064 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16065 command (necessary to pass " as parameter of self-insert.
16067 * text.C (selectWordWhenUnderCursor):
16068 (selectWord): add word_location parameter
16069 (selectWordWhenUnderCursor): same + remove special code for word
16071 (selectNextWord): use kind() to guess type of insetspecialchar,
16074 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16075 (insertErtContents): create ert insets as collapsed.
16076 (readInset): better compatibility code for Info inset.
16078 2001-07-20 Juergen Vigna <jug@sad.it>
16080 * lyxfunc.C (dispatch): use always LyXFind now!
16082 * text2.C (init): add a reinit flag so that the LyXText can be
16083 reinited instead of deleted and reallocated (used in InsetText).
16085 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16091 2001-07-18 Juergen Vigna <jug@sad.it>
16093 * text.C (selectNextWord): handle insets inside inset by calling
16094 always the bv->text functions so that we can go up the_locking_inset!
16096 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16097 in strange locations when inside an inset!
16099 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16100 handling to include insets.
16102 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16104 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16106 * LyXAction.C (init):
16108 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16109 LIGATURE_BREAK, since the name is so stupid.
16111 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16113 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16116 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16118 * sp_form.[Ch]: remove.
16120 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16122 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16125 * src/buffer.C (readInset): ditto.
16127 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16129 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16130 menuSeparator(), endOfSentenceDot(), ldots() and
16131 hyphenationPoint(), which are therefore removed.
16132 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16134 * LyXAction.C (init):
16135 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16137 * paragraph.C (getWord): removed.
16139 * BufferView_pimpl.C (Dispatch): use last word or selection for
16140 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16142 * lyx_main.C (queryUserLyXDir): do not ask before creating
16143 user_dir, except if it has been named explicitely.
16145 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16147 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16148 a document of zero size.
16150 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16152 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16153 approriately in the c-tor and in require().
16154 (getPackages): output the appropriate LaTeX for natbib support.
16156 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16157 variables "use_natbib" and "use_numerical_citations" when reading the
16159 (readInset): read the various natbib cite commands.
16160 (validate): white-space change.
16162 * bufferparams.[Ch]: new variables "bool use_natbib" and
16163 "bool use_numerical_citations".
16164 (writeFile): output them in the LyX file.
16166 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16168 * lyxfunc.C (getStatus): add support for all the inset insertion
16171 * text2.C (insertInset):
16172 * paragraph.C (insetAllowed):
16173 * BufferView_pimpl.C (insertInset): update to take in account the
16174 renaming of insertInsetAllowed
16176 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16178 * text2.C (getInset): new method. returns inset at cursor position.
16180 * BufferView_pimpl.C (Dispatch): changes because of this.
16182 * LyXAction.C (init): rename open-stuff to inset-toggle.
16184 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16186 * text2.C (toggleInset): renamed from openStuff; use
16189 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16191 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16193 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16195 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16197 * buffer.C (readLyXformat2): Add filename to the error dialog
16199 2001-07-18 Juergen Vigna <jug@sad.it>
16201 * tabular.C (GetCellNumber): put an assert here instead of the check!
16203 2001-07-17 Juergen Vigna <jug@sad.it>
16205 * BufferView_pimpl.C (toggleSelection): adapted too.
16207 * text.C (selectNextWord): adapted for use with insets.
16208 (selectSelectedWord): ditto
16210 2001-07-17 Juergen Vigna <jug@sad.it>
16212 * sp_spell.C (PSpell): fix initialitation order.
16214 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16216 * paragraph.C: spacing
16218 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16220 * sp_spell.C: repair language selection for pspell
16222 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16224 * lyxfunc.h: change more methods to begin with lower char.
16226 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16228 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16229 for unknown layouts.
16231 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16233 * buffer.C (readLyXformat2): Generate an error dialog if there are
16236 2001-07-16 Juergen Vigna <jug@sad.it>
16238 * sp_spell.C: always compile ISpell part.
16240 * lyxrc.C: added use_pspell entry and it's handling.
16242 2001-07-13 Juergen Vigna <jug@sad.it>
16244 * sp_spell.C: removed double includes.
16246 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16248 Consistent use of Lsstream.h:
16249 * Lsstream.h: added using std::stringstream for consistencies sake.
16251 * buffer.C: removed using std::stringstream
16253 * lyxfont.C (stateText):
16254 * paragraph.C (asString):
16255 * text.C (selectNextWord, selectSelectedWord):
16256 * text2.C (setCounter):
16257 * vspace.C (asString, asLatexString):
16258 std::ostringstream -> ostringstream.
16260 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16262 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16263 * commandtags.h: add LFUN_HELP_ABOUTLYX
16264 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16266 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16268 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16270 * lyx_gui_misc.C: remove spellchecker
16271 * lyxfunc.C: showSpellchecker
16273 * sp_ispell.h: added
16274 * sp_pspell.h: added
16275 * sp_spell.C: added
16276 * sp_form.[Ch]: removed
16277 * spellchecker.[Ch]: removed
16279 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16281 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16283 (simpleTeXSpecialChars): Simply print the input character without
16284 any special translation if pass_thru is set.
16286 * layout.h: Added bool pass_thru to layout class for being able to
16287 implement pass through of a paragraph for Literate Programming.
16289 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16290 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16291 * layout.C (Read): add "passthru" to list of layout tags and add
16292 code to set the pass_thru boolean when it is read.
16294 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16296 * trans_decl.h: remove allowed from KmodInfo
16298 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16299 remove allowed code
16302 * paragraph_pimpl.C (erase): use boost::prior
16304 * Painter.C (text): use data() instead of c_str() when length is
16306 * WorkArea.C (putClipboard): ditto
16307 * font.h (width): ditto
16309 * BufferView2.C: use it-> instead of (*it). for iterators
16311 * paragraph_pimpl.C: ditto
16312 * paragraph.C: ditto
16313 * minibuffer.C: ditto
16314 * language.C: ditto
16316 * encoding.C: ditto
16317 * counters.C: ditto
16318 * converter.C: ditto
16320 * Variables.C: ditto
16321 * TextCache.C: ditto
16322 * MenuBackend.C: ditto
16323 * LyXAction.C: ditto
16325 * FloatList.C: ditto
16326 * DepTable.C: ditto
16327 * ColorHandler.C (LyXColorHandler): ditto
16329 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16331 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16333 * text2.C (openStuff): reintroduce this method (which had been
16334 nuked in NEW_INSETS frenzy).
16336 * lyxfunc.C (Dispatch): when an action has not been handled, use
16337 its name in the error message, not its number.
16339 * paragraph.C (inInset): change method name to begin with lowercase.
16342 * text2.C: updates because of this.
16344 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16346 * ToolbarDefaults.C (add): add spaces in error message
16348 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16350 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16351 (readLyXformat2): rename return_par to first_par, use lyxlex's
16352 pushToken and remove the manual push handling.
16353 (parseSingleLyXformat2Token): add another ert comp. variable:
16354 in_tabular, rename return_par to first_par. handle newlines better
16356 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16358 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16360 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16362 * text2.C (getParFromID): removed
16364 * buffer.C (getParFromID): new method moved form lyxtext.
16365 * BufferView2.C (insertErrors): adjust
16366 (setCursorFromRow): adjust
16367 * BufferView_pimpl.C (restorePosition): adjust
16368 * lyxfunc.C (Dispatch): adjust
16369 * undo_funcs.C (textUndo): adjust
16371 (textHandleUndo): adjust
16372 (textHandleUndo): adjust
16374 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16376 * buffer.C: up' the LYX_FORMAT
16378 * lyxfont.h: turn NO_LATEX on as default
16380 * buffer.C (insertErtContents): new methods of tex style compability.
16381 (parseSingleLyXformat2Token): use it several places.
16382 * tabular.C (OldFormatRead): and here
16384 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16386 * text2.C: remove some commented code.
16389 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16390 * trans.C: changes because of the above.
16392 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16394 * text2.C (setCounter): Fix counters bug with bibliography layout.
16396 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16398 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16399 own member functions
16400 (simpleTeXSpecialChars): ditto
16402 2001-07-06 Juergen Vigna <jug@sad.it>
16404 * a lot of files: changed the access to LyXText::status and the
16405 call of undo-functions.
16407 * undo.[Ch]: added a inset_id to the undo informations.
16409 * undo_funcs.[Ch]: added and moved here all undo functions.
16411 * lyxtext.h: give the status enum a weight, made status_ a private
16412 variable and made accessor functions for it, removed the whole bunch
16413 of undo-functions as they are now in their own file, make some
16414 functions publically available. Added function ownerParagraph with
16417 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16418 made InInset() a const function, added getParFromID() function.
16420 * buffer.[Ch]: added const version for inset_iterator functions,
16421 added getInsetFromID() function.
16423 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16424 changed undo functions for new version.
16426 2001-07-05 Juergen Vigna <jug@sad.it>
16428 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16429 unknow mechanism does not call the proper constructor but only this
16430 one also if I request the other!?
16432 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16434 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16436 * text2.C (LyXText): use initialization lists.
16438 * lyxtext.h (Selection): initialize set_ and mark_
16439 (init): remove method
16441 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16443 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16445 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16447 * screen.[Ch]: change method names to begin with lowercase
16449 * BufferView_pimpl.C (updateScrollbar): simplify further and
16450 hopefully make it a bit faster.
16452 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16454 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16455 calling directly xforms functions.
16457 * Painter.C (Painter):
16458 * lyx_cb.C (MenuWrite):
16459 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16462 * lyx_gui.C: remove bogus guiruntime extern declaration.
16464 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16466 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16468 (redoDrawingOfParagraph): ditto
16469 (redoParagraphs): ditto
16470 (cutSelection): don't create a object for CutAndPaste use the
16471 static method directly
16472 (pasteSelection): ditto
16474 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16477 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16479 * modifications to some other files because of this.
16481 * Makefile.am (lyx_SOURCES): add XFormsView
16483 * XFormsView.[Ch]: new files
16485 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16486 the main window. Move the gui dependent stuff to XFormsView
16488 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16490 * tabular.C (GetCellInset): update cur_cell also in the row/col
16491 version of this function.
16493 * lyxfunc.C: no need to include figure_form.h here.
16499 * lyxvc.C: no need to include forms.h here.
16501 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16503 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16505 * lyxfunc.C (Dispatch):
16507 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16508 constructor argument.
16510 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16512 * paragraph.C (Paragraph): dont't clear, and just set layout.
16513 (makeSameLayout): use params's copy contructor.
16515 * ParagraphParameters.[Ch] (makeSame): delete method
16517 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16519 * Variables.[Ch]: fix indentation, rename set to isSet
16521 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16523 * lyxfunc.C (Dispatch): fix typo
16525 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16527 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16530 * bufferlist.C: include assert.h for emergencyWrite().
16532 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16534 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16535 give up at last (bug #425202) !
16537 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16543 * spellchecker.C: strip spellchecker options and bring up
16544 preferences tab instead
16546 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16548 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16549 the istringstream constructor
16551 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16553 * paragraph.C (getLayout): fix return value
16555 * paragraph.h: do not declare getLayout as inline.
16557 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16559 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16561 * lyxcursor.h (operator<): new func
16562 (operator>): new func
16563 (operator>=): new func
16564 (operator<=): new func
16566 * text.C (changeCase): use selection.start and selection.end
16567 (changeRegionCase): require from to be <= to. Require par to be a
16570 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16572 2001-06-27 Juergen Vigna <jug@sad.it>
16574 * text.C (cursorLeftOneWord): changed to return the cursor and added
16575 overlay with BufferView * parameter which calls this one.
16577 (selectWord): use new getWord function.
16578 (changeCase): renamed from changeWordCase as and extended to work
16579 also on selections.
16581 * lyxtext.h: added enum word_location
16583 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16584 changeCase as this operates now also on selections.
16586 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16588 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16590 * many files: send debug output to Debug::INFO instead of
16593 * converter.C (View):
16595 (Move): send debug output to Debug::FILES instead of console.
16597 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16599 * lyxfunc.C (getStatus): use func_status
16601 * func_status.h: new header, describing the results of
16602 LyXFunc::getStatus;
16604 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16607 2001-06-25 The LyX Project <jug@sad.it>
16609 * buffer.C (sgmlOpenTag):
16611 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16613 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16615 * text2.C: remove some dead code
16617 * tabular.C (GetCellInset): store the last cell checked (gotten)
16619 * tabular.h: add the helper for the speedup
16621 * lyxtext.h: remove some dead code
16623 2001-06-26 The LyX Project <Asger>
16625 * paragraph.C: Change export to LaTeX of alignment to
16626 \begin{center} and family for better roundtrip work with reLyX.
16628 * Tune the math drawing a bit.
16630 2001-06-25 The LyX Project <Asger>
16632 * LColor.C (LColor): New color for math background. New color
16635 2001-06-25 The LyX Project <jug@sad.it>
16637 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16639 * lyxfunc.C (Open):
16640 * bufferlist.C (newFile): do not restrict to files ending with
16643 * BufferView_pimpl.C (MenuInsertLyXFile):
16645 2001-06-24 The LyX Project <jug@sad.it>
16647 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16650 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16652 * lyxtext.h: rename most methods to begin with a small char.
16653 Lots of changes because of this.
16655 * paragraph.C (Paragraph): do not call fitToSize
16656 (erase): call Pimpl::erase
16657 (insertChar): call Pimpl::insertChar
16658 (insertInset): call Pipl::insertInset
16659 (breakParagraph): do not call fitToSize
16660 (breakParagraphConservative): do not call fitToSize
16661 (fitToSize): remove method
16663 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16665 2001-06-24 The LyX Project <Asger>
16667 * Fix Qt compilation^2
16669 2001-06-24 The LyX Project <jug@sad.it>
16671 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16672 depthHook(getDepth()-1).
16675 * ParagraphParameters.h:
16676 * ParameterStruct.h: change type of depth to unsigned int ==
16677 depth_type. Many adaptations to other files before of that.
16679 2001-06-24 The LyX Project <Asger>
16681 * Fix Qt compilation.
16683 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16685 * paragraph.h: renamed several methods to begin with small letter.
16686 several changes to many parts of the code because of this.
16688 2001-06-23 The LyX Project <jug@sad.it>
16690 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16691 rewritten to discard all double spaces when KeepEmpty is off
16692 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16693 to only handle newlines but not fiddle with spaces and friends.
16695 * lyxfunc.C (MenuNew): when doing 'new from template', use
16696 template_path as default directory
16698 2001-06-23 The LyX Project <Asger>
16700 * Clean-up of header file includes all over
16701 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16703 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16705 * paragraph.h: renamed from lyxparagraph.h
16707 2001-06-23 Asger <lyx@violet.home.sad.it>
16709 * Buffer.h: Removed Buffer::resize
16710 * BufferList.h: Removed BufferList::resize
16711 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16712 the document lazily when we change the width, or the font settings.
16714 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16716 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16718 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16720 * buffer.h: remove out of date comment
16722 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16725 * screen.C: fix "theoretical" GC leak
16727 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16729 * LaTeX.C (scanAuxFile):
16730 (deplog): remove trailing \r when reading stream (useful under
16733 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16735 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16736 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16737 and BufferView::theLockingInset(Inset*), so should use them and not
16738 access bv_->text->the_locking_inset directly.
16740 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16742 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16745 * tex-defs.h: remove old unused file
16747 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16749 * BufferView_pimpl.C: fix typo, remove minibuffer message
16750 when buffer has loaded
16752 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16754 * lyxfunc.C (Dispatch): use stringstream
16755 (MenuNew): use stringstream
16756 (Open): use stringstream
16758 * importer.C (Import): use stringstream
16760 * bufferview_funcs.C (CurrentState): use stringstream
16762 * LaTeX.C (run): use stringstream
16764 * BufferView_pimpl.C (savePosition): use stringstream
16765 (restorePosition): use stringstream
16766 (MenuInsertLyXFile): use stringstream
16768 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16781 * vspace.C: removed // -*- C++ -*- as first line.
16784 * version.h: added // -*- C++ -*- as first line.
16786 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16788 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16790 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16793 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16795 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16798 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16800 * gettext.C: include LString.h even when --disable-nls is on.
16802 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16804 * converter.h (Get): changed argument type from int to
16805 FormatList::size_type to avoid unnecessary conversion.
16807 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16810 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16812 * gettext.h: include LString.h even when --disable-nls is on.
16814 2001-06-07 Juergen Vigna <jug@sad.it>
16816 * text.C (BreakAgain): subst spaces with tabs.
16818 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16819 (resizeInsetsLyXText): set force on resizeLyXText.
16821 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16823 * gettext.h (gettext_init):
16824 (locale_init): use a real definition instead of a macro
16826 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16828 * Bufferview_pimpl.C:
16830 * LColor.C: further lcolor tidies
16832 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16834 * BufferView_pimpl.C (updateScrollbar): simplify.
16836 * BufferView2.C: don't include insets/insetinfo.h, change
16837 prototype for insertInset and call the Pimpl version. let
16838 updateInset call Pimpl version.
16840 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16841 gotoInset to BufferView::Pimpl
16843 2001-06-01 Juergen Vigna <jug@sad.it>
16845 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16846 inside a LockingInset (is the update needed at all?).
16848 2001-05-31 Juergen Vigna <jug@sad.it>
16850 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16851 here not the old one otherwise how should we compare it afterwards
16854 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16859 * FontInfo.C: bring C functions into global namespace when
16862 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16864 * LString.h: make sure config.h has been loaded before LString.h.
16866 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16867 (one for each char read by EatLine!).
16869 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16872 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16874 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16875 to the same as the par we break from
16877 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16879 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16881 * MenuBackend.C (expand): also create menu entries for wide
16882 versions of the floats.
16884 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16886 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16888 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16889 frontends/Makefile.am
16895 * tabular.C (getTokenValue): add std::
16897 * tabular-old.C (getTokenValue): add std::
16898 (getTokenValue): ditto
16899 (getTokenValue): ditto
16901 * screen.C (ToggleSelection): adjust
16903 * lyxtext.h: put selection cursors inside a Selection struct.
16905 * lyxfunc.C (moveCursorUpdate): adjust
16907 * lyxfont.C (latexWriteStartChanges): add std::
16909 * lyxfind.C: adjust
16911 * font.h: delete with(char const *, LyXFont const &)
16913 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16915 * FontInfo.C (getFontname): add std::
16917 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16918 (workAreaButtonPress): adjust
16919 (tripleClick): adjust
16921 (moveCursorUpdate): adjust
16924 * BufferView2.C (gotoInset): adjust
16926 2001-05-30 Juergen Vigna <jug@sad.it>
16928 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16929 to check pspell I add this as default as I now have new pspell
16930 libraries and they seem to use this.
16932 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16934 * text2.C (CutSelection): make the cursor valid before the call to
16937 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16939 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16940 relied on 0 terminated strings and other horrors. Bug found due to
16941 the new assert in lyxstring!
16943 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16946 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16948 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16951 * lyxfunc.C (processKeySym): change method of getting to the
16954 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16955 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16956 * BufferView_pimpl.[Ch]: here as private methods.
16958 2001-05-28 Juergen Vigna <jug@sad.it>
16960 * text.C (SetHeightOfRow): added the update() call again as it is
16961 needed to initialize inset dimensions!
16963 2001-05-16 Juergen Vigna <jug@sad.it>
16965 * text2.C (SetCharFont): Add new function with BufferView * and
16966 bool toggleall parameters for setting insets internal fonts.
16967 (SetFont): Freeze the undo as we may change fonts in Insets and
16968 all this change should be inside only one Undo!
16970 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16971 setting font's in insets as for them we have the SetFont function!
16973 2001-05-15 Juergen Vigna <jug@sad.it>
16975 * text2.C (ClearSelection): to be sure we REALLY don't have any
16978 * tabular.C (TeXCellPreamble): fixed the left border problem for
16981 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16983 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16986 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16988 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16989 LFUN_BREAKPARAGRAPH.
16991 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16992 help test to "internal only", similar for LFUN_INSERT_URL
16994 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16995 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16996 auto_region_delete and deadkeys.
16998 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17001 * LColor.C: remove some dead entries, tidy a little
17003 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17005 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17007 (Dispatch): implement LFUN_ESCAPE
17009 * commandtags.h: add LFUN_ESCAPE
17011 * LyXAction.C (init): add entry for LFUN_ESCAPE
17013 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17014 Remove commented code.
17015 (insertNote): moved here
17016 (open_new_inset): moved here
17018 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17021 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17023 * kbmap.C (findbinding): clean it up and make it work correctly.
17025 * lyx_main.C (init): do not pass argc and argv as parameters
17027 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17029 * buffer.C: fix path for OS/2 & Win32
17033 * lyx_main.C: Added os:: class.
17035 * os2_defines.h: update
17037 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17039 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17040 better by trying again with reduced state.
17042 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17044 * lyxrc.C (read): print error about invalid key sequence only when
17045 debugging (because not all latinX keysyms are known to some X
17048 * kbsequence.C (getiso): add a few std:: qualifiers
17049 (getiso): comment out extra return statement.
17051 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17053 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17055 (Dispatch): enhance the accent inset a bit. (not perfect)
17057 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17059 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17061 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17063 * bufferlist.C (emergencyWrite): fix assert() call
17065 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17067 * text.C (InsertChar): Added trivial patch to only send the "you
17068 can not do multiple spaces this way" message once during a
17071 2001-05-08 Baruch Even <baruch@lyx.org>
17073 * Makefile.am: Changed order of libraries to get LyX to link properly
17074 with the gnome frontend.
17076 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17078 * LaTeXFeatures.h: add a std:: qualifier
17080 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17082 * paragraph.C (String): use stringstream
17084 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17086 * paragraph.C (writeFile): remove footflag arg
17088 * buffer.C (makeLaTeXFile): use stringstream
17089 (latexParagraphs): remove footnot gurba
17091 * LaTeXFeatures.C (getPackages): use stringstream
17092 (getMacros): likewise
17093 (getTClassPreamble): likewise
17094 (getFloatDefinitions): new method
17096 * paragraph.C (writeFile): reindent
17099 * WorkArea.h: revert the xpos + etc changes.
17101 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17103 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17105 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17106 (pasteSelection): likewise
17107 * text2.C (CreateUndo): likewise
17109 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17111 * minibuffer.C (peek_event): temporarily reduce the functionality
17112 of the minibuffer (to allow args on lfuns)
17114 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17115 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17117 * buffer.C (readInset): add compability reading of old float
17118 lists, add reading of new style float list.
17119 (readInset): avoid reevaluation of inscmd.getCmdName()
17120 (getLists): reindent
17122 * MenuBackend.C (MenuItem): implement parsing of
17123 md_floatlistinsert and md_floatinsert.
17124 (expand::LastFiles): move initalizaton of iterators out of loop,
17125 avoid reevaluation.
17126 (expand::Documents): introduce typdedef vector<string> Strings,
17128 (expand::ExportFormats): introduce typedef vector<Format const *>
17129 Formats, and use it.
17130 (expand): implement FloatListInsert and FloatInsert.
17132 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17133 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17134 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17136 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17138 (Dispatch::LFUN_FLOAT_LIST): implement
17140 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17142 * LaTeX.C (run): Fix problem with --export code.
17144 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17146 * BufferView.[Ch] (workarea): removed.
17147 (getClipboard) new method; wrapper for workarea()->getClipboard()
17149 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17152 * WorkArea.h (width, height, xpos, ypos): These methods all
17153 returned the dimensions of the work_area sub-area of WorkArea,
17154 resulting in a position error if the WorkArea were resized. Now
17155 return the dimensions of the entire WorkArea.
17157 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17159 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17161 * LaTeX.C (deplog): correct the syntax of regex reg1
17163 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17165 * undo.C: remove !NEW_INSETS cruft
17167 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17169 * text2.C: remove !NEW_INSETS cruft
17171 * text.C: remove !NEW_INSETS cruft
17173 * tabular.C: remove !NEW_INSETS cruft
17175 * spellchecker.C: remove !NEW_INSETS cruft
17177 * lyxtext.h: remove !NEW_INSETS cruft
17179 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17181 * lyxfunc.C: remove !NEW_INSETS cruft
17183 * lyxfind.C: remove !NEW_INSETS cruft
17185 * lyx_cb.C: remove !NEW_INSETS cruft
17187 * figureForm.C: remove !NEW_INSETS cruft
17189 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17191 * buffer.[Ch]: remove !NEW_INSETS cruft
17193 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17195 * CutAndPaste.C: remove !NEW_INSETS cruft
17197 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17199 * BufferView2.C: remove !NEW_INSETS cruft
17201 * BufferView.h: remove !NEW_INSETS cruft
17203 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17205 * Lsstream.h: include LString.h before the sstream headers to
17206 fix problem with gcc 2.95.3 and lyxstring
17208 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17210 * lyx_main.C: add using directives when needed for C functions
17211 declared in std:: namespace.
17213 2001-04-27 Juergen Vigna <jug@sad.it>
17215 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17216 (SetHeightOfRow): comment out the update call should not be needed!
17218 2001-04-13 Juergen Vigna <jug@sad.it>
17220 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17221 (LyXTabular): tried to minimize operator= operations (and realized
17222 hopfully Lars wish).
17224 2001-04-27 Juergen Vigna <jug@sad.it>
17226 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17228 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17230 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17232 * buffer.C (readInset): hack to make listof algorithm work
17234 * BufferView_pimpl.C: hack to make listof algorithm work
17236 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17238 * LyXAction.C: removed all !NEW_INSETS cruft
17239 (init): moved lfun_item in method
17241 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17243 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17245 * BufferView2.C (theLockingInset): white space.
17247 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17249 * minibuffer.C: include <iostream>
17251 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17253 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17255 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17257 * text.[Ch] (TransposeChars): new method
17259 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17261 * call message directly through LyXView instead of through LyXFunc
17262 * BufferView2.C: adjust
17263 * BufferView_pimpl.C: adjust
17264 * FontLoader.C: adjust
17266 * bufferview_funcs.C: adjust
17267 * converter.C: adjust
17268 * figureForm.C: adjust
17269 * importer.C: adjust
17271 * lyx_gui_misc.C: adjust
17272 * lyxfunc.C: adjust
17275 + more files in subdirs
17277 * lyxparagraph.h (size): move up int file
17280 * adjust all uses of Assert to lyx::Assert.
17282 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17283 lyxfunctional in namespace lyx
17284 * layout.C (hasLayout): ditto
17287 (delete_layout): ditto
17288 (NumberOfClass): ditto
17289 * converter.C (GetFormat): ditto
17294 * bufferlist.C (getFileNames): ditto
17295 (emergencyWriteAll): ditto
17298 * MenuBackend.C (hasSubmenu): ditto
17301 * BufferView_pimpl.C (getInsetByCode): ditto
17303 2001-04-18 Juergen Vigna <jug@sad.it>
17305 * vspace.C (asLatexString): fixed the 100% problem.
17307 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17309 * lyxfunc.C (Dispatch):
17311 * minibuffer.h: add a few std:: qualifiers
17313 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17315 * minibuffer.[Ch]: reimplement so that commands is initiated and
17316 run from lyxfunc, simplified som handling, and made the completion
17317 and history code for complete. wip.
17319 * lyxfunc.C (processKeySym): call message
17320 (miniDispatch): new temporary method
17321 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17322 (LFUN_MESSAGE): implement
17323 (LFUN_MESSAGE_PUSH): implement
17324 (LFUN_MESSAGE_POP): implement
17325 (initMiniBuffer): the initial/defualt minibuffer message.
17327 * lyxfont.[Ch]: inline some more getters
17329 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17331 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17333 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17334 (AutoSave): use LFUN_MESSAGE
17335 (Reconfigure): ditto
17337 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17339 * figureForm.C: use LFUN_MESSAGE
17341 * converter.C (runLaTeX): use LFUN_MESSAGE
17343 * bufferview_funcs.C: use LFUN_MESSAGE
17345 (changeDepth): ditto
17347 * bufferparams.h: use boost::
17349 * bufferlist.h: inherit privately from noncopyable
17351 * bufferlist.C (loadLyXFile): remove some commented code.
17353 * buffer.C (runChktex): use LFUN_MESSAGE
17355 * ShareContainer.h: inherit privately from noncopyable
17357 * ParagraphParameters.[hC] (depth): inline it.
17359 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17361 (message): new method
17362 (messagePush): ditto
17363 (messagePop): ditto
17364 (show): init minibuffer
17365 (showState): direct call
17367 * LaTeX.[Ch]: inherit privately from noncopyable
17368 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17369 instead of WriteStatus.
17371 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17373 * BufferView_pimpl.C (buffer): don't init minibuffer
17374 (workAreaButtonPress): use LFUN_MESSAGE
17375 (workAreaButtonRelease): ditto
17376 (savePosition): ditto
17377 (restorePosition): ditto
17378 (MenuInsertLyXFile): ditto
17379 (workAreaExpose): don't init minibuffer
17380 (update): remove commented code, simplify
17382 * BufferView2.C (openStuff): use LFUN_MESSAGE
17383 (toggleFloat): ditto
17386 (copyEnvironment): ditto
17387 (pasteEnvironment): ditto
17392 (updateInset): remove some commented code
17394 * lastfiles.h: inherit privately from noncopyable
17397 * lyx_main.h: ditto
17399 * lyxlex_pimpl.h: ditto
17401 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17402 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17403 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17405 * LyXAction.h: inherit privately from noncopyable, add methods
17406 func_begin, func_end, returning iterators to the func map.
17408 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17409 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17410 (func_begin): new method
17411 (func_end): new method
17413 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17415 (copySelection): ditto
17416 (pasteSelection): ditto
17418 * BufferView.C: whitespace change
17419 * BufferView.h: inherit privately from noncopyable
17421 2001-04-16 Allan Rae <rae@lyx.org>
17423 * tabular-old.C (l_getline):
17424 * spellchecker.C (sc_check_word):
17425 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17426 an unrecognised preprocessor directive. So ensure they're wrapped.
17428 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17430 * src/exporter.C (Export): Give an error message when path to file
17433 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17435 * LaTeX.C (deplog): Always check that foundfile exists.
17437 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17440 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17442 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17444 * tabular.[Ch] (getLabelList): implement new method
17446 * minibuffer.h: comment ouf setTiimer
17448 * minibuffer.C (ExecutingCB): constify res
17449 (peek_event): constify s
17450 (Set): constify ntext
17451 (Init): constify nicename
17453 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17455 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17456 (savePosition): use two params to Minibuffer::Set
17457 (restorePosition): ditto
17459 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17461 * lyx_main.C: include language.h
17463 * Makefile.am (lyx_main.o): add language.h
17465 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17471 * CutAndPaste.C: include gettext.h
17473 * lyxfont.h: remove old hack with ON and OFF.
17476 * lyxfont.h: do not include language.h...
17481 * bufferview_funcs.C:
17487 * paragraph.C: ... but do it here instead
17489 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17491 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17493 * tabular.C: small reformat
17495 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17498 (BreakParagraph): ditto
17499 (SetOnlyLayout): ditto
17502 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17505 * lastfiles.C: removed most using decl, add std:: where needed
17507 * buffer.C: ws changes
17509 * MenuBackend.C (class compare_format): put into anon namespace
17510 (expand): constify label, names, action, action2
17513 * text.C (SingleWidth): constify font
17514 (IsBoundary): constify rtl2
17515 (GetVisibleRow): constify ww
17517 * LaTeX.C (deplog): constify logfile
17519 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17521 (workAreaExpose): constify widthChange, heightChange
17523 * lyxrow.C (par): moved
17526 * lyxrow.h: as inlines here
17528 * lyxfont.h (shape): moved from lyxfont.C
17529 (emph): moved from lyxfont.C
17531 * lyxfont.C (LyXFont): use initialization list for all
17533 (shape): move to lyxfont.h as inline
17534 (emph): move to lyxfont.h as inline
17537 2001-04-04 Juergen Vigna <jug@sad.it>
17539 * vspace.C: had to include stdio.h for use of sscanf
17541 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17544 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17545 independent of xforms.
17547 2001-04-02 Juergen Vigna <jug@sad.it>
17549 * spellchecker.C: fixed namespace placing!
17551 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17553 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17554 the LyXParagraph * is 0.
17556 2001-03-29 Juergen Vigna <jug@sad.it>
17558 * vspace.C: added support for %, c%, p%, l%.
17559 (stringFromUnit): added helper function.
17560 (asLatexString): changed to give right results for the %-values.
17562 * buffer.C: convert the widthp in a width%.
17564 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17566 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17569 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17570 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17572 * lyx_cb.[Ch]: see above.
17574 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17578 * lyx.[Ch]: replaced by figure_form.[Ch].
17582 * lyxfunc.C: changed headers associated with above changes.
17584 2001-03-27 Juergen Vigna <jug@sad.it>
17586 * BufferView_pimpl.C: set the temporary cursor right!
17588 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17590 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17592 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17594 * LString.h: removed "using std::getline"!
17596 * BufferView_pimpl.C (Dispatch): changes due to changes in
17597 InsetInclude::Params.
17599 * buffer.C (tag_name): removed redundant break statements as they were
17600 producing lots of warnings with my compiler.
17602 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17604 * LString.h: add "using std::getline" when using the real <string>.
17606 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17608 * buffer.C: removed bitset usage.
17609 PAR_TAG moved to an anonymous name space.
17610 (tag_name): new funtion, also in the anonymous namespace.
17611 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17612 (makeDocBookFile): clean code. Completed transition from string arrays
17614 (SimpleDocBookOnePar): code clean.
17616 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17618 * tabular.C: add some comments.
17620 2001-03-22 Juergen Vigna <jug@sad.it>
17622 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17623 compatibility read a bit and fixed bug with minipage in different
17626 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17628 * buffer.C (pop_tag): removed.
17629 (push_tag): removed.
17630 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17631 array replaced with vector. Added support for CDATA sections.
17632 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17634 (makeDocBookFile): XML conformant declaration of CDATA section,
17635 fixed bug related to <emphasis> in the first paragraph char.
17636 (sgmlOpenTag): exclude empty tags.
17637 (sgmlCloseTag): ditto.
17639 * buffer.h (pop_tag): removed.
17640 (push_tag): removed.
17642 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17644 * language.h (Languages): added size_type and size().
17646 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17648 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17649 response on compability reading of minipages. One probliem is that
17650 the old usage of minipages was flertydig
17652 * several files here and in subdirs: don't use static at file
17653 scope use anon namespaces instead.
17655 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17657 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17658 LaTeX output. This is necessary for Literate document
17661 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17663 * buffer.C: insert hfill when needed.
17665 * tabular.C (l_getline): use string::erase, small whitespace change.
17667 * BufferView_pimpl.C: try the anon namespace.
17668 * WorkArea.C: ditto
17670 2001-03-16 Juergen Vigna <jug@sad.it>
17672 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17673 otherwise it won't open options-dialogs.
17675 * buffer.C: honor pextraWidth(p) on converting minipages.
17677 * tabular.C (l_getline): changed the functions to strip trailing \r.
17679 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17681 * BufferView_pimpl.C:
17682 * minibuffer..C: added "using SigC::slot" declaration.
17684 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17686 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17692 * paragraph.C: ditto
17694 * lyxtext.h: NO_PEXTRA
17696 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17698 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17699 * ParameterStruct.h: ditto
17700 * ParagraphParameters.h: ditto
17701 * lyxparagraph.h: ditto
17703 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17705 * buffer.C: add compability for minipage alignment.
17706 (latexParagraphs): remove unwanted pextra check.
17708 * several files: remove CXX_WORKING_NAMESPACES
17710 * buffer.C (pop_tag): tie is in namespace boost
17712 * BufferView.h: noncopyable is in namespace boost
17714 * lyx_main.h: ditto
17717 * lastfiles.h: ditto
17718 * bufferlist.h: ditto
17719 * ShareContainer.h: ditto
17721 * LyXAction.h: ditto
17724 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17726 * Merging changes from BRANCH_MVC back into HEAD.
17728 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17730 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17732 * BufferView_pimpl.C: change from intl.C
17736 * Makefile.am: move combox.*
17742 * intl.C: remove dialog (covered by prefs)
17744 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17746 * lyxfunc.C (Dispatch): removed redundant break statement.
17748 2001-03-14 Juergen Vigna <jug@sad.it>
17750 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17752 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17754 * buffer.C: add hack to fix compability reading of minipages.
17756 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17758 * buffer.C (getLists): Cleanup.
17760 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17762 * lyxfont.C (update): don't honor toggleall on font size.
17764 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17768 * Makefile.am: moved to frontends/xforms/
17772 * BufferView_pimpl.C: changes for moved mathpanel
17774 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17776 * gettext.h: fix gettext_init() in --disable-nls
17778 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17780 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17782 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17785 * lyx.h: strip external form
17787 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17789 * BufferView_pimpl.C: add comment, destroySplash()
17791 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17793 * BufferView_pimpl.C:
17797 * lyxfunc.C: use re-worked insetinclude
17799 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17801 * buffer.C: add using std::stringstream.
17803 * lyx_cb.C: readd using std::ios.
17805 * buffer.C: add using std::map.
17807 * BufferView_pimpl.C: add using std::vector.
17809 * ShareContainer.h: add std:: to swap.
17811 * buffer.h: add some typedefs
17812 * buffer.C (getLists): use them
17813 (getLists): renamed from getTocList.
17814 add a counter for the different float types and use it in the
17816 (getLists): use the same counter for the NEW_INSETS and the "non"
17819 * lyx_cb.h: remove unused items, includes, using etc.
17821 * ShareContainer.h: remove some commented code, add more comments
17822 and "documentation".
17824 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17826 * buffer.C (getTocList): make the list also when NEW_INSETS is
17829 * buffer.h: remove TocType
17831 * buffer.C (getTocList): change to return a map<string,
17832 vector<TocItem> >, implement for dynamic number of list.
17834 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17835 * text2.C (PasteSelection): adjust
17836 * CutAndPaste.C (pasteSelection): adjust
17838 * FloatList.C (FloatList): update from the new_insets branch.
17839 * Floating.[Ch]: ditto
17840 * LaTeXFeatures.C: ditto
17842 * lyxlex_pimpl.C: ditto
17844 * paragraph.C (Last): remove when NEW_INSETS is defined.
17846 * other file: changes because of the above.
17848 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17850 * lyxparagraph.h: rename next to next_, previous to previous_,
17851 make them private for NEW_INSETS. Rename Next() to next(),
17852 Previous() to previous().
17854 * other files: changes because of the above.
17856 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17859 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17862 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17864 * main.C (main): pass lyx_localedir to gettext_init().
17866 * gettext.h: remove locale_init and gettext_init macros
17868 * gettext.C (locale_init): new function
17869 (gettext_init): new function
17871 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17874 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17876 * Moved credits to frontends:
17877 * credits.[Ch]: removed
17878 * credits_form.[Ch]: removed
17879 * lyx_gui_misc.C: remove credits stuff
17882 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17884 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17886 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17887 unneeded destructor.
17889 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17890 a standalone pointer again.
17892 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17894 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17900 * ToolbarDefaults.C:
17909 * BufferView_pimpl.C: use new file dialog in GUII
17912 * lyx_cb.C: remove LayoutsCB to Toolbar
17914 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17916 * ShareContainer.h (get): add std:: qualifier
17918 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17920 * ShareContainer.h: define a proper ShareContainer::value_type
17921 type (and use typename to please compaq cxx)
17923 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17925 * lyxparagraph.h: move serveral local vars to
17926 ParameterStruct/ParagraphParameters., use ShareContainer in
17927 FontTable., make vars in FontTable private and add getter and
17930 * paragraph.C: changes because of the above.
17932 * lyxfont.h: remove copy constructor and copy assignment. (the
17933 default ones is ok), move number inside FontBits. move inlines to
17936 * lyxfont.C: add number to initializaton of statics, move several
17937 inlines here. constify several local vars. some whitespace
17938 cleanup. Dont hide outerscope variables.
17940 * Spacing.h: add two new constructors to match the set methods.
17942 * ShareContainer.h: new file, will perhaps be moved to support
17944 * ParameterStruct.h: new file
17946 * ParagraphParameters.h: new file
17948 * ParagraphParameters.C: new file
17950 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17951 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17953 * BufferView_pimpl.C: ParagraphParameter changes.
17954 * buffer.C: Likewise.
17955 * bufferview_funcs.C: Likewise.
17956 * text.C: Likewise.
17957 * text2.C: Likewise.
17959 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17961 * lyxfind.C (LyXReplace): do not redefine default argument in
17963 (IsStringInText): ditto
17964 (SearchForward): ditto
17965 (SearchBackward): ditto
17967 2001-03-06 Juergen Vigna <jug@sad.it>
17969 * lyxfind.C (IsStringInText): put parentes around expressions.
17971 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17973 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17975 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17977 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17979 * stl_string_fwd.h: add comment
17981 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17984 * tabular.C: remove unused DocBook methods
17990 killed DO_USE_DEFAULT_LANGUAGE
17992 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17994 * lyx_gui.C: do not include language.h.
17996 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17997 arguments in function implementation.
17999 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18001 * BufferView_pimpl.C: add <ctime>
18003 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18005 * BufferView_pimpl.C: add using std::find_if
18007 2001-02-27 José Matos <jamatos@fep.up.pt>
18009 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18012 2001-02-11 José Matos <jamatos@fep.up.pt>
18014 * buffer.C (makeDocBookFile): command styles now have a parameter as
18015 "title" by default.
18017 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18019 * layout_forms.[Ch]: removed
18020 * lyx_cb.[Ch]: out character
18021 * lyx_gui.C: out character
18022 * lyx_gui_misc.C: out character
18023 * bufferview_funcs.C: : out character,
18024 added toggleall as parameter in ToggleAndShow
18026 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18028 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18030 * text2.C (SetCurrentFont): Disable number property at boundary.
18032 2001-02-26 Juergen Vigna <jug@sad.it>
18034 * lyxfunc.C (getStatus): added a string argument override function so
18035 that this is correctly called from LyXFunc::Dispatch if it contains a
18036 do_not_use_argument which is used!
18037 (Dispatch): added check for "custom" export and call appropriate func.
18039 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18041 * lyxrc.C: Add language_command_local, language_use_babel and
18042 language_global_options.
18044 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18046 * buffer.C (makeLaTeXFile): Use language_use_babel and
18047 language_global_options.
18049 2001-02-23 Juergen Vigna <jug@sad.it>
18051 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18052 which works with LyXText and putted it inside BufferView. Here now we
18053 only call for that part the BufferView::Dispatch() function.
18055 * BufferView.C (Dispatch): added.
18057 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18058 functions which needs to use a LyXText over from LyXFunc.
18059 (MenuInsertLyXFile): added
18060 (getInsetByCode): added
18061 (moveCursorUpdate): added
18062 (static TEXT): added
18064 2001-02-22 Juergen Vigna <jug@sad.it>
18066 * BufferView_pimpl.C (update): call a status update to see if LyXText
18069 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18071 * vc-backend.C (revert): implement for CVS
18072 (getLog): implement for CVS
18074 2001-02-20 Juergen Vigna <jug@sad.it>
18076 * text2.C (ClearSelection): added BufferView param for inset_owner call
18078 * lyxfunc.C (TEXT): added this function and use it instead of
18079 directly owner->view()-text of getLyXText().
18081 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18083 * src/layout_forms.C: out preamble
18084 * src/layout_forms.h: out preamble
18085 * src/lyx_cb.C: out preamble
18086 * src/lyx_cb.h: out preamble
18087 * src/lyx_gui.C: out preamble
18088 * src/lyx_gui_misc.C: out preamble
18089 * src/lyxfunc.C: connect with guii preamble
18091 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18093 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18095 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18097 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18098 whether to run bibtex.
18100 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18102 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18104 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18106 * Makefile.am (lyx_SOURCES): removed bibforms.h
18108 * vspace.h: doxygen
18110 * text.C (GetVisibleRow): make several local vars const
18112 * tabular.C: small cleanup.
18114 * lyxserver.C (callback): use compare instead of strncmp
18116 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18117 inlines to after class or to paragraph.C
18119 * lyxfont.h: remove friend operator!=
18121 * converter.h: move friend bool operator< to non friend and after
18124 * combox.h: small cleanup
18126 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18127 to inlines after class def.
18129 * buffer.C (pop_tag): use string operations instead of strcmp
18131 * bmtable.c: doxygen, small cleanup
18133 * LaTeX.h: remove friend operator==
18135 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18147 * BufferView_pimpl.C:
18148 * BufferView.[Ch]: remove cruft
18150 2001-02-14 Juergen Vigna <jug@sad.it>
18152 * lyxfunc.C: removed #if 0 unused code
18154 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18156 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18158 * text2.C (SetSelection): added a BufferView * parameter
18160 2001-02-13 Juergen Vigna <jug@sad.it>
18162 * lyxfunc.C (Dispatch): fixed protected blank problem.
18163 * BufferView2.C (protectedBlank): added LyxText * parameter.
18165 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18166 (AppendColumn): same as above for column_info.
18168 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18169 (moveCursorUpdate): use a LyXText param for support of InsetText.
18171 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18172 (tripleClick): ditto
18174 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18176 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18178 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18180 * text2.C (SetSelection): set correct update status if inset_owner
18181 (ToggleFree): ditto
18183 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18185 * tabular.C: remove some commented code.
18187 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18189 * BufferView_pimpl.C: call hideSplash()
18191 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18194 * bibforms.h: remove
18197 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18198 add LFUN_CHILD_CREATE
18200 * counters.h: fix tiny typo
18205 * lyx.C: move splash to frontends/xforms/
18207 * lyx_gui_misc.C: move Include and Bibform to frontends
18209 * lyxvc.h: clarify comment
18211 * vspace.C: tiny housekeeping
18213 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18215 * text.C (PrepareToPrint): RTL Fix.
18217 * paragraph.C (GetUChar): New method.
18218 (String): Use GetUChar.
18220 * buffer.C (asciiParagraph): Use GetUChar.
18222 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18224 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18226 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18229 * buffer.C: rename to getLogName(), handle
18230 build log / latex log nicely
18232 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18235 * MenuBackend.h: remove support for reference menuitem type.
18237 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18239 * BufferView_pimpl.C: housekeeping
18240 * BufferView_pimpl.h:
18245 * minibuffer.h: move Timeout GUI-I
18247 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18249 * lyxrc.C (read): Update converters data-structures.
18251 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18253 * LaTeX.h (operator!=): add operator != for Aux_Info
18255 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18257 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18259 * LaTeXLog.C: deleted, useful code moved to Buffer
18262 * buffer.C: new function getLatexLogName()
18268 * lyxfunc.C: use frontends for LaTeX and VC logs
18270 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18272 * LaTeX.h: yet another std:: that Allan forgot.
18274 * Variables.C (set): renamed from isset(), because this clashes
18275 with some HP-UX macros (grr).
18277 2001-02-06 Allan Rae <rae@lyx.org>
18279 * LaTeX.h: Another bug fix. Missing std:: this time.
18281 2001-02-04 Allan Rae <rae@lyx.org>
18283 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18284 floats problem. I've left it commented out because it's not quite
18285 correct. It should also test that the current object is a table or
18286 figure inset. But I haven't gotten around to figuring out how to do
18287 that. I *think* it'll be something like: "table" == inset.type()
18289 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18292 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18294 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18295 all the citation/databases/styles in the auxilary file.
18296 (run): Rerun latex if there was a babel language error.
18298 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18300 * text.C (Backspace): Preserve the font when changing newline char
18302 (BreakParagraph): If the cursor is before a space, delete the space.
18304 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18306 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18308 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18309 new argument (code).
18310 (ChangeCitationsIfUnique): New method.
18312 * paragraph.C (GetPositionOfInset): Handle bibkey.
18314 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18316 * BufferView_pimpl.h: change type of Position::par_pos to
18317 LyXParagraph::size_type.
18319 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18321 * BufferView_pimpl.C (savePosition, restorePosition): Write
18322 messages to minibuffer.
18324 2001-01-28 José Matos <jamatos@fep.up.pt>
18326 * buffer.C (makeDocBookFile): adds support for document language.
18327 A silly restriction on the name of LatexCommand types where removed.
18328 Added support for CDATA sections, allows to chars unescaped, used
18329 among others in code, to avoid escape < and >.
18331 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18333 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18334 saved positions instrad of a stack. Furthermore, a position is
18335 stored using paragraph id/paragraph position.
18337 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18338 Remove LFUN_REF_BACK.
18340 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18342 * converter.C (dvipdfm_options): New method.
18344 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18346 * vspace.C (isValidLength): Fix for empty input string.
18348 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18350 * LyXAction.C (init): change description of LFUN_FIGURE to
18353 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18355 * LaTeX.C: add using directive
18357 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18359 * MenuBackend.C (expand): Fix the sorting of the formats.
18361 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18363 * lyx_main.C: tiny error message fix
18365 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18367 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18368 calling fl_initialize(). This fixes the problem with ',' as
18369 decimal separator in text files.
18371 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18373 * trans.C (process): Fix the keymap bug.
18375 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18377 * LaTeX.C (scanAuxFiles): New method. Provides support for
18378 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18379 (scanLogFile) Scan for "run BibTeX" messages.
18381 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18382 OT1 font encoding. Also, load the aecompl package if the ae
18385 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18387 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18389 * texrow.C (increasePos): turn two error messages into debug
18392 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18394 * LaTeX.C (scanAux): Handle the \@input macro.
18395 (runBibTeX): Use scanAux().
18397 * language.C (latex_options_): New field.
18399 * LaTeXFeatures.C (getMacros): Add language macros.
18401 * buffer.C (makeLaTeXFile): Small fix.
18403 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18405 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18407 * text2.C: add a using directive.
18409 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18414 * lyxfunc.C: kill LyXBell.
18416 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18418 * text.C (IsBoundary): Remove the error message
18420 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18422 * lyxrc.C (setDefaults): Correct initialization value for
18425 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18427 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18430 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18431 and GotoNextNote().
18433 * src/LyXAction.C: Added reference-next.
18435 * text.C (InsertChar): Use contains instead of strchr.
18437 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18439 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18441 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18442 alignment commands (when needed).
18444 * text.C (InsertChar): Add ':' to number separator chars.