1 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3 * BufferView_pimpl.C (update): choose arguments to update call so
4 that single-par update works most times
5 * text3.C (dispatch): carefully tune updating separately for
6 whole-screen and current-paragraph
7 * rowpainter.C (paintText): 1) replace painting by caching for
8 the two extra paragraphs, because we can;
9 2) suppress greying out of areas below/above drawn area in case of
11 * lyxfunc.C (dispatch): remove superfluous update
12 * LyXAction.[Ch]: introduce SingleParUpdate
14 2005-10-05 Angus Leeming <leeming@lyx.org>
16 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
17 always initialised before use.
19 * text.C (setHeightOfRow): squash warning about comparison
20 of signed and unsigned types.
22 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
24 * text.C (cursorX): two fixes involving RtL text drawing
26 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
29 items, not only large ones (part of bug 2057)
31 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
33 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
34 argument, use "newcommand".
36 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
38 * cursor.C (setSelection): do not open collapsable insets;
39 the insets do by themselves now (autoopen).
41 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
43 * buffer.C: format is up to 244.
45 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
47 * text.C (redoParagraph): fix calcultation of inset width wrt
48 leftMargin (bug 1957).
50 * text3.C (dispatch): leave inset to the right when hitting ESC
53 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
58 * messages.C: include <boost/current_function.hpp>
60 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
62 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
63 when command is internal. (bug 1941)
65 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * text2.C (cursorRight): do not honor boundary when at the end of
68 a paragraph. (bug 2010 again)
70 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
74 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
76 * rowpainter.C (paintText): fix RtL space width display bug (2029)
78 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * text2.C (setCursor): remove the unused 'boundary' parameter for
81 the CursorSlice version; adapt the LCursor version.
84 * paragraph_pimpl.C (markErased):
85 * cursor.C (bruteFind2, bruteFond3): fix warnings.
87 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
89 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
90 as is already done for "chapter".
92 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
95 textclass; do not record undo if nothing is changed.
97 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
99 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
101 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
103 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
105 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
108 combox, it is necessary to search for the topmost paragraph in the
109 cursor stack (bug 1926)
111 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
113 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
114 end of paragraph. (bug 2010)
116 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
118 * text.C (leftMargin): check for inInset == 0
120 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
122 * text.C (leftMargin): test for insetbase's new neverIndent()
123 bool instead of listing each and every inset that does not
124 wish par indendation.
126 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
128 * buffer_funcs.C (setCounter): put the code to compute enum label
129 here (where it belongs).
131 * counters.C (enumLabel): move code to buffer_funcs.C.
133 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
135 * outputparams.[Ch]: store local_font instead of local_language
136 * paragraph.C (simpleTeXOnePar): adapt to the change above
138 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
141 * counters.[Ch]: clean up special code for Hebrew.
143 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
148 2005-09-08 Angus Leeming <leeming@lyx.org>
151 * lyxrc.C: correct grammar describing invocation of the
154 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * text.C (read): remove unused variable.
157 (readParToken): remove static Change variable (never good in
158 recursive settings...); add it as a parameter instead.
160 * paragraph_pimpl.C (acceptChange): make debug info conditional.
162 * metricsinfo.C (PainterInfo): add new member erased_.
164 * rowpainter.C (RowPainter): add erased_ member, initialized from
166 (paintInset): pass erased_ to Inset::draw.
168 * lyxfunc.C (lookupChange): new function. Tells whether change
169 tracking is disabled at a given postion.
170 (getStatus): disable some actions when in deleted text with change
173 2005-08-03 John Levon <levon@movementarian.org>
175 * tabular.C (appendColumn, setMultiColumn): adapt to change to
178 * paragraph_pimpl.C (markErased): add bool argument and handle it.
179 Also make sure to mark insets recursively.
180 (rejectChange, erase): be recursive
182 * paragraph.C (markErased): add bool argument.
183 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * lyxfind.C (findNextChange): tiny cleanup.
187 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
188 change tracking with the cursor in an inset; make sure the first
189 change is not skipped.
191 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
193 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
194 tabularStackDirty to work around bug 1919 (tabular needs
195 to know whether its own cell paste buffer or the one of
197 * CutAndPaste.C: mark tabular_stack_ clean after copy.
199 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
201 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
203 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
205 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
206 use old deleteion algorithm when changetracking is on.
208 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
210 * messages.C (get): add debug output.
212 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
214 * text.C (cursorX): fix bug 1965: cursor movement at
215 line end broken in RtL.
216 (drawSelection): fix bug 1970: drawing of single-line
217 selection broken for RtL.
219 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * dociterator.h (clear, push_back, pop_back): change from
226 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
227 and changed to just return the value of the item depth; take a
228 ParIterator as argument; take the itemdepth at outer nesting level
229 in account if necessary; cleanup and comment the code.
230 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
231 and changed to just return true if reset is needed; take a
232 ParIterator as argument; cleanup and comment the code.
233 (setCounter): adapt to above changes.
235 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
237 * text3.C (dispatch): make debug message optional
239 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
244 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
246 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
248 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
250 * text.C (insertChar):
251 * text2.C (deleteEmptyParagraphMechanism): take care whether
252 a blank has been deleted (in change tracking mode) (bug 1254).
254 2005-07-20 John Levon <levon@movementarian.org>
256 * text2.C (insertStringAsLines): remove old dubious code,
259 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
261 * MenuBackend.C (expandToc): use Floating::listName() as title of
264 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
266 * toc.[Ch]: Do not use translatable strings (bug 1870).
268 2005-07-20 John Levon <levon@movementarian.org>
270 * tabular.C: fix 1748 - setting multicolumn adds
271 left line to the first cell
273 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
276 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
279 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
281 * messages.C: supress some lyxerr messages
283 2005-07-18 Juergen Vigna <jug@lyx.org>
285 * text.C (drawSelection): honor boundary when asking for cursorX.
287 2005-07-17 José Matos <jamatos@fc.up.pt>
289 * tabular.C (recalculateMulticolumns): fix handling of one column
292 2005-07-17 Juergen Vigna <jug@lyx.org>
294 * text.C (Delete, backspace): fixed so that paragraph with the
295 same layout can be merged by Delete/Backspace.
297 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
299 * text.C (readParToken): fix spelling.
301 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
303 * text2.C: fix counter update for DEPM problem reported by
306 2005-07-17 Juergen Vigna <jug@lyx.org>
308 * BufferView_pimpl.C (setBuffer): save/restore the
309 cursor/selection when switching buffers
312 * buffer.C (saveCursor): add saveDocumentIterators to save the
313 cursor when switching buffer.
315 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
318 * buffer.C: clarify message
320 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
322 * dociterator.C (DocIterator): fix initialization order
324 2005-07-17 Juergen Vigna <jug@lyx.org>
326 * text2.C (cursorHome):
327 * text.C (drawSelection, cursorX):
328 * dociterator.C (textRow): add boundary to getRow() call
330 * paragraph.C (getRow): implementation of below
332 * paragraph.h: add parameter boundary for getRow() function
334 2005-07-17 José Matos <jamatos@fc.up.pt>
338 * tex-strings.[Ch]: new file format, remove support for a4.sty,
339 a4wide.sty and a4widemargins.
341 2005-07-17 Juergen Vigna <jug@lyx.org>
343 * text2.C (cursorLeft): fix one of error
345 2005-07-17 Juergen Vigna <jug@lyx.org>
347 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
349 more fixes for boundary handling
351 * text3.C (dispatch): don't reset cursor if boundary has changed
354 2005-07-16 Juergen Vigna <jug@lyx.org>
356 * text2.C (getColumnNearX): hopefully got it right now,
357 check if we are on column 0 for special case.
359 2005-07-16 Juergen Vigna <jug@lyx.org>
361 * text2.C (getColumnNearX): handle special case Newline Inset
363 * text.C (singleWidth): Just remove bogus check
365 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
367 * funcrequest.C (split): avoid reading uninitialized char c
369 2005-07-16 José Matos <jamatos@fc.up.pt>
375 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
376 single papersize variable.
378 2005-07-16 Juergen Vigna <jug@lyx.org>
380 * text3.C (dispatch): honor boundary when checking if a cursor
381 movement has been done
383 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
384 (setCursor, setCursorIntern): fix cursor movement with boundary
386 2005-07-16 Juergen Vigna <jug@lyx.org>
388 * text.C (currentState): output the actual Boundary
390 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
392 * factory.C (createInset): fix bad logic for tabular creation
394 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
396 * lyx_main.C (init): change some reLyX reference to tex2lyx
398 2005-07-16 Juergen Vigna <jug@lyx.org>
400 * dociterator.C (DocIterator): initialize boundary
402 2005-07-16 Juergen Vigna <jug@lyx.org>
404 * text2.C (getColumnNearX): Consider rows without trailing blank.
406 2005-07-16 André Pönitz <poenitz@gmx.net>
408 * lyxfont.h: Change order of declarations to give the compiler
409 a better chance to inline things
411 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
412 questions on unsaved docs for better scritability
414 2005-07-16 André Pönitz <poenitz@gmx.net>
416 * paragraph.h (getChar): remove asserts as the same kind of security
417 can be achieved by using a suitable standard library implementation
418 and the function was in the critical path (25.9% in profiler)
420 2005-07-16 Juergen Vigna <jug@lyx.org>
422 * cursor.C (bruteFind2):
423 * bufferview_funcs.C (coordOffset):
424 * text.C (cursorX,cursorY): Handle cursor position after last char
425 in row before a inset which uses a whole row.
427 2005-07-15 José Matos <jamatos@lyx.org>
429 * output_plaintext.[Ch] (writeFileAscii): control reference title
431 (asciiParagraph): noparbreak was already deal and was incorrectly
434 2005-07-15 Juergen Vigna <jug@lyx.org>
436 * lyxfunc.C (dispatch): save and restore the cursor after a
439 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
441 * text.C (backspace): bug 806 for empty keepempty paragraphs we
442 change the layout to default before letting DEPM do its thing.
444 * paragraph_funcs.C (breakParagraph): dont reset the layout on
447 * text.C (setCursorFromCoordinates): add a debug statement
449 * text2.C (getColumnNearX): bug 1825 make sure that we don't
450 return a pos that is not on the row
452 * output_latex.C (TeXDeeper): get rid of potential dereferencing
453 of past the end iterator
455 2005-07-14 André Pönitz <poenitz@gmx.net>
457 * undo.C (recordUndoFullBuffer): implement undo for
460 2005-07-14 André Pönitz <poenitz@gmx.net>
462 * cursor.C (setSelection): open insets when selection is set there
463 to avoid crashs with cold coord cache
465 2005-07-14 André Pönitz <poenitz@gmx.net>
467 * trans_mgr.C (insert): move cursor to the right after inserting
470 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
472 * BufferView_pimpl.C (update): dampen some of the debug blabbering
473 * factory.C (readInset): ditto
474 * text.C, text2.C: ditto
476 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
478 * buffer.C: format incremented to 242. There is no file format per
479 se, but the "frenchb" language has been removed from lib/language
480 and has to be translated to "french" by lyx2lyx.
482 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
484 * cursor_slice.h, dociterator.h: add some documentation
485 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
487 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
489 * text.C (leftMargin): do not add identation to display() style
490 insets, because they are always centered (bug 1293).
492 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
494 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
495 formatted_time methods in support/lyxtime.
497 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
499 * toc.[Ch]: new method getGuiName, which is used by the frontends
500 to set the toc combo (fixes bug 1870). Make TOC string translatable.
502 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
504 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
505 StableDocIterator const &)
506 * undo.C (recordUndo): use the above instead of cell.size() comparison
507 (fixes bug 1808; instructed by Andr�.
509 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
512 * dociterator.h: Fix the assert when copying rows/cols in math
514 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
516 * BufferView_pimpl.C:
518 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
520 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
521 (findInset): new functions, refactored from goto Inset that return
522 the position of a certain inset without setting the buffer's cursor
524 (gotoInset): rewrite to call findInset and then set the cursor
527 2005-06-16 Angus Leeming <leeming@lyx.org>
529 * lyxrc.C (output, read): wrap all input and output of paths with
530 calls to os::internal_path and os::external_path, respectively.
531 (output): wrap bind_file inside quotes.
533 * format.C (view): enable the viewer to use the '$$s' placeholder.
535 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
537 * LColor.[Ch] (getFromLaTeXName): new
539 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
541 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
543 2005-06-14 Angus Leeming <leeming@lyx.org>
545 * lyx_main.C (init): ensure that the LyX binary dir is the first
546 element in the PATH on non-POSIX builds.
548 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
550 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
552 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
554 * rowpainter.C (paintInset, paintHebrewComposeChar)
555 (paintArabicComposeChar, paintChars): add a LyXFont argument.
556 (paintChars): use getFontSpan to reduce calls to getFont to a
557 minimum; use Paragraph::lookupChange instead of isXXXText.
558 (paintForeignMark): rename LyXFont argument.
559 (paintFromPos): pass a LyXFont object to the various paintXXX
562 * FontIterator.C (FontIterator, operator++): use
563 Paragraph::getFontSpan
565 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
566 version that returns the font span as a pair.
568 2005-06-09 Angus Leeming <leeming@lyx.org>
570 * converter.C (convert): Don't forget "outfile = real_outfile" as
571 the final step in a conversion where the input and output file names
572 are the same. Otherwise, future conversion steps won't work...
574 2005-06-09 Angus Leeming <leeming@lyx.org>
576 * lyxsocket.C: remove stub code as it isn't needed by
577 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
579 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
581 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
582 effectively disabled -x
584 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
586 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
587 when it actually makes sense.
589 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
591 * BufferView_pimpl.C: revert to showCursor in connection with
592 Lars's front-end stack
594 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
596 * text.C (redoParagraph): move cursor right after a bibitem
599 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
601 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
603 * buffer_funcs.C (bufferErrors): fix computation of the end of an
606 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
608 * BufferView.[Ch] (update):
609 * BufferView_pimpl.[Ch] (update, metrics):
610 * dimension.h (operator==):
611 * lyxfunc.C (dispatch):
612 * metricsinfo.h (ViewMetricsInfo):
613 * rowpainter.C (paintText):
615 * text.C (redoParagraph):
616 * text3.C (dispatch): Make LyX only repaint current paragraph in
617 case of character insert --> speedup. Also fix cursor draw
620 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
623 avoid a crash (bug 1891)
625 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * text2.C (getStringToIndex): constify cur argument.
631 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
632 argument has been given
633 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
634 try to invoke LFUN_INSET_APPLY).
636 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
637 if no inset was created by doInsertInset
638 (doInsertInset): return true if an inset has been inserted.
640 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
642 * vspace.C (asGUIName): new method. A version of the space
643 suitable for showing on screen.
645 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
648 * lyxrc.C: rename "ASCII" to "Plain Text"
650 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
652 * buffer_funcs.C (expandLabel): take a Buffer as argument;
653 translate the labelstring.
654 (setCounter): translate labelstring as needed.
656 * output_docbook.C (makeCommand): fix expandLabel invokation
658 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
660 * BufferView.C: fix dialog title
662 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
664 * lyx_main.C (priv_exec): fix logic error with help from Angus
665 * lyx_main.C (parse_execute): set is_gui = false and remove now
666 obsolete comment about a segfault
668 2005-05-18 Angus Leeming <leeming@lyx.org>
670 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
672 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
674 * tabular.[hC]: added setCellInset to fix tabular paste.
676 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
678 * buffer.C (save): check if destination is writable before trying
681 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
683 * BufferView_pimpl.C (update): fix processEvents -caused update
686 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
688 * buffer_funcs.C (setCounter): fix test for numbering of
691 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
692 depth correctly; use optional argument when it exists
694 * lyxtextclass.C: remove unused MaxCounterTags enum
695 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
696 (max_toclevel, min_toclevel): new methods.
698 * MenuBackend.C (expandToc2): fix case where depth is smaller than
699 the smallest depth in toc.
701 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
702 layouts that should not appear in a table of contents.
704 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
706 * cursor.h (undispatched, noUpdate): add comments from Andr�
707 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
711 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
713 2005-05-07 André Pönitz <poenitz@gmx.net>
715 * cursor.[Ch] (leaveInset): new function
717 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
719 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
721 2005-05-04 Angus Leeming <leeming@lyx.org>
723 * lyxfunc.C (getStatus): disable the spell checker dialog if
724 none of USE_[AIP]SPELL are defined.
726 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
728 * tabular.C (setWidthOfCell): remove obsolete comment
730 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
732 * paragraph.C (bibitem):
733 * buffer_funcs.C (setCounter):
734 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
736 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
738 * text3.C (getStatus): immediately return after setOnOff
740 * rowpainter.C: fix drawing of appendix start
742 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
744 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
745 SwitchBetweenClasses and remove the unused return value.
746 Handle character styles, too
748 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
750 * factory.C (createInset): handle undefined character styles
752 2005-05-02 Angus Leeming <leeming@lyx.org>
754 * buffer.C: protect the #include of utime.h with a preprocessor
757 2005-05-02 Angus Leeming <leeming@lyx.org>
759 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
760 function so that auto-saving works, albeit in a blocking manner.
762 * Makefile.am: make compilation of the client sub directory, of
763 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
764 on conditionals set at configure time.
766 * SpellBase.[Ch]: no longer an abstract base class. Instead,
767 it can be compiled in its own right but has no-op functionality.
769 * aspell.C, pspell.C: remove preprocessor guards. The files should
770 be compiled only if the necessary functionality exists.
772 * lyxserver.C, lyxsocket.C: disable on Windows.
774 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
776 * text.C (leftMargin): Fix the parindent use bug (1764)
779 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
781 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
784 2005-04-25 Angus Leeming <leeming@lyx.org>
792 include <config.h> in .C files, not .h ones.
794 protect headers inside preprocessor guards.
796 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
798 * FuncStatus.h (StatusCodes): document
800 2005-04-21 André Pönitz <poenitz@gmx.net>
802 * FuncStatus.h (enabled, onoff): document
804 2005-04-19 Angus Leeming <leeming@lyx.org>
806 * BufferView_pimpl.C (cursorToggle): no longer test whether
807 any child processes have been reaped before calling
808 handleCompletedProcesses().
810 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
812 * text3.C (dispatch): fix, finally fix, the language problem in
813 new lyxtexts, without disabling on-the-fly font changes (Helge's
816 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
818 * text3.C (dispatch): set cursor on double/triple click events
821 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
823 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
824 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
826 * rowpainter.C (paintFirst): simplify the code a little bit. In
827 particular, remove the test for secnumdepth.
828 * text.C (setHeightOfRow): only allocate space for chapter number
829 when updateCounters provided an actual label, instead of looking
830 at secnumdepth directly.
832 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
834 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
835 paragraphs when secnumdepth is large enough or, for environments,
836 when they are not the first in a sequence.
838 2005-04-17 Angus Leeming <leeming@lyx.org>
840 * buffer.C (makeLaTeXFile): replace code to manipulate a path
841 containing space and '~' characters with a call to latex_path().
843 2005-04-17 Angus Leeming <leeming@lyx.org>
845 * converter.C (convert): protect all args of convertDefault.sh
848 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
850 * text3.C (dispatch): change the layout to "Caption" after inserting
853 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
855 * text3.C (dispatch): fix language problem in newly created
856 textinsets (and main text) in non-english docs
858 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
860 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
861 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
862 * text3.C (getStatus): disable LFUN_INSET_MODIFY
864 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
869 * rowpainter.C (getFont): Fix metrics bug introduced by inset
872 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
874 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
875 output of \item arguments without trailing text.
877 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * FontIterator.C (operator*): avoid a copy of the font.
881 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
883 * rowpainter.C (getFont): fix language bug from previous fix
885 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
887 * rowpainter.C (RowPainter, getFont): fix font inside inset
890 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
892 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
893 preventing inserted font, deco, delim insets jumping to start of
896 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
898 * lyxfunc.C (dispatch): translate message before sending it to the
901 2005-03-29 Angus Leeming <leeming@lyx.org>
903 * lyx_main.C (priv_exec): call os::internal_path on each file passed
904 to LyX on the command line.
906 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
908 * vc-backend.C: use QuoteName to protect file names wherever
911 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
914 * BranchList.h: fix bugs 1844,1845: document settings don't
917 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
919 * lyxrc.C (setDefaults, read, output, getDescription): add support
920 for tex_allows_spaces.
922 * exporter.C (Export): allows files in directory containing spaces
923 if tex_allows_spaces is true.
925 * buffer.C (makeLaTeXFile): if the document path contains spaces,
926 output it in double quotes.
928 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
930 * rowpainter.C: use default text height for drawing change tracker
933 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
935 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
937 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
939 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
940 directory is missing.
942 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
944 * text2.C: fixed the fix, extended to other case.
946 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
948 * text2.C: fix for cursor up/down stuck in math [bug 1792]
950 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
952 * text2.C (cursorUp): get rid of a crash
953 * text.C (x2pos): add an assert
955 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
957 * lyxfunc.C (getStatus): fix warning when assertions are disabled
961 * dociterator.C: include <boost/current_function.hpp>, which is
962 needed when assertions are disabled.
964 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
966 * text2.C: fix for stuck cursor when traversing two
967 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
969 2005-02-25 Andreas Vox <avox@arcor.de>
971 * output_docbook.C (makeParagraph): suppress trailing newline
972 after a run of paragraphs
974 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
976 * paragraph.C: fix for confused change tracker when pasting
977 text that begins with a lineseparator. [bug 1827]
978 (setChange(0, Change::INSERTED);)
980 * paragraph_funcs.C: fix for lost changes on triple-paste
981 in change tracking mode [bug 1827] (par.setChange()).
983 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * text2.C (updateCounters, setCounter, expandLabel): move to
988 * buffer_funcs.C (updateCounters): turn into a free standing
989 function and add a buffer parameter. Remove dead code for tracking
991 (setCounter): change into a free-standing function which gets a
992 dociterator as argument. Use this iterator to fix captions in a
993 simple way. When no float is found above the caption, use the
994 labelstring of the caption layout as default.
996 * text.C (breakParagraph, backspace):
997 * text2.C (init, setLayout, changeDepth):
998 * text3.C (dispatch):
999 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1002 * dociterator.C (forwardPar): make it much faster by calling
1003 forwardPos() only when really necessary.
1005 * output_docbook.C (makeCommand): adapt to expandLabel move.
1007 * cursor.C: remove unused variable
1009 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1011 * paragraph_funcs.C: fix crash when pasting insets in change
1012 tracking mode [bug 1277] (honour change type in moveItem).
1014 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1016 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1018 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1020 * BufferView.C (setCursor): change to use a DocIterator.
1021 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1022 (putSelectionAt): adapt to BufferView::setCursor change.
1024 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1025 moved here from LyXText and rewritten to use proper cursor
1026 methods. Fixes bug 1787, 616 and 835.
1028 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1029 when inside an inset (part of bug 781).
1030 (dispatch): adapt to change of BufferView::setCursor.
1031 (getStatus, dispatch): handle LFUN_GOTOERROR,
1032 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1034 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1035 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1036 * text3.C (gotoNextInset, gotoInset): removed.
1038 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1040 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1042 2005-02-15 Angus Leeming <leeming@lyx.org>
1044 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1045 can be used meaningfully in a comparison.
1047 2005-02-13 André Pönitz <poenitz@gmx.net>
1049 * bufferview_funcs.C (coordOffset): improve cursor drawing
1051 2005-02-13 André Pönitz <poenitz@gmx.net>
1053 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1054 * Cursor.C (dispatch): use fixIfBroken
1055 * lyxfunc.C (getStatus): use fixIfBroken
1057 2005-02-15 Angus Leeming <leeming@lyx.org>
1059 * lyx_main.C (error_handler):
1061 * lyxrc.C (setDefaults):
1063 #include "environment.h".
1065 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1067 2005-02-15 Angus Leeming <leeming@lyx.org>
1069 * lyxserver.C (startPipe): squash MSVC warning "local variable
1070 'fd' used without having been initialized".
1072 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1074 * BufferView_pimpl.C: revert accidental commit.
1076 2005-02-14 André Pönitz <poenitz@gmx.net>
1078 * dociterator.[Ch]: new member forwardPosNoDescent(),
1079 which doesn't enter nested insets.
1080 * text2.C (setFont): use forwardPosNoDescent() instead
1081 of ForwardPos() (fixes crash on font change).
1083 2005-02-13 Angus Leeming <leeming@lyx.org>
1085 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1086 only if lyxrc.path_prefix is not empty.
1088 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1090 * bufferparams.C (readGraphicsDriver): prevent crash
1092 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1094 * text2.C (setCounter): check for inInset() == 0
1096 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1098 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1099 but use update() to get correct screen display; use convert
1100 instead of istringstream.
1101 (getStatus): handle LFUN_GOTO_PARAGRAPH
1103 * lyxfunc.C (dispatch, getStatus): do not handle
1104 LFUN_GOTO_PARAGRAPH here.
1106 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1108 * text3.C (dispatch): size() -> depth()
1110 * text2.C: remove some debug output
1112 * paragraph.C: ws changes only
1114 * lyxfunc.C (getStatus): size() -> depth()
1116 * dociterator.h (clear, push_back, pop_back, internalData,
1117 operator[], resize, empty): new functions
1118 Make StableDocIterator and operator== be friends. Don't inherit
1119 from std::vector use a privat class variable slices_ instead.
1122 * dociterator.C: update because of not inheriting from std::vector
1123 anymore. Call explictly to slices_ instead. Use depth() instead of
1124 size() and top() instead of back()
1126 * cursor.C: chagne size() -> depth and back() -> top(). Also
1127 remove some direct operator[](i) calls in favour of foo[i]
1128 (getFont): remove some dead code
1130 * bufferview_funcs.C (coordOffset): size() -> depth()
1132 * buffer.C: ws changes only
1134 * CutAndPaste.C (eraseSelection): back() -> top()
1136 * BufferView_pimpl.C (selectionRequested): back() -> top()
1138 * BufferView.C (setCursor): size() -> depth()
1140 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1142 * text3.C (cursorPrevious): return true if depm changed something
1144 (dispatch): rename sl to oldTopSlice, remove moving use the new
1145 NoUpdate func attrib instead. Make sure that needsUpdate is set
1146 for function that have NoUpdate, but where depm might have changed
1149 * text2.C (cursorLeft): make us return true if depm changed
1151 (cursorRight): ditto
1152 (cursorUpParagraph): ditto
1153 (curosrDownParagraph): ditto
1154 (cursorUp, cursorDown): ditto, make sure to read comments in code
1155 (deleteEmptyParagraphMechanism): remove an assert, also return
1156 true if just a single char was deleted.
1158 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1159 cursor that we modify, to avoid modifying an active cursor before
1160 we call setCursor. This allows depm to run. Also return true if
1161 depm deleted something.
1163 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1164 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1165 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1166 something was changed in the buffer because of them (ie. depm run)
1168 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1169 debug messages. Make update by default be false. Make sure that
1170 the result of update is retained throught several calls down to
1173 * LyXAction.h: add a new func_attrib: NoUpdate
1175 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1176 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1177 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1179 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1181 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1183 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1184 bv_->owner(), bv_->buffer() by direct references to the private
1186 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1187 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1188 (fitCursor): center() is in BufferView::Pimpl.
1189 (getStatus, trackChanges, dispatch): no need for a temporary buf
1191 (fitCursor, workAreaDispatch): use workarea().workheight()
1193 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1195 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1197 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1199 * buffer.C: format up to 241.
1200 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1201 break if pasting into ERT
1202 * lyxfunc.C (getStatus): suppress mathpanel and
1203 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1205 2005-02-01 Angus Leeming <leeming@lyx.org>
1207 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1209 2005-02-01 Angus Leeming <leeming@lyx.org>
1211 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1212 calling fs::is_directory().
1214 2005-01-31 Angus Leeming <leeming@lyx.org>
1216 * lyx_main.C (priv_exec): specify explicitly the relative location
1217 of the top level build directory when run in-place.
1219 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1221 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1222 LyXText containing the cursor, not the top-level one.
1224 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1226 (insertStringAsLines): rename par to pit; use temporary variable
1227 par to hold a Paragraph; do not store par.layout() in a variable,
1228 since the pointer may die when breaking paragraphs; pass pars to
1229 breakParagraph() instead of Buffer::paragraphs().
1231 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1233 * lyxlex_pimpl.h: #include <fstream>.
1235 * BufferView.[Ch] (getLyXText): add a const version.
1237 * BufferView_pimpl.C: add debug aids.
1242 * paragraph_funcs.h: add commentary explaining what the class does.
1245 * coordcache.[Ch]: add lots of commentary.
1246 (startUpdating, doneUpdating): debug aids.
1247 (arrays, insets, parPos, getParPos): accessors to private data.
1249 * cursor_slice.[Ch] (text): add a const version.
1250 * dociterator.[Ch] (text, innerText): add const versions.
1252 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1255 * paragraph.C (getRow, pos2ros): add asserts.
1257 * paragraph.h: add commentary. Lots of.
1259 * paragraph.[Ch] (metrucs, draw): removed.
1262 * rowpainter.[Ch]: const-correct changes.
1264 * text.C: various obvious clean-ups. Removal of ancient cruft.
1267 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * vc-backend.C (find_file): rewrite to use boost.filesystem
1272 * main.C (main): set default name check for boost.filesystem to
1275 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1278 (actOnUpdatedPrefs): ditto
1280 * lyx_main.C (init): rewrite to use boost.filesystem
1281 (queryUserLyXDir): ditto
1283 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1284 (getContentsOfAsciiFile): ditto
1286 * lastfiles.C (readFile): rewrite to use boost.filesystem
1288 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1290 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1291 (loadLyXFile): ditto
1293 * buffer.C (Buffer): adjust for destroydir
1294 (getLogName): rewrite to use boost.filesystem
1295 (setFileName): ditto
1296 (save): use fs::copy_file (from fs_extras)
1298 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1300 * LaTeX.C (run): rewrite to use boost.filesystem
1301 (scanAuxFiles): ditto
1302 (handleFoundFile): ditto
1304 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1306 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1308 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1310 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1312 * lyxlayout.[Ch]: change some vars from float to double
1314 * buffer.C (readFile): make a local var const
1316 * Several files: use convert<> instead of atoi,strToXXX and friends
1318 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1320 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1321 holds the contents of packages.lst. New functions getAvailable
1322 and isAvailable to parse and check that list, resp.
1326 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1328 * bufferparams.[Ch]: new param output_changes.
1330 * Buffer.C: increase file format to 240.
1331 Use output_changes and isVailable.
1335 * paragraph_pimpl.C: Use output_changes and isVailable.
1337 2005-01-23 Angus Leeming <leeming@lyx.org>
1339 * output_latex.C: #include "insetbibitem.h", rather than
1340 forward declare function bibitemWidest.
1342 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1344 * lyx_main.C (init): make it compile on the Mac.
1346 2005-01-20 Angus Leeming <leeming@lyx.org>
1348 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1349 (setLyXMisc): (char string literal) != (char string literal) is
1350 performing a comparison on the addresses. Convert one operand
1351 explicitly to string to guarantee expected behaviour.
1354 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1357 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1359 * output_plaintext.C: remove unneeded #include gzstream.h.
1361 2005-01-20 Angus Leeming <leeming@lyx.org>
1363 * SpellBase.h: rename some of the elements of the Result enum.
1370 * pspell.C (check): ditto
1372 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1374 * buffer.C: add #include <fstream>.
1376 * lyx_main.C (init): Compile fix.
1378 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1380 2005-01-20 Angus Leeming <leeming@lyx.org>
1382 * mover.h: change commentary to reflect the changed meaning of
1383 the $$s placeholder.
1385 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1387 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1389 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1391 2005-01-20 Angus Leeming <leeming@lyx.org>
1393 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1394 printing diagnostic data by not dereferecing an iterator past the
1397 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1399 * buffer.C (readHeader): use "&&" rather than "and".
1401 * lyxserver.h (inPipeName, outPipeName): make these const.
1403 2005-01-19 Angus Leeming <leeming@lyx.org>
1405 * lyx_main.C (error_handler, init): protect SIGHUP with
1406 #ifdef SIGHUP guards.
1408 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1410 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1412 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1414 * text.C (setHeightOfRow): add a margin at the top and bottom of
1415 the document (bug 1761)
1417 2005-01-17 Angus Leeming <leeming@lyx.org>
1419 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1420 with "python ". Workaround for a brain-dead Windows.
1422 2005-01-16 Angus Leeming <leeming@lyx.org>
1424 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1425 for MacOSX and Windows to use prependEnvPath.
1426 Strip out the hard-coded block to add elements to the PATH for
1427 MacOSX and replace it with a call to prependEnvPath using the
1428 contents of LyXRC::path_prefix.
1429 (queryUserLyXDir): strip out the code to run reconfigure, instead
1430 returning a boolean indicating the necessity to do so.
1431 (reconfigureUserLyXDir): contains the code to reconfigure the
1432 user support directory. Is now called after the various LyXRC data
1433 files have been read.
1435 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1437 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1439 * converter.[Ch] (convert): take a new parameter try_default. Use
1440 a default converter (imagemagick) if try_default is true.
1442 2005-01-13 Angus Leeming <leeming@lyx.org>
1444 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1445 os::cygwin_path_fix.
1446 (write): output LyXRC::cygwin_path_fix as necessary.
1448 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1451 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1453 2005-01-12 Angus Leeming <leeming@lyx.org>
1455 * lyx_main.C (init): set the PATH variable to include the
1456 directory containing the LyX binary when running on Mac or Windows.
1458 2005-01-12 Angus Leeming <leeming@lyx.org>
1460 * lyx_main.C (init): remove cruft that purports to set the locale
1461 dir. It doesn't and is not needed anyway.
1463 2005-01-10 Angus Leeming <leeming@lyx.org>
1465 * Makefile.am: remove the lyx_main.C special casing.
1467 * BufferView_pimpl.C:
1473 * messages.C: use support/package.h to provide the paths to the
1474 various directories used by LyX.
1476 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1478 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1479 layout if pasting into an empty paragraph)
1481 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1483 * tex-accent.C: add <string>
1485 2005-01-06 José Matos <jamatos@lyx.org>
1487 * ParagraphParameters.C (write): put every parameter in its own line.
1488 * paragraph.C (write): reduce number of consecutive empty lines exported.
1489 * buffer.C (LYX_FORMAT): increase file format to 239.
1491 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1493 * everywhere: change support/tostr.h -> support/convert.h
1495 * tabular.C: make all write_attributes templates, tostr -> convert
1497 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1498 (emptyTag): and -> &&, and fix type for ret from getChar
1499 (getFirstWord): fix type for ret from getChar
1500 (onlyText): and -> &&
1501 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1504 * toc.C (goTo, action):
1505 * text3.C (dispatch):
1506 * text.C (currentState):
1507 * tex-accent.C (DoAccent):
1510 * lyxfunc.C (menuNew):
1511 * lyxfinc.C (replace):
1512 * counters.C (laberItem):
1513 * bufferview_funcs.C (font2string):
1514 * bufferparams.C (writeFile):
1515 * buffer.C (readFile):
1517 * MenuBackend.C: tostr -> convert
1519 * LaTeX.C (runMessage): fix format
1520 (scanAuxFiles): tostr -> convert
1522 * BufferView_pimpl.C (savePosition): fix format
1523 (restorePosition): ditto
1526 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1528 * Spacing.[Ch]: New method getValueAsString().
1532 * ParagraphParameters.C:
1535 * text3.C: store/read spacing value as string.
1537 * rowpainter.C: change float value (spacing_val) to double.
1539 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1540 broken custom document spacing).
1542 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1545 namespace, also more use of temp references and const
1547 * cursor.[Ch] (getStatus): move to lyxfunc.C
1549 * bufferparams.C: reformat slightly
1551 * bufferview_funcs.C (font2string): constify arg
1557 * buffer_funcs.C: (many funcs): constify arg on function
1558 definitions, also make more local vars const, also add ASSERTS on
1561 * buffer.C (LYX_FORMAT): put const in correct place
1562 (many funcs): constify arg on function definitions, also make
1563 more local vars const
1565 * aspell_local.h: remove "struct" from typdef setup
1567 * aspell.C (check): make word_ok const
1568 (nextMiss): simplify slightly
1571 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1573 * lyxrc.[Ch]: store all float values as strings.
1574 use int (not float) for lyxrc.dpi.
1576 2005-01-04 Angus Leeming <leeming@lyx.org>
1578 * lyx_cb.C (Reconfigure):
1579 * lyx_main.C (queryUserLyXDir):
1580 to run the <system_lyxdir>/configure correctly on Windows, prefix
1581 the path to the script with "sh " when generating the string that
1582 is passed to system().
1584 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1586 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1588 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1590 * lyxlength.C (asLatexString): get rid of setprecision
1592 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1594 * text2.C (setLayout): remove unused variable endpit.
1595 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1597 * paragraph.C (onlyText): remove unused variable style.
1599 * cursor.C (bruteFind): remove unused variables beg and end.
1601 * Makefile.am (dist_noinset_DATA): not needed anymore
1603 * cheaders/*: remove.
1605 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1607 * text3.C: fix LFUN_MATH_MODE.
1609 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1611 * buffer_funcs.C (countWords): new function. Counts words between
1614 * BufferView_pimpl.C (getStatus, dispatch): handle
1617 * LyXAction.C (init):
1618 * lfuns.h: add LFUN_WORDS_COUNT.
1620 2004-12-19 Angus Leeming <leeming@lyx.org>
1622 * buffer.C (save): s/slashify_path/internal_path/.
1624 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1626 * lyxfind.C (findChange): do not search for end of pars, because
1627 the change tracker cannot handle this (fixes bug 1719).
1629 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1631 * paragraph.[Ch] (autoBreakRows): remove
1633 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1635 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1636 avoid using the paragraph one
1638 * text2.C (LyXText, insertStringAsLines): adjust
1640 2004-12-16 Angus Leeming <leeming@lyx.org>
1644 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1646 2004-12-14 Angus Leeming <leeming@lyx.org>
1648 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1650 * bufferlist.C (emergencyWrite):
1651 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1654 2004-12-14 Angus Leeming <leeming@lyx.org>
1656 * main.C: (main): no longer pass pointers to os::init.
1658 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1660 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1661 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1663 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1666 * text3.C: remove selection_possible global flag
1668 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1670 * text2.C (getSelectionSpan): remove
1671 (changeDepth, changeDepthAllowed): adjust
1673 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1675 * Makefile.am (BOOST_LIBS): use boost variables
1677 2004-12-03 José Matos <jamatos@lyx.org>
1679 * buffer.C: format up to 238.
1681 2004-12-03 José Matos <jamatos@lyx.org>
1683 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1685 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1687 * cursor.C (goUpDown): remove call to idxUpDown2
1689 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1691 * tabular.[Ch]: use size_t-like types for cell, row and column
1694 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1696 * lyxfunc.C (getStatus): do not lose previous information when
1697 calling BufferView::getStatus; do not set a default "Command
1698 disabled" message at the beginning, but just before returning.
1700 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1702 * cursor.h (getStatus): add better comment from src/cursor.C
1704 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1706 * text3.C (getStatus): return false when the lfun is not handled
1708 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1710 * broken_headers.h: remove
1712 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1714 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1716 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1717 offset_ref accessors
1719 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1720 top_y_, merge fitcursor with update
1721 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1723 (metrics): introduce
1724 (workAreaDispatch): adapt to new coord scheme
1725 (redoCurrentBuffer): remove
1727 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1729 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1732 * coordcache.[Ch]: add paragraph cache and helpers
1734 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1737 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1738 (targetX, setTargetX): introduce
1740 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1741 baseline -> ascent, as the rest of lyx
1743 * lyxtext.h: remove redoParagraphs, updateParPositions,
1744 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1745 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1746 have ascent/descent (ascent is ascent of first par)
1748 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1751 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1753 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1755 * pariterator.C: fix infinite loop introduced in par->pit renaming
1757 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1758 in insets and LyXText, draw two off-screen paragraphs using
1759 NullPainter, and adapt to new coord scheme
1763 * text3.C: adapt lfun handlers to the new coord scheme, which
1764 means: there's only guaranteed coord information for onscreen pars
1765 plus one above and one below. This implies that one can do search
1766 from y coordinates in the range [-1,workHeight]
1768 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1770 * rename a lot of InsetOld to InsetBase
1772 2004-11-25 Angus Leeming <leeming@lyx.org>
1774 * BufferView_pimpl.C:
1776 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1778 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1780 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1781 call BufferView::getStatus if LCursor::getStatus did nothing
1782 (setStatusMessage, getStatusMessage): removed.
1784 * FuncStatus.C (message): new methods. Used to provide an error
1785 message indicating why a command is disabled.
1786 (clear, |=, FuncStatus): update for message.
1788 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1790 * lyxfunc.C (dispatch): always call sendDispatchMessage
1792 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1795 * BufferView_pimpl.C:
1800 * cursor_slice.[Ch]:
1803 * paragraph_funcs.C:
1809 * undo.C: par->pit renaming
1811 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * tabular.C (cellstruct): use initialization, store a shared_ptr
1814 to insettext instead of the insettext directly, adjust to fit.
1815 (operator=): new function
1816 (swap): new function
1817 (rowstruct): use initialization
1818 (columnstruct): use initialization
1819 (ltType): use initialization
1822 * lyxlength.h (swap): new function
1824 * LColor.[Ch] (operator=): use the common semantics
1826 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1828 * lyxfind.C (findNextChange): update the bufferview after setting
1831 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1833 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1834 number of InsetOptArgs has already been inserted.
1836 * output_latex.C (latexOptArgInsets): new method. This outputs all
1837 the optarg insets, up to the limit defined in the layout file.
1838 (optArgInset): removed
1839 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1841 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1843 * paragraph.C (isLetter): remove special spellchecker-related
1844 code; return true also for digits
1845 (isWord, isKomma): remove
1847 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1848 * lyxfind.C (MatchString()): use isLetter instead of isWord
1850 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1852 * pariterator.h (operatir=): comment out un-implemented member
1855 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1858 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1860 * lyxfont.h: include LColor.h to satisfy concept checks.
1862 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * pariterator.h: add typdefs for value_type, difference_type,
1865 pointer and reference to satisfy concept checks. Also add default
1866 constructor for same reason.
1868 * pariterator.C (operator++): add post-increment operator to
1869 satisfy concept checks.
1871 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1874 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1876 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1877 checks. Also rename base_type to BaseType to follow naming
1880 * FloatList.h: include Floating.h to satisfy concept checks.
1882 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1884 * lyxfunc.C (getStatus): when the origin of the request is menu or
1885 toolbar, and the LyXView does not have focus, do as if there was
1886 no buffer (bug 1720)
1888 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1889 FuncRequest to individual entries of LFUN_SEQUENCE
1891 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 * output_latex.C (TeXOnePar): override runparams.moving_arg
1894 according to the needprotect value of the current paragraph (bug
1897 * paragraph.C (simpleTeXOnePar): no need to override
1898 runparams.moving_args here
1900 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1902 * vspace.C: fix off-by-one-error, related to fix #1682
1904 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1906 * lengthcommon.C: a more general fix for bug 1682
1908 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1910 * text.C (backspace): fix crash
1912 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1914 * format.[Ch] (getFormatFromFile): new method
1915 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1917 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1919 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1921 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1923 * lyxfunc.C (dispatch): remove the verbose argument
1924 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1927 * kbmap.C (defkey): set the origin of func to KEYBOARD
1929 * MenuBackend.C (MenuItem):
1930 * ToolbarBackend.C (add): set the origin of func to UI
1932 * funcrequest.[Ch]: add origin member, which indicates which part
1933 of LyX requests an action
1935 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1937 * converter.C (move): don't lie in the error message
1938 * converter.h (isReachable, move): document
1940 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1942 * buffer.C: remove unused using lyx::support::atoi
1943 * paragraph_funcs.C: ditto
1945 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1947 * bufferlist.C (exists): use bind and equal_to instead of
1950 * lyxtextclasslist.C (NumberOfClass): ditto
1952 * cursor.C (insert): use for_each instead of explicit for loop
1954 * bufferlist.C (getFileNames): use std::transform and
1955 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1957 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1960 * buffer.C (changeLanguage): use for_each instead of explicit for
1962 (hasParWithID): implement using getParFromID
1964 * LaTeXFeatures.C: ws change only
1966 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1969 * BufferView_pimpl.C (trackChanges): use for_each instead of
1972 2004-11-04 André Pönitz <poenitz@gmx.net>
1975 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1977 * dociterator.C (asDocIterator): use hard assert again.
1979 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1981 * lyxlength.C (asLatexString): rewrite so that it does not use
1984 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1986 * text3.C (specialChar, dispatch): make sure cursor moves to the
1987 right after inserting an inset
1989 2004-11-02 José Matos <jamatos@lyx.org>
1991 * output_docbook.C (docbook):
1992 * paragraph.C (getID):
1993 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1994 garantee that the output is always legal.
1996 * tabular.C (docbook):
1997 * outputprams.[Ch]: remove mixed contents.
1999 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2001 * text2.C (setCounter): prevent endless loop
2003 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2005 * exporter.C (copyFile): use the mover instead of support::copy()
2006 * exporter.C (Export): pass format and latex name to copyFile()
2007 * exporter.h (addExternalFile): document
2008 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2010 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2012 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2014 2004-10-30 José Matos <jamatos@lyx.org>
2016 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2017 text and no inset or font change. This allows to use CDATA
2018 sections just for the whole paragraph.
2020 2004-10-30 José Matos <jamatos@lyx.org>
2022 * paragraph.C (getFirstWord): remove unused variable.
2024 2004-10-30 José Matos <jamatos@lyx.org>
2026 * paragraph.C (getFirstWord): the content should always be escaped
2028 (simpleDocBookOnePar):
2029 * output_docbook.C (makeEnvironment): replace reference to CDATA
2032 2004-10-30 José Matos <jamatos@lyx.org>
2034 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2036 2004-10-30 José Matos <jamatos@lyx.org>
2038 * output_docbook.C (makeParagraphs):
2039 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2040 standard paragraph has only a given type of content drop the wrapper.
2042 2004-10-29 José Matos <jamatos@lyx.org>
2044 * output_docbook.C (makeEnvironment):
2046 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2048 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2050 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2051 (cleanID): sanitize any id.
2053 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2055 * buffer.C, lyxlex_pimpl.C:
2056 * lyxlex_pimpl.C (setFile):
2057 s/getExtFromContents/getFormatFromContents/
2059 2004-10-28 José Matos <jamatos@lyx.org>
2061 * output_docbook.C (makeEnvironment): move id to broadest possible
2064 * sgml.C (openTag): apply substitution of <> for all attributes.
2066 2004-10-28 José Matos <jamatos@lyx.org>
2068 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2069 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2070 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2072 * sgml.[Ch]: new version for open and closeTag for paragraph and
2073 for strings. Now they handle the ids of paragraphs.
2075 2004-10-26 Angus Leeming <leeming@lyx.org>
2077 * Makefile.am: add mover.[Ch].
2079 * converter.C (convert, move): use the new Movers to move external
2080 files to the temp directory.
2082 * lyx_main.C (init): ensure that the global system_movers data
2085 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2088 * mover.[Ch]: new files, defining a Mover as a utility to move an
2089 external file between directories and, if necessary, manipulate this
2090 file using a helper script.
2092 2004-10-25 José Matos <jamatos@lyx.org>
2094 * output_docbook.C (makeCommand): merge two if's that tested the
2097 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2099 * sgml.C (escapeString): fix warning in a better way
2101 2004-10-25 José Matos <jamatos@lyx.org>
2103 * sgml.C (escapeString): import the require boosts header file for
2104 tie, and avoid a signed unsigned comparison.
2106 2004-10-25 José Matos <jamatos@lyx.org>
2108 * sgml.h: add #include <string>
2110 2004-10-25 José Matos <jamatos@lyx.org>
2112 * sgml.[Ch] (escapeString): new function to escape all the string.
2114 2004-10-24 José Matos <jamatos@lyx.org>
2116 * paragraph.[Ch] (getFirstWord): new function to get the first
2117 word. Useful for description.
2118 (simpleDocBookOnePar): remove depth argument, add another that
2119 says where to start the paragraph.
2121 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2122 use the new functions to fix cleanly the support for descriptions.
2124 2004-10-24 José Matos <jamatos@lyx.org>
2126 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2127 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2128 * output_linuxdoc.C (linuxdocParagraphs):
2129 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2130 add buffer as argument.
2132 2004-10-24 José Matos <jamatos@lyx.org>
2134 * output_docbook.C (makeEnvironment, searchEnvironment): place
2135 CDATA inside paragraphs and fix scope for listitems.
2137 2004-10-24 José Matos <jamatos@lyx.org>
2139 * output_docbook.C: remove using statement for stack.
2141 2004-10-23 José Matos <jamatos@lyx.org>
2143 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2144 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2145 docbook. The new scheme is recursive and makes use of iterators, the
2146 same as latex export works.
2147 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2148 directly with the paragraph contents. This code was moved up to
2149 output_docbook.C (docbookParagraphs).
2150 * sgml.C (openTag, closeTag): removed unneeded newlines.
2151 (closeEnvTags) removed.
2153 2004-10-23 André Pönitz <poenitz@gmx.net>
2155 * undo.C (textUndoOrRedo):
2156 * dociterator.C (asDocIterator): work around crash
2158 * cursor.C (getStatus): replace ASSERT by more verbose error message
2159 and manual correction of the problem. Should increase stability
2160 while providing more sensible information.
2162 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2164 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2166 * bufferlist.C (previous, next): new methods
2169 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2171 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2173 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2174 entities to preamble.
2176 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2178 * messages.C (Pimpl): strip off translation context information
2180 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2182 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2183 the cursor is correct (bug 1694)
2185 2004-10-13 José Matos <jamatos@lyx.org>
2187 * output_docbook.C (docbookParagraphs): fix closing tags in the
2188 end of the document.
2190 2004-10-09 José Matos <jamatos@lyx.org>
2192 * buffer.C: format up to 237.
2193 * bufferparams.C (write): use tostr to convert booleans to strings.
2195 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2197 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2199 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2201 * LaTeX.C: implement use of babel language in xindy.
2203 2004-10-05 José Matos <jamatos@lyx.org>
2205 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2206 Add new translators to help reading and writing the lyx file.
2208 2004-10-05 José Matos <jamatos@lyx.org>
2210 * ParagraphParameters.C (read):
2211 * text.C (readParToken): replace nexToken by more appropriate lex
2214 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2216 * LaTeX.C (runMakeIndex):
2217 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2218 (usually 'makeindex') configurable.
2220 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2221 with a variable rather than with a number.
2223 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2225 * output_latex.C (TeXOnePar): make sure font setting is the first
2226 thing that gets output (and the last at the end). Should fix bug
2229 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * pch.h: use proper signal include
2233 * LaTeX.h: Use preferred calling of Boost.Signal
2236 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * pch.h: dont include <boost/function/function0.hpp>
2240 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2242 * paragraph_pimpl.h: remove usage of ShareContainer
2244 * paragraph_pimpl.C: remove initialization of ShareContainer.
2246 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2250 * BufferView.C (putSelectionAt): change the semantics when
2251 backwards == true: now, this just swaps cursor and anchor wrt the
2254 * BufferView.h (putSelectionAt): add some documentation
2256 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2257 make sure backwardChar is done at least once (to avoid getting
2259 (findNextChange): use putSelectionAt in the forward direction
2260 (operator()): use Paragraph::isWord
2262 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2264 * Spacing.C (set): c_str fix
2266 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2268 * lyx_cb.C (Reconfigure): quote the name of configure script in
2269 case it contains spaces
2271 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2275 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2276 (BOOST_LIBS): use top_buildir when looking for the file
2278 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2280 * pch.h: do not use include boost/format.hpp, multiple symbols
2281 will result (gcc bug)
2284 2004-08-23 José Matos <jamatos@lyx.org>
2286 * bufferparams.C (readToken): fix reading of the author field.
2288 2004-08-20 José Matos <jamatos@lyx.org>
2290 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2292 2004-08-20 José Matos <jamatos@lyx.org>
2294 * lyxlex.[Ch] (findToken): remove function.
2296 * ParagraphParameters.C (findToken):
2297 * bufferparams.C (findToken): replace call for previous function
2298 with local copy. This local function has one more argument, the
2299 read string argument.
2301 2004-08-16 José Matos <jamatos@lyx.org>
2303 * ParagraphParameters.C (write):
2304 * Spacing.C (writeFile):
2305 * bufferparams.C (writeLaTeX):
2306 * lyx_cb.C (Reconfigure):
2307 * paragraph.C (write):
2308 * tabular.C (write): remove unnecessary space at end of line.
2311 2004-08-16 José Matos <jamatos@lyx.org>
2313 * text.C (readParagraph): remove debug message.
2315 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2317 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2320 * output_plaintext.C (asciiParagraph): set depth correctly
2322 * outputparams.h: add member depth
2324 * paragraph_funcs.C (ownerPar): remove.
2326 * text2.C (setCounter): remove first_pit; comment out some
2327 non-working code that uses ownerPar
2329 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2332 2004-08-16 José Matos <jamatos@lyx.org>
2334 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2335 For the same level of importance use the same chanel to report problems.
2336 (read): add code to deal with \begin_body and \end_body.
2339 2004-08-15 José Matos <jamatos@lyx.org>
2341 * lyxlex.C (getString): fix comment, buffer::readBody is now
2342 buffer:readDocument.
2344 * tex-strings.C (string_papersize): Default -> default,
2345 Custom -> custom, for consistency with other options.
2347 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * Makefile.am: support pch
2353 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2355 * text.C (readParToken): remove the static LyXFont variable and
2356 pass it as a parameter instead. This fixes a nasty bug where an
2357 inset will be inserted with a bad font in some situations
2358 (readParagraph): adapt
2360 * text2.C (setCounter): reduce number of calls to pars_[pit]
2362 * text.C (singleWidth): add an assert, fix a test
2364 * rowpainter.C (paintText): reduce number of calls to singleWidth
2366 * paragraph.C (isHfill):
2367 (isNewline): ws only
2369 2004-08-14 André Pönitz <poenitz@gmx.net>
2374 * lyxtext.h (several functions): use a Paragraph & argument
2377 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2379 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2381 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2383 * text.C (singleWidth): remove useless test
2385 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2387 * tabular.h: remove bogus comments
2389 * tabular.C (getDescentOfRow):
2390 (isPartOfMultiColumn): add assertions
2392 * lyxlength.C (inPixels): remove #warning
2394 2004-08-14 André Pönitz <poenitz@gmx.net>
2396 * paragraph.h: inline getChar()
2398 * BufferView.h: remove unused declarations
2400 2004-08-14 José Matos <jamatos@lyx.org>
2402 * Buffer.[Ch] (readDocument): new name for old readBody.
2403 * Buffer.C: new file format, new keywords: \begin_document,
2404 \begin_header, \begin_body, \end_body.
2406 * bufferparams.C (readToken): replace all calls to lex.nextToken
2407 by lex.next(). Do the same to eatLine except where really needed.
2409 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2410 line when writing to the lyx file.
2412 * output_plaintext.C (asciiParagraph): fix Bibliography style
2415 * text.C (read): fix end of file handling.
2417 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2419 * MenuBackend.C (Menu::operator[]): new method to access
2420 individual menu items
2421 (Menu::hasFunc): new method. search for an item that corresponds
2423 (MenuBackend::specialMenu): new method
2424 (MenuBackend::expand): if a special menu has been set, skip
2425 entries whose func() appears in this menu
2427 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2429 * text3.C: use Debug::DEBUG a bit more
2431 * text.C (leftMargin): try to simplify a tiny bit change var x to
2432 l_margin. Dont output the wide margins always.
2433 (rightMargin): no margin in inner texts
2435 * rowpainter.h (nestMargin): new func
2436 (changebarMargin): new func
2437 (rightMargin): new func
2439 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2443 * factory.C (createInset): modify setDrawFrame
2445 * cursor.C: use Debug::DEBUG a bit more
2447 2004-08-14 André Pönitz <poenitz@gmx.net>
2450 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2451 cache for all insets in (at least partially) visible (top-level)
2454 * BufferView_pimpl.C: reset external coord cache before every update.
2455 This means the coord cache only contains valid entries.
2457 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2460 * BufferView_pimpl.C (getInsetByCode): move function out of class
2461 and change in to a template in anon namespace. Also fix to do what
2464 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2467 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2469 (breakParagraph): rename par to par_offset and use a local
2470 reference. Add code to keep the language over a rebreak.
2471 (breakParagraphConservative): rename par to par_offset, use a
2473 (mergeParagraph): ditto
2475 (isFirstInSequence): ditto
2476 (outerFont): rename pit to par_offset
2478 * paragraph.C: ws change
2479 * paragraph.h: ditto
2483 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2485 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2488 * paragraph.C (simpleTeXOnePar): when we have a \item with
2489 optional argument, enclose the argument with curly brackets (in
2490 case it contains a closing square bracket)
2494 * text3.C (checkInsetHit): constify
2496 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2498 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2499 documents (bug 1629)
2501 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2503 Fix toggling of collapsable insets with the mouse (bug 1558)
2505 * lyxfunc.C (dispatch): adapt to LCursor changes
2507 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2508 make sure that dispatch is not invoked twice
2510 * cursor.C (needsUpdate): new method
2511 (dispatch): return void
2512 (result): new method, to access the DispatchResult of the cursor.
2514 2004-08-13 José Matos <jamatos@lyx.org>
2516 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2518 2004-08-13 André Pönitz <poenitz@gmx.net>
2520 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2522 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2525 2004-08-12 André Pönitz <poenitz@gmx.net>
2527 * text3.C: take out the 'cursor right' form insertInset and only
2528 do it in those places when it is really needed. Fixes crash on
2531 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2533 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2535 * BufferView_pimpl.C (setBuffer): initialize the current font of
2536 the underlying LyXText
2538 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2540 * kbsequence.C (print): use UI native formatting for menu
2543 * text.C (insertChar): call Paragraph::insertChar with a font
2546 * paragraph.C (insertInset, insertChar): the version that takes a
2547 LyXFont argument is now a wrapper around the other one (the
2548 opposite used to be true).
2550 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2551 argument. Font setting is done in Paragraph now.
2553 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2555 * outputparams.h: add new members intitle and lang.
2557 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2558 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2560 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2562 * text3.C (dispatch): remove special handling of button 4 and 5,
2563 it is now taken care of in the frontend code.
2565 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2567 * Spacing.h: add <string> (STLPort compile fix)
2569 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2571 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2573 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2575 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2578 * converter.C (showMessage): inherit from unary_function, make
2581 * buffer.C (writeFile): initialize retval
2583 * InsetList.h: rename private variable list to list_
2584 * InsetList.[Ch]: adjust accordingly.
2586 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2589 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2590 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2591 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2592 * ParagraphParameters.C, LaTeXFeatures.C: replace
2593 "support/std_sstream.h" with <sstream>
2595 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2597 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2598 * lyxsocket.C (LyXServerSocket): ditto
2599 (serverCallback): ditto
2601 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2603 * LaTeXFeatures.C: check release date when loading jurabib.
2605 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2607 * lyxserver.C (startPipe): call register_socket_callback
2608 (endPipe): call unregister_socket_callback
2610 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2612 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2613 (LyXServerSocket): register the callback
2614 (LyXServerSocket): unregister the callback
2615 (fd): delete function
2616 (serverCallback): improve error checking and setup the callbacks.
2617 (dataCallback): change arg to fd.
2618 (writeln): new func (copied fro the client socket) used for server
2620 (LyXDataSocket): simplify
2621 (~LyXDataSocket): close ann unregiser callback
2622 (server): delete function
2623 (fd): delete function
2624 (readln): small changes, improve some std::string usage
2625 (writeln): constify a bit
2627 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2629 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2632 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2634 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2635 after it has been populated
2637 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2639 * text2.C (insertInset): move cursor when inserting inset.
2641 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2643 * kbmap.C (findbindings): a couple of new methods. returns a
2644 container of kb_sequence objects. The real work is done by the
2645 private recursive version
2646 (printbindings): uses findbindings to print out a bracketed list
2647 of bindings (renamed from findbinding).
2649 * MenuBackend.C (binding): use kb_keymap::findbindings
2651 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2653 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2655 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2657 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2659 * paragraph.C (isWord): return true on insets that report
2662 * text.C (getWord): use Paragraph::isWord to decide what is in a
2663 word and what is not; fix bug 1609.
2665 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2667 * tex-strings.C: add "none" to string_paperpackages[], fixes
2668 off-by-one-error in the paperpackage selection.
2671 * tex-strings.[Ch]: char const * string[n]
2672 -> char const * const string[]
2674 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2676 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2677 command, return early.
2679 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2681 * debug.h: add DEBUG to enum and fix size of ANY.
2683 * debug.C: add support for Debug::DEBUG
2684 (showTags): cast errorTags.level to unsigned int
2686 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2687 (redoCurrentBuffer): ditto
2688 (updateScrollbar): ditto
2689 * cursor.C (dispatch): ditto
2690 * text2.C (setLayout): ditto
2692 (updateCounters): ditto
2694 (deleteEmptyParagraphMechanism): ditto
2696 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2698 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2699 annotations to cleanup the Makefile slightly.
2701 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2703 * lyxrc.C: do not set user_email to a default value but use empty
2704 instead. The entry used to be translated, which does not work
2705 since at the point where lyxrc is constructed there is no
2706 translation service available
2708 * messages.C (getLocaleDir): remove and use directly
2709 lyx_localedir() instead
2711 2004-06-02 Angus Leeming <leeming@lyx.org>
2713 Fix crash caused by dereferencing null pointer 'exportdata' in
2714 OutputParams by creating a new ExportData variable on the heap,
2715 storing it in a boost::shared_ptr.
2716 The crash was triggered when generating an Instant Preview
2717 of an external inset.
2719 * Makefile.am: add outputparams.C
2721 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2722 (c-tor): allocate memory to it.
2724 * exporter.C (c-tor): associated changes.
2726 2004-06-01 Angus Leeming <leeming@lyx.org>
2728 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2729 contains data before calling isInset(0). (Bug 1513.)
2731 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2733 * exporter.C (checkOverwrite): new method
2734 * exporter.C (copyFile): new method
2735 * exporter.C (Export): copy referenced files to the document dir
2736 * exporter.[Ch]: new class ExportedFile
2737 * exporter.[Ch]: new class ExportData. Contains currently the
2738 names of referenced external files
2739 * outputparams.h: add exportdata member.
2741 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2746 2004-05-19 Angus Leeming <leeming@lyx.org>
2751 * lyxfunc.C: small changes due to the introduction of namespace
2752 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2754 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2756 * text3.C (dispatch): supress update when only moving the cursor
2757 * cursor.C (selHandle): remove commented code
2759 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2761 * paragraph.C (startTeXParParams): correct column count
2762 * CutAndPaste.C (pasteSelection): remove const_cast
2763 * output_docbook.C (docbookParagraphs): remove const_cast
2764 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2765 const_cast and return ParagraphList::const_iterator
2766 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2767 * output_plaintext.C (writeFileAscii): remove const_cast
2768 * paragraph.[Ch] (simpleTeXOnePar): make const
2769 * paragraph_funcs.C (outerPar): use const iterators
2770 * paragraph_pimpl.C (validate): use const iterators
2771 * text.C (setHeightOfRow): use const iterators
2773 2004-05-17 Angus Leeming <leeming@lyx.org>
2776 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2778 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2779 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2780 if the citation engine has changed.
2782 2004-05-14 José Matos <jamatos@lyx.org>
2784 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2785 if the textclass does not provide it. Have it different for sgml and
2787 support the language of document.
2788 * output_docbook.C (docbookParagraphs):
2789 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2790 first anchor as the id of the paragraph, remove special case code.
2791 * sgml.C (escapeChar): escape only < & >.
2793 2004-05-14 Angus Leeming <leeming@lyx.org>
2795 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2796 dependencies on src/frontends/controllers/biblio.h. Define a
2797 CiteEngine_enum wrapper class to enable the enum to be forward
2800 2004-05-12 Angus Leeming <leeming@lyx.org>
2802 * buffer.C: up LYX_FORMAT to 234.
2803 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2804 use_numerical_citations with a single biblio::CiteEngine cite_engine
2806 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2808 2004-05-13 José Matos <jamatos@lyx.org>
2811 * converter.C (Converter, readFlags): add xml member.
2812 * outputparams.h: add XML flavor.
2813 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2815 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2817 * lyxfunc.C (dispatch):
2818 (getStatus): fix handling of LFUN_SEQUENCE
2820 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2822 * debug.C (showLevel): do not forget the end-of-line marker
2824 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2826 * kbmap.C (read): do not stop parsing a bind file when an error
2829 2004-04-29 Angus Leeming <leeming@lyx.org>
2834 * text2.C: wrap a bunch of #warning statements
2835 inside #ifdef WITH_WARNINGS blocks.
2837 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2839 * buffer.C: increment format to 233.
2841 2004-04-28 Angus Leeming <leeming@lyx.org>
2843 * BufferView_pimpl.C:
2846 s/updateToolbar()/updateToolbars()/
2847 s/Toolbar.h/Toolbars.h/
2849 2004-04-28 Angus Leeming <leeming@lyx.org>
2851 * BufferView.[Ch] (c-tor):
2852 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2853 No longer passes these data to the WorkArea generator.
2855 2004-04-28 Angus Leeming <leeming@lyx.org>
2857 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2859 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2861 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2863 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2865 * output_latex.C (TeXEnvironment): make sure that there is a line
2866 break before \end{foo} for the last paragraph of a document
2867 (TeXOnePar): if the paragraph is at the end of the document (or
2868 inset) and the language has to be reset, then make sure that the
2869 line break is _before_ the language command, not after (fixes bug
2870 1225); also make sure that the language reset command is the first
2871 thing after the paragraph (to ensure proper nesting of
2872 environments and thus fix bug 1404)
2874 2004-04-21 John Levon <levon@movementarian.org>
2877 * ToolbarBackend.C: make "name" be a programmatic name
2878 and a gui_name field.
2880 * lyxfunc.C: display the minibuffer on M-x
2882 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2884 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2887 2004-04-19 Angus Leeming <leeming@lyx.org>
2889 * BufferView_pimpl.C (setBuffer): changed preview interface.
2891 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2894 2004-04-19 John Levon <levon@movementarian.org>
2896 * BufferView_pimpl.C:
2897 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2899 2004-04-05 Angus Leeming <leeming@lyx.org>
2901 * text.C (redoParagraphs): add call to updateCounters(), thereby
2902 fixing the missing "Figure #:" label from the caption of a
2905 2004-04-13 Angus Leeming <leeming@lyx.org>
2907 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2908 cursor is clicked out of an inset.
2910 2004-04-13 Angus Leeming <leeming@lyx.org>
2912 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2913 than an InsetOld one.
2915 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2917 * format.[Ch]: add editor to Format
2918 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2919 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2921 2004-04-08 André Pönitz <poenitz@gmx.net>
2923 * metricsinfo.h: remove PainterInfo::width member
2925 2004-04-08 Angus Leeming <leeming@lyx.org>
2927 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2928 "\providecommand" rather than "\newcommand", thereby preventing
2929 clashes with packages that define "\boldsymbol" themselves.
2932 2004-04-08 Angus Leeming <leeming@lyx.org>
2934 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2935 thereby squashing an unnecessary warning.
2937 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2939 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2942 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2944 * BufferView.C (setCursor): call redoParagraph (some insets could
2946 (putSelectionAt): remove the 'double update' trick
2948 * BufferView_pimpl.C (fitCursor): call refreshPar
2949 (workAreaDispatch): remove an uneeded update call
2950 (dispatch): remove some manual update calls
2952 * cursor.[Ch]: remove cached_y_, updatePos
2953 (selHandle): set noUpdate when appropriate
2955 * lyxfunc.C (dispatch): track if we need an update
2957 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2959 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2960 (paintSelection): cheap optimization, do not call cursorX when not
2962 (paintPars): change signature
2965 (paintTextInset): adjust
2969 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2971 * lengthcommon.C: compilation fix: remove explicit array size from
2972 unit_name[] and friends
2974 2004-04-05 Angus Leeming <leeming@lyx.org>
2976 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2978 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2979 present only for the preferences dialog.
2980 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2982 2004-04-05 Angus Leeming <leeming@lyx.org>
2984 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2985 to enable the frontends to export changes to lyxrc correctly.
2987 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2989 2004-04-07 André Pönitz <poenitz@gmx.net>
2991 * cursor.[Ch] (selClear, adjust): remove math
2993 * cursor_slice.C: more agressive assert
2996 * BufferView_pimpl.C: rework mouse event dispatch
3003 2004-04-05 André Pönitz <poenitz@gmx.net>
3005 * cursor.[Ch] (valign, halign...): remove unneeded functions
3007 2004-04-05 Angus Leeming <leeming@lyx.org>
3009 * lyxlength.[Ch] (unit_name et al.): const-correct.
3011 2004-04-05 Angus Leeming <leeming@lyx.org>
3013 * BufferView_pimpl.C:
3022 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3024 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3026 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3028 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3030 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3031 * BufferView_pimpl.[Ch] (getStatus)
3032 * BufferView.[Ch] (getStatus): add
3033 * lyxfunc.C (getStatus): move lfuns handled in
3034 BufferView::dispatch to te function above
3035 * Cursor.C (setSelection): set selection() = true
3037 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3039 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3041 2004-03-31 Angus Leeming <leeming@lyx.org>
3043 * lyxfunc.C (dispatch): Fall through to the generic
3044 Dialogs::show("preamble").
3046 2004-03-31 Angus Leeming <leeming@lyx.org>
3048 * lyxfunc.C (dispatch): Fall through to the generic
3049 Dialogs::show("spellchecker").
3051 2004-03-31 Angus Leeming <leeming@lyx.org>
3053 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3056 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3061 * insetiterator.[Ch]:
3066 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3068 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3070 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3071 insets where we are putting the cursor.
3073 2004-03-31 Angus Leeming <leeming@lyx.org>
3076 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3078 * lyxrc.[Ch] (read, write): overloaded member functions taking
3079 a std::[io]stream arguments.
3081 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3083 2004-03-31 Angus Leeming <leeming@lyx.org>
3085 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3086 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3088 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3089 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3091 2004-03-31 Angus Leeming <leeming@lyx.org>
3093 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3094 the LFUN_ALL_INSETS_TOGGLE code.
3096 2004-03-30 Angus Leeming <leeming@lyx.org>
3098 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3099 has died. Fall through to the generic Dialogs::show("document").
3101 2004-03-30 Angus Leeming <leeming@lyx.org>
3104 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3105 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3107 * lyxfunc.C (getStatus, dispatch): define the actions for these
3108 lfuns. Little more than a cut and pste job from ControlDocument.C
3110 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3112 2004-03-30 Angus Leeming <leeming@lyx.org>
3115 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3116 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3118 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3119 open/closed state of ollapsable insets. Usage:
3121 all-inset-toggle <state> <name>, where
3122 <state> == "open" || "closed" || "toggle" and
3123 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3125 * lyxtext.h, text2.C (toggleInset): removed.
3127 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3128 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3129 now passes LFUN_INSET_TOGGLE to the found inset.
3131 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3132 is now invoked as "all-insets-toggle toggle branch".
3134 2004-03-30 Angus Leeming <leeming@lyx.org>
3138 * pariterator.[Ch]: added/corrected header blurb.
3140 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3142 * dociterator.[Ch]: add an inset_ member
3143 (backwardPos): implemented
3144 (backwardPos, forwardPos): use inset_ when the stack is empty.
3145 (doc_iterator_begin, doc_iterator_end): implemented
3146 * pariterator.[Ch]: adjust, add begin, end
3147 * insetiterator.[Ch]: adjust, add begin, end
3151 * BufferView_pimpl.C:
3152 * CutAndPaste.C: adjust
3154 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3156 * buffer.C: increment file format to 232.
3157 * LaTeXFeatures.C: add bibtopic package.
3158 * bufferparams.[Ch]: param \use_bibtopic.
3160 * lyxrc.[Ch]: add lyxrc bibtex_command
3161 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3163 * buffer.C: increment file format to 231.
3165 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3167 * dociterator.C: implement forwardPar
3168 * iterators.[Ch]: remove, replaced by
3169 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3171 * BufferView_pimpl.C:
3174 * bufferview_funcs.C:
3180 * Makefile.am: adjust
3182 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3184 * CutAndPaste.C (pasteSelection): fix 2 crashes
3185 (eraseSelection): fix a crash
3186 * paragraph_funcs.C: remove a warning
3188 2004-03-28 Angus Leeming <leeming@lyx.org>
3191 * LyXAction.C (init): new LFUN_PRINT.
3193 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3195 2004-03-27 Angus Leeming <leeming@lyx.org>
3198 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3200 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3202 2004-03-27 Angus Leeming <leeming@lyx.org>
3204 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3205 insetlist always contains non-null pointers to insets.
3207 2004-03-26 Angus Leeming <leeming@lyx.org>
3209 * src/BufferView_pimpl.C:
3210 * src/CutAndPaste.C:
3213 * src/output_plaintext.C:
3214 * src/outputparams.h:
3215 * src/paragraph_funcs.C:
3219 * src/frontends/controllers/ControlErrorList.C:
3220 * src/frontends/gtk/FileDialogPrivate.C:
3221 * src/frontends/gtk/GPainter.C:
3222 * src/frontends/gtk/GToolbar.C:
3223 * src/frontends/qt2/QRef.C:
3224 * src/mathed/math_scriptinset.C: squash compiler warnings.
3226 2004-03-26 Angus Leeming <leeming@lyx.org>
3228 * ispell.C (LaunchIspell::start):
3229 * lyx_cb.C (AutoSaveBuffer::start):
3230 invoke run(DontWait) rather than runNonBlocking().
3232 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3234 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3236 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3238 * kbsequence.C (print): adjust
3240 * kbmap.C (printKeySym): rename and change signature
3241 (printKey): use LyXKeySym::print()
3243 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3245 * undo.C: add using std::advance to compile for stlport
3247 2004-03-24 Angus Leeming <leeming@lyx.org>
3249 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3250 it leads to a crash when no buffer is present.
3252 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3253 Martin Vermeer <martin.vermeer@hut.fi>
3255 * lyxfunc.C (dispatch):
3256 * bufferparams.C (readToken): use the new LColor::setColor
3258 * LColor.[Ch] (setColor): new version that takes two strings as
3259 argument and creates a new color entry if necessary
3261 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3263 * buffer.C (makeLaTeXFile): if the main latex file that is
3264 processed is usually a subdocument of some master, then pretend
3265 for a while that it is actually the master
3267 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3269 * buffer.C (getLabelList):
3270 (getBibkeyList): use getMasterBuffer()
3271 (getMasterBuffer): new method. Returns the main document in the
3272 case where one is using included documents.
3274 2004-03-25 André Pönitz <poenitz@gmx.net>
3278 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3280 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3282 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3283 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3285 * ParameterStruct.h: merge with ParagraphParameters
3287 * lyxtext.h: remove LyXText::parOffset() and getPar()
3289 * text3.C: Remove all 'manual' update calls. We do now one per user
3290 interaction which is completely sufficient.
3294 * BufferView_pimpl.C:
3295 * FontIterator.[Ch]:
3297 * ParagraphParameters.[Ch]:
3302 * cursor_slice.[Ch]:
3309 * output_docbook.[Ch]:
3310 * output_latex.[Ch]:
3311 * output_linuxdoc.[Ch]:
3312 * output_plaintext.[Ch]:
3314 * paragraph_funcs.[Ch]:
3315 * paragraph_pimpl.[Ch]:
3323 * frontends/controllers/ControlDocument.C:
3324 * frontends/controllers/ControlErrorList.C:
3325 * frontends/controllers/ControlSpellchecker.C:
3328 * insets/insetbase.h:
3329 * insets/insetbibitem.C:
3330 * insets/insetbox.C:
3331 * insets/insetbranch.C:
3332 * insets/insetcaption.C:
3333 * insets/insetcharstyle.C:
3334 * insets/insetcharstyle.h:
3335 * insets/insetcollapsable.C:
3336 * insets/insetcollapsable.h:
3337 * insets/insetert.C:
3338 * insets/insetfloat.C:
3339 * insets/insetfoot.C:
3340 * insets/insetmarginal.C:
3341 * insets/insetnote.C:
3342 * insets/insetoptarg.C:
3343 * insets/insettabular.C:
3344 * insets/insettext.C:
3345 * insets/insettext.h:
3346 * insets/insetwrap.C:
3347 * mathed/math_mboxinset.C:
3348 * mathed/math_nestinset.C:
3349 * mathed/math_scriptinset.C:
3350 * mathed/math_scriptinset.h:
3353 2004-03-24 Angus Leeming <leeming@lyx.org>
3355 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3356 deal with any child processes that have finished but are waiting to
3357 communicate this fact to the rest of LyX.
3359 2004-03-24 Angus Leeming <leeming@lyx.org>
3361 64-bit compile fixes.
3363 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3364 (c-tor): pass lyx::pos_types rather than ints.
3366 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3369 * text.C (Delete): compile fix.
3370 (getPar): ensure that function declaration is the same as that in
3373 2004-03-23 Angus Leeming <leeming@lyx.org>
3375 * ispell.C (LaunchIspell):
3376 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3377 a boost::shred_ptr rather than a std::auto_ptr.
3379 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3381 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3382 handle LFUN_FILE_INSERT_*
3384 * lyxrc.C (setDefaults, getDescription, output, read):
3385 * lyxrc.h: remove ps_command
3387 2004-03-22 Angus Leeming <leeming@lyx.org>
3389 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3390 Ensure that error_handler is processed once only and that all data
3391 is saved before attempting to output any warning messages.
3393 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3395 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3397 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3399 2004-03-19 André Pönitz <poenitz@gmx.net>
3401 * cursor.[Ch] (reset): take main text inset as argument
3403 * BufferView: adjust
3404 * BufferView_pimpl.C: adjust
3406 * paragraph.[Ch]: fix completely broken operator=()
3408 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3410 * LColor.C (getFromLyXName): make sure that the color name is used
3413 2004-03-17 Angus Leeming <leeming@lyx.org>
3416 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3418 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3419 dialog and to kill a forked process.
3421 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3423 * text2.C (setCursorFromCoordinates): fix font problem
3425 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3427 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3428 bogus "rebuild cursor" code
3430 2004-03-11 André Pönitz <poenitz@gmx.net>
3432 * buffer.[Ch]: use InsetText instead of LyXText as container for
3435 * dociterator.[Ch]: drop the BufferView * member which is not needed
3436 anymore after the change to buffer.C
3438 * paragraph_funcs.C:
3442 * BufferView_pimpl.[Ch]:
3444 * cursor_slice.[Ch]: adjust
3446 * text3.C: fix bug in mathDispatch
3448 2004-03-08 André Pönitz <poenitz@gmx.net>
3450 * undo.[Ch]: use 'StableDocumentIterator' as base for
3453 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3456 * bufferparams.[Ch]: add jurabib support and param.
3458 * LaTeX.C: add FIXME/comment.
3460 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3462 * buffer.C: increment file format to 230.
3464 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3466 * cursor.C (dispatch): avoid infinite loops
3468 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3470 * rowpainter.C (paintSelection): fix x coordinates
3472 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3474 * text.C (rowBreakPoint): fix breaking before displayed insets
3476 2004-03-01 André Pönitz <poenitz@gmx.net>
3478 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3480 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3484 * BufferView_pimpl.C:
3492 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3498 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3499 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3501 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3503 * Bidi.[Ch] (computeTables): const correctness
3504 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3505 fill_hfill, fill_label_hfill and x from Row
3506 * lyxtext.h: prepareToPrint returns a RowMetrics
3507 * rowPainter.C: adjust
3508 * text.C (prepareToPrint): use width, not textWidth. adjust
3509 (redoParagraphInternal, cursorX): adjust
3510 * text2.C (getColumnNearX): adjust
3511 (init): put a default value to the top LyXText::width
3513 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3515 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3517 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3519 * lyxtext.h: add FontIterator class
3521 * text.C (FontIterator, operator*, operator->, operator++): add
3522 (rowBreakPoint, setRowWidth): adjust (fixing a
3525 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3527 * BufferView_pimpl.C (workAreaDispatch): allow also
3528 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3530 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3532 * text.C (rowBreakPoint): fix a bug showing with very large insets
3534 2004-02-25 André Pönitz <poenitz@gmx.net>
3537 * cursor.[Ch]: move some mathed specific code to mathed
3539 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3541 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3542 use_tempdir in preferences
3543 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3545 * lyx_main.C: ensure that tempdir is valid
3546 * lyxlex.h: correct typo
3547 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3548 * paragraph.[Ch] (isMultiLingual): make const
3549 * cursor.[Ch] (openable): make const
3551 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3553 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3555 2004-02-20 André Pönitz <poenitz@gmx.net>
3557 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3559 * cursor.[Ch]: prepare for localized getStatus()
3565 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3567 2004-02-20 André Pönitz <poenitz@gmx.net>
3569 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3571 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3573 * text2.C (setCursorFromCoordinates): switch to absolute coords
3575 (cursorDown): adjust
3576 * text3.C (dispatch): adjust
3578 2004-02-16 André Pönitz <poenitz@gmx.net>
3580 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3583 * cursor_slice.[Ch]: remove unneeded acessor function
3585 * lyxtext.h: rename rtl() to isRTL()
3593 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3595 * rowpainter.C (paintSelection): coord fix
3597 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3599 * Spacing.C: compile fix
3601 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3603 * cursor.C (dispatch): restore current_ before returning
3605 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3607 * text2.C (cursorUp, cursorDown): fix coords
3610 2004-02-12 André Pönitz <poenitz@gmx.net>
3615 * text3.C: add LCursor & parameter to most cursor movement functions
3616 remove usage of LyXText::cursorRow() and cursorPar()
3618 * cursor.[Ch]: add textRow() needed members
3621 * BufferView_pimpl.C:
3624 * BufferView_pimpl.C: adjust
3626 2004-02-11 André Pönitz <poenitz@gmx.net>
3630 * BufferView_pimpl.C: shift undo/redo handling
3632 * cursor.[Ch]: fix mathed crash
3635 * lyxtext.h: move selectionAsText to LCursor
3643 * rowpainter.C: fix excessive drawing
3645 2004-02-06 André Pönitz <poenitz@gmx.net>
3648 * BufferView_pimpl.[Ch]:
3649 * text3.C: move some text specific LFUN handling
3651 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3653 * text3.C (checkInsetHit): adjust coords
3654 * text2.C (getColumnNearX): adjust coords
3655 (edit): adjust coords
3656 * text.C (getRowNearY): add two asserts
3658 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3661 * format.C: add using std::distance to compile on gcc 2.95/stlport
3663 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3665 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3667 2004-02-04 André Pönitz <poenitz@gmx.net>
3669 * BufferView.[Ch] (insertInset):
3670 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3675 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3677 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3678 on the default clause of the switch
3679 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3680 wasn't catched by LCursor::dispatch
3682 2004-02-03 André Pönitz <poenitz@gmx.net>
3685 * cursor.[Ch]: some additional asserts
3687 * undo.[Ch]: remove LyXText dependency in interface
3691 * lyxtext.h (firstPar, lastPar): remove dead functions
3696 * paragraph.[Ch]: adjust
3698 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3700 * lyxfind.C (find): fix argument order in call to ::find
3702 2004-02-02 André Pönitz <poenitz@gmx.net>
3704 * cursor.[Ch]: remove direct access to anchor
3706 * text.C: remove findText() hack
3708 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3710 * iterators.[Ch] (lockPath): remove in favour of...
3711 * BufferView.[Ch] (setCursor): this addition
3712 * BufferView.C (putSelectionAt): adjust
3713 * undo.C (performUndoOrRedo): adjust
3714 * lyxfunc.C (dispatch): adjust
3716 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3718 * iterators.C (lockPath): add a missing slice
3719 * undo.C (performUndoOrRedo): remove redundant positioning code
3721 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3723 * vc-backend.C (scanMaster): ";" -> ';'
3725 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3727 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3728 std::binary_function
3730 * lyxtextclass.C (compare_name): rename to...
3731 (LayoutNamesEqual): ...this
3733 * lyxlex_pimpl.C (compare_tags): inherit from
3734 std::binary_function, put back into anon namespace
3736 * lyxfind.C (MatchString): inherig from std::binary_function
3737 (findChange): use empty() istead of !size()
3739 * format.C (FormatNamesEqual): new functor
3746 * converter.C (compare_Converter): rename to...
3747 (ConverterEqual): ...this, and fixup a bit.
3748 (getConverter): use it, and make function const
3749 (getNumber): use it, and make function const
3753 * bufferlist.C: add using boost::bind
3755 * MenuBackend.C (MenuNamesEqual): new functor
3756 (hasMenu): use it, and make function const
3757 (hasSubmenu): use nested bind to get rid of compare_memfun.
3759 2004-01-30 André Pönitz <poenitz@gmx.net>
3761 * BufferView_pimpl.C:
3764 * cursor_slice.[Ch]:
3767 * paragraph_funcs.C:
3768 * paragraph_funcs.h:
3772 * text3.C: move some of the edit(x,y) handling to the insets
3773 some coordinate changes.
3775 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3777 * text.C: add using statements for std::advance and std::distance
3779 * paragraph.C: add using statement for std::distance
3781 * lyxfind.C: add using statement for std::advance
3783 * cursor.C (region): remove std:: from swap
3784 (openable): use nucleus in stead of operator->
3786 * BufferView.C: add using statements for std::distance and std::swap
3788 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3790 * iterators.C: Remove the pimple, move the needed structures to
3791 the header file. Create accessor for the positions stack.
3792 (asPosIterator): remove function
3794 * PosIterator.C (PosIterator): move constructors to top of file
3795 (PosIterator): reimplement the constructor taking a ParIterator in
3797 (setFrom): new function
3798 (operator!=): inline it
3800 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * lyxfind.C (replaceAll): use std::advance
3804 * iterators.h: inherit from std::iterator.
3806 * PosIterator.C (advance, distance): remove
3807 * PosIterator.h: interit from std::iterator.
3809 2004-01-26 André Pönitz <poenitz@gmx.net>
3812 * BufferView_pimpl.[Ch]:
3816 * bufferview_funcs.C:
3826 * output_linuxdoc.C:
3827 * output_plaintext.C:
3829 * paragraph_funcs.[Ch]:
3830 * paragraph_pimpl.[Ch]:
3836 * text3.C: more IU: dumps most of the rest of the mathcursor
3837 implementation into cursor.[Ch]; "globalize" a bit of it.
3839 2004-01-25 Angus Leeming <leeming@lyx.org>
3841 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3843 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3845 * LaTeXFeatures.h: add nice_ and nice() const
3846 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3848 2004-01-20 André Pönitz <poenitz@gmx.net>
3851 * BufferView_pimpl.C:
3853 * bufferview_funcs.C:
3855 * cursor_slice.[Ch]:
3866 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3867 LCursor and mathcursor parts to LCursor and InsetBase.
3869 2004-01-15 André Pönitz <poenitz@gmx.net>
3871 * cursor_slice.[Ch]: add a few covienience functions
3873 * funcrequest.[Ch]: remove BufferView * member
3875 * BufferView_pimpl.C:
3882 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3884 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3886 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3887 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3889 2004-01-13 André Pönitz <poenitz@gmx.net>
3892 * lyxtext.h: hide cursor and selection anchor behind accessor function
3895 * BufferView_pimpl.[Ch]:
3897 * bufferview_funcs.C:
3907 * cursor_slice.[Ch]: some integer type changes for inset unification
3909 * lyxcursor.[hC]: remove, it's CursorSlice now.
3912 * BufferView_pimpl.[Ch]:
3913 * bufferview_funcs.C:
3919 * textcursor.[Ch]: adjust
3921 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3923 * text2.C (undoSpan): add and use
3924 * text.C (breakParagraph): use undoSpan (fix bug 578)
3927 2004-01-08 Angus Leeming <leeming@lyx.org>
3929 * BufferView_pimpl.C (MenuInsertLyXFile):
3930 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3931 * lyxfunc.C (menuNew, open, doImport):
3932 FileFilterList change to the FileDialog open and save functions.
3934 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3936 * ShareContainer.h: make isEqual and isUnique adaptable
3938 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3940 2004-01-07 Angus Leeming <leeming@lyx.org>
3943 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3945 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3947 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3948 functions replacing find, replace and replaceAll.
3950 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3951 LFUN_WORDFIND(FORWARD|BACKWARD).
3953 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3955 * text.C (breakParagraph): remove an outdated #warning
3957 2004-01-07 André Pönitz <poenitz@gmx.net>
3959 * lyxfind.C: somewhat clearer logic
3961 * text.C: prevent crash in cursorX on unitialized row cache
3963 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3965 * lyxcursor.[Ch] (operator>): add
3966 * textcursor.C (selStart, selEnd): use std::min and std::max
3968 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * Chktex.C: include boost/format.hpp
3972 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3974 * InsetList.C: replace functor MathcIt with adaptable functor
3976 (insetIterator): modify accordingly
3978 * BranchList.h: move the BranchNamesEqual functor here from...
3979 * BranchList.C: ... to here
3981 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3983 (add): replace a finding loop with std::find_if.
3985 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3987 * output_docbook.C: moving LatexParam functionality into
3990 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3992 * buffer.C: increment format to 229.
3994 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3997 * lyx_sty.[Ch]: remove minipageindent_def
4003 * text3.C: remove LFUN_INSET_MINIPAGE
4005 2003-12-28 Angus Leeming <leeming@lyx.org>
4007 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4009 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4011 * text2.C (setParagraph): fix off-by-one crash
4013 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4015 * output_docbook.C: header stuff for AGU
4017 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4019 * text2.C (redoCursor): remove
4022 * BufferView_pimpl.C: remove calls to redoCursor and
4023 setCursor(cursor.par(), cursor.pos()) all around
4025 2003-12-15 Angus Leeming <leeming@lyx.org>
4027 * buffer.C: up the format to 228.
4029 2003-12-15 André Pönitz <poenitz@gmx.net>
4031 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4036 * BufferView_pimpl.C:
4045 2003-12-15 Angus Leeming <leeming@lyx.org>
4047 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4048 than getFromGUIName to manipulate the color.
4050 2003-12-14 Angus Leeming <leeming@lyx.org>
4052 * BranchList.[Ch]: minimize the API.
4053 (Branch::getBranch, getColor): now return a 'const &'.
4054 (Branch::setSelected) now returns a bool set to true if the
4055 selection status changes.
4056 (BranchList::clear, size, getColor, setColor, setSelected,
4057 allBranches, allSelected, separator): removed.
4058 (BranchList::find): new functions, returning the Branch with
4060 (BranchList::add, remove): return a bool indicating that
4061 the operation was successful.
4063 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4064 new InsetBranch::isBranchSlected member function.
4066 * LColor.[Ch]: mimimize the API.
4067 (fill): renamed as addColor and made private.
4068 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4069 versions of these functions taking a string arg have been removed.
4071 * bufferparams.C (readToken):
4072 * lyxfunc.C (dispatch):
4073 * lyxrc.C (read): changes due to the altered BranchList and
4076 * factory.C (createInset, readInset): changes due to altered
4079 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4082 * lyxfunc.C: remove insetminipage. "minipage-insert"
4083 now produces a frameless minipage box inset.
4085 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4087 * textcursor.[Ch] (selStart,selEnd): add new methods
4088 remove selection::start, end, use LyXCursor::operator<
4089 * lyxcursor.[Ch] (operator<): add
4090 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4091 * BufferView.[Ch] (unsetXSel): add
4092 * text2.C (clearSelection): use unsetXSel,adjust
4095 * rowpainter.C: adjust
4096 * bufferview_funcs.C (put_selection_at): adjust
4098 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4100 * BufferView_pimpl.C: small coord. correction
4102 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4104 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4105 dragging over the splash screen.
4107 2003-12-11 Angus Leeming <leeming@lyx.org>
4109 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4110 as it is now handled in LyXText::dispatch.
4112 * text3.C (doInsertInset): remove a level of nesting.
4114 2003-12-11 Angus Leeming <leeming@lyx.org>
4116 * factory.C (createInset): changes due to the changed interface to
4117 InsetCommandMailer::string2params.
4119 2003-12-10 Angus Leeming <leeming@lyx.org>
4121 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4122 'dialog-show-new-inset <inset name>'
4124 2003-12-10 Angus Leeming <leeming@lyx.org>
4126 * buffer.C: up the format to 227.
4128 * factory.C: the box inset is now identified simply by 'Box'.
4130 2003-12-10 Angus Leeming <leeming@lyx.org>
4132 * buffer.C: up the format to 226.
4134 * factory.C: the note inset is now identified simply by 'Note'.
4136 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4138 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4139 when a pit is enough. Standarize a couple of loops.
4141 2003-12-05 Angus Leeming <leeming@lyx.org>
4143 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4144 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4145 data to the re-worked "log" dialog.
4147 2003-12-03 André Pönitz <poenitz@gmx.net>
4153 * paragraph_funcs.C:
4155 * text2.C: use Inset::getText instead of Inset::getParagraph
4157 2003-12-03 André Pönitz <poenitz@gmx.net>
4161 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4162 InsetText::read() as LyXText::read()
4164 2003-12-02 Angus Leeming <leeming@lyx.org>
4166 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4167 type. Add a comment in the implementation that the function uses
4168 the stream's bad() function rather than fail() as the std::streams
4171 2003-12-02 André Pönitz <poenitz@gmx.net>
4173 * lyxlex.[Ch]: make interface more similar to std::stream
4175 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4177 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4179 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4181 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4183 * vspace.[Ch]: remove VSpace::NONE
4185 2003-12-01 André Pönitz <poenitz@gmx.net>
4188 * lyxtext.h: move ParagraphList member to LyXText
4189 rename LyXText::ownerParagraphs to LyXText::paragraph
4192 * bufferview_funcs.C:
4202 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4204 * undo.C: fix cursor positioning
4206 2003-12-01 John Levon <levon@movementarian.org>
4208 * BufferView_pimpl.C: fix a crash on exit with
4211 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4213 * BranchList.C: fix setSelected() method.
4215 2003-11-28 André Pönitz <poenitz@gmx.net>
4217 * ParagraphParameters.[Ch]:
4218 * ParameterStruct.h: remove space above/below from Paragraph to
4221 * BufferView_pimpl.C:
4227 * paragraph_funcs.C:
4233 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4235 * factory.C: Syntax change for CharStyles
4237 2003-11-28 André Pönitz <poenitz@gmx.net>
4242 * buffer.[Ch]: move LyXText member
4244 2003-11-28 André Pönitz <poenitz@gmx.net>
4246 * BufferView.[Ch]: make LyXText * text a private member
4248 * BufferView_pimpl.C:
4259 * output_plaintext.C: cleanup
4261 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4264 * lyxtextclass.[Ch]: parametrize SGML document header
4266 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4269 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4272 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4274 * text2.C (setFont): rework using PosIterator (no more recursive)
4275 (setCharFont): no more needed
4276 (setLayout): no more selection cursors fiddling (done by redoCursor)
4277 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4278 destroy remaining ones)
4280 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4282 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4284 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4287 * text3.C: adjust + re-allow multi par depth changes
4288 * textcursor.C: simplify a bit
4290 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4296 * src/output_docbook.C:
4297 * src/output_latex.C:
4302 * src/text2.C: Introducing a number of tags parametrizing various
4303 XML formats that we may want to support
4305 2003-11-25 André Pönitz <poenitz@gmx.net>
4307 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4309 * lyxtext.h (leftMargin/rightMargin): simplify interface
4316 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4318 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4319 master file to any child files. Fixes bug 546.
4321 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4323 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4325 2003-11-24 André Pönitz <poenitz@gmx.net>
4327 * rowpainter.C: simplification
4329 * text2.C (updateCounters): remove call to redoParagraph on
4330 changed labels as this is far too expensive.
4332 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4334 * converter.C (convert): fix a crash: this function gets
4335 called with buffer == 0 from importer code.
4337 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4339 * text3.C (cursorPrevious): make sure that we do not compare
4340 iterators form different containers.
4343 * rowpainter.C (paintSelection): make sure that we do not compare
4344 iterators from different containers.
4346 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4347 iterators from different ParagraphList containers.
4350 * text2.C (LyXText): change order of initialization slightly
4351 (operator=): new function. copy all variables except cache_par_
4352 (moveUp): make sure that we do not compare iterators from
4353 different ParagraphList constainers.
4356 * text.C (firstPar): new function
4357 (lastPar): new function
4358 (endPar): new function
4360 * lyxtext.h: move things around and group public functions, public
4361 variables, private functions, private variables
4363 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4365 * factory.C: change call to InsetERT constructor to avoid
4366 additional invocation of method status
4367 * text2.C (toggleInset): remove redundant update() call
4368 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4369 instead of a Bufferview pointer
4371 2003-11-21 André Pönitz <poenitz@gmx.net>
4373 * rowpainter.C: simplification
4375 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4377 * text3.C (dispatch): make possible to extend a word/row selection
4380 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4382 * lyxtext.h: x0_,y0_ -> xo_,yo_
4383 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4384 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4385 * rowpainter.C (paintRows): paint full paragraphs
4387 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4389 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4392 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4394 * lyxtext.h: add x0_, y0_
4395 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4396 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4398 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4400 * text2.C (setCursorIntern): move the x_target update here *
4401 * text3.C: change some bv() to true/false in calls to
4402 cursorUp/Down/Right/Left
4403 * cursor.C: use helper function.
4405 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4407 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4408 * paragraph_funcs.[Ch]: correct comment
4409 * rowpainter.C: do not paint selections away from bv->cursor()
4410 Fix a long standing selection painting bug.
4411 * text3.C: generalize mouse-selection code to LyXTexts other that
4413 * textcursor.C: do not use y coords if we can use par offsets
4415 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4417 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4418 cursor position after e.g. inset insert)
4420 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4422 * lyxfind.C (replace): adjust to locking removal + some
4425 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4427 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4430 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4433 * output_docbook.C: XML sanitation: new layout
4434 parameters InnerTag and CommandDepth
4436 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4438 * BufferView_pimpl.C:
4440 * text3.C: Fix the insertion and modification of button-style
4443 2003-11-13 André Pönitz <poenitz@gmx.net>
4445 * InsetList.[Ch]: remove deleteLyXText
4447 * paragraph.[Ch]: cache beginOfBody position
4452 * text3.C: remove superfluous update() calls
4456 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4458 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4459 * BufferView.C (fitLockedInsetCursor): remove
4460 * cursor.[Ch] (getDim): add
4461 * text.C (getRowNearY): add faster version
4462 * text3.C: remove some update calls
4464 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4476 * text3.C: The Character Style /XML short element patch.
4478 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4481 * factory.C: Small step to solving 'unable to insert some insets'
4484 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4486 * cursor.[Ch] (updatePos): new function for updating the y
4487 position of the tip inset
4488 * bufferview_funcs.C (put_selection_at):
4489 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4491 2003-11-11 André Pönitz <poenitz@gmx.net>
4493 * text.C: remove big comment on invalid Paragraph pointers as it is
4496 2003-11-11 André Pönitz <poenitz@gmx.net>
4498 * text_funcs.[Ch]: merge with ...
4506 * Makefile.am: remove text_funcs.[Ch]
4508 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4510 * cursor.C (getPos): return absolute cached y coord
4512 * BufferView_pimpl.C (fitCursor): new simplistic code
4513 (workAreaDispatch): add a fitCursor call
4515 2003-11-10 André Pönitz <poenitz@gmx.net>
4518 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4520 2003-11-10 André Pönitz <poenitz@gmx.net>
4522 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4523 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4524 indicate that the cursor needs to leave an inset
4526 * lyxtext.h: remove inset locking
4528 * cursor.[Ch]: re-implement functionality provided by inset locking
4531 * BufferView_pimpl.[Ch]:
4533 * bufferview_funcs.[Ch]:
4545 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4547 * PosIterator.[Ch]: replace the stack with a vector, add inset
4549 * iterators.[C]: adjust
4551 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4553 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4555 * paragraph_funcs.C (readParToken): put the correct id in the
4556 error item, not the id of the top paragraph
4558 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4560 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4561 * bufferview_funcs.C (put_selection_at): use the above
4563 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4565 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4567 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4569 * output_linuxdoc.h:
4570 * output_plaintext.h:
4572 * output_docbook.h: add #include statements
4574 2003-11-05 José Matos <jamatos@lyx.org>
4576 * output_docbook.[Ch]:
4577 * output_latex.[Ch]:
4578 * output_linuxdoc.[Ch]:
4579 * output_plaintext.[Ch]: New files for output formats.
4580 * output.[Ch]: New file for helper functions.
4583 * paragraph_funcs.[Ch]: output functions moved to new files.
4585 * outputparams.h: rename of latexrunparams.h
4593 * paragraph_funcs.[Ch]:
4594 * paragraph_pimpl.[Ch]:
4595 * tabular.[Ch]: rename ascii to plaintext
4596 and LatexRunParams to OutputParams.
4598 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4600 * iterators.[Ch] (text): require bv argument
4601 * undo.C (recordUndo):
4602 * lyxfunc.C (dispatch):
4603 * bufferview_funcs.C (put_selection_at): adjust
4605 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4607 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4609 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4611 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4614 2003-11-04 André Pönitz <poenitz@gmx.net>
4616 * cursor.[Ch]: restructure
4619 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4621 * iterators.[Ch] (asCursor): remove
4623 * lfuns.h: remove LFUN_INSET_EDIT
4629 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4631 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4633 * lyxfind.[Ch]: complete overhaul
4634 * BufferView_pimpl.C:
4636 * paragraph.[Ch] (insert): add
4638 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4642 * text.C: remove dead spellcheck code
4644 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * dispatchresult.h: add a val setter
4648 * cursor.C (dispatch): use a tempvar for data_[i]
4650 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4652 * PosIterator.[Ch]: compile fix
4654 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4656 * text.C (cursorPar): deactivate the cursor cache
4658 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4660 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4662 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * text3.C (dispatch): adjust for new DisptchResult semantics.
4666 * lyxfunc.C (dispatch): handle update when return from
4667 Cursor::dispatch, adjust for new DispatchResult semantics.
4669 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4670 DispatchResult(true) mean to not update. Add class functions for
4671 setting dispatched and update, as well as reading.
4673 * cursor.C (dispatch): don't handle update here
4675 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4677 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4678 * trans_mgr.C: adjust
4680 * paragraph_funcs.C (readParToken): exception safety
4682 * lyxvc.h: store the vcs pointer in a scoped_ptr
4685 * lyxsocket.C (serverCallback): exception safety
4687 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4689 * ispell.C (clone): make it return a auto_ptr
4691 * factory.C (createInset): exception safety
4692 (readInset): exception safety
4694 * bufferlist.C (newBuffer): exception safety
4696 * Thesaurus.C (Thesaurus): use initialization for aik_
4698 * MenuBackend.C (expandToc): exception safety.
4700 2003-11-03 André Pönitz <poenitz@gmx.net>
4704 * bufferview_funcs.C: remove getInsetFromId()
4707 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4713 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4715 * PosIterator.C (distance, advance): new
4716 * bufferview_funcs.[Ch] (put_selection_at): new
4717 * iterators.[Ch] (lockPath): new
4719 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4721 * iterators.[Ch] (asPosIterator): added
4722 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4723 * PosIterator.[Ch]: added
4725 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4729 * cursor.C (dispatch):
4730 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4732 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4733 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4734 contructor, add a class function dispatched. Remove operator>=
4736 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * debug.C: only use the default constructor for debugstream
4741 * main.C (main): include debug.h and setup the lyxerr streambuf
4744 2003-10-31 José Matos <jamatos@lyx.org>
4746 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4748 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4749 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4750 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4751 * paragraph_pimpl.C (simpleTeXSpecialC):
4752 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4753 add LatexRunParams argument.
4755 * exporter.C (Export): change call accordingly.
4757 * latexrunparams.h: add new member to take care of the other backends.
4758 2003-10-30 José Matos <jamatos@lyx.org>
4760 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4761 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4762 factorise code for paragraph output.
4764 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4767 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4769 * text3.C (dispatch):
4770 * lyxfunc.C (dispatch):
4771 * cursor.C (dispatch):
4772 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4774 * dispatchresult.h: make the dispatch_result_t ctor explicit
4776 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4779 * buffer.C: small refactoring of docbook stuff
4781 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4783 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4786 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4789 operator dispatch_result_t, and operators for == != and >=
4791 * cursor.C (dispatch): adjust for operator dispatch_result_t
4792 removal. comment out call to update
4794 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4796 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4804 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4807 * dispatchresult.h: new file, DispatchResult broken out of
4810 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4812 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4814 * text.C (rowBreakPoint): put a hack inside #if 0
4816 2003-10-28 André Pönitz <poenitz@gmx.net>
4820 * paragraph_funcs.C:
4823 * text2.C: general cleanup (lots of small stuff)
4825 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4827 * text2.C (cursorEnd): simple fix to the "end key goes to one
4828 before the end on last row" bug
4830 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4832 * text.C (backspace): fix the "zombie characters"
4834 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4836 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4838 2003-10-27 André Pönitz <poenitz@gmx.net>
4840 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4842 * factory.C: handle new InsetPagebreak, InsetLine
4844 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4845 and move handling into new InsetPagebreak, InsetLine
4847 * BufferView_pimpl.C:
4849 * ParagraphParameters.C:
4850 * ParameterStruct.h:
4855 * paragraph_funcs.C:
4856 * paragraph_pimpl.C:
4862 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4865 * lyxrow_funcs.[Ch]:
4871 * text3.C: remove lastPos uses in favour of Row::endpos
4873 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4875 * undo.C (performUndoOrRedo): fix two crashes by setting a
4876 cursor by hand and reordering some calls. Use bv->lockInset instead
4877 of inset->edit because the latter loses cursor information
4879 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4881 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4883 (rowBreakPoint): fix width. change point to point + 1.
4884 Add a missing check.
4886 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4889 * lyxfunc.C: fix (at least partly) the problems
4890 with the Nav menu and headers inside branch insets
4893 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4895 * paragraph.C (getChar): add strong asserts
4897 * lyxrow_funcs.C (lastPos): remove hideous hack
4899 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4900 (fill): adjust to that (avoid an infinite loop)
4902 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4904 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4906 2003-10-23 André Pönitz <poenitz@gmx.net>
4908 * RowList_fwd.h: change list<> to vector<> to gain speed
4909 after suggestion from Alfredo
4911 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4913 * lyxtext.h: move the bidi stuff from here...
4916 * Bidi.[Ch]: ... to here
4918 2003-10-23 André Pönitz <poenitz@gmx.net>
4921 * text.C (isLastRow, isFirstRow): new functions
4923 * paragraph.h: new width cache member
4925 * rowpainter.C: replace RowList::iterator with Row & where possible
4927 * lyxfunc.C: replace several view()->text with a single call
4929 * toc.C: fix 'unused' warning
4931 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4934 when woring with stream::pos_type
4935 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4937 2003-10-22 André Pönitz <poenitz@gmx.net>
4940 * text.C: use Row & instead of RowList::iterator
4942 * lyxrow.h: rename end() to endpos()
4948 2003-10-22 Angus Leeming <leeming@lyx.org>
4950 * buffer.[Ch] (fully_loaded): new member function, returning true
4951 only when the file has been loaded fully.
4952 Used to prevent the premature generation of previews and by the
4953 citation inset to prevent computation of the natbib-style label.
4955 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4956 templates are all set up.
4958 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4960 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4962 * text.C: fixed an "oops" in the "is a bit silly"
4965 2003-10-21 André Pönitz <poenitz@gmx.net>
4967 * FuncStatus.[Ch]: small stuff, whitespace
4969 * lyxfont.[Ch]: operator<<() for debug reasons
4973 * lyxtext.h: whitespace, spelling
4975 * paragraph.C: naming of variables
4978 * text2.C: small stuff
4981 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4983 * text.C: (1) finish off the inset display() work;
4984 (2) fix the "is a bit silly" bug (accessing char
4987 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4989 * text.C: re-introduce display() for insets, fixing the
4990 various bugs (stretch of line above, math inset
4993 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4995 * text.C (rightMargin): remove spurious semicolon
4997 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5000 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5002 * text3.C: fix one crash due to wrong cursor def
5004 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5006 * vc-backend.C (scanMaster): make the regex static
5008 * LaTeX.C (scanAuxFile): make the regexs static
5010 * text3.C (doInsertInset, dispatch, dispatch):
5011 * text2.C (cursorUp, cursorDown):
5012 * text.C (selectNextWordToSpellcheck):
5013 * BufferView_pimpl.C (dispatch):
5014 * lyxfunc.C (dispatch): localDispatch -> dispatch
5016 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5018 * lyxsocket.C: include <cerrno>
5020 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5022 * lyxfunc.C (dispatch): remove textcache stuff
5024 * bufferlist.C (release): remove textcache stuff
5027 * TextCache.C: delete file
5028 * TextCache.h: delete file
5030 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5032 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5033 delete of the bv_->text.
5034 (resizeCurrentBuffer): remove texcache stuff
5035 (workAreaResize): ditto
5037 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5039 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5042 2003-10-16 André Pönitz <poenitz@gmx.net>
5049 * text3.C: speed up by storing y positions per paragraph plus per-row
5050 offset instead of having a 'full' y position in the row.
5052 2003-10-15 André Pönitz <poenitz@gmx.net>
5056 * undo.[Ch]: make undo aware of inner insets
5058 2003-10-14 Angus Leeming <leeming@lyx.org>
5060 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5061 static member functions LyX::ref() and LyX::cref.
5062 (lastfiles): new accessor functions for the new lastfiles_ member var.
5063 (addLyXView, views_): add a new LyXView to the list of views_.
5064 (updateInset): loop over all LyXViews to call their own updateInset
5065 member function, returning a pointer to the Buffer owning the inset.
5067 * BufferView_pimpl.C (loadLyXFile):
5068 * MenuBackend.C (expandLastfiles):
5069 * bufferlist.C (MenuWrite, QuitLyX):
5070 lastfiles is no longer a global variable.
5071 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5073 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5074 static function. Access through LyX::cref().emergencyCleanup().
5076 2003-10-14 André Pönitz <poenitz@gmx.net>
5078 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5080 * undo.[Ch]: restoring part of 'undo in insets'
5083 * undo_funcs.[Ch]: merge with undo.[Ch]
5085 * tabular.C: small cleansing stuff
5087 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5089 * paragraph_funcs.C (readParToken): report unknown insets as error
5090 boxes. Use the outer paragraph as location (also for unknown
5093 * factory.C (readInset): do not abort on reading an unknown inset.
5094 Eat it and return 0.
5096 2003-10-13 Angus Leeming <leeming@lyx.org>
5098 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5100 * lyxrc.C: displayTranslator is now a function,
5101 declared in GraphicsTypes.h.
5103 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5105 * format.C: new placeholder $$a to pass the socket address.
5107 * bufferlist.[Ch]: new function getBufferFromTmp.
5109 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5110 files in the temporary dir.
5112 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5114 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5116 * Makefile.am: add lyxsocket.[Ch].
5118 * lyx_main.C (error_handler): handle SIGPIPE.
5120 2003-10-13 André Pönitz <poenitz@gmx.net>
5122 * BufferView_pimpl.C:
5127 * undo_funcs.[Ch]: use paroffset_type instead of
5128 ParagraphList::iterators to prevent multiple conversion
5129 (and get a more robust interface)
5131 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5133 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5135 * text3.C (dispatch): ditto
5137 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5139 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5140 move the onlyfile, use onlyfile instead of foundfile in a couple
5143 * DepTable.C (update): flush the error stream a bit more
5145 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * lyxserver.C (callback): adjust
5149 * lyxfunc.C (getStatus): add a missing brace in commented code
5150 (ensureBufferClean): reindent
5151 (dispatch): delete version taking a string
5153 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5155 * LaTeX.C (deplog): move found file handlig from here...
5156 (handleFoundFile): .. to new function here.
5157 (deplog): make sure to discover several files mentioned on the
5160 2003-10-10 André Pönitz <poenitz@gmx.net>
5167 * text3.C: fix some of the tabular crashes
5169 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5171 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5173 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5175 2003-10-09 André Pönitz <poenitz@gmx.net>
5177 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5180 * BufferView_pimpl.C:
5181 * bufferview_funcs.C:
5192 * undo_funcs.C: adjust
5194 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5196 * text2.C (incrementItemDepth): new function, use a backtracking
5197 algorithm to discover the correct item depth.
5198 (resetEnumCounterIfNeeded): new function, use a backtracking
5199 algorithm to discover if counter reset is needed.
5200 (setCounter): use them. Simplify a bit. Add different labels for
5201 different item depths for itemize.
5203 * paragraph.C (Paragraph): remove initialization of enumdepth
5206 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5207 enumerate and itemize. Change the type of itemdepth to signed char.
5209 2003-10-08 André Pönitz <poenitz@gmx.net>
5211 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5216 * tabular.[Ch]: fix crash after 'row-insert'
5218 2003-10-08 Angus Leeming <leeming@lyx.org>
5220 Fix doxygen warnings.
5222 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5223 Remove CutAndPaste:: prefix from header file declaration.
5225 * LColor.h (fill): remove LColor:: prefix from declaration.
5227 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5228 use lyx::depth_type rather than Paragraph::depth_type so that
5229 header file and .C file match.
5231 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5233 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5234 * aspell.C: \file aspell_local.C -> \file aspell.C
5235 * gettext.C: \file gettext.C -> \file src/gettext.C
5236 * gettext.h: \file gettext.h -> \file src/gettext.h
5237 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5238 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5239 * text.C: \file text.C -> \file src/text.C
5241 * toc.C: move comment so that doxygen is not confused.
5243 2003-10-07 Angus Leeming <leeming@lyx.org>
5245 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5247 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5250 * aspell_local.h: add forgotten std::string's.
5252 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5259 * text3.C: The Box patch. Fancybox support, minipage, parbox
5261 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5267 * ParagraphParameters.h:
5277 * lyxtextclasslist.h:
5280 * paragraph_pimpl.C:
5281 * textcursor.h: add <string> and other small fixes to make Lars'
5282 std::string patch compile with STLport.
5284 2003-10-06 Angus Leeming <leeming@lyx.org>
5286 * LColor.h: Add missing #include <string>.
5288 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5290 * All most all file in all subdirs: Make <string> be the prefered
5291 way of getting to std::string, add using declarations.
5293 2003-10-06 André Pönitz <poenitz@gmx.net>
5295 * metricsinfo.C: initialize LyXFont before changing attribute.
5296 (fixes the 'math in \emph is upright' bug)
5298 2003-10-06 André Pönitz <poenitz@gmx.net>
5300 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5302 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5305 * paragraph_pimpl.C: Small fixes to build using STLport
5307 2003-10-02 André Pönitz <poenitz@gmx.net>
5310 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5312 2003-10-01 André Pönitz <poenitz@gmx.net>
5314 * factory.C: assert early
5316 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * lyx_main.C: remove the global debug object
5320 * debug.h: adjust for new debugstream
5322 * debug.C: adjust for new debugstream and keep the global debug
5325 2003-09-22 Angus Leeming <leeming@lyx.org>
5327 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5328 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5329 an incomplete class LyXFont.
5331 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5333 * factory.C: bug fix in branches
5335 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5337 * lyxfunc.C (processKeySym): adjust
5339 (dispatch): change arg name from ev to func, adjust
5340 (sendDispatchMessage): ditto
5342 * lyx_main.C (defaultKeyBindings): adjust keybindings
5343 (deadKeyBindings): ditto
5345 * kbsequence.C (addkey): return a FuncRequest
5347 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5349 * kbmap.C (bind): take a FuncRequest as arg, adjust
5352 (defkey): change to take a FuncRequest as arg, adjust
5353 (findbinding): take a FuncRequest as arg, adjust.
5355 * funcrequest.h (operator=): added
5357 * funcrequest.C (FuncRequest): default kb_action changed from
5358 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5360 * buffer.C (dispatch): simplify
5361 (dispatch): adjust to take a FuncRequest as arg, adjust
5363 * boost.C (assertion_failed): change assertion message slightly
5365 * ToolbarBackend.C (read): simplify
5367 * MenuBackend.C (binding): adjust call to findbinding, add a
5368 message if no binding is found.
5370 (expandToc): correct by adding a empty FuncRequest
5372 * LyXAction.C: include <boost/assert.hpp>
5373 (isPseudoAction): delete function
5374 (LookupFunc): change name to...
5375 (lookupFunc): this. change return type to FuncRequest.
5376 (getActionName): take kb_action as arg, simplify
5377 (funcHasFlag): add an assert, simplify.
5379 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5381 * toc.C (action): return a FuncRequest, simplify
5383 * lyxfunc.C (processKeySym): adjust
5384 (getStatus): delete version that takes an int.
5386 (dispatch): delete version that takes action as int
5388 (sendDispatchMessage): simplify and adjust
5390 * funcrequest.C (getArg): take unsigned int as arg
5392 * ToolbarBackend.C (read): adjust
5393 (add): delete version that takes func as a string.
5394 (getIton): take a FuncRequest as arg
5396 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5399 * MenuBackend.C (MenuItem): add a new construct that only takes a
5400 Kind, simplify the constructor use for submenus.
5402 (expandLastfiles): adjust
5403 (expandDocuments): adjust
5404 (expandFormats): adjust
5405 (expandFloatListInsert): adjust
5406 (expandFloatInsert): adjust
5407 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5409 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5410 Remove class variables lyx_pseudo_map and lyx_arg_map
5412 * LyXAction.C (searchActionArg): delete function
5413 (getPseudoAction): delete function
5414 (retrieveActionArg): delete function
5415 (LookupFunc): make it return kb_action, simplify.
5416 (getActionName): simplify
5418 * factory.C (createInset): fix new bug
5420 2003-09-19 Angus Leeming <leeming@lyx.org>
5422 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5423 masterFilename_ parameter in the include inset.
5425 * factory.C (createInset): changes due to the changes to InsetInclude.
5427 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5429 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5431 2003-09-18 Angus Leeming <leeming@lyx.org>
5434 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5435 Inset::fillWithBibKeys.
5436 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5438 2003-09-18 Angus Leeming <leeming@lyx.org>
5440 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5442 (ctor): pass and store a 'Buffer const &'
5443 (buffer): new member function.
5445 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5446 '*this' to the LaTeXFeatures ctor.
5448 2003-09-18 Angus Leeming <leeming@lyx.org>
5454 * text.C: rename EnumLColor as LColor_color.
5456 2003-09-18 Angus Leeming <leeming@lyx.org>
5458 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5459 remove #include "insets/insetbase.h" from cursor.h.
5461 2003-09-18 Angus Leeming <leeming@lyx.org>
5463 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5464 InsetOld_code to remove #include "inset.h".
5466 * iterators.C: add #include "insets/inset.h"
5468 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5470 * BufferView.C: remove more locking stuff that apparently doesn't
5471 do anything sensible.
5473 2003-09-16 André Pönitz <poenitz@gmx.net>
5476 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5479 2003-09-16 Angus Leeming <leeming@lyx.org>
5481 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5483 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5486 * paragraph.h: remove #include "lyxfont.h". Forward declare
5489 2003-09-16 Angus Leeming <leeming@lyx.org>
5491 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5492 of support/textutils.h.
5493 (isWord): move the contents of support/textutils.h's IsWordChar here.
5499 * text2.C: add #include "paragraph.h".
5502 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5504 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * LaTeX.C: use namespace alias for lyx::support::os
5512 2003-09-16 Angus Leeming <leeming@lyx.org>
5515 * bufferview_funcs.C:
5518 * paragraph_pimpl.C:
5520 * text.C: add #include "LColor.h".
5522 2003-09-16 Angus Leeming <leeming@lyx.org>
5524 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5525 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5527 Store the FontBits::color variable as an int rather than as an
5528 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5531 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5532 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5533 string calls together.
5535 * lyxrc.C: add #include "LColor.h".
5537 2003-09-15 Angus Leeming <leeming@lyx.org>
5539 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5542 2003-09-15 Angus Leeming <leeming@lyx.org>
5544 * LColor.h: add an EnumLColor wrapper for LColor::color.
5546 * lyxfont.[Ch] (color, setColor, realColor):
5547 * lyxtext.h, text.C (backgroundColor):
5548 pass EnumLColor args to/from the functions, rather than LColor::color
5552 * lyxtext.h: forward declare EnumLColor.
5554 * lyx_main.C: add #include "LColor.h".
5556 2003-09-15 Angus Leeming <leeming@lyx.org>
5558 * .cvsignore: add lyx-gtk.
5560 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * ParagraphParameters.C
5569 * bufferview_funcs.C
5579 * vc-backend.C: remove usage of STRCONV
5581 2003-09-15 Angus Leeming <leeming@lyx.org>
5583 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5584 explicitly define the color passed to the painter.
5586 2003-09-15 Angus Leeming <leeming@lyx.org>
5588 * bufferparams.C (BufferParams): reorder member initializers to avoid
5591 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5593 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5594 * text.C (updateRowPositions): remove an unusual nop
5596 2003-09-12 André Pönitz <poenitz@gmx.net>
5598 * BufferView_pimpl.C:
5607 * Counters.[Ch]: finish the 'automatic counters' job
5609 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5611 * aspell.C: include <boost/assert.cpp> (compile fix)
5613 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5615 * boost.C (assertion_failed): use lyx::support::abort instead of
5618 2003-09-10 Angus Leeming <leeming@lyx.org>
5620 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5621 with their _fwd progeny.
5623 2003-09-09 Angus Leeming <leeming@lyx.org>
5625 134 files throughtout the source tree: replace 'using namespace abc;'
5626 directives with the appropriate 'using abc::xyz;' declarations.
5628 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5630 * boost.C (emergencyCleanup): moved here from LAssert.c
5631 (assertion_failed): new function, called by BOOST_ASSERT
5633 * several files: change Assert to BOOST_ASSERT
5635 2003-09-09 Angus Leeming <leeming@lyx.org>
5637 * buffer.[Ch]: Add an Impl class and move Buffer's member
5638 variables into it. As a result move several header files out of
5641 Add header files to lots of .C files all over the tree as a result.
5643 2003-09-09 Angus Leeming <leeming@lyx.org>
5645 * buffer.[Ch]: make Buffer's member variables private. Add
5648 Lots of changes all over the tree as a result.
5650 2003-09-08 Angus Leeming <leeming@lyx.org>
5652 * graph.C: #include <config.h>.
5654 2003-09-08 Angus Leeming <leeming@lyx.org>
5658 * BufferView_pimpl.C:
5687 * toc.C: remove redundant using directives.
5689 2003-09-07 Angus Leeming <leeming@lyx.org>
5691 * LaTeXFeatures.h: remove #include "support/types.h".
5692 * ToolbarBackend.h: remove #include <algorithm>.
5693 * changes.h: remove #include <ctime>.
5694 * debug.h: remove #include <iosfwd>.
5695 * graph.h: remove #include "support/std_string.h".
5696 * lyx_main.h: remove #include <csignal>.
5697 * lyxlex_pimpl.h: remove #include <fstream>.
5698 * sgml.h: remove #include <algorithm>, <utility>.
5699 * toc.h: remove #include "support/std_ostream.h".
5700 Add #include <iosfwd>.
5702 2003-09-07 Angus Leeming <leeming@lyx.org>
5704 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5706 * converter.h: forward declare LatexRunParams.
5707 * encoding.h: remove #include "lyxrc.h".
5708 * lyxtext.h: remove #include "LColor.h".
5709 * lyxtextclass.h: remove #include "support/types.h".
5710 * trans.h: remove #include "tex-accent.h".
5711 * trans_mgr.h: remove #include "tex-accent.h".
5712 * insets/inset.h: remove #include "support/types.h", <vector>.
5713 * insets/insetcollapsable.h: remove #include "LColor.h".
5714 * insets/insetinclude.h: remove #include "dimension.h".
5715 * insets/insetlatexaccent.h: remove #include "dimension.h".
5716 * insets/insetoptarg.h:: remove #include "insettext.h".
5717 * insets/insettext.h: remove #include "dimension.h",
5718 <boost/shared_ptr.hpp>
5720 * insets/renderers.h: add #include "dimension.h".
5721 * insets/updatableinset.h: add #include "support/types.h".
5723 * many .C files: Associated changes.
5725 2003-09-06 Angus Leeming <leeming@lyx.org>
5727 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5728 one, inside testInvariant.
5730 * PrinterParams.C: new file.
5731 * PrinterParams.[Ch]: move the function bodies out of line.
5733 2003-09-06 Angus Leeming <leeming@lyx.org>
5735 * ParagraphParameters.h: forward declare ParameterStruct rather than
5736 including its header file.
5737 (depth): moved out-of-line.
5739 2003-09-06 Angus Leeming <leeming@lyx.org>
5741 * BufferView_pimpl.h:
5744 * lyxfunc.h: forward declare LyXKeySym rather than
5745 #include "frontends/LyXKeySym.h".
5747 * BufferView_pimpl.C:
5750 * lyxfunc.C: associated changes.
5752 2003-09-06 Angus Leeming <leeming@lyx.org>
5754 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5755 As a result, can remove the #include "insets/inset.h" from BufferView.h
5757 2003-09-06 Angus Leeming <leeming@lyx.org>
5759 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5760 As a result, can remove the #include "insets/inset.h" from BufferView.h
5762 2003-09-06 Angus Leeming <leeming@lyx.org>
5768 * bufferview_funcs.C:
5769 * BufferView_pimpl.C:
5774 * ParagraphParameters.C:
5779 * frontends/controllers/ControlDocument.C:
5780 * insets/insetcaption.C: rearrange the #includes into some sort of
5783 * buffer.h: remove #includes ErrorList.h, undo.h
5785 2003-09-06 Angus Leeming <leeming@lyx.org>
5787 * support/types.h: add a 'depth_type' typedef, used to store the
5788 nesting depth of a paragraph.
5791 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5792 defining explicitly.
5795 * paragraph_funcs.h:
5796 * ParagraphParameters.h:
5797 * sgml.h: use lyx::depth_type rather than Paragraph or
5798 ParameterStruct's depth_type.
5801 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5804 * BufferView_pimpl.C:
5806 * ParagraphParameters.C:
5809 * bufferview_funcs.C:
5816 * frontends/LyXView.C:
5817 * frontends/controllers/ControlDocument.C:
5818 * frontends/controllers/ControlErrorList.C:
5819 * insets/insetbibitem.C:
5820 * insets/insetbranch.C:
5821 * insets/insetcaption.C:
5822 * insets/insetcollapsable.C:
5823 * insets/insetenv.C:
5824 * insets/insetert.C:
5825 * insets/insetfloat.C:
5826 * insets/insetfoot.C:
5827 * insets/insetfootlike.C:
5828 * insets/insetnewline.C:
5829 * insets/insetquotes.C:
5830 * insets/insettabular.C:
5831 * insets/insettext.C:
5832 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5834 * frontends/controllers/ControlChanges.C: #include "changes.h".
5836 2003-09-06 Angus Leeming <leeming@lyx.org>
5838 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5839 than #including paragraph.h.
5842 * RowList.h: deleted. Superfluous.
5852 * insets/insettext.h: use ParagraphList_fwd.h rather than
5855 * paragraph.h: don't forward declare ParagraphList.
5858 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5859 rather than ParagraphList.h. paragraph.h is still needed for the
5860 Paragraph::depth_type parameters.
5862 * textcursor.h: enable it to compile stand-alone in light of the
5865 * bufferview_funcs.C:
5877 * frontends/controllers/ControlParagraph.C:
5878 * frontends/controllers/ControlTabular.C:
5879 * insets/insetmarginal.C:
5880 * insets/insetminipage.C:
5881 * insets/insetnote.C:
5882 * insets/insetoptarg.C: add header files needed to compile again.
5884 2003-09-06 Angus Leeming <leeming@lyx.org>
5886 * RowList_fwd.h: new file, forward-declaring Row rather than
5887 #including lyxrow.h.
5892 * insets/insettext.h: use it instead of RowList.h
5894 * bufferview_funcs.C:
5901 * text3.C: #include "RowList.h".
5903 2003-09-05 Angus Leeming <leeming@lyx.org>
5905 * factory.C (createInset):
5906 * vspace.C (c-tor): replace sscanf call with an istringstream.
5907 * ispell.C: re-add missing HP/UX headers.
5908 * lyxserver.C: re-add missing os2 headers.
5910 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5919 * text3.C: re-add missing system headers, needed for 2.95.2.
5921 2003-09-05 Angus Leeming <leeming@lyx.org>
5923 Changes most place everywhere due to the removal of using directives
5924 from support/std_sstream.h.
5926 2003-09-05 Angus Leeming <leeming@lyx.org>
5928 Replace LString.h with support/std_string.h,
5929 Lsstream.h with support/std_sstream.h,
5930 support/LIstream.h with support/std_istream.h,
5931 support/LOstream.h with support/std_ostream.h.
5933 Changes resulting throughout the tree.
5935 2003-09-05 Angus Leeming <leeming@lyx.org>
5937 * sgml.h: ensure that the header file can be compiled stand-alone.
5938 * *.C: strip out redundant #includes. (320 in total.)
5940 2003-09-04 Angus Leeming <leeming@lyx.org>
5942 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5943 here (from getPackages).
5945 * debug.[Ch]: add a new EXTERNAL tag.
5947 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5949 * text2.C (cursorEnd): simplify
5951 (getColumnNearX): adjust
5953 * text.C (computeBidiTables): adjust
5956 * rowpainter.C (paintChars): adjust
5957 (paintSelection): adjust
5958 (paintChangeBar): adjust
5961 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5963 (numberOfSeparators): adjust
5965 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5971 * text3.C: Restricts the mouse click functionality
5972 of insets like bibtex, include, toc and floatlist to the visible
5973 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5974 up the dialogs. Cursor has to be in front of the inset (i.e.
5975 start of row) for this to function.
5977 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5979 * bufferview_funcs.C (currentState): output row information
5981 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5983 * bufferview_funcs.C (currentState): output paragraph position
5985 2003-09-04 Angus Leeming <leeming@lyx.org>
5987 * FloatList.h: move out #include "Floating.h".
5988 * LaTeX.h: move out #include "DepTable.h".
5989 * LyXAction.h: move out #include "funcrequest.h".
5990 * buffer.h: move out #include "author.h", "iterators.h".
5991 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5992 * lyx_main.h: move out #include "errorlist.h".
5993 * lyxfunc.h: move out #include "FuncStatus.h".
5994 * lyxtext: move out #include "lyxcursor.h".
5995 * paragraph_pimpl.h: move out #include "counters.h".
5997 2003-09-03 Angus Leeming <leeming@lyx.org>
5999 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6000 preamble_snippets list, enabling us to add snippets to the preamble
6001 only if the snippet was not there already.
6003 2003-09-04 Angus Leeming <leeming@lyx.org>
6005 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6007 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6009 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6012 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6014 * BranchList.C: point fix, earlier forgotten
6016 2003-09-02 Angus Leeming <leeming@lyx.org>
6018 * box.C (contains): renamed from 'contained' after a fantastic
6021 2003-09-02 John Levon <levon@movementarian.org>
6027 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6029 2003-09-02 John Levon <levon@movementarian.org>
6031 * text2.C: simplification of cursorEnd(), including partial
6034 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6036 * buffer.C (readFile): add a space
6038 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6040 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6042 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6044 * buffer.C (readFile): new function, take a filename and a
6045 ParagraphList::iterator
6047 (readFile): adjust, make it private. don't use setStream, make
6048 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6049 always contain the filename.
6051 * BufferView.C (insertLyXFile): simplify and make it work for
6054 2003-08-30 John Levon <levon@movementarian.org>
6056 * Makefile.am: fix dist (from Kayvan)
6058 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6060 * most files: change to use const Buffer refs
6062 2003-08-27 André Pönitz <poenitz@gmx.net>
6064 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6065 on top of ownerPar().
6067 2003-08-27 John Levon <levon@movementarian.org>
6069 * funcrequest.C: properly initialise POD members
6071 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6073 * lyxtext.h (top_y): move top_y from here
6078 * BufferView_pimpl.[Ch]: to here
6079 * frontends/screen.C:
6080 * insets/insettabular.C:
6081 * insets/insettext.C: adjust
6082 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6084 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6087 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6089 2003-08-26 André Pönitz <poenitz@gmx.net>
6091 * paragraph_func.[Ch] (outerPar): new function
6094 * paragraph_funcs.C:
6095 * paragraph_funcs.h:
6096 * paragraph_pimpl.C:
6097 * text2.C: remove Inset::par_owner
6099 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6104 * text2.C: eliminates the needFullRow/display() stuff
6105 altogether, putting the logic in metrics/draw in the insets.
6107 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6109 * text2.C (redoParagraphInternal, redoParagraphs):
6110 * text.C (redoParagraph): add a call to updateRowPositions at the
6111 end of each 'metrics-like' call. Remove all others.
6112 (getRow): remove the 'y-computing' version.
6113 (getRowNearY): do not compute nor return the real y. Solve the
6114 'y < 0' problem and simplify.
6116 2003-08-22 Angus Leeming <leeming@lyx.org>
6118 * *.[Ch]: clean-up of licence and author blurbs.
6119 Also move config.h out of a few .h files and into a few .C files.
6121 2003-08-22 André Pönitz <poenitz@gmx.net>
6123 * lyxrow.[Ch]: add x_ and *fill_ members
6128 * text2.C: adjust/remove prepareToPrint() calls
6130 2003-08-22 André Pönitz <poenitz@gmx.net>
6132 * lyxrow.[Ch]: add end_ member
6134 * lyxrow_funcs.C: use LyXRow::end_
6136 * lyxtext.h (singleWidth): add LyXFont parameter
6139 * text2.C: adjust LyXText::singleWidth() calls
6141 * text.C (redoParagraph): simplify row breaking logic
6144 2003-08-19 André Pönitz <poenitz@gmx.net>
6146 * funcrequest.C: initialize button_ member
6149 * rowpainter.[Ch]: interface consolidation
6151 2003-08-18 André Pönitz <poenitz@gmx.net>
6154 * BufferView_pimpl.C:
6156 * paragraph_funcs.C:
6158 * text3.C: remove LyXScreen::draw() and fitCursor calls
6160 * BranchList.h: remove spurious semicolons
6162 * MenuBackend.C: fix branchlist related crash
6164 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6172 * bufferparams.[Ch]:
6176 * text3.C: implements the 'branch inset'
6177 idea. This allows the output of various versions of a document
6178 from a single source version, selectively outputing or suppressing
6179 output of parts of the text.
6180 This implementation contains a 'branch list editor' in a separate
6181 tab of the document settings dialog. Branches are user definable
6182 and have a "display colour" to distinguish them on-screen.
6184 ColorHandler was somewhat cleaned up.
6185 (1) make possible a dynamically growing LColor list by allowing
6186 the graphic context cache to grow along (vector);
6187 (2) eliminate an IMHO unnecessary step in colour allocation.
6189 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6191 * BufferView_pimpl.C: compile fix
6193 2003-08-15 André Pönitz <poenitz@gmx.net>
6195 * rowpainter.C: remove extra metrics calls
6197 * lyxtext.h: merge the two constructors into a single one,
6198 pass reference to owner's par list
6200 * BufferView_pimpl.C:
6204 2003-08-15 André Pönitz <poenitz@gmx.net>
6206 * lyxrow_funcs.[Ch]:
6209 * paragraph_funcs.C:
6214 * text_funcs.C: split LyXText::rowlist_ into individual
6215 Paragraph::rows_ chunks
6218 * BufferView_pimpl.[Ch]:
6221 * text3.C: remove toggleSelection()
6223 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6225 * bufferlist.C: beautify two alerts (shorter text of buttons)
6226 * buffer.C: Remove redundant ' ' from message
6228 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6229 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6230 rename VALIGN_CENTER to VALIGN_MIDDLE
6232 2003-08-11 André Pönitz <poenitz@gmx.net>
6234 * lyxtext.h (getPar):
6235 * text.C: new function
6237 2003-08-11 André Pönitz <poenitz@gmx.net>
6240 * tracer.[Ch]: remove unneeded files
6242 * InsetList.[Ch]: remove resizeInsetsLyXText()
6247 * text3.C: merge insertParagraphs() and appendParagraph()
6248 remove breakAgain(), update()
6250 * BufferView_pimpl.[Ch]:
6251 * bufferview_funcs.[Ch]:
6255 * tabular.C: adjust after text & InsetList changes.
6257 2003-08-08 André Pönitz <poenitz@gmx.net>
6259 * text.C (insertChar, backspace): replace rowlist fiddling
6260 with rebreak of full par
6263 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6264 checkParagraph, updateInset): removed
6266 2003-08-07 André Pönitz <poenitz@gmx.net>
6269 * text3.C: merge some LFUN handlers, remove dead code
6271 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6273 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6275 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6277 * text2.C (DEPM): fix part of bug 1255 and 1256
6279 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6281 * BufferView_pimpl.C (workAreaDispatch): change to use
6282 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6283 that are no mouse related.
6285 2003-08-05 André Pönitz <poenitz@gmx.net>
6288 * BufferView_pimpl.[Ch]:
6289 * bufferview_funcs.C:
6291 * text3.C: rip out "deep update"
6293 * textcursor.[Ch] (last_sel_cursor): remove unused member
6295 2003-08-04 André Pönitz <poenitz@gmx.net>
6298 * BufferView_pimpl.[Ch]:
6299 * ParagraphParameters.C:
6300 * bufferview_funcs.C:
6306 * text3.C: replace "complicated" BufferView::update(...) calls with
6309 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6311 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6313 * Makefile.am (lyx_SOURCES): add paper.h
6315 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6317 * Makefile.am: move things around so that both lyx-qt and
6318 lyx-xforms can be built (according to --with-frontend). Then lyx
6319 is a symbolic link to lyx-[firstfrontend]
6321 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6323 * Always use std::endl with lyxerr
6325 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6327 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6329 2003-08-01 André Pönitz <poenitz@gmx.net>
6332 * BufferView_pimpl.[Ch]:
6334 * text3.C: merge BufferView::repaint() and BufferView::update()
6336 2003-08-01 José Matos <jamatos@lyx.org>
6338 * buffer.[Ch]: file_format is no longer a buffer data element.
6340 2003-08-01 André Pönitz <poenitz@gmx.net>
6345 * text2.C: make redoParagraph more independent of current cursor
6347 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6349 * text2.C: remove unneeded members
6351 2003-07-30 André Pönitz <poenitz@gmx.net>
6353 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6355 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6356 create a single function...
6358 * paragraph_funcs.C (moveItem): ... here.
6361 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6363 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6365 * LColor.[Ch]: Add comment and greyedout logical colors.
6367 2003-07-30 André Pönitz <poenitz@gmx.net>
6369 * tabular.C: don't use Assert too heavily. This crashes where it
6372 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6374 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6375 is disabled (bug 1232)
6377 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6379 * factory.C: limited 'arg' scope
6381 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6383 * factory.C: fixed Note submenu issues
6385 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6387 * factory.C: submenu for Note/Comment/Greyedout
6389 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6392 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6394 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6397 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6398 greyedout. Patch provided by Jürgen Spitzmüller.
6400 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6402 * kbmap.C (read): fix error message when reading bind files
6404 2003-07-29 Angus Leeming <leeming@lyx.org>
6406 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6407 certainly does not do what it purports to do. I am doing it, and
6408 us, a favour by killing it.
6410 2003-07-28 José Matos <jamatos@lyx.org>
6412 * buffer.C (readBody, do_writeFile):
6413 * paragraph.C(readParagraph): \end_document replaces \the_end.
6415 2003-07-29 André Pönitz <poenitz@gmx.net>
6418 * BufferView_pimpl.[Ch]:
6422 * textcursor.[Ch]: remove toggleToggle & Co
6424 2003-07-28 José Matos <jamatos@fep.up.pt>
6426 * buffer.C (readParagraph):
6427 * params_func (readParToken, readParagraph):
6428 * paragraph.C (write): \layout -> \begin_layout.
6430 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6432 * lyxlex_pimpl.C (setFile): clean up slightly.
6434 * bufferparams.h: add compressed var
6436 * buffer_funcs.C (readFile): adjust for LyXLex change
6437 (newFile): ditto + simplify
6439 * buffer.C (writeFile): handle writing of compressed files
6441 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6442 Check if the file is compressed and set a bufferparm if so.
6444 * Makefile.am (lyx_LDADD): remove explicit -lz
6446 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6448 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6449 makeDocBookFile): put the real LyX version in the first line of
6453 * version.C.in: remove lyx_docversion
6455 * tabular.C (write_attribute): add a template-based version to
6456 write enums properly
6458 2003-07-28 André Pönitz <poenitz@gmx.net>
6463 * text3.C: use doubles again for x-coordinates. They are needed.
6465 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6467 * messages.C (getLocaleDir): use lyx_localedir()
6469 * lyxlex_pimpl.C (setFile): compress stuff
6471 * buffer.C (writeFile): add some compression stuff
6472 (do_writeFile): new func, dont call expliti close... will this
6475 * Makefile.am (lyx_LDADD): add -lz
6477 2003-07-28 José Matos <jamatos@fep.up.pt>
6479 * buffer.C: increment file format.
6480 * paragraph_funcs (readParagraph, readParToken):
6481 * paragraph.C (readParagraph): add \end_layout.
6483 2003-07-27 Angus Leeming <leeming@lyx.org>
6485 * Makefile.am: remove special casing for configure-time setting of
6486 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6488 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6489 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6491 2003-07-26 André Pönitz <poenitz@gmx.net>
6493 * paragraph_func.[Ch]:
6494 * paragraph.C (realizeFont): inline it whereever it is used
6499 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6502 2003-07-26 André Pönitz <poenitz@gmx.net>
6506 * text2.C: get rid of LyXText::need_break_row
6508 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6510 * toc.[Ch]: put namespace toc inside namespace lyx
6512 * MenuBackend.C (expandToc2): adjust for lyx::toc
6515 * lyxfunc.C (dispatch): adjust for lyx::find
6517 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6518 lyx::find instead. Reorganize a bit.
6519 (LyXReplace): rename to replace
6520 (LyXFind): rename to find
6522 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6525 2003-07-26 André Pönitz <poenitz@gmx.net>
6527 * text.C (setHeightOfRow): restrict scope of temporary variable
6529 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6530 code (never has been used?)
6532 2003-07-27 Asger Alstrup <alstrup@local>
6534 * text.C (fill): Optimise algorithm to exploit that we can reuse
6535 the LyXFont for many characters.
6536 (setHeightOfRow): Same thing.
6537 (rowBreakPoint): Same thing.
6539 2003-07-26 Asger Alstrup <alstrup@local>
6541 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6543 * text.C (singleWidth): Spurious font copying in hot-spot
6544 singleWidth avoided. Reorder tests for arabic for efficiency.
6546 * text.C (fill): handle empty paragraphs better.
6548 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6551 * encoding.h: add includes
6553 * lyxrc.C: remove reading of bind files
6555 * lyx_main.C (init): setup bindings and menus only if we have a
6558 * kbmap.C (read): new method. Do the actual reading of bind
6561 * converter.C (dvipdfm_options):
6564 (output): adapt PAPER_* enums.
6566 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6568 * bufferparams.h: remove paper-related enums from there
6570 * paper.h: New file. A trivial header file to hold paper-related
6571 enums. It should later expand to contain many paper-related
6574 * lyxrc.C: declare extern displayTranslator
6576 2003-07-27 José Matos <jamatos@fep.up.pt>
6578 * tabular.[Ch] (linuxdoc): add support for tables and figures
6581 2003-07-27 José Matos <jamatos@fep.up.pt>
6583 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6584 consistency in both functions.
6585 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6587 2003-07-26 Asger Alstrup <alstrup@local>
6589 * rowpainter.C (paintRows): Change algorithm to work directly on
6590 the insets rather than asking every character in the document
6591 whether its an inset.
6593 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6595 * buffer.C (openFileWrite): factorize some code
6597 2003-07-26 Angus Leeming <leeming@lyx.org>
6600 * lyx_main.[Ch]: replace occurances of system_tempdir with
6603 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6605 * rename Inset to InsetOld
6607 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6609 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6610 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6611 which I think is a bit clearer. EDIT is gone, since it was
6612 premature optimisation, and broken for mathed anyway.
6613 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6614 with cursor positioning in insets as well (math insets still do not
6615 work, but that's a different story anyway.) It mysteriously
6616 crashes sometimes with undo in the first paragraph, but I'm fairly
6617 confident that this is a compiler bug.
6619 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6621 * paragraph.C (Paragraph): adjust for new clone return type
6623 (copyIntoMinibuffer): ditto
6625 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6627 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6628 by not having a special case, and always doing a full rebreak of
6629 the document after undo.
6631 2003-07-23 Angus Leeming <leeming@lyx.org>
6633 * factory.C (createInset): InsetExternal::setParams now takes a
6636 2003-07-23 Angus Leeming <leeming@lyx.org>
6638 * factory.C (createInset): changed interface to the external and
6639 graphics mailers' string2params functions.
6641 2003-07-23 Angus Leeming <leeming@lyx.org>
6643 * factory.C (createInset): pass a
6644 Buffer const * parameter to InsetExternalMailer's string2params.
6646 2003-07-22 John Levon <levon@movementarian.org>
6648 * Thesaurus.h: include the right aiksaurus header
6650 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6652 * MenuBackend.C (expand): check menu shortcuts unconditionally
6654 2003-07-21 Angus Leeming <leeming@lyx.org>
6656 * factory.C (createInset): pass a
6657 buffer_path parameter to InsetGraphicsMailer's string2params.
6659 2003-07-21 Angus Leeming <leeming@lyx.org>
6661 * BufferView_pimpl.C (buffer):
6664 * lyxfunc.C (dispatch):
6665 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6666 rather than the grfx shortcut.
6668 2003-07-21 André Pönitz <poenitz@gmx.net>
6670 * rowpainter.C: remove unused variables
6673 * tabular_funcs.h: move to tabular.C
6674 * Makefile.am: adjust
6676 * tabular.[Ch]: basic optical cleaning
6678 * author.h: pass references, not values
6680 2003-07-18 André Pönitz <poenitz@gmx.net>
6688 * text3.C: two-phase drawing for InsetText and InsetTabular
6689 some float -> int changes.
6691 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6693 * lyx_main.C: fix the fix
6695 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6697 * lyx_main.C: fix a crash in batch mode if no files specified
6700 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6702 * format.[Ch] (papersize): moved to BufferParams
6703 * converter.[Ch] (dvips_options): moved to BufferParams
6704 (dvipdfm_options): moved to anon namespace
6705 * bufferparams.[Ch]: added above functions.
6707 2003-07-17 André Pönitz <poenitz@gmx.net>
6711 * text2.C: don't call inset->update() anymore
6713 * metricsinfo.[Ch]: add convenience constructor
6715 2003-07-16 André Pönitz <poenitz@gmx.net>
6720 * text2.C: replace the LyXCursor::irow_ member with
6721 on-demand computation of the value
6723 2003-07-16 John Levon <levon@movementarian.org>
6725 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6727 2003-07-15 André Pönitz <poenitz@gmx.net>
6730 * text2.C: remove no more needed refresh_row
6732 2003-07-15 André Pönitz <poenitz@gmx.net>
6737 * text3.C: refresh_status tristate -> need_update bool
6739 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6741 * lyxtext.h (init): remove reinit argument (act as if always true)
6742 * text2.C: adjust to that
6744 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6746 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6747 * text3.C: use it to delete selections in some cases
6748 (bugs 441, 673, 702, 954).
6750 2003-07-14 André Pönitz <poenitz@gmx.net>
6752 * rowpainter.[Ch]: reduce interface
6754 2003-07-14 André Pönitz <poenitz@gmx.net>
6756 * BufferView_pimpl.C:
6757 * text2.C: adjust after removing unused BufferView * argument
6759 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6761 * text2.C (init): fix a crash fired on resize
6763 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6765 * buffer.[Ch]: added new closing signal
6766 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6767 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6768 BufferView::Pimpl via the closing the signal
6770 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6772 * buffer.[Ch]: take out all bv-related from buffer
6774 * BufferView_pimpl.[Ch]: connect to new signals
6775 * CutAndPaste.C: removed useless asserts
6776 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6779 * lyxfunc.C: moved view-related funciontality from vc here
6780 * paragraph.C: removed outdated comments
6783 2003-07-10 André Pönitz <poenitz@gmx.net>
6785 * BufferView_pimpl.C:
6789 * text2.C: remove InsetText::InnerCache, clean up consequences
6791 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6793 * ispell.C: fix two typos in error messages
6795 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6797 * Extend Note inset to other forms of annotation like Comment
6798 and Greyedout. Right button click gives dialog.
6800 Files modified or added (+):
6804 * ControlNote.[Ch] +
6806 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6807 frontends/controllers
6811 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6813 * aspell.C: add missing namespace lyx::support
6815 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6817 * BufferView.[Ch] (newFile): Add
6818 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6819 * LaTeX.[Ch] (message): added this signal and use it
6820 * buffer.[Ch] (busy, message): added these signals and use them
6821 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6825 * importer.C: use buffer signals instead of direct bv calling
6826 * lyx_cb.[Ch] (ShowMessage): removed
6829 * paragraph_funcs.C:
6830 * text2.C: use buffer signals
6832 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6834 * introduce namespace lyx::graphics
6836 2003-07-02 André Pönitz <poenitz@gmx.net>
6838 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6840 2003-07-01 André Pönitz <poenitz@gmx.net>
6847 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6848 text*.C to text_func.C
6850 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * introduce namespace lyx::support
6854 2003-06-30 André Pönitz <poenitz@gmx.net>
6859 * text.C: re-enable --with-included-string
6861 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6863 * textcursor.C: add <config.h>
6865 * text.C (getWord): remove const from word_location arg
6867 * lyxvc.C (getLogFile): fix const type order
6869 * lyxtext.h: remove const from word_location arg, add arg name
6871 * lyxlayout.h: currect type on labeltype.
6873 * importer.C: correct \file
6875 * converter.C (intToFormat): use std:: on ret val, ws changes
6877 * bufferlist.h: correct \file
6879 * buffer.C (makeLinuxDocFile): fix const type order
6880 (makeDocBookFile): ditto
6881 (fillWithBibKeys): use std:: on stdlib args.
6883 * CutAndPaste.C: fix authors.
6884 (availableSelections): use std:: on return vector
6886 2003-06-27 André Pönitz <poenitz@gmx.net>
6888 * BufferView_pimpl.C:
6889 * bufferview_funcs.C:
6897 * text3.C: remove LyXCursor::row_ member
6900 * text.C: rename fullRebreak() to partialRebreak() and implement
6901 a fullRebreak() that really bereks fully
6903 * textcursor.h: new struct for cursor-related data
6905 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6907 * lyx_main.C (LyX): get full path of document loaded on the
6910 2003-06-26 André Pönitz <poenitz@gmx.net>
6912 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6913 remove unused/broken operator>,<,>=.
6915 * text.C: remove only use of broken operator<= in an Assert().
6917 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6919 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6920 moved errorlist_.clear to showErrorList
6922 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6924 * converter.C (scanLog, runLaTeX):
6925 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6926 move the bv->showErrorList call to the callers
6927 * lyxfunc.C: i.e. here...
6929 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6930 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6931 namespace, the second to...
6932 * buffer_funcs (BufferFormat, parseErrors): added
6933 * errorlist.C (ErrorList(TeXErrors const &)): removed
6935 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6937 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6939 2003-06-24 "Garst R. Reese" <reese@isn.net>
6943 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6945 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6947 * version.C.in: change docversion to 1.4
6949 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6951 * buffer.C: fix a bug just introduced
6953 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6955 * buffer.[Ch]: added the parseError signal and use it, removed
6957 * BufferView.[Ch] (addError): moved to ...
6958 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6959 to the Buffer::parseError signal to catch (guess what) parse errors
6960 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6962 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6964 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6965 ability to create a buffer and to return an existing one from
6966 the list. Moved these functions to...
6967 * buffer_funcs.[Ch]: added
6968 * BufferView.[Ch] (loadLyXFile): added
6969 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6970 job removed from bufferlist::loadLyXFile.
6971 * buffer.C (setReadOnly): make it work without view
6972 (i.e added an if (users))
6974 2003-06-19 Angus Leeming <leeming@lyx.org>
6977 * LyXAction.C (init):
6978 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6979 with LFUN_DIALOG_SHOW <name> <data>.
6981 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6983 * CutAndPaste.C (availableSelections): small compilation fix for
6984 ancient (gcc 2.9x) compilers
6986 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6988 * text3.C (cursorNext): add tmp var
6990 * text2.C (updateCounters): for function calling out of for clause
6991 (replaceSelectionWithString): ditto
6992 (insertStringAsParagraphs): ditto
6993 (getColumnNearX): add tmp var
6994 (setCursorFromCoordinates): add tmp var
6995 (cursorDownParagraph): add tmp var
6996 (deleteEmptyParagraphMechanism): add tmp var
6998 * text.C (insertChar): add tmp var
7000 * rowpainter.C (paintDepthBar): add tmp var
7002 * CutAndPaste.C (availableSelections): potentially check all
7003 paragraphs in a cut to fill the shown strings.
7005 2003-06-18 André Pönitz <poenitz@gmx.net>
7007 * kbmap.[Ch]: use vector<> instead of list<>
7009 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7011 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7012 pasteSelection with index
7014 * text2.C (pasteSelection): modify, call pasteSelection with index
7016 * paragraph.C (asString): reimplement version with no interval to
7017 call the one with interval.
7019 * lyxtext.h: add index arg to pasteSelection
7021 * MenuBackend.C (MenuItem): handle PasteRecent
7022 (Menu::read::Menutags): add md_pasterecent
7024 (expandPasteRecent): new function
7027 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7029 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7031 (availableSelections): new function
7033 2003-06-17 Angus Leeming <leeming@lyx.org>
7035 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7037 2003-06-17 Angus Leeming <leeming@lyx.org>
7040 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7042 * lyxfunc.C (dispatch): invoke it.
7044 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7046 * iterators.C (operator++, ParPosition): reintroduce some
7047 const_cast for the benefit of older compilers.
7049 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7051 * text3.C (dispatch): do not modify clipboard when doing
7052 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7053 LFUN_DELETE_SKIP on a selection selection
7055 2003-06-16 André Pönitz <poenitz@gmx.net>
7061 * tabular.[Ch]: IU of clone() and getLabelList();
7063 2003-06-13 André Pönitz <poenitz@gmx.net>
7065 * tabular.h: compactification
7067 2003-06-12 André Pönitz <poenitz@gmx.net>
7071 * tabular_funcs.h: some renaming plus whitespace
7073 2003-06-12 André Pönitz <poenitz@gmx.net>
7076 * BufferView_pimpl.C:
7082 * toc.C: Return a Paragraph & for ParIterator::operator*()
7084 2003-06-11 John Levon <levon@movementarian.org>
7088 * ToolbarBackend.C: add "Toolbars" section and
7091 2003-06-10 Angus Leeming <leeming@lyx.org>
7094 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7096 * lyxfunc.C (dispatch): invoke it.
7098 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7100 * main.C: protect <ios> with HAVE_IOS
7101 (main): protect sync_with_stdio with HAVE_IOS
7103 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7105 * text2.C (cutSelection): adjust
7106 (pasteSelection): adjust
7108 * messages.C: handle get of empty string
7110 * main.C (main): use sync_with_stdio(false)
7112 * lyxfunc.C (dispatch): adjust
7114 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7115 (WriteAs): remove unneeded BufferView arg.
7117 * bufferparams.h: use correct types on papersize, papersize2 and
7120 * bufferparams.C (readToken): adjust for type
7121 (writeLaTeX): add missing cases to switch.
7123 * bufferlist.C (quitWriteBuffer): adjust
7126 * buffer.C (asciiParagraph): remove some commented code.
7128 * CutAndPaste.C: remove current_view extern variable.
7129 (cutSelection): add BufferParams arg.
7130 (eraseSelection): add BufferParams arg.
7131 (pasteSelection): add Buffer const & arg
7133 2003-06-07 John Levon <levon@movementarian.org>
7136 * paragraph_funcs.C:
7137 * paragraph_pimpl.C:
7141 * paragraph.C: allow InsetERT to freely space lines,
7142 and some consolidation of code
7144 2003-06-06 José Matos <jamatos@fep.up.pt>
7146 * buffer.C (makeDocBookFile): fix bug #821
7148 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7150 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7152 2003-06-04 Angus Leeming <leeming@lyx.org>
7154 * buffer.C: bump format to 224.
7156 2003-06-05 André Pönitz <poenitz@gmx.net>
7158 * text2.C (redoParagraphs): remove two const_cast<>
7160 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7162 * ParagraphList.h: remove last remnants of NO_STD_LIST
7164 2003-06-03 Angus Leeming <leeming@lyx.org>
7166 * factory.C (createInset): small change to the way InsetExternal's params
7169 2003-06-04 André Pönitz <poenitz@gmx.net>
7171 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7173 * paragraph_pimpl.h:
7174 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7176 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7178 * undo_funcs.C: make some simple cases of undo work again
7180 2003-06-03 John Levon <levon@movementarian.org>
7182 * ispell.C: HPUX doesn't have sys/select.h
7185 2003-06-03 John Levon <levon@movementarian.org>
7187 * CutAndPaste.C: update tabular and include inset
7192 * paragraph.C: remove owningBuffer(), don't pass Buffer
7195 * factory.C: insetGraphicsParams changed
7197 2003-06-02 John Levon <levon@movementarian.org>
7203 * text3.C: remove insetparent
7205 2003-06-02 John Levon <levon@movementarian.org>
7208 * buffer.C: fix inset_iterator.end(), move out of line
7211 2003-06-01 John Levon <levon@movementarian.org>
7213 * text3.C: use a proper cut/paste when doing inset
7214 insert (from Jürgen Spitzmüller)
7216 2003-06-01 John Levon <levon@movementarian.org>
7218 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7220 2003-05-30 André Pönitz <poenitz@gmx.net>
7222 * rowpainter.C: unify second drawing phase
7224 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7226 * trans_mgr.C: remove one case of current_view
7228 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7230 * paragraph_funcs.h: remove paragraph.h include
7232 * paragraph.h: delete NO_STD_LIST stuff
7234 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7236 * buffer.h: remove paragraph.h include
7238 * ParagraphList.C: delete file
7240 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7242 * toc.C (getTocList): adjust
7244 * paragraph_pimpl.C (validate): adjust
7246 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7248 * paragraph.C (Paragraph): adjust
7249 (getPositionOfInset): use const_iterator, adjust
7250 (bibitem): use const_iterator, adjust
7251 (setInsetOwner): adjust
7253 * iterators.C (operator++): adjust
7255 * InsetList.[Ch]: Replace selfmade iterator with standard
7256 vector::iterator also introduce const_iterator. Remove getPos,
7257 getInset and setInset from InsetTable. Adjust accordingly.
7259 * BufferView.C (lockInset): adjust
7260 (ChangeInsets): adjust
7262 * tabular.[Ch]: delete commented same_id functions
7264 2003-05-28 John Levon <levon@movementarian.org>
7266 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7268 2003-05-28 André Pönitz <poenitz@gmx.net>
7270 * metricsinfo.[Ch]: remove 'fullredraw' member
7272 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7274 * lyxtextclass.C (operator): remove caching.
7276 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7280 * text2.C (cursorBottom): adjust
7281 (setCounter): use ParagraphList::find, adjust
7283 * text.C (workWidth): use ParagraphList::find, adjust
7285 * lyxcursor.C (LyXCursor): adjust
7287 * buffer.C (inset_iterator): adjust
7289 * ParagraphList.h: make iterator(value_type) private, make
7290 ParagraphList a friend of iterator.
7292 * ParagraphList.C (find): new function
7294 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7296 2003-05-27 André Pönitz <poenitz@gmx.net>
7298 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7300 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7302 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7304 2003-05-26 John Levon <levon@movementarian.org>
7306 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7308 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * remove same_id from function signatures, adjust.
7312 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7314 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7316 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7318 * paragraph.C (Paragraph): get rid of same_ids parameter
7320 * ParagraphList.C (insert): adjust
7323 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7325 * paragraph_funcs.C (breakParagraph): adjust
7326 (breakParagraphConservative): adjust
7328 * buffer.C (readParagraph): adjust
7330 * ParagraphList.C (insert): take a reference instead of a pointer
7333 * paragraph.[Ch] (id): new function
7335 * bufferlist.C (newFile): adjust
7337 * ParagraphList.C (ParagraphList): adjust
7339 (push_back): take a reference instead of a pointer.
7341 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7343 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7346 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7347 set else use old code.
7349 * ParagraphList.C: remove all NO_NEXT code and only compile this
7350 code of NO_STD_LIST is set.
7352 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7354 * BufferView_pimpl.C:
7364 * graphics/GraphicsConverter.C:
7365 * graphics/PreviewLoader.C: header adjustment
7367 2003-05-23 Angus Leeming <leeming@lyx.org>
7369 * LaTeXFeatures.[Ch] (useBabel): new method.
7370 * bufferparams.C (writeLaTeX): use it.
7372 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7374 * ParagraphList.h (set): remove unused function.
7376 2003-05-23 André Pönitz <poenitz@gmx.net>
7379 * BufferView_pimpl.C:
7383 * undo_funcs.C: setUndo reworked
7385 * iterators.[Ch]: add access to topmost ParagraphList
7387 * lyxtext.[Ch] (workWidth): add a const
7389 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7391 * texrow.[Ch] (increasePos): remove function
7392 * exporter.C (export): removed unused var and outdated comment
7394 2003-05-23 Angus Leeming <leeming@lyx.org>
7396 * latexrunparams.h: rename fragile as moving_arg.
7397 * paragraph.C (simpleTeXOnePar): ditto.
7398 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7400 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7402 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7404 (textUndoOrRedo): comment out a currently unused var.
7406 * paragraph.h (NO_NEXT): enable NO_NEXT
7408 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7410 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7412 * exporter.C (Export): adjust for removeAutoInsets removal.
7414 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7416 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7418 * BufferView.[Ch] (removeAutoInsets): delete function
7420 2003-05-22 Angus Leeming <leeming@lyx.org>
7422 * latexrunparams.h: add a free_spacing variable.
7424 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7425 to pass moving_arg, as the data is stored in runparams.fragile.
7427 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7428 to Inset::latexOptional or to simpleTeXOnePar.
7430 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7431 free_spacing arg to Inset::latexOptional.
7433 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7436 2003-05-22 Angus Leeming <leeming@lyx.org>
7438 * latexrunparams.h: add fragile and use_babel variables.
7440 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7441 * buffer.C (makeLaTeXFile): store this returned value in
7442 runparams.use_babel, thus passing it to the inset::latex methods.
7444 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7445 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7447 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7448 longer has a fragile arg, as it is stored in runparams.fragile.
7450 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7451 moving_arg parameter as the data is stored in runparams.fragile.
7453 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7454 a fragile parameter as the data is stored in runparams.fragile.
7456 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7458 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7460 2003-05-22 Angus Leeming <leeming@lyx.org>
7462 * latexrunparams.h: add a 'bool nice' which defaults to false.
7464 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7465 now encapsulated within runparams.
7467 * bufferlist.C (updateIncludedTeXfiles):
7468 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7470 2003-05-22 Angus Leeming <leeming@lyx.org>
7472 * latexrunparams.h: new file containing struct LatexRunParams.
7473 * Makefile.am: add new file.
7475 * LaTeX.[Ch] (c-tor, run):
7476 * buffer.[Ch] (makeLaTeXFile):
7477 * bufferlist.[Ch] (updateIncludedTeXfiles):
7478 * converter.C (convert, scanLog):
7479 * converter.[Ch] (runLaTeX):
7480 * exporter.C (Export):
7481 * paragraph.[Ch] (simpleTeXOnePar):
7482 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7483 * paragraph_funcs.[Ch] (latexParagraphs):
7484 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7485 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7486 pass around a LatexRunParams parameter.
7488 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7490 * paragraph.[Ch]: remove unused constructor
7492 * ParagraphList.C (erase): new function, taking two iterators
7494 2003-05-22 André Pönitz <poenitz@gmx.net>
7496 * undo_funcs.C: remove duplicated code
7498 * iterator.[Ch]: operator=
7500 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * tabular.C (SetMultiColumn): ws changes
7504 * rowpainter.C (paintFirst): get rid of a ->previous
7506 * lyx_cb.C (getPossibleLabel): parlist simplification
7508 * BufferView.C (ChangeInsets): simplify slightly.
7510 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7512 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7513 * lfuns.h: new LFUN_SPACE
7514 * lyxfunc.C: protected space has a new lfun
7515 * paragraph_funcs.C: read new space insets
7517 * factory.C: handle new space insets
7519 2003-05-22 André Pönitz <poenitz@gmx.net>
7522 * BufferView_pimpl.C:
7525 * undo_funcs.C: return a ParIterator from getParFromID.
7527 * iterators.[Ch]: add two const's
7529 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7531 * toc.C (getTocList): adjust
7533 * iterators.[Ch]: rework for parlist
7535 * buffer.C (par_iterator_begin): adjust
7536 (par_iterator_end): adjust
7538 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7540 * BufferView.C (removeAutoInsets): adjust
7541 (ChangeInsets): adjust
7543 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7545 * text.C (top_y): fix bug 1110
7547 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7549 * errorlist.[Ch]: added
7552 * BufferView_pimpl.C:
7553 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7556 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7558 * Makefile.am: ensure that lyx is relinked upon changes to the
7559 various "convenience" libs.
7561 2003-05-20 Angus Leeming <leeming@lyx.org>
7563 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7564 files are compiled in alphabetical order again.
7566 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7568 2003-05-19 Angus Leeming <leeming@lyx.org>
7570 * gettext.[Ch]: remove "char const * _(char const *)".
7572 2003-05-19 André Pönitz <poenitz@gmx.net>
7574 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7583 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7585 2003-05-19 André Pönitz <poenitz@gmx.net>
7589 * lyxtextclass.[Ch]:
7591 * paragraph_funcs.[Ch]:
7593 * text3.C: more insetenv work
7595 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7597 * ParagraphParameters.C (params2string): small bug fixed
7599 2003-05-16 André Pönitz <poenitz@gmx.net>
7602 * bufferview_funcs.C: patch from Kornel Benko to prevent
7603 crash when _(...) is called twice in a statement
7605 2003-05-16 André Pönitz <poenitz@gmx.net>
7612 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7614 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7616 * lyx_main.C (init): remove spurious static_cast
7618 2003-05-14 André Pönitz <poenitz@gmx.net>
7620 * BufferView.C: fix format string
7622 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7624 * BufferView.[Ch] (insertErrors): removed
7625 * BufferView.[Ch] (showErrorList): added
7626 * buffer.C (runChkTeX):
7627 * converter.C (scanLog): call showErrorList instead of inserterrors
7629 2003-05-13 André Pönitz <poenitz@gmx.net>
7631 * BufferView_pimpl.C:
7633 * bufferview_func.C:
7640 * tabular_funcs.h: tostr() from its own header
7642 * ParagraphParameters.C:
7647 * text3.C: STRCONV()
7649 2003-05-12 André Pönitz <poenitz@gmx.net>
7652 * BufferView_pimpl.C:
7656 * ParagraphParameters.C:
7660 * bufferview_funcs.C:
7673 * paragraph_funcs.C:
7677 * text3.C: boost::format -> bformat all over the place
7680 2003-05-09 André Pönitz <poenitz@gmx.net>
7682 * LColor.[Ch]: Pimpl the #include <map> away
7684 2003-05-09 John Levon <levon@movementarian.org>
7686 * bufferlist.C: never remove emergency saves
7688 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * Makefile.am: better lib building
7692 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7696 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7697 (simpleTeXSpecialChars): adjust
7698 (simpleTeXSpecialChars): adjust
7699 * paragraph.C (simpleTeXOnePar): adjust
7700 * buffer.C (makeLaTeXFile): adjust
7702 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7704 * text2.C (changeDepth): parlist cleanup
7705 (getColumnNearX): ditto
7707 * rowpainter.C (getLabelFont): parlist cleanup
7709 * bufferlist.C (newFile): parlist cleanup
7711 * CutAndPaste.C (eraseSelection): parlist cleanup
7713 * BufferView_pimpl.C (trackChanges): parlist cleanup
7716 * BufferView.C (lockInset): parlist cleanup.
7717 (ChangeInsets): ditto
7719 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * CutAndPaste.h: Update file header.
7723 * CutAndPaste.C: Update file header.
7724 Store the parts cut out of the Document in a limited_stack.
7725 (copySelection): adjust
7726 (pasteSelection): new function, takes the index in the limited stack.
7727 (nrOfParagraphs): adjust
7728 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7729 simplify error inset insertion.
7730 (checkPastePossible): adjust
7732 2003-05-06 John Levon <levon@movementarian.org>
7734 * text2.C: don't cast wrap inset to float
7736 2003-05-05 André Pönitz <poenitz@gmx.net>
7739 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7741 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7742 few naked Paragraph *.
7744 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7746 * bufferparams.C: Output warning if a document with missing
7747 TeX document class is loaded
7748 * exporter.C: Disable TeX exports if the document class is missing
7751 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7752 isTeXClassAvailable()
7754 2003-05-03 John Levon <levon@movementarian.org>
7757 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7758 explicit cursor show/hide
7760 * BufferView_pimpl.h:
7761 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7762 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7764 * lyxfunc.C: hide cursor before dispatching.
7769 * text3.C: remove explicit cursor hides
7771 2003-05-02 André Pönitz <poenitz@gmx.net>
7773 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7776 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7779 * text2.C: tiny whitespace
7781 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7783 * undo_funcs.C: almost only ws changes.
7785 * ParagraphList.C (splice): just return if pl is empty.
7787 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7789 * ParagraphList.C (splice): new function.
7791 * CutAndPaste.C (pasteSelection): use it
7793 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7795 * CutAndPaste.C (pasteSelection): remove the last next and
7796 previous from this file.
7798 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7800 * CutAndPaste.C (pasteSelection): more clean up, user proper
7801 ParagraphList functions for pasteing.
7803 * ParagraphList.C (insert): new function, three arg insert
7805 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7807 * ParagraphList.C (insert): new function, three arg insert
7809 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7812 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7814 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7816 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7818 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7820 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7822 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7823 (copySelection): clean up a bit.
7824 (pasteSelection): use make_pair
7826 * ParagraphList.C (ParagraphList): implement copy constructor
7827 (operator=): implement, base on copy constructor.
7830 * paragraph.C (erase): return a bool
7832 * paragraph_pimpl.C (erasePos): remove function, move contents...
7833 (erase): ... here. Return a bool.
7834 (erase): call erase instead of erasePos.
7836 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7838 * ParagraphList.h: define PitPosPair
7839 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7840 ParagraphList, fix a bug on pasting multiple pars
7841 * text2.C: change interface to C&P
7843 2003-04-30 André Pönitz <poenitz@gmx.net>
7845 * undo_func.C: revert part of yesterday's patch 2
7847 2003-04-30 John Levon <levon@movementarian.org>
7849 * LColor.C: s/tabular/table/
7851 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7853 * text3.C (dispatch): do not convert iterator -> pointer
7854 * undo_funcs.C (setCursorParUndo): ditto
7855 * text_funcs.C (transposeChars): ditto
7857 * text2.C (setLayout): ws changes only
7859 * text.C (breakParagraph): do not convert iterator -> pointer
7861 (acceptChange): ditto
7862 (rejectChange): ditto
7867 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7870 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7872 * text3.C (gotoInset): YABG (yet another bad getChar)
7874 2003-04-29 André Pönitz <poenitz@gmx.net>
7876 * paragraph.h: make operator= private unimplemented as long as
7879 * ParagraphList.C: whitespace
7882 * paragraph_pimpl.[Ch]:
7883 * paragraph_funcs.C:
7885 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7888 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7890 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7892 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7893 * paragraph.[Ch] (erase):
7894 * paragraph_pimpl.[Ch] (erase): change return type and value
7895 * text2.C (cutSelection): some rework
7897 2003-04-28 John Levon <levon@movementarian.org>
7899 * bufferlist.C: changes for unsaved changes dialog
7901 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7903 * bufferlist.C (newFile): set language (messages_) for new
7906 * buffer.C (readFile): ws changes only.
7908 2003-04-28 André Pönitz <poenitz@gmx.net>
7913 * BufferView_pimpl.C:
7914 * BufferView.C: getParFromID related ParagraphList::iterator changes
7916 2003-04-28 André Pönitz <poenitz@gmx.net>
7918 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7921 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7923 * messages.C: remove one more localedir class variable.
7925 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7927 * messages.C (getLocaleDir): singleton generation function
7929 (Messages): add a default constructor.
7931 * main.C (main): do not setup localedir here, do not call
7934 * gettext.C (_): use it.
7935 (gettext_init): delete funciton
7937 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7939 * gettext.C (getLyXMessages): new singleton generating function.
7941 * buffer.C (updateDocLang): adjust
7943 * Makefile.am (messages.o): add target
7944 (main.o): remove target
7946 2003-04-27 John Levon <levon@movementarian.org>
7951 * lyxvc.C: specify cancel button in Alert::prompt
7953 2003-04-26 John Levon <levon@movementarian.org>
7958 * LyXAction.C: add LFUN_INSET_SETTINGS
7960 * lyxfunc.C: don't enable tabular-feature when there's
7961 just any locking inset
7963 2003-04-26 John Levon <levon@movementarian.org>
7965 * bufferlist.C: re-add Cancel to buffer close question
7967 * lyxfunc.C: fix import UI a bit
7969 2003-04-25 John Levon <levon@movementarian.org>
7971 * gettext.C: remove the broken asserts for now
7973 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7975 * messages.C: make case where setlocale cannot comply work better.
7977 * buffer.C (updateDocLang): new function
7978 (changeLanguage): use it
7981 * text2.C (setCounter): use B_ a bit.
7983 * lyxlayout.C (Read): be sure to trim the label strings.
7985 * messages.C (Messages): fix typo in comment
7987 * buffer.C (readFile): set message_ after file is loaded.
7988 (makeDocBookFile): remove double return
7989 (changeLanguage): reset message_ upon language change.
7990 (B_): new func, use this to get translated buffer strings.
7992 * main.C: add myself and Jean Marc as authors.
7994 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7996 * messages.[hC]: pimplify Messages, and three different pimpls to be
7997 used in different circumstances.
7999 * gettext.[Ch]: change for use with new message code.
8001 2003-04-24 André Pönitz <poenitz@gmx.net>
8003 * factory.C: support for eqref
8005 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8007 * messages.[Ch]: add missing char
8009 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8011 * messages.[Ch]: New files
8013 2003-04-18 John Levon <levon@movementarian.org>
8017 * BufferView_pimpl.C:
8021 * text2.C: remove layout-copy/paste (bug 778)
8023 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8025 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8027 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8029 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8030 if they succeed. Act accordingly.
8032 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8034 * text2.C (setCharFont): adjust
8035 (setCounter): adjust
8036 (insertStringAsLines): adjust
8038 * text.C (leftMargin): adjust
8039 (setHeightOfRow): adjust
8041 * rowpainter.C (paintFirst): adjust
8044 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8046 (isFirstInSequence): ditto
8047 (getEndLabel): ditto
8050 * paragraph.C (getParLanguage): comment out some hard stuff.
8052 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8054 (simpleDocBookOnePar): ditto
8055 (makeDocBookFile): use ParagraphList::iterator
8057 * CutAndPaste.C (pasteSelection): adjust
8059 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8061 * text2.C (getFont): adjust
8062 (getLayoutFont): adjust
8063 (getLabelFont): adjust
8065 * paragraph_funcs.C (TeXOnePar): adjust
8067 * buffer.C (simpleLinuxDocOnePar): adjust
8068 (simpleDocBookOnePar): adjust
8070 * CutAndPaste.C (pasteSelection): adjust
8072 * BufferView.C (getEncoding): adjust
8074 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8076 2003-04-16 John Levon <levon@movementarian.org>
8078 * lyxfind.C: use parlist stuff for search/changes
8080 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8082 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8084 * text2.C (deleteEmptyParagraphMechanism): adjust
8086 * text2.[Ch] (ownerParagraph): delete func (both of them
8088 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8092 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8094 * ParagraphList.C: prepare for NO_NEXT
8096 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8098 * text2.C (getFont): adjust
8099 (getLayoutFont): adjust
8100 (getLabelFont): adjust
8102 * paragraph.C (getFont): adjust
8103 (getLabelFont): adjust
8104 (getLayoutFont): adjust
8106 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8108 2003-04-15 John Levon <levon@movementarian.org>
8112 * lyx_main.C: handle Include in .ui files
8114 2003-04-15 John Levon <levon@movementarian.org>
8116 * MenuBackend.C: make the doc files length shorter
8119 * ToolbarBackend.C: handle toolbar placement flags,
8122 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8124 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8127 * paragraph_funcs.C (TeXOnePar): adjust
8129 * paragraph.C (getLabelFont): add outerfont arg, adjust
8130 (getLayoutFont): ditto
8131 (simpleTeXOnePar): adjust
8133 * paragraph_pimpl.C (realizeFont): delete func
8135 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8137 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8138 row argument, constify cur argument.
8140 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8142 * text2.C (getFont): adjust
8143 (getLayoutFont): adjust
8144 (getLabelFont): adjust
8146 * paragraph_funcs.C (TeXOnePar): adjust
8147 (outerFont): new func...
8148 (realizeFont): ...moved out from here, changed this to facilitate
8151 * paragraph.C (getFont): take outerfont as arg, adjust
8152 (simpleTeXOnePar): add outerfont arg, adjust
8154 * buffer.C (simpleLinuxDocOnePar): adjust
8155 (simpleDocBookOnePar): adjust
8157 * CutAndPaste.C (pasteSelection): adjust
8159 * BufferView.C (getEncoding): adjust
8161 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8163 * text2.C (setCharFont): adjust
8164 (setCounter): adjust
8166 * text.C (leftMargin): adjust
8167 (setHeightOfRow): adjust
8169 * rowpainter.C (paintFirst): adjust
8172 * paragraph_pimpl.C (realizeFont): adjust
8174 * paragraph.C (isFirstInSequence): move from here...
8175 * paragraph_funcs.C (isFirstInSequence): ...to here
8177 * paragraph.C (outerHook): move from here...
8178 * paragraph_funcs.C (outerHook): ...to here
8180 * paragraph.C (depthHook): move from here...
8181 * paragraph_funcs.C (depthHook): ...to here
8183 * paragraph.C (getEndLabel): move from here...
8184 * paragraph_funcs.C (getEndLabel): ...to here
8186 * text2.C (realizeFont): move from here...
8187 * paragraph_funcs.C (realizeFont): ...to here
8189 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8191 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8193 2003-04-14 Angus Leeming <leeming@lyx.org>
8195 * LColor.[Ch]: scrap LColor mathcursor.
8197 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8199 * lyxlex.[Ch] (text): delete function
8200 * trans.C (Load): adjust
8201 * paragraph_funcs.C (readParToken): adjust
8203 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8205 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8206 vector<char> instead of a char[].
8208 * lyxlex_pimpl.C (getString): adjust
8210 (lex): use getString
8214 * lyxlex.C (text): use pimpl_->getString()
8218 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8220 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8221 (makeFontEntriesLayoutSpecific): temp var for par.size()
8222 (setLayout): temp var for ownerParagraphs().end()
8223 (fullRebreak): temp var for rows().end()
8224 (selectionAsString): temp var for boost::next(startpit), realize
8225 that the while really is a regular for loop.
8226 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8227 setCursor in one place.
8228 (setParagraph): temp vr for ownerParagraphs().end()
8229 (updateCounters): make the while loop a for loop
8230 (cutSelection): temp var for ownerParagraphs().end()
8231 (updateInset): make the do {} while() a regular for loop
8232 (getCursorX): use temp vars
8233 (setCurrentFont): use temp vars
8234 (getColumnNearX): use temp vars
8236 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8238 * text.C (transformChar): use temp var for getChar
8239 (computeBidiTables): use temp var for row->par()
8240 (fill): move temp vars for row->par() and pit->layout() earlier in
8242 (labelFill): use temp var for row->par()
8243 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8244 asc and desc, realize that pit never changes and that firstpit is
8245 just a duplicate and not needed. Exchange rit->par() with pit in a
8247 (breakAgain): use a temp var for boost::next(rit)
8248 (breakAgainOneRow): ditto
8249 (breakParagraph): use a temp var for rows().begin()
8250 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8251 (cursorRightOneWord): use temp var for cursor.par() and
8252 cursor.pos(), remove usage of tmpcursor.
8253 (cursorLeftOneWord): use temp var for cursor.par() and
8254 cursor.pos() only set cur at end of function.
8256 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8258 * text.C, text2.C: exchange all usage of Paragraph::next with
8259 boost::next(ParagraphList::iterator)
8261 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8263 * text2.C (cursorTop): simplify implementation
8264 (cursorBottom): ditto
8265 (setParagraph): use ParagraphList::iterator
8266 (setCurrentFont): adjust
8267 (getColumnNearX): adjust
8268 (cursorRight): adjust
8269 (cursorLeft): remove usage of Paragraph::previous
8270 (cursorUpParagraph): ditto
8271 (deleteEmptyParagraphMechanism): slight cleanup
8273 * text.C (isBoundary): take a Paragraph const & instead of a
8275 (addressBreakPoint): ditto
8276 (leftMargin): remove usage of Paragraph::previous.
8277 (setHeightOfRow): ditto
8278 (cursorLeftOneWord): ditto
8279 (selectNextWordToSpellcheck): ditto
8282 (breakParagraph): remove one usage of Paragraph::next
8283 (redoParagraph): ditto
8284 (acceptChange): ditto
8285 (insertChar): adjust
8286 (rowBreakPoint): adjust
8288 * bufferview_funcs.C (toggleAndShow): adjust
8290 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8292 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8293 methods to access it.
8295 * text.C: Added updateRowPositions to compute all row positions.
8296 Make top_y and getRowNearY() to use the cached y position
8298 2003-04-11 John Levon <levon@movementarian.org>
8300 * text.C (rowBreakPoint): reintroduce the labelEnd
8301 checks, code copied from the row fill stuff. Deep voodoo.
8303 * text.C (fill): add a comment and debugging for the
8306 2003-04-11 John Levon <levon@movementarian.org>
8308 * text.C: make sure fullrow insets get wrapped to the next line,
8309 even when they're in a manual label
8311 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8313 * text2.C (insertParagraph): make it take ParagraphList::iterator
8315 (setLayout): make it return ParagraphList::iterator
8316 (redoParagraphs): ditto
8318 (checkParagraph): ditto
8320 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8322 * text2.C: adjust several funcs.
8323 (realizeFont): take a ParagraphList::iterator as arg.
8324 (getLayoutFont): ditto
8325 (getLabelFont): ditto
8326 (setCharFont): ditto
8328 * text.C: adjust several funcs.
8330 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8332 * text.C (selectNextWordToSpellcheck): don't accidentally
8335 2003-04-10 John Levon <levon@movementarian.org>
8337 * ToolbarBackend.C (getIcon): special handling for
8340 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8342 * text2.C (cursorRight): a getChar assert fixed
8344 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8346 * text2.C (getFont): change to take a ParagraphList::iterator
8347 instead of Paragraph*
8348 Adjust several functions.
8350 * text.C (transformChar): change to take a ParagraphList::iterator
8351 instead of Paragraph*
8352 (singleWidth): ditto
8353 Adjust several functions.
8355 * rowpainter.C: adjust several functions
8356 * rowpainter.h:store a ParagraphList::iterator and not a
8360 2003-04-09 John Levon <levon@movementarian.org>
8365 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8366 and the "help" bits as well
8368 2003-04-09 John Levon <levon@movementarian.org>
8371 * ToolbarBackend.C: allow multiple toolbars
8373 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8375 * undo_funcs.C (setCursorParUndo): adjust
8377 * text_funcs.C (transposeChars): adjust
8379 * text3.C (gotoNextInset): adjust
8382 * text2.C (setLayout): adjust
8383 (changeDepth): adjust
8385 (redoParagraphs): adjust
8386 (selectionAsString): adjust
8387 (setParagraph): adjust
8388 (insertInset): adjust
8389 (cutSelection): adjust
8390 (copySelection): adjust
8391 (pasteSelection): adjust
8392 (insertStringAsLines): adjust
8393 (updateInset): adjust
8394 (setCursor): change to take a ParagraphList::iterator parameter
8395 (setCursorIntern): change to take a ParagraphList::iterator parameter
8396 (setCurrentFont): adjust
8397 (cursorLeft): adjust
8398 (cursorRight): adjust
8399 (deleteEmptyParagraphMechanism): adjust
8401 * text.C (breakParagraph): adjust
8402 (insertChar): adjust
8403 (acceptChange): adjust
8404 (rejectChange): adjust
8405 (selectNextWordToSpellcheck): adjust
8406 (changeCase): adjust
8410 * lyxfind.C (SearchForward): adjust
8411 (SearchBackward): adjust
8412 (nextChange): adjust
8414 * lyxcursor.C (par): adjust
8416 * lyxcursor.h: store a ParagraphList::iterator instead of a
8419 * lyx_cb.C (getPossibleLabel): adjust
8421 * bufferview_funcs.C (toggleAndShow): adjust
8423 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8426 * BufferView.C (removeAutoInsets): adjust
8427 (lockedInsetStoreUndo): adjust
8429 2003-04-09 John Levon <levon@movementarian.org>
8431 * ToolbarBackend.C: try icon without argument
8432 if with argument fails
8434 2003-04-08 John Levon <levon@movementarian.org>
8437 * ToolbarBackend.C: add getIcon(), handle tooltip,
8438 and change from "Icon" to "Item".
8440 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8442 * BufferView.C (lockInset): another bad getchar crunched
8444 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8446 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8449 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8451 * lyxfind.C (searchForward, searchBackwards): bug 782
8453 2003-04-07 John Levon <levon@movementarian.org>
8455 * paragraph.C: remove dead comment
8457 * text.C: remove troublesome depth-fiddling code
8458 in leftMargin() and rightMargin() (bug 1017)
8460 * text.C: fix breaking of rows in nested lists
8463 * text2.C (updateCounters): fix up depth values
8466 2003-04-07 John Levon <levon@movementarian.org>
8468 * BufferView_pimpl.C: clear message when doc finishes resizing,
8469 and after a mouse event
8471 * lyxfunc.C: clear message after exiting inset
8473 2003-04-07 John Levon <levon@movementarian.org>
8475 * bufferview_funcs.C: show math status not outside
8476 status in the statusbar
8478 2003-04-07 John Levon <levon@movementarian.org>
8480 * lyxfunc.C: note status changed after a depth change
8482 2003-04-04 Angus Leeming <leeming@lyx.org>
8484 * LaTeX.h: move AuxInfo operator==, != out of line.
8485 Remove LaTeX virtual destructor; nothing derives from it.
8486 Move operator()() out of public area and rename it startscript().
8487 Change protected for private.
8489 2003-04-04 Angus Leeming <leeming@lyx.org>
8492 * text2.C: remove unneeded #includes.
8494 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8496 * text2.C (dEPM): fix the heigth of the next row
8498 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8500 * text.C: squashed an invalid getChar requester + some ws changes
8502 2003-04-03 John Levon <levon@movementarian.org>
8504 * bufferview_funcs.h:
8505 * bufferview_funcs.C:
8508 * text2.C: make getStatus work for the env depth lfuns
8510 2003-04-03 John Levon <levon@movementarian.org>
8512 * bufferview_funcs.h:
8513 * bufferview_funcs.C:
8516 * text2.C: parlistize decDepth(), by merging it with incDepth()
8518 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8520 * lyxrow.h: store a ParagraphList::iterator instead of a
8521 Paragraph* and adjust other class functions to suit.
8523 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8526 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8528 * text2.C (setCursor): do not anchor to cursor row for the time being
8530 2003-04-02 John Levon <levon@movementarian.org>
8537 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8539 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8541 * paragraph.h: make ParagraphList and ParagraphList::iterator
8542 friends of Paragraph.
8544 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8546 * ParagraphList.C: Use the private next_ and previous_ from
8549 2003-04-01 John Levon <levon@movementarian.org>
8553 * Makefile.am: rename, remove defaults gunk
8556 * MenuBackend.C: remove defaults gunk
8559 * Languages.C: remove defaults gunk
8562 * lyx_main.C: error out if files couldn't be found.
8564 2003-04-02 John Levon <levon@movementarian.org>
8566 * text2.C: make incDepth() use parlist
8568 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8570 * undo_funcs.C (firstUndoParagraph): adjust
8572 * text3.C (gotoInset): adjust
8573 (dispatch): adjust, and rewrite loop.
8575 * text2.C (init): adjust, and rewrite loop.
8576 (redoParagraphs): adjust
8577 (updateInset): adjust, and rewrite loop.
8578 (deleteEmptyParagraphMechanism): adjust
8580 * tabular.C (LyXTabular): adjust
8581 (SetMultiColumn): adjust
8584 * lyxtext.[Ch] (ownerParagraph): delete function
8585 (ownerParagraphs): new function returns a ParagraphList.
8587 * BufferView.C (removeAutoInsets): adjust
8588 (insertErrors): adjust
8589 (setCursorFromRow): adjust
8591 2003-04-01 Angus Leeming <leeming@lyx.org>
8593 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8596 2003-04-02 John Levon <levon@movementarian.org>
8602 * text_funcs.C: make transposeChars a free function
8604 * lyxrow_funcs.C: remove wrong comment
8606 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8609 * rowpainter.C: adjust
8614 * lyxrow_funcs. [Ch]: new files
8616 * lyxrow.[Ch]: remove next and previous pointers
8617 (next,previous): remove accessor functions
8618 (isParEnd): move to lyxrow_funcs
8619 (lastPos): move to lyxrow_funcs
8620 (nextRowIsAllInset): move to lyxrow_funcs
8621 (lastPrintablePos): move to lyxrow_funcs
8622 (numberOfSeparators): move to lyxrow_funcs
8623 (numberOfHfills): move to lyxrow_funcs
8624 (numberOfLabelHfills): move to lyxrow_funcs
8625 (hfillExpansion): move to lyxrow_funcs
8629 * bufferview_funcs.C (toggleAndShow): adjust
8631 * RowList.h: Remove class RowList from file leave just a
8634 * RowList.C: delete file
8636 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8639 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8641 * text3.C (cursorPrevious): adjust
8642 (cursorNext): adjust
8645 * text2.C (redoHeightOfParagraph): adjust
8646 (redoDrawingOfParagraph): adjust
8649 * text.C (breakParagraph): adjust
8650 (insertChar): adjust
8653 * rowpainter.C (RowPainter): adjust
8654 (leftMargin): simplify and adjust
8655 (most rowpainter functions): adjust.
8657 * rowpainter.h: store the row as RowList::iterator not as Row*
8659 * lyxcursor.C (row): taka RowList::iterator as arg
8662 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8665 2003-04-01 Angus Leeming <leeming@lyx.org>
8667 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8668 stuff like bool Bool.
8670 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8672 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8675 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8677 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8680 * lyxtext.h (rows): drop one version and leve a const variant that
8681 returns a RowList::iterator.
8683 2003-03-31 Angus Leeming <leeming@lyx.org>
8685 * text.C (fill): ensure that the signature is the same as that in the
8688 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8690 * text2.C (redoParagraphs): adjust
8691 (updateCounters): adjust
8692 (checkParagraph): adjust
8693 (getColumnNearX): adjust and reformat a bit.
8695 * text.C (top_y): adjust
8697 (leftMargin): adjust
8698 (prepareToPrint): adjust
8700 (getRowNearY): adjust
8702 * lyxtext.h: make rowlist_ mutable.
8704 * RowList.h: add const_iterator
8705 * RowList.C: adjust for RowList::const_iterator.
8707 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8710 2003-03-31 John Levon <levon@movementarian.org>
8713 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8715 * lyx_main.C: set default fonts from using lyx_gui funcs
8717 * exporter.C: pdf_mode moved from lyxrc
8720 * lyxfunc.C: changes from above
8722 2003-03-31 John Levon <levon@movementarian.org>
8724 * lyx_main.C: fix to the last fix
8726 2003-03-31 John Levon <levon@movementarian.org>
8728 * bufferlist.C: "Load original" -> "Load Original"
8734 * format.C: more Alert cleanups
8736 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8738 * text2.C (removeParagraph): make it take a RowList::iterator as
8740 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8741 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8743 * text.C (anchor_row): make it take a RowList::iterator as arg,
8745 (computeBidiTables): make it take a const reference to Row instead
8746 of Row pointer, adjust.
8747 (leftMargin): make it take a RowList::iterator as arg, adjust.
8748 (rowBreakPoint): adjust
8749 (breakAgainOneRow): make it take a RowList::iterator as arg,
8751 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8753 * bufferview_funcs.C (toggleAndShow): adjust
8755 2003-03-30 John Levon <levon@movementarian.org>
8759 * boost-inst.C: moved to support
8761 * several files: changes as a result
8763 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8765 * text2.C (LyXText): adjust.
8767 (removeRow): make it take a RowList::iterator as arg, adjust.
8768 (fullRebreak): adjust
8769 (deleteEmptyParagraphMechanism): adjust
8770 (clearPaint): adjust
8773 * text.C (top_y): adjust
8774 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8775 (breakAgain): make it take a RowList::iterator as arg, adjust.
8776 (breakParagraph): adjust
8777 (insertChar): adjust
8780 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8781 need_break_row, and refresh_row.
8783 * text3.C (dispatch): adjust
8785 * text2.C (checkParagraph): adjust
8787 (setCursorFromCoordinates): adjust
8789 * text.C (top_y): adjust
8791 (getRow): make it return a RowList::iterator, adjust
8792 (getRowNearY): make it return a RowList::iterator, adjust
8794 * text2.C (init): adjust
8795 (insertRow): remove function
8796 (insertParagraph): adjust
8797 (redoParagraphs): adjust
8798 (fullRebreak): adjust
8799 (updateCounters): adjust
8801 * text.C (top_y): rewrite to use RowList iterators.
8803 (setHeightOfRow): rewrite to sue RowList iterators.
8804 (appendParagraph): adjust
8805 (breakAgain): adjust
8806 (breakAgainOneRow): adjust
8807 (breakParagraph): adjust
8809 (getRowNearY): adjust, and remove commented code.
8811 * lyxtext.h (firstRow): delete function
8812 (lastRow): delete function
8813 (rows): new function (const and non-const versions.)
8814 (insertRow): delete function
8816 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8818 2003-03-29 John Levon <levon@movementarian.org>
8820 * BufferView_pimpl.C: always update scrollbar top
8821 because pasting text when we're anchored could mean we
8822 miss an update altogether
8824 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8826 * text2.C (init): use rowlist_.end() and not 0.
8827 (insertRow): change to take a RowList::iterator as arg, adjust
8829 (insertParagraph): change to take a RowList::iterator as arg,
8831 (redoParagraphs): remove some debug msgs.
8833 * text.C (appendParagraph): change to take a RowList::iterator
8834 arg, adjust for this.
8835 (breakAgain): add an assert
8836 (breakAgainOneRow): ditto
8838 2003-03-29 John Levon <levon@movementarian.org>
8840 * text2.C: do not clear selection after inc/decDepth
8843 2003-03-29 John Levon <levon@movementarian.org>
8846 * buffer.C: fix broken strerrors according to Lars
8848 2003-03-29 John Levon <levon@movementarian.org>
8850 * converters.C: more Alert cleanups
8852 2003-03-29 John Levon <levon@movementarian.org>
8854 * bufferview_funcs.C: remove pointless Alert
8856 * buffer.C: fix confusing error message when
8857 a template is chmoded 000
8859 2003-03-29 John Levon <levon@movementarian.org>
8863 * BufferView_pimpl.C: Alert fixes
8867 * tabular-old.C: remove unused table compat reading
8869 2003-03-29 John Levon <levon@movementarian.org>
8874 * lyx_cb.C: more Alert cleanups
8876 * lyxfunc.C: don't allow chktex if not latex document
8878 2003-03-29 John Levon <levon@movementarian.org>
8882 * buffer.C: warnings pushed down from support/,
8885 2003-03-29 John Levon <levon@movementarian.org>
8887 * lyxfunc.C: safety check for C-r (revert)
8889 2003-03-29 John Levon <levon@movementarian.org>
8892 * bufferlist.C: several UI fixes using Alert::prompt.
8893 Fix the pointless looping quit code. Fix stupid revert
8898 * lyx_cb.C: use Alert::prompt
8900 * lyx_main.C: remove a silly question
8902 * lyxfunc.C: remove a couple of silly questions,
8905 2003-03-28 John Levon <levon@movementarian.org>
8907 * text2.C: fix bug 974 (End on empty par)
8909 2003-03-28 John Levon <levon@movementarian.org>
8911 * BufferView_pimpl.C:
8913 * lfuns.h: remove do-nothing math greek lfuns
8915 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8917 * lyxgluelength.h (isValidGlueLength): add default arg on
8918 parameter 2. Remove default arg from friend in class.
8920 * lyxlength.h (isValidLength): add default arg on parameter 2.
8921 Remove default arg from friend in class.
8923 * text2.C (LyXText): adjust, initialize refresh_row.
8927 (insertParagraph): adjst
8928 (redoParagraphs): adjust
8929 (fullRebreak): adjust
8930 (updateCounters): adjust
8931 (deleteEmptyParagraphMechanism): first attempt at fixing a
8934 * text.C (top_y): adjust
8935 (setHeightOfRow): adjust
8937 (getRowNearY): adjust
8939 * lyxtext.h: include RowList.h
8940 (~LyXText): not needed anymore, deleted.
8941 (firstRow): modify for RowList
8942 (lastRow): new function
8943 Delete firstrow and lastrow class variables, add a Rowlist
8944 rowlist_ class variable.
8946 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8949 * RowList.C (insert): fix case where it == begin().
8951 2003-03-26 Angus Leeming <leeming@lyx.org>
8953 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8954 the thesaurus dialog.
8956 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8958 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8960 * RowList.[Ch]: new files
8962 * ParagraphList.C (erase): handle the case where it == begin
8965 2003-03-25 John Levon <levon@movementarian.org>
8969 * aspell.C: add new aspell support
8972 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8975 2003-03-25 Angus Leeming <leeming@lyx.org>
8978 * LyXAction.C (init): new LFUN_INSET_INSERT.
8980 * BufferView_pimpl.C (dispatch): split out part of the
8981 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8983 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8986 2003-03-25 Angus Leeming <leeming@lyx.org>
8988 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8990 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8993 * text3.C: remove useless row->height(0)
8995 2003-03-25 John Levon <levon@movementarian.org>
8999 * text3.C: rename the refreshing stuff to better names
9001 2003-03-24 John Levon <levon@movementarian.org>
9003 * BufferView_pimpl.h:
9004 * BufferView_pimpl.C: update layout choice on a mouse
9007 2003-03-23 John Levon <levon@movementarian.org>
9009 * Makefile.am: fix commandtags.h reference
9011 2003-03-22 John Levon <levon@movementarian.org>
9013 * BufferView_pimpl.C:
9018 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9020 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9023 * text.C: take the rtl methods out of line
9025 2003-03-21 André Pönitz <poenitz@gmx.net>
9027 * metricsinfo.[Ch]: new files containing structures to be passed around
9028 during the two-phase-drawing...
9030 2003-03-21 André Pönitz <poenitz@gmx.net>
9032 * lyxtextclass.C: read 'environment' tag.
9034 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9036 * text2.C (removeRow): fix bug 964
9038 2003-03-20 John Levon <levon@movementarian.org>
9042 * text2.C: paint cleanups. Inset::update() dropped font
9045 2003-03-19 John Levon <levon@movementarian.org>
9047 * lyxfunc.C: only fitcursor/markDirty if available()
9049 2003-03-19 John Levon <levon@movementarian.org>
9051 * commandtags.h: rename to ...
9053 * lfuns.h: ... this, and renumber / cleanup
9055 2003-03-19 John Levon <levon@movementarian.org>
9057 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9058 fit the cursor after an lfun
9062 * BufferView_pimpl.h:
9063 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9065 * LyXAction.C: layout-character should have ReadOnly
9067 * ParagraphParameters.C:
9069 * bufferview_funcs.C:
9076 * undo_funcs.C: changes from above
9078 2003-03-18 John Levon <levon@movementarian.org>
9080 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9081 remove it from update()
9083 * lyxfunc.C: update layout choice after an lfun
9085 * text3.C: remove extra updateLayoutChoice()s
9087 2003-03-18 John Levon <levon@movementarian.org>
9089 * text.C: top_y change means full repaint, fix
9090 a drawing bug with cursor movement
9092 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9096 * text2.C: anchor row on setCursor
9098 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9100 * lyxtext.h: remove almost all mutable keywords
9103 * text3.C: remove const keywords accordingly
9105 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9107 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9109 (TeXEnvironment): ditto
9112 2003-03-17 John Levon <levon@movementarian.org>
9114 * text.C (rowBreakPoint): remove attempt to fix displayed
9115 math insets inside a manual label
9117 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9119 * lyxtext.h: remove BufferView* as first arg from almost all class
9121 * other files: adjust.
9123 2003-03-17 John Levon <levon@movementarian.org>
9127 * text2.C: more paint cleanups
9129 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9132 * rowpainter.C: remove "smart" background painting code
9134 2003-03-16 John Levon <levon@movementarian.org>
9139 * text3.C: add helper functions for setting refresh_row/y
9141 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9143 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9144 newline inset which *can* get inserted in the pass_thru layouts.
9145 This is primarily for literate documents.
9147 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9149 * buffer.C: increment LYX_FORMAT to 223
9151 2003-03-14 André Pönitz <poenitz@gmx.net>
9153 * textclass.h: prepare for environment handling, ws changes
9154 * lyxlayout.C: read latexheader and latexfooter tags
9156 2003-03-14 John Levon <levon@movementarian.org>
9158 * text2.C: rewrite ::status() a bit
9160 2003-03-13 John Levon <levon@movementarian.org>
9162 * lyxtext.h: add some docs
9164 2003-03-13 John Levon <levon@movementarian.org>
9169 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9171 2003-03-13 John Levon <levon@movementarian.org>
9173 * text3.C: fix appendix redrawing
9175 2003-03-13 John Levon <levon@movementarian.org>
9177 * text.C (setHeightOfRow):
9179 * rowpainter.C: make appendix mark have the text
9180 "Appendix" so the user knows what it is
9183 * LColor.C: s/appendixline/appendix/ from above
9185 2003-03-13 John Levon <levon@movementarian.org>
9187 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9189 * text.C: fix a getChar(pos) bug properly
9191 2003-03-13 Angus Leeming <leeming@lyx.org>
9194 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9195 Probably only temporary. Let's see how things pan out.
9197 * BufferView.C (unlockInset):
9198 * BufferView_pimpl.C (fitCursor):
9199 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9201 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9202 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9204 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9205 new functions that convert ParagraphParameters to and from a string.
9207 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9208 BufferView::Pimpl's dispatch.
9209 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9211 2003-03-13 André Pönitz <poenitz@gmx.net>
9215 * factory.C: make it aware of InsetEnv
9217 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9219 * text2.C (setCursor): never ask for one past last
9220 (setCursor): add some debugging messages.
9222 * text.C (singleWidth): never ask for one past last
9223 (singleWidth): ditto
9225 (rightMargin): ditto
9226 (rowBreakPoint): ditto
9227 (setHeightOfRow): ditto
9228 (prepareToPrint): ditto
9230 * rowpainter.C (paintBackground): never ask for one past last
9231 (paintText): never ask for one past last
9233 * paragraph_pimpl.C (getChar): make the assert stricter, never
9234 allow the one past last pos to be taken
9236 * paragraph.C (getChar): ws changes only
9238 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9239 (numberOfSeparators): ditto
9240 (numberOfHfills): ditto
9242 2003-03-12 John Levon <levon@movementarian.org>
9248 * paragraph_funcs.C: fix per-buffer authorlists
9250 2003-03-12 John Levon <levon@movementarian.org>
9252 * text.C: fix newline in right address
9254 2003-03-12 Angus Leeming <leeming@lyx.org>
9256 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9257 duplicate those in LyXFunc::dispatch.
9261 * ToolbarDefaults.C:
9262 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9263 Add LFUN_FONTFREE_UPDATE.
9265 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9266 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9268 * bufferview_func.[Ch]: several new functions to facilliate
9269 transfer of data to and from the character dialog.
9271 2003-03-12 John Levon <levon@movementarian.org>
9276 * paragraph_funcs.C:
9277 * paragraph_pimpl.C:
9281 * text3.C: remove META_NEWLINE in favour of an inset
9284 * rowpainter.C: remove paintNewline (done by inset)
9286 2003-03-12 John Levon <levon@movementarian.org>
9288 * paragraph_pimpl.C: complain about bad getChar()s
9289 for a while at least
9291 2003-03-12 John Levon <levon@movementarian.org>
9294 * buffer.C: move paragraph read into a separate function,
9295 a little renaming to reflect that.
9298 * bufferparams.C: remove the author_ids map, not necessary now
9301 * factory.C: moved Buffer::readInset to here
9303 * paragraph_funcs.h:
9304 * paragraph_funcs.C: readParagraph free function moved from
9307 * tabular.C: name change
9309 2003-03-12 John Levon <levon@movementarian.org>
9312 * ParagraphParameters.C: move par params input to
9315 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9316 behave like a normal read from the stream wrt reading
9317 a line vs. a \\token
9319 2003-03-12 John Levon <levon@movementarian.org>
9322 * ParagraphParameters.h:
9323 * ParagraphParameters.C: move output code to a
9326 2003-03-12 John Levon <levon@movementarian.org>
9328 * BufferView.C (insertLyXFile):
9331 * tabular.C: use a parlist iterator for creating the
9334 2003-03-12 John Levon <levon@movementarian.org>
9336 * buffer.C: make current_change static local not
9339 2003-03-12 John Levon <levon@movementarian.org>
9341 * buffer.C: fix insertStringAsLines for change tracking
9343 2003-03-12 John Levon <levon@movementarian.org>
9350 * bufferparams.C: move author list into params. Rename some
9351 functions. Move the header reading into a separate token
9352 loop. Move the header token reading into BufferParams.
9354 2003-03-12 John Levon <levon@movementarian.org>
9356 * changes.C: put debug inside lyxerr.debugging() checks
9358 2003-03-11 André Pönitz <poenitz@gmx.net>
9360 * factory.C: make it aware of InsetHFill
9362 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9364 * buffer.C (latexParagraphs): move function from here...
9365 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9368 2003-03-10 Angus Leeming <leeming@lyx.org>
9370 * LyXAction.C (init): fix bug in poplating array with multiple entries
9371 with the same LFUN (spotted by JMarc).
9373 2003-03-10 John Levon <levon@movementarian.org>
9376 * text2.C: move getColumnNearX() near its
9379 2003-03-10 John Levon <levon@movementarian.org>
9381 * text.C: fix break before a minipage
9383 2003-03-10 John Levon <levon@movementarian.org>
9385 * text.C: fix the last commit
9387 2003-03-09 John Levon <levon@movementarian.org>
9391 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9392 bug 365 (don't break before insets unless needed). Don't
9393 return a value > last under any circumstances.
9395 2003-03-09 Angus Leeming <leeming@lyx.org>
9397 * BufferView_pimpl.C (trackChanges, dispatch): call
9398 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9400 2003-03-09 Angus Leeming <leeming@lyx.org>
9402 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9403 than Dialogs::showAboutlyx().
9405 2003-03-09 Angus Leeming <leeming@lyx.org>
9407 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9408 than Dialogs::showTabularCreate().
9410 2003-03-09 John Levon <levon@movementarian.org>
9414 * text2.C: 3rd arg to nextBreakPoint was always the same.
9417 2003-03-08 John Levon <levon@movementarian.org>
9424 * text2.C: Remove the "main" bit from the "main body"
9427 2003-03-08 John Levon <levon@movementarian.org>
9429 * text.C (leftMargin): The left margin of an empty
9430 manual label paragraph should not include the label width
9433 * text.C (prepareToPrint): don't attempt to measure hfills
9434 for empty manual label paragraphs - the answer should be 0
9436 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9438 * CutAndPaste.C: remove commented code and reindent.
9440 2003-03-08 John Levon <levon@movementarian.org>
9443 * lyxfunc.C: move reloadBuffer()
9446 * BufferView.C: to here
9448 * lyxvc.C: add comment
9451 * vc-backend.C: call bv->reload() to avoid
9452 getStatus() check on MENURELOAD
9454 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9456 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9457 to an old format .dep file.
9459 2003-03-07 Angus Leeming <leeming@lyx.org>
9461 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9462 when the LFUN_MOUSE_RELEASE should have been handled by
9463 inset->localDispatch.
9465 2003-03-07 Angus Leeming <leeming@lyx.org>
9467 * BufferView_pimpl.C (dispatch):
9468 * LyXAction.C (init):
9469 * ToolbarDefaults.C (init):
9471 * lyxfunc.C (getStatus):
9472 remove LFUN_INSET_GRAPHICS.
9474 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9476 2003-03-07 Angus Leeming <leeming@lyx.org>
9479 * LyXAction.C (init):
9480 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9482 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9485 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9487 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9488 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9490 2003-03-07 Angus Leeming <leeming@lyx.org>
9492 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9495 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9497 * ParagraphList.C (front): new function
9500 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9502 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9503 and top_row_offset_. removed var first_y.
9505 * text2.C (LyXText, removeRow):
9507 * BufferView_pimpl.C:
9508 use these methods instead of using first_y
9510 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9512 * text2.C (pasteSelection): adjust for checkPastePossible
9514 * CutAndPaste.C: remove Paragraph * buf and replace with
9515 ParagraphList paragraphs.
9516 (DeleteBuffer): delete
9517 (cutSelection): change the tc type to textclass_type
9518 (copySelection): change the tc type to textclass_type
9519 (copySelection): adjust for ParagraphList
9520 (pasteSelection): change the tc type to textclass_type
9521 (pasteSelection): adjust for Paragraphlist
9522 (nrOfParagraphs): simplify for ParagraphList
9523 (checkPastePossible): simplify for ParagraphList
9524 (checkPastePossible): remove unused arg
9526 * ParagraphList.C (insert): handle the case where there are no
9529 * CutAndPaste.h: make CutAndPaste a namespace.
9531 * text3.C (dispatch): adjust
9533 * text.C (breakParagraph): add a ParagraphList as arg
9535 * paragraph_funcs.C (breakParagraph): change to take a
9536 BufferParams and a ParagraphList as args.
9537 (breakParagraphConservative): ditto
9538 (mergeParagraph): ditto
9539 (TeXDeeper): add a ParagraphList arg
9540 (TeXEnvironment): ditto
9543 * buffer.C (readLyXformat2): adjust
9544 (insertStringAsLines): adjust
9545 (latexParagraphs): adjust
9547 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9548 (cutSelection): adjust
9549 (pasteSelection): adjust
9551 * BufferView_pimpl.C (insertInset): adjust
9553 2003-03-05 Angus Leeming <leeming@lyx.org>
9556 * LyXAction.C (init):
9557 * BufferView_pimpl.C (dispatch):
9558 * lyxfunc.C (getStatus):
9559 remove LFUN_CHILD_INSERT.
9561 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9563 2003-03-05 Angus Leeming <leeming@lyx.org>
9566 * LyXAction.C (init):
9567 * src/factory.C (createInset):
9568 * lyxfunc.C (getStatus):
9569 * text3.C (dispatch):
9570 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9572 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9574 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9576 * ParagraphList.C (insert): handle insert right before end()
9577 (erase): fix cases where it can be first or last paragraph.
9579 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9581 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9582 Paragraph::next and Paragraph::previous
9585 * text.C (breakParagraph): adjust
9587 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9588 BufferParams& as arg.
9589 (breakParagraph): use ParagraphList::insert
9590 (breakParagraphConservative): take a Buffer* instead of a
9591 BufferParams& as arg.
9592 (breakParagraphConservative): use ParagraphList::insert.
9594 * buffer.C (insertStringAsLines): un-const it
9595 (insertStringAsLines): adjust
9597 * ParagraphList.C (insert): new function
9599 * CutAndPaste.C (pasteSelection): adjust
9601 * text.C (backspace): adjust
9603 * tabular.C (SetMultiColumn): adjust
9605 * CutAndPaste.C (cutSelection): adjust
9606 (pasteSelection): adjust
9608 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9609 Buffer const * as arg
9611 * ParagraphList.C (erase): new function
9612 * paragraph_funcs.C (mergeParagraph): use it
9613 (mergeParagraph): make it take a Buffer* instead of a
9614 BufferParams* as arg
9616 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9618 (breakParagraphConservative): ditto
9620 * paragraph.h: remove the breakParagraph friend
9622 * paragraph.C (eraseIntern): new function
9623 (setChange): new function
9625 * paragraph_funcs.C (mergeParagraph): make it take a
9626 ParagraphList::iterator instead of a Paragraph *, adjust
9629 * paragraph.h: move an #endif so that the change tracking stuff
9630 also works in the NO_NEXT case.
9632 2003-03-04 Angus Leeming <leeming@lyx.org>
9635 * LyXAction.C: new LFUN_INSET_MODIFY.
9637 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9638 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9640 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9642 * several files: ws changes only
9644 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9645 (TeXEnvironment): ditto
9648 * buffer.C (makeLaTeXFile): adjust
9649 (latexParagraphs): make it take ParagraphList::iterator as args
9651 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9653 * buffer.C (latexParagraphs): adjust
9655 * paragraph.C (TeXOnePar): move function...
9656 (optArgInset): move function...
9657 (TeXEnvironment): move function...
9658 * paragraph_pimpl.C (TeXDeeper): move function...
9659 * paragraph_funcs.C: ...here
9661 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9663 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9665 * buffer.C (readInset): remove compability code for old Figure and
9668 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9670 * buffer.C: ws changes
9673 * BufferView_pimpl.C: ditto
9676 * bufferlist.h: ditto
9680 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9682 * converter.[Ch]: split into itself +
9685 * Makefile.am: += graph.[Ch] + format.[Ch]
9692 * lyxrc.C: added #include "format.h"
9694 2003-02-27 Angus Leeming <leeming@lyx.org>
9696 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9699 * factory.C (createInset): add "label" to the factory.
9701 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9702 string and do no more.
9704 2003-02-27 Angus Leeming <leeming@lyx.org>
9707 * LyXAction.C (init):
9708 * factory.C (createInset):
9709 * BufferView_pimpl.C (dispatch):
9710 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9712 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9714 * lyxfunc.C (dispatch):
9715 * text3.C (dispatch): pass name to params2string.
9717 2003-02-26 Angus Leeming <leeming@lyx.org>
9719 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9721 Rearrange the ~includes. Strip out the unnecessary ones.
9723 * factory.C (createInset): reformat.
9724 create new insets for the various LFUN_XYZ_APPLY lfuns.
9726 2003-02-26 John Levon <levon@movementarian.org>
9729 * lyxrow.C: add isParStart,isParEnd helpers
9731 * paragraph.h: make isInserted/DeletedText take refs
9733 * paragraph_funcs.h:
9734 * paragraph_funcs.C: remove #if 0'd code
9739 * text.C: use lyxrow helpers above.
9740 Move draw and paint routines to RowPainter.
9741 Make several methods use refs not pointers.
9742 Make backgroundColor() const.
9743 Add markChangeInDraw(), isInInset().
9744 Merge changeRegionCase into changeCase.
9745 Make workWidth() shouldn't-happen code into an Assert.
9748 * rowpainter.C: new class for painting a row.
9751 * vspace.C: make inPixels take a ref
9753 2003-02-26 Angus Leeming <leeming@lyx.org>
9755 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9758 2003-02-25 John Levon <levon@movementarian.org>
9760 * ispell.C: give the forked command a more accurate name
9762 2003-02-22 John Levon <levon@movementarian.org>
9765 * toc.C: make TocItem store an id not a Paragraph *
9768 2003-02-21 Angus Leeming <leeming@lyx.org>
9770 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9771 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9772 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9773 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9774 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9775 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9777 * BufferView_pimpl.C (dispatch):
9778 * LyXAction.C (init):
9779 * factory.C (createInset):
9780 * lyxfunc.C (getStatus, dispatch):
9781 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9783 2003-02-21 Angus Leeming <leeming@lyx.org>
9785 * BufferView_pimpl.C (MenuInsertLyXFile):
9786 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9787 * lyxfunc.C (menuNew, open, doImport):
9788 no longer pass a LyXView & to fileDlg.
9790 2003-02-21 Angus Leeming <leeming@lyx.org>
9792 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9793 * LyXAction.C: change, BIBKEY to BIBITEM.
9794 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9795 Change InsetBibKey to InsetBibitem.
9796 Change BIBKEY_CODE to BIBITEM_CODE.
9797 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9798 * factory.C: replace insetbib.h with insetbibitem.h.
9799 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9800 * paragraph.C: replace insetbib.h with insetbibitem.h.
9801 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9802 Change bibkey() to bibitem().
9803 * text.C: remove insetbib.h.
9804 * text2.C: replace insetbib.h with insetbibitem.h.
9805 change bibkey() to bibitem().
9806 * text3.C: remove insetbib.h.
9807 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9809 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9811 * lyxrc.C (output): enclose user email in quotes (in case there are
9814 2003-02-18 John Levon <levon@movementarian.org>
9816 * buffer.h: add std::
9818 2003-02-17 John Levon <levon@movementarian.org>
9824 * pspell.C: reworking. Especially in ispell, a large
9825 number of clean ups and bug fixes.
9827 * lyxfunc.C: fix revert to behave sensibly
9829 2003-02-17 André Pönitz <poenitz@gmx.net>
9832 * commandtags.h: new LFUN_INSERT_BIBKEY
9842 * paragraph_func.C: remove special bibkey handling
9844 2003-02-17 John Levon <levon@movementarian.org>
9846 * text.C (Delete): fix case where delete at the end of
9847 the very first paragraph would not merge the pars
9849 2003-02-17 John Levon <levon@movementarian.org>
9851 * lyxrow.C: fix lastPrintablePos()
9853 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9855 * bufferparams.C (writeLaTeX): add a std:here
9857 * buffer.C: and remove a using directive there
9859 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9861 * buffer.C (makeLaTeXFile): move the code that generates the
9864 * bufferparams.C (writeLaTeX): ... in this new method
9866 * LaTeXFeatures.C (getEncodingSet): make const
9867 (getLanguages): make const
9869 * MenuBackend.C (binding): returns the binding associated to this
9871 (add): sets the status of each item by calling getStatus. Adds
9873 (read): add support for OptSubMenu
9874 (expand): remove extra separator at the end of expanded menu
9876 2003-02-15 John Levon <levon@movementarian.org>
9879 * BufferView_pimpl.C:
9881 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9882 inset code that had no actual effect. Remove unneeded status
9885 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9887 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9890 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9892 * text.C (drawLengthMarker): also draw an arrow marker for
9893 symbolic lengths (medskip...)
9895 2003-02-14 John Levon <levon@movementarian.org>
9898 * tabular.C: better method names
9900 2003-02-14 John Levon <levon@movementarian.org>
9902 * BufferView_pimpl.C:
9907 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9908 it's a more accurate name. Remove some pointless uses.
9910 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9912 * text2.C (LyXText): change order of initilizers to shut off
9915 2003-02-14 John Levon <levon@movementarian.org>
9917 * buffer.C: use ParIterator for getParFromID()
9921 * paragraph_pimpl.h:
9922 * paragraph_pimpl.C: remove unused getParFromID()
9924 2003-02-14 John Levon <levon@movementarian.org>
9926 * buffer.C: remove some very old #if 0'd parse code
9928 2003-02-13 John Levon <levon@movementarian.org>
9932 * text2.C: move hfillExpansion(), numberOfSeparators(),
9933 rowLast(), rowLastPrintable(), numberofHfills(),
9934 numberOfLabelHfills() ...
9937 * lyxrow.C: ... to member functions here.
9942 * text.C: remove LyXText::beginningOfMainBody(), and call
9943 p->beginningOfMainBody() directly. Move the check for
9944 LABEL_MANUAL into the latter.
9951 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9957 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9958 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9960 2003-02-13 John Levon <levon@movementarian.org>
9962 * CutAndPaste.C: remove debug
9964 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9966 * paragraph.C (asString): remove two unused variables
9968 * lyxtextclass.C (readTitleType):
9970 (LyXTextClass): handle new members titletype_ and titlename_
9972 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9974 2003-02-09 John Levon <levon@movementarian.org>
9977 * buffer.C: replace hand-coded list with a map for the dep clean
9979 2003-02-08 John Levon <levon@movementarian.org>
9981 * LaTeX.C: consolidate code into showRunMessage() helper
9983 2003-02-08 John Levon <levon@movementarian.org>
9988 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9989 and pass the size in explicitly
9991 * BufferView_pimpl.h:
9992 * BufferView_pimpl.C:
9994 * BufferView.C: add getCurrentChange()
9996 * BufferView_pimpl.h:
9997 * BufferView_pimpl.C: handle change lfuns
9999 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10000 for changes. Mark pasted paragraphs as new.
10002 * support/lyxtime.h:
10003 * support/lyxtime.C:
10004 * DepTable.C: abstract time_t as lyx::time_type
10007 * LColor.C: add colours for new text, deleted text, changebars
10009 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10010 package use "usenames" option.
10014 * LyXAction.C: add change lfuns
10018 * author.C: author handling
10021 * buffer.C: add a per-buffer author list, with first entry as
10022 current author. Handle new .lyx tokens for change tracking. Output
10023 author list to .lyx file. Output dvipost stuff to .tex preamble.
10024 Bump lyx format to 222.
10027 * bufferlist.C: add setCurrentAuthor() to reset current author details
10031 * bufferparams.C: add param for tracking
10033 * bufferview_funcs.C: output change info in minibuffer
10037 * changes.C: add change-tracking structure
10040 * debug.C: add CHANGES debug flag
10043 * lyxfind.C: add code for finding the next change piece
10046 * lyxrc.C: add user_name and user_email
10049 * lyxrow.C: add a metric for the top of the text line
10052 * text.C: implement accept/rejectChange()
10055 * text.C: paint changebars. Paint new/deleted text in the chosen
10056 colours. Strike through deleted text.
10060 * paragraph_pimpl.h:
10061 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10062 in the current change to the insert functions. Rework erase to
10063 mark text as deleted, adding an eraseIntern() and a range-based
10064 erase(). Implement per-paragraph change lookup and
10067 * paragraph_funcs.C: Fixup paste for change tracking.
10069 * tabular.C: mark added row/columns as new.
10071 * text.C: fix rowLast() to never return -1. Don't allow
10072 spellchecking of deleted text. Track transpose changes. Don't
10073 allow paragraph break or merge where appropriate.
10075 * text2.C: leave cursor at end of selection after a cut.
10077 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10079 * text.C (getLengthMarkerHeight):
10080 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10081 visible on screen too.
10083 2003-02-07 John Levon <levon@movementarian.org>
10085 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10087 2003-02-05 Angus Leeming <leeming@lyx.org>
10089 * lyxserver.C (read_ready): revert my patch of 11 September last year
10090 as it sends PC cpu through the roof. Presumably this means that
10091 the lyxserver will no longer run on an Alpha...
10093 2003-01-30 Angus Leeming <leeming@lyx.org>
10095 * factory.C (createInset): create an InsetCommandParam of type "index"
10096 and use it to 'do the right thing'.
10098 * text2.C (getStringToIndex): ensure that cursor position is always
10099 reset to the reset_cursor position.
10101 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10103 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10106 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10110 * lyxfunc.C: Output messages with identical spelling, punctuation,
10113 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10115 * MenuBackend.C (expandFormats): List only viewable export formats
10118 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10121 * lyxfunc.C (getStatus): Make sure that formats other than
10122 "fax" can also be disabled
10124 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10126 * text3.C (dispatch): put the lfuns that insert insets in 3
10127 groups, and call doInsertInset with appropriate arguments.
10128 (doInsertInset): new function, that creates an inset and inserts
10129 it according to some boolean parameters.
10131 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10133 * buffer.C (readFile): remember to pass on 'par' when calling
10134 readFile recursively.
10136 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10138 * MenuBackend.C (expandFormats): add "..." to import formats.
10140 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10142 * paragraph.C (asString): Remove XForms RTL hacks.
10144 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10145 * buffer.C: fix typo
10147 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10149 * Makefile.am (LIBS): delete var
10150 (lyx_LDADD): add @LIBS@ here instead.
10152 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10154 * Clarify the meaning of "wheel mouse jump"
10156 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10158 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10161 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10163 * importer.C (Loaders): do not preallocate 3 elements in the
10164 vector, since one ends up with 6 elements otherwise
10166 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10168 * DepTable.C (write): write the file name as last element of the
10169 .dep file (because it may contain spaces)
10170 (read): read info in the right order
10172 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10174 * paragraph_pimpl.C (simpleTeXBlanks):
10175 (simpleTeXSpecialChars):
10176 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10178 * tabular.C (latex): add some missing case statements. Reindent.
10180 * MenuBackend.C (expandToc): remove unused variable.
10182 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10191 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10194 2003-01-05 John Levon <levon@movementarian.org>
10197 * BufferView.C: add getEncoding()
10200 * kbsequence.C: do not store last keypress
10203 * lyxfunc.C: store last keypress here instead. Pass encoding
10206 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10208 * lyx_main.C (init): remove annoying error message when following
10209 symbolic links (bug #780)
10211 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10213 * text.C (insertChar):
10214 * lyxrc.C (getDescription): remove extra spaces
10216 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10218 * lyxrc.C (getDescription): remove extra spaces
10220 2002-12-20 John Levon <levon@movementarian.org>
10222 * text3.C: hack fix for page up/down across tall rows
10224 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10226 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10229 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10231 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10232 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10233 thesaurus is not compiled in
10235 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10237 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10239 2002-12-16 Angus Leeming <leeming@lyx.org>
10242 * lyx_main.C (init): remove override_x_deadkeys stuff.
10244 2002-12-12 John Levon <levon@movementarian.org>
10246 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10247 insert. Only remove shift modifier under strict
10250 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10252 * MenuBackend.C (expandToc): fix crash.
10254 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10256 * MenuBackend.C (expandToc): gettext on float names.
10258 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10260 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10261 implement bool empty() [bug 490]
10263 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10265 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10267 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10269 * several files: ws changes
10271 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10273 * text2.C (setCounter): clean up a bit, use boost.format.
10274 (updateCounters): initialize par upon declaration.
10276 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10277 if the layout exists. We do not just store the layout any more.
10278 (SwitchLayoutsBetweenClasses): use boost.format
10280 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10282 * converter.C (convert): if from and to files are the same, use a
10283 temporary files as intermediary
10285 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10288 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10290 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10292 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10294 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10296 * tabular.C (asciiPrintCell): use string(size, char) instead of
10299 * sgml.C (openTag): fix order of arguments to string constructor
10302 * lyxfunc.C (dispatch): use boost.format
10304 * lots of files: change "c" -> 'c'
10306 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10308 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10310 2002-11-25 Angus Leeming <leeming@lyx.org>
10312 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10314 * lyx_main.C (init): compile fix.
10316 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10318 * lyx_cb.C (start): boost.formatify
10319 do not include <iostream>
10321 * lengthcommon.C: ws only
10323 * boost-inst.C,BoostFormat.h: add more explict instantations
10325 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10327 * lots of files: handle USE_BOOST_FORMAT
10329 2002-11-21 John Levon <levon@movementarian.org>
10331 * pspell.C: fix compile
10333 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10335 * lyxfunc.C (dispatch): use boost::format
10339 * lyxfont.C (stateText): use boost::format
10341 * lyx_main.C (LyX): use boost::format
10343 (queryUserLyXDir): ditto
10344 (readRcFile): ditto
10346 (typedef boost::function): use the recommened syntax.
10348 * importer.C (Import): use boost::format
10350 * debug.C (showLevel): use boost::format
10352 * converter.C (view): use boost::format
10357 * bufferview_funcs.C (currentState): use boost::format
10359 * bufferlist.C (emergencyWrite): use boost::format
10361 * buffer.C (readLyXformat2): use boost::format
10362 (parseSingleLyXformat2Token): ditto
10364 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10366 * LaTeX.C (run): use boost::format
10368 * Chktex.C (scanLogFile): use boost::format
10370 * BufferView_pimpl.C (savePosition): use boost::format
10371 (restorePosition): ditto
10372 (MenuInsertLyXFile): ditto
10374 * BoostFormat.h: help file for explicit instation.
10376 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10378 * tabular.C (latex): Support for block alignment in fixed width
10381 2002-11-17 John Levon <levon@movementarian.org>
10383 * BufferView_pimpl.C:
10385 * lyxfunc.C: split filedialog into open/save
10387 2002-11-08 Juergen Vigna <jug@sad.it>
10389 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10390 by my last patch (hopefully).
10392 2002-11-08 John Levon <levon@movementarian.org>
10401 * toc.C: ParConstIterator, and use it (from Lars)
10403 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10405 * lyxtextclass.[Ch]: revise and add doxygen comments
10407 2002-11-07 John Levon <levon@movementarian.org>
10409 * text.C: fix progress value for spellchecker
10411 * toc.C: fix navigate menu for insetwrap inside minipage
10413 * paragraph_funcs.C: added FIXME for suspect code
10415 2002-11-07 John Levon <levon@movementarian.org>
10417 * BufferView_pimpl.C: fix redrawing of insets
10420 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10422 * text2.C (updateCounters): fix bug 668
10424 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10426 * text3.C (dispatch): Do not make the buffer dirty when moving the
10429 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10431 * vc-backend.C: STRCONV
10432 (scanMaster): ditto
10434 * text2.C (setCounter): STRCONV
10436 * paragraph.C (asString): STRCONV
10438 * lyxlength.C (asString): STRCONV
10439 (asLatexString): ditto
10441 * lyxgluelength.C (asString): STRCONV
10442 (asLatexString): ditto
10444 * lyxfunc.C (dispatch): STRCONV
10447 * lyxfont.C (stateText): STRCONV
10449 * importer.C (Import): STRCONV
10451 * counters.C (labelItem): STRCONV
10452 (numberLabel): ditto
10453 (numberLabel): remove unused ostringstream o
10458 * bufferview_funcs.C (currentState): STRCONV
10460 * buffer.C (readFile): STRCONV
10461 (asciiParagraph): ditto
10462 (makeLaTeXFile): ditto
10464 * Spacing.C (writeEnvirBegin): STRCONV
10466 * LaTeXFeatures.C (getLanguages): STRCONV
10467 (getPackages): ditto
10469 (getBabelOptions): ditto
10470 (getTClassPreamble): ditto
10471 (getLyXSGMLEntities): ditto
10472 (getIncludedFiles): ditto
10476 (scanAuxFile): ditto
10479 * LString.h: add the STRCONV macros
10481 * BufferView_pimpl.C (savePosition): STRCONV
10482 (restorePosition): ditto
10483 (MenuInsertLyXFile): ditto
10485 * vc-backend.C (scanMaster): change from submatch[...] to
10488 * funcrequest.C: include config.h
10490 * factory.C: include config.h
10492 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10494 * box.C: include config.h
10496 * LaTeX.C (scanAuxFile): change from submatch[...] to
10500 2002-10-25 Angus Leeming <leeming@lyx.org>
10502 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10504 * ispell.[Ch] (setError): new method.
10505 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10506 Use setError() insetead of goto END.
10508 * lyx_cb.C (AutoSave): move out child process into new class
10511 2002-10-30 John Levon <levon@movementarian.org>
10513 * text3.C: make start appendix undoable
10515 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10517 * lyxlength.C (inPixels): Fix returned value.
10519 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10522 2002-10-24 Angus Leeming <leeming@lyx.org>
10524 * lyxgluelength.h: no need to forward declare BufferParams
10525 or BufferView, so don't.
10527 2002-10-21 John Levon <levon@movementarian.org>
10529 * BufferView.C: menuUndo ->undo, redo
10531 * BufferView.h: document, remove dead, make some methods private
10533 * paragraph_funcs.h:
10534 * paragraph_funcs.C:
10535 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10540 * sgml.C: move sgml open/close tag into sgml.C
10542 * bufferview_funcs.h: unused prototype
10545 * lyxfunc.C: remove unused
10548 * text.C: remove unused
10550 2002-10-21 John Levon <levon@movementarian.org>
10554 * BufferView_pimpl.h:
10555 * BufferView_pimpl.C: fix mouse wheel handling based on
10556 patch from Darren Freeman
10558 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10560 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10562 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10564 * lyxlength.C (inPixels): Fix hanfling of negative length.
10565 Fix LyXLength::MU case.
10567 2002-10-16 John Levon <levon@movementarian.org>
10569 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10571 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10573 * converter.C (view): add support for $$i (file name) and $$p
10574 (file path) for the viewer command. If $$i is not specified, then
10575 it is appended to the command (for compatibility with old syntax)
10577 2002-10-14 Juergen Vigna <jug@sad.it>
10579 * undo_funcs.C (textHandleUndo): alter the order in which the
10580 new undopar is added to the LyXText, as we have to set first
10581 the right prev/next and then add it as otherwise the rebuild of
10582 LyXText is not correct. Also reset the cursor to the right paragraph,
10583 with this IMO we could remove the hack in "redoParagraphs()".
10585 2002-10-09 Angus Leeming <leeming@lyx.org>
10587 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10588 to turn off an optimisation if a new inset is to be inserted.
10590 2002-10-11 André Pönitz <poenitz@gmx.net>
10592 * lyxtext.h: make some functions public to allow access
10593 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10595 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10597 * text3.C (dispatch): when changing layout, avoid an infinite loop
10600 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10602 * lyxrc.C (read): treat a viewer or converter command of "none" as
10605 * MenuBackend.C (expandFormats): for an update, also allow the
10606 formats that are not viewable
10608 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10609 script if it is newer than the lyxrc.defaults in user directory
10611 2002-10-07 André Pönitz <poenitz@gmx.net>
10613 * text.C: Vitaly Lipatov's small i18n fix
10615 2002-09-25 Angus Leeming <leeming@lyx.org>
10617 * ispell.h: doxygen fix.
10619 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10621 * buffer.h (readFile): Add a new argument to the method, to allow
10622 reading of old-format templates.
10624 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10626 * toc.C (getTocList): Get TOC from InsetWrap.
10628 2002-09-16 John Levon <levon@movementarian.org>
10630 * lyxfunc.C: check tabular for cut/copy too
10632 2002-09-12 John Levon <levon@movementarian.org>
10634 * LyXAction.C: tidy
10637 * factory.C: add header
10639 * paragraph_funcs.h:
10640 * paragraph_funcs.C: cleanup
10642 2002-09-11 John Levon <levon@movementarian.org>
10644 * PrinterParams.h: odd/even default to true
10646 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10648 * PrinterParams.h: update printer parameters for new xforms dialog
10650 2002-09-11 Angus Leeming <leeming@lyx.org>
10652 * lyxserver.C (read_ready): re-write to make it more transparent
10653 and to make it work in coherent fashion under Tru64 Unix.
10655 2002-09-11 André Pönitz <poenitz@gmx.net>
10659 * text3.C: implement LFUN_WORDSEL
10661 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10663 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10664 make floatlist_ a boost::shared_ptr<FloatList>
10666 * lyxtextclass.C: include FloatList.h
10667 (LyXTextClass): initialize floatlist_
10668 (TextClassTags): add TC_NOFLOAT
10669 (Read): match "nofloat" to TC_NOFLOAT and use it.
10670 (readFloat): modify call to floatlist_
10674 * FloatList.[Ch] (FloatList): remove commented out float
10676 (erase): new function
10678 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10680 * MenuBackend.C (expandToc): fix crash when there is no document
10683 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10685 * many files: Add insetwrap.
10687 2002-09-09 John Levon <levon@movementarian.org>
10689 * text2.C: remove confusing and awkward depth wraparound
10691 2002-09-09 John Levon <levon@movementarian.org>
10693 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10696 * buffer.C: remove getIncludeonlyList()
10699 * lyxfunc.C: remove headers
10701 2002-09-09 Juergen Vigna <jug@sad.it>
10703 * text.C (getColumnNearX): fix form Michael this is most
10704 probably a cut&paste bug.
10706 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10708 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10710 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10711 references, ws changes.
10713 * text2.C (init): update counters after init
10714 (insertParagraph): no need to set counter on idividual paragraphs.
10715 (setCounter): access the counters object in the textclass object
10716 on in the buffer object.
10717 (updateCounters): ditto
10719 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10720 shared_ptr<Counters> to avoid loading counters.h in all
10722 (LyXTextClass): initialize ctrs_
10723 (TextClassTags): add TC_COUNTER, and ...
10724 (Read): use it here.
10725 (CounterTags): new tags
10726 (readCounter): new function
10727 (counters): new funtion
10728 (defaultLayoutName): return a const reference
10730 * counters.C (Counters): remove contructor
10731 (newCounter): remove a couple of unneeded statements.
10732 (newCounter): simplify a bit.
10733 (numberLabel): some small formatting changes.
10735 * buffer.[Ch]: remove all traces of counters, move the Counters
10736 object to the LyXTextClass.
10738 2002-09-06 Alain Castera <castera@in2p3.fr>
10740 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10741 package to set the horizontal alignment on fixed width columns.
10744 * lyx_sty.h: added tabularnewline macro def.
10746 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10748 2002-09-06 John Levon <levon@movementarian.org>
10750 * LyXAction.C: tooltips for sub/superscript
10752 * MenuBackend.C: a bit more verbose
10754 * lyxfunc.C: tiny clean
10756 * undo_funcs.C: document undo_frozen
10758 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10760 * counters.C (Counters): add missing algorithm counter.
10762 * text2.C (setCounter): lookup the counter with layouts latexname
10763 instead of by section number.
10764 (setCounter): use a hackish way to lookup the correct enum
10766 a float name->type change
10767 reset enum couners with counter name directly instead of depth value.
10769 * counters.C (Counters): remove the push_backs, change to use the
10770 float type not the float name.
10771 (labelItem): remove unused string, float name->type change
10773 * counters.h: don't include vector, loose the enums and sects vectors
10775 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10777 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10778 (Read): add float->TC_FLOAT to textclassTags
10779 (Read): and handle it in the switch
10780 (readFloat): new function
10782 * FloatList.C (FloatList): comment out the hardcoded float
10785 * lyxlayout.h: ws change.
10787 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10789 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10791 2002-09-03 Angus Leeming <leeming@lyx.org>
10793 * BufferView_pimpl.h: qualified name is not allowed in member
10794 declaration: WorkArea & Pimpl::workarea() const;
10796 * factory.C: added using std::endl directive.
10798 * text3.C: added using std::find and std::vector directives.
10800 2002-08-29 André Pönitz <poenitz@gmx.net>
10803 * text2.C: remove unused member number_of_rows
10806 * BufferView2.C: remove file, move contents to...
10807 * BufferView.C: ... here
10809 * BufferView_pimpl.C:
10810 * factory.C: move more inset creation to factory
10812 * vspace.C: avoid direct usage of LyXText, ws changes
10815 don't provide direct access to WorkArea, use two simple
10816 acessors haveSelction() and workHeight() instead
10819 2002-08-29 John Levon <levon@movementarian.org>
10821 * BufferView_pimpl.C (dispatch): do not continue when
10824 2002-08-28 André Pönitz <poenitz@gmx.net>
10826 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10829 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10831 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10833 * buffer.C: increment LYX_FORMAT to 221
10835 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10836 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10838 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10840 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10842 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10844 * factory.C (createInset): use LyXTextClass::floats
10846 * MenuBackend.C (expandFloatListInsert):
10847 (expandFloatInsert):
10850 * text2.C (setCounter):
10852 * LaTeXFeatures.C (useFloat):
10853 (getFloatDefinitions):
10855 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10857 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10858 floatlist_, with accessor floats().
10860 * FloatList.h: remove global FloatList
10862 2002-08-26 André Pönitz <poenitz@gmx.net>
10864 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10868 * BufferView_pimpl.C:
10869 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10871 2002-08-25 John Levon <levon@movementarian.org>
10873 * LyXAction.C: fix margin note description
10875 2002-08-24 John Levon <levon@movementarian.org>
10879 * bufferview_funcs.C:
10881 * undo_funcs.C: cleanups
10883 * lyxfunc.C: disable CUT/COPY when no selection
10885 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10887 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10888 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10890 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10891 Add backward compatibility to "mono", "gray" and "no".
10893 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10895 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10896 (and file_format >= 200).
10898 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10900 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10902 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10904 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10906 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10908 * BufferView_pimpl.C:
10915 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10916 inset and code to make it work with the paragraph code. The inset
10917 can be anywhere in the paragraph, but will only do the expected
10918 thing in LaTeX if the layout file contains the parameter line
10920 (or more generally, a nonzero value) for that layout.
10922 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10924 * paragraph.h: remove the declaration of undefined counters class
10927 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10929 * text2.C (setCounter): fixed enumeration mis-count as reported by
10930 Dr. Richard Hawkins.
10932 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10934 * paragraph_funcs.h: remove some unneeded includes
10936 * text.C (backspace): pasteParagraph now in global scipe
10938 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10939 (pasteSelection): ditto
10941 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10942 * paragraph_funcs.C (pasteParagraph): ... here
10944 2002-08-20 André Pönitz <poenitz@gmx.net>
10946 * commandtags.h: new LFUNs for swapping/copying table row/colums
10949 * lyxfunc.C: support for new lfuns
10951 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10954 * buffer.[Ch]: remove NO_COMPABILITY stuff
10956 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10958 * boost.C (throw_exception): new file, with helper function for
10959 boost compiled without exceptions.
10964 * ParameterStruct.h:
10965 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10967 * bufferlist.C (emergencyWriteAll): use boost bind
10969 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10971 * text.C: include paragraph_funcs.h
10972 (breakParagraph): breakParagraph is now in global scope
10974 * paragraph_funcs.[Ch]: new files
10976 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10979 * buffer.C: include paragraph_funcs.h
10980 (insertStringAsLines): breakParagraph is now in global scope
10982 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10985 * CutAndPaste.C: include paragraph_funcs.h
10986 (cutSelection): breakParagraphConservative is now in global scope
10987 (pasteSelection): ditto
10989 * buffer.h: declare oprator== and operator!= for
10990 Buffer::inset_iterator
10992 * bufferlist.C (emergencyWrite): don't use fmt(...)
10994 * text3.C: add using std::endl
10996 * BufferView.C (moveCursorUpdate): remove default arg
10998 2002-08-20 André Pönitz <poenitz@gmx.net>
11000 * buffer.[Ch]: move inline functions to .C
11003 * BufferView_pimpl.C:
11005 * buffer.[Ch]: use improved inset_iterator
11008 * paragraph.[Ch]: write one paragraph at a time
11010 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11012 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11013 style if style is not specified.
11015 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11017 * text2.C (setCounter): when searching for right label for a
11018 caption, make sure to recurse to parent insets (so that a caption
11019 in a minipage in a figure float works) (bug #568)
11021 2002-08-20 André Pönitz <poenitz@gmx.net>
11023 * text3.C: new file for LyXText::dispatch() and helpers
11025 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11027 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11029 2002-08-19 André Pönitz <poenitz@gmx.net>
11032 * text.C: new LyXText::dispatch()
11034 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11036 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11038 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11040 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11043 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11045 * Makefile.am: use $(variables) instead of @substitutions@
11047 2002-08-15 André Pönitz <poenitz@gmx.net>
11050 * BufferView_pimpl.C: streamlining mathed <-> outer world
11054 * LyXAction.C: remove unused LFUN_MATH
11056 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11058 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11060 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11062 * paragraph.C (Paragraph): reformat a bit
11063 (cutIntoMinibuffer): use builtin InsetList function instad of
11067 * buffer.C: include boost/bind.hpp, add using std::for_each
11068 (writeFileAscii): use ParagraphList iterators
11069 (validate): use for_each for validate traversal of paragraphs
11070 (getBibkeyList): use ParagraphList iterators
11071 (resizeInsets): use for_each to resizeInsetsLyXText for all
11073 (getParFromID): use ParagraphList iterators
11075 * BufferView2.C (lockInset): use paragraph list and iterators
11077 2002-08-14 John Levon <levon@movementarian.org>
11079 * lyxserver.C: remove spurious xforms include
11081 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11083 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11085 2002-08-13 André Pönitz <poenitz@gmx.net>
11088 * lyxfunc.C: further cleaning
11090 2002-08-13 André Pönitz <poenitz@gmx.net>
11092 * funcrequest.h: new constructor
11094 * funcrequest.C: move stuff here from .h
11097 * BufferView_pimpl.C:
11100 * lyxfunc.C: subsequent changes
11102 * lyxfunc.h: new view() member function
11104 * lyxfunc.C: subsequent changes
11106 2002-08-13 Angus Leeming <leeming@lyx.org>
11109 * BufferView_pimpl.C:
11117 changes due to the changed LyXView interface that now returns references
11118 to member variables not pointers.
11120 2002-08-13 Angus Leeming <leeming@lyx.org>
11122 * WordLangTuple (word, lang_code): return references to strings,
11127 * lyxtext.h: forward-declare WordLangTuple.
11132 * text.C: #include "WordLangTuple.h".
11135 * text.C: (selectNextWordToSpellcheck): constify return type.
11137 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11143 * paragraph_pimpl.h:
11146 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11147 suggested by Angus.
11148 Made updateCounter always count from start of buffer, and removed
11149 second argument (par).
11150 Reverted floats number display to '#'. Perhaps I'll try again when the
11151 code base is sanitized a bit.
11153 2002-08-12 Angus Leeming <leeming@lyx.org>
11155 * buffer.[Ch] (getLabelList): constify.
11157 2002-08-07 André Pönitz <poenitz@gmx.net>
11159 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11161 * funcrequest.h: extension to keep mouse (x,y) position
11163 2002-08-12 Juergen Vigna <jug@sad.it>
11165 * BufferView2.C (insertErrors): forbid undo when inserting error
11168 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11170 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11172 * ParagraphList.[Ch]: new files
11174 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11176 * BufferView2.C (lockInset): ParagraphList changes
11179 * bufferlist.C: ditto
11183 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11185 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11186 unused class variable counter_,
11188 * paragraph.[Ch] (getFirstCounter): delete unused function
11190 * counters.C: include LAssert.h
11191 (reset): add a new function with no arg, change other version to
11192 not have def. arg and to not allow empty arg.
11194 * text2.C (setCounter): remove empty arg from call to Counters::reset
11196 2002-08-11 John Levon <levon@movementarian.org>
11198 * Makefile.am: add WordLangTuple.h
11200 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11202 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11203 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11205 * insets/insettext.C: InsetList changes
11207 * graphics/GraphicsSupport.C (operator()): InsetList changes
11209 * toc.C (getTocList): InsetList changes
11211 * paragraph_pimpl.[Ch]: InsetList changes
11213 * paragraph.[Ch]: InsetList changes
11215 * buffer.C (inset_iterator): InsetList changes
11216 (setParagraph): ditto
11217 * buffer.h (inset_iterator): ditto
11218 * iterators.C (operator++): ditto
11219 * iterators.h: ditto
11221 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11223 * InsetList.[Ch]: new files, most InsetList handling moved out of
11226 * BufferView2.C (removeAutoInsets): InsetList changes
11228 (ChangeInsets): ditto
11230 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11232 * paragraph_pimpl.h (empty): new function
11234 * paragraph.[Ch] (empty): new function
11236 * other files: use the new Paragraph::empty function
11238 2002-08-09 John Levon <levon@movementarian.org>
11240 * lyxtext.h: remove unused refresh_height
11242 2002-08-09 John Levon <levon@movementarian.org>
11249 * paragraph.C: move sgml char escaping out of paragraph
11252 * paragraph.C: remove id setter
11256 * paragraph_pimpl.C: remove dead tex_code_break_column
11258 * bufferview_funcs.C: small cleanup
11260 * lyxfunc.C: remove dead proto
11262 * lyxtext.h: make some stuff private. Remove some dead stuff.
11264 * lyxgluelength.C: make as[LyX]String() readable
11266 2002-08-08 John Levon <levon@movementarian.org>
11271 * ToolbarDefaults.C:
11274 * toc.C: lyxaction cleanup
11276 2002-08-08 John Levon <levon@movementarian.org>
11278 * BufferView2.C: small cleanup
11281 * lyxfind.C: move unnecessary header into the .C
11283 2002-08-08 John Levon <levon@movementarian.org>
11285 * funcrequest.h: just tedious nonsense
11288 * lyx_main.C: cleanups
11291 * vspace.C: remove dead header lyx_main.h
11293 2002-08-07 Angus Leeming <leeming@lyx.org>
11296 * paragraph_pimpl.h:
11297 Forward declare class Counters in paragraph.h by moving the ctrs member
11298 variable into Paragraph::Pimpl.
11299 (counters): new method, returning a reference to pimpl_->ctrs.
11301 * text2.C: ensuing changes.
11303 2002-08-07 John Levon <levon@movementarian.org>
11305 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11307 * BufferView_pimpl.C: announce X selection on double/triple
11310 * lyx_main.C: use correct bool in batch dispatch
11312 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11314 2002-08-07 André Pönitz <poenitz@gmx.net>
11316 * funcrequest.h: new class to wrap a kb_action and its argument
11319 * BufferView_pimpl[Ch]:
11323 * lyxrc.C: subsequent changes
11326 2002-08-07 John Levon <levon@movementarian.org>
11328 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11329 document options change.
11331 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11336 * makefile.am: move counters functionality over from
11337 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11339 2002-08-06 John Levon <levon@movementarian.org>
11341 * WordLangTuple.h: new file for word + language code tuple
11352 * BufferView2.C: use WordLangTuple
11355 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11357 2002-08-06 John Levon <levon@movementarian.org>
11359 * lyx_main.C: fix cmdline batch handling
11361 2002-08-06 André Pönitz <poenitz@gmx.net>
11363 * lyxrc.C: set default for show_banner to true
11365 2002-08-06 John Levon <levon@movementarian.org>
11367 * pspell.C: fix a crash, and allow new aspell to work
11369 2002-08-06 John Levon <levon@movementarian.org>
11372 * kbmap.C: small cleanup
11375 * vspace.C: add const
11377 2002-08-05 John Levon <levon@movementarian.org>
11379 * LyXAction.C: back to tabular-insert
11381 2002-08-04 John Levon <levon@movementarian.org>
11384 * BufferView.C: cosmetic change
11386 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11396 * BufferView2.C: purge all "Lyx" not "LyX" strings
11399 * lyxcursor.C: attempt to add some documentation
11404 * ToolbarDefaults.C:
11405 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11406 merge with LFUN_TABULAR_INSERT
11413 * pspell.C: split up i/pspell implementations into separate
11414 files, many cleanups
11416 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11418 * text2.C: some cleanup
11420 * lyxfunc.C: don't check for isp_command == "none" any more, it
11421 didn't make any sense
11423 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11428 * makefile.am: move counters functionality over
11429 from text2.C/paragraph.[Ch] to counters.[Ch], and
11431 2002-08-02 John Levon <levon@movementarian.org>
11433 * buffer.C: s/lyxconvert/lyx2lyx/
11435 2002-08-02 Angus Leeming <leeming@lyx.org>
11437 * lyxlex.C: revert John's change as it breaks reading of the user
11440 2002-08-02 Angus Leeming <leeming@lyx.org>
11442 * importer.C (Import):
11443 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11444 changes due to LyXView::view() now returning a boost::shared_ptr.
11446 2002-08-02 John Levon <levon@movementarian.org>
11448 * lyxlex.C: small cleanup
11450 2002-08-02 John Levon <levon@movementarian.org>
11452 * text2.C (status): small cleanup, no logic change
11454 2002-08-01 John Levon <levon@movementarian.org>
11457 * buffer.C (writeFile): don't output alerts, caller
11461 * lyx_cb.C: from above
11463 * lyxfunc.C: allow to open non-existent files
11465 2002-07-31 John Levon <levon@movementarian.org>
11467 * lyxserver.C: don't let incidental errors get
11470 2002-07-30 John Levon <levon@movementarian.org>
11472 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11474 2002-07-30 John Levon <levon@movementarian.org>
11477 * lyxserver.C: remove I/O callback too
11479 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11481 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11484 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11486 * many files: strip,frontStrip -> trim,ltrim,rtrim
11488 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11490 * PrinterParams.h: remove extern containsOnly, and include
11491 support/lstrings.h instead.
11493 * LaTeX.C (scanAuxFile): modify because of strip changes
11495 * buffer.C (makeLaTeXFile): ditto
11496 * bufferparams.C (writeFile): ditt
11497 * lyxfont.C (stateText): ditto
11498 * lyxserver.C (read_ready): ditto
11499 * vc-backend.C (scanMaster): ditto
11501 * BufferView_pimpl.h: ws changes
11503 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11505 2002-07-26 André Pönitz <poenitz@gmx.net>
11507 * kb_sequence.C: remove unnedred usings
11509 2002-07-26 Juergen Vigna <jug@sad.it>
11511 * lyxfind.C (LyXReplace): we have to check better if the returned
11512 text is not of theLockingInset()->getLockingInset().
11514 2002-07-25 Juergen Vigna <jug@sad.it>
11516 * lyxfind.C (LyXReplace): don't replace if we don't get the
11519 * undo_funcs.C (createUndo): remove debugging code.
11521 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11523 * buffer.C (parseSingleLyXformat2Token): Use default placement
11524 when reading old floats.
11526 * FloatList.C (FloatList): Change the default placement of figure
11527 and tables to "tbp".
11529 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11531 * MenuBackend.C: using std::max
11533 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11535 * MenuBackend.C (expandToc):
11536 (expandToc2): code moved from xforms menu frontend. It is now
11537 generic and TOCs are transparent to menu frontends.
11539 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11541 * toc.C (getTocList): protect against buf=0
11543 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11544 Menu as first parameter. Now, this calls itself recursively to
11545 expand a whole tree (this will be useful for TOC handling)
11546 (expandFloatInsert): remove 'wide' version of floats
11548 * MenuBackend.h (submenuname): returns the name of the submenu.
11549 (submenu): returns the submenu itself, provided it has been
11550 created by MenuBackend::expand
11552 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11554 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11555 insets which have noFontChange == true. (bug #172)
11557 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11559 * BufferView_pimpl.C: add connection objects and use them...
11562 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11564 * MenuBackend.C (expandLastfiles):
11567 (expandFloatListInsert):
11568 (expandFloatInsert):
11569 (expand): split expand in parts
11571 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11573 * lyx_gui.C: use lyx_gui::exit()
11575 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11577 * LyXAction.C: show the failing pseudo action
11579 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11581 * buffer.C (readFile): Run the lyxconvert script in order to read
11584 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11588 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11590 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11594 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11596 2002-07-22 Herbert Voss <voss@lyx.org>
11599 * lyxlength.[Ch]: add support for the vertical lengths
11601 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11603 * toc.[Ch]: std:: fixes
11605 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11607 * lyxrc.C: do not include lyx_main.h
11609 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11615 * BufferView2.C: include "lyxlex.h"
11618 * bufferparams.h: do not #include "lyxlex.h"
11620 * lyxtextclasslist.C (Add): remove method
11621 (classlist): renamed to classlist_
11623 * paragraph_pimpl.C:
11627 * bufferview_funcs.C:
11632 * toc.C (getTocList): use BufferParams::getLyXTextClass
11634 * toc.C (getTocList): use InsetFloat::addToToc
11636 * toc.[Ch]: new files, containing helper functions to handle table
11639 * lyxfunc.C (dispatch): no need to remove spaces around command
11641 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11642 first command of the sequence; it is not very clever, but I do not
11643 have a better idea, actually
11645 * LyXAction.C (LookupFunc): make sure to remove space at the
11646 beginning and end of the command
11648 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11650 * MenuBackend.C (getMenubar): new method: return the menubar of
11652 (read): treat differently reading of menu and menubar (in
11653 particular, the menubar has no name now)
11654 (Menu::menubar): remove
11656 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11659 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11661 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11662 a bibitem inset in a RTL paragraph.
11664 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11666 * paragraph_pimpl.C: constify
11668 * BufferView_pimpl.C:
11670 * lyxfunc.C: fix dispatch in a nicer way
11672 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11674 * lyxfunc.C (dispatch):
11675 * BufferView_pimpl.C:
11676 * BufferView_pimpl.h:
11678 * BufferView.h: rename Dispatch() to dispatch()
11680 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11682 * lyxlayout.C (Read): honor DependsOn tag
11684 * lyxlayout.[Ch] (depends_on): new method
11686 * version.C.in: update lyx_docversion
11688 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11690 * paragraph.C (validate): remove from here...
11691 * paragraph_pimpl.C (validate): ... and move here
11692 (isTextAt): make it const
11694 * buffer.C (getLists): ws cleanup
11696 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11698 * language.C (read): Use iso8859-1 encoding in latex_lang
11699 (this prevents LyX from crashing when using iso10646-1 encoding).
11701 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11703 * text2.C (toggleInset): if cursor is inside an inset, close the
11704 inset and leave cursor _after_ it
11706 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11708 * lyxfunc.C: move minibuffer completion handling out of here
11710 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11712 * BufferView_pimpl.C:
11713 * LaTeX.C: fix dispatch calls
11715 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11717 * text.C (drawChars): Fix Arabic text rendering.
11719 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11723 * lyxfunc.C: remove message-push/pop
11727 * lyxfunc.C: rationalise some code by removing verboseDispatch
11728 in favour of a bool argument to dispatch()
11730 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11732 * lyx_main.C (init): make sure to read symlinks as absolute paths
11734 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11737 * lyxfunc.C: no need for commandshortcut to be a member
11739 2002-07-15 André Pönitz <poenitz@gmx.net>
11741 * converter.C: add support for $$s (scripts from lib/scripts dir)
11742 * lyx_main.C: white space
11744 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11748 * lyxrc.C: remove second exit confirmation
11750 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11755 * BufferView_pimpl.h:
11756 * BufferView_pimpl.C:
11757 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11759 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11761 * MenuBackend.C (expand): add numeric shortcuts to document menu
11763 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11765 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11767 * lyxfont.C (setLyXFamily):
11774 * buffer.C (asciiParagraph): use ascii_lowercase
11776 2002-07-15 Mike Fabian <mfabian@suse.de>
11778 * lyxlex_pimpl.C (search_kw):
11779 * lyxlex.C (getLongString):
11780 * converter.h (operator<):
11781 * converter.C (operator<):
11782 * buffer.C (parseSingleLyXformat2Token):
11784 * ToolbarDefaults.C (read):
11785 * MenuBackend.C (checkShortcuts):
11787 * LColor.C (getFromGUIName):
11788 (getFromLyXName): use the compare_ascii_no_case instead of
11789 compare_no_case, because in turkish, 'i' is not the lowercase
11790 version of 'I', and thus turkish locale breaks parsing of tags.
11792 2002-07-16 Angus Leeming <leeming@lyx.org>
11794 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11795 now takes a Buffer const & argument.
11797 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11799 * BufferView.C (resize): check there's a buffer to resize
11801 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11803 * lyxfunc.C: remove dead code
11806 * lyxserver.C: use lyx_guii::set_read_callback
11808 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11810 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11811 an inset in a RTL paragraph.
11813 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11815 * lyxfunc.C: repaint after a font size update
11817 2002-07-15 André Pönitz <poenitz@gmx.net>
11819 * lyxlength.C: inBP should be able to return negative values
11821 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11823 * lyxfunc.C: use lyx_gui::update_fonts()
11825 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11827 * lyxfunc.C: use lyx_gui::update_color()
11829 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11835 * lyxrc.C: remove file->new asks for name option, and let
11836 buffer-new take an argument
11838 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11840 * BufferView_pimpl.C: remove unneeded extra repaint()
11842 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11844 * LyXAction.C: allow command-sequence with NoBuffer
11846 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11848 2002-07-10 Angus Leeming <leeming@lyx.org>
11850 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11852 2002-07-09 Angus Leeming <leeming@lyx.org>
11854 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11856 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11858 * lengthcommon.h: whitespace
11860 * lyxfunc.C: update scrollbar after goto paragraph
11862 * lyxtext.h: factor out page break drawing, and fix it so
11863 page break/added space paints as selected nicely
11865 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11867 * BufferView_pimpl.C: add FIXMEs, clean up a little
11869 2002-07-09 André Pönitz <poenitz@gmx.net>
11871 * lyxfont.[Ch]: support for wasy symbols
11873 2002-07-08 André Pönitz <poenitz@gmx.net>
11875 * BufferView_pimpl.C: apply John's patch for #93.
11877 2002-07-05 Angus Leeming <leeming@lyx.org>
11879 * BufferView_pimpl.C (buffer): generate previews if desired.
11881 * LColor.h: add "preview" to the color enum.
11883 * LColor.C (LColor): add a corresponding entry to the items array.
11885 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11888 2002-07-05 Angus Leeming <leeming@lyx.org>
11890 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11891 The body of the code is now in the method that is passed an ostream &
11892 rather than a file name.
11893 Pass an additional only_preamble parameter, useful for the forthcoming
11896 2002-07-03 André Pönitz <poenitz@gmx.net>
11898 * lyxfunc.C: simplify getStatus() a bit for math stuff
11900 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11902 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11904 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11906 * text.C (changeRegionCase): do not change case of all the
11907 document when region ends at paragraph end (bug #461)
11909 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11911 * paragraph.C (startTeXParParams):
11912 (endTeXParParams): add \protect when necessary
11914 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11916 * BufferView_pimpl.C (workAreaExpose): remove warning
11918 2002-06-27 Angus Leeming <leeming@lyx.org>
11920 * Makefile.am: add lyxlayout_ptr_fwd.h.
11922 2002-06-26 André Pönitz <poenitz@gmx.net>
11924 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11926 2002-06-25 Angus Leeming <leeming@lyx.org>
11928 * lyxfunc.C (dispatch): Comment out the call to
11929 grfx::GCache::changeDisplay. The method no longer exists now that the
11930 pixmap generation part of the graphics loader has been moved into
11933 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11935 * text2.C: layout as layout
11937 * text.C: layout as layout
11939 * tabular.C (OldFormatRead): layout as layout
11941 * paragraph_pimpl.C (TeXDeeper): layout as layout
11942 (realizeFont): layout as layout
11944 * paragraph.C (writeFile): layout as layout
11945 (validate): layout as layout
11946 (getFont): layout as layout
11947 (getLabelFont): layout as layout
11948 (getLayoutFont): layout as layout
11949 (breakParagraph): layout as layout
11950 (stripLeadingSpaces): layout as layout
11951 (getEndLabel): layout as layout
11952 (getMaxDepthAfter): layout as layout
11953 (applyLayout): layout as layout
11954 (TeXOnePar): layout as layout
11955 (simpleTeXOnePar): layout as layout
11956 (TeXEnvironment): layout as layout
11957 (layout): layout as layout
11958 (layout): layout as layout
11960 * lyxtextclass.C (compare_name): new functor to work with
11961 shared_ptr, layout as layout
11962 (Read): layout as layout
11963 (hasLayout): layout as layout
11964 (operator): layout as layout
11965 (delete_layout): layout as layout
11966 (defaultLayout): layout as layout
11968 * lyxlayout_ptr_fwd.h: new file
11970 * lyxlayout.C (Read): layout as layout
11972 * lyx_cb.C (MenuInsertLabel): layout as layout
11974 * bufferlist.C (newFile): layout as layout
11976 * buffer.C (readLyXformat2): layout as layout
11977 (parseSingleLyXformat2Token): layout as layout
11978 (insertStringAsLines): layout as layout
11979 (asciiParagraph): layout as layout
11980 (latexParagraphs): layout as layout
11981 (makeLinuxDocFile): layout as layout
11982 (simpleLinuxDocOnePar): layout as layout
11983 (makeDocBookFile): layout as layout
11984 (simpleDocBookOnePar): layout as layout
11985 (getLists): layout as layout
11987 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11989 * CutAndPaste.C (cutSelection): layout as layout
11990 (pasteSelection): layout as layout
11991 (SwitchLayoutsBetweenClasses): layout as layout
11993 * BufferView_pimpl.C (Dispatch): layout as layout
11994 (smartQuote): layout as layout
11996 * BufferView2.C (unlockInset): layout as layout
11998 2002-06-24 André Pönitz <poenitz@gmx.net>
12000 * lyxfunc.C: fix #487
12002 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12006 * lyxfunc.C: remove display_shortcuts, show_banner
12008 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12010 * Buffer_pimpl.C: oops, update on resize
12012 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12019 * BufferView.C: use repaint()
12021 * BufferView_pimpl.h:
12022 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12023 as it's a clearer description. Remove superfluous
12026 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12028 * text.C: fix bug 488. Not ideal, but getting
12029 getWord() to work properly for the insets that
12030 matter is more difficult ...
12032 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12034 * BufferView_pimpl.C:
12037 * lyxfunc.C: remove the six million index lyxfuncs to just
12038 one, and DTRT (bug 458)
12040 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12044 * BufferView_pimpl.h:
12045 * BufferView_pimpl.C: clean up resize() stuff,
12046 and unnecessary updateScreen()s
12048 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12052 * BufferView_pimpl.h:
12053 * BufferView_pimpl.C:
12056 * minibuffer.C: remove focus management of workarea,
12057 not needed. Use screen's greyOut()
12059 2002-06-17 Herbert Voss <voss@lyx.org>
12061 * converter.C: (convert) do not post a message, when converting
12062 fails, let the calling function decide what to do in this case
12064 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12066 * lyxfunc.C: tidy up a little
12068 2002-06-16 <alstrup@diku.dk>
12070 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12071 Got rid of FORMS_H_LOCATION include. Now we are
12074 2002-06-15 LyX Development team <lyx@rilke>
12076 * buffer.[Ch] (sgmlOpenTag):
12077 (sgmlCloseTag): Added support for avoiding pernicious mixed
12078 content. Return number of lines written.
12080 (makeLinuxDocFile):
12081 (makeDocBookFile): Fixed calls to sgml*Tag.
12082 Simple white space clean.
12084 (simpleDocBookOnePar): Simple white space clean.
12086 * tabular.[Ch] (docBook): Renamed to docbook and got another
12087 argument to related with the pernicious mixed content.
12089 (docbookRow): Fixed calls for docbook inset method.
12091 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12093 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12094 so it's X11 independent.
12098 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12100 2002-06-15 Lyx Development team <lyx@electronia>
12102 * intl.h: Renamed getTrans to getTransManager.
12104 2002-06-14 Angus Leeming <leeming@lyx.org>
12106 * Makefile.am: nuke forgotten stl_string_fwd.h.
12108 2002-06-12 Angus Leeming <leeming@lyx.org>
12110 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12112 2002-06-13 Angus Leeming <leeming@lyx.org>
12115 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12117 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12119 * kbmap.C (getiso): add support for cyrillic and greek
12121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12125 * BufferView_pimpl.h:
12126 * BufferView_pimpl.C: move bogus scrolling logic
12129 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12132 * BufferView_pimpl.C: view->resize() change
12134 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12136 * BufferView_pimpl.C: topCursorVisible
12139 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12143 * lyx_gui.C: move to frontends/
12147 * lyx_main.C: changes from above
12149 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12156 * lyx_main.C: minor tidy
12158 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12160 * BufferView_pimpl.h:
12161 * BufferView_pimpl.C:
12163 * BufferView.C: make painter() const,
12166 * BufferView2.C: use screen() accessor
12169 * lyx_main.C: some minor cleanup
12171 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12173 * BufferView_pimpl.h:
12174 * BufferView_pimpl.C: remove enter/leaveView,
12177 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12182 * BufferView_pimpl.h:
12183 * BufferView_pimpl.C: only construct screen once,
12186 * lyxrc.C: remove pointless comment
12188 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12191 * BufferView.C: remove active() and belowMouse()
12193 * BufferView_pimpl.h:
12194 * BufferView_pimpl.C: use workarea() not workarea_,
12195 and make it use a scoped_ptr instead
12197 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12199 * lyx_gui.C: add debug message on BadWindow
12201 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12203 * sp_spell.C: fdopen is not part of the C++ standard.
12205 * paragraph.C (InsetIterator): use >= instead of ==
12207 2002-06-07 Angus Leeming <leeming@lyx.org>
12209 Fixes needed to compile with Compaq cxx 6.5.
12210 * BufferView_pimpl.C:
12217 * lyxtextclasslist.C:
12222 all c-library variables have been moved into namespace std. Wrap
12223 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12228 Add a using std::abs declaration.
12230 * kbmap.h (modifier_pair):
12231 * paragraph.h (InsetTable, InsetList):
12232 * lyxfont.h (FontBits):
12233 type definition made public.
12235 * bufferlist.C (emergencyWriteAll): the compiler complains that
12236 there is more than one possible lyx::class_fun template to choose from.
12237 I re-named the void specialisation as lyx::void_class_fun.
12239 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12241 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12242 the compiler is is unable to find tostr in write_attribute.
12244 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12246 * buffer.C (sgmlError): hide #warning
12248 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12250 * xtl/*: get rid of xtl, which is not in use anyway
12252 * LyXAction.C (init):
12253 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12254 were unimplemented xtl experimentation
12256 2002-06-04 André Pönitz <poenitz@gmx.net>
12258 * lyxfunc.C: disable array operation on simple formulae
12260 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12262 * converter.C: constify a bit
12264 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12266 * lyx_gui.C: check xforms version correctly
12268 2002-04-30 Herbert Voss <voss@lyx.org>
12270 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12273 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12275 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12276 attempt to register it with a VCS)
12278 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12280 * lyx_main.C (init): honor variables LYX_DIR_13x and
12283 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12287 * lyx_main.C: fix a crash on bad command line,
12288 and give a useful exit status on error
12290 * lyxfunc.C (doImport): allow -i lyx to work
12292 2002-03-30 André Pönitz <poenitz@gmx.net>
12294 * lyxfunc.C: mathed font changes
12296 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12311 * trans_mgr.h: srcdocs, and some minor cleanups
12313 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12315 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12316 call getFont all the time)
12318 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12320 * switch from SigC signals to boost::signals
12322 2002-05-29 André Pönitz <poenitz@gmx.net>
12324 * paragraph_pimpl.C (getChar): don't call size() too often...
12326 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12328 * paragraph_pimpl.C (insertChar): do not try to update tables when
12329 appending (pos == size())
12331 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12332 in order to reduce drastically the number of comparisons needed to
12333 parse a large document
12335 2002-05-29 André Pönitz <poenitz@gmx.net>
12341 * textclasslist.[Ch]:
12342 * sp_ispell.h: whitespace change
12344 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12346 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12347 lyxaction directly now.
12349 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12353 * lyxvc.C: remove unused headers
12355 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12362 * undo_funcs.C: some cleanups. Use shared_ptr
12363 and a template for the undo stacks.
12365 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12367 * BufferView_pimpl.h:
12368 * BufferView_pimpl.C:
12375 * text2.C: use key_state/mouse_state
12377 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12379 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12382 * chset.C: change include order
12383 (loadFile): use boost regex and get rid of LRegex and LSubstring
12385 * Makefile.am (BOOST_LIBS): new variable
12386 (lyx_LDADD): use it
12388 * LaTeX.C: change include order.
12389 (scanAuxFile): use boost regex and get rid of LRegex and
12393 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12398 * FontInfo.C: moved to frontends/xforms/
12401 * FontLoader.C: moved into frontends for GUIIzation
12406 * lyxfunc.C: changes from above
12408 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12410 * LColor.C: remove spurious X include
12412 * BufferView_pimpl.C:
12417 * text2.C: move font metrics to frontends/
12419 2002-05-24 Juergen Vigna <jug@sad.it>
12421 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12422 setting the undo_cursor.
12424 * ParagraphParameters.h: include local includes first.
12426 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12428 * BufferView_pimpl.C:
12429 * BufferView_pimpl.h:
12433 * screen.C: move WorkArea into frontends/
12439 * BufferView2.C: move LyXScreen into frontends/
12443 * lyx_gui.C: move lyxlookup into frontends/xforms/
12445 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12448 * BufferView_pimpl.C:
12458 * bufferview_funcs.C:
12471 * vc-backend.C: move LyX/XFormsView into frontends/
12473 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12485 * text2.C: move Painter to frontends/
12487 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12489 * buffer.C: comment out some some code that depend upon lyx_format
12492 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12493 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12495 * buffer.h (NO_COMPABILITY): turn off compability
12497 * ColorHandler.C: include scoped_array.hpp
12499 * font.C: Use more specific smart_ptr header.
12502 * ShareContainer.h: ditto
12503 * lyx_main.h: ditto
12505 * FontInfo.h: ditto
12506 * BufferView_pimpl.h: ditto
12507 * ColorHandler.h: ditto
12509 * kbmap.C (defkey): change call to shared_ptr::reset
12511 2002-05-21 Juergen Vigna <jug@sad.it>
12513 * buffer.C (insertErtContents): fix to insert ert asis if it is
12514 non empty. Skip it completely if it contains only whitespaces.
12516 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12518 * BufferView_pimpl.C:
12519 * BufferView2.C: clear selection on paste (bug 393)
12521 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * DepTable.C: include ctime
12525 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12527 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12529 2002-05-14 Juergen Vigna <jug@sad.it>
12531 * text.C (breakParagraph): fixed function to honor the keepempty
12532 layout in the right maner and also to permit the right breaking
12533 algorithm on empty or non empyt keepempty paragraphs.
12535 * paragraph.C (breakParagraph): we have to check also if the par
12536 is really empty (!size()) for isempty otherwise we do the wrong
12539 2002-05-10 Juergen Vigna <jug@sad.it>
12541 * buffer.[Ch] : The following are only changes to the ert
12542 compatibility read reading old LaTeX layout and font stuff and
12543 convert it to ERTInsets.
12545 * buffer.h: added isErtInset().
12547 * buffer.C (struct ErtComp): add a fromlayout bool to check
12548 if we're inside a LaTeX layout.
12549 (isErtInset): new helper function.
12550 (insertErtContents): look for other ert insets before this one
12551 and insert the contents there, so that we don't have subsequent
12552 ERT insets with nothing between them. This way we create only one
12553 inset with multiple paragraphs. Also check if we don't insert only
12554 spaces ' ' as they are ignored anyway afterwards in the .tex file
12555 so if we have only spaces we will ignore this latex part in the
12557 (parseSingleLyXformat2Token \\layout): better compatibility when
12558 reading layout-latex stuff.
12559 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12561 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12562 stuff after reading the inset only get the information back from
12565 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12567 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12569 * LaTeXFeatures.C (getBabelOptions): New method.
12571 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12573 * BufferView_pimpl.C (Dispatch): work around missing argument for
12576 2002-05-08 Juergen Vigna <jug@sad.it>
12578 * text.C (leftMargin): handle paragraph leftindent.
12580 * paragraph.C (writeFile): write the new \\leftindent tag.
12581 (validate): handle leftindent code.
12582 (TeXEnvironment): handle paragraphleftindent code again.
12584 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12586 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12587 for paragrap_extra indent code and new token \\leftindent.
12588 (latexParagraphs): handle the leftindent as environment.
12590 * ParameterStruct.h: added leftindent support.
12592 * ParagraphParameters.C (leftIndent): added support functions for
12593 the paragraph left indent.
12595 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12598 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12600 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12603 * text.C (computeBidiTables): No bidi in insetERT.
12605 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12608 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * version.C.in: pre 5
12612 2002-05-02 José Matos <jamatos@fep.up.pt>
12613 * buffer.C (makeDocBookFile): white space changes, add newline to
12615 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12617 * tabular.C (docBook): fix typo.
12619 2002-05-03 Juergen Vigna <jug@sad.it>
12621 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12622 change in LyXText as we can not be sure it was not freed.
12623 (drawOneRow): remove unused code.
12625 * text.C (drawInset): redo the calculation of the need_break_row as
12626 it could have a row which was already freed.
12627 (draw): look at the return value of drawInset and return false if
12628 it also returned false.
12629 (paintRowText): look at the return value of draw and return false if
12630 it also returned false.
12632 * lyxtext.h: added bool return type to drawInset() and draw() so that
12633 if we have a change in the row so that the rowbreak has to be redone
12634 we abort drawing as it will be called again.
12636 2002-05-02 Juergen Vigna <jug@sad.it>
12638 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12639 a change in the maintext also if we're inside an inset.
12640 (Dispatch): set the cursor again after a break line and after the
12641 screen has been updated as it could be we're in a different row.
12643 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12644 to set the cursor behind the pargraph with > size().
12645 (setCursor): check also for the same paragraph when checking where
12646 to put the cursor if we have a NFR inset.
12648 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12649 parts of layout read further up as it still was in the wrong
12652 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12654 * screen.C (drawFromTo): change sine fullRebreak always return
12657 * buffer.C (parseSingleLyXformat2Token): reindent some
12659 * BufferView_pimpl.C (update): change since fullRebreak always
12661 (Dispatch): git rid of the last hardcoded "Standard"s.
12663 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12665 * text2.[Ch] (fullRebreak): make it return void now that we always
12668 2002-04-30 Juergen Vigna <jug@sad.it>
12670 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12671 ert compatibility check for "latex" layout.
12673 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12675 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12676 minipages: use col% instead of p%, and also use the current font.
12677 (makeLaTeXFile): Fix use babel condition.
12678 (parseSingleLyXformat2Token): Correct font when reading old floats.
12680 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12682 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12683 inserting list of floats.
12685 2002-04-25 Herbert Voss <voss@lyx.org>
12687 * MenuBackend.C (expand): don't add the graphics extensions to the
12690 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12692 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12693 non-existing layout, do not complain if it was the default layout
12694 of the original class (bug #342)
12696 2002-04-24 Juergen Vigna <jug@sad.it>
12698 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12699 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12701 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12703 * buffer.C (getBibkeyList): If using \bibliography, return the
12704 option field with the reference itself. Enables us to provide natbib
12705 support when using \bibliography.
12707 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12709 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12711 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12712 natbib is provided by the LaTeX class.
12714 2002-04-23 Juergen Vigna <jug@sad.it>
12716 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12719 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12721 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12723 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12725 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12726 ensuremath around textordmasculine, textordfeminine and
12729 2002-04-19 Juergen Vigna <jug@sad.it>
12731 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12732 reinitializing the buffer otherwise row-dimensions may be wrong.
12733 (update): reset also the selection cursors if they do exits otherwise
12734 their x/y positions may be wrong.
12736 * text2.C (cursorDown): don't enter the inset if we came from a row
12737 above and are one row over the inset.
12739 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12740 really leaving an inset.
12742 2002-04-18 Juergen Vigna <jug@sad.it>
12744 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12745 of the selected paragraph does not have the selected layout also if
12748 * text2.C (setLayout): fixed bug which did not change last selected
12751 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12752 changed the read and substituted \\end_float with \\end_inset!
12754 * BufferView_pimpl.C (cursorPrevious):
12755 (cursorNext): fixed to make it work with rows heigher than the work
12756 area without moving the cursor only the draw of the row.
12757 (workAreaMotionNotify): fix jumping over high rows.
12759 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12761 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12764 2002-04-16 Juergen Vigna <jug@sad.it>
12766 * text2.C (setCursor): set also the irow().
12767 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12769 (cursorDown): support for locking an inset if the x_fix value goes
12770 inside it. That way I can transverse insets too with cursor up/down.
12772 * lyxrow.h: added irow helper function same as other (i) functions.
12774 * BufferView_pimpl.C (cursorPrevious):
12775 (cursorNext): fixed for insets!
12777 2002-04-15 Juergen Vigna <jug@sad.it>
12779 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12780 position otherwise it is wrong in some cases.
12782 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12783 inside the inset before the call.
12785 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12787 * buffer.[Ch] (getBibkeyList): make it const.
12789 2002-04-12 Juergen Vigna <jug@sad.it>
12791 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12793 * text2.C (getCursorX): new helper function
12794 (setCursor): compute also ix_
12795 (setCursorFromCoordinates): set also ix.
12797 * lyxcursor.h: added ix_ and helper functions.
12799 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12801 * buffer.C (insertStringAsLines): dont break paragraph if the this
12802 paragraph is inside an inset which does not permit it!
12804 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12805 also with no chars on this paragraph.
12806 (paintRowText): only paint stuff if it's inside the workarea!
12808 * paragraph.C (breakParagraph): honor keepempty flag and break the
12809 paragraph always below not above.
12811 * BufferView2.C (unlockInset): update the paragraph layout on inset
12812 unlock as we changed paragraph in such a case.
12814 * lyxfind.C (LyXFind): clear the former selection if not found!
12816 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12817 again called in insertChar().
12819 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12820 an inset which uses the whole row!
12821 (rightMargin): ditto.
12822 (insertChar): force a rebreak if we inserted an inset!
12824 2002-03-28 Herbert Voss <voss@lyx.org>
12826 * lyxlength.[Ch]: add inBP() to get the right PS-point
12827 units (BigPoint). With inPixels we have rounding errors
12829 2002-04-11 Juergen Vigna <jug@sad.it>
12831 * text2.C (setCursorFromCoordinates): set iy to the right value.
12832 (setCursor): add check if row->previous exists!
12834 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12835 an old float_type as this was the case in the old code!
12837 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12839 * BufferView2.C (showLockedInsetCursor): use iy
12840 (fitLockedInsetCursor): ditto
12842 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12843 locked insets as there we have the right value now.
12845 * lyxcursor.C: added iy_ variable and iy functions to set to the
12846 baseline of cursor-y of the locked inset.
12848 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12849 (setCursor): fixed for insets which need a full row.
12851 * text.C (rowLastPrintable): don't ignore the last space when before
12852 an inset which needs a full row.
12853 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12854 as last character of a row when before a inset which needs a full row.
12856 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12858 * version.C.in: update date
12860 * text2.C (fullRebreak): try to always return true and see what
12863 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12865 * MenuBackend.C (expand): use Floating::listName
12867 * FloatList.C (FloatList): add listName argument to the built-in
12870 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12871 text associated with the float.
12873 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12875 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12877 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12879 * ShareContainer.h: add a couple of missing typenames.
12881 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12883 * lyxrc.C (getDescription): use _() correctly rather than N_().
12885 2002-03-28 Herbert Voss <voss@lyx.org>
12887 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12888 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12890 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12892 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12893 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12895 2002-03-29 Juergen Vigna <jug@sad.it>
12897 * lyxfunc.C (dispatch): add a missing fitCursor call.
12899 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12900 it was scrolled by a cursor move, so return the bool status.
12902 * BufferView.C (fitCursor): return the bool flag also to the outside
12903 world as this is needed.
12905 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12907 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12908 call the edit() as it is not needed (and wrong) IMO.
12909 (workAreaButtonPress): set the screen_first variable before evt.
12910 unlock the inset as this may change screen_first and then we have
12911 a wrong y position for the click!
12913 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12915 * MenuBackend.C (expand): another translation that I missed
12917 2002-03-28 Juergen Vigna <jug@sad.it>
12919 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12921 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12923 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12925 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12927 * MenuBackend.C (expand): fix export/view/update when there is no
12930 2002-03-27 Herbert Voss <voss@lyx.org>
12932 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12935 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12937 * bufferview_funcs.C (currentState): only show paragraph number
12938 for is DEVEL_VERSION is set.
12940 * lyxfunc.C (dispatch): put warning in INFO channel
12942 * MenuBackend.C (expand): translate the name of floats
12944 * FloatList.C (FloatList): mark the float names for translation
12946 * converter.C (convert): use LibScriptSearch
12948 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12950 * MenuBackend.C (defaults): fix default menu (we might as well get
12953 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12955 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12958 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12960 * lyxvc.C: reorder includes.
12962 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12964 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12967 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12969 * CutAndPaste.C: change layouts earlier on paste
12970 to avoid crashing when calling getFont()
12972 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12974 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12977 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12979 * WorkArea.C: remove 'Pending' debug message.
12981 * most files: ws cleanup
12983 * buffer.[Ch]: ws changes
12985 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12987 2002-03-21 Juergen Vigna <jug@sad.it>
12989 * tabular.C (SetMultiColumn): collapse also the contents of the
12990 cells and set the last border right. Added a Buffer const * param.
12992 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12994 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12997 2002-03-19 Juergen Vigna <jug@sad.it>
12999 * text2.C (clearSelection): reset also xsel_cache.
13001 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13002 where it needs to be called (John tells us to do so too :)
13003 (selectionLost): reset sel_cache.
13005 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13007 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13009 * text2.C (setCursorIntern): put debuging code in INSETS channel
13011 2002-03-19 André Pönitz <poenitz@gmx.net>
13013 * lyxfunc.C: tiny whitespace change
13015 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13017 * ToolbarDefaults.C (init):
13018 * LyXAction.C (init):
13020 * BufferView_pimpl.C (Dispatch):
13021 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13023 2002-03-19 Allan Rae <rae@lyx.org>
13025 * exporter.C (Export): removeAutoInsets before doing anything else.
13026 While I've just introduced a dependency on BufferView this really is
13027 the best place to clean the buffer otherwise you need to cleanup in
13028 a dozen places before calling export or cleanup in a dozen functions
13031 * converter.C (runLaTeX):
13032 (scanLog): Better handling of removeAutoInsets and screen updates.
13034 * lyxfunc.C (dispatch): small whitespace changes
13036 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13038 * WorkArea.C (C_WorkAreaEvent): return a value.
13039 (event_cb): return 1 if we handled the event, 0 otherwise.
13041 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13043 2002-03-18 Juergen Vigna <jug@sad.it>
13045 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13046 (GetAdditionalWidth): ditto.
13047 (RightLine): ditto.
13050 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13051 inset if we're there actually (probably not used right now but this
13052 is the direction to go for unifying code).
13053 (paste): disable code to clear the selection.
13055 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13056 inside an InsetText and move the check further up as it is in the
13059 * text2.C (pasteSelection): set a selection over the pasted text.
13061 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13063 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13064 and libgraphics to build on Cygwin.
13066 2002-03-15 Juergen Vigna <jug@sad.it>
13068 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13069 inserting an Inset into the paragraph. I know this is not the best
13070 fix but we already use current_view in CutAndPaste so we will remove
13071 all of it's using at the same time.
13073 * buffer.C (sgmlError): deactivated function till it is rewritten in
13074 the right mode, now it can create problems.
13076 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13077 before accessing it.
13079 2002-03-14 Juergen Vigna <jug@sad.it>
13081 * undo_funcs.C (textHandleUndo): do the right thing when updating
13082 the inset after the undo/redo.
13084 * text2.C (setCursor): just some testcode for #44 not ready yet.
13086 * undo_funcs.C (textHandleUndo): set the next() and previous()
13087 pointers of the paragraph to 0 before deleting otherwise we have
13088 problems with the Paragraph::[destructor].
13090 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13091 on a paragraph insertion.
13093 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13095 * buffer.C (asciiParagraph): use += operator for char append to
13098 * paragraph.C (getFontSettings): compare >= not just >
13099 (highestFontInRange): ditto
13102 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13104 * paragraph.C: change several algorithm to be more appripriate for
13105 the problem domain. This is lookip in FontList and in the InsetList.
13107 2002-03-13 André Pönitz <poenitz@gmx.net>
13110 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13112 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13117 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13119 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13121 * Painter.C (display): anon helper function, adjust code for this
13123 (pixmap): remove function.
13125 * Painter.h: remove private display variable.
13127 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13129 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13131 * WorkArea.[Ch]: remove figinset_canvas cruft.
13133 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13135 * lyxtextclass.C (operator): add one item cache optimization.
13137 * bufferlist.h: doxy changes
13139 * bufferlist.C: ws changes
13141 * DepTable.[Ch] (ext_exist): place const in the right spot.
13143 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13145 (workAreaExpose): call resizeInsets when the with BufferView changes.
13146 (Dispatch): adjust for protectedBlank removal
13147 (specialChar): call updateInset if the insert went ok.
13149 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13150 specialChar instead.
13152 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13154 * BufferView.h: doxy change
13156 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13158 * lyxtextclass.C (operator[]): remove non-const version
13159 (defaultLayout): remove non-const version
13161 2002-03-12 Juergen Vigna <jug@sad.it>
13163 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13164 did resize the LyXText too.
13166 * buffer.C (readLyXformat2): set layout information on newly allocated
13169 * tabular.C (OldFormatRead): set layout information on the paragraph.
13171 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13173 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13175 2002-03-11 Juergen Vigna <jug@sad.it>
13177 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13179 (resizeCurrentBuffer): force also the insets to resize themselfes.
13180 (moveCursorUpdate): fixed up for InsetText.
13182 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13185 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13186 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13187 value of Dialogs::tooltipsEnabled().
13188 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13190 2002-03-08 Juergen Vigna <jug@sad.it>
13192 * BufferView_pimpl.C (updateInset): update inset inside inset also
13193 if it isn't inside theLockingInset().
13195 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13197 * buffer.C (asciiParagraph): redo some of the word and line length
13199 (getLists): look for Caption instead of caption.
13201 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13203 * buffer.C (Buffer): initialize niceFile to true
13205 (makeLinuxDocFile):
13206 (makeDocBookFile): make sure niceFile is true on exit
13208 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13210 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13212 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13214 * LyXSendto.C: remove.
13215 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13216 * lyx_gui.C: remove now-redundant comment.
13217 * ColorHandler.h: remove forward declaration of class WorkArea.
13218 * lyxfunc.C: remove #include "WorkArea.h".
13220 2002-03-07 Juergen Vigna <jug@sad.it>
13222 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13223 got moved away with the DEPM and also set the inset_owner always
13224 right which before could have been omitted.
13226 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13228 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13229 wanted layout is not found.
13231 2002-03-07 Juergen Vigna <jug@sad.it>
13233 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13235 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13237 * paragraph.C (breakParagraph): use default layout not layout of
13239 (Paragraph): clear ParagraphParameters.
13241 2002-03-06 Juergen Vigna <jug@sad.it>
13243 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13244 otherwise it would not be a valid lenght. Fixed a special case in
13245 the minipage compatibility read where we end the document with a
13248 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13249 was set as it could be 0 for InsetTexts first entry.
13251 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13253 * paragraph.C (writeFile): if layout is empty write out
13254 defaultLayoutName().
13256 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13257 file without named layout we set layout to defaultLayoutName().
13259 2002-03-06 Juergen Vigna <jug@sad.it>
13261 * CutAndPaste.C (copySelection): set layout for new paragraph.
13263 * text.C (prepareToPrint): leave ERT inset left aligned
13264 (leftMargin): don't indent paragraphs inside ERT insets
13266 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13268 * paragraph.C (breakParagraph): dont call clear do the work manually
13270 * paragraph.[Ch] (clear): remove function
13272 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13274 * paragraph.C (Paragraph): dont call clear, the work has already
13277 * lyxtextclass.C (operator): assert if n is empty
13279 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13280 work manually instead.
13282 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13284 * BufferView_pimpl.C: protect selectionLost against text == 0
13286 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13288 * text.C (breakParagraph): fix a setting layout to '0' problem.
13290 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13292 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13293 final location of file, for the included files, and graphics.
13295 2002-03-05 Juergen Vigna <jug@sad.it>
13297 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13299 2002-03-04 Juergen Vigna <jug@sad.it>
13301 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13303 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13304 last column of multicolumn cells.
13305 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13307 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13309 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13310 file if it doesn't go to a temporary file.
13312 * buffer.C (sgmlOpenTag):
13313 (sgmlCloseTag): remove extra newline insertion.
13315 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13317 * text.C (getRowNearY): comment out debug msg
13319 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13321 * text2.C: first -> first_y
13323 * text.C (getRowNearY): add some attemts at a possible
13324 optimization, not working.
13326 * tabular.[Ch]: add BufferParams to several function so that newly
13327 created paragraph can be initialized to he default layotu for the
13330 * tabular-old.C (ReadOld): add buf->params to call of Init
13332 * screen.C: rename text->first to text->first_y
13334 * paragraph.C (breakParagraph): always set layout in the broken
13337 * lyxtextclass.C (Read): remove lowercase
13340 (delete_layout): ditto
13342 * lyxtext.h: rename first -> first_y
13344 * lyxlayout.C (Read): remove lowercase
13347 (obsoleted_by): ditto
13349 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13351 * buffer.C (insertErtContents): add params are to InsetERT
13352 (parseSingleLyXformat2Token): add code to check if a paragraphs
13353 layout really exist.
13354 (parseSingleLyXformat2Token): add params to several inset
13356 (asciiParagraph): remove lowercase, do the layout comparisons with
13359 * BufferView_pimpl.C (cursorNext): first -> first_y
13360 (resizeCurrentBuffer): first -> first_y
13361 (updateScrollbar): first -> first_y
13362 (scrollCB): first -> first_y
13363 (workAreaMotionNotify): first -> first_y
13364 (workAreaButtonPress): first -> first_y
13365 (checkInsetHit): first -> first_y
13366 (cursorPrevious): first -> first_y
13367 (cursorNext): first -> first_y
13368 (Dispatch): add buffer_->params to severl inset contructors
13370 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13372 * lyxlayout.C (Read): remove some debug info that I forgot.
13374 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13375 clean up the code slightly.
13376 (makeLinuxDocFile): ditto
13377 (makeDocBookFile): ditto
13379 * text2.C: layout as string
13381 * text.C: layout as string
13383 * paragraph_pimpl.C: layout as string
13385 * paragraph.[Ch]: layout as string
13387 * lyxtextclasslist.[Ch]: layout as string
13389 * lyxtextclass.[Ch]: layout as string
13391 * lyxtext.h: layout as string
13393 * lyxlayout.[Ch]: layout as string
13395 * lyx_cb.C: layout as string
13397 * bufferview_funcs.C: layout as string
13399 * bufferparams.C: layout as string
13401 * buffer.C: layout as string
13403 * LyXView.[Ch]: layout as string
13405 * LaTeXFeatures.[Ch]: layout as string
13407 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13409 * BufferView_pimpl.C: change current_layout to string, remove
13414 (workAreaButtonRelease): layout as string
13416 * BufferView2.C (unlockInset): adjust
13418 * vspace.C (asLatexCommand): use an explict temp variable.
13420 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13422 * Makefile.am: use FRONTEND_*
13424 2002-03-01 Juergen Vigna <jug@sad.it>
13426 * tabular.C (SetWidthOfMulticolCell): changed to something better
13427 I hope but still work in progress.
13428 (recalculateMulticolumnsOfColumn): renamed function from
13429 recalculateMulticolCells as it is more appropriate now.
13430 (SetWidthOfCell): calculate multicols better.
13432 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13434 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13436 * lyxfunc.C (processKeySym): print sequence also if it is
13437 `deleted' (complete)
13439 * kbsequence.C (print): print sequence even if it is deleted
13440 (complete would be a better word, actually).
13442 * lyxfunc.C (dispatch): print complete options after a prefix key
13444 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13446 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13448 * text2.C (setCharFont): eliminate setCharFont code duplication.
13450 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13452 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13453 LFUN_TABULAR_FEATURE (bug #177)
13455 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13457 * Makefile.am: remove figure.h
13459 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13461 * Bufferview_pimpl.C:
13473 * text2.C: remove #include "lyx_gui_misc.h".
13475 * LaTeX.C: added #include <cstdio>
13477 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13479 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13480 that the paragraph following this one can have.
13482 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13484 * vspace.C (asLatexCommand): fix bogus gcc warning
13486 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13488 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13490 * text2.C (setLayout): get rid of redundant code
13492 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13494 * text2.C (incDepth): make sure depth cannot be increased beyond
13497 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13499 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13500 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13502 * PainterBase.h (image):
13503 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13504 a LyXImage const *.
13506 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13510 * BufferView_pimpl.C:
13511 * BufferView_pimpl.h:
13531 * sp_spell.C: remove fig inset, and the crap house of
13532 cards that follows it
13534 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13539 * os2_errortable.h:
13540 * nt_defines.h: move .h into support/
13542 * vms_defines.h: remove
13544 * WorkArea.C: add space in debug output
13548 * buffer.C: add WITH_WARNINGS
13552 * bufferlist.C: s/retrive/retrieve/, add docs
13561 * chset.C: add docs
13563 * lyxgui.C: add ID to X error handler
13565 * lyxtestclass.c: fix typo
13567 2002-02-26 Juergen Vigna <jug@sad.it>
13569 * tabular_funcs.C (write_attribute): changed so that some default
13570 attributes are not written at all.
13571 (getTokenValue): set default values before trying to read the
13572 value so we have the return value always set as default if we don't
13573 find the token we search for.
13575 * tabular.C (Write): write bools as bools not as strings!
13577 2002-02-22 Juergen Vigna <jug@sad.it>
13579 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13580 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13582 * text.C (leftMargin): don't add an indent for paragraphs inside
13583 tabular cells (fix #208).
13585 2002-02-21 José Matos <jamatos@fep.up.pt>
13587 * tabular.C (docBook): fixed support for long tables.
13589 2002-02-20 Juergen Vigna <jug@sad.it>
13591 * text2.C (getFont): get the drawing font of the Inset if this
13592 paragraph is inside an inset (only important for InsetERT for now).
13594 * buffer.C (insertErtContents): use new lanugage params in ERT
13597 * CutAndPaste.C: commenting out seemingly uneeded code.
13599 2002-02-19 Allan Rae <rae@lyx.org>
13601 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13602 Iterators might be simple to use but they also get invalidated.
13603 (removeAutoInsets): renamed saved cursor tracking variables and added
13604 some comments to clarify what everything does.
13606 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13613 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13614 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13617 * vc-backend.h: remove #include "support/syscall.h"
13621 * converter.C: rearrange #includes in Lars' approved fashion.
13623 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13624 forward declare class Timeout in the header file.
13626 * XFormsView.C: changes due to the above.
13628 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13629 similar to LyXView.
13631 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13632 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13634 2002-02-18 José Matos <jamatos@fep.up.pt>
13636 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13639 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13641 * a lot of small ws changes
13642 * add a lot of using std::XXX
13643 * use std construcs some places where approp.
13644 * use some exisint stuff from lyxfunctional where approp.
13645 * Make file changes to use partial linking (lets test this now...)
13647 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13651 remove #include "support/syscontr.h" as it's redundant. Always has been.
13659 change Systemcalls::System to Systemcalls::Wait and
13660 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13661 No change of functionality, just reflects the stripped down Systemcalls
13664 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13666 * debug.[Ch]: add a GRAPHICS type to the enum.
13668 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13670 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13672 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13675 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13677 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13678 match the changes below.
13680 * text2.C (toggleInset): if there is not editable inset at cursor
13681 position, try to see if cursor is _inside_ a collapsable inset
13684 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13686 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13687 document menu has a nice checkbox
13689 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13691 * lyxlength.C (asLatexString): change PW to output as percent of
13694 * lengthcommon.C: change '%' to 't%'
13696 * lyxfunc.C (dispatch): a few comments from Martin
13698 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13702 * BufferView_pimpl.h:
13703 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13706 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13708 * vspace.C (inPixels): fix compiler warning
13710 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13712 * lyxfunc.C (getStatus): fix status message for disabled commands.
13714 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13716 * BufferView_pimpl.C: fix crash on close buffer
13717 during selection (#227)
13719 2002-01-27 Herbert Voss <voss@lyx.org>
13721 * buffer.C: link old Figure to new graphic inset
13723 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13725 * FontLoader.C (getFontinfo): Change the latex font names in order
13726 to match the names of type1inst.
13728 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13732 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13733 (extchanged): ditto
13735 (remove_files_with_extension): ditto
13736 (remove_file): ditto
13739 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13740 document is smaller than the work area height. Do not initialize
13741 static variables to 0.
13743 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13745 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13747 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13748 LFUN_LAYOUT_PARAGRAPHS.
13750 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13751 tabular. It is possible to provide a possible cell, which will
13752 typically be the actcell from the corresponding insettabular
13754 * lyxfunc.C (getStatus): small cleanup; disable
13755 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13758 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13760 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13762 * paragraph.C (startTeXParParams):
13763 (endTeXParParams): new methods. The LaTeX code to
13764 start/end paragraph formatting
13765 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13766 empty (fixes bug #200)
13768 * vspace.C (inPixels): adapt to the change below
13769 (inPixels): [later] more cleanups (remove unused variables)
13771 * lyxlength.C (inPixels): change to use a width and a height as
13774 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13776 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13777 Replaced with \paperwidth
13779 * DepTable.C (insert): add std:: qualifier
13781 2002-01-18 Allan Rae <rae@lyx.org>
13783 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13786 * text.C (drawInset): Turned out I didn't know enough about how
13787 rebreaking worked. This fixes most of the redraw problems. I see
13788 an occasional cursor trail when a line is broken now and the cursor
13789 placement can seem out by a few pixels also after a rebreak.
13791 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13793 * buffer.C (parseSingleLyXformat2Token): update because minipage
13794 width is now a LyXLength
13796 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13798 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13801 2002-01-17 Juergen Vigna <jug@sad.it>
13803 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13805 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13806 is set correctly and the inset is updated correctly.
13808 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13810 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13811 the beginning of the loop.
13813 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13815 * lyxrc.C: improve help for use_scalable_fonts
13817 2002-01-17 Allan Rae <rae@lyx.org>
13819 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13821 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13823 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13824 make sure to set their inset_owner to the right value (bug #171)
13826 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13829 * DepTable.C: Implement mtime checking to reduce time spent doing
13832 2002-01-16 Juergen Vigna <jug@sad.it>
13834 * tabular.C (GetAdditionalHeight): one of error fixed.
13836 * lyxrc.C (output): small fix in writing use_pspell.
13838 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13840 * sp_base.h: #include LString.h
13842 2002-01-16 Allan Rae <rae@lyx.org>
13844 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13845 Can someone check this please?
13847 * text.C (drawInset): It was possible that p.row would be removed by
13848 breakAgainOneRow upsetting a few other settings. There may be another
13849 small tweak possible by setting need_break_row = 0 when p.row has been
13850 removed but I don't know enough about the logic here.
13852 2002-01-15 Allan Rae <rae@lyx.org>
13854 * text.C (insertChar): removed conditional truism.
13856 * BufferView2.C (removeAutoInsets): More tweaks.
13857 cur_par_prev could be a stray pointer. Check for trailing empty line
13858 in case last line was cur_par and only had an error inset on it.
13860 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13862 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13865 * vc-backend.C (most methods):
13866 * exporter.C (Export):
13867 * converter.C (convert):
13869 * LyXSendto.C (SendtoApplyCB):
13870 * lyxfunc.C (dispatch):
13874 * lyx_cb.C (AutoSave):
13876 * BufferView_pimpl.C (MenuInsertLyXFile):
13877 * buffer.C (runChktex): use Buffer::filePath().
13879 * buffer.h: rename filename to filename_; rename filepath to
13880 filepath_ and make it private
13881 (filePath): new method
13883 * buffer.C (writeFile): use fileName()
13886 * lyx_main.C (init): fix starting of LyX when the binary is a
13887 link from so,ewhere else.
13889 * minibuffer.C: include <cctype> for isprint
13891 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13893 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13894 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13895 name clash with InsetCollapsable's width function.
13897 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13899 * lastfiles.C: include <iterator>
13901 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13903 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13906 * buffer.C (makeLaTeXFile): ditto.
13907 Also make loop operation more transparent.
13909 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13911 * ToolbarDefaults.C: remove trailing comma closing namespace.
13913 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13915 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13918 * trans.C (Load): comment out unused variable, allowed.
13920 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13922 * minibuffer.[Ch] (append_char): new method to recieve input from the
13923 drop-down completion browser. If a key was pressed, then recieve this
13924 char and append it to the existing string.
13925 (peek_event): modify the positioning data passed to the completion
13926 browser so that it can be placed above the minibuffer rather than below.
13927 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13929 * LyXAction.C (init): alloe error-next for readonly documents.
13931 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13934 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13936 * bufferlist.C (readFile): create the buffer _after_ checking that
13939 * lyxfunc.C (verboseDispatch): fix handling of arguments
13941 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13943 * lyxrc.C: use string::erase() instead of initializing to "".
13946 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13948 * BufferView_pimpl.h:
13949 * BufferView_pimpl.C:
13952 * text2.C: tell X when we have made a selection for copying
13954 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13956 * BufferView_pimpl.C (MenuInsertLyXFile):
13957 * lyxfunc.C (menuNew):
13959 (doImport): add shortcuts to directory buttons
13961 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13964 * lyxfunc.C (setStatusMessage):
13965 (getStatusMessage): new methods
13966 (getStatus):use setStatusMessage instead of setErrorMessage
13967 (dispatch): when function is disabled, set error message here
13968 [instead of in getStatus previously]
13970 * BufferView_pimpl.C (workAreaButtonRelease): update
13971 toolbar/menubar here too.
13973 2002-01-13 Allan Rae <rae@lyx.org>
13975 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13976 Now seems indestructible. Remaining task is to audit all other
13977 code affected by deleteEmptyParagraphMechanism. One small quirk
13978 left is that an empty document with an error in the preamble can
13979 be made to report an error but no error box appears. I don't know
13981 (removeAutoInsets): Improved comments.
13983 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13986 * Thesaurus.C: update for Aiksaurus 0.14
13988 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13990 * text2.C (firstParagraph): removed member function, all uses
13991 replaces with ownerParagraph
13992 (redoParagraphs): here
13993 (updateInset): here
13994 (toggleAppendix): here
13995 * BufferView2.C (insertErrors): here
13996 (setCursorFromRow): here
13998 2002-01-13 Allan Rae <rae@lyx.org>
14000 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14001 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14002 There is still a way to segfault this although you may have to do this
14003 multiple times: Have an InsetERT with an unknown command in it.
14004 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14005 <down-arrow>, <Enter> again, View->DVI, BANG!
14007 * text2.C (setCursor):
14008 (deleteEmptyParagraphMechanism):
14009 * lyxtext.h (setCursor):
14010 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14011 Making use of the return value may help fix other bugs.
14013 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14015 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14017 * LyXView.C (updateMenubar): call MenuBar::update here
14018 (updateToolbar): but not here
14019 (showState): do not update toolbar/menubar
14021 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14022 should need to care about that.
14024 * lyxfunc.C (verboseDispatch): simplify a bit
14025 (getStatus): have a version which takes a pseudoaction, and
14026 another which requires a (kb_action,string).
14028 * LyXAction.C (retrieveActionArg): make it work also when action
14029 is not a pseudo-action.
14030 (getActionName): simplify a bit
14033 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14035 * lyxfunc.C (verboseDispatch): new families of methods with
14036 several ways to specify a command and a bool to indicate whether
14037 the command name and shortcut should be displayed in minibuffer
14038 (eventually, we could extend that to a finer bitmask like
14039 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14040 (dispatch): the pristine dispatch command which just, well,
14041 dispatchs! Note it still sets its result to minibuffer; I'm not
14044 * lyxfunc.h: remove setHintMessage
14046 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14048 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14050 * BufferView_pimpl.C (specialChar): delete new inset if we have
14051 not been able to insert it.
14053 * kbmap.C: revert to using int instead of kb_action, since all we
14054 are dealing with is pseudo-actions.
14056 * LyXAction.C (searchActionArg): change to return int instead of
14057 kb_action, since the result is a pseudoaction.
14059 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14061 * buffer.C (insertErtContents): Fix (partially) the font bug.
14063 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14065 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14066 as the other one is broken on my machine!
14068 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14071 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14073 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14075 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14076 reflect their actual use. Provide compatibility code for older lyxrc
14079 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14081 change names of popup font variables in line with the changes to lyxrc.C
14083 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14085 * buffer.C (asciiParagraph): avoid outputing a word twice after
14088 * lyxrc.C (getDescription): document that document_path and
14089 template_path can be empty.
14091 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14093 * LaTeXFeatures.C (getMacros):
14094 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14096 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14098 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14100 (getPackages): rename feature "floats" to "float". Use an array to
14101 iterate over 'simple' features (i.e. just a \usepackage). Add
14102 handling of "amsmath" (renamed from "amsstyle").
14104 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14106 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14109 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14111 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14112 FuncStaus::FuncStatus & FuncStaus::some_method().
14114 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14116 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14117 of the func_satus stuff. Edited and massaged in various ways by
14120 * lyxfunc.C (getStatus): use FuncStatus
14122 2002-01-08 Juergen Vigna <jug@sad.it>
14124 * text.C (nextBreakPoint): use function Inset::isChar().
14126 * paragraph.C (TeXOnePar): use function
14127 Inset::forceDefaultParagraphs.
14129 * buffer.C (latexParagraphs): use function
14130 Inset::forceDefaultParagraphs.
14132 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14134 * lyx_gui.C (init): set the style of the menu popups to
14135 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14137 2002-01-07 Juergen Vigna <jug@sad.it>
14139 * text.C (setHeightOfRow): small fix
14140 (prepareToPrint): don't look at alignment if we don't have the place
14143 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14145 * box.C: New file. Move the Box methods and functions out of box.h,
14146 following Lars' suggestion.
14148 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14150 * box.h: #include "support/LOstream.h", needed for inlined function.
14153 * lyxtextclasslist.C: added some using std declarations.
14155 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14157 * box.h: make signed dimensions to allow insets wider than
14158 the screen (bug #162)
14160 * BufferView_pimpl.C: add some insetHit debug
14162 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14164 * vc-backend.C: add FIXME
14166 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14168 * lyxfunc.C (getStatus): enable code for showing math font status
14171 2002-01-07 Juergen Vigna <jug@sad.it>
14173 * text.C (nextBreakPoint): removed debug output not needed anymore.
14175 2002-01-06 Juergen Vigna <jug@sad.it>
14177 * text.C (nextBreakPoint): fixed up this function we had this bug
14178 since ever but now hopefully we break row better.
14179 (insertChar): we have to check if an inset is the next char as it
14180 could now happen that a large inset is causing a break.
14182 2002-01-05 Juergen Vigna <jug@sad.it>
14184 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14185 if it doesn't like to be drawed.
14187 2002-01-04 Juergen Vigna <jug@sad.it>
14189 * BufferView2.C (lockInset): forgot to set a cursor.
14191 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14193 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14195 * FormMathsPanel.C:
14198 * form_maths_panel.C:
14199 * form_maths_panel.h:
14200 * form_maths_panel.fd: implemented sub- and super- buttons in math
14203 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14204 (or ^ space) to be used as in TeX (req'd by Andr�.
14206 * lyxfunc.C: Allow ^ and _ again to be used both as
14207 super/subscript (mathed) and as themselves (in text).
14209 2002-01-03 Allan Rae <rae@lyx.org>
14211 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14212 "LyX" or the filename of the current buffer if it has one. This is a
14213 modified form of John Levon's patch.
14215 * XFormsView.C (setWindowTitle): also set icon title.
14217 * LyXView.h (setWindowTitle): signature changed.
14218 * XFormsView.h (setWindowTitle): ditto.
14220 2002-01-02 Juergen Vigna <jug@sad.it>
14222 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14224 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14226 * screen.C (topCursorVisible): introduce a temp var for
14227 text->cursor.row(), handle the case where this row is null. (kindo
14230 * text2.C (setCursor): add a couple of asserts.
14232 * paragraph.h (inset_iterator): add -> operator
14234 * paragraph.[Ch] (autoDeleteInsets): remove member function
14236 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14237 cursor pos correctly and handle inset deletion by itself.
14238 (insertErrors): move iterator declaration out of for expression
14240 * lyxtextclass.C: add <algorithm>
14242 * Makefile.am: added the new files to sources, removed layout.C
14244 * layout.C: removed file
14246 * layout.h: remove LYX_DUMMY_LAYOUT
14248 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14252 * lyxtextclass.[Ch]:
14253 * lyxtextclasslist.[Ch]: new files
14255 * include order changes to a lot of files, also changes because of
14258 2001-12-27 Juergen Vigna <jug@sad.it>
14260 * buffer.C (asciiParagraph): more fixes.
14262 * tabular.C (ascii): make ascii export support export of only the
14263 data separated by a column-delimiter.
14264 (ascii): better support for ascii export.
14266 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14268 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14270 * tabular_funcs.C: use a "using std::getline" instead of the
14271 previous fix from Angus (necessary for cxx + lyxstring)
14273 2001-12-24 Juergen Vigna <jug@sad.it>
14275 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14277 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14278 problems. First check a minipage also if we have some ert-contents
14279 (not only on par->size(), second set the right depth of the paragraph
14280 on the relink to the root-paragraph-list!
14282 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14283 which then did not anymore update the main paragraphs on undo/redo!
14285 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14287 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14288 code. Support all font-changing funcs (even those which are not in
14289 menu currently). Support for reporting font settings in
14290 mathed (disabled until Andre provides a function on mathed's side).
14292 * func_status.h (toggle): small helper function to set toggle
14295 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14297 * tabular_funcs.C: getline -> std::getline
14299 2001-12-21 Juergen Vigna <jug@sad.it>
14301 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14302 accessed and could be 0 (I couldn't generate this but it seems
14305 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14307 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14308 * tabular_funcs.h: here and include iosfwd
14310 2001-12-20 Juergen Vigna <jug@sad.it>
14312 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14313 inside inset but undo_par was.
14315 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14317 * Thesaurus.C: always include <config.h> in sources.
14321 * box.h: do not include <config.h> in header files
14323 * text.C (paintLastRow): remove unused variable
14325 * text.C (transformChar):
14327 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14329 * Painter.C (text):
14330 * font.C (width): rewrite to use uppercase() instead of
14333 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14335 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14337 * lyxfind.C: clean up of find failure position change
14339 2001-12-20 Juergen Vigna <jug@sad.it>
14341 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14343 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14344 (TeXRow): added to LaTeX a single tabular row.
14345 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14346 (Latex): simplified and finally good LT-h/f support.
14347 (various_functions): just small adaptions for LT-h/f support.
14349 * tabular_funcs.[hC]: added and moved here all not classfunctions
14352 2001-12-19 Juergen Vigna <jug@sad.it>
14354 * tabular.[Ch]: better support for longtabular options (not finished
14357 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14359 * text.C (paintLastRow): use the label font instead of the font of
14360 the last character to compute the size of *_BOX. This makes more
14361 sense and avoids a crash with empty paragraphs.
14362 Use Painter::rectangle to draw EMPTY_BOX.
14364 2001-12-19 Juergen Vigna <jug@sad.it>
14366 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14367 the paragraphs if the replaced paragraph is not the first one!
14368 Tried to delete not used paragraphs but does not work yet so for
14369 now it's inside #ifdef's and by default off!
14371 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14373 * MenuBackend.C: include "lyx_main.h" instead of declaring
14374 lastfiles (actually was declared as LastFiles* instead of a
14377 2001-12-17 Juergen Vigna <jug@sad.it>
14379 * tabular.C (AppendColumn): applied John's fix
14381 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14385 * BufferView_pimpl.h:
14386 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14389 * box.h: new start of class for above
14391 * lyxfunc.C: ignore space-only minibuffer dispatches.
14392 Show the command name when it doesn't exist
14394 * minibuffer.C: don't add empty lines to the history
14396 * minibuffer.C: add a space on dropdown completion
14398 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14400 * text.C: fix line above/below drawing in insets
14402 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14404 * lyxlength.C (LyXLength): Initialize private variables.
14406 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14408 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14409 when inserting error insets.
14411 2001-12-13 Juergen Vigna <jug@sad.it>
14413 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14414 actually sometimes the before-paragraph.
14415 (setUndo): don't clear the redostack if we're not actually undoing!
14417 2001-12-06 Juergen Vigna <jug@sad.it>
14419 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14420 and fixed redoing of main paragraph, so we can use it now ;)
14422 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14424 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14426 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14429 2001-12-13 André Pönitz <poenitz@gmx.net>
14432 * undo_func.C: minor cleanup
14434 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14436 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14437 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14438 font in urw-fonts package which is marked as -urw-fontspecific and
14439 does not work (incidentally, changing the encoding in the
14440 fonts.dir of this package to -adobe-fontspecific fixes the
14443 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14444 is a crash when undoing first paragraph (Juergen, please take a
14445 look). THis does not mean the undo fix is wrong, just that it
14448 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14449 the (Paragraph*) version when needed instead of duplicating the
14452 * text.C (workWidth): use Inset::parOwner to find out where the
14453 inset has been inserted. This is a huge performance gain for large
14454 documents with lots of insets. If Inset::parOwner is not set, fall
14455 back on the brute force method
14457 * paragraph_pimpl.C (insertInset):
14458 * paragraph.C (Paragraph):
14459 (cutIntoMinibuffer): set parOwner of insets when
14460 inserting/removing them
14462 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14464 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14470 * mathed/formulabase.C:
14471 * mathed/math_cursor.[Ch]:
14472 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14475 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14477 * lyxlength.[Ch] (operator!=): new function
14479 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14481 * text.C (workWidth): use Inset::parOwner to find out where the
14482 inset has been inserted. This is a huge performance gain for large
14483 documents with lots of insets. If Inset::parOwner is not set, fall
14484 back on the brute force method
14486 * paragraph_pimpl.C (insertInset):
14487 * paragraph.C (Paragraph):
14488 (cutIntoMinibuffer): set parOwner of insets when
14489 inserting/removing them
14491 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14493 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14495 * tabular-old.C (getTokenValue):
14496 * tabular.C (getTokenValue):
14497 (write_attribute): new versions for LyXLength
14498 (everywhere): adjust the use of widths
14500 * tabular.h: change the type of widths from string to LyXLength
14502 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14504 * paragraph.C: fixed missing line number count when exporting
14505 Environments to LaTeX file
14507 * buffer.C: added informational message for checking line numbers.
14509 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14511 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14512 paragraph, do the 'double space' part, but not the 'empty
14515 * text.C (workWidth): small optimization
14516 (getLengthMarkerHeight): use minimal size for negative lengths.
14518 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14520 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14522 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14524 2001-12-11 André Pönitz <poenitz@gmx.net>
14527 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14529 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14531 * text2.C: keep selection on a setFont()
14533 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14535 * lyx_cb.C: another bv->text misuse, from insert label
14537 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14540 * kbsequence.C: re-instate nmodifier mask
14542 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14544 * lyx_main.h: make lyxGUI private.
14546 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14548 * lyxfind.C: place the cursor correctly on failed search
14550 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14552 * text.C (getLengthMarkerHeight): for small heights, the arrows
14553 are not always on top/bottom of the text
14554 (drawLengthMarker): smaller arrows; take the left margin in
14555 account; draw also vfills.
14557 (paintLastRow): remove special code for vfill and standard spaces,
14558 since everything is handled in drawLengthMarker now.
14560 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14562 * buffer.C (insertErtContents): try to handle font and language
14563 interaction a bit better.g
14565 * ColorHandler.C (updateColor): change the hash to cover the whole
14566 LColor enum, ws cleanup
14567 (getGCLinepars): ditto
14568 (getGCLinepars): only lookup in the linecache once.
14570 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14572 * iterators.C (operator++): Make the iterator more robust
14574 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14576 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14578 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14581 * text.C: better added space drawing
14583 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14586 * BufferView2.C: fix layout combo update on inset unlock
14588 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14590 * Makefile.am: don't compile unused files
14592 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14596 * LyXAction.C: remove old LFUN_LAYOUTNO
14598 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14600 * paragraph_pimpl.h:
14601 * paragraph_pimpl.C: isTextAt() doesn't need font param
14603 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14606 * lyxlex.C: little cleanup
14608 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14610 * BufferView_pimpl.C: fix insertAscii for insets
14612 2001-12-05 Juergen Vigna <jug@sad.it>
14614 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14615 set the right font on the "multi" paragraph paste!
14617 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14623 * lyxlength.C: remove out-commented code.
14625 * BufferView_pimpl:
14639 * vc-backend.C: change "while(" to "while ("
14641 * lyxlength.[Ch]: add zero function to check if length is zero or
14643 * lyxgluelength.C: use it
14645 2001-12-05 Allan Rae <rae@lyx.org>
14647 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14648 Works for 2.95.3, from what I understand of Garst's reports this should
14649 work for other g++ versions. We're screwed if the abs(int) definition
14650 changed between bugfix releases of gcc.
14652 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14654 * text.C: fix chapter label offset !
14656 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14659 * text.C: fix hfill at end of line, clean up
14661 2001-12-04 Juergen Vigna <jug@sad.it>
14663 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14664 that we force an update of the inset and it's owners if neccessary.
14666 2001-12-03 Juergen Vigna <jug@sad.it>
14668 * text.C (rowLast): simplified code
14670 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14672 * lyxfunc.C: fix show options on timeout
14674 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14676 * screen.C (topCursorVisible): scroll half a page when the cursor
14677 reached top of bottom of screen
14679 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14681 * minibuffer.C: deactivate on loss of focus
14683 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14685 * vspace.[Ch] (operator!=): add operator.
14687 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14689 * BufferView_pimpl.C: refuse to open an inset when
14690 there's a selection.
14692 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14694 * BufferView_pimpl.C: allow to click on RHS of full row insets
14696 2001-11-30 Juergen Vigna <jug@sad.it>
14698 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14699 insets for undo reasons.
14701 2001-11-28 André Pönitz <poenitz@gmx.net>
14703 * vspace.[Ch]: cosmetical changes
14705 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14715 * kbsequence.C: part re-write of old kb code
14718 * WorkArea.C: remove Lgb_bug_find_hack
14720 2001-11-30 José Matos <jamatos@fep.up.pt>
14722 * buffer.C (makeDocBookFile): add a comment to point a hack.
14723 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14724 Fixed a double write of labels.
14726 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14729 * LaTeX.h Fixed bug in LaTeX class where it would not
14730 re-run latex if no depfiles were changed, but the .dvi was removed.
14732 2001-11-28 André Pönitz <poenitz@gmx.net>
14734 * all the files from the change on 2001/11/26:
14735 use lyx::layout_type instead of LyXTextClass::size_type
14736 use lyx::textclass_type instead of LyXTextClassList::size_type
14738 2001-11-29 Juergen Vigna <jug@sad.it>
14740 * text.C: added support for paragraph::isFreeSpacing()
14742 * buffer.C: same as above
14744 * paragraph.h: inserted isFreeSpacing() function to enable
14745 FreeSpacing inside InsetERT.
14747 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14748 of the paragraph's in the cut/copy buffer to 0!
14750 * text2.C (removeRow): remove the assert as it can!
14752 * lyxtext.h: added helper function firstRow returning firstrow and
14753 made firstrow private again.
14755 * BufferView2.C (lockInset): don't relock if we're already locked!
14757 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14758 the only paragraph.
14759 (removeRow): added Assert::(firstrow)
14761 * debug.C: forgot to add INSETTEXT here.
14763 2001-11-28 Juergen Vigna <jug@sad.it>
14765 * sp_spell.C (initialize): changed error text to more general
14766 spellchecker command use (not only ispell!)
14768 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14770 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14772 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14774 * vspace.C: initialise lyxgluelength on failure
14776 2001-11-28 Allan Rae <rae@lyx.org>
14778 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14779 declaration & definition that looks like a function declaration.
14781 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14783 * BufferView2.C (copy):
14784 (copyEnvironment): do not clear the selection when doing a copy.
14786 * text.C (paintFirstRow): compilation fix
14788 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14790 * tabular.C (Latex): correct line count when writing latex.
14792 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14794 * paragraph_pimpl.h:
14795 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14798 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14802 * LColor.C: change vfillline->added_space
14804 * text.C: add markers and text for added space
14806 * vspace.C: fix comment
14808 2001-11-28 André Pönitz <poenitz@gmx.net>
14810 * paragraph.C: whitespace changes
14811 * all the other files from the change on 2001/11/26:
14812 change *::pos_type into lyx::pos_type
14814 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14816 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14817 language of the document when inserting error insets.
14819 2001-11-26 André Pönitz <poenitz@gmx.net>
14821 * BufferView_pimpl.[Ch]:
14829 * paragraph_pimpl.[Ch]:
14832 * text2.C: reduce header dependencies, introduce type for positions
14834 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14836 * <various>: change to use Alert.h
14838 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14840 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14841 when encountering an unknown token.
14842 (readLyXformat2): Show an error message if there were unknown tokens.
14844 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14847 * BufferView_pimpl.C:
14851 * text2.C: use par->isInset()
14853 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14855 * paragraph_pimpl.h:
14856 * paragraph_pimpl.C: cleanup
14858 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14860 * text2.C (removeRow):
14861 * text.C (setHeightOfRow): remove useless (and costly) call to
14864 2001-11-20 Allan Rae <rae@lyx.org>
14866 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14867 Now need Inset*::checkInsertChar() to return true for appropriate
14868 cases so that the characters in the minibuffer will actually be
14871 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14873 * text.C: change the order of the includes.
14874 (workWidth): initialize it at once.
14875 (workWidth): make maxw unsigned
14876 (setHeightOfRow): remove unused variable (inset)
14877 (selectSelectedWord): remove unused variable (inset)
14878 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14880 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14882 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14883 server is not running.
14885 (closeConnection): add debug info when server is disabled.
14887 * ColorHandler.C (getGCForeground): send debug message to GUI
14890 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14892 * kbmap.C (bind): modify because return conventions of
14893 kb_sequence::parse have changed.
14895 * kbsequence.C (parse): only ignore spaces and not any stupid
14896 control character. This avoids tests like s[i] <= ' ', which are
14897 guaranteed to fail with 8bit characters and signed chars.
14898 Change return code to string::npos when there have been no error
14899 (0 was a bad idea when error is at first character)
14901 2001-11-14 José Matos <jamatos@fep.up.pt>
14904 * buffer.C (simpleDocBookOnePar): removed unused argument.
14906 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14908 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14909 insets which are part of a word. Paragraph::isLetter takes care of
14910 that now. Use Paragraph::isInset to identify insets.
14911 (selectSelectedWord): do not test for hyphenation break.
14913 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14914 that protected spaces are considered as spaces.
14916 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14919 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14922 * lyxserver.C: fix it. and small cleanup.
14924 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14926 * BufferView_pimpl.C: use inline helpers
14929 * LaTeXFeatures.C: fix typos
14932 * Spacing.C: move spacing_string into class
14934 * ToolbarDefaults.C: move stuff into namespace anon
14936 * layout.h: update enum
14938 * lyxfunc.C: use better debug
14940 * minibuffer.h: fix typo
14944 * WorkArea.C: add and use Debug::WORKAREA
14948 * text2.C: code re-organisation, inline helpers
14950 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14952 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14953 std::vector.empty().
14955 2001-11-09 Allan Rae <rae@lyx.org>
14957 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14958 '\n's after tables. Tabular and ERT inset work now makes this no
14961 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14964 * minibuffer.C: fix crash, improve drop-down completion
14966 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14969 * lyxserver.C: invalidate fd's when doing endPipe()
14971 2001-11-08 José Matos <jamatos@fep.up.pt>
14973 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14974 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14977 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14979 2001-11-07 José Matos <jamatos@fep.up.pt>
14982 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14985 * buffer.C (sgmlOpenTag):
14986 * buffer.C (sgmlCloseTag): removed debug info.
14988 * buffer.h (sgmlOpenTag):
14989 * buffer.h (sgmlCloseTag): made public.
14991 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14993 * buffer.C (saveParamsAsDefaults):
14994 * lyx_cb.C (MenuLayoutSave): remove
14996 * LyXAction.C (init):
14998 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15000 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15002 * buffer.C (setPaperStuff): removed from here...
15004 * bufferparams.C (setPaperStuff): ... and moved there.
15006 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15010 * XFormsView.C: add support for drop-down completion
15012 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15014 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15017 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15019 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15022 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15024 * lyx_main.C: change ref to known bugs
15026 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15028 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15029 to work around older babel problems.
15031 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15033 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15035 2001-10-24 Juergen Vigna <jug@sad.it>
15037 * tabular-old.C (ReadOld): below variable changes reflected.
15039 * tabular.[Ch]: added ltType struct for longtable header/footer
15040 defines and changed all instances where they are used. Added
15041 future support for double top/bottom rows.
15043 2001-10-24 José Matos <jamatos@fep.up.pt>
15045 * buffer.h (docbookHandleCaption):
15046 * buffer.C (docbookHandleCaption): removed unused function.
15047 (makeDocBookFile): moved docbook supported version to v4.1.
15049 2001-10-24 José Matos <jamatos@fep.up.pt>
15052 * tabular.C (docbookRow): new function to export docbook code of a row.
15053 (DocBook): now honors the longtable flags.
15055 2001-10-23 José Matos <jamatos@fep.up.pt>
15058 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15059 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15061 * buffer.C (makeLinuxDocFile):
15062 (makeDocBookFile): reworked the preamble, more clean, and with
15063 support for lyx defined entities. Changed the document declaration
15064 to be more XML friendly.
15066 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15067 if we need to output XML that should be done with a filter.
15069 2001-10-22 Juergen Vigna <jug@sad.it>
15071 * sp_pspell.h (class PSpell): add alive function needed in the
15072 controller to see if the spellchecker could be started.
15074 2001-10-22 Juergen Vigna <jug@sad.it>
15076 * buffer.C (insertStringAsLines): modify the font for inserting
15077 chars in certain conditions by calling checkInsertChar(font).
15079 2001-10-19 Juergen Vigna <jug@sad.it>
15081 * text.C (workWidth): use getRow instead of wrong algorithm.
15082 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15084 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15089 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15091 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15093 * text.C (workWidth): do not search for the exact row when
15094 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15095 optimization for big documents.
15097 2001-10-18 Juergen Vigna <jug@sad.it>
15099 * text.C (workWidth): new function with added Inset * parameter.
15101 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15103 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15105 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15106 change return type of getColumnNearX.
15109 * text.C (changeRegionCase): use uppercase/lowercase instead of
15112 (rightMargin): simplify code by factoring out the uses of
15117 (appendParagraph): use Paragraph::size_type
15119 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15121 * vspace.C (asLatexString): add a missing break
15123 2001-10-15 Herbert Voss <voss@perce.de>
15125 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15127 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15129 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15132 2001-10-10 André Pönitz <poenitz@gmx.net>
15134 * lyxfunc.C: removed greek_kb_flag.
15136 2001-10-10 Herbert Voss <voss@perce.de>
15138 * lyx_main.C: delete global string help_lyxdir.
15140 2001-10-09 Herbert Voss <voss@perce.de>
15142 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15144 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15146 * lyx_main.C: added global string help_lyxdir.
15148 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15150 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15152 * lyxrc.C (set_font_norm_type): support iso8859-4
15154 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15156 * LaTeX.C (deplog): add another regex for MikTeX
15158 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15160 * lyxrc.C (set_font_norm_type): support iso8859-3
15162 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15164 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15166 * LaTeXFeatures.C: remove special case of french and index
15168 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15169 before \begin{document}). This solves several incompatibilities.
15171 2001-10-03 Garst Reese <reese@isn.net>
15173 * lyx_cb.C: change CheckTex error msg.
15175 2001-10-03 José Matos <jamatos@fep.up.pt>
15177 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15179 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15181 * .cvsignore: update
15183 * lyx_main.C (commandLineVersionInfo): use new style version info.
15185 * buffer.C (writeFile):
15187 (makeLinuxDocFile):
15188 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15190 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15192 * version.h: update to use stuff in version.C
15194 * version.C.in: new file. Contains version information determined
15195 at compile time. This is a merging of version.h and
15198 2001-10-03 Juergen Vigna <jug@sad.it>
15200 * BufferView_pimpl.C (update): don't change "dirty" status in
15203 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15205 * WorkArea.C (c-tor): re-position version string slightly.
15207 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15209 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15210 revert to previous code.
15212 WorkArea.[Ch]: (show, destroySplash): methods removed.
15214 WorkArea.C: rework code so that it's an amalgam of the codes before and
15215 after the splash screen was moved to WorkArea.
15217 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15220 * vspace.C (inPixels):
15223 * buffer.C (insertStringAsLines):
15224 (asciiParagraph): fix types to be large enough
15226 * lyxlex_pimpl.h: change member status from short to int
15228 * layout.h: fix type of endlabeltype
15231 * kbsequence.C (parse): change return type to string::size_type
15233 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15236 * Bullet.C (bulletSize):
15237 (bulletEntry): do not use short ints as parameters
15239 * BufferView2.C (insertLyXFile): change a char to an int.
15241 * WorkArea.C (WorkArea): remove unneeded floats in computation
15243 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15245 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15247 * paragraph.C (asString): Do not ignore newline/hfill chars when
15248 copying to the clipboard.
15250 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15252 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15253 after a multi-line inset.
15255 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15257 * paragraph.C (validate): Set NeedLyXFootnoteCode
15259 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15261 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15262 and decrease-error to decrease.
15264 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15266 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15267 it more readable (should be equivalent)
15269 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15271 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15273 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15275 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15276 of a cursor (row, etc.) after a character has been deleted
15277 (deleteEmptyParagraphMechanism): call the method above on _all_
15278 cursors held by the LyXText when a double space has been
15281 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15283 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15285 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15287 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15288 background. Use greyOut() and the new show() methods to toggle between
15289 the foreground and background. Add code to remove the splash after
15290 its initial showing.
15292 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15293 (create_forms): no longer call Dialogs::showSplash.
15295 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15297 * .cvsignore: add version_info.h
15299 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15301 * version_info.h.in: new file
15303 * Makefile.am: add version_info.h.in
15305 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15306 version_info.h instead of VERSION_INFO
15308 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15310 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15311 The ERT inset now returns string().
15313 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15315 * lyxtext.h, text.C (selectNextWord): renamed as
15316 selectNextWordToSpellcheck.
15318 * text.C (selectNextWordToSpellcheck): Modified to not select
15319 words inside an ERT inset.
15321 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15323 * lyx_cb.C (MenuLayoutSave): change a bit the question
15325 * sp_base.h: include <sys/types.h>
15327 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15329 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15331 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15333 * several files: fix typos in user-visible strings
15335 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15337 * text2.C (pasteSelection): do not set the selection, since it
15338 will be cleared later. Actually, the intent was to fix the way the
15339 selection was set, but I figured rmoving the code was just as good.
15341 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15343 * FontLoader.C (available): Check if font is available without
15346 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15348 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15350 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15352 * lyxrc.[Ch]: added display_graphics variable and associated code.
15354 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15356 * bufferparams.C (hasClassDefaults): new method. Returns true if
15357 the buffer parameters correspond to known class defaults
15359 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15361 * XFormsView.C (show): set minimum size to the main window.
15363 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15365 * text2.C (copySelection):
15367 * lyxfind.C (LyXReplace):
15368 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15369 LyXText::selectionAsString.
15371 * paragraph.C (asString): add "label" argument to the second form
15373 * text2.C (selectionAsString): add "label" argument and pass it to
15374 Paragraph::asString.
15376 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15378 * lyx_main.C (commandLineHelp): remove version information
15380 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15382 * lyx_main.C: add -version commandline option
15384 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15386 * paragraph.h: make the optional constructor arg required instead.
15387 some modifications to other files because of this.
15389 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15391 * lyxserver.C (C_LyXComm_callback): make it static
15393 * lyx_main.C (error_handler): make it static
15395 * lyx_gui.C (LyX_XErrHandler): make it static
15397 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15399 * WorkArea.C: make the extern "C" methods static.
15401 * Makefile.am (lyx_LDADD): simplify
15403 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15405 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15406 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15408 * LyXAction.C (init):
15409 * lyxfunc.C (dispatch): associated code removal.
15411 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15413 * lyxfont.h (isSymbolFont): shut off warning
15415 * text.C (setHeightOfRow):
15416 (getVisibleRow): fix crash with empty paragraphs which have a
15419 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15421 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15424 2001-09-04 José Matos <jamatos@fep.up.pt>
15427 * tabular.C (docbook): rename docBook method to docbook.
15429 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15431 * Makefile.am: add dependencies to main.o.
15433 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15435 * FontLoader.C (available): Return false if !lyxrc.use_gui
15437 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15439 * FontInfo.C (query):
15440 * converter.C (view):
15441 * importer.C (Import):
15442 * exporter.C (Export): Can not -> cannot.
15444 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15446 * BufferView_pimpl.C: allow to create index inset even if
15449 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15451 * buffer.C (getLists): replace boost::tie code with an explicit pair
15452 as boost::tie can break some compilers.
15454 * iterators.h: Added a std:: declaration to the return type of
15457 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15459 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15462 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15464 * iterators.[Ch]: New files. Provide paragraph iterators.
15466 * buffer.C (changeLanguage): Use paragraph iterators.
15467 (isMultiLingual): ditto
15469 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15471 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15473 * FontLoader.C: Support for cmr font.
15475 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15477 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15478 (available): New method.
15480 * FontInfo.C (getFontname): Use scalable fonts even when
15481 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15484 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15486 * converter.C (Formats::view): reverted! Incorrect fix.
15488 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15490 * converter.C (Formats::view): only output the -paper option
15491 if the dvi viewer is xdvi, thereby fixing bug #233429.
15493 2001-08-23 Herbert Voss <voss@perce>
15495 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15497 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15499 * Spacing.h (Spacing): Set space to Default on in the default
15502 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15504 * vc-backend.h (RCS::versionString): add RCS to version
15505 (CVS::versionString): add CVS to version
15507 * vc-backend.C (scanMaster): do not add CVS to version.
15508 (scanMaster): do not add RCS to version
15510 * lyxvc.C (versionString): new method
15512 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15514 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15516 * Spacing.C (set): initialize fval
15518 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15520 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15523 2001-08-16 Juergen Vigna <jug@sad.it>
15525 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15527 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15529 * BufferView_pimpl.C:
15532 * text2.C: setParagraph takes linespacing now
15534 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15536 * LyxAction.C: add internal LFUN_CITATION_INSERT
15538 * LyXView.C: actually apply fix
15540 * bufferlist.C: fix open non-existent file
15542 * lyxfind.C: fix indentation
15544 * lyxfunc.C: remove unneeded assert, fix typo
15546 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15548 * MenuBackend.C: use "Floatname List"
15550 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15552 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15553 when converting LaTeX layout to insetERT.
15554 Generate a non-collapsed float when reading old float
15556 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15558 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15561 2001-08-13 Juergen Vigna <jug@sad.it>
15563 * text.C (fill): return 0 instead of 20 as this seems to be the more
15566 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15568 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15571 2001-08-13 Juergen Vigna <jug@sad.it>
15573 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15575 (SearchBackward): comment out the unlocking of the inset_owner this
15576 should not be needed!
15578 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15580 * Many files: Remove inherit_language, and add latex_language
15582 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15583 collapsible insets.
15585 2001-08-10 Juergen Vigna <jug@sad.it>
15587 * text.C (prepareToPrint): fixed hfill-width in draw!
15589 * BufferView2.C (selectLastWord): save the selection cursor as this
15590 now is cleared in the function LyXText::clearSelection!
15592 2001-08-08 Juergen Vigna <jug@sad.it>
15594 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15595 BACKSPACE type functions.
15597 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15598 is only cutted from the document but not put in the cut-buffer, where
15599 still the old stuff should be.
15601 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15603 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15605 * tabular.C (SetWidthOfCell): fixed special case where the width
15607 (LeftLine): handle '|' in align_special.
15609 (LeftAlreadyDrawed): ditto
15610 (SetWidthOfCell): ditto
15612 2001-08-07 Juergen Vigna <jug@sad.it>
15614 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15616 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15618 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15619 * lyxlex.[hC]: ditto
15621 2001-08-06 Juergen Vigna <jug@sad.it>
15623 * text.C (getVisibleRow): fix up row clearing a bit.
15625 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15627 * minibuffer.C: make sure the X server sees the changes in the input.
15629 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15631 * paragraph.C (getFont): split into...
15632 (getLabelFont): this
15633 (getLayoutFont): and this
15634 * paragraph_pimpl.C (realizeFont): calling this
15636 * text2.C (getFont): split into...
15637 (getLayoutFont): this
15638 (getLabelFont): and this
15639 (realizeFont): all three calling this
15641 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15644 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15646 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15648 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15650 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15651 layouts from the Quote inset insertion.
15653 2001-08-03 Juergen Vigna <jug@sad.it>
15655 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15657 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15658 only if status not is already CHANGED_IN_DRAW (second level).
15660 * text.C (draw): don't set the need_break_row when inside an
15663 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15665 * buffer.C (parseSingleLyXformat2Token): handle more latex
15668 * bufferview_funcs.[hC]: change function names to
15669 begin with small char, adjust other files.
15671 2001-08-02 André Pönitz <poenitz@gmx.net>
15674 BufferView_pimpl.C: remove broken special code for math-greek
15676 2001-08-02 Juergen Vigna <jug@sad.it>
15678 * BufferView_pimpl.C (update): redone this function so that we
15679 update the text again if there was a CHANGE_IN_DRAW.
15681 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15682 (drawFromTo): added a new internal bool which is used by draw() and
15684 (general): some cursor drawing problems fixed.
15686 2001-08-01 Juergen Vigna <jug@sad.it>
15688 * lyxfind.C (LyXFind): fixed
15689 (SearchForward): ditto
15690 (SearchBackward): ditto
15692 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15693 spurius drawing of the cursor in the main area.
15695 * text2.C (status): small fix which could lead to a segfault!
15696 (clearSelection): remove unneeded BufferView param.
15698 2001-08-01 André Pönitz <poenitz@gmx.net>
15700 * lyxfunc.C: small change due to changed mathed interface
15702 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15704 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15706 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15708 * lyxfunc.c: fail gracefully if file doesn't exist
15713 * BufferView_pimpl.C: IsDirWriteable() proto changed
15715 * LyXView.C: fix updateWindowTitle() to store the last title
15717 2001-07-31 Juergen Vigna <jug@sad.it>
15719 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15720 the font (wrong since using of Paragraph::highestFontInRange).
15722 * paragraph.C (highestFontInRange): added a default_size parameter.
15724 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15725 (setHeightOfRow): reformat
15727 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15729 * converter.[hC] + affected files: move to (inital-char)lowercase
15732 * ParagraphParameters.C (ParagraphParameters): remove commented code
15734 * PainterBase.[Ch]: remove commented code
15736 * LaTeXFeatures.h: add "bool floats" for float.sty
15738 * LaTeXFeatures.C (LaTeXFeatures): init floats
15739 (require): handle float
15740 (getPackages): do it with floats
15742 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15744 * BufferView_pimpl.C (Dispatch): improve handling of
15745 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15747 * commandtags.h: #include lyxfont.h here temporarily to avoid
15750 * bufferlist.h: include LString.h here.
15752 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15754 * text2.C (getStringToIndex): new method.
15756 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15758 * *: Reduced header file dependencies all over.
15760 2001-07-30 Baruch Even <baruch@lyx.org>
15762 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15764 2001-07-29 Baruch Even <baruch@lyx.org>
15766 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15768 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15770 * ParameterStruct.h (endif): add a default constructor to make
15771 sure that all variables is initialized.
15773 * ParagraphParameters.C (ParagraphParameters): adjust
15775 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15777 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15778 index; also, check that there is something to index, and that it
15779 does not span over several paragraphs.
15780 (doubleClick): use WHOLE_WORD_STRICT for double click.
15782 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15784 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15787 2001-07-26 Baruch Even <baruch@lyx.org>
15789 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15790 an InsetFig figure, backwards compatible reading of old figure code.
15792 2001-07-27 Juergen Vigna <jug@sad.it>
15794 * text2.C: font.realize function adaption.
15796 * text.C (draw): add a warnings lyxerr text if needed.
15798 * layout.C: font.realize function adaption.
15800 * language.C: add inherit_language and implement it's handlings
15802 * bufferview_funcs.C (StyleReset): remove language parameter from
15803 font creation (should be language_inherit now).
15805 * bufferparams.C (writeFile): handle ignore_language.
15807 * paragraph.C (getFontSettings): the language has to be resolved
15808 otherwise we have problems in LyXFont!
15810 * lyxfont.C (lyxWriteChanges): added document_language parameter
15811 (update): removed unneeded language parameter
15813 * paragraph.C (validate): fixed wrong output of color-package when
15814 using interface colors for certain fonts in certain environments,
15815 which should not seen as that on the final output.
15817 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15819 * BufferView_pimpl.C:
15824 * LyXAction.C: add thesaurus support
15827 * lyxfind.C: add "once" parameter, for thesaurus, to not
15828 move to the next match
15830 2001-07-26 Juergen Vigna <jug@sad.it>
15832 * lyxfont.C (realize): honor ignore_language too!
15835 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15837 * text.C (draw): one place more for ignore_language to not draw
15840 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15842 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15844 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15846 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15847 the minipage conversion problem.
15849 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15851 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15854 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15856 * BufferView.h: don't forward declare WorkArea
15858 * BufferView.C: don't include WorkArea.h
15860 2001-07-25 André Pönitz <poenitz@gmx.net>
15864 * lyxfunc.C: new LFUN 'math-space'
15866 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15868 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15870 * text2.C (toggleInset): call open/close
15872 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15874 * lyxfunc.C (dispatch): add debug for the disabled case
15876 * font.C (buttonText): make similar to rectText
15878 * buffer.C (readInset): comment out parsing of insetlist and
15881 * PainterBase.C (rectText): small correction
15883 * BufferView_pimpl.C: comment out insettheorem and insetlist
15884 * LyXAction.C: ditto
15885 * commandtags.h: ditto
15887 2001-07-24 Juergen Vigna <jug@sad.it>
15889 * text.C (draw): honor the ignore_language.
15891 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15893 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15895 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15898 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15900 * lyxtext.h: remove unused (and unimplemented) methods
15902 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15904 * text.C (getVisibleRow): honor background color
15907 * Painter.h: remove default color argument for fillRectangle
15909 * text.C (backgroundColor): new method
15911 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15913 * text.C (getVisibleRow): adjust
15915 * font.[Ch] (rectText): new method, metrics
15916 (buttonText): new method, metrics
15918 * PainterBase.[hC]: make rectText and buttonText always draw and take
15921 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15923 * ToolbarDefaults.C (read):
15924 * MenuBackend.C (read): allow escaping in all strings
15926 * BufferView_pimpl.C (insertAndEditInset): new method.
15927 (Dispatch): use insertAndEditInset whenever appropriate.
15929 * BufferView_pimpl.C (insertNote): removed
15931 * BufferView_pimpl.C (smartQuote): new method, moved from
15932 BufferView; if an insetquote cannot be inserted, insert a '"'
15935 * BufferView2.C: remove insertCorrectQuote();
15937 * lyxfunc.C (getStatus): Add support for all remaingin
15938 inset-insert lfuns.
15940 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15942 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15943 command (necessary to pass " as parameter of self-insert.
15945 * text.C (selectWordWhenUnderCursor):
15946 (selectWord): add word_location parameter
15947 (selectWordWhenUnderCursor): same + remove special code for word
15949 (selectNextWord): use kind() to guess type of insetspecialchar,
15952 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15953 (insertErtContents): create ert insets as collapsed.
15954 (readInset): better compatibility code for Info inset.
15956 2001-07-20 Juergen Vigna <jug@sad.it>
15958 * lyxfunc.C (dispatch): use always LyXFind now!
15960 * text2.C (init): add a reinit flag so that the LyXText can be
15961 reinited instead of deleted and reallocated (used in InsetText).
15963 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15969 2001-07-18 Juergen Vigna <jug@sad.it>
15971 * text.C (selectNextWord): handle insets inside inset by calling
15972 always the bv->text functions so that we can go up the_locking_inset!
15974 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15975 in strange locations when inside an inset!
15977 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15978 handling to include insets.
15980 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15982 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15984 * LyXAction.C (init):
15986 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15987 LIGATURE_BREAK, since the name is so stupid.
15989 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15991 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15994 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15996 * sp_form.[Ch]: remove.
15998 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16000 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16003 * src/buffer.C (readInset): ditto.
16005 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16007 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16008 menuSeparator(), endOfSentenceDot(), ldots() and
16009 hyphenationPoint(), which are therefore removed.
16010 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16012 * LyXAction.C (init):
16013 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16015 * paragraph.C (getWord): removed.
16017 * BufferView_pimpl.C (Dispatch): use last word or selection for
16018 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16020 * lyx_main.C (queryUserLyXDir): do not ask before creating
16021 user_dir, except if it has been named explicitely.
16023 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16025 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16026 a document of zero size.
16028 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16030 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16031 approriately in the c-tor and in require().
16032 (getPackages): output the appropriate LaTeX for natbib support.
16034 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16035 variables "use_natbib" and "use_numerical_citations" when reading the
16037 (readInset): read the various natbib cite commands.
16038 (validate): white-space change.
16040 * bufferparams.[Ch]: new variables "bool use_natbib" and
16041 "bool use_numerical_citations".
16042 (writeFile): output them in the LyX file.
16044 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16046 * lyxfunc.C (getStatus): add support for all the inset insertion
16049 * text2.C (insertInset):
16050 * paragraph.C (insetAllowed):
16051 * BufferView_pimpl.C (insertInset): update to take in account the
16052 renaming of insertInsetAllowed
16054 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16056 * text2.C (getInset): new method. returns inset at cursor position.
16058 * BufferView_pimpl.C (Dispatch): changes because of this.
16060 * LyXAction.C (init): rename open-stuff to inset-toggle.
16062 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16064 * text2.C (toggleInset): renamed from openStuff; use
16067 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16069 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16071 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16073 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16075 * buffer.C (readLyXformat2): Add filename to the error dialog
16077 2001-07-18 Juergen Vigna <jug@sad.it>
16079 * tabular.C (GetCellNumber): put an assert here instead of the check!
16081 2001-07-17 Juergen Vigna <jug@sad.it>
16083 * BufferView_pimpl.C (toggleSelection): adapted too.
16085 * text.C (selectNextWord): adapted for use with insets.
16086 (selectSelectedWord): ditto
16088 2001-07-17 Juergen Vigna <jug@sad.it>
16090 * sp_spell.C (PSpell): fix initialitation order.
16092 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16094 * paragraph.C: spacing
16096 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16098 * sp_spell.C: repair language selection for pspell
16100 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16102 * lyxfunc.h: change more methods to begin with lower char.
16104 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16106 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16107 for unknown layouts.
16109 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16111 * buffer.C (readLyXformat2): Generate an error dialog if there are
16114 2001-07-16 Juergen Vigna <jug@sad.it>
16116 * sp_spell.C: always compile ISpell part.
16118 * lyxrc.C: added use_pspell entry and it's handling.
16120 2001-07-13 Juergen Vigna <jug@sad.it>
16122 * sp_spell.C: removed double includes.
16124 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16126 Consistent use of Lsstream.h:
16127 * Lsstream.h: added using std::stringstream for consistencies sake.
16129 * buffer.C: removed using std::stringstream
16131 * lyxfont.C (stateText):
16132 * paragraph.C (asString):
16133 * text.C (selectNextWord, selectSelectedWord):
16134 * text2.C (setCounter):
16135 * vspace.C (asString, asLatexString):
16136 std::ostringstream -> ostringstream.
16138 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16140 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16141 * commandtags.h: add LFUN_HELP_ABOUTLYX
16142 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16144 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16146 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16148 * lyx_gui_misc.C: remove spellchecker
16149 * lyxfunc.C: showSpellchecker
16151 * sp_ispell.h: added
16152 * sp_pspell.h: added
16153 * sp_spell.C: added
16154 * sp_form.[Ch]: removed
16155 * spellchecker.[Ch]: removed
16157 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16159 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16161 (simpleTeXSpecialChars): Simply print the input character without
16162 any special translation if pass_thru is set.
16164 * layout.h: Added bool pass_thru to layout class for being able to
16165 implement pass through of a paragraph for Literate Programming.
16167 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16168 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16169 * layout.C (Read): add "passthru" to list of layout tags and add
16170 code to set the pass_thru boolean when it is read.
16172 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16174 * trans_decl.h: remove allowed from KmodInfo
16176 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16177 remove allowed code
16180 * paragraph_pimpl.C (erase): use boost::prior
16182 * Painter.C (text): use data() instead of c_str() when length is
16184 * WorkArea.C (putClipboard): ditto
16185 * font.h (width): ditto
16187 * BufferView2.C: use it-> instead of (*it). for iterators
16189 * paragraph_pimpl.C: ditto
16190 * paragraph.C: ditto
16191 * minibuffer.C: ditto
16192 * language.C: ditto
16194 * encoding.C: ditto
16195 * counters.C: ditto
16196 * converter.C: ditto
16198 * Variables.C: ditto
16199 * TextCache.C: ditto
16200 * MenuBackend.C: ditto
16201 * LyXAction.C: ditto
16203 * FloatList.C: ditto
16204 * DepTable.C: ditto
16205 * ColorHandler.C (LyXColorHandler): ditto
16207 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16209 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16211 * text2.C (openStuff): reintroduce this method (which had been
16212 nuked in NEW_INSETS frenzy).
16214 * lyxfunc.C (Dispatch): when an action has not been handled, use
16215 its name in the error message, not its number.
16217 * paragraph.C (inInset): change method name to begin with lowercase.
16220 * text2.C: updates because of this.
16222 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16224 * ToolbarDefaults.C (add): add spaces in error message
16226 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16228 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16229 (readLyXformat2): rename return_par to first_par, use lyxlex's
16230 pushToken and remove the manual push handling.
16231 (parseSingleLyXformat2Token): add another ert comp. variable:
16232 in_tabular, rename return_par to first_par. handle newlines better
16234 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16236 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16238 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16240 * text2.C (getParFromID): removed
16242 * buffer.C (getParFromID): new method moved form lyxtext.
16243 * BufferView2.C (insertErrors): adjust
16244 (setCursorFromRow): adjust
16245 * BufferView_pimpl.C (restorePosition): adjust
16246 * lyxfunc.C (Dispatch): adjust
16247 * undo_funcs.C (textUndo): adjust
16249 (textHandleUndo): adjust
16250 (textHandleUndo): adjust
16252 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16254 * buffer.C: up' the LYX_FORMAT
16256 * lyxfont.h: turn NO_LATEX on as default
16258 * buffer.C (insertErtContents): new methods of tex style compability.
16259 (parseSingleLyXformat2Token): use it several places.
16260 * tabular.C (OldFormatRead): and here
16262 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16264 * text2.C: remove some commented code.
16267 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16268 * trans.C: changes because of the above.
16270 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16272 * text2.C (setCounter): Fix counters bug with bibliography layout.
16274 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16276 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16277 own member functions
16278 (simpleTeXSpecialChars): ditto
16280 2001-07-06 Juergen Vigna <jug@sad.it>
16282 * a lot of files: changed the access to LyXText::status and the
16283 call of undo-functions.
16285 * undo.[Ch]: added a inset_id to the undo informations.
16287 * undo_funcs.[Ch]: added and moved here all undo functions.
16289 * lyxtext.h: give the status enum a weight, made status_ a private
16290 variable and made accessor functions for it, removed the whole bunch
16291 of undo-functions as they are now in their own file, make some
16292 functions publically available. Added function ownerParagraph with
16295 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16296 made InInset() a const function, added getParFromID() function.
16298 * buffer.[Ch]: added const version for inset_iterator functions,
16299 added getInsetFromID() function.
16301 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16302 changed undo functions for new version.
16304 2001-07-05 Juergen Vigna <jug@sad.it>
16306 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16307 unknow mechanism does not call the proper constructor but only this
16308 one also if I request the other!?
16310 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16312 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16314 * text2.C (LyXText): use initialization lists.
16316 * lyxtext.h (Selection): initialize set_ and mark_
16317 (init): remove method
16319 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16321 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16323 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16325 * screen.[Ch]: change method names to begin with lowercase
16327 * BufferView_pimpl.C (updateScrollbar): simplify further and
16328 hopefully make it a bit faster.
16330 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16332 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16333 calling directly xforms functions.
16335 * Painter.C (Painter):
16336 * lyx_cb.C (MenuWrite):
16337 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16340 * lyx_gui.C: remove bogus guiruntime extern declaration.
16342 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16344 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16346 (redoDrawingOfParagraph): ditto
16347 (redoParagraphs): ditto
16348 (cutSelection): don't create a object for CutAndPaste use the
16349 static method directly
16350 (pasteSelection): ditto
16352 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16355 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16357 * modifications to some other files because of this.
16359 * Makefile.am (lyx_SOURCES): add XFormsView
16361 * XFormsView.[Ch]: new files
16363 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16364 the main window. Move the gui dependent stuff to XFormsView
16366 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16368 * tabular.C (GetCellInset): update cur_cell also in the row/col
16369 version of this function.
16371 * lyxfunc.C: no need to include figure_form.h here.
16377 * lyxvc.C: no need to include forms.h here.
16379 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16381 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16383 * lyxfunc.C (Dispatch):
16385 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16386 constructor argument.
16388 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16390 * paragraph.C (Paragraph): dont't clear, and just set layout.
16391 (makeSameLayout): use params's copy contructor.
16393 * ParagraphParameters.[Ch] (makeSame): delete method
16395 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16397 * Variables.[Ch]: fix indentation, rename set to isSet
16399 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16401 * lyxfunc.C (Dispatch): fix typo
16403 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16405 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16408 * bufferlist.C: include assert.h for emergencyWrite().
16410 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16412 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16413 give up at last (bug #425202) !
16415 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16421 * spellchecker.C: strip spellchecker options and bring up
16422 preferences tab instead
16424 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16426 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16427 the istringstream constructor
16429 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16431 * paragraph.C (getLayout): fix return value
16433 * paragraph.h: do not declare getLayout as inline.
16435 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16437 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16439 * lyxcursor.h (operator<): new func
16440 (operator>): new func
16441 (operator>=): new func
16442 (operator<=): new func
16444 * text.C (changeCase): use selection.start and selection.end
16445 (changeRegionCase): require from to be <= to. Require par to be a
16448 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16450 2001-06-27 Juergen Vigna <jug@sad.it>
16452 * text.C (cursorLeftOneWord): changed to return the cursor and added
16453 overlay with BufferView * parameter which calls this one.
16455 (selectWord): use new getWord function.
16456 (changeCase): renamed from changeWordCase as and extended to work
16457 also on selections.
16459 * lyxtext.h: added enum word_location
16461 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16462 changeCase as this operates now also on selections.
16464 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16466 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16468 * many files: send debug output to Debug::INFO instead of
16471 * converter.C (View):
16473 (Move): send debug output to Debug::FILES instead of console.
16475 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16477 * lyxfunc.C (getStatus): use func_status
16479 * func_status.h: new header, describing the results of
16480 LyXFunc::getStatus;
16482 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16485 2001-06-25 The LyX Project <jug@sad.it>
16487 * buffer.C (sgmlOpenTag):
16489 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16491 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16493 * text2.C: remove some dead code
16495 * tabular.C (GetCellInset): store the last cell checked (gotten)
16497 * tabular.h: add the helper for the speedup
16499 * lyxtext.h: remove some dead code
16501 2001-06-26 The LyX Project <Asger>
16503 * paragraph.C: Change export to LaTeX of alignment to
16504 \begin{center} and family for better roundtrip work with reLyX.
16506 * Tune the math drawing a bit.
16508 2001-06-25 The LyX Project <Asger>
16510 * LColor.C (LColor): New color for math background. New color
16513 2001-06-25 The LyX Project <jug@sad.it>
16515 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16517 * lyxfunc.C (Open):
16518 * bufferlist.C (newFile): do not restrict to files ending with
16521 * BufferView_pimpl.C (MenuInsertLyXFile):
16523 2001-06-24 The LyX Project <jug@sad.it>
16525 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16528 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16530 * lyxtext.h: rename most methods to begin with a small char.
16531 Lots of changes because of this.
16533 * paragraph.C (Paragraph): do not call fitToSize
16534 (erase): call Pimpl::erase
16535 (insertChar): call Pimpl::insertChar
16536 (insertInset): call Pipl::insertInset
16537 (breakParagraph): do not call fitToSize
16538 (breakParagraphConservative): do not call fitToSize
16539 (fitToSize): remove method
16541 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16543 2001-06-24 The LyX Project <Asger>
16545 * Fix Qt compilation^2
16547 2001-06-24 The LyX Project <jug@sad.it>
16549 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16550 depthHook(getDepth()-1).
16553 * ParagraphParameters.h:
16554 * ParameterStruct.h: change type of depth to unsigned int ==
16555 depth_type. Many adaptations to other files before of that.
16557 2001-06-24 The LyX Project <Asger>
16559 * Fix Qt compilation.
16561 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16563 * paragraph.h: renamed several methods to begin with small letter.
16564 several changes to many parts of the code because of this.
16566 2001-06-23 The LyX Project <jug@sad.it>
16568 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16569 rewritten to discard all double spaces when KeepEmpty is off
16570 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16571 to only handle newlines but not fiddle with spaces and friends.
16573 * lyxfunc.C (MenuNew): when doing 'new from template', use
16574 template_path as default directory
16576 2001-06-23 The LyX Project <Asger>
16578 * Clean-up of header file includes all over
16579 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16581 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16583 * paragraph.h: renamed from lyxparagraph.h
16585 2001-06-23 Asger <lyx@violet.home.sad.it>
16587 * Buffer.h: Removed Buffer::resize
16588 * BufferList.h: Removed BufferList::resize
16589 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16590 the document lazily when we change the width, or the font settings.
16592 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16594 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16596 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16598 * buffer.h: remove out of date comment
16600 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16603 * screen.C: fix "theoretical" GC leak
16605 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16607 * LaTeX.C (scanAuxFile):
16608 (deplog): remove trailing \r when reading stream (useful under
16611 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16613 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16614 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16615 and BufferView::theLockingInset(Inset*), so should use them and not
16616 access bv_->text->the_locking_inset directly.
16618 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16620 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16623 * tex-defs.h: remove old unused file
16625 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16627 * BufferView_pimpl.C: fix typo, remove minibuffer message
16628 when buffer has loaded
16630 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16632 * lyxfunc.C (Dispatch): use stringstream
16633 (MenuNew): use stringstream
16634 (Open): use stringstream
16636 * importer.C (Import): use stringstream
16638 * bufferview_funcs.C (CurrentState): use stringstream
16640 * LaTeX.C (run): use stringstream
16642 * BufferView_pimpl.C (savePosition): use stringstream
16643 (restorePosition): use stringstream
16644 (MenuInsertLyXFile): use stringstream
16646 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16659 * vspace.C: removed // -*- C++ -*- as first line.
16662 * version.h: added // -*- C++ -*- as first line.
16664 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16666 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16668 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16671 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16673 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16676 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16678 * gettext.C: include LString.h even when --disable-nls is on.
16680 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16682 * converter.h (Get): changed argument type from int to
16683 FormatList::size_type to avoid unnecessary conversion.
16685 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16688 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16690 * gettext.h: include LString.h even when --disable-nls is on.
16692 2001-06-07 Juergen Vigna <jug@sad.it>
16694 * text.C (BreakAgain): subst spaces with tabs.
16696 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16697 (resizeInsetsLyXText): set force on resizeLyXText.
16699 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16701 * gettext.h (gettext_init):
16702 (locale_init): use a real definition instead of a macro
16704 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16706 * Bufferview_pimpl.C:
16708 * LColor.C: further lcolor tidies
16710 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16712 * BufferView_pimpl.C (updateScrollbar): simplify.
16714 * BufferView2.C: don't include insets/insetinfo.h, change
16715 prototype for insertInset and call the Pimpl version. let
16716 updateInset call Pimpl version.
16718 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16719 gotoInset to BufferView::Pimpl
16721 2001-06-01 Juergen Vigna <jug@sad.it>
16723 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16724 inside a LockingInset (is the update needed at all?).
16726 2001-05-31 Juergen Vigna <jug@sad.it>
16728 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16729 here not the old one otherwise how should we compare it afterwards
16732 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16737 * FontInfo.C: bring C functions into global namespace when
16740 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16742 * LString.h: make sure config.h has been loaded before LString.h.
16744 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16745 (one for each char read by EatLine!).
16747 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16750 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16752 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16753 to the same as the par we break from
16755 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16757 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16759 * MenuBackend.C (expand): also create menu entries for wide
16760 versions of the floats.
16762 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16764 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16766 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16767 frontends/Makefile.am
16773 * tabular.C (getTokenValue): add std::
16775 * tabular-old.C (getTokenValue): add std::
16776 (getTokenValue): ditto
16777 (getTokenValue): ditto
16779 * screen.C (ToggleSelection): adjust
16781 * lyxtext.h: put selection cursors inside a Selection struct.
16783 * lyxfunc.C (moveCursorUpdate): adjust
16785 * lyxfont.C (latexWriteStartChanges): add std::
16787 * lyxfind.C: adjust
16789 * font.h: delete with(char const *, LyXFont const &)
16791 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16793 * FontInfo.C (getFontname): add std::
16795 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16796 (workAreaButtonPress): adjust
16797 (tripleClick): adjust
16799 (moveCursorUpdate): adjust
16802 * BufferView2.C (gotoInset): adjust
16804 2001-05-30 Juergen Vigna <jug@sad.it>
16806 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16807 to check pspell I add this as default as I now have new pspell
16808 libraries and they seem to use this.
16810 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16812 * text2.C (CutSelection): make the cursor valid before the call to
16815 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16817 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16818 relied on 0 terminated strings and other horrors. Bug found due to
16819 the new assert in lyxstring!
16821 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16824 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16826 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16829 * lyxfunc.C (processKeySym): change method of getting to the
16832 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16833 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16834 * BufferView_pimpl.[Ch]: here as private methods.
16836 2001-05-28 Juergen Vigna <jug@sad.it>
16838 * text.C (SetHeightOfRow): added the update() call again as it is
16839 needed to initialize inset dimensions!
16841 2001-05-16 Juergen Vigna <jug@sad.it>
16843 * text2.C (SetCharFont): Add new function with BufferView * and
16844 bool toggleall parameters for setting insets internal fonts.
16845 (SetFont): Freeze the undo as we may change fonts in Insets and
16846 all this change should be inside only one Undo!
16848 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16849 setting font's in insets as for them we have the SetFont function!
16851 2001-05-15 Juergen Vigna <jug@sad.it>
16853 * text2.C (ClearSelection): to be sure we REALLY don't have any
16856 * tabular.C (TeXCellPreamble): fixed the left border problem for
16859 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16861 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16864 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16866 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16867 LFUN_BREAKPARAGRAPH.
16869 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16870 help test to "internal only", similar for LFUN_INSERT_URL
16872 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16873 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16874 auto_region_delete and deadkeys.
16876 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16879 * LColor.C: remove some dead entries, tidy a little
16881 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16883 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16885 (Dispatch): implement LFUN_ESCAPE
16887 * commandtags.h: add LFUN_ESCAPE
16889 * LyXAction.C (init): add entry for LFUN_ESCAPE
16891 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16892 Remove commented code.
16893 (insertNote): moved here
16894 (open_new_inset): moved here
16896 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16899 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16901 * kbmap.C (findbinding): clean it up and make it work correctly.
16903 * lyx_main.C (init): do not pass argc and argv as parameters
16905 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16907 * buffer.C: fix path for OS/2 & Win32
16911 * lyx_main.C: Added os:: class.
16913 * os2_defines.h: update
16915 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16917 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16918 better by trying again with reduced state.
16920 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16922 * lyxrc.C (read): print error about invalid key sequence only when
16923 debugging (because not all latinX keysyms are known to some X
16926 * kbsequence.C (getiso): add a few std:: qualifiers
16927 (getiso): comment out extra return statement.
16929 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16931 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16933 (Dispatch): enhance the accent inset a bit. (not perfect)
16935 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16937 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16939 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16941 * bufferlist.C (emergencyWrite): fix assert() call
16943 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16945 * text.C (InsertChar): Added trivial patch to only send the "you
16946 can not do multiple spaces this way" message once during a
16949 2001-05-08 Baruch Even <baruch@lyx.org>
16951 * Makefile.am: Changed order of libraries to get LyX to link properly
16952 with the gnome frontend.
16954 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16956 * LaTeXFeatures.h: add a std:: qualifier
16958 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16960 * paragraph.C (String): use stringstream
16962 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16964 * paragraph.C (writeFile): remove footflag arg
16966 * buffer.C (makeLaTeXFile): use stringstream
16967 (latexParagraphs): remove footnot gurba
16969 * LaTeXFeatures.C (getPackages): use stringstream
16970 (getMacros): likewise
16971 (getTClassPreamble): likewise
16972 (getFloatDefinitions): new method
16974 * paragraph.C (writeFile): reindent
16977 * WorkArea.h: revert the xpos + etc changes.
16979 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16981 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16983 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16984 (pasteSelection): likewise
16985 * text2.C (CreateUndo): likewise
16987 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16989 * minibuffer.C (peek_event): temporarily reduce the functionality
16990 of the minibuffer (to allow args on lfuns)
16992 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16993 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16995 * buffer.C (readInset): add compability reading of old float
16996 lists, add reading of new style float list.
16997 (readInset): avoid reevaluation of inscmd.getCmdName()
16998 (getLists): reindent
17000 * MenuBackend.C (MenuItem): implement parsing of
17001 md_floatlistinsert and md_floatinsert.
17002 (expand::LastFiles): move initalizaton of iterators out of loop,
17003 avoid reevaluation.
17004 (expand::Documents): introduce typdedef vector<string> Strings,
17006 (expand::ExportFormats): introduce typedef vector<Format const *>
17007 Formats, and use it.
17008 (expand): implement FloatListInsert and FloatInsert.
17010 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17011 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17012 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17014 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17016 (Dispatch::LFUN_FLOAT_LIST): implement
17018 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17020 * LaTeX.C (run): Fix problem with --export code.
17022 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17024 * BufferView.[Ch] (workarea): removed.
17025 (getClipboard) new method; wrapper for workarea()->getClipboard()
17027 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17030 * WorkArea.h (width, height, xpos, ypos): These methods all
17031 returned the dimensions of the work_area sub-area of WorkArea,
17032 resulting in a position error if the WorkArea were resized. Now
17033 return the dimensions of the entire WorkArea.
17035 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17037 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17039 * LaTeX.C (deplog): correct the syntax of regex reg1
17041 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17043 * undo.C: remove !NEW_INSETS cruft
17045 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17047 * text2.C: remove !NEW_INSETS cruft
17049 * text.C: remove !NEW_INSETS cruft
17051 * tabular.C: remove !NEW_INSETS cruft
17053 * spellchecker.C: remove !NEW_INSETS cruft
17055 * lyxtext.h: remove !NEW_INSETS cruft
17057 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17059 * lyxfunc.C: remove !NEW_INSETS cruft
17061 * lyxfind.C: remove !NEW_INSETS cruft
17063 * lyx_cb.C: remove !NEW_INSETS cruft
17065 * figureForm.C: remove !NEW_INSETS cruft
17067 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17069 * buffer.[Ch]: remove !NEW_INSETS cruft
17071 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17073 * CutAndPaste.C: remove !NEW_INSETS cruft
17075 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17077 * BufferView2.C: remove !NEW_INSETS cruft
17079 * BufferView.h: remove !NEW_INSETS cruft
17081 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17083 * Lsstream.h: include LString.h before the sstream headers to
17084 fix problem with gcc 2.95.3 and lyxstring
17086 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17088 * lyx_main.C: add using directives when needed for C functions
17089 declared in std:: namespace.
17091 2001-04-27 Juergen Vigna <jug@sad.it>
17093 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17094 (SetHeightOfRow): comment out the update call should not be needed!
17096 2001-04-13 Juergen Vigna <jug@sad.it>
17098 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17099 (LyXTabular): tried to minimize operator= operations (and realized
17100 hopfully Lars wish).
17102 2001-04-27 Juergen Vigna <jug@sad.it>
17104 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17106 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17108 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17110 * buffer.C (readInset): hack to make listof algorithm work
17112 * BufferView_pimpl.C: hack to make listof algorithm work
17114 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17116 * LyXAction.C: removed all !NEW_INSETS cruft
17117 (init): moved lfun_item in method
17119 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17121 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17123 * BufferView2.C (theLockingInset): white space.
17125 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17127 * minibuffer.C: include <iostream>
17129 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17131 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17133 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17135 * text.[Ch] (TransposeChars): new method
17137 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17139 * call message directly through LyXView instead of through LyXFunc
17140 * BufferView2.C: adjust
17141 * BufferView_pimpl.C: adjust
17142 * FontLoader.C: adjust
17144 * bufferview_funcs.C: adjust
17145 * converter.C: adjust
17146 * figureForm.C: adjust
17147 * importer.C: adjust
17149 * lyx_gui_misc.C: adjust
17150 * lyxfunc.C: adjust
17153 + more files in subdirs
17155 * lyxparagraph.h (size): move up int file
17158 * adjust all uses of Assert to lyx::Assert.
17160 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17161 lyxfunctional in namespace lyx
17162 * layout.C (hasLayout): ditto
17165 (delete_layout): ditto
17166 (NumberOfClass): ditto
17167 * converter.C (GetFormat): ditto
17172 * bufferlist.C (getFileNames): ditto
17173 (emergencyWriteAll): ditto
17176 * MenuBackend.C (hasSubmenu): ditto
17179 * BufferView_pimpl.C (getInsetByCode): ditto
17181 2001-04-18 Juergen Vigna <jug@sad.it>
17183 * vspace.C (asLatexString): fixed the 100% problem.
17185 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17187 * lyxfunc.C (Dispatch):
17189 * minibuffer.h: add a few std:: qualifiers
17191 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17193 * minibuffer.[Ch]: reimplement so that commands is initiated and
17194 run from lyxfunc, simplified som handling, and made the completion
17195 and history code for complete. wip.
17197 * lyxfunc.C (processKeySym): call message
17198 (miniDispatch): new temporary method
17199 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17200 (LFUN_MESSAGE): implement
17201 (LFUN_MESSAGE_PUSH): implement
17202 (LFUN_MESSAGE_POP): implement
17203 (initMiniBuffer): the initial/defualt minibuffer message.
17205 * lyxfont.[Ch]: inline some more getters
17207 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17209 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17211 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17212 (AutoSave): use LFUN_MESSAGE
17213 (Reconfigure): ditto
17215 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17217 * figureForm.C: use LFUN_MESSAGE
17219 * converter.C (runLaTeX): use LFUN_MESSAGE
17221 * bufferview_funcs.C: use LFUN_MESSAGE
17223 (changeDepth): ditto
17225 * bufferparams.h: use boost::
17227 * bufferlist.h: inherit privately from noncopyable
17229 * bufferlist.C (loadLyXFile): remove some commented code.
17231 * buffer.C (runChktex): use LFUN_MESSAGE
17233 * ShareContainer.h: inherit privately from noncopyable
17235 * ParagraphParameters.[hC] (depth): inline it.
17237 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17239 (message): new method
17240 (messagePush): ditto
17241 (messagePop): ditto
17242 (show): init minibuffer
17243 (showState): direct call
17245 * LaTeX.[Ch]: inherit privately from noncopyable
17246 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17247 instead of WriteStatus.
17249 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17251 * BufferView_pimpl.C (buffer): don't init minibuffer
17252 (workAreaButtonPress): use LFUN_MESSAGE
17253 (workAreaButtonRelease): ditto
17254 (savePosition): ditto
17255 (restorePosition): ditto
17256 (MenuInsertLyXFile): ditto
17257 (workAreaExpose): don't init minibuffer
17258 (update): remove commented code, simplify
17260 * BufferView2.C (openStuff): use LFUN_MESSAGE
17261 (toggleFloat): ditto
17264 (copyEnvironment): ditto
17265 (pasteEnvironment): ditto
17270 (updateInset): remove some commented code
17272 * lastfiles.h: inherit privately from noncopyable
17275 * lyx_main.h: ditto
17277 * lyxlex_pimpl.h: ditto
17279 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17280 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17281 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17283 * LyXAction.h: inherit privately from noncopyable, add methods
17284 func_begin, func_end, returning iterators to the func map.
17286 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17287 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17288 (func_begin): new method
17289 (func_end): new method
17291 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17293 (copySelection): ditto
17294 (pasteSelection): ditto
17296 * BufferView.C: whitespace change
17297 * BufferView.h: inherit privately from noncopyable
17299 2001-04-16 Allan Rae <rae@lyx.org>
17301 * tabular-old.C (l_getline):
17302 * spellchecker.C (sc_check_word):
17303 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17304 an unrecognised preprocessor directive. So ensure they're wrapped.
17306 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17308 * src/exporter.C (Export): Give an error message when path to file
17311 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17313 * LaTeX.C (deplog): Always check that foundfile exists.
17315 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17318 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17320 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17322 * tabular.[Ch] (getLabelList): implement new method
17324 * minibuffer.h: comment ouf setTiimer
17326 * minibuffer.C (ExecutingCB): constify res
17327 (peek_event): constify s
17328 (Set): constify ntext
17329 (Init): constify nicename
17331 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17333 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17334 (savePosition): use two params to Minibuffer::Set
17335 (restorePosition): ditto
17337 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17339 * lyx_main.C: include language.h
17341 * Makefile.am (lyx_main.o): add language.h
17343 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17349 * CutAndPaste.C: include gettext.h
17351 * lyxfont.h: remove old hack with ON and OFF.
17354 * lyxfont.h: do not include language.h...
17359 * bufferview_funcs.C:
17365 * paragraph.C: ... but do it here instead
17367 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17369 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17371 * tabular.C: small reformat
17373 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17376 (BreakParagraph): ditto
17377 (SetOnlyLayout): ditto
17380 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17383 * lastfiles.C: removed most using decl, add std:: where needed
17385 * buffer.C: ws changes
17387 * MenuBackend.C (class compare_format): put into anon namespace
17388 (expand): constify label, names, action, action2
17391 * text.C (SingleWidth): constify font
17392 (IsBoundary): constify rtl2
17393 (GetVisibleRow): constify ww
17395 * LaTeX.C (deplog): constify logfile
17397 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17399 (workAreaExpose): constify widthChange, heightChange
17401 * lyxrow.C (par): moved
17404 * lyxrow.h: as inlines here
17406 * lyxfont.h (shape): moved from lyxfont.C
17407 (emph): moved from lyxfont.C
17409 * lyxfont.C (LyXFont): use initialization list for all
17411 (shape): move to lyxfont.h as inline
17412 (emph): move to lyxfont.h as inline
17415 2001-04-04 Juergen Vigna <jug@sad.it>
17417 * vspace.C: had to include stdio.h for use of sscanf
17419 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17422 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17423 independent of xforms.
17425 2001-04-02 Juergen Vigna <jug@sad.it>
17427 * spellchecker.C: fixed namespace placing!
17429 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17431 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17432 the LyXParagraph * is 0.
17434 2001-03-29 Juergen Vigna <jug@sad.it>
17436 * vspace.C: added support for %, c%, p%, l%.
17437 (stringFromUnit): added helper function.
17438 (asLatexString): changed to give right results for the %-values.
17440 * buffer.C: convert the widthp in a width%.
17442 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17444 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17447 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17448 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17450 * lyx_cb.[Ch]: see above.
17452 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17456 * lyx.[Ch]: replaced by figure_form.[Ch].
17460 * lyxfunc.C: changed headers associated with above changes.
17462 2001-03-27 Juergen Vigna <jug@sad.it>
17464 * BufferView_pimpl.C: set the temporary cursor right!
17466 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17468 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17470 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17472 * LString.h: removed "using std::getline"!
17474 * BufferView_pimpl.C (Dispatch): changes due to changes in
17475 InsetInclude::Params.
17477 * buffer.C (tag_name): removed redundant break statements as they were
17478 producing lots of warnings with my compiler.
17480 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17482 * LString.h: add "using std::getline" when using the real <string>.
17484 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17486 * buffer.C: removed bitset usage.
17487 PAR_TAG moved to an anonymous name space.
17488 (tag_name): new funtion, also in the anonymous namespace.
17489 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17490 (makeDocBookFile): clean code. Completed transition from string arrays
17492 (SimpleDocBookOnePar): code clean.
17494 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17496 * tabular.C: add some comments.
17498 2001-03-22 Juergen Vigna <jug@sad.it>
17500 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17501 compatibility read a bit and fixed bug with minipage in different
17504 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17506 * buffer.C (pop_tag): removed.
17507 (push_tag): removed.
17508 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17509 array replaced with vector. Added support for CDATA sections.
17510 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17512 (makeDocBookFile): XML conformant declaration of CDATA section,
17513 fixed bug related to <emphasis> in the first paragraph char.
17514 (sgmlOpenTag): exclude empty tags.
17515 (sgmlCloseTag): ditto.
17517 * buffer.h (pop_tag): removed.
17518 (push_tag): removed.
17520 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17522 * language.h (Languages): added size_type and size().
17524 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17526 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17527 response on compability reading of minipages. One probliem is that
17528 the old usage of minipages was flertydig
17530 * several files here and in subdirs: don't use static at file
17531 scope use anon namespaces instead.
17533 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17535 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17536 LaTeX output. This is necessary for Literate document
17539 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17541 * buffer.C: insert hfill when needed.
17543 * tabular.C (l_getline): use string::erase, small whitespace change.
17545 * BufferView_pimpl.C: try the anon namespace.
17546 * WorkArea.C: ditto
17548 2001-03-16 Juergen Vigna <jug@sad.it>
17550 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17551 otherwise it won't open options-dialogs.
17553 * buffer.C: honor pextraWidth(p) on converting minipages.
17555 * tabular.C (l_getline): changed the functions to strip trailing \r.
17557 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17559 * BufferView_pimpl.C:
17560 * minibuffer..C: added "using SigC::slot" declaration.
17562 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17564 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17570 * paragraph.C: ditto
17572 * lyxtext.h: NO_PEXTRA
17574 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17576 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17577 * ParameterStruct.h: ditto
17578 * ParagraphParameters.h: ditto
17579 * lyxparagraph.h: ditto
17581 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17583 * buffer.C: add compability for minipage alignment.
17584 (latexParagraphs): remove unwanted pextra check.
17586 * several files: remove CXX_WORKING_NAMESPACES
17588 * buffer.C (pop_tag): tie is in namespace boost
17590 * BufferView.h: noncopyable is in namespace boost
17592 * lyx_main.h: ditto
17595 * lastfiles.h: ditto
17596 * bufferlist.h: ditto
17597 * ShareContainer.h: ditto
17599 * LyXAction.h: ditto
17602 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17604 * Merging changes from BRANCH_MVC back into HEAD.
17606 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17608 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17610 * BufferView_pimpl.C: change from intl.C
17614 * Makefile.am: move combox.*
17620 * intl.C: remove dialog (covered by prefs)
17622 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17624 * lyxfunc.C (Dispatch): removed redundant break statement.
17626 2001-03-14 Juergen Vigna <jug@sad.it>
17628 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17630 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17632 * buffer.C: add hack to fix compability reading of minipages.
17634 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17636 * buffer.C (getLists): Cleanup.
17638 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17640 * lyxfont.C (update): don't honor toggleall on font size.
17642 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17646 * Makefile.am: moved to frontends/xforms/
17650 * BufferView_pimpl.C: changes for moved mathpanel
17652 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17654 * gettext.h: fix gettext_init() in --disable-nls
17656 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17658 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17660 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17663 * lyx.h: strip external form
17665 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17667 * BufferView_pimpl.C: add comment, destroySplash()
17669 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17671 * BufferView_pimpl.C:
17675 * lyxfunc.C: use re-worked insetinclude
17677 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17679 * buffer.C: add using std::stringstream.
17681 * lyx_cb.C: readd using std::ios.
17683 * buffer.C: add using std::map.
17685 * BufferView_pimpl.C: add using std::vector.
17687 * ShareContainer.h: add std:: to swap.
17689 * buffer.h: add some typedefs
17690 * buffer.C (getLists): use them
17691 (getLists): renamed from getTocList.
17692 add a counter for the different float types and use it in the
17694 (getLists): use the same counter for the NEW_INSETS and the "non"
17697 * lyx_cb.h: remove unused items, includes, using etc.
17699 * ShareContainer.h: remove some commented code, add more comments
17700 and "documentation".
17702 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17704 * buffer.C (getTocList): make the list also when NEW_INSETS is
17707 * buffer.h: remove TocType
17709 * buffer.C (getTocList): change to return a map<string,
17710 vector<TocItem> >, implement for dynamic number of list.
17712 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17713 * text2.C (PasteSelection): adjust
17714 * CutAndPaste.C (pasteSelection): adjust
17716 * FloatList.C (FloatList): update from the new_insets branch.
17717 * Floating.[Ch]: ditto
17718 * LaTeXFeatures.C: ditto
17720 * lyxlex_pimpl.C: ditto
17722 * paragraph.C (Last): remove when NEW_INSETS is defined.
17724 * other file: changes because of the above.
17726 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17728 * lyxparagraph.h: rename next to next_, previous to previous_,
17729 make them private for NEW_INSETS. Rename Next() to next(),
17730 Previous() to previous().
17732 * other files: changes because of the above.
17734 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17737 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17740 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17742 * main.C (main): pass lyx_localedir to gettext_init().
17744 * gettext.h: remove locale_init and gettext_init macros
17746 * gettext.C (locale_init): new function
17747 (gettext_init): new function
17749 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17752 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17754 * Moved credits to frontends:
17755 * credits.[Ch]: removed
17756 * credits_form.[Ch]: removed
17757 * lyx_gui_misc.C: remove credits stuff
17760 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17762 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17764 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17765 unneeded destructor.
17767 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17768 a standalone pointer again.
17770 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17772 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17778 * ToolbarDefaults.C:
17787 * BufferView_pimpl.C: use new file dialog in GUII
17790 * lyx_cb.C: remove LayoutsCB to Toolbar
17792 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17794 * ShareContainer.h (get): add std:: qualifier
17796 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17798 * ShareContainer.h: define a proper ShareContainer::value_type
17799 type (and use typename to please compaq cxx)
17801 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17803 * lyxparagraph.h: move serveral local vars to
17804 ParameterStruct/ParagraphParameters., use ShareContainer in
17805 FontTable., make vars in FontTable private and add getter and
17808 * paragraph.C: changes because of the above.
17810 * lyxfont.h: remove copy constructor and copy assignment. (the
17811 default ones is ok), move number inside FontBits. move inlines to
17814 * lyxfont.C: add number to initializaton of statics, move several
17815 inlines here. constify several local vars. some whitespace
17816 cleanup. Dont hide outerscope variables.
17818 * Spacing.h: add two new constructors to match the set methods.
17820 * ShareContainer.h: new file, will perhaps be moved to support
17822 * ParameterStruct.h: new file
17824 * ParagraphParameters.h: new file
17826 * ParagraphParameters.C: new file
17828 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17829 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17831 * BufferView_pimpl.C: ParagraphParameter changes.
17832 * buffer.C: Likewise.
17833 * bufferview_funcs.C: Likewise.
17834 * text.C: Likewise.
17835 * text2.C: Likewise.
17837 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17839 * lyxfind.C (LyXReplace): do not redefine default argument in
17841 (IsStringInText): ditto
17842 (SearchForward): ditto
17843 (SearchBackward): ditto
17845 2001-03-06 Juergen Vigna <jug@sad.it>
17847 * lyxfind.C (IsStringInText): put parentes around expressions.
17849 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17851 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17853 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17855 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17857 * stl_string_fwd.h: add comment
17859 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17862 * tabular.C: remove unused DocBook methods
17868 killed DO_USE_DEFAULT_LANGUAGE
17870 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17872 * lyx_gui.C: do not include language.h.
17874 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17875 arguments in function implementation.
17877 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17879 * BufferView_pimpl.C: add <ctime>
17881 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17883 * BufferView_pimpl.C: add using std::find_if
17885 2001-02-27 José Matos <jamatos@fep.up.pt>
17887 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17890 2001-02-11 José Matos <jamatos@fep.up.pt>
17892 * buffer.C (makeDocBookFile): command styles now have a parameter as
17893 "title" by default.
17895 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17897 * layout_forms.[Ch]: removed
17898 * lyx_cb.[Ch]: out character
17899 * lyx_gui.C: out character
17900 * lyx_gui_misc.C: out character
17901 * bufferview_funcs.C: : out character,
17902 added toggleall as parameter in ToggleAndShow
17904 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17906 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17908 * text2.C (SetCurrentFont): Disable number property at boundary.
17910 2001-02-26 Juergen Vigna <jug@sad.it>
17912 * lyxfunc.C (getStatus): added a string argument override function so
17913 that this is correctly called from LyXFunc::Dispatch if it contains a
17914 do_not_use_argument which is used!
17915 (Dispatch): added check for "custom" export and call appropriate func.
17917 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17919 * lyxrc.C: Add language_command_local, language_use_babel and
17920 language_global_options.
17922 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17924 * buffer.C (makeLaTeXFile): Use language_use_babel and
17925 language_global_options.
17927 2001-02-23 Juergen Vigna <jug@sad.it>
17929 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17930 which works with LyXText and putted it inside BufferView. Here now we
17931 only call for that part the BufferView::Dispatch() function.
17933 * BufferView.C (Dispatch): added.
17935 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17936 functions which needs to use a LyXText over from LyXFunc.
17937 (MenuInsertLyXFile): added
17938 (getInsetByCode): added
17939 (moveCursorUpdate): added
17940 (static TEXT): added
17942 2001-02-22 Juergen Vigna <jug@sad.it>
17944 * BufferView_pimpl.C (update): call a status update to see if LyXText
17947 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17949 * vc-backend.C (revert): implement for CVS
17950 (getLog): implement for CVS
17952 2001-02-20 Juergen Vigna <jug@sad.it>
17954 * text2.C (ClearSelection): added BufferView param for inset_owner call
17956 * lyxfunc.C (TEXT): added this function and use it instead of
17957 directly owner->view()-text of getLyXText().
17959 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17961 * src/layout_forms.C: out preamble
17962 * src/layout_forms.h: out preamble
17963 * src/lyx_cb.C: out preamble
17964 * src/lyx_cb.h: out preamble
17965 * src/lyx_gui.C: out preamble
17966 * src/lyx_gui_misc.C: out preamble
17967 * src/lyxfunc.C: connect with guii preamble
17969 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17971 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17973 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17975 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17976 whether to run bibtex.
17978 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17980 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17982 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17984 * Makefile.am (lyx_SOURCES): removed bibforms.h
17986 * vspace.h: doxygen
17988 * text.C (GetVisibleRow): make several local vars const
17990 * tabular.C: small cleanup.
17992 * lyxserver.C (callback): use compare instead of strncmp
17994 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17995 inlines to after class or to paragraph.C
17997 * lyxfont.h: remove friend operator!=
17999 * converter.h: move friend bool operator< to non friend and after
18002 * combox.h: small cleanup
18004 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18005 to inlines after class def.
18007 * buffer.C (pop_tag): use string operations instead of strcmp
18009 * bmtable.c: doxygen, small cleanup
18011 * LaTeX.h: remove friend operator==
18013 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18025 * BufferView_pimpl.C:
18026 * BufferView.[Ch]: remove cruft
18028 2001-02-14 Juergen Vigna <jug@sad.it>
18030 * lyxfunc.C: removed #if 0 unused code
18032 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18034 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18036 * text2.C (SetSelection): added a BufferView * parameter
18038 2001-02-13 Juergen Vigna <jug@sad.it>
18040 * lyxfunc.C (Dispatch): fixed protected blank problem.
18041 * BufferView2.C (protectedBlank): added LyxText * parameter.
18043 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18044 (AppendColumn): same as above for column_info.
18046 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18047 (moveCursorUpdate): use a LyXText param for support of InsetText.
18049 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18050 (tripleClick): ditto
18052 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18054 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18056 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18058 * text2.C (SetSelection): set correct update status if inset_owner
18059 (ToggleFree): ditto
18061 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18063 * tabular.C: remove some commented code.
18065 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18067 * BufferView_pimpl.C: call hideSplash()
18069 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18072 * bibforms.h: remove
18075 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18076 add LFUN_CHILD_CREATE
18078 * counters.h: fix tiny typo
18083 * lyx.C: move splash to frontends/xforms/
18085 * lyx_gui_misc.C: move Include and Bibform to frontends
18087 * lyxvc.h: clarify comment
18089 * vspace.C: tiny housekeeping
18091 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18093 * text.C (PrepareToPrint): RTL Fix.
18095 * paragraph.C (GetUChar): New method.
18096 (String): Use GetUChar.
18098 * buffer.C (asciiParagraph): Use GetUChar.
18100 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18102 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18104 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18107 * buffer.C: rename to getLogName(), handle
18108 build log / latex log nicely
18110 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18113 * MenuBackend.h: remove support for reference menuitem type.
18115 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18117 * BufferView_pimpl.C: housekeeping
18118 * BufferView_pimpl.h:
18123 * minibuffer.h: move Timeout GUI-I
18125 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18127 * lyxrc.C (read): Update converters data-structures.
18129 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18131 * LaTeX.h (operator!=): add operator != for Aux_Info
18133 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18135 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18137 * LaTeXLog.C: deleted, useful code moved to Buffer
18140 * buffer.C: new function getLatexLogName()
18146 * lyxfunc.C: use frontends for LaTeX and VC logs
18148 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18150 * LaTeX.h: yet another std:: that Allan forgot.
18152 * Variables.C (set): renamed from isset(), because this clashes
18153 with some HP-UX macros (grr).
18155 2001-02-06 Allan Rae <rae@lyx.org>
18157 * LaTeX.h: Another bug fix. Missing std:: this time.
18159 2001-02-04 Allan Rae <rae@lyx.org>
18161 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18162 floats problem. I've left it commented out because it's not quite
18163 correct. It should also test that the current object is a table or
18164 figure inset. But I haven't gotten around to figuring out how to do
18165 that. I *think* it'll be something like: "table" == inset.type()
18167 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18170 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18172 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18173 all the citation/databases/styles in the auxilary file.
18174 (run): Rerun latex if there was a babel language error.
18176 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18178 * text.C (Backspace): Preserve the font when changing newline char
18180 (BreakParagraph): If the cursor is before a space, delete the space.
18182 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18184 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18186 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18187 new argument (code).
18188 (ChangeCitationsIfUnique): New method.
18190 * paragraph.C (GetPositionOfInset): Handle bibkey.
18192 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18194 * BufferView_pimpl.h: change type of Position::par_pos to
18195 LyXParagraph::size_type.
18197 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18199 * BufferView_pimpl.C (savePosition, restorePosition): Write
18200 messages to minibuffer.
18202 2001-01-28 José Matos <jamatos@fep.up.pt>
18204 * buffer.C (makeDocBookFile): adds support for document language.
18205 A silly restriction on the name of LatexCommand types where removed.
18206 Added support for CDATA sections, allows to chars unescaped, used
18207 among others in code, to avoid escape < and >.
18209 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18211 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18212 saved positions instrad of a stack. Furthermore, a position is
18213 stored using paragraph id/paragraph position.
18215 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18216 Remove LFUN_REF_BACK.
18218 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18220 * converter.C (dvipdfm_options): New method.
18222 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18224 * vspace.C (isValidLength): Fix for empty input string.
18226 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18228 * LyXAction.C (init): change description of LFUN_FIGURE to
18231 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18233 * LaTeX.C: add using directive
18235 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18237 * MenuBackend.C (expand): Fix the sorting of the formats.
18239 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18241 * lyx_main.C: tiny error message fix
18243 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18245 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18246 calling fl_initialize(). This fixes the problem with ',' as
18247 decimal separator in text files.
18249 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18251 * trans.C (process): Fix the keymap bug.
18253 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18255 * LaTeX.C (scanAuxFiles): New method. Provides support for
18256 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18257 (scanLogFile) Scan for "run BibTeX" messages.
18259 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18260 OT1 font encoding. Also, load the aecompl package if the ae
18263 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18265 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18267 * texrow.C (increasePos): turn two error messages into debug
18270 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18272 * LaTeX.C (scanAux): Handle the \@input macro.
18273 (runBibTeX): Use scanAux().
18275 * language.C (latex_options_): New field.
18277 * LaTeXFeatures.C (getMacros): Add language macros.
18279 * buffer.C (makeLaTeXFile): Small fix.
18281 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18283 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18285 * text2.C: add a using directive.
18287 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18292 * lyxfunc.C: kill LyXBell.
18294 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18296 * text.C (IsBoundary): Remove the error message
18298 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18300 * lyxrc.C (setDefaults): Correct initialization value for
18303 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18305 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18308 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18309 and GotoNextNote().
18311 * src/LyXAction.C: Added reference-next.
18313 * text.C (InsertChar): Use contains instead of strchr.
18315 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18317 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18319 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18320 alignment commands (when needed).
18322 * text.C (InsertChar): Add ':' to number separator chars.