1 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * buffer.C: version upgrade to 245.
4 * bufferparams.C: remove \quotes_times (bug 2090).
5 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
6 quotation marks as default.
8 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
10 * CutAndPaste.C (nrOfParagraphs): remove (unused)
11 * CutAndPaste.C (cutSelection): Remove debug message
12 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
13 undo information and only copy if this is a real cut
14 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
16 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
18 * CutAndPaste.C (eraseSelection): prevent cursor corruption
19 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
20 superflous cur.selection() setting
21 * CutAndPaste.[Ch] (grabSelection): take a const cursor
22 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
24 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
26 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
29 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
31 * BufferView_pimpl.C: comment layout change
33 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
37 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
38 by bibliography managers (bug 2071).
40 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
42 * BufferView_pimpl.C (update): choose arguments to update call so
43 that single-par update works most times
44 * text3.C (dispatch): carefully tune updating separately for
45 whole-screen and current-paragraph
46 * rowpainter.C (paintText): 1) replace painting by caching for
47 the two extra paragraphs, because we can;
48 2) suppress greying out of areas below/above drawn area in case of
50 * lyxfunc.C (dispatch): remove superfluous update
51 * LyXAction.[Ch]: introduce SingleParUpdate
53 2005-10-05 Angus Leeming <leeming@lyx.org>
55 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
56 always initialised before use.
58 * text.C (setHeightOfRow): squash warning about comparison
59 of signed and unsigned types.
61 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
63 * text.C (cursorX): two fixes involving RtL text drawing
65 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
68 items, not only large ones (part of bug 2057)
70 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
73 argument, use "newcommand".
75 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
77 * cursor.C (setSelection): do not open collapsable insets;
78 the insets do by themselves now (autoopen).
80 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
82 * buffer.C: format is up to 244.
84 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
86 * text.C (redoParagraph): fix calcultation of inset width wrt
87 leftMargin (bug 1957).
89 * text3.C (dispatch): leave inset to the right when hitting ESC
92 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
97 * messages.C: include <boost/current_function.hpp>
99 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
102 when command is internal. (bug 1941)
104 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
106 * text2.C (cursorRight): do not honor boundary when at the end of
107 a paragraph. (bug 2010 again)
109 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
111 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
113 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
115 * rowpainter.C (paintText): fix RtL space width display bug (2029)
117 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * text2.C (setCursor): remove the unused 'boundary' parameter for
120 the CursorSlice version; adapt the LCursor version.
123 * paragraph_pimpl.C (markErased):
124 * cursor.C (bruteFind2, bruteFond3): fix warnings.
126 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
128 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
129 as is already done for "chapter".
131 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
133 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
134 textclass; do not record undo if nothing is changed.
136 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
138 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
140 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
142 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
144 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
147 combox, it is necessary to search for the topmost paragraph in the
148 cursor stack (bug 1926)
150 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
153 end of paragraph. (bug 2010)
155 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
157 * text.C (leftMargin): check for inInset == 0
159 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
161 * text.C (leftMargin): test for insetbase's new neverIndent()
162 bool instead of listing each and every inset that does not
163 wish par indendation.
165 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * buffer_funcs.C (setCounter): put the code to compute enum label
168 here (where it belongs).
170 * counters.C (enumLabel): move code to buffer_funcs.C.
172 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
174 * outputparams.[Ch]: store local_font instead of local_language
175 * paragraph.C (simpleTeXOnePar): adapt to the change above
177 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
180 * counters.[Ch]: clean up special code for Hebrew.
182 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
187 2005-09-08 Angus Leeming <leeming@lyx.org>
190 * lyxrc.C: correct grammar describing invocation of the
193 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
195 * text.C (read): remove unused variable.
196 (readParToken): remove static Change variable (never good in
197 recursive settings...); add it as a parameter instead.
199 * paragraph_pimpl.C (acceptChange): make debug info conditional.
201 * metricsinfo.C (PainterInfo): add new member erased_.
203 * rowpainter.C (RowPainter): add erased_ member, initialized from
205 (paintInset): pass erased_ to Inset::draw.
207 * lyxfunc.C (lookupChange): new function. Tells whether change
208 tracking is disabled at a given postion.
209 (getStatus): disable some actions when in deleted text with change
212 2005-08-03 John Levon <levon@movementarian.org>
214 * tabular.C (appendColumn, setMultiColumn): adapt to change to
217 * paragraph_pimpl.C (markErased): add bool argument and handle it.
218 Also make sure to mark insets recursively.
219 (rejectChange, erase): be recursive
221 * paragraph.C (markErased): add bool argument.
222 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
224 * lyxfind.C (findNextChange): tiny cleanup.
226 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
227 change tracking with the cursor in an inset; make sure the first
228 change is not skipped.
230 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
232 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
233 tabularStackDirty to work around bug 1919 (tabular needs
234 to know whether its own cell paste buffer or the one of
236 * CutAndPaste.C: mark tabular_stack_ clean after copy.
238 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
240 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
242 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
244 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
245 use old deleteion algorithm when changetracking is on.
247 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
249 * messages.C (get): add debug output.
251 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
253 * text.C (cursorX): fix bug 1965: cursor movement at
254 line end broken in RtL.
255 (drawSelection): fix bug 1970: drawing of single-line
256 selection broken for RtL.
258 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * dociterator.h (clear, push_back, pop_back): change from
265 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
266 and changed to just return the value of the item depth; take a
267 ParIterator as argument; take the itemdepth at outer nesting level
268 in account if necessary; cleanup and comment the code.
269 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
270 and changed to just return true if reset is needed; take a
271 ParIterator as argument; cleanup and comment the code.
272 (setCounter): adapt to above changes.
274 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * text3.C (dispatch): make debug message optional
278 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
283 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
285 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
287 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
289 * text.C (insertChar):
290 * text2.C (deleteEmptyParagraphMechanism): take care whether
291 a blank has been deleted (in change tracking mode) (bug 1254).
293 2005-07-20 John Levon <levon@movementarian.org>
295 * text2.C (insertStringAsLines): remove old dubious code,
298 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * MenuBackend.C (expandToc): use Floating::listName() as title of
303 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
305 * toc.[Ch]: Do not use translatable strings (bug 1870).
307 2005-07-20 John Levon <levon@movementarian.org>
309 * tabular.C: fix 1748 - setting multicolumn adds
310 left line to the first cell
312 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
315 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
318 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
320 * messages.C: supress some lyxerr messages
322 2005-07-18 Juergen Vigna <jug@lyx.org>
324 * text.C (drawSelection): honor boundary when asking for cursorX.
326 2005-07-17 José Matos <jamatos@fc.up.pt>
328 * tabular.C (recalculateMulticolumns): fix handling of one column
331 2005-07-17 Juergen Vigna <jug@lyx.org>
333 * text.C (Delete, backspace): fixed so that paragraph with the
334 same layout can be merged by Delete/Backspace.
336 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
338 * text.C (readParToken): fix spelling.
340 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
342 * text2.C: fix counter update for DEPM problem reported by
345 2005-07-17 Juergen Vigna <jug@lyx.org>
347 * BufferView_pimpl.C (setBuffer): save/restore the
348 cursor/selection when switching buffers
351 * buffer.C (saveCursor): add saveDocumentIterators to save the
352 cursor when switching buffer.
354 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
357 * buffer.C: clarify message
359 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
361 * dociterator.C (DocIterator): fix initialization order
363 2005-07-17 Juergen Vigna <jug@lyx.org>
365 * text2.C (cursorHome):
366 * text.C (drawSelection, cursorX):
367 * dociterator.C (textRow): add boundary to getRow() call
369 * paragraph.C (getRow): implementation of below
371 * paragraph.h: add parameter boundary for getRow() function
373 2005-07-17 José Matos <jamatos@fc.up.pt>
377 * tex-strings.[Ch]: new file format, remove support for a4.sty,
378 a4wide.sty and a4widemargins.
380 2005-07-17 Juergen Vigna <jug@lyx.org>
382 * text2.C (cursorLeft): fix one of error
384 2005-07-17 Juergen Vigna <jug@lyx.org>
386 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
388 more fixes for boundary handling
390 * text3.C (dispatch): don't reset cursor if boundary has changed
393 2005-07-16 Juergen Vigna <jug@lyx.org>
395 * text2.C (getColumnNearX): hopefully got it right now,
396 check if we are on column 0 for special case.
398 2005-07-16 Juergen Vigna <jug@lyx.org>
400 * text2.C (getColumnNearX): handle special case Newline Inset
402 * text.C (singleWidth): Just remove bogus check
404 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
406 * funcrequest.C (split): avoid reading uninitialized char c
408 2005-07-16 José Matos <jamatos@fc.up.pt>
414 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
415 single papersize variable.
417 2005-07-16 Juergen Vigna <jug@lyx.org>
419 * text3.C (dispatch): honor boundary when checking if a cursor
420 movement has been done
422 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
423 (setCursor, setCursorIntern): fix cursor movement with boundary
425 2005-07-16 Juergen Vigna <jug@lyx.org>
427 * text.C (currentState): output the actual Boundary
429 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * factory.C (createInset): fix bad logic for tabular creation
433 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
435 * lyx_main.C (init): change some reLyX reference to tex2lyx
437 2005-07-16 Juergen Vigna <jug@lyx.org>
439 * dociterator.C (DocIterator): initialize boundary
441 2005-07-16 Juergen Vigna <jug@lyx.org>
443 * text2.C (getColumnNearX): Consider rows without trailing blank.
445 2005-07-16 André Pönitz <poenitz@gmx.net>
447 * lyxfont.h: Change order of declarations to give the compiler
448 a better chance to inline things
450 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
451 questions on unsaved docs for better scritability
453 2005-07-16 André Pönitz <poenitz@gmx.net>
455 * paragraph.h (getChar): remove asserts as the same kind of security
456 can be achieved by using a suitable standard library implementation
457 and the function was in the critical path (25.9% in profiler)
459 2005-07-16 Juergen Vigna <jug@lyx.org>
461 * cursor.C (bruteFind2):
462 * bufferview_funcs.C (coordOffset):
463 * text.C (cursorX,cursorY): Handle cursor position after last char
464 in row before a inset which uses a whole row.
466 2005-07-15 José Matos <jamatos@lyx.org>
468 * output_plaintext.[Ch] (writeFileAscii): control reference title
470 (asciiParagraph): noparbreak was already deal and was incorrectly
473 2005-07-15 Juergen Vigna <jug@lyx.org>
475 * lyxfunc.C (dispatch): save and restore the cursor after a
478 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
480 * text.C (backspace): bug 806 for empty keepempty paragraphs we
481 change the layout to default before letting DEPM do its thing.
483 * paragraph_funcs.C (breakParagraph): dont reset the layout on
486 * text.C (setCursorFromCoordinates): add a debug statement
488 * text2.C (getColumnNearX): bug 1825 make sure that we don't
489 return a pos that is not on the row
491 * output_latex.C (TeXDeeper): get rid of potential dereferencing
492 of past the end iterator
494 2005-07-14 André Pönitz <poenitz@gmx.net>
496 * undo.C (recordUndoFullBuffer): implement undo for
499 2005-07-14 André Pönitz <poenitz@gmx.net>
501 * cursor.C (setSelection): open insets when selection is set there
502 to avoid crashs with cold coord cache
504 2005-07-14 André Pönitz <poenitz@gmx.net>
506 * trans_mgr.C (insert): move cursor to the right after inserting
509 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
511 * BufferView_pimpl.C (update): dampen some of the debug blabbering
512 * factory.C (readInset): ditto
513 * text.C, text2.C: ditto
515 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
517 * buffer.C: format incremented to 242. There is no file format per
518 se, but the "frenchb" language has been removed from lib/language
519 and has to be translated to "french" by lyx2lyx.
521 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
523 * cursor_slice.h, dociterator.h: add some documentation
524 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
526 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
528 * text.C (leftMargin): do not add identation to display() style
529 insets, because they are always centered (bug 1293).
531 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
533 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
534 formatted_time methods in support/lyxtime.
536 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
538 * toc.[Ch]: new method getGuiName, which is used by the frontends
539 to set the toc combo (fixes bug 1870). Make TOC string translatable.
541 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
543 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
544 StableDocIterator const &)
545 * undo.C (recordUndo): use the above instead of cell.size() comparison
546 (fixes bug 1808; instructed by Andr�.
548 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
551 * dociterator.h: Fix the assert when copying rows/cols in math
553 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
555 * BufferView_pimpl.C:
557 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
559 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
560 (findInset): new functions, refactored from goto Inset that return
561 the position of a certain inset without setting the buffer's cursor
563 (gotoInset): rewrite to call findInset and then set the cursor
566 2005-06-16 Angus Leeming <leeming@lyx.org>
568 * lyxrc.C (output, read): wrap all input and output of paths with
569 calls to os::internal_path and os::external_path, respectively.
570 (output): wrap bind_file inside quotes.
572 * format.C (view): enable the viewer to use the '$$s' placeholder.
574 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
576 * LColor.[Ch] (getFromLaTeXName): new
578 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
580 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
582 2005-06-14 Angus Leeming <leeming@lyx.org>
584 * lyx_main.C (init): ensure that the LyX binary dir is the first
585 element in the PATH on non-POSIX builds.
587 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
589 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
591 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
593 * rowpainter.C (paintInset, paintHebrewComposeChar)
594 (paintArabicComposeChar, paintChars): add a LyXFont argument.
595 (paintChars): use getFontSpan to reduce calls to getFont to a
596 minimum; use Paragraph::lookupChange instead of isXXXText.
597 (paintForeignMark): rename LyXFont argument.
598 (paintFromPos): pass a LyXFont object to the various paintXXX
601 * FontIterator.C (FontIterator, operator++): use
602 Paragraph::getFontSpan
604 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
605 version that returns the font span as a pair.
607 2005-06-09 Angus Leeming <leeming@lyx.org>
609 * converter.C (convert): Don't forget "outfile = real_outfile" as
610 the final step in a conversion where the input and output file names
611 are the same. Otherwise, future conversion steps won't work...
613 2005-06-09 Angus Leeming <leeming@lyx.org>
615 * lyxsocket.C: remove stub code as it isn't needed by
616 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
618 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
620 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
621 effectively disabled -x
623 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
625 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
626 when it actually makes sense.
628 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
630 * BufferView_pimpl.C: revert to showCursor in connection with
631 Lars's front-end stack
633 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
635 * text.C (redoParagraph): move cursor right after a bibitem
638 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
640 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
642 * buffer_funcs.C (bufferErrors): fix computation of the end of an
645 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
647 * BufferView.[Ch] (update):
648 * BufferView_pimpl.[Ch] (update, metrics):
649 * dimension.h (operator==):
650 * lyxfunc.C (dispatch):
651 * metricsinfo.h (ViewMetricsInfo):
652 * rowpainter.C (paintText):
654 * text.C (redoParagraph):
655 * text3.C (dispatch): Make LyX only repaint current paragraph in
656 case of character insert --> speedup. Also fix cursor draw
659 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
661 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
662 avoid a crash (bug 1891)
664 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * text2.C (getStringToIndex): constify cur argument.
670 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
671 argument has been given
672 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
673 try to invoke LFUN_INSET_APPLY).
675 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
676 if no inset was created by doInsertInset
677 (doInsertInset): return true if an inset has been inserted.
679 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * vspace.C (asGUIName): new method. A version of the space
682 suitable for showing on screen.
684 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
687 * lyxrc.C: rename "ASCII" to "Plain Text"
689 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
691 * buffer_funcs.C (expandLabel): take a Buffer as argument;
692 translate the labelstring.
693 (setCounter): translate labelstring as needed.
695 * output_docbook.C (makeCommand): fix expandLabel invokation
697 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
699 * BufferView.C: fix dialog title
701 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
703 * lyx_main.C (priv_exec): fix logic error with help from Angus
704 * lyx_main.C (parse_execute): set is_gui = false and remove now
705 obsolete comment about a segfault
707 2005-05-18 Angus Leeming <leeming@lyx.org>
709 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
711 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
713 * tabular.[hC]: added setCellInset to fix tabular paste.
715 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
717 * buffer.C (save): check if destination is writable before trying
720 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
722 * BufferView_pimpl.C (update): fix processEvents -caused update
725 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
727 * buffer_funcs.C (setCounter): fix test for numbering of
730 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
731 depth correctly; use optional argument when it exists
733 * lyxtextclass.C: remove unused MaxCounterTags enum
734 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
735 (max_toclevel, min_toclevel): new methods.
737 * MenuBackend.C (expandToc2): fix case where depth is smaller than
738 the smallest depth in toc.
740 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
741 layouts that should not appear in a table of contents.
743 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
745 * cursor.h (undispatched, noUpdate): add comments from Andr�
746 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
750 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
752 2005-05-07 André Pönitz <poenitz@gmx.net>
754 * cursor.[Ch] (leaveInset): new function
756 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
758 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
760 2005-05-04 Angus Leeming <leeming@lyx.org>
762 * lyxfunc.C (getStatus): disable the spell checker dialog if
763 none of USE_[AIP]SPELL are defined.
765 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
767 * tabular.C (setWidthOfCell): remove obsolete comment
769 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
771 * paragraph.C (bibitem):
772 * buffer_funcs.C (setCounter):
773 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
775 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
777 * text3.C (getStatus): immediately return after setOnOff
779 * rowpainter.C: fix drawing of appendix start
781 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
783 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
784 SwitchBetweenClasses and remove the unused return value.
785 Handle character styles, too
787 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
789 * factory.C (createInset): handle undefined character styles
791 2005-05-02 Angus Leeming <leeming@lyx.org>
793 * buffer.C: protect the #include of utime.h with a preprocessor
796 2005-05-02 Angus Leeming <leeming@lyx.org>
798 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
799 function so that auto-saving works, albeit in a blocking manner.
801 * Makefile.am: make compilation of the client sub directory, of
802 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
803 on conditionals set at configure time.
805 * SpellBase.[Ch]: no longer an abstract base class. Instead,
806 it can be compiled in its own right but has no-op functionality.
808 * aspell.C, pspell.C: remove preprocessor guards. The files should
809 be compiled only if the necessary functionality exists.
811 * lyxserver.C, lyxsocket.C: disable on Windows.
813 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
815 * text.C (leftMargin): Fix the parindent use bug (1764)
818 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
820 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
823 2005-04-25 Angus Leeming <leeming@lyx.org>
831 include <config.h> in .C files, not .h ones.
833 protect headers inside preprocessor guards.
835 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
837 * FuncStatus.h (StatusCodes): document
839 2005-04-21 André Pönitz <poenitz@gmx.net>
841 * FuncStatus.h (enabled, onoff): document
843 2005-04-19 Angus Leeming <leeming@lyx.org>
845 * BufferView_pimpl.C (cursorToggle): no longer test whether
846 any child processes have been reaped before calling
847 handleCompletedProcesses().
849 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
851 * text3.C (dispatch): fix, finally fix, the language problem in
852 new lyxtexts, without disabling on-the-fly font changes (Helge's
855 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
857 * text3.C (dispatch): set cursor on double/triple click events
860 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
862 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
863 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
865 * rowpainter.C (paintFirst): simplify the code a little bit. In
866 particular, remove the test for secnumdepth.
867 * text.C (setHeightOfRow): only allocate space for chapter number
868 when updateCounters provided an actual label, instead of looking
869 at secnumdepth directly.
871 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
873 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
874 paragraphs when secnumdepth is large enough or, for environments,
875 when they are not the first in a sequence.
877 2005-04-17 Angus Leeming <leeming@lyx.org>
879 * buffer.C (makeLaTeXFile): replace code to manipulate a path
880 containing space and '~' characters with a call to latex_path().
882 2005-04-17 Angus Leeming <leeming@lyx.org>
884 * converter.C (convert): protect all args of convertDefault.sh
887 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * text3.C (dispatch): change the layout to "Caption" after inserting
892 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
894 * text3.C (dispatch): fix language problem in newly created
895 textinsets (and main text) in non-english docs
897 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
899 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
900 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
901 * text3.C (getStatus): disable LFUN_INSET_MODIFY
903 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
908 * rowpainter.C (getFont): Fix metrics bug introduced by inset
911 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
913 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
914 output of \item arguments without trailing text.
916 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
918 * FontIterator.C (operator*): avoid a copy of the font.
920 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
922 * rowpainter.C (getFont): fix language bug from previous fix
924 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
926 * rowpainter.C (RowPainter, getFont): fix font inside inset
929 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
931 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
932 preventing inserted font, deco, delim insets jumping to start of
935 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
937 * lyxfunc.C (dispatch): translate message before sending it to the
940 2005-03-29 Angus Leeming <leeming@lyx.org>
942 * lyx_main.C (priv_exec): call os::internal_path on each file passed
943 to LyX on the command line.
945 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
947 * vc-backend.C: use QuoteName to protect file names wherever
950 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
953 * BranchList.h: fix bugs 1844,1845: document settings don't
956 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
958 * lyxrc.C (setDefaults, read, output, getDescription): add support
959 for tex_allows_spaces.
961 * exporter.C (Export): allows files in directory containing spaces
962 if tex_allows_spaces is true.
964 * buffer.C (makeLaTeXFile): if the document path contains spaces,
965 output it in double quotes.
967 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
969 * rowpainter.C: use default text height for drawing change tracker
972 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
974 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
976 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
978 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
979 directory is missing.
981 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
983 * text2.C: fixed the fix, extended to other case.
985 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
987 * text2.C: fix for cursor up/down stuck in math [bug 1792]
989 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
991 * text2.C (cursorUp): get rid of a crash
992 * text.C (x2pos): add an assert
994 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
996 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1000 * dociterator.C: include <boost/current_function.hpp>, which is
1001 needed when assertions are disabled.
1003 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1005 * text2.C: fix for stuck cursor when traversing two
1006 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1008 2005-02-25 Andreas Vox <avox@arcor.de>
1010 * output_docbook.C (makeParagraph): suppress trailing newline
1011 after a run of paragraphs
1013 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1015 * paragraph.C: fix for confused change tracker when pasting
1016 text that begins with a lineseparator. [bug 1827]
1017 (setChange(0, Change::INSERTED);)
1019 * paragraph_funcs.C: fix for lost changes on triple-paste
1020 in change tracking mode [bug 1827] (par.setChange()).
1022 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1024 * text2.C (updateCounters, setCounter, expandLabel): move to
1027 * buffer_funcs.C (updateCounters): turn into a free standing
1028 function and add a buffer parameter. Remove dead code for tracking
1030 (setCounter): change into a free-standing function which gets a
1031 dociterator as argument. Use this iterator to fix captions in a
1032 simple way. When no float is found above the caption, use the
1033 labelstring of the caption layout as default.
1035 * text.C (breakParagraph, backspace):
1036 * text2.C (init, setLayout, changeDepth):
1037 * text3.C (dispatch):
1038 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1041 * dociterator.C (forwardPar): make it much faster by calling
1042 forwardPos() only when really necessary.
1044 * output_docbook.C (makeCommand): adapt to expandLabel move.
1046 * cursor.C: remove unused variable
1048 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1050 * paragraph_funcs.C: fix crash when pasting insets in change
1051 tracking mode [bug 1277] (honour change type in moveItem).
1053 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1055 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1057 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1059 * BufferView.C (setCursor): change to use a DocIterator.
1060 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1061 (putSelectionAt): adapt to BufferView::setCursor change.
1063 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1064 moved here from LyXText and rewritten to use proper cursor
1065 methods. Fixes bug 1787, 616 and 835.
1067 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1068 when inside an inset (part of bug 781).
1069 (dispatch): adapt to change of BufferView::setCursor.
1070 (getStatus, dispatch): handle LFUN_GOTOERROR,
1071 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1073 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1074 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1075 * text3.C (gotoNextInset, gotoInset): removed.
1077 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1079 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1081 2005-02-15 Angus Leeming <leeming@lyx.org>
1083 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1084 can be used meaningfully in a comparison.
1086 2005-02-13 André Pönitz <poenitz@gmx.net>
1088 * bufferview_funcs.C (coordOffset): improve cursor drawing
1090 2005-02-13 André Pönitz <poenitz@gmx.net>
1092 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1093 * Cursor.C (dispatch): use fixIfBroken
1094 * lyxfunc.C (getStatus): use fixIfBroken
1096 2005-02-15 Angus Leeming <leeming@lyx.org>
1098 * lyx_main.C (error_handler):
1100 * lyxrc.C (setDefaults):
1102 #include "environment.h".
1104 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1106 2005-02-15 Angus Leeming <leeming@lyx.org>
1108 * lyxserver.C (startPipe): squash MSVC warning "local variable
1109 'fd' used without having been initialized".
1111 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1113 * BufferView_pimpl.C: revert accidental commit.
1115 2005-02-14 André Pönitz <poenitz@gmx.net>
1117 * dociterator.[Ch]: new member forwardPosNoDescent(),
1118 which doesn't enter nested insets.
1119 * text2.C (setFont): use forwardPosNoDescent() instead
1120 of ForwardPos() (fixes crash on font change).
1122 2005-02-13 Angus Leeming <leeming@lyx.org>
1124 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1125 only if lyxrc.path_prefix is not empty.
1127 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1129 * bufferparams.C (readGraphicsDriver): prevent crash
1131 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1133 * text2.C (setCounter): check for inInset() == 0
1135 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1137 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1138 but use update() to get correct screen display; use convert
1139 instead of istringstream.
1140 (getStatus): handle LFUN_GOTO_PARAGRAPH
1142 * lyxfunc.C (dispatch, getStatus): do not handle
1143 LFUN_GOTO_PARAGRAPH here.
1145 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1147 * text3.C (dispatch): size() -> depth()
1149 * text2.C: remove some debug output
1151 * paragraph.C: ws changes only
1153 * lyxfunc.C (getStatus): size() -> depth()
1155 * dociterator.h (clear, push_back, pop_back, internalData,
1156 operator[], resize, empty): new functions
1157 Make StableDocIterator and operator== be friends. Don't inherit
1158 from std::vector use a privat class variable slices_ instead.
1161 * dociterator.C: update because of not inheriting from std::vector
1162 anymore. Call explictly to slices_ instead. Use depth() instead of
1163 size() and top() instead of back()
1165 * cursor.C: chagne size() -> depth and back() -> top(). Also
1166 remove some direct operator[](i) calls in favour of foo[i]
1167 (getFont): remove some dead code
1169 * bufferview_funcs.C (coordOffset): size() -> depth()
1171 * buffer.C: ws changes only
1173 * CutAndPaste.C (eraseSelection): back() -> top()
1175 * BufferView_pimpl.C (selectionRequested): back() -> top()
1177 * BufferView.C (setCursor): size() -> depth()
1179 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1181 * text3.C (cursorPrevious): return true if depm changed something
1183 (dispatch): rename sl to oldTopSlice, remove moving use the new
1184 NoUpdate func attrib instead. Make sure that needsUpdate is set
1185 for function that have NoUpdate, but where depm might have changed
1188 * text2.C (cursorLeft): make us return true if depm changed
1190 (cursorRight): ditto
1191 (cursorUpParagraph): ditto
1192 (curosrDownParagraph): ditto
1193 (cursorUp, cursorDown): ditto, make sure to read comments in code
1194 (deleteEmptyParagraphMechanism): remove an assert, also return
1195 true if just a single char was deleted.
1197 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1198 cursor that we modify, to avoid modifying an active cursor before
1199 we call setCursor. This allows depm to run. Also return true if
1200 depm deleted something.
1202 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1203 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1204 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1205 something was changed in the buffer because of them (ie. depm run)
1207 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1208 debug messages. Make update by default be false. Make sure that
1209 the result of update is retained throught several calls down to
1212 * LyXAction.h: add a new func_attrib: NoUpdate
1214 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1215 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1216 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1218 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1220 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1222 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1223 bv_->owner(), bv_->buffer() by direct references to the private
1225 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1226 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1227 (fitCursor): center() is in BufferView::Pimpl.
1228 (getStatus, trackChanges, dispatch): no need for a temporary buf
1230 (fitCursor, workAreaDispatch): use workarea().workheight()
1232 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1234 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1236 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1238 * buffer.C: format up to 241.
1239 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1240 break if pasting into ERT
1241 * lyxfunc.C (getStatus): suppress mathpanel and
1242 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1244 2005-02-01 Angus Leeming <leeming@lyx.org>
1246 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1248 2005-02-01 Angus Leeming <leeming@lyx.org>
1250 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1251 calling fs::is_directory().
1253 2005-01-31 Angus Leeming <leeming@lyx.org>
1255 * lyx_main.C (priv_exec): specify explicitly the relative location
1256 of the top level build directory when run in-place.
1258 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1260 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1261 LyXText containing the cursor, not the top-level one.
1263 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1265 (insertStringAsLines): rename par to pit; use temporary variable
1266 par to hold a Paragraph; do not store par.layout() in a variable,
1267 since the pointer may die when breaking paragraphs; pass pars to
1268 breakParagraph() instead of Buffer::paragraphs().
1270 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1272 * lyxlex_pimpl.h: #include <fstream>.
1274 * BufferView.[Ch] (getLyXText): add a const version.
1276 * BufferView_pimpl.C: add debug aids.
1281 * paragraph_funcs.h: add commentary explaining what the class does.
1284 * coordcache.[Ch]: add lots of commentary.
1285 (startUpdating, doneUpdating): debug aids.
1286 (arrays, insets, parPos, getParPos): accessors to private data.
1288 * cursor_slice.[Ch] (text): add a const version.
1289 * dociterator.[Ch] (text, innerText): add const versions.
1291 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1294 * paragraph.C (getRow, pos2ros): add asserts.
1296 * paragraph.h: add commentary. Lots of.
1298 * paragraph.[Ch] (metrucs, draw): removed.
1301 * rowpainter.[Ch]: const-correct changes.
1303 * text.C: various obvious clean-ups. Removal of ancient cruft.
1306 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1308 * vc-backend.C (find_file): rewrite to use boost.filesystem
1311 * main.C (main): set default name check for boost.filesystem to
1314 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1317 (actOnUpdatedPrefs): ditto
1319 * lyx_main.C (init): rewrite to use boost.filesystem
1320 (queryUserLyXDir): ditto
1322 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1323 (getContentsOfAsciiFile): ditto
1325 * lastfiles.C (readFile): rewrite to use boost.filesystem
1327 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1329 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1330 (loadLyXFile): ditto
1332 * buffer.C (Buffer): adjust for destroydir
1333 (getLogName): rewrite to use boost.filesystem
1334 (setFileName): ditto
1335 (save): use fs::copy_file (from fs_extras)
1337 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1339 * LaTeX.C (run): rewrite to use boost.filesystem
1340 (scanAuxFiles): ditto
1341 (handleFoundFile): ditto
1343 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1345 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1347 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1349 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1351 * lyxlayout.[Ch]: change some vars from float to double
1353 * buffer.C (readFile): make a local var const
1355 * Several files: use convert<> instead of atoi,strToXXX and friends
1357 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1359 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1360 holds the contents of packages.lst. New functions getAvailable
1361 and isAvailable to parse and check that list, resp.
1365 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1367 * bufferparams.[Ch]: new param output_changes.
1369 * Buffer.C: increase file format to 240.
1370 Use output_changes and isVailable.
1374 * paragraph_pimpl.C: Use output_changes and isVailable.
1376 2005-01-23 Angus Leeming <leeming@lyx.org>
1378 * output_latex.C: #include "insetbibitem.h", rather than
1379 forward declare function bibitemWidest.
1381 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1383 * lyx_main.C (init): make it compile on the Mac.
1385 2005-01-20 Angus Leeming <leeming@lyx.org>
1387 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1388 (setLyXMisc): (char string literal) != (char string literal) is
1389 performing a comparison on the addresses. Convert one operand
1390 explicitly to string to guarantee expected behaviour.
1393 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1396 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1398 * output_plaintext.C: remove unneeded #include gzstream.h.
1400 2005-01-20 Angus Leeming <leeming@lyx.org>
1402 * SpellBase.h: rename some of the elements of the Result enum.
1409 * pspell.C (check): ditto
1411 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1413 * buffer.C: add #include <fstream>.
1415 * lyx_main.C (init): Compile fix.
1417 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1419 2005-01-20 Angus Leeming <leeming@lyx.org>
1421 * mover.h: change commentary to reflect the changed meaning of
1422 the $$s placeholder.
1424 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1426 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1428 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1430 2005-01-20 Angus Leeming <leeming@lyx.org>
1432 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1433 printing diagnostic data by not dereferecing an iterator past the
1436 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1438 * buffer.C (readHeader): use "&&" rather than "and".
1440 * lyxserver.h (inPipeName, outPipeName): make these const.
1442 2005-01-19 Angus Leeming <leeming@lyx.org>
1444 * lyx_main.C (error_handler, init): protect SIGHUP with
1445 #ifdef SIGHUP guards.
1447 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1451 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1453 * text.C (setHeightOfRow): add a margin at the top and bottom of
1454 the document (bug 1761)
1456 2005-01-17 Angus Leeming <leeming@lyx.org>
1458 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1459 with "python ". Workaround for a brain-dead Windows.
1461 2005-01-16 Angus Leeming <leeming@lyx.org>
1463 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1464 for MacOSX and Windows to use prependEnvPath.
1465 Strip out the hard-coded block to add elements to the PATH for
1466 MacOSX and replace it with a call to prependEnvPath using the
1467 contents of LyXRC::path_prefix.
1468 (queryUserLyXDir): strip out the code to run reconfigure, instead
1469 returning a boolean indicating the necessity to do so.
1470 (reconfigureUserLyXDir): contains the code to reconfigure the
1471 user support directory. Is now called after the various LyXRC data
1472 files have been read.
1474 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1476 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1478 * converter.[Ch] (convert): take a new parameter try_default. Use
1479 a default converter (imagemagick) if try_default is true.
1481 2005-01-13 Angus Leeming <leeming@lyx.org>
1483 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1484 os::cygwin_path_fix.
1485 (write): output LyXRC::cygwin_path_fix as necessary.
1487 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1490 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1492 2005-01-12 Angus Leeming <leeming@lyx.org>
1494 * lyx_main.C (init): set the PATH variable to include the
1495 directory containing the LyX binary when running on Mac or Windows.
1497 2005-01-12 Angus Leeming <leeming@lyx.org>
1499 * lyx_main.C (init): remove cruft that purports to set the locale
1500 dir. It doesn't and is not needed anyway.
1502 2005-01-10 Angus Leeming <leeming@lyx.org>
1504 * Makefile.am: remove the lyx_main.C special casing.
1506 * BufferView_pimpl.C:
1512 * messages.C: use support/package.h to provide the paths to the
1513 various directories used by LyX.
1515 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1517 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1518 layout if pasting into an empty paragraph)
1520 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1522 * tex-accent.C: add <string>
1524 2005-01-06 José Matos <jamatos@lyx.org>
1526 * ParagraphParameters.C (write): put every parameter in its own line.
1527 * paragraph.C (write): reduce number of consecutive empty lines exported.
1528 * buffer.C (LYX_FORMAT): increase file format to 239.
1530 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * everywhere: change support/tostr.h -> support/convert.h
1534 * tabular.C: make all write_attributes templates, tostr -> convert
1536 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1537 (emptyTag): and -> &&, and fix type for ret from getChar
1538 (getFirstWord): fix type for ret from getChar
1539 (onlyText): and -> &&
1540 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1543 * toc.C (goTo, action):
1544 * text3.C (dispatch):
1545 * text.C (currentState):
1546 * tex-accent.C (DoAccent):
1549 * lyxfunc.C (menuNew):
1550 * lyxfinc.C (replace):
1551 * counters.C (laberItem):
1552 * bufferview_funcs.C (font2string):
1553 * bufferparams.C (writeFile):
1554 * buffer.C (readFile):
1556 * MenuBackend.C: tostr -> convert
1558 * LaTeX.C (runMessage): fix format
1559 (scanAuxFiles): tostr -> convert
1561 * BufferView_pimpl.C (savePosition): fix format
1562 (restorePosition): ditto
1565 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1567 * Spacing.[Ch]: New method getValueAsString().
1571 * ParagraphParameters.C:
1574 * text3.C: store/read spacing value as string.
1576 * rowpainter.C: change float value (spacing_val) to double.
1578 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1579 broken custom document spacing).
1581 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1583 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1584 namespace, also more use of temp references and const
1586 * cursor.[Ch] (getStatus): move to lyxfunc.C
1588 * bufferparams.C: reformat slightly
1590 * bufferview_funcs.C (font2string): constify arg
1596 * buffer_funcs.C: (many funcs): constify arg on function
1597 definitions, also make more local vars const, also add ASSERTS on
1600 * buffer.C (LYX_FORMAT): put const in correct place
1601 (many funcs): constify arg on function definitions, also make
1602 more local vars const
1604 * aspell_local.h: remove "struct" from typdef setup
1606 * aspell.C (check): make word_ok const
1607 (nextMiss): simplify slightly
1610 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1612 * lyxrc.[Ch]: store all float values as strings.
1613 use int (not float) for lyxrc.dpi.
1615 2005-01-04 Angus Leeming <leeming@lyx.org>
1617 * lyx_cb.C (Reconfigure):
1618 * lyx_main.C (queryUserLyXDir):
1619 to run the <system_lyxdir>/configure correctly on Windows, prefix
1620 the path to the script with "sh " when generating the string that
1621 is passed to system().
1623 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1625 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1627 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1629 * lyxlength.C (asLatexString): get rid of setprecision
1631 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1633 * text2.C (setLayout): remove unused variable endpit.
1634 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1636 * paragraph.C (onlyText): remove unused variable style.
1638 * cursor.C (bruteFind): remove unused variables beg and end.
1640 * Makefile.am (dist_noinset_DATA): not needed anymore
1642 * cheaders/*: remove.
1644 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1646 * text3.C: fix LFUN_MATH_MODE.
1648 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1650 * buffer_funcs.C (countWords): new function. Counts words between
1653 * BufferView_pimpl.C (getStatus, dispatch): handle
1656 * LyXAction.C (init):
1657 * lfuns.h: add LFUN_WORDS_COUNT.
1659 2004-12-19 Angus Leeming <leeming@lyx.org>
1661 * buffer.C (save): s/slashify_path/internal_path/.
1663 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1665 * lyxfind.C (findChange): do not search for end of pars, because
1666 the change tracker cannot handle this (fixes bug 1719).
1668 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1670 * paragraph.[Ch] (autoBreakRows): remove
1672 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1674 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1675 avoid using the paragraph one
1677 * text2.C (LyXText, insertStringAsLines): adjust
1679 2004-12-16 Angus Leeming <leeming@lyx.org>
1683 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1685 2004-12-14 Angus Leeming <leeming@lyx.org>
1687 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1689 * bufferlist.C (emergencyWrite):
1690 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1693 2004-12-14 Angus Leeming <leeming@lyx.org>
1695 * main.C: (main): no longer pass pointers to os::init.
1697 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1699 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1700 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1702 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1705 * text3.C: remove selection_possible global flag
1707 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1709 * text2.C (getSelectionSpan): remove
1710 (changeDepth, changeDepthAllowed): adjust
1712 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1714 * Makefile.am (BOOST_LIBS): use boost variables
1716 2004-12-03 José Matos <jamatos@lyx.org>
1718 * buffer.C: format up to 238.
1720 2004-12-03 José Matos <jamatos@lyx.org>
1722 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1724 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1726 * cursor.C (goUpDown): remove call to idxUpDown2
1728 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1730 * tabular.[Ch]: use size_t-like types for cell, row and column
1733 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1735 * lyxfunc.C (getStatus): do not lose previous information when
1736 calling BufferView::getStatus; do not set a default "Command
1737 disabled" message at the beginning, but just before returning.
1739 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1741 * cursor.h (getStatus): add better comment from src/cursor.C
1743 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1745 * text3.C (getStatus): return false when the lfun is not handled
1747 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1749 * broken_headers.h: remove
1751 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1753 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1755 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1756 offset_ref accessors
1758 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1759 top_y_, merge fitcursor with update
1760 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1762 (metrics): introduce
1763 (workAreaDispatch): adapt to new coord scheme
1764 (redoCurrentBuffer): remove
1766 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1768 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1771 * coordcache.[Ch]: add paragraph cache and helpers
1773 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1776 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1777 (targetX, setTargetX): introduce
1779 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1780 baseline -> ascent, as the rest of lyx
1782 * lyxtext.h: remove redoParagraphs, updateParPositions,
1783 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1784 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1785 have ascent/descent (ascent is ascent of first par)
1787 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1790 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1792 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1794 * pariterator.C: fix infinite loop introduced in par->pit renaming
1796 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1797 in insets and LyXText, draw two off-screen paragraphs using
1798 NullPainter, and adapt to new coord scheme
1802 * text3.C: adapt lfun handlers to the new coord scheme, which
1803 means: there's only guaranteed coord information for onscreen pars
1804 plus one above and one below. This implies that one can do search
1805 from y coordinates in the range [-1,workHeight]
1807 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1809 * rename a lot of InsetOld to InsetBase
1811 2004-11-25 Angus Leeming <leeming@lyx.org>
1813 * BufferView_pimpl.C:
1815 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1817 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1819 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1820 call BufferView::getStatus if LCursor::getStatus did nothing
1821 (setStatusMessage, getStatusMessage): removed.
1823 * FuncStatus.C (message): new methods. Used to provide an error
1824 message indicating why a command is disabled.
1825 (clear, |=, FuncStatus): update for message.
1827 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1829 * lyxfunc.C (dispatch): always call sendDispatchMessage
1831 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1834 * BufferView_pimpl.C:
1839 * cursor_slice.[Ch]:
1842 * paragraph_funcs.C:
1848 * undo.C: par->pit renaming
1850 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1852 * tabular.C (cellstruct): use initialization, store a shared_ptr
1853 to insettext instead of the insettext directly, adjust to fit.
1854 (operator=): new function
1855 (swap): new function
1856 (rowstruct): use initialization
1857 (columnstruct): use initialization
1858 (ltType): use initialization
1861 * lyxlength.h (swap): new function
1863 * LColor.[Ch] (operator=): use the common semantics
1865 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1867 * lyxfind.C (findNextChange): update the bufferview after setting
1870 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1872 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1873 number of InsetOptArgs has already been inserted.
1875 * output_latex.C (latexOptArgInsets): new method. This outputs all
1876 the optarg insets, up to the limit defined in the layout file.
1877 (optArgInset): removed
1878 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1880 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1882 * paragraph.C (isLetter): remove special spellchecker-related
1883 code; return true also for digits
1884 (isWord, isKomma): remove
1886 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1887 * lyxfind.C (MatchString()): use isLetter instead of isWord
1889 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1891 * pariterator.h (operatir=): comment out un-implemented member
1894 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1897 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1899 * lyxfont.h: include LColor.h to satisfy concept checks.
1901 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1903 * pariterator.h: add typdefs for value_type, difference_type,
1904 pointer and reference to satisfy concept checks. Also add default
1905 constructor for same reason.
1907 * pariterator.C (operator++): add post-increment operator to
1908 satisfy concept checks.
1910 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1913 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1915 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1916 checks. Also rename base_type to BaseType to follow naming
1919 * FloatList.h: include Floating.h to satisfy concept checks.
1921 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1923 * lyxfunc.C (getStatus): when the origin of the request is menu or
1924 toolbar, and the LyXView does not have focus, do as if there was
1925 no buffer (bug 1720)
1927 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1928 FuncRequest to individual entries of LFUN_SEQUENCE
1930 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1932 * output_latex.C (TeXOnePar): override runparams.moving_arg
1933 according to the needprotect value of the current paragraph (bug
1936 * paragraph.C (simpleTeXOnePar): no need to override
1937 runparams.moving_args here
1939 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1941 * vspace.C: fix off-by-one-error, related to fix #1682
1943 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1945 * lengthcommon.C: a more general fix for bug 1682
1947 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1949 * text.C (backspace): fix crash
1951 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1953 * format.[Ch] (getFormatFromFile): new method
1954 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1956 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1958 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1960 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1962 * lyxfunc.C (dispatch): remove the verbose argument
1963 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1966 * kbmap.C (defkey): set the origin of func to KEYBOARD
1968 * MenuBackend.C (MenuItem):
1969 * ToolbarBackend.C (add): set the origin of func to UI
1971 * funcrequest.[Ch]: add origin member, which indicates which part
1972 of LyX requests an action
1974 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1976 * converter.C (move): don't lie in the error message
1977 * converter.h (isReachable, move): document
1979 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1981 * buffer.C: remove unused using lyx::support::atoi
1982 * paragraph_funcs.C: ditto
1984 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1986 * bufferlist.C (exists): use bind and equal_to instead of
1989 * lyxtextclasslist.C (NumberOfClass): ditto
1991 * cursor.C (insert): use for_each instead of explicit for loop
1993 * bufferlist.C (getFileNames): use std::transform and
1994 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1996 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1999 * buffer.C (changeLanguage): use for_each instead of explicit for
2001 (hasParWithID): implement using getParFromID
2003 * LaTeXFeatures.C: ws change only
2005 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2008 * BufferView_pimpl.C (trackChanges): use for_each instead of
2011 2004-11-04 André Pönitz <poenitz@gmx.net>
2014 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2016 * dociterator.C (asDocIterator): use hard assert again.
2018 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2020 * lyxlength.C (asLatexString): rewrite so that it does not use
2023 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2025 * text3.C (specialChar, dispatch): make sure cursor moves to the
2026 right after inserting an inset
2028 2004-11-02 José Matos <jamatos@lyx.org>
2030 * output_docbook.C (docbook):
2031 * paragraph.C (getID):
2032 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2033 garantee that the output is always legal.
2035 * tabular.C (docbook):
2036 * outputprams.[Ch]: remove mixed contents.
2038 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2040 * text2.C (setCounter): prevent endless loop
2042 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2044 * exporter.C (copyFile): use the mover instead of support::copy()
2045 * exporter.C (Export): pass format and latex name to copyFile()
2046 * exporter.h (addExternalFile): document
2047 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2049 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2051 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2053 2004-10-30 José Matos <jamatos@lyx.org>
2055 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2056 text and no inset or font change. This allows to use CDATA
2057 sections just for the whole paragraph.
2059 2004-10-30 José Matos <jamatos@lyx.org>
2061 * paragraph.C (getFirstWord): remove unused variable.
2063 2004-10-30 José Matos <jamatos@lyx.org>
2065 * paragraph.C (getFirstWord): the content should always be escaped
2067 (simpleDocBookOnePar):
2068 * output_docbook.C (makeEnvironment): replace reference to CDATA
2071 2004-10-30 José Matos <jamatos@lyx.org>
2073 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2075 2004-10-30 José Matos <jamatos@lyx.org>
2077 * output_docbook.C (makeParagraphs):
2078 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2079 standard paragraph has only a given type of content drop the wrapper.
2081 2004-10-29 José Matos <jamatos@lyx.org>
2083 * output_docbook.C (makeEnvironment):
2085 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2087 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2089 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2090 (cleanID): sanitize any id.
2092 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2094 * buffer.C, lyxlex_pimpl.C:
2095 * lyxlex_pimpl.C (setFile):
2096 s/getExtFromContents/getFormatFromContents/
2098 2004-10-28 José Matos <jamatos@lyx.org>
2100 * output_docbook.C (makeEnvironment): move id to broadest possible
2103 * sgml.C (openTag): apply substitution of <> for all attributes.
2105 2004-10-28 José Matos <jamatos@lyx.org>
2107 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2108 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2109 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2111 * sgml.[Ch]: new version for open and closeTag for paragraph and
2112 for strings. Now they handle the ids of paragraphs.
2114 2004-10-26 Angus Leeming <leeming@lyx.org>
2116 * Makefile.am: add mover.[Ch].
2118 * converter.C (convert, move): use the new Movers to move external
2119 files to the temp directory.
2121 * lyx_main.C (init): ensure that the global system_movers data
2124 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2127 * mover.[Ch]: new files, defining a Mover as a utility to move an
2128 external file between directories and, if necessary, manipulate this
2129 file using a helper script.
2131 2004-10-25 José Matos <jamatos@lyx.org>
2133 * output_docbook.C (makeCommand): merge two if's that tested the
2136 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2138 * sgml.C (escapeString): fix warning in a better way
2140 2004-10-25 José Matos <jamatos@lyx.org>
2142 * sgml.C (escapeString): import the require boosts header file for
2143 tie, and avoid a signed unsigned comparison.
2145 2004-10-25 José Matos <jamatos@lyx.org>
2147 * sgml.h: add #include <string>
2149 2004-10-25 José Matos <jamatos@lyx.org>
2151 * sgml.[Ch] (escapeString): new function to escape all the string.
2153 2004-10-24 José Matos <jamatos@lyx.org>
2155 * paragraph.[Ch] (getFirstWord): new function to get the first
2156 word. Useful for description.
2157 (simpleDocBookOnePar): remove depth argument, add another that
2158 says where to start the paragraph.
2160 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2161 use the new functions to fix cleanly the support for descriptions.
2163 2004-10-24 José Matos <jamatos@lyx.org>
2165 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2166 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2167 * output_linuxdoc.C (linuxdocParagraphs):
2168 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2169 add buffer as argument.
2171 2004-10-24 José Matos <jamatos@lyx.org>
2173 * output_docbook.C (makeEnvironment, searchEnvironment): place
2174 CDATA inside paragraphs and fix scope for listitems.
2176 2004-10-24 José Matos <jamatos@lyx.org>
2178 * output_docbook.C: remove using statement for stack.
2180 2004-10-23 José Matos <jamatos@lyx.org>
2182 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2183 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2184 docbook. The new scheme is recursive and makes use of iterators, the
2185 same as latex export works.
2186 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2187 directly with the paragraph contents. This code was moved up to
2188 output_docbook.C (docbookParagraphs).
2189 * sgml.C (openTag, closeTag): removed unneeded newlines.
2190 (closeEnvTags) removed.
2192 2004-10-23 André Pönitz <poenitz@gmx.net>
2194 * undo.C (textUndoOrRedo):
2195 * dociterator.C (asDocIterator): work around crash
2197 * cursor.C (getStatus): replace ASSERT by more verbose error message
2198 and manual correction of the problem. Should increase stability
2199 while providing more sensible information.
2201 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2203 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2205 * bufferlist.C (previous, next): new methods
2208 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2210 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2212 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2213 entities to preamble.
2215 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2217 * messages.C (Pimpl): strip off translation context information
2219 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2221 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2222 the cursor is correct (bug 1694)
2224 2004-10-13 José Matos <jamatos@lyx.org>
2226 * output_docbook.C (docbookParagraphs): fix closing tags in the
2227 end of the document.
2229 2004-10-09 José Matos <jamatos@lyx.org>
2231 * buffer.C: format up to 237.
2232 * bufferparams.C (write): use tostr to convert booleans to strings.
2234 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2236 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2238 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2240 * LaTeX.C: implement use of babel language in xindy.
2242 2004-10-05 José Matos <jamatos@lyx.org>
2244 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2245 Add new translators to help reading and writing the lyx file.
2247 2004-10-05 José Matos <jamatos@lyx.org>
2249 * ParagraphParameters.C (read):
2250 * text.C (readParToken): replace nexToken by more appropriate lex
2253 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2255 * LaTeX.C (runMakeIndex):
2256 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2257 (usually 'makeindex') configurable.
2259 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2260 with a variable rather than with a number.
2262 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2264 * output_latex.C (TeXOnePar): make sure font setting is the first
2265 thing that gets output (and the last at the end). Should fix bug
2268 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * pch.h: use proper signal include
2272 * LaTeX.h: Use preferred calling of Boost.Signal
2275 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * pch.h: dont include <boost/function/function0.hpp>
2279 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2281 * paragraph_pimpl.h: remove usage of ShareContainer
2283 * paragraph_pimpl.C: remove initialization of ShareContainer.
2285 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2289 * BufferView.C (putSelectionAt): change the semantics when
2290 backwards == true: now, this just swaps cursor and anchor wrt the
2293 * BufferView.h (putSelectionAt): add some documentation
2295 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2296 make sure backwardChar is done at least once (to avoid getting
2298 (findNextChange): use putSelectionAt in the forward direction
2299 (operator()): use Paragraph::isWord
2301 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2303 * Spacing.C (set): c_str fix
2305 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2307 * lyx_cb.C (Reconfigure): quote the name of configure script in
2308 case it contains spaces
2310 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2314 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2315 (BOOST_LIBS): use top_buildir when looking for the file
2317 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2319 * pch.h: do not use include boost/format.hpp, multiple symbols
2320 will result (gcc bug)
2323 2004-08-23 José Matos <jamatos@lyx.org>
2325 * bufferparams.C (readToken): fix reading of the author field.
2327 2004-08-20 José Matos <jamatos@lyx.org>
2329 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2331 2004-08-20 José Matos <jamatos@lyx.org>
2333 * lyxlex.[Ch] (findToken): remove function.
2335 * ParagraphParameters.C (findToken):
2336 * bufferparams.C (findToken): replace call for previous function
2337 with local copy. This local function has one more argument, the
2338 read string argument.
2340 2004-08-16 José Matos <jamatos@lyx.org>
2342 * ParagraphParameters.C (write):
2343 * Spacing.C (writeFile):
2344 * bufferparams.C (writeLaTeX):
2345 * lyx_cb.C (Reconfigure):
2346 * paragraph.C (write):
2347 * tabular.C (write): remove unnecessary space at end of line.
2350 2004-08-16 José Matos <jamatos@lyx.org>
2352 * text.C (readParagraph): remove debug message.
2354 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2356 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2359 * output_plaintext.C (asciiParagraph): set depth correctly
2361 * outputparams.h: add member depth
2363 * paragraph_funcs.C (ownerPar): remove.
2365 * text2.C (setCounter): remove first_pit; comment out some
2366 non-working code that uses ownerPar
2368 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2371 2004-08-16 José Matos <jamatos@lyx.org>
2373 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2374 For the same level of importance use the same chanel to report problems.
2375 (read): add code to deal with \begin_body and \end_body.
2378 2004-08-15 José Matos <jamatos@lyx.org>
2380 * lyxlex.C (getString): fix comment, buffer::readBody is now
2381 buffer:readDocument.
2383 * tex-strings.C (string_papersize): Default -> default,
2384 Custom -> custom, for consistency with other options.
2386 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2390 * Makefile.am: support pch
2392 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2394 * text.C (readParToken): remove the static LyXFont variable and
2395 pass it as a parameter instead. This fixes a nasty bug where an
2396 inset will be inserted with a bad font in some situations
2397 (readParagraph): adapt
2399 * text2.C (setCounter): reduce number of calls to pars_[pit]
2401 * text.C (singleWidth): add an assert, fix a test
2403 * rowpainter.C (paintText): reduce number of calls to singleWidth
2405 * paragraph.C (isHfill):
2406 (isNewline): ws only
2408 2004-08-14 André Pönitz <poenitz@gmx.net>
2413 * lyxtext.h (several functions): use a Paragraph & argument
2416 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2418 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2420 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2422 * text.C (singleWidth): remove useless test
2424 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2426 * tabular.h: remove bogus comments
2428 * tabular.C (getDescentOfRow):
2429 (isPartOfMultiColumn): add assertions
2431 * lyxlength.C (inPixels): remove #warning
2433 2004-08-14 André Pönitz <poenitz@gmx.net>
2435 * paragraph.h: inline getChar()
2437 * BufferView.h: remove unused declarations
2439 2004-08-14 José Matos <jamatos@lyx.org>
2441 * Buffer.[Ch] (readDocument): new name for old readBody.
2442 * Buffer.C: new file format, new keywords: \begin_document,
2443 \begin_header, \begin_body, \end_body.
2445 * bufferparams.C (readToken): replace all calls to lex.nextToken
2446 by lex.next(). Do the same to eatLine except where really needed.
2448 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2449 line when writing to the lyx file.
2451 * output_plaintext.C (asciiParagraph): fix Bibliography style
2454 * text.C (read): fix end of file handling.
2456 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2458 * MenuBackend.C (Menu::operator[]): new method to access
2459 individual menu items
2460 (Menu::hasFunc): new method. search for an item that corresponds
2462 (MenuBackend::specialMenu): new method
2463 (MenuBackend::expand): if a special menu has been set, skip
2464 entries whose func() appears in this menu
2466 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2468 * text3.C: use Debug::DEBUG a bit more
2470 * text.C (leftMargin): try to simplify a tiny bit change var x to
2471 l_margin. Dont output the wide margins always.
2472 (rightMargin): no margin in inner texts
2474 * rowpainter.h (nestMargin): new func
2475 (changebarMargin): new func
2476 (rightMargin): new func
2478 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2482 * factory.C (createInset): modify setDrawFrame
2484 * cursor.C: use Debug::DEBUG a bit more
2486 2004-08-14 André Pönitz <poenitz@gmx.net>
2489 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2490 cache for all insets in (at least partially) visible (top-level)
2493 * BufferView_pimpl.C: reset external coord cache before every update.
2494 This means the coord cache only contains valid entries.
2496 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2499 * BufferView_pimpl.C (getInsetByCode): move function out of class
2500 and change in to a template in anon namespace. Also fix to do what
2503 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2506 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2508 (breakParagraph): rename par to par_offset and use a local
2509 reference. Add code to keep the language over a rebreak.
2510 (breakParagraphConservative): rename par to par_offset, use a
2512 (mergeParagraph): ditto
2514 (isFirstInSequence): ditto
2515 (outerFont): rename pit to par_offset
2517 * paragraph.C: ws change
2518 * paragraph.h: ditto
2522 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2524 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2527 * paragraph.C (simpleTeXOnePar): when we have a \item with
2528 optional argument, enclose the argument with curly brackets (in
2529 case it contains a closing square bracket)
2533 * text3.C (checkInsetHit): constify
2535 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2537 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2538 documents (bug 1629)
2540 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2542 Fix toggling of collapsable insets with the mouse (bug 1558)
2544 * lyxfunc.C (dispatch): adapt to LCursor changes
2546 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2547 make sure that dispatch is not invoked twice
2549 * cursor.C (needsUpdate): new method
2550 (dispatch): return void
2551 (result): new method, to access the DispatchResult of the cursor.
2553 2004-08-13 José Matos <jamatos@lyx.org>
2555 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2557 2004-08-13 André Pönitz <poenitz@gmx.net>
2559 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2561 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2564 2004-08-12 André Pönitz <poenitz@gmx.net>
2566 * text3.C: take out the 'cursor right' form insertInset and only
2567 do it in those places when it is really needed. Fixes crash on
2570 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2572 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2574 * BufferView_pimpl.C (setBuffer): initialize the current font of
2575 the underlying LyXText
2577 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2579 * kbsequence.C (print): use UI native formatting for menu
2582 * text.C (insertChar): call Paragraph::insertChar with a font
2585 * paragraph.C (insertInset, insertChar): the version that takes a
2586 LyXFont argument is now a wrapper around the other one (the
2587 opposite used to be true).
2589 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2590 argument. Font setting is done in Paragraph now.
2592 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2594 * outputparams.h: add new members intitle and lang.
2596 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2597 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2599 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2601 * text3.C (dispatch): remove special handling of button 4 and 5,
2602 it is now taken care of in the frontend code.
2604 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2606 * Spacing.h: add <string> (STLPort compile fix)
2608 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2610 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2612 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2614 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2617 * converter.C (showMessage): inherit from unary_function, make
2620 * buffer.C (writeFile): initialize retval
2622 * InsetList.h: rename private variable list to list_
2623 * InsetList.[Ch]: adjust accordingly.
2625 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2628 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2629 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2630 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2631 * ParagraphParameters.C, LaTeXFeatures.C: replace
2632 "support/std_sstream.h" with <sstream>
2634 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2636 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2637 * lyxsocket.C (LyXServerSocket): ditto
2638 (serverCallback): ditto
2640 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2642 * LaTeXFeatures.C: check release date when loading jurabib.
2644 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2646 * lyxserver.C (startPipe): call register_socket_callback
2647 (endPipe): call unregister_socket_callback
2649 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2652 (LyXServerSocket): register the callback
2653 (LyXServerSocket): unregister the callback
2654 (fd): delete function
2655 (serverCallback): improve error checking and setup the callbacks.
2656 (dataCallback): change arg to fd.
2657 (writeln): new func (copied fro the client socket) used for server
2659 (LyXDataSocket): simplify
2660 (~LyXDataSocket): close ann unregiser callback
2661 (server): delete function
2662 (fd): delete function
2663 (readln): small changes, improve some std::string usage
2664 (writeln): constify a bit
2666 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2668 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2671 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2673 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2674 after it has been populated
2676 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2678 * text2.C (insertInset): move cursor when inserting inset.
2680 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2682 * kbmap.C (findbindings): a couple of new methods. returns a
2683 container of kb_sequence objects. The real work is done by the
2684 private recursive version
2685 (printbindings): uses findbindings to print out a bracketed list
2686 of bindings (renamed from findbinding).
2688 * MenuBackend.C (binding): use kb_keymap::findbindings
2690 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2692 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2694 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2696 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2698 * paragraph.C (isWord): return true on insets that report
2701 * text.C (getWord): use Paragraph::isWord to decide what is in a
2702 word and what is not; fix bug 1609.
2704 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2706 * tex-strings.C: add "none" to string_paperpackages[], fixes
2707 off-by-one-error in the paperpackage selection.
2710 * tex-strings.[Ch]: char const * string[n]
2711 -> char const * const string[]
2713 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2715 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2716 command, return early.
2718 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2720 * debug.h: add DEBUG to enum and fix size of ANY.
2722 * debug.C: add support for Debug::DEBUG
2723 (showTags): cast errorTags.level to unsigned int
2725 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2726 (redoCurrentBuffer): ditto
2727 (updateScrollbar): ditto
2728 * cursor.C (dispatch): ditto
2729 * text2.C (setLayout): ditto
2731 (updateCounters): ditto
2733 (deleteEmptyParagraphMechanism): ditto
2735 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2737 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2738 annotations to cleanup the Makefile slightly.
2740 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2742 * lyxrc.C: do not set user_email to a default value but use empty
2743 instead. The entry used to be translated, which does not work
2744 since at the point where lyxrc is constructed there is no
2745 translation service available
2747 * messages.C (getLocaleDir): remove and use directly
2748 lyx_localedir() instead
2750 2004-06-02 Angus Leeming <leeming@lyx.org>
2752 Fix crash caused by dereferencing null pointer 'exportdata' in
2753 OutputParams by creating a new ExportData variable on the heap,
2754 storing it in a boost::shared_ptr.
2755 The crash was triggered when generating an Instant Preview
2756 of an external inset.
2758 * Makefile.am: add outputparams.C
2760 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2761 (c-tor): allocate memory to it.
2763 * exporter.C (c-tor): associated changes.
2765 2004-06-01 Angus Leeming <leeming@lyx.org>
2767 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2768 contains data before calling isInset(0). (Bug 1513.)
2770 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2772 * exporter.C (checkOverwrite): new method
2773 * exporter.C (copyFile): new method
2774 * exporter.C (Export): copy referenced files to the document dir
2775 * exporter.[Ch]: new class ExportedFile
2776 * exporter.[Ch]: new class ExportData. Contains currently the
2777 names of referenced external files
2778 * outputparams.h: add exportdata member.
2780 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2782 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2785 2004-05-19 Angus Leeming <leeming@lyx.org>
2790 * lyxfunc.C: small changes due to the introduction of namespace
2791 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2793 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2795 * text3.C (dispatch): supress update when only moving the cursor
2796 * cursor.C (selHandle): remove commented code
2798 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2800 * paragraph.C (startTeXParParams): correct column count
2801 * CutAndPaste.C (pasteSelection): remove const_cast
2802 * output_docbook.C (docbookParagraphs): remove const_cast
2803 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2804 const_cast and return ParagraphList::const_iterator
2805 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2806 * output_plaintext.C (writeFileAscii): remove const_cast
2807 * paragraph.[Ch] (simpleTeXOnePar): make const
2808 * paragraph_funcs.C (outerPar): use const iterators
2809 * paragraph_pimpl.C (validate): use const iterators
2810 * text.C (setHeightOfRow): use const iterators
2812 2004-05-17 Angus Leeming <leeming@lyx.org>
2815 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2817 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2818 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2819 if the citation engine has changed.
2821 2004-05-14 José Matos <jamatos@lyx.org>
2823 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2824 if the textclass does not provide it. Have it different for sgml and
2826 support the language of document.
2827 * output_docbook.C (docbookParagraphs):
2828 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2829 first anchor as the id of the paragraph, remove special case code.
2830 * sgml.C (escapeChar): escape only < & >.
2832 2004-05-14 Angus Leeming <leeming@lyx.org>
2834 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2835 dependencies on src/frontends/controllers/biblio.h. Define a
2836 CiteEngine_enum wrapper class to enable the enum to be forward
2839 2004-05-12 Angus Leeming <leeming@lyx.org>
2841 * buffer.C: up LYX_FORMAT to 234.
2842 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2843 use_numerical_citations with a single biblio::CiteEngine cite_engine
2845 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2847 2004-05-13 José Matos <jamatos@lyx.org>
2850 * converter.C (Converter, readFlags): add xml member.
2851 * outputparams.h: add XML flavor.
2852 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2854 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2856 * lyxfunc.C (dispatch):
2857 (getStatus): fix handling of LFUN_SEQUENCE
2859 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2861 * debug.C (showLevel): do not forget the end-of-line marker
2863 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2865 * kbmap.C (read): do not stop parsing a bind file when an error
2868 2004-04-29 Angus Leeming <leeming@lyx.org>
2873 * text2.C: wrap a bunch of #warning statements
2874 inside #ifdef WITH_WARNINGS blocks.
2876 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2878 * buffer.C: increment format to 233.
2880 2004-04-28 Angus Leeming <leeming@lyx.org>
2882 * BufferView_pimpl.C:
2885 s/updateToolbar()/updateToolbars()/
2886 s/Toolbar.h/Toolbars.h/
2888 2004-04-28 Angus Leeming <leeming@lyx.org>
2890 * BufferView.[Ch] (c-tor):
2891 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2892 No longer passes these data to the WorkArea generator.
2894 2004-04-28 Angus Leeming <leeming@lyx.org>
2896 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2898 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2900 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2902 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2904 * output_latex.C (TeXEnvironment): make sure that there is a line
2905 break before \end{foo} for the last paragraph of a document
2906 (TeXOnePar): if the paragraph is at the end of the document (or
2907 inset) and the language has to be reset, then make sure that the
2908 line break is _before_ the language command, not after (fixes bug
2909 1225); also make sure that the language reset command is the first
2910 thing after the paragraph (to ensure proper nesting of
2911 environments and thus fix bug 1404)
2913 2004-04-21 John Levon <levon@movementarian.org>
2916 * ToolbarBackend.C: make "name" be a programmatic name
2917 and a gui_name field.
2919 * lyxfunc.C: display the minibuffer on M-x
2921 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2923 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2926 2004-04-19 Angus Leeming <leeming@lyx.org>
2928 * BufferView_pimpl.C (setBuffer): changed preview interface.
2930 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2933 2004-04-19 John Levon <levon@movementarian.org>
2935 * BufferView_pimpl.C:
2936 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2938 2004-04-05 Angus Leeming <leeming@lyx.org>
2940 * text.C (redoParagraphs): add call to updateCounters(), thereby
2941 fixing the missing "Figure #:" label from the caption of a
2944 2004-04-13 Angus Leeming <leeming@lyx.org>
2946 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2947 cursor is clicked out of an inset.
2949 2004-04-13 Angus Leeming <leeming@lyx.org>
2951 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2952 than an InsetOld one.
2954 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2956 * format.[Ch]: add editor to Format
2957 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2958 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2960 2004-04-08 André Pönitz <poenitz@gmx.net>
2962 * metricsinfo.h: remove PainterInfo::width member
2964 2004-04-08 Angus Leeming <leeming@lyx.org>
2966 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2967 "\providecommand" rather than "\newcommand", thereby preventing
2968 clashes with packages that define "\boldsymbol" themselves.
2971 2004-04-08 Angus Leeming <leeming@lyx.org>
2973 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2974 thereby squashing an unnecessary warning.
2976 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2978 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2981 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2983 * BufferView.C (setCursor): call redoParagraph (some insets could
2985 (putSelectionAt): remove the 'double update' trick
2987 * BufferView_pimpl.C (fitCursor): call refreshPar
2988 (workAreaDispatch): remove an uneeded update call
2989 (dispatch): remove some manual update calls
2991 * cursor.[Ch]: remove cached_y_, updatePos
2992 (selHandle): set noUpdate when appropriate
2994 * lyxfunc.C (dispatch): track if we need an update
2996 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2998 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2999 (paintSelection): cheap optimization, do not call cursorX when not
3001 (paintPars): change signature
3004 (paintTextInset): adjust
3008 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3010 * lengthcommon.C: compilation fix: remove explicit array size from
3011 unit_name[] and friends
3013 2004-04-05 Angus Leeming <leeming@lyx.org>
3015 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3017 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3018 present only for the preferences dialog.
3019 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3021 2004-04-05 Angus Leeming <leeming@lyx.org>
3023 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3024 to enable the frontends to export changes to lyxrc correctly.
3026 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3028 2004-04-07 André Pönitz <poenitz@gmx.net>
3030 * cursor.[Ch] (selClear, adjust): remove math
3032 * cursor_slice.C: more agressive assert
3035 * BufferView_pimpl.C: rework mouse event dispatch
3042 2004-04-05 André Pönitz <poenitz@gmx.net>
3044 * cursor.[Ch] (valign, halign...): remove unneeded functions
3046 2004-04-05 Angus Leeming <leeming@lyx.org>
3048 * lyxlength.[Ch] (unit_name et al.): const-correct.
3050 2004-04-05 Angus Leeming <leeming@lyx.org>
3052 * BufferView_pimpl.C:
3061 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3063 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3065 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3067 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3069 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3070 * BufferView_pimpl.[Ch] (getStatus)
3071 * BufferView.[Ch] (getStatus): add
3072 * lyxfunc.C (getStatus): move lfuns handled in
3073 BufferView::dispatch to te function above
3074 * Cursor.C (setSelection): set selection() = true
3076 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3078 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3080 2004-03-31 Angus Leeming <leeming@lyx.org>
3082 * lyxfunc.C (dispatch): Fall through to the generic
3083 Dialogs::show("preamble").
3085 2004-03-31 Angus Leeming <leeming@lyx.org>
3087 * lyxfunc.C (dispatch): Fall through to the generic
3088 Dialogs::show("spellchecker").
3090 2004-03-31 Angus Leeming <leeming@lyx.org>
3092 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3095 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3100 * insetiterator.[Ch]:
3105 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3107 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3109 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3110 insets where we are putting the cursor.
3112 2004-03-31 Angus Leeming <leeming@lyx.org>
3115 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3117 * lyxrc.[Ch] (read, write): overloaded member functions taking
3118 a std::[io]stream arguments.
3120 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3122 2004-03-31 Angus Leeming <leeming@lyx.org>
3124 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3125 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3127 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3128 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3130 2004-03-31 Angus Leeming <leeming@lyx.org>
3132 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3133 the LFUN_ALL_INSETS_TOGGLE code.
3135 2004-03-30 Angus Leeming <leeming@lyx.org>
3137 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3138 has died. Fall through to the generic Dialogs::show("document").
3140 2004-03-30 Angus Leeming <leeming@lyx.org>
3143 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3144 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3146 * lyxfunc.C (getStatus, dispatch): define the actions for these
3147 lfuns. Little more than a cut and pste job from ControlDocument.C
3149 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3151 2004-03-30 Angus Leeming <leeming@lyx.org>
3154 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3155 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3157 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3158 open/closed state of ollapsable insets. Usage:
3160 all-inset-toggle <state> <name>, where
3161 <state> == "open" || "closed" || "toggle" and
3162 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3164 * lyxtext.h, text2.C (toggleInset): removed.
3166 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3167 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3168 now passes LFUN_INSET_TOGGLE to the found inset.
3170 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3171 is now invoked as "all-insets-toggle toggle branch".
3173 2004-03-30 Angus Leeming <leeming@lyx.org>
3177 * pariterator.[Ch]: added/corrected header blurb.
3179 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3181 * dociterator.[Ch]: add an inset_ member
3182 (backwardPos): implemented
3183 (backwardPos, forwardPos): use inset_ when the stack is empty.
3184 (doc_iterator_begin, doc_iterator_end): implemented
3185 * pariterator.[Ch]: adjust, add begin, end
3186 * insetiterator.[Ch]: adjust, add begin, end
3190 * BufferView_pimpl.C:
3191 * CutAndPaste.C: adjust
3193 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3195 * buffer.C: increment file format to 232.
3196 * LaTeXFeatures.C: add bibtopic package.
3197 * bufferparams.[Ch]: param \use_bibtopic.
3199 * lyxrc.[Ch]: add lyxrc bibtex_command
3200 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3202 * buffer.C: increment file format to 231.
3204 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3206 * dociterator.C: implement forwardPar
3207 * iterators.[Ch]: remove, replaced by
3208 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3210 * BufferView_pimpl.C:
3213 * bufferview_funcs.C:
3219 * Makefile.am: adjust
3221 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3223 * CutAndPaste.C (pasteSelection): fix 2 crashes
3224 (eraseSelection): fix a crash
3225 * paragraph_funcs.C: remove a warning
3227 2004-03-28 Angus Leeming <leeming@lyx.org>
3230 * LyXAction.C (init): new LFUN_PRINT.
3232 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3234 2004-03-27 Angus Leeming <leeming@lyx.org>
3237 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3239 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3241 2004-03-27 Angus Leeming <leeming@lyx.org>
3243 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3244 insetlist always contains non-null pointers to insets.
3246 2004-03-26 Angus Leeming <leeming@lyx.org>
3248 * src/BufferView_pimpl.C:
3249 * src/CutAndPaste.C:
3252 * src/output_plaintext.C:
3253 * src/outputparams.h:
3254 * src/paragraph_funcs.C:
3258 * src/frontends/controllers/ControlErrorList.C:
3259 * src/frontends/gtk/FileDialogPrivate.C:
3260 * src/frontends/gtk/GPainter.C:
3261 * src/frontends/gtk/GToolbar.C:
3262 * src/frontends/qt2/QRef.C:
3263 * src/mathed/math_scriptinset.C: squash compiler warnings.
3265 2004-03-26 Angus Leeming <leeming@lyx.org>
3267 * ispell.C (LaunchIspell::start):
3268 * lyx_cb.C (AutoSaveBuffer::start):
3269 invoke run(DontWait) rather than runNonBlocking().
3271 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3273 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3275 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3277 * kbsequence.C (print): adjust
3279 * kbmap.C (printKeySym): rename and change signature
3280 (printKey): use LyXKeySym::print()
3282 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3284 * undo.C: add using std::advance to compile for stlport
3286 2004-03-24 Angus Leeming <leeming@lyx.org>
3288 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3289 it leads to a crash when no buffer is present.
3291 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3292 Martin Vermeer <martin.vermeer@hut.fi>
3294 * lyxfunc.C (dispatch):
3295 * bufferparams.C (readToken): use the new LColor::setColor
3297 * LColor.[Ch] (setColor): new version that takes two strings as
3298 argument and creates a new color entry if necessary
3300 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3302 * buffer.C (makeLaTeXFile): if the main latex file that is
3303 processed is usually a subdocument of some master, then pretend
3304 for a while that it is actually the master
3306 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3308 * buffer.C (getLabelList):
3309 (getBibkeyList): use getMasterBuffer()
3310 (getMasterBuffer): new method. Returns the main document in the
3311 case where one is using included documents.
3313 2004-03-25 André Pönitz <poenitz@gmx.net>
3317 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3319 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3321 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3322 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3324 * ParameterStruct.h: merge with ParagraphParameters
3326 * lyxtext.h: remove LyXText::parOffset() and getPar()
3328 * text3.C: Remove all 'manual' update calls. We do now one per user
3329 interaction which is completely sufficient.
3333 * BufferView_pimpl.C:
3334 * FontIterator.[Ch]:
3336 * ParagraphParameters.[Ch]:
3341 * cursor_slice.[Ch]:
3348 * output_docbook.[Ch]:
3349 * output_latex.[Ch]:
3350 * output_linuxdoc.[Ch]:
3351 * output_plaintext.[Ch]:
3353 * paragraph_funcs.[Ch]:
3354 * paragraph_pimpl.[Ch]:
3362 * frontends/controllers/ControlDocument.C:
3363 * frontends/controllers/ControlErrorList.C:
3364 * frontends/controllers/ControlSpellchecker.C:
3367 * insets/insetbase.h:
3368 * insets/insetbibitem.C:
3369 * insets/insetbox.C:
3370 * insets/insetbranch.C:
3371 * insets/insetcaption.C:
3372 * insets/insetcharstyle.C:
3373 * insets/insetcharstyle.h:
3374 * insets/insetcollapsable.C:
3375 * insets/insetcollapsable.h:
3376 * insets/insetert.C:
3377 * insets/insetfloat.C:
3378 * insets/insetfoot.C:
3379 * insets/insetmarginal.C:
3380 * insets/insetnote.C:
3381 * insets/insetoptarg.C:
3382 * insets/insettabular.C:
3383 * insets/insettext.C:
3384 * insets/insettext.h:
3385 * insets/insetwrap.C:
3386 * mathed/math_mboxinset.C:
3387 * mathed/math_nestinset.C:
3388 * mathed/math_scriptinset.C:
3389 * mathed/math_scriptinset.h:
3392 2004-03-24 Angus Leeming <leeming@lyx.org>
3394 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3395 deal with any child processes that have finished but are waiting to
3396 communicate this fact to the rest of LyX.
3398 2004-03-24 Angus Leeming <leeming@lyx.org>
3400 64-bit compile fixes.
3402 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3403 (c-tor): pass lyx::pos_types rather than ints.
3405 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3408 * text.C (Delete): compile fix.
3409 (getPar): ensure that function declaration is the same as that in
3412 2004-03-23 Angus Leeming <leeming@lyx.org>
3414 * ispell.C (LaunchIspell):
3415 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3416 a boost::shred_ptr rather than a std::auto_ptr.
3418 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3420 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3421 handle LFUN_FILE_INSERT_*
3423 * lyxrc.C (setDefaults, getDescription, output, read):
3424 * lyxrc.h: remove ps_command
3426 2004-03-22 Angus Leeming <leeming@lyx.org>
3428 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3429 Ensure that error_handler is processed once only and that all data
3430 is saved before attempting to output any warning messages.
3432 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3434 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3436 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3438 2004-03-19 André Pönitz <poenitz@gmx.net>
3440 * cursor.[Ch] (reset): take main text inset as argument
3442 * BufferView: adjust
3443 * BufferView_pimpl.C: adjust
3445 * paragraph.[Ch]: fix completely broken operator=()
3447 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3449 * LColor.C (getFromLyXName): make sure that the color name is used
3452 2004-03-17 Angus Leeming <leeming@lyx.org>
3455 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3457 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3458 dialog and to kill a forked process.
3460 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3462 * text2.C (setCursorFromCoordinates): fix font problem
3464 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3466 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3467 bogus "rebuild cursor" code
3469 2004-03-11 André Pönitz <poenitz@gmx.net>
3471 * buffer.[Ch]: use InsetText instead of LyXText as container for
3474 * dociterator.[Ch]: drop the BufferView * member which is not needed
3475 anymore after the change to buffer.C
3477 * paragraph_funcs.C:
3481 * BufferView_pimpl.[Ch]:
3483 * cursor_slice.[Ch]: adjust
3485 * text3.C: fix bug in mathDispatch
3487 2004-03-08 André Pönitz <poenitz@gmx.net>
3489 * undo.[Ch]: use 'StableDocumentIterator' as base for
3492 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3495 * bufferparams.[Ch]: add jurabib support and param.
3497 * LaTeX.C: add FIXME/comment.
3499 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3501 * buffer.C: increment file format to 230.
3503 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3505 * cursor.C (dispatch): avoid infinite loops
3507 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3509 * rowpainter.C (paintSelection): fix x coordinates
3511 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3513 * text.C (rowBreakPoint): fix breaking before displayed insets
3515 2004-03-01 André Pönitz <poenitz@gmx.net>
3517 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3519 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3523 * BufferView_pimpl.C:
3531 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3537 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3538 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3540 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3542 * Bidi.[Ch] (computeTables): const correctness
3543 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3544 fill_hfill, fill_label_hfill and x from Row
3545 * lyxtext.h: prepareToPrint returns a RowMetrics
3546 * rowPainter.C: adjust
3547 * text.C (prepareToPrint): use width, not textWidth. adjust
3548 (redoParagraphInternal, cursorX): adjust
3549 * text2.C (getColumnNearX): adjust
3550 (init): put a default value to the top LyXText::width
3552 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3554 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3556 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3558 * lyxtext.h: add FontIterator class
3560 * text.C (FontIterator, operator*, operator->, operator++): add
3561 (rowBreakPoint, setRowWidth): adjust (fixing a
3564 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3566 * BufferView_pimpl.C (workAreaDispatch): allow also
3567 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3569 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3571 * text.C (rowBreakPoint): fix a bug showing with very large insets
3573 2004-02-25 André Pönitz <poenitz@gmx.net>
3576 * cursor.[Ch]: move some mathed specific code to mathed
3578 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3580 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3581 use_tempdir in preferences
3582 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3584 * lyx_main.C: ensure that tempdir is valid
3585 * lyxlex.h: correct typo
3586 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3587 * paragraph.[Ch] (isMultiLingual): make const
3588 * cursor.[Ch] (openable): make const
3590 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3592 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3594 2004-02-20 André Pönitz <poenitz@gmx.net>
3596 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3598 * cursor.[Ch]: prepare for localized getStatus()
3604 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3606 2004-02-20 André Pönitz <poenitz@gmx.net>
3608 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3610 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3612 * text2.C (setCursorFromCoordinates): switch to absolute coords
3614 (cursorDown): adjust
3615 * text3.C (dispatch): adjust
3617 2004-02-16 André Pönitz <poenitz@gmx.net>
3619 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3622 * cursor_slice.[Ch]: remove unneeded acessor function
3624 * lyxtext.h: rename rtl() to isRTL()
3632 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3634 * rowpainter.C (paintSelection): coord fix
3636 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3638 * Spacing.C: compile fix
3640 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3642 * cursor.C (dispatch): restore current_ before returning
3644 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3646 * text2.C (cursorUp, cursorDown): fix coords
3649 2004-02-12 André Pönitz <poenitz@gmx.net>
3654 * text3.C: add LCursor & parameter to most cursor movement functions
3655 remove usage of LyXText::cursorRow() and cursorPar()
3657 * cursor.[Ch]: add textRow() needed members
3660 * BufferView_pimpl.C:
3663 * BufferView_pimpl.C: adjust
3665 2004-02-11 André Pönitz <poenitz@gmx.net>
3669 * BufferView_pimpl.C: shift undo/redo handling
3671 * cursor.[Ch]: fix mathed crash
3674 * lyxtext.h: move selectionAsText to LCursor
3682 * rowpainter.C: fix excessive drawing
3684 2004-02-06 André Pönitz <poenitz@gmx.net>
3687 * BufferView_pimpl.[Ch]:
3688 * text3.C: move some text specific LFUN handling
3690 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3692 * text3.C (checkInsetHit): adjust coords
3693 * text2.C (getColumnNearX): adjust coords
3694 (edit): adjust coords
3695 * text.C (getRowNearY): add two asserts
3697 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3700 * format.C: add using std::distance to compile on gcc 2.95/stlport
3702 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3704 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3706 2004-02-04 André Pönitz <poenitz@gmx.net>
3708 * BufferView.[Ch] (insertInset):
3709 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3714 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3716 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3717 on the default clause of the switch
3718 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3719 wasn't catched by LCursor::dispatch
3721 2004-02-03 André Pönitz <poenitz@gmx.net>
3724 * cursor.[Ch]: some additional asserts
3726 * undo.[Ch]: remove LyXText dependency in interface
3730 * lyxtext.h (firstPar, lastPar): remove dead functions
3735 * paragraph.[Ch]: adjust
3737 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3739 * lyxfind.C (find): fix argument order in call to ::find
3741 2004-02-02 André Pönitz <poenitz@gmx.net>
3743 * cursor.[Ch]: remove direct access to anchor
3745 * text.C: remove findText() hack
3747 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3749 * iterators.[Ch] (lockPath): remove in favour of...
3750 * BufferView.[Ch] (setCursor): this addition
3751 * BufferView.C (putSelectionAt): adjust
3752 * undo.C (performUndoOrRedo): adjust
3753 * lyxfunc.C (dispatch): adjust
3755 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3757 * iterators.C (lockPath): add a missing slice
3758 * undo.C (performUndoOrRedo): remove redundant positioning code
3760 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * vc-backend.C (scanMaster): ";" -> ';'
3764 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3767 std::binary_function
3769 * lyxtextclass.C (compare_name): rename to...
3770 (LayoutNamesEqual): ...this
3772 * lyxlex_pimpl.C (compare_tags): inherit from
3773 std::binary_function, put back into anon namespace
3775 * lyxfind.C (MatchString): inherig from std::binary_function
3776 (findChange): use empty() istead of !size()
3778 * format.C (FormatNamesEqual): new functor
3785 * converter.C (compare_Converter): rename to...
3786 (ConverterEqual): ...this, and fixup a bit.
3787 (getConverter): use it, and make function const
3788 (getNumber): use it, and make function const
3792 * bufferlist.C: add using boost::bind
3794 * MenuBackend.C (MenuNamesEqual): new functor
3795 (hasMenu): use it, and make function const
3796 (hasSubmenu): use nested bind to get rid of compare_memfun.
3798 2004-01-30 André Pönitz <poenitz@gmx.net>
3800 * BufferView_pimpl.C:
3803 * cursor_slice.[Ch]:
3806 * paragraph_funcs.C:
3807 * paragraph_funcs.h:
3811 * text3.C: move some of the edit(x,y) handling to the insets
3812 some coordinate changes.
3814 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3816 * text.C: add using statements for std::advance and std::distance
3818 * paragraph.C: add using statement for std::distance
3820 * lyxfind.C: add using statement for std::advance
3822 * cursor.C (region): remove std:: from swap
3823 (openable): use nucleus in stead of operator->
3825 * BufferView.C: add using statements for std::distance and std::swap
3827 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * iterators.C: Remove the pimple, move the needed structures to
3830 the header file. Create accessor for the positions stack.
3831 (asPosIterator): remove function
3833 * PosIterator.C (PosIterator): move constructors to top of file
3834 (PosIterator): reimplement the constructor taking a ParIterator in
3836 (setFrom): new function
3837 (operator!=): inline it
3839 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3841 * lyxfind.C (replaceAll): use std::advance
3843 * iterators.h: inherit from std::iterator.
3845 * PosIterator.C (advance, distance): remove
3846 * PosIterator.h: interit from std::iterator.
3848 2004-01-26 André Pönitz <poenitz@gmx.net>
3851 * BufferView_pimpl.[Ch]:
3855 * bufferview_funcs.C:
3865 * output_linuxdoc.C:
3866 * output_plaintext.C:
3868 * paragraph_funcs.[Ch]:
3869 * paragraph_pimpl.[Ch]:
3875 * text3.C: more IU: dumps most of the rest of the mathcursor
3876 implementation into cursor.[Ch]; "globalize" a bit of it.
3878 2004-01-25 Angus Leeming <leeming@lyx.org>
3880 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3882 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3884 * LaTeXFeatures.h: add nice_ and nice() const
3885 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3887 2004-01-20 André Pönitz <poenitz@gmx.net>
3890 * BufferView_pimpl.C:
3892 * bufferview_funcs.C:
3894 * cursor_slice.[Ch]:
3905 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3906 LCursor and mathcursor parts to LCursor and InsetBase.
3908 2004-01-15 André Pönitz <poenitz@gmx.net>
3910 * cursor_slice.[Ch]: add a few covienience functions
3912 * funcrequest.[Ch]: remove BufferView * member
3914 * BufferView_pimpl.C:
3921 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3923 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3925 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3926 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3928 2004-01-13 André Pönitz <poenitz@gmx.net>
3931 * lyxtext.h: hide cursor and selection anchor behind accessor function
3934 * BufferView_pimpl.[Ch]:
3936 * bufferview_funcs.C:
3946 * cursor_slice.[Ch]: some integer type changes for inset unification
3948 * lyxcursor.[hC]: remove, it's CursorSlice now.
3951 * BufferView_pimpl.[Ch]:
3952 * bufferview_funcs.C:
3958 * textcursor.[Ch]: adjust
3960 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3962 * text2.C (undoSpan): add and use
3963 * text.C (breakParagraph): use undoSpan (fix bug 578)
3966 2004-01-08 Angus Leeming <leeming@lyx.org>
3968 * BufferView_pimpl.C (MenuInsertLyXFile):
3969 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3970 * lyxfunc.C (menuNew, open, doImport):
3971 FileFilterList change to the FileDialog open and save functions.
3973 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3975 * ShareContainer.h: make isEqual and isUnique adaptable
3977 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3979 2004-01-07 Angus Leeming <leeming@lyx.org>
3982 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3984 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3986 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3987 functions replacing find, replace and replaceAll.
3989 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3990 LFUN_WORDFIND(FORWARD|BACKWARD).
3992 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3994 * text.C (breakParagraph): remove an outdated #warning
3996 2004-01-07 André Pönitz <poenitz@gmx.net>
3998 * lyxfind.C: somewhat clearer logic
4000 * text.C: prevent crash in cursorX on unitialized row cache
4002 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4004 * lyxcursor.[Ch] (operator>): add
4005 * textcursor.C (selStart, selEnd): use std::min and std::max
4007 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4009 * Chktex.C: include boost/format.hpp
4011 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4013 * InsetList.C: replace functor MathcIt with adaptable functor
4015 (insetIterator): modify accordingly
4017 * BranchList.h: move the BranchNamesEqual functor here from...
4018 * BranchList.C: ... to here
4020 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4022 (add): replace a finding loop with std::find_if.
4024 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4026 * output_docbook.C: moving LatexParam functionality into
4029 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4031 * buffer.C: increment format to 229.
4033 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4036 * lyx_sty.[Ch]: remove minipageindent_def
4042 * text3.C: remove LFUN_INSET_MINIPAGE
4044 2003-12-28 Angus Leeming <leeming@lyx.org>
4046 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4048 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4050 * text2.C (setParagraph): fix off-by-one crash
4052 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4054 * output_docbook.C: header stuff for AGU
4056 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4058 * text2.C (redoCursor): remove
4061 * BufferView_pimpl.C: remove calls to redoCursor and
4062 setCursor(cursor.par(), cursor.pos()) all around
4064 2003-12-15 Angus Leeming <leeming@lyx.org>
4066 * buffer.C: up the format to 228.
4068 2003-12-15 André Pönitz <poenitz@gmx.net>
4070 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4075 * BufferView_pimpl.C:
4084 2003-12-15 Angus Leeming <leeming@lyx.org>
4086 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4087 than getFromGUIName to manipulate the color.
4089 2003-12-14 Angus Leeming <leeming@lyx.org>
4091 * BranchList.[Ch]: minimize the API.
4092 (Branch::getBranch, getColor): now return a 'const &'.
4093 (Branch::setSelected) now returns a bool set to true if the
4094 selection status changes.
4095 (BranchList::clear, size, getColor, setColor, setSelected,
4096 allBranches, allSelected, separator): removed.
4097 (BranchList::find): new functions, returning the Branch with
4099 (BranchList::add, remove): return a bool indicating that
4100 the operation was successful.
4102 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4103 new InsetBranch::isBranchSlected member function.
4105 * LColor.[Ch]: mimimize the API.
4106 (fill): renamed as addColor and made private.
4107 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4108 versions of these functions taking a string arg have been removed.
4110 * bufferparams.C (readToken):
4111 * lyxfunc.C (dispatch):
4112 * lyxrc.C (read): changes due to the altered BranchList and
4115 * factory.C (createInset, readInset): changes due to altered
4118 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4121 * lyxfunc.C: remove insetminipage. "minipage-insert"
4122 now produces a frameless minipage box inset.
4124 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4126 * textcursor.[Ch] (selStart,selEnd): add new methods
4127 remove selection::start, end, use LyXCursor::operator<
4128 * lyxcursor.[Ch] (operator<): add
4129 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4130 * BufferView.[Ch] (unsetXSel): add
4131 * text2.C (clearSelection): use unsetXSel,adjust
4134 * rowpainter.C: adjust
4135 * bufferview_funcs.C (put_selection_at): adjust
4137 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4139 * BufferView_pimpl.C: small coord. correction
4141 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4143 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4144 dragging over the splash screen.
4146 2003-12-11 Angus Leeming <leeming@lyx.org>
4148 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4149 as it is now handled in LyXText::dispatch.
4151 * text3.C (doInsertInset): remove a level of nesting.
4153 2003-12-11 Angus Leeming <leeming@lyx.org>
4155 * factory.C (createInset): changes due to the changed interface to
4156 InsetCommandMailer::string2params.
4158 2003-12-10 Angus Leeming <leeming@lyx.org>
4160 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4161 'dialog-show-new-inset <inset name>'
4163 2003-12-10 Angus Leeming <leeming@lyx.org>
4165 * buffer.C: up the format to 227.
4167 * factory.C: the box inset is now identified simply by 'Box'.
4169 2003-12-10 Angus Leeming <leeming@lyx.org>
4171 * buffer.C: up the format to 226.
4173 * factory.C: the note inset is now identified simply by 'Note'.
4175 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4177 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4178 when a pit is enough. Standarize a couple of loops.
4180 2003-12-05 Angus Leeming <leeming@lyx.org>
4182 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4183 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4184 data to the re-worked "log" dialog.
4186 2003-12-03 André Pönitz <poenitz@gmx.net>
4192 * paragraph_funcs.C:
4194 * text2.C: use Inset::getText instead of Inset::getParagraph
4196 2003-12-03 André Pönitz <poenitz@gmx.net>
4200 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4201 InsetText::read() as LyXText::read()
4203 2003-12-02 Angus Leeming <leeming@lyx.org>
4205 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4206 type. Add a comment in the implementation that the function uses
4207 the stream's bad() function rather than fail() as the std::streams
4210 2003-12-02 André Pönitz <poenitz@gmx.net>
4212 * lyxlex.[Ch]: make interface more similar to std::stream
4214 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4216 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4218 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4220 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4222 * vspace.[Ch]: remove VSpace::NONE
4224 2003-12-01 André Pönitz <poenitz@gmx.net>
4227 * lyxtext.h: move ParagraphList member to LyXText
4228 rename LyXText::ownerParagraphs to LyXText::paragraph
4231 * bufferview_funcs.C:
4241 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4243 * undo.C: fix cursor positioning
4245 2003-12-01 John Levon <levon@movementarian.org>
4247 * BufferView_pimpl.C: fix a crash on exit with
4250 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4252 * BranchList.C: fix setSelected() method.
4254 2003-11-28 André Pönitz <poenitz@gmx.net>
4256 * ParagraphParameters.[Ch]:
4257 * ParameterStruct.h: remove space above/below from Paragraph to
4260 * BufferView_pimpl.C:
4266 * paragraph_funcs.C:
4272 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4274 * factory.C: Syntax change for CharStyles
4276 2003-11-28 André Pönitz <poenitz@gmx.net>
4281 * buffer.[Ch]: move LyXText member
4283 2003-11-28 André Pönitz <poenitz@gmx.net>
4285 * BufferView.[Ch]: make LyXText * text a private member
4287 * BufferView_pimpl.C:
4298 * output_plaintext.C: cleanup
4300 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4303 * lyxtextclass.[Ch]: parametrize SGML document header
4305 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4308 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4311 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4313 * text2.C (setFont): rework using PosIterator (no more recursive)
4314 (setCharFont): no more needed
4315 (setLayout): no more selection cursors fiddling (done by redoCursor)
4316 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4317 destroy remaining ones)
4319 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4321 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4323 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4326 * text3.C: adjust + re-allow multi par depth changes
4327 * textcursor.C: simplify a bit
4329 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4335 * src/output_docbook.C:
4336 * src/output_latex.C:
4341 * src/text2.C: Introducing a number of tags parametrizing various
4342 XML formats that we may want to support
4344 2003-11-25 André Pönitz <poenitz@gmx.net>
4346 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4348 * lyxtext.h (leftMargin/rightMargin): simplify interface
4355 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4357 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4358 master file to any child files. Fixes bug 546.
4360 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4362 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4364 2003-11-24 André Pönitz <poenitz@gmx.net>
4366 * rowpainter.C: simplification
4368 * text2.C (updateCounters): remove call to redoParagraph on
4369 changed labels as this is far too expensive.
4371 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4373 * converter.C (convert): fix a crash: this function gets
4374 called with buffer == 0 from importer code.
4376 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * text3.C (cursorPrevious): make sure that we do not compare
4379 iterators form different containers.
4382 * rowpainter.C (paintSelection): make sure that we do not compare
4383 iterators from different containers.
4385 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4386 iterators from different ParagraphList containers.
4389 * text2.C (LyXText): change order of initialization slightly
4390 (operator=): new function. copy all variables except cache_par_
4391 (moveUp): make sure that we do not compare iterators from
4392 different ParagraphList constainers.
4395 * text.C (firstPar): new function
4396 (lastPar): new function
4397 (endPar): new function
4399 * lyxtext.h: move things around and group public functions, public
4400 variables, private functions, private variables
4402 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4404 * factory.C: change call to InsetERT constructor to avoid
4405 additional invocation of method status
4406 * text2.C (toggleInset): remove redundant update() call
4407 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4408 instead of a Bufferview pointer
4410 2003-11-21 André Pönitz <poenitz@gmx.net>
4412 * rowpainter.C: simplification
4414 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4416 * text3.C (dispatch): make possible to extend a word/row selection
4419 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4421 * lyxtext.h: x0_,y0_ -> xo_,yo_
4422 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4423 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4424 * rowpainter.C (paintRows): paint full paragraphs
4426 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4428 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4431 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4433 * lyxtext.h: add x0_, y0_
4434 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4435 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4437 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4439 * text2.C (setCursorIntern): move the x_target update here *
4440 * text3.C: change some bv() to true/false in calls to
4441 cursorUp/Down/Right/Left
4442 * cursor.C: use helper function.
4444 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4446 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4447 * paragraph_funcs.[Ch]: correct comment
4448 * rowpainter.C: do not paint selections away from bv->cursor()
4449 Fix a long standing selection painting bug.
4450 * text3.C: generalize mouse-selection code to LyXTexts other that
4452 * textcursor.C: do not use y coords if we can use par offsets
4454 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4456 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4457 cursor position after e.g. inset insert)
4459 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4461 * lyxfind.C (replace): adjust to locking removal + some
4464 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4466 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4469 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4472 * output_docbook.C: XML sanitation: new layout
4473 parameters InnerTag and CommandDepth
4475 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4477 * BufferView_pimpl.C:
4479 * text3.C: Fix the insertion and modification of button-style
4482 2003-11-13 André Pönitz <poenitz@gmx.net>
4484 * InsetList.[Ch]: remove deleteLyXText
4486 * paragraph.[Ch]: cache beginOfBody position
4491 * text3.C: remove superfluous update() calls
4495 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4497 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4498 * BufferView.C (fitLockedInsetCursor): remove
4499 * cursor.[Ch] (getDim): add
4500 * text.C (getRowNearY): add faster version
4501 * text3.C: remove some update calls
4503 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4515 * text3.C: The Character Style /XML short element patch.
4517 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4520 * factory.C: Small step to solving 'unable to insert some insets'
4523 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4525 * cursor.[Ch] (updatePos): new function for updating the y
4526 position of the tip inset
4527 * bufferview_funcs.C (put_selection_at):
4528 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4530 2003-11-11 André Pönitz <poenitz@gmx.net>
4532 * text.C: remove big comment on invalid Paragraph pointers as it is
4535 2003-11-11 André Pönitz <poenitz@gmx.net>
4537 * text_funcs.[Ch]: merge with ...
4545 * Makefile.am: remove text_funcs.[Ch]
4547 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4549 * cursor.C (getPos): return absolute cached y coord
4551 * BufferView_pimpl.C (fitCursor): new simplistic code
4552 (workAreaDispatch): add a fitCursor call
4554 2003-11-10 André Pönitz <poenitz@gmx.net>
4557 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4559 2003-11-10 André Pönitz <poenitz@gmx.net>
4561 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4562 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4563 indicate that the cursor needs to leave an inset
4565 * lyxtext.h: remove inset locking
4567 * cursor.[Ch]: re-implement functionality provided by inset locking
4570 * BufferView_pimpl.[Ch]:
4572 * bufferview_funcs.[Ch]:
4584 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4586 * PosIterator.[Ch]: replace the stack with a vector, add inset
4588 * iterators.[C]: adjust
4590 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4592 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4594 * paragraph_funcs.C (readParToken): put the correct id in the
4595 error item, not the id of the top paragraph
4597 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4599 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4600 * bufferview_funcs.C (put_selection_at): use the above
4602 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4604 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4606 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4608 * output_linuxdoc.h:
4609 * output_plaintext.h:
4611 * output_docbook.h: add #include statements
4613 2003-11-05 José Matos <jamatos@lyx.org>
4615 * output_docbook.[Ch]:
4616 * output_latex.[Ch]:
4617 * output_linuxdoc.[Ch]:
4618 * output_plaintext.[Ch]: New files for output formats.
4619 * output.[Ch]: New file for helper functions.
4622 * paragraph_funcs.[Ch]: output functions moved to new files.
4624 * outputparams.h: rename of latexrunparams.h
4632 * paragraph_funcs.[Ch]:
4633 * paragraph_pimpl.[Ch]:
4634 * tabular.[Ch]: rename ascii to plaintext
4635 and LatexRunParams to OutputParams.
4637 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4639 * iterators.[Ch] (text): require bv argument
4640 * undo.C (recordUndo):
4641 * lyxfunc.C (dispatch):
4642 * bufferview_funcs.C (put_selection_at): adjust
4644 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4646 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4648 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4650 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4653 2003-11-04 André Pönitz <poenitz@gmx.net>
4655 * cursor.[Ch]: restructure
4658 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4660 * iterators.[Ch] (asCursor): remove
4662 * lfuns.h: remove LFUN_INSET_EDIT
4668 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4670 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4672 * lyxfind.[Ch]: complete overhaul
4673 * BufferView_pimpl.C:
4675 * paragraph.[Ch] (insert): add
4677 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4681 * text.C: remove dead spellcheck code
4683 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * dispatchresult.h: add a val setter
4687 * cursor.C (dispatch): use a tempvar for data_[i]
4689 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4691 * PosIterator.[Ch]: compile fix
4693 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4695 * text.C (cursorPar): deactivate the cursor cache
4697 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4699 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4701 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * text3.C (dispatch): adjust for new DisptchResult semantics.
4705 * lyxfunc.C (dispatch): handle update when return from
4706 Cursor::dispatch, adjust for new DispatchResult semantics.
4708 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4709 DispatchResult(true) mean to not update. Add class functions for
4710 setting dispatched and update, as well as reading.
4712 * cursor.C (dispatch): don't handle update here
4714 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4717 * trans_mgr.C: adjust
4719 * paragraph_funcs.C (readParToken): exception safety
4721 * lyxvc.h: store the vcs pointer in a scoped_ptr
4724 * lyxsocket.C (serverCallback): exception safety
4726 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4728 * ispell.C (clone): make it return a auto_ptr
4730 * factory.C (createInset): exception safety
4731 (readInset): exception safety
4733 * bufferlist.C (newBuffer): exception safety
4735 * Thesaurus.C (Thesaurus): use initialization for aik_
4737 * MenuBackend.C (expandToc): exception safety.
4739 2003-11-03 André Pönitz <poenitz@gmx.net>
4743 * bufferview_funcs.C: remove getInsetFromId()
4746 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4752 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4754 * PosIterator.C (distance, advance): new
4755 * bufferview_funcs.[Ch] (put_selection_at): new
4756 * iterators.[Ch] (lockPath): new
4758 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4760 * iterators.[Ch] (asPosIterator): added
4761 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4762 * PosIterator.[Ch]: added
4764 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4768 * cursor.C (dispatch):
4769 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4771 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4772 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4773 contructor, add a class function dispatched. Remove operator>=
4775 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * debug.C: only use the default constructor for debugstream
4780 * main.C (main): include debug.h and setup the lyxerr streambuf
4783 2003-10-31 José Matos <jamatos@lyx.org>
4785 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4787 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4788 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4789 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4790 * paragraph_pimpl.C (simpleTeXSpecialC):
4791 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4792 add LatexRunParams argument.
4794 * exporter.C (Export): change call accordingly.
4796 * latexrunparams.h: add new member to take care of the other backends.
4797 2003-10-30 José Matos <jamatos@lyx.org>
4799 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4800 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4801 factorise code for paragraph output.
4803 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4806 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * text3.C (dispatch):
4809 * lyxfunc.C (dispatch):
4810 * cursor.C (dispatch):
4811 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4813 * dispatchresult.h: make the dispatch_result_t ctor explicit
4815 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4818 * buffer.C: small refactoring of docbook stuff
4820 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4825 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4827 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4828 operator dispatch_result_t, and operators for == != and >=
4830 * cursor.C (dispatch): adjust for operator dispatch_result_t
4831 removal. comment out call to update
4833 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4835 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4843 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4846 * dispatchresult.h: new file, DispatchResult broken out of
4849 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4851 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4853 * text.C (rowBreakPoint): put a hack inside #if 0
4855 2003-10-28 André Pönitz <poenitz@gmx.net>
4859 * paragraph_funcs.C:
4862 * text2.C: general cleanup (lots of small stuff)
4864 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4866 * text2.C (cursorEnd): simple fix to the "end key goes to one
4867 before the end on last row" bug
4869 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4871 * text.C (backspace): fix the "zombie characters"
4873 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4875 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4877 2003-10-27 André Pönitz <poenitz@gmx.net>
4879 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4881 * factory.C: handle new InsetPagebreak, InsetLine
4883 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4884 and move handling into new InsetPagebreak, InsetLine
4886 * BufferView_pimpl.C:
4888 * ParagraphParameters.C:
4889 * ParameterStruct.h:
4894 * paragraph_funcs.C:
4895 * paragraph_pimpl.C:
4901 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4904 * lyxrow_funcs.[Ch]:
4910 * text3.C: remove lastPos uses in favour of Row::endpos
4912 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4914 * undo.C (performUndoOrRedo): fix two crashes by setting a
4915 cursor by hand and reordering some calls. Use bv->lockInset instead
4916 of inset->edit because the latter loses cursor information
4918 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4920 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4922 (rowBreakPoint): fix width. change point to point + 1.
4923 Add a missing check.
4925 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4928 * lyxfunc.C: fix (at least partly) the problems
4929 with the Nav menu and headers inside branch insets
4932 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4934 * paragraph.C (getChar): add strong asserts
4936 * lyxrow_funcs.C (lastPos): remove hideous hack
4938 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4939 (fill): adjust to that (avoid an infinite loop)
4941 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4943 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4945 2003-10-23 André Pönitz <poenitz@gmx.net>
4947 * RowList_fwd.h: change list<> to vector<> to gain speed
4948 after suggestion from Alfredo
4950 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4952 * lyxtext.h: move the bidi stuff from here...
4955 * Bidi.[Ch]: ... to here
4957 2003-10-23 André Pönitz <poenitz@gmx.net>
4960 * text.C (isLastRow, isFirstRow): new functions
4962 * paragraph.h: new width cache member
4964 * rowpainter.C: replace RowList::iterator with Row & where possible
4966 * lyxfunc.C: replace several view()->text with a single call
4968 * toc.C: fix 'unused' warning
4970 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4972 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4973 when woring with stream::pos_type
4974 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4976 2003-10-22 André Pönitz <poenitz@gmx.net>
4979 * text.C: use Row & instead of RowList::iterator
4981 * lyxrow.h: rename end() to endpos()
4987 2003-10-22 Angus Leeming <leeming@lyx.org>
4989 * buffer.[Ch] (fully_loaded): new member function, returning true
4990 only when the file has been loaded fully.
4991 Used to prevent the premature generation of previews and by the
4992 citation inset to prevent computation of the natbib-style label.
4994 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4995 templates are all set up.
4997 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4999 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5001 * text.C: fixed an "oops" in the "is a bit silly"
5004 2003-10-21 André Pönitz <poenitz@gmx.net>
5006 * FuncStatus.[Ch]: small stuff, whitespace
5008 * lyxfont.[Ch]: operator<<() for debug reasons
5012 * lyxtext.h: whitespace, spelling
5014 * paragraph.C: naming of variables
5017 * text2.C: small stuff
5020 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5022 * text.C: (1) finish off the inset display() work;
5023 (2) fix the "is a bit silly" bug (accessing char
5026 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5028 * text.C: re-introduce display() for insets, fixing the
5029 various bugs (stretch of line above, math inset
5032 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5034 * text.C (rightMargin): remove spurious semicolon
5036 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5039 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5041 * text3.C: fix one crash due to wrong cursor def
5043 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5045 * vc-backend.C (scanMaster): make the regex static
5047 * LaTeX.C (scanAuxFile): make the regexs static
5049 * text3.C (doInsertInset, dispatch, dispatch):
5050 * text2.C (cursorUp, cursorDown):
5051 * text.C (selectNextWordToSpellcheck):
5052 * BufferView_pimpl.C (dispatch):
5053 * lyxfunc.C (dispatch): localDispatch -> dispatch
5055 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5057 * lyxsocket.C: include <cerrno>
5059 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5061 * lyxfunc.C (dispatch): remove textcache stuff
5063 * bufferlist.C (release): remove textcache stuff
5066 * TextCache.C: delete file
5067 * TextCache.h: delete file
5069 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5071 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5072 delete of the bv_->text.
5073 (resizeCurrentBuffer): remove texcache stuff
5074 (workAreaResize): ditto
5076 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5078 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5081 2003-10-16 André Pönitz <poenitz@gmx.net>
5088 * text3.C: speed up by storing y positions per paragraph plus per-row
5089 offset instead of having a 'full' y position in the row.
5091 2003-10-15 André Pönitz <poenitz@gmx.net>
5095 * undo.[Ch]: make undo aware of inner insets
5097 2003-10-14 Angus Leeming <leeming@lyx.org>
5099 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5100 static member functions LyX::ref() and LyX::cref.
5101 (lastfiles): new accessor functions for the new lastfiles_ member var.
5102 (addLyXView, views_): add a new LyXView to the list of views_.
5103 (updateInset): loop over all LyXViews to call their own updateInset
5104 member function, returning a pointer to the Buffer owning the inset.
5106 * BufferView_pimpl.C (loadLyXFile):
5107 * MenuBackend.C (expandLastfiles):
5108 * bufferlist.C (MenuWrite, QuitLyX):
5109 lastfiles is no longer a global variable.
5110 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5112 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5113 static function. Access through LyX::cref().emergencyCleanup().
5115 2003-10-14 André Pönitz <poenitz@gmx.net>
5117 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5119 * undo.[Ch]: restoring part of 'undo in insets'
5122 * undo_funcs.[Ch]: merge with undo.[Ch]
5124 * tabular.C: small cleansing stuff
5126 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5128 * paragraph_funcs.C (readParToken): report unknown insets as error
5129 boxes. Use the outer paragraph as location (also for unknown
5132 * factory.C (readInset): do not abort on reading an unknown inset.
5133 Eat it and return 0.
5135 2003-10-13 Angus Leeming <leeming@lyx.org>
5137 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5139 * lyxrc.C: displayTranslator is now a function,
5140 declared in GraphicsTypes.h.
5142 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5144 * format.C: new placeholder $$a to pass the socket address.
5146 * bufferlist.[Ch]: new function getBufferFromTmp.
5148 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5149 files in the temporary dir.
5151 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5153 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5155 * Makefile.am: add lyxsocket.[Ch].
5157 * lyx_main.C (error_handler): handle SIGPIPE.
5159 2003-10-13 André Pönitz <poenitz@gmx.net>
5161 * BufferView_pimpl.C:
5166 * undo_funcs.[Ch]: use paroffset_type instead of
5167 ParagraphList::iterators to prevent multiple conversion
5168 (and get a more robust interface)
5170 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5172 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5174 * text3.C (dispatch): ditto
5176 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5178 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5179 move the onlyfile, use onlyfile instead of foundfile in a couple
5182 * DepTable.C (update): flush the error stream a bit more
5184 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5186 * lyxserver.C (callback): adjust
5188 * lyxfunc.C (getStatus): add a missing brace in commented code
5189 (ensureBufferClean): reindent
5190 (dispatch): delete version taking a string
5192 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * LaTeX.C (deplog): move found file handlig from here...
5195 (handleFoundFile): .. to new function here.
5196 (deplog): make sure to discover several files mentioned on the
5199 2003-10-10 André Pönitz <poenitz@gmx.net>
5206 * text3.C: fix some of the tabular crashes
5208 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5210 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5212 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5214 2003-10-09 André Pönitz <poenitz@gmx.net>
5216 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5219 * BufferView_pimpl.C:
5220 * bufferview_funcs.C:
5231 * undo_funcs.C: adjust
5233 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5235 * text2.C (incrementItemDepth): new function, use a backtracking
5236 algorithm to discover the correct item depth.
5237 (resetEnumCounterIfNeeded): new function, use a backtracking
5238 algorithm to discover if counter reset is needed.
5239 (setCounter): use them. Simplify a bit. Add different labels for
5240 different item depths for itemize.
5242 * paragraph.C (Paragraph): remove initialization of enumdepth
5245 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5246 enumerate and itemize. Change the type of itemdepth to signed char.
5248 2003-10-08 André Pönitz <poenitz@gmx.net>
5250 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5255 * tabular.[Ch]: fix crash after 'row-insert'
5257 2003-10-08 Angus Leeming <leeming@lyx.org>
5259 Fix doxygen warnings.
5261 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5262 Remove CutAndPaste:: prefix from header file declaration.
5264 * LColor.h (fill): remove LColor:: prefix from declaration.
5266 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5267 use lyx::depth_type rather than Paragraph::depth_type so that
5268 header file and .C file match.
5270 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5272 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5273 * aspell.C: \file aspell_local.C -> \file aspell.C
5274 * gettext.C: \file gettext.C -> \file src/gettext.C
5275 * gettext.h: \file gettext.h -> \file src/gettext.h
5276 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5277 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5278 * text.C: \file text.C -> \file src/text.C
5280 * toc.C: move comment so that doxygen is not confused.
5282 2003-10-07 Angus Leeming <leeming@lyx.org>
5284 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5286 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5289 * aspell_local.h: add forgotten std::string's.
5291 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5298 * text3.C: The Box patch. Fancybox support, minipage, parbox
5300 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5306 * ParagraphParameters.h:
5316 * lyxtextclasslist.h:
5319 * paragraph_pimpl.C:
5320 * textcursor.h: add <string> and other small fixes to make Lars'
5321 std::string patch compile with STLport.
5323 2003-10-06 Angus Leeming <leeming@lyx.org>
5325 * LColor.h: Add missing #include <string>.
5327 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * All most all file in all subdirs: Make <string> be the prefered
5330 way of getting to std::string, add using declarations.
5332 2003-10-06 André Pönitz <poenitz@gmx.net>
5334 * metricsinfo.C: initialize LyXFont before changing attribute.
5335 (fixes the 'math in \emph is upright' bug)
5337 2003-10-06 André Pönitz <poenitz@gmx.net>
5339 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5341 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5344 * paragraph_pimpl.C: Small fixes to build using STLport
5346 2003-10-02 André Pönitz <poenitz@gmx.net>
5349 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5351 2003-10-01 André Pönitz <poenitz@gmx.net>
5353 * factory.C: assert early
5355 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * lyx_main.C: remove the global debug object
5359 * debug.h: adjust for new debugstream
5361 * debug.C: adjust for new debugstream and keep the global debug
5364 2003-09-22 Angus Leeming <leeming@lyx.org>
5366 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5367 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5368 an incomplete class LyXFont.
5370 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5372 * factory.C: bug fix in branches
5374 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5376 * lyxfunc.C (processKeySym): adjust
5378 (dispatch): change arg name from ev to func, adjust
5379 (sendDispatchMessage): ditto
5381 * lyx_main.C (defaultKeyBindings): adjust keybindings
5382 (deadKeyBindings): ditto
5384 * kbsequence.C (addkey): return a FuncRequest
5386 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5388 * kbmap.C (bind): take a FuncRequest as arg, adjust
5391 (defkey): change to take a FuncRequest as arg, adjust
5392 (findbinding): take a FuncRequest as arg, adjust.
5394 * funcrequest.h (operator=): added
5396 * funcrequest.C (FuncRequest): default kb_action changed from
5397 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5399 * buffer.C (dispatch): simplify
5400 (dispatch): adjust to take a FuncRequest as arg, adjust
5402 * boost.C (assertion_failed): change assertion message slightly
5404 * ToolbarBackend.C (read): simplify
5406 * MenuBackend.C (binding): adjust call to findbinding, add a
5407 message if no binding is found.
5409 (expandToc): correct by adding a empty FuncRequest
5411 * LyXAction.C: include <boost/assert.hpp>
5412 (isPseudoAction): delete function
5413 (LookupFunc): change name to...
5414 (lookupFunc): this. change return type to FuncRequest.
5415 (getActionName): take kb_action as arg, simplify
5416 (funcHasFlag): add an assert, simplify.
5418 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5420 * toc.C (action): return a FuncRequest, simplify
5422 * lyxfunc.C (processKeySym): adjust
5423 (getStatus): delete version that takes an int.
5425 (dispatch): delete version that takes action as int
5427 (sendDispatchMessage): simplify and adjust
5429 * funcrequest.C (getArg): take unsigned int as arg
5431 * ToolbarBackend.C (read): adjust
5432 (add): delete version that takes func as a string.
5433 (getIton): take a FuncRequest as arg
5435 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5438 * MenuBackend.C (MenuItem): add a new construct that only takes a
5439 Kind, simplify the constructor use for submenus.
5441 (expandLastfiles): adjust
5442 (expandDocuments): adjust
5443 (expandFormats): adjust
5444 (expandFloatListInsert): adjust
5445 (expandFloatInsert): adjust
5446 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5448 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5449 Remove class variables lyx_pseudo_map and lyx_arg_map
5451 * LyXAction.C (searchActionArg): delete function
5452 (getPseudoAction): delete function
5453 (retrieveActionArg): delete function
5454 (LookupFunc): make it return kb_action, simplify.
5455 (getActionName): simplify
5457 * factory.C (createInset): fix new bug
5459 2003-09-19 Angus Leeming <leeming@lyx.org>
5461 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5462 masterFilename_ parameter in the include inset.
5464 * factory.C (createInset): changes due to the changes to InsetInclude.
5466 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5468 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5470 2003-09-18 Angus Leeming <leeming@lyx.org>
5473 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5474 Inset::fillWithBibKeys.
5475 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5477 2003-09-18 Angus Leeming <leeming@lyx.org>
5479 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5481 (ctor): pass and store a 'Buffer const &'
5482 (buffer): new member function.
5484 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5485 '*this' to the LaTeXFeatures ctor.
5487 2003-09-18 Angus Leeming <leeming@lyx.org>
5493 * text.C: rename EnumLColor as LColor_color.
5495 2003-09-18 Angus Leeming <leeming@lyx.org>
5497 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5498 remove #include "insets/insetbase.h" from cursor.h.
5500 2003-09-18 Angus Leeming <leeming@lyx.org>
5502 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5503 InsetOld_code to remove #include "inset.h".
5505 * iterators.C: add #include "insets/inset.h"
5507 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5509 * BufferView.C: remove more locking stuff that apparently doesn't
5510 do anything sensible.
5512 2003-09-16 André Pönitz <poenitz@gmx.net>
5515 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5518 2003-09-16 Angus Leeming <leeming@lyx.org>
5520 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5522 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5525 * paragraph.h: remove #include "lyxfont.h". Forward declare
5528 2003-09-16 Angus Leeming <leeming@lyx.org>
5530 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5531 of support/textutils.h.
5532 (isWord): move the contents of support/textutils.h's IsWordChar here.
5538 * text2.C: add #include "paragraph.h".
5541 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5543 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5549 * LaTeX.C: use namespace alias for lyx::support::os
5551 2003-09-16 Angus Leeming <leeming@lyx.org>
5554 * bufferview_funcs.C:
5557 * paragraph_pimpl.C:
5559 * text.C: add #include "LColor.h".
5561 2003-09-16 Angus Leeming <leeming@lyx.org>
5563 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5564 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5566 Store the FontBits::color variable as an int rather than as an
5567 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5570 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5571 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5572 string calls together.
5574 * lyxrc.C: add #include "LColor.h".
5576 2003-09-15 Angus Leeming <leeming@lyx.org>
5578 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5581 2003-09-15 Angus Leeming <leeming@lyx.org>
5583 * LColor.h: add an EnumLColor wrapper for LColor::color.
5585 * lyxfont.[Ch] (color, setColor, realColor):
5586 * lyxtext.h, text.C (backgroundColor):
5587 pass EnumLColor args to/from the functions, rather than LColor::color
5591 * lyxtext.h: forward declare EnumLColor.
5593 * lyx_main.C: add #include "LColor.h".
5595 2003-09-15 Angus Leeming <leeming@lyx.org>
5597 * .cvsignore: add lyx-gtk.
5599 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * ParagraphParameters.C
5608 * bufferview_funcs.C
5618 * vc-backend.C: remove usage of STRCONV
5620 2003-09-15 Angus Leeming <leeming@lyx.org>
5622 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5623 explicitly define the color passed to the painter.
5625 2003-09-15 Angus Leeming <leeming@lyx.org>
5627 * bufferparams.C (BufferParams): reorder member initializers to avoid
5630 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5632 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5633 * text.C (updateRowPositions): remove an unusual nop
5635 2003-09-12 André Pönitz <poenitz@gmx.net>
5637 * BufferView_pimpl.C:
5646 * Counters.[Ch]: finish the 'automatic counters' job
5648 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5650 * aspell.C: include <boost/assert.cpp> (compile fix)
5652 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5654 * boost.C (assertion_failed): use lyx::support::abort instead of
5657 2003-09-10 Angus Leeming <leeming@lyx.org>
5659 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5660 with their _fwd progeny.
5662 2003-09-09 Angus Leeming <leeming@lyx.org>
5664 134 files throughtout the source tree: replace 'using namespace abc;'
5665 directives with the appropriate 'using abc::xyz;' declarations.
5667 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5669 * boost.C (emergencyCleanup): moved here from LAssert.c
5670 (assertion_failed): new function, called by BOOST_ASSERT
5672 * several files: change Assert to BOOST_ASSERT
5674 2003-09-09 Angus Leeming <leeming@lyx.org>
5676 * buffer.[Ch]: Add an Impl class and move Buffer's member
5677 variables into it. As a result move several header files out of
5680 Add header files to lots of .C files all over the tree as a result.
5682 2003-09-09 Angus Leeming <leeming@lyx.org>
5684 * buffer.[Ch]: make Buffer's member variables private. Add
5687 Lots of changes all over the tree as a result.
5689 2003-09-08 Angus Leeming <leeming@lyx.org>
5691 * graph.C: #include <config.h>.
5693 2003-09-08 Angus Leeming <leeming@lyx.org>
5697 * BufferView_pimpl.C:
5726 * toc.C: remove redundant using directives.
5728 2003-09-07 Angus Leeming <leeming@lyx.org>
5730 * LaTeXFeatures.h: remove #include "support/types.h".
5731 * ToolbarBackend.h: remove #include <algorithm>.
5732 * changes.h: remove #include <ctime>.
5733 * debug.h: remove #include <iosfwd>.
5734 * graph.h: remove #include "support/std_string.h".
5735 * lyx_main.h: remove #include <csignal>.
5736 * lyxlex_pimpl.h: remove #include <fstream>.
5737 * sgml.h: remove #include <algorithm>, <utility>.
5738 * toc.h: remove #include "support/std_ostream.h".
5739 Add #include <iosfwd>.
5741 2003-09-07 Angus Leeming <leeming@lyx.org>
5743 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5745 * converter.h: forward declare LatexRunParams.
5746 * encoding.h: remove #include "lyxrc.h".
5747 * lyxtext.h: remove #include "LColor.h".
5748 * lyxtextclass.h: remove #include "support/types.h".
5749 * trans.h: remove #include "tex-accent.h".
5750 * trans_mgr.h: remove #include "tex-accent.h".
5751 * insets/inset.h: remove #include "support/types.h", <vector>.
5752 * insets/insetcollapsable.h: remove #include "LColor.h".
5753 * insets/insetinclude.h: remove #include "dimension.h".
5754 * insets/insetlatexaccent.h: remove #include "dimension.h".
5755 * insets/insetoptarg.h:: remove #include "insettext.h".
5756 * insets/insettext.h: remove #include "dimension.h",
5757 <boost/shared_ptr.hpp>
5759 * insets/renderers.h: add #include "dimension.h".
5760 * insets/updatableinset.h: add #include "support/types.h".
5762 * many .C files: Associated changes.
5764 2003-09-06 Angus Leeming <leeming@lyx.org>
5766 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5767 one, inside testInvariant.
5769 * PrinterParams.C: new file.
5770 * PrinterParams.[Ch]: move the function bodies out of line.
5772 2003-09-06 Angus Leeming <leeming@lyx.org>
5774 * ParagraphParameters.h: forward declare ParameterStruct rather than
5775 including its header file.
5776 (depth): moved out-of-line.
5778 2003-09-06 Angus Leeming <leeming@lyx.org>
5780 * BufferView_pimpl.h:
5783 * lyxfunc.h: forward declare LyXKeySym rather than
5784 #include "frontends/LyXKeySym.h".
5786 * BufferView_pimpl.C:
5789 * lyxfunc.C: associated changes.
5791 2003-09-06 Angus Leeming <leeming@lyx.org>
5793 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5794 As a result, can remove the #include "insets/inset.h" from BufferView.h
5796 2003-09-06 Angus Leeming <leeming@lyx.org>
5798 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5799 As a result, can remove the #include "insets/inset.h" from BufferView.h
5801 2003-09-06 Angus Leeming <leeming@lyx.org>
5807 * bufferview_funcs.C:
5808 * BufferView_pimpl.C:
5813 * ParagraphParameters.C:
5818 * frontends/controllers/ControlDocument.C:
5819 * insets/insetcaption.C: rearrange the #includes into some sort of
5822 * buffer.h: remove #includes ErrorList.h, undo.h
5824 2003-09-06 Angus Leeming <leeming@lyx.org>
5826 * support/types.h: add a 'depth_type' typedef, used to store the
5827 nesting depth of a paragraph.
5830 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5831 defining explicitly.
5834 * paragraph_funcs.h:
5835 * ParagraphParameters.h:
5836 * sgml.h: use lyx::depth_type rather than Paragraph or
5837 ParameterStruct's depth_type.
5840 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5843 * BufferView_pimpl.C:
5845 * ParagraphParameters.C:
5848 * bufferview_funcs.C:
5855 * frontends/LyXView.C:
5856 * frontends/controllers/ControlDocument.C:
5857 * frontends/controllers/ControlErrorList.C:
5858 * insets/insetbibitem.C:
5859 * insets/insetbranch.C:
5860 * insets/insetcaption.C:
5861 * insets/insetcollapsable.C:
5862 * insets/insetenv.C:
5863 * insets/insetert.C:
5864 * insets/insetfloat.C:
5865 * insets/insetfoot.C:
5866 * insets/insetfootlike.C:
5867 * insets/insetnewline.C:
5868 * insets/insetquotes.C:
5869 * insets/insettabular.C:
5870 * insets/insettext.C:
5871 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5873 * frontends/controllers/ControlChanges.C: #include "changes.h".
5875 2003-09-06 Angus Leeming <leeming@lyx.org>
5877 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5878 than #including paragraph.h.
5881 * RowList.h: deleted. Superfluous.
5891 * insets/insettext.h: use ParagraphList_fwd.h rather than
5894 * paragraph.h: don't forward declare ParagraphList.
5897 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5898 rather than ParagraphList.h. paragraph.h is still needed for the
5899 Paragraph::depth_type parameters.
5901 * textcursor.h: enable it to compile stand-alone in light of the
5904 * bufferview_funcs.C:
5916 * frontends/controllers/ControlParagraph.C:
5917 * frontends/controllers/ControlTabular.C:
5918 * insets/insetmarginal.C:
5919 * insets/insetminipage.C:
5920 * insets/insetnote.C:
5921 * insets/insetoptarg.C: add header files needed to compile again.
5923 2003-09-06 Angus Leeming <leeming@lyx.org>
5925 * RowList_fwd.h: new file, forward-declaring Row rather than
5926 #including lyxrow.h.
5931 * insets/insettext.h: use it instead of RowList.h
5933 * bufferview_funcs.C:
5940 * text3.C: #include "RowList.h".
5942 2003-09-05 Angus Leeming <leeming@lyx.org>
5944 * factory.C (createInset):
5945 * vspace.C (c-tor): replace sscanf call with an istringstream.
5946 * ispell.C: re-add missing HP/UX headers.
5947 * lyxserver.C: re-add missing os2 headers.
5949 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5958 * text3.C: re-add missing system headers, needed for 2.95.2.
5960 2003-09-05 Angus Leeming <leeming@lyx.org>
5962 Changes most place everywhere due to the removal of using directives
5963 from support/std_sstream.h.
5965 2003-09-05 Angus Leeming <leeming@lyx.org>
5967 Replace LString.h with support/std_string.h,
5968 Lsstream.h with support/std_sstream.h,
5969 support/LIstream.h with support/std_istream.h,
5970 support/LOstream.h with support/std_ostream.h.
5972 Changes resulting throughout the tree.
5974 2003-09-05 Angus Leeming <leeming@lyx.org>
5976 * sgml.h: ensure that the header file can be compiled stand-alone.
5977 * *.C: strip out redundant #includes. (320 in total.)
5979 2003-09-04 Angus Leeming <leeming@lyx.org>
5981 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5982 here (from getPackages).
5984 * debug.[Ch]: add a new EXTERNAL tag.
5986 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5988 * text2.C (cursorEnd): simplify
5990 (getColumnNearX): adjust
5992 * text.C (computeBidiTables): adjust
5995 * rowpainter.C (paintChars): adjust
5996 (paintSelection): adjust
5997 (paintChangeBar): adjust
6000 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6002 (numberOfSeparators): adjust
6004 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6010 * text3.C: Restricts the mouse click functionality
6011 of insets like bibtex, include, toc and floatlist to the visible
6012 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6013 up the dialogs. Cursor has to be in front of the inset (i.e.
6014 start of row) for this to function.
6016 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6018 * bufferview_funcs.C (currentState): output row information
6020 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6022 * bufferview_funcs.C (currentState): output paragraph position
6024 2003-09-04 Angus Leeming <leeming@lyx.org>
6026 * FloatList.h: move out #include "Floating.h".
6027 * LaTeX.h: move out #include "DepTable.h".
6028 * LyXAction.h: move out #include "funcrequest.h".
6029 * buffer.h: move out #include "author.h", "iterators.h".
6030 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6031 * lyx_main.h: move out #include "errorlist.h".
6032 * lyxfunc.h: move out #include "FuncStatus.h".
6033 * lyxtext: move out #include "lyxcursor.h".
6034 * paragraph_pimpl.h: move out #include "counters.h".
6036 2003-09-03 Angus Leeming <leeming@lyx.org>
6038 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6039 preamble_snippets list, enabling us to add snippets to the preamble
6040 only if the snippet was not there already.
6042 2003-09-04 Angus Leeming <leeming@lyx.org>
6044 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6046 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6048 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6051 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6053 * BranchList.C: point fix, earlier forgotten
6055 2003-09-02 Angus Leeming <leeming@lyx.org>
6057 * box.C (contains): renamed from 'contained' after a fantastic
6060 2003-09-02 John Levon <levon@movementarian.org>
6066 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6068 2003-09-02 John Levon <levon@movementarian.org>
6070 * text2.C: simplification of cursorEnd(), including partial
6073 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6075 * buffer.C (readFile): add a space
6077 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6079 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6081 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6083 * buffer.C (readFile): new function, take a filename and a
6084 ParagraphList::iterator
6086 (readFile): adjust, make it private. don't use setStream, make
6087 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6088 always contain the filename.
6090 * BufferView.C (insertLyXFile): simplify and make it work for
6093 2003-08-30 John Levon <levon@movementarian.org>
6095 * Makefile.am: fix dist (from Kayvan)
6097 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * most files: change to use const Buffer refs
6101 2003-08-27 André Pönitz <poenitz@gmx.net>
6103 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6104 on top of ownerPar().
6106 2003-08-27 John Levon <levon@movementarian.org>
6108 * funcrequest.C: properly initialise POD members
6110 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6112 * lyxtext.h (top_y): move top_y from here
6117 * BufferView_pimpl.[Ch]: to here
6118 * frontends/screen.C:
6119 * insets/insettabular.C:
6120 * insets/insettext.C: adjust
6121 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6123 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6126 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6128 2003-08-26 André Pönitz <poenitz@gmx.net>
6130 * paragraph_func.[Ch] (outerPar): new function
6133 * paragraph_funcs.C:
6134 * paragraph_funcs.h:
6135 * paragraph_pimpl.C:
6136 * text2.C: remove Inset::par_owner
6138 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6143 * text2.C: eliminates the needFullRow/display() stuff
6144 altogether, putting the logic in metrics/draw in the insets.
6146 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6148 * text2.C (redoParagraphInternal, redoParagraphs):
6149 * text.C (redoParagraph): add a call to updateRowPositions at the
6150 end of each 'metrics-like' call. Remove all others.
6151 (getRow): remove the 'y-computing' version.
6152 (getRowNearY): do not compute nor return the real y. Solve the
6153 'y < 0' problem and simplify.
6155 2003-08-22 Angus Leeming <leeming@lyx.org>
6157 * *.[Ch]: clean-up of licence and author blurbs.
6158 Also move config.h out of a few .h files and into a few .C files.
6160 2003-08-22 André Pönitz <poenitz@gmx.net>
6162 * lyxrow.[Ch]: add x_ and *fill_ members
6167 * text2.C: adjust/remove prepareToPrint() calls
6169 2003-08-22 André Pönitz <poenitz@gmx.net>
6171 * lyxrow.[Ch]: add end_ member
6173 * lyxrow_funcs.C: use LyXRow::end_
6175 * lyxtext.h (singleWidth): add LyXFont parameter
6178 * text2.C: adjust LyXText::singleWidth() calls
6180 * text.C (redoParagraph): simplify row breaking logic
6183 2003-08-19 André Pönitz <poenitz@gmx.net>
6185 * funcrequest.C: initialize button_ member
6188 * rowpainter.[Ch]: interface consolidation
6190 2003-08-18 André Pönitz <poenitz@gmx.net>
6193 * BufferView_pimpl.C:
6195 * paragraph_funcs.C:
6197 * text3.C: remove LyXScreen::draw() and fitCursor calls
6199 * BranchList.h: remove spurious semicolons
6201 * MenuBackend.C: fix branchlist related crash
6203 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6211 * bufferparams.[Ch]:
6215 * text3.C: implements the 'branch inset'
6216 idea. This allows the output of various versions of a document
6217 from a single source version, selectively outputing or suppressing
6218 output of parts of the text.
6219 This implementation contains a 'branch list editor' in a separate
6220 tab of the document settings dialog. Branches are user definable
6221 and have a "display colour" to distinguish them on-screen.
6223 ColorHandler was somewhat cleaned up.
6224 (1) make possible a dynamically growing LColor list by allowing
6225 the graphic context cache to grow along (vector);
6226 (2) eliminate an IMHO unnecessary step in colour allocation.
6228 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6230 * BufferView_pimpl.C: compile fix
6232 2003-08-15 André Pönitz <poenitz@gmx.net>
6234 * rowpainter.C: remove extra metrics calls
6236 * lyxtext.h: merge the two constructors into a single one,
6237 pass reference to owner's par list
6239 * BufferView_pimpl.C:
6243 2003-08-15 André Pönitz <poenitz@gmx.net>
6245 * lyxrow_funcs.[Ch]:
6248 * paragraph_funcs.C:
6253 * text_funcs.C: split LyXText::rowlist_ into individual
6254 Paragraph::rows_ chunks
6257 * BufferView_pimpl.[Ch]:
6260 * text3.C: remove toggleSelection()
6262 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6264 * bufferlist.C: beautify two alerts (shorter text of buttons)
6265 * buffer.C: Remove redundant ' ' from message
6267 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6268 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6269 rename VALIGN_CENTER to VALIGN_MIDDLE
6271 2003-08-11 André Pönitz <poenitz@gmx.net>
6273 * lyxtext.h (getPar):
6274 * text.C: new function
6276 2003-08-11 André Pönitz <poenitz@gmx.net>
6279 * tracer.[Ch]: remove unneeded files
6281 * InsetList.[Ch]: remove resizeInsetsLyXText()
6286 * text3.C: merge insertParagraphs() and appendParagraph()
6287 remove breakAgain(), update()
6289 * BufferView_pimpl.[Ch]:
6290 * bufferview_funcs.[Ch]:
6294 * tabular.C: adjust after text & InsetList changes.
6296 2003-08-08 André Pönitz <poenitz@gmx.net>
6298 * text.C (insertChar, backspace): replace rowlist fiddling
6299 with rebreak of full par
6302 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6303 checkParagraph, updateInset): removed
6305 2003-08-07 André Pönitz <poenitz@gmx.net>
6308 * text3.C: merge some LFUN handlers, remove dead code
6310 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6312 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6314 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6316 * text2.C (DEPM): fix part of bug 1255 and 1256
6318 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6320 * BufferView_pimpl.C (workAreaDispatch): change to use
6321 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6322 that are no mouse related.
6324 2003-08-05 André Pönitz <poenitz@gmx.net>
6327 * BufferView_pimpl.[Ch]:
6328 * bufferview_funcs.C:
6330 * text3.C: rip out "deep update"
6332 * textcursor.[Ch] (last_sel_cursor): remove unused member
6334 2003-08-04 André Pönitz <poenitz@gmx.net>
6337 * BufferView_pimpl.[Ch]:
6338 * ParagraphParameters.C:
6339 * bufferview_funcs.C:
6345 * text3.C: replace "complicated" BufferView::update(...) calls with
6348 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6350 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6352 * Makefile.am (lyx_SOURCES): add paper.h
6354 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6356 * Makefile.am: move things around so that both lyx-qt and
6357 lyx-xforms can be built (according to --with-frontend). Then lyx
6358 is a symbolic link to lyx-[firstfrontend]
6360 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6362 * Always use std::endl with lyxerr
6364 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6366 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6368 2003-08-01 André Pönitz <poenitz@gmx.net>
6371 * BufferView_pimpl.[Ch]:
6373 * text3.C: merge BufferView::repaint() and BufferView::update()
6375 2003-08-01 José Matos <jamatos@lyx.org>
6377 * buffer.[Ch]: file_format is no longer a buffer data element.
6379 2003-08-01 André Pönitz <poenitz@gmx.net>
6384 * text2.C: make redoParagraph more independent of current cursor
6386 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6388 * text2.C: remove unneeded members
6390 2003-07-30 André Pönitz <poenitz@gmx.net>
6392 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6394 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6395 create a single function...
6397 * paragraph_funcs.C (moveItem): ... here.
6400 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6402 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6404 * LColor.[Ch]: Add comment and greyedout logical colors.
6406 2003-07-30 André Pönitz <poenitz@gmx.net>
6408 * tabular.C: don't use Assert too heavily. This crashes where it
6411 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6413 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6414 is disabled (bug 1232)
6416 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6418 * factory.C: limited 'arg' scope
6420 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6422 * factory.C: fixed Note submenu issues
6424 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6426 * factory.C: submenu for Note/Comment/Greyedout
6428 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6431 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6433 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6436 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6437 greyedout. Patch provided by Jürgen Spitzmüller.
6439 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6441 * kbmap.C (read): fix error message when reading bind files
6443 2003-07-29 Angus Leeming <leeming@lyx.org>
6445 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6446 certainly does not do what it purports to do. I am doing it, and
6447 us, a favour by killing it.
6449 2003-07-28 José Matos <jamatos@lyx.org>
6451 * buffer.C (readBody, do_writeFile):
6452 * paragraph.C(readParagraph): \end_document replaces \the_end.
6454 2003-07-29 André Pönitz <poenitz@gmx.net>
6457 * BufferView_pimpl.[Ch]:
6461 * textcursor.[Ch]: remove toggleToggle & Co
6463 2003-07-28 José Matos <jamatos@fep.up.pt>
6465 * buffer.C (readParagraph):
6466 * params_func (readParToken, readParagraph):
6467 * paragraph.C (write): \layout -> \begin_layout.
6469 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * lyxlex_pimpl.C (setFile): clean up slightly.
6473 * bufferparams.h: add compressed var
6475 * buffer_funcs.C (readFile): adjust for LyXLex change
6476 (newFile): ditto + simplify
6478 * buffer.C (writeFile): handle writing of compressed files
6480 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6481 Check if the file is compressed and set a bufferparm if so.
6483 * Makefile.am (lyx_LDADD): remove explicit -lz
6485 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6487 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6488 makeDocBookFile): put the real LyX version in the first line of
6492 * version.C.in: remove lyx_docversion
6494 * tabular.C (write_attribute): add a template-based version to
6495 write enums properly
6497 2003-07-28 André Pönitz <poenitz@gmx.net>
6502 * text3.C: use doubles again for x-coordinates. They are needed.
6504 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6506 * messages.C (getLocaleDir): use lyx_localedir()
6508 * lyxlex_pimpl.C (setFile): compress stuff
6510 * buffer.C (writeFile): add some compression stuff
6511 (do_writeFile): new func, dont call expliti close... will this
6514 * Makefile.am (lyx_LDADD): add -lz
6516 2003-07-28 José Matos <jamatos@fep.up.pt>
6518 * buffer.C: increment file format.
6519 * paragraph_funcs (readParagraph, readParToken):
6520 * paragraph.C (readParagraph): add \end_layout.
6522 2003-07-27 Angus Leeming <leeming@lyx.org>
6524 * Makefile.am: remove special casing for configure-time setting of
6525 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6527 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6528 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6530 2003-07-26 André Pönitz <poenitz@gmx.net>
6532 * paragraph_func.[Ch]:
6533 * paragraph.C (realizeFont): inline it whereever it is used
6538 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6541 2003-07-26 André Pönitz <poenitz@gmx.net>
6545 * text2.C: get rid of LyXText::need_break_row
6547 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * toc.[Ch]: put namespace toc inside namespace lyx
6551 * MenuBackend.C (expandToc2): adjust for lyx::toc
6554 * lyxfunc.C (dispatch): adjust for lyx::find
6556 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6557 lyx::find instead. Reorganize a bit.
6558 (LyXReplace): rename to replace
6559 (LyXFind): rename to find
6561 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6564 2003-07-26 André Pönitz <poenitz@gmx.net>
6566 * text.C (setHeightOfRow): restrict scope of temporary variable
6568 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6569 code (never has been used?)
6571 2003-07-27 Asger Alstrup <alstrup@local>
6573 * text.C (fill): Optimise algorithm to exploit that we can reuse
6574 the LyXFont for many characters.
6575 (setHeightOfRow): Same thing.
6576 (rowBreakPoint): Same thing.
6578 2003-07-26 Asger Alstrup <alstrup@local>
6580 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6582 * text.C (singleWidth): Spurious font copying in hot-spot
6583 singleWidth avoided. Reorder tests for arabic for efficiency.
6585 * text.C (fill): handle empty paragraphs better.
6587 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6590 * encoding.h: add includes
6592 * lyxrc.C: remove reading of bind files
6594 * lyx_main.C (init): setup bindings and menus only if we have a
6597 * kbmap.C (read): new method. Do the actual reading of bind
6600 * converter.C (dvipdfm_options):
6603 (output): adapt PAPER_* enums.
6605 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6607 * bufferparams.h: remove paper-related enums from there
6609 * paper.h: New file. A trivial header file to hold paper-related
6610 enums. It should later expand to contain many paper-related
6613 * lyxrc.C: declare extern displayTranslator
6615 2003-07-27 José Matos <jamatos@fep.up.pt>
6617 * tabular.[Ch] (linuxdoc): add support for tables and figures
6620 2003-07-27 José Matos <jamatos@fep.up.pt>
6622 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6623 consistency in both functions.
6624 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6626 2003-07-26 Asger Alstrup <alstrup@local>
6628 * rowpainter.C (paintRows): Change algorithm to work directly on
6629 the insets rather than asking every character in the document
6630 whether its an inset.
6632 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6634 * buffer.C (openFileWrite): factorize some code
6636 2003-07-26 Angus Leeming <leeming@lyx.org>
6639 * lyx_main.[Ch]: replace occurances of system_tempdir with
6642 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6644 * rename Inset to InsetOld
6646 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6648 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6649 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6650 which I think is a bit clearer. EDIT is gone, since it was
6651 premature optimisation, and broken for mathed anyway.
6652 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6653 with cursor positioning in insets as well (math insets still do not
6654 work, but that's a different story anyway.) It mysteriously
6655 crashes sometimes with undo in the first paragraph, but I'm fairly
6656 confident that this is a compiler bug.
6658 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6660 * paragraph.C (Paragraph): adjust for new clone return type
6662 (copyIntoMinibuffer): ditto
6664 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6666 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6667 by not having a special case, and always doing a full rebreak of
6668 the document after undo.
6670 2003-07-23 Angus Leeming <leeming@lyx.org>
6672 * factory.C (createInset): InsetExternal::setParams now takes a
6675 2003-07-23 Angus Leeming <leeming@lyx.org>
6677 * factory.C (createInset): changed interface to the external and
6678 graphics mailers' string2params functions.
6680 2003-07-23 Angus Leeming <leeming@lyx.org>
6682 * factory.C (createInset): pass a
6683 Buffer const * parameter to InsetExternalMailer's string2params.
6685 2003-07-22 John Levon <levon@movementarian.org>
6687 * Thesaurus.h: include the right aiksaurus header
6689 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6691 * MenuBackend.C (expand): check menu shortcuts unconditionally
6693 2003-07-21 Angus Leeming <leeming@lyx.org>
6695 * factory.C (createInset): pass a
6696 buffer_path parameter to InsetGraphicsMailer's string2params.
6698 2003-07-21 Angus Leeming <leeming@lyx.org>
6700 * BufferView_pimpl.C (buffer):
6703 * lyxfunc.C (dispatch):
6704 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6705 rather than the grfx shortcut.
6707 2003-07-21 André Pönitz <poenitz@gmx.net>
6709 * rowpainter.C: remove unused variables
6712 * tabular_funcs.h: move to tabular.C
6713 * Makefile.am: adjust
6715 * tabular.[Ch]: basic optical cleaning
6717 * author.h: pass references, not values
6719 2003-07-18 André Pönitz <poenitz@gmx.net>
6727 * text3.C: two-phase drawing for InsetText and InsetTabular
6728 some float -> int changes.
6730 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6732 * lyx_main.C: fix the fix
6734 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6736 * lyx_main.C: fix a crash in batch mode if no files specified
6739 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6741 * format.[Ch] (papersize): moved to BufferParams
6742 * converter.[Ch] (dvips_options): moved to BufferParams
6743 (dvipdfm_options): moved to anon namespace
6744 * bufferparams.[Ch]: added above functions.
6746 2003-07-17 André Pönitz <poenitz@gmx.net>
6750 * text2.C: don't call inset->update() anymore
6752 * metricsinfo.[Ch]: add convenience constructor
6754 2003-07-16 André Pönitz <poenitz@gmx.net>
6759 * text2.C: replace the LyXCursor::irow_ member with
6760 on-demand computation of the value
6762 2003-07-16 John Levon <levon@movementarian.org>
6764 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6766 2003-07-15 André Pönitz <poenitz@gmx.net>
6769 * text2.C: remove no more needed refresh_row
6771 2003-07-15 André Pönitz <poenitz@gmx.net>
6776 * text3.C: refresh_status tristate -> need_update bool
6778 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6780 * lyxtext.h (init): remove reinit argument (act as if always true)
6781 * text2.C: adjust to that
6783 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6785 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6786 * text3.C: use it to delete selections in some cases
6787 (bugs 441, 673, 702, 954).
6789 2003-07-14 André Pönitz <poenitz@gmx.net>
6791 * rowpainter.[Ch]: reduce interface
6793 2003-07-14 André Pönitz <poenitz@gmx.net>
6795 * BufferView_pimpl.C:
6796 * text2.C: adjust after removing unused BufferView * argument
6798 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6800 * text2.C (init): fix a crash fired on resize
6802 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6804 * buffer.[Ch]: added new closing signal
6805 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6806 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6807 BufferView::Pimpl via the closing the signal
6809 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6811 * buffer.[Ch]: take out all bv-related from buffer
6813 * BufferView_pimpl.[Ch]: connect to new signals
6814 * CutAndPaste.C: removed useless asserts
6815 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6818 * lyxfunc.C: moved view-related funciontality from vc here
6819 * paragraph.C: removed outdated comments
6822 2003-07-10 André Pönitz <poenitz@gmx.net>
6824 * BufferView_pimpl.C:
6828 * text2.C: remove InsetText::InnerCache, clean up consequences
6830 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6832 * ispell.C: fix two typos in error messages
6834 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6836 * Extend Note inset to other forms of annotation like Comment
6837 and Greyedout. Right button click gives dialog.
6839 Files modified or added (+):
6843 * ControlNote.[Ch] +
6845 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6846 frontends/controllers
6850 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6852 * aspell.C: add missing namespace lyx::support
6854 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6856 * BufferView.[Ch] (newFile): Add
6857 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6858 * LaTeX.[Ch] (message): added this signal and use it
6859 * buffer.[Ch] (busy, message): added these signals and use them
6860 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6864 * importer.C: use buffer signals instead of direct bv calling
6865 * lyx_cb.[Ch] (ShowMessage): removed
6868 * paragraph_funcs.C:
6869 * text2.C: use buffer signals
6871 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6873 * introduce namespace lyx::graphics
6875 2003-07-02 André Pönitz <poenitz@gmx.net>
6877 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6879 2003-07-01 André Pönitz <poenitz@gmx.net>
6886 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6887 text*.C to text_func.C
6889 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6891 * introduce namespace lyx::support
6893 2003-06-30 André Pönitz <poenitz@gmx.net>
6898 * text.C: re-enable --with-included-string
6900 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * textcursor.C: add <config.h>
6904 * text.C (getWord): remove const from word_location arg
6906 * lyxvc.C (getLogFile): fix const type order
6908 * lyxtext.h: remove const from word_location arg, add arg name
6910 * lyxlayout.h: currect type on labeltype.
6912 * importer.C: correct \file
6914 * converter.C (intToFormat): use std:: on ret val, ws changes
6916 * bufferlist.h: correct \file
6918 * buffer.C (makeLinuxDocFile): fix const type order
6919 (makeDocBookFile): ditto
6920 (fillWithBibKeys): use std:: on stdlib args.
6922 * CutAndPaste.C: fix authors.
6923 (availableSelections): use std:: on return vector
6925 2003-06-27 André Pönitz <poenitz@gmx.net>
6927 * BufferView_pimpl.C:
6928 * bufferview_funcs.C:
6936 * text3.C: remove LyXCursor::row_ member
6939 * text.C: rename fullRebreak() to partialRebreak() and implement
6940 a fullRebreak() that really bereks fully
6942 * textcursor.h: new struct for cursor-related data
6944 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6946 * lyx_main.C (LyX): get full path of document loaded on the
6949 2003-06-26 André Pönitz <poenitz@gmx.net>
6951 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6952 remove unused/broken operator>,<,>=.
6954 * text.C: remove only use of broken operator<= in an Assert().
6956 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6958 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6959 moved errorlist_.clear to showErrorList
6961 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6963 * converter.C (scanLog, runLaTeX):
6964 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6965 move the bv->showErrorList call to the callers
6966 * lyxfunc.C: i.e. here...
6968 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6969 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6970 namespace, the second to...
6971 * buffer_funcs (BufferFormat, parseErrors): added
6972 * errorlist.C (ErrorList(TeXErrors const &)): removed
6974 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6976 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6978 2003-06-24 "Garst R. Reese" <reese@isn.net>
6982 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6984 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6986 * version.C.in: change docversion to 1.4
6988 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6990 * buffer.C: fix a bug just introduced
6992 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6994 * buffer.[Ch]: added the parseError signal and use it, removed
6996 * BufferView.[Ch] (addError): moved to ...
6997 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6998 to the Buffer::parseError signal to catch (guess what) parse errors
6999 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7001 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7003 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7004 ability to create a buffer and to return an existing one from
7005 the list. Moved these functions to...
7006 * buffer_funcs.[Ch]: added
7007 * BufferView.[Ch] (loadLyXFile): added
7008 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7009 job removed from bufferlist::loadLyXFile.
7010 * buffer.C (setReadOnly): make it work without view
7011 (i.e added an if (users))
7013 2003-06-19 Angus Leeming <leeming@lyx.org>
7016 * LyXAction.C (init):
7017 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7018 with LFUN_DIALOG_SHOW <name> <data>.
7020 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7022 * CutAndPaste.C (availableSelections): small compilation fix for
7023 ancient (gcc 2.9x) compilers
7025 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7027 * text3.C (cursorNext): add tmp var
7029 * text2.C (updateCounters): for function calling out of for clause
7030 (replaceSelectionWithString): ditto
7031 (insertStringAsParagraphs): ditto
7032 (getColumnNearX): add tmp var
7033 (setCursorFromCoordinates): add tmp var
7034 (cursorDownParagraph): add tmp var
7035 (deleteEmptyParagraphMechanism): add tmp var
7037 * text.C (insertChar): add tmp var
7039 * rowpainter.C (paintDepthBar): add tmp var
7041 * CutAndPaste.C (availableSelections): potentially check all
7042 paragraphs in a cut to fill the shown strings.
7044 2003-06-18 André Pönitz <poenitz@gmx.net>
7046 * kbmap.[Ch]: use vector<> instead of list<>
7048 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7050 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7051 pasteSelection with index
7053 * text2.C (pasteSelection): modify, call pasteSelection with index
7055 * paragraph.C (asString): reimplement version with no interval to
7056 call the one with interval.
7058 * lyxtext.h: add index arg to pasteSelection
7060 * MenuBackend.C (MenuItem): handle PasteRecent
7061 (Menu::read::Menutags): add md_pasterecent
7063 (expandPasteRecent): new function
7066 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7068 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7070 (availableSelections): new function
7072 2003-06-17 Angus Leeming <leeming@lyx.org>
7074 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7076 2003-06-17 Angus Leeming <leeming@lyx.org>
7079 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7081 * lyxfunc.C (dispatch): invoke it.
7083 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7085 * iterators.C (operator++, ParPosition): reintroduce some
7086 const_cast for the benefit of older compilers.
7088 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7090 * text3.C (dispatch): do not modify clipboard when doing
7091 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7092 LFUN_DELETE_SKIP on a selection selection
7094 2003-06-16 André Pönitz <poenitz@gmx.net>
7100 * tabular.[Ch]: IU of clone() and getLabelList();
7102 2003-06-13 André Pönitz <poenitz@gmx.net>
7104 * tabular.h: compactification
7106 2003-06-12 André Pönitz <poenitz@gmx.net>
7110 * tabular_funcs.h: some renaming plus whitespace
7112 2003-06-12 André Pönitz <poenitz@gmx.net>
7115 * BufferView_pimpl.C:
7121 * toc.C: Return a Paragraph & for ParIterator::operator*()
7123 2003-06-11 John Levon <levon@movementarian.org>
7127 * ToolbarBackend.C: add "Toolbars" section and
7130 2003-06-10 Angus Leeming <leeming@lyx.org>
7133 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7135 * lyxfunc.C (dispatch): invoke it.
7137 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7139 * main.C: protect <ios> with HAVE_IOS
7140 (main): protect sync_with_stdio with HAVE_IOS
7142 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7144 * text2.C (cutSelection): adjust
7145 (pasteSelection): adjust
7147 * messages.C: handle get of empty string
7149 * main.C (main): use sync_with_stdio(false)
7151 * lyxfunc.C (dispatch): adjust
7153 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7154 (WriteAs): remove unneeded BufferView arg.
7156 * bufferparams.h: use correct types on papersize, papersize2 and
7159 * bufferparams.C (readToken): adjust for type
7160 (writeLaTeX): add missing cases to switch.
7162 * bufferlist.C (quitWriteBuffer): adjust
7165 * buffer.C (asciiParagraph): remove some commented code.
7167 * CutAndPaste.C: remove current_view extern variable.
7168 (cutSelection): add BufferParams arg.
7169 (eraseSelection): add BufferParams arg.
7170 (pasteSelection): add Buffer const & arg
7172 2003-06-07 John Levon <levon@movementarian.org>
7175 * paragraph_funcs.C:
7176 * paragraph_pimpl.C:
7180 * paragraph.C: allow InsetERT to freely space lines,
7181 and some consolidation of code
7183 2003-06-06 José Matos <jamatos@fep.up.pt>
7185 * buffer.C (makeDocBookFile): fix bug #821
7187 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7189 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7191 2003-06-04 Angus Leeming <leeming@lyx.org>
7193 * buffer.C: bump format to 224.
7195 2003-06-05 André Pönitz <poenitz@gmx.net>
7197 * text2.C (redoParagraphs): remove two const_cast<>
7199 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7201 * ParagraphList.h: remove last remnants of NO_STD_LIST
7203 2003-06-03 Angus Leeming <leeming@lyx.org>
7205 * factory.C (createInset): small change to the way InsetExternal's params
7208 2003-06-04 André Pönitz <poenitz@gmx.net>
7210 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7212 * paragraph_pimpl.h:
7213 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7215 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7217 * undo_funcs.C: make some simple cases of undo work again
7219 2003-06-03 John Levon <levon@movementarian.org>
7221 * ispell.C: HPUX doesn't have sys/select.h
7224 2003-06-03 John Levon <levon@movementarian.org>
7226 * CutAndPaste.C: update tabular and include inset
7231 * paragraph.C: remove owningBuffer(), don't pass Buffer
7234 * factory.C: insetGraphicsParams changed
7236 2003-06-02 John Levon <levon@movementarian.org>
7242 * text3.C: remove insetparent
7244 2003-06-02 John Levon <levon@movementarian.org>
7247 * buffer.C: fix inset_iterator.end(), move out of line
7250 2003-06-01 John Levon <levon@movementarian.org>
7252 * text3.C: use a proper cut/paste when doing inset
7253 insert (from Jürgen Spitzmüller)
7255 2003-06-01 John Levon <levon@movementarian.org>
7257 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7259 2003-05-30 André Pönitz <poenitz@gmx.net>
7261 * rowpainter.C: unify second drawing phase
7263 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7265 * trans_mgr.C: remove one case of current_view
7267 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7269 * paragraph_funcs.h: remove paragraph.h include
7271 * paragraph.h: delete NO_STD_LIST stuff
7273 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7275 * buffer.h: remove paragraph.h include
7277 * ParagraphList.C: delete file
7279 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7281 * toc.C (getTocList): adjust
7283 * paragraph_pimpl.C (validate): adjust
7285 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7287 * paragraph.C (Paragraph): adjust
7288 (getPositionOfInset): use const_iterator, adjust
7289 (bibitem): use const_iterator, adjust
7290 (setInsetOwner): adjust
7292 * iterators.C (operator++): adjust
7294 * InsetList.[Ch]: Replace selfmade iterator with standard
7295 vector::iterator also introduce const_iterator. Remove getPos,
7296 getInset and setInset from InsetTable. Adjust accordingly.
7298 * BufferView.C (lockInset): adjust
7299 (ChangeInsets): adjust
7301 * tabular.[Ch]: delete commented same_id functions
7303 2003-05-28 John Levon <levon@movementarian.org>
7305 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7307 2003-05-28 André Pönitz <poenitz@gmx.net>
7309 * metricsinfo.[Ch]: remove 'fullredraw' member
7311 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7313 * lyxtextclass.C (operator): remove caching.
7315 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7319 * text2.C (cursorBottom): adjust
7320 (setCounter): use ParagraphList::find, adjust
7322 * text.C (workWidth): use ParagraphList::find, adjust
7324 * lyxcursor.C (LyXCursor): adjust
7326 * buffer.C (inset_iterator): adjust
7328 * ParagraphList.h: make iterator(value_type) private, make
7329 ParagraphList a friend of iterator.
7331 * ParagraphList.C (find): new function
7333 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7335 2003-05-27 André Pönitz <poenitz@gmx.net>
7337 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7339 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7341 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7343 2003-05-26 John Levon <levon@movementarian.org>
7345 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7347 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * remove same_id from function signatures, adjust.
7351 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7353 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7355 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7357 * paragraph.C (Paragraph): get rid of same_ids parameter
7359 * ParagraphList.C (insert): adjust
7362 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7364 * paragraph_funcs.C (breakParagraph): adjust
7365 (breakParagraphConservative): adjust
7367 * buffer.C (readParagraph): adjust
7369 * ParagraphList.C (insert): take a reference instead of a pointer
7372 * paragraph.[Ch] (id): new function
7374 * bufferlist.C (newFile): adjust
7376 * ParagraphList.C (ParagraphList): adjust
7378 (push_back): take a reference instead of a pointer.
7380 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7382 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7385 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7386 set else use old code.
7388 * ParagraphList.C: remove all NO_NEXT code and only compile this
7389 code of NO_STD_LIST is set.
7391 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7393 * BufferView_pimpl.C:
7403 * graphics/GraphicsConverter.C:
7404 * graphics/PreviewLoader.C: header adjustment
7406 2003-05-23 Angus Leeming <leeming@lyx.org>
7408 * LaTeXFeatures.[Ch] (useBabel): new method.
7409 * bufferparams.C (writeLaTeX): use it.
7411 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7413 * ParagraphList.h (set): remove unused function.
7415 2003-05-23 André Pönitz <poenitz@gmx.net>
7418 * BufferView_pimpl.C:
7422 * undo_funcs.C: setUndo reworked
7424 * iterators.[Ch]: add access to topmost ParagraphList
7426 * lyxtext.[Ch] (workWidth): add a const
7428 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7430 * texrow.[Ch] (increasePos): remove function
7431 * exporter.C (export): removed unused var and outdated comment
7433 2003-05-23 Angus Leeming <leeming@lyx.org>
7435 * latexrunparams.h: rename fragile as moving_arg.
7436 * paragraph.C (simpleTeXOnePar): ditto.
7437 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7439 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7441 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7443 (textUndoOrRedo): comment out a currently unused var.
7445 * paragraph.h (NO_NEXT): enable NO_NEXT
7447 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7449 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7451 * exporter.C (Export): adjust for removeAutoInsets removal.
7453 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7455 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7457 * BufferView.[Ch] (removeAutoInsets): delete function
7459 2003-05-22 Angus Leeming <leeming@lyx.org>
7461 * latexrunparams.h: add a free_spacing variable.
7463 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7464 to pass moving_arg, as the data is stored in runparams.fragile.
7466 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7467 to Inset::latexOptional or to simpleTeXOnePar.
7469 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7470 free_spacing arg to Inset::latexOptional.
7472 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7475 2003-05-22 Angus Leeming <leeming@lyx.org>
7477 * latexrunparams.h: add fragile and use_babel variables.
7479 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7480 * buffer.C (makeLaTeXFile): store this returned value in
7481 runparams.use_babel, thus passing it to the inset::latex methods.
7483 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7484 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7486 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7487 longer has a fragile arg, as it is stored in runparams.fragile.
7489 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7490 moving_arg parameter as the data is stored in runparams.fragile.
7492 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7493 a fragile parameter as the data is stored in runparams.fragile.
7495 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7497 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7499 2003-05-22 Angus Leeming <leeming@lyx.org>
7501 * latexrunparams.h: add a 'bool nice' which defaults to false.
7503 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7504 now encapsulated within runparams.
7506 * bufferlist.C (updateIncludedTeXfiles):
7507 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7509 2003-05-22 Angus Leeming <leeming@lyx.org>
7511 * latexrunparams.h: new file containing struct LatexRunParams.
7512 * Makefile.am: add new file.
7514 * LaTeX.[Ch] (c-tor, run):
7515 * buffer.[Ch] (makeLaTeXFile):
7516 * bufferlist.[Ch] (updateIncludedTeXfiles):
7517 * converter.C (convert, scanLog):
7518 * converter.[Ch] (runLaTeX):
7519 * exporter.C (Export):
7520 * paragraph.[Ch] (simpleTeXOnePar):
7521 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7522 * paragraph_funcs.[Ch] (latexParagraphs):
7523 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7524 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7525 pass around a LatexRunParams parameter.
7527 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7529 * paragraph.[Ch]: remove unused constructor
7531 * ParagraphList.C (erase): new function, taking two iterators
7533 2003-05-22 André Pönitz <poenitz@gmx.net>
7535 * undo_funcs.C: remove duplicated code
7537 * iterator.[Ch]: operator=
7539 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7541 * tabular.C (SetMultiColumn): ws changes
7543 * rowpainter.C (paintFirst): get rid of a ->previous
7545 * lyx_cb.C (getPossibleLabel): parlist simplification
7547 * BufferView.C (ChangeInsets): simplify slightly.
7549 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7551 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7552 * lfuns.h: new LFUN_SPACE
7553 * lyxfunc.C: protected space has a new lfun
7554 * paragraph_funcs.C: read new space insets
7556 * factory.C: handle new space insets
7558 2003-05-22 André Pönitz <poenitz@gmx.net>
7561 * BufferView_pimpl.C:
7564 * undo_funcs.C: return a ParIterator from getParFromID.
7566 * iterators.[Ch]: add two const's
7568 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7570 * toc.C (getTocList): adjust
7572 * iterators.[Ch]: rework for parlist
7574 * buffer.C (par_iterator_begin): adjust
7575 (par_iterator_end): adjust
7577 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7579 * BufferView.C (removeAutoInsets): adjust
7580 (ChangeInsets): adjust
7582 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7584 * text.C (top_y): fix bug 1110
7586 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7588 * errorlist.[Ch]: added
7591 * BufferView_pimpl.C:
7592 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7595 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * Makefile.am: ensure that lyx is relinked upon changes to the
7598 various "convenience" libs.
7600 2003-05-20 Angus Leeming <leeming@lyx.org>
7602 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7603 files are compiled in alphabetical order again.
7605 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7607 2003-05-19 Angus Leeming <leeming@lyx.org>
7609 * gettext.[Ch]: remove "char const * _(char const *)".
7611 2003-05-19 André Pönitz <poenitz@gmx.net>
7613 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7622 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7624 2003-05-19 André Pönitz <poenitz@gmx.net>
7628 * lyxtextclass.[Ch]:
7630 * paragraph_funcs.[Ch]:
7632 * text3.C: more insetenv work
7634 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7636 * ParagraphParameters.C (params2string): small bug fixed
7638 2003-05-16 André Pönitz <poenitz@gmx.net>
7641 * bufferview_funcs.C: patch from Kornel Benko to prevent
7642 crash when _(...) is called twice in a statement
7644 2003-05-16 André Pönitz <poenitz@gmx.net>
7651 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7653 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7655 * lyx_main.C (init): remove spurious static_cast
7657 2003-05-14 André Pönitz <poenitz@gmx.net>
7659 * BufferView.C: fix format string
7661 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7663 * BufferView.[Ch] (insertErrors): removed
7664 * BufferView.[Ch] (showErrorList): added
7665 * buffer.C (runChkTeX):
7666 * converter.C (scanLog): call showErrorList instead of inserterrors
7668 2003-05-13 André Pönitz <poenitz@gmx.net>
7670 * BufferView_pimpl.C:
7672 * bufferview_func.C:
7679 * tabular_funcs.h: tostr() from its own header
7681 * ParagraphParameters.C:
7686 * text3.C: STRCONV()
7688 2003-05-12 André Pönitz <poenitz@gmx.net>
7691 * BufferView_pimpl.C:
7695 * ParagraphParameters.C:
7699 * bufferview_funcs.C:
7712 * paragraph_funcs.C:
7716 * text3.C: boost::format -> bformat all over the place
7719 2003-05-09 André Pönitz <poenitz@gmx.net>
7721 * LColor.[Ch]: Pimpl the #include <map> away
7723 2003-05-09 John Levon <levon@movementarian.org>
7725 * bufferlist.C: never remove emergency saves
7727 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7729 * Makefile.am: better lib building
7731 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7733 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7735 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7736 (simpleTeXSpecialChars): adjust
7737 (simpleTeXSpecialChars): adjust
7738 * paragraph.C (simpleTeXOnePar): adjust
7739 * buffer.C (makeLaTeXFile): adjust
7741 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7743 * text2.C (changeDepth): parlist cleanup
7744 (getColumnNearX): ditto
7746 * rowpainter.C (getLabelFont): parlist cleanup
7748 * bufferlist.C (newFile): parlist cleanup
7750 * CutAndPaste.C (eraseSelection): parlist cleanup
7752 * BufferView_pimpl.C (trackChanges): parlist cleanup
7755 * BufferView.C (lockInset): parlist cleanup.
7756 (ChangeInsets): ditto
7758 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7760 * CutAndPaste.h: Update file header.
7762 * CutAndPaste.C: Update file header.
7763 Store the parts cut out of the Document in a limited_stack.
7764 (copySelection): adjust
7765 (pasteSelection): new function, takes the index in the limited stack.
7766 (nrOfParagraphs): adjust
7767 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7768 simplify error inset insertion.
7769 (checkPastePossible): adjust
7771 2003-05-06 John Levon <levon@movementarian.org>
7773 * text2.C: don't cast wrap inset to float
7775 2003-05-05 André Pönitz <poenitz@gmx.net>
7778 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7780 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7781 few naked Paragraph *.
7783 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7785 * bufferparams.C: Output warning if a document with missing
7786 TeX document class is loaded
7787 * exporter.C: Disable TeX exports if the document class is missing
7790 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7791 isTeXClassAvailable()
7793 2003-05-03 John Levon <levon@movementarian.org>
7796 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7797 explicit cursor show/hide
7799 * BufferView_pimpl.h:
7800 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7801 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7803 * lyxfunc.C: hide cursor before dispatching.
7808 * text3.C: remove explicit cursor hides
7810 2003-05-02 André Pönitz <poenitz@gmx.net>
7812 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7815 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7818 * text2.C: tiny whitespace
7820 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7822 * undo_funcs.C: almost only ws changes.
7824 * ParagraphList.C (splice): just return if pl is empty.
7826 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7828 * ParagraphList.C (splice): new function.
7830 * CutAndPaste.C (pasteSelection): use it
7832 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7834 * CutAndPaste.C (pasteSelection): remove the last next and
7835 previous from this file.
7837 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * CutAndPaste.C (pasteSelection): more clean up, user proper
7840 ParagraphList functions for pasteing.
7842 * ParagraphList.C (insert): new function, three arg insert
7844 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7846 * ParagraphList.C (insert): new function, three arg insert
7848 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7851 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7853 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7855 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7857 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7859 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7861 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7862 (copySelection): clean up a bit.
7863 (pasteSelection): use make_pair
7865 * ParagraphList.C (ParagraphList): implement copy constructor
7866 (operator=): implement, base on copy constructor.
7869 * paragraph.C (erase): return a bool
7871 * paragraph_pimpl.C (erasePos): remove function, move contents...
7872 (erase): ... here. Return a bool.
7873 (erase): call erase instead of erasePos.
7875 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7877 * ParagraphList.h: define PitPosPair
7878 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7879 ParagraphList, fix a bug on pasting multiple pars
7880 * text2.C: change interface to C&P
7882 2003-04-30 André Pönitz <poenitz@gmx.net>
7884 * undo_func.C: revert part of yesterday's patch 2
7886 2003-04-30 John Levon <levon@movementarian.org>
7888 * LColor.C: s/tabular/table/
7890 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7892 * text3.C (dispatch): do not convert iterator -> pointer
7893 * undo_funcs.C (setCursorParUndo): ditto
7894 * text_funcs.C (transposeChars): ditto
7896 * text2.C (setLayout): ws changes only
7898 * text.C (breakParagraph): do not convert iterator -> pointer
7900 (acceptChange): ditto
7901 (rejectChange): ditto
7906 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7909 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7911 * text3.C (gotoInset): YABG (yet another bad getChar)
7913 2003-04-29 André Pönitz <poenitz@gmx.net>
7915 * paragraph.h: make operator= private unimplemented as long as
7918 * ParagraphList.C: whitespace
7921 * paragraph_pimpl.[Ch]:
7922 * paragraph_funcs.C:
7924 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7927 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7929 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7931 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7932 * paragraph.[Ch] (erase):
7933 * paragraph_pimpl.[Ch] (erase): change return type and value
7934 * text2.C (cutSelection): some rework
7936 2003-04-28 John Levon <levon@movementarian.org>
7938 * bufferlist.C: changes for unsaved changes dialog
7940 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7942 * bufferlist.C (newFile): set language (messages_) for new
7945 * buffer.C (readFile): ws changes only.
7947 2003-04-28 André Pönitz <poenitz@gmx.net>
7952 * BufferView_pimpl.C:
7953 * BufferView.C: getParFromID related ParagraphList::iterator changes
7955 2003-04-28 André Pönitz <poenitz@gmx.net>
7957 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7960 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7962 * messages.C: remove one more localedir class variable.
7964 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7966 * messages.C (getLocaleDir): singleton generation function
7968 (Messages): add a default constructor.
7970 * main.C (main): do not setup localedir here, do not call
7973 * gettext.C (_): use it.
7974 (gettext_init): delete funciton
7976 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7978 * gettext.C (getLyXMessages): new singleton generating function.
7980 * buffer.C (updateDocLang): adjust
7982 * Makefile.am (messages.o): add target
7983 (main.o): remove target
7985 2003-04-27 John Levon <levon@movementarian.org>
7990 * lyxvc.C: specify cancel button in Alert::prompt
7992 2003-04-26 John Levon <levon@movementarian.org>
7997 * LyXAction.C: add LFUN_INSET_SETTINGS
7999 * lyxfunc.C: don't enable tabular-feature when there's
8000 just any locking inset
8002 2003-04-26 John Levon <levon@movementarian.org>
8004 * bufferlist.C: re-add Cancel to buffer close question
8006 * lyxfunc.C: fix import UI a bit
8008 2003-04-25 John Levon <levon@movementarian.org>
8010 * gettext.C: remove the broken asserts for now
8012 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * messages.C: make case where setlocale cannot comply work better.
8016 * buffer.C (updateDocLang): new function
8017 (changeLanguage): use it
8020 * text2.C (setCounter): use B_ a bit.
8022 * lyxlayout.C (Read): be sure to trim the label strings.
8024 * messages.C (Messages): fix typo in comment
8026 * buffer.C (readFile): set message_ after file is loaded.
8027 (makeDocBookFile): remove double return
8028 (changeLanguage): reset message_ upon language change.
8029 (B_): new func, use this to get translated buffer strings.
8031 * main.C: add myself and Jean Marc as authors.
8033 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8035 * messages.[hC]: pimplify Messages, and three different pimpls to be
8036 used in different circumstances.
8038 * gettext.[Ch]: change for use with new message code.
8040 2003-04-24 André Pönitz <poenitz@gmx.net>
8042 * factory.C: support for eqref
8044 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8046 * messages.[Ch]: add missing char
8048 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8050 * messages.[Ch]: New files
8052 2003-04-18 John Levon <levon@movementarian.org>
8056 * BufferView_pimpl.C:
8060 * text2.C: remove layout-copy/paste (bug 778)
8062 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8064 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8066 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8068 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8069 if they succeed. Act accordingly.
8071 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8073 * text2.C (setCharFont): adjust
8074 (setCounter): adjust
8075 (insertStringAsLines): adjust
8077 * text.C (leftMargin): adjust
8078 (setHeightOfRow): adjust
8080 * rowpainter.C (paintFirst): adjust
8083 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8085 (isFirstInSequence): ditto
8086 (getEndLabel): ditto
8089 * paragraph.C (getParLanguage): comment out some hard stuff.
8091 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8093 (simpleDocBookOnePar): ditto
8094 (makeDocBookFile): use ParagraphList::iterator
8096 * CutAndPaste.C (pasteSelection): adjust
8098 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8100 * text2.C (getFont): adjust
8101 (getLayoutFont): adjust
8102 (getLabelFont): adjust
8104 * paragraph_funcs.C (TeXOnePar): adjust
8106 * buffer.C (simpleLinuxDocOnePar): adjust
8107 (simpleDocBookOnePar): adjust
8109 * CutAndPaste.C (pasteSelection): adjust
8111 * BufferView.C (getEncoding): adjust
8113 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8115 2003-04-16 John Levon <levon@movementarian.org>
8117 * lyxfind.C: use parlist stuff for search/changes
8119 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8121 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8123 * text2.C (deleteEmptyParagraphMechanism): adjust
8125 * text2.[Ch] (ownerParagraph): delete func (both of them
8127 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8129 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8131 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8133 * ParagraphList.C: prepare for NO_NEXT
8135 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8137 * text2.C (getFont): adjust
8138 (getLayoutFont): adjust
8139 (getLabelFont): adjust
8141 * paragraph.C (getFont): adjust
8142 (getLabelFont): adjust
8143 (getLayoutFont): adjust
8145 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8147 2003-04-15 John Levon <levon@movementarian.org>
8151 * lyx_main.C: handle Include in .ui files
8153 2003-04-15 John Levon <levon@movementarian.org>
8155 * MenuBackend.C: make the doc files length shorter
8158 * ToolbarBackend.C: handle toolbar placement flags,
8161 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8163 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8166 * paragraph_funcs.C (TeXOnePar): adjust
8168 * paragraph.C (getLabelFont): add outerfont arg, adjust
8169 (getLayoutFont): ditto
8170 (simpleTeXOnePar): adjust
8172 * paragraph_pimpl.C (realizeFont): delete func
8174 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8176 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8177 row argument, constify cur argument.
8179 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8181 * text2.C (getFont): adjust
8182 (getLayoutFont): adjust
8183 (getLabelFont): adjust
8185 * paragraph_funcs.C (TeXOnePar): adjust
8186 (outerFont): new func...
8187 (realizeFont): ...moved out from here, changed this to facilitate
8190 * paragraph.C (getFont): take outerfont as arg, adjust
8191 (simpleTeXOnePar): add outerfont arg, adjust
8193 * buffer.C (simpleLinuxDocOnePar): adjust
8194 (simpleDocBookOnePar): adjust
8196 * CutAndPaste.C (pasteSelection): adjust
8198 * BufferView.C (getEncoding): adjust
8200 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8202 * text2.C (setCharFont): adjust
8203 (setCounter): adjust
8205 * text.C (leftMargin): adjust
8206 (setHeightOfRow): adjust
8208 * rowpainter.C (paintFirst): adjust
8211 * paragraph_pimpl.C (realizeFont): adjust
8213 * paragraph.C (isFirstInSequence): move from here...
8214 * paragraph_funcs.C (isFirstInSequence): ...to here
8216 * paragraph.C (outerHook): move from here...
8217 * paragraph_funcs.C (outerHook): ...to here
8219 * paragraph.C (depthHook): move from here...
8220 * paragraph_funcs.C (depthHook): ...to here
8222 * paragraph.C (getEndLabel): move from here...
8223 * paragraph_funcs.C (getEndLabel): ...to here
8225 * text2.C (realizeFont): move from here...
8226 * paragraph_funcs.C (realizeFont): ...to here
8228 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8230 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8232 2003-04-14 Angus Leeming <leeming@lyx.org>
8234 * LColor.[Ch]: scrap LColor mathcursor.
8236 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8238 * lyxlex.[Ch] (text): delete function
8239 * trans.C (Load): adjust
8240 * paragraph_funcs.C (readParToken): adjust
8242 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8244 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8245 vector<char> instead of a char[].
8247 * lyxlex_pimpl.C (getString): adjust
8249 (lex): use getString
8253 * lyxlex.C (text): use pimpl_->getString()
8257 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8259 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8260 (makeFontEntriesLayoutSpecific): temp var for par.size()
8261 (setLayout): temp var for ownerParagraphs().end()
8262 (fullRebreak): temp var for rows().end()
8263 (selectionAsString): temp var for boost::next(startpit), realize
8264 that the while really is a regular for loop.
8265 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8266 setCursor in one place.
8267 (setParagraph): temp vr for ownerParagraphs().end()
8268 (updateCounters): make the while loop a for loop
8269 (cutSelection): temp var for ownerParagraphs().end()
8270 (updateInset): make the do {} while() a regular for loop
8271 (getCursorX): use temp vars
8272 (setCurrentFont): use temp vars
8273 (getColumnNearX): use temp vars
8275 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8277 * text.C (transformChar): use temp var for getChar
8278 (computeBidiTables): use temp var for row->par()
8279 (fill): move temp vars for row->par() and pit->layout() earlier in
8281 (labelFill): use temp var for row->par()
8282 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8283 asc and desc, realize that pit never changes and that firstpit is
8284 just a duplicate and not needed. Exchange rit->par() with pit in a
8286 (breakAgain): use a temp var for boost::next(rit)
8287 (breakAgainOneRow): ditto
8288 (breakParagraph): use a temp var for rows().begin()
8289 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8290 (cursorRightOneWord): use temp var for cursor.par() and
8291 cursor.pos(), remove usage of tmpcursor.
8292 (cursorLeftOneWord): use temp var for cursor.par() and
8293 cursor.pos() only set cur at end of function.
8295 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8297 * text.C, text2.C: exchange all usage of Paragraph::next with
8298 boost::next(ParagraphList::iterator)
8300 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8302 * text2.C (cursorTop): simplify implementation
8303 (cursorBottom): ditto
8304 (setParagraph): use ParagraphList::iterator
8305 (setCurrentFont): adjust
8306 (getColumnNearX): adjust
8307 (cursorRight): adjust
8308 (cursorLeft): remove usage of Paragraph::previous
8309 (cursorUpParagraph): ditto
8310 (deleteEmptyParagraphMechanism): slight cleanup
8312 * text.C (isBoundary): take a Paragraph const & instead of a
8314 (addressBreakPoint): ditto
8315 (leftMargin): remove usage of Paragraph::previous.
8316 (setHeightOfRow): ditto
8317 (cursorLeftOneWord): ditto
8318 (selectNextWordToSpellcheck): ditto
8321 (breakParagraph): remove one usage of Paragraph::next
8322 (redoParagraph): ditto
8323 (acceptChange): ditto
8324 (insertChar): adjust
8325 (rowBreakPoint): adjust
8327 * bufferview_funcs.C (toggleAndShow): adjust
8329 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8331 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8332 methods to access it.
8334 * text.C: Added updateRowPositions to compute all row positions.
8335 Make top_y and getRowNearY() to use the cached y position
8337 2003-04-11 John Levon <levon@movementarian.org>
8339 * text.C (rowBreakPoint): reintroduce the labelEnd
8340 checks, code copied from the row fill stuff. Deep voodoo.
8342 * text.C (fill): add a comment and debugging for the
8345 2003-04-11 John Levon <levon@movementarian.org>
8347 * text.C: make sure fullrow insets get wrapped to the next line,
8348 even when they're in a manual label
8350 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * text2.C (insertParagraph): make it take ParagraphList::iterator
8354 (setLayout): make it return ParagraphList::iterator
8355 (redoParagraphs): ditto
8357 (checkParagraph): ditto
8359 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8361 * text2.C: adjust several funcs.
8362 (realizeFont): take a ParagraphList::iterator as arg.
8363 (getLayoutFont): ditto
8364 (getLabelFont): ditto
8365 (setCharFont): ditto
8367 * text.C: adjust several funcs.
8369 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8371 * text.C (selectNextWordToSpellcheck): don't accidentally
8374 2003-04-10 John Levon <levon@movementarian.org>
8376 * ToolbarBackend.C (getIcon): special handling for
8379 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8381 * text2.C (cursorRight): a getChar assert fixed
8383 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8385 * text2.C (getFont): change to take a ParagraphList::iterator
8386 instead of Paragraph*
8387 Adjust several functions.
8389 * text.C (transformChar): change to take a ParagraphList::iterator
8390 instead of Paragraph*
8391 (singleWidth): ditto
8392 Adjust several functions.
8394 * rowpainter.C: adjust several functions
8395 * rowpainter.h:store a ParagraphList::iterator and not a
8399 2003-04-09 John Levon <levon@movementarian.org>
8404 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8405 and the "help" bits as well
8407 2003-04-09 John Levon <levon@movementarian.org>
8410 * ToolbarBackend.C: allow multiple toolbars
8412 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8414 * undo_funcs.C (setCursorParUndo): adjust
8416 * text_funcs.C (transposeChars): adjust
8418 * text3.C (gotoNextInset): adjust
8421 * text2.C (setLayout): adjust
8422 (changeDepth): adjust
8424 (redoParagraphs): adjust
8425 (selectionAsString): adjust
8426 (setParagraph): adjust
8427 (insertInset): adjust
8428 (cutSelection): adjust
8429 (copySelection): adjust
8430 (pasteSelection): adjust
8431 (insertStringAsLines): adjust
8432 (updateInset): adjust
8433 (setCursor): change to take a ParagraphList::iterator parameter
8434 (setCursorIntern): change to take a ParagraphList::iterator parameter
8435 (setCurrentFont): adjust
8436 (cursorLeft): adjust
8437 (cursorRight): adjust
8438 (deleteEmptyParagraphMechanism): adjust
8440 * text.C (breakParagraph): adjust
8441 (insertChar): adjust
8442 (acceptChange): adjust
8443 (rejectChange): adjust
8444 (selectNextWordToSpellcheck): adjust
8445 (changeCase): adjust
8449 * lyxfind.C (SearchForward): adjust
8450 (SearchBackward): adjust
8451 (nextChange): adjust
8453 * lyxcursor.C (par): adjust
8455 * lyxcursor.h: store a ParagraphList::iterator instead of a
8458 * lyx_cb.C (getPossibleLabel): adjust
8460 * bufferview_funcs.C (toggleAndShow): adjust
8462 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8465 * BufferView.C (removeAutoInsets): adjust
8466 (lockedInsetStoreUndo): adjust
8468 2003-04-09 John Levon <levon@movementarian.org>
8470 * ToolbarBackend.C: try icon without argument
8471 if with argument fails
8473 2003-04-08 John Levon <levon@movementarian.org>
8476 * ToolbarBackend.C: add getIcon(), handle tooltip,
8477 and change from "Icon" to "Item".
8479 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8481 * BufferView.C (lockInset): another bad getchar crunched
8483 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8485 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8488 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8490 * lyxfind.C (searchForward, searchBackwards): bug 782
8492 2003-04-07 John Levon <levon@movementarian.org>
8494 * paragraph.C: remove dead comment
8496 * text.C: remove troublesome depth-fiddling code
8497 in leftMargin() and rightMargin() (bug 1017)
8499 * text.C: fix breaking of rows in nested lists
8502 * text2.C (updateCounters): fix up depth values
8505 2003-04-07 John Levon <levon@movementarian.org>
8507 * BufferView_pimpl.C: clear message when doc finishes resizing,
8508 and after a mouse event
8510 * lyxfunc.C: clear message after exiting inset
8512 2003-04-07 John Levon <levon@movementarian.org>
8514 * bufferview_funcs.C: show math status not outside
8515 status in the statusbar
8517 2003-04-07 John Levon <levon@movementarian.org>
8519 * lyxfunc.C: note status changed after a depth change
8521 2003-04-04 Angus Leeming <leeming@lyx.org>
8523 * LaTeX.h: move AuxInfo operator==, != out of line.
8524 Remove LaTeX virtual destructor; nothing derives from it.
8525 Move operator()() out of public area and rename it startscript().
8526 Change protected for private.
8528 2003-04-04 Angus Leeming <leeming@lyx.org>
8531 * text2.C: remove unneeded #includes.
8533 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8535 * text2.C (dEPM): fix the heigth of the next row
8537 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8539 * text.C: squashed an invalid getChar requester + some ws changes
8541 2003-04-03 John Levon <levon@movementarian.org>
8543 * bufferview_funcs.h:
8544 * bufferview_funcs.C:
8547 * text2.C: make getStatus work for the env depth lfuns
8549 2003-04-03 John Levon <levon@movementarian.org>
8551 * bufferview_funcs.h:
8552 * bufferview_funcs.C:
8555 * text2.C: parlistize decDepth(), by merging it with incDepth()
8557 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8559 * lyxrow.h: store a ParagraphList::iterator instead of a
8560 Paragraph* and adjust other class functions to suit.
8562 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8565 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8567 * text2.C (setCursor): do not anchor to cursor row for the time being
8569 2003-04-02 John Levon <levon@movementarian.org>
8576 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8578 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8580 * paragraph.h: make ParagraphList and ParagraphList::iterator
8581 friends of Paragraph.
8583 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8585 * ParagraphList.C: Use the private next_ and previous_ from
8588 2003-04-01 John Levon <levon@movementarian.org>
8592 * Makefile.am: rename, remove defaults gunk
8595 * MenuBackend.C: remove defaults gunk
8598 * Languages.C: remove defaults gunk
8601 * lyx_main.C: error out if files couldn't be found.
8603 2003-04-02 John Levon <levon@movementarian.org>
8605 * text2.C: make incDepth() use parlist
8607 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8609 * undo_funcs.C (firstUndoParagraph): adjust
8611 * text3.C (gotoInset): adjust
8612 (dispatch): adjust, and rewrite loop.
8614 * text2.C (init): adjust, and rewrite loop.
8615 (redoParagraphs): adjust
8616 (updateInset): adjust, and rewrite loop.
8617 (deleteEmptyParagraphMechanism): adjust
8619 * tabular.C (LyXTabular): adjust
8620 (SetMultiColumn): adjust
8623 * lyxtext.[Ch] (ownerParagraph): delete function
8624 (ownerParagraphs): new function returns a ParagraphList.
8626 * BufferView.C (removeAutoInsets): adjust
8627 (insertErrors): adjust
8628 (setCursorFromRow): adjust
8630 2003-04-01 Angus Leeming <leeming@lyx.org>
8632 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8635 2003-04-02 John Levon <levon@movementarian.org>
8641 * text_funcs.C: make transposeChars a free function
8643 * lyxrow_funcs.C: remove wrong comment
8645 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8648 * rowpainter.C: adjust
8653 * lyxrow_funcs. [Ch]: new files
8655 * lyxrow.[Ch]: remove next and previous pointers
8656 (next,previous): remove accessor functions
8657 (isParEnd): move to lyxrow_funcs
8658 (lastPos): move to lyxrow_funcs
8659 (nextRowIsAllInset): move to lyxrow_funcs
8660 (lastPrintablePos): move to lyxrow_funcs
8661 (numberOfSeparators): move to lyxrow_funcs
8662 (numberOfHfills): move to lyxrow_funcs
8663 (numberOfLabelHfills): move to lyxrow_funcs
8664 (hfillExpansion): move to lyxrow_funcs
8668 * bufferview_funcs.C (toggleAndShow): adjust
8670 * RowList.h: Remove class RowList from file leave just a
8673 * RowList.C: delete file
8675 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8678 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8680 * text3.C (cursorPrevious): adjust
8681 (cursorNext): adjust
8684 * text2.C (redoHeightOfParagraph): adjust
8685 (redoDrawingOfParagraph): adjust
8688 * text.C (breakParagraph): adjust
8689 (insertChar): adjust
8692 * rowpainter.C (RowPainter): adjust
8693 (leftMargin): simplify and adjust
8694 (most rowpainter functions): adjust.
8696 * rowpainter.h: store the row as RowList::iterator not as Row*
8698 * lyxcursor.C (row): taka RowList::iterator as arg
8701 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8704 2003-04-01 Angus Leeming <leeming@lyx.org>
8706 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8707 stuff like bool Bool.
8709 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8711 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8714 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8716 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8719 * lyxtext.h (rows): drop one version and leve a const variant that
8720 returns a RowList::iterator.
8722 2003-03-31 Angus Leeming <leeming@lyx.org>
8724 * text.C (fill): ensure that the signature is the same as that in the
8727 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8729 * text2.C (redoParagraphs): adjust
8730 (updateCounters): adjust
8731 (checkParagraph): adjust
8732 (getColumnNearX): adjust and reformat a bit.
8734 * text.C (top_y): adjust
8736 (leftMargin): adjust
8737 (prepareToPrint): adjust
8739 (getRowNearY): adjust
8741 * lyxtext.h: make rowlist_ mutable.
8743 * RowList.h: add const_iterator
8744 * RowList.C: adjust for RowList::const_iterator.
8746 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8749 2003-03-31 John Levon <levon@movementarian.org>
8752 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8754 * lyx_main.C: set default fonts from using lyx_gui funcs
8756 * exporter.C: pdf_mode moved from lyxrc
8759 * lyxfunc.C: changes from above
8761 2003-03-31 John Levon <levon@movementarian.org>
8763 * lyx_main.C: fix to the last fix
8765 2003-03-31 John Levon <levon@movementarian.org>
8767 * bufferlist.C: "Load original" -> "Load Original"
8773 * format.C: more Alert cleanups
8775 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8777 * text2.C (removeParagraph): make it take a RowList::iterator as
8779 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8780 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8782 * text.C (anchor_row): make it take a RowList::iterator as arg,
8784 (computeBidiTables): make it take a const reference to Row instead
8785 of Row pointer, adjust.
8786 (leftMargin): make it take a RowList::iterator as arg, adjust.
8787 (rowBreakPoint): adjust
8788 (breakAgainOneRow): make it take a RowList::iterator as arg,
8790 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8792 * bufferview_funcs.C (toggleAndShow): adjust
8794 2003-03-30 John Levon <levon@movementarian.org>
8798 * boost-inst.C: moved to support
8800 * several files: changes as a result
8802 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8804 * text2.C (LyXText): adjust.
8806 (removeRow): make it take a RowList::iterator as arg, adjust.
8807 (fullRebreak): adjust
8808 (deleteEmptyParagraphMechanism): adjust
8809 (clearPaint): adjust
8812 * text.C (top_y): adjust
8813 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8814 (breakAgain): make it take a RowList::iterator as arg, adjust.
8815 (breakParagraph): adjust
8816 (insertChar): adjust
8819 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8820 need_break_row, and refresh_row.
8822 * text3.C (dispatch): adjust
8824 * text2.C (checkParagraph): adjust
8826 (setCursorFromCoordinates): adjust
8828 * text.C (top_y): adjust
8830 (getRow): make it return a RowList::iterator, adjust
8831 (getRowNearY): make it return a RowList::iterator, adjust
8833 * text2.C (init): adjust
8834 (insertRow): remove function
8835 (insertParagraph): adjust
8836 (redoParagraphs): adjust
8837 (fullRebreak): adjust
8838 (updateCounters): adjust
8840 * text.C (top_y): rewrite to use RowList iterators.
8842 (setHeightOfRow): rewrite to sue RowList iterators.
8843 (appendParagraph): adjust
8844 (breakAgain): adjust
8845 (breakAgainOneRow): adjust
8846 (breakParagraph): adjust
8848 (getRowNearY): adjust, and remove commented code.
8850 * lyxtext.h (firstRow): delete function
8851 (lastRow): delete function
8852 (rows): new function (const and non-const versions.)
8853 (insertRow): delete function
8855 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8857 2003-03-29 John Levon <levon@movementarian.org>
8859 * BufferView_pimpl.C: always update scrollbar top
8860 because pasting text when we're anchored could mean we
8861 miss an update altogether
8863 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8865 * text2.C (init): use rowlist_.end() and not 0.
8866 (insertRow): change to take a RowList::iterator as arg, adjust
8868 (insertParagraph): change to take a RowList::iterator as arg,
8870 (redoParagraphs): remove some debug msgs.
8872 * text.C (appendParagraph): change to take a RowList::iterator
8873 arg, adjust for this.
8874 (breakAgain): add an assert
8875 (breakAgainOneRow): ditto
8877 2003-03-29 John Levon <levon@movementarian.org>
8879 * text2.C: do not clear selection after inc/decDepth
8882 2003-03-29 John Levon <levon@movementarian.org>
8885 * buffer.C: fix broken strerrors according to Lars
8887 2003-03-29 John Levon <levon@movementarian.org>
8889 * converters.C: more Alert cleanups
8891 2003-03-29 John Levon <levon@movementarian.org>
8893 * bufferview_funcs.C: remove pointless Alert
8895 * buffer.C: fix confusing error message when
8896 a template is chmoded 000
8898 2003-03-29 John Levon <levon@movementarian.org>
8902 * BufferView_pimpl.C: Alert fixes
8906 * tabular-old.C: remove unused table compat reading
8908 2003-03-29 John Levon <levon@movementarian.org>
8913 * lyx_cb.C: more Alert cleanups
8915 * lyxfunc.C: don't allow chktex if not latex document
8917 2003-03-29 John Levon <levon@movementarian.org>
8921 * buffer.C: warnings pushed down from support/,
8924 2003-03-29 John Levon <levon@movementarian.org>
8926 * lyxfunc.C: safety check for C-r (revert)
8928 2003-03-29 John Levon <levon@movementarian.org>
8931 * bufferlist.C: several UI fixes using Alert::prompt.
8932 Fix the pointless looping quit code. Fix stupid revert
8937 * lyx_cb.C: use Alert::prompt
8939 * lyx_main.C: remove a silly question
8941 * lyxfunc.C: remove a couple of silly questions,
8944 2003-03-28 John Levon <levon@movementarian.org>
8946 * text2.C: fix bug 974 (End on empty par)
8948 2003-03-28 John Levon <levon@movementarian.org>
8950 * BufferView_pimpl.C:
8952 * lfuns.h: remove do-nothing math greek lfuns
8954 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8956 * lyxgluelength.h (isValidGlueLength): add default arg on
8957 parameter 2. Remove default arg from friend in class.
8959 * lyxlength.h (isValidLength): add default arg on parameter 2.
8960 Remove default arg from friend in class.
8962 * text2.C (LyXText): adjust, initialize refresh_row.
8966 (insertParagraph): adjst
8967 (redoParagraphs): adjust
8968 (fullRebreak): adjust
8969 (updateCounters): adjust
8970 (deleteEmptyParagraphMechanism): first attempt at fixing a
8973 * text.C (top_y): adjust
8974 (setHeightOfRow): adjust
8976 (getRowNearY): adjust
8978 * lyxtext.h: include RowList.h
8979 (~LyXText): not needed anymore, deleted.
8980 (firstRow): modify for RowList
8981 (lastRow): new function
8982 Delete firstrow and lastrow class variables, add a Rowlist
8983 rowlist_ class variable.
8985 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8988 * RowList.C (insert): fix case where it == begin().
8990 2003-03-26 Angus Leeming <leeming@lyx.org>
8992 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8993 the thesaurus dialog.
8995 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8997 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8999 * RowList.[Ch]: new files
9001 * ParagraphList.C (erase): handle the case where it == begin
9004 2003-03-25 John Levon <levon@movementarian.org>
9008 * aspell.C: add new aspell support
9011 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9014 2003-03-25 Angus Leeming <leeming@lyx.org>
9017 * LyXAction.C (init): new LFUN_INSET_INSERT.
9019 * BufferView_pimpl.C (dispatch): split out part of the
9020 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9022 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9025 2003-03-25 Angus Leeming <leeming@lyx.org>
9027 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9029 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9032 * text3.C: remove useless row->height(0)
9034 2003-03-25 John Levon <levon@movementarian.org>
9038 * text3.C: rename the refreshing stuff to better names
9040 2003-03-24 John Levon <levon@movementarian.org>
9042 * BufferView_pimpl.h:
9043 * BufferView_pimpl.C: update layout choice on a mouse
9046 2003-03-23 John Levon <levon@movementarian.org>
9048 * Makefile.am: fix commandtags.h reference
9050 2003-03-22 John Levon <levon@movementarian.org>
9052 * BufferView_pimpl.C:
9057 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9059 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9062 * text.C: take the rtl methods out of line
9064 2003-03-21 André Pönitz <poenitz@gmx.net>
9066 * metricsinfo.[Ch]: new files containing structures to be passed around
9067 during the two-phase-drawing...
9069 2003-03-21 André Pönitz <poenitz@gmx.net>
9071 * lyxtextclass.C: read 'environment' tag.
9073 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9075 * text2.C (removeRow): fix bug 964
9077 2003-03-20 John Levon <levon@movementarian.org>
9081 * text2.C: paint cleanups. Inset::update() dropped font
9084 2003-03-19 John Levon <levon@movementarian.org>
9086 * lyxfunc.C: only fitcursor/markDirty if available()
9088 2003-03-19 John Levon <levon@movementarian.org>
9090 * commandtags.h: rename to ...
9092 * lfuns.h: ... this, and renumber / cleanup
9094 2003-03-19 John Levon <levon@movementarian.org>
9096 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9097 fit the cursor after an lfun
9101 * BufferView_pimpl.h:
9102 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9104 * LyXAction.C: layout-character should have ReadOnly
9106 * ParagraphParameters.C:
9108 * bufferview_funcs.C:
9115 * undo_funcs.C: changes from above
9117 2003-03-18 John Levon <levon@movementarian.org>
9119 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9120 remove it from update()
9122 * lyxfunc.C: update layout choice after an lfun
9124 * text3.C: remove extra updateLayoutChoice()s
9126 2003-03-18 John Levon <levon@movementarian.org>
9128 * text.C: top_y change means full repaint, fix
9129 a drawing bug with cursor movement
9131 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9135 * text2.C: anchor row on setCursor
9137 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9139 * lyxtext.h: remove almost all mutable keywords
9142 * text3.C: remove const keywords accordingly
9144 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9146 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9148 (TeXEnvironment): ditto
9151 2003-03-17 John Levon <levon@movementarian.org>
9153 * text.C (rowBreakPoint): remove attempt to fix displayed
9154 math insets inside a manual label
9156 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9158 * lyxtext.h: remove BufferView* as first arg from almost all class
9160 * other files: adjust.
9162 2003-03-17 John Levon <levon@movementarian.org>
9166 * text2.C: more paint cleanups
9168 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9171 * rowpainter.C: remove "smart" background painting code
9173 2003-03-16 John Levon <levon@movementarian.org>
9178 * text3.C: add helper functions for setting refresh_row/y
9180 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9182 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9183 newline inset which *can* get inserted in the pass_thru layouts.
9184 This is primarily for literate documents.
9186 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9188 * buffer.C: increment LYX_FORMAT to 223
9190 2003-03-14 André Pönitz <poenitz@gmx.net>
9192 * textclass.h: prepare for environment handling, ws changes
9193 * lyxlayout.C: read latexheader and latexfooter tags
9195 2003-03-14 John Levon <levon@movementarian.org>
9197 * text2.C: rewrite ::status() a bit
9199 2003-03-13 John Levon <levon@movementarian.org>
9201 * lyxtext.h: add some docs
9203 2003-03-13 John Levon <levon@movementarian.org>
9208 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9210 2003-03-13 John Levon <levon@movementarian.org>
9212 * text3.C: fix appendix redrawing
9214 2003-03-13 John Levon <levon@movementarian.org>
9216 * text.C (setHeightOfRow):
9218 * rowpainter.C: make appendix mark have the text
9219 "Appendix" so the user knows what it is
9222 * LColor.C: s/appendixline/appendix/ from above
9224 2003-03-13 John Levon <levon@movementarian.org>
9226 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9228 * text.C: fix a getChar(pos) bug properly
9230 2003-03-13 Angus Leeming <leeming@lyx.org>
9233 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9234 Probably only temporary. Let's see how things pan out.
9236 * BufferView.C (unlockInset):
9237 * BufferView_pimpl.C (fitCursor):
9238 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9240 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9241 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9243 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9244 new functions that convert ParagraphParameters to and from a string.
9246 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9247 BufferView::Pimpl's dispatch.
9248 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9250 2003-03-13 André Pönitz <poenitz@gmx.net>
9254 * factory.C: make it aware of InsetEnv
9256 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9258 * text2.C (setCursor): never ask for one past last
9259 (setCursor): add some debugging messages.
9261 * text.C (singleWidth): never ask for one past last
9262 (singleWidth): ditto
9264 (rightMargin): ditto
9265 (rowBreakPoint): ditto
9266 (setHeightOfRow): ditto
9267 (prepareToPrint): ditto
9269 * rowpainter.C (paintBackground): never ask for one past last
9270 (paintText): never ask for one past last
9272 * paragraph_pimpl.C (getChar): make the assert stricter, never
9273 allow the one past last pos to be taken
9275 * paragraph.C (getChar): ws changes only
9277 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9278 (numberOfSeparators): ditto
9279 (numberOfHfills): ditto
9281 2003-03-12 John Levon <levon@movementarian.org>
9287 * paragraph_funcs.C: fix per-buffer authorlists
9289 2003-03-12 John Levon <levon@movementarian.org>
9291 * text.C: fix newline in right address
9293 2003-03-12 Angus Leeming <leeming@lyx.org>
9295 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9296 duplicate those in LyXFunc::dispatch.
9300 * ToolbarDefaults.C:
9301 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9302 Add LFUN_FONTFREE_UPDATE.
9304 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9305 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9307 * bufferview_func.[Ch]: several new functions to facilliate
9308 transfer of data to and from the character dialog.
9310 2003-03-12 John Levon <levon@movementarian.org>
9315 * paragraph_funcs.C:
9316 * paragraph_pimpl.C:
9320 * text3.C: remove META_NEWLINE in favour of an inset
9323 * rowpainter.C: remove paintNewline (done by inset)
9325 2003-03-12 John Levon <levon@movementarian.org>
9327 * paragraph_pimpl.C: complain about bad getChar()s
9328 for a while at least
9330 2003-03-12 John Levon <levon@movementarian.org>
9333 * buffer.C: move paragraph read into a separate function,
9334 a little renaming to reflect that.
9337 * bufferparams.C: remove the author_ids map, not necessary now
9340 * factory.C: moved Buffer::readInset to here
9342 * paragraph_funcs.h:
9343 * paragraph_funcs.C: readParagraph free function moved from
9346 * tabular.C: name change
9348 2003-03-12 John Levon <levon@movementarian.org>
9351 * ParagraphParameters.C: move par params input to
9354 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9355 behave like a normal read from the stream wrt reading
9356 a line vs. a \\token
9358 2003-03-12 John Levon <levon@movementarian.org>
9361 * ParagraphParameters.h:
9362 * ParagraphParameters.C: move output code to a
9365 2003-03-12 John Levon <levon@movementarian.org>
9367 * BufferView.C (insertLyXFile):
9370 * tabular.C: use a parlist iterator for creating the
9373 2003-03-12 John Levon <levon@movementarian.org>
9375 * buffer.C: make current_change static local not
9378 2003-03-12 John Levon <levon@movementarian.org>
9380 * buffer.C: fix insertStringAsLines for change tracking
9382 2003-03-12 John Levon <levon@movementarian.org>
9389 * bufferparams.C: move author list into params. Rename some
9390 functions. Move the header reading into a separate token
9391 loop. Move the header token reading into BufferParams.
9393 2003-03-12 John Levon <levon@movementarian.org>
9395 * changes.C: put debug inside lyxerr.debugging() checks
9397 2003-03-11 André Pönitz <poenitz@gmx.net>
9399 * factory.C: make it aware of InsetHFill
9401 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9403 * buffer.C (latexParagraphs): move function from here...
9404 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9407 2003-03-10 Angus Leeming <leeming@lyx.org>
9409 * LyXAction.C (init): fix bug in poplating array with multiple entries
9410 with the same LFUN (spotted by JMarc).
9412 2003-03-10 John Levon <levon@movementarian.org>
9415 * text2.C: move getColumnNearX() near its
9418 2003-03-10 John Levon <levon@movementarian.org>
9420 * text.C: fix break before a minipage
9422 2003-03-10 John Levon <levon@movementarian.org>
9424 * text.C: fix the last commit
9426 2003-03-09 John Levon <levon@movementarian.org>
9430 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9431 bug 365 (don't break before insets unless needed). Don't
9432 return a value > last under any circumstances.
9434 2003-03-09 Angus Leeming <leeming@lyx.org>
9436 * BufferView_pimpl.C (trackChanges, dispatch): call
9437 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9439 2003-03-09 Angus Leeming <leeming@lyx.org>
9441 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9442 than Dialogs::showAboutlyx().
9444 2003-03-09 Angus Leeming <leeming@lyx.org>
9446 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9447 than Dialogs::showTabularCreate().
9449 2003-03-09 John Levon <levon@movementarian.org>
9453 * text2.C: 3rd arg to nextBreakPoint was always the same.
9456 2003-03-08 John Levon <levon@movementarian.org>
9463 * text2.C: Remove the "main" bit from the "main body"
9466 2003-03-08 John Levon <levon@movementarian.org>
9468 * text.C (leftMargin): The left margin of an empty
9469 manual label paragraph should not include the label width
9472 * text.C (prepareToPrint): don't attempt to measure hfills
9473 for empty manual label paragraphs - the answer should be 0
9475 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9477 * CutAndPaste.C: remove commented code and reindent.
9479 2003-03-08 John Levon <levon@movementarian.org>
9482 * lyxfunc.C: move reloadBuffer()
9485 * BufferView.C: to here
9487 * lyxvc.C: add comment
9490 * vc-backend.C: call bv->reload() to avoid
9491 getStatus() check on MENURELOAD
9493 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9495 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9496 to an old format .dep file.
9498 2003-03-07 Angus Leeming <leeming@lyx.org>
9500 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9501 when the LFUN_MOUSE_RELEASE should have been handled by
9502 inset->localDispatch.
9504 2003-03-07 Angus Leeming <leeming@lyx.org>
9506 * BufferView_pimpl.C (dispatch):
9507 * LyXAction.C (init):
9508 * ToolbarDefaults.C (init):
9510 * lyxfunc.C (getStatus):
9511 remove LFUN_INSET_GRAPHICS.
9513 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9515 2003-03-07 Angus Leeming <leeming@lyx.org>
9518 * LyXAction.C (init):
9519 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9521 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9524 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9526 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9527 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9529 2003-03-07 Angus Leeming <leeming@lyx.org>
9531 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9534 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9536 * ParagraphList.C (front): new function
9539 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9541 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9542 and top_row_offset_. removed var first_y.
9544 * text2.C (LyXText, removeRow):
9546 * BufferView_pimpl.C:
9547 use these methods instead of using first_y
9549 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9551 * text2.C (pasteSelection): adjust for checkPastePossible
9553 * CutAndPaste.C: remove Paragraph * buf and replace with
9554 ParagraphList paragraphs.
9555 (DeleteBuffer): delete
9556 (cutSelection): change the tc type to textclass_type
9557 (copySelection): change the tc type to textclass_type
9558 (copySelection): adjust for ParagraphList
9559 (pasteSelection): change the tc type to textclass_type
9560 (pasteSelection): adjust for Paragraphlist
9561 (nrOfParagraphs): simplify for ParagraphList
9562 (checkPastePossible): simplify for ParagraphList
9563 (checkPastePossible): remove unused arg
9565 * ParagraphList.C (insert): handle the case where there are no
9568 * CutAndPaste.h: make CutAndPaste a namespace.
9570 * text3.C (dispatch): adjust
9572 * text.C (breakParagraph): add a ParagraphList as arg
9574 * paragraph_funcs.C (breakParagraph): change to take a
9575 BufferParams and a ParagraphList as args.
9576 (breakParagraphConservative): ditto
9577 (mergeParagraph): ditto
9578 (TeXDeeper): add a ParagraphList arg
9579 (TeXEnvironment): ditto
9582 * buffer.C (readLyXformat2): adjust
9583 (insertStringAsLines): adjust
9584 (latexParagraphs): adjust
9586 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9587 (cutSelection): adjust
9588 (pasteSelection): adjust
9590 * BufferView_pimpl.C (insertInset): adjust
9592 2003-03-05 Angus Leeming <leeming@lyx.org>
9595 * LyXAction.C (init):
9596 * BufferView_pimpl.C (dispatch):
9597 * lyxfunc.C (getStatus):
9598 remove LFUN_CHILD_INSERT.
9600 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9602 2003-03-05 Angus Leeming <leeming@lyx.org>
9605 * LyXAction.C (init):
9606 * src/factory.C (createInset):
9607 * lyxfunc.C (getStatus):
9608 * text3.C (dispatch):
9609 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9611 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9613 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9615 * ParagraphList.C (insert): handle insert right before end()
9616 (erase): fix cases where it can be first or last paragraph.
9618 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9620 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9621 Paragraph::next and Paragraph::previous
9624 * text.C (breakParagraph): adjust
9626 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9627 BufferParams& as arg.
9628 (breakParagraph): use ParagraphList::insert
9629 (breakParagraphConservative): take a Buffer* instead of a
9630 BufferParams& as arg.
9631 (breakParagraphConservative): use ParagraphList::insert.
9633 * buffer.C (insertStringAsLines): un-const it
9634 (insertStringAsLines): adjust
9636 * ParagraphList.C (insert): new function
9638 * CutAndPaste.C (pasteSelection): adjust
9640 * text.C (backspace): adjust
9642 * tabular.C (SetMultiColumn): adjust
9644 * CutAndPaste.C (cutSelection): adjust
9645 (pasteSelection): adjust
9647 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9648 Buffer const * as arg
9650 * ParagraphList.C (erase): new function
9651 * paragraph_funcs.C (mergeParagraph): use it
9652 (mergeParagraph): make it take a Buffer* instead of a
9653 BufferParams* as arg
9655 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9657 (breakParagraphConservative): ditto
9659 * paragraph.h: remove the breakParagraph friend
9661 * paragraph.C (eraseIntern): new function
9662 (setChange): new function
9664 * paragraph_funcs.C (mergeParagraph): make it take a
9665 ParagraphList::iterator instead of a Paragraph *, adjust
9668 * paragraph.h: move an #endif so that the change tracking stuff
9669 also works in the NO_NEXT case.
9671 2003-03-04 Angus Leeming <leeming@lyx.org>
9674 * LyXAction.C: new LFUN_INSET_MODIFY.
9676 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9677 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9679 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9681 * several files: ws changes only
9683 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9684 (TeXEnvironment): ditto
9687 * buffer.C (makeLaTeXFile): adjust
9688 (latexParagraphs): make it take ParagraphList::iterator as args
9690 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9692 * buffer.C (latexParagraphs): adjust
9694 * paragraph.C (TeXOnePar): move function...
9695 (optArgInset): move function...
9696 (TeXEnvironment): move function...
9697 * paragraph_pimpl.C (TeXDeeper): move function...
9698 * paragraph_funcs.C: ...here
9700 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9702 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9704 * buffer.C (readInset): remove compability code for old Figure and
9707 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9709 * buffer.C: ws changes
9712 * BufferView_pimpl.C: ditto
9715 * bufferlist.h: ditto
9719 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9721 * converter.[Ch]: split into itself +
9724 * Makefile.am: += graph.[Ch] + format.[Ch]
9731 * lyxrc.C: added #include "format.h"
9733 2003-02-27 Angus Leeming <leeming@lyx.org>
9735 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9738 * factory.C (createInset): add "label" to the factory.
9740 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9741 string and do no more.
9743 2003-02-27 Angus Leeming <leeming@lyx.org>
9746 * LyXAction.C (init):
9747 * factory.C (createInset):
9748 * BufferView_pimpl.C (dispatch):
9749 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9751 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9753 * lyxfunc.C (dispatch):
9754 * text3.C (dispatch): pass name to params2string.
9756 2003-02-26 Angus Leeming <leeming@lyx.org>
9758 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9760 Rearrange the ~includes. Strip out the unnecessary ones.
9762 * factory.C (createInset): reformat.
9763 create new insets for the various LFUN_XYZ_APPLY lfuns.
9765 2003-02-26 John Levon <levon@movementarian.org>
9768 * lyxrow.C: add isParStart,isParEnd helpers
9770 * paragraph.h: make isInserted/DeletedText take refs
9772 * paragraph_funcs.h:
9773 * paragraph_funcs.C: remove #if 0'd code
9778 * text.C: use lyxrow helpers above.
9779 Move draw and paint routines to RowPainter.
9780 Make several methods use refs not pointers.
9781 Make backgroundColor() const.
9782 Add markChangeInDraw(), isInInset().
9783 Merge changeRegionCase into changeCase.
9784 Make workWidth() shouldn't-happen code into an Assert.
9787 * rowpainter.C: new class for painting a row.
9790 * vspace.C: make inPixels take a ref
9792 2003-02-26 Angus Leeming <leeming@lyx.org>
9794 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9797 2003-02-25 John Levon <levon@movementarian.org>
9799 * ispell.C: give the forked command a more accurate name
9801 2003-02-22 John Levon <levon@movementarian.org>
9804 * toc.C: make TocItem store an id not a Paragraph *
9807 2003-02-21 Angus Leeming <leeming@lyx.org>
9809 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9810 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9811 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9812 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9813 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9814 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9816 * BufferView_pimpl.C (dispatch):
9817 * LyXAction.C (init):
9818 * factory.C (createInset):
9819 * lyxfunc.C (getStatus, dispatch):
9820 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9822 2003-02-21 Angus Leeming <leeming@lyx.org>
9824 * BufferView_pimpl.C (MenuInsertLyXFile):
9825 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9826 * lyxfunc.C (menuNew, open, doImport):
9827 no longer pass a LyXView & to fileDlg.
9829 2003-02-21 Angus Leeming <leeming@lyx.org>
9831 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9832 * LyXAction.C: change, BIBKEY to BIBITEM.
9833 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9834 Change InsetBibKey to InsetBibitem.
9835 Change BIBKEY_CODE to BIBITEM_CODE.
9836 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9837 * factory.C: replace insetbib.h with insetbibitem.h.
9838 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9839 * paragraph.C: replace insetbib.h with insetbibitem.h.
9840 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9841 Change bibkey() to bibitem().
9842 * text.C: remove insetbib.h.
9843 * text2.C: replace insetbib.h with insetbibitem.h.
9844 change bibkey() to bibitem().
9845 * text3.C: remove insetbib.h.
9846 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9848 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9850 * lyxrc.C (output): enclose user email in quotes (in case there are
9853 2003-02-18 John Levon <levon@movementarian.org>
9855 * buffer.h: add std::
9857 2003-02-17 John Levon <levon@movementarian.org>
9863 * pspell.C: reworking. Especially in ispell, a large
9864 number of clean ups and bug fixes.
9866 * lyxfunc.C: fix revert to behave sensibly
9868 2003-02-17 André Pönitz <poenitz@gmx.net>
9871 * commandtags.h: new LFUN_INSERT_BIBKEY
9881 * paragraph_func.C: remove special bibkey handling
9883 2003-02-17 John Levon <levon@movementarian.org>
9885 * text.C (Delete): fix case where delete at the end of
9886 the very first paragraph would not merge the pars
9888 2003-02-17 John Levon <levon@movementarian.org>
9890 * lyxrow.C: fix lastPrintablePos()
9892 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9894 * bufferparams.C (writeLaTeX): add a std:here
9896 * buffer.C: and remove a using directive there
9898 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9900 * buffer.C (makeLaTeXFile): move the code that generates the
9903 * bufferparams.C (writeLaTeX): ... in this new method
9905 * LaTeXFeatures.C (getEncodingSet): make const
9906 (getLanguages): make const
9908 * MenuBackend.C (binding): returns the binding associated to this
9910 (add): sets the status of each item by calling getStatus. Adds
9912 (read): add support for OptSubMenu
9913 (expand): remove extra separator at the end of expanded menu
9915 2003-02-15 John Levon <levon@movementarian.org>
9918 * BufferView_pimpl.C:
9920 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9921 inset code that had no actual effect. Remove unneeded status
9924 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9926 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9929 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9931 * text.C (drawLengthMarker): also draw an arrow marker for
9932 symbolic lengths (medskip...)
9934 2003-02-14 John Levon <levon@movementarian.org>
9937 * tabular.C: better method names
9939 2003-02-14 John Levon <levon@movementarian.org>
9941 * BufferView_pimpl.C:
9946 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9947 it's a more accurate name. Remove some pointless uses.
9949 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9951 * text2.C (LyXText): change order of initilizers to shut off
9954 2003-02-14 John Levon <levon@movementarian.org>
9956 * buffer.C: use ParIterator for getParFromID()
9960 * paragraph_pimpl.h:
9961 * paragraph_pimpl.C: remove unused getParFromID()
9963 2003-02-14 John Levon <levon@movementarian.org>
9965 * buffer.C: remove some very old #if 0'd parse code
9967 2003-02-13 John Levon <levon@movementarian.org>
9971 * text2.C: move hfillExpansion(), numberOfSeparators(),
9972 rowLast(), rowLastPrintable(), numberofHfills(),
9973 numberOfLabelHfills() ...
9976 * lyxrow.C: ... to member functions here.
9981 * text.C: remove LyXText::beginningOfMainBody(), and call
9982 p->beginningOfMainBody() directly. Move the check for
9983 LABEL_MANUAL into the latter.
9990 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9996 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9997 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9999 2003-02-13 John Levon <levon@movementarian.org>
10001 * CutAndPaste.C: remove debug
10003 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10005 * paragraph.C (asString): remove two unused variables
10007 * lyxtextclass.C (readTitleType):
10009 (LyXTextClass): handle new members titletype_ and titlename_
10011 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10013 2003-02-09 John Levon <levon@movementarian.org>
10016 * buffer.C: replace hand-coded list with a map for the dep clean
10018 2003-02-08 John Levon <levon@movementarian.org>
10020 * LaTeX.C: consolidate code into showRunMessage() helper
10022 2003-02-08 John Levon <levon@movementarian.org>
10027 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10028 and pass the size in explicitly
10030 * BufferView_pimpl.h:
10031 * BufferView_pimpl.C:
10033 * BufferView.C: add getCurrentChange()
10035 * BufferView_pimpl.h:
10036 * BufferView_pimpl.C: handle change lfuns
10038 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10039 for changes. Mark pasted paragraphs as new.
10041 * support/lyxtime.h:
10042 * support/lyxtime.C:
10043 * DepTable.C: abstract time_t as lyx::time_type
10046 * LColor.C: add colours for new text, deleted text, changebars
10048 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10049 package use "usenames" option.
10053 * LyXAction.C: add change lfuns
10057 * author.C: author handling
10060 * buffer.C: add a per-buffer author list, with first entry as
10061 current author. Handle new .lyx tokens for change tracking. Output
10062 author list to .lyx file. Output dvipost stuff to .tex preamble.
10063 Bump lyx format to 222.
10066 * bufferlist.C: add setCurrentAuthor() to reset current author details
10070 * bufferparams.C: add param for tracking
10072 * bufferview_funcs.C: output change info in minibuffer
10076 * changes.C: add change-tracking structure
10079 * debug.C: add CHANGES debug flag
10082 * lyxfind.C: add code for finding the next change piece
10085 * lyxrc.C: add user_name and user_email
10088 * lyxrow.C: add a metric for the top of the text line
10091 * text.C: implement accept/rejectChange()
10094 * text.C: paint changebars. Paint new/deleted text in the chosen
10095 colours. Strike through deleted text.
10099 * paragraph_pimpl.h:
10100 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10101 in the current change to the insert functions. Rework erase to
10102 mark text as deleted, adding an eraseIntern() and a range-based
10103 erase(). Implement per-paragraph change lookup and
10106 * paragraph_funcs.C: Fixup paste for change tracking.
10108 * tabular.C: mark added row/columns as new.
10110 * text.C: fix rowLast() to never return -1. Don't allow
10111 spellchecking of deleted text. Track transpose changes. Don't
10112 allow paragraph break or merge where appropriate.
10114 * text2.C: leave cursor at end of selection after a cut.
10116 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10118 * text.C (getLengthMarkerHeight):
10119 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10120 visible on screen too.
10122 2003-02-07 John Levon <levon@movementarian.org>
10124 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10126 2003-02-05 Angus Leeming <leeming@lyx.org>
10128 * lyxserver.C (read_ready): revert my patch of 11 September last year
10129 as it sends PC cpu through the roof. Presumably this means that
10130 the lyxserver will no longer run on an Alpha...
10132 2003-01-30 Angus Leeming <leeming@lyx.org>
10134 * factory.C (createInset): create an InsetCommandParam of type "index"
10135 and use it to 'do the right thing'.
10137 * text2.C (getStringToIndex): ensure that cursor position is always
10138 reset to the reset_cursor position.
10140 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10142 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10145 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10149 * lyxfunc.C: Output messages with identical spelling, punctuation,
10152 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10154 * MenuBackend.C (expandFormats): List only viewable export formats
10157 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10160 * lyxfunc.C (getStatus): Make sure that formats other than
10161 "fax" can also be disabled
10163 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10165 * text3.C (dispatch): put the lfuns that insert insets in 3
10166 groups, and call doInsertInset with appropriate arguments.
10167 (doInsertInset): new function, that creates an inset and inserts
10168 it according to some boolean parameters.
10170 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10172 * buffer.C (readFile): remember to pass on 'par' when calling
10173 readFile recursively.
10175 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10177 * MenuBackend.C (expandFormats): add "..." to import formats.
10179 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10181 * paragraph.C (asString): Remove XForms RTL hacks.
10183 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10184 * buffer.C: fix typo
10186 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10188 * Makefile.am (LIBS): delete var
10189 (lyx_LDADD): add @LIBS@ here instead.
10191 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10193 * Clarify the meaning of "wheel mouse jump"
10195 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10197 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10200 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10202 * importer.C (Loaders): do not preallocate 3 elements in the
10203 vector, since one ends up with 6 elements otherwise
10205 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10207 * DepTable.C (write): write the file name as last element of the
10208 .dep file (because it may contain spaces)
10209 (read): read info in the right order
10211 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10213 * paragraph_pimpl.C (simpleTeXBlanks):
10214 (simpleTeXSpecialChars):
10215 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10217 * tabular.C (latex): add some missing case statements. Reindent.
10219 * MenuBackend.C (expandToc): remove unused variable.
10221 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10230 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10233 2003-01-05 John Levon <levon@movementarian.org>
10236 * BufferView.C: add getEncoding()
10239 * kbsequence.C: do not store last keypress
10242 * lyxfunc.C: store last keypress here instead. Pass encoding
10245 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10247 * lyx_main.C (init): remove annoying error message when following
10248 symbolic links (bug #780)
10250 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10252 * text.C (insertChar):
10253 * lyxrc.C (getDescription): remove extra spaces
10255 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10257 * lyxrc.C (getDescription): remove extra spaces
10259 2002-12-20 John Levon <levon@movementarian.org>
10261 * text3.C: hack fix for page up/down across tall rows
10263 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10265 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10268 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10270 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10271 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10272 thesaurus is not compiled in
10274 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10276 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10278 2002-12-16 Angus Leeming <leeming@lyx.org>
10281 * lyx_main.C (init): remove override_x_deadkeys stuff.
10283 2002-12-12 John Levon <levon@movementarian.org>
10285 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10286 insert. Only remove shift modifier under strict
10289 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10291 * MenuBackend.C (expandToc): fix crash.
10293 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10295 * MenuBackend.C (expandToc): gettext on float names.
10297 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10299 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10300 implement bool empty() [bug 490]
10302 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10304 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10306 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10308 * several files: ws changes
10310 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10312 * text2.C (setCounter): clean up a bit, use boost.format.
10313 (updateCounters): initialize par upon declaration.
10315 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10316 if the layout exists. We do not just store the layout any more.
10317 (SwitchLayoutsBetweenClasses): use boost.format
10319 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10321 * converter.C (convert): if from and to files are the same, use a
10322 temporary files as intermediary
10324 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10327 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10329 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10331 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10333 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10335 * tabular.C (asciiPrintCell): use string(size, char) instead of
10338 * sgml.C (openTag): fix order of arguments to string constructor
10341 * lyxfunc.C (dispatch): use boost.format
10343 * lots of files: change "c" -> 'c'
10345 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10347 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10349 2002-11-25 Angus Leeming <leeming@lyx.org>
10351 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10353 * lyx_main.C (init): compile fix.
10355 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10357 * lyx_cb.C (start): boost.formatify
10358 do not include <iostream>
10360 * lengthcommon.C: ws only
10362 * boost-inst.C,BoostFormat.h: add more explict instantations
10364 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10366 * lots of files: handle USE_BOOST_FORMAT
10368 2002-11-21 John Levon <levon@movementarian.org>
10370 * pspell.C: fix compile
10372 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10374 * lyxfunc.C (dispatch): use boost::format
10378 * lyxfont.C (stateText): use boost::format
10380 * lyx_main.C (LyX): use boost::format
10382 (queryUserLyXDir): ditto
10383 (readRcFile): ditto
10385 (typedef boost::function): use the recommened syntax.
10387 * importer.C (Import): use boost::format
10389 * debug.C (showLevel): use boost::format
10391 * converter.C (view): use boost::format
10396 * bufferview_funcs.C (currentState): use boost::format
10398 * bufferlist.C (emergencyWrite): use boost::format
10400 * buffer.C (readLyXformat2): use boost::format
10401 (parseSingleLyXformat2Token): ditto
10403 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10405 * LaTeX.C (run): use boost::format
10407 * Chktex.C (scanLogFile): use boost::format
10409 * BufferView_pimpl.C (savePosition): use boost::format
10410 (restorePosition): ditto
10411 (MenuInsertLyXFile): ditto
10413 * BoostFormat.h: help file for explicit instation.
10415 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10417 * tabular.C (latex): Support for block alignment in fixed width
10420 2002-11-17 John Levon <levon@movementarian.org>
10422 * BufferView_pimpl.C:
10424 * lyxfunc.C: split filedialog into open/save
10426 2002-11-08 Juergen Vigna <jug@sad.it>
10428 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10429 by my last patch (hopefully).
10431 2002-11-08 John Levon <levon@movementarian.org>
10440 * toc.C: ParConstIterator, and use it (from Lars)
10442 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10444 * lyxtextclass.[Ch]: revise and add doxygen comments
10446 2002-11-07 John Levon <levon@movementarian.org>
10448 * text.C: fix progress value for spellchecker
10450 * toc.C: fix navigate menu for insetwrap inside minipage
10452 * paragraph_funcs.C: added FIXME for suspect code
10454 2002-11-07 John Levon <levon@movementarian.org>
10456 * BufferView_pimpl.C: fix redrawing of insets
10459 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10461 * text2.C (updateCounters): fix bug 668
10463 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10465 * text3.C (dispatch): Do not make the buffer dirty when moving the
10468 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10470 * vc-backend.C: STRCONV
10471 (scanMaster): ditto
10473 * text2.C (setCounter): STRCONV
10475 * paragraph.C (asString): STRCONV
10477 * lyxlength.C (asString): STRCONV
10478 (asLatexString): ditto
10480 * lyxgluelength.C (asString): STRCONV
10481 (asLatexString): ditto
10483 * lyxfunc.C (dispatch): STRCONV
10486 * lyxfont.C (stateText): STRCONV
10488 * importer.C (Import): STRCONV
10490 * counters.C (labelItem): STRCONV
10491 (numberLabel): ditto
10492 (numberLabel): remove unused ostringstream o
10497 * bufferview_funcs.C (currentState): STRCONV
10499 * buffer.C (readFile): STRCONV
10500 (asciiParagraph): ditto
10501 (makeLaTeXFile): ditto
10503 * Spacing.C (writeEnvirBegin): STRCONV
10505 * LaTeXFeatures.C (getLanguages): STRCONV
10506 (getPackages): ditto
10508 (getBabelOptions): ditto
10509 (getTClassPreamble): ditto
10510 (getLyXSGMLEntities): ditto
10511 (getIncludedFiles): ditto
10515 (scanAuxFile): ditto
10518 * LString.h: add the STRCONV macros
10520 * BufferView_pimpl.C (savePosition): STRCONV
10521 (restorePosition): ditto
10522 (MenuInsertLyXFile): ditto
10524 * vc-backend.C (scanMaster): change from submatch[...] to
10527 * funcrequest.C: include config.h
10529 * factory.C: include config.h
10531 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10533 * box.C: include config.h
10535 * LaTeX.C (scanAuxFile): change from submatch[...] to
10539 2002-10-25 Angus Leeming <leeming@lyx.org>
10541 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10543 * ispell.[Ch] (setError): new method.
10544 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10545 Use setError() insetead of goto END.
10547 * lyx_cb.C (AutoSave): move out child process into new class
10550 2002-10-30 John Levon <levon@movementarian.org>
10552 * text3.C: make start appendix undoable
10554 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10556 * lyxlength.C (inPixels): Fix returned value.
10558 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10561 2002-10-24 Angus Leeming <leeming@lyx.org>
10563 * lyxgluelength.h: no need to forward declare BufferParams
10564 or BufferView, so don't.
10566 2002-10-21 John Levon <levon@movementarian.org>
10568 * BufferView.C: menuUndo ->undo, redo
10570 * BufferView.h: document, remove dead, make some methods private
10572 * paragraph_funcs.h:
10573 * paragraph_funcs.C:
10574 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10579 * sgml.C: move sgml open/close tag into sgml.C
10581 * bufferview_funcs.h: unused prototype
10584 * lyxfunc.C: remove unused
10587 * text.C: remove unused
10589 2002-10-21 John Levon <levon@movementarian.org>
10593 * BufferView_pimpl.h:
10594 * BufferView_pimpl.C: fix mouse wheel handling based on
10595 patch from Darren Freeman
10597 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10599 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10601 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10603 * lyxlength.C (inPixels): Fix hanfling of negative length.
10604 Fix LyXLength::MU case.
10606 2002-10-16 John Levon <levon@movementarian.org>
10608 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10610 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10612 * converter.C (view): add support for $$i (file name) and $$p
10613 (file path) for the viewer command. If $$i is not specified, then
10614 it is appended to the command (for compatibility with old syntax)
10616 2002-10-14 Juergen Vigna <jug@sad.it>
10618 * undo_funcs.C (textHandleUndo): alter the order in which the
10619 new undopar is added to the LyXText, as we have to set first
10620 the right prev/next and then add it as otherwise the rebuild of
10621 LyXText is not correct. Also reset the cursor to the right paragraph,
10622 with this IMO we could remove the hack in "redoParagraphs()".
10624 2002-10-09 Angus Leeming <leeming@lyx.org>
10626 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10627 to turn off an optimisation if a new inset is to be inserted.
10629 2002-10-11 André Pönitz <poenitz@gmx.net>
10631 * lyxtext.h: make some functions public to allow access
10632 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10634 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10636 * text3.C (dispatch): when changing layout, avoid an infinite loop
10639 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10641 * lyxrc.C (read): treat a viewer or converter command of "none" as
10644 * MenuBackend.C (expandFormats): for an update, also allow the
10645 formats that are not viewable
10647 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10648 script if it is newer than the lyxrc.defaults in user directory
10650 2002-10-07 André Pönitz <poenitz@gmx.net>
10652 * text.C: Vitaly Lipatov's small i18n fix
10654 2002-09-25 Angus Leeming <leeming@lyx.org>
10656 * ispell.h: doxygen fix.
10658 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10660 * buffer.h (readFile): Add a new argument to the method, to allow
10661 reading of old-format templates.
10663 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10665 * toc.C (getTocList): Get TOC from InsetWrap.
10667 2002-09-16 John Levon <levon@movementarian.org>
10669 * lyxfunc.C: check tabular for cut/copy too
10671 2002-09-12 John Levon <levon@movementarian.org>
10673 * LyXAction.C: tidy
10676 * factory.C: add header
10678 * paragraph_funcs.h:
10679 * paragraph_funcs.C: cleanup
10681 2002-09-11 John Levon <levon@movementarian.org>
10683 * PrinterParams.h: odd/even default to true
10685 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10687 * PrinterParams.h: update printer parameters for new xforms dialog
10689 2002-09-11 Angus Leeming <leeming@lyx.org>
10691 * lyxserver.C (read_ready): re-write to make it more transparent
10692 and to make it work in coherent fashion under Tru64 Unix.
10694 2002-09-11 André Pönitz <poenitz@gmx.net>
10698 * text3.C: implement LFUN_WORDSEL
10700 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10702 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10703 make floatlist_ a boost::shared_ptr<FloatList>
10705 * lyxtextclass.C: include FloatList.h
10706 (LyXTextClass): initialize floatlist_
10707 (TextClassTags): add TC_NOFLOAT
10708 (Read): match "nofloat" to TC_NOFLOAT and use it.
10709 (readFloat): modify call to floatlist_
10713 * FloatList.[Ch] (FloatList): remove commented out float
10715 (erase): new function
10717 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10719 * MenuBackend.C (expandToc): fix crash when there is no document
10722 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10724 * many files: Add insetwrap.
10726 2002-09-09 John Levon <levon@movementarian.org>
10728 * text2.C: remove confusing and awkward depth wraparound
10730 2002-09-09 John Levon <levon@movementarian.org>
10732 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10735 * buffer.C: remove getIncludeonlyList()
10738 * lyxfunc.C: remove headers
10740 2002-09-09 Juergen Vigna <jug@sad.it>
10742 * text.C (getColumnNearX): fix form Michael this is most
10743 probably a cut&paste bug.
10745 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10747 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10749 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10750 references, ws changes.
10752 * text2.C (init): update counters after init
10753 (insertParagraph): no need to set counter on idividual paragraphs.
10754 (setCounter): access the counters object in the textclass object
10755 on in the buffer object.
10756 (updateCounters): ditto
10758 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10759 shared_ptr<Counters> to avoid loading counters.h in all
10761 (LyXTextClass): initialize ctrs_
10762 (TextClassTags): add TC_COUNTER, and ...
10763 (Read): use it here.
10764 (CounterTags): new tags
10765 (readCounter): new function
10766 (counters): new funtion
10767 (defaultLayoutName): return a const reference
10769 * counters.C (Counters): remove contructor
10770 (newCounter): remove a couple of unneeded statements.
10771 (newCounter): simplify a bit.
10772 (numberLabel): some small formatting changes.
10774 * buffer.[Ch]: remove all traces of counters, move the Counters
10775 object to the LyXTextClass.
10777 2002-09-06 Alain Castera <castera@in2p3.fr>
10779 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10780 package to set the horizontal alignment on fixed width columns.
10783 * lyx_sty.h: added tabularnewline macro def.
10785 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10787 2002-09-06 John Levon <levon@movementarian.org>
10789 * LyXAction.C: tooltips for sub/superscript
10791 * MenuBackend.C: a bit more verbose
10793 * lyxfunc.C: tiny clean
10795 * undo_funcs.C: document undo_frozen
10797 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10799 * counters.C (Counters): add missing algorithm counter.
10801 * text2.C (setCounter): lookup the counter with layouts latexname
10802 instead of by section number.
10803 (setCounter): use a hackish way to lookup the correct enum
10805 a float name->type change
10806 reset enum couners with counter name directly instead of depth value.
10808 * counters.C (Counters): remove the push_backs, change to use the
10809 float type not the float name.
10810 (labelItem): remove unused string, float name->type change
10812 * counters.h: don't include vector, loose the enums and sects vectors
10814 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10816 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10817 (Read): add float->TC_FLOAT to textclassTags
10818 (Read): and handle it in the switch
10819 (readFloat): new function
10821 * FloatList.C (FloatList): comment out the hardcoded float
10824 * lyxlayout.h: ws change.
10826 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10828 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10830 2002-09-03 Angus Leeming <leeming@lyx.org>
10832 * BufferView_pimpl.h: qualified name is not allowed in member
10833 declaration: WorkArea & Pimpl::workarea() const;
10835 * factory.C: added using std::endl directive.
10837 * text3.C: added using std::find and std::vector directives.
10839 2002-08-29 André Pönitz <poenitz@gmx.net>
10842 * text2.C: remove unused member number_of_rows
10845 * BufferView2.C: remove file, move contents to...
10846 * BufferView.C: ... here
10848 * BufferView_pimpl.C:
10849 * factory.C: move more inset creation to factory
10851 * vspace.C: avoid direct usage of LyXText, ws changes
10854 don't provide direct access to WorkArea, use two simple
10855 acessors haveSelction() and workHeight() instead
10858 2002-08-29 John Levon <levon@movementarian.org>
10860 * BufferView_pimpl.C (dispatch): do not continue when
10863 2002-08-28 André Pönitz <poenitz@gmx.net>
10865 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10868 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10870 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10872 * buffer.C: increment LYX_FORMAT to 221
10874 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10875 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10877 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10879 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10881 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10883 * factory.C (createInset): use LyXTextClass::floats
10885 * MenuBackend.C (expandFloatListInsert):
10886 (expandFloatInsert):
10889 * text2.C (setCounter):
10891 * LaTeXFeatures.C (useFloat):
10892 (getFloatDefinitions):
10894 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10896 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10897 floatlist_, with accessor floats().
10899 * FloatList.h: remove global FloatList
10901 2002-08-26 André Pönitz <poenitz@gmx.net>
10903 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10907 * BufferView_pimpl.C:
10908 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10910 2002-08-25 John Levon <levon@movementarian.org>
10912 * LyXAction.C: fix margin note description
10914 2002-08-24 John Levon <levon@movementarian.org>
10918 * bufferview_funcs.C:
10920 * undo_funcs.C: cleanups
10922 * lyxfunc.C: disable CUT/COPY when no selection
10924 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10926 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10927 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10929 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10930 Add backward compatibility to "mono", "gray" and "no".
10932 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10934 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10935 (and file_format >= 200).
10937 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10939 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10941 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10943 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10945 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10947 * BufferView_pimpl.C:
10954 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10955 inset and code to make it work with the paragraph code. The inset
10956 can be anywhere in the paragraph, but will only do the expected
10957 thing in LaTeX if the layout file contains the parameter line
10959 (or more generally, a nonzero value) for that layout.
10961 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10963 * paragraph.h: remove the declaration of undefined counters class
10966 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10968 * text2.C (setCounter): fixed enumeration mis-count as reported by
10969 Dr. Richard Hawkins.
10971 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10973 * paragraph_funcs.h: remove some unneeded includes
10975 * text.C (backspace): pasteParagraph now in global scipe
10977 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10978 (pasteSelection): ditto
10980 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10981 * paragraph_funcs.C (pasteParagraph): ... here
10983 2002-08-20 André Pönitz <poenitz@gmx.net>
10985 * commandtags.h: new LFUNs for swapping/copying table row/colums
10988 * lyxfunc.C: support for new lfuns
10990 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10993 * buffer.[Ch]: remove NO_COMPABILITY stuff
10995 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10997 * boost.C (throw_exception): new file, with helper function for
10998 boost compiled without exceptions.
11003 * ParameterStruct.h:
11004 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11006 * bufferlist.C (emergencyWriteAll): use boost bind
11008 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11010 * text.C: include paragraph_funcs.h
11011 (breakParagraph): breakParagraph is now in global scope
11013 * paragraph_funcs.[Ch]: new files
11015 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11018 * buffer.C: include paragraph_funcs.h
11019 (insertStringAsLines): breakParagraph is now in global scope
11021 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11024 * CutAndPaste.C: include paragraph_funcs.h
11025 (cutSelection): breakParagraphConservative is now in global scope
11026 (pasteSelection): ditto
11028 * buffer.h: declare oprator== and operator!= for
11029 Buffer::inset_iterator
11031 * bufferlist.C (emergencyWrite): don't use fmt(...)
11033 * text3.C: add using std::endl
11035 * BufferView.C (moveCursorUpdate): remove default arg
11037 2002-08-20 André Pönitz <poenitz@gmx.net>
11039 * buffer.[Ch]: move inline functions to .C
11042 * BufferView_pimpl.C:
11044 * buffer.[Ch]: use improved inset_iterator
11047 * paragraph.[Ch]: write one paragraph at a time
11049 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11051 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11052 style if style is not specified.
11054 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11056 * text2.C (setCounter): when searching for right label for a
11057 caption, make sure to recurse to parent insets (so that a caption
11058 in a minipage in a figure float works) (bug #568)
11060 2002-08-20 André Pönitz <poenitz@gmx.net>
11062 * text3.C: new file for LyXText::dispatch() and helpers
11064 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11066 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11068 2002-08-19 André Pönitz <poenitz@gmx.net>
11071 * text.C: new LyXText::dispatch()
11073 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11075 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11077 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11079 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11082 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11084 * Makefile.am: use $(variables) instead of @substitutions@
11086 2002-08-15 André Pönitz <poenitz@gmx.net>
11089 * BufferView_pimpl.C: streamlining mathed <-> outer world
11093 * LyXAction.C: remove unused LFUN_MATH
11095 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11097 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11099 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11101 * paragraph.C (Paragraph): reformat a bit
11102 (cutIntoMinibuffer): use builtin InsetList function instad of
11106 * buffer.C: include boost/bind.hpp, add using std::for_each
11107 (writeFileAscii): use ParagraphList iterators
11108 (validate): use for_each for validate traversal of paragraphs
11109 (getBibkeyList): use ParagraphList iterators
11110 (resizeInsets): use for_each to resizeInsetsLyXText for all
11112 (getParFromID): use ParagraphList iterators
11114 * BufferView2.C (lockInset): use paragraph list and iterators
11116 2002-08-14 John Levon <levon@movementarian.org>
11118 * lyxserver.C: remove spurious xforms include
11120 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11122 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11124 2002-08-13 André Pönitz <poenitz@gmx.net>
11127 * lyxfunc.C: further cleaning
11129 2002-08-13 André Pönitz <poenitz@gmx.net>
11131 * funcrequest.h: new constructor
11133 * funcrequest.C: move stuff here from .h
11136 * BufferView_pimpl.C:
11139 * lyxfunc.C: subsequent changes
11141 * lyxfunc.h: new view() member function
11143 * lyxfunc.C: subsequent changes
11145 2002-08-13 Angus Leeming <leeming@lyx.org>
11148 * BufferView_pimpl.C:
11156 changes due to the changed LyXView interface that now returns references
11157 to member variables not pointers.
11159 2002-08-13 Angus Leeming <leeming@lyx.org>
11161 * WordLangTuple (word, lang_code): return references to strings,
11166 * lyxtext.h: forward-declare WordLangTuple.
11171 * text.C: #include "WordLangTuple.h".
11174 * text.C: (selectNextWordToSpellcheck): constify return type.
11176 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11182 * paragraph_pimpl.h:
11185 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11186 suggested by Angus.
11187 Made updateCounter always count from start of buffer, and removed
11188 second argument (par).
11189 Reverted floats number display to '#'. Perhaps I'll try again when the
11190 code base is sanitized a bit.
11192 2002-08-12 Angus Leeming <leeming@lyx.org>
11194 * buffer.[Ch] (getLabelList): constify.
11196 2002-08-07 André Pönitz <poenitz@gmx.net>
11198 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11200 * funcrequest.h: extension to keep mouse (x,y) position
11202 2002-08-12 Juergen Vigna <jug@sad.it>
11204 * BufferView2.C (insertErrors): forbid undo when inserting error
11207 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11209 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11211 * ParagraphList.[Ch]: new files
11213 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11215 * BufferView2.C (lockInset): ParagraphList changes
11218 * bufferlist.C: ditto
11222 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11224 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11225 unused class variable counter_,
11227 * paragraph.[Ch] (getFirstCounter): delete unused function
11229 * counters.C: include LAssert.h
11230 (reset): add a new function with no arg, change other version to
11231 not have def. arg and to not allow empty arg.
11233 * text2.C (setCounter): remove empty arg from call to Counters::reset
11235 2002-08-11 John Levon <levon@movementarian.org>
11237 * Makefile.am: add WordLangTuple.h
11239 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11241 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11242 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11244 * insets/insettext.C: InsetList changes
11246 * graphics/GraphicsSupport.C (operator()): InsetList changes
11248 * toc.C (getTocList): InsetList changes
11250 * paragraph_pimpl.[Ch]: InsetList changes
11252 * paragraph.[Ch]: InsetList changes
11254 * buffer.C (inset_iterator): InsetList changes
11255 (setParagraph): ditto
11256 * buffer.h (inset_iterator): ditto
11257 * iterators.C (operator++): ditto
11258 * iterators.h: ditto
11260 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11262 * InsetList.[Ch]: new files, most InsetList handling moved out of
11265 * BufferView2.C (removeAutoInsets): InsetList changes
11267 (ChangeInsets): ditto
11269 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11271 * paragraph_pimpl.h (empty): new function
11273 * paragraph.[Ch] (empty): new function
11275 * other files: use the new Paragraph::empty function
11277 2002-08-09 John Levon <levon@movementarian.org>
11279 * lyxtext.h: remove unused refresh_height
11281 2002-08-09 John Levon <levon@movementarian.org>
11288 * paragraph.C: move sgml char escaping out of paragraph
11291 * paragraph.C: remove id setter
11295 * paragraph_pimpl.C: remove dead tex_code_break_column
11297 * bufferview_funcs.C: small cleanup
11299 * lyxfunc.C: remove dead proto
11301 * lyxtext.h: make some stuff private. Remove some dead stuff.
11303 * lyxgluelength.C: make as[LyX]String() readable
11305 2002-08-08 John Levon <levon@movementarian.org>
11310 * ToolbarDefaults.C:
11313 * toc.C: lyxaction cleanup
11315 2002-08-08 John Levon <levon@movementarian.org>
11317 * BufferView2.C: small cleanup
11320 * lyxfind.C: move unnecessary header into the .C
11322 2002-08-08 John Levon <levon@movementarian.org>
11324 * funcrequest.h: just tedious nonsense
11327 * lyx_main.C: cleanups
11330 * vspace.C: remove dead header lyx_main.h
11332 2002-08-07 Angus Leeming <leeming@lyx.org>
11335 * paragraph_pimpl.h:
11336 Forward declare class Counters in paragraph.h by moving the ctrs member
11337 variable into Paragraph::Pimpl.
11338 (counters): new method, returning a reference to pimpl_->ctrs.
11340 * text2.C: ensuing changes.
11342 2002-08-07 John Levon <levon@movementarian.org>
11344 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11346 * BufferView_pimpl.C: announce X selection on double/triple
11349 * lyx_main.C: use correct bool in batch dispatch
11351 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11353 2002-08-07 André Pönitz <poenitz@gmx.net>
11355 * funcrequest.h: new class to wrap a kb_action and its argument
11358 * BufferView_pimpl[Ch]:
11362 * lyxrc.C: subsequent changes
11365 2002-08-07 John Levon <levon@movementarian.org>
11367 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11368 document options change.
11370 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11375 * makefile.am: move counters functionality over from
11376 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11378 2002-08-06 John Levon <levon@movementarian.org>
11380 * WordLangTuple.h: new file for word + language code tuple
11391 * BufferView2.C: use WordLangTuple
11394 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11396 2002-08-06 John Levon <levon@movementarian.org>
11398 * lyx_main.C: fix cmdline batch handling
11400 2002-08-06 André Pönitz <poenitz@gmx.net>
11402 * lyxrc.C: set default for show_banner to true
11404 2002-08-06 John Levon <levon@movementarian.org>
11406 * pspell.C: fix a crash, and allow new aspell to work
11408 2002-08-06 John Levon <levon@movementarian.org>
11411 * kbmap.C: small cleanup
11414 * vspace.C: add const
11416 2002-08-05 John Levon <levon@movementarian.org>
11418 * LyXAction.C: back to tabular-insert
11420 2002-08-04 John Levon <levon@movementarian.org>
11423 * BufferView.C: cosmetic change
11425 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11435 * BufferView2.C: purge all "Lyx" not "LyX" strings
11438 * lyxcursor.C: attempt to add some documentation
11443 * ToolbarDefaults.C:
11444 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11445 merge with LFUN_TABULAR_INSERT
11452 * pspell.C: split up i/pspell implementations into separate
11453 files, many cleanups
11455 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11457 * text2.C: some cleanup
11459 * lyxfunc.C: don't check for isp_command == "none" any more, it
11460 didn't make any sense
11462 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11467 * makefile.am: move counters functionality over
11468 from text2.C/paragraph.[Ch] to counters.[Ch], and
11470 2002-08-02 John Levon <levon@movementarian.org>
11472 * buffer.C: s/lyxconvert/lyx2lyx/
11474 2002-08-02 Angus Leeming <leeming@lyx.org>
11476 * lyxlex.C: revert John's change as it breaks reading of the user
11479 2002-08-02 Angus Leeming <leeming@lyx.org>
11481 * importer.C (Import):
11482 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11483 changes due to LyXView::view() now returning a boost::shared_ptr.
11485 2002-08-02 John Levon <levon@movementarian.org>
11487 * lyxlex.C: small cleanup
11489 2002-08-02 John Levon <levon@movementarian.org>
11491 * text2.C (status): small cleanup, no logic change
11493 2002-08-01 John Levon <levon@movementarian.org>
11496 * buffer.C (writeFile): don't output alerts, caller
11500 * lyx_cb.C: from above
11502 * lyxfunc.C: allow to open non-existent files
11504 2002-07-31 John Levon <levon@movementarian.org>
11506 * lyxserver.C: don't let incidental errors get
11509 2002-07-30 John Levon <levon@movementarian.org>
11511 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11513 2002-07-30 John Levon <levon@movementarian.org>
11516 * lyxserver.C: remove I/O callback too
11518 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11520 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11523 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11525 * many files: strip,frontStrip -> trim,ltrim,rtrim
11527 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11529 * PrinterParams.h: remove extern containsOnly, and include
11530 support/lstrings.h instead.
11532 * LaTeX.C (scanAuxFile): modify because of strip changes
11534 * buffer.C (makeLaTeXFile): ditto
11535 * bufferparams.C (writeFile): ditt
11536 * lyxfont.C (stateText): ditto
11537 * lyxserver.C (read_ready): ditto
11538 * vc-backend.C (scanMaster): ditto
11540 * BufferView_pimpl.h: ws changes
11542 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11544 2002-07-26 André Pönitz <poenitz@gmx.net>
11546 * kb_sequence.C: remove unnedred usings
11548 2002-07-26 Juergen Vigna <jug@sad.it>
11550 * lyxfind.C (LyXReplace): we have to check better if the returned
11551 text is not of theLockingInset()->getLockingInset().
11553 2002-07-25 Juergen Vigna <jug@sad.it>
11555 * lyxfind.C (LyXReplace): don't replace if we don't get the
11558 * undo_funcs.C (createUndo): remove debugging code.
11560 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11562 * buffer.C (parseSingleLyXformat2Token): Use default placement
11563 when reading old floats.
11565 * FloatList.C (FloatList): Change the default placement of figure
11566 and tables to "tbp".
11568 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11570 * MenuBackend.C: using std::max
11572 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11574 * MenuBackend.C (expandToc):
11575 (expandToc2): code moved from xforms menu frontend. It is now
11576 generic and TOCs are transparent to menu frontends.
11578 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11580 * toc.C (getTocList): protect against buf=0
11582 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11583 Menu as first parameter. Now, this calls itself recursively to
11584 expand a whole tree (this will be useful for TOC handling)
11585 (expandFloatInsert): remove 'wide' version of floats
11587 * MenuBackend.h (submenuname): returns the name of the submenu.
11588 (submenu): returns the submenu itself, provided it has been
11589 created by MenuBackend::expand
11591 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11593 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11594 insets which have noFontChange == true. (bug #172)
11596 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11598 * BufferView_pimpl.C: add connection objects and use them...
11601 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11603 * MenuBackend.C (expandLastfiles):
11606 (expandFloatListInsert):
11607 (expandFloatInsert):
11608 (expand): split expand in parts
11610 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11612 * lyx_gui.C: use lyx_gui::exit()
11614 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11616 * LyXAction.C: show the failing pseudo action
11618 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11620 * buffer.C (readFile): Run the lyxconvert script in order to read
11623 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11627 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11629 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11633 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11635 2002-07-22 Herbert Voss <voss@lyx.org>
11638 * lyxlength.[Ch]: add support for the vertical lengths
11640 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11642 * toc.[Ch]: std:: fixes
11644 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11646 * lyxrc.C: do not include lyx_main.h
11648 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11654 * BufferView2.C: include "lyxlex.h"
11657 * bufferparams.h: do not #include "lyxlex.h"
11659 * lyxtextclasslist.C (Add): remove method
11660 (classlist): renamed to classlist_
11662 * paragraph_pimpl.C:
11666 * bufferview_funcs.C:
11671 * toc.C (getTocList): use BufferParams::getLyXTextClass
11673 * toc.C (getTocList): use InsetFloat::addToToc
11675 * toc.[Ch]: new files, containing helper functions to handle table
11678 * lyxfunc.C (dispatch): no need to remove spaces around command
11680 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11681 first command of the sequence; it is not very clever, but I do not
11682 have a better idea, actually
11684 * LyXAction.C (LookupFunc): make sure to remove space at the
11685 beginning and end of the command
11687 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11689 * MenuBackend.C (getMenubar): new method: return the menubar of
11691 (read): treat differently reading of menu and menubar (in
11692 particular, the menubar has no name now)
11693 (Menu::menubar): remove
11695 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11698 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11700 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11701 a bibitem inset in a RTL paragraph.
11703 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11705 * paragraph_pimpl.C: constify
11707 * BufferView_pimpl.C:
11709 * lyxfunc.C: fix dispatch in a nicer way
11711 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11713 * lyxfunc.C (dispatch):
11714 * BufferView_pimpl.C:
11715 * BufferView_pimpl.h:
11717 * BufferView.h: rename Dispatch() to dispatch()
11719 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11721 * lyxlayout.C (Read): honor DependsOn tag
11723 * lyxlayout.[Ch] (depends_on): new method
11725 * version.C.in: update lyx_docversion
11727 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11729 * paragraph.C (validate): remove from here...
11730 * paragraph_pimpl.C (validate): ... and move here
11731 (isTextAt): make it const
11733 * buffer.C (getLists): ws cleanup
11735 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11737 * language.C (read): Use iso8859-1 encoding in latex_lang
11738 (this prevents LyX from crashing when using iso10646-1 encoding).
11740 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11742 * text2.C (toggleInset): if cursor is inside an inset, close the
11743 inset and leave cursor _after_ it
11745 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11747 * lyxfunc.C: move minibuffer completion handling out of here
11749 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11751 * BufferView_pimpl.C:
11752 * LaTeX.C: fix dispatch calls
11754 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11756 * text.C (drawChars): Fix Arabic text rendering.
11758 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11762 * lyxfunc.C: remove message-push/pop
11766 * lyxfunc.C: rationalise some code by removing verboseDispatch
11767 in favour of a bool argument to dispatch()
11769 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11771 * lyx_main.C (init): make sure to read symlinks as absolute paths
11773 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11776 * lyxfunc.C: no need for commandshortcut to be a member
11778 2002-07-15 André Pönitz <poenitz@gmx.net>
11780 * converter.C: add support for $$s (scripts from lib/scripts dir)
11781 * lyx_main.C: white space
11783 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11787 * lyxrc.C: remove second exit confirmation
11789 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11794 * BufferView_pimpl.h:
11795 * BufferView_pimpl.C:
11796 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11798 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11800 * MenuBackend.C (expand): add numeric shortcuts to document menu
11802 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11804 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11806 * lyxfont.C (setLyXFamily):
11813 * buffer.C (asciiParagraph): use ascii_lowercase
11815 2002-07-15 Mike Fabian <mfabian@suse.de>
11817 * lyxlex_pimpl.C (search_kw):
11818 * lyxlex.C (getLongString):
11819 * converter.h (operator<):
11820 * converter.C (operator<):
11821 * buffer.C (parseSingleLyXformat2Token):
11823 * ToolbarDefaults.C (read):
11824 * MenuBackend.C (checkShortcuts):
11826 * LColor.C (getFromGUIName):
11827 (getFromLyXName): use the compare_ascii_no_case instead of
11828 compare_no_case, because in turkish, 'i' is not the lowercase
11829 version of 'I', and thus turkish locale breaks parsing of tags.
11831 2002-07-16 Angus Leeming <leeming@lyx.org>
11833 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11834 now takes a Buffer const & argument.
11836 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11838 * BufferView.C (resize): check there's a buffer to resize
11840 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11842 * lyxfunc.C: remove dead code
11845 * lyxserver.C: use lyx_guii::set_read_callback
11847 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11849 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11850 an inset in a RTL paragraph.
11852 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11854 * lyxfunc.C: repaint after a font size update
11856 2002-07-15 André Pönitz <poenitz@gmx.net>
11858 * lyxlength.C: inBP should be able to return negative values
11860 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11862 * lyxfunc.C: use lyx_gui::update_fonts()
11864 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11866 * lyxfunc.C: use lyx_gui::update_color()
11868 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11874 * lyxrc.C: remove file->new asks for name option, and let
11875 buffer-new take an argument
11877 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11879 * BufferView_pimpl.C: remove unneeded extra repaint()
11881 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11883 * LyXAction.C: allow command-sequence with NoBuffer
11885 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11887 2002-07-10 Angus Leeming <leeming@lyx.org>
11889 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11891 2002-07-09 Angus Leeming <leeming@lyx.org>
11893 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11895 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11897 * lengthcommon.h: whitespace
11899 * lyxfunc.C: update scrollbar after goto paragraph
11901 * lyxtext.h: factor out page break drawing, and fix it so
11902 page break/added space paints as selected nicely
11904 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11906 * BufferView_pimpl.C: add FIXMEs, clean up a little
11908 2002-07-09 André Pönitz <poenitz@gmx.net>
11910 * lyxfont.[Ch]: support for wasy symbols
11912 2002-07-08 André Pönitz <poenitz@gmx.net>
11914 * BufferView_pimpl.C: apply John's patch for #93.
11916 2002-07-05 Angus Leeming <leeming@lyx.org>
11918 * BufferView_pimpl.C (buffer): generate previews if desired.
11920 * LColor.h: add "preview" to the color enum.
11922 * LColor.C (LColor): add a corresponding entry to the items array.
11924 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11927 2002-07-05 Angus Leeming <leeming@lyx.org>
11929 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11930 The body of the code is now in the method that is passed an ostream &
11931 rather than a file name.
11932 Pass an additional only_preamble parameter, useful for the forthcoming
11935 2002-07-03 André Pönitz <poenitz@gmx.net>
11937 * lyxfunc.C: simplify getStatus() a bit for math stuff
11939 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11941 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11943 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11945 * text.C (changeRegionCase): do not change case of all the
11946 document when region ends at paragraph end (bug #461)
11948 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11950 * paragraph.C (startTeXParParams):
11951 (endTeXParParams): add \protect when necessary
11953 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11955 * BufferView_pimpl.C (workAreaExpose): remove warning
11957 2002-06-27 Angus Leeming <leeming@lyx.org>
11959 * Makefile.am: add lyxlayout_ptr_fwd.h.
11961 2002-06-26 André Pönitz <poenitz@gmx.net>
11963 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11965 2002-06-25 Angus Leeming <leeming@lyx.org>
11967 * lyxfunc.C (dispatch): Comment out the call to
11968 grfx::GCache::changeDisplay. The method no longer exists now that the
11969 pixmap generation part of the graphics loader has been moved into
11972 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11974 * text2.C: layout as layout
11976 * text.C: layout as layout
11978 * tabular.C (OldFormatRead): layout as layout
11980 * paragraph_pimpl.C (TeXDeeper): layout as layout
11981 (realizeFont): layout as layout
11983 * paragraph.C (writeFile): layout as layout
11984 (validate): layout as layout
11985 (getFont): layout as layout
11986 (getLabelFont): layout as layout
11987 (getLayoutFont): layout as layout
11988 (breakParagraph): layout as layout
11989 (stripLeadingSpaces): layout as layout
11990 (getEndLabel): layout as layout
11991 (getMaxDepthAfter): layout as layout
11992 (applyLayout): layout as layout
11993 (TeXOnePar): layout as layout
11994 (simpleTeXOnePar): layout as layout
11995 (TeXEnvironment): layout as layout
11996 (layout): layout as layout
11997 (layout): layout as layout
11999 * lyxtextclass.C (compare_name): new functor to work with
12000 shared_ptr, layout as layout
12001 (Read): layout as layout
12002 (hasLayout): layout as layout
12003 (operator): layout as layout
12004 (delete_layout): layout as layout
12005 (defaultLayout): layout as layout
12007 * lyxlayout_ptr_fwd.h: new file
12009 * lyxlayout.C (Read): layout as layout
12011 * lyx_cb.C (MenuInsertLabel): layout as layout
12013 * bufferlist.C (newFile): layout as layout
12015 * buffer.C (readLyXformat2): layout as layout
12016 (parseSingleLyXformat2Token): layout as layout
12017 (insertStringAsLines): layout as layout
12018 (asciiParagraph): layout as layout
12019 (latexParagraphs): layout as layout
12020 (makeLinuxDocFile): layout as layout
12021 (simpleLinuxDocOnePar): layout as layout
12022 (makeDocBookFile): layout as layout
12023 (simpleDocBookOnePar): layout as layout
12024 (getLists): layout as layout
12026 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12028 * CutAndPaste.C (cutSelection): layout as layout
12029 (pasteSelection): layout as layout
12030 (SwitchLayoutsBetweenClasses): layout as layout
12032 * BufferView_pimpl.C (Dispatch): layout as layout
12033 (smartQuote): layout as layout
12035 * BufferView2.C (unlockInset): layout as layout
12037 2002-06-24 André Pönitz <poenitz@gmx.net>
12039 * lyxfunc.C: fix #487
12041 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12045 * lyxfunc.C: remove display_shortcuts, show_banner
12047 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12049 * Buffer_pimpl.C: oops, update on resize
12051 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12058 * BufferView.C: use repaint()
12060 * BufferView_pimpl.h:
12061 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12062 as it's a clearer description. Remove superfluous
12065 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12067 * text.C: fix bug 488. Not ideal, but getting
12068 getWord() to work properly for the insets that
12069 matter is more difficult ...
12071 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12073 * BufferView_pimpl.C:
12076 * lyxfunc.C: remove the six million index lyxfuncs to just
12077 one, and DTRT (bug 458)
12079 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12083 * BufferView_pimpl.h:
12084 * BufferView_pimpl.C: clean up resize() stuff,
12085 and unnecessary updateScreen()s
12087 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12091 * BufferView_pimpl.h:
12092 * BufferView_pimpl.C:
12095 * minibuffer.C: remove focus management of workarea,
12096 not needed. Use screen's greyOut()
12098 2002-06-17 Herbert Voss <voss@lyx.org>
12100 * converter.C: (convert) do not post a message, when converting
12101 fails, let the calling function decide what to do in this case
12103 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12105 * lyxfunc.C: tidy up a little
12107 2002-06-16 <alstrup@diku.dk>
12109 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12110 Got rid of FORMS_H_LOCATION include. Now we are
12113 2002-06-15 LyX Development team <lyx@rilke>
12115 * buffer.[Ch] (sgmlOpenTag):
12116 (sgmlCloseTag): Added support for avoiding pernicious mixed
12117 content. Return number of lines written.
12119 (makeLinuxDocFile):
12120 (makeDocBookFile): Fixed calls to sgml*Tag.
12121 Simple white space clean.
12123 (simpleDocBookOnePar): Simple white space clean.
12125 * tabular.[Ch] (docBook): Renamed to docbook and got another
12126 argument to related with the pernicious mixed content.
12128 (docbookRow): Fixed calls for docbook inset method.
12130 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12132 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12133 so it's X11 independent.
12137 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12139 2002-06-15 Lyx Development team <lyx@electronia>
12141 * intl.h: Renamed getTrans to getTransManager.
12143 2002-06-14 Angus Leeming <leeming@lyx.org>
12145 * Makefile.am: nuke forgotten stl_string_fwd.h.
12147 2002-06-12 Angus Leeming <leeming@lyx.org>
12149 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12151 2002-06-13 Angus Leeming <leeming@lyx.org>
12154 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12156 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12158 * kbmap.C (getiso): add support for cyrillic and greek
12160 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12164 * BufferView_pimpl.h:
12165 * BufferView_pimpl.C: move bogus scrolling logic
12168 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12171 * BufferView_pimpl.C: view->resize() change
12173 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12175 * BufferView_pimpl.C: topCursorVisible
12178 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12182 * lyx_gui.C: move to frontends/
12186 * lyx_main.C: changes from above
12188 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12195 * lyx_main.C: minor tidy
12197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12199 * BufferView_pimpl.h:
12200 * BufferView_pimpl.C:
12202 * BufferView.C: make painter() const,
12205 * BufferView2.C: use screen() accessor
12208 * lyx_main.C: some minor cleanup
12210 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12212 * BufferView_pimpl.h:
12213 * BufferView_pimpl.C: remove enter/leaveView,
12216 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12221 * BufferView_pimpl.h:
12222 * BufferView_pimpl.C: only construct screen once,
12225 * lyxrc.C: remove pointless comment
12227 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12230 * BufferView.C: remove active() and belowMouse()
12232 * BufferView_pimpl.h:
12233 * BufferView_pimpl.C: use workarea() not workarea_,
12234 and make it use a scoped_ptr instead
12236 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12238 * lyx_gui.C: add debug message on BadWindow
12240 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12242 * sp_spell.C: fdopen is not part of the C++ standard.
12244 * paragraph.C (InsetIterator): use >= instead of ==
12246 2002-06-07 Angus Leeming <leeming@lyx.org>
12248 Fixes needed to compile with Compaq cxx 6.5.
12249 * BufferView_pimpl.C:
12256 * lyxtextclasslist.C:
12261 all c-library variables have been moved into namespace std. Wrap
12262 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12267 Add a using std::abs declaration.
12269 * kbmap.h (modifier_pair):
12270 * paragraph.h (InsetTable, InsetList):
12271 * lyxfont.h (FontBits):
12272 type definition made public.
12274 * bufferlist.C (emergencyWriteAll): the compiler complains that
12275 there is more than one possible lyx::class_fun template to choose from.
12276 I re-named the void specialisation as lyx::void_class_fun.
12278 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12280 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12281 the compiler is is unable to find tostr in write_attribute.
12283 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12285 * buffer.C (sgmlError): hide #warning
12287 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12289 * xtl/*: get rid of xtl, which is not in use anyway
12291 * LyXAction.C (init):
12292 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12293 were unimplemented xtl experimentation
12295 2002-06-04 André Pönitz <poenitz@gmx.net>
12297 * lyxfunc.C: disable array operation on simple formulae
12299 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12301 * converter.C: constify a bit
12303 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12305 * lyx_gui.C: check xforms version correctly
12307 2002-04-30 Herbert Voss <voss@lyx.org>
12309 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12312 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12314 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12315 attempt to register it with a VCS)
12317 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12319 * lyx_main.C (init): honor variables LYX_DIR_13x and
12322 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12326 * lyx_main.C: fix a crash on bad command line,
12327 and give a useful exit status on error
12329 * lyxfunc.C (doImport): allow -i lyx to work
12331 2002-03-30 André Pönitz <poenitz@gmx.net>
12333 * lyxfunc.C: mathed font changes
12335 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12350 * trans_mgr.h: srcdocs, and some minor cleanups
12352 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12354 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12355 call getFont all the time)
12357 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12359 * switch from SigC signals to boost::signals
12361 2002-05-29 André Pönitz <poenitz@gmx.net>
12363 * paragraph_pimpl.C (getChar): don't call size() too often...
12365 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12367 * paragraph_pimpl.C (insertChar): do not try to update tables when
12368 appending (pos == size())
12370 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12371 in order to reduce drastically the number of comparisons needed to
12372 parse a large document
12374 2002-05-29 André Pönitz <poenitz@gmx.net>
12380 * textclasslist.[Ch]:
12381 * sp_ispell.h: whitespace change
12383 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12385 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12386 lyxaction directly now.
12388 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12392 * lyxvc.C: remove unused headers
12394 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12401 * undo_funcs.C: some cleanups. Use shared_ptr
12402 and a template for the undo stacks.
12404 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12406 * BufferView_pimpl.h:
12407 * BufferView_pimpl.C:
12414 * text2.C: use key_state/mouse_state
12416 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12421 * chset.C: change include order
12422 (loadFile): use boost regex and get rid of LRegex and LSubstring
12424 * Makefile.am (BOOST_LIBS): new variable
12425 (lyx_LDADD): use it
12427 * LaTeX.C: change include order.
12428 (scanAuxFile): use boost regex and get rid of LRegex and
12432 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12437 * FontInfo.C: moved to frontends/xforms/
12440 * FontLoader.C: moved into frontends for GUIIzation
12445 * lyxfunc.C: changes from above
12447 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12449 * LColor.C: remove spurious X include
12451 * BufferView_pimpl.C:
12456 * text2.C: move font metrics to frontends/
12458 2002-05-24 Juergen Vigna <jug@sad.it>
12460 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12461 setting the undo_cursor.
12463 * ParagraphParameters.h: include local includes first.
12465 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12467 * BufferView_pimpl.C:
12468 * BufferView_pimpl.h:
12472 * screen.C: move WorkArea into frontends/
12478 * BufferView2.C: move LyXScreen into frontends/
12482 * lyx_gui.C: move lyxlookup into frontends/xforms/
12484 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12487 * BufferView_pimpl.C:
12497 * bufferview_funcs.C:
12510 * vc-backend.C: move LyX/XFormsView into frontends/
12512 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12524 * text2.C: move Painter to frontends/
12526 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12528 * buffer.C: comment out some some code that depend upon lyx_format
12531 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12532 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12534 * buffer.h (NO_COMPABILITY): turn off compability
12536 * ColorHandler.C: include scoped_array.hpp
12538 * font.C: Use more specific smart_ptr header.
12541 * ShareContainer.h: ditto
12542 * lyx_main.h: ditto
12544 * FontInfo.h: ditto
12545 * BufferView_pimpl.h: ditto
12546 * ColorHandler.h: ditto
12548 * kbmap.C (defkey): change call to shared_ptr::reset
12550 2002-05-21 Juergen Vigna <jug@sad.it>
12552 * buffer.C (insertErtContents): fix to insert ert asis if it is
12553 non empty. Skip it completely if it contains only whitespaces.
12555 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12557 * BufferView_pimpl.C:
12558 * BufferView2.C: clear selection on paste (bug 393)
12560 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12562 * DepTable.C: include ctime
12564 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12566 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12568 2002-05-14 Juergen Vigna <jug@sad.it>
12570 * text.C (breakParagraph): fixed function to honor the keepempty
12571 layout in the right maner and also to permit the right breaking
12572 algorithm on empty or non empyt keepempty paragraphs.
12574 * paragraph.C (breakParagraph): we have to check also if the par
12575 is really empty (!size()) for isempty otherwise we do the wrong
12578 2002-05-10 Juergen Vigna <jug@sad.it>
12580 * buffer.[Ch] : The following are only changes to the ert
12581 compatibility read reading old LaTeX layout and font stuff and
12582 convert it to ERTInsets.
12584 * buffer.h: added isErtInset().
12586 * buffer.C (struct ErtComp): add a fromlayout bool to check
12587 if we're inside a LaTeX layout.
12588 (isErtInset): new helper function.
12589 (insertErtContents): look for other ert insets before this one
12590 and insert the contents there, so that we don't have subsequent
12591 ERT insets with nothing between them. This way we create only one
12592 inset with multiple paragraphs. Also check if we don't insert only
12593 spaces ' ' as they are ignored anyway afterwards in the .tex file
12594 so if we have only spaces we will ignore this latex part in the
12596 (parseSingleLyXformat2Token \\layout): better compatibility when
12597 reading layout-latex stuff.
12598 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12600 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12601 stuff after reading the inset only get the information back from
12604 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12606 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12608 * LaTeXFeatures.C (getBabelOptions): New method.
12610 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12612 * BufferView_pimpl.C (Dispatch): work around missing argument for
12615 2002-05-08 Juergen Vigna <jug@sad.it>
12617 * text.C (leftMargin): handle paragraph leftindent.
12619 * paragraph.C (writeFile): write the new \\leftindent tag.
12620 (validate): handle leftindent code.
12621 (TeXEnvironment): handle paragraphleftindent code again.
12623 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12625 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12626 for paragrap_extra indent code and new token \\leftindent.
12627 (latexParagraphs): handle the leftindent as environment.
12629 * ParameterStruct.h: added leftindent support.
12631 * ParagraphParameters.C (leftIndent): added support functions for
12632 the paragraph left indent.
12634 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12637 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12639 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12642 * text.C (computeBidiTables): No bidi in insetERT.
12644 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12647 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12649 * version.C.in: pre 5
12651 2002-05-02 José Matos <jamatos@fep.up.pt>
12652 * buffer.C (makeDocBookFile): white space changes, add newline to
12654 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12656 * tabular.C (docBook): fix typo.
12658 2002-05-03 Juergen Vigna <jug@sad.it>
12660 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12661 change in LyXText as we can not be sure it was not freed.
12662 (drawOneRow): remove unused code.
12664 * text.C (drawInset): redo the calculation of the need_break_row as
12665 it could have a row which was already freed.
12666 (draw): look at the return value of drawInset and return false if
12667 it also returned false.
12668 (paintRowText): look at the return value of draw and return false if
12669 it also returned false.
12671 * lyxtext.h: added bool return type to drawInset() and draw() so that
12672 if we have a change in the row so that the rowbreak has to be redone
12673 we abort drawing as it will be called again.
12675 2002-05-02 Juergen Vigna <jug@sad.it>
12677 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12678 a change in the maintext also if we're inside an inset.
12679 (Dispatch): set the cursor again after a break line and after the
12680 screen has been updated as it could be we're in a different row.
12682 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12683 to set the cursor behind the pargraph with > size().
12684 (setCursor): check also for the same paragraph when checking where
12685 to put the cursor if we have a NFR inset.
12687 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12688 parts of layout read further up as it still was in the wrong
12691 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12693 * screen.C (drawFromTo): change sine fullRebreak always return
12696 * buffer.C (parseSingleLyXformat2Token): reindent some
12698 * BufferView_pimpl.C (update): change since fullRebreak always
12700 (Dispatch): git rid of the last hardcoded "Standard"s.
12702 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12704 * text2.[Ch] (fullRebreak): make it return void now that we always
12707 2002-04-30 Juergen Vigna <jug@sad.it>
12709 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12710 ert compatibility check for "latex" layout.
12712 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12714 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12715 minipages: use col% instead of p%, and also use the current font.
12716 (makeLaTeXFile): Fix use babel condition.
12717 (parseSingleLyXformat2Token): Correct font when reading old floats.
12719 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12721 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12722 inserting list of floats.
12724 2002-04-25 Herbert Voss <voss@lyx.org>
12726 * MenuBackend.C (expand): don't add the graphics extensions to the
12729 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12731 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12732 non-existing layout, do not complain if it was the default layout
12733 of the original class (bug #342)
12735 2002-04-24 Juergen Vigna <jug@sad.it>
12737 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12738 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12740 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12742 * buffer.C (getBibkeyList): If using \bibliography, return the
12743 option field with the reference itself. Enables us to provide natbib
12744 support when using \bibliography.
12746 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12748 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12750 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12751 natbib is provided by the LaTeX class.
12753 2002-04-23 Juergen Vigna <jug@sad.it>
12755 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12758 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12760 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12762 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12764 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12765 ensuremath around textordmasculine, textordfeminine and
12768 2002-04-19 Juergen Vigna <jug@sad.it>
12770 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12771 reinitializing the buffer otherwise row-dimensions may be wrong.
12772 (update): reset also the selection cursors if they do exits otherwise
12773 their x/y positions may be wrong.
12775 * text2.C (cursorDown): don't enter the inset if we came from a row
12776 above and are one row over the inset.
12778 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12779 really leaving an inset.
12781 2002-04-18 Juergen Vigna <jug@sad.it>
12783 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12784 of the selected paragraph does not have the selected layout also if
12787 * text2.C (setLayout): fixed bug which did not change last selected
12790 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12791 changed the read and substituted \\end_float with \\end_inset!
12793 * BufferView_pimpl.C (cursorPrevious):
12794 (cursorNext): fixed to make it work with rows heigher than the work
12795 area without moving the cursor only the draw of the row.
12796 (workAreaMotionNotify): fix jumping over high rows.
12798 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12800 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12803 2002-04-16 Juergen Vigna <jug@sad.it>
12805 * text2.C (setCursor): set also the irow().
12806 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12808 (cursorDown): support for locking an inset if the x_fix value goes
12809 inside it. That way I can transverse insets too with cursor up/down.
12811 * lyxrow.h: added irow helper function same as other (i) functions.
12813 * BufferView_pimpl.C (cursorPrevious):
12814 (cursorNext): fixed for insets!
12816 2002-04-15 Juergen Vigna <jug@sad.it>
12818 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12819 position otherwise it is wrong in some cases.
12821 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12822 inside the inset before the call.
12824 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12826 * buffer.[Ch] (getBibkeyList): make it const.
12828 2002-04-12 Juergen Vigna <jug@sad.it>
12830 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12832 * text2.C (getCursorX): new helper function
12833 (setCursor): compute also ix_
12834 (setCursorFromCoordinates): set also ix.
12836 * lyxcursor.h: added ix_ and helper functions.
12838 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12840 * buffer.C (insertStringAsLines): dont break paragraph if the this
12841 paragraph is inside an inset which does not permit it!
12843 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12844 also with no chars on this paragraph.
12845 (paintRowText): only paint stuff if it's inside the workarea!
12847 * paragraph.C (breakParagraph): honor keepempty flag and break the
12848 paragraph always below not above.
12850 * BufferView2.C (unlockInset): update the paragraph layout on inset
12851 unlock as we changed paragraph in such a case.
12853 * lyxfind.C (LyXFind): clear the former selection if not found!
12855 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12856 again called in insertChar().
12858 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12859 an inset which uses the whole row!
12860 (rightMargin): ditto.
12861 (insertChar): force a rebreak if we inserted an inset!
12863 2002-03-28 Herbert Voss <voss@lyx.org>
12865 * lyxlength.[Ch]: add inBP() to get the right PS-point
12866 units (BigPoint). With inPixels we have rounding errors
12868 2002-04-11 Juergen Vigna <jug@sad.it>
12870 * text2.C (setCursorFromCoordinates): set iy to the right value.
12871 (setCursor): add check if row->previous exists!
12873 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12874 an old float_type as this was the case in the old code!
12876 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12878 * BufferView2.C (showLockedInsetCursor): use iy
12879 (fitLockedInsetCursor): ditto
12881 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12882 locked insets as there we have the right value now.
12884 * lyxcursor.C: added iy_ variable and iy functions to set to the
12885 baseline of cursor-y of the locked inset.
12887 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12888 (setCursor): fixed for insets which need a full row.
12890 * text.C (rowLastPrintable): don't ignore the last space when before
12891 an inset which needs a full row.
12892 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12893 as last character of a row when before a inset which needs a full row.
12895 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12897 * version.C.in: update date
12899 * text2.C (fullRebreak): try to always return true and see what
12902 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12904 * MenuBackend.C (expand): use Floating::listName
12906 * FloatList.C (FloatList): add listName argument to the built-in
12909 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12910 text associated with the float.
12912 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12914 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12916 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12918 * ShareContainer.h: add a couple of missing typenames.
12920 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12922 * lyxrc.C (getDescription): use _() correctly rather than N_().
12924 2002-03-28 Herbert Voss <voss@lyx.org>
12926 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12927 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12929 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12931 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12932 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12934 2002-03-29 Juergen Vigna <jug@sad.it>
12936 * lyxfunc.C (dispatch): add a missing fitCursor call.
12938 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12939 it was scrolled by a cursor move, so return the bool status.
12941 * BufferView.C (fitCursor): return the bool flag also to the outside
12942 world as this is needed.
12944 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12946 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12947 call the edit() as it is not needed (and wrong) IMO.
12948 (workAreaButtonPress): set the screen_first variable before evt.
12949 unlock the inset as this may change screen_first and then we have
12950 a wrong y position for the click!
12952 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12954 * MenuBackend.C (expand): another translation that I missed
12956 2002-03-28 Juergen Vigna <jug@sad.it>
12958 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12960 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12962 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12964 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12966 * MenuBackend.C (expand): fix export/view/update when there is no
12969 2002-03-27 Herbert Voss <voss@lyx.org>
12971 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12974 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12976 * bufferview_funcs.C (currentState): only show paragraph number
12977 for is DEVEL_VERSION is set.
12979 * lyxfunc.C (dispatch): put warning in INFO channel
12981 * MenuBackend.C (expand): translate the name of floats
12983 * FloatList.C (FloatList): mark the float names for translation
12985 * converter.C (convert): use LibScriptSearch
12987 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12989 * MenuBackend.C (defaults): fix default menu (we might as well get
12992 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12994 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12997 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * lyxvc.C: reorder includes.
13001 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13003 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13006 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13008 * CutAndPaste.C: change layouts earlier on paste
13009 to avoid crashing when calling getFont()
13011 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13013 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13016 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13018 * WorkArea.C: remove 'Pending' debug message.
13020 * most files: ws cleanup
13022 * buffer.[Ch]: ws changes
13024 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13026 2002-03-21 Juergen Vigna <jug@sad.it>
13028 * tabular.C (SetMultiColumn): collapse also the contents of the
13029 cells and set the last border right. Added a Buffer const * param.
13031 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13033 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13036 2002-03-19 Juergen Vigna <jug@sad.it>
13038 * text2.C (clearSelection): reset also xsel_cache.
13040 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13041 where it needs to be called (John tells us to do so too :)
13042 (selectionLost): reset sel_cache.
13044 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13046 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13048 * text2.C (setCursorIntern): put debuging code in INSETS channel
13050 2002-03-19 André Pönitz <poenitz@gmx.net>
13052 * lyxfunc.C: tiny whitespace change
13054 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13056 * ToolbarDefaults.C (init):
13057 * LyXAction.C (init):
13059 * BufferView_pimpl.C (Dispatch):
13060 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13062 2002-03-19 Allan Rae <rae@lyx.org>
13064 * exporter.C (Export): removeAutoInsets before doing anything else.
13065 While I've just introduced a dependency on BufferView this really is
13066 the best place to clean the buffer otherwise you need to cleanup in
13067 a dozen places before calling export or cleanup in a dozen functions
13070 * converter.C (runLaTeX):
13071 (scanLog): Better handling of removeAutoInsets and screen updates.
13073 * lyxfunc.C (dispatch): small whitespace changes
13075 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * WorkArea.C (C_WorkAreaEvent): return a value.
13078 (event_cb): return 1 if we handled the event, 0 otherwise.
13080 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13082 2002-03-18 Juergen Vigna <jug@sad.it>
13084 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13085 (GetAdditionalWidth): ditto.
13086 (RightLine): ditto.
13089 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13090 inset if we're there actually (probably not used right now but this
13091 is the direction to go for unifying code).
13092 (paste): disable code to clear the selection.
13094 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13095 inside an InsetText and move the check further up as it is in the
13098 * text2.C (pasteSelection): set a selection over the pasted text.
13100 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13102 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13103 and libgraphics to build on Cygwin.
13105 2002-03-15 Juergen Vigna <jug@sad.it>
13107 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13108 inserting an Inset into the paragraph. I know this is not the best
13109 fix but we already use current_view in CutAndPaste so we will remove
13110 all of it's using at the same time.
13112 * buffer.C (sgmlError): deactivated function till it is rewritten in
13113 the right mode, now it can create problems.
13115 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13116 before accessing it.
13118 2002-03-14 Juergen Vigna <jug@sad.it>
13120 * undo_funcs.C (textHandleUndo): do the right thing when updating
13121 the inset after the undo/redo.
13123 * text2.C (setCursor): just some testcode for #44 not ready yet.
13125 * undo_funcs.C (textHandleUndo): set the next() and previous()
13126 pointers of the paragraph to 0 before deleting otherwise we have
13127 problems with the Paragraph::[destructor].
13129 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13130 on a paragraph insertion.
13132 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13134 * buffer.C (asciiParagraph): use += operator for char append to
13137 * paragraph.C (getFontSettings): compare >= not just >
13138 (highestFontInRange): ditto
13141 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13143 * paragraph.C: change several algorithm to be more appripriate for
13144 the problem domain. This is lookip in FontList and in the InsetList.
13146 2002-03-13 André Pönitz <poenitz@gmx.net>
13149 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13151 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13156 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13158 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * Painter.C (display): anon helper function, adjust code for this
13162 (pixmap): remove function.
13164 * Painter.h: remove private display variable.
13166 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13168 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13170 * WorkArea.[Ch]: remove figinset_canvas cruft.
13172 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13174 * lyxtextclass.C (operator): add one item cache optimization.
13176 * bufferlist.h: doxy changes
13178 * bufferlist.C: ws changes
13180 * DepTable.[Ch] (ext_exist): place const in the right spot.
13182 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13184 (workAreaExpose): call resizeInsets when the with BufferView changes.
13185 (Dispatch): adjust for protectedBlank removal
13186 (specialChar): call updateInset if the insert went ok.
13188 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13189 specialChar instead.
13191 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13193 * BufferView.h: doxy change
13195 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13197 * lyxtextclass.C (operator[]): remove non-const version
13198 (defaultLayout): remove non-const version
13200 2002-03-12 Juergen Vigna <jug@sad.it>
13202 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13203 did resize the LyXText too.
13205 * buffer.C (readLyXformat2): set layout information on newly allocated
13208 * tabular.C (OldFormatRead): set layout information on the paragraph.
13210 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13212 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13214 2002-03-11 Juergen Vigna <jug@sad.it>
13216 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13218 (resizeCurrentBuffer): force also the insets to resize themselfes.
13219 (moveCursorUpdate): fixed up for InsetText.
13221 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13224 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13225 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13226 value of Dialogs::tooltipsEnabled().
13227 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13229 2002-03-08 Juergen Vigna <jug@sad.it>
13231 * BufferView_pimpl.C (updateInset): update inset inside inset also
13232 if it isn't inside theLockingInset().
13234 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13236 * buffer.C (asciiParagraph): redo some of the word and line length
13238 (getLists): look for Caption instead of caption.
13240 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13242 * buffer.C (Buffer): initialize niceFile to true
13244 (makeLinuxDocFile):
13245 (makeDocBookFile): make sure niceFile is true on exit
13247 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13249 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13251 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13253 * LyXSendto.C: remove.
13254 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13255 * lyx_gui.C: remove now-redundant comment.
13256 * ColorHandler.h: remove forward declaration of class WorkArea.
13257 * lyxfunc.C: remove #include "WorkArea.h".
13259 2002-03-07 Juergen Vigna <jug@sad.it>
13261 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13262 got moved away with the DEPM and also set the inset_owner always
13263 right which before could have been omitted.
13265 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13267 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13268 wanted layout is not found.
13270 2002-03-07 Juergen Vigna <jug@sad.it>
13272 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13274 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13276 * paragraph.C (breakParagraph): use default layout not layout of
13278 (Paragraph): clear ParagraphParameters.
13280 2002-03-06 Juergen Vigna <jug@sad.it>
13282 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13283 otherwise it would not be a valid lenght. Fixed a special case in
13284 the minipage compatibility read where we end the document with a
13287 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13288 was set as it could be 0 for InsetTexts first entry.
13290 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13292 * paragraph.C (writeFile): if layout is empty write out
13293 defaultLayoutName().
13295 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13296 file without named layout we set layout to defaultLayoutName().
13298 2002-03-06 Juergen Vigna <jug@sad.it>
13300 * CutAndPaste.C (copySelection): set layout for new paragraph.
13302 * text.C (prepareToPrint): leave ERT inset left aligned
13303 (leftMargin): don't indent paragraphs inside ERT insets
13305 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13307 * paragraph.C (breakParagraph): dont call clear do the work manually
13309 * paragraph.[Ch] (clear): remove function
13311 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13313 * paragraph.C (Paragraph): dont call clear, the work has already
13316 * lyxtextclass.C (operator): assert if n is empty
13318 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13319 work manually instead.
13321 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13323 * BufferView_pimpl.C: protect selectionLost against text == 0
13325 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13327 * text.C (breakParagraph): fix a setting layout to '0' problem.
13329 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13331 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13332 final location of file, for the included files, and graphics.
13334 2002-03-05 Juergen Vigna <jug@sad.it>
13336 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13338 2002-03-04 Juergen Vigna <jug@sad.it>
13340 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13342 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13343 last column of multicolumn cells.
13344 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13346 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13348 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13349 file if it doesn't go to a temporary file.
13351 * buffer.C (sgmlOpenTag):
13352 (sgmlCloseTag): remove extra newline insertion.
13354 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13356 * text.C (getRowNearY): comment out debug msg
13358 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13360 * text2.C: first -> first_y
13362 * text.C (getRowNearY): add some attemts at a possible
13363 optimization, not working.
13365 * tabular.[Ch]: add BufferParams to several function so that newly
13366 created paragraph can be initialized to he default layotu for the
13369 * tabular-old.C (ReadOld): add buf->params to call of Init
13371 * screen.C: rename text->first to text->first_y
13373 * paragraph.C (breakParagraph): always set layout in the broken
13376 * lyxtextclass.C (Read): remove lowercase
13379 (delete_layout): ditto
13381 * lyxtext.h: rename first -> first_y
13383 * lyxlayout.C (Read): remove lowercase
13386 (obsoleted_by): ditto
13388 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13390 * buffer.C (insertErtContents): add params are to InsetERT
13391 (parseSingleLyXformat2Token): add code to check if a paragraphs
13392 layout really exist.
13393 (parseSingleLyXformat2Token): add params to several inset
13395 (asciiParagraph): remove lowercase, do the layout comparisons with
13398 * BufferView_pimpl.C (cursorNext): first -> first_y
13399 (resizeCurrentBuffer): first -> first_y
13400 (updateScrollbar): first -> first_y
13401 (scrollCB): first -> first_y
13402 (workAreaMotionNotify): first -> first_y
13403 (workAreaButtonPress): first -> first_y
13404 (checkInsetHit): first -> first_y
13405 (cursorPrevious): first -> first_y
13406 (cursorNext): first -> first_y
13407 (Dispatch): add buffer_->params to severl inset contructors
13409 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13411 * lyxlayout.C (Read): remove some debug info that I forgot.
13413 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13414 clean up the code slightly.
13415 (makeLinuxDocFile): ditto
13416 (makeDocBookFile): ditto
13418 * text2.C: layout as string
13420 * text.C: layout as string
13422 * paragraph_pimpl.C: layout as string
13424 * paragraph.[Ch]: layout as string
13426 * lyxtextclasslist.[Ch]: layout as string
13428 * lyxtextclass.[Ch]: layout as string
13430 * lyxtext.h: layout as string
13432 * lyxlayout.[Ch]: layout as string
13434 * lyx_cb.C: layout as string
13436 * bufferview_funcs.C: layout as string
13438 * bufferparams.C: layout as string
13440 * buffer.C: layout as string
13442 * LyXView.[Ch]: layout as string
13444 * LaTeXFeatures.[Ch]: layout as string
13446 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13448 * BufferView_pimpl.C: change current_layout to string, remove
13453 (workAreaButtonRelease): layout as string
13455 * BufferView2.C (unlockInset): adjust
13457 * vspace.C (asLatexCommand): use an explict temp variable.
13459 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13461 * Makefile.am: use FRONTEND_*
13463 2002-03-01 Juergen Vigna <jug@sad.it>
13465 * tabular.C (SetWidthOfMulticolCell): changed to something better
13466 I hope but still work in progress.
13467 (recalculateMulticolumnsOfColumn): renamed function from
13468 recalculateMulticolCells as it is more appropriate now.
13469 (SetWidthOfCell): calculate multicols better.
13471 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13473 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13475 * lyxfunc.C (processKeySym): print sequence also if it is
13476 `deleted' (complete)
13478 * kbsequence.C (print): print sequence even if it is deleted
13479 (complete would be a better word, actually).
13481 * lyxfunc.C (dispatch): print complete options after a prefix key
13483 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13485 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13487 * text2.C (setCharFont): eliminate setCharFont code duplication.
13489 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13491 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13492 LFUN_TABULAR_FEATURE (bug #177)
13494 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13496 * Makefile.am: remove figure.h
13498 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13500 * Bufferview_pimpl.C:
13512 * text2.C: remove #include "lyx_gui_misc.h".
13514 * LaTeX.C: added #include <cstdio>
13516 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13518 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13519 that the paragraph following this one can have.
13521 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13523 * vspace.C (asLatexCommand): fix bogus gcc warning
13525 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13527 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13529 * text2.C (setLayout): get rid of redundant code
13531 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13533 * text2.C (incDepth): make sure depth cannot be increased beyond
13536 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13538 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13539 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13541 * PainterBase.h (image):
13542 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13543 a LyXImage const *.
13545 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13549 * BufferView_pimpl.C:
13550 * BufferView_pimpl.h:
13570 * sp_spell.C: remove fig inset, and the crap house of
13571 cards that follows it
13573 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13578 * os2_errortable.h:
13579 * nt_defines.h: move .h into support/
13581 * vms_defines.h: remove
13583 * WorkArea.C: add space in debug output
13587 * buffer.C: add WITH_WARNINGS
13591 * bufferlist.C: s/retrive/retrieve/, add docs
13600 * chset.C: add docs
13602 * lyxgui.C: add ID to X error handler
13604 * lyxtestclass.c: fix typo
13606 2002-02-26 Juergen Vigna <jug@sad.it>
13608 * tabular_funcs.C (write_attribute): changed so that some default
13609 attributes are not written at all.
13610 (getTokenValue): set default values before trying to read the
13611 value so we have the return value always set as default if we don't
13612 find the token we search for.
13614 * tabular.C (Write): write bools as bools not as strings!
13616 2002-02-22 Juergen Vigna <jug@sad.it>
13618 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13619 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13621 * text.C (leftMargin): don't add an indent for paragraphs inside
13622 tabular cells (fix #208).
13624 2002-02-21 José Matos <jamatos@fep.up.pt>
13626 * tabular.C (docBook): fixed support for long tables.
13628 2002-02-20 Juergen Vigna <jug@sad.it>
13630 * text2.C (getFont): get the drawing font of the Inset if this
13631 paragraph is inside an inset (only important for InsetERT for now).
13633 * buffer.C (insertErtContents): use new lanugage params in ERT
13636 * CutAndPaste.C: commenting out seemingly uneeded code.
13638 2002-02-19 Allan Rae <rae@lyx.org>
13640 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13641 Iterators might be simple to use but they also get invalidated.
13642 (removeAutoInsets): renamed saved cursor tracking variables and added
13643 some comments to clarify what everything does.
13645 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13652 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13653 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13656 * vc-backend.h: remove #include "support/syscall.h"
13660 * converter.C: rearrange #includes in Lars' approved fashion.
13662 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13663 forward declare class Timeout in the header file.
13665 * XFormsView.C: changes due to the above.
13667 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13668 similar to LyXView.
13670 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13671 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13673 2002-02-18 José Matos <jamatos@fep.up.pt>
13675 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13678 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13680 * a lot of small ws changes
13681 * add a lot of using std::XXX
13682 * use std construcs some places where approp.
13683 * use some exisint stuff from lyxfunctional where approp.
13684 * Make file changes to use partial linking (lets test this now...)
13686 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13690 remove #include "support/syscontr.h" as it's redundant. Always has been.
13698 change Systemcalls::System to Systemcalls::Wait and
13699 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13700 No change of functionality, just reflects the stripped down Systemcalls
13703 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13705 * debug.[Ch]: add a GRAPHICS type to the enum.
13707 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13709 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13711 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13714 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13716 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13717 match the changes below.
13719 * text2.C (toggleInset): if there is not editable inset at cursor
13720 position, try to see if cursor is _inside_ a collapsable inset
13723 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13725 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13726 document menu has a nice checkbox
13728 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13730 * lyxlength.C (asLatexString): change PW to output as percent of
13733 * lengthcommon.C: change '%' to 't%'
13735 * lyxfunc.C (dispatch): a few comments from Martin
13737 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13741 * BufferView_pimpl.h:
13742 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13745 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13747 * vspace.C (inPixels): fix compiler warning
13749 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13751 * lyxfunc.C (getStatus): fix status message for disabled commands.
13753 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13755 * BufferView_pimpl.C: fix crash on close buffer
13756 during selection (#227)
13758 2002-01-27 Herbert Voss <voss@lyx.org>
13760 * buffer.C: link old Figure to new graphic inset
13762 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13764 * FontLoader.C (getFontinfo): Change the latex font names in order
13765 to match the names of type1inst.
13767 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13769 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13771 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13772 (extchanged): ditto
13774 (remove_files_with_extension): ditto
13775 (remove_file): ditto
13778 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13779 document is smaller than the work area height. Do not initialize
13780 static variables to 0.
13782 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13784 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13786 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13787 LFUN_LAYOUT_PARAGRAPHS.
13789 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13790 tabular. It is possible to provide a possible cell, which will
13791 typically be the actcell from the corresponding insettabular
13793 * lyxfunc.C (getStatus): small cleanup; disable
13794 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13797 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13799 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13801 * paragraph.C (startTeXParParams):
13802 (endTeXParParams): new methods. The LaTeX code to
13803 start/end paragraph formatting
13804 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13805 empty (fixes bug #200)
13807 * vspace.C (inPixels): adapt to the change below
13808 (inPixels): [later] more cleanups (remove unused variables)
13810 * lyxlength.C (inPixels): change to use a width and a height as
13813 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13815 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13816 Replaced with \paperwidth
13818 * DepTable.C (insert): add std:: qualifier
13820 2002-01-18 Allan Rae <rae@lyx.org>
13822 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13825 * text.C (drawInset): Turned out I didn't know enough about how
13826 rebreaking worked. This fixes most of the redraw problems. I see
13827 an occasional cursor trail when a line is broken now and the cursor
13828 placement can seem out by a few pixels also after a rebreak.
13830 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13832 * buffer.C (parseSingleLyXformat2Token): update because minipage
13833 width is now a LyXLength
13835 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13837 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13840 2002-01-17 Juergen Vigna <jug@sad.it>
13842 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13844 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13845 is set correctly and the inset is updated correctly.
13847 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13849 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13850 the beginning of the loop.
13852 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13854 * lyxrc.C: improve help for use_scalable_fonts
13856 2002-01-17 Allan Rae <rae@lyx.org>
13858 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13860 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13862 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13863 make sure to set their inset_owner to the right value (bug #171)
13865 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13868 * DepTable.C: Implement mtime checking to reduce time spent doing
13871 2002-01-16 Juergen Vigna <jug@sad.it>
13873 * tabular.C (GetAdditionalHeight): one of error fixed.
13875 * lyxrc.C (output): small fix in writing use_pspell.
13877 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13879 * sp_base.h: #include LString.h
13881 2002-01-16 Allan Rae <rae@lyx.org>
13883 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13884 Can someone check this please?
13886 * text.C (drawInset): It was possible that p.row would be removed by
13887 breakAgainOneRow upsetting a few other settings. There may be another
13888 small tweak possible by setting need_break_row = 0 when p.row has been
13889 removed but I don't know enough about the logic here.
13891 2002-01-15 Allan Rae <rae@lyx.org>
13893 * text.C (insertChar): removed conditional truism.
13895 * BufferView2.C (removeAutoInsets): More tweaks.
13896 cur_par_prev could be a stray pointer. Check for trailing empty line
13897 in case last line was cur_par and only had an error inset on it.
13899 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13901 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13904 * vc-backend.C (most methods):
13905 * exporter.C (Export):
13906 * converter.C (convert):
13908 * LyXSendto.C (SendtoApplyCB):
13909 * lyxfunc.C (dispatch):
13913 * lyx_cb.C (AutoSave):
13915 * BufferView_pimpl.C (MenuInsertLyXFile):
13916 * buffer.C (runChktex): use Buffer::filePath().
13918 * buffer.h: rename filename to filename_; rename filepath to
13919 filepath_ and make it private
13920 (filePath): new method
13922 * buffer.C (writeFile): use fileName()
13925 * lyx_main.C (init): fix starting of LyX when the binary is a
13926 link from so,ewhere else.
13928 * minibuffer.C: include <cctype> for isprint
13930 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13932 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13933 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13934 name clash with InsetCollapsable's width function.
13936 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13938 * lastfiles.C: include <iterator>
13940 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13942 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13945 * buffer.C (makeLaTeXFile): ditto.
13946 Also make loop operation more transparent.
13948 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13950 * ToolbarDefaults.C: remove trailing comma closing namespace.
13952 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13954 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13957 * trans.C (Load): comment out unused variable, allowed.
13959 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13961 * minibuffer.[Ch] (append_char): new method to recieve input from the
13962 drop-down completion browser. If a key was pressed, then recieve this
13963 char and append it to the existing string.
13964 (peek_event): modify the positioning data passed to the completion
13965 browser so that it can be placed above the minibuffer rather than below.
13966 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13968 * LyXAction.C (init): alloe error-next for readonly documents.
13970 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13973 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13975 * bufferlist.C (readFile): create the buffer _after_ checking that
13978 * lyxfunc.C (verboseDispatch): fix handling of arguments
13980 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13982 * lyxrc.C: use string::erase() instead of initializing to "".
13985 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13987 * BufferView_pimpl.h:
13988 * BufferView_pimpl.C:
13991 * text2.C: tell X when we have made a selection for copying
13993 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13995 * BufferView_pimpl.C (MenuInsertLyXFile):
13996 * lyxfunc.C (menuNew):
13998 (doImport): add shortcuts to directory buttons
14000 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14003 * lyxfunc.C (setStatusMessage):
14004 (getStatusMessage): new methods
14005 (getStatus):use setStatusMessage instead of setErrorMessage
14006 (dispatch): when function is disabled, set error message here
14007 [instead of in getStatus previously]
14009 * BufferView_pimpl.C (workAreaButtonRelease): update
14010 toolbar/menubar here too.
14012 2002-01-13 Allan Rae <rae@lyx.org>
14014 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14015 Now seems indestructible. Remaining task is to audit all other
14016 code affected by deleteEmptyParagraphMechanism. One small quirk
14017 left is that an empty document with an error in the preamble can
14018 be made to report an error but no error box appears. I don't know
14020 (removeAutoInsets): Improved comments.
14022 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14025 * Thesaurus.C: update for Aiksaurus 0.14
14027 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14029 * text2.C (firstParagraph): removed member function, all uses
14030 replaces with ownerParagraph
14031 (redoParagraphs): here
14032 (updateInset): here
14033 (toggleAppendix): here
14034 * BufferView2.C (insertErrors): here
14035 (setCursorFromRow): here
14037 2002-01-13 Allan Rae <rae@lyx.org>
14039 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14040 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14041 There is still a way to segfault this although you may have to do this
14042 multiple times: Have an InsetERT with an unknown command in it.
14043 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14044 <down-arrow>, <Enter> again, View->DVI, BANG!
14046 * text2.C (setCursor):
14047 (deleteEmptyParagraphMechanism):
14048 * lyxtext.h (setCursor):
14049 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14050 Making use of the return value may help fix other bugs.
14052 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14054 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14056 * LyXView.C (updateMenubar): call MenuBar::update here
14057 (updateToolbar): but not here
14058 (showState): do not update toolbar/menubar
14060 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14061 should need to care about that.
14063 * lyxfunc.C (verboseDispatch): simplify a bit
14064 (getStatus): have a version which takes a pseudoaction, and
14065 another which requires a (kb_action,string).
14067 * LyXAction.C (retrieveActionArg): make it work also when action
14068 is not a pseudo-action.
14069 (getActionName): simplify a bit
14072 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14074 * lyxfunc.C (verboseDispatch): new families of methods with
14075 several ways to specify a command and a bool to indicate whether
14076 the command name and shortcut should be displayed in minibuffer
14077 (eventually, we could extend that to a finer bitmask like
14078 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14079 (dispatch): the pristine dispatch command which just, well,
14080 dispatchs! Note it still sets its result to minibuffer; I'm not
14083 * lyxfunc.h: remove setHintMessage
14085 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14087 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14089 * BufferView_pimpl.C (specialChar): delete new inset if we have
14090 not been able to insert it.
14092 * kbmap.C: revert to using int instead of kb_action, since all we
14093 are dealing with is pseudo-actions.
14095 * LyXAction.C (searchActionArg): change to return int instead of
14096 kb_action, since the result is a pseudoaction.
14098 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14100 * buffer.C (insertErtContents): Fix (partially) the font bug.
14102 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14104 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14105 as the other one is broken on my machine!
14107 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14110 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14112 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14114 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14115 reflect their actual use. Provide compatibility code for older lyxrc
14118 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14120 change names of popup font variables in line with the changes to lyxrc.C
14122 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14124 * buffer.C (asciiParagraph): avoid outputing a word twice after
14127 * lyxrc.C (getDescription): document that document_path and
14128 template_path can be empty.
14130 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14132 * LaTeXFeatures.C (getMacros):
14133 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14135 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14137 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14139 (getPackages): rename feature "floats" to "float". Use an array to
14140 iterate over 'simple' features (i.e. just a \usepackage). Add
14141 handling of "amsmath" (renamed from "amsstyle").
14143 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14145 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14148 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14150 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14151 FuncStaus::FuncStatus & FuncStaus::some_method().
14153 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14155 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14156 of the func_satus stuff. Edited and massaged in various ways by
14159 * lyxfunc.C (getStatus): use FuncStatus
14161 2002-01-08 Juergen Vigna <jug@sad.it>
14163 * text.C (nextBreakPoint): use function Inset::isChar().
14165 * paragraph.C (TeXOnePar): use function
14166 Inset::forceDefaultParagraphs.
14168 * buffer.C (latexParagraphs): use function
14169 Inset::forceDefaultParagraphs.
14171 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14173 * lyx_gui.C (init): set the style of the menu popups to
14174 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14176 2002-01-07 Juergen Vigna <jug@sad.it>
14178 * text.C (setHeightOfRow): small fix
14179 (prepareToPrint): don't look at alignment if we don't have the place
14182 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14184 * box.C: New file. Move the Box methods and functions out of box.h,
14185 following Lars' suggestion.
14187 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14189 * box.h: #include "support/LOstream.h", needed for inlined function.
14192 * lyxtextclasslist.C: added some using std declarations.
14194 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14196 * box.h: make signed dimensions to allow insets wider than
14197 the screen (bug #162)
14199 * BufferView_pimpl.C: add some insetHit debug
14201 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14203 * vc-backend.C: add FIXME
14205 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14207 * lyxfunc.C (getStatus): enable code for showing math font status
14210 2002-01-07 Juergen Vigna <jug@sad.it>
14212 * text.C (nextBreakPoint): removed debug output not needed anymore.
14214 2002-01-06 Juergen Vigna <jug@sad.it>
14216 * text.C (nextBreakPoint): fixed up this function we had this bug
14217 since ever but now hopefully we break row better.
14218 (insertChar): we have to check if an inset is the next char as it
14219 could now happen that a large inset is causing a break.
14221 2002-01-05 Juergen Vigna <jug@sad.it>
14223 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14224 if it doesn't like to be drawed.
14226 2002-01-04 Juergen Vigna <jug@sad.it>
14228 * BufferView2.C (lockInset): forgot to set a cursor.
14230 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14232 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14234 * FormMathsPanel.C:
14237 * form_maths_panel.C:
14238 * form_maths_panel.h:
14239 * form_maths_panel.fd: implemented sub- and super- buttons in math
14242 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14243 (or ^ space) to be used as in TeX (req'd by Andr�.
14245 * lyxfunc.C: Allow ^ and _ again to be used both as
14246 super/subscript (mathed) and as themselves (in text).
14248 2002-01-03 Allan Rae <rae@lyx.org>
14250 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14251 "LyX" or the filename of the current buffer if it has one. This is a
14252 modified form of John Levon's patch.
14254 * XFormsView.C (setWindowTitle): also set icon title.
14256 * LyXView.h (setWindowTitle): signature changed.
14257 * XFormsView.h (setWindowTitle): ditto.
14259 2002-01-02 Juergen Vigna <jug@sad.it>
14261 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14263 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14265 * screen.C (topCursorVisible): introduce a temp var for
14266 text->cursor.row(), handle the case where this row is null. (kindo
14269 * text2.C (setCursor): add a couple of asserts.
14271 * paragraph.h (inset_iterator): add -> operator
14273 * paragraph.[Ch] (autoDeleteInsets): remove member function
14275 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14276 cursor pos correctly and handle inset deletion by itself.
14277 (insertErrors): move iterator declaration out of for expression
14279 * lyxtextclass.C: add <algorithm>
14281 * Makefile.am: added the new files to sources, removed layout.C
14283 * layout.C: removed file
14285 * layout.h: remove LYX_DUMMY_LAYOUT
14287 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14291 * lyxtextclass.[Ch]:
14292 * lyxtextclasslist.[Ch]: new files
14294 * include order changes to a lot of files, also changes because of
14297 2001-12-27 Juergen Vigna <jug@sad.it>
14299 * buffer.C (asciiParagraph): more fixes.
14301 * tabular.C (ascii): make ascii export support export of only the
14302 data separated by a column-delimiter.
14303 (ascii): better support for ascii export.
14305 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14307 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14309 * tabular_funcs.C: use a "using std::getline" instead of the
14310 previous fix from Angus (necessary for cxx + lyxstring)
14312 2001-12-24 Juergen Vigna <jug@sad.it>
14314 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14316 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14317 problems. First check a minipage also if we have some ert-contents
14318 (not only on par->size(), second set the right depth of the paragraph
14319 on the relink to the root-paragraph-list!
14321 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14322 which then did not anymore update the main paragraphs on undo/redo!
14324 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14326 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14327 code. Support all font-changing funcs (even those which are not in
14328 menu currently). Support for reporting font settings in
14329 mathed (disabled until Andre provides a function on mathed's side).
14331 * func_status.h (toggle): small helper function to set toggle
14334 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14336 * tabular_funcs.C: getline -> std::getline
14338 2001-12-21 Juergen Vigna <jug@sad.it>
14340 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14341 accessed and could be 0 (I couldn't generate this but it seems
14344 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14346 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14347 * tabular_funcs.h: here and include iosfwd
14349 2001-12-20 Juergen Vigna <jug@sad.it>
14351 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14352 inside inset but undo_par was.
14354 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14356 * Thesaurus.C: always include <config.h> in sources.
14360 * box.h: do not include <config.h> in header files
14362 * text.C (paintLastRow): remove unused variable
14364 * text.C (transformChar):
14366 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14368 * Painter.C (text):
14369 * font.C (width): rewrite to use uppercase() instead of
14372 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14374 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14376 * lyxfind.C: clean up of find failure position change
14378 2001-12-20 Juergen Vigna <jug@sad.it>
14380 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14382 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14383 (TeXRow): added to LaTeX a single tabular row.
14384 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14385 (Latex): simplified and finally good LT-h/f support.
14386 (various_functions): just small adaptions for LT-h/f support.
14388 * tabular_funcs.[hC]: added and moved here all not classfunctions
14391 2001-12-19 Juergen Vigna <jug@sad.it>
14393 * tabular.[Ch]: better support for longtabular options (not finished
14396 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14398 * text.C (paintLastRow): use the label font instead of the font of
14399 the last character to compute the size of *_BOX. This makes more
14400 sense and avoids a crash with empty paragraphs.
14401 Use Painter::rectangle to draw EMPTY_BOX.
14403 2001-12-19 Juergen Vigna <jug@sad.it>
14405 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14406 the paragraphs if the replaced paragraph is not the first one!
14407 Tried to delete not used paragraphs but does not work yet so for
14408 now it's inside #ifdef's and by default off!
14410 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14412 * MenuBackend.C: include "lyx_main.h" instead of declaring
14413 lastfiles (actually was declared as LastFiles* instead of a
14416 2001-12-17 Juergen Vigna <jug@sad.it>
14418 * tabular.C (AppendColumn): applied John's fix
14420 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14424 * BufferView_pimpl.h:
14425 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14428 * box.h: new start of class for above
14430 * lyxfunc.C: ignore space-only minibuffer dispatches.
14431 Show the command name when it doesn't exist
14433 * minibuffer.C: don't add empty lines to the history
14435 * minibuffer.C: add a space on dropdown completion
14437 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14439 * text.C: fix line above/below drawing in insets
14441 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14443 * lyxlength.C (LyXLength): Initialize private variables.
14445 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14447 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14448 when inserting error insets.
14450 2001-12-13 Juergen Vigna <jug@sad.it>
14452 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14453 actually sometimes the before-paragraph.
14454 (setUndo): don't clear the redostack if we're not actually undoing!
14456 2001-12-06 Juergen Vigna <jug@sad.it>
14458 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14459 and fixed redoing of main paragraph, so we can use it now ;)
14461 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14463 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14465 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14468 2001-12-13 André Pönitz <poenitz@gmx.net>
14471 * undo_func.C: minor cleanup
14473 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14475 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14476 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14477 font in urw-fonts package which is marked as -urw-fontspecific and
14478 does not work (incidentally, changing the encoding in the
14479 fonts.dir of this package to -adobe-fontspecific fixes the
14482 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14483 is a crash when undoing first paragraph (Juergen, please take a
14484 look). THis does not mean the undo fix is wrong, just that it
14487 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14488 the (Paragraph*) version when needed instead of duplicating the
14491 * text.C (workWidth): use Inset::parOwner to find out where the
14492 inset has been inserted. This is a huge performance gain for large
14493 documents with lots of insets. If Inset::parOwner is not set, fall
14494 back on the brute force method
14496 * paragraph_pimpl.C (insertInset):
14497 * paragraph.C (Paragraph):
14498 (cutIntoMinibuffer): set parOwner of insets when
14499 inserting/removing them
14501 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14503 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14509 * mathed/formulabase.C:
14510 * mathed/math_cursor.[Ch]:
14511 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14514 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14516 * lyxlength.[Ch] (operator!=): new function
14518 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14520 * text.C (workWidth): use Inset::parOwner to find out where the
14521 inset has been inserted. This is a huge performance gain for large
14522 documents with lots of insets. If Inset::parOwner is not set, fall
14523 back on the brute force method
14525 * paragraph_pimpl.C (insertInset):
14526 * paragraph.C (Paragraph):
14527 (cutIntoMinibuffer): set parOwner of insets when
14528 inserting/removing them
14530 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14532 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14534 * tabular-old.C (getTokenValue):
14535 * tabular.C (getTokenValue):
14536 (write_attribute): new versions for LyXLength
14537 (everywhere): adjust the use of widths
14539 * tabular.h: change the type of widths from string to LyXLength
14541 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14543 * paragraph.C: fixed missing line number count when exporting
14544 Environments to LaTeX file
14546 * buffer.C: added informational message for checking line numbers.
14548 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14550 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14551 paragraph, do the 'double space' part, but not the 'empty
14554 * text.C (workWidth): small optimization
14555 (getLengthMarkerHeight): use minimal size for negative lengths.
14557 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14559 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14561 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14563 2001-12-11 André Pönitz <poenitz@gmx.net>
14566 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14568 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14570 * text2.C: keep selection on a setFont()
14572 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14574 * lyx_cb.C: another bv->text misuse, from insert label
14576 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14579 * kbsequence.C: re-instate nmodifier mask
14581 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14583 * lyx_main.h: make lyxGUI private.
14585 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14587 * lyxfind.C: place the cursor correctly on failed search
14589 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14591 * text.C (getLengthMarkerHeight): for small heights, the arrows
14592 are not always on top/bottom of the text
14593 (drawLengthMarker): smaller arrows; take the left margin in
14594 account; draw also vfills.
14596 (paintLastRow): remove special code for vfill and standard spaces,
14597 since everything is handled in drawLengthMarker now.
14599 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14601 * buffer.C (insertErtContents): try to handle font and language
14602 interaction a bit better.g
14604 * ColorHandler.C (updateColor): change the hash to cover the whole
14605 LColor enum, ws cleanup
14606 (getGCLinepars): ditto
14607 (getGCLinepars): only lookup in the linecache once.
14609 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14611 * iterators.C (operator++): Make the iterator more robust
14613 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14615 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14617 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14620 * text.C: better added space drawing
14622 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14625 * BufferView2.C: fix layout combo update on inset unlock
14627 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14629 * Makefile.am: don't compile unused files
14631 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14635 * LyXAction.C: remove old LFUN_LAYOUTNO
14637 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14639 * paragraph_pimpl.h:
14640 * paragraph_pimpl.C: isTextAt() doesn't need font param
14642 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14645 * lyxlex.C: little cleanup
14647 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14649 * BufferView_pimpl.C: fix insertAscii for insets
14651 2001-12-05 Juergen Vigna <jug@sad.it>
14653 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14654 set the right font on the "multi" paragraph paste!
14656 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14662 * lyxlength.C: remove out-commented code.
14664 * BufferView_pimpl:
14678 * vc-backend.C: change "while(" to "while ("
14680 * lyxlength.[Ch]: add zero function to check if length is zero or
14682 * lyxgluelength.C: use it
14684 2001-12-05 Allan Rae <rae@lyx.org>
14686 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14687 Works for 2.95.3, from what I understand of Garst's reports this should
14688 work for other g++ versions. We're screwed if the abs(int) definition
14689 changed between bugfix releases of gcc.
14691 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14693 * text.C: fix chapter label offset !
14695 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14698 * text.C: fix hfill at end of line, clean up
14700 2001-12-04 Juergen Vigna <jug@sad.it>
14702 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14703 that we force an update of the inset and it's owners if neccessary.
14705 2001-12-03 Juergen Vigna <jug@sad.it>
14707 * text.C (rowLast): simplified code
14709 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14711 * lyxfunc.C: fix show options on timeout
14713 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14715 * screen.C (topCursorVisible): scroll half a page when the cursor
14716 reached top of bottom of screen
14718 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14720 * minibuffer.C: deactivate on loss of focus
14722 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14724 * vspace.[Ch] (operator!=): add operator.
14726 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14728 * BufferView_pimpl.C: refuse to open an inset when
14729 there's a selection.
14731 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14733 * BufferView_pimpl.C: allow to click on RHS of full row insets
14735 2001-11-30 Juergen Vigna <jug@sad.it>
14737 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14738 insets for undo reasons.
14740 2001-11-28 André Pönitz <poenitz@gmx.net>
14742 * vspace.[Ch]: cosmetical changes
14744 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14754 * kbsequence.C: part re-write of old kb code
14757 * WorkArea.C: remove Lgb_bug_find_hack
14759 2001-11-30 José Matos <jamatos@fep.up.pt>
14761 * buffer.C (makeDocBookFile): add a comment to point a hack.
14762 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14763 Fixed a double write of labels.
14765 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14768 * LaTeX.h Fixed bug in LaTeX class where it would not
14769 re-run latex if no depfiles were changed, but the .dvi was removed.
14771 2001-11-28 André Pönitz <poenitz@gmx.net>
14773 * all the files from the change on 2001/11/26:
14774 use lyx::layout_type instead of LyXTextClass::size_type
14775 use lyx::textclass_type instead of LyXTextClassList::size_type
14777 2001-11-29 Juergen Vigna <jug@sad.it>
14779 * text.C: added support for paragraph::isFreeSpacing()
14781 * buffer.C: same as above
14783 * paragraph.h: inserted isFreeSpacing() function to enable
14784 FreeSpacing inside InsetERT.
14786 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14787 of the paragraph's in the cut/copy buffer to 0!
14789 * text2.C (removeRow): remove the assert as it can!
14791 * lyxtext.h: added helper function firstRow returning firstrow and
14792 made firstrow private again.
14794 * BufferView2.C (lockInset): don't relock if we're already locked!
14796 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14797 the only paragraph.
14798 (removeRow): added Assert::(firstrow)
14800 * debug.C: forgot to add INSETTEXT here.
14802 2001-11-28 Juergen Vigna <jug@sad.it>
14804 * sp_spell.C (initialize): changed error text to more general
14805 spellchecker command use (not only ispell!)
14807 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14809 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14811 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14813 * vspace.C: initialise lyxgluelength on failure
14815 2001-11-28 Allan Rae <rae@lyx.org>
14817 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14818 declaration & definition that looks like a function declaration.
14820 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * BufferView2.C (copy):
14823 (copyEnvironment): do not clear the selection when doing a copy.
14825 * text.C (paintFirstRow): compilation fix
14827 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14829 * tabular.C (Latex): correct line count when writing latex.
14831 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14833 * paragraph_pimpl.h:
14834 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14837 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14841 * LColor.C: change vfillline->added_space
14843 * text.C: add markers and text for added space
14845 * vspace.C: fix comment
14847 2001-11-28 André Pönitz <poenitz@gmx.net>
14849 * paragraph.C: whitespace changes
14850 * all the other files from the change on 2001/11/26:
14851 change *::pos_type into lyx::pos_type
14853 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14855 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14856 language of the document when inserting error insets.
14858 2001-11-26 André Pönitz <poenitz@gmx.net>
14860 * BufferView_pimpl.[Ch]:
14868 * paragraph_pimpl.[Ch]:
14871 * text2.C: reduce header dependencies, introduce type for positions
14873 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14875 * <various>: change to use Alert.h
14877 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14879 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14880 when encountering an unknown token.
14881 (readLyXformat2): Show an error message if there were unknown tokens.
14883 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14886 * BufferView_pimpl.C:
14890 * text2.C: use par->isInset()
14892 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14894 * paragraph_pimpl.h:
14895 * paragraph_pimpl.C: cleanup
14897 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14899 * text2.C (removeRow):
14900 * text.C (setHeightOfRow): remove useless (and costly) call to
14903 2001-11-20 Allan Rae <rae@lyx.org>
14905 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14906 Now need Inset*::checkInsertChar() to return true for appropriate
14907 cases so that the characters in the minibuffer will actually be
14910 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14912 * text.C: change the order of the includes.
14913 (workWidth): initialize it at once.
14914 (workWidth): make maxw unsigned
14915 (setHeightOfRow): remove unused variable (inset)
14916 (selectSelectedWord): remove unused variable (inset)
14917 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14919 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14921 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14922 server is not running.
14924 (closeConnection): add debug info when server is disabled.
14926 * ColorHandler.C (getGCForeground): send debug message to GUI
14929 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14931 * kbmap.C (bind): modify because return conventions of
14932 kb_sequence::parse have changed.
14934 * kbsequence.C (parse): only ignore spaces and not any stupid
14935 control character. This avoids tests like s[i] <= ' ', which are
14936 guaranteed to fail with 8bit characters and signed chars.
14937 Change return code to string::npos when there have been no error
14938 (0 was a bad idea when error is at first character)
14940 2001-11-14 José Matos <jamatos@fep.up.pt>
14943 * buffer.C (simpleDocBookOnePar): removed unused argument.
14945 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14947 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14948 insets which are part of a word. Paragraph::isLetter takes care of
14949 that now. Use Paragraph::isInset to identify insets.
14950 (selectSelectedWord): do not test for hyphenation break.
14952 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14953 that protected spaces are considered as spaces.
14955 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14958 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14961 * lyxserver.C: fix it. and small cleanup.
14963 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14965 * BufferView_pimpl.C: use inline helpers
14968 * LaTeXFeatures.C: fix typos
14971 * Spacing.C: move spacing_string into class
14973 * ToolbarDefaults.C: move stuff into namespace anon
14975 * layout.h: update enum
14977 * lyxfunc.C: use better debug
14979 * minibuffer.h: fix typo
14983 * WorkArea.C: add and use Debug::WORKAREA
14987 * text2.C: code re-organisation, inline helpers
14989 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14991 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14992 std::vector.empty().
14994 2001-11-09 Allan Rae <rae@lyx.org>
14996 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14997 '\n's after tables. Tabular and ERT inset work now makes this no
15000 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15003 * minibuffer.C: fix crash, improve drop-down completion
15005 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15008 * lyxserver.C: invalidate fd's when doing endPipe()
15010 2001-11-08 José Matos <jamatos@fep.up.pt>
15012 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15013 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15016 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15018 2001-11-07 José Matos <jamatos@fep.up.pt>
15021 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15024 * buffer.C (sgmlOpenTag):
15025 * buffer.C (sgmlCloseTag): removed debug info.
15027 * buffer.h (sgmlOpenTag):
15028 * buffer.h (sgmlCloseTag): made public.
15030 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * buffer.C (saveParamsAsDefaults):
15033 * lyx_cb.C (MenuLayoutSave): remove
15035 * LyXAction.C (init):
15037 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15039 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15041 * buffer.C (setPaperStuff): removed from here...
15043 * bufferparams.C (setPaperStuff): ... and moved there.
15045 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15049 * XFormsView.C: add support for drop-down completion
15051 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15053 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15056 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15058 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15061 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15063 * lyx_main.C: change ref to known bugs
15065 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15067 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15068 to work around older babel problems.
15070 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15072 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15074 2001-10-24 Juergen Vigna <jug@sad.it>
15076 * tabular-old.C (ReadOld): below variable changes reflected.
15078 * tabular.[Ch]: added ltType struct for longtable header/footer
15079 defines and changed all instances where they are used. Added
15080 future support for double top/bottom rows.
15082 2001-10-24 José Matos <jamatos@fep.up.pt>
15084 * buffer.h (docbookHandleCaption):
15085 * buffer.C (docbookHandleCaption): removed unused function.
15086 (makeDocBookFile): moved docbook supported version to v4.1.
15088 2001-10-24 José Matos <jamatos@fep.up.pt>
15091 * tabular.C (docbookRow): new function to export docbook code of a row.
15092 (DocBook): now honors the longtable flags.
15094 2001-10-23 José Matos <jamatos@fep.up.pt>
15097 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15098 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15100 * buffer.C (makeLinuxDocFile):
15101 (makeDocBookFile): reworked the preamble, more clean, and with
15102 support for lyx defined entities. Changed the document declaration
15103 to be more XML friendly.
15105 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15106 if we need to output XML that should be done with a filter.
15108 2001-10-22 Juergen Vigna <jug@sad.it>
15110 * sp_pspell.h (class PSpell): add alive function needed in the
15111 controller to see if the spellchecker could be started.
15113 2001-10-22 Juergen Vigna <jug@sad.it>
15115 * buffer.C (insertStringAsLines): modify the font for inserting
15116 chars in certain conditions by calling checkInsertChar(font).
15118 2001-10-19 Juergen Vigna <jug@sad.it>
15120 * text.C (workWidth): use getRow instead of wrong algorithm.
15121 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15123 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15128 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15130 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15132 * text.C (workWidth): do not search for the exact row when
15133 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15134 optimization for big documents.
15136 2001-10-18 Juergen Vigna <jug@sad.it>
15138 * text.C (workWidth): new function with added Inset * parameter.
15140 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15142 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15144 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15145 change return type of getColumnNearX.
15148 * text.C (changeRegionCase): use uppercase/lowercase instead of
15151 (rightMargin): simplify code by factoring out the uses of
15156 (appendParagraph): use Paragraph::size_type
15158 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15160 * vspace.C (asLatexString): add a missing break
15162 2001-10-15 Herbert Voss <voss@perce.de>
15164 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15166 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15168 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15171 2001-10-10 André Pönitz <poenitz@gmx.net>
15173 * lyxfunc.C: removed greek_kb_flag.
15175 2001-10-10 Herbert Voss <voss@perce.de>
15177 * lyx_main.C: delete global string help_lyxdir.
15179 2001-10-09 Herbert Voss <voss@perce.de>
15181 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15183 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15185 * lyx_main.C: added global string help_lyxdir.
15187 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15189 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15191 * lyxrc.C (set_font_norm_type): support iso8859-4
15193 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15195 * LaTeX.C (deplog): add another regex for MikTeX
15197 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15199 * lyxrc.C (set_font_norm_type): support iso8859-3
15201 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15203 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15205 * LaTeXFeatures.C: remove special case of french and index
15207 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15208 before \begin{document}). This solves several incompatibilities.
15210 2001-10-03 Garst Reese <reese@isn.net>
15212 * lyx_cb.C: change CheckTex error msg.
15214 2001-10-03 José Matos <jamatos@fep.up.pt>
15216 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15218 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15220 * .cvsignore: update
15222 * lyx_main.C (commandLineVersionInfo): use new style version info.
15224 * buffer.C (writeFile):
15226 (makeLinuxDocFile):
15227 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15229 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15231 * version.h: update to use stuff in version.C
15233 * version.C.in: new file. Contains version information determined
15234 at compile time. This is a merging of version.h and
15237 2001-10-03 Juergen Vigna <jug@sad.it>
15239 * BufferView_pimpl.C (update): don't change "dirty" status in
15242 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15244 * WorkArea.C (c-tor): re-position version string slightly.
15246 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15248 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15249 revert to previous code.
15251 WorkArea.[Ch]: (show, destroySplash): methods removed.
15253 WorkArea.C: rework code so that it's an amalgam of the codes before and
15254 after the splash screen was moved to WorkArea.
15256 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15259 * vspace.C (inPixels):
15262 * buffer.C (insertStringAsLines):
15263 (asciiParagraph): fix types to be large enough
15265 * lyxlex_pimpl.h: change member status from short to int
15267 * layout.h: fix type of endlabeltype
15270 * kbsequence.C (parse): change return type to string::size_type
15272 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15275 * Bullet.C (bulletSize):
15276 (bulletEntry): do not use short ints as parameters
15278 * BufferView2.C (insertLyXFile): change a char to an int.
15280 * WorkArea.C (WorkArea): remove unneeded floats in computation
15282 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15284 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15286 * paragraph.C (asString): Do not ignore newline/hfill chars when
15287 copying to the clipboard.
15289 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15291 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15292 after a multi-line inset.
15294 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15296 * paragraph.C (validate): Set NeedLyXFootnoteCode
15298 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15300 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15301 and decrease-error to decrease.
15303 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15305 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15306 it more readable (should be equivalent)
15308 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15310 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15312 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15314 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15315 of a cursor (row, etc.) after a character has been deleted
15316 (deleteEmptyParagraphMechanism): call the method above on _all_
15317 cursors held by the LyXText when a double space has been
15320 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15322 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15324 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15326 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15327 background. Use greyOut() and the new show() methods to toggle between
15328 the foreground and background. Add code to remove the splash after
15329 its initial showing.
15331 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15332 (create_forms): no longer call Dialogs::showSplash.
15334 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15336 * .cvsignore: add version_info.h
15338 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15340 * version_info.h.in: new file
15342 * Makefile.am: add version_info.h.in
15344 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15345 version_info.h instead of VERSION_INFO
15347 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15349 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15350 The ERT inset now returns string().
15352 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15354 * lyxtext.h, text.C (selectNextWord): renamed as
15355 selectNextWordToSpellcheck.
15357 * text.C (selectNextWordToSpellcheck): Modified to not select
15358 words inside an ERT inset.
15360 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15362 * lyx_cb.C (MenuLayoutSave): change a bit the question
15364 * sp_base.h: include <sys/types.h>
15366 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15368 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15370 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15372 * several files: fix typos in user-visible strings
15374 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15376 * text2.C (pasteSelection): do not set the selection, since it
15377 will be cleared later. Actually, the intent was to fix the way the
15378 selection was set, but I figured rmoving the code was just as good.
15380 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15382 * FontLoader.C (available): Check if font is available without
15385 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15387 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15389 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15391 * lyxrc.[Ch]: added display_graphics variable and associated code.
15393 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15395 * bufferparams.C (hasClassDefaults): new method. Returns true if
15396 the buffer parameters correspond to known class defaults
15398 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15400 * XFormsView.C (show): set minimum size to the main window.
15402 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15404 * text2.C (copySelection):
15406 * lyxfind.C (LyXReplace):
15407 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15408 LyXText::selectionAsString.
15410 * paragraph.C (asString): add "label" argument to the second form
15412 * text2.C (selectionAsString): add "label" argument and pass it to
15413 Paragraph::asString.
15415 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15417 * lyx_main.C (commandLineHelp): remove version information
15419 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15421 * lyx_main.C: add -version commandline option
15423 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15425 * paragraph.h: make the optional constructor arg required instead.
15426 some modifications to other files because of this.
15428 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15430 * lyxserver.C (C_LyXComm_callback): make it static
15432 * lyx_main.C (error_handler): make it static
15434 * lyx_gui.C (LyX_XErrHandler): make it static
15436 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15438 * WorkArea.C: make the extern "C" methods static.
15440 * Makefile.am (lyx_LDADD): simplify
15442 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15444 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15445 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15447 * LyXAction.C (init):
15448 * lyxfunc.C (dispatch): associated code removal.
15450 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15452 * lyxfont.h (isSymbolFont): shut off warning
15454 * text.C (setHeightOfRow):
15455 (getVisibleRow): fix crash with empty paragraphs which have a
15458 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15460 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15463 2001-09-04 José Matos <jamatos@fep.up.pt>
15466 * tabular.C (docbook): rename docBook method to docbook.
15468 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15470 * Makefile.am: add dependencies to main.o.
15472 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15474 * FontLoader.C (available): Return false if !lyxrc.use_gui
15476 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15478 * FontInfo.C (query):
15479 * converter.C (view):
15480 * importer.C (Import):
15481 * exporter.C (Export): Can not -> cannot.
15483 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15485 * BufferView_pimpl.C: allow to create index inset even if
15488 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15490 * buffer.C (getLists): replace boost::tie code with an explicit pair
15491 as boost::tie can break some compilers.
15493 * iterators.h: Added a std:: declaration to the return type of
15496 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15498 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15501 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15503 * iterators.[Ch]: New files. Provide paragraph iterators.
15505 * buffer.C (changeLanguage): Use paragraph iterators.
15506 (isMultiLingual): ditto
15508 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15510 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15512 * FontLoader.C: Support for cmr font.
15514 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15516 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15517 (available): New method.
15519 * FontInfo.C (getFontname): Use scalable fonts even when
15520 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15523 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15525 * converter.C (Formats::view): reverted! Incorrect fix.
15527 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15529 * converter.C (Formats::view): only output the -paper option
15530 if the dvi viewer is xdvi, thereby fixing bug #233429.
15532 2001-08-23 Herbert Voss <voss@perce>
15534 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15536 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15538 * Spacing.h (Spacing): Set space to Default on in the default
15541 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15543 * vc-backend.h (RCS::versionString): add RCS to version
15544 (CVS::versionString): add CVS to version
15546 * vc-backend.C (scanMaster): do not add CVS to version.
15547 (scanMaster): do not add RCS to version
15549 * lyxvc.C (versionString): new method
15551 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15553 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15555 * Spacing.C (set): initialize fval
15557 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15559 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15562 2001-08-16 Juergen Vigna <jug@sad.it>
15564 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15566 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15568 * BufferView_pimpl.C:
15571 * text2.C: setParagraph takes linespacing now
15573 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15575 * LyxAction.C: add internal LFUN_CITATION_INSERT
15577 * LyXView.C: actually apply fix
15579 * bufferlist.C: fix open non-existent file
15581 * lyxfind.C: fix indentation
15583 * lyxfunc.C: remove unneeded assert, fix typo
15585 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15587 * MenuBackend.C: use "Floatname List"
15589 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15591 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15592 when converting LaTeX layout to insetERT.
15593 Generate a non-collapsed float when reading old float
15595 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15597 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15600 2001-08-13 Juergen Vigna <jug@sad.it>
15602 * text.C (fill): return 0 instead of 20 as this seems to be the more
15605 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15607 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15610 2001-08-13 Juergen Vigna <jug@sad.it>
15612 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15614 (SearchBackward): comment out the unlocking of the inset_owner this
15615 should not be needed!
15617 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15619 * Many files: Remove inherit_language, and add latex_language
15621 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15622 collapsible insets.
15624 2001-08-10 Juergen Vigna <jug@sad.it>
15626 * text.C (prepareToPrint): fixed hfill-width in draw!
15628 * BufferView2.C (selectLastWord): save the selection cursor as this
15629 now is cleared in the function LyXText::clearSelection!
15631 2001-08-08 Juergen Vigna <jug@sad.it>
15633 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15634 BACKSPACE type functions.
15636 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15637 is only cutted from the document but not put in the cut-buffer, where
15638 still the old stuff should be.
15640 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15642 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15644 * tabular.C (SetWidthOfCell): fixed special case where the width
15646 (LeftLine): handle '|' in align_special.
15648 (LeftAlreadyDrawed): ditto
15649 (SetWidthOfCell): ditto
15651 2001-08-07 Juergen Vigna <jug@sad.it>
15653 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15655 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15657 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15658 * lyxlex.[hC]: ditto
15660 2001-08-06 Juergen Vigna <jug@sad.it>
15662 * text.C (getVisibleRow): fix up row clearing a bit.
15664 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15666 * minibuffer.C: make sure the X server sees the changes in the input.
15668 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15670 * paragraph.C (getFont): split into...
15671 (getLabelFont): this
15672 (getLayoutFont): and this
15673 * paragraph_pimpl.C (realizeFont): calling this
15675 * text2.C (getFont): split into...
15676 (getLayoutFont): this
15677 (getLabelFont): and this
15678 (realizeFont): all three calling this
15680 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15683 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15685 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15687 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15689 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15690 layouts from the Quote inset insertion.
15692 2001-08-03 Juergen Vigna <jug@sad.it>
15694 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15696 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15697 only if status not is already CHANGED_IN_DRAW (second level).
15699 * text.C (draw): don't set the need_break_row when inside an
15702 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15704 * buffer.C (parseSingleLyXformat2Token): handle more latex
15707 * bufferview_funcs.[hC]: change function names to
15708 begin with small char, adjust other files.
15710 2001-08-02 André Pönitz <poenitz@gmx.net>
15713 BufferView_pimpl.C: remove broken special code for math-greek
15715 2001-08-02 Juergen Vigna <jug@sad.it>
15717 * BufferView_pimpl.C (update): redone this function so that we
15718 update the text again if there was a CHANGE_IN_DRAW.
15720 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15721 (drawFromTo): added a new internal bool which is used by draw() and
15723 (general): some cursor drawing problems fixed.
15725 2001-08-01 Juergen Vigna <jug@sad.it>
15727 * lyxfind.C (LyXFind): fixed
15728 (SearchForward): ditto
15729 (SearchBackward): ditto
15731 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15732 spurius drawing of the cursor in the main area.
15734 * text2.C (status): small fix which could lead to a segfault!
15735 (clearSelection): remove unneeded BufferView param.
15737 2001-08-01 André Pönitz <poenitz@gmx.net>
15739 * lyxfunc.C: small change due to changed mathed interface
15741 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15743 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15745 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15747 * lyxfunc.c: fail gracefully if file doesn't exist
15752 * BufferView_pimpl.C: IsDirWriteable() proto changed
15754 * LyXView.C: fix updateWindowTitle() to store the last title
15756 2001-07-31 Juergen Vigna <jug@sad.it>
15758 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15759 the font (wrong since using of Paragraph::highestFontInRange).
15761 * paragraph.C (highestFontInRange): added a default_size parameter.
15763 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15764 (setHeightOfRow): reformat
15766 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15768 * converter.[hC] + affected files: move to (inital-char)lowercase
15771 * ParagraphParameters.C (ParagraphParameters): remove commented code
15773 * PainterBase.[Ch]: remove commented code
15775 * LaTeXFeatures.h: add "bool floats" for float.sty
15777 * LaTeXFeatures.C (LaTeXFeatures): init floats
15778 (require): handle float
15779 (getPackages): do it with floats
15781 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15783 * BufferView_pimpl.C (Dispatch): improve handling of
15784 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15786 * commandtags.h: #include lyxfont.h here temporarily to avoid
15789 * bufferlist.h: include LString.h here.
15791 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15793 * text2.C (getStringToIndex): new method.
15795 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15797 * *: Reduced header file dependencies all over.
15799 2001-07-30 Baruch Even <baruch@lyx.org>
15801 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15803 2001-07-29 Baruch Even <baruch@lyx.org>
15805 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15807 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15809 * ParameterStruct.h (endif): add a default constructor to make
15810 sure that all variables is initialized.
15812 * ParagraphParameters.C (ParagraphParameters): adjust
15814 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15816 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15817 index; also, check that there is something to index, and that it
15818 does not span over several paragraphs.
15819 (doubleClick): use WHOLE_WORD_STRICT for double click.
15821 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15823 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15826 2001-07-26 Baruch Even <baruch@lyx.org>
15828 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15829 an InsetFig figure, backwards compatible reading of old figure code.
15831 2001-07-27 Juergen Vigna <jug@sad.it>
15833 * text2.C: font.realize function adaption.
15835 * text.C (draw): add a warnings lyxerr text if needed.
15837 * layout.C: font.realize function adaption.
15839 * language.C: add inherit_language and implement it's handlings
15841 * bufferview_funcs.C (StyleReset): remove language parameter from
15842 font creation (should be language_inherit now).
15844 * bufferparams.C (writeFile): handle ignore_language.
15846 * paragraph.C (getFontSettings): the language has to be resolved
15847 otherwise we have problems in LyXFont!
15849 * lyxfont.C (lyxWriteChanges): added document_language parameter
15850 (update): removed unneeded language parameter
15852 * paragraph.C (validate): fixed wrong output of color-package when
15853 using interface colors for certain fonts in certain environments,
15854 which should not seen as that on the final output.
15856 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15858 * BufferView_pimpl.C:
15863 * LyXAction.C: add thesaurus support
15866 * lyxfind.C: add "once" parameter, for thesaurus, to not
15867 move to the next match
15869 2001-07-26 Juergen Vigna <jug@sad.it>
15871 * lyxfont.C (realize): honor ignore_language too!
15874 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15876 * text.C (draw): one place more for ignore_language to not draw
15879 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15881 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15883 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15885 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15886 the minipage conversion problem.
15888 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15890 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15893 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15895 * BufferView.h: don't forward declare WorkArea
15897 * BufferView.C: don't include WorkArea.h
15899 2001-07-25 André Pönitz <poenitz@gmx.net>
15903 * lyxfunc.C: new LFUN 'math-space'
15905 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15907 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15909 * text2.C (toggleInset): call open/close
15911 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15913 * lyxfunc.C (dispatch): add debug for the disabled case
15915 * font.C (buttonText): make similar to rectText
15917 * buffer.C (readInset): comment out parsing of insetlist and
15920 * PainterBase.C (rectText): small correction
15922 * BufferView_pimpl.C: comment out insettheorem and insetlist
15923 * LyXAction.C: ditto
15924 * commandtags.h: ditto
15926 2001-07-24 Juergen Vigna <jug@sad.it>
15928 * text.C (draw): honor the ignore_language.
15930 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15932 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15934 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15937 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15939 * lyxtext.h: remove unused (and unimplemented) methods
15941 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15943 * text.C (getVisibleRow): honor background color
15946 * Painter.h: remove default color argument for fillRectangle
15948 * text.C (backgroundColor): new method
15950 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15952 * text.C (getVisibleRow): adjust
15954 * font.[Ch] (rectText): new method, metrics
15955 (buttonText): new method, metrics
15957 * PainterBase.[hC]: make rectText and buttonText always draw and take
15960 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15962 * ToolbarDefaults.C (read):
15963 * MenuBackend.C (read): allow escaping in all strings
15965 * BufferView_pimpl.C (insertAndEditInset): new method.
15966 (Dispatch): use insertAndEditInset whenever appropriate.
15968 * BufferView_pimpl.C (insertNote): removed
15970 * BufferView_pimpl.C (smartQuote): new method, moved from
15971 BufferView; if an insetquote cannot be inserted, insert a '"'
15974 * BufferView2.C: remove insertCorrectQuote();
15976 * lyxfunc.C (getStatus): Add support for all remaingin
15977 inset-insert lfuns.
15979 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15981 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15982 command (necessary to pass " as parameter of self-insert.
15984 * text.C (selectWordWhenUnderCursor):
15985 (selectWord): add word_location parameter
15986 (selectWordWhenUnderCursor): same + remove special code for word
15988 (selectNextWord): use kind() to guess type of insetspecialchar,
15991 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15992 (insertErtContents): create ert insets as collapsed.
15993 (readInset): better compatibility code for Info inset.
15995 2001-07-20 Juergen Vigna <jug@sad.it>
15997 * lyxfunc.C (dispatch): use always LyXFind now!
15999 * text2.C (init): add a reinit flag so that the LyXText can be
16000 reinited instead of deleted and reallocated (used in InsetText).
16002 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16008 2001-07-18 Juergen Vigna <jug@sad.it>
16010 * text.C (selectNextWord): handle insets inside inset by calling
16011 always the bv->text functions so that we can go up the_locking_inset!
16013 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16014 in strange locations when inside an inset!
16016 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16017 handling to include insets.
16019 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16021 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16023 * LyXAction.C (init):
16025 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16026 LIGATURE_BREAK, since the name is so stupid.
16028 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16030 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16033 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16035 * sp_form.[Ch]: remove.
16037 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16039 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16042 * src/buffer.C (readInset): ditto.
16044 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16046 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16047 menuSeparator(), endOfSentenceDot(), ldots() and
16048 hyphenationPoint(), which are therefore removed.
16049 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16051 * LyXAction.C (init):
16052 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16054 * paragraph.C (getWord): removed.
16056 * BufferView_pimpl.C (Dispatch): use last word or selection for
16057 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16059 * lyx_main.C (queryUserLyXDir): do not ask before creating
16060 user_dir, except if it has been named explicitely.
16062 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16064 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16065 a document of zero size.
16067 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16069 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16070 approriately in the c-tor and in require().
16071 (getPackages): output the appropriate LaTeX for natbib support.
16073 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16074 variables "use_natbib" and "use_numerical_citations" when reading the
16076 (readInset): read the various natbib cite commands.
16077 (validate): white-space change.
16079 * bufferparams.[Ch]: new variables "bool use_natbib" and
16080 "bool use_numerical_citations".
16081 (writeFile): output them in the LyX file.
16083 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16085 * lyxfunc.C (getStatus): add support for all the inset insertion
16088 * text2.C (insertInset):
16089 * paragraph.C (insetAllowed):
16090 * BufferView_pimpl.C (insertInset): update to take in account the
16091 renaming of insertInsetAllowed
16093 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16095 * text2.C (getInset): new method. returns inset at cursor position.
16097 * BufferView_pimpl.C (Dispatch): changes because of this.
16099 * LyXAction.C (init): rename open-stuff to inset-toggle.
16101 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16103 * text2.C (toggleInset): renamed from openStuff; use
16106 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16108 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16110 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16112 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16114 * buffer.C (readLyXformat2): Add filename to the error dialog
16116 2001-07-18 Juergen Vigna <jug@sad.it>
16118 * tabular.C (GetCellNumber): put an assert here instead of the check!
16120 2001-07-17 Juergen Vigna <jug@sad.it>
16122 * BufferView_pimpl.C (toggleSelection): adapted too.
16124 * text.C (selectNextWord): adapted for use with insets.
16125 (selectSelectedWord): ditto
16127 2001-07-17 Juergen Vigna <jug@sad.it>
16129 * sp_spell.C (PSpell): fix initialitation order.
16131 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16133 * paragraph.C: spacing
16135 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16137 * sp_spell.C: repair language selection for pspell
16139 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16141 * lyxfunc.h: change more methods to begin with lower char.
16143 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16145 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16146 for unknown layouts.
16148 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16150 * buffer.C (readLyXformat2): Generate an error dialog if there are
16153 2001-07-16 Juergen Vigna <jug@sad.it>
16155 * sp_spell.C: always compile ISpell part.
16157 * lyxrc.C: added use_pspell entry and it's handling.
16159 2001-07-13 Juergen Vigna <jug@sad.it>
16161 * sp_spell.C: removed double includes.
16163 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16165 Consistent use of Lsstream.h:
16166 * Lsstream.h: added using std::stringstream for consistencies sake.
16168 * buffer.C: removed using std::stringstream
16170 * lyxfont.C (stateText):
16171 * paragraph.C (asString):
16172 * text.C (selectNextWord, selectSelectedWord):
16173 * text2.C (setCounter):
16174 * vspace.C (asString, asLatexString):
16175 std::ostringstream -> ostringstream.
16177 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16179 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16180 * commandtags.h: add LFUN_HELP_ABOUTLYX
16181 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16183 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16185 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16187 * lyx_gui_misc.C: remove spellchecker
16188 * lyxfunc.C: showSpellchecker
16190 * sp_ispell.h: added
16191 * sp_pspell.h: added
16192 * sp_spell.C: added
16193 * sp_form.[Ch]: removed
16194 * spellchecker.[Ch]: removed
16196 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16198 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16200 (simpleTeXSpecialChars): Simply print the input character without
16201 any special translation if pass_thru is set.
16203 * layout.h: Added bool pass_thru to layout class for being able to
16204 implement pass through of a paragraph for Literate Programming.
16206 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16207 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16208 * layout.C (Read): add "passthru" to list of layout tags and add
16209 code to set the pass_thru boolean when it is read.
16211 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16213 * trans_decl.h: remove allowed from KmodInfo
16215 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16216 remove allowed code
16219 * paragraph_pimpl.C (erase): use boost::prior
16221 * Painter.C (text): use data() instead of c_str() when length is
16223 * WorkArea.C (putClipboard): ditto
16224 * font.h (width): ditto
16226 * BufferView2.C: use it-> instead of (*it). for iterators
16228 * paragraph_pimpl.C: ditto
16229 * paragraph.C: ditto
16230 * minibuffer.C: ditto
16231 * language.C: ditto
16233 * encoding.C: ditto
16234 * counters.C: ditto
16235 * converter.C: ditto
16237 * Variables.C: ditto
16238 * TextCache.C: ditto
16239 * MenuBackend.C: ditto
16240 * LyXAction.C: ditto
16242 * FloatList.C: ditto
16243 * DepTable.C: ditto
16244 * ColorHandler.C (LyXColorHandler): ditto
16246 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16248 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16250 * text2.C (openStuff): reintroduce this method (which had been
16251 nuked in NEW_INSETS frenzy).
16253 * lyxfunc.C (Dispatch): when an action has not been handled, use
16254 its name in the error message, not its number.
16256 * paragraph.C (inInset): change method name to begin with lowercase.
16259 * text2.C: updates because of this.
16261 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16263 * ToolbarDefaults.C (add): add spaces in error message
16265 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16267 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16268 (readLyXformat2): rename return_par to first_par, use lyxlex's
16269 pushToken and remove the manual push handling.
16270 (parseSingleLyXformat2Token): add another ert comp. variable:
16271 in_tabular, rename return_par to first_par. handle newlines better
16273 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16275 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16277 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16279 * text2.C (getParFromID): removed
16281 * buffer.C (getParFromID): new method moved form lyxtext.
16282 * BufferView2.C (insertErrors): adjust
16283 (setCursorFromRow): adjust
16284 * BufferView_pimpl.C (restorePosition): adjust
16285 * lyxfunc.C (Dispatch): adjust
16286 * undo_funcs.C (textUndo): adjust
16288 (textHandleUndo): adjust
16289 (textHandleUndo): adjust
16291 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16293 * buffer.C: up' the LYX_FORMAT
16295 * lyxfont.h: turn NO_LATEX on as default
16297 * buffer.C (insertErtContents): new methods of tex style compability.
16298 (parseSingleLyXformat2Token): use it several places.
16299 * tabular.C (OldFormatRead): and here
16301 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16303 * text2.C: remove some commented code.
16306 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16307 * trans.C: changes because of the above.
16309 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16311 * text2.C (setCounter): Fix counters bug with bibliography layout.
16313 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16315 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16316 own member functions
16317 (simpleTeXSpecialChars): ditto
16319 2001-07-06 Juergen Vigna <jug@sad.it>
16321 * a lot of files: changed the access to LyXText::status and the
16322 call of undo-functions.
16324 * undo.[Ch]: added a inset_id to the undo informations.
16326 * undo_funcs.[Ch]: added and moved here all undo functions.
16328 * lyxtext.h: give the status enum a weight, made status_ a private
16329 variable and made accessor functions for it, removed the whole bunch
16330 of undo-functions as they are now in their own file, make some
16331 functions publically available. Added function ownerParagraph with
16334 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16335 made InInset() a const function, added getParFromID() function.
16337 * buffer.[Ch]: added const version for inset_iterator functions,
16338 added getInsetFromID() function.
16340 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16341 changed undo functions for new version.
16343 2001-07-05 Juergen Vigna <jug@sad.it>
16345 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16346 unknow mechanism does not call the proper constructor but only this
16347 one also if I request the other!?
16349 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16351 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16353 * text2.C (LyXText): use initialization lists.
16355 * lyxtext.h (Selection): initialize set_ and mark_
16356 (init): remove method
16358 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16360 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16362 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16364 * screen.[Ch]: change method names to begin with lowercase
16366 * BufferView_pimpl.C (updateScrollbar): simplify further and
16367 hopefully make it a bit faster.
16369 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16371 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16372 calling directly xforms functions.
16374 * Painter.C (Painter):
16375 * lyx_cb.C (MenuWrite):
16376 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16379 * lyx_gui.C: remove bogus guiruntime extern declaration.
16381 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16383 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16385 (redoDrawingOfParagraph): ditto
16386 (redoParagraphs): ditto
16387 (cutSelection): don't create a object for CutAndPaste use the
16388 static method directly
16389 (pasteSelection): ditto
16391 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16394 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16396 * modifications to some other files because of this.
16398 * Makefile.am (lyx_SOURCES): add XFormsView
16400 * XFormsView.[Ch]: new files
16402 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16403 the main window. Move the gui dependent stuff to XFormsView
16405 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16407 * tabular.C (GetCellInset): update cur_cell also in the row/col
16408 version of this function.
16410 * lyxfunc.C: no need to include figure_form.h here.
16416 * lyxvc.C: no need to include forms.h here.
16418 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16420 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16422 * lyxfunc.C (Dispatch):
16424 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16425 constructor argument.
16427 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16429 * paragraph.C (Paragraph): dont't clear, and just set layout.
16430 (makeSameLayout): use params's copy contructor.
16432 * ParagraphParameters.[Ch] (makeSame): delete method
16434 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16436 * Variables.[Ch]: fix indentation, rename set to isSet
16438 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16440 * lyxfunc.C (Dispatch): fix typo
16442 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16444 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16447 * bufferlist.C: include assert.h for emergencyWrite().
16449 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16451 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16452 give up at last (bug #425202) !
16454 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16460 * spellchecker.C: strip spellchecker options and bring up
16461 preferences tab instead
16463 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16465 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16466 the istringstream constructor
16468 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16470 * paragraph.C (getLayout): fix return value
16472 * paragraph.h: do not declare getLayout as inline.
16474 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16476 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16478 * lyxcursor.h (operator<): new func
16479 (operator>): new func
16480 (operator>=): new func
16481 (operator<=): new func
16483 * text.C (changeCase): use selection.start and selection.end
16484 (changeRegionCase): require from to be <= to. Require par to be a
16487 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16489 2001-06-27 Juergen Vigna <jug@sad.it>
16491 * text.C (cursorLeftOneWord): changed to return the cursor and added
16492 overlay with BufferView * parameter which calls this one.
16494 (selectWord): use new getWord function.
16495 (changeCase): renamed from changeWordCase as and extended to work
16496 also on selections.
16498 * lyxtext.h: added enum word_location
16500 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16501 changeCase as this operates now also on selections.
16503 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16505 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16507 * many files: send debug output to Debug::INFO instead of
16510 * converter.C (View):
16512 (Move): send debug output to Debug::FILES instead of console.
16514 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16516 * lyxfunc.C (getStatus): use func_status
16518 * func_status.h: new header, describing the results of
16519 LyXFunc::getStatus;
16521 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16524 2001-06-25 The LyX Project <jug@sad.it>
16526 * buffer.C (sgmlOpenTag):
16528 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16530 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16532 * text2.C: remove some dead code
16534 * tabular.C (GetCellInset): store the last cell checked (gotten)
16536 * tabular.h: add the helper for the speedup
16538 * lyxtext.h: remove some dead code
16540 2001-06-26 The LyX Project <Asger>
16542 * paragraph.C: Change export to LaTeX of alignment to
16543 \begin{center} and family for better roundtrip work with reLyX.
16545 * Tune the math drawing a bit.
16547 2001-06-25 The LyX Project <Asger>
16549 * LColor.C (LColor): New color for math background. New color
16552 2001-06-25 The LyX Project <jug@sad.it>
16554 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16556 * lyxfunc.C (Open):
16557 * bufferlist.C (newFile): do not restrict to files ending with
16560 * BufferView_pimpl.C (MenuInsertLyXFile):
16562 2001-06-24 The LyX Project <jug@sad.it>
16564 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16567 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16569 * lyxtext.h: rename most methods to begin with a small char.
16570 Lots of changes because of this.
16572 * paragraph.C (Paragraph): do not call fitToSize
16573 (erase): call Pimpl::erase
16574 (insertChar): call Pimpl::insertChar
16575 (insertInset): call Pipl::insertInset
16576 (breakParagraph): do not call fitToSize
16577 (breakParagraphConservative): do not call fitToSize
16578 (fitToSize): remove method
16580 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16582 2001-06-24 The LyX Project <Asger>
16584 * Fix Qt compilation^2
16586 2001-06-24 The LyX Project <jug@sad.it>
16588 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16589 depthHook(getDepth()-1).
16592 * ParagraphParameters.h:
16593 * ParameterStruct.h: change type of depth to unsigned int ==
16594 depth_type. Many adaptations to other files before of that.
16596 2001-06-24 The LyX Project <Asger>
16598 * Fix Qt compilation.
16600 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16602 * paragraph.h: renamed several methods to begin with small letter.
16603 several changes to many parts of the code because of this.
16605 2001-06-23 The LyX Project <jug@sad.it>
16607 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16608 rewritten to discard all double spaces when KeepEmpty is off
16609 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16610 to only handle newlines but not fiddle with spaces and friends.
16612 * lyxfunc.C (MenuNew): when doing 'new from template', use
16613 template_path as default directory
16615 2001-06-23 The LyX Project <Asger>
16617 * Clean-up of header file includes all over
16618 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16620 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16622 * paragraph.h: renamed from lyxparagraph.h
16624 2001-06-23 Asger <lyx@violet.home.sad.it>
16626 * Buffer.h: Removed Buffer::resize
16627 * BufferList.h: Removed BufferList::resize
16628 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16629 the document lazily when we change the width, or the font settings.
16631 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16633 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16635 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16637 * buffer.h: remove out of date comment
16639 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16642 * screen.C: fix "theoretical" GC leak
16644 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16646 * LaTeX.C (scanAuxFile):
16647 (deplog): remove trailing \r when reading stream (useful under
16650 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16652 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16653 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16654 and BufferView::theLockingInset(Inset*), so should use them and not
16655 access bv_->text->the_locking_inset directly.
16657 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16659 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16662 * tex-defs.h: remove old unused file
16664 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16666 * BufferView_pimpl.C: fix typo, remove minibuffer message
16667 when buffer has loaded
16669 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16671 * lyxfunc.C (Dispatch): use stringstream
16672 (MenuNew): use stringstream
16673 (Open): use stringstream
16675 * importer.C (Import): use stringstream
16677 * bufferview_funcs.C (CurrentState): use stringstream
16679 * LaTeX.C (run): use stringstream
16681 * BufferView_pimpl.C (savePosition): use stringstream
16682 (restorePosition): use stringstream
16683 (MenuInsertLyXFile): use stringstream
16685 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16698 * vspace.C: removed // -*- C++ -*- as first line.
16701 * version.h: added // -*- C++ -*- as first line.
16703 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16705 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16707 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16710 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16712 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16715 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16717 * gettext.C: include LString.h even when --disable-nls is on.
16719 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16721 * converter.h (Get): changed argument type from int to
16722 FormatList::size_type to avoid unnecessary conversion.
16724 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16727 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16729 * gettext.h: include LString.h even when --disable-nls is on.
16731 2001-06-07 Juergen Vigna <jug@sad.it>
16733 * text.C (BreakAgain): subst spaces with tabs.
16735 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16736 (resizeInsetsLyXText): set force on resizeLyXText.
16738 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16740 * gettext.h (gettext_init):
16741 (locale_init): use a real definition instead of a macro
16743 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16745 * Bufferview_pimpl.C:
16747 * LColor.C: further lcolor tidies
16749 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16751 * BufferView_pimpl.C (updateScrollbar): simplify.
16753 * BufferView2.C: don't include insets/insetinfo.h, change
16754 prototype for insertInset and call the Pimpl version. let
16755 updateInset call Pimpl version.
16757 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16758 gotoInset to BufferView::Pimpl
16760 2001-06-01 Juergen Vigna <jug@sad.it>
16762 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16763 inside a LockingInset (is the update needed at all?).
16765 2001-05-31 Juergen Vigna <jug@sad.it>
16767 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16768 here not the old one otherwise how should we compare it afterwards
16771 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16776 * FontInfo.C: bring C functions into global namespace when
16779 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16781 * LString.h: make sure config.h has been loaded before LString.h.
16783 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16784 (one for each char read by EatLine!).
16786 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16789 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16791 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16792 to the same as the par we break from
16794 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16796 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16798 * MenuBackend.C (expand): also create menu entries for wide
16799 versions of the floats.
16801 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16803 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16805 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16806 frontends/Makefile.am
16812 * tabular.C (getTokenValue): add std::
16814 * tabular-old.C (getTokenValue): add std::
16815 (getTokenValue): ditto
16816 (getTokenValue): ditto
16818 * screen.C (ToggleSelection): adjust
16820 * lyxtext.h: put selection cursors inside a Selection struct.
16822 * lyxfunc.C (moveCursorUpdate): adjust
16824 * lyxfont.C (latexWriteStartChanges): add std::
16826 * lyxfind.C: adjust
16828 * font.h: delete with(char const *, LyXFont const &)
16830 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16832 * FontInfo.C (getFontname): add std::
16834 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16835 (workAreaButtonPress): adjust
16836 (tripleClick): adjust
16838 (moveCursorUpdate): adjust
16841 * BufferView2.C (gotoInset): adjust
16843 2001-05-30 Juergen Vigna <jug@sad.it>
16845 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16846 to check pspell I add this as default as I now have new pspell
16847 libraries and they seem to use this.
16849 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16851 * text2.C (CutSelection): make the cursor valid before the call to
16854 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16856 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16857 relied on 0 terminated strings and other horrors. Bug found due to
16858 the new assert in lyxstring!
16860 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16863 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16865 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16868 * lyxfunc.C (processKeySym): change method of getting to the
16871 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16872 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16873 * BufferView_pimpl.[Ch]: here as private methods.
16875 2001-05-28 Juergen Vigna <jug@sad.it>
16877 * text.C (SetHeightOfRow): added the update() call again as it is
16878 needed to initialize inset dimensions!
16880 2001-05-16 Juergen Vigna <jug@sad.it>
16882 * text2.C (SetCharFont): Add new function with BufferView * and
16883 bool toggleall parameters for setting insets internal fonts.
16884 (SetFont): Freeze the undo as we may change fonts in Insets and
16885 all this change should be inside only one Undo!
16887 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16888 setting font's in insets as for them we have the SetFont function!
16890 2001-05-15 Juergen Vigna <jug@sad.it>
16892 * text2.C (ClearSelection): to be sure we REALLY don't have any
16895 * tabular.C (TeXCellPreamble): fixed the left border problem for
16898 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16900 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16903 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16905 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16906 LFUN_BREAKPARAGRAPH.
16908 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16909 help test to "internal only", similar for LFUN_INSERT_URL
16911 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16912 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16913 auto_region_delete and deadkeys.
16915 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16918 * LColor.C: remove some dead entries, tidy a little
16920 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16922 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16924 (Dispatch): implement LFUN_ESCAPE
16926 * commandtags.h: add LFUN_ESCAPE
16928 * LyXAction.C (init): add entry for LFUN_ESCAPE
16930 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16931 Remove commented code.
16932 (insertNote): moved here
16933 (open_new_inset): moved here
16935 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16938 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16940 * kbmap.C (findbinding): clean it up and make it work correctly.
16942 * lyx_main.C (init): do not pass argc and argv as parameters
16944 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16946 * buffer.C: fix path for OS/2 & Win32
16950 * lyx_main.C: Added os:: class.
16952 * os2_defines.h: update
16954 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16956 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16957 better by trying again with reduced state.
16959 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16961 * lyxrc.C (read): print error about invalid key sequence only when
16962 debugging (because not all latinX keysyms are known to some X
16965 * kbsequence.C (getiso): add a few std:: qualifiers
16966 (getiso): comment out extra return statement.
16968 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16970 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16972 (Dispatch): enhance the accent inset a bit. (not perfect)
16974 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16976 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16978 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16980 * bufferlist.C (emergencyWrite): fix assert() call
16982 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16984 * text.C (InsertChar): Added trivial patch to only send the "you
16985 can not do multiple spaces this way" message once during a
16988 2001-05-08 Baruch Even <baruch@lyx.org>
16990 * Makefile.am: Changed order of libraries to get LyX to link properly
16991 with the gnome frontend.
16993 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16995 * LaTeXFeatures.h: add a std:: qualifier
16997 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16999 * paragraph.C (String): use stringstream
17001 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17003 * paragraph.C (writeFile): remove footflag arg
17005 * buffer.C (makeLaTeXFile): use stringstream
17006 (latexParagraphs): remove footnot gurba
17008 * LaTeXFeatures.C (getPackages): use stringstream
17009 (getMacros): likewise
17010 (getTClassPreamble): likewise
17011 (getFloatDefinitions): new method
17013 * paragraph.C (writeFile): reindent
17016 * WorkArea.h: revert the xpos + etc changes.
17018 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17020 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17022 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17023 (pasteSelection): likewise
17024 * text2.C (CreateUndo): likewise
17026 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17028 * minibuffer.C (peek_event): temporarily reduce the functionality
17029 of the minibuffer (to allow args on lfuns)
17031 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17032 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17034 * buffer.C (readInset): add compability reading of old float
17035 lists, add reading of new style float list.
17036 (readInset): avoid reevaluation of inscmd.getCmdName()
17037 (getLists): reindent
17039 * MenuBackend.C (MenuItem): implement parsing of
17040 md_floatlistinsert and md_floatinsert.
17041 (expand::LastFiles): move initalizaton of iterators out of loop,
17042 avoid reevaluation.
17043 (expand::Documents): introduce typdedef vector<string> Strings,
17045 (expand::ExportFormats): introduce typedef vector<Format const *>
17046 Formats, and use it.
17047 (expand): implement FloatListInsert and FloatInsert.
17049 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17050 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17051 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17053 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17055 (Dispatch::LFUN_FLOAT_LIST): implement
17057 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17059 * LaTeX.C (run): Fix problem with --export code.
17061 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17063 * BufferView.[Ch] (workarea): removed.
17064 (getClipboard) new method; wrapper for workarea()->getClipboard()
17066 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17069 * WorkArea.h (width, height, xpos, ypos): These methods all
17070 returned the dimensions of the work_area sub-area of WorkArea,
17071 resulting in a position error if the WorkArea were resized. Now
17072 return the dimensions of the entire WorkArea.
17074 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17076 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17078 * LaTeX.C (deplog): correct the syntax of regex reg1
17080 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17082 * undo.C: remove !NEW_INSETS cruft
17084 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17086 * text2.C: remove !NEW_INSETS cruft
17088 * text.C: remove !NEW_INSETS cruft
17090 * tabular.C: remove !NEW_INSETS cruft
17092 * spellchecker.C: remove !NEW_INSETS cruft
17094 * lyxtext.h: remove !NEW_INSETS cruft
17096 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17098 * lyxfunc.C: remove !NEW_INSETS cruft
17100 * lyxfind.C: remove !NEW_INSETS cruft
17102 * lyx_cb.C: remove !NEW_INSETS cruft
17104 * figureForm.C: remove !NEW_INSETS cruft
17106 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17108 * buffer.[Ch]: remove !NEW_INSETS cruft
17110 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17112 * CutAndPaste.C: remove !NEW_INSETS cruft
17114 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17116 * BufferView2.C: remove !NEW_INSETS cruft
17118 * BufferView.h: remove !NEW_INSETS cruft
17120 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17122 * Lsstream.h: include LString.h before the sstream headers to
17123 fix problem with gcc 2.95.3 and lyxstring
17125 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17127 * lyx_main.C: add using directives when needed for C functions
17128 declared in std:: namespace.
17130 2001-04-27 Juergen Vigna <jug@sad.it>
17132 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17133 (SetHeightOfRow): comment out the update call should not be needed!
17135 2001-04-13 Juergen Vigna <jug@sad.it>
17137 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17138 (LyXTabular): tried to minimize operator= operations (and realized
17139 hopfully Lars wish).
17141 2001-04-27 Juergen Vigna <jug@sad.it>
17143 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17145 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17147 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17149 * buffer.C (readInset): hack to make listof algorithm work
17151 * BufferView_pimpl.C: hack to make listof algorithm work
17153 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17155 * LyXAction.C: removed all !NEW_INSETS cruft
17156 (init): moved lfun_item in method
17158 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17160 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17162 * BufferView2.C (theLockingInset): white space.
17164 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17166 * minibuffer.C: include <iostream>
17168 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17170 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17172 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17174 * text.[Ch] (TransposeChars): new method
17176 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17178 * call message directly through LyXView instead of through LyXFunc
17179 * BufferView2.C: adjust
17180 * BufferView_pimpl.C: adjust
17181 * FontLoader.C: adjust
17183 * bufferview_funcs.C: adjust
17184 * converter.C: adjust
17185 * figureForm.C: adjust
17186 * importer.C: adjust
17188 * lyx_gui_misc.C: adjust
17189 * lyxfunc.C: adjust
17192 + more files in subdirs
17194 * lyxparagraph.h (size): move up int file
17197 * adjust all uses of Assert to lyx::Assert.
17199 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17200 lyxfunctional in namespace lyx
17201 * layout.C (hasLayout): ditto
17204 (delete_layout): ditto
17205 (NumberOfClass): ditto
17206 * converter.C (GetFormat): ditto
17211 * bufferlist.C (getFileNames): ditto
17212 (emergencyWriteAll): ditto
17215 * MenuBackend.C (hasSubmenu): ditto
17218 * BufferView_pimpl.C (getInsetByCode): ditto
17220 2001-04-18 Juergen Vigna <jug@sad.it>
17222 * vspace.C (asLatexString): fixed the 100% problem.
17224 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17226 * lyxfunc.C (Dispatch):
17228 * minibuffer.h: add a few std:: qualifiers
17230 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17232 * minibuffer.[Ch]: reimplement so that commands is initiated and
17233 run from lyxfunc, simplified som handling, and made the completion
17234 and history code for complete. wip.
17236 * lyxfunc.C (processKeySym): call message
17237 (miniDispatch): new temporary method
17238 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17239 (LFUN_MESSAGE): implement
17240 (LFUN_MESSAGE_PUSH): implement
17241 (LFUN_MESSAGE_POP): implement
17242 (initMiniBuffer): the initial/defualt minibuffer message.
17244 * lyxfont.[Ch]: inline some more getters
17246 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17248 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17250 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17251 (AutoSave): use LFUN_MESSAGE
17252 (Reconfigure): ditto
17254 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17256 * figureForm.C: use LFUN_MESSAGE
17258 * converter.C (runLaTeX): use LFUN_MESSAGE
17260 * bufferview_funcs.C: use LFUN_MESSAGE
17262 (changeDepth): ditto
17264 * bufferparams.h: use boost::
17266 * bufferlist.h: inherit privately from noncopyable
17268 * bufferlist.C (loadLyXFile): remove some commented code.
17270 * buffer.C (runChktex): use LFUN_MESSAGE
17272 * ShareContainer.h: inherit privately from noncopyable
17274 * ParagraphParameters.[hC] (depth): inline it.
17276 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17278 (message): new method
17279 (messagePush): ditto
17280 (messagePop): ditto
17281 (show): init minibuffer
17282 (showState): direct call
17284 * LaTeX.[Ch]: inherit privately from noncopyable
17285 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17286 instead of WriteStatus.
17288 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17290 * BufferView_pimpl.C (buffer): don't init minibuffer
17291 (workAreaButtonPress): use LFUN_MESSAGE
17292 (workAreaButtonRelease): ditto
17293 (savePosition): ditto
17294 (restorePosition): ditto
17295 (MenuInsertLyXFile): ditto
17296 (workAreaExpose): don't init minibuffer
17297 (update): remove commented code, simplify
17299 * BufferView2.C (openStuff): use LFUN_MESSAGE
17300 (toggleFloat): ditto
17303 (copyEnvironment): ditto
17304 (pasteEnvironment): ditto
17309 (updateInset): remove some commented code
17311 * lastfiles.h: inherit privately from noncopyable
17314 * lyx_main.h: ditto
17316 * lyxlex_pimpl.h: ditto
17318 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17319 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17320 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17322 * LyXAction.h: inherit privately from noncopyable, add methods
17323 func_begin, func_end, returning iterators to the func map.
17325 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17326 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17327 (func_begin): new method
17328 (func_end): new method
17330 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17332 (copySelection): ditto
17333 (pasteSelection): ditto
17335 * BufferView.C: whitespace change
17336 * BufferView.h: inherit privately from noncopyable
17338 2001-04-16 Allan Rae <rae@lyx.org>
17340 * tabular-old.C (l_getline):
17341 * spellchecker.C (sc_check_word):
17342 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17343 an unrecognised preprocessor directive. So ensure they're wrapped.
17345 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17347 * src/exporter.C (Export): Give an error message when path to file
17350 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17352 * LaTeX.C (deplog): Always check that foundfile exists.
17354 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17357 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17359 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17361 * tabular.[Ch] (getLabelList): implement new method
17363 * minibuffer.h: comment ouf setTiimer
17365 * minibuffer.C (ExecutingCB): constify res
17366 (peek_event): constify s
17367 (Set): constify ntext
17368 (Init): constify nicename
17370 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17372 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17373 (savePosition): use two params to Minibuffer::Set
17374 (restorePosition): ditto
17376 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17378 * lyx_main.C: include language.h
17380 * Makefile.am (lyx_main.o): add language.h
17382 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17388 * CutAndPaste.C: include gettext.h
17390 * lyxfont.h: remove old hack with ON and OFF.
17393 * lyxfont.h: do not include language.h...
17398 * bufferview_funcs.C:
17404 * paragraph.C: ... but do it here instead
17406 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17408 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17410 * tabular.C: small reformat
17412 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17415 (BreakParagraph): ditto
17416 (SetOnlyLayout): ditto
17419 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17422 * lastfiles.C: removed most using decl, add std:: where needed
17424 * buffer.C: ws changes
17426 * MenuBackend.C (class compare_format): put into anon namespace
17427 (expand): constify label, names, action, action2
17430 * text.C (SingleWidth): constify font
17431 (IsBoundary): constify rtl2
17432 (GetVisibleRow): constify ww
17434 * LaTeX.C (deplog): constify logfile
17436 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17438 (workAreaExpose): constify widthChange, heightChange
17440 * lyxrow.C (par): moved
17443 * lyxrow.h: as inlines here
17445 * lyxfont.h (shape): moved from lyxfont.C
17446 (emph): moved from lyxfont.C
17448 * lyxfont.C (LyXFont): use initialization list for all
17450 (shape): move to lyxfont.h as inline
17451 (emph): move to lyxfont.h as inline
17454 2001-04-04 Juergen Vigna <jug@sad.it>
17456 * vspace.C: had to include stdio.h for use of sscanf
17458 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17461 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17462 independent of xforms.
17464 2001-04-02 Juergen Vigna <jug@sad.it>
17466 * spellchecker.C: fixed namespace placing!
17468 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17470 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17471 the LyXParagraph * is 0.
17473 2001-03-29 Juergen Vigna <jug@sad.it>
17475 * vspace.C: added support for %, c%, p%, l%.
17476 (stringFromUnit): added helper function.
17477 (asLatexString): changed to give right results for the %-values.
17479 * buffer.C: convert the widthp in a width%.
17481 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17483 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17486 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17487 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17489 * lyx_cb.[Ch]: see above.
17491 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17495 * lyx.[Ch]: replaced by figure_form.[Ch].
17499 * lyxfunc.C: changed headers associated with above changes.
17501 2001-03-27 Juergen Vigna <jug@sad.it>
17503 * BufferView_pimpl.C: set the temporary cursor right!
17505 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17507 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17509 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17511 * LString.h: removed "using std::getline"!
17513 * BufferView_pimpl.C (Dispatch): changes due to changes in
17514 InsetInclude::Params.
17516 * buffer.C (tag_name): removed redundant break statements as they were
17517 producing lots of warnings with my compiler.
17519 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17521 * LString.h: add "using std::getline" when using the real <string>.
17523 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17525 * buffer.C: removed bitset usage.
17526 PAR_TAG moved to an anonymous name space.
17527 (tag_name): new funtion, also in the anonymous namespace.
17528 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17529 (makeDocBookFile): clean code. Completed transition from string arrays
17531 (SimpleDocBookOnePar): code clean.
17533 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17535 * tabular.C: add some comments.
17537 2001-03-22 Juergen Vigna <jug@sad.it>
17539 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17540 compatibility read a bit and fixed bug with minipage in different
17543 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17545 * buffer.C (pop_tag): removed.
17546 (push_tag): removed.
17547 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17548 array replaced with vector. Added support for CDATA sections.
17549 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17551 (makeDocBookFile): XML conformant declaration of CDATA section,
17552 fixed bug related to <emphasis> in the first paragraph char.
17553 (sgmlOpenTag): exclude empty tags.
17554 (sgmlCloseTag): ditto.
17556 * buffer.h (pop_tag): removed.
17557 (push_tag): removed.
17559 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17561 * language.h (Languages): added size_type and size().
17563 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17565 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17566 response on compability reading of minipages. One probliem is that
17567 the old usage of minipages was flertydig
17569 * several files here and in subdirs: don't use static at file
17570 scope use anon namespaces instead.
17572 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17574 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17575 LaTeX output. This is necessary for Literate document
17578 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17580 * buffer.C: insert hfill when needed.
17582 * tabular.C (l_getline): use string::erase, small whitespace change.
17584 * BufferView_pimpl.C: try the anon namespace.
17585 * WorkArea.C: ditto
17587 2001-03-16 Juergen Vigna <jug@sad.it>
17589 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17590 otherwise it won't open options-dialogs.
17592 * buffer.C: honor pextraWidth(p) on converting minipages.
17594 * tabular.C (l_getline): changed the functions to strip trailing \r.
17596 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17598 * BufferView_pimpl.C:
17599 * minibuffer..C: added "using SigC::slot" declaration.
17601 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17603 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17609 * paragraph.C: ditto
17611 * lyxtext.h: NO_PEXTRA
17613 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17615 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17616 * ParameterStruct.h: ditto
17617 * ParagraphParameters.h: ditto
17618 * lyxparagraph.h: ditto
17620 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17622 * buffer.C: add compability for minipage alignment.
17623 (latexParagraphs): remove unwanted pextra check.
17625 * several files: remove CXX_WORKING_NAMESPACES
17627 * buffer.C (pop_tag): tie is in namespace boost
17629 * BufferView.h: noncopyable is in namespace boost
17631 * lyx_main.h: ditto
17634 * lastfiles.h: ditto
17635 * bufferlist.h: ditto
17636 * ShareContainer.h: ditto
17638 * LyXAction.h: ditto
17641 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17643 * Merging changes from BRANCH_MVC back into HEAD.
17645 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17647 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17649 * BufferView_pimpl.C: change from intl.C
17653 * Makefile.am: move combox.*
17659 * intl.C: remove dialog (covered by prefs)
17661 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17663 * lyxfunc.C (Dispatch): removed redundant break statement.
17665 2001-03-14 Juergen Vigna <jug@sad.it>
17667 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17669 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17671 * buffer.C: add hack to fix compability reading of minipages.
17673 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17675 * buffer.C (getLists): Cleanup.
17677 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17679 * lyxfont.C (update): don't honor toggleall on font size.
17681 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17685 * Makefile.am: moved to frontends/xforms/
17689 * BufferView_pimpl.C: changes for moved mathpanel
17691 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17693 * gettext.h: fix gettext_init() in --disable-nls
17695 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17697 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17699 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17702 * lyx.h: strip external form
17704 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17706 * BufferView_pimpl.C: add comment, destroySplash()
17708 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17710 * BufferView_pimpl.C:
17714 * lyxfunc.C: use re-worked insetinclude
17716 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17718 * buffer.C: add using std::stringstream.
17720 * lyx_cb.C: readd using std::ios.
17722 * buffer.C: add using std::map.
17724 * BufferView_pimpl.C: add using std::vector.
17726 * ShareContainer.h: add std:: to swap.
17728 * buffer.h: add some typedefs
17729 * buffer.C (getLists): use them
17730 (getLists): renamed from getTocList.
17731 add a counter for the different float types and use it in the
17733 (getLists): use the same counter for the NEW_INSETS and the "non"
17736 * lyx_cb.h: remove unused items, includes, using etc.
17738 * ShareContainer.h: remove some commented code, add more comments
17739 and "documentation".
17741 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17743 * buffer.C (getTocList): make the list also when NEW_INSETS is
17746 * buffer.h: remove TocType
17748 * buffer.C (getTocList): change to return a map<string,
17749 vector<TocItem> >, implement for dynamic number of list.
17751 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17752 * text2.C (PasteSelection): adjust
17753 * CutAndPaste.C (pasteSelection): adjust
17755 * FloatList.C (FloatList): update from the new_insets branch.
17756 * Floating.[Ch]: ditto
17757 * LaTeXFeatures.C: ditto
17759 * lyxlex_pimpl.C: ditto
17761 * paragraph.C (Last): remove when NEW_INSETS is defined.
17763 * other file: changes because of the above.
17765 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17767 * lyxparagraph.h: rename next to next_, previous to previous_,
17768 make them private for NEW_INSETS. Rename Next() to next(),
17769 Previous() to previous().
17771 * other files: changes because of the above.
17773 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17776 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17779 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17781 * main.C (main): pass lyx_localedir to gettext_init().
17783 * gettext.h: remove locale_init and gettext_init macros
17785 * gettext.C (locale_init): new function
17786 (gettext_init): new function
17788 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17791 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17793 * Moved credits to frontends:
17794 * credits.[Ch]: removed
17795 * credits_form.[Ch]: removed
17796 * lyx_gui_misc.C: remove credits stuff
17799 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17801 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17803 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17804 unneeded destructor.
17806 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17807 a standalone pointer again.
17809 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17811 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17817 * ToolbarDefaults.C:
17826 * BufferView_pimpl.C: use new file dialog in GUII
17829 * lyx_cb.C: remove LayoutsCB to Toolbar
17831 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17833 * ShareContainer.h (get): add std:: qualifier
17835 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17837 * ShareContainer.h: define a proper ShareContainer::value_type
17838 type (and use typename to please compaq cxx)
17840 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17842 * lyxparagraph.h: move serveral local vars to
17843 ParameterStruct/ParagraphParameters., use ShareContainer in
17844 FontTable., make vars in FontTable private and add getter and
17847 * paragraph.C: changes because of the above.
17849 * lyxfont.h: remove copy constructor and copy assignment. (the
17850 default ones is ok), move number inside FontBits. move inlines to
17853 * lyxfont.C: add number to initializaton of statics, move several
17854 inlines here. constify several local vars. some whitespace
17855 cleanup. Dont hide outerscope variables.
17857 * Spacing.h: add two new constructors to match the set methods.
17859 * ShareContainer.h: new file, will perhaps be moved to support
17861 * ParameterStruct.h: new file
17863 * ParagraphParameters.h: new file
17865 * ParagraphParameters.C: new file
17867 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17868 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17870 * BufferView_pimpl.C: ParagraphParameter changes.
17871 * buffer.C: Likewise.
17872 * bufferview_funcs.C: Likewise.
17873 * text.C: Likewise.
17874 * text2.C: Likewise.
17876 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17878 * lyxfind.C (LyXReplace): do not redefine default argument in
17880 (IsStringInText): ditto
17881 (SearchForward): ditto
17882 (SearchBackward): ditto
17884 2001-03-06 Juergen Vigna <jug@sad.it>
17886 * lyxfind.C (IsStringInText): put parentes around expressions.
17888 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17890 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17892 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17894 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17896 * stl_string_fwd.h: add comment
17898 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17901 * tabular.C: remove unused DocBook methods
17907 killed DO_USE_DEFAULT_LANGUAGE
17909 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17911 * lyx_gui.C: do not include language.h.
17913 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17914 arguments in function implementation.
17916 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17918 * BufferView_pimpl.C: add <ctime>
17920 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17922 * BufferView_pimpl.C: add using std::find_if
17924 2001-02-27 José Matos <jamatos@fep.up.pt>
17926 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17929 2001-02-11 José Matos <jamatos@fep.up.pt>
17931 * buffer.C (makeDocBookFile): command styles now have a parameter as
17932 "title" by default.
17934 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17936 * layout_forms.[Ch]: removed
17937 * lyx_cb.[Ch]: out character
17938 * lyx_gui.C: out character
17939 * lyx_gui_misc.C: out character
17940 * bufferview_funcs.C: : out character,
17941 added toggleall as parameter in ToggleAndShow
17943 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17945 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17947 * text2.C (SetCurrentFont): Disable number property at boundary.
17949 2001-02-26 Juergen Vigna <jug@sad.it>
17951 * lyxfunc.C (getStatus): added a string argument override function so
17952 that this is correctly called from LyXFunc::Dispatch if it contains a
17953 do_not_use_argument which is used!
17954 (Dispatch): added check for "custom" export and call appropriate func.
17956 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17958 * lyxrc.C: Add language_command_local, language_use_babel and
17959 language_global_options.
17961 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17963 * buffer.C (makeLaTeXFile): Use language_use_babel and
17964 language_global_options.
17966 2001-02-23 Juergen Vigna <jug@sad.it>
17968 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17969 which works with LyXText and putted it inside BufferView. Here now we
17970 only call for that part the BufferView::Dispatch() function.
17972 * BufferView.C (Dispatch): added.
17974 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17975 functions which needs to use a LyXText over from LyXFunc.
17976 (MenuInsertLyXFile): added
17977 (getInsetByCode): added
17978 (moveCursorUpdate): added
17979 (static TEXT): added
17981 2001-02-22 Juergen Vigna <jug@sad.it>
17983 * BufferView_pimpl.C (update): call a status update to see if LyXText
17986 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17988 * vc-backend.C (revert): implement for CVS
17989 (getLog): implement for CVS
17991 2001-02-20 Juergen Vigna <jug@sad.it>
17993 * text2.C (ClearSelection): added BufferView param for inset_owner call
17995 * lyxfunc.C (TEXT): added this function and use it instead of
17996 directly owner->view()-text of getLyXText().
17998 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18000 * src/layout_forms.C: out preamble
18001 * src/layout_forms.h: out preamble
18002 * src/lyx_cb.C: out preamble
18003 * src/lyx_cb.h: out preamble
18004 * src/lyx_gui.C: out preamble
18005 * src/lyx_gui_misc.C: out preamble
18006 * src/lyxfunc.C: connect with guii preamble
18008 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18010 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18012 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18014 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18015 whether to run bibtex.
18017 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18019 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18021 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18023 * Makefile.am (lyx_SOURCES): removed bibforms.h
18025 * vspace.h: doxygen
18027 * text.C (GetVisibleRow): make several local vars const
18029 * tabular.C: small cleanup.
18031 * lyxserver.C (callback): use compare instead of strncmp
18033 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18034 inlines to after class or to paragraph.C
18036 * lyxfont.h: remove friend operator!=
18038 * converter.h: move friend bool operator< to non friend and after
18041 * combox.h: small cleanup
18043 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18044 to inlines after class def.
18046 * buffer.C (pop_tag): use string operations instead of strcmp
18048 * bmtable.c: doxygen, small cleanup
18050 * LaTeX.h: remove friend operator==
18052 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18064 * BufferView_pimpl.C:
18065 * BufferView.[Ch]: remove cruft
18067 2001-02-14 Juergen Vigna <jug@sad.it>
18069 * lyxfunc.C: removed #if 0 unused code
18071 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18073 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18075 * text2.C (SetSelection): added a BufferView * parameter
18077 2001-02-13 Juergen Vigna <jug@sad.it>
18079 * lyxfunc.C (Dispatch): fixed protected blank problem.
18080 * BufferView2.C (protectedBlank): added LyxText * parameter.
18082 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18083 (AppendColumn): same as above for column_info.
18085 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18086 (moveCursorUpdate): use a LyXText param for support of InsetText.
18088 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18089 (tripleClick): ditto
18091 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18093 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18095 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18097 * text2.C (SetSelection): set correct update status if inset_owner
18098 (ToggleFree): ditto
18100 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18102 * tabular.C: remove some commented code.
18104 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18106 * BufferView_pimpl.C: call hideSplash()
18108 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18111 * bibforms.h: remove
18114 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18115 add LFUN_CHILD_CREATE
18117 * counters.h: fix tiny typo
18122 * lyx.C: move splash to frontends/xforms/
18124 * lyx_gui_misc.C: move Include and Bibform to frontends
18126 * lyxvc.h: clarify comment
18128 * vspace.C: tiny housekeeping
18130 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18132 * text.C (PrepareToPrint): RTL Fix.
18134 * paragraph.C (GetUChar): New method.
18135 (String): Use GetUChar.
18137 * buffer.C (asciiParagraph): Use GetUChar.
18139 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18141 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18143 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18146 * buffer.C: rename to getLogName(), handle
18147 build log / latex log nicely
18149 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18152 * MenuBackend.h: remove support for reference menuitem type.
18154 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18156 * BufferView_pimpl.C: housekeeping
18157 * BufferView_pimpl.h:
18162 * minibuffer.h: move Timeout GUI-I
18164 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18166 * lyxrc.C (read): Update converters data-structures.
18168 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18170 * LaTeX.h (operator!=): add operator != for Aux_Info
18172 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18174 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18176 * LaTeXLog.C: deleted, useful code moved to Buffer
18179 * buffer.C: new function getLatexLogName()
18185 * lyxfunc.C: use frontends for LaTeX and VC logs
18187 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18189 * LaTeX.h: yet another std:: that Allan forgot.
18191 * Variables.C (set): renamed from isset(), because this clashes
18192 with some HP-UX macros (grr).
18194 2001-02-06 Allan Rae <rae@lyx.org>
18196 * LaTeX.h: Another bug fix. Missing std:: this time.
18198 2001-02-04 Allan Rae <rae@lyx.org>
18200 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18201 floats problem. I've left it commented out because it's not quite
18202 correct. It should also test that the current object is a table or
18203 figure inset. But I haven't gotten around to figuring out how to do
18204 that. I *think* it'll be something like: "table" == inset.type()
18206 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18209 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18211 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18212 all the citation/databases/styles in the auxilary file.
18213 (run): Rerun latex if there was a babel language error.
18215 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18217 * text.C (Backspace): Preserve the font when changing newline char
18219 (BreakParagraph): If the cursor is before a space, delete the space.
18221 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18223 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18225 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18226 new argument (code).
18227 (ChangeCitationsIfUnique): New method.
18229 * paragraph.C (GetPositionOfInset): Handle bibkey.
18231 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18233 * BufferView_pimpl.h: change type of Position::par_pos to
18234 LyXParagraph::size_type.
18236 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18238 * BufferView_pimpl.C (savePosition, restorePosition): Write
18239 messages to minibuffer.
18241 2001-01-28 José Matos <jamatos@fep.up.pt>
18243 * buffer.C (makeDocBookFile): adds support for document language.
18244 A silly restriction on the name of LatexCommand types where removed.
18245 Added support for CDATA sections, allows to chars unescaped, used
18246 among others in code, to avoid escape < and >.
18248 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18250 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18251 saved positions instrad of a stack. Furthermore, a position is
18252 stored using paragraph id/paragraph position.
18254 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18255 Remove LFUN_REF_BACK.
18257 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18259 * converter.C (dvipdfm_options): New method.
18261 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18263 * vspace.C (isValidLength): Fix for empty input string.
18265 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18267 * LyXAction.C (init): change description of LFUN_FIGURE to
18270 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18272 * LaTeX.C: add using directive
18274 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18276 * MenuBackend.C (expand): Fix the sorting of the formats.
18278 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18280 * lyx_main.C: tiny error message fix
18282 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18284 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18285 calling fl_initialize(). This fixes the problem with ',' as
18286 decimal separator in text files.
18288 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18290 * trans.C (process): Fix the keymap bug.
18292 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18294 * LaTeX.C (scanAuxFiles): New method. Provides support for
18295 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18296 (scanLogFile) Scan for "run BibTeX" messages.
18298 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18299 OT1 font encoding. Also, load the aecompl package if the ae
18302 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18304 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18306 * texrow.C (increasePos): turn two error messages into debug
18309 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18311 * LaTeX.C (scanAux): Handle the \@input macro.
18312 (runBibTeX): Use scanAux().
18314 * language.C (latex_options_): New field.
18316 * LaTeXFeatures.C (getMacros): Add language macros.
18318 * buffer.C (makeLaTeXFile): Small fix.
18320 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18322 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18324 * text2.C: add a using directive.
18326 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18331 * lyxfunc.C: kill LyXBell.
18333 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18335 * text.C (IsBoundary): Remove the error message
18337 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18339 * lyxrc.C (setDefaults): Correct initialization value for
18342 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18344 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18347 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18348 and GotoNextNote().
18350 * src/LyXAction.C: Added reference-next.
18352 * text.C (InsertChar): Use contains instead of strchr.
18354 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18356 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18358 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18359 alignment commands (when needed).
18361 * text.C (InsertChar): Add ':' to number separator chars.