1 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
6 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
8 * BufferView_pimpl.C: comment layout change
10 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
15 by bibliography managers (bug 2071).
17 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
19 * BufferView_pimpl.C (update): choose arguments to update call so
20 that single-par update works most times
21 * text3.C (dispatch): carefully tune updating separately for
22 whole-screen and current-paragraph
23 * rowpainter.C (paintText): 1) replace painting by caching for
24 the two extra paragraphs, because we can;
25 2) suppress greying out of areas below/above drawn area in case of
27 * lyxfunc.C (dispatch): remove superfluous update
28 * LyXAction.[Ch]: introduce SingleParUpdate
30 2005-10-05 Angus Leeming <leeming@lyx.org>
32 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
33 always initialised before use.
35 * text.C (setHeightOfRow): squash warning about comparison
36 of signed and unsigned types.
38 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
40 * text.C (cursorX): two fixes involving RtL text drawing
42 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
44 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
45 items, not only large ones (part of bug 2057)
47 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
49 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
50 argument, use "newcommand".
52 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
54 * cursor.C (setSelection): do not open collapsable insets;
55 the insets do by themselves now (autoopen).
57 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
59 * buffer.C: format is up to 244.
61 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
63 * text.C (redoParagraph): fix calcultation of inset width wrt
64 leftMargin (bug 1957).
66 * text3.C (dispatch): leave inset to the right when hitting ESC
69 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * messages.C: include <boost/current_function.hpp>
76 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
79 when command is internal. (bug 1941)
81 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * text2.C (cursorRight): do not honor boundary when at the end of
84 a paragraph. (bug 2010 again)
86 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
90 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
92 * rowpainter.C (paintText): fix RtL space width display bug (2029)
94 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * text2.C (setCursor): remove the unused 'boundary' parameter for
97 the CursorSlice version; adapt the LCursor version.
100 * paragraph_pimpl.C (markErased):
101 * cursor.C (bruteFind2, bruteFond3): fix warnings.
103 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
105 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
106 as is already done for "chapter".
108 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
111 textclass; do not record undo if nothing is changed.
113 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
117 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
119 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
121 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
124 combox, it is necessary to search for the topmost paragraph in the
125 cursor stack (bug 1926)
127 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
130 end of paragraph. (bug 2010)
132 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
134 * text.C (leftMargin): check for inInset == 0
136 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
138 * text.C (leftMargin): test for insetbase's new neverIndent()
139 bool instead of listing each and every inset that does not
140 wish par indendation.
142 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * buffer_funcs.C (setCounter): put the code to compute enum label
145 here (where it belongs).
147 * counters.C (enumLabel): move code to buffer_funcs.C.
149 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
151 * outputparams.[Ch]: store local_font instead of local_language
152 * paragraph.C (simpleTeXOnePar): adapt to the change above
154 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
157 * counters.[Ch]: clean up special code for Hebrew.
159 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
164 2005-09-08 Angus Leeming <leeming@lyx.org>
167 * lyxrc.C: correct grammar describing invocation of the
170 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * text.C (read): remove unused variable.
173 (readParToken): remove static Change variable (never good in
174 recursive settings...); add it as a parameter instead.
176 * paragraph_pimpl.C (acceptChange): make debug info conditional.
178 * metricsinfo.C (PainterInfo): add new member erased_.
180 * rowpainter.C (RowPainter): add erased_ member, initialized from
182 (paintInset): pass erased_ to Inset::draw.
184 * lyxfunc.C (lookupChange): new function. Tells whether change
185 tracking is disabled at a given postion.
186 (getStatus): disable some actions when in deleted text with change
189 2005-08-03 John Levon <levon@movementarian.org>
191 * tabular.C (appendColumn, setMultiColumn): adapt to change to
194 * paragraph_pimpl.C (markErased): add bool argument and handle it.
195 Also make sure to mark insets recursively.
196 (rejectChange, erase): be recursive
198 * paragraph.C (markErased): add bool argument.
199 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
201 * lyxfind.C (findNextChange): tiny cleanup.
203 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
204 change tracking with the cursor in an inset; make sure the first
205 change is not skipped.
207 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
209 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
210 tabularStackDirty to work around bug 1919 (tabular needs
211 to know whether its own cell paste buffer or the one of
213 * CutAndPaste.C: mark tabular_stack_ clean after copy.
215 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
217 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
219 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
221 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
222 use old deleteion algorithm when changetracking is on.
224 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
226 * messages.C (get): add debug output.
228 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
230 * text.C (cursorX): fix bug 1965: cursor movement at
231 line end broken in RtL.
232 (drawSelection): fix bug 1970: drawing of single-line
233 selection broken for RtL.
235 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * dociterator.h (clear, push_back, pop_back): change from
242 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
243 and changed to just return the value of the item depth; take a
244 ParIterator as argument; take the itemdepth at outer nesting level
245 in account if necessary; cleanup and comment the code.
246 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
247 and changed to just return true if reset is needed; take a
248 ParIterator as argument; cleanup and comment the code.
249 (setCounter): adapt to above changes.
251 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * text3.C (dispatch): make debug message optional
255 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
257 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
260 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
262 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
264 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
266 * text.C (insertChar):
267 * text2.C (deleteEmptyParagraphMechanism): take care whether
268 a blank has been deleted (in change tracking mode) (bug 1254).
270 2005-07-20 John Levon <levon@movementarian.org>
272 * text2.C (insertStringAsLines): remove old dubious code,
275 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * MenuBackend.C (expandToc): use Floating::listName() as title of
280 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
282 * toc.[Ch]: Do not use translatable strings (bug 1870).
284 2005-07-20 John Levon <levon@movementarian.org>
286 * tabular.C: fix 1748 - setting multicolumn adds
287 left line to the first cell
289 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
292 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
295 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
297 * messages.C: supress some lyxerr messages
299 2005-07-18 Juergen Vigna <jug@lyx.org>
301 * text.C (drawSelection): honor boundary when asking for cursorX.
303 2005-07-17 José Matos <jamatos@fc.up.pt>
305 * tabular.C (recalculateMulticolumns): fix handling of one column
308 2005-07-17 Juergen Vigna <jug@lyx.org>
310 * text.C (Delete, backspace): fixed so that paragraph with the
311 same layout can be merged by Delete/Backspace.
313 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
315 * text.C (readParToken): fix spelling.
317 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
319 * text2.C: fix counter update for DEPM problem reported by
322 2005-07-17 Juergen Vigna <jug@lyx.org>
324 * BufferView_pimpl.C (setBuffer): save/restore the
325 cursor/selection when switching buffers
328 * buffer.C (saveCursor): add saveDocumentIterators to save the
329 cursor when switching buffer.
331 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
334 * buffer.C: clarify message
336 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
338 * dociterator.C (DocIterator): fix initialization order
340 2005-07-17 Juergen Vigna <jug@lyx.org>
342 * text2.C (cursorHome):
343 * text.C (drawSelection, cursorX):
344 * dociterator.C (textRow): add boundary to getRow() call
346 * paragraph.C (getRow): implementation of below
348 * paragraph.h: add parameter boundary for getRow() function
350 2005-07-17 José Matos <jamatos@fc.up.pt>
354 * tex-strings.[Ch]: new file format, remove support for a4.sty,
355 a4wide.sty and a4widemargins.
357 2005-07-17 Juergen Vigna <jug@lyx.org>
359 * text2.C (cursorLeft): fix one of error
361 2005-07-17 Juergen Vigna <jug@lyx.org>
363 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
365 more fixes for boundary handling
367 * text3.C (dispatch): don't reset cursor if boundary has changed
370 2005-07-16 Juergen Vigna <jug@lyx.org>
372 * text2.C (getColumnNearX): hopefully got it right now,
373 check if we are on column 0 for special case.
375 2005-07-16 Juergen Vigna <jug@lyx.org>
377 * text2.C (getColumnNearX): handle special case Newline Inset
379 * text.C (singleWidth): Just remove bogus check
381 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
383 * funcrequest.C (split): avoid reading uninitialized char c
385 2005-07-16 José Matos <jamatos@fc.up.pt>
391 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
392 single papersize variable.
394 2005-07-16 Juergen Vigna <jug@lyx.org>
396 * text3.C (dispatch): honor boundary when checking if a cursor
397 movement has been done
399 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
400 (setCursor, setCursorIntern): fix cursor movement with boundary
402 2005-07-16 Juergen Vigna <jug@lyx.org>
404 * text.C (currentState): output the actual Boundary
406 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
408 * factory.C (createInset): fix bad logic for tabular creation
410 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
412 * lyx_main.C (init): change some reLyX reference to tex2lyx
414 2005-07-16 Juergen Vigna <jug@lyx.org>
416 * dociterator.C (DocIterator): initialize boundary
418 2005-07-16 Juergen Vigna <jug@lyx.org>
420 * text2.C (getColumnNearX): Consider rows without trailing blank.
422 2005-07-16 André Pönitz <poenitz@gmx.net>
424 * lyxfont.h: Change order of declarations to give the compiler
425 a better chance to inline things
427 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
428 questions on unsaved docs for better scritability
430 2005-07-16 André Pönitz <poenitz@gmx.net>
432 * paragraph.h (getChar): remove asserts as the same kind of security
433 can be achieved by using a suitable standard library implementation
434 and the function was in the critical path (25.9% in profiler)
436 2005-07-16 Juergen Vigna <jug@lyx.org>
438 * cursor.C (bruteFind2):
439 * bufferview_funcs.C (coordOffset):
440 * text.C (cursorX,cursorY): Handle cursor position after last char
441 in row before a inset which uses a whole row.
443 2005-07-15 José Matos <jamatos@lyx.org>
445 * output_plaintext.[Ch] (writeFileAscii): control reference title
447 (asciiParagraph): noparbreak was already deal and was incorrectly
450 2005-07-15 Juergen Vigna <jug@lyx.org>
452 * lyxfunc.C (dispatch): save and restore the cursor after a
455 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
457 * text.C (backspace): bug 806 for empty keepempty paragraphs we
458 change the layout to default before letting DEPM do its thing.
460 * paragraph_funcs.C (breakParagraph): dont reset the layout on
463 * text.C (setCursorFromCoordinates): add a debug statement
465 * text2.C (getColumnNearX): bug 1825 make sure that we don't
466 return a pos that is not on the row
468 * output_latex.C (TeXDeeper): get rid of potential dereferencing
469 of past the end iterator
471 2005-07-14 André Pönitz <poenitz@gmx.net>
473 * undo.C (recordUndoFullBuffer): implement undo for
476 2005-07-14 André Pönitz <poenitz@gmx.net>
478 * cursor.C (setSelection): open insets when selection is set there
479 to avoid crashs with cold coord cache
481 2005-07-14 André Pönitz <poenitz@gmx.net>
483 * trans_mgr.C (insert): move cursor to the right after inserting
486 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
488 * BufferView_pimpl.C (update): dampen some of the debug blabbering
489 * factory.C (readInset): ditto
490 * text.C, text2.C: ditto
492 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * buffer.C: format incremented to 242. There is no file format per
495 se, but the "frenchb" language has been removed from lib/language
496 and has to be translated to "french" by lyx2lyx.
498 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
500 * cursor_slice.h, dociterator.h: add some documentation
501 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
503 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
505 * text.C (leftMargin): do not add identation to display() style
506 insets, because they are always centered (bug 1293).
508 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
510 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
511 formatted_time methods in support/lyxtime.
513 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
515 * toc.[Ch]: new method getGuiName, which is used by the frontends
516 to set the toc combo (fixes bug 1870). Make TOC string translatable.
518 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
520 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
521 StableDocIterator const &)
522 * undo.C (recordUndo): use the above instead of cell.size() comparison
523 (fixes bug 1808; instructed by Andr�.
525 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
528 * dociterator.h: Fix the assert when copying rows/cols in math
530 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
532 * BufferView_pimpl.C:
534 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
536 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
537 (findInset): new functions, refactored from goto Inset that return
538 the position of a certain inset without setting the buffer's cursor
540 (gotoInset): rewrite to call findInset and then set the cursor
543 2005-06-16 Angus Leeming <leeming@lyx.org>
545 * lyxrc.C (output, read): wrap all input and output of paths with
546 calls to os::internal_path and os::external_path, respectively.
547 (output): wrap bind_file inside quotes.
549 * format.C (view): enable the viewer to use the '$$s' placeholder.
551 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
553 * LColor.[Ch] (getFromLaTeXName): new
555 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
557 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
559 2005-06-14 Angus Leeming <leeming@lyx.org>
561 * lyx_main.C (init): ensure that the LyX binary dir is the first
562 element in the PATH on non-POSIX builds.
564 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
566 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
568 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
570 * rowpainter.C (paintInset, paintHebrewComposeChar)
571 (paintArabicComposeChar, paintChars): add a LyXFont argument.
572 (paintChars): use getFontSpan to reduce calls to getFont to a
573 minimum; use Paragraph::lookupChange instead of isXXXText.
574 (paintForeignMark): rename LyXFont argument.
575 (paintFromPos): pass a LyXFont object to the various paintXXX
578 * FontIterator.C (FontIterator, operator++): use
579 Paragraph::getFontSpan
581 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
582 version that returns the font span as a pair.
584 2005-06-09 Angus Leeming <leeming@lyx.org>
586 * converter.C (convert): Don't forget "outfile = real_outfile" as
587 the final step in a conversion where the input and output file names
588 are the same. Otherwise, future conversion steps won't work...
590 2005-06-09 Angus Leeming <leeming@lyx.org>
592 * lyxsocket.C: remove stub code as it isn't needed by
593 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
595 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
597 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
598 effectively disabled -x
600 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
602 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
603 when it actually makes sense.
605 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
607 * BufferView_pimpl.C: revert to showCursor in connection with
608 Lars's front-end stack
610 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
612 * text.C (redoParagraph): move cursor right after a bibitem
615 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
617 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
619 * buffer_funcs.C (bufferErrors): fix computation of the end of an
622 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
624 * BufferView.[Ch] (update):
625 * BufferView_pimpl.[Ch] (update, metrics):
626 * dimension.h (operator==):
627 * lyxfunc.C (dispatch):
628 * metricsinfo.h (ViewMetricsInfo):
629 * rowpainter.C (paintText):
631 * text.C (redoParagraph):
632 * text3.C (dispatch): Make LyX only repaint current paragraph in
633 case of character insert --> speedup. Also fix cursor draw
636 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
638 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
639 avoid a crash (bug 1891)
641 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
645 * text2.C (getStringToIndex): constify cur argument.
647 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
648 argument has been given
649 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
650 try to invoke LFUN_INSET_APPLY).
652 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
653 if no inset was created by doInsertInset
654 (doInsertInset): return true if an inset has been inserted.
656 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
658 * vspace.C (asGUIName): new method. A version of the space
659 suitable for showing on screen.
661 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
664 * lyxrc.C: rename "ASCII" to "Plain Text"
666 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * buffer_funcs.C (expandLabel): take a Buffer as argument;
669 translate the labelstring.
670 (setCounter): translate labelstring as needed.
672 * output_docbook.C (makeCommand): fix expandLabel invokation
674 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
676 * BufferView.C: fix dialog title
678 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
680 * lyx_main.C (priv_exec): fix logic error with help from Angus
681 * lyx_main.C (parse_execute): set is_gui = false and remove now
682 obsolete comment about a segfault
684 2005-05-18 Angus Leeming <leeming@lyx.org>
686 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
688 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
690 * tabular.[hC]: added setCellInset to fix tabular paste.
692 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
694 * buffer.C (save): check if destination is writable before trying
697 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
699 * BufferView_pimpl.C (update): fix processEvents -caused update
702 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
704 * buffer_funcs.C (setCounter): fix test for numbering of
707 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
708 depth correctly; use optional argument when it exists
710 * lyxtextclass.C: remove unused MaxCounterTags enum
711 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
712 (max_toclevel, min_toclevel): new methods.
714 * MenuBackend.C (expandToc2): fix case where depth is smaller than
715 the smallest depth in toc.
717 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
718 layouts that should not appear in a table of contents.
720 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
722 * cursor.h (undispatched, noUpdate): add comments from Andr�
723 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
727 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
729 2005-05-07 André Pönitz <poenitz@gmx.net>
731 * cursor.[Ch] (leaveInset): new function
733 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
735 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
737 2005-05-04 Angus Leeming <leeming@lyx.org>
739 * lyxfunc.C (getStatus): disable the spell checker dialog if
740 none of USE_[AIP]SPELL are defined.
742 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
744 * tabular.C (setWidthOfCell): remove obsolete comment
746 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
748 * paragraph.C (bibitem):
749 * buffer_funcs.C (setCounter):
750 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
752 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
754 * text3.C (getStatus): immediately return after setOnOff
756 * rowpainter.C: fix drawing of appendix start
758 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
760 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
761 SwitchBetweenClasses and remove the unused return value.
762 Handle character styles, too
764 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
766 * factory.C (createInset): handle undefined character styles
768 2005-05-02 Angus Leeming <leeming@lyx.org>
770 * buffer.C: protect the #include of utime.h with a preprocessor
773 2005-05-02 Angus Leeming <leeming@lyx.org>
775 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
776 function so that auto-saving works, albeit in a blocking manner.
778 * Makefile.am: make compilation of the client sub directory, of
779 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
780 on conditionals set at configure time.
782 * SpellBase.[Ch]: no longer an abstract base class. Instead,
783 it can be compiled in its own right but has no-op functionality.
785 * aspell.C, pspell.C: remove preprocessor guards. The files should
786 be compiled only if the necessary functionality exists.
788 * lyxserver.C, lyxsocket.C: disable on Windows.
790 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
792 * text.C (leftMargin): Fix the parindent use bug (1764)
795 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
797 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
800 2005-04-25 Angus Leeming <leeming@lyx.org>
808 include <config.h> in .C files, not .h ones.
810 protect headers inside preprocessor guards.
812 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
814 * FuncStatus.h (StatusCodes): document
816 2005-04-21 André Pönitz <poenitz@gmx.net>
818 * FuncStatus.h (enabled, onoff): document
820 2005-04-19 Angus Leeming <leeming@lyx.org>
822 * BufferView_pimpl.C (cursorToggle): no longer test whether
823 any child processes have been reaped before calling
824 handleCompletedProcesses().
826 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
828 * text3.C (dispatch): fix, finally fix, the language problem in
829 new lyxtexts, without disabling on-the-fly font changes (Helge's
832 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
834 * text3.C (dispatch): set cursor on double/triple click events
837 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
839 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
840 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
842 * rowpainter.C (paintFirst): simplify the code a little bit. In
843 particular, remove the test for secnumdepth.
844 * text.C (setHeightOfRow): only allocate space for chapter number
845 when updateCounters provided an actual label, instead of looking
846 at secnumdepth directly.
848 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
850 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
851 paragraphs when secnumdepth is large enough or, for environments,
852 when they are not the first in a sequence.
854 2005-04-17 Angus Leeming <leeming@lyx.org>
856 * buffer.C (makeLaTeXFile): replace code to manipulate a path
857 containing space and '~' characters with a call to latex_path().
859 2005-04-17 Angus Leeming <leeming@lyx.org>
861 * converter.C (convert): protect all args of convertDefault.sh
864 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
866 * text3.C (dispatch): change the layout to "Caption" after inserting
869 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
871 * text3.C (dispatch): fix language problem in newly created
872 textinsets (and main text) in non-english docs
874 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
876 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
877 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
878 * text3.C (getStatus): disable LFUN_INSET_MODIFY
880 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
885 * rowpainter.C (getFont): Fix metrics bug introduced by inset
888 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
890 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
891 output of \item arguments without trailing text.
893 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
895 * FontIterator.C (operator*): avoid a copy of the font.
897 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
899 * rowpainter.C (getFont): fix language bug from previous fix
901 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
903 * rowpainter.C (RowPainter, getFont): fix font inside inset
906 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
908 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
909 preventing inserted font, deco, delim insets jumping to start of
912 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
914 * lyxfunc.C (dispatch): translate message before sending it to the
917 2005-03-29 Angus Leeming <leeming@lyx.org>
919 * lyx_main.C (priv_exec): call os::internal_path on each file passed
920 to LyX on the command line.
922 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
924 * vc-backend.C: use QuoteName to protect file names wherever
927 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
930 * BranchList.h: fix bugs 1844,1845: document settings don't
933 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
935 * lyxrc.C (setDefaults, read, output, getDescription): add support
936 for tex_allows_spaces.
938 * exporter.C (Export): allows files in directory containing spaces
939 if tex_allows_spaces is true.
941 * buffer.C (makeLaTeXFile): if the document path contains spaces,
942 output it in double quotes.
944 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
946 * rowpainter.C: use default text height for drawing change tracker
949 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
951 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
953 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
955 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
956 directory is missing.
958 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
960 * text2.C: fixed the fix, extended to other case.
962 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
964 * text2.C: fix for cursor up/down stuck in math [bug 1792]
966 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
968 * text2.C (cursorUp): get rid of a crash
969 * text.C (x2pos): add an assert
971 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
973 * lyxfunc.C (getStatus): fix warning when assertions are disabled
977 * dociterator.C: include <boost/current_function.hpp>, which is
978 needed when assertions are disabled.
980 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
982 * text2.C: fix for stuck cursor when traversing two
983 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
985 2005-02-25 Andreas Vox <avox@arcor.de>
987 * output_docbook.C (makeParagraph): suppress trailing newline
988 after a run of paragraphs
990 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
992 * paragraph.C: fix for confused change tracker when pasting
993 text that begins with a lineseparator. [bug 1827]
994 (setChange(0, Change::INSERTED);)
996 * paragraph_funcs.C: fix for lost changes on triple-paste
997 in change tracking mode [bug 1827] (par.setChange()).
999 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1001 * text2.C (updateCounters, setCounter, expandLabel): move to
1004 * buffer_funcs.C (updateCounters): turn into a free standing
1005 function and add a buffer parameter. Remove dead code for tracking
1007 (setCounter): change into a free-standing function which gets a
1008 dociterator as argument. Use this iterator to fix captions in a
1009 simple way. When no float is found above the caption, use the
1010 labelstring of the caption layout as default.
1012 * text.C (breakParagraph, backspace):
1013 * text2.C (init, setLayout, changeDepth):
1014 * text3.C (dispatch):
1015 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1018 * dociterator.C (forwardPar): make it much faster by calling
1019 forwardPos() only when really necessary.
1021 * output_docbook.C (makeCommand): adapt to expandLabel move.
1023 * cursor.C: remove unused variable
1025 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1027 * paragraph_funcs.C: fix crash when pasting insets in change
1028 tracking mode [bug 1277] (honour change type in moveItem).
1030 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1032 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1034 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1036 * BufferView.C (setCursor): change to use a DocIterator.
1037 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1038 (putSelectionAt): adapt to BufferView::setCursor change.
1040 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1041 moved here from LyXText and rewritten to use proper cursor
1042 methods. Fixes bug 1787, 616 and 835.
1044 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1045 when inside an inset (part of bug 781).
1046 (dispatch): adapt to change of BufferView::setCursor.
1047 (getStatus, dispatch): handle LFUN_GOTOERROR,
1048 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1050 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1051 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1052 * text3.C (gotoNextInset, gotoInset): removed.
1054 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1058 2005-02-15 Angus Leeming <leeming@lyx.org>
1060 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1061 can be used meaningfully in a comparison.
1063 2005-02-13 André Pönitz <poenitz@gmx.net>
1065 * bufferview_funcs.C (coordOffset): improve cursor drawing
1067 2005-02-13 André Pönitz <poenitz@gmx.net>
1069 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1070 * Cursor.C (dispatch): use fixIfBroken
1071 * lyxfunc.C (getStatus): use fixIfBroken
1073 2005-02-15 Angus Leeming <leeming@lyx.org>
1075 * lyx_main.C (error_handler):
1077 * lyxrc.C (setDefaults):
1079 #include "environment.h".
1081 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1083 2005-02-15 Angus Leeming <leeming@lyx.org>
1085 * lyxserver.C (startPipe): squash MSVC warning "local variable
1086 'fd' used without having been initialized".
1088 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1090 * BufferView_pimpl.C: revert accidental commit.
1092 2005-02-14 André Pönitz <poenitz@gmx.net>
1094 * dociterator.[Ch]: new member forwardPosNoDescent(),
1095 which doesn't enter nested insets.
1096 * text2.C (setFont): use forwardPosNoDescent() instead
1097 of ForwardPos() (fixes crash on font change).
1099 2005-02-13 Angus Leeming <leeming@lyx.org>
1101 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1102 only if lyxrc.path_prefix is not empty.
1104 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1106 * bufferparams.C (readGraphicsDriver): prevent crash
1108 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1110 * text2.C (setCounter): check for inInset() == 0
1112 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1114 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1115 but use update() to get correct screen display; use convert
1116 instead of istringstream.
1117 (getStatus): handle LFUN_GOTO_PARAGRAPH
1119 * lyxfunc.C (dispatch, getStatus): do not handle
1120 LFUN_GOTO_PARAGRAPH here.
1122 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1124 * text3.C (dispatch): size() -> depth()
1126 * text2.C: remove some debug output
1128 * paragraph.C: ws changes only
1130 * lyxfunc.C (getStatus): size() -> depth()
1132 * dociterator.h (clear, push_back, pop_back, internalData,
1133 operator[], resize, empty): new functions
1134 Make StableDocIterator and operator== be friends. Don't inherit
1135 from std::vector use a privat class variable slices_ instead.
1138 * dociterator.C: update because of not inheriting from std::vector
1139 anymore. Call explictly to slices_ instead. Use depth() instead of
1140 size() and top() instead of back()
1142 * cursor.C: chagne size() -> depth and back() -> top(). Also
1143 remove some direct operator[](i) calls in favour of foo[i]
1144 (getFont): remove some dead code
1146 * bufferview_funcs.C (coordOffset): size() -> depth()
1148 * buffer.C: ws changes only
1150 * CutAndPaste.C (eraseSelection): back() -> top()
1152 * BufferView_pimpl.C (selectionRequested): back() -> top()
1154 * BufferView.C (setCursor): size() -> depth()
1156 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1158 * text3.C (cursorPrevious): return true if depm changed something
1160 (dispatch): rename sl to oldTopSlice, remove moving use the new
1161 NoUpdate func attrib instead. Make sure that needsUpdate is set
1162 for function that have NoUpdate, but where depm might have changed
1165 * text2.C (cursorLeft): make us return true if depm changed
1167 (cursorRight): ditto
1168 (cursorUpParagraph): ditto
1169 (curosrDownParagraph): ditto
1170 (cursorUp, cursorDown): ditto, make sure to read comments in code
1171 (deleteEmptyParagraphMechanism): remove an assert, also return
1172 true if just a single char was deleted.
1174 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1175 cursor that we modify, to avoid modifying an active cursor before
1176 we call setCursor. This allows depm to run. Also return true if
1177 depm deleted something.
1179 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1180 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1181 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1182 something was changed in the buffer because of them (ie. depm run)
1184 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1185 debug messages. Make update by default be false. Make sure that
1186 the result of update is retained throught several calls down to
1189 * LyXAction.h: add a new func_attrib: NoUpdate
1191 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1192 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1193 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1195 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1197 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1199 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1200 bv_->owner(), bv_->buffer() by direct references to the private
1202 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1203 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1204 (fitCursor): center() is in BufferView::Pimpl.
1205 (getStatus, trackChanges, dispatch): no need for a temporary buf
1207 (fitCursor, workAreaDispatch): use workarea().workheight()
1209 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1211 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1213 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1215 * buffer.C: format up to 241.
1216 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1217 break if pasting into ERT
1218 * lyxfunc.C (getStatus): suppress mathpanel and
1219 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1221 2005-02-01 Angus Leeming <leeming@lyx.org>
1223 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1225 2005-02-01 Angus Leeming <leeming@lyx.org>
1227 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1228 calling fs::is_directory().
1230 2005-01-31 Angus Leeming <leeming@lyx.org>
1232 * lyx_main.C (priv_exec): specify explicitly the relative location
1233 of the top level build directory when run in-place.
1235 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1237 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1238 LyXText containing the cursor, not the top-level one.
1240 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1242 (insertStringAsLines): rename par to pit; use temporary variable
1243 par to hold a Paragraph; do not store par.layout() in a variable,
1244 since the pointer may die when breaking paragraphs; pass pars to
1245 breakParagraph() instead of Buffer::paragraphs().
1247 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1249 * lyxlex_pimpl.h: #include <fstream>.
1251 * BufferView.[Ch] (getLyXText): add a const version.
1253 * BufferView_pimpl.C: add debug aids.
1258 * paragraph_funcs.h: add commentary explaining what the class does.
1261 * coordcache.[Ch]: add lots of commentary.
1262 (startUpdating, doneUpdating): debug aids.
1263 (arrays, insets, parPos, getParPos): accessors to private data.
1265 * cursor_slice.[Ch] (text): add a const version.
1266 * dociterator.[Ch] (text, innerText): add const versions.
1268 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1271 * paragraph.C (getRow, pos2ros): add asserts.
1273 * paragraph.h: add commentary. Lots of.
1275 * paragraph.[Ch] (metrucs, draw): removed.
1278 * rowpainter.[Ch]: const-correct changes.
1280 * text.C: various obvious clean-ups. Removal of ancient cruft.
1283 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1285 * vc-backend.C (find_file): rewrite to use boost.filesystem
1288 * main.C (main): set default name check for boost.filesystem to
1291 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1294 (actOnUpdatedPrefs): ditto
1296 * lyx_main.C (init): rewrite to use boost.filesystem
1297 (queryUserLyXDir): ditto
1299 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1300 (getContentsOfAsciiFile): ditto
1302 * lastfiles.C (readFile): rewrite to use boost.filesystem
1304 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1306 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1307 (loadLyXFile): ditto
1309 * buffer.C (Buffer): adjust for destroydir
1310 (getLogName): rewrite to use boost.filesystem
1311 (setFileName): ditto
1312 (save): use fs::copy_file (from fs_extras)
1314 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1316 * LaTeX.C (run): rewrite to use boost.filesystem
1317 (scanAuxFiles): ditto
1318 (handleFoundFile): ditto
1320 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1322 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1324 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1326 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1328 * lyxlayout.[Ch]: change some vars from float to double
1330 * buffer.C (readFile): make a local var const
1332 * Several files: use convert<> instead of atoi,strToXXX and friends
1334 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1336 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1337 holds the contents of packages.lst. New functions getAvailable
1338 and isAvailable to parse and check that list, resp.
1342 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1344 * bufferparams.[Ch]: new param output_changes.
1346 * Buffer.C: increase file format to 240.
1347 Use output_changes and isVailable.
1351 * paragraph_pimpl.C: Use output_changes and isVailable.
1353 2005-01-23 Angus Leeming <leeming@lyx.org>
1355 * output_latex.C: #include "insetbibitem.h", rather than
1356 forward declare function bibitemWidest.
1358 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1360 * lyx_main.C (init): make it compile on the Mac.
1362 2005-01-20 Angus Leeming <leeming@lyx.org>
1364 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1365 (setLyXMisc): (char string literal) != (char string literal) is
1366 performing a comparison on the addresses. Convert one operand
1367 explicitly to string to guarantee expected behaviour.
1370 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1373 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1375 * output_plaintext.C: remove unneeded #include gzstream.h.
1377 2005-01-20 Angus Leeming <leeming@lyx.org>
1379 * SpellBase.h: rename some of the elements of the Result enum.
1386 * pspell.C (check): ditto
1388 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1390 * buffer.C: add #include <fstream>.
1392 * lyx_main.C (init): Compile fix.
1394 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1396 2005-01-20 Angus Leeming <leeming@lyx.org>
1398 * mover.h: change commentary to reflect the changed meaning of
1399 the $$s placeholder.
1401 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1403 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1405 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1407 2005-01-20 Angus Leeming <leeming@lyx.org>
1409 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1410 printing diagnostic data by not dereferecing an iterator past the
1413 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1415 * buffer.C (readHeader): use "&&" rather than "and".
1417 * lyxserver.h (inPipeName, outPipeName): make these const.
1419 2005-01-19 Angus Leeming <leeming@lyx.org>
1421 * lyx_main.C (error_handler, init): protect SIGHUP with
1422 #ifdef SIGHUP guards.
1424 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1426 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1428 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1430 * text.C (setHeightOfRow): add a margin at the top and bottom of
1431 the document (bug 1761)
1433 2005-01-17 Angus Leeming <leeming@lyx.org>
1435 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1436 with "python ". Workaround for a brain-dead Windows.
1438 2005-01-16 Angus Leeming <leeming@lyx.org>
1440 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1441 for MacOSX and Windows to use prependEnvPath.
1442 Strip out the hard-coded block to add elements to the PATH for
1443 MacOSX and replace it with a call to prependEnvPath using the
1444 contents of LyXRC::path_prefix.
1445 (queryUserLyXDir): strip out the code to run reconfigure, instead
1446 returning a boolean indicating the necessity to do so.
1447 (reconfigureUserLyXDir): contains the code to reconfigure the
1448 user support directory. Is now called after the various LyXRC data
1449 files have been read.
1451 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1453 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1455 * converter.[Ch] (convert): take a new parameter try_default. Use
1456 a default converter (imagemagick) if try_default is true.
1458 2005-01-13 Angus Leeming <leeming@lyx.org>
1460 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1461 os::cygwin_path_fix.
1462 (write): output LyXRC::cygwin_path_fix as necessary.
1464 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1467 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1469 2005-01-12 Angus Leeming <leeming@lyx.org>
1471 * lyx_main.C (init): set the PATH variable to include the
1472 directory containing the LyX binary when running on Mac or Windows.
1474 2005-01-12 Angus Leeming <leeming@lyx.org>
1476 * lyx_main.C (init): remove cruft that purports to set the locale
1477 dir. It doesn't and is not needed anyway.
1479 2005-01-10 Angus Leeming <leeming@lyx.org>
1481 * Makefile.am: remove the lyx_main.C special casing.
1483 * BufferView_pimpl.C:
1489 * messages.C: use support/package.h to provide the paths to the
1490 various directories used by LyX.
1492 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1494 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1495 layout if pasting into an empty paragraph)
1497 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1499 * tex-accent.C: add <string>
1501 2005-01-06 José Matos <jamatos@lyx.org>
1503 * ParagraphParameters.C (write): put every parameter in its own line.
1504 * paragraph.C (write): reduce number of consecutive empty lines exported.
1505 * buffer.C (LYX_FORMAT): increase file format to 239.
1507 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1509 * everywhere: change support/tostr.h -> support/convert.h
1511 * tabular.C: make all write_attributes templates, tostr -> convert
1513 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1514 (emptyTag): and -> &&, and fix type for ret from getChar
1515 (getFirstWord): fix type for ret from getChar
1516 (onlyText): and -> &&
1517 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1520 * toc.C (goTo, action):
1521 * text3.C (dispatch):
1522 * text.C (currentState):
1523 * tex-accent.C (DoAccent):
1526 * lyxfunc.C (menuNew):
1527 * lyxfinc.C (replace):
1528 * counters.C (laberItem):
1529 * bufferview_funcs.C (font2string):
1530 * bufferparams.C (writeFile):
1531 * buffer.C (readFile):
1533 * MenuBackend.C: tostr -> convert
1535 * LaTeX.C (runMessage): fix format
1536 (scanAuxFiles): tostr -> convert
1538 * BufferView_pimpl.C (savePosition): fix format
1539 (restorePosition): ditto
1542 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1544 * Spacing.[Ch]: New method getValueAsString().
1548 * ParagraphParameters.C:
1551 * text3.C: store/read spacing value as string.
1553 * rowpainter.C: change float value (spacing_val) to double.
1555 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1556 broken custom document spacing).
1558 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1560 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1561 namespace, also more use of temp references and const
1563 * cursor.[Ch] (getStatus): move to lyxfunc.C
1565 * bufferparams.C: reformat slightly
1567 * bufferview_funcs.C (font2string): constify arg
1573 * buffer_funcs.C: (many funcs): constify arg on function
1574 definitions, also make more local vars const, also add ASSERTS on
1577 * buffer.C (LYX_FORMAT): put const in correct place
1578 (many funcs): constify arg on function definitions, also make
1579 more local vars const
1581 * aspell_local.h: remove "struct" from typdef setup
1583 * aspell.C (check): make word_ok const
1584 (nextMiss): simplify slightly
1587 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1589 * lyxrc.[Ch]: store all float values as strings.
1590 use int (not float) for lyxrc.dpi.
1592 2005-01-04 Angus Leeming <leeming@lyx.org>
1594 * lyx_cb.C (Reconfigure):
1595 * lyx_main.C (queryUserLyXDir):
1596 to run the <system_lyxdir>/configure correctly on Windows, prefix
1597 the path to the script with "sh " when generating the string that
1598 is passed to system().
1600 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1602 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1604 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1606 * lyxlength.C (asLatexString): get rid of setprecision
1608 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1610 * text2.C (setLayout): remove unused variable endpit.
1611 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1613 * paragraph.C (onlyText): remove unused variable style.
1615 * cursor.C (bruteFind): remove unused variables beg and end.
1617 * Makefile.am (dist_noinset_DATA): not needed anymore
1619 * cheaders/*: remove.
1621 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1623 * text3.C: fix LFUN_MATH_MODE.
1625 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1627 * buffer_funcs.C (countWords): new function. Counts words between
1630 * BufferView_pimpl.C (getStatus, dispatch): handle
1633 * LyXAction.C (init):
1634 * lfuns.h: add LFUN_WORDS_COUNT.
1636 2004-12-19 Angus Leeming <leeming@lyx.org>
1638 * buffer.C (save): s/slashify_path/internal_path/.
1640 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1642 * lyxfind.C (findChange): do not search for end of pars, because
1643 the change tracker cannot handle this (fixes bug 1719).
1645 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1647 * paragraph.[Ch] (autoBreakRows): remove
1649 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1651 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1652 avoid using the paragraph one
1654 * text2.C (LyXText, insertStringAsLines): adjust
1656 2004-12-16 Angus Leeming <leeming@lyx.org>
1660 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1662 2004-12-14 Angus Leeming <leeming@lyx.org>
1664 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1666 * bufferlist.C (emergencyWrite):
1667 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1670 2004-12-14 Angus Leeming <leeming@lyx.org>
1672 * main.C: (main): no longer pass pointers to os::init.
1674 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1676 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1677 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1679 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1682 * text3.C: remove selection_possible global flag
1684 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1686 * text2.C (getSelectionSpan): remove
1687 (changeDepth, changeDepthAllowed): adjust
1689 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1691 * Makefile.am (BOOST_LIBS): use boost variables
1693 2004-12-03 José Matos <jamatos@lyx.org>
1695 * buffer.C: format up to 238.
1697 2004-12-03 José Matos <jamatos@lyx.org>
1699 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1701 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1703 * cursor.C (goUpDown): remove call to idxUpDown2
1705 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1707 * tabular.[Ch]: use size_t-like types for cell, row and column
1710 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1712 * lyxfunc.C (getStatus): do not lose previous information when
1713 calling BufferView::getStatus; do not set a default "Command
1714 disabled" message at the beginning, but just before returning.
1716 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1718 * cursor.h (getStatus): add better comment from src/cursor.C
1720 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1722 * text3.C (getStatus): return false when the lfun is not handled
1724 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1726 * broken_headers.h: remove
1728 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1730 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1732 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1733 offset_ref accessors
1735 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1736 top_y_, merge fitcursor with update
1737 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1739 (metrics): introduce
1740 (workAreaDispatch): adapt to new coord scheme
1741 (redoCurrentBuffer): remove
1743 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1745 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1748 * coordcache.[Ch]: add paragraph cache and helpers
1750 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1753 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1754 (targetX, setTargetX): introduce
1756 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1757 baseline -> ascent, as the rest of lyx
1759 * lyxtext.h: remove redoParagraphs, updateParPositions,
1760 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1761 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1762 have ascent/descent (ascent is ascent of first par)
1764 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1767 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1769 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1771 * pariterator.C: fix infinite loop introduced in par->pit renaming
1773 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1774 in insets and LyXText, draw two off-screen paragraphs using
1775 NullPainter, and adapt to new coord scheme
1779 * text3.C: adapt lfun handlers to the new coord scheme, which
1780 means: there's only guaranteed coord information for onscreen pars
1781 plus one above and one below. This implies that one can do search
1782 from y coordinates in the range [-1,workHeight]
1784 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1786 * rename a lot of InsetOld to InsetBase
1788 2004-11-25 Angus Leeming <leeming@lyx.org>
1790 * BufferView_pimpl.C:
1792 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1794 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1796 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1797 call BufferView::getStatus if LCursor::getStatus did nothing
1798 (setStatusMessage, getStatusMessage): removed.
1800 * FuncStatus.C (message): new methods. Used to provide an error
1801 message indicating why a command is disabled.
1802 (clear, |=, FuncStatus): update for message.
1804 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1806 * lyxfunc.C (dispatch): always call sendDispatchMessage
1808 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1811 * BufferView_pimpl.C:
1816 * cursor_slice.[Ch]:
1819 * paragraph_funcs.C:
1825 * undo.C: par->pit renaming
1827 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1829 * tabular.C (cellstruct): use initialization, store a shared_ptr
1830 to insettext instead of the insettext directly, adjust to fit.
1831 (operator=): new function
1832 (swap): new function
1833 (rowstruct): use initialization
1834 (columnstruct): use initialization
1835 (ltType): use initialization
1838 * lyxlength.h (swap): new function
1840 * LColor.[Ch] (operator=): use the common semantics
1842 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1844 * lyxfind.C (findNextChange): update the bufferview after setting
1847 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1849 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1850 number of InsetOptArgs has already been inserted.
1852 * output_latex.C (latexOptArgInsets): new method. This outputs all
1853 the optarg insets, up to the limit defined in the layout file.
1854 (optArgInset): removed
1855 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1857 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1859 * paragraph.C (isLetter): remove special spellchecker-related
1860 code; return true also for digits
1861 (isWord, isKomma): remove
1863 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1864 * lyxfind.C (MatchString()): use isLetter instead of isWord
1866 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1868 * pariterator.h (operatir=): comment out un-implemented member
1871 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1874 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1876 * lyxfont.h: include LColor.h to satisfy concept checks.
1878 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1880 * pariterator.h: add typdefs for value_type, difference_type,
1881 pointer and reference to satisfy concept checks. Also add default
1882 constructor for same reason.
1884 * pariterator.C (operator++): add post-increment operator to
1885 satisfy concept checks.
1887 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1890 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1892 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1893 checks. Also rename base_type to BaseType to follow naming
1896 * FloatList.h: include Floating.h to satisfy concept checks.
1898 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1900 * lyxfunc.C (getStatus): when the origin of the request is menu or
1901 toolbar, and the LyXView does not have focus, do as if there was
1902 no buffer (bug 1720)
1904 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1905 FuncRequest to individual entries of LFUN_SEQUENCE
1907 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1909 * output_latex.C (TeXOnePar): override runparams.moving_arg
1910 according to the needprotect value of the current paragraph (bug
1913 * paragraph.C (simpleTeXOnePar): no need to override
1914 runparams.moving_args here
1916 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1918 * vspace.C: fix off-by-one-error, related to fix #1682
1920 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1922 * lengthcommon.C: a more general fix for bug 1682
1924 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1926 * text.C (backspace): fix crash
1928 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1930 * format.[Ch] (getFormatFromFile): new method
1931 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1933 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1935 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1937 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1939 * lyxfunc.C (dispatch): remove the verbose argument
1940 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1943 * kbmap.C (defkey): set the origin of func to KEYBOARD
1945 * MenuBackend.C (MenuItem):
1946 * ToolbarBackend.C (add): set the origin of func to UI
1948 * funcrequest.[Ch]: add origin member, which indicates which part
1949 of LyX requests an action
1951 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1953 * converter.C (move): don't lie in the error message
1954 * converter.h (isReachable, move): document
1956 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1958 * buffer.C: remove unused using lyx::support::atoi
1959 * paragraph_funcs.C: ditto
1961 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1963 * bufferlist.C (exists): use bind and equal_to instead of
1966 * lyxtextclasslist.C (NumberOfClass): ditto
1968 * cursor.C (insert): use for_each instead of explicit for loop
1970 * bufferlist.C (getFileNames): use std::transform and
1971 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1973 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1976 * buffer.C (changeLanguage): use for_each instead of explicit for
1978 (hasParWithID): implement using getParFromID
1980 * LaTeXFeatures.C: ws change only
1982 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1985 * BufferView_pimpl.C (trackChanges): use for_each instead of
1988 2004-11-04 André Pönitz <poenitz@gmx.net>
1991 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1993 * dociterator.C (asDocIterator): use hard assert again.
1995 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1997 * lyxlength.C (asLatexString): rewrite so that it does not use
2000 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2002 * text3.C (specialChar, dispatch): make sure cursor moves to the
2003 right after inserting an inset
2005 2004-11-02 José Matos <jamatos@lyx.org>
2007 * output_docbook.C (docbook):
2008 * paragraph.C (getID):
2009 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2010 garantee that the output is always legal.
2012 * tabular.C (docbook):
2013 * outputprams.[Ch]: remove mixed contents.
2015 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2017 * text2.C (setCounter): prevent endless loop
2019 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2021 * exporter.C (copyFile): use the mover instead of support::copy()
2022 * exporter.C (Export): pass format and latex name to copyFile()
2023 * exporter.h (addExternalFile): document
2024 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2026 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2028 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2030 2004-10-30 José Matos <jamatos@lyx.org>
2032 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2033 text and no inset or font change. This allows to use CDATA
2034 sections just for the whole paragraph.
2036 2004-10-30 José Matos <jamatos@lyx.org>
2038 * paragraph.C (getFirstWord): remove unused variable.
2040 2004-10-30 José Matos <jamatos@lyx.org>
2042 * paragraph.C (getFirstWord): the content should always be escaped
2044 (simpleDocBookOnePar):
2045 * output_docbook.C (makeEnvironment): replace reference to CDATA
2048 2004-10-30 José Matos <jamatos@lyx.org>
2050 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2052 2004-10-30 José Matos <jamatos@lyx.org>
2054 * output_docbook.C (makeParagraphs):
2055 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2056 standard paragraph has only a given type of content drop the wrapper.
2058 2004-10-29 José Matos <jamatos@lyx.org>
2060 * output_docbook.C (makeEnvironment):
2062 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2064 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2066 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2067 (cleanID): sanitize any id.
2069 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2071 * buffer.C, lyxlex_pimpl.C:
2072 * lyxlex_pimpl.C (setFile):
2073 s/getExtFromContents/getFormatFromContents/
2075 2004-10-28 José Matos <jamatos@lyx.org>
2077 * output_docbook.C (makeEnvironment): move id to broadest possible
2080 * sgml.C (openTag): apply substitution of <> for all attributes.
2082 2004-10-28 José Matos <jamatos@lyx.org>
2084 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2085 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2086 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2088 * sgml.[Ch]: new version for open and closeTag for paragraph and
2089 for strings. Now they handle the ids of paragraphs.
2091 2004-10-26 Angus Leeming <leeming@lyx.org>
2093 * Makefile.am: add mover.[Ch].
2095 * converter.C (convert, move): use the new Movers to move external
2096 files to the temp directory.
2098 * lyx_main.C (init): ensure that the global system_movers data
2101 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2104 * mover.[Ch]: new files, defining a Mover as a utility to move an
2105 external file between directories and, if necessary, manipulate this
2106 file using a helper script.
2108 2004-10-25 José Matos <jamatos@lyx.org>
2110 * output_docbook.C (makeCommand): merge two if's that tested the
2113 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2115 * sgml.C (escapeString): fix warning in a better way
2117 2004-10-25 José Matos <jamatos@lyx.org>
2119 * sgml.C (escapeString): import the require boosts header file for
2120 tie, and avoid a signed unsigned comparison.
2122 2004-10-25 José Matos <jamatos@lyx.org>
2124 * sgml.h: add #include <string>
2126 2004-10-25 José Matos <jamatos@lyx.org>
2128 * sgml.[Ch] (escapeString): new function to escape all the string.
2130 2004-10-24 José Matos <jamatos@lyx.org>
2132 * paragraph.[Ch] (getFirstWord): new function to get the first
2133 word. Useful for description.
2134 (simpleDocBookOnePar): remove depth argument, add another that
2135 says where to start the paragraph.
2137 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2138 use the new functions to fix cleanly the support for descriptions.
2140 2004-10-24 José Matos <jamatos@lyx.org>
2142 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2143 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2144 * output_linuxdoc.C (linuxdocParagraphs):
2145 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2146 add buffer as argument.
2148 2004-10-24 José Matos <jamatos@lyx.org>
2150 * output_docbook.C (makeEnvironment, searchEnvironment): place
2151 CDATA inside paragraphs and fix scope for listitems.
2153 2004-10-24 José Matos <jamatos@lyx.org>
2155 * output_docbook.C: remove using statement for stack.
2157 2004-10-23 José Matos <jamatos@lyx.org>
2159 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2160 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2161 docbook. The new scheme is recursive and makes use of iterators, the
2162 same as latex export works.
2163 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2164 directly with the paragraph contents. This code was moved up to
2165 output_docbook.C (docbookParagraphs).
2166 * sgml.C (openTag, closeTag): removed unneeded newlines.
2167 (closeEnvTags) removed.
2169 2004-10-23 André Pönitz <poenitz@gmx.net>
2171 * undo.C (textUndoOrRedo):
2172 * dociterator.C (asDocIterator): work around crash
2174 * cursor.C (getStatus): replace ASSERT by more verbose error message
2175 and manual correction of the problem. Should increase stability
2176 while providing more sensible information.
2178 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2180 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2182 * bufferlist.C (previous, next): new methods
2185 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2187 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2189 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2190 entities to preamble.
2192 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2194 * messages.C (Pimpl): strip off translation context information
2196 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2198 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2199 the cursor is correct (bug 1694)
2201 2004-10-13 José Matos <jamatos@lyx.org>
2203 * output_docbook.C (docbookParagraphs): fix closing tags in the
2204 end of the document.
2206 2004-10-09 José Matos <jamatos@lyx.org>
2208 * buffer.C: format up to 237.
2209 * bufferparams.C (write): use tostr to convert booleans to strings.
2211 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2213 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2215 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2217 * LaTeX.C: implement use of babel language in xindy.
2219 2004-10-05 José Matos <jamatos@lyx.org>
2221 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2222 Add new translators to help reading and writing the lyx file.
2224 2004-10-05 José Matos <jamatos@lyx.org>
2226 * ParagraphParameters.C (read):
2227 * text.C (readParToken): replace nexToken by more appropriate lex
2230 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2232 * LaTeX.C (runMakeIndex):
2233 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2234 (usually 'makeindex') configurable.
2236 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2237 with a variable rather than with a number.
2239 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2241 * output_latex.C (TeXOnePar): make sure font setting is the first
2242 thing that gets output (and the last at the end). Should fix bug
2245 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2247 * pch.h: use proper signal include
2249 * LaTeX.h: Use preferred calling of Boost.Signal
2252 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2254 * pch.h: dont include <boost/function/function0.hpp>
2256 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2258 * paragraph_pimpl.h: remove usage of ShareContainer
2260 * paragraph_pimpl.C: remove initialization of ShareContainer.
2262 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2266 * BufferView.C (putSelectionAt): change the semantics when
2267 backwards == true: now, this just swaps cursor and anchor wrt the
2270 * BufferView.h (putSelectionAt): add some documentation
2272 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2273 make sure backwardChar is done at least once (to avoid getting
2275 (findNextChange): use putSelectionAt in the forward direction
2276 (operator()): use Paragraph::isWord
2278 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2280 * Spacing.C (set): c_str fix
2282 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2284 * lyx_cb.C (Reconfigure): quote the name of configure script in
2285 case it contains spaces
2287 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2291 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2292 (BOOST_LIBS): use top_buildir when looking for the file
2294 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2296 * pch.h: do not use include boost/format.hpp, multiple symbols
2297 will result (gcc bug)
2300 2004-08-23 José Matos <jamatos@lyx.org>
2302 * bufferparams.C (readToken): fix reading of the author field.
2304 2004-08-20 José Matos <jamatos@lyx.org>
2306 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2308 2004-08-20 José Matos <jamatos@lyx.org>
2310 * lyxlex.[Ch] (findToken): remove function.
2312 * ParagraphParameters.C (findToken):
2313 * bufferparams.C (findToken): replace call for previous function
2314 with local copy. This local function has one more argument, the
2315 read string argument.
2317 2004-08-16 José Matos <jamatos@lyx.org>
2319 * ParagraphParameters.C (write):
2320 * Spacing.C (writeFile):
2321 * bufferparams.C (writeLaTeX):
2322 * lyx_cb.C (Reconfigure):
2323 * paragraph.C (write):
2324 * tabular.C (write): remove unnecessary space at end of line.
2327 2004-08-16 José Matos <jamatos@lyx.org>
2329 * text.C (readParagraph): remove debug message.
2331 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2333 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2336 * output_plaintext.C (asciiParagraph): set depth correctly
2338 * outputparams.h: add member depth
2340 * paragraph_funcs.C (ownerPar): remove.
2342 * text2.C (setCounter): remove first_pit; comment out some
2343 non-working code that uses ownerPar
2345 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2348 2004-08-16 José Matos <jamatos@lyx.org>
2350 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2351 For the same level of importance use the same chanel to report problems.
2352 (read): add code to deal with \begin_body and \end_body.
2355 2004-08-15 José Matos <jamatos@lyx.org>
2357 * lyxlex.C (getString): fix comment, buffer::readBody is now
2358 buffer:readDocument.
2360 * tex-strings.C (string_papersize): Default -> default,
2361 Custom -> custom, for consistency with other options.
2363 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2367 * Makefile.am: support pch
2369 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2371 * text.C (readParToken): remove the static LyXFont variable and
2372 pass it as a parameter instead. This fixes a nasty bug where an
2373 inset will be inserted with a bad font in some situations
2374 (readParagraph): adapt
2376 * text2.C (setCounter): reduce number of calls to pars_[pit]
2378 * text.C (singleWidth): add an assert, fix a test
2380 * rowpainter.C (paintText): reduce number of calls to singleWidth
2382 * paragraph.C (isHfill):
2383 (isNewline): ws only
2385 2004-08-14 André Pönitz <poenitz@gmx.net>
2390 * lyxtext.h (several functions): use a Paragraph & argument
2393 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2395 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2397 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2399 * text.C (singleWidth): remove useless test
2401 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2403 * tabular.h: remove bogus comments
2405 * tabular.C (getDescentOfRow):
2406 (isPartOfMultiColumn): add assertions
2408 * lyxlength.C (inPixels): remove #warning
2410 2004-08-14 André Pönitz <poenitz@gmx.net>
2412 * paragraph.h: inline getChar()
2414 * BufferView.h: remove unused declarations
2416 2004-08-14 José Matos <jamatos@lyx.org>
2418 * Buffer.[Ch] (readDocument): new name for old readBody.
2419 * Buffer.C: new file format, new keywords: \begin_document,
2420 \begin_header, \begin_body, \end_body.
2422 * bufferparams.C (readToken): replace all calls to lex.nextToken
2423 by lex.next(). Do the same to eatLine except where really needed.
2425 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2426 line when writing to the lyx file.
2428 * output_plaintext.C (asciiParagraph): fix Bibliography style
2431 * text.C (read): fix end of file handling.
2433 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2435 * MenuBackend.C (Menu::operator[]): new method to access
2436 individual menu items
2437 (Menu::hasFunc): new method. search for an item that corresponds
2439 (MenuBackend::specialMenu): new method
2440 (MenuBackend::expand): if a special menu has been set, skip
2441 entries whose func() appears in this menu
2443 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2445 * text3.C: use Debug::DEBUG a bit more
2447 * text.C (leftMargin): try to simplify a tiny bit change var x to
2448 l_margin. Dont output the wide margins always.
2449 (rightMargin): no margin in inner texts
2451 * rowpainter.h (nestMargin): new func
2452 (changebarMargin): new func
2453 (rightMargin): new func
2455 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2459 * factory.C (createInset): modify setDrawFrame
2461 * cursor.C: use Debug::DEBUG a bit more
2463 2004-08-14 André Pönitz <poenitz@gmx.net>
2466 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2467 cache for all insets in (at least partially) visible (top-level)
2470 * BufferView_pimpl.C: reset external coord cache before every update.
2471 This means the coord cache only contains valid entries.
2473 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2476 * BufferView_pimpl.C (getInsetByCode): move function out of class
2477 and change in to a template in anon namespace. Also fix to do what
2480 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2483 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2485 (breakParagraph): rename par to par_offset and use a local
2486 reference. Add code to keep the language over a rebreak.
2487 (breakParagraphConservative): rename par to par_offset, use a
2489 (mergeParagraph): ditto
2491 (isFirstInSequence): ditto
2492 (outerFont): rename pit to par_offset
2494 * paragraph.C: ws change
2495 * paragraph.h: ditto
2499 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2501 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2504 * paragraph.C (simpleTeXOnePar): when we have a \item with
2505 optional argument, enclose the argument with curly brackets (in
2506 case it contains a closing square bracket)
2510 * text3.C (checkInsetHit): constify
2512 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2514 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2515 documents (bug 1629)
2517 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2519 Fix toggling of collapsable insets with the mouse (bug 1558)
2521 * lyxfunc.C (dispatch): adapt to LCursor changes
2523 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2524 make sure that dispatch is not invoked twice
2526 * cursor.C (needsUpdate): new method
2527 (dispatch): return void
2528 (result): new method, to access the DispatchResult of the cursor.
2530 2004-08-13 José Matos <jamatos@lyx.org>
2532 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2534 2004-08-13 André Pönitz <poenitz@gmx.net>
2536 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2538 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2541 2004-08-12 André Pönitz <poenitz@gmx.net>
2543 * text3.C: take out the 'cursor right' form insertInset and only
2544 do it in those places when it is really needed. Fixes crash on
2547 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2549 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2551 * BufferView_pimpl.C (setBuffer): initialize the current font of
2552 the underlying LyXText
2554 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2556 * kbsequence.C (print): use UI native formatting for menu
2559 * text.C (insertChar): call Paragraph::insertChar with a font
2562 * paragraph.C (insertInset, insertChar): the version that takes a
2563 LyXFont argument is now a wrapper around the other one (the
2564 opposite used to be true).
2566 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2567 argument. Font setting is done in Paragraph now.
2569 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2571 * outputparams.h: add new members intitle and lang.
2573 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2574 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2576 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2578 * text3.C (dispatch): remove special handling of button 4 and 5,
2579 it is now taken care of in the frontend code.
2581 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2583 * Spacing.h: add <string> (STLPort compile fix)
2585 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2587 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2589 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2591 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2594 * converter.C (showMessage): inherit from unary_function, make
2597 * buffer.C (writeFile): initialize retval
2599 * InsetList.h: rename private variable list to list_
2600 * InsetList.[Ch]: adjust accordingly.
2602 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2604 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2605 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2606 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2607 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2608 * ParagraphParameters.C, LaTeXFeatures.C: replace
2609 "support/std_sstream.h" with <sstream>
2611 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2613 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2614 * lyxsocket.C (LyXServerSocket): ditto
2615 (serverCallback): ditto
2617 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2619 * LaTeXFeatures.C: check release date when loading jurabib.
2621 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * lyxserver.C (startPipe): call register_socket_callback
2624 (endPipe): call unregister_socket_callback
2626 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2628 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2629 (LyXServerSocket): register the callback
2630 (LyXServerSocket): unregister the callback
2631 (fd): delete function
2632 (serverCallback): improve error checking and setup the callbacks.
2633 (dataCallback): change arg to fd.
2634 (writeln): new func (copied fro the client socket) used for server
2636 (LyXDataSocket): simplify
2637 (~LyXDataSocket): close ann unregiser callback
2638 (server): delete function
2639 (fd): delete function
2640 (readln): small changes, improve some std::string usage
2641 (writeln): constify a bit
2643 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2645 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2648 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2650 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2651 after it has been populated
2653 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2655 * text2.C (insertInset): move cursor when inserting inset.
2657 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2659 * kbmap.C (findbindings): a couple of new methods. returns a
2660 container of kb_sequence objects. The real work is done by the
2661 private recursive version
2662 (printbindings): uses findbindings to print out a bracketed list
2663 of bindings (renamed from findbinding).
2665 * MenuBackend.C (binding): use kb_keymap::findbindings
2667 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2669 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2671 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2673 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2675 * paragraph.C (isWord): return true on insets that report
2678 * text.C (getWord): use Paragraph::isWord to decide what is in a
2679 word and what is not; fix bug 1609.
2681 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2683 * tex-strings.C: add "none" to string_paperpackages[], fixes
2684 off-by-one-error in the paperpackage selection.
2687 * tex-strings.[Ch]: char const * string[n]
2688 -> char const * const string[]
2690 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2692 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2693 command, return early.
2695 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2697 * debug.h: add DEBUG to enum and fix size of ANY.
2699 * debug.C: add support for Debug::DEBUG
2700 (showTags): cast errorTags.level to unsigned int
2702 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2703 (redoCurrentBuffer): ditto
2704 (updateScrollbar): ditto
2705 * cursor.C (dispatch): ditto
2706 * text2.C (setLayout): ditto
2708 (updateCounters): ditto
2710 (deleteEmptyParagraphMechanism): ditto
2712 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2714 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2715 annotations to cleanup the Makefile slightly.
2717 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2719 * lyxrc.C: do not set user_email to a default value but use empty
2720 instead. The entry used to be translated, which does not work
2721 since at the point where lyxrc is constructed there is no
2722 translation service available
2724 * messages.C (getLocaleDir): remove and use directly
2725 lyx_localedir() instead
2727 2004-06-02 Angus Leeming <leeming@lyx.org>
2729 Fix crash caused by dereferencing null pointer 'exportdata' in
2730 OutputParams by creating a new ExportData variable on the heap,
2731 storing it in a boost::shared_ptr.
2732 The crash was triggered when generating an Instant Preview
2733 of an external inset.
2735 * Makefile.am: add outputparams.C
2737 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2738 (c-tor): allocate memory to it.
2740 * exporter.C (c-tor): associated changes.
2742 2004-06-01 Angus Leeming <leeming@lyx.org>
2744 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2745 contains data before calling isInset(0). (Bug 1513.)
2747 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2749 * exporter.C (checkOverwrite): new method
2750 * exporter.C (copyFile): new method
2751 * exporter.C (Export): copy referenced files to the document dir
2752 * exporter.[Ch]: new class ExportedFile
2753 * exporter.[Ch]: new class ExportData. Contains currently the
2754 names of referenced external files
2755 * outputparams.h: add exportdata member.
2757 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2759 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2762 2004-05-19 Angus Leeming <leeming@lyx.org>
2767 * lyxfunc.C: small changes due to the introduction of namespace
2768 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2770 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2772 * text3.C (dispatch): supress update when only moving the cursor
2773 * cursor.C (selHandle): remove commented code
2775 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2777 * paragraph.C (startTeXParParams): correct column count
2778 * CutAndPaste.C (pasteSelection): remove const_cast
2779 * output_docbook.C (docbookParagraphs): remove const_cast
2780 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2781 const_cast and return ParagraphList::const_iterator
2782 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2783 * output_plaintext.C (writeFileAscii): remove const_cast
2784 * paragraph.[Ch] (simpleTeXOnePar): make const
2785 * paragraph_funcs.C (outerPar): use const iterators
2786 * paragraph_pimpl.C (validate): use const iterators
2787 * text.C (setHeightOfRow): use const iterators
2789 2004-05-17 Angus Leeming <leeming@lyx.org>
2792 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2794 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2795 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2796 if the citation engine has changed.
2798 2004-05-14 José Matos <jamatos@lyx.org>
2800 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2801 if the textclass does not provide it. Have it different for sgml and
2803 support the language of document.
2804 * output_docbook.C (docbookParagraphs):
2805 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2806 first anchor as the id of the paragraph, remove special case code.
2807 * sgml.C (escapeChar): escape only < & >.
2809 2004-05-14 Angus Leeming <leeming@lyx.org>
2811 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2812 dependencies on src/frontends/controllers/biblio.h. Define a
2813 CiteEngine_enum wrapper class to enable the enum to be forward
2816 2004-05-12 Angus Leeming <leeming@lyx.org>
2818 * buffer.C: up LYX_FORMAT to 234.
2819 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2820 use_numerical_citations with a single biblio::CiteEngine cite_engine
2822 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2824 2004-05-13 José Matos <jamatos@lyx.org>
2827 * converter.C (Converter, readFlags): add xml member.
2828 * outputparams.h: add XML flavor.
2829 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2831 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2833 * lyxfunc.C (dispatch):
2834 (getStatus): fix handling of LFUN_SEQUENCE
2836 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2838 * debug.C (showLevel): do not forget the end-of-line marker
2840 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2842 * kbmap.C (read): do not stop parsing a bind file when an error
2845 2004-04-29 Angus Leeming <leeming@lyx.org>
2850 * text2.C: wrap a bunch of #warning statements
2851 inside #ifdef WITH_WARNINGS blocks.
2853 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2855 * buffer.C: increment format to 233.
2857 2004-04-28 Angus Leeming <leeming@lyx.org>
2859 * BufferView_pimpl.C:
2862 s/updateToolbar()/updateToolbars()/
2863 s/Toolbar.h/Toolbars.h/
2865 2004-04-28 Angus Leeming <leeming@lyx.org>
2867 * BufferView.[Ch] (c-tor):
2868 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2869 No longer passes these data to the WorkArea generator.
2871 2004-04-28 Angus Leeming <leeming@lyx.org>
2873 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2875 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2877 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2879 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2881 * output_latex.C (TeXEnvironment): make sure that there is a line
2882 break before \end{foo} for the last paragraph of a document
2883 (TeXOnePar): if the paragraph is at the end of the document (or
2884 inset) and the language has to be reset, then make sure that the
2885 line break is _before_ the language command, not after (fixes bug
2886 1225); also make sure that the language reset command is the first
2887 thing after the paragraph (to ensure proper nesting of
2888 environments and thus fix bug 1404)
2890 2004-04-21 John Levon <levon@movementarian.org>
2893 * ToolbarBackend.C: make "name" be a programmatic name
2894 and a gui_name field.
2896 * lyxfunc.C: display the minibuffer on M-x
2898 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2900 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2903 2004-04-19 Angus Leeming <leeming@lyx.org>
2905 * BufferView_pimpl.C (setBuffer): changed preview interface.
2907 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2910 2004-04-19 John Levon <levon@movementarian.org>
2912 * BufferView_pimpl.C:
2913 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2915 2004-04-05 Angus Leeming <leeming@lyx.org>
2917 * text.C (redoParagraphs): add call to updateCounters(), thereby
2918 fixing the missing "Figure #:" label from the caption of a
2921 2004-04-13 Angus Leeming <leeming@lyx.org>
2923 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2924 cursor is clicked out of an inset.
2926 2004-04-13 Angus Leeming <leeming@lyx.org>
2928 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2929 than an InsetOld one.
2931 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2933 * format.[Ch]: add editor to Format
2934 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2935 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2937 2004-04-08 André Pönitz <poenitz@gmx.net>
2939 * metricsinfo.h: remove PainterInfo::width member
2941 2004-04-08 Angus Leeming <leeming@lyx.org>
2943 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2944 "\providecommand" rather than "\newcommand", thereby preventing
2945 clashes with packages that define "\boldsymbol" themselves.
2948 2004-04-08 Angus Leeming <leeming@lyx.org>
2950 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2951 thereby squashing an unnecessary warning.
2953 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2955 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2958 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2960 * BufferView.C (setCursor): call redoParagraph (some insets could
2962 (putSelectionAt): remove the 'double update' trick
2964 * BufferView_pimpl.C (fitCursor): call refreshPar
2965 (workAreaDispatch): remove an uneeded update call
2966 (dispatch): remove some manual update calls
2968 * cursor.[Ch]: remove cached_y_, updatePos
2969 (selHandle): set noUpdate when appropriate
2971 * lyxfunc.C (dispatch): track if we need an update
2973 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2975 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2976 (paintSelection): cheap optimization, do not call cursorX when not
2978 (paintPars): change signature
2981 (paintTextInset): adjust
2985 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2987 * lengthcommon.C: compilation fix: remove explicit array size from
2988 unit_name[] and friends
2990 2004-04-05 Angus Leeming <leeming@lyx.org>
2992 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2994 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2995 present only for the preferences dialog.
2996 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2998 2004-04-05 Angus Leeming <leeming@lyx.org>
3000 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3001 to enable the frontends to export changes to lyxrc correctly.
3003 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3005 2004-04-07 André Pönitz <poenitz@gmx.net>
3007 * cursor.[Ch] (selClear, adjust): remove math
3009 * cursor_slice.C: more agressive assert
3012 * BufferView_pimpl.C: rework mouse event dispatch
3019 2004-04-05 André Pönitz <poenitz@gmx.net>
3021 * cursor.[Ch] (valign, halign...): remove unneeded functions
3023 2004-04-05 Angus Leeming <leeming@lyx.org>
3025 * lyxlength.[Ch] (unit_name et al.): const-correct.
3027 2004-04-05 Angus Leeming <leeming@lyx.org>
3029 * BufferView_pimpl.C:
3038 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3040 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3042 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3044 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3046 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3047 * BufferView_pimpl.[Ch] (getStatus)
3048 * BufferView.[Ch] (getStatus): add
3049 * lyxfunc.C (getStatus): move lfuns handled in
3050 BufferView::dispatch to te function above
3051 * Cursor.C (setSelection): set selection() = true
3053 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3055 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3057 2004-03-31 Angus Leeming <leeming@lyx.org>
3059 * lyxfunc.C (dispatch): Fall through to the generic
3060 Dialogs::show("preamble").
3062 2004-03-31 Angus Leeming <leeming@lyx.org>
3064 * lyxfunc.C (dispatch): Fall through to the generic
3065 Dialogs::show("spellchecker").
3067 2004-03-31 Angus Leeming <leeming@lyx.org>
3069 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3072 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3077 * insetiterator.[Ch]:
3082 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3084 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3086 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3087 insets where we are putting the cursor.
3089 2004-03-31 Angus Leeming <leeming@lyx.org>
3092 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3094 * lyxrc.[Ch] (read, write): overloaded member functions taking
3095 a std::[io]stream arguments.
3097 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3099 2004-03-31 Angus Leeming <leeming@lyx.org>
3101 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3102 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3104 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3105 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3107 2004-03-31 Angus Leeming <leeming@lyx.org>
3109 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3110 the LFUN_ALL_INSETS_TOGGLE code.
3112 2004-03-30 Angus Leeming <leeming@lyx.org>
3114 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3115 has died. Fall through to the generic Dialogs::show("document").
3117 2004-03-30 Angus Leeming <leeming@lyx.org>
3120 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3121 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3123 * lyxfunc.C (getStatus, dispatch): define the actions for these
3124 lfuns. Little more than a cut and pste job from ControlDocument.C
3126 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3128 2004-03-30 Angus Leeming <leeming@lyx.org>
3131 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3132 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3134 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3135 open/closed state of ollapsable insets. Usage:
3137 all-inset-toggle <state> <name>, where
3138 <state> == "open" || "closed" || "toggle" and
3139 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3141 * lyxtext.h, text2.C (toggleInset): removed.
3143 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3144 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3145 now passes LFUN_INSET_TOGGLE to the found inset.
3147 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3148 is now invoked as "all-insets-toggle toggle branch".
3150 2004-03-30 Angus Leeming <leeming@lyx.org>
3154 * pariterator.[Ch]: added/corrected header blurb.
3156 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3158 * dociterator.[Ch]: add an inset_ member
3159 (backwardPos): implemented
3160 (backwardPos, forwardPos): use inset_ when the stack is empty.
3161 (doc_iterator_begin, doc_iterator_end): implemented
3162 * pariterator.[Ch]: adjust, add begin, end
3163 * insetiterator.[Ch]: adjust, add begin, end
3167 * BufferView_pimpl.C:
3168 * CutAndPaste.C: adjust
3170 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3172 * buffer.C: increment file format to 232.
3173 * LaTeXFeatures.C: add bibtopic package.
3174 * bufferparams.[Ch]: param \use_bibtopic.
3176 * lyxrc.[Ch]: add lyxrc bibtex_command
3177 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3179 * buffer.C: increment file format to 231.
3181 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3183 * dociterator.C: implement forwardPar
3184 * iterators.[Ch]: remove, replaced by
3185 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3187 * BufferView_pimpl.C:
3190 * bufferview_funcs.C:
3196 * Makefile.am: adjust
3198 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3200 * CutAndPaste.C (pasteSelection): fix 2 crashes
3201 (eraseSelection): fix a crash
3202 * paragraph_funcs.C: remove a warning
3204 2004-03-28 Angus Leeming <leeming@lyx.org>
3207 * LyXAction.C (init): new LFUN_PRINT.
3209 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3211 2004-03-27 Angus Leeming <leeming@lyx.org>
3214 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3216 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3218 2004-03-27 Angus Leeming <leeming@lyx.org>
3220 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3221 insetlist always contains non-null pointers to insets.
3223 2004-03-26 Angus Leeming <leeming@lyx.org>
3225 * src/BufferView_pimpl.C:
3226 * src/CutAndPaste.C:
3229 * src/output_plaintext.C:
3230 * src/outputparams.h:
3231 * src/paragraph_funcs.C:
3235 * src/frontends/controllers/ControlErrorList.C:
3236 * src/frontends/gtk/FileDialogPrivate.C:
3237 * src/frontends/gtk/GPainter.C:
3238 * src/frontends/gtk/GToolbar.C:
3239 * src/frontends/qt2/QRef.C:
3240 * src/mathed/math_scriptinset.C: squash compiler warnings.
3242 2004-03-26 Angus Leeming <leeming@lyx.org>
3244 * ispell.C (LaunchIspell::start):
3245 * lyx_cb.C (AutoSaveBuffer::start):
3246 invoke run(DontWait) rather than runNonBlocking().
3248 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3250 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3252 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3254 * kbsequence.C (print): adjust
3256 * kbmap.C (printKeySym): rename and change signature
3257 (printKey): use LyXKeySym::print()
3259 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3261 * undo.C: add using std::advance to compile for stlport
3263 2004-03-24 Angus Leeming <leeming@lyx.org>
3265 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3266 it leads to a crash when no buffer is present.
3268 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3269 Martin Vermeer <martin.vermeer@hut.fi>
3271 * lyxfunc.C (dispatch):
3272 * bufferparams.C (readToken): use the new LColor::setColor
3274 * LColor.[Ch] (setColor): new version that takes two strings as
3275 argument and creates a new color entry if necessary
3277 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3279 * buffer.C (makeLaTeXFile): if the main latex file that is
3280 processed is usually a subdocument of some master, then pretend
3281 for a while that it is actually the master
3283 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3285 * buffer.C (getLabelList):
3286 (getBibkeyList): use getMasterBuffer()
3287 (getMasterBuffer): new method. Returns the main document in the
3288 case where one is using included documents.
3290 2004-03-25 André Pönitz <poenitz@gmx.net>
3294 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3296 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3298 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3299 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3301 * ParameterStruct.h: merge with ParagraphParameters
3303 * lyxtext.h: remove LyXText::parOffset() and getPar()
3305 * text3.C: Remove all 'manual' update calls. We do now one per user
3306 interaction which is completely sufficient.
3310 * BufferView_pimpl.C:
3311 * FontIterator.[Ch]:
3313 * ParagraphParameters.[Ch]:
3318 * cursor_slice.[Ch]:
3325 * output_docbook.[Ch]:
3326 * output_latex.[Ch]:
3327 * output_linuxdoc.[Ch]:
3328 * output_plaintext.[Ch]:
3330 * paragraph_funcs.[Ch]:
3331 * paragraph_pimpl.[Ch]:
3339 * frontends/controllers/ControlDocument.C:
3340 * frontends/controllers/ControlErrorList.C:
3341 * frontends/controllers/ControlSpellchecker.C:
3344 * insets/insetbase.h:
3345 * insets/insetbibitem.C:
3346 * insets/insetbox.C:
3347 * insets/insetbranch.C:
3348 * insets/insetcaption.C:
3349 * insets/insetcharstyle.C:
3350 * insets/insetcharstyle.h:
3351 * insets/insetcollapsable.C:
3352 * insets/insetcollapsable.h:
3353 * insets/insetert.C:
3354 * insets/insetfloat.C:
3355 * insets/insetfoot.C:
3356 * insets/insetmarginal.C:
3357 * insets/insetnote.C:
3358 * insets/insetoptarg.C:
3359 * insets/insettabular.C:
3360 * insets/insettext.C:
3361 * insets/insettext.h:
3362 * insets/insetwrap.C:
3363 * mathed/math_mboxinset.C:
3364 * mathed/math_nestinset.C:
3365 * mathed/math_scriptinset.C:
3366 * mathed/math_scriptinset.h:
3369 2004-03-24 Angus Leeming <leeming@lyx.org>
3371 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3372 deal with any child processes that have finished but are waiting to
3373 communicate this fact to the rest of LyX.
3375 2004-03-24 Angus Leeming <leeming@lyx.org>
3377 64-bit compile fixes.
3379 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3380 (c-tor): pass lyx::pos_types rather than ints.
3382 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3385 * text.C (Delete): compile fix.
3386 (getPar): ensure that function declaration is the same as that in
3389 2004-03-23 Angus Leeming <leeming@lyx.org>
3391 * ispell.C (LaunchIspell):
3392 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3393 a boost::shred_ptr rather than a std::auto_ptr.
3395 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3397 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3398 handle LFUN_FILE_INSERT_*
3400 * lyxrc.C (setDefaults, getDescription, output, read):
3401 * lyxrc.h: remove ps_command
3403 2004-03-22 Angus Leeming <leeming@lyx.org>
3405 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3406 Ensure that error_handler is processed once only and that all data
3407 is saved before attempting to output any warning messages.
3409 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3411 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3413 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3415 2004-03-19 André Pönitz <poenitz@gmx.net>
3417 * cursor.[Ch] (reset): take main text inset as argument
3419 * BufferView: adjust
3420 * BufferView_pimpl.C: adjust
3422 * paragraph.[Ch]: fix completely broken operator=()
3424 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3426 * LColor.C (getFromLyXName): make sure that the color name is used
3429 2004-03-17 Angus Leeming <leeming@lyx.org>
3432 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3434 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3435 dialog and to kill a forked process.
3437 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3439 * text2.C (setCursorFromCoordinates): fix font problem
3441 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3443 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3444 bogus "rebuild cursor" code
3446 2004-03-11 André Pönitz <poenitz@gmx.net>
3448 * buffer.[Ch]: use InsetText instead of LyXText as container for
3451 * dociterator.[Ch]: drop the BufferView * member which is not needed
3452 anymore after the change to buffer.C
3454 * paragraph_funcs.C:
3458 * BufferView_pimpl.[Ch]:
3460 * cursor_slice.[Ch]: adjust
3462 * text3.C: fix bug in mathDispatch
3464 2004-03-08 André Pönitz <poenitz@gmx.net>
3466 * undo.[Ch]: use 'StableDocumentIterator' as base for
3469 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3472 * bufferparams.[Ch]: add jurabib support and param.
3474 * LaTeX.C: add FIXME/comment.
3476 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3478 * buffer.C: increment file format to 230.
3480 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3482 * cursor.C (dispatch): avoid infinite loops
3484 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3486 * rowpainter.C (paintSelection): fix x coordinates
3488 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3490 * text.C (rowBreakPoint): fix breaking before displayed insets
3492 2004-03-01 André Pönitz <poenitz@gmx.net>
3494 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3496 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3500 * BufferView_pimpl.C:
3508 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3514 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3515 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3517 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3519 * Bidi.[Ch] (computeTables): const correctness
3520 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3521 fill_hfill, fill_label_hfill and x from Row
3522 * lyxtext.h: prepareToPrint returns a RowMetrics
3523 * rowPainter.C: adjust
3524 * text.C (prepareToPrint): use width, not textWidth. adjust
3525 (redoParagraphInternal, cursorX): adjust
3526 * text2.C (getColumnNearX): adjust
3527 (init): put a default value to the top LyXText::width
3529 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3531 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3533 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3535 * lyxtext.h: add FontIterator class
3537 * text.C (FontIterator, operator*, operator->, operator++): add
3538 (rowBreakPoint, setRowWidth): adjust (fixing a
3541 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3543 * BufferView_pimpl.C (workAreaDispatch): allow also
3544 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3546 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3548 * text.C (rowBreakPoint): fix a bug showing with very large insets
3550 2004-02-25 André Pönitz <poenitz@gmx.net>
3553 * cursor.[Ch]: move some mathed specific code to mathed
3555 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3557 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3558 use_tempdir in preferences
3559 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3561 * lyx_main.C: ensure that tempdir is valid
3562 * lyxlex.h: correct typo
3563 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3564 * paragraph.[Ch] (isMultiLingual): make const
3565 * cursor.[Ch] (openable): make const
3567 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3569 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3571 2004-02-20 André Pönitz <poenitz@gmx.net>
3573 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3575 * cursor.[Ch]: prepare for localized getStatus()
3581 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3583 2004-02-20 André Pönitz <poenitz@gmx.net>
3585 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3587 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3589 * text2.C (setCursorFromCoordinates): switch to absolute coords
3591 (cursorDown): adjust
3592 * text3.C (dispatch): adjust
3594 2004-02-16 André Pönitz <poenitz@gmx.net>
3596 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3599 * cursor_slice.[Ch]: remove unneeded acessor function
3601 * lyxtext.h: rename rtl() to isRTL()
3609 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3611 * rowpainter.C (paintSelection): coord fix
3613 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3615 * Spacing.C: compile fix
3617 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3619 * cursor.C (dispatch): restore current_ before returning
3621 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3623 * text2.C (cursorUp, cursorDown): fix coords
3626 2004-02-12 André Pönitz <poenitz@gmx.net>
3631 * text3.C: add LCursor & parameter to most cursor movement functions
3632 remove usage of LyXText::cursorRow() and cursorPar()
3634 * cursor.[Ch]: add textRow() needed members
3637 * BufferView_pimpl.C:
3640 * BufferView_pimpl.C: adjust
3642 2004-02-11 André Pönitz <poenitz@gmx.net>
3646 * BufferView_pimpl.C: shift undo/redo handling
3648 * cursor.[Ch]: fix mathed crash
3651 * lyxtext.h: move selectionAsText to LCursor
3659 * rowpainter.C: fix excessive drawing
3661 2004-02-06 André Pönitz <poenitz@gmx.net>
3664 * BufferView_pimpl.[Ch]:
3665 * text3.C: move some text specific LFUN handling
3667 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3669 * text3.C (checkInsetHit): adjust coords
3670 * text2.C (getColumnNearX): adjust coords
3671 (edit): adjust coords
3672 * text.C (getRowNearY): add two asserts
3674 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3677 * format.C: add using std::distance to compile on gcc 2.95/stlport
3679 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3681 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3683 2004-02-04 André Pönitz <poenitz@gmx.net>
3685 * BufferView.[Ch] (insertInset):
3686 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3691 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3693 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3694 on the default clause of the switch
3695 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3696 wasn't catched by LCursor::dispatch
3698 2004-02-03 André Pönitz <poenitz@gmx.net>
3701 * cursor.[Ch]: some additional asserts
3703 * undo.[Ch]: remove LyXText dependency in interface
3707 * lyxtext.h (firstPar, lastPar): remove dead functions
3712 * paragraph.[Ch]: adjust
3714 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3716 * lyxfind.C (find): fix argument order in call to ::find
3718 2004-02-02 André Pönitz <poenitz@gmx.net>
3720 * cursor.[Ch]: remove direct access to anchor
3722 * text.C: remove findText() hack
3724 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3726 * iterators.[Ch] (lockPath): remove in favour of...
3727 * BufferView.[Ch] (setCursor): this addition
3728 * BufferView.C (putSelectionAt): adjust
3729 * undo.C (performUndoOrRedo): adjust
3730 * lyxfunc.C (dispatch): adjust
3732 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3734 * iterators.C (lockPath): add a missing slice
3735 * undo.C (performUndoOrRedo): remove redundant positioning code
3737 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3739 * vc-backend.C (scanMaster): ";" -> ';'
3741 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3743 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3744 std::binary_function
3746 * lyxtextclass.C (compare_name): rename to...
3747 (LayoutNamesEqual): ...this
3749 * lyxlex_pimpl.C (compare_tags): inherit from
3750 std::binary_function, put back into anon namespace
3752 * lyxfind.C (MatchString): inherig from std::binary_function
3753 (findChange): use empty() istead of !size()
3755 * format.C (FormatNamesEqual): new functor
3762 * converter.C (compare_Converter): rename to...
3763 (ConverterEqual): ...this, and fixup a bit.
3764 (getConverter): use it, and make function const
3765 (getNumber): use it, and make function const
3769 * bufferlist.C: add using boost::bind
3771 * MenuBackend.C (MenuNamesEqual): new functor
3772 (hasMenu): use it, and make function const
3773 (hasSubmenu): use nested bind to get rid of compare_memfun.
3775 2004-01-30 André Pönitz <poenitz@gmx.net>
3777 * BufferView_pimpl.C:
3780 * cursor_slice.[Ch]:
3783 * paragraph_funcs.C:
3784 * paragraph_funcs.h:
3788 * text3.C: move some of the edit(x,y) handling to the insets
3789 some coordinate changes.
3791 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3793 * text.C: add using statements for std::advance and std::distance
3795 * paragraph.C: add using statement for std::distance
3797 * lyxfind.C: add using statement for std::advance
3799 * cursor.C (region): remove std:: from swap
3800 (openable): use nucleus in stead of operator->
3802 * BufferView.C: add using statements for std::distance and std::swap
3804 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * iterators.C: Remove the pimple, move the needed structures to
3807 the header file. Create accessor for the positions stack.
3808 (asPosIterator): remove function
3810 * PosIterator.C (PosIterator): move constructors to top of file
3811 (PosIterator): reimplement the constructor taking a ParIterator in
3813 (setFrom): new function
3814 (operator!=): inline it
3816 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3818 * lyxfind.C (replaceAll): use std::advance
3820 * iterators.h: inherit from std::iterator.
3822 * PosIterator.C (advance, distance): remove
3823 * PosIterator.h: interit from std::iterator.
3825 2004-01-26 André Pönitz <poenitz@gmx.net>
3828 * BufferView_pimpl.[Ch]:
3832 * bufferview_funcs.C:
3842 * output_linuxdoc.C:
3843 * output_plaintext.C:
3845 * paragraph_funcs.[Ch]:
3846 * paragraph_pimpl.[Ch]:
3852 * text3.C: more IU: dumps most of the rest of the mathcursor
3853 implementation into cursor.[Ch]; "globalize" a bit of it.
3855 2004-01-25 Angus Leeming <leeming@lyx.org>
3857 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3859 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3861 * LaTeXFeatures.h: add nice_ and nice() const
3862 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3864 2004-01-20 André Pönitz <poenitz@gmx.net>
3867 * BufferView_pimpl.C:
3869 * bufferview_funcs.C:
3871 * cursor_slice.[Ch]:
3882 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3883 LCursor and mathcursor parts to LCursor and InsetBase.
3885 2004-01-15 André Pönitz <poenitz@gmx.net>
3887 * cursor_slice.[Ch]: add a few covienience functions
3889 * funcrequest.[Ch]: remove BufferView * member
3891 * BufferView_pimpl.C:
3898 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3900 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3902 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3903 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3905 2004-01-13 André Pönitz <poenitz@gmx.net>
3908 * lyxtext.h: hide cursor and selection anchor behind accessor function
3911 * BufferView_pimpl.[Ch]:
3913 * bufferview_funcs.C:
3923 * cursor_slice.[Ch]: some integer type changes for inset unification
3925 * lyxcursor.[hC]: remove, it's CursorSlice now.
3928 * BufferView_pimpl.[Ch]:
3929 * bufferview_funcs.C:
3935 * textcursor.[Ch]: adjust
3937 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3939 * text2.C (undoSpan): add and use
3940 * text.C (breakParagraph): use undoSpan (fix bug 578)
3943 2004-01-08 Angus Leeming <leeming@lyx.org>
3945 * BufferView_pimpl.C (MenuInsertLyXFile):
3946 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3947 * lyxfunc.C (menuNew, open, doImport):
3948 FileFilterList change to the FileDialog open and save functions.
3950 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3952 * ShareContainer.h: make isEqual and isUnique adaptable
3954 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3956 2004-01-07 Angus Leeming <leeming@lyx.org>
3959 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3961 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3963 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3964 functions replacing find, replace and replaceAll.
3966 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3967 LFUN_WORDFIND(FORWARD|BACKWARD).
3969 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3971 * text.C (breakParagraph): remove an outdated #warning
3973 2004-01-07 André Pönitz <poenitz@gmx.net>
3975 * lyxfind.C: somewhat clearer logic
3977 * text.C: prevent crash in cursorX on unitialized row cache
3979 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3981 * lyxcursor.[Ch] (operator>): add
3982 * textcursor.C (selStart, selEnd): use std::min and std::max
3984 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3986 * Chktex.C: include boost/format.hpp
3988 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3990 * InsetList.C: replace functor MathcIt with adaptable functor
3992 (insetIterator): modify accordingly
3994 * BranchList.h: move the BranchNamesEqual functor here from...
3995 * BranchList.C: ... to here
3997 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3999 (add): replace a finding loop with std::find_if.
4001 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4003 * output_docbook.C: moving LatexParam functionality into
4006 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4008 * buffer.C: increment format to 229.
4010 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4013 * lyx_sty.[Ch]: remove minipageindent_def
4019 * text3.C: remove LFUN_INSET_MINIPAGE
4021 2003-12-28 Angus Leeming <leeming@lyx.org>
4023 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4025 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4027 * text2.C (setParagraph): fix off-by-one crash
4029 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4031 * output_docbook.C: header stuff for AGU
4033 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4035 * text2.C (redoCursor): remove
4038 * BufferView_pimpl.C: remove calls to redoCursor and
4039 setCursor(cursor.par(), cursor.pos()) all around
4041 2003-12-15 Angus Leeming <leeming@lyx.org>
4043 * buffer.C: up the format to 228.
4045 2003-12-15 André Pönitz <poenitz@gmx.net>
4047 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4052 * BufferView_pimpl.C:
4061 2003-12-15 Angus Leeming <leeming@lyx.org>
4063 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4064 than getFromGUIName to manipulate the color.
4066 2003-12-14 Angus Leeming <leeming@lyx.org>
4068 * BranchList.[Ch]: minimize the API.
4069 (Branch::getBranch, getColor): now return a 'const &'.
4070 (Branch::setSelected) now returns a bool set to true if the
4071 selection status changes.
4072 (BranchList::clear, size, getColor, setColor, setSelected,
4073 allBranches, allSelected, separator): removed.
4074 (BranchList::find): new functions, returning the Branch with
4076 (BranchList::add, remove): return a bool indicating that
4077 the operation was successful.
4079 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4080 new InsetBranch::isBranchSlected member function.
4082 * LColor.[Ch]: mimimize the API.
4083 (fill): renamed as addColor and made private.
4084 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4085 versions of these functions taking a string arg have been removed.
4087 * bufferparams.C (readToken):
4088 * lyxfunc.C (dispatch):
4089 * lyxrc.C (read): changes due to the altered BranchList and
4092 * factory.C (createInset, readInset): changes due to altered
4095 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4098 * lyxfunc.C: remove insetminipage. "minipage-insert"
4099 now produces a frameless minipage box inset.
4101 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4103 * textcursor.[Ch] (selStart,selEnd): add new methods
4104 remove selection::start, end, use LyXCursor::operator<
4105 * lyxcursor.[Ch] (operator<): add
4106 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4107 * BufferView.[Ch] (unsetXSel): add
4108 * text2.C (clearSelection): use unsetXSel,adjust
4111 * rowpainter.C: adjust
4112 * bufferview_funcs.C (put_selection_at): adjust
4114 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4116 * BufferView_pimpl.C: small coord. correction
4118 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4120 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4121 dragging over the splash screen.
4123 2003-12-11 Angus Leeming <leeming@lyx.org>
4125 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4126 as it is now handled in LyXText::dispatch.
4128 * text3.C (doInsertInset): remove a level of nesting.
4130 2003-12-11 Angus Leeming <leeming@lyx.org>
4132 * factory.C (createInset): changes due to the changed interface to
4133 InsetCommandMailer::string2params.
4135 2003-12-10 Angus Leeming <leeming@lyx.org>
4137 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4138 'dialog-show-new-inset <inset name>'
4140 2003-12-10 Angus Leeming <leeming@lyx.org>
4142 * buffer.C: up the format to 227.
4144 * factory.C: the box inset is now identified simply by 'Box'.
4146 2003-12-10 Angus Leeming <leeming@lyx.org>
4148 * buffer.C: up the format to 226.
4150 * factory.C: the note inset is now identified simply by 'Note'.
4152 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4154 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4155 when a pit is enough. Standarize a couple of loops.
4157 2003-12-05 Angus Leeming <leeming@lyx.org>
4159 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4160 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4161 data to the re-worked "log" dialog.
4163 2003-12-03 André Pönitz <poenitz@gmx.net>
4169 * paragraph_funcs.C:
4171 * text2.C: use Inset::getText instead of Inset::getParagraph
4173 2003-12-03 André Pönitz <poenitz@gmx.net>
4177 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4178 InsetText::read() as LyXText::read()
4180 2003-12-02 Angus Leeming <leeming@lyx.org>
4182 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4183 type. Add a comment in the implementation that the function uses
4184 the stream's bad() function rather than fail() as the std::streams
4187 2003-12-02 André Pönitz <poenitz@gmx.net>
4189 * lyxlex.[Ch]: make interface more similar to std::stream
4191 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4193 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4195 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4197 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4199 * vspace.[Ch]: remove VSpace::NONE
4201 2003-12-01 André Pönitz <poenitz@gmx.net>
4204 * lyxtext.h: move ParagraphList member to LyXText
4205 rename LyXText::ownerParagraphs to LyXText::paragraph
4208 * bufferview_funcs.C:
4218 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4220 * undo.C: fix cursor positioning
4222 2003-12-01 John Levon <levon@movementarian.org>
4224 * BufferView_pimpl.C: fix a crash on exit with
4227 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4229 * BranchList.C: fix setSelected() method.
4231 2003-11-28 André Pönitz <poenitz@gmx.net>
4233 * ParagraphParameters.[Ch]:
4234 * ParameterStruct.h: remove space above/below from Paragraph to
4237 * BufferView_pimpl.C:
4243 * paragraph_funcs.C:
4249 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4251 * factory.C: Syntax change for CharStyles
4253 2003-11-28 André Pönitz <poenitz@gmx.net>
4258 * buffer.[Ch]: move LyXText member
4260 2003-11-28 André Pönitz <poenitz@gmx.net>
4262 * BufferView.[Ch]: make LyXText * text a private member
4264 * BufferView_pimpl.C:
4275 * output_plaintext.C: cleanup
4277 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4280 * lyxtextclass.[Ch]: parametrize SGML document header
4282 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4285 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4288 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4290 * text2.C (setFont): rework using PosIterator (no more recursive)
4291 (setCharFont): no more needed
4292 (setLayout): no more selection cursors fiddling (done by redoCursor)
4293 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4294 destroy remaining ones)
4296 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4298 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4300 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4303 * text3.C: adjust + re-allow multi par depth changes
4304 * textcursor.C: simplify a bit
4306 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4312 * src/output_docbook.C:
4313 * src/output_latex.C:
4318 * src/text2.C: Introducing a number of tags parametrizing various
4319 XML formats that we may want to support
4321 2003-11-25 André Pönitz <poenitz@gmx.net>
4323 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4325 * lyxtext.h (leftMargin/rightMargin): simplify interface
4332 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4334 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4335 master file to any child files. Fixes bug 546.
4337 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4339 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4341 2003-11-24 André Pönitz <poenitz@gmx.net>
4343 * rowpainter.C: simplification
4345 * text2.C (updateCounters): remove call to redoParagraph on
4346 changed labels as this is far too expensive.
4348 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4350 * converter.C (convert): fix a crash: this function gets
4351 called with buffer == 0 from importer code.
4353 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * text3.C (cursorPrevious): make sure that we do not compare
4356 iterators form different containers.
4359 * rowpainter.C (paintSelection): make sure that we do not compare
4360 iterators from different containers.
4362 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4363 iterators from different ParagraphList containers.
4366 * text2.C (LyXText): change order of initialization slightly
4367 (operator=): new function. copy all variables except cache_par_
4368 (moveUp): make sure that we do not compare iterators from
4369 different ParagraphList constainers.
4372 * text.C (firstPar): new function
4373 (lastPar): new function
4374 (endPar): new function
4376 * lyxtext.h: move things around and group public functions, public
4377 variables, private functions, private variables
4379 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4381 * factory.C: change call to InsetERT constructor to avoid
4382 additional invocation of method status
4383 * text2.C (toggleInset): remove redundant update() call
4384 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4385 instead of a Bufferview pointer
4387 2003-11-21 André Pönitz <poenitz@gmx.net>
4389 * rowpainter.C: simplification
4391 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4393 * text3.C (dispatch): make possible to extend a word/row selection
4396 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4398 * lyxtext.h: x0_,y0_ -> xo_,yo_
4399 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4400 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4401 * rowpainter.C (paintRows): paint full paragraphs
4403 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4405 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4408 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4410 * lyxtext.h: add x0_, y0_
4411 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4412 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4414 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4416 * text2.C (setCursorIntern): move the x_target update here *
4417 * text3.C: change some bv() to true/false in calls to
4418 cursorUp/Down/Right/Left
4419 * cursor.C: use helper function.
4421 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4423 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4424 * paragraph_funcs.[Ch]: correct comment
4425 * rowpainter.C: do not paint selections away from bv->cursor()
4426 Fix a long standing selection painting bug.
4427 * text3.C: generalize mouse-selection code to LyXTexts other that
4429 * textcursor.C: do not use y coords if we can use par offsets
4431 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4433 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4434 cursor position after e.g. inset insert)
4436 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4438 * lyxfind.C (replace): adjust to locking removal + some
4441 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4443 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4446 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4449 * output_docbook.C: XML sanitation: new layout
4450 parameters InnerTag and CommandDepth
4452 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4454 * BufferView_pimpl.C:
4456 * text3.C: Fix the insertion and modification of button-style
4459 2003-11-13 André Pönitz <poenitz@gmx.net>
4461 * InsetList.[Ch]: remove deleteLyXText
4463 * paragraph.[Ch]: cache beginOfBody position
4468 * text3.C: remove superfluous update() calls
4472 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4474 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4475 * BufferView.C (fitLockedInsetCursor): remove
4476 * cursor.[Ch] (getDim): add
4477 * text.C (getRowNearY): add faster version
4478 * text3.C: remove some update calls
4480 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4492 * text3.C: The Character Style /XML short element patch.
4494 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4497 * factory.C: Small step to solving 'unable to insert some insets'
4500 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4502 * cursor.[Ch] (updatePos): new function for updating the y
4503 position of the tip inset
4504 * bufferview_funcs.C (put_selection_at):
4505 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4507 2003-11-11 André Pönitz <poenitz@gmx.net>
4509 * text.C: remove big comment on invalid Paragraph pointers as it is
4512 2003-11-11 André Pönitz <poenitz@gmx.net>
4514 * text_funcs.[Ch]: merge with ...
4522 * Makefile.am: remove text_funcs.[Ch]
4524 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4526 * cursor.C (getPos): return absolute cached y coord
4528 * BufferView_pimpl.C (fitCursor): new simplistic code
4529 (workAreaDispatch): add a fitCursor call
4531 2003-11-10 André Pönitz <poenitz@gmx.net>
4534 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4536 2003-11-10 André Pönitz <poenitz@gmx.net>
4538 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4539 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4540 indicate that the cursor needs to leave an inset
4542 * lyxtext.h: remove inset locking
4544 * cursor.[Ch]: re-implement functionality provided by inset locking
4547 * BufferView_pimpl.[Ch]:
4549 * bufferview_funcs.[Ch]:
4561 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4563 * PosIterator.[Ch]: replace the stack with a vector, add inset
4565 * iterators.[C]: adjust
4567 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4569 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4571 * paragraph_funcs.C (readParToken): put the correct id in the
4572 error item, not the id of the top paragraph
4574 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4576 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4577 * bufferview_funcs.C (put_selection_at): use the above
4579 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4581 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4583 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4585 * output_linuxdoc.h:
4586 * output_plaintext.h:
4588 * output_docbook.h: add #include statements
4590 2003-11-05 José Matos <jamatos@lyx.org>
4592 * output_docbook.[Ch]:
4593 * output_latex.[Ch]:
4594 * output_linuxdoc.[Ch]:
4595 * output_plaintext.[Ch]: New files for output formats.
4596 * output.[Ch]: New file for helper functions.
4599 * paragraph_funcs.[Ch]: output functions moved to new files.
4601 * outputparams.h: rename of latexrunparams.h
4609 * paragraph_funcs.[Ch]:
4610 * paragraph_pimpl.[Ch]:
4611 * tabular.[Ch]: rename ascii to plaintext
4612 and LatexRunParams to OutputParams.
4614 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4616 * iterators.[Ch] (text): require bv argument
4617 * undo.C (recordUndo):
4618 * lyxfunc.C (dispatch):
4619 * bufferview_funcs.C (put_selection_at): adjust
4621 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4623 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4625 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4627 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4630 2003-11-04 André Pönitz <poenitz@gmx.net>
4632 * cursor.[Ch]: restructure
4635 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4637 * iterators.[Ch] (asCursor): remove
4639 * lfuns.h: remove LFUN_INSET_EDIT
4645 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4647 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4649 * lyxfind.[Ch]: complete overhaul
4650 * BufferView_pimpl.C:
4652 * paragraph.[Ch] (insert): add
4654 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4658 * text.C: remove dead spellcheck code
4660 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * dispatchresult.h: add a val setter
4664 * cursor.C (dispatch): use a tempvar for data_[i]
4666 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4668 * PosIterator.[Ch]: compile fix
4670 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4672 * text.C (cursorPar): deactivate the cursor cache
4674 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4676 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4678 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4680 * text3.C (dispatch): adjust for new DisptchResult semantics.
4682 * lyxfunc.C (dispatch): handle update when return from
4683 Cursor::dispatch, adjust for new DispatchResult semantics.
4685 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4686 DispatchResult(true) mean to not update. Add class functions for
4687 setting dispatched and update, as well as reading.
4689 * cursor.C (dispatch): don't handle update here
4691 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4693 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4694 * trans_mgr.C: adjust
4696 * paragraph_funcs.C (readParToken): exception safety
4698 * lyxvc.h: store the vcs pointer in a scoped_ptr
4701 * lyxsocket.C (serverCallback): exception safety
4703 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4705 * ispell.C (clone): make it return a auto_ptr
4707 * factory.C (createInset): exception safety
4708 (readInset): exception safety
4710 * bufferlist.C (newBuffer): exception safety
4712 * Thesaurus.C (Thesaurus): use initialization for aik_
4714 * MenuBackend.C (expandToc): exception safety.
4716 2003-11-03 André Pönitz <poenitz@gmx.net>
4720 * bufferview_funcs.C: remove getInsetFromId()
4723 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4729 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4731 * PosIterator.C (distance, advance): new
4732 * bufferview_funcs.[Ch] (put_selection_at): new
4733 * iterators.[Ch] (lockPath): new
4735 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4737 * iterators.[Ch] (asPosIterator): added
4738 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4739 * PosIterator.[Ch]: added
4741 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * cursor.C (dispatch):
4746 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4748 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4749 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4750 contructor, add a class function dispatched. Remove operator>=
4752 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * debug.C: only use the default constructor for debugstream
4757 * main.C (main): include debug.h and setup the lyxerr streambuf
4760 2003-10-31 José Matos <jamatos@lyx.org>
4762 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4764 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4765 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4766 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4767 * paragraph_pimpl.C (simpleTeXSpecialC):
4768 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4769 add LatexRunParams argument.
4771 * exporter.C (Export): change call accordingly.
4773 * latexrunparams.h: add new member to take care of the other backends.
4774 2003-10-30 José Matos <jamatos@lyx.org>
4776 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4777 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4778 factorise code for paragraph output.
4780 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4783 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4785 * text3.C (dispatch):
4786 * lyxfunc.C (dispatch):
4787 * cursor.C (dispatch):
4788 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4790 * dispatchresult.h: make the dispatch_result_t ctor explicit
4792 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4795 * buffer.C: small refactoring of docbook stuff
4797 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4799 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4802 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4804 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4805 operator dispatch_result_t, and operators for == != and >=
4807 * cursor.C (dispatch): adjust for operator dispatch_result_t
4808 removal. comment out call to update
4810 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4812 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4820 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4823 * dispatchresult.h: new file, DispatchResult broken out of
4826 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4828 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4830 * text.C (rowBreakPoint): put a hack inside #if 0
4832 2003-10-28 André Pönitz <poenitz@gmx.net>
4836 * paragraph_funcs.C:
4839 * text2.C: general cleanup (lots of small stuff)
4841 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4843 * text2.C (cursorEnd): simple fix to the "end key goes to one
4844 before the end on last row" bug
4846 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4848 * text.C (backspace): fix the "zombie characters"
4850 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4852 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4854 2003-10-27 André Pönitz <poenitz@gmx.net>
4856 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4858 * factory.C: handle new InsetPagebreak, InsetLine
4860 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4861 and move handling into new InsetPagebreak, InsetLine
4863 * BufferView_pimpl.C:
4865 * ParagraphParameters.C:
4866 * ParameterStruct.h:
4871 * paragraph_funcs.C:
4872 * paragraph_pimpl.C:
4878 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4881 * lyxrow_funcs.[Ch]:
4887 * text3.C: remove lastPos uses in favour of Row::endpos
4889 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4891 * undo.C (performUndoOrRedo): fix two crashes by setting a
4892 cursor by hand and reordering some calls. Use bv->lockInset instead
4893 of inset->edit because the latter loses cursor information
4895 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4897 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4899 (rowBreakPoint): fix width. change point to point + 1.
4900 Add a missing check.
4902 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4905 * lyxfunc.C: fix (at least partly) the problems
4906 with the Nav menu and headers inside branch insets
4909 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4911 * paragraph.C (getChar): add strong asserts
4913 * lyxrow_funcs.C (lastPos): remove hideous hack
4915 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4916 (fill): adjust to that (avoid an infinite loop)
4918 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4920 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4922 2003-10-23 André Pönitz <poenitz@gmx.net>
4924 * RowList_fwd.h: change list<> to vector<> to gain speed
4925 after suggestion from Alfredo
4927 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4929 * lyxtext.h: move the bidi stuff from here...
4932 * Bidi.[Ch]: ... to here
4934 2003-10-23 André Pönitz <poenitz@gmx.net>
4937 * text.C (isLastRow, isFirstRow): new functions
4939 * paragraph.h: new width cache member
4941 * rowpainter.C: replace RowList::iterator with Row & where possible
4943 * lyxfunc.C: replace several view()->text with a single call
4945 * toc.C: fix 'unused' warning
4947 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4950 when woring with stream::pos_type
4951 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4953 2003-10-22 André Pönitz <poenitz@gmx.net>
4956 * text.C: use Row & instead of RowList::iterator
4958 * lyxrow.h: rename end() to endpos()
4964 2003-10-22 Angus Leeming <leeming@lyx.org>
4966 * buffer.[Ch] (fully_loaded): new member function, returning true
4967 only when the file has been loaded fully.
4968 Used to prevent the premature generation of previews and by the
4969 citation inset to prevent computation of the natbib-style label.
4971 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4972 templates are all set up.
4974 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4976 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4978 * text.C: fixed an "oops" in the "is a bit silly"
4981 2003-10-21 André Pönitz <poenitz@gmx.net>
4983 * FuncStatus.[Ch]: small stuff, whitespace
4985 * lyxfont.[Ch]: operator<<() for debug reasons
4989 * lyxtext.h: whitespace, spelling
4991 * paragraph.C: naming of variables
4994 * text2.C: small stuff
4997 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4999 * text.C: (1) finish off the inset display() work;
5000 (2) fix the "is a bit silly" bug (accessing char
5003 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5005 * text.C: re-introduce display() for insets, fixing the
5006 various bugs (stretch of line above, math inset
5009 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5011 * text.C (rightMargin): remove spurious semicolon
5013 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5016 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5018 * text3.C: fix one crash due to wrong cursor def
5020 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5022 * vc-backend.C (scanMaster): make the regex static
5024 * LaTeX.C (scanAuxFile): make the regexs static
5026 * text3.C (doInsertInset, dispatch, dispatch):
5027 * text2.C (cursorUp, cursorDown):
5028 * text.C (selectNextWordToSpellcheck):
5029 * BufferView_pimpl.C (dispatch):
5030 * lyxfunc.C (dispatch): localDispatch -> dispatch
5032 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5034 * lyxsocket.C: include <cerrno>
5036 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * lyxfunc.C (dispatch): remove textcache stuff
5040 * bufferlist.C (release): remove textcache stuff
5043 * TextCache.C: delete file
5044 * TextCache.h: delete file
5046 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5048 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5049 delete of the bv_->text.
5050 (resizeCurrentBuffer): remove texcache stuff
5051 (workAreaResize): ditto
5053 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5055 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5058 2003-10-16 André Pönitz <poenitz@gmx.net>
5065 * text3.C: speed up by storing y positions per paragraph plus per-row
5066 offset instead of having a 'full' y position in the row.
5068 2003-10-15 André Pönitz <poenitz@gmx.net>
5072 * undo.[Ch]: make undo aware of inner insets
5074 2003-10-14 Angus Leeming <leeming@lyx.org>
5076 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5077 static member functions LyX::ref() and LyX::cref.
5078 (lastfiles): new accessor functions for the new lastfiles_ member var.
5079 (addLyXView, views_): add a new LyXView to the list of views_.
5080 (updateInset): loop over all LyXViews to call their own updateInset
5081 member function, returning a pointer to the Buffer owning the inset.
5083 * BufferView_pimpl.C (loadLyXFile):
5084 * MenuBackend.C (expandLastfiles):
5085 * bufferlist.C (MenuWrite, QuitLyX):
5086 lastfiles is no longer a global variable.
5087 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5089 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5090 static function. Access through LyX::cref().emergencyCleanup().
5092 2003-10-14 André Pönitz <poenitz@gmx.net>
5094 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5096 * undo.[Ch]: restoring part of 'undo in insets'
5099 * undo_funcs.[Ch]: merge with undo.[Ch]
5101 * tabular.C: small cleansing stuff
5103 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5105 * paragraph_funcs.C (readParToken): report unknown insets as error
5106 boxes. Use the outer paragraph as location (also for unknown
5109 * factory.C (readInset): do not abort on reading an unknown inset.
5110 Eat it and return 0.
5112 2003-10-13 Angus Leeming <leeming@lyx.org>
5114 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5116 * lyxrc.C: displayTranslator is now a function,
5117 declared in GraphicsTypes.h.
5119 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5121 * format.C: new placeholder $$a to pass the socket address.
5123 * bufferlist.[Ch]: new function getBufferFromTmp.
5125 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5126 files in the temporary dir.
5128 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5130 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5132 * Makefile.am: add lyxsocket.[Ch].
5134 * lyx_main.C (error_handler): handle SIGPIPE.
5136 2003-10-13 André Pönitz <poenitz@gmx.net>
5138 * BufferView_pimpl.C:
5143 * undo_funcs.[Ch]: use paroffset_type instead of
5144 ParagraphList::iterators to prevent multiple conversion
5145 (and get a more robust interface)
5147 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5149 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5151 * text3.C (dispatch): ditto
5153 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5155 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5156 move the onlyfile, use onlyfile instead of foundfile in a couple
5159 * DepTable.C (update): flush the error stream a bit more
5161 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5163 * lyxserver.C (callback): adjust
5165 * lyxfunc.C (getStatus): add a missing brace in commented code
5166 (ensureBufferClean): reindent
5167 (dispatch): delete version taking a string
5169 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * LaTeX.C (deplog): move found file handlig from here...
5172 (handleFoundFile): .. to new function here.
5173 (deplog): make sure to discover several files mentioned on the
5176 2003-10-10 André Pönitz <poenitz@gmx.net>
5183 * text3.C: fix some of the tabular crashes
5185 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5187 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5189 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5191 2003-10-09 André Pönitz <poenitz@gmx.net>
5193 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5196 * BufferView_pimpl.C:
5197 * bufferview_funcs.C:
5208 * undo_funcs.C: adjust
5210 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * text2.C (incrementItemDepth): new function, use a backtracking
5213 algorithm to discover the correct item depth.
5214 (resetEnumCounterIfNeeded): new function, use a backtracking
5215 algorithm to discover if counter reset is needed.
5216 (setCounter): use them. Simplify a bit. Add different labels for
5217 different item depths for itemize.
5219 * paragraph.C (Paragraph): remove initialization of enumdepth
5222 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5223 enumerate and itemize. Change the type of itemdepth to signed char.
5225 2003-10-08 André Pönitz <poenitz@gmx.net>
5227 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5232 * tabular.[Ch]: fix crash after 'row-insert'
5234 2003-10-08 Angus Leeming <leeming@lyx.org>
5236 Fix doxygen warnings.
5238 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5239 Remove CutAndPaste:: prefix from header file declaration.
5241 * LColor.h (fill): remove LColor:: prefix from declaration.
5243 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5244 use lyx::depth_type rather than Paragraph::depth_type so that
5245 header file and .C file match.
5247 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5249 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5250 * aspell.C: \file aspell_local.C -> \file aspell.C
5251 * gettext.C: \file gettext.C -> \file src/gettext.C
5252 * gettext.h: \file gettext.h -> \file src/gettext.h
5253 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5254 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5255 * text.C: \file text.C -> \file src/text.C
5257 * toc.C: move comment so that doxygen is not confused.
5259 2003-10-07 Angus Leeming <leeming@lyx.org>
5261 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5263 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5266 * aspell_local.h: add forgotten std::string's.
5268 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5275 * text3.C: The Box patch. Fancybox support, minipage, parbox
5277 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5283 * ParagraphParameters.h:
5293 * lyxtextclasslist.h:
5296 * paragraph_pimpl.C:
5297 * textcursor.h: add <string> and other small fixes to make Lars'
5298 std::string patch compile with STLport.
5300 2003-10-06 Angus Leeming <leeming@lyx.org>
5302 * LColor.h: Add missing #include <string>.
5304 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5306 * All most all file in all subdirs: Make <string> be the prefered
5307 way of getting to std::string, add using declarations.
5309 2003-10-06 André Pönitz <poenitz@gmx.net>
5311 * metricsinfo.C: initialize LyXFont before changing attribute.
5312 (fixes the 'math in \emph is upright' bug)
5314 2003-10-06 André Pönitz <poenitz@gmx.net>
5316 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5318 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5321 * paragraph_pimpl.C: Small fixes to build using STLport
5323 2003-10-02 André Pönitz <poenitz@gmx.net>
5326 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5328 2003-10-01 André Pönitz <poenitz@gmx.net>
5330 * factory.C: assert early
5332 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5334 * lyx_main.C: remove the global debug object
5336 * debug.h: adjust for new debugstream
5338 * debug.C: adjust for new debugstream and keep the global debug
5341 2003-09-22 Angus Leeming <leeming@lyx.org>
5343 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5344 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5345 an incomplete class LyXFont.
5347 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5349 * factory.C: bug fix in branches
5351 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5353 * lyxfunc.C (processKeySym): adjust
5355 (dispatch): change arg name from ev to func, adjust
5356 (sendDispatchMessage): ditto
5358 * lyx_main.C (defaultKeyBindings): adjust keybindings
5359 (deadKeyBindings): ditto
5361 * kbsequence.C (addkey): return a FuncRequest
5363 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5365 * kbmap.C (bind): take a FuncRequest as arg, adjust
5368 (defkey): change to take a FuncRequest as arg, adjust
5369 (findbinding): take a FuncRequest as arg, adjust.
5371 * funcrequest.h (operator=): added
5373 * funcrequest.C (FuncRequest): default kb_action changed from
5374 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5376 * buffer.C (dispatch): simplify
5377 (dispatch): adjust to take a FuncRequest as arg, adjust
5379 * boost.C (assertion_failed): change assertion message slightly
5381 * ToolbarBackend.C (read): simplify
5383 * MenuBackend.C (binding): adjust call to findbinding, add a
5384 message if no binding is found.
5386 (expandToc): correct by adding a empty FuncRequest
5388 * LyXAction.C: include <boost/assert.hpp>
5389 (isPseudoAction): delete function
5390 (LookupFunc): change name to...
5391 (lookupFunc): this. change return type to FuncRequest.
5392 (getActionName): take kb_action as arg, simplify
5393 (funcHasFlag): add an assert, simplify.
5395 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5397 * toc.C (action): return a FuncRequest, simplify
5399 * lyxfunc.C (processKeySym): adjust
5400 (getStatus): delete version that takes an int.
5402 (dispatch): delete version that takes action as int
5404 (sendDispatchMessage): simplify and adjust
5406 * funcrequest.C (getArg): take unsigned int as arg
5408 * ToolbarBackend.C (read): adjust
5409 (add): delete version that takes func as a string.
5410 (getIton): take a FuncRequest as arg
5412 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5415 * MenuBackend.C (MenuItem): add a new construct that only takes a
5416 Kind, simplify the constructor use for submenus.
5418 (expandLastfiles): adjust
5419 (expandDocuments): adjust
5420 (expandFormats): adjust
5421 (expandFloatListInsert): adjust
5422 (expandFloatInsert): adjust
5423 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5425 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5426 Remove class variables lyx_pseudo_map and lyx_arg_map
5428 * LyXAction.C (searchActionArg): delete function
5429 (getPseudoAction): delete function
5430 (retrieveActionArg): delete function
5431 (LookupFunc): make it return kb_action, simplify.
5432 (getActionName): simplify
5434 * factory.C (createInset): fix new bug
5436 2003-09-19 Angus Leeming <leeming@lyx.org>
5438 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5439 masterFilename_ parameter in the include inset.
5441 * factory.C (createInset): changes due to the changes to InsetInclude.
5443 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5445 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5447 2003-09-18 Angus Leeming <leeming@lyx.org>
5450 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5451 Inset::fillWithBibKeys.
5452 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5454 2003-09-18 Angus Leeming <leeming@lyx.org>
5456 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5458 (ctor): pass and store a 'Buffer const &'
5459 (buffer): new member function.
5461 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5462 '*this' to the LaTeXFeatures ctor.
5464 2003-09-18 Angus Leeming <leeming@lyx.org>
5470 * text.C: rename EnumLColor as LColor_color.
5472 2003-09-18 Angus Leeming <leeming@lyx.org>
5474 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5475 remove #include "insets/insetbase.h" from cursor.h.
5477 2003-09-18 Angus Leeming <leeming@lyx.org>
5479 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5480 InsetOld_code to remove #include "inset.h".
5482 * iterators.C: add #include "insets/inset.h"
5484 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5486 * BufferView.C: remove more locking stuff that apparently doesn't
5487 do anything sensible.
5489 2003-09-16 André Pönitz <poenitz@gmx.net>
5492 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5495 2003-09-16 Angus Leeming <leeming@lyx.org>
5497 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5499 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5502 * paragraph.h: remove #include "lyxfont.h". Forward declare
5505 2003-09-16 Angus Leeming <leeming@lyx.org>
5507 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5508 of support/textutils.h.
5509 (isWord): move the contents of support/textutils.h's IsWordChar here.
5515 * text2.C: add #include "paragraph.h".
5518 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5520 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5526 * LaTeX.C: use namespace alias for lyx::support::os
5528 2003-09-16 Angus Leeming <leeming@lyx.org>
5531 * bufferview_funcs.C:
5534 * paragraph_pimpl.C:
5536 * text.C: add #include "LColor.h".
5538 2003-09-16 Angus Leeming <leeming@lyx.org>
5540 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5541 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5543 Store the FontBits::color variable as an int rather than as an
5544 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5547 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5548 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5549 string calls together.
5551 * lyxrc.C: add #include "LColor.h".
5553 2003-09-15 Angus Leeming <leeming@lyx.org>
5555 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5558 2003-09-15 Angus Leeming <leeming@lyx.org>
5560 * LColor.h: add an EnumLColor wrapper for LColor::color.
5562 * lyxfont.[Ch] (color, setColor, realColor):
5563 * lyxtext.h, text.C (backgroundColor):
5564 pass EnumLColor args to/from the functions, rather than LColor::color
5568 * lyxtext.h: forward declare EnumLColor.
5570 * lyx_main.C: add #include "LColor.h".
5572 2003-09-15 Angus Leeming <leeming@lyx.org>
5574 * .cvsignore: add lyx-gtk.
5576 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * ParagraphParameters.C
5585 * bufferview_funcs.C
5595 * vc-backend.C: remove usage of STRCONV
5597 2003-09-15 Angus Leeming <leeming@lyx.org>
5599 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5600 explicitly define the color passed to the painter.
5602 2003-09-15 Angus Leeming <leeming@lyx.org>
5604 * bufferparams.C (BufferParams): reorder member initializers to avoid
5607 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5609 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5610 * text.C (updateRowPositions): remove an unusual nop
5612 2003-09-12 André Pönitz <poenitz@gmx.net>
5614 * BufferView_pimpl.C:
5623 * Counters.[Ch]: finish the 'automatic counters' job
5625 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5627 * aspell.C: include <boost/assert.cpp> (compile fix)
5629 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5631 * boost.C (assertion_failed): use lyx::support::abort instead of
5634 2003-09-10 Angus Leeming <leeming@lyx.org>
5636 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5637 with their _fwd progeny.
5639 2003-09-09 Angus Leeming <leeming@lyx.org>
5641 134 files throughtout the source tree: replace 'using namespace abc;'
5642 directives with the appropriate 'using abc::xyz;' declarations.
5644 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5646 * boost.C (emergencyCleanup): moved here from LAssert.c
5647 (assertion_failed): new function, called by BOOST_ASSERT
5649 * several files: change Assert to BOOST_ASSERT
5651 2003-09-09 Angus Leeming <leeming@lyx.org>
5653 * buffer.[Ch]: Add an Impl class and move Buffer's member
5654 variables into it. As a result move several header files out of
5657 Add header files to lots of .C files all over the tree as a result.
5659 2003-09-09 Angus Leeming <leeming@lyx.org>
5661 * buffer.[Ch]: make Buffer's member variables private. Add
5664 Lots of changes all over the tree as a result.
5666 2003-09-08 Angus Leeming <leeming@lyx.org>
5668 * graph.C: #include <config.h>.
5670 2003-09-08 Angus Leeming <leeming@lyx.org>
5674 * BufferView_pimpl.C:
5703 * toc.C: remove redundant using directives.
5705 2003-09-07 Angus Leeming <leeming@lyx.org>
5707 * LaTeXFeatures.h: remove #include "support/types.h".
5708 * ToolbarBackend.h: remove #include <algorithm>.
5709 * changes.h: remove #include <ctime>.
5710 * debug.h: remove #include <iosfwd>.
5711 * graph.h: remove #include "support/std_string.h".
5712 * lyx_main.h: remove #include <csignal>.
5713 * lyxlex_pimpl.h: remove #include <fstream>.
5714 * sgml.h: remove #include <algorithm>, <utility>.
5715 * toc.h: remove #include "support/std_ostream.h".
5716 Add #include <iosfwd>.
5718 2003-09-07 Angus Leeming <leeming@lyx.org>
5720 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5722 * converter.h: forward declare LatexRunParams.
5723 * encoding.h: remove #include "lyxrc.h".
5724 * lyxtext.h: remove #include "LColor.h".
5725 * lyxtextclass.h: remove #include "support/types.h".
5726 * trans.h: remove #include "tex-accent.h".
5727 * trans_mgr.h: remove #include "tex-accent.h".
5728 * insets/inset.h: remove #include "support/types.h", <vector>.
5729 * insets/insetcollapsable.h: remove #include "LColor.h".
5730 * insets/insetinclude.h: remove #include "dimension.h".
5731 * insets/insetlatexaccent.h: remove #include "dimension.h".
5732 * insets/insetoptarg.h:: remove #include "insettext.h".
5733 * insets/insettext.h: remove #include "dimension.h",
5734 <boost/shared_ptr.hpp>
5736 * insets/renderers.h: add #include "dimension.h".
5737 * insets/updatableinset.h: add #include "support/types.h".
5739 * many .C files: Associated changes.
5741 2003-09-06 Angus Leeming <leeming@lyx.org>
5743 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5744 one, inside testInvariant.
5746 * PrinterParams.C: new file.
5747 * PrinterParams.[Ch]: move the function bodies out of line.
5749 2003-09-06 Angus Leeming <leeming@lyx.org>
5751 * ParagraphParameters.h: forward declare ParameterStruct rather than
5752 including its header file.
5753 (depth): moved out-of-line.
5755 2003-09-06 Angus Leeming <leeming@lyx.org>
5757 * BufferView_pimpl.h:
5760 * lyxfunc.h: forward declare LyXKeySym rather than
5761 #include "frontends/LyXKeySym.h".
5763 * BufferView_pimpl.C:
5766 * lyxfunc.C: associated changes.
5768 2003-09-06 Angus Leeming <leeming@lyx.org>
5770 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5771 As a result, can remove the #include "insets/inset.h" from BufferView.h
5773 2003-09-06 Angus Leeming <leeming@lyx.org>
5775 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5776 As a result, can remove the #include "insets/inset.h" from BufferView.h
5778 2003-09-06 Angus Leeming <leeming@lyx.org>
5784 * bufferview_funcs.C:
5785 * BufferView_pimpl.C:
5790 * ParagraphParameters.C:
5795 * frontends/controllers/ControlDocument.C:
5796 * insets/insetcaption.C: rearrange the #includes into some sort of
5799 * buffer.h: remove #includes ErrorList.h, undo.h
5801 2003-09-06 Angus Leeming <leeming@lyx.org>
5803 * support/types.h: add a 'depth_type' typedef, used to store the
5804 nesting depth of a paragraph.
5807 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5808 defining explicitly.
5811 * paragraph_funcs.h:
5812 * ParagraphParameters.h:
5813 * sgml.h: use lyx::depth_type rather than Paragraph or
5814 ParameterStruct's depth_type.
5817 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5820 * BufferView_pimpl.C:
5822 * ParagraphParameters.C:
5825 * bufferview_funcs.C:
5832 * frontends/LyXView.C:
5833 * frontends/controllers/ControlDocument.C:
5834 * frontends/controllers/ControlErrorList.C:
5835 * insets/insetbibitem.C:
5836 * insets/insetbranch.C:
5837 * insets/insetcaption.C:
5838 * insets/insetcollapsable.C:
5839 * insets/insetenv.C:
5840 * insets/insetert.C:
5841 * insets/insetfloat.C:
5842 * insets/insetfoot.C:
5843 * insets/insetfootlike.C:
5844 * insets/insetnewline.C:
5845 * insets/insetquotes.C:
5846 * insets/insettabular.C:
5847 * insets/insettext.C:
5848 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5850 * frontends/controllers/ControlChanges.C: #include "changes.h".
5852 2003-09-06 Angus Leeming <leeming@lyx.org>
5854 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5855 than #including paragraph.h.
5858 * RowList.h: deleted. Superfluous.
5868 * insets/insettext.h: use ParagraphList_fwd.h rather than
5871 * paragraph.h: don't forward declare ParagraphList.
5874 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5875 rather than ParagraphList.h. paragraph.h is still needed for the
5876 Paragraph::depth_type parameters.
5878 * textcursor.h: enable it to compile stand-alone in light of the
5881 * bufferview_funcs.C:
5893 * frontends/controllers/ControlParagraph.C:
5894 * frontends/controllers/ControlTabular.C:
5895 * insets/insetmarginal.C:
5896 * insets/insetminipage.C:
5897 * insets/insetnote.C:
5898 * insets/insetoptarg.C: add header files needed to compile again.
5900 2003-09-06 Angus Leeming <leeming@lyx.org>
5902 * RowList_fwd.h: new file, forward-declaring Row rather than
5903 #including lyxrow.h.
5908 * insets/insettext.h: use it instead of RowList.h
5910 * bufferview_funcs.C:
5917 * text3.C: #include "RowList.h".
5919 2003-09-05 Angus Leeming <leeming@lyx.org>
5921 * factory.C (createInset):
5922 * vspace.C (c-tor): replace sscanf call with an istringstream.
5923 * ispell.C: re-add missing HP/UX headers.
5924 * lyxserver.C: re-add missing os2 headers.
5926 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5935 * text3.C: re-add missing system headers, needed for 2.95.2.
5937 2003-09-05 Angus Leeming <leeming@lyx.org>
5939 Changes most place everywhere due to the removal of using directives
5940 from support/std_sstream.h.
5942 2003-09-05 Angus Leeming <leeming@lyx.org>
5944 Replace LString.h with support/std_string.h,
5945 Lsstream.h with support/std_sstream.h,
5946 support/LIstream.h with support/std_istream.h,
5947 support/LOstream.h with support/std_ostream.h.
5949 Changes resulting throughout the tree.
5951 2003-09-05 Angus Leeming <leeming@lyx.org>
5953 * sgml.h: ensure that the header file can be compiled stand-alone.
5954 * *.C: strip out redundant #includes. (320 in total.)
5956 2003-09-04 Angus Leeming <leeming@lyx.org>
5958 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5959 here (from getPackages).
5961 * debug.[Ch]: add a new EXTERNAL tag.
5963 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5965 * text2.C (cursorEnd): simplify
5967 (getColumnNearX): adjust
5969 * text.C (computeBidiTables): adjust
5972 * rowpainter.C (paintChars): adjust
5973 (paintSelection): adjust
5974 (paintChangeBar): adjust
5977 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5979 (numberOfSeparators): adjust
5981 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5987 * text3.C: Restricts the mouse click functionality
5988 of insets like bibtex, include, toc and floatlist to the visible
5989 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5990 up the dialogs. Cursor has to be in front of the inset (i.e.
5991 start of row) for this to function.
5993 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5995 * bufferview_funcs.C (currentState): output row information
5997 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5999 * bufferview_funcs.C (currentState): output paragraph position
6001 2003-09-04 Angus Leeming <leeming@lyx.org>
6003 * FloatList.h: move out #include "Floating.h".
6004 * LaTeX.h: move out #include "DepTable.h".
6005 * LyXAction.h: move out #include "funcrequest.h".
6006 * buffer.h: move out #include "author.h", "iterators.h".
6007 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6008 * lyx_main.h: move out #include "errorlist.h".
6009 * lyxfunc.h: move out #include "FuncStatus.h".
6010 * lyxtext: move out #include "lyxcursor.h".
6011 * paragraph_pimpl.h: move out #include "counters.h".
6013 2003-09-03 Angus Leeming <leeming@lyx.org>
6015 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6016 preamble_snippets list, enabling us to add snippets to the preamble
6017 only if the snippet was not there already.
6019 2003-09-04 Angus Leeming <leeming@lyx.org>
6021 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6023 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6025 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6028 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6030 * BranchList.C: point fix, earlier forgotten
6032 2003-09-02 Angus Leeming <leeming@lyx.org>
6034 * box.C (contains): renamed from 'contained' after a fantastic
6037 2003-09-02 John Levon <levon@movementarian.org>
6043 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6045 2003-09-02 John Levon <levon@movementarian.org>
6047 * text2.C: simplification of cursorEnd(), including partial
6050 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6052 * buffer.C (readFile): add a space
6054 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6056 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6058 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6060 * buffer.C (readFile): new function, take a filename and a
6061 ParagraphList::iterator
6063 (readFile): adjust, make it private. don't use setStream, make
6064 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6065 always contain the filename.
6067 * BufferView.C (insertLyXFile): simplify and make it work for
6070 2003-08-30 John Levon <levon@movementarian.org>
6072 * Makefile.am: fix dist (from Kayvan)
6074 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6076 * most files: change to use const Buffer refs
6078 2003-08-27 André Pönitz <poenitz@gmx.net>
6080 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6081 on top of ownerPar().
6083 2003-08-27 John Levon <levon@movementarian.org>
6085 * funcrequest.C: properly initialise POD members
6087 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6089 * lyxtext.h (top_y): move top_y from here
6094 * BufferView_pimpl.[Ch]: to here
6095 * frontends/screen.C:
6096 * insets/insettabular.C:
6097 * insets/insettext.C: adjust
6098 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6100 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6103 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6105 2003-08-26 André Pönitz <poenitz@gmx.net>
6107 * paragraph_func.[Ch] (outerPar): new function
6110 * paragraph_funcs.C:
6111 * paragraph_funcs.h:
6112 * paragraph_pimpl.C:
6113 * text2.C: remove Inset::par_owner
6115 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6120 * text2.C: eliminates the needFullRow/display() stuff
6121 altogether, putting the logic in metrics/draw in the insets.
6123 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6125 * text2.C (redoParagraphInternal, redoParagraphs):
6126 * text.C (redoParagraph): add a call to updateRowPositions at the
6127 end of each 'metrics-like' call. Remove all others.
6128 (getRow): remove the 'y-computing' version.
6129 (getRowNearY): do not compute nor return the real y. Solve the
6130 'y < 0' problem and simplify.
6132 2003-08-22 Angus Leeming <leeming@lyx.org>
6134 * *.[Ch]: clean-up of licence and author blurbs.
6135 Also move config.h out of a few .h files and into a few .C files.
6137 2003-08-22 André Pönitz <poenitz@gmx.net>
6139 * lyxrow.[Ch]: add x_ and *fill_ members
6144 * text2.C: adjust/remove prepareToPrint() calls
6146 2003-08-22 André Pönitz <poenitz@gmx.net>
6148 * lyxrow.[Ch]: add end_ member
6150 * lyxrow_funcs.C: use LyXRow::end_
6152 * lyxtext.h (singleWidth): add LyXFont parameter
6155 * text2.C: adjust LyXText::singleWidth() calls
6157 * text.C (redoParagraph): simplify row breaking logic
6160 2003-08-19 André Pönitz <poenitz@gmx.net>
6162 * funcrequest.C: initialize button_ member
6165 * rowpainter.[Ch]: interface consolidation
6167 2003-08-18 André Pönitz <poenitz@gmx.net>
6170 * BufferView_pimpl.C:
6172 * paragraph_funcs.C:
6174 * text3.C: remove LyXScreen::draw() and fitCursor calls
6176 * BranchList.h: remove spurious semicolons
6178 * MenuBackend.C: fix branchlist related crash
6180 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6188 * bufferparams.[Ch]:
6192 * text3.C: implements the 'branch inset'
6193 idea. This allows the output of various versions of a document
6194 from a single source version, selectively outputing or suppressing
6195 output of parts of the text.
6196 This implementation contains a 'branch list editor' in a separate
6197 tab of the document settings dialog. Branches are user definable
6198 and have a "display colour" to distinguish them on-screen.
6200 ColorHandler was somewhat cleaned up.
6201 (1) make possible a dynamically growing LColor list by allowing
6202 the graphic context cache to grow along (vector);
6203 (2) eliminate an IMHO unnecessary step in colour allocation.
6205 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6207 * BufferView_pimpl.C: compile fix
6209 2003-08-15 André Pönitz <poenitz@gmx.net>
6211 * rowpainter.C: remove extra metrics calls
6213 * lyxtext.h: merge the two constructors into a single one,
6214 pass reference to owner's par list
6216 * BufferView_pimpl.C:
6220 2003-08-15 André Pönitz <poenitz@gmx.net>
6222 * lyxrow_funcs.[Ch]:
6225 * paragraph_funcs.C:
6230 * text_funcs.C: split LyXText::rowlist_ into individual
6231 Paragraph::rows_ chunks
6234 * BufferView_pimpl.[Ch]:
6237 * text3.C: remove toggleSelection()
6239 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6241 * bufferlist.C: beautify two alerts (shorter text of buttons)
6242 * buffer.C: Remove redundant ' ' from message
6244 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6245 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6246 rename VALIGN_CENTER to VALIGN_MIDDLE
6248 2003-08-11 André Pönitz <poenitz@gmx.net>
6250 * lyxtext.h (getPar):
6251 * text.C: new function
6253 2003-08-11 André Pönitz <poenitz@gmx.net>
6256 * tracer.[Ch]: remove unneeded files
6258 * InsetList.[Ch]: remove resizeInsetsLyXText()
6263 * text3.C: merge insertParagraphs() and appendParagraph()
6264 remove breakAgain(), update()
6266 * BufferView_pimpl.[Ch]:
6267 * bufferview_funcs.[Ch]:
6271 * tabular.C: adjust after text & InsetList changes.
6273 2003-08-08 André Pönitz <poenitz@gmx.net>
6275 * text.C (insertChar, backspace): replace rowlist fiddling
6276 with rebreak of full par
6279 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6280 checkParagraph, updateInset): removed
6282 2003-08-07 André Pönitz <poenitz@gmx.net>
6285 * text3.C: merge some LFUN handlers, remove dead code
6287 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6289 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6291 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6293 * text2.C (DEPM): fix part of bug 1255 and 1256
6295 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6297 * BufferView_pimpl.C (workAreaDispatch): change to use
6298 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6299 that are no mouse related.
6301 2003-08-05 André Pönitz <poenitz@gmx.net>
6304 * BufferView_pimpl.[Ch]:
6305 * bufferview_funcs.C:
6307 * text3.C: rip out "deep update"
6309 * textcursor.[Ch] (last_sel_cursor): remove unused member
6311 2003-08-04 André Pönitz <poenitz@gmx.net>
6314 * BufferView_pimpl.[Ch]:
6315 * ParagraphParameters.C:
6316 * bufferview_funcs.C:
6322 * text3.C: replace "complicated" BufferView::update(...) calls with
6325 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6327 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6329 * Makefile.am (lyx_SOURCES): add paper.h
6331 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6333 * Makefile.am: move things around so that both lyx-qt and
6334 lyx-xforms can be built (according to --with-frontend). Then lyx
6335 is a symbolic link to lyx-[firstfrontend]
6337 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6339 * Always use std::endl with lyxerr
6341 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6343 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6345 2003-08-01 André Pönitz <poenitz@gmx.net>
6348 * BufferView_pimpl.[Ch]:
6350 * text3.C: merge BufferView::repaint() and BufferView::update()
6352 2003-08-01 José Matos <jamatos@lyx.org>
6354 * buffer.[Ch]: file_format is no longer a buffer data element.
6356 2003-08-01 André Pönitz <poenitz@gmx.net>
6361 * text2.C: make redoParagraph more independent of current cursor
6363 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6365 * text2.C: remove unneeded members
6367 2003-07-30 André Pönitz <poenitz@gmx.net>
6369 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6371 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6372 create a single function...
6374 * paragraph_funcs.C (moveItem): ... here.
6377 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6379 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6381 * LColor.[Ch]: Add comment and greyedout logical colors.
6383 2003-07-30 André Pönitz <poenitz@gmx.net>
6385 * tabular.C: don't use Assert too heavily. This crashes where it
6388 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6390 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6391 is disabled (bug 1232)
6393 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6395 * factory.C: limited 'arg' scope
6397 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6399 * factory.C: fixed Note submenu issues
6401 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6403 * factory.C: submenu for Note/Comment/Greyedout
6405 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6408 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6410 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6413 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6414 greyedout. Patch provided by Jürgen Spitzmüller.
6416 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6418 * kbmap.C (read): fix error message when reading bind files
6420 2003-07-29 Angus Leeming <leeming@lyx.org>
6422 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6423 certainly does not do what it purports to do. I am doing it, and
6424 us, a favour by killing it.
6426 2003-07-28 José Matos <jamatos@lyx.org>
6428 * buffer.C (readBody, do_writeFile):
6429 * paragraph.C(readParagraph): \end_document replaces \the_end.
6431 2003-07-29 André Pönitz <poenitz@gmx.net>
6434 * BufferView_pimpl.[Ch]:
6438 * textcursor.[Ch]: remove toggleToggle & Co
6440 2003-07-28 José Matos <jamatos@fep.up.pt>
6442 * buffer.C (readParagraph):
6443 * params_func (readParToken, readParagraph):
6444 * paragraph.C (write): \layout -> \begin_layout.
6446 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6448 * lyxlex_pimpl.C (setFile): clean up slightly.
6450 * bufferparams.h: add compressed var
6452 * buffer_funcs.C (readFile): adjust for LyXLex change
6453 (newFile): ditto + simplify
6455 * buffer.C (writeFile): handle writing of compressed files
6457 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6458 Check if the file is compressed and set a bufferparm if so.
6460 * Makefile.am (lyx_LDADD): remove explicit -lz
6462 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6464 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6465 makeDocBookFile): put the real LyX version in the first line of
6469 * version.C.in: remove lyx_docversion
6471 * tabular.C (write_attribute): add a template-based version to
6472 write enums properly
6474 2003-07-28 André Pönitz <poenitz@gmx.net>
6479 * text3.C: use doubles again for x-coordinates. They are needed.
6481 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * messages.C (getLocaleDir): use lyx_localedir()
6485 * lyxlex_pimpl.C (setFile): compress stuff
6487 * buffer.C (writeFile): add some compression stuff
6488 (do_writeFile): new func, dont call expliti close... will this
6491 * Makefile.am (lyx_LDADD): add -lz
6493 2003-07-28 José Matos <jamatos@fep.up.pt>
6495 * buffer.C: increment file format.
6496 * paragraph_funcs (readParagraph, readParToken):
6497 * paragraph.C (readParagraph): add \end_layout.
6499 2003-07-27 Angus Leeming <leeming@lyx.org>
6501 * Makefile.am: remove special casing for configure-time setting of
6502 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6504 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6505 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6507 2003-07-26 André Pönitz <poenitz@gmx.net>
6509 * paragraph_func.[Ch]:
6510 * paragraph.C (realizeFont): inline it whereever it is used
6515 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6518 2003-07-26 André Pönitz <poenitz@gmx.net>
6522 * text2.C: get rid of LyXText::need_break_row
6524 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6526 * toc.[Ch]: put namespace toc inside namespace lyx
6528 * MenuBackend.C (expandToc2): adjust for lyx::toc
6531 * lyxfunc.C (dispatch): adjust for lyx::find
6533 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6534 lyx::find instead. Reorganize a bit.
6535 (LyXReplace): rename to replace
6536 (LyXFind): rename to find
6538 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6541 2003-07-26 André Pönitz <poenitz@gmx.net>
6543 * text.C (setHeightOfRow): restrict scope of temporary variable
6545 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6546 code (never has been used?)
6548 2003-07-27 Asger Alstrup <alstrup@local>
6550 * text.C (fill): Optimise algorithm to exploit that we can reuse
6551 the LyXFont for many characters.
6552 (setHeightOfRow): Same thing.
6553 (rowBreakPoint): Same thing.
6555 2003-07-26 Asger Alstrup <alstrup@local>
6557 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6559 * text.C (singleWidth): Spurious font copying in hot-spot
6560 singleWidth avoided. Reorder tests for arabic for efficiency.
6562 * text.C (fill): handle empty paragraphs better.
6564 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6567 * encoding.h: add includes
6569 * lyxrc.C: remove reading of bind files
6571 * lyx_main.C (init): setup bindings and menus only if we have a
6574 * kbmap.C (read): new method. Do the actual reading of bind
6577 * converter.C (dvipdfm_options):
6580 (output): adapt PAPER_* enums.
6582 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6584 * bufferparams.h: remove paper-related enums from there
6586 * paper.h: New file. A trivial header file to hold paper-related
6587 enums. It should later expand to contain many paper-related
6590 * lyxrc.C: declare extern displayTranslator
6592 2003-07-27 José Matos <jamatos@fep.up.pt>
6594 * tabular.[Ch] (linuxdoc): add support for tables and figures
6597 2003-07-27 José Matos <jamatos@fep.up.pt>
6599 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6600 consistency in both functions.
6601 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6603 2003-07-26 Asger Alstrup <alstrup@local>
6605 * rowpainter.C (paintRows): Change algorithm to work directly on
6606 the insets rather than asking every character in the document
6607 whether its an inset.
6609 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6611 * buffer.C (openFileWrite): factorize some code
6613 2003-07-26 Angus Leeming <leeming@lyx.org>
6616 * lyx_main.[Ch]: replace occurances of system_tempdir with
6619 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6621 * rename Inset to InsetOld
6623 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6625 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6626 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6627 which I think is a bit clearer. EDIT is gone, since it was
6628 premature optimisation, and broken for mathed anyway.
6629 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6630 with cursor positioning in insets as well (math insets still do not
6631 work, but that's a different story anyway.) It mysteriously
6632 crashes sometimes with undo in the first paragraph, but I'm fairly
6633 confident that this is a compiler bug.
6635 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6637 * paragraph.C (Paragraph): adjust for new clone return type
6639 (copyIntoMinibuffer): ditto
6641 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6643 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6644 by not having a special case, and always doing a full rebreak of
6645 the document after undo.
6647 2003-07-23 Angus Leeming <leeming@lyx.org>
6649 * factory.C (createInset): InsetExternal::setParams now takes a
6652 2003-07-23 Angus Leeming <leeming@lyx.org>
6654 * factory.C (createInset): changed interface to the external and
6655 graphics mailers' string2params functions.
6657 2003-07-23 Angus Leeming <leeming@lyx.org>
6659 * factory.C (createInset): pass a
6660 Buffer const * parameter to InsetExternalMailer's string2params.
6662 2003-07-22 John Levon <levon@movementarian.org>
6664 * Thesaurus.h: include the right aiksaurus header
6666 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6668 * MenuBackend.C (expand): check menu shortcuts unconditionally
6670 2003-07-21 Angus Leeming <leeming@lyx.org>
6672 * factory.C (createInset): pass a
6673 buffer_path parameter to InsetGraphicsMailer's string2params.
6675 2003-07-21 Angus Leeming <leeming@lyx.org>
6677 * BufferView_pimpl.C (buffer):
6680 * lyxfunc.C (dispatch):
6681 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6682 rather than the grfx shortcut.
6684 2003-07-21 André Pönitz <poenitz@gmx.net>
6686 * rowpainter.C: remove unused variables
6689 * tabular_funcs.h: move to tabular.C
6690 * Makefile.am: adjust
6692 * tabular.[Ch]: basic optical cleaning
6694 * author.h: pass references, not values
6696 2003-07-18 André Pönitz <poenitz@gmx.net>
6704 * text3.C: two-phase drawing for InsetText and InsetTabular
6705 some float -> int changes.
6707 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6709 * lyx_main.C: fix the fix
6711 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6713 * lyx_main.C: fix a crash in batch mode if no files specified
6716 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6718 * format.[Ch] (papersize): moved to BufferParams
6719 * converter.[Ch] (dvips_options): moved to BufferParams
6720 (dvipdfm_options): moved to anon namespace
6721 * bufferparams.[Ch]: added above functions.
6723 2003-07-17 André Pönitz <poenitz@gmx.net>
6727 * text2.C: don't call inset->update() anymore
6729 * metricsinfo.[Ch]: add convenience constructor
6731 2003-07-16 André Pönitz <poenitz@gmx.net>
6736 * text2.C: replace the LyXCursor::irow_ member with
6737 on-demand computation of the value
6739 2003-07-16 John Levon <levon@movementarian.org>
6741 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6743 2003-07-15 André Pönitz <poenitz@gmx.net>
6746 * text2.C: remove no more needed refresh_row
6748 2003-07-15 André Pönitz <poenitz@gmx.net>
6753 * text3.C: refresh_status tristate -> need_update bool
6755 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6757 * lyxtext.h (init): remove reinit argument (act as if always true)
6758 * text2.C: adjust to that
6760 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6762 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6763 * text3.C: use it to delete selections in some cases
6764 (bugs 441, 673, 702, 954).
6766 2003-07-14 André Pönitz <poenitz@gmx.net>
6768 * rowpainter.[Ch]: reduce interface
6770 2003-07-14 André Pönitz <poenitz@gmx.net>
6772 * BufferView_pimpl.C:
6773 * text2.C: adjust after removing unused BufferView * argument
6775 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6777 * text2.C (init): fix a crash fired on resize
6779 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6781 * buffer.[Ch]: added new closing signal
6782 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6783 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6784 BufferView::Pimpl via the closing the signal
6786 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6788 * buffer.[Ch]: take out all bv-related from buffer
6790 * BufferView_pimpl.[Ch]: connect to new signals
6791 * CutAndPaste.C: removed useless asserts
6792 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6795 * lyxfunc.C: moved view-related funciontality from vc here
6796 * paragraph.C: removed outdated comments
6799 2003-07-10 André Pönitz <poenitz@gmx.net>
6801 * BufferView_pimpl.C:
6805 * text2.C: remove InsetText::InnerCache, clean up consequences
6807 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6809 * ispell.C: fix two typos in error messages
6811 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6813 * Extend Note inset to other forms of annotation like Comment
6814 and Greyedout. Right button click gives dialog.
6816 Files modified or added (+):
6820 * ControlNote.[Ch] +
6822 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6823 frontends/controllers
6827 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6829 * aspell.C: add missing namespace lyx::support
6831 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6833 * BufferView.[Ch] (newFile): Add
6834 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6835 * LaTeX.[Ch] (message): added this signal and use it
6836 * buffer.[Ch] (busy, message): added these signals and use them
6837 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6841 * importer.C: use buffer signals instead of direct bv calling
6842 * lyx_cb.[Ch] (ShowMessage): removed
6845 * paragraph_funcs.C:
6846 * text2.C: use buffer signals
6848 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6850 * introduce namespace lyx::graphics
6852 2003-07-02 André Pönitz <poenitz@gmx.net>
6854 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6856 2003-07-01 André Pönitz <poenitz@gmx.net>
6863 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6864 text*.C to text_func.C
6866 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6868 * introduce namespace lyx::support
6870 2003-06-30 André Pönitz <poenitz@gmx.net>
6875 * text.C: re-enable --with-included-string
6877 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6879 * textcursor.C: add <config.h>
6881 * text.C (getWord): remove const from word_location arg
6883 * lyxvc.C (getLogFile): fix const type order
6885 * lyxtext.h: remove const from word_location arg, add arg name
6887 * lyxlayout.h: currect type on labeltype.
6889 * importer.C: correct \file
6891 * converter.C (intToFormat): use std:: on ret val, ws changes
6893 * bufferlist.h: correct \file
6895 * buffer.C (makeLinuxDocFile): fix const type order
6896 (makeDocBookFile): ditto
6897 (fillWithBibKeys): use std:: on stdlib args.
6899 * CutAndPaste.C: fix authors.
6900 (availableSelections): use std:: on return vector
6902 2003-06-27 André Pönitz <poenitz@gmx.net>
6904 * BufferView_pimpl.C:
6905 * bufferview_funcs.C:
6913 * text3.C: remove LyXCursor::row_ member
6916 * text.C: rename fullRebreak() to partialRebreak() and implement
6917 a fullRebreak() that really bereks fully
6919 * textcursor.h: new struct for cursor-related data
6921 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6923 * lyx_main.C (LyX): get full path of document loaded on the
6926 2003-06-26 André Pönitz <poenitz@gmx.net>
6928 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6929 remove unused/broken operator>,<,>=.
6931 * text.C: remove only use of broken operator<= in an Assert().
6933 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6935 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6936 moved errorlist_.clear to showErrorList
6938 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6940 * converter.C (scanLog, runLaTeX):
6941 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6942 move the bv->showErrorList call to the callers
6943 * lyxfunc.C: i.e. here...
6945 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6946 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6947 namespace, the second to...
6948 * buffer_funcs (BufferFormat, parseErrors): added
6949 * errorlist.C (ErrorList(TeXErrors const &)): removed
6951 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6953 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6955 2003-06-24 "Garst R. Reese" <reese@isn.net>
6959 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6961 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6963 * version.C.in: change docversion to 1.4
6965 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6967 * buffer.C: fix a bug just introduced
6969 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6971 * buffer.[Ch]: added the parseError signal and use it, removed
6973 * BufferView.[Ch] (addError): moved to ...
6974 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6975 to the Buffer::parseError signal to catch (guess what) parse errors
6976 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6978 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6980 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6981 ability to create a buffer and to return an existing one from
6982 the list. Moved these functions to...
6983 * buffer_funcs.[Ch]: added
6984 * BufferView.[Ch] (loadLyXFile): added
6985 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6986 job removed from bufferlist::loadLyXFile.
6987 * buffer.C (setReadOnly): make it work without view
6988 (i.e added an if (users))
6990 2003-06-19 Angus Leeming <leeming@lyx.org>
6993 * LyXAction.C (init):
6994 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6995 with LFUN_DIALOG_SHOW <name> <data>.
6997 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6999 * CutAndPaste.C (availableSelections): small compilation fix for
7000 ancient (gcc 2.9x) compilers
7002 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7004 * text3.C (cursorNext): add tmp var
7006 * text2.C (updateCounters): for function calling out of for clause
7007 (replaceSelectionWithString): ditto
7008 (insertStringAsParagraphs): ditto
7009 (getColumnNearX): add tmp var
7010 (setCursorFromCoordinates): add tmp var
7011 (cursorDownParagraph): add tmp var
7012 (deleteEmptyParagraphMechanism): add tmp var
7014 * text.C (insertChar): add tmp var
7016 * rowpainter.C (paintDepthBar): add tmp var
7018 * CutAndPaste.C (availableSelections): potentially check all
7019 paragraphs in a cut to fill the shown strings.
7021 2003-06-18 André Pönitz <poenitz@gmx.net>
7023 * kbmap.[Ch]: use vector<> instead of list<>
7025 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7027 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7028 pasteSelection with index
7030 * text2.C (pasteSelection): modify, call pasteSelection with index
7032 * paragraph.C (asString): reimplement version with no interval to
7033 call the one with interval.
7035 * lyxtext.h: add index arg to pasteSelection
7037 * MenuBackend.C (MenuItem): handle PasteRecent
7038 (Menu::read::Menutags): add md_pasterecent
7040 (expandPasteRecent): new function
7043 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7045 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7047 (availableSelections): new function
7049 2003-06-17 Angus Leeming <leeming@lyx.org>
7051 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7053 2003-06-17 Angus Leeming <leeming@lyx.org>
7056 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7058 * lyxfunc.C (dispatch): invoke it.
7060 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7062 * iterators.C (operator++, ParPosition): reintroduce some
7063 const_cast for the benefit of older compilers.
7065 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7067 * text3.C (dispatch): do not modify clipboard when doing
7068 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7069 LFUN_DELETE_SKIP on a selection selection
7071 2003-06-16 André Pönitz <poenitz@gmx.net>
7077 * tabular.[Ch]: IU of clone() and getLabelList();
7079 2003-06-13 André Pönitz <poenitz@gmx.net>
7081 * tabular.h: compactification
7083 2003-06-12 André Pönitz <poenitz@gmx.net>
7087 * tabular_funcs.h: some renaming plus whitespace
7089 2003-06-12 André Pönitz <poenitz@gmx.net>
7092 * BufferView_pimpl.C:
7098 * toc.C: Return a Paragraph & for ParIterator::operator*()
7100 2003-06-11 John Levon <levon@movementarian.org>
7104 * ToolbarBackend.C: add "Toolbars" section and
7107 2003-06-10 Angus Leeming <leeming@lyx.org>
7110 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7112 * lyxfunc.C (dispatch): invoke it.
7114 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * main.C: protect <ios> with HAVE_IOS
7117 (main): protect sync_with_stdio with HAVE_IOS
7119 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7121 * text2.C (cutSelection): adjust
7122 (pasteSelection): adjust
7124 * messages.C: handle get of empty string
7126 * main.C (main): use sync_with_stdio(false)
7128 * lyxfunc.C (dispatch): adjust
7130 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7131 (WriteAs): remove unneeded BufferView arg.
7133 * bufferparams.h: use correct types on papersize, papersize2 and
7136 * bufferparams.C (readToken): adjust for type
7137 (writeLaTeX): add missing cases to switch.
7139 * bufferlist.C (quitWriteBuffer): adjust
7142 * buffer.C (asciiParagraph): remove some commented code.
7144 * CutAndPaste.C: remove current_view extern variable.
7145 (cutSelection): add BufferParams arg.
7146 (eraseSelection): add BufferParams arg.
7147 (pasteSelection): add Buffer const & arg
7149 2003-06-07 John Levon <levon@movementarian.org>
7152 * paragraph_funcs.C:
7153 * paragraph_pimpl.C:
7157 * paragraph.C: allow InsetERT to freely space lines,
7158 and some consolidation of code
7160 2003-06-06 José Matos <jamatos@fep.up.pt>
7162 * buffer.C (makeDocBookFile): fix bug #821
7164 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7166 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7168 2003-06-04 Angus Leeming <leeming@lyx.org>
7170 * buffer.C: bump format to 224.
7172 2003-06-05 André Pönitz <poenitz@gmx.net>
7174 * text2.C (redoParagraphs): remove two const_cast<>
7176 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7178 * ParagraphList.h: remove last remnants of NO_STD_LIST
7180 2003-06-03 Angus Leeming <leeming@lyx.org>
7182 * factory.C (createInset): small change to the way InsetExternal's params
7185 2003-06-04 André Pönitz <poenitz@gmx.net>
7187 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7189 * paragraph_pimpl.h:
7190 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7192 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7194 * undo_funcs.C: make some simple cases of undo work again
7196 2003-06-03 John Levon <levon@movementarian.org>
7198 * ispell.C: HPUX doesn't have sys/select.h
7201 2003-06-03 John Levon <levon@movementarian.org>
7203 * CutAndPaste.C: update tabular and include inset
7208 * paragraph.C: remove owningBuffer(), don't pass Buffer
7211 * factory.C: insetGraphicsParams changed
7213 2003-06-02 John Levon <levon@movementarian.org>
7219 * text3.C: remove insetparent
7221 2003-06-02 John Levon <levon@movementarian.org>
7224 * buffer.C: fix inset_iterator.end(), move out of line
7227 2003-06-01 John Levon <levon@movementarian.org>
7229 * text3.C: use a proper cut/paste when doing inset
7230 insert (from Jürgen Spitzmüller)
7232 2003-06-01 John Levon <levon@movementarian.org>
7234 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7236 2003-05-30 André Pönitz <poenitz@gmx.net>
7238 * rowpainter.C: unify second drawing phase
7240 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7242 * trans_mgr.C: remove one case of current_view
7244 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7246 * paragraph_funcs.h: remove paragraph.h include
7248 * paragraph.h: delete NO_STD_LIST stuff
7250 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7252 * buffer.h: remove paragraph.h include
7254 * ParagraphList.C: delete file
7256 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7258 * toc.C (getTocList): adjust
7260 * paragraph_pimpl.C (validate): adjust
7262 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7264 * paragraph.C (Paragraph): adjust
7265 (getPositionOfInset): use const_iterator, adjust
7266 (bibitem): use const_iterator, adjust
7267 (setInsetOwner): adjust
7269 * iterators.C (operator++): adjust
7271 * InsetList.[Ch]: Replace selfmade iterator with standard
7272 vector::iterator also introduce const_iterator. Remove getPos,
7273 getInset and setInset from InsetTable. Adjust accordingly.
7275 * BufferView.C (lockInset): adjust
7276 (ChangeInsets): adjust
7278 * tabular.[Ch]: delete commented same_id functions
7280 2003-05-28 John Levon <levon@movementarian.org>
7282 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7284 2003-05-28 André Pönitz <poenitz@gmx.net>
7286 * metricsinfo.[Ch]: remove 'fullredraw' member
7288 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7290 * lyxtextclass.C (operator): remove caching.
7292 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7296 * text2.C (cursorBottom): adjust
7297 (setCounter): use ParagraphList::find, adjust
7299 * text.C (workWidth): use ParagraphList::find, adjust
7301 * lyxcursor.C (LyXCursor): adjust
7303 * buffer.C (inset_iterator): adjust
7305 * ParagraphList.h: make iterator(value_type) private, make
7306 ParagraphList a friend of iterator.
7308 * ParagraphList.C (find): new function
7310 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7312 2003-05-27 André Pönitz <poenitz@gmx.net>
7314 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7316 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7318 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7320 2003-05-26 John Levon <levon@movementarian.org>
7322 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7324 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7326 * remove same_id from function signatures, adjust.
7328 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7330 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7332 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7334 * paragraph.C (Paragraph): get rid of same_ids parameter
7336 * ParagraphList.C (insert): adjust
7339 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7341 * paragraph_funcs.C (breakParagraph): adjust
7342 (breakParagraphConservative): adjust
7344 * buffer.C (readParagraph): adjust
7346 * ParagraphList.C (insert): take a reference instead of a pointer
7349 * paragraph.[Ch] (id): new function
7351 * bufferlist.C (newFile): adjust
7353 * ParagraphList.C (ParagraphList): adjust
7355 (push_back): take a reference instead of a pointer.
7357 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7359 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7362 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7363 set else use old code.
7365 * ParagraphList.C: remove all NO_NEXT code and only compile this
7366 code of NO_STD_LIST is set.
7368 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7370 * BufferView_pimpl.C:
7380 * graphics/GraphicsConverter.C:
7381 * graphics/PreviewLoader.C: header adjustment
7383 2003-05-23 Angus Leeming <leeming@lyx.org>
7385 * LaTeXFeatures.[Ch] (useBabel): new method.
7386 * bufferparams.C (writeLaTeX): use it.
7388 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7390 * ParagraphList.h (set): remove unused function.
7392 2003-05-23 André Pönitz <poenitz@gmx.net>
7395 * BufferView_pimpl.C:
7399 * undo_funcs.C: setUndo reworked
7401 * iterators.[Ch]: add access to topmost ParagraphList
7403 * lyxtext.[Ch] (workWidth): add a const
7405 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7407 * texrow.[Ch] (increasePos): remove function
7408 * exporter.C (export): removed unused var and outdated comment
7410 2003-05-23 Angus Leeming <leeming@lyx.org>
7412 * latexrunparams.h: rename fragile as moving_arg.
7413 * paragraph.C (simpleTeXOnePar): ditto.
7414 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7416 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7418 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7420 (textUndoOrRedo): comment out a currently unused var.
7422 * paragraph.h (NO_NEXT): enable NO_NEXT
7424 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7426 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7428 * exporter.C (Export): adjust for removeAutoInsets removal.
7430 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7432 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7434 * BufferView.[Ch] (removeAutoInsets): delete function
7436 2003-05-22 Angus Leeming <leeming@lyx.org>
7438 * latexrunparams.h: add a free_spacing variable.
7440 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7441 to pass moving_arg, as the data is stored in runparams.fragile.
7443 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7444 to Inset::latexOptional or to simpleTeXOnePar.
7446 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7447 free_spacing arg to Inset::latexOptional.
7449 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7452 2003-05-22 Angus Leeming <leeming@lyx.org>
7454 * latexrunparams.h: add fragile and use_babel variables.
7456 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7457 * buffer.C (makeLaTeXFile): store this returned value in
7458 runparams.use_babel, thus passing it to the inset::latex methods.
7460 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7461 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7463 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7464 longer has a fragile arg, as it is stored in runparams.fragile.
7466 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7467 moving_arg parameter as the data is stored in runparams.fragile.
7469 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7470 a fragile parameter as the data is stored in runparams.fragile.
7472 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7474 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7476 2003-05-22 Angus Leeming <leeming@lyx.org>
7478 * latexrunparams.h: add a 'bool nice' which defaults to false.
7480 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7481 now encapsulated within runparams.
7483 * bufferlist.C (updateIncludedTeXfiles):
7484 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7486 2003-05-22 Angus Leeming <leeming@lyx.org>
7488 * latexrunparams.h: new file containing struct LatexRunParams.
7489 * Makefile.am: add new file.
7491 * LaTeX.[Ch] (c-tor, run):
7492 * buffer.[Ch] (makeLaTeXFile):
7493 * bufferlist.[Ch] (updateIncludedTeXfiles):
7494 * converter.C (convert, scanLog):
7495 * converter.[Ch] (runLaTeX):
7496 * exporter.C (Export):
7497 * paragraph.[Ch] (simpleTeXOnePar):
7498 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7499 * paragraph_funcs.[Ch] (latexParagraphs):
7500 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7501 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7502 pass around a LatexRunParams parameter.
7504 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7506 * paragraph.[Ch]: remove unused constructor
7508 * ParagraphList.C (erase): new function, taking two iterators
7510 2003-05-22 André Pönitz <poenitz@gmx.net>
7512 * undo_funcs.C: remove duplicated code
7514 * iterator.[Ch]: operator=
7516 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7518 * tabular.C (SetMultiColumn): ws changes
7520 * rowpainter.C (paintFirst): get rid of a ->previous
7522 * lyx_cb.C (getPossibleLabel): parlist simplification
7524 * BufferView.C (ChangeInsets): simplify slightly.
7526 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7528 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7529 * lfuns.h: new LFUN_SPACE
7530 * lyxfunc.C: protected space has a new lfun
7531 * paragraph_funcs.C: read new space insets
7533 * factory.C: handle new space insets
7535 2003-05-22 André Pönitz <poenitz@gmx.net>
7538 * BufferView_pimpl.C:
7541 * undo_funcs.C: return a ParIterator from getParFromID.
7543 * iterators.[Ch]: add two const's
7545 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7547 * toc.C (getTocList): adjust
7549 * iterators.[Ch]: rework for parlist
7551 * buffer.C (par_iterator_begin): adjust
7552 (par_iterator_end): adjust
7554 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7556 * BufferView.C (removeAutoInsets): adjust
7557 (ChangeInsets): adjust
7559 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7561 * text.C (top_y): fix bug 1110
7563 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7565 * errorlist.[Ch]: added
7568 * BufferView_pimpl.C:
7569 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7572 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7574 * Makefile.am: ensure that lyx is relinked upon changes to the
7575 various "convenience" libs.
7577 2003-05-20 Angus Leeming <leeming@lyx.org>
7579 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7580 files are compiled in alphabetical order again.
7582 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7584 2003-05-19 Angus Leeming <leeming@lyx.org>
7586 * gettext.[Ch]: remove "char const * _(char const *)".
7588 2003-05-19 André Pönitz <poenitz@gmx.net>
7590 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7599 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7601 2003-05-19 André Pönitz <poenitz@gmx.net>
7605 * lyxtextclass.[Ch]:
7607 * paragraph_funcs.[Ch]:
7609 * text3.C: more insetenv work
7611 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7613 * ParagraphParameters.C (params2string): small bug fixed
7615 2003-05-16 André Pönitz <poenitz@gmx.net>
7618 * bufferview_funcs.C: patch from Kornel Benko to prevent
7619 crash when _(...) is called twice in a statement
7621 2003-05-16 André Pönitz <poenitz@gmx.net>
7628 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7630 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7632 * lyx_main.C (init): remove spurious static_cast
7634 2003-05-14 André Pönitz <poenitz@gmx.net>
7636 * BufferView.C: fix format string
7638 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7640 * BufferView.[Ch] (insertErrors): removed
7641 * BufferView.[Ch] (showErrorList): added
7642 * buffer.C (runChkTeX):
7643 * converter.C (scanLog): call showErrorList instead of inserterrors
7645 2003-05-13 André Pönitz <poenitz@gmx.net>
7647 * BufferView_pimpl.C:
7649 * bufferview_func.C:
7656 * tabular_funcs.h: tostr() from its own header
7658 * ParagraphParameters.C:
7663 * text3.C: STRCONV()
7665 2003-05-12 André Pönitz <poenitz@gmx.net>
7668 * BufferView_pimpl.C:
7672 * ParagraphParameters.C:
7676 * bufferview_funcs.C:
7689 * paragraph_funcs.C:
7693 * text3.C: boost::format -> bformat all over the place
7696 2003-05-09 André Pönitz <poenitz@gmx.net>
7698 * LColor.[Ch]: Pimpl the #include <map> away
7700 2003-05-09 John Levon <levon@movementarian.org>
7702 * bufferlist.C: never remove emergency saves
7704 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * Makefile.am: better lib building
7708 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7710 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7712 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7713 (simpleTeXSpecialChars): adjust
7714 (simpleTeXSpecialChars): adjust
7715 * paragraph.C (simpleTeXOnePar): adjust
7716 * buffer.C (makeLaTeXFile): adjust
7718 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7720 * text2.C (changeDepth): parlist cleanup
7721 (getColumnNearX): ditto
7723 * rowpainter.C (getLabelFont): parlist cleanup
7725 * bufferlist.C (newFile): parlist cleanup
7727 * CutAndPaste.C (eraseSelection): parlist cleanup
7729 * BufferView_pimpl.C (trackChanges): parlist cleanup
7732 * BufferView.C (lockInset): parlist cleanup.
7733 (ChangeInsets): ditto
7735 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7737 * CutAndPaste.h: Update file header.
7739 * CutAndPaste.C: Update file header.
7740 Store the parts cut out of the Document in a limited_stack.
7741 (copySelection): adjust
7742 (pasteSelection): new function, takes the index in the limited stack.
7743 (nrOfParagraphs): adjust
7744 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7745 simplify error inset insertion.
7746 (checkPastePossible): adjust
7748 2003-05-06 John Levon <levon@movementarian.org>
7750 * text2.C: don't cast wrap inset to float
7752 2003-05-05 André Pönitz <poenitz@gmx.net>
7755 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7757 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7758 few naked Paragraph *.
7760 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7762 * bufferparams.C: Output warning if a document with missing
7763 TeX document class is loaded
7764 * exporter.C: Disable TeX exports if the document class is missing
7767 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7768 isTeXClassAvailable()
7770 2003-05-03 John Levon <levon@movementarian.org>
7773 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7774 explicit cursor show/hide
7776 * BufferView_pimpl.h:
7777 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7778 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7780 * lyxfunc.C: hide cursor before dispatching.
7785 * text3.C: remove explicit cursor hides
7787 2003-05-02 André Pönitz <poenitz@gmx.net>
7789 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7792 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7795 * text2.C: tiny whitespace
7797 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7799 * undo_funcs.C: almost only ws changes.
7801 * ParagraphList.C (splice): just return if pl is empty.
7803 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7805 * ParagraphList.C (splice): new function.
7807 * CutAndPaste.C (pasteSelection): use it
7809 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * CutAndPaste.C (pasteSelection): remove the last next and
7812 previous from this file.
7814 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7816 * CutAndPaste.C (pasteSelection): more clean up, user proper
7817 ParagraphList functions for pasteing.
7819 * ParagraphList.C (insert): new function, three arg insert
7821 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * ParagraphList.C (insert): new function, three arg insert
7825 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7828 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7830 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7832 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7834 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7836 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7838 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7839 (copySelection): clean up a bit.
7840 (pasteSelection): use make_pair
7842 * ParagraphList.C (ParagraphList): implement copy constructor
7843 (operator=): implement, base on copy constructor.
7846 * paragraph.C (erase): return a bool
7848 * paragraph_pimpl.C (erasePos): remove function, move contents...
7849 (erase): ... here. Return a bool.
7850 (erase): call erase instead of erasePos.
7852 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7854 * ParagraphList.h: define PitPosPair
7855 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7856 ParagraphList, fix a bug on pasting multiple pars
7857 * text2.C: change interface to C&P
7859 2003-04-30 André Pönitz <poenitz@gmx.net>
7861 * undo_func.C: revert part of yesterday's patch 2
7863 2003-04-30 John Levon <levon@movementarian.org>
7865 * LColor.C: s/tabular/table/
7867 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7869 * text3.C (dispatch): do not convert iterator -> pointer
7870 * undo_funcs.C (setCursorParUndo): ditto
7871 * text_funcs.C (transposeChars): ditto
7873 * text2.C (setLayout): ws changes only
7875 * text.C (breakParagraph): do not convert iterator -> pointer
7877 (acceptChange): ditto
7878 (rejectChange): ditto
7883 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7886 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7888 * text3.C (gotoInset): YABG (yet another bad getChar)
7890 2003-04-29 André Pönitz <poenitz@gmx.net>
7892 * paragraph.h: make operator= private unimplemented as long as
7895 * ParagraphList.C: whitespace
7898 * paragraph_pimpl.[Ch]:
7899 * paragraph_funcs.C:
7901 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7904 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7906 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7908 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7909 * paragraph.[Ch] (erase):
7910 * paragraph_pimpl.[Ch] (erase): change return type and value
7911 * text2.C (cutSelection): some rework
7913 2003-04-28 John Levon <levon@movementarian.org>
7915 * bufferlist.C: changes for unsaved changes dialog
7917 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7919 * bufferlist.C (newFile): set language (messages_) for new
7922 * buffer.C (readFile): ws changes only.
7924 2003-04-28 André Pönitz <poenitz@gmx.net>
7929 * BufferView_pimpl.C:
7930 * BufferView.C: getParFromID related ParagraphList::iterator changes
7932 2003-04-28 André Pönitz <poenitz@gmx.net>
7934 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7937 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7939 * messages.C: remove one more localedir class variable.
7941 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7943 * messages.C (getLocaleDir): singleton generation function
7945 (Messages): add a default constructor.
7947 * main.C (main): do not setup localedir here, do not call
7950 * gettext.C (_): use it.
7951 (gettext_init): delete funciton
7953 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7955 * gettext.C (getLyXMessages): new singleton generating function.
7957 * buffer.C (updateDocLang): adjust
7959 * Makefile.am (messages.o): add target
7960 (main.o): remove target
7962 2003-04-27 John Levon <levon@movementarian.org>
7967 * lyxvc.C: specify cancel button in Alert::prompt
7969 2003-04-26 John Levon <levon@movementarian.org>
7974 * LyXAction.C: add LFUN_INSET_SETTINGS
7976 * lyxfunc.C: don't enable tabular-feature when there's
7977 just any locking inset
7979 2003-04-26 John Levon <levon@movementarian.org>
7981 * bufferlist.C: re-add Cancel to buffer close question
7983 * lyxfunc.C: fix import UI a bit
7985 2003-04-25 John Levon <levon@movementarian.org>
7987 * gettext.C: remove the broken asserts for now
7989 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7991 * messages.C: make case where setlocale cannot comply work better.
7993 * buffer.C (updateDocLang): new function
7994 (changeLanguage): use it
7997 * text2.C (setCounter): use B_ a bit.
7999 * lyxlayout.C (Read): be sure to trim the label strings.
8001 * messages.C (Messages): fix typo in comment
8003 * buffer.C (readFile): set message_ after file is loaded.
8004 (makeDocBookFile): remove double return
8005 (changeLanguage): reset message_ upon language change.
8006 (B_): new func, use this to get translated buffer strings.
8008 * main.C: add myself and Jean Marc as authors.
8010 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8012 * messages.[hC]: pimplify Messages, and three different pimpls to be
8013 used in different circumstances.
8015 * gettext.[Ch]: change for use with new message code.
8017 2003-04-24 André Pönitz <poenitz@gmx.net>
8019 * factory.C: support for eqref
8021 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8023 * messages.[Ch]: add missing char
8025 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8027 * messages.[Ch]: New files
8029 2003-04-18 John Levon <levon@movementarian.org>
8033 * BufferView_pimpl.C:
8037 * text2.C: remove layout-copy/paste (bug 778)
8039 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8041 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8043 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8045 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8046 if they succeed. Act accordingly.
8048 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8050 * text2.C (setCharFont): adjust
8051 (setCounter): adjust
8052 (insertStringAsLines): adjust
8054 * text.C (leftMargin): adjust
8055 (setHeightOfRow): adjust
8057 * rowpainter.C (paintFirst): adjust
8060 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8062 (isFirstInSequence): ditto
8063 (getEndLabel): ditto
8066 * paragraph.C (getParLanguage): comment out some hard stuff.
8068 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8070 (simpleDocBookOnePar): ditto
8071 (makeDocBookFile): use ParagraphList::iterator
8073 * CutAndPaste.C (pasteSelection): adjust
8075 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8077 * text2.C (getFont): adjust
8078 (getLayoutFont): adjust
8079 (getLabelFont): adjust
8081 * paragraph_funcs.C (TeXOnePar): adjust
8083 * buffer.C (simpleLinuxDocOnePar): adjust
8084 (simpleDocBookOnePar): adjust
8086 * CutAndPaste.C (pasteSelection): adjust
8088 * BufferView.C (getEncoding): adjust
8090 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8092 2003-04-16 John Levon <levon@movementarian.org>
8094 * lyxfind.C: use parlist stuff for search/changes
8096 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8098 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8100 * text2.C (deleteEmptyParagraphMechanism): adjust
8102 * text2.[Ch] (ownerParagraph): delete func (both of them
8104 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8106 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8108 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8110 * ParagraphList.C: prepare for NO_NEXT
8112 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8114 * text2.C (getFont): adjust
8115 (getLayoutFont): adjust
8116 (getLabelFont): adjust
8118 * paragraph.C (getFont): adjust
8119 (getLabelFont): adjust
8120 (getLayoutFont): adjust
8122 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8124 2003-04-15 John Levon <levon@movementarian.org>
8128 * lyx_main.C: handle Include in .ui files
8130 2003-04-15 John Levon <levon@movementarian.org>
8132 * MenuBackend.C: make the doc files length shorter
8135 * ToolbarBackend.C: handle toolbar placement flags,
8138 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8140 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8143 * paragraph_funcs.C (TeXOnePar): adjust
8145 * paragraph.C (getLabelFont): add outerfont arg, adjust
8146 (getLayoutFont): ditto
8147 (simpleTeXOnePar): adjust
8149 * paragraph_pimpl.C (realizeFont): delete func
8151 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8153 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8154 row argument, constify cur argument.
8156 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8158 * text2.C (getFont): adjust
8159 (getLayoutFont): adjust
8160 (getLabelFont): adjust
8162 * paragraph_funcs.C (TeXOnePar): adjust
8163 (outerFont): new func...
8164 (realizeFont): ...moved out from here, changed this to facilitate
8167 * paragraph.C (getFont): take outerfont as arg, adjust
8168 (simpleTeXOnePar): add outerfont arg, adjust
8170 * buffer.C (simpleLinuxDocOnePar): adjust
8171 (simpleDocBookOnePar): adjust
8173 * CutAndPaste.C (pasteSelection): adjust
8175 * BufferView.C (getEncoding): adjust
8177 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8179 * text2.C (setCharFont): adjust
8180 (setCounter): adjust
8182 * text.C (leftMargin): adjust
8183 (setHeightOfRow): adjust
8185 * rowpainter.C (paintFirst): adjust
8188 * paragraph_pimpl.C (realizeFont): adjust
8190 * paragraph.C (isFirstInSequence): move from here...
8191 * paragraph_funcs.C (isFirstInSequence): ...to here
8193 * paragraph.C (outerHook): move from here...
8194 * paragraph_funcs.C (outerHook): ...to here
8196 * paragraph.C (depthHook): move from here...
8197 * paragraph_funcs.C (depthHook): ...to here
8199 * paragraph.C (getEndLabel): move from here...
8200 * paragraph_funcs.C (getEndLabel): ...to here
8202 * text2.C (realizeFont): move from here...
8203 * paragraph_funcs.C (realizeFont): ...to here
8205 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8207 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8209 2003-04-14 Angus Leeming <leeming@lyx.org>
8211 * LColor.[Ch]: scrap LColor mathcursor.
8213 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8215 * lyxlex.[Ch] (text): delete function
8216 * trans.C (Load): adjust
8217 * paragraph_funcs.C (readParToken): adjust
8219 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8221 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8222 vector<char> instead of a char[].
8224 * lyxlex_pimpl.C (getString): adjust
8226 (lex): use getString
8230 * lyxlex.C (text): use pimpl_->getString()
8234 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8236 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8237 (makeFontEntriesLayoutSpecific): temp var for par.size()
8238 (setLayout): temp var for ownerParagraphs().end()
8239 (fullRebreak): temp var for rows().end()
8240 (selectionAsString): temp var for boost::next(startpit), realize
8241 that the while really is a regular for loop.
8242 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8243 setCursor in one place.
8244 (setParagraph): temp vr for ownerParagraphs().end()
8245 (updateCounters): make the while loop a for loop
8246 (cutSelection): temp var for ownerParagraphs().end()
8247 (updateInset): make the do {} while() a regular for loop
8248 (getCursorX): use temp vars
8249 (setCurrentFont): use temp vars
8250 (getColumnNearX): use temp vars
8252 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8254 * text.C (transformChar): use temp var for getChar
8255 (computeBidiTables): use temp var for row->par()
8256 (fill): move temp vars for row->par() and pit->layout() earlier in
8258 (labelFill): use temp var for row->par()
8259 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8260 asc and desc, realize that pit never changes and that firstpit is
8261 just a duplicate and not needed. Exchange rit->par() with pit in a
8263 (breakAgain): use a temp var for boost::next(rit)
8264 (breakAgainOneRow): ditto
8265 (breakParagraph): use a temp var for rows().begin()
8266 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8267 (cursorRightOneWord): use temp var for cursor.par() and
8268 cursor.pos(), remove usage of tmpcursor.
8269 (cursorLeftOneWord): use temp var for cursor.par() and
8270 cursor.pos() only set cur at end of function.
8272 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8274 * text.C, text2.C: exchange all usage of Paragraph::next with
8275 boost::next(ParagraphList::iterator)
8277 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8279 * text2.C (cursorTop): simplify implementation
8280 (cursorBottom): ditto
8281 (setParagraph): use ParagraphList::iterator
8282 (setCurrentFont): adjust
8283 (getColumnNearX): adjust
8284 (cursorRight): adjust
8285 (cursorLeft): remove usage of Paragraph::previous
8286 (cursorUpParagraph): ditto
8287 (deleteEmptyParagraphMechanism): slight cleanup
8289 * text.C (isBoundary): take a Paragraph const & instead of a
8291 (addressBreakPoint): ditto
8292 (leftMargin): remove usage of Paragraph::previous.
8293 (setHeightOfRow): ditto
8294 (cursorLeftOneWord): ditto
8295 (selectNextWordToSpellcheck): ditto
8298 (breakParagraph): remove one usage of Paragraph::next
8299 (redoParagraph): ditto
8300 (acceptChange): ditto
8301 (insertChar): adjust
8302 (rowBreakPoint): adjust
8304 * bufferview_funcs.C (toggleAndShow): adjust
8306 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8308 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8309 methods to access it.
8311 * text.C: Added updateRowPositions to compute all row positions.
8312 Make top_y and getRowNearY() to use the cached y position
8314 2003-04-11 John Levon <levon@movementarian.org>
8316 * text.C (rowBreakPoint): reintroduce the labelEnd
8317 checks, code copied from the row fill stuff. Deep voodoo.
8319 * text.C (fill): add a comment and debugging for the
8322 2003-04-11 John Levon <levon@movementarian.org>
8324 * text.C: make sure fullrow insets get wrapped to the next line,
8325 even when they're in a manual label
8327 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8329 * text2.C (insertParagraph): make it take ParagraphList::iterator
8331 (setLayout): make it return ParagraphList::iterator
8332 (redoParagraphs): ditto
8334 (checkParagraph): ditto
8336 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8338 * text2.C: adjust several funcs.
8339 (realizeFont): take a ParagraphList::iterator as arg.
8340 (getLayoutFont): ditto
8341 (getLabelFont): ditto
8342 (setCharFont): ditto
8344 * text.C: adjust several funcs.
8346 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8348 * text.C (selectNextWordToSpellcheck): don't accidentally
8351 2003-04-10 John Levon <levon@movementarian.org>
8353 * ToolbarBackend.C (getIcon): special handling for
8356 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8358 * text2.C (cursorRight): a getChar assert fixed
8360 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8362 * text2.C (getFont): change to take a ParagraphList::iterator
8363 instead of Paragraph*
8364 Adjust several functions.
8366 * text.C (transformChar): change to take a ParagraphList::iterator
8367 instead of Paragraph*
8368 (singleWidth): ditto
8369 Adjust several functions.
8371 * rowpainter.C: adjust several functions
8372 * rowpainter.h:store a ParagraphList::iterator and not a
8376 2003-04-09 John Levon <levon@movementarian.org>
8381 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8382 and the "help" bits as well
8384 2003-04-09 John Levon <levon@movementarian.org>
8387 * ToolbarBackend.C: allow multiple toolbars
8389 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * undo_funcs.C (setCursorParUndo): adjust
8393 * text_funcs.C (transposeChars): adjust
8395 * text3.C (gotoNextInset): adjust
8398 * text2.C (setLayout): adjust
8399 (changeDepth): adjust
8401 (redoParagraphs): adjust
8402 (selectionAsString): adjust
8403 (setParagraph): adjust
8404 (insertInset): adjust
8405 (cutSelection): adjust
8406 (copySelection): adjust
8407 (pasteSelection): adjust
8408 (insertStringAsLines): adjust
8409 (updateInset): adjust
8410 (setCursor): change to take a ParagraphList::iterator parameter
8411 (setCursorIntern): change to take a ParagraphList::iterator parameter
8412 (setCurrentFont): adjust
8413 (cursorLeft): adjust
8414 (cursorRight): adjust
8415 (deleteEmptyParagraphMechanism): adjust
8417 * text.C (breakParagraph): adjust
8418 (insertChar): adjust
8419 (acceptChange): adjust
8420 (rejectChange): adjust
8421 (selectNextWordToSpellcheck): adjust
8422 (changeCase): adjust
8426 * lyxfind.C (SearchForward): adjust
8427 (SearchBackward): adjust
8428 (nextChange): adjust
8430 * lyxcursor.C (par): adjust
8432 * lyxcursor.h: store a ParagraphList::iterator instead of a
8435 * lyx_cb.C (getPossibleLabel): adjust
8437 * bufferview_funcs.C (toggleAndShow): adjust
8439 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8442 * BufferView.C (removeAutoInsets): adjust
8443 (lockedInsetStoreUndo): adjust
8445 2003-04-09 John Levon <levon@movementarian.org>
8447 * ToolbarBackend.C: try icon without argument
8448 if with argument fails
8450 2003-04-08 John Levon <levon@movementarian.org>
8453 * ToolbarBackend.C: add getIcon(), handle tooltip,
8454 and change from "Icon" to "Item".
8456 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8458 * BufferView.C (lockInset): another bad getchar crunched
8460 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8462 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8465 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8467 * lyxfind.C (searchForward, searchBackwards): bug 782
8469 2003-04-07 John Levon <levon@movementarian.org>
8471 * paragraph.C: remove dead comment
8473 * text.C: remove troublesome depth-fiddling code
8474 in leftMargin() and rightMargin() (bug 1017)
8476 * text.C: fix breaking of rows in nested lists
8479 * text2.C (updateCounters): fix up depth values
8482 2003-04-07 John Levon <levon@movementarian.org>
8484 * BufferView_pimpl.C: clear message when doc finishes resizing,
8485 and after a mouse event
8487 * lyxfunc.C: clear message after exiting inset
8489 2003-04-07 John Levon <levon@movementarian.org>
8491 * bufferview_funcs.C: show math status not outside
8492 status in the statusbar
8494 2003-04-07 John Levon <levon@movementarian.org>
8496 * lyxfunc.C: note status changed after a depth change
8498 2003-04-04 Angus Leeming <leeming@lyx.org>
8500 * LaTeX.h: move AuxInfo operator==, != out of line.
8501 Remove LaTeX virtual destructor; nothing derives from it.
8502 Move operator()() out of public area and rename it startscript().
8503 Change protected for private.
8505 2003-04-04 Angus Leeming <leeming@lyx.org>
8508 * text2.C: remove unneeded #includes.
8510 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8512 * text2.C (dEPM): fix the heigth of the next row
8514 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8516 * text.C: squashed an invalid getChar requester + some ws changes
8518 2003-04-03 John Levon <levon@movementarian.org>
8520 * bufferview_funcs.h:
8521 * bufferview_funcs.C:
8524 * text2.C: make getStatus work for the env depth lfuns
8526 2003-04-03 John Levon <levon@movementarian.org>
8528 * bufferview_funcs.h:
8529 * bufferview_funcs.C:
8532 * text2.C: parlistize decDepth(), by merging it with incDepth()
8534 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8536 * lyxrow.h: store a ParagraphList::iterator instead of a
8537 Paragraph* and adjust other class functions to suit.
8539 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8542 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8544 * text2.C (setCursor): do not anchor to cursor row for the time being
8546 2003-04-02 John Levon <levon@movementarian.org>
8553 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8555 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8557 * paragraph.h: make ParagraphList and ParagraphList::iterator
8558 friends of Paragraph.
8560 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8562 * ParagraphList.C: Use the private next_ and previous_ from
8565 2003-04-01 John Levon <levon@movementarian.org>
8569 * Makefile.am: rename, remove defaults gunk
8572 * MenuBackend.C: remove defaults gunk
8575 * Languages.C: remove defaults gunk
8578 * lyx_main.C: error out if files couldn't be found.
8580 2003-04-02 John Levon <levon@movementarian.org>
8582 * text2.C: make incDepth() use parlist
8584 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8586 * undo_funcs.C (firstUndoParagraph): adjust
8588 * text3.C (gotoInset): adjust
8589 (dispatch): adjust, and rewrite loop.
8591 * text2.C (init): adjust, and rewrite loop.
8592 (redoParagraphs): adjust
8593 (updateInset): adjust, and rewrite loop.
8594 (deleteEmptyParagraphMechanism): adjust
8596 * tabular.C (LyXTabular): adjust
8597 (SetMultiColumn): adjust
8600 * lyxtext.[Ch] (ownerParagraph): delete function
8601 (ownerParagraphs): new function returns a ParagraphList.
8603 * BufferView.C (removeAutoInsets): adjust
8604 (insertErrors): adjust
8605 (setCursorFromRow): adjust
8607 2003-04-01 Angus Leeming <leeming@lyx.org>
8609 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8612 2003-04-02 John Levon <levon@movementarian.org>
8618 * text_funcs.C: make transposeChars a free function
8620 * lyxrow_funcs.C: remove wrong comment
8622 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8625 * rowpainter.C: adjust
8630 * lyxrow_funcs. [Ch]: new files
8632 * lyxrow.[Ch]: remove next and previous pointers
8633 (next,previous): remove accessor functions
8634 (isParEnd): move to lyxrow_funcs
8635 (lastPos): move to lyxrow_funcs
8636 (nextRowIsAllInset): move to lyxrow_funcs
8637 (lastPrintablePos): move to lyxrow_funcs
8638 (numberOfSeparators): move to lyxrow_funcs
8639 (numberOfHfills): move to lyxrow_funcs
8640 (numberOfLabelHfills): move to lyxrow_funcs
8641 (hfillExpansion): move to lyxrow_funcs
8645 * bufferview_funcs.C (toggleAndShow): adjust
8647 * RowList.h: Remove class RowList from file leave just a
8650 * RowList.C: delete file
8652 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8655 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8657 * text3.C (cursorPrevious): adjust
8658 (cursorNext): adjust
8661 * text2.C (redoHeightOfParagraph): adjust
8662 (redoDrawingOfParagraph): adjust
8665 * text.C (breakParagraph): adjust
8666 (insertChar): adjust
8669 * rowpainter.C (RowPainter): adjust
8670 (leftMargin): simplify and adjust
8671 (most rowpainter functions): adjust.
8673 * rowpainter.h: store the row as RowList::iterator not as Row*
8675 * lyxcursor.C (row): taka RowList::iterator as arg
8678 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8681 2003-04-01 Angus Leeming <leeming@lyx.org>
8683 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8684 stuff like bool Bool.
8686 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8688 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8691 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8693 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8696 * lyxtext.h (rows): drop one version and leve a const variant that
8697 returns a RowList::iterator.
8699 2003-03-31 Angus Leeming <leeming@lyx.org>
8701 * text.C (fill): ensure that the signature is the same as that in the
8704 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8706 * text2.C (redoParagraphs): adjust
8707 (updateCounters): adjust
8708 (checkParagraph): adjust
8709 (getColumnNearX): adjust and reformat a bit.
8711 * text.C (top_y): adjust
8713 (leftMargin): adjust
8714 (prepareToPrint): adjust
8716 (getRowNearY): adjust
8718 * lyxtext.h: make rowlist_ mutable.
8720 * RowList.h: add const_iterator
8721 * RowList.C: adjust for RowList::const_iterator.
8723 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8726 2003-03-31 John Levon <levon@movementarian.org>
8729 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8731 * lyx_main.C: set default fonts from using lyx_gui funcs
8733 * exporter.C: pdf_mode moved from lyxrc
8736 * lyxfunc.C: changes from above
8738 2003-03-31 John Levon <levon@movementarian.org>
8740 * lyx_main.C: fix to the last fix
8742 2003-03-31 John Levon <levon@movementarian.org>
8744 * bufferlist.C: "Load original" -> "Load Original"
8750 * format.C: more Alert cleanups
8752 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8754 * text2.C (removeParagraph): make it take a RowList::iterator as
8756 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8757 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8759 * text.C (anchor_row): make it take a RowList::iterator as arg,
8761 (computeBidiTables): make it take a const reference to Row instead
8762 of Row pointer, adjust.
8763 (leftMargin): make it take a RowList::iterator as arg, adjust.
8764 (rowBreakPoint): adjust
8765 (breakAgainOneRow): make it take a RowList::iterator as arg,
8767 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8769 * bufferview_funcs.C (toggleAndShow): adjust
8771 2003-03-30 John Levon <levon@movementarian.org>
8775 * boost-inst.C: moved to support
8777 * several files: changes as a result
8779 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8781 * text2.C (LyXText): adjust.
8783 (removeRow): make it take a RowList::iterator as arg, adjust.
8784 (fullRebreak): adjust
8785 (deleteEmptyParagraphMechanism): adjust
8786 (clearPaint): adjust
8789 * text.C (top_y): adjust
8790 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8791 (breakAgain): make it take a RowList::iterator as arg, adjust.
8792 (breakParagraph): adjust
8793 (insertChar): adjust
8796 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8797 need_break_row, and refresh_row.
8799 * text3.C (dispatch): adjust
8801 * text2.C (checkParagraph): adjust
8803 (setCursorFromCoordinates): adjust
8805 * text.C (top_y): adjust
8807 (getRow): make it return a RowList::iterator, adjust
8808 (getRowNearY): make it return a RowList::iterator, adjust
8810 * text2.C (init): adjust
8811 (insertRow): remove function
8812 (insertParagraph): adjust
8813 (redoParagraphs): adjust
8814 (fullRebreak): adjust
8815 (updateCounters): adjust
8817 * text.C (top_y): rewrite to use RowList iterators.
8819 (setHeightOfRow): rewrite to sue RowList iterators.
8820 (appendParagraph): adjust
8821 (breakAgain): adjust
8822 (breakAgainOneRow): adjust
8823 (breakParagraph): adjust
8825 (getRowNearY): adjust, and remove commented code.
8827 * lyxtext.h (firstRow): delete function
8828 (lastRow): delete function
8829 (rows): new function (const and non-const versions.)
8830 (insertRow): delete function
8832 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8834 2003-03-29 John Levon <levon@movementarian.org>
8836 * BufferView_pimpl.C: always update scrollbar top
8837 because pasting text when we're anchored could mean we
8838 miss an update altogether
8840 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8842 * text2.C (init): use rowlist_.end() and not 0.
8843 (insertRow): change to take a RowList::iterator as arg, adjust
8845 (insertParagraph): change to take a RowList::iterator as arg,
8847 (redoParagraphs): remove some debug msgs.
8849 * text.C (appendParagraph): change to take a RowList::iterator
8850 arg, adjust for this.
8851 (breakAgain): add an assert
8852 (breakAgainOneRow): ditto
8854 2003-03-29 John Levon <levon@movementarian.org>
8856 * text2.C: do not clear selection after inc/decDepth
8859 2003-03-29 John Levon <levon@movementarian.org>
8862 * buffer.C: fix broken strerrors according to Lars
8864 2003-03-29 John Levon <levon@movementarian.org>
8866 * converters.C: more Alert cleanups
8868 2003-03-29 John Levon <levon@movementarian.org>
8870 * bufferview_funcs.C: remove pointless Alert
8872 * buffer.C: fix confusing error message when
8873 a template is chmoded 000
8875 2003-03-29 John Levon <levon@movementarian.org>
8879 * BufferView_pimpl.C: Alert fixes
8883 * tabular-old.C: remove unused table compat reading
8885 2003-03-29 John Levon <levon@movementarian.org>
8890 * lyx_cb.C: more Alert cleanups
8892 * lyxfunc.C: don't allow chktex if not latex document
8894 2003-03-29 John Levon <levon@movementarian.org>
8898 * buffer.C: warnings pushed down from support/,
8901 2003-03-29 John Levon <levon@movementarian.org>
8903 * lyxfunc.C: safety check for C-r (revert)
8905 2003-03-29 John Levon <levon@movementarian.org>
8908 * bufferlist.C: several UI fixes using Alert::prompt.
8909 Fix the pointless looping quit code. Fix stupid revert
8914 * lyx_cb.C: use Alert::prompt
8916 * lyx_main.C: remove a silly question
8918 * lyxfunc.C: remove a couple of silly questions,
8921 2003-03-28 John Levon <levon@movementarian.org>
8923 * text2.C: fix bug 974 (End on empty par)
8925 2003-03-28 John Levon <levon@movementarian.org>
8927 * BufferView_pimpl.C:
8929 * lfuns.h: remove do-nothing math greek lfuns
8931 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8933 * lyxgluelength.h (isValidGlueLength): add default arg on
8934 parameter 2. Remove default arg from friend in class.
8936 * lyxlength.h (isValidLength): add default arg on parameter 2.
8937 Remove default arg from friend in class.
8939 * text2.C (LyXText): adjust, initialize refresh_row.
8943 (insertParagraph): adjst
8944 (redoParagraphs): adjust
8945 (fullRebreak): adjust
8946 (updateCounters): adjust
8947 (deleteEmptyParagraphMechanism): first attempt at fixing a
8950 * text.C (top_y): adjust
8951 (setHeightOfRow): adjust
8953 (getRowNearY): adjust
8955 * lyxtext.h: include RowList.h
8956 (~LyXText): not needed anymore, deleted.
8957 (firstRow): modify for RowList
8958 (lastRow): new function
8959 Delete firstrow and lastrow class variables, add a Rowlist
8960 rowlist_ class variable.
8962 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8965 * RowList.C (insert): fix case where it == begin().
8967 2003-03-26 Angus Leeming <leeming@lyx.org>
8969 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8970 the thesaurus dialog.
8972 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8974 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8976 * RowList.[Ch]: new files
8978 * ParagraphList.C (erase): handle the case where it == begin
8981 2003-03-25 John Levon <levon@movementarian.org>
8985 * aspell.C: add new aspell support
8988 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8991 2003-03-25 Angus Leeming <leeming@lyx.org>
8994 * LyXAction.C (init): new LFUN_INSET_INSERT.
8996 * BufferView_pimpl.C (dispatch): split out part of the
8997 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8999 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9002 2003-03-25 Angus Leeming <leeming@lyx.org>
9004 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9006 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9009 * text3.C: remove useless row->height(0)
9011 2003-03-25 John Levon <levon@movementarian.org>
9015 * text3.C: rename the refreshing stuff to better names
9017 2003-03-24 John Levon <levon@movementarian.org>
9019 * BufferView_pimpl.h:
9020 * BufferView_pimpl.C: update layout choice on a mouse
9023 2003-03-23 John Levon <levon@movementarian.org>
9025 * Makefile.am: fix commandtags.h reference
9027 2003-03-22 John Levon <levon@movementarian.org>
9029 * BufferView_pimpl.C:
9034 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9036 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9039 * text.C: take the rtl methods out of line
9041 2003-03-21 André Pönitz <poenitz@gmx.net>
9043 * metricsinfo.[Ch]: new files containing structures to be passed around
9044 during the two-phase-drawing...
9046 2003-03-21 André Pönitz <poenitz@gmx.net>
9048 * lyxtextclass.C: read 'environment' tag.
9050 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9052 * text2.C (removeRow): fix bug 964
9054 2003-03-20 John Levon <levon@movementarian.org>
9058 * text2.C: paint cleanups. Inset::update() dropped font
9061 2003-03-19 John Levon <levon@movementarian.org>
9063 * lyxfunc.C: only fitcursor/markDirty if available()
9065 2003-03-19 John Levon <levon@movementarian.org>
9067 * commandtags.h: rename to ...
9069 * lfuns.h: ... this, and renumber / cleanup
9071 2003-03-19 John Levon <levon@movementarian.org>
9073 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9074 fit the cursor after an lfun
9078 * BufferView_pimpl.h:
9079 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9081 * LyXAction.C: layout-character should have ReadOnly
9083 * ParagraphParameters.C:
9085 * bufferview_funcs.C:
9092 * undo_funcs.C: changes from above
9094 2003-03-18 John Levon <levon@movementarian.org>
9096 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9097 remove it from update()
9099 * lyxfunc.C: update layout choice after an lfun
9101 * text3.C: remove extra updateLayoutChoice()s
9103 2003-03-18 John Levon <levon@movementarian.org>
9105 * text.C: top_y change means full repaint, fix
9106 a drawing bug with cursor movement
9108 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9112 * text2.C: anchor row on setCursor
9114 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9116 * lyxtext.h: remove almost all mutable keywords
9119 * text3.C: remove const keywords accordingly
9121 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9123 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9125 (TeXEnvironment): ditto
9128 2003-03-17 John Levon <levon@movementarian.org>
9130 * text.C (rowBreakPoint): remove attempt to fix displayed
9131 math insets inside a manual label
9133 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9135 * lyxtext.h: remove BufferView* as first arg from almost all class
9137 * other files: adjust.
9139 2003-03-17 John Levon <levon@movementarian.org>
9143 * text2.C: more paint cleanups
9145 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9148 * rowpainter.C: remove "smart" background painting code
9150 2003-03-16 John Levon <levon@movementarian.org>
9155 * text3.C: add helper functions for setting refresh_row/y
9157 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9159 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9160 newline inset which *can* get inserted in the pass_thru layouts.
9161 This is primarily for literate documents.
9163 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9165 * buffer.C: increment LYX_FORMAT to 223
9167 2003-03-14 André Pönitz <poenitz@gmx.net>
9169 * textclass.h: prepare for environment handling, ws changes
9170 * lyxlayout.C: read latexheader and latexfooter tags
9172 2003-03-14 John Levon <levon@movementarian.org>
9174 * text2.C: rewrite ::status() a bit
9176 2003-03-13 John Levon <levon@movementarian.org>
9178 * lyxtext.h: add some docs
9180 2003-03-13 John Levon <levon@movementarian.org>
9185 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9187 2003-03-13 John Levon <levon@movementarian.org>
9189 * text3.C: fix appendix redrawing
9191 2003-03-13 John Levon <levon@movementarian.org>
9193 * text.C (setHeightOfRow):
9195 * rowpainter.C: make appendix mark have the text
9196 "Appendix" so the user knows what it is
9199 * LColor.C: s/appendixline/appendix/ from above
9201 2003-03-13 John Levon <levon@movementarian.org>
9203 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9205 * text.C: fix a getChar(pos) bug properly
9207 2003-03-13 Angus Leeming <leeming@lyx.org>
9210 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9211 Probably only temporary. Let's see how things pan out.
9213 * BufferView.C (unlockInset):
9214 * BufferView_pimpl.C (fitCursor):
9215 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9217 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9218 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9220 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9221 new functions that convert ParagraphParameters to and from a string.
9223 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9224 BufferView::Pimpl's dispatch.
9225 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9227 2003-03-13 André Pönitz <poenitz@gmx.net>
9231 * factory.C: make it aware of InsetEnv
9233 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9235 * text2.C (setCursor): never ask for one past last
9236 (setCursor): add some debugging messages.
9238 * text.C (singleWidth): never ask for one past last
9239 (singleWidth): ditto
9241 (rightMargin): ditto
9242 (rowBreakPoint): ditto
9243 (setHeightOfRow): ditto
9244 (prepareToPrint): ditto
9246 * rowpainter.C (paintBackground): never ask for one past last
9247 (paintText): never ask for one past last
9249 * paragraph_pimpl.C (getChar): make the assert stricter, never
9250 allow the one past last pos to be taken
9252 * paragraph.C (getChar): ws changes only
9254 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9255 (numberOfSeparators): ditto
9256 (numberOfHfills): ditto
9258 2003-03-12 John Levon <levon@movementarian.org>
9264 * paragraph_funcs.C: fix per-buffer authorlists
9266 2003-03-12 John Levon <levon@movementarian.org>
9268 * text.C: fix newline in right address
9270 2003-03-12 Angus Leeming <leeming@lyx.org>
9272 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9273 duplicate those in LyXFunc::dispatch.
9277 * ToolbarDefaults.C:
9278 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9279 Add LFUN_FONTFREE_UPDATE.
9281 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9282 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9284 * bufferview_func.[Ch]: several new functions to facilliate
9285 transfer of data to and from the character dialog.
9287 2003-03-12 John Levon <levon@movementarian.org>
9292 * paragraph_funcs.C:
9293 * paragraph_pimpl.C:
9297 * text3.C: remove META_NEWLINE in favour of an inset
9300 * rowpainter.C: remove paintNewline (done by inset)
9302 2003-03-12 John Levon <levon@movementarian.org>
9304 * paragraph_pimpl.C: complain about bad getChar()s
9305 for a while at least
9307 2003-03-12 John Levon <levon@movementarian.org>
9310 * buffer.C: move paragraph read into a separate function,
9311 a little renaming to reflect that.
9314 * bufferparams.C: remove the author_ids map, not necessary now
9317 * factory.C: moved Buffer::readInset to here
9319 * paragraph_funcs.h:
9320 * paragraph_funcs.C: readParagraph free function moved from
9323 * tabular.C: name change
9325 2003-03-12 John Levon <levon@movementarian.org>
9328 * ParagraphParameters.C: move par params input to
9331 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9332 behave like a normal read from the stream wrt reading
9333 a line vs. a \\token
9335 2003-03-12 John Levon <levon@movementarian.org>
9338 * ParagraphParameters.h:
9339 * ParagraphParameters.C: move output code to a
9342 2003-03-12 John Levon <levon@movementarian.org>
9344 * BufferView.C (insertLyXFile):
9347 * tabular.C: use a parlist iterator for creating the
9350 2003-03-12 John Levon <levon@movementarian.org>
9352 * buffer.C: make current_change static local not
9355 2003-03-12 John Levon <levon@movementarian.org>
9357 * buffer.C: fix insertStringAsLines for change tracking
9359 2003-03-12 John Levon <levon@movementarian.org>
9366 * bufferparams.C: move author list into params. Rename some
9367 functions. Move the header reading into a separate token
9368 loop. Move the header token reading into BufferParams.
9370 2003-03-12 John Levon <levon@movementarian.org>
9372 * changes.C: put debug inside lyxerr.debugging() checks
9374 2003-03-11 André Pönitz <poenitz@gmx.net>
9376 * factory.C: make it aware of InsetHFill
9378 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9380 * buffer.C (latexParagraphs): move function from here...
9381 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9384 2003-03-10 Angus Leeming <leeming@lyx.org>
9386 * LyXAction.C (init): fix bug in poplating array with multiple entries
9387 with the same LFUN (spotted by JMarc).
9389 2003-03-10 John Levon <levon@movementarian.org>
9392 * text2.C: move getColumnNearX() near its
9395 2003-03-10 John Levon <levon@movementarian.org>
9397 * text.C: fix break before a minipage
9399 2003-03-10 John Levon <levon@movementarian.org>
9401 * text.C: fix the last commit
9403 2003-03-09 John Levon <levon@movementarian.org>
9407 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9408 bug 365 (don't break before insets unless needed). Don't
9409 return a value > last under any circumstances.
9411 2003-03-09 Angus Leeming <leeming@lyx.org>
9413 * BufferView_pimpl.C (trackChanges, dispatch): call
9414 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9416 2003-03-09 Angus Leeming <leeming@lyx.org>
9418 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9419 than Dialogs::showAboutlyx().
9421 2003-03-09 Angus Leeming <leeming@lyx.org>
9423 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9424 than Dialogs::showTabularCreate().
9426 2003-03-09 John Levon <levon@movementarian.org>
9430 * text2.C: 3rd arg to nextBreakPoint was always the same.
9433 2003-03-08 John Levon <levon@movementarian.org>
9440 * text2.C: Remove the "main" bit from the "main body"
9443 2003-03-08 John Levon <levon@movementarian.org>
9445 * text.C (leftMargin): The left margin of an empty
9446 manual label paragraph should not include the label width
9449 * text.C (prepareToPrint): don't attempt to measure hfills
9450 for empty manual label paragraphs - the answer should be 0
9452 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9454 * CutAndPaste.C: remove commented code and reindent.
9456 2003-03-08 John Levon <levon@movementarian.org>
9459 * lyxfunc.C: move reloadBuffer()
9462 * BufferView.C: to here
9464 * lyxvc.C: add comment
9467 * vc-backend.C: call bv->reload() to avoid
9468 getStatus() check on MENURELOAD
9470 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9472 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9473 to an old format .dep file.
9475 2003-03-07 Angus Leeming <leeming@lyx.org>
9477 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9478 when the LFUN_MOUSE_RELEASE should have been handled by
9479 inset->localDispatch.
9481 2003-03-07 Angus Leeming <leeming@lyx.org>
9483 * BufferView_pimpl.C (dispatch):
9484 * LyXAction.C (init):
9485 * ToolbarDefaults.C (init):
9487 * lyxfunc.C (getStatus):
9488 remove LFUN_INSET_GRAPHICS.
9490 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9492 2003-03-07 Angus Leeming <leeming@lyx.org>
9495 * LyXAction.C (init):
9496 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9498 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9501 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9503 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9504 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9506 2003-03-07 Angus Leeming <leeming@lyx.org>
9508 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9511 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9513 * ParagraphList.C (front): new function
9516 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9518 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9519 and top_row_offset_. removed var first_y.
9521 * text2.C (LyXText, removeRow):
9523 * BufferView_pimpl.C:
9524 use these methods instead of using first_y
9526 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9528 * text2.C (pasteSelection): adjust for checkPastePossible
9530 * CutAndPaste.C: remove Paragraph * buf and replace with
9531 ParagraphList paragraphs.
9532 (DeleteBuffer): delete
9533 (cutSelection): change the tc type to textclass_type
9534 (copySelection): change the tc type to textclass_type
9535 (copySelection): adjust for ParagraphList
9536 (pasteSelection): change the tc type to textclass_type
9537 (pasteSelection): adjust for Paragraphlist
9538 (nrOfParagraphs): simplify for ParagraphList
9539 (checkPastePossible): simplify for ParagraphList
9540 (checkPastePossible): remove unused arg
9542 * ParagraphList.C (insert): handle the case where there are no
9545 * CutAndPaste.h: make CutAndPaste a namespace.
9547 * text3.C (dispatch): adjust
9549 * text.C (breakParagraph): add a ParagraphList as arg
9551 * paragraph_funcs.C (breakParagraph): change to take a
9552 BufferParams and a ParagraphList as args.
9553 (breakParagraphConservative): ditto
9554 (mergeParagraph): ditto
9555 (TeXDeeper): add a ParagraphList arg
9556 (TeXEnvironment): ditto
9559 * buffer.C (readLyXformat2): adjust
9560 (insertStringAsLines): adjust
9561 (latexParagraphs): adjust
9563 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9564 (cutSelection): adjust
9565 (pasteSelection): adjust
9567 * BufferView_pimpl.C (insertInset): adjust
9569 2003-03-05 Angus Leeming <leeming@lyx.org>
9572 * LyXAction.C (init):
9573 * BufferView_pimpl.C (dispatch):
9574 * lyxfunc.C (getStatus):
9575 remove LFUN_CHILD_INSERT.
9577 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9579 2003-03-05 Angus Leeming <leeming@lyx.org>
9582 * LyXAction.C (init):
9583 * src/factory.C (createInset):
9584 * lyxfunc.C (getStatus):
9585 * text3.C (dispatch):
9586 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9588 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9590 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9592 * ParagraphList.C (insert): handle insert right before end()
9593 (erase): fix cases where it can be first or last paragraph.
9595 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9597 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9598 Paragraph::next and Paragraph::previous
9601 * text.C (breakParagraph): adjust
9603 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9604 BufferParams& as arg.
9605 (breakParagraph): use ParagraphList::insert
9606 (breakParagraphConservative): take a Buffer* instead of a
9607 BufferParams& as arg.
9608 (breakParagraphConservative): use ParagraphList::insert.
9610 * buffer.C (insertStringAsLines): un-const it
9611 (insertStringAsLines): adjust
9613 * ParagraphList.C (insert): new function
9615 * CutAndPaste.C (pasteSelection): adjust
9617 * text.C (backspace): adjust
9619 * tabular.C (SetMultiColumn): adjust
9621 * CutAndPaste.C (cutSelection): adjust
9622 (pasteSelection): adjust
9624 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9625 Buffer const * as arg
9627 * ParagraphList.C (erase): new function
9628 * paragraph_funcs.C (mergeParagraph): use it
9629 (mergeParagraph): make it take a Buffer* instead of a
9630 BufferParams* as arg
9632 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9634 (breakParagraphConservative): ditto
9636 * paragraph.h: remove the breakParagraph friend
9638 * paragraph.C (eraseIntern): new function
9639 (setChange): new function
9641 * paragraph_funcs.C (mergeParagraph): make it take a
9642 ParagraphList::iterator instead of a Paragraph *, adjust
9645 * paragraph.h: move an #endif so that the change tracking stuff
9646 also works in the NO_NEXT case.
9648 2003-03-04 Angus Leeming <leeming@lyx.org>
9651 * LyXAction.C: new LFUN_INSET_MODIFY.
9653 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9654 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9656 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9658 * several files: ws changes only
9660 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9661 (TeXEnvironment): ditto
9664 * buffer.C (makeLaTeXFile): adjust
9665 (latexParagraphs): make it take ParagraphList::iterator as args
9667 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9669 * buffer.C (latexParagraphs): adjust
9671 * paragraph.C (TeXOnePar): move function...
9672 (optArgInset): move function...
9673 (TeXEnvironment): move function...
9674 * paragraph_pimpl.C (TeXDeeper): move function...
9675 * paragraph_funcs.C: ...here
9677 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9679 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9681 * buffer.C (readInset): remove compability code for old Figure and
9684 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9686 * buffer.C: ws changes
9689 * BufferView_pimpl.C: ditto
9692 * bufferlist.h: ditto
9696 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9698 * converter.[Ch]: split into itself +
9701 * Makefile.am: += graph.[Ch] + format.[Ch]
9708 * lyxrc.C: added #include "format.h"
9710 2003-02-27 Angus Leeming <leeming@lyx.org>
9712 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9715 * factory.C (createInset): add "label" to the factory.
9717 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9718 string and do no more.
9720 2003-02-27 Angus Leeming <leeming@lyx.org>
9723 * LyXAction.C (init):
9724 * factory.C (createInset):
9725 * BufferView_pimpl.C (dispatch):
9726 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9728 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9730 * lyxfunc.C (dispatch):
9731 * text3.C (dispatch): pass name to params2string.
9733 2003-02-26 Angus Leeming <leeming@lyx.org>
9735 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9737 Rearrange the ~includes. Strip out the unnecessary ones.
9739 * factory.C (createInset): reformat.
9740 create new insets for the various LFUN_XYZ_APPLY lfuns.
9742 2003-02-26 John Levon <levon@movementarian.org>
9745 * lyxrow.C: add isParStart,isParEnd helpers
9747 * paragraph.h: make isInserted/DeletedText take refs
9749 * paragraph_funcs.h:
9750 * paragraph_funcs.C: remove #if 0'd code
9755 * text.C: use lyxrow helpers above.
9756 Move draw and paint routines to RowPainter.
9757 Make several methods use refs not pointers.
9758 Make backgroundColor() const.
9759 Add markChangeInDraw(), isInInset().
9760 Merge changeRegionCase into changeCase.
9761 Make workWidth() shouldn't-happen code into an Assert.
9764 * rowpainter.C: new class for painting a row.
9767 * vspace.C: make inPixels take a ref
9769 2003-02-26 Angus Leeming <leeming@lyx.org>
9771 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9774 2003-02-25 John Levon <levon@movementarian.org>
9776 * ispell.C: give the forked command a more accurate name
9778 2003-02-22 John Levon <levon@movementarian.org>
9781 * toc.C: make TocItem store an id not a Paragraph *
9784 2003-02-21 Angus Leeming <leeming@lyx.org>
9786 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9787 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9788 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9789 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9790 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9791 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9793 * BufferView_pimpl.C (dispatch):
9794 * LyXAction.C (init):
9795 * factory.C (createInset):
9796 * lyxfunc.C (getStatus, dispatch):
9797 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9799 2003-02-21 Angus Leeming <leeming@lyx.org>
9801 * BufferView_pimpl.C (MenuInsertLyXFile):
9802 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9803 * lyxfunc.C (menuNew, open, doImport):
9804 no longer pass a LyXView & to fileDlg.
9806 2003-02-21 Angus Leeming <leeming@lyx.org>
9808 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9809 * LyXAction.C: change, BIBKEY to BIBITEM.
9810 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9811 Change InsetBibKey to InsetBibitem.
9812 Change BIBKEY_CODE to BIBITEM_CODE.
9813 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9814 * factory.C: replace insetbib.h with insetbibitem.h.
9815 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9816 * paragraph.C: replace insetbib.h with insetbibitem.h.
9817 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9818 Change bibkey() to bibitem().
9819 * text.C: remove insetbib.h.
9820 * text2.C: replace insetbib.h with insetbibitem.h.
9821 change bibkey() to bibitem().
9822 * text3.C: remove insetbib.h.
9823 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9825 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9827 * lyxrc.C (output): enclose user email in quotes (in case there are
9830 2003-02-18 John Levon <levon@movementarian.org>
9832 * buffer.h: add std::
9834 2003-02-17 John Levon <levon@movementarian.org>
9840 * pspell.C: reworking. Especially in ispell, a large
9841 number of clean ups and bug fixes.
9843 * lyxfunc.C: fix revert to behave sensibly
9845 2003-02-17 André Pönitz <poenitz@gmx.net>
9848 * commandtags.h: new LFUN_INSERT_BIBKEY
9858 * paragraph_func.C: remove special bibkey handling
9860 2003-02-17 John Levon <levon@movementarian.org>
9862 * text.C (Delete): fix case where delete at the end of
9863 the very first paragraph would not merge the pars
9865 2003-02-17 John Levon <levon@movementarian.org>
9867 * lyxrow.C: fix lastPrintablePos()
9869 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9871 * bufferparams.C (writeLaTeX): add a std:here
9873 * buffer.C: and remove a using directive there
9875 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9877 * buffer.C (makeLaTeXFile): move the code that generates the
9880 * bufferparams.C (writeLaTeX): ... in this new method
9882 * LaTeXFeatures.C (getEncodingSet): make const
9883 (getLanguages): make const
9885 * MenuBackend.C (binding): returns the binding associated to this
9887 (add): sets the status of each item by calling getStatus. Adds
9889 (read): add support for OptSubMenu
9890 (expand): remove extra separator at the end of expanded menu
9892 2003-02-15 John Levon <levon@movementarian.org>
9895 * BufferView_pimpl.C:
9897 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9898 inset code that had no actual effect. Remove unneeded status
9901 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9903 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9906 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9908 * text.C (drawLengthMarker): also draw an arrow marker for
9909 symbolic lengths (medskip...)
9911 2003-02-14 John Levon <levon@movementarian.org>
9914 * tabular.C: better method names
9916 2003-02-14 John Levon <levon@movementarian.org>
9918 * BufferView_pimpl.C:
9923 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9924 it's a more accurate name. Remove some pointless uses.
9926 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9928 * text2.C (LyXText): change order of initilizers to shut off
9931 2003-02-14 John Levon <levon@movementarian.org>
9933 * buffer.C: use ParIterator for getParFromID()
9937 * paragraph_pimpl.h:
9938 * paragraph_pimpl.C: remove unused getParFromID()
9940 2003-02-14 John Levon <levon@movementarian.org>
9942 * buffer.C: remove some very old #if 0'd parse code
9944 2003-02-13 John Levon <levon@movementarian.org>
9948 * text2.C: move hfillExpansion(), numberOfSeparators(),
9949 rowLast(), rowLastPrintable(), numberofHfills(),
9950 numberOfLabelHfills() ...
9953 * lyxrow.C: ... to member functions here.
9958 * text.C: remove LyXText::beginningOfMainBody(), and call
9959 p->beginningOfMainBody() directly. Move the check for
9960 LABEL_MANUAL into the latter.
9967 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9973 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9974 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9976 2003-02-13 John Levon <levon@movementarian.org>
9978 * CutAndPaste.C: remove debug
9980 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9982 * paragraph.C (asString): remove two unused variables
9984 * lyxtextclass.C (readTitleType):
9986 (LyXTextClass): handle new members titletype_ and titlename_
9988 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9990 2003-02-09 John Levon <levon@movementarian.org>
9993 * buffer.C: replace hand-coded list with a map for the dep clean
9995 2003-02-08 John Levon <levon@movementarian.org>
9997 * LaTeX.C: consolidate code into showRunMessage() helper
9999 2003-02-08 John Levon <levon@movementarian.org>
10004 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10005 and pass the size in explicitly
10007 * BufferView_pimpl.h:
10008 * BufferView_pimpl.C:
10010 * BufferView.C: add getCurrentChange()
10012 * BufferView_pimpl.h:
10013 * BufferView_pimpl.C: handle change lfuns
10015 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10016 for changes. Mark pasted paragraphs as new.
10018 * support/lyxtime.h:
10019 * support/lyxtime.C:
10020 * DepTable.C: abstract time_t as lyx::time_type
10023 * LColor.C: add colours for new text, deleted text, changebars
10025 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10026 package use "usenames" option.
10030 * LyXAction.C: add change lfuns
10034 * author.C: author handling
10037 * buffer.C: add a per-buffer author list, with first entry as
10038 current author. Handle new .lyx tokens for change tracking. Output
10039 author list to .lyx file. Output dvipost stuff to .tex preamble.
10040 Bump lyx format to 222.
10043 * bufferlist.C: add setCurrentAuthor() to reset current author details
10047 * bufferparams.C: add param for tracking
10049 * bufferview_funcs.C: output change info in minibuffer
10053 * changes.C: add change-tracking structure
10056 * debug.C: add CHANGES debug flag
10059 * lyxfind.C: add code for finding the next change piece
10062 * lyxrc.C: add user_name and user_email
10065 * lyxrow.C: add a metric for the top of the text line
10068 * text.C: implement accept/rejectChange()
10071 * text.C: paint changebars. Paint new/deleted text in the chosen
10072 colours. Strike through deleted text.
10076 * paragraph_pimpl.h:
10077 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10078 in the current change to the insert functions. Rework erase to
10079 mark text as deleted, adding an eraseIntern() and a range-based
10080 erase(). Implement per-paragraph change lookup and
10083 * paragraph_funcs.C: Fixup paste for change tracking.
10085 * tabular.C: mark added row/columns as new.
10087 * text.C: fix rowLast() to never return -1. Don't allow
10088 spellchecking of deleted text. Track transpose changes. Don't
10089 allow paragraph break or merge where appropriate.
10091 * text2.C: leave cursor at end of selection after a cut.
10093 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10095 * text.C (getLengthMarkerHeight):
10096 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10097 visible on screen too.
10099 2003-02-07 John Levon <levon@movementarian.org>
10101 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10103 2003-02-05 Angus Leeming <leeming@lyx.org>
10105 * lyxserver.C (read_ready): revert my patch of 11 September last year
10106 as it sends PC cpu through the roof. Presumably this means that
10107 the lyxserver will no longer run on an Alpha...
10109 2003-01-30 Angus Leeming <leeming@lyx.org>
10111 * factory.C (createInset): create an InsetCommandParam of type "index"
10112 and use it to 'do the right thing'.
10114 * text2.C (getStringToIndex): ensure that cursor position is always
10115 reset to the reset_cursor position.
10117 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10119 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10122 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10126 * lyxfunc.C: Output messages with identical spelling, punctuation,
10129 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10131 * MenuBackend.C (expandFormats): List only viewable export formats
10134 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10137 * lyxfunc.C (getStatus): Make sure that formats other than
10138 "fax" can also be disabled
10140 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10142 * text3.C (dispatch): put the lfuns that insert insets in 3
10143 groups, and call doInsertInset with appropriate arguments.
10144 (doInsertInset): new function, that creates an inset and inserts
10145 it according to some boolean parameters.
10147 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10149 * buffer.C (readFile): remember to pass on 'par' when calling
10150 readFile recursively.
10152 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10154 * MenuBackend.C (expandFormats): add "..." to import formats.
10156 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10158 * paragraph.C (asString): Remove XForms RTL hacks.
10160 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10161 * buffer.C: fix typo
10163 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10165 * Makefile.am (LIBS): delete var
10166 (lyx_LDADD): add @LIBS@ here instead.
10168 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10170 * Clarify the meaning of "wheel mouse jump"
10172 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10174 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10177 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10179 * importer.C (Loaders): do not preallocate 3 elements in the
10180 vector, since one ends up with 6 elements otherwise
10182 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10184 * DepTable.C (write): write the file name as last element of the
10185 .dep file (because it may contain spaces)
10186 (read): read info in the right order
10188 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10190 * paragraph_pimpl.C (simpleTeXBlanks):
10191 (simpleTeXSpecialChars):
10192 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10194 * tabular.C (latex): add some missing case statements. Reindent.
10196 * MenuBackend.C (expandToc): remove unused variable.
10198 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10207 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10210 2003-01-05 John Levon <levon@movementarian.org>
10213 * BufferView.C: add getEncoding()
10216 * kbsequence.C: do not store last keypress
10219 * lyxfunc.C: store last keypress here instead. Pass encoding
10222 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10224 * lyx_main.C (init): remove annoying error message when following
10225 symbolic links (bug #780)
10227 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10229 * text.C (insertChar):
10230 * lyxrc.C (getDescription): remove extra spaces
10232 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10234 * lyxrc.C (getDescription): remove extra spaces
10236 2002-12-20 John Levon <levon@movementarian.org>
10238 * text3.C: hack fix for page up/down across tall rows
10240 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10242 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10245 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10247 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10248 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10249 thesaurus is not compiled in
10251 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10253 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10255 2002-12-16 Angus Leeming <leeming@lyx.org>
10258 * lyx_main.C (init): remove override_x_deadkeys stuff.
10260 2002-12-12 John Levon <levon@movementarian.org>
10262 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10263 insert. Only remove shift modifier under strict
10266 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10268 * MenuBackend.C (expandToc): fix crash.
10270 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10272 * MenuBackend.C (expandToc): gettext on float names.
10274 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10276 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10277 implement bool empty() [bug 490]
10279 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10281 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10283 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10285 * several files: ws changes
10287 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10289 * text2.C (setCounter): clean up a bit, use boost.format.
10290 (updateCounters): initialize par upon declaration.
10292 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10293 if the layout exists. We do not just store the layout any more.
10294 (SwitchLayoutsBetweenClasses): use boost.format
10296 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10298 * converter.C (convert): if from and to files are the same, use a
10299 temporary files as intermediary
10301 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10304 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10306 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10308 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10310 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10312 * tabular.C (asciiPrintCell): use string(size, char) instead of
10315 * sgml.C (openTag): fix order of arguments to string constructor
10318 * lyxfunc.C (dispatch): use boost.format
10320 * lots of files: change "c" -> 'c'
10322 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10324 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10326 2002-11-25 Angus Leeming <leeming@lyx.org>
10328 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10330 * lyx_main.C (init): compile fix.
10332 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10334 * lyx_cb.C (start): boost.formatify
10335 do not include <iostream>
10337 * lengthcommon.C: ws only
10339 * boost-inst.C,BoostFormat.h: add more explict instantations
10341 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10343 * lots of files: handle USE_BOOST_FORMAT
10345 2002-11-21 John Levon <levon@movementarian.org>
10347 * pspell.C: fix compile
10349 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10351 * lyxfunc.C (dispatch): use boost::format
10355 * lyxfont.C (stateText): use boost::format
10357 * lyx_main.C (LyX): use boost::format
10359 (queryUserLyXDir): ditto
10360 (readRcFile): ditto
10362 (typedef boost::function): use the recommened syntax.
10364 * importer.C (Import): use boost::format
10366 * debug.C (showLevel): use boost::format
10368 * converter.C (view): use boost::format
10373 * bufferview_funcs.C (currentState): use boost::format
10375 * bufferlist.C (emergencyWrite): use boost::format
10377 * buffer.C (readLyXformat2): use boost::format
10378 (parseSingleLyXformat2Token): ditto
10380 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10382 * LaTeX.C (run): use boost::format
10384 * Chktex.C (scanLogFile): use boost::format
10386 * BufferView_pimpl.C (savePosition): use boost::format
10387 (restorePosition): ditto
10388 (MenuInsertLyXFile): ditto
10390 * BoostFormat.h: help file for explicit instation.
10392 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10394 * tabular.C (latex): Support for block alignment in fixed width
10397 2002-11-17 John Levon <levon@movementarian.org>
10399 * BufferView_pimpl.C:
10401 * lyxfunc.C: split filedialog into open/save
10403 2002-11-08 Juergen Vigna <jug@sad.it>
10405 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10406 by my last patch (hopefully).
10408 2002-11-08 John Levon <levon@movementarian.org>
10417 * toc.C: ParConstIterator, and use it (from Lars)
10419 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10421 * lyxtextclass.[Ch]: revise and add doxygen comments
10423 2002-11-07 John Levon <levon@movementarian.org>
10425 * text.C: fix progress value for spellchecker
10427 * toc.C: fix navigate menu for insetwrap inside minipage
10429 * paragraph_funcs.C: added FIXME for suspect code
10431 2002-11-07 John Levon <levon@movementarian.org>
10433 * BufferView_pimpl.C: fix redrawing of insets
10436 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10438 * text2.C (updateCounters): fix bug 668
10440 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10442 * text3.C (dispatch): Do not make the buffer dirty when moving the
10445 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10447 * vc-backend.C: STRCONV
10448 (scanMaster): ditto
10450 * text2.C (setCounter): STRCONV
10452 * paragraph.C (asString): STRCONV
10454 * lyxlength.C (asString): STRCONV
10455 (asLatexString): ditto
10457 * lyxgluelength.C (asString): STRCONV
10458 (asLatexString): ditto
10460 * lyxfunc.C (dispatch): STRCONV
10463 * lyxfont.C (stateText): STRCONV
10465 * importer.C (Import): STRCONV
10467 * counters.C (labelItem): STRCONV
10468 (numberLabel): ditto
10469 (numberLabel): remove unused ostringstream o
10474 * bufferview_funcs.C (currentState): STRCONV
10476 * buffer.C (readFile): STRCONV
10477 (asciiParagraph): ditto
10478 (makeLaTeXFile): ditto
10480 * Spacing.C (writeEnvirBegin): STRCONV
10482 * LaTeXFeatures.C (getLanguages): STRCONV
10483 (getPackages): ditto
10485 (getBabelOptions): ditto
10486 (getTClassPreamble): ditto
10487 (getLyXSGMLEntities): ditto
10488 (getIncludedFiles): ditto
10492 (scanAuxFile): ditto
10495 * LString.h: add the STRCONV macros
10497 * BufferView_pimpl.C (savePosition): STRCONV
10498 (restorePosition): ditto
10499 (MenuInsertLyXFile): ditto
10501 * vc-backend.C (scanMaster): change from submatch[...] to
10504 * funcrequest.C: include config.h
10506 * factory.C: include config.h
10508 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10510 * box.C: include config.h
10512 * LaTeX.C (scanAuxFile): change from submatch[...] to
10516 2002-10-25 Angus Leeming <leeming@lyx.org>
10518 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10520 * ispell.[Ch] (setError): new method.
10521 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10522 Use setError() insetead of goto END.
10524 * lyx_cb.C (AutoSave): move out child process into new class
10527 2002-10-30 John Levon <levon@movementarian.org>
10529 * text3.C: make start appendix undoable
10531 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10533 * lyxlength.C (inPixels): Fix returned value.
10535 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10538 2002-10-24 Angus Leeming <leeming@lyx.org>
10540 * lyxgluelength.h: no need to forward declare BufferParams
10541 or BufferView, so don't.
10543 2002-10-21 John Levon <levon@movementarian.org>
10545 * BufferView.C: menuUndo ->undo, redo
10547 * BufferView.h: document, remove dead, make some methods private
10549 * paragraph_funcs.h:
10550 * paragraph_funcs.C:
10551 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10556 * sgml.C: move sgml open/close tag into sgml.C
10558 * bufferview_funcs.h: unused prototype
10561 * lyxfunc.C: remove unused
10564 * text.C: remove unused
10566 2002-10-21 John Levon <levon@movementarian.org>
10570 * BufferView_pimpl.h:
10571 * BufferView_pimpl.C: fix mouse wheel handling based on
10572 patch from Darren Freeman
10574 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10576 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10578 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10580 * lyxlength.C (inPixels): Fix hanfling of negative length.
10581 Fix LyXLength::MU case.
10583 2002-10-16 John Levon <levon@movementarian.org>
10585 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10587 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10589 * converter.C (view): add support for $$i (file name) and $$p
10590 (file path) for the viewer command. If $$i is not specified, then
10591 it is appended to the command (for compatibility with old syntax)
10593 2002-10-14 Juergen Vigna <jug@sad.it>
10595 * undo_funcs.C (textHandleUndo): alter the order in which the
10596 new undopar is added to the LyXText, as we have to set first
10597 the right prev/next and then add it as otherwise the rebuild of
10598 LyXText is not correct. Also reset the cursor to the right paragraph,
10599 with this IMO we could remove the hack in "redoParagraphs()".
10601 2002-10-09 Angus Leeming <leeming@lyx.org>
10603 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10604 to turn off an optimisation if a new inset is to be inserted.
10606 2002-10-11 André Pönitz <poenitz@gmx.net>
10608 * lyxtext.h: make some functions public to allow access
10609 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10611 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10613 * text3.C (dispatch): when changing layout, avoid an infinite loop
10616 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10618 * lyxrc.C (read): treat a viewer or converter command of "none" as
10621 * MenuBackend.C (expandFormats): for an update, also allow the
10622 formats that are not viewable
10624 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10625 script if it is newer than the lyxrc.defaults in user directory
10627 2002-10-07 André Pönitz <poenitz@gmx.net>
10629 * text.C: Vitaly Lipatov's small i18n fix
10631 2002-09-25 Angus Leeming <leeming@lyx.org>
10633 * ispell.h: doxygen fix.
10635 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10637 * buffer.h (readFile): Add a new argument to the method, to allow
10638 reading of old-format templates.
10640 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10642 * toc.C (getTocList): Get TOC from InsetWrap.
10644 2002-09-16 John Levon <levon@movementarian.org>
10646 * lyxfunc.C: check tabular for cut/copy too
10648 2002-09-12 John Levon <levon@movementarian.org>
10650 * LyXAction.C: tidy
10653 * factory.C: add header
10655 * paragraph_funcs.h:
10656 * paragraph_funcs.C: cleanup
10658 2002-09-11 John Levon <levon@movementarian.org>
10660 * PrinterParams.h: odd/even default to true
10662 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10664 * PrinterParams.h: update printer parameters for new xforms dialog
10666 2002-09-11 Angus Leeming <leeming@lyx.org>
10668 * lyxserver.C (read_ready): re-write to make it more transparent
10669 and to make it work in coherent fashion under Tru64 Unix.
10671 2002-09-11 André Pönitz <poenitz@gmx.net>
10675 * text3.C: implement LFUN_WORDSEL
10677 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10679 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10680 make floatlist_ a boost::shared_ptr<FloatList>
10682 * lyxtextclass.C: include FloatList.h
10683 (LyXTextClass): initialize floatlist_
10684 (TextClassTags): add TC_NOFLOAT
10685 (Read): match "nofloat" to TC_NOFLOAT and use it.
10686 (readFloat): modify call to floatlist_
10690 * FloatList.[Ch] (FloatList): remove commented out float
10692 (erase): new function
10694 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10696 * MenuBackend.C (expandToc): fix crash when there is no document
10699 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10701 * many files: Add insetwrap.
10703 2002-09-09 John Levon <levon@movementarian.org>
10705 * text2.C: remove confusing and awkward depth wraparound
10707 2002-09-09 John Levon <levon@movementarian.org>
10709 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10712 * buffer.C: remove getIncludeonlyList()
10715 * lyxfunc.C: remove headers
10717 2002-09-09 Juergen Vigna <jug@sad.it>
10719 * text.C (getColumnNearX): fix form Michael this is most
10720 probably a cut&paste bug.
10722 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10724 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10726 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10727 references, ws changes.
10729 * text2.C (init): update counters after init
10730 (insertParagraph): no need to set counter on idividual paragraphs.
10731 (setCounter): access the counters object in the textclass object
10732 on in the buffer object.
10733 (updateCounters): ditto
10735 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10736 shared_ptr<Counters> to avoid loading counters.h in all
10738 (LyXTextClass): initialize ctrs_
10739 (TextClassTags): add TC_COUNTER, and ...
10740 (Read): use it here.
10741 (CounterTags): new tags
10742 (readCounter): new function
10743 (counters): new funtion
10744 (defaultLayoutName): return a const reference
10746 * counters.C (Counters): remove contructor
10747 (newCounter): remove a couple of unneeded statements.
10748 (newCounter): simplify a bit.
10749 (numberLabel): some small formatting changes.
10751 * buffer.[Ch]: remove all traces of counters, move the Counters
10752 object to the LyXTextClass.
10754 2002-09-06 Alain Castera <castera@in2p3.fr>
10756 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10757 package to set the horizontal alignment on fixed width columns.
10760 * lyx_sty.h: added tabularnewline macro def.
10762 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10764 2002-09-06 John Levon <levon@movementarian.org>
10766 * LyXAction.C: tooltips for sub/superscript
10768 * MenuBackend.C: a bit more verbose
10770 * lyxfunc.C: tiny clean
10772 * undo_funcs.C: document undo_frozen
10774 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10776 * counters.C (Counters): add missing algorithm counter.
10778 * text2.C (setCounter): lookup the counter with layouts latexname
10779 instead of by section number.
10780 (setCounter): use a hackish way to lookup the correct enum
10782 a float name->type change
10783 reset enum couners with counter name directly instead of depth value.
10785 * counters.C (Counters): remove the push_backs, change to use the
10786 float type not the float name.
10787 (labelItem): remove unused string, float name->type change
10789 * counters.h: don't include vector, loose the enums and sects vectors
10791 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10793 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10794 (Read): add float->TC_FLOAT to textclassTags
10795 (Read): and handle it in the switch
10796 (readFloat): new function
10798 * FloatList.C (FloatList): comment out the hardcoded float
10801 * lyxlayout.h: ws change.
10803 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10805 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10807 2002-09-03 Angus Leeming <leeming@lyx.org>
10809 * BufferView_pimpl.h: qualified name is not allowed in member
10810 declaration: WorkArea & Pimpl::workarea() const;
10812 * factory.C: added using std::endl directive.
10814 * text3.C: added using std::find and std::vector directives.
10816 2002-08-29 André Pönitz <poenitz@gmx.net>
10819 * text2.C: remove unused member number_of_rows
10822 * BufferView2.C: remove file, move contents to...
10823 * BufferView.C: ... here
10825 * BufferView_pimpl.C:
10826 * factory.C: move more inset creation to factory
10828 * vspace.C: avoid direct usage of LyXText, ws changes
10831 don't provide direct access to WorkArea, use two simple
10832 acessors haveSelction() and workHeight() instead
10835 2002-08-29 John Levon <levon@movementarian.org>
10837 * BufferView_pimpl.C (dispatch): do not continue when
10840 2002-08-28 André Pönitz <poenitz@gmx.net>
10842 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10845 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10847 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10849 * buffer.C: increment LYX_FORMAT to 221
10851 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10852 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10854 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10856 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10858 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10860 * factory.C (createInset): use LyXTextClass::floats
10862 * MenuBackend.C (expandFloatListInsert):
10863 (expandFloatInsert):
10866 * text2.C (setCounter):
10868 * LaTeXFeatures.C (useFloat):
10869 (getFloatDefinitions):
10871 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10873 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10874 floatlist_, with accessor floats().
10876 * FloatList.h: remove global FloatList
10878 2002-08-26 André Pönitz <poenitz@gmx.net>
10880 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10884 * BufferView_pimpl.C:
10885 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10887 2002-08-25 John Levon <levon@movementarian.org>
10889 * LyXAction.C: fix margin note description
10891 2002-08-24 John Levon <levon@movementarian.org>
10895 * bufferview_funcs.C:
10897 * undo_funcs.C: cleanups
10899 * lyxfunc.C: disable CUT/COPY when no selection
10901 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10903 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10904 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10906 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10907 Add backward compatibility to "mono", "gray" and "no".
10909 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10911 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10912 (and file_format >= 200).
10914 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10916 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10918 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10920 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10922 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10924 * BufferView_pimpl.C:
10931 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10932 inset and code to make it work with the paragraph code. The inset
10933 can be anywhere in the paragraph, but will only do the expected
10934 thing in LaTeX if the layout file contains the parameter line
10936 (or more generally, a nonzero value) for that layout.
10938 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10940 * paragraph.h: remove the declaration of undefined counters class
10943 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10945 * text2.C (setCounter): fixed enumeration mis-count as reported by
10946 Dr. Richard Hawkins.
10948 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10950 * paragraph_funcs.h: remove some unneeded includes
10952 * text.C (backspace): pasteParagraph now in global scipe
10954 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10955 (pasteSelection): ditto
10957 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10958 * paragraph_funcs.C (pasteParagraph): ... here
10960 2002-08-20 André Pönitz <poenitz@gmx.net>
10962 * commandtags.h: new LFUNs for swapping/copying table row/colums
10965 * lyxfunc.C: support for new lfuns
10967 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10970 * buffer.[Ch]: remove NO_COMPABILITY stuff
10972 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10974 * boost.C (throw_exception): new file, with helper function for
10975 boost compiled without exceptions.
10980 * ParameterStruct.h:
10981 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10983 * bufferlist.C (emergencyWriteAll): use boost bind
10985 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10987 * text.C: include paragraph_funcs.h
10988 (breakParagraph): breakParagraph is now in global scope
10990 * paragraph_funcs.[Ch]: new files
10992 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10995 * buffer.C: include paragraph_funcs.h
10996 (insertStringAsLines): breakParagraph is now in global scope
10998 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11001 * CutAndPaste.C: include paragraph_funcs.h
11002 (cutSelection): breakParagraphConservative is now in global scope
11003 (pasteSelection): ditto
11005 * buffer.h: declare oprator== and operator!= for
11006 Buffer::inset_iterator
11008 * bufferlist.C (emergencyWrite): don't use fmt(...)
11010 * text3.C: add using std::endl
11012 * BufferView.C (moveCursorUpdate): remove default arg
11014 2002-08-20 André Pönitz <poenitz@gmx.net>
11016 * buffer.[Ch]: move inline functions to .C
11019 * BufferView_pimpl.C:
11021 * buffer.[Ch]: use improved inset_iterator
11024 * paragraph.[Ch]: write one paragraph at a time
11026 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11028 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11029 style if style is not specified.
11031 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11033 * text2.C (setCounter): when searching for right label for a
11034 caption, make sure to recurse to parent insets (so that a caption
11035 in a minipage in a figure float works) (bug #568)
11037 2002-08-20 André Pönitz <poenitz@gmx.net>
11039 * text3.C: new file for LyXText::dispatch() and helpers
11041 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11043 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11045 2002-08-19 André Pönitz <poenitz@gmx.net>
11048 * text.C: new LyXText::dispatch()
11050 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11052 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11054 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11056 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11059 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11061 * Makefile.am: use $(variables) instead of @substitutions@
11063 2002-08-15 André Pönitz <poenitz@gmx.net>
11066 * BufferView_pimpl.C: streamlining mathed <-> outer world
11070 * LyXAction.C: remove unused LFUN_MATH
11072 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11074 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11076 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11078 * paragraph.C (Paragraph): reformat a bit
11079 (cutIntoMinibuffer): use builtin InsetList function instad of
11083 * buffer.C: include boost/bind.hpp, add using std::for_each
11084 (writeFileAscii): use ParagraphList iterators
11085 (validate): use for_each for validate traversal of paragraphs
11086 (getBibkeyList): use ParagraphList iterators
11087 (resizeInsets): use for_each to resizeInsetsLyXText for all
11089 (getParFromID): use ParagraphList iterators
11091 * BufferView2.C (lockInset): use paragraph list and iterators
11093 2002-08-14 John Levon <levon@movementarian.org>
11095 * lyxserver.C: remove spurious xforms include
11097 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11099 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11101 2002-08-13 André Pönitz <poenitz@gmx.net>
11104 * lyxfunc.C: further cleaning
11106 2002-08-13 André Pönitz <poenitz@gmx.net>
11108 * funcrequest.h: new constructor
11110 * funcrequest.C: move stuff here from .h
11113 * BufferView_pimpl.C:
11116 * lyxfunc.C: subsequent changes
11118 * lyxfunc.h: new view() member function
11120 * lyxfunc.C: subsequent changes
11122 2002-08-13 Angus Leeming <leeming@lyx.org>
11125 * BufferView_pimpl.C:
11133 changes due to the changed LyXView interface that now returns references
11134 to member variables not pointers.
11136 2002-08-13 Angus Leeming <leeming@lyx.org>
11138 * WordLangTuple (word, lang_code): return references to strings,
11143 * lyxtext.h: forward-declare WordLangTuple.
11148 * text.C: #include "WordLangTuple.h".
11151 * text.C: (selectNextWordToSpellcheck): constify return type.
11153 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11159 * paragraph_pimpl.h:
11162 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11163 suggested by Angus.
11164 Made updateCounter always count from start of buffer, and removed
11165 second argument (par).
11166 Reverted floats number display to '#'. Perhaps I'll try again when the
11167 code base is sanitized a bit.
11169 2002-08-12 Angus Leeming <leeming@lyx.org>
11171 * buffer.[Ch] (getLabelList): constify.
11173 2002-08-07 André Pönitz <poenitz@gmx.net>
11175 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11177 * funcrequest.h: extension to keep mouse (x,y) position
11179 2002-08-12 Juergen Vigna <jug@sad.it>
11181 * BufferView2.C (insertErrors): forbid undo when inserting error
11184 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11186 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11188 * ParagraphList.[Ch]: new files
11190 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11192 * BufferView2.C (lockInset): ParagraphList changes
11195 * bufferlist.C: ditto
11199 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11201 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11202 unused class variable counter_,
11204 * paragraph.[Ch] (getFirstCounter): delete unused function
11206 * counters.C: include LAssert.h
11207 (reset): add a new function with no arg, change other version to
11208 not have def. arg and to not allow empty arg.
11210 * text2.C (setCounter): remove empty arg from call to Counters::reset
11212 2002-08-11 John Levon <levon@movementarian.org>
11214 * Makefile.am: add WordLangTuple.h
11216 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11218 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11219 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11221 * insets/insettext.C: InsetList changes
11223 * graphics/GraphicsSupport.C (operator()): InsetList changes
11225 * toc.C (getTocList): InsetList changes
11227 * paragraph_pimpl.[Ch]: InsetList changes
11229 * paragraph.[Ch]: InsetList changes
11231 * buffer.C (inset_iterator): InsetList changes
11232 (setParagraph): ditto
11233 * buffer.h (inset_iterator): ditto
11234 * iterators.C (operator++): ditto
11235 * iterators.h: ditto
11237 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11239 * InsetList.[Ch]: new files, most InsetList handling moved out of
11242 * BufferView2.C (removeAutoInsets): InsetList changes
11244 (ChangeInsets): ditto
11246 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11248 * paragraph_pimpl.h (empty): new function
11250 * paragraph.[Ch] (empty): new function
11252 * other files: use the new Paragraph::empty function
11254 2002-08-09 John Levon <levon@movementarian.org>
11256 * lyxtext.h: remove unused refresh_height
11258 2002-08-09 John Levon <levon@movementarian.org>
11265 * paragraph.C: move sgml char escaping out of paragraph
11268 * paragraph.C: remove id setter
11272 * paragraph_pimpl.C: remove dead tex_code_break_column
11274 * bufferview_funcs.C: small cleanup
11276 * lyxfunc.C: remove dead proto
11278 * lyxtext.h: make some stuff private. Remove some dead stuff.
11280 * lyxgluelength.C: make as[LyX]String() readable
11282 2002-08-08 John Levon <levon@movementarian.org>
11287 * ToolbarDefaults.C:
11290 * toc.C: lyxaction cleanup
11292 2002-08-08 John Levon <levon@movementarian.org>
11294 * BufferView2.C: small cleanup
11297 * lyxfind.C: move unnecessary header into the .C
11299 2002-08-08 John Levon <levon@movementarian.org>
11301 * funcrequest.h: just tedious nonsense
11304 * lyx_main.C: cleanups
11307 * vspace.C: remove dead header lyx_main.h
11309 2002-08-07 Angus Leeming <leeming@lyx.org>
11312 * paragraph_pimpl.h:
11313 Forward declare class Counters in paragraph.h by moving the ctrs member
11314 variable into Paragraph::Pimpl.
11315 (counters): new method, returning a reference to pimpl_->ctrs.
11317 * text2.C: ensuing changes.
11319 2002-08-07 John Levon <levon@movementarian.org>
11321 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11323 * BufferView_pimpl.C: announce X selection on double/triple
11326 * lyx_main.C: use correct bool in batch dispatch
11328 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11330 2002-08-07 André Pönitz <poenitz@gmx.net>
11332 * funcrequest.h: new class to wrap a kb_action and its argument
11335 * BufferView_pimpl[Ch]:
11339 * lyxrc.C: subsequent changes
11342 2002-08-07 John Levon <levon@movementarian.org>
11344 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11345 document options change.
11347 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11352 * makefile.am: move counters functionality over from
11353 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11355 2002-08-06 John Levon <levon@movementarian.org>
11357 * WordLangTuple.h: new file for word + language code tuple
11368 * BufferView2.C: use WordLangTuple
11371 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11373 2002-08-06 John Levon <levon@movementarian.org>
11375 * lyx_main.C: fix cmdline batch handling
11377 2002-08-06 André Pönitz <poenitz@gmx.net>
11379 * lyxrc.C: set default for show_banner to true
11381 2002-08-06 John Levon <levon@movementarian.org>
11383 * pspell.C: fix a crash, and allow new aspell to work
11385 2002-08-06 John Levon <levon@movementarian.org>
11388 * kbmap.C: small cleanup
11391 * vspace.C: add const
11393 2002-08-05 John Levon <levon@movementarian.org>
11395 * LyXAction.C: back to tabular-insert
11397 2002-08-04 John Levon <levon@movementarian.org>
11400 * BufferView.C: cosmetic change
11402 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11412 * BufferView2.C: purge all "Lyx" not "LyX" strings
11415 * lyxcursor.C: attempt to add some documentation
11420 * ToolbarDefaults.C:
11421 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11422 merge with LFUN_TABULAR_INSERT
11429 * pspell.C: split up i/pspell implementations into separate
11430 files, many cleanups
11432 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11434 * text2.C: some cleanup
11436 * lyxfunc.C: don't check for isp_command == "none" any more, it
11437 didn't make any sense
11439 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11444 * makefile.am: move counters functionality over
11445 from text2.C/paragraph.[Ch] to counters.[Ch], and
11447 2002-08-02 John Levon <levon@movementarian.org>
11449 * buffer.C: s/lyxconvert/lyx2lyx/
11451 2002-08-02 Angus Leeming <leeming@lyx.org>
11453 * lyxlex.C: revert John's change as it breaks reading of the user
11456 2002-08-02 Angus Leeming <leeming@lyx.org>
11458 * importer.C (Import):
11459 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11460 changes due to LyXView::view() now returning a boost::shared_ptr.
11462 2002-08-02 John Levon <levon@movementarian.org>
11464 * lyxlex.C: small cleanup
11466 2002-08-02 John Levon <levon@movementarian.org>
11468 * text2.C (status): small cleanup, no logic change
11470 2002-08-01 John Levon <levon@movementarian.org>
11473 * buffer.C (writeFile): don't output alerts, caller
11477 * lyx_cb.C: from above
11479 * lyxfunc.C: allow to open non-existent files
11481 2002-07-31 John Levon <levon@movementarian.org>
11483 * lyxserver.C: don't let incidental errors get
11486 2002-07-30 John Levon <levon@movementarian.org>
11488 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11490 2002-07-30 John Levon <levon@movementarian.org>
11493 * lyxserver.C: remove I/O callback too
11495 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11497 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11500 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11502 * many files: strip,frontStrip -> trim,ltrim,rtrim
11504 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11506 * PrinterParams.h: remove extern containsOnly, and include
11507 support/lstrings.h instead.
11509 * LaTeX.C (scanAuxFile): modify because of strip changes
11511 * buffer.C (makeLaTeXFile): ditto
11512 * bufferparams.C (writeFile): ditt
11513 * lyxfont.C (stateText): ditto
11514 * lyxserver.C (read_ready): ditto
11515 * vc-backend.C (scanMaster): ditto
11517 * BufferView_pimpl.h: ws changes
11519 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11521 2002-07-26 André Pönitz <poenitz@gmx.net>
11523 * kb_sequence.C: remove unnedred usings
11525 2002-07-26 Juergen Vigna <jug@sad.it>
11527 * lyxfind.C (LyXReplace): we have to check better if the returned
11528 text is not of theLockingInset()->getLockingInset().
11530 2002-07-25 Juergen Vigna <jug@sad.it>
11532 * lyxfind.C (LyXReplace): don't replace if we don't get the
11535 * undo_funcs.C (createUndo): remove debugging code.
11537 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11539 * buffer.C (parseSingleLyXformat2Token): Use default placement
11540 when reading old floats.
11542 * FloatList.C (FloatList): Change the default placement of figure
11543 and tables to "tbp".
11545 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11547 * MenuBackend.C: using std::max
11549 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11551 * MenuBackend.C (expandToc):
11552 (expandToc2): code moved from xforms menu frontend. It is now
11553 generic and TOCs are transparent to menu frontends.
11555 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11557 * toc.C (getTocList): protect against buf=0
11559 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11560 Menu as first parameter. Now, this calls itself recursively to
11561 expand a whole tree (this will be useful for TOC handling)
11562 (expandFloatInsert): remove 'wide' version of floats
11564 * MenuBackend.h (submenuname): returns the name of the submenu.
11565 (submenu): returns the submenu itself, provided it has been
11566 created by MenuBackend::expand
11568 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11570 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11571 insets which have noFontChange == true. (bug #172)
11573 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11575 * BufferView_pimpl.C: add connection objects and use them...
11578 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11580 * MenuBackend.C (expandLastfiles):
11583 (expandFloatListInsert):
11584 (expandFloatInsert):
11585 (expand): split expand in parts
11587 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11589 * lyx_gui.C: use lyx_gui::exit()
11591 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11593 * LyXAction.C: show the failing pseudo action
11595 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11597 * buffer.C (readFile): Run the lyxconvert script in order to read
11600 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11604 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11606 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11610 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11612 2002-07-22 Herbert Voss <voss@lyx.org>
11615 * lyxlength.[Ch]: add support for the vertical lengths
11617 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11619 * toc.[Ch]: std:: fixes
11621 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11623 * lyxrc.C: do not include lyx_main.h
11625 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11631 * BufferView2.C: include "lyxlex.h"
11634 * bufferparams.h: do not #include "lyxlex.h"
11636 * lyxtextclasslist.C (Add): remove method
11637 (classlist): renamed to classlist_
11639 * paragraph_pimpl.C:
11643 * bufferview_funcs.C:
11648 * toc.C (getTocList): use BufferParams::getLyXTextClass
11650 * toc.C (getTocList): use InsetFloat::addToToc
11652 * toc.[Ch]: new files, containing helper functions to handle table
11655 * lyxfunc.C (dispatch): no need to remove spaces around command
11657 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11658 first command of the sequence; it is not very clever, but I do not
11659 have a better idea, actually
11661 * LyXAction.C (LookupFunc): make sure to remove space at the
11662 beginning and end of the command
11664 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11666 * MenuBackend.C (getMenubar): new method: return the menubar of
11668 (read): treat differently reading of menu and menubar (in
11669 particular, the menubar has no name now)
11670 (Menu::menubar): remove
11672 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11675 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11677 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11678 a bibitem inset in a RTL paragraph.
11680 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11682 * paragraph_pimpl.C: constify
11684 * BufferView_pimpl.C:
11686 * lyxfunc.C: fix dispatch in a nicer way
11688 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11690 * lyxfunc.C (dispatch):
11691 * BufferView_pimpl.C:
11692 * BufferView_pimpl.h:
11694 * BufferView.h: rename Dispatch() to dispatch()
11696 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11698 * lyxlayout.C (Read): honor DependsOn tag
11700 * lyxlayout.[Ch] (depends_on): new method
11702 * version.C.in: update lyx_docversion
11704 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11706 * paragraph.C (validate): remove from here...
11707 * paragraph_pimpl.C (validate): ... and move here
11708 (isTextAt): make it const
11710 * buffer.C (getLists): ws cleanup
11712 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11714 * language.C (read): Use iso8859-1 encoding in latex_lang
11715 (this prevents LyX from crashing when using iso10646-1 encoding).
11717 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11719 * text2.C (toggleInset): if cursor is inside an inset, close the
11720 inset and leave cursor _after_ it
11722 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11724 * lyxfunc.C: move minibuffer completion handling out of here
11726 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11728 * BufferView_pimpl.C:
11729 * LaTeX.C: fix dispatch calls
11731 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11733 * text.C (drawChars): Fix Arabic text rendering.
11735 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11739 * lyxfunc.C: remove message-push/pop
11743 * lyxfunc.C: rationalise some code by removing verboseDispatch
11744 in favour of a bool argument to dispatch()
11746 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11748 * lyx_main.C (init): make sure to read symlinks as absolute paths
11750 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11753 * lyxfunc.C: no need for commandshortcut to be a member
11755 2002-07-15 André Pönitz <poenitz@gmx.net>
11757 * converter.C: add support for $$s (scripts from lib/scripts dir)
11758 * lyx_main.C: white space
11760 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11764 * lyxrc.C: remove second exit confirmation
11766 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11771 * BufferView_pimpl.h:
11772 * BufferView_pimpl.C:
11773 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11775 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11777 * MenuBackend.C (expand): add numeric shortcuts to document menu
11779 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11781 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11783 * lyxfont.C (setLyXFamily):
11790 * buffer.C (asciiParagraph): use ascii_lowercase
11792 2002-07-15 Mike Fabian <mfabian@suse.de>
11794 * lyxlex_pimpl.C (search_kw):
11795 * lyxlex.C (getLongString):
11796 * converter.h (operator<):
11797 * converter.C (operator<):
11798 * buffer.C (parseSingleLyXformat2Token):
11800 * ToolbarDefaults.C (read):
11801 * MenuBackend.C (checkShortcuts):
11803 * LColor.C (getFromGUIName):
11804 (getFromLyXName): use the compare_ascii_no_case instead of
11805 compare_no_case, because in turkish, 'i' is not the lowercase
11806 version of 'I', and thus turkish locale breaks parsing of tags.
11808 2002-07-16 Angus Leeming <leeming@lyx.org>
11810 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11811 now takes a Buffer const & argument.
11813 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11815 * BufferView.C (resize): check there's a buffer to resize
11817 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11819 * lyxfunc.C: remove dead code
11822 * lyxserver.C: use lyx_guii::set_read_callback
11824 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11826 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11827 an inset in a RTL paragraph.
11829 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11831 * lyxfunc.C: repaint after a font size update
11833 2002-07-15 André Pönitz <poenitz@gmx.net>
11835 * lyxlength.C: inBP should be able to return negative values
11837 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11839 * lyxfunc.C: use lyx_gui::update_fonts()
11841 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11843 * lyxfunc.C: use lyx_gui::update_color()
11845 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11851 * lyxrc.C: remove file->new asks for name option, and let
11852 buffer-new take an argument
11854 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11856 * BufferView_pimpl.C: remove unneeded extra repaint()
11858 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11860 * LyXAction.C: allow command-sequence with NoBuffer
11862 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11864 2002-07-10 Angus Leeming <leeming@lyx.org>
11866 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11868 2002-07-09 Angus Leeming <leeming@lyx.org>
11870 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11872 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11874 * lengthcommon.h: whitespace
11876 * lyxfunc.C: update scrollbar after goto paragraph
11878 * lyxtext.h: factor out page break drawing, and fix it so
11879 page break/added space paints as selected nicely
11881 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11883 * BufferView_pimpl.C: add FIXMEs, clean up a little
11885 2002-07-09 André Pönitz <poenitz@gmx.net>
11887 * lyxfont.[Ch]: support for wasy symbols
11889 2002-07-08 André Pönitz <poenitz@gmx.net>
11891 * BufferView_pimpl.C: apply John's patch for #93.
11893 2002-07-05 Angus Leeming <leeming@lyx.org>
11895 * BufferView_pimpl.C (buffer): generate previews if desired.
11897 * LColor.h: add "preview" to the color enum.
11899 * LColor.C (LColor): add a corresponding entry to the items array.
11901 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11904 2002-07-05 Angus Leeming <leeming@lyx.org>
11906 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11907 The body of the code is now in the method that is passed an ostream &
11908 rather than a file name.
11909 Pass an additional only_preamble parameter, useful for the forthcoming
11912 2002-07-03 André Pönitz <poenitz@gmx.net>
11914 * lyxfunc.C: simplify getStatus() a bit for math stuff
11916 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11918 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11920 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11922 * text.C (changeRegionCase): do not change case of all the
11923 document when region ends at paragraph end (bug #461)
11925 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11927 * paragraph.C (startTeXParParams):
11928 (endTeXParParams): add \protect when necessary
11930 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11932 * BufferView_pimpl.C (workAreaExpose): remove warning
11934 2002-06-27 Angus Leeming <leeming@lyx.org>
11936 * Makefile.am: add lyxlayout_ptr_fwd.h.
11938 2002-06-26 André Pönitz <poenitz@gmx.net>
11940 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11942 2002-06-25 Angus Leeming <leeming@lyx.org>
11944 * lyxfunc.C (dispatch): Comment out the call to
11945 grfx::GCache::changeDisplay. The method no longer exists now that the
11946 pixmap generation part of the graphics loader has been moved into
11949 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11951 * text2.C: layout as layout
11953 * text.C: layout as layout
11955 * tabular.C (OldFormatRead): layout as layout
11957 * paragraph_pimpl.C (TeXDeeper): layout as layout
11958 (realizeFont): layout as layout
11960 * paragraph.C (writeFile): layout as layout
11961 (validate): layout as layout
11962 (getFont): layout as layout
11963 (getLabelFont): layout as layout
11964 (getLayoutFont): layout as layout
11965 (breakParagraph): layout as layout
11966 (stripLeadingSpaces): layout as layout
11967 (getEndLabel): layout as layout
11968 (getMaxDepthAfter): layout as layout
11969 (applyLayout): layout as layout
11970 (TeXOnePar): layout as layout
11971 (simpleTeXOnePar): layout as layout
11972 (TeXEnvironment): layout as layout
11973 (layout): layout as layout
11974 (layout): layout as layout
11976 * lyxtextclass.C (compare_name): new functor to work with
11977 shared_ptr, layout as layout
11978 (Read): layout as layout
11979 (hasLayout): layout as layout
11980 (operator): layout as layout
11981 (delete_layout): layout as layout
11982 (defaultLayout): layout as layout
11984 * lyxlayout_ptr_fwd.h: new file
11986 * lyxlayout.C (Read): layout as layout
11988 * lyx_cb.C (MenuInsertLabel): layout as layout
11990 * bufferlist.C (newFile): layout as layout
11992 * buffer.C (readLyXformat2): layout as layout
11993 (parseSingleLyXformat2Token): layout as layout
11994 (insertStringAsLines): layout as layout
11995 (asciiParagraph): layout as layout
11996 (latexParagraphs): layout as layout
11997 (makeLinuxDocFile): layout as layout
11998 (simpleLinuxDocOnePar): layout as layout
11999 (makeDocBookFile): layout as layout
12000 (simpleDocBookOnePar): layout as layout
12001 (getLists): layout as layout
12003 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12005 * CutAndPaste.C (cutSelection): layout as layout
12006 (pasteSelection): layout as layout
12007 (SwitchLayoutsBetweenClasses): layout as layout
12009 * BufferView_pimpl.C (Dispatch): layout as layout
12010 (smartQuote): layout as layout
12012 * BufferView2.C (unlockInset): layout as layout
12014 2002-06-24 André Pönitz <poenitz@gmx.net>
12016 * lyxfunc.C: fix #487
12018 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12022 * lyxfunc.C: remove display_shortcuts, show_banner
12024 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12026 * Buffer_pimpl.C: oops, update on resize
12028 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12035 * BufferView.C: use repaint()
12037 * BufferView_pimpl.h:
12038 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12039 as it's a clearer description. Remove superfluous
12042 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12044 * text.C: fix bug 488. Not ideal, but getting
12045 getWord() to work properly for the insets that
12046 matter is more difficult ...
12048 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12050 * BufferView_pimpl.C:
12053 * lyxfunc.C: remove the six million index lyxfuncs to just
12054 one, and DTRT (bug 458)
12056 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12060 * BufferView_pimpl.h:
12061 * BufferView_pimpl.C: clean up resize() stuff,
12062 and unnecessary updateScreen()s
12064 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12068 * BufferView_pimpl.h:
12069 * BufferView_pimpl.C:
12072 * minibuffer.C: remove focus management of workarea,
12073 not needed. Use screen's greyOut()
12075 2002-06-17 Herbert Voss <voss@lyx.org>
12077 * converter.C: (convert) do not post a message, when converting
12078 fails, let the calling function decide what to do in this case
12080 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12082 * lyxfunc.C: tidy up a little
12084 2002-06-16 <alstrup@diku.dk>
12086 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12087 Got rid of FORMS_H_LOCATION include. Now we are
12090 2002-06-15 LyX Development team <lyx@rilke>
12092 * buffer.[Ch] (sgmlOpenTag):
12093 (sgmlCloseTag): Added support for avoiding pernicious mixed
12094 content. Return number of lines written.
12096 (makeLinuxDocFile):
12097 (makeDocBookFile): Fixed calls to sgml*Tag.
12098 Simple white space clean.
12100 (simpleDocBookOnePar): Simple white space clean.
12102 * tabular.[Ch] (docBook): Renamed to docbook and got another
12103 argument to related with the pernicious mixed content.
12105 (docbookRow): Fixed calls for docbook inset method.
12107 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12109 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12110 so it's X11 independent.
12114 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12116 2002-06-15 Lyx Development team <lyx@electronia>
12118 * intl.h: Renamed getTrans to getTransManager.
12120 2002-06-14 Angus Leeming <leeming@lyx.org>
12122 * Makefile.am: nuke forgotten stl_string_fwd.h.
12124 2002-06-12 Angus Leeming <leeming@lyx.org>
12126 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12128 2002-06-13 Angus Leeming <leeming@lyx.org>
12131 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12133 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12135 * kbmap.C (getiso): add support for cyrillic and greek
12137 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12141 * BufferView_pimpl.h:
12142 * BufferView_pimpl.C: move bogus scrolling logic
12145 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12148 * BufferView_pimpl.C: view->resize() change
12150 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12152 * BufferView_pimpl.C: topCursorVisible
12155 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12159 * lyx_gui.C: move to frontends/
12163 * lyx_main.C: changes from above
12165 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12172 * lyx_main.C: minor tidy
12174 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12176 * BufferView_pimpl.h:
12177 * BufferView_pimpl.C:
12179 * BufferView.C: make painter() const,
12182 * BufferView2.C: use screen() accessor
12185 * lyx_main.C: some minor cleanup
12187 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12189 * BufferView_pimpl.h:
12190 * BufferView_pimpl.C: remove enter/leaveView,
12193 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12198 * BufferView_pimpl.h:
12199 * BufferView_pimpl.C: only construct screen once,
12202 * lyxrc.C: remove pointless comment
12204 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12207 * BufferView.C: remove active() and belowMouse()
12209 * BufferView_pimpl.h:
12210 * BufferView_pimpl.C: use workarea() not workarea_,
12211 and make it use a scoped_ptr instead
12213 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12215 * lyx_gui.C: add debug message on BadWindow
12217 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12219 * sp_spell.C: fdopen is not part of the C++ standard.
12221 * paragraph.C (InsetIterator): use >= instead of ==
12223 2002-06-07 Angus Leeming <leeming@lyx.org>
12225 Fixes needed to compile with Compaq cxx 6.5.
12226 * BufferView_pimpl.C:
12233 * lyxtextclasslist.C:
12238 all c-library variables have been moved into namespace std. Wrap
12239 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12244 Add a using std::abs declaration.
12246 * kbmap.h (modifier_pair):
12247 * paragraph.h (InsetTable, InsetList):
12248 * lyxfont.h (FontBits):
12249 type definition made public.
12251 * bufferlist.C (emergencyWriteAll): the compiler complains that
12252 there is more than one possible lyx::class_fun template to choose from.
12253 I re-named the void specialisation as lyx::void_class_fun.
12255 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12257 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12258 the compiler is is unable to find tostr in write_attribute.
12260 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12262 * buffer.C (sgmlError): hide #warning
12264 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12266 * xtl/*: get rid of xtl, which is not in use anyway
12268 * LyXAction.C (init):
12269 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12270 were unimplemented xtl experimentation
12272 2002-06-04 André Pönitz <poenitz@gmx.net>
12274 * lyxfunc.C: disable array operation on simple formulae
12276 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12278 * converter.C: constify a bit
12280 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12282 * lyx_gui.C: check xforms version correctly
12284 2002-04-30 Herbert Voss <voss@lyx.org>
12286 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12289 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12291 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12292 attempt to register it with a VCS)
12294 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12296 * lyx_main.C (init): honor variables LYX_DIR_13x and
12299 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12303 * lyx_main.C: fix a crash on bad command line,
12304 and give a useful exit status on error
12306 * lyxfunc.C (doImport): allow -i lyx to work
12308 2002-03-30 André Pönitz <poenitz@gmx.net>
12310 * lyxfunc.C: mathed font changes
12312 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12327 * trans_mgr.h: srcdocs, and some minor cleanups
12329 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12331 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12332 call getFont all the time)
12334 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * switch from SigC signals to boost::signals
12338 2002-05-29 André Pönitz <poenitz@gmx.net>
12340 * paragraph_pimpl.C (getChar): don't call size() too often...
12342 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12344 * paragraph_pimpl.C (insertChar): do not try to update tables when
12345 appending (pos == size())
12347 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12348 in order to reduce drastically the number of comparisons needed to
12349 parse a large document
12351 2002-05-29 André Pönitz <poenitz@gmx.net>
12357 * textclasslist.[Ch]:
12358 * sp_ispell.h: whitespace change
12360 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12362 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12363 lyxaction directly now.
12365 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12369 * lyxvc.C: remove unused headers
12371 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12378 * undo_funcs.C: some cleanups. Use shared_ptr
12379 and a template for the undo stacks.
12381 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12383 * BufferView_pimpl.h:
12384 * BufferView_pimpl.C:
12391 * text2.C: use key_state/mouse_state
12393 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12395 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12398 * chset.C: change include order
12399 (loadFile): use boost regex and get rid of LRegex and LSubstring
12401 * Makefile.am (BOOST_LIBS): new variable
12402 (lyx_LDADD): use it
12404 * LaTeX.C: change include order.
12405 (scanAuxFile): use boost regex and get rid of LRegex and
12409 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12414 * FontInfo.C: moved to frontends/xforms/
12417 * FontLoader.C: moved into frontends for GUIIzation
12422 * lyxfunc.C: changes from above
12424 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12426 * LColor.C: remove spurious X include
12428 * BufferView_pimpl.C:
12433 * text2.C: move font metrics to frontends/
12435 2002-05-24 Juergen Vigna <jug@sad.it>
12437 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12438 setting the undo_cursor.
12440 * ParagraphParameters.h: include local includes first.
12442 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12444 * BufferView_pimpl.C:
12445 * BufferView_pimpl.h:
12449 * screen.C: move WorkArea into frontends/
12455 * BufferView2.C: move LyXScreen into frontends/
12459 * lyx_gui.C: move lyxlookup into frontends/xforms/
12461 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12464 * BufferView_pimpl.C:
12474 * bufferview_funcs.C:
12487 * vc-backend.C: move LyX/XFormsView into frontends/
12489 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12501 * text2.C: move Painter to frontends/
12503 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12505 * buffer.C: comment out some some code that depend upon lyx_format
12508 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12509 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12511 * buffer.h (NO_COMPABILITY): turn off compability
12513 * ColorHandler.C: include scoped_array.hpp
12515 * font.C: Use more specific smart_ptr header.
12518 * ShareContainer.h: ditto
12519 * lyx_main.h: ditto
12521 * FontInfo.h: ditto
12522 * BufferView_pimpl.h: ditto
12523 * ColorHandler.h: ditto
12525 * kbmap.C (defkey): change call to shared_ptr::reset
12527 2002-05-21 Juergen Vigna <jug@sad.it>
12529 * buffer.C (insertErtContents): fix to insert ert asis if it is
12530 non empty. Skip it completely if it contains only whitespaces.
12532 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12534 * BufferView_pimpl.C:
12535 * BufferView2.C: clear selection on paste (bug 393)
12537 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12539 * DepTable.C: include ctime
12541 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12543 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12545 2002-05-14 Juergen Vigna <jug@sad.it>
12547 * text.C (breakParagraph): fixed function to honor the keepempty
12548 layout in the right maner and also to permit the right breaking
12549 algorithm on empty or non empyt keepempty paragraphs.
12551 * paragraph.C (breakParagraph): we have to check also if the par
12552 is really empty (!size()) for isempty otherwise we do the wrong
12555 2002-05-10 Juergen Vigna <jug@sad.it>
12557 * buffer.[Ch] : The following are only changes to the ert
12558 compatibility read reading old LaTeX layout and font stuff and
12559 convert it to ERTInsets.
12561 * buffer.h: added isErtInset().
12563 * buffer.C (struct ErtComp): add a fromlayout bool to check
12564 if we're inside a LaTeX layout.
12565 (isErtInset): new helper function.
12566 (insertErtContents): look for other ert insets before this one
12567 and insert the contents there, so that we don't have subsequent
12568 ERT insets with nothing between them. This way we create only one
12569 inset with multiple paragraphs. Also check if we don't insert only
12570 spaces ' ' as they are ignored anyway afterwards in the .tex file
12571 so if we have only spaces we will ignore this latex part in the
12573 (parseSingleLyXformat2Token \\layout): better compatibility when
12574 reading layout-latex stuff.
12575 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12577 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12578 stuff after reading the inset only get the information back from
12581 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12583 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12585 * LaTeXFeatures.C (getBabelOptions): New method.
12587 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12589 * BufferView_pimpl.C (Dispatch): work around missing argument for
12592 2002-05-08 Juergen Vigna <jug@sad.it>
12594 * text.C (leftMargin): handle paragraph leftindent.
12596 * paragraph.C (writeFile): write the new \\leftindent tag.
12597 (validate): handle leftindent code.
12598 (TeXEnvironment): handle paragraphleftindent code again.
12600 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12602 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12603 for paragrap_extra indent code and new token \\leftindent.
12604 (latexParagraphs): handle the leftindent as environment.
12606 * ParameterStruct.h: added leftindent support.
12608 * ParagraphParameters.C (leftIndent): added support functions for
12609 the paragraph left indent.
12611 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12614 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12616 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12619 * text.C (computeBidiTables): No bidi in insetERT.
12621 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12624 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12626 * version.C.in: pre 5
12628 2002-05-02 José Matos <jamatos@fep.up.pt>
12629 * buffer.C (makeDocBookFile): white space changes, add newline to
12631 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12633 * tabular.C (docBook): fix typo.
12635 2002-05-03 Juergen Vigna <jug@sad.it>
12637 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12638 change in LyXText as we can not be sure it was not freed.
12639 (drawOneRow): remove unused code.
12641 * text.C (drawInset): redo the calculation of the need_break_row as
12642 it could have a row which was already freed.
12643 (draw): look at the return value of drawInset and return false if
12644 it also returned false.
12645 (paintRowText): look at the return value of draw and return false if
12646 it also returned false.
12648 * lyxtext.h: added bool return type to drawInset() and draw() so that
12649 if we have a change in the row so that the rowbreak has to be redone
12650 we abort drawing as it will be called again.
12652 2002-05-02 Juergen Vigna <jug@sad.it>
12654 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12655 a change in the maintext also if we're inside an inset.
12656 (Dispatch): set the cursor again after a break line and after the
12657 screen has been updated as it could be we're in a different row.
12659 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12660 to set the cursor behind the pargraph with > size().
12661 (setCursor): check also for the same paragraph when checking where
12662 to put the cursor if we have a NFR inset.
12664 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12665 parts of layout read further up as it still was in the wrong
12668 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12670 * screen.C (drawFromTo): change sine fullRebreak always return
12673 * buffer.C (parseSingleLyXformat2Token): reindent some
12675 * BufferView_pimpl.C (update): change since fullRebreak always
12677 (Dispatch): git rid of the last hardcoded "Standard"s.
12679 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * text2.[Ch] (fullRebreak): make it return void now that we always
12684 2002-04-30 Juergen Vigna <jug@sad.it>
12686 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12687 ert compatibility check for "latex" layout.
12689 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12691 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12692 minipages: use col% instead of p%, and also use the current font.
12693 (makeLaTeXFile): Fix use babel condition.
12694 (parseSingleLyXformat2Token): Correct font when reading old floats.
12696 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12698 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12699 inserting list of floats.
12701 2002-04-25 Herbert Voss <voss@lyx.org>
12703 * MenuBackend.C (expand): don't add the graphics extensions to the
12706 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12708 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12709 non-existing layout, do not complain if it was the default layout
12710 of the original class (bug #342)
12712 2002-04-24 Juergen Vigna <jug@sad.it>
12714 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12715 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12717 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12719 * buffer.C (getBibkeyList): If using \bibliography, return the
12720 option field with the reference itself. Enables us to provide natbib
12721 support when using \bibliography.
12723 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12725 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12727 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12728 natbib is provided by the LaTeX class.
12730 2002-04-23 Juergen Vigna <jug@sad.it>
12732 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12735 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12737 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12739 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12741 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12742 ensuremath around textordmasculine, textordfeminine and
12745 2002-04-19 Juergen Vigna <jug@sad.it>
12747 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12748 reinitializing the buffer otherwise row-dimensions may be wrong.
12749 (update): reset also the selection cursors if they do exits otherwise
12750 their x/y positions may be wrong.
12752 * text2.C (cursorDown): don't enter the inset if we came from a row
12753 above and are one row over the inset.
12755 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12756 really leaving an inset.
12758 2002-04-18 Juergen Vigna <jug@sad.it>
12760 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12761 of the selected paragraph does not have the selected layout also if
12764 * text2.C (setLayout): fixed bug which did not change last selected
12767 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12768 changed the read and substituted \\end_float with \\end_inset!
12770 * BufferView_pimpl.C (cursorPrevious):
12771 (cursorNext): fixed to make it work with rows heigher than the work
12772 area without moving the cursor only the draw of the row.
12773 (workAreaMotionNotify): fix jumping over high rows.
12775 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12780 2002-04-16 Juergen Vigna <jug@sad.it>
12782 * text2.C (setCursor): set also the irow().
12783 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12785 (cursorDown): support for locking an inset if the x_fix value goes
12786 inside it. That way I can transverse insets too with cursor up/down.
12788 * lyxrow.h: added irow helper function same as other (i) functions.
12790 * BufferView_pimpl.C (cursorPrevious):
12791 (cursorNext): fixed for insets!
12793 2002-04-15 Juergen Vigna <jug@sad.it>
12795 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12796 position otherwise it is wrong in some cases.
12798 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12799 inside the inset before the call.
12801 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12803 * buffer.[Ch] (getBibkeyList): make it const.
12805 2002-04-12 Juergen Vigna <jug@sad.it>
12807 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12809 * text2.C (getCursorX): new helper function
12810 (setCursor): compute also ix_
12811 (setCursorFromCoordinates): set also ix.
12813 * lyxcursor.h: added ix_ and helper functions.
12815 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12817 * buffer.C (insertStringAsLines): dont break paragraph if the this
12818 paragraph is inside an inset which does not permit it!
12820 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12821 also with no chars on this paragraph.
12822 (paintRowText): only paint stuff if it's inside the workarea!
12824 * paragraph.C (breakParagraph): honor keepempty flag and break the
12825 paragraph always below not above.
12827 * BufferView2.C (unlockInset): update the paragraph layout on inset
12828 unlock as we changed paragraph in such a case.
12830 * lyxfind.C (LyXFind): clear the former selection if not found!
12832 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12833 again called in insertChar().
12835 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12836 an inset which uses the whole row!
12837 (rightMargin): ditto.
12838 (insertChar): force a rebreak if we inserted an inset!
12840 2002-03-28 Herbert Voss <voss@lyx.org>
12842 * lyxlength.[Ch]: add inBP() to get the right PS-point
12843 units (BigPoint). With inPixels we have rounding errors
12845 2002-04-11 Juergen Vigna <jug@sad.it>
12847 * text2.C (setCursorFromCoordinates): set iy to the right value.
12848 (setCursor): add check if row->previous exists!
12850 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12851 an old float_type as this was the case in the old code!
12853 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12855 * BufferView2.C (showLockedInsetCursor): use iy
12856 (fitLockedInsetCursor): ditto
12858 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12859 locked insets as there we have the right value now.
12861 * lyxcursor.C: added iy_ variable and iy functions to set to the
12862 baseline of cursor-y of the locked inset.
12864 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12865 (setCursor): fixed for insets which need a full row.
12867 * text.C (rowLastPrintable): don't ignore the last space when before
12868 an inset which needs a full row.
12869 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12870 as last character of a row when before a inset which needs a full row.
12872 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12874 * version.C.in: update date
12876 * text2.C (fullRebreak): try to always return true and see what
12879 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12881 * MenuBackend.C (expand): use Floating::listName
12883 * FloatList.C (FloatList): add listName argument to the built-in
12886 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12887 text associated with the float.
12889 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12891 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12893 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12895 * ShareContainer.h: add a couple of missing typenames.
12897 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12899 * lyxrc.C (getDescription): use _() correctly rather than N_().
12901 2002-03-28 Herbert Voss <voss@lyx.org>
12903 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12904 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12906 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12908 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12909 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12911 2002-03-29 Juergen Vigna <jug@sad.it>
12913 * lyxfunc.C (dispatch): add a missing fitCursor call.
12915 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12916 it was scrolled by a cursor move, so return the bool status.
12918 * BufferView.C (fitCursor): return the bool flag also to the outside
12919 world as this is needed.
12921 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12923 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12924 call the edit() as it is not needed (and wrong) IMO.
12925 (workAreaButtonPress): set the screen_first variable before evt.
12926 unlock the inset as this may change screen_first and then we have
12927 a wrong y position for the click!
12929 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12931 * MenuBackend.C (expand): another translation that I missed
12933 2002-03-28 Juergen Vigna <jug@sad.it>
12935 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12937 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12939 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12941 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12943 * MenuBackend.C (expand): fix export/view/update when there is no
12946 2002-03-27 Herbert Voss <voss@lyx.org>
12948 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12951 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12953 * bufferview_funcs.C (currentState): only show paragraph number
12954 for is DEVEL_VERSION is set.
12956 * lyxfunc.C (dispatch): put warning in INFO channel
12958 * MenuBackend.C (expand): translate the name of floats
12960 * FloatList.C (FloatList): mark the float names for translation
12962 * converter.C (convert): use LibScriptSearch
12964 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12966 * MenuBackend.C (defaults): fix default menu (we might as well get
12969 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12971 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12974 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12976 * lyxvc.C: reorder includes.
12978 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12980 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12983 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12985 * CutAndPaste.C: change layouts earlier on paste
12986 to avoid crashing when calling getFont()
12988 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12990 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12993 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12995 * WorkArea.C: remove 'Pending' debug message.
12997 * most files: ws cleanup
12999 * buffer.[Ch]: ws changes
13001 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13003 2002-03-21 Juergen Vigna <jug@sad.it>
13005 * tabular.C (SetMultiColumn): collapse also the contents of the
13006 cells and set the last border right. Added a Buffer const * param.
13008 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13010 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13013 2002-03-19 Juergen Vigna <jug@sad.it>
13015 * text2.C (clearSelection): reset also xsel_cache.
13017 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13018 where it needs to be called (John tells us to do so too :)
13019 (selectionLost): reset sel_cache.
13021 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13023 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13025 * text2.C (setCursorIntern): put debuging code in INSETS channel
13027 2002-03-19 André Pönitz <poenitz@gmx.net>
13029 * lyxfunc.C: tiny whitespace change
13031 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13033 * ToolbarDefaults.C (init):
13034 * LyXAction.C (init):
13036 * BufferView_pimpl.C (Dispatch):
13037 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13039 2002-03-19 Allan Rae <rae@lyx.org>
13041 * exporter.C (Export): removeAutoInsets before doing anything else.
13042 While I've just introduced a dependency on BufferView this really is
13043 the best place to clean the buffer otherwise you need to cleanup in
13044 a dozen places before calling export or cleanup in a dozen functions
13047 * converter.C (runLaTeX):
13048 (scanLog): Better handling of removeAutoInsets and screen updates.
13050 * lyxfunc.C (dispatch): small whitespace changes
13052 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13054 * WorkArea.C (C_WorkAreaEvent): return a value.
13055 (event_cb): return 1 if we handled the event, 0 otherwise.
13057 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13059 2002-03-18 Juergen Vigna <jug@sad.it>
13061 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13062 (GetAdditionalWidth): ditto.
13063 (RightLine): ditto.
13066 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13067 inset if we're there actually (probably not used right now but this
13068 is the direction to go for unifying code).
13069 (paste): disable code to clear the selection.
13071 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13072 inside an InsetText and move the check further up as it is in the
13075 * text2.C (pasteSelection): set a selection over the pasted text.
13077 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13079 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13080 and libgraphics to build on Cygwin.
13082 2002-03-15 Juergen Vigna <jug@sad.it>
13084 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13085 inserting an Inset into the paragraph. I know this is not the best
13086 fix but we already use current_view in CutAndPaste so we will remove
13087 all of it's using at the same time.
13089 * buffer.C (sgmlError): deactivated function till it is rewritten in
13090 the right mode, now it can create problems.
13092 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13093 before accessing it.
13095 2002-03-14 Juergen Vigna <jug@sad.it>
13097 * undo_funcs.C (textHandleUndo): do the right thing when updating
13098 the inset after the undo/redo.
13100 * text2.C (setCursor): just some testcode for #44 not ready yet.
13102 * undo_funcs.C (textHandleUndo): set the next() and previous()
13103 pointers of the paragraph to 0 before deleting otherwise we have
13104 problems with the Paragraph::[destructor].
13106 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13107 on a paragraph insertion.
13109 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * buffer.C (asciiParagraph): use += operator for char append to
13114 * paragraph.C (getFontSettings): compare >= not just >
13115 (highestFontInRange): ditto
13118 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13120 * paragraph.C: change several algorithm to be more appripriate for
13121 the problem domain. This is lookip in FontList and in the InsetList.
13123 2002-03-13 André Pönitz <poenitz@gmx.net>
13126 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13128 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13133 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13135 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13137 * Painter.C (display): anon helper function, adjust code for this
13139 (pixmap): remove function.
13141 * Painter.h: remove private display variable.
13143 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13145 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13147 * WorkArea.[Ch]: remove figinset_canvas cruft.
13149 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * lyxtextclass.C (operator): add one item cache optimization.
13153 * bufferlist.h: doxy changes
13155 * bufferlist.C: ws changes
13157 * DepTable.[Ch] (ext_exist): place const in the right spot.
13159 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13161 (workAreaExpose): call resizeInsets when the with BufferView changes.
13162 (Dispatch): adjust for protectedBlank removal
13163 (specialChar): call updateInset if the insert went ok.
13165 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13166 specialChar instead.
13168 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13170 * BufferView.h: doxy change
13172 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13174 * lyxtextclass.C (operator[]): remove non-const version
13175 (defaultLayout): remove non-const version
13177 2002-03-12 Juergen Vigna <jug@sad.it>
13179 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13180 did resize the LyXText too.
13182 * buffer.C (readLyXformat2): set layout information on newly allocated
13185 * tabular.C (OldFormatRead): set layout information on the paragraph.
13187 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13189 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13191 2002-03-11 Juergen Vigna <jug@sad.it>
13193 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13195 (resizeCurrentBuffer): force also the insets to resize themselfes.
13196 (moveCursorUpdate): fixed up for InsetText.
13198 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13201 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13202 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13203 value of Dialogs::tooltipsEnabled().
13204 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13206 2002-03-08 Juergen Vigna <jug@sad.it>
13208 * BufferView_pimpl.C (updateInset): update inset inside inset also
13209 if it isn't inside theLockingInset().
13211 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13213 * buffer.C (asciiParagraph): redo some of the word and line length
13215 (getLists): look for Caption instead of caption.
13217 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13219 * buffer.C (Buffer): initialize niceFile to true
13221 (makeLinuxDocFile):
13222 (makeDocBookFile): make sure niceFile is true on exit
13224 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13226 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13228 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13230 * LyXSendto.C: remove.
13231 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13232 * lyx_gui.C: remove now-redundant comment.
13233 * ColorHandler.h: remove forward declaration of class WorkArea.
13234 * lyxfunc.C: remove #include "WorkArea.h".
13236 2002-03-07 Juergen Vigna <jug@sad.it>
13238 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13239 got moved away with the DEPM and also set the inset_owner always
13240 right which before could have been omitted.
13242 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13245 wanted layout is not found.
13247 2002-03-07 Juergen Vigna <jug@sad.it>
13249 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13251 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13253 * paragraph.C (breakParagraph): use default layout not layout of
13255 (Paragraph): clear ParagraphParameters.
13257 2002-03-06 Juergen Vigna <jug@sad.it>
13259 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13260 otherwise it would not be a valid lenght. Fixed a special case in
13261 the minipage compatibility read where we end the document with a
13264 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13265 was set as it could be 0 for InsetTexts first entry.
13267 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13269 * paragraph.C (writeFile): if layout is empty write out
13270 defaultLayoutName().
13272 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13273 file without named layout we set layout to defaultLayoutName().
13275 2002-03-06 Juergen Vigna <jug@sad.it>
13277 * CutAndPaste.C (copySelection): set layout for new paragraph.
13279 * text.C (prepareToPrint): leave ERT inset left aligned
13280 (leftMargin): don't indent paragraphs inside ERT insets
13282 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13284 * paragraph.C (breakParagraph): dont call clear do the work manually
13286 * paragraph.[Ch] (clear): remove function
13288 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * paragraph.C (Paragraph): dont call clear, the work has already
13293 * lyxtextclass.C (operator): assert if n is empty
13295 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13296 work manually instead.
13298 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13300 * BufferView_pimpl.C: protect selectionLost against text == 0
13302 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13304 * text.C (breakParagraph): fix a setting layout to '0' problem.
13306 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13308 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13309 final location of file, for the included files, and graphics.
13311 2002-03-05 Juergen Vigna <jug@sad.it>
13313 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13315 2002-03-04 Juergen Vigna <jug@sad.it>
13317 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13319 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13320 last column of multicolumn cells.
13321 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13323 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13325 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13326 file if it doesn't go to a temporary file.
13328 * buffer.C (sgmlOpenTag):
13329 (sgmlCloseTag): remove extra newline insertion.
13331 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13333 * text.C (getRowNearY): comment out debug msg
13335 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * text2.C: first -> first_y
13339 * text.C (getRowNearY): add some attemts at a possible
13340 optimization, not working.
13342 * tabular.[Ch]: add BufferParams to several function so that newly
13343 created paragraph can be initialized to he default layotu for the
13346 * tabular-old.C (ReadOld): add buf->params to call of Init
13348 * screen.C: rename text->first to text->first_y
13350 * paragraph.C (breakParagraph): always set layout in the broken
13353 * lyxtextclass.C (Read): remove lowercase
13356 (delete_layout): ditto
13358 * lyxtext.h: rename first -> first_y
13360 * lyxlayout.C (Read): remove lowercase
13363 (obsoleted_by): ditto
13365 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13367 * buffer.C (insertErtContents): add params are to InsetERT
13368 (parseSingleLyXformat2Token): add code to check if a paragraphs
13369 layout really exist.
13370 (parseSingleLyXformat2Token): add params to several inset
13372 (asciiParagraph): remove lowercase, do the layout comparisons with
13375 * BufferView_pimpl.C (cursorNext): first -> first_y
13376 (resizeCurrentBuffer): first -> first_y
13377 (updateScrollbar): first -> first_y
13378 (scrollCB): first -> first_y
13379 (workAreaMotionNotify): first -> first_y
13380 (workAreaButtonPress): first -> first_y
13381 (checkInsetHit): first -> first_y
13382 (cursorPrevious): first -> first_y
13383 (cursorNext): first -> first_y
13384 (Dispatch): add buffer_->params to severl inset contructors
13386 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13388 * lyxlayout.C (Read): remove some debug info that I forgot.
13390 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13391 clean up the code slightly.
13392 (makeLinuxDocFile): ditto
13393 (makeDocBookFile): ditto
13395 * text2.C: layout as string
13397 * text.C: layout as string
13399 * paragraph_pimpl.C: layout as string
13401 * paragraph.[Ch]: layout as string
13403 * lyxtextclasslist.[Ch]: layout as string
13405 * lyxtextclass.[Ch]: layout as string
13407 * lyxtext.h: layout as string
13409 * lyxlayout.[Ch]: layout as string
13411 * lyx_cb.C: layout as string
13413 * bufferview_funcs.C: layout as string
13415 * bufferparams.C: layout as string
13417 * buffer.C: layout as string
13419 * LyXView.[Ch]: layout as string
13421 * LaTeXFeatures.[Ch]: layout as string
13423 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13425 * BufferView_pimpl.C: change current_layout to string, remove
13430 (workAreaButtonRelease): layout as string
13432 * BufferView2.C (unlockInset): adjust
13434 * vspace.C (asLatexCommand): use an explict temp variable.
13436 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13438 * Makefile.am: use FRONTEND_*
13440 2002-03-01 Juergen Vigna <jug@sad.it>
13442 * tabular.C (SetWidthOfMulticolCell): changed to something better
13443 I hope but still work in progress.
13444 (recalculateMulticolumnsOfColumn): renamed function from
13445 recalculateMulticolCells as it is more appropriate now.
13446 (SetWidthOfCell): calculate multicols better.
13448 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13450 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13452 * lyxfunc.C (processKeySym): print sequence also if it is
13453 `deleted' (complete)
13455 * kbsequence.C (print): print sequence even if it is deleted
13456 (complete would be a better word, actually).
13458 * lyxfunc.C (dispatch): print complete options after a prefix key
13460 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13462 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13464 * text2.C (setCharFont): eliminate setCharFont code duplication.
13466 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13468 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13469 LFUN_TABULAR_FEATURE (bug #177)
13471 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13473 * Makefile.am: remove figure.h
13475 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13477 * Bufferview_pimpl.C:
13489 * text2.C: remove #include "lyx_gui_misc.h".
13491 * LaTeX.C: added #include <cstdio>
13493 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13495 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13496 that the paragraph following this one can have.
13498 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13500 * vspace.C (asLatexCommand): fix bogus gcc warning
13502 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13504 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13506 * text2.C (setLayout): get rid of redundant code
13508 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13510 * text2.C (incDepth): make sure depth cannot be increased beyond
13513 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13515 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13516 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13518 * PainterBase.h (image):
13519 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13520 a LyXImage const *.
13522 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13526 * BufferView_pimpl.C:
13527 * BufferView_pimpl.h:
13547 * sp_spell.C: remove fig inset, and the crap house of
13548 cards that follows it
13550 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13555 * os2_errortable.h:
13556 * nt_defines.h: move .h into support/
13558 * vms_defines.h: remove
13560 * WorkArea.C: add space in debug output
13564 * buffer.C: add WITH_WARNINGS
13568 * bufferlist.C: s/retrive/retrieve/, add docs
13577 * chset.C: add docs
13579 * lyxgui.C: add ID to X error handler
13581 * lyxtestclass.c: fix typo
13583 2002-02-26 Juergen Vigna <jug@sad.it>
13585 * tabular_funcs.C (write_attribute): changed so that some default
13586 attributes are not written at all.
13587 (getTokenValue): set default values before trying to read the
13588 value so we have the return value always set as default if we don't
13589 find the token we search for.
13591 * tabular.C (Write): write bools as bools not as strings!
13593 2002-02-22 Juergen Vigna <jug@sad.it>
13595 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13596 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13598 * text.C (leftMargin): don't add an indent for paragraphs inside
13599 tabular cells (fix #208).
13601 2002-02-21 José Matos <jamatos@fep.up.pt>
13603 * tabular.C (docBook): fixed support for long tables.
13605 2002-02-20 Juergen Vigna <jug@sad.it>
13607 * text2.C (getFont): get the drawing font of the Inset if this
13608 paragraph is inside an inset (only important for InsetERT for now).
13610 * buffer.C (insertErtContents): use new lanugage params in ERT
13613 * CutAndPaste.C: commenting out seemingly uneeded code.
13615 2002-02-19 Allan Rae <rae@lyx.org>
13617 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13618 Iterators might be simple to use but they also get invalidated.
13619 (removeAutoInsets): renamed saved cursor tracking variables and added
13620 some comments to clarify what everything does.
13622 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13629 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13630 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13633 * vc-backend.h: remove #include "support/syscall.h"
13637 * converter.C: rearrange #includes in Lars' approved fashion.
13639 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13640 forward declare class Timeout in the header file.
13642 * XFormsView.C: changes due to the above.
13644 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13645 similar to LyXView.
13647 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13648 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13650 2002-02-18 José Matos <jamatos@fep.up.pt>
13652 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13655 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13657 * a lot of small ws changes
13658 * add a lot of using std::XXX
13659 * use std construcs some places where approp.
13660 * use some exisint stuff from lyxfunctional where approp.
13661 * Make file changes to use partial linking (lets test this now...)
13663 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13667 remove #include "support/syscontr.h" as it's redundant. Always has been.
13675 change Systemcalls::System to Systemcalls::Wait and
13676 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13677 No change of functionality, just reflects the stripped down Systemcalls
13680 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13682 * debug.[Ch]: add a GRAPHICS type to the enum.
13684 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13686 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13688 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13691 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13693 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13694 match the changes below.
13696 * text2.C (toggleInset): if there is not editable inset at cursor
13697 position, try to see if cursor is _inside_ a collapsable inset
13700 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13702 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13703 document menu has a nice checkbox
13705 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13707 * lyxlength.C (asLatexString): change PW to output as percent of
13710 * lengthcommon.C: change '%' to 't%'
13712 * lyxfunc.C (dispatch): a few comments from Martin
13714 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13718 * BufferView_pimpl.h:
13719 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13722 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13724 * vspace.C (inPixels): fix compiler warning
13726 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13728 * lyxfunc.C (getStatus): fix status message for disabled commands.
13730 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13732 * BufferView_pimpl.C: fix crash on close buffer
13733 during selection (#227)
13735 2002-01-27 Herbert Voss <voss@lyx.org>
13737 * buffer.C: link old Figure to new graphic inset
13739 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13741 * FontLoader.C (getFontinfo): Change the latex font names in order
13742 to match the names of type1inst.
13744 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13746 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13748 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13749 (extchanged): ditto
13751 (remove_files_with_extension): ditto
13752 (remove_file): ditto
13755 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13756 document is smaller than the work area height. Do not initialize
13757 static variables to 0.
13759 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13761 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13763 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13764 LFUN_LAYOUT_PARAGRAPHS.
13766 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13767 tabular. It is possible to provide a possible cell, which will
13768 typically be the actcell from the corresponding insettabular
13770 * lyxfunc.C (getStatus): small cleanup; disable
13771 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13774 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13776 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13778 * paragraph.C (startTeXParParams):
13779 (endTeXParParams): new methods. The LaTeX code to
13780 start/end paragraph formatting
13781 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13782 empty (fixes bug #200)
13784 * vspace.C (inPixels): adapt to the change below
13785 (inPixels): [later] more cleanups (remove unused variables)
13787 * lyxlength.C (inPixels): change to use a width and a height as
13790 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13792 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13793 Replaced with \paperwidth
13795 * DepTable.C (insert): add std:: qualifier
13797 2002-01-18 Allan Rae <rae@lyx.org>
13799 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13802 * text.C (drawInset): Turned out I didn't know enough about how
13803 rebreaking worked. This fixes most of the redraw problems. I see
13804 an occasional cursor trail when a line is broken now and the cursor
13805 placement can seem out by a few pixels also after a rebreak.
13807 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13809 * buffer.C (parseSingleLyXformat2Token): update because minipage
13810 width is now a LyXLength
13812 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13814 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13817 2002-01-17 Juergen Vigna <jug@sad.it>
13819 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13821 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13822 is set correctly and the inset is updated correctly.
13824 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13826 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13827 the beginning of the loop.
13829 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13831 * lyxrc.C: improve help for use_scalable_fonts
13833 2002-01-17 Allan Rae <rae@lyx.org>
13835 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13837 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13839 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13840 make sure to set their inset_owner to the right value (bug #171)
13842 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13845 * DepTable.C: Implement mtime checking to reduce time spent doing
13848 2002-01-16 Juergen Vigna <jug@sad.it>
13850 * tabular.C (GetAdditionalHeight): one of error fixed.
13852 * lyxrc.C (output): small fix in writing use_pspell.
13854 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13856 * sp_base.h: #include LString.h
13858 2002-01-16 Allan Rae <rae@lyx.org>
13860 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13861 Can someone check this please?
13863 * text.C (drawInset): It was possible that p.row would be removed by
13864 breakAgainOneRow upsetting a few other settings. There may be another
13865 small tweak possible by setting need_break_row = 0 when p.row has been
13866 removed but I don't know enough about the logic here.
13868 2002-01-15 Allan Rae <rae@lyx.org>
13870 * text.C (insertChar): removed conditional truism.
13872 * BufferView2.C (removeAutoInsets): More tweaks.
13873 cur_par_prev could be a stray pointer. Check for trailing empty line
13874 in case last line was cur_par and only had an error inset on it.
13876 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13878 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13881 * vc-backend.C (most methods):
13882 * exporter.C (Export):
13883 * converter.C (convert):
13885 * LyXSendto.C (SendtoApplyCB):
13886 * lyxfunc.C (dispatch):
13890 * lyx_cb.C (AutoSave):
13892 * BufferView_pimpl.C (MenuInsertLyXFile):
13893 * buffer.C (runChktex): use Buffer::filePath().
13895 * buffer.h: rename filename to filename_; rename filepath to
13896 filepath_ and make it private
13897 (filePath): new method
13899 * buffer.C (writeFile): use fileName()
13902 * lyx_main.C (init): fix starting of LyX when the binary is a
13903 link from so,ewhere else.
13905 * minibuffer.C: include <cctype> for isprint
13907 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13909 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13910 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13911 name clash with InsetCollapsable's width function.
13913 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13915 * lastfiles.C: include <iterator>
13917 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13919 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13922 * buffer.C (makeLaTeXFile): ditto.
13923 Also make loop operation more transparent.
13925 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13927 * ToolbarDefaults.C: remove trailing comma closing namespace.
13929 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13931 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13934 * trans.C (Load): comment out unused variable, allowed.
13936 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13938 * minibuffer.[Ch] (append_char): new method to recieve input from the
13939 drop-down completion browser. If a key was pressed, then recieve this
13940 char and append it to the existing string.
13941 (peek_event): modify the positioning data passed to the completion
13942 browser so that it can be placed above the minibuffer rather than below.
13943 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13945 * LyXAction.C (init): alloe error-next for readonly documents.
13947 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13950 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13952 * bufferlist.C (readFile): create the buffer _after_ checking that
13955 * lyxfunc.C (verboseDispatch): fix handling of arguments
13957 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13959 * lyxrc.C: use string::erase() instead of initializing to "".
13962 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13964 * BufferView_pimpl.h:
13965 * BufferView_pimpl.C:
13968 * text2.C: tell X when we have made a selection for copying
13970 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13972 * BufferView_pimpl.C (MenuInsertLyXFile):
13973 * lyxfunc.C (menuNew):
13975 (doImport): add shortcuts to directory buttons
13977 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13980 * lyxfunc.C (setStatusMessage):
13981 (getStatusMessage): new methods
13982 (getStatus):use setStatusMessage instead of setErrorMessage
13983 (dispatch): when function is disabled, set error message here
13984 [instead of in getStatus previously]
13986 * BufferView_pimpl.C (workAreaButtonRelease): update
13987 toolbar/menubar here too.
13989 2002-01-13 Allan Rae <rae@lyx.org>
13991 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13992 Now seems indestructible. Remaining task is to audit all other
13993 code affected by deleteEmptyParagraphMechanism. One small quirk
13994 left is that an empty document with an error in the preamble can
13995 be made to report an error but no error box appears. I don't know
13997 (removeAutoInsets): Improved comments.
13999 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14002 * Thesaurus.C: update for Aiksaurus 0.14
14004 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * text2.C (firstParagraph): removed member function, all uses
14007 replaces with ownerParagraph
14008 (redoParagraphs): here
14009 (updateInset): here
14010 (toggleAppendix): here
14011 * BufferView2.C (insertErrors): here
14012 (setCursorFromRow): here
14014 2002-01-13 Allan Rae <rae@lyx.org>
14016 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14017 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14018 There is still a way to segfault this although you may have to do this
14019 multiple times: Have an InsetERT with an unknown command in it.
14020 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14021 <down-arrow>, <Enter> again, View->DVI, BANG!
14023 * text2.C (setCursor):
14024 (deleteEmptyParagraphMechanism):
14025 * lyxtext.h (setCursor):
14026 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14027 Making use of the return value may help fix other bugs.
14029 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14031 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14033 * LyXView.C (updateMenubar): call MenuBar::update here
14034 (updateToolbar): but not here
14035 (showState): do not update toolbar/menubar
14037 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14038 should need to care about that.
14040 * lyxfunc.C (verboseDispatch): simplify a bit
14041 (getStatus): have a version which takes a pseudoaction, and
14042 another which requires a (kb_action,string).
14044 * LyXAction.C (retrieveActionArg): make it work also when action
14045 is not a pseudo-action.
14046 (getActionName): simplify a bit
14049 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14051 * lyxfunc.C (verboseDispatch): new families of methods with
14052 several ways to specify a command and a bool to indicate whether
14053 the command name and shortcut should be displayed in minibuffer
14054 (eventually, we could extend that to a finer bitmask like
14055 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14056 (dispatch): the pristine dispatch command which just, well,
14057 dispatchs! Note it still sets its result to minibuffer; I'm not
14060 * lyxfunc.h: remove setHintMessage
14062 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14064 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14066 * BufferView_pimpl.C (specialChar): delete new inset if we have
14067 not been able to insert it.
14069 * kbmap.C: revert to using int instead of kb_action, since all we
14070 are dealing with is pseudo-actions.
14072 * LyXAction.C (searchActionArg): change to return int instead of
14073 kb_action, since the result is a pseudoaction.
14075 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14077 * buffer.C (insertErtContents): Fix (partially) the font bug.
14079 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14081 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14082 as the other one is broken on my machine!
14084 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14087 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14089 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14091 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14092 reflect their actual use. Provide compatibility code for older lyxrc
14095 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14097 change names of popup font variables in line with the changes to lyxrc.C
14099 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14101 * buffer.C (asciiParagraph): avoid outputing a word twice after
14104 * lyxrc.C (getDescription): document that document_path and
14105 template_path can be empty.
14107 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14109 * LaTeXFeatures.C (getMacros):
14110 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14112 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14114 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14116 (getPackages): rename feature "floats" to "float". Use an array to
14117 iterate over 'simple' features (i.e. just a \usepackage). Add
14118 handling of "amsmath" (renamed from "amsstyle").
14120 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14122 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14125 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14127 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14128 FuncStaus::FuncStatus & FuncStaus::some_method().
14130 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14132 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14133 of the func_satus stuff. Edited and massaged in various ways by
14136 * lyxfunc.C (getStatus): use FuncStatus
14138 2002-01-08 Juergen Vigna <jug@sad.it>
14140 * text.C (nextBreakPoint): use function Inset::isChar().
14142 * paragraph.C (TeXOnePar): use function
14143 Inset::forceDefaultParagraphs.
14145 * buffer.C (latexParagraphs): use function
14146 Inset::forceDefaultParagraphs.
14148 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14150 * lyx_gui.C (init): set the style of the menu popups to
14151 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14153 2002-01-07 Juergen Vigna <jug@sad.it>
14155 * text.C (setHeightOfRow): small fix
14156 (prepareToPrint): don't look at alignment if we don't have the place
14159 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14161 * box.C: New file. Move the Box methods and functions out of box.h,
14162 following Lars' suggestion.
14164 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14166 * box.h: #include "support/LOstream.h", needed for inlined function.
14169 * lyxtextclasslist.C: added some using std declarations.
14171 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14173 * box.h: make signed dimensions to allow insets wider than
14174 the screen (bug #162)
14176 * BufferView_pimpl.C: add some insetHit debug
14178 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14180 * vc-backend.C: add FIXME
14182 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14184 * lyxfunc.C (getStatus): enable code for showing math font status
14187 2002-01-07 Juergen Vigna <jug@sad.it>
14189 * text.C (nextBreakPoint): removed debug output not needed anymore.
14191 2002-01-06 Juergen Vigna <jug@sad.it>
14193 * text.C (nextBreakPoint): fixed up this function we had this bug
14194 since ever but now hopefully we break row better.
14195 (insertChar): we have to check if an inset is the next char as it
14196 could now happen that a large inset is causing a break.
14198 2002-01-05 Juergen Vigna <jug@sad.it>
14200 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14201 if it doesn't like to be drawed.
14203 2002-01-04 Juergen Vigna <jug@sad.it>
14205 * BufferView2.C (lockInset): forgot to set a cursor.
14207 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14209 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14211 * FormMathsPanel.C:
14214 * form_maths_panel.C:
14215 * form_maths_panel.h:
14216 * form_maths_panel.fd: implemented sub- and super- buttons in math
14219 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14220 (or ^ space) to be used as in TeX (req'd by Andr�.
14222 * lyxfunc.C: Allow ^ and _ again to be used both as
14223 super/subscript (mathed) and as themselves (in text).
14225 2002-01-03 Allan Rae <rae@lyx.org>
14227 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14228 "LyX" or the filename of the current buffer if it has one. This is a
14229 modified form of John Levon's patch.
14231 * XFormsView.C (setWindowTitle): also set icon title.
14233 * LyXView.h (setWindowTitle): signature changed.
14234 * XFormsView.h (setWindowTitle): ditto.
14236 2002-01-02 Juergen Vigna <jug@sad.it>
14238 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14240 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14242 * screen.C (topCursorVisible): introduce a temp var for
14243 text->cursor.row(), handle the case where this row is null. (kindo
14246 * text2.C (setCursor): add a couple of asserts.
14248 * paragraph.h (inset_iterator): add -> operator
14250 * paragraph.[Ch] (autoDeleteInsets): remove member function
14252 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14253 cursor pos correctly and handle inset deletion by itself.
14254 (insertErrors): move iterator declaration out of for expression
14256 * lyxtextclass.C: add <algorithm>
14258 * Makefile.am: added the new files to sources, removed layout.C
14260 * layout.C: removed file
14262 * layout.h: remove LYX_DUMMY_LAYOUT
14264 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14268 * lyxtextclass.[Ch]:
14269 * lyxtextclasslist.[Ch]: new files
14271 * include order changes to a lot of files, also changes because of
14274 2001-12-27 Juergen Vigna <jug@sad.it>
14276 * buffer.C (asciiParagraph): more fixes.
14278 * tabular.C (ascii): make ascii export support export of only the
14279 data separated by a column-delimiter.
14280 (ascii): better support for ascii export.
14282 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14284 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14286 * tabular_funcs.C: use a "using std::getline" instead of the
14287 previous fix from Angus (necessary for cxx + lyxstring)
14289 2001-12-24 Juergen Vigna <jug@sad.it>
14291 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14293 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14294 problems. First check a minipage also if we have some ert-contents
14295 (not only on par->size(), second set the right depth of the paragraph
14296 on the relink to the root-paragraph-list!
14298 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14299 which then did not anymore update the main paragraphs on undo/redo!
14301 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14303 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14304 code. Support all font-changing funcs (even those which are not in
14305 menu currently). Support for reporting font settings in
14306 mathed (disabled until Andre provides a function on mathed's side).
14308 * func_status.h (toggle): small helper function to set toggle
14311 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14313 * tabular_funcs.C: getline -> std::getline
14315 2001-12-21 Juergen Vigna <jug@sad.it>
14317 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14318 accessed and could be 0 (I couldn't generate this but it seems
14321 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14323 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14324 * tabular_funcs.h: here and include iosfwd
14326 2001-12-20 Juergen Vigna <jug@sad.it>
14328 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14329 inside inset but undo_par was.
14331 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14333 * Thesaurus.C: always include <config.h> in sources.
14337 * box.h: do not include <config.h> in header files
14339 * text.C (paintLastRow): remove unused variable
14341 * text.C (transformChar):
14343 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14345 * Painter.C (text):
14346 * font.C (width): rewrite to use uppercase() instead of
14349 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14351 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14353 * lyxfind.C: clean up of find failure position change
14355 2001-12-20 Juergen Vigna <jug@sad.it>
14357 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14359 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14360 (TeXRow): added to LaTeX a single tabular row.
14361 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14362 (Latex): simplified and finally good LT-h/f support.
14363 (various_functions): just small adaptions for LT-h/f support.
14365 * tabular_funcs.[hC]: added and moved here all not classfunctions
14368 2001-12-19 Juergen Vigna <jug@sad.it>
14370 * tabular.[Ch]: better support for longtabular options (not finished
14373 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14375 * text.C (paintLastRow): use the label font instead of the font of
14376 the last character to compute the size of *_BOX. This makes more
14377 sense and avoids a crash with empty paragraphs.
14378 Use Painter::rectangle to draw EMPTY_BOX.
14380 2001-12-19 Juergen Vigna <jug@sad.it>
14382 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14383 the paragraphs if the replaced paragraph is not the first one!
14384 Tried to delete not used paragraphs but does not work yet so for
14385 now it's inside #ifdef's and by default off!
14387 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14389 * MenuBackend.C: include "lyx_main.h" instead of declaring
14390 lastfiles (actually was declared as LastFiles* instead of a
14393 2001-12-17 Juergen Vigna <jug@sad.it>
14395 * tabular.C (AppendColumn): applied John's fix
14397 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14401 * BufferView_pimpl.h:
14402 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14405 * box.h: new start of class for above
14407 * lyxfunc.C: ignore space-only minibuffer dispatches.
14408 Show the command name when it doesn't exist
14410 * minibuffer.C: don't add empty lines to the history
14412 * minibuffer.C: add a space on dropdown completion
14414 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14416 * text.C: fix line above/below drawing in insets
14418 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14420 * lyxlength.C (LyXLength): Initialize private variables.
14422 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14424 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14425 when inserting error insets.
14427 2001-12-13 Juergen Vigna <jug@sad.it>
14429 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14430 actually sometimes the before-paragraph.
14431 (setUndo): don't clear the redostack if we're not actually undoing!
14433 2001-12-06 Juergen Vigna <jug@sad.it>
14435 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14436 and fixed redoing of main paragraph, so we can use it now ;)
14438 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14440 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14442 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14445 2001-12-13 André Pönitz <poenitz@gmx.net>
14448 * undo_func.C: minor cleanup
14450 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14452 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14453 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14454 font in urw-fonts package which is marked as -urw-fontspecific and
14455 does not work (incidentally, changing the encoding in the
14456 fonts.dir of this package to -adobe-fontspecific fixes the
14459 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14460 is a crash when undoing first paragraph (Juergen, please take a
14461 look). THis does not mean the undo fix is wrong, just that it
14464 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14465 the (Paragraph*) version when needed instead of duplicating the
14468 * text.C (workWidth): use Inset::parOwner to find out where the
14469 inset has been inserted. This is a huge performance gain for large
14470 documents with lots of insets. If Inset::parOwner is not set, fall
14471 back on the brute force method
14473 * paragraph_pimpl.C (insertInset):
14474 * paragraph.C (Paragraph):
14475 (cutIntoMinibuffer): set parOwner of insets when
14476 inserting/removing them
14478 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14480 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14486 * mathed/formulabase.C:
14487 * mathed/math_cursor.[Ch]:
14488 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14491 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14493 * lyxlength.[Ch] (operator!=): new function
14495 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14497 * text.C (workWidth): use Inset::parOwner to find out where the
14498 inset has been inserted. This is a huge performance gain for large
14499 documents with lots of insets. If Inset::parOwner is not set, fall
14500 back on the brute force method
14502 * paragraph_pimpl.C (insertInset):
14503 * paragraph.C (Paragraph):
14504 (cutIntoMinibuffer): set parOwner of insets when
14505 inserting/removing them
14507 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14509 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14511 * tabular-old.C (getTokenValue):
14512 * tabular.C (getTokenValue):
14513 (write_attribute): new versions for LyXLength
14514 (everywhere): adjust the use of widths
14516 * tabular.h: change the type of widths from string to LyXLength
14518 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14520 * paragraph.C: fixed missing line number count when exporting
14521 Environments to LaTeX file
14523 * buffer.C: added informational message for checking line numbers.
14525 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14527 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14528 paragraph, do the 'double space' part, but not the 'empty
14531 * text.C (workWidth): small optimization
14532 (getLengthMarkerHeight): use minimal size for negative lengths.
14534 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14536 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14538 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14540 2001-12-11 André Pönitz <poenitz@gmx.net>
14543 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14545 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14547 * text2.C: keep selection on a setFont()
14549 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14551 * lyx_cb.C: another bv->text misuse, from insert label
14553 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14556 * kbsequence.C: re-instate nmodifier mask
14558 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14560 * lyx_main.h: make lyxGUI private.
14562 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14564 * lyxfind.C: place the cursor correctly on failed search
14566 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14568 * text.C (getLengthMarkerHeight): for small heights, the arrows
14569 are not always on top/bottom of the text
14570 (drawLengthMarker): smaller arrows; take the left margin in
14571 account; draw also vfills.
14573 (paintLastRow): remove special code for vfill and standard spaces,
14574 since everything is handled in drawLengthMarker now.
14576 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14578 * buffer.C (insertErtContents): try to handle font and language
14579 interaction a bit better.g
14581 * ColorHandler.C (updateColor): change the hash to cover the whole
14582 LColor enum, ws cleanup
14583 (getGCLinepars): ditto
14584 (getGCLinepars): only lookup in the linecache once.
14586 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14588 * iterators.C (operator++): Make the iterator more robust
14590 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14592 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14594 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14597 * text.C: better added space drawing
14599 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14602 * BufferView2.C: fix layout combo update on inset unlock
14604 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14606 * Makefile.am: don't compile unused files
14608 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14612 * LyXAction.C: remove old LFUN_LAYOUTNO
14614 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14616 * paragraph_pimpl.h:
14617 * paragraph_pimpl.C: isTextAt() doesn't need font param
14619 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14622 * lyxlex.C: little cleanup
14624 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14626 * BufferView_pimpl.C: fix insertAscii for insets
14628 2001-12-05 Juergen Vigna <jug@sad.it>
14630 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14631 set the right font on the "multi" paragraph paste!
14633 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14639 * lyxlength.C: remove out-commented code.
14641 * BufferView_pimpl:
14655 * vc-backend.C: change "while(" to "while ("
14657 * lyxlength.[Ch]: add zero function to check if length is zero or
14659 * lyxgluelength.C: use it
14661 2001-12-05 Allan Rae <rae@lyx.org>
14663 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14664 Works for 2.95.3, from what I understand of Garst's reports this should
14665 work for other g++ versions. We're screwed if the abs(int) definition
14666 changed between bugfix releases of gcc.
14668 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14670 * text.C: fix chapter label offset !
14672 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14675 * text.C: fix hfill at end of line, clean up
14677 2001-12-04 Juergen Vigna <jug@sad.it>
14679 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14680 that we force an update of the inset and it's owners if neccessary.
14682 2001-12-03 Juergen Vigna <jug@sad.it>
14684 * text.C (rowLast): simplified code
14686 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14688 * lyxfunc.C: fix show options on timeout
14690 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14692 * screen.C (topCursorVisible): scroll half a page when the cursor
14693 reached top of bottom of screen
14695 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14697 * minibuffer.C: deactivate on loss of focus
14699 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14701 * vspace.[Ch] (operator!=): add operator.
14703 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14705 * BufferView_pimpl.C: refuse to open an inset when
14706 there's a selection.
14708 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14710 * BufferView_pimpl.C: allow to click on RHS of full row insets
14712 2001-11-30 Juergen Vigna <jug@sad.it>
14714 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14715 insets for undo reasons.
14717 2001-11-28 André Pönitz <poenitz@gmx.net>
14719 * vspace.[Ch]: cosmetical changes
14721 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14731 * kbsequence.C: part re-write of old kb code
14734 * WorkArea.C: remove Lgb_bug_find_hack
14736 2001-11-30 José Matos <jamatos@fep.up.pt>
14738 * buffer.C (makeDocBookFile): add a comment to point a hack.
14739 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14740 Fixed a double write of labels.
14742 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14745 * LaTeX.h Fixed bug in LaTeX class where it would not
14746 re-run latex if no depfiles were changed, but the .dvi was removed.
14748 2001-11-28 André Pönitz <poenitz@gmx.net>
14750 * all the files from the change on 2001/11/26:
14751 use lyx::layout_type instead of LyXTextClass::size_type
14752 use lyx::textclass_type instead of LyXTextClassList::size_type
14754 2001-11-29 Juergen Vigna <jug@sad.it>
14756 * text.C: added support for paragraph::isFreeSpacing()
14758 * buffer.C: same as above
14760 * paragraph.h: inserted isFreeSpacing() function to enable
14761 FreeSpacing inside InsetERT.
14763 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14764 of the paragraph's in the cut/copy buffer to 0!
14766 * text2.C (removeRow): remove the assert as it can!
14768 * lyxtext.h: added helper function firstRow returning firstrow and
14769 made firstrow private again.
14771 * BufferView2.C (lockInset): don't relock if we're already locked!
14773 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14774 the only paragraph.
14775 (removeRow): added Assert::(firstrow)
14777 * debug.C: forgot to add INSETTEXT here.
14779 2001-11-28 Juergen Vigna <jug@sad.it>
14781 * sp_spell.C (initialize): changed error text to more general
14782 spellchecker command use (not only ispell!)
14784 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14786 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14788 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14790 * vspace.C: initialise lyxgluelength on failure
14792 2001-11-28 Allan Rae <rae@lyx.org>
14794 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14795 declaration & definition that looks like a function declaration.
14797 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14799 * BufferView2.C (copy):
14800 (copyEnvironment): do not clear the selection when doing a copy.
14802 * text.C (paintFirstRow): compilation fix
14804 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14806 * tabular.C (Latex): correct line count when writing latex.
14808 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14810 * paragraph_pimpl.h:
14811 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14814 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14818 * LColor.C: change vfillline->added_space
14820 * text.C: add markers and text for added space
14822 * vspace.C: fix comment
14824 2001-11-28 André Pönitz <poenitz@gmx.net>
14826 * paragraph.C: whitespace changes
14827 * all the other files from the change on 2001/11/26:
14828 change *::pos_type into lyx::pos_type
14830 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14832 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14833 language of the document when inserting error insets.
14835 2001-11-26 André Pönitz <poenitz@gmx.net>
14837 * BufferView_pimpl.[Ch]:
14845 * paragraph_pimpl.[Ch]:
14848 * text2.C: reduce header dependencies, introduce type for positions
14850 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14852 * <various>: change to use Alert.h
14854 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14856 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14857 when encountering an unknown token.
14858 (readLyXformat2): Show an error message if there were unknown tokens.
14860 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14863 * BufferView_pimpl.C:
14867 * text2.C: use par->isInset()
14869 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14871 * paragraph_pimpl.h:
14872 * paragraph_pimpl.C: cleanup
14874 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14876 * text2.C (removeRow):
14877 * text.C (setHeightOfRow): remove useless (and costly) call to
14880 2001-11-20 Allan Rae <rae@lyx.org>
14882 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14883 Now need Inset*::checkInsertChar() to return true for appropriate
14884 cases so that the characters in the minibuffer will actually be
14887 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14889 * text.C: change the order of the includes.
14890 (workWidth): initialize it at once.
14891 (workWidth): make maxw unsigned
14892 (setHeightOfRow): remove unused variable (inset)
14893 (selectSelectedWord): remove unused variable (inset)
14894 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14896 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14898 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14899 server is not running.
14901 (closeConnection): add debug info when server is disabled.
14903 * ColorHandler.C (getGCForeground): send debug message to GUI
14906 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14908 * kbmap.C (bind): modify because return conventions of
14909 kb_sequence::parse have changed.
14911 * kbsequence.C (parse): only ignore spaces and not any stupid
14912 control character. This avoids tests like s[i] <= ' ', which are
14913 guaranteed to fail with 8bit characters and signed chars.
14914 Change return code to string::npos when there have been no error
14915 (0 was a bad idea when error is at first character)
14917 2001-11-14 José Matos <jamatos@fep.up.pt>
14920 * buffer.C (simpleDocBookOnePar): removed unused argument.
14922 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14924 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14925 insets which are part of a word. Paragraph::isLetter takes care of
14926 that now. Use Paragraph::isInset to identify insets.
14927 (selectSelectedWord): do not test for hyphenation break.
14929 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14930 that protected spaces are considered as spaces.
14932 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14935 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14938 * lyxserver.C: fix it. and small cleanup.
14940 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14942 * BufferView_pimpl.C: use inline helpers
14945 * LaTeXFeatures.C: fix typos
14948 * Spacing.C: move spacing_string into class
14950 * ToolbarDefaults.C: move stuff into namespace anon
14952 * layout.h: update enum
14954 * lyxfunc.C: use better debug
14956 * minibuffer.h: fix typo
14960 * WorkArea.C: add and use Debug::WORKAREA
14964 * text2.C: code re-organisation, inline helpers
14966 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14968 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14969 std::vector.empty().
14971 2001-11-09 Allan Rae <rae@lyx.org>
14973 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14974 '\n's after tables. Tabular and ERT inset work now makes this no
14977 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14980 * minibuffer.C: fix crash, improve drop-down completion
14982 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14985 * lyxserver.C: invalidate fd's when doing endPipe()
14987 2001-11-08 José Matos <jamatos@fep.up.pt>
14989 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14990 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14993 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14995 2001-11-07 José Matos <jamatos@fep.up.pt>
14998 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15001 * buffer.C (sgmlOpenTag):
15002 * buffer.C (sgmlCloseTag): removed debug info.
15004 * buffer.h (sgmlOpenTag):
15005 * buffer.h (sgmlCloseTag): made public.
15007 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15009 * buffer.C (saveParamsAsDefaults):
15010 * lyx_cb.C (MenuLayoutSave): remove
15012 * LyXAction.C (init):
15014 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15016 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15018 * buffer.C (setPaperStuff): removed from here...
15020 * bufferparams.C (setPaperStuff): ... and moved there.
15022 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15026 * XFormsView.C: add support for drop-down completion
15028 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15030 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15033 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15035 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15038 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15040 * lyx_main.C: change ref to known bugs
15042 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15044 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15045 to work around older babel problems.
15047 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15049 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15051 2001-10-24 Juergen Vigna <jug@sad.it>
15053 * tabular-old.C (ReadOld): below variable changes reflected.
15055 * tabular.[Ch]: added ltType struct for longtable header/footer
15056 defines and changed all instances where they are used. Added
15057 future support for double top/bottom rows.
15059 2001-10-24 José Matos <jamatos@fep.up.pt>
15061 * buffer.h (docbookHandleCaption):
15062 * buffer.C (docbookHandleCaption): removed unused function.
15063 (makeDocBookFile): moved docbook supported version to v4.1.
15065 2001-10-24 José Matos <jamatos@fep.up.pt>
15068 * tabular.C (docbookRow): new function to export docbook code of a row.
15069 (DocBook): now honors the longtable flags.
15071 2001-10-23 José Matos <jamatos@fep.up.pt>
15074 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15075 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15077 * buffer.C (makeLinuxDocFile):
15078 (makeDocBookFile): reworked the preamble, more clean, and with
15079 support for lyx defined entities. Changed the document declaration
15080 to be more XML friendly.
15082 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15083 if we need to output XML that should be done with a filter.
15085 2001-10-22 Juergen Vigna <jug@sad.it>
15087 * sp_pspell.h (class PSpell): add alive function needed in the
15088 controller to see if the spellchecker could be started.
15090 2001-10-22 Juergen Vigna <jug@sad.it>
15092 * buffer.C (insertStringAsLines): modify the font for inserting
15093 chars in certain conditions by calling checkInsertChar(font).
15095 2001-10-19 Juergen Vigna <jug@sad.it>
15097 * text.C (workWidth): use getRow instead of wrong algorithm.
15098 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15100 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15105 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15107 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15109 * text.C (workWidth): do not search for the exact row when
15110 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15111 optimization for big documents.
15113 2001-10-18 Juergen Vigna <jug@sad.it>
15115 * text.C (workWidth): new function with added Inset * parameter.
15117 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15119 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15121 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15122 change return type of getColumnNearX.
15125 * text.C (changeRegionCase): use uppercase/lowercase instead of
15128 (rightMargin): simplify code by factoring out the uses of
15133 (appendParagraph): use Paragraph::size_type
15135 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15137 * vspace.C (asLatexString): add a missing break
15139 2001-10-15 Herbert Voss <voss@perce.de>
15141 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15143 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15145 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15148 2001-10-10 André Pönitz <poenitz@gmx.net>
15150 * lyxfunc.C: removed greek_kb_flag.
15152 2001-10-10 Herbert Voss <voss@perce.de>
15154 * lyx_main.C: delete global string help_lyxdir.
15156 2001-10-09 Herbert Voss <voss@perce.de>
15158 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15160 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15162 * lyx_main.C: added global string help_lyxdir.
15164 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15166 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15168 * lyxrc.C (set_font_norm_type): support iso8859-4
15170 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15172 * LaTeX.C (deplog): add another regex for MikTeX
15174 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15176 * lyxrc.C (set_font_norm_type): support iso8859-3
15178 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15180 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15182 * LaTeXFeatures.C: remove special case of french and index
15184 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15185 before \begin{document}). This solves several incompatibilities.
15187 2001-10-03 Garst Reese <reese@isn.net>
15189 * lyx_cb.C: change CheckTex error msg.
15191 2001-10-03 José Matos <jamatos@fep.up.pt>
15193 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15195 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15197 * .cvsignore: update
15199 * lyx_main.C (commandLineVersionInfo): use new style version info.
15201 * buffer.C (writeFile):
15203 (makeLinuxDocFile):
15204 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15206 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15208 * version.h: update to use stuff in version.C
15210 * version.C.in: new file. Contains version information determined
15211 at compile time. This is a merging of version.h and
15214 2001-10-03 Juergen Vigna <jug@sad.it>
15216 * BufferView_pimpl.C (update): don't change "dirty" status in
15219 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15221 * WorkArea.C (c-tor): re-position version string slightly.
15223 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15225 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15226 revert to previous code.
15228 WorkArea.[Ch]: (show, destroySplash): methods removed.
15230 WorkArea.C: rework code so that it's an amalgam of the codes before and
15231 after the splash screen was moved to WorkArea.
15233 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15236 * vspace.C (inPixels):
15239 * buffer.C (insertStringAsLines):
15240 (asciiParagraph): fix types to be large enough
15242 * lyxlex_pimpl.h: change member status from short to int
15244 * layout.h: fix type of endlabeltype
15247 * kbsequence.C (parse): change return type to string::size_type
15249 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15252 * Bullet.C (bulletSize):
15253 (bulletEntry): do not use short ints as parameters
15255 * BufferView2.C (insertLyXFile): change a char to an int.
15257 * WorkArea.C (WorkArea): remove unneeded floats in computation
15259 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15261 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15263 * paragraph.C (asString): Do not ignore newline/hfill chars when
15264 copying to the clipboard.
15266 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15268 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15269 after a multi-line inset.
15271 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15273 * paragraph.C (validate): Set NeedLyXFootnoteCode
15275 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15277 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15278 and decrease-error to decrease.
15280 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15283 it more readable (should be equivalent)
15285 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15287 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15289 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15291 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15292 of a cursor (row, etc.) after a character has been deleted
15293 (deleteEmptyParagraphMechanism): call the method above on _all_
15294 cursors held by the LyXText when a double space has been
15297 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15299 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15301 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15303 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15304 background. Use greyOut() and the new show() methods to toggle between
15305 the foreground and background. Add code to remove the splash after
15306 its initial showing.
15308 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15309 (create_forms): no longer call Dialogs::showSplash.
15311 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15313 * .cvsignore: add version_info.h
15315 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15317 * version_info.h.in: new file
15319 * Makefile.am: add version_info.h.in
15321 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15322 version_info.h instead of VERSION_INFO
15324 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15326 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15327 The ERT inset now returns string().
15329 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15331 * lyxtext.h, text.C (selectNextWord): renamed as
15332 selectNextWordToSpellcheck.
15334 * text.C (selectNextWordToSpellcheck): Modified to not select
15335 words inside an ERT inset.
15337 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15339 * lyx_cb.C (MenuLayoutSave): change a bit the question
15341 * sp_base.h: include <sys/types.h>
15343 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15345 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15347 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15349 * several files: fix typos in user-visible strings
15351 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15353 * text2.C (pasteSelection): do not set the selection, since it
15354 will be cleared later. Actually, the intent was to fix the way the
15355 selection was set, but I figured rmoving the code was just as good.
15357 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15359 * FontLoader.C (available): Check if font is available without
15362 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15364 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15366 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15368 * lyxrc.[Ch]: added display_graphics variable and associated code.
15370 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15372 * bufferparams.C (hasClassDefaults): new method. Returns true if
15373 the buffer parameters correspond to known class defaults
15375 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15377 * XFormsView.C (show): set minimum size to the main window.
15379 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * text2.C (copySelection):
15383 * lyxfind.C (LyXReplace):
15384 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15385 LyXText::selectionAsString.
15387 * paragraph.C (asString): add "label" argument to the second form
15389 * text2.C (selectionAsString): add "label" argument and pass it to
15390 Paragraph::asString.
15392 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15394 * lyx_main.C (commandLineHelp): remove version information
15396 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15398 * lyx_main.C: add -version commandline option
15400 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15402 * paragraph.h: make the optional constructor arg required instead.
15403 some modifications to other files because of this.
15405 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15407 * lyxserver.C (C_LyXComm_callback): make it static
15409 * lyx_main.C (error_handler): make it static
15411 * lyx_gui.C (LyX_XErrHandler): make it static
15413 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15415 * WorkArea.C: make the extern "C" methods static.
15417 * Makefile.am (lyx_LDADD): simplify
15419 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15421 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15422 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15424 * LyXAction.C (init):
15425 * lyxfunc.C (dispatch): associated code removal.
15427 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15429 * lyxfont.h (isSymbolFont): shut off warning
15431 * text.C (setHeightOfRow):
15432 (getVisibleRow): fix crash with empty paragraphs which have a
15435 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15437 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15440 2001-09-04 José Matos <jamatos@fep.up.pt>
15443 * tabular.C (docbook): rename docBook method to docbook.
15445 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15447 * Makefile.am: add dependencies to main.o.
15449 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15451 * FontLoader.C (available): Return false if !lyxrc.use_gui
15453 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15455 * FontInfo.C (query):
15456 * converter.C (view):
15457 * importer.C (Import):
15458 * exporter.C (Export): Can not -> cannot.
15460 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15462 * BufferView_pimpl.C: allow to create index inset even if
15465 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15467 * buffer.C (getLists): replace boost::tie code with an explicit pair
15468 as boost::tie can break some compilers.
15470 * iterators.h: Added a std:: declaration to the return type of
15473 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15475 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15478 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15480 * iterators.[Ch]: New files. Provide paragraph iterators.
15482 * buffer.C (changeLanguage): Use paragraph iterators.
15483 (isMultiLingual): ditto
15485 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15487 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15489 * FontLoader.C: Support for cmr font.
15491 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15493 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15494 (available): New method.
15496 * FontInfo.C (getFontname): Use scalable fonts even when
15497 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15500 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15502 * converter.C (Formats::view): reverted! Incorrect fix.
15504 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15506 * converter.C (Formats::view): only output the -paper option
15507 if the dvi viewer is xdvi, thereby fixing bug #233429.
15509 2001-08-23 Herbert Voss <voss@perce>
15511 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15513 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15515 * Spacing.h (Spacing): Set space to Default on in the default
15518 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15520 * vc-backend.h (RCS::versionString): add RCS to version
15521 (CVS::versionString): add CVS to version
15523 * vc-backend.C (scanMaster): do not add CVS to version.
15524 (scanMaster): do not add RCS to version
15526 * lyxvc.C (versionString): new method
15528 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15530 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15532 * Spacing.C (set): initialize fval
15534 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15536 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15539 2001-08-16 Juergen Vigna <jug@sad.it>
15541 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15543 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15545 * BufferView_pimpl.C:
15548 * text2.C: setParagraph takes linespacing now
15550 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15552 * LyxAction.C: add internal LFUN_CITATION_INSERT
15554 * LyXView.C: actually apply fix
15556 * bufferlist.C: fix open non-existent file
15558 * lyxfind.C: fix indentation
15560 * lyxfunc.C: remove unneeded assert, fix typo
15562 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15564 * MenuBackend.C: use "Floatname List"
15566 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15568 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15569 when converting LaTeX layout to insetERT.
15570 Generate a non-collapsed float when reading old float
15572 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15574 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15577 2001-08-13 Juergen Vigna <jug@sad.it>
15579 * text.C (fill): return 0 instead of 20 as this seems to be the more
15582 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15584 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15587 2001-08-13 Juergen Vigna <jug@sad.it>
15589 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15591 (SearchBackward): comment out the unlocking of the inset_owner this
15592 should not be needed!
15594 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15596 * Many files: Remove inherit_language, and add latex_language
15598 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15599 collapsible insets.
15601 2001-08-10 Juergen Vigna <jug@sad.it>
15603 * text.C (prepareToPrint): fixed hfill-width in draw!
15605 * BufferView2.C (selectLastWord): save the selection cursor as this
15606 now is cleared in the function LyXText::clearSelection!
15608 2001-08-08 Juergen Vigna <jug@sad.it>
15610 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15611 BACKSPACE type functions.
15613 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15614 is only cutted from the document but not put in the cut-buffer, where
15615 still the old stuff should be.
15617 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15619 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15621 * tabular.C (SetWidthOfCell): fixed special case where the width
15623 (LeftLine): handle '|' in align_special.
15625 (LeftAlreadyDrawed): ditto
15626 (SetWidthOfCell): ditto
15628 2001-08-07 Juergen Vigna <jug@sad.it>
15630 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15632 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15634 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15635 * lyxlex.[hC]: ditto
15637 2001-08-06 Juergen Vigna <jug@sad.it>
15639 * text.C (getVisibleRow): fix up row clearing a bit.
15641 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15643 * minibuffer.C: make sure the X server sees the changes in the input.
15645 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15647 * paragraph.C (getFont): split into...
15648 (getLabelFont): this
15649 (getLayoutFont): and this
15650 * paragraph_pimpl.C (realizeFont): calling this
15652 * text2.C (getFont): split into...
15653 (getLayoutFont): this
15654 (getLabelFont): and this
15655 (realizeFont): all three calling this
15657 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15660 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15664 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15666 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15667 layouts from the Quote inset insertion.
15669 2001-08-03 Juergen Vigna <jug@sad.it>
15671 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15673 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15674 only if status not is already CHANGED_IN_DRAW (second level).
15676 * text.C (draw): don't set the need_break_row when inside an
15679 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15681 * buffer.C (parseSingleLyXformat2Token): handle more latex
15684 * bufferview_funcs.[hC]: change function names to
15685 begin with small char, adjust other files.
15687 2001-08-02 André Pönitz <poenitz@gmx.net>
15690 BufferView_pimpl.C: remove broken special code for math-greek
15692 2001-08-02 Juergen Vigna <jug@sad.it>
15694 * BufferView_pimpl.C (update): redone this function so that we
15695 update the text again if there was a CHANGE_IN_DRAW.
15697 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15698 (drawFromTo): added a new internal bool which is used by draw() and
15700 (general): some cursor drawing problems fixed.
15702 2001-08-01 Juergen Vigna <jug@sad.it>
15704 * lyxfind.C (LyXFind): fixed
15705 (SearchForward): ditto
15706 (SearchBackward): ditto
15708 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15709 spurius drawing of the cursor in the main area.
15711 * text2.C (status): small fix which could lead to a segfault!
15712 (clearSelection): remove unneeded BufferView param.
15714 2001-08-01 André Pönitz <poenitz@gmx.net>
15716 * lyxfunc.C: small change due to changed mathed interface
15718 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15720 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15722 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15724 * lyxfunc.c: fail gracefully if file doesn't exist
15729 * BufferView_pimpl.C: IsDirWriteable() proto changed
15731 * LyXView.C: fix updateWindowTitle() to store the last title
15733 2001-07-31 Juergen Vigna <jug@sad.it>
15735 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15736 the font (wrong since using of Paragraph::highestFontInRange).
15738 * paragraph.C (highestFontInRange): added a default_size parameter.
15740 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15741 (setHeightOfRow): reformat
15743 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15745 * converter.[hC] + affected files: move to (inital-char)lowercase
15748 * ParagraphParameters.C (ParagraphParameters): remove commented code
15750 * PainterBase.[Ch]: remove commented code
15752 * LaTeXFeatures.h: add "bool floats" for float.sty
15754 * LaTeXFeatures.C (LaTeXFeatures): init floats
15755 (require): handle float
15756 (getPackages): do it with floats
15758 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15760 * BufferView_pimpl.C (Dispatch): improve handling of
15761 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15763 * commandtags.h: #include lyxfont.h here temporarily to avoid
15766 * bufferlist.h: include LString.h here.
15768 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15770 * text2.C (getStringToIndex): new method.
15772 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15774 * *: Reduced header file dependencies all over.
15776 2001-07-30 Baruch Even <baruch@lyx.org>
15778 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15780 2001-07-29 Baruch Even <baruch@lyx.org>
15782 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15784 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15786 * ParameterStruct.h (endif): add a default constructor to make
15787 sure that all variables is initialized.
15789 * ParagraphParameters.C (ParagraphParameters): adjust
15791 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15793 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15794 index; also, check that there is something to index, and that it
15795 does not span over several paragraphs.
15796 (doubleClick): use WHOLE_WORD_STRICT for double click.
15798 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15800 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15803 2001-07-26 Baruch Even <baruch@lyx.org>
15805 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15806 an InsetFig figure, backwards compatible reading of old figure code.
15808 2001-07-27 Juergen Vigna <jug@sad.it>
15810 * text2.C: font.realize function adaption.
15812 * text.C (draw): add a warnings lyxerr text if needed.
15814 * layout.C: font.realize function adaption.
15816 * language.C: add inherit_language and implement it's handlings
15818 * bufferview_funcs.C (StyleReset): remove language parameter from
15819 font creation (should be language_inherit now).
15821 * bufferparams.C (writeFile): handle ignore_language.
15823 * paragraph.C (getFontSettings): the language has to be resolved
15824 otherwise we have problems in LyXFont!
15826 * lyxfont.C (lyxWriteChanges): added document_language parameter
15827 (update): removed unneeded language parameter
15829 * paragraph.C (validate): fixed wrong output of color-package when
15830 using interface colors for certain fonts in certain environments,
15831 which should not seen as that on the final output.
15833 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15835 * BufferView_pimpl.C:
15840 * LyXAction.C: add thesaurus support
15843 * lyxfind.C: add "once" parameter, for thesaurus, to not
15844 move to the next match
15846 2001-07-26 Juergen Vigna <jug@sad.it>
15848 * lyxfont.C (realize): honor ignore_language too!
15851 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15853 * text.C (draw): one place more for ignore_language to not draw
15856 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15858 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15860 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15862 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15863 the minipage conversion problem.
15865 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15867 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15870 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15872 * BufferView.h: don't forward declare WorkArea
15874 * BufferView.C: don't include WorkArea.h
15876 2001-07-25 André Pönitz <poenitz@gmx.net>
15880 * lyxfunc.C: new LFUN 'math-space'
15882 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15884 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15886 * text2.C (toggleInset): call open/close
15888 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15890 * lyxfunc.C (dispatch): add debug for the disabled case
15892 * font.C (buttonText): make similar to rectText
15894 * buffer.C (readInset): comment out parsing of insetlist and
15897 * PainterBase.C (rectText): small correction
15899 * BufferView_pimpl.C: comment out insettheorem and insetlist
15900 * LyXAction.C: ditto
15901 * commandtags.h: ditto
15903 2001-07-24 Juergen Vigna <jug@sad.it>
15905 * text.C (draw): honor the ignore_language.
15907 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15909 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15911 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15914 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15916 * lyxtext.h: remove unused (and unimplemented) methods
15918 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15920 * text.C (getVisibleRow): honor background color
15923 * Painter.h: remove default color argument for fillRectangle
15925 * text.C (backgroundColor): new method
15927 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15929 * text.C (getVisibleRow): adjust
15931 * font.[Ch] (rectText): new method, metrics
15932 (buttonText): new method, metrics
15934 * PainterBase.[hC]: make rectText and buttonText always draw and take
15937 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15939 * ToolbarDefaults.C (read):
15940 * MenuBackend.C (read): allow escaping in all strings
15942 * BufferView_pimpl.C (insertAndEditInset): new method.
15943 (Dispatch): use insertAndEditInset whenever appropriate.
15945 * BufferView_pimpl.C (insertNote): removed
15947 * BufferView_pimpl.C (smartQuote): new method, moved from
15948 BufferView; if an insetquote cannot be inserted, insert a '"'
15951 * BufferView2.C: remove insertCorrectQuote();
15953 * lyxfunc.C (getStatus): Add support for all remaingin
15954 inset-insert lfuns.
15956 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15958 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15959 command (necessary to pass " as parameter of self-insert.
15961 * text.C (selectWordWhenUnderCursor):
15962 (selectWord): add word_location parameter
15963 (selectWordWhenUnderCursor): same + remove special code for word
15965 (selectNextWord): use kind() to guess type of insetspecialchar,
15968 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15969 (insertErtContents): create ert insets as collapsed.
15970 (readInset): better compatibility code for Info inset.
15972 2001-07-20 Juergen Vigna <jug@sad.it>
15974 * lyxfunc.C (dispatch): use always LyXFind now!
15976 * text2.C (init): add a reinit flag so that the LyXText can be
15977 reinited instead of deleted and reallocated (used in InsetText).
15979 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15985 2001-07-18 Juergen Vigna <jug@sad.it>
15987 * text.C (selectNextWord): handle insets inside inset by calling
15988 always the bv->text functions so that we can go up the_locking_inset!
15990 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15991 in strange locations when inside an inset!
15993 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15994 handling to include insets.
15996 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15998 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16000 * LyXAction.C (init):
16002 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16003 LIGATURE_BREAK, since the name is so stupid.
16005 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16007 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16010 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16012 * sp_form.[Ch]: remove.
16014 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16016 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16019 * src/buffer.C (readInset): ditto.
16021 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16023 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16024 menuSeparator(), endOfSentenceDot(), ldots() and
16025 hyphenationPoint(), which are therefore removed.
16026 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16028 * LyXAction.C (init):
16029 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16031 * paragraph.C (getWord): removed.
16033 * BufferView_pimpl.C (Dispatch): use last word or selection for
16034 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16036 * lyx_main.C (queryUserLyXDir): do not ask before creating
16037 user_dir, except if it has been named explicitely.
16039 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16041 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16042 a document of zero size.
16044 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16046 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16047 approriately in the c-tor and in require().
16048 (getPackages): output the appropriate LaTeX for natbib support.
16050 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16051 variables "use_natbib" and "use_numerical_citations" when reading the
16053 (readInset): read the various natbib cite commands.
16054 (validate): white-space change.
16056 * bufferparams.[Ch]: new variables "bool use_natbib" and
16057 "bool use_numerical_citations".
16058 (writeFile): output them in the LyX file.
16060 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16062 * lyxfunc.C (getStatus): add support for all the inset insertion
16065 * text2.C (insertInset):
16066 * paragraph.C (insetAllowed):
16067 * BufferView_pimpl.C (insertInset): update to take in account the
16068 renaming of insertInsetAllowed
16070 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16072 * text2.C (getInset): new method. returns inset at cursor position.
16074 * BufferView_pimpl.C (Dispatch): changes because of this.
16076 * LyXAction.C (init): rename open-stuff to inset-toggle.
16078 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16080 * text2.C (toggleInset): renamed from openStuff; use
16083 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16085 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16087 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16089 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16091 * buffer.C (readLyXformat2): Add filename to the error dialog
16093 2001-07-18 Juergen Vigna <jug@sad.it>
16095 * tabular.C (GetCellNumber): put an assert here instead of the check!
16097 2001-07-17 Juergen Vigna <jug@sad.it>
16099 * BufferView_pimpl.C (toggleSelection): adapted too.
16101 * text.C (selectNextWord): adapted for use with insets.
16102 (selectSelectedWord): ditto
16104 2001-07-17 Juergen Vigna <jug@sad.it>
16106 * sp_spell.C (PSpell): fix initialitation order.
16108 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16110 * paragraph.C: spacing
16112 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16114 * sp_spell.C: repair language selection for pspell
16116 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16118 * lyxfunc.h: change more methods to begin with lower char.
16120 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16122 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16123 for unknown layouts.
16125 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16127 * buffer.C (readLyXformat2): Generate an error dialog if there are
16130 2001-07-16 Juergen Vigna <jug@sad.it>
16132 * sp_spell.C: always compile ISpell part.
16134 * lyxrc.C: added use_pspell entry and it's handling.
16136 2001-07-13 Juergen Vigna <jug@sad.it>
16138 * sp_spell.C: removed double includes.
16140 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16142 Consistent use of Lsstream.h:
16143 * Lsstream.h: added using std::stringstream for consistencies sake.
16145 * buffer.C: removed using std::stringstream
16147 * lyxfont.C (stateText):
16148 * paragraph.C (asString):
16149 * text.C (selectNextWord, selectSelectedWord):
16150 * text2.C (setCounter):
16151 * vspace.C (asString, asLatexString):
16152 std::ostringstream -> ostringstream.
16154 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16156 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16157 * commandtags.h: add LFUN_HELP_ABOUTLYX
16158 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16160 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16162 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16164 * lyx_gui_misc.C: remove spellchecker
16165 * lyxfunc.C: showSpellchecker
16167 * sp_ispell.h: added
16168 * sp_pspell.h: added
16169 * sp_spell.C: added
16170 * sp_form.[Ch]: removed
16171 * spellchecker.[Ch]: removed
16173 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16175 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16177 (simpleTeXSpecialChars): Simply print the input character without
16178 any special translation if pass_thru is set.
16180 * layout.h: Added bool pass_thru to layout class for being able to
16181 implement pass through of a paragraph for Literate Programming.
16183 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16184 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16185 * layout.C (Read): add "passthru" to list of layout tags and add
16186 code to set the pass_thru boolean when it is read.
16188 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16190 * trans_decl.h: remove allowed from KmodInfo
16192 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16193 remove allowed code
16196 * paragraph_pimpl.C (erase): use boost::prior
16198 * Painter.C (text): use data() instead of c_str() when length is
16200 * WorkArea.C (putClipboard): ditto
16201 * font.h (width): ditto
16203 * BufferView2.C: use it-> instead of (*it). for iterators
16205 * paragraph_pimpl.C: ditto
16206 * paragraph.C: ditto
16207 * minibuffer.C: ditto
16208 * language.C: ditto
16210 * encoding.C: ditto
16211 * counters.C: ditto
16212 * converter.C: ditto
16214 * Variables.C: ditto
16215 * TextCache.C: ditto
16216 * MenuBackend.C: ditto
16217 * LyXAction.C: ditto
16219 * FloatList.C: ditto
16220 * DepTable.C: ditto
16221 * ColorHandler.C (LyXColorHandler): ditto
16223 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16225 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16227 * text2.C (openStuff): reintroduce this method (which had been
16228 nuked in NEW_INSETS frenzy).
16230 * lyxfunc.C (Dispatch): when an action has not been handled, use
16231 its name in the error message, not its number.
16233 * paragraph.C (inInset): change method name to begin with lowercase.
16236 * text2.C: updates because of this.
16238 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16240 * ToolbarDefaults.C (add): add spaces in error message
16242 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16244 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16245 (readLyXformat2): rename return_par to first_par, use lyxlex's
16246 pushToken and remove the manual push handling.
16247 (parseSingleLyXformat2Token): add another ert comp. variable:
16248 in_tabular, rename return_par to first_par. handle newlines better
16250 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16252 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16254 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16256 * text2.C (getParFromID): removed
16258 * buffer.C (getParFromID): new method moved form lyxtext.
16259 * BufferView2.C (insertErrors): adjust
16260 (setCursorFromRow): adjust
16261 * BufferView_pimpl.C (restorePosition): adjust
16262 * lyxfunc.C (Dispatch): adjust
16263 * undo_funcs.C (textUndo): adjust
16265 (textHandleUndo): adjust
16266 (textHandleUndo): adjust
16268 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16270 * buffer.C: up' the LYX_FORMAT
16272 * lyxfont.h: turn NO_LATEX on as default
16274 * buffer.C (insertErtContents): new methods of tex style compability.
16275 (parseSingleLyXformat2Token): use it several places.
16276 * tabular.C (OldFormatRead): and here
16278 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16280 * text2.C: remove some commented code.
16283 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16284 * trans.C: changes because of the above.
16286 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16288 * text2.C (setCounter): Fix counters bug with bibliography layout.
16290 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16292 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16293 own member functions
16294 (simpleTeXSpecialChars): ditto
16296 2001-07-06 Juergen Vigna <jug@sad.it>
16298 * a lot of files: changed the access to LyXText::status and the
16299 call of undo-functions.
16301 * undo.[Ch]: added a inset_id to the undo informations.
16303 * undo_funcs.[Ch]: added and moved here all undo functions.
16305 * lyxtext.h: give the status enum a weight, made status_ a private
16306 variable and made accessor functions for it, removed the whole bunch
16307 of undo-functions as they are now in their own file, make some
16308 functions publically available. Added function ownerParagraph with
16311 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16312 made InInset() a const function, added getParFromID() function.
16314 * buffer.[Ch]: added const version for inset_iterator functions,
16315 added getInsetFromID() function.
16317 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16318 changed undo functions for new version.
16320 2001-07-05 Juergen Vigna <jug@sad.it>
16322 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16323 unknow mechanism does not call the proper constructor but only this
16324 one also if I request the other!?
16326 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16328 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16330 * text2.C (LyXText): use initialization lists.
16332 * lyxtext.h (Selection): initialize set_ and mark_
16333 (init): remove method
16335 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16337 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16339 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16341 * screen.[Ch]: change method names to begin with lowercase
16343 * BufferView_pimpl.C (updateScrollbar): simplify further and
16344 hopefully make it a bit faster.
16346 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16348 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16349 calling directly xforms functions.
16351 * Painter.C (Painter):
16352 * lyx_cb.C (MenuWrite):
16353 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16356 * lyx_gui.C: remove bogus guiruntime extern declaration.
16358 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16360 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16362 (redoDrawingOfParagraph): ditto
16363 (redoParagraphs): ditto
16364 (cutSelection): don't create a object for CutAndPaste use the
16365 static method directly
16366 (pasteSelection): ditto
16368 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16371 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16373 * modifications to some other files because of this.
16375 * Makefile.am (lyx_SOURCES): add XFormsView
16377 * XFormsView.[Ch]: new files
16379 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16380 the main window. Move the gui dependent stuff to XFormsView
16382 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16384 * tabular.C (GetCellInset): update cur_cell also in the row/col
16385 version of this function.
16387 * lyxfunc.C: no need to include figure_form.h here.
16393 * lyxvc.C: no need to include forms.h here.
16395 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16397 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16399 * lyxfunc.C (Dispatch):
16401 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16402 constructor argument.
16404 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16406 * paragraph.C (Paragraph): dont't clear, and just set layout.
16407 (makeSameLayout): use params's copy contructor.
16409 * ParagraphParameters.[Ch] (makeSame): delete method
16411 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16413 * Variables.[Ch]: fix indentation, rename set to isSet
16415 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16417 * lyxfunc.C (Dispatch): fix typo
16419 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16421 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16424 * bufferlist.C: include assert.h for emergencyWrite().
16426 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16428 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16429 give up at last (bug #425202) !
16431 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16437 * spellchecker.C: strip spellchecker options and bring up
16438 preferences tab instead
16440 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16442 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16443 the istringstream constructor
16445 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16447 * paragraph.C (getLayout): fix return value
16449 * paragraph.h: do not declare getLayout as inline.
16451 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16453 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16455 * lyxcursor.h (operator<): new func
16456 (operator>): new func
16457 (operator>=): new func
16458 (operator<=): new func
16460 * text.C (changeCase): use selection.start and selection.end
16461 (changeRegionCase): require from to be <= to. Require par to be a
16464 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16466 2001-06-27 Juergen Vigna <jug@sad.it>
16468 * text.C (cursorLeftOneWord): changed to return the cursor and added
16469 overlay with BufferView * parameter which calls this one.
16471 (selectWord): use new getWord function.
16472 (changeCase): renamed from changeWordCase as and extended to work
16473 also on selections.
16475 * lyxtext.h: added enum word_location
16477 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16478 changeCase as this operates now also on selections.
16480 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16482 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16484 * many files: send debug output to Debug::INFO instead of
16487 * converter.C (View):
16489 (Move): send debug output to Debug::FILES instead of console.
16491 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16493 * lyxfunc.C (getStatus): use func_status
16495 * func_status.h: new header, describing the results of
16496 LyXFunc::getStatus;
16498 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16501 2001-06-25 The LyX Project <jug@sad.it>
16503 * buffer.C (sgmlOpenTag):
16505 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16507 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16509 * text2.C: remove some dead code
16511 * tabular.C (GetCellInset): store the last cell checked (gotten)
16513 * tabular.h: add the helper for the speedup
16515 * lyxtext.h: remove some dead code
16517 2001-06-26 The LyX Project <Asger>
16519 * paragraph.C: Change export to LaTeX of alignment to
16520 \begin{center} and family for better roundtrip work with reLyX.
16522 * Tune the math drawing a bit.
16524 2001-06-25 The LyX Project <Asger>
16526 * LColor.C (LColor): New color for math background. New color
16529 2001-06-25 The LyX Project <jug@sad.it>
16531 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16533 * lyxfunc.C (Open):
16534 * bufferlist.C (newFile): do not restrict to files ending with
16537 * BufferView_pimpl.C (MenuInsertLyXFile):
16539 2001-06-24 The LyX Project <jug@sad.it>
16541 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16544 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16546 * lyxtext.h: rename most methods to begin with a small char.
16547 Lots of changes because of this.
16549 * paragraph.C (Paragraph): do not call fitToSize
16550 (erase): call Pimpl::erase
16551 (insertChar): call Pimpl::insertChar
16552 (insertInset): call Pipl::insertInset
16553 (breakParagraph): do not call fitToSize
16554 (breakParagraphConservative): do not call fitToSize
16555 (fitToSize): remove method
16557 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16559 2001-06-24 The LyX Project <Asger>
16561 * Fix Qt compilation^2
16563 2001-06-24 The LyX Project <jug@sad.it>
16565 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16566 depthHook(getDepth()-1).
16569 * ParagraphParameters.h:
16570 * ParameterStruct.h: change type of depth to unsigned int ==
16571 depth_type. Many adaptations to other files before of that.
16573 2001-06-24 The LyX Project <Asger>
16575 * Fix Qt compilation.
16577 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16579 * paragraph.h: renamed several methods to begin with small letter.
16580 several changes to many parts of the code because of this.
16582 2001-06-23 The LyX Project <jug@sad.it>
16584 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16585 rewritten to discard all double spaces when KeepEmpty is off
16586 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16587 to only handle newlines but not fiddle with spaces and friends.
16589 * lyxfunc.C (MenuNew): when doing 'new from template', use
16590 template_path as default directory
16592 2001-06-23 The LyX Project <Asger>
16594 * Clean-up of header file includes all over
16595 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16597 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16599 * paragraph.h: renamed from lyxparagraph.h
16601 2001-06-23 Asger <lyx@violet.home.sad.it>
16603 * Buffer.h: Removed Buffer::resize
16604 * BufferList.h: Removed BufferList::resize
16605 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16606 the document lazily when we change the width, or the font settings.
16608 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16610 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16612 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16614 * buffer.h: remove out of date comment
16616 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16619 * screen.C: fix "theoretical" GC leak
16621 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16623 * LaTeX.C (scanAuxFile):
16624 (deplog): remove trailing \r when reading stream (useful under
16627 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16629 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16630 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16631 and BufferView::theLockingInset(Inset*), so should use them and not
16632 access bv_->text->the_locking_inset directly.
16634 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16636 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16639 * tex-defs.h: remove old unused file
16641 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16643 * BufferView_pimpl.C: fix typo, remove minibuffer message
16644 when buffer has loaded
16646 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16648 * lyxfunc.C (Dispatch): use stringstream
16649 (MenuNew): use stringstream
16650 (Open): use stringstream
16652 * importer.C (Import): use stringstream
16654 * bufferview_funcs.C (CurrentState): use stringstream
16656 * LaTeX.C (run): use stringstream
16658 * BufferView_pimpl.C (savePosition): use stringstream
16659 (restorePosition): use stringstream
16660 (MenuInsertLyXFile): use stringstream
16662 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16675 * vspace.C: removed // -*- C++ -*- as first line.
16678 * version.h: added // -*- C++ -*- as first line.
16680 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16682 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16684 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16687 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16689 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16692 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16694 * gettext.C: include LString.h even when --disable-nls is on.
16696 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16698 * converter.h (Get): changed argument type from int to
16699 FormatList::size_type to avoid unnecessary conversion.
16701 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16704 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16706 * gettext.h: include LString.h even when --disable-nls is on.
16708 2001-06-07 Juergen Vigna <jug@sad.it>
16710 * text.C (BreakAgain): subst spaces with tabs.
16712 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16713 (resizeInsetsLyXText): set force on resizeLyXText.
16715 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16717 * gettext.h (gettext_init):
16718 (locale_init): use a real definition instead of a macro
16720 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16722 * Bufferview_pimpl.C:
16724 * LColor.C: further lcolor tidies
16726 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16728 * BufferView_pimpl.C (updateScrollbar): simplify.
16730 * BufferView2.C: don't include insets/insetinfo.h, change
16731 prototype for insertInset and call the Pimpl version. let
16732 updateInset call Pimpl version.
16734 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16735 gotoInset to BufferView::Pimpl
16737 2001-06-01 Juergen Vigna <jug@sad.it>
16739 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16740 inside a LockingInset (is the update needed at all?).
16742 2001-05-31 Juergen Vigna <jug@sad.it>
16744 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16745 here not the old one otherwise how should we compare it afterwards
16748 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16753 * FontInfo.C: bring C functions into global namespace when
16756 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16758 * LString.h: make sure config.h has been loaded before LString.h.
16760 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16761 (one for each char read by EatLine!).
16763 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16766 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16768 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16769 to the same as the par we break from
16771 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16773 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16775 * MenuBackend.C (expand): also create menu entries for wide
16776 versions of the floats.
16778 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16780 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16782 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16783 frontends/Makefile.am
16789 * tabular.C (getTokenValue): add std::
16791 * tabular-old.C (getTokenValue): add std::
16792 (getTokenValue): ditto
16793 (getTokenValue): ditto
16795 * screen.C (ToggleSelection): adjust
16797 * lyxtext.h: put selection cursors inside a Selection struct.
16799 * lyxfunc.C (moveCursorUpdate): adjust
16801 * lyxfont.C (latexWriteStartChanges): add std::
16803 * lyxfind.C: adjust
16805 * font.h: delete with(char const *, LyXFont const &)
16807 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16809 * FontInfo.C (getFontname): add std::
16811 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16812 (workAreaButtonPress): adjust
16813 (tripleClick): adjust
16815 (moveCursorUpdate): adjust
16818 * BufferView2.C (gotoInset): adjust
16820 2001-05-30 Juergen Vigna <jug@sad.it>
16822 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16823 to check pspell I add this as default as I now have new pspell
16824 libraries and they seem to use this.
16826 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16828 * text2.C (CutSelection): make the cursor valid before the call to
16831 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16833 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16834 relied on 0 terminated strings and other horrors. Bug found due to
16835 the new assert in lyxstring!
16837 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16840 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16842 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16845 * lyxfunc.C (processKeySym): change method of getting to the
16848 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16849 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16850 * BufferView_pimpl.[Ch]: here as private methods.
16852 2001-05-28 Juergen Vigna <jug@sad.it>
16854 * text.C (SetHeightOfRow): added the update() call again as it is
16855 needed to initialize inset dimensions!
16857 2001-05-16 Juergen Vigna <jug@sad.it>
16859 * text2.C (SetCharFont): Add new function with BufferView * and
16860 bool toggleall parameters for setting insets internal fonts.
16861 (SetFont): Freeze the undo as we may change fonts in Insets and
16862 all this change should be inside only one Undo!
16864 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16865 setting font's in insets as for them we have the SetFont function!
16867 2001-05-15 Juergen Vigna <jug@sad.it>
16869 * text2.C (ClearSelection): to be sure we REALLY don't have any
16872 * tabular.C (TeXCellPreamble): fixed the left border problem for
16875 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16877 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16880 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16882 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16883 LFUN_BREAKPARAGRAPH.
16885 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16886 help test to "internal only", similar for LFUN_INSERT_URL
16888 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16889 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16890 auto_region_delete and deadkeys.
16892 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16895 * LColor.C: remove some dead entries, tidy a little
16897 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16899 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16901 (Dispatch): implement LFUN_ESCAPE
16903 * commandtags.h: add LFUN_ESCAPE
16905 * LyXAction.C (init): add entry for LFUN_ESCAPE
16907 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16908 Remove commented code.
16909 (insertNote): moved here
16910 (open_new_inset): moved here
16912 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16915 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16917 * kbmap.C (findbinding): clean it up and make it work correctly.
16919 * lyx_main.C (init): do not pass argc and argv as parameters
16921 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16923 * buffer.C: fix path for OS/2 & Win32
16927 * lyx_main.C: Added os:: class.
16929 * os2_defines.h: update
16931 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16933 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16934 better by trying again with reduced state.
16936 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16938 * lyxrc.C (read): print error about invalid key sequence only when
16939 debugging (because not all latinX keysyms are known to some X
16942 * kbsequence.C (getiso): add a few std:: qualifiers
16943 (getiso): comment out extra return statement.
16945 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16947 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16949 (Dispatch): enhance the accent inset a bit. (not perfect)
16951 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16953 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16955 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16957 * bufferlist.C (emergencyWrite): fix assert() call
16959 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16961 * text.C (InsertChar): Added trivial patch to only send the "you
16962 can not do multiple spaces this way" message once during a
16965 2001-05-08 Baruch Even <baruch@lyx.org>
16967 * Makefile.am: Changed order of libraries to get LyX to link properly
16968 with the gnome frontend.
16970 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16972 * LaTeXFeatures.h: add a std:: qualifier
16974 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16976 * paragraph.C (String): use stringstream
16978 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16980 * paragraph.C (writeFile): remove footflag arg
16982 * buffer.C (makeLaTeXFile): use stringstream
16983 (latexParagraphs): remove footnot gurba
16985 * LaTeXFeatures.C (getPackages): use stringstream
16986 (getMacros): likewise
16987 (getTClassPreamble): likewise
16988 (getFloatDefinitions): new method
16990 * paragraph.C (writeFile): reindent
16993 * WorkArea.h: revert the xpos + etc changes.
16995 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16997 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16999 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17000 (pasteSelection): likewise
17001 * text2.C (CreateUndo): likewise
17003 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17005 * minibuffer.C (peek_event): temporarily reduce the functionality
17006 of the minibuffer (to allow args on lfuns)
17008 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17009 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17011 * buffer.C (readInset): add compability reading of old float
17012 lists, add reading of new style float list.
17013 (readInset): avoid reevaluation of inscmd.getCmdName()
17014 (getLists): reindent
17016 * MenuBackend.C (MenuItem): implement parsing of
17017 md_floatlistinsert and md_floatinsert.
17018 (expand::LastFiles): move initalizaton of iterators out of loop,
17019 avoid reevaluation.
17020 (expand::Documents): introduce typdedef vector<string> Strings,
17022 (expand::ExportFormats): introduce typedef vector<Format const *>
17023 Formats, and use it.
17024 (expand): implement FloatListInsert and FloatInsert.
17026 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17027 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17028 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17030 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17032 (Dispatch::LFUN_FLOAT_LIST): implement
17034 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17036 * LaTeX.C (run): Fix problem with --export code.
17038 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17040 * BufferView.[Ch] (workarea): removed.
17041 (getClipboard) new method; wrapper for workarea()->getClipboard()
17043 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17046 * WorkArea.h (width, height, xpos, ypos): These methods all
17047 returned the dimensions of the work_area sub-area of WorkArea,
17048 resulting in a position error if the WorkArea were resized. Now
17049 return the dimensions of the entire WorkArea.
17051 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17053 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17055 * LaTeX.C (deplog): correct the syntax of regex reg1
17057 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17059 * undo.C: remove !NEW_INSETS cruft
17061 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17063 * text2.C: remove !NEW_INSETS cruft
17065 * text.C: remove !NEW_INSETS cruft
17067 * tabular.C: remove !NEW_INSETS cruft
17069 * spellchecker.C: remove !NEW_INSETS cruft
17071 * lyxtext.h: remove !NEW_INSETS cruft
17073 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17075 * lyxfunc.C: remove !NEW_INSETS cruft
17077 * lyxfind.C: remove !NEW_INSETS cruft
17079 * lyx_cb.C: remove !NEW_INSETS cruft
17081 * figureForm.C: remove !NEW_INSETS cruft
17083 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17085 * buffer.[Ch]: remove !NEW_INSETS cruft
17087 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17089 * CutAndPaste.C: remove !NEW_INSETS cruft
17091 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17093 * BufferView2.C: remove !NEW_INSETS cruft
17095 * BufferView.h: remove !NEW_INSETS cruft
17097 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17099 * Lsstream.h: include LString.h before the sstream headers to
17100 fix problem with gcc 2.95.3 and lyxstring
17102 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17104 * lyx_main.C: add using directives when needed for C functions
17105 declared in std:: namespace.
17107 2001-04-27 Juergen Vigna <jug@sad.it>
17109 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17110 (SetHeightOfRow): comment out the update call should not be needed!
17112 2001-04-13 Juergen Vigna <jug@sad.it>
17114 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17115 (LyXTabular): tried to minimize operator= operations (and realized
17116 hopfully Lars wish).
17118 2001-04-27 Juergen Vigna <jug@sad.it>
17120 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17122 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17124 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17126 * buffer.C (readInset): hack to make listof algorithm work
17128 * BufferView_pimpl.C: hack to make listof algorithm work
17130 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17132 * LyXAction.C: removed all !NEW_INSETS cruft
17133 (init): moved lfun_item in method
17135 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17137 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17139 * BufferView2.C (theLockingInset): white space.
17141 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17143 * minibuffer.C: include <iostream>
17145 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17147 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17149 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17151 * text.[Ch] (TransposeChars): new method
17153 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17155 * call message directly through LyXView instead of through LyXFunc
17156 * BufferView2.C: adjust
17157 * BufferView_pimpl.C: adjust
17158 * FontLoader.C: adjust
17160 * bufferview_funcs.C: adjust
17161 * converter.C: adjust
17162 * figureForm.C: adjust
17163 * importer.C: adjust
17165 * lyx_gui_misc.C: adjust
17166 * lyxfunc.C: adjust
17169 + more files in subdirs
17171 * lyxparagraph.h (size): move up int file
17174 * adjust all uses of Assert to lyx::Assert.
17176 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17177 lyxfunctional in namespace lyx
17178 * layout.C (hasLayout): ditto
17181 (delete_layout): ditto
17182 (NumberOfClass): ditto
17183 * converter.C (GetFormat): ditto
17188 * bufferlist.C (getFileNames): ditto
17189 (emergencyWriteAll): ditto
17192 * MenuBackend.C (hasSubmenu): ditto
17195 * BufferView_pimpl.C (getInsetByCode): ditto
17197 2001-04-18 Juergen Vigna <jug@sad.it>
17199 * vspace.C (asLatexString): fixed the 100% problem.
17201 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17203 * lyxfunc.C (Dispatch):
17205 * minibuffer.h: add a few std:: qualifiers
17207 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17209 * minibuffer.[Ch]: reimplement so that commands is initiated and
17210 run from lyxfunc, simplified som handling, and made the completion
17211 and history code for complete. wip.
17213 * lyxfunc.C (processKeySym): call message
17214 (miniDispatch): new temporary method
17215 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17216 (LFUN_MESSAGE): implement
17217 (LFUN_MESSAGE_PUSH): implement
17218 (LFUN_MESSAGE_POP): implement
17219 (initMiniBuffer): the initial/defualt minibuffer message.
17221 * lyxfont.[Ch]: inline some more getters
17223 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17225 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17227 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17228 (AutoSave): use LFUN_MESSAGE
17229 (Reconfigure): ditto
17231 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17233 * figureForm.C: use LFUN_MESSAGE
17235 * converter.C (runLaTeX): use LFUN_MESSAGE
17237 * bufferview_funcs.C: use LFUN_MESSAGE
17239 (changeDepth): ditto
17241 * bufferparams.h: use boost::
17243 * bufferlist.h: inherit privately from noncopyable
17245 * bufferlist.C (loadLyXFile): remove some commented code.
17247 * buffer.C (runChktex): use LFUN_MESSAGE
17249 * ShareContainer.h: inherit privately from noncopyable
17251 * ParagraphParameters.[hC] (depth): inline it.
17253 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17255 (message): new method
17256 (messagePush): ditto
17257 (messagePop): ditto
17258 (show): init minibuffer
17259 (showState): direct call
17261 * LaTeX.[Ch]: inherit privately from noncopyable
17262 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17263 instead of WriteStatus.
17265 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17267 * BufferView_pimpl.C (buffer): don't init minibuffer
17268 (workAreaButtonPress): use LFUN_MESSAGE
17269 (workAreaButtonRelease): ditto
17270 (savePosition): ditto
17271 (restorePosition): ditto
17272 (MenuInsertLyXFile): ditto
17273 (workAreaExpose): don't init minibuffer
17274 (update): remove commented code, simplify
17276 * BufferView2.C (openStuff): use LFUN_MESSAGE
17277 (toggleFloat): ditto
17280 (copyEnvironment): ditto
17281 (pasteEnvironment): ditto
17286 (updateInset): remove some commented code
17288 * lastfiles.h: inherit privately from noncopyable
17291 * lyx_main.h: ditto
17293 * lyxlex_pimpl.h: ditto
17295 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17296 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17297 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17299 * LyXAction.h: inherit privately from noncopyable, add methods
17300 func_begin, func_end, returning iterators to the func map.
17302 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17303 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17304 (func_begin): new method
17305 (func_end): new method
17307 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17309 (copySelection): ditto
17310 (pasteSelection): ditto
17312 * BufferView.C: whitespace change
17313 * BufferView.h: inherit privately from noncopyable
17315 2001-04-16 Allan Rae <rae@lyx.org>
17317 * tabular-old.C (l_getline):
17318 * spellchecker.C (sc_check_word):
17319 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17320 an unrecognised preprocessor directive. So ensure they're wrapped.
17322 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17324 * src/exporter.C (Export): Give an error message when path to file
17327 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17329 * LaTeX.C (deplog): Always check that foundfile exists.
17331 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17334 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17336 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17338 * tabular.[Ch] (getLabelList): implement new method
17340 * minibuffer.h: comment ouf setTiimer
17342 * minibuffer.C (ExecutingCB): constify res
17343 (peek_event): constify s
17344 (Set): constify ntext
17345 (Init): constify nicename
17347 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17349 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17350 (savePosition): use two params to Minibuffer::Set
17351 (restorePosition): ditto
17353 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17355 * lyx_main.C: include language.h
17357 * Makefile.am (lyx_main.o): add language.h
17359 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17365 * CutAndPaste.C: include gettext.h
17367 * lyxfont.h: remove old hack with ON and OFF.
17370 * lyxfont.h: do not include language.h...
17375 * bufferview_funcs.C:
17381 * paragraph.C: ... but do it here instead
17383 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17385 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17387 * tabular.C: small reformat
17389 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17392 (BreakParagraph): ditto
17393 (SetOnlyLayout): ditto
17396 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17399 * lastfiles.C: removed most using decl, add std:: where needed
17401 * buffer.C: ws changes
17403 * MenuBackend.C (class compare_format): put into anon namespace
17404 (expand): constify label, names, action, action2
17407 * text.C (SingleWidth): constify font
17408 (IsBoundary): constify rtl2
17409 (GetVisibleRow): constify ww
17411 * LaTeX.C (deplog): constify logfile
17413 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17415 (workAreaExpose): constify widthChange, heightChange
17417 * lyxrow.C (par): moved
17420 * lyxrow.h: as inlines here
17422 * lyxfont.h (shape): moved from lyxfont.C
17423 (emph): moved from lyxfont.C
17425 * lyxfont.C (LyXFont): use initialization list for all
17427 (shape): move to lyxfont.h as inline
17428 (emph): move to lyxfont.h as inline
17431 2001-04-04 Juergen Vigna <jug@sad.it>
17433 * vspace.C: had to include stdio.h for use of sscanf
17435 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17438 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17439 independent of xforms.
17441 2001-04-02 Juergen Vigna <jug@sad.it>
17443 * spellchecker.C: fixed namespace placing!
17445 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17447 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17448 the LyXParagraph * is 0.
17450 2001-03-29 Juergen Vigna <jug@sad.it>
17452 * vspace.C: added support for %, c%, p%, l%.
17453 (stringFromUnit): added helper function.
17454 (asLatexString): changed to give right results for the %-values.
17456 * buffer.C: convert the widthp in a width%.
17458 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17460 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17463 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17464 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17466 * lyx_cb.[Ch]: see above.
17468 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17472 * lyx.[Ch]: replaced by figure_form.[Ch].
17476 * lyxfunc.C: changed headers associated with above changes.
17478 2001-03-27 Juergen Vigna <jug@sad.it>
17480 * BufferView_pimpl.C: set the temporary cursor right!
17482 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17484 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17486 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17488 * LString.h: removed "using std::getline"!
17490 * BufferView_pimpl.C (Dispatch): changes due to changes in
17491 InsetInclude::Params.
17493 * buffer.C (tag_name): removed redundant break statements as they were
17494 producing lots of warnings with my compiler.
17496 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17498 * LString.h: add "using std::getline" when using the real <string>.
17500 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17502 * buffer.C: removed bitset usage.
17503 PAR_TAG moved to an anonymous name space.
17504 (tag_name): new funtion, also in the anonymous namespace.
17505 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17506 (makeDocBookFile): clean code. Completed transition from string arrays
17508 (SimpleDocBookOnePar): code clean.
17510 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17512 * tabular.C: add some comments.
17514 2001-03-22 Juergen Vigna <jug@sad.it>
17516 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17517 compatibility read a bit and fixed bug with minipage in different
17520 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17522 * buffer.C (pop_tag): removed.
17523 (push_tag): removed.
17524 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17525 array replaced with vector. Added support for CDATA sections.
17526 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17528 (makeDocBookFile): XML conformant declaration of CDATA section,
17529 fixed bug related to <emphasis> in the first paragraph char.
17530 (sgmlOpenTag): exclude empty tags.
17531 (sgmlCloseTag): ditto.
17533 * buffer.h (pop_tag): removed.
17534 (push_tag): removed.
17536 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17538 * language.h (Languages): added size_type and size().
17540 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17542 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17543 response on compability reading of minipages. One probliem is that
17544 the old usage of minipages was flertydig
17546 * several files here and in subdirs: don't use static at file
17547 scope use anon namespaces instead.
17549 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17551 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17552 LaTeX output. This is necessary for Literate document
17555 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17557 * buffer.C: insert hfill when needed.
17559 * tabular.C (l_getline): use string::erase, small whitespace change.
17561 * BufferView_pimpl.C: try the anon namespace.
17562 * WorkArea.C: ditto
17564 2001-03-16 Juergen Vigna <jug@sad.it>
17566 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17567 otherwise it won't open options-dialogs.
17569 * buffer.C: honor pextraWidth(p) on converting minipages.
17571 * tabular.C (l_getline): changed the functions to strip trailing \r.
17573 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17575 * BufferView_pimpl.C:
17576 * minibuffer..C: added "using SigC::slot" declaration.
17578 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17580 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17586 * paragraph.C: ditto
17588 * lyxtext.h: NO_PEXTRA
17590 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17592 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17593 * ParameterStruct.h: ditto
17594 * ParagraphParameters.h: ditto
17595 * lyxparagraph.h: ditto
17597 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17599 * buffer.C: add compability for minipage alignment.
17600 (latexParagraphs): remove unwanted pextra check.
17602 * several files: remove CXX_WORKING_NAMESPACES
17604 * buffer.C (pop_tag): tie is in namespace boost
17606 * BufferView.h: noncopyable is in namespace boost
17608 * lyx_main.h: ditto
17611 * lastfiles.h: ditto
17612 * bufferlist.h: ditto
17613 * ShareContainer.h: ditto
17615 * LyXAction.h: ditto
17618 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17620 * Merging changes from BRANCH_MVC back into HEAD.
17622 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17624 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17626 * BufferView_pimpl.C: change from intl.C
17630 * Makefile.am: move combox.*
17636 * intl.C: remove dialog (covered by prefs)
17638 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17640 * lyxfunc.C (Dispatch): removed redundant break statement.
17642 2001-03-14 Juergen Vigna <jug@sad.it>
17644 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17646 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17648 * buffer.C: add hack to fix compability reading of minipages.
17650 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17652 * buffer.C (getLists): Cleanup.
17654 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17656 * lyxfont.C (update): don't honor toggleall on font size.
17658 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17662 * Makefile.am: moved to frontends/xforms/
17666 * BufferView_pimpl.C: changes for moved mathpanel
17668 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17670 * gettext.h: fix gettext_init() in --disable-nls
17672 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17674 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17676 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17679 * lyx.h: strip external form
17681 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17683 * BufferView_pimpl.C: add comment, destroySplash()
17685 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17687 * BufferView_pimpl.C:
17691 * lyxfunc.C: use re-worked insetinclude
17693 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17695 * buffer.C: add using std::stringstream.
17697 * lyx_cb.C: readd using std::ios.
17699 * buffer.C: add using std::map.
17701 * BufferView_pimpl.C: add using std::vector.
17703 * ShareContainer.h: add std:: to swap.
17705 * buffer.h: add some typedefs
17706 * buffer.C (getLists): use them
17707 (getLists): renamed from getTocList.
17708 add a counter for the different float types and use it in the
17710 (getLists): use the same counter for the NEW_INSETS and the "non"
17713 * lyx_cb.h: remove unused items, includes, using etc.
17715 * ShareContainer.h: remove some commented code, add more comments
17716 and "documentation".
17718 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17720 * buffer.C (getTocList): make the list also when NEW_INSETS is
17723 * buffer.h: remove TocType
17725 * buffer.C (getTocList): change to return a map<string,
17726 vector<TocItem> >, implement for dynamic number of list.
17728 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17729 * text2.C (PasteSelection): adjust
17730 * CutAndPaste.C (pasteSelection): adjust
17732 * FloatList.C (FloatList): update from the new_insets branch.
17733 * Floating.[Ch]: ditto
17734 * LaTeXFeatures.C: ditto
17736 * lyxlex_pimpl.C: ditto
17738 * paragraph.C (Last): remove when NEW_INSETS is defined.
17740 * other file: changes because of the above.
17742 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17744 * lyxparagraph.h: rename next to next_, previous to previous_,
17745 make them private for NEW_INSETS. Rename Next() to next(),
17746 Previous() to previous().
17748 * other files: changes because of the above.
17750 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17753 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17756 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17758 * main.C (main): pass lyx_localedir to gettext_init().
17760 * gettext.h: remove locale_init and gettext_init macros
17762 * gettext.C (locale_init): new function
17763 (gettext_init): new function
17765 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17768 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17770 * Moved credits to frontends:
17771 * credits.[Ch]: removed
17772 * credits_form.[Ch]: removed
17773 * lyx_gui_misc.C: remove credits stuff
17776 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17778 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17780 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17781 unneeded destructor.
17783 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17784 a standalone pointer again.
17786 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17788 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17794 * ToolbarDefaults.C:
17803 * BufferView_pimpl.C: use new file dialog in GUII
17806 * lyx_cb.C: remove LayoutsCB to Toolbar
17808 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17810 * ShareContainer.h (get): add std:: qualifier
17812 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17814 * ShareContainer.h: define a proper ShareContainer::value_type
17815 type (and use typename to please compaq cxx)
17817 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17819 * lyxparagraph.h: move serveral local vars to
17820 ParameterStruct/ParagraphParameters., use ShareContainer in
17821 FontTable., make vars in FontTable private and add getter and
17824 * paragraph.C: changes because of the above.
17826 * lyxfont.h: remove copy constructor and copy assignment. (the
17827 default ones is ok), move number inside FontBits. move inlines to
17830 * lyxfont.C: add number to initializaton of statics, move several
17831 inlines here. constify several local vars. some whitespace
17832 cleanup. Dont hide outerscope variables.
17834 * Spacing.h: add two new constructors to match the set methods.
17836 * ShareContainer.h: new file, will perhaps be moved to support
17838 * ParameterStruct.h: new file
17840 * ParagraphParameters.h: new file
17842 * ParagraphParameters.C: new file
17844 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17845 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17847 * BufferView_pimpl.C: ParagraphParameter changes.
17848 * buffer.C: Likewise.
17849 * bufferview_funcs.C: Likewise.
17850 * text.C: Likewise.
17851 * text2.C: Likewise.
17853 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17855 * lyxfind.C (LyXReplace): do not redefine default argument in
17857 (IsStringInText): ditto
17858 (SearchForward): ditto
17859 (SearchBackward): ditto
17861 2001-03-06 Juergen Vigna <jug@sad.it>
17863 * lyxfind.C (IsStringInText): put parentes around expressions.
17865 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17867 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17869 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17871 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17873 * stl_string_fwd.h: add comment
17875 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17878 * tabular.C: remove unused DocBook methods
17884 killed DO_USE_DEFAULT_LANGUAGE
17886 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17888 * lyx_gui.C: do not include language.h.
17890 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17891 arguments in function implementation.
17893 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17895 * BufferView_pimpl.C: add <ctime>
17897 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17899 * BufferView_pimpl.C: add using std::find_if
17901 2001-02-27 José Matos <jamatos@fep.up.pt>
17903 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17906 2001-02-11 José Matos <jamatos@fep.up.pt>
17908 * buffer.C (makeDocBookFile): command styles now have a parameter as
17909 "title" by default.
17911 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17913 * layout_forms.[Ch]: removed
17914 * lyx_cb.[Ch]: out character
17915 * lyx_gui.C: out character
17916 * lyx_gui_misc.C: out character
17917 * bufferview_funcs.C: : out character,
17918 added toggleall as parameter in ToggleAndShow
17920 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17922 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17924 * text2.C (SetCurrentFont): Disable number property at boundary.
17926 2001-02-26 Juergen Vigna <jug@sad.it>
17928 * lyxfunc.C (getStatus): added a string argument override function so
17929 that this is correctly called from LyXFunc::Dispatch if it contains a
17930 do_not_use_argument which is used!
17931 (Dispatch): added check for "custom" export and call appropriate func.
17933 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17935 * lyxrc.C: Add language_command_local, language_use_babel and
17936 language_global_options.
17938 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17940 * buffer.C (makeLaTeXFile): Use language_use_babel and
17941 language_global_options.
17943 2001-02-23 Juergen Vigna <jug@sad.it>
17945 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17946 which works with LyXText and putted it inside BufferView. Here now we
17947 only call for that part the BufferView::Dispatch() function.
17949 * BufferView.C (Dispatch): added.
17951 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17952 functions which needs to use a LyXText over from LyXFunc.
17953 (MenuInsertLyXFile): added
17954 (getInsetByCode): added
17955 (moveCursorUpdate): added
17956 (static TEXT): added
17958 2001-02-22 Juergen Vigna <jug@sad.it>
17960 * BufferView_pimpl.C (update): call a status update to see if LyXText
17963 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17965 * vc-backend.C (revert): implement for CVS
17966 (getLog): implement for CVS
17968 2001-02-20 Juergen Vigna <jug@sad.it>
17970 * text2.C (ClearSelection): added BufferView param for inset_owner call
17972 * lyxfunc.C (TEXT): added this function and use it instead of
17973 directly owner->view()-text of getLyXText().
17975 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17977 * src/layout_forms.C: out preamble
17978 * src/layout_forms.h: out preamble
17979 * src/lyx_cb.C: out preamble
17980 * src/lyx_cb.h: out preamble
17981 * src/lyx_gui.C: out preamble
17982 * src/lyx_gui_misc.C: out preamble
17983 * src/lyxfunc.C: connect with guii preamble
17985 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17987 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17989 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17991 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17992 whether to run bibtex.
17994 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17996 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17998 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18000 * Makefile.am (lyx_SOURCES): removed bibforms.h
18002 * vspace.h: doxygen
18004 * text.C (GetVisibleRow): make several local vars const
18006 * tabular.C: small cleanup.
18008 * lyxserver.C (callback): use compare instead of strncmp
18010 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18011 inlines to after class or to paragraph.C
18013 * lyxfont.h: remove friend operator!=
18015 * converter.h: move friend bool operator< to non friend and after
18018 * combox.h: small cleanup
18020 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18021 to inlines after class def.
18023 * buffer.C (pop_tag): use string operations instead of strcmp
18025 * bmtable.c: doxygen, small cleanup
18027 * LaTeX.h: remove friend operator==
18029 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18041 * BufferView_pimpl.C:
18042 * BufferView.[Ch]: remove cruft
18044 2001-02-14 Juergen Vigna <jug@sad.it>
18046 * lyxfunc.C: removed #if 0 unused code
18048 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18050 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18052 * text2.C (SetSelection): added a BufferView * parameter
18054 2001-02-13 Juergen Vigna <jug@sad.it>
18056 * lyxfunc.C (Dispatch): fixed protected blank problem.
18057 * BufferView2.C (protectedBlank): added LyxText * parameter.
18059 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18060 (AppendColumn): same as above for column_info.
18062 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18063 (moveCursorUpdate): use a LyXText param for support of InsetText.
18065 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18066 (tripleClick): ditto
18068 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18070 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18072 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18074 * text2.C (SetSelection): set correct update status if inset_owner
18075 (ToggleFree): ditto
18077 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18079 * tabular.C: remove some commented code.
18081 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18083 * BufferView_pimpl.C: call hideSplash()
18085 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18088 * bibforms.h: remove
18091 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18092 add LFUN_CHILD_CREATE
18094 * counters.h: fix tiny typo
18099 * lyx.C: move splash to frontends/xforms/
18101 * lyx_gui_misc.C: move Include and Bibform to frontends
18103 * lyxvc.h: clarify comment
18105 * vspace.C: tiny housekeeping
18107 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18109 * text.C (PrepareToPrint): RTL Fix.
18111 * paragraph.C (GetUChar): New method.
18112 (String): Use GetUChar.
18114 * buffer.C (asciiParagraph): Use GetUChar.
18116 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18118 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18120 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18123 * buffer.C: rename to getLogName(), handle
18124 build log / latex log nicely
18126 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18129 * MenuBackend.h: remove support for reference menuitem type.
18131 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18133 * BufferView_pimpl.C: housekeeping
18134 * BufferView_pimpl.h:
18139 * minibuffer.h: move Timeout GUI-I
18141 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18143 * lyxrc.C (read): Update converters data-structures.
18145 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18147 * LaTeX.h (operator!=): add operator != for Aux_Info
18149 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18151 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18153 * LaTeXLog.C: deleted, useful code moved to Buffer
18156 * buffer.C: new function getLatexLogName()
18162 * lyxfunc.C: use frontends for LaTeX and VC logs
18164 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18166 * LaTeX.h: yet another std:: that Allan forgot.
18168 * Variables.C (set): renamed from isset(), because this clashes
18169 with some HP-UX macros (grr).
18171 2001-02-06 Allan Rae <rae@lyx.org>
18173 * LaTeX.h: Another bug fix. Missing std:: this time.
18175 2001-02-04 Allan Rae <rae@lyx.org>
18177 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18178 floats problem. I've left it commented out because it's not quite
18179 correct. It should also test that the current object is a table or
18180 figure inset. But I haven't gotten around to figuring out how to do
18181 that. I *think* it'll be something like: "table" == inset.type()
18183 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18186 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18188 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18189 all the citation/databases/styles in the auxilary file.
18190 (run): Rerun latex if there was a babel language error.
18192 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18194 * text.C (Backspace): Preserve the font when changing newline char
18196 (BreakParagraph): If the cursor is before a space, delete the space.
18198 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18200 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18202 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18203 new argument (code).
18204 (ChangeCitationsIfUnique): New method.
18206 * paragraph.C (GetPositionOfInset): Handle bibkey.
18208 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18210 * BufferView_pimpl.h: change type of Position::par_pos to
18211 LyXParagraph::size_type.
18213 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18215 * BufferView_pimpl.C (savePosition, restorePosition): Write
18216 messages to minibuffer.
18218 2001-01-28 José Matos <jamatos@fep.up.pt>
18220 * buffer.C (makeDocBookFile): adds support for document language.
18221 A silly restriction on the name of LatexCommand types where removed.
18222 Added support for CDATA sections, allows to chars unescaped, used
18223 among others in code, to avoid escape < and >.
18225 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18227 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18228 saved positions instrad of a stack. Furthermore, a position is
18229 stored using paragraph id/paragraph position.
18231 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18232 Remove LFUN_REF_BACK.
18234 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18236 * converter.C (dvipdfm_options): New method.
18238 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18240 * vspace.C (isValidLength): Fix for empty input string.
18242 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18244 * LyXAction.C (init): change description of LFUN_FIGURE to
18247 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18249 * LaTeX.C: add using directive
18251 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18253 * MenuBackend.C (expand): Fix the sorting of the formats.
18255 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18257 * lyx_main.C: tiny error message fix
18259 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18261 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18262 calling fl_initialize(). This fixes the problem with ',' as
18263 decimal separator in text files.
18265 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18267 * trans.C (process): Fix the keymap bug.
18269 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18271 * LaTeX.C (scanAuxFiles): New method. Provides support for
18272 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18273 (scanLogFile) Scan for "run BibTeX" messages.
18275 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18276 OT1 font encoding. Also, load the aecompl package if the ae
18279 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18281 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18283 * texrow.C (increasePos): turn two error messages into debug
18286 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18288 * LaTeX.C (scanAux): Handle the \@input macro.
18289 (runBibTeX): Use scanAux().
18291 * language.C (latex_options_): New field.
18293 * LaTeXFeatures.C (getMacros): Add language macros.
18295 * buffer.C (makeLaTeXFile): Small fix.
18297 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18299 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18301 * text2.C: add a using directive.
18303 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18308 * lyxfunc.C: kill LyXBell.
18310 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18312 * text.C (IsBoundary): Remove the error message
18314 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18316 * lyxrc.C (setDefaults): Correct initialization value for
18319 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18321 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18324 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18325 and GotoNextNote().
18327 * src/LyXAction.C: Added reference-next.
18329 * text.C (InsertChar): Use contains instead of strchr.
18331 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18333 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18335 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18336 alignment commands (when needed).
18338 * text.C (InsertChar): Add ':' to number separator chars.