1 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * CutAndPaste.C (nrOfParagraphs): remove (unused)
4 * CutAndPaste.C (cutSelection): Remove debug message
5 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
6 undo information and only copy if this is a real cut
7 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
9 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
11 * CutAndPaste.C (eraseSelection): prevent cursor corruption
12 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
13 superflous cur.selection() setting
14 * CutAndPaste.[Ch] (grabSelection): take a const cursor
15 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
17 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
22 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
24 * BufferView_pimpl.C: comment layout change
26 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
30 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
31 by bibliography managers (bug 2071).
33 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
35 * BufferView_pimpl.C (update): choose arguments to update call so
36 that single-par update works most times
37 * text3.C (dispatch): carefully tune updating separately for
38 whole-screen and current-paragraph
39 * rowpainter.C (paintText): 1) replace painting by caching for
40 the two extra paragraphs, because we can;
41 2) suppress greying out of areas below/above drawn area in case of
43 * lyxfunc.C (dispatch): remove superfluous update
44 * LyXAction.[Ch]: introduce SingleParUpdate
46 2005-10-05 Angus Leeming <leeming@lyx.org>
48 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
49 always initialised before use.
51 * text.C (setHeightOfRow): squash warning about comparison
52 of signed and unsigned types.
54 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
56 * text.C (cursorX): two fixes involving RtL text drawing
58 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
60 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
61 items, not only large ones (part of bug 2057)
63 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
66 argument, use "newcommand".
68 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
70 * cursor.C (setSelection): do not open collapsable insets;
71 the insets do by themselves now (autoopen).
73 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
75 * buffer.C: format is up to 244.
77 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
79 * text.C (redoParagraph): fix calcultation of inset width wrt
80 leftMargin (bug 1957).
82 * text3.C (dispatch): leave inset to the right when hitting ESC
85 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
90 * messages.C: include <boost/current_function.hpp>
92 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
95 when command is internal. (bug 1941)
97 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * text2.C (cursorRight): do not honor boundary when at the end of
100 a paragraph. (bug 2010 again)
102 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
104 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
106 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
108 * rowpainter.C (paintText): fix RtL space width display bug (2029)
110 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * text2.C (setCursor): remove the unused 'boundary' parameter for
113 the CursorSlice version; adapt the LCursor version.
116 * paragraph_pimpl.C (markErased):
117 * cursor.C (bruteFind2, bruteFond3): fix warnings.
119 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
122 as is already done for "chapter".
124 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
126 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
127 textclass; do not record undo if nothing is changed.
129 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
131 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
133 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
135 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
137 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
140 combox, it is necessary to search for the topmost paragraph in the
141 cursor stack (bug 1926)
143 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
146 end of paragraph. (bug 2010)
148 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
150 * text.C (leftMargin): check for inInset == 0
152 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
154 * text.C (leftMargin): test for insetbase's new neverIndent()
155 bool instead of listing each and every inset that does not
156 wish par indendation.
158 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
160 * buffer_funcs.C (setCounter): put the code to compute enum label
161 here (where it belongs).
163 * counters.C (enumLabel): move code to buffer_funcs.C.
165 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
167 * outputparams.[Ch]: store local_font instead of local_language
168 * paragraph.C (simpleTeXOnePar): adapt to the change above
170 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
173 * counters.[Ch]: clean up special code for Hebrew.
175 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
180 2005-09-08 Angus Leeming <leeming@lyx.org>
183 * lyxrc.C: correct grammar describing invocation of the
186 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * text.C (read): remove unused variable.
189 (readParToken): remove static Change variable (never good in
190 recursive settings...); add it as a parameter instead.
192 * paragraph_pimpl.C (acceptChange): make debug info conditional.
194 * metricsinfo.C (PainterInfo): add new member erased_.
196 * rowpainter.C (RowPainter): add erased_ member, initialized from
198 (paintInset): pass erased_ to Inset::draw.
200 * lyxfunc.C (lookupChange): new function. Tells whether change
201 tracking is disabled at a given postion.
202 (getStatus): disable some actions when in deleted text with change
205 2005-08-03 John Levon <levon@movementarian.org>
207 * tabular.C (appendColumn, setMultiColumn): adapt to change to
210 * paragraph_pimpl.C (markErased): add bool argument and handle it.
211 Also make sure to mark insets recursively.
212 (rejectChange, erase): be recursive
214 * paragraph.C (markErased): add bool argument.
215 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * lyxfind.C (findNextChange): tiny cleanup.
219 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
220 change tracking with the cursor in an inset; make sure the first
221 change is not skipped.
223 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
225 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
226 tabularStackDirty to work around bug 1919 (tabular needs
227 to know whether its own cell paste buffer or the one of
229 * CutAndPaste.C: mark tabular_stack_ clean after copy.
231 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
233 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
235 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
237 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
238 use old deleteion algorithm when changetracking is on.
240 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
242 * messages.C (get): add debug output.
244 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
246 * text.C (cursorX): fix bug 1965: cursor movement at
247 line end broken in RtL.
248 (drawSelection): fix bug 1970: drawing of single-line
249 selection broken for RtL.
251 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * dociterator.h (clear, push_back, pop_back): change from
258 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
259 and changed to just return the value of the item depth; take a
260 ParIterator as argument; take the itemdepth at outer nesting level
261 in account if necessary; cleanup and comment the code.
262 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
263 and changed to just return true if reset is needed; take a
264 ParIterator as argument; cleanup and comment the code.
265 (setCounter): adapt to above changes.
267 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * text3.C (dispatch): make debug message optional
271 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
276 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
278 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
280 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
282 * text.C (insertChar):
283 * text2.C (deleteEmptyParagraphMechanism): take care whether
284 a blank has been deleted (in change tracking mode) (bug 1254).
286 2005-07-20 John Levon <levon@movementarian.org>
288 * text2.C (insertStringAsLines): remove old dubious code,
291 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * MenuBackend.C (expandToc): use Floating::listName() as title of
296 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
298 * toc.[Ch]: Do not use translatable strings (bug 1870).
300 2005-07-20 John Levon <levon@movementarian.org>
302 * tabular.C: fix 1748 - setting multicolumn adds
303 left line to the first cell
305 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
308 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
311 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
313 * messages.C: supress some lyxerr messages
315 2005-07-18 Juergen Vigna <jug@lyx.org>
317 * text.C (drawSelection): honor boundary when asking for cursorX.
319 2005-07-17 José Matos <jamatos@fc.up.pt>
321 * tabular.C (recalculateMulticolumns): fix handling of one column
324 2005-07-17 Juergen Vigna <jug@lyx.org>
326 * text.C (Delete, backspace): fixed so that paragraph with the
327 same layout can be merged by Delete/Backspace.
329 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
331 * text.C (readParToken): fix spelling.
333 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
335 * text2.C: fix counter update for DEPM problem reported by
338 2005-07-17 Juergen Vigna <jug@lyx.org>
340 * BufferView_pimpl.C (setBuffer): save/restore the
341 cursor/selection when switching buffers
344 * buffer.C (saveCursor): add saveDocumentIterators to save the
345 cursor when switching buffer.
347 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
350 * buffer.C: clarify message
352 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
354 * dociterator.C (DocIterator): fix initialization order
356 2005-07-17 Juergen Vigna <jug@lyx.org>
358 * text2.C (cursorHome):
359 * text.C (drawSelection, cursorX):
360 * dociterator.C (textRow): add boundary to getRow() call
362 * paragraph.C (getRow): implementation of below
364 * paragraph.h: add parameter boundary for getRow() function
366 2005-07-17 José Matos <jamatos@fc.up.pt>
370 * tex-strings.[Ch]: new file format, remove support for a4.sty,
371 a4wide.sty and a4widemargins.
373 2005-07-17 Juergen Vigna <jug@lyx.org>
375 * text2.C (cursorLeft): fix one of error
377 2005-07-17 Juergen Vigna <jug@lyx.org>
379 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
381 more fixes for boundary handling
383 * text3.C (dispatch): don't reset cursor if boundary has changed
386 2005-07-16 Juergen Vigna <jug@lyx.org>
388 * text2.C (getColumnNearX): hopefully got it right now,
389 check if we are on column 0 for special case.
391 2005-07-16 Juergen Vigna <jug@lyx.org>
393 * text2.C (getColumnNearX): handle special case Newline Inset
395 * text.C (singleWidth): Just remove bogus check
397 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
399 * funcrequest.C (split): avoid reading uninitialized char c
401 2005-07-16 José Matos <jamatos@fc.up.pt>
407 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
408 single papersize variable.
410 2005-07-16 Juergen Vigna <jug@lyx.org>
412 * text3.C (dispatch): honor boundary when checking if a cursor
413 movement has been done
415 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
416 (setCursor, setCursorIntern): fix cursor movement with boundary
418 2005-07-16 Juergen Vigna <jug@lyx.org>
420 * text.C (currentState): output the actual Boundary
422 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
424 * factory.C (createInset): fix bad logic for tabular creation
426 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
428 * lyx_main.C (init): change some reLyX reference to tex2lyx
430 2005-07-16 Juergen Vigna <jug@lyx.org>
432 * dociterator.C (DocIterator): initialize boundary
434 2005-07-16 Juergen Vigna <jug@lyx.org>
436 * text2.C (getColumnNearX): Consider rows without trailing blank.
438 2005-07-16 André Pönitz <poenitz@gmx.net>
440 * lyxfont.h: Change order of declarations to give the compiler
441 a better chance to inline things
443 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
444 questions on unsaved docs for better scritability
446 2005-07-16 André Pönitz <poenitz@gmx.net>
448 * paragraph.h (getChar): remove asserts as the same kind of security
449 can be achieved by using a suitable standard library implementation
450 and the function was in the critical path (25.9% in profiler)
452 2005-07-16 Juergen Vigna <jug@lyx.org>
454 * cursor.C (bruteFind2):
455 * bufferview_funcs.C (coordOffset):
456 * text.C (cursorX,cursorY): Handle cursor position after last char
457 in row before a inset which uses a whole row.
459 2005-07-15 José Matos <jamatos@lyx.org>
461 * output_plaintext.[Ch] (writeFileAscii): control reference title
463 (asciiParagraph): noparbreak was already deal and was incorrectly
466 2005-07-15 Juergen Vigna <jug@lyx.org>
468 * lyxfunc.C (dispatch): save and restore the cursor after a
471 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
473 * text.C (backspace): bug 806 for empty keepempty paragraphs we
474 change the layout to default before letting DEPM do its thing.
476 * paragraph_funcs.C (breakParagraph): dont reset the layout on
479 * text.C (setCursorFromCoordinates): add a debug statement
481 * text2.C (getColumnNearX): bug 1825 make sure that we don't
482 return a pos that is not on the row
484 * output_latex.C (TeXDeeper): get rid of potential dereferencing
485 of past the end iterator
487 2005-07-14 André Pönitz <poenitz@gmx.net>
489 * undo.C (recordUndoFullBuffer): implement undo for
492 2005-07-14 André Pönitz <poenitz@gmx.net>
494 * cursor.C (setSelection): open insets when selection is set there
495 to avoid crashs with cold coord cache
497 2005-07-14 André Pönitz <poenitz@gmx.net>
499 * trans_mgr.C (insert): move cursor to the right after inserting
502 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
504 * BufferView_pimpl.C (update): dampen some of the debug blabbering
505 * factory.C (readInset): ditto
506 * text.C, text2.C: ditto
508 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
510 * buffer.C: format incremented to 242. There is no file format per
511 se, but the "frenchb" language has been removed from lib/language
512 and has to be translated to "french" by lyx2lyx.
514 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
516 * cursor_slice.h, dociterator.h: add some documentation
517 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
519 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
521 * text.C (leftMargin): do not add identation to display() style
522 insets, because they are always centered (bug 1293).
524 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
526 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
527 formatted_time methods in support/lyxtime.
529 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
531 * toc.[Ch]: new method getGuiName, which is used by the frontends
532 to set the toc combo (fixes bug 1870). Make TOC string translatable.
534 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
536 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
537 StableDocIterator const &)
538 * undo.C (recordUndo): use the above instead of cell.size() comparison
539 (fixes bug 1808; instructed by Andr�.
541 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
544 * dociterator.h: Fix the assert when copying rows/cols in math
546 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
548 * BufferView_pimpl.C:
550 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
552 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
553 (findInset): new functions, refactored from goto Inset that return
554 the position of a certain inset without setting the buffer's cursor
556 (gotoInset): rewrite to call findInset and then set the cursor
559 2005-06-16 Angus Leeming <leeming@lyx.org>
561 * lyxrc.C (output, read): wrap all input and output of paths with
562 calls to os::internal_path and os::external_path, respectively.
563 (output): wrap bind_file inside quotes.
565 * format.C (view): enable the viewer to use the '$$s' placeholder.
567 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
569 * LColor.[Ch] (getFromLaTeXName): new
571 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
573 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
575 2005-06-14 Angus Leeming <leeming@lyx.org>
577 * lyx_main.C (init): ensure that the LyX binary dir is the first
578 element in the PATH on non-POSIX builds.
580 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
582 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
584 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
586 * rowpainter.C (paintInset, paintHebrewComposeChar)
587 (paintArabicComposeChar, paintChars): add a LyXFont argument.
588 (paintChars): use getFontSpan to reduce calls to getFont to a
589 minimum; use Paragraph::lookupChange instead of isXXXText.
590 (paintForeignMark): rename LyXFont argument.
591 (paintFromPos): pass a LyXFont object to the various paintXXX
594 * FontIterator.C (FontIterator, operator++): use
595 Paragraph::getFontSpan
597 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
598 version that returns the font span as a pair.
600 2005-06-09 Angus Leeming <leeming@lyx.org>
602 * converter.C (convert): Don't forget "outfile = real_outfile" as
603 the final step in a conversion where the input and output file names
604 are the same. Otherwise, future conversion steps won't work...
606 2005-06-09 Angus Leeming <leeming@lyx.org>
608 * lyxsocket.C: remove stub code as it isn't needed by
609 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
611 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
613 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
614 effectively disabled -x
616 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
618 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
619 when it actually makes sense.
621 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
623 * BufferView_pimpl.C: revert to showCursor in connection with
624 Lars's front-end stack
626 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
628 * text.C (redoParagraph): move cursor right after a bibitem
631 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
633 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
635 * buffer_funcs.C (bufferErrors): fix computation of the end of an
638 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
640 * BufferView.[Ch] (update):
641 * BufferView_pimpl.[Ch] (update, metrics):
642 * dimension.h (operator==):
643 * lyxfunc.C (dispatch):
644 * metricsinfo.h (ViewMetricsInfo):
645 * rowpainter.C (paintText):
647 * text.C (redoParagraph):
648 * text3.C (dispatch): Make LyX only repaint current paragraph in
649 case of character insert --> speedup. Also fix cursor draw
652 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
654 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
655 avoid a crash (bug 1891)
657 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
661 * text2.C (getStringToIndex): constify cur argument.
663 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
664 argument has been given
665 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
666 try to invoke LFUN_INSET_APPLY).
668 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
669 if no inset was created by doInsertInset
670 (doInsertInset): return true if an inset has been inserted.
672 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
674 * vspace.C (asGUIName): new method. A version of the space
675 suitable for showing on screen.
677 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
680 * lyxrc.C: rename "ASCII" to "Plain Text"
682 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
684 * buffer_funcs.C (expandLabel): take a Buffer as argument;
685 translate the labelstring.
686 (setCounter): translate labelstring as needed.
688 * output_docbook.C (makeCommand): fix expandLabel invokation
690 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
692 * BufferView.C: fix dialog title
694 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
696 * lyx_main.C (priv_exec): fix logic error with help from Angus
697 * lyx_main.C (parse_execute): set is_gui = false and remove now
698 obsolete comment about a segfault
700 2005-05-18 Angus Leeming <leeming@lyx.org>
702 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
704 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
706 * tabular.[hC]: added setCellInset to fix tabular paste.
708 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
710 * buffer.C (save): check if destination is writable before trying
713 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
715 * BufferView_pimpl.C (update): fix processEvents -caused update
718 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
720 * buffer_funcs.C (setCounter): fix test for numbering of
723 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
724 depth correctly; use optional argument when it exists
726 * lyxtextclass.C: remove unused MaxCounterTags enum
727 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
728 (max_toclevel, min_toclevel): new methods.
730 * MenuBackend.C (expandToc2): fix case where depth is smaller than
731 the smallest depth in toc.
733 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
734 layouts that should not appear in a table of contents.
736 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
738 * cursor.h (undispatched, noUpdate): add comments from Andr�
739 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
743 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
745 2005-05-07 André Pönitz <poenitz@gmx.net>
747 * cursor.[Ch] (leaveInset): new function
749 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
751 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
753 2005-05-04 Angus Leeming <leeming@lyx.org>
755 * lyxfunc.C (getStatus): disable the spell checker dialog if
756 none of USE_[AIP]SPELL are defined.
758 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
760 * tabular.C (setWidthOfCell): remove obsolete comment
762 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
764 * paragraph.C (bibitem):
765 * buffer_funcs.C (setCounter):
766 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
768 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
770 * text3.C (getStatus): immediately return after setOnOff
772 * rowpainter.C: fix drawing of appendix start
774 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
776 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
777 SwitchBetweenClasses and remove the unused return value.
778 Handle character styles, too
780 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
782 * factory.C (createInset): handle undefined character styles
784 2005-05-02 Angus Leeming <leeming@lyx.org>
786 * buffer.C: protect the #include of utime.h with a preprocessor
789 2005-05-02 Angus Leeming <leeming@lyx.org>
791 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
792 function so that auto-saving works, albeit in a blocking manner.
794 * Makefile.am: make compilation of the client sub directory, of
795 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
796 on conditionals set at configure time.
798 * SpellBase.[Ch]: no longer an abstract base class. Instead,
799 it can be compiled in its own right but has no-op functionality.
801 * aspell.C, pspell.C: remove preprocessor guards. The files should
802 be compiled only if the necessary functionality exists.
804 * lyxserver.C, lyxsocket.C: disable on Windows.
806 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
808 * text.C (leftMargin): Fix the parindent use bug (1764)
811 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
813 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
816 2005-04-25 Angus Leeming <leeming@lyx.org>
824 include <config.h> in .C files, not .h ones.
826 protect headers inside preprocessor guards.
828 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
830 * FuncStatus.h (StatusCodes): document
832 2005-04-21 André Pönitz <poenitz@gmx.net>
834 * FuncStatus.h (enabled, onoff): document
836 2005-04-19 Angus Leeming <leeming@lyx.org>
838 * BufferView_pimpl.C (cursorToggle): no longer test whether
839 any child processes have been reaped before calling
840 handleCompletedProcesses().
842 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
844 * text3.C (dispatch): fix, finally fix, the language problem in
845 new lyxtexts, without disabling on-the-fly font changes (Helge's
848 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
850 * text3.C (dispatch): set cursor on double/triple click events
853 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
855 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
856 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
858 * rowpainter.C (paintFirst): simplify the code a little bit. In
859 particular, remove the test for secnumdepth.
860 * text.C (setHeightOfRow): only allocate space for chapter number
861 when updateCounters provided an actual label, instead of looking
862 at secnumdepth directly.
864 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
866 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
867 paragraphs when secnumdepth is large enough or, for environments,
868 when they are not the first in a sequence.
870 2005-04-17 Angus Leeming <leeming@lyx.org>
872 * buffer.C (makeLaTeXFile): replace code to manipulate a path
873 containing space and '~' characters with a call to latex_path().
875 2005-04-17 Angus Leeming <leeming@lyx.org>
877 * converter.C (convert): protect all args of convertDefault.sh
880 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
882 * text3.C (dispatch): change the layout to "Caption" after inserting
885 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
887 * text3.C (dispatch): fix language problem in newly created
888 textinsets (and main text) in non-english docs
890 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
892 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
893 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
894 * text3.C (getStatus): disable LFUN_INSET_MODIFY
896 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
901 * rowpainter.C (getFont): Fix metrics bug introduced by inset
904 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
906 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
907 output of \item arguments without trailing text.
909 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
911 * FontIterator.C (operator*): avoid a copy of the font.
913 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
915 * rowpainter.C (getFont): fix language bug from previous fix
917 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
919 * rowpainter.C (RowPainter, getFont): fix font inside inset
922 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
924 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
925 preventing inserted font, deco, delim insets jumping to start of
928 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * lyxfunc.C (dispatch): translate message before sending it to the
933 2005-03-29 Angus Leeming <leeming@lyx.org>
935 * lyx_main.C (priv_exec): call os::internal_path on each file passed
936 to LyX on the command line.
938 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
940 * vc-backend.C: use QuoteName to protect file names wherever
943 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
946 * BranchList.h: fix bugs 1844,1845: document settings don't
949 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
951 * lyxrc.C (setDefaults, read, output, getDescription): add support
952 for tex_allows_spaces.
954 * exporter.C (Export): allows files in directory containing spaces
955 if tex_allows_spaces is true.
957 * buffer.C (makeLaTeXFile): if the document path contains spaces,
958 output it in double quotes.
960 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
962 * rowpainter.C: use default text height for drawing change tracker
965 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
967 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
969 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
971 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
972 directory is missing.
974 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
976 * text2.C: fixed the fix, extended to other case.
978 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
980 * text2.C: fix for cursor up/down stuck in math [bug 1792]
982 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
984 * text2.C (cursorUp): get rid of a crash
985 * text.C (x2pos): add an assert
987 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
989 * lyxfunc.C (getStatus): fix warning when assertions are disabled
993 * dociterator.C: include <boost/current_function.hpp>, which is
994 needed when assertions are disabled.
996 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
998 * text2.C: fix for stuck cursor when traversing two
999 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1001 2005-02-25 Andreas Vox <avox@arcor.de>
1003 * output_docbook.C (makeParagraph): suppress trailing newline
1004 after a run of paragraphs
1006 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1008 * paragraph.C: fix for confused change tracker when pasting
1009 text that begins with a lineseparator. [bug 1827]
1010 (setChange(0, Change::INSERTED);)
1012 * paragraph_funcs.C: fix for lost changes on triple-paste
1013 in change tracking mode [bug 1827] (par.setChange()).
1015 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1017 * text2.C (updateCounters, setCounter, expandLabel): move to
1020 * buffer_funcs.C (updateCounters): turn into a free standing
1021 function and add a buffer parameter. Remove dead code for tracking
1023 (setCounter): change into a free-standing function which gets a
1024 dociterator as argument. Use this iterator to fix captions in a
1025 simple way. When no float is found above the caption, use the
1026 labelstring of the caption layout as default.
1028 * text.C (breakParagraph, backspace):
1029 * text2.C (init, setLayout, changeDepth):
1030 * text3.C (dispatch):
1031 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1034 * dociterator.C (forwardPar): make it much faster by calling
1035 forwardPos() only when really necessary.
1037 * output_docbook.C (makeCommand): adapt to expandLabel move.
1039 * cursor.C: remove unused variable
1041 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1043 * paragraph_funcs.C: fix crash when pasting insets in change
1044 tracking mode [bug 1277] (honour change type in moveItem).
1046 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1048 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1050 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1052 * BufferView.C (setCursor): change to use a DocIterator.
1053 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1054 (putSelectionAt): adapt to BufferView::setCursor change.
1056 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1057 moved here from LyXText and rewritten to use proper cursor
1058 methods. Fixes bug 1787, 616 and 835.
1060 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1061 when inside an inset (part of bug 781).
1062 (dispatch): adapt to change of BufferView::setCursor.
1063 (getStatus, dispatch): handle LFUN_GOTOERROR,
1064 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1066 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1067 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1068 * text3.C (gotoNextInset, gotoInset): removed.
1070 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1072 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1074 2005-02-15 Angus Leeming <leeming@lyx.org>
1076 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1077 can be used meaningfully in a comparison.
1079 2005-02-13 André Pönitz <poenitz@gmx.net>
1081 * bufferview_funcs.C (coordOffset): improve cursor drawing
1083 2005-02-13 André Pönitz <poenitz@gmx.net>
1085 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1086 * Cursor.C (dispatch): use fixIfBroken
1087 * lyxfunc.C (getStatus): use fixIfBroken
1089 2005-02-15 Angus Leeming <leeming@lyx.org>
1091 * lyx_main.C (error_handler):
1093 * lyxrc.C (setDefaults):
1095 #include "environment.h".
1097 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1099 2005-02-15 Angus Leeming <leeming@lyx.org>
1101 * lyxserver.C (startPipe): squash MSVC warning "local variable
1102 'fd' used without having been initialized".
1104 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1106 * BufferView_pimpl.C: revert accidental commit.
1108 2005-02-14 André Pönitz <poenitz@gmx.net>
1110 * dociterator.[Ch]: new member forwardPosNoDescent(),
1111 which doesn't enter nested insets.
1112 * text2.C (setFont): use forwardPosNoDescent() instead
1113 of ForwardPos() (fixes crash on font change).
1115 2005-02-13 Angus Leeming <leeming@lyx.org>
1117 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1118 only if lyxrc.path_prefix is not empty.
1120 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1122 * bufferparams.C (readGraphicsDriver): prevent crash
1124 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1126 * text2.C (setCounter): check for inInset() == 0
1128 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1130 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1131 but use update() to get correct screen display; use convert
1132 instead of istringstream.
1133 (getStatus): handle LFUN_GOTO_PARAGRAPH
1135 * lyxfunc.C (dispatch, getStatus): do not handle
1136 LFUN_GOTO_PARAGRAPH here.
1138 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1140 * text3.C (dispatch): size() -> depth()
1142 * text2.C: remove some debug output
1144 * paragraph.C: ws changes only
1146 * lyxfunc.C (getStatus): size() -> depth()
1148 * dociterator.h (clear, push_back, pop_back, internalData,
1149 operator[], resize, empty): new functions
1150 Make StableDocIterator and operator== be friends. Don't inherit
1151 from std::vector use a privat class variable slices_ instead.
1154 * dociterator.C: update because of not inheriting from std::vector
1155 anymore. Call explictly to slices_ instead. Use depth() instead of
1156 size() and top() instead of back()
1158 * cursor.C: chagne size() -> depth and back() -> top(). Also
1159 remove some direct operator[](i) calls in favour of foo[i]
1160 (getFont): remove some dead code
1162 * bufferview_funcs.C (coordOffset): size() -> depth()
1164 * buffer.C: ws changes only
1166 * CutAndPaste.C (eraseSelection): back() -> top()
1168 * BufferView_pimpl.C (selectionRequested): back() -> top()
1170 * BufferView.C (setCursor): size() -> depth()
1172 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1174 * text3.C (cursorPrevious): return true if depm changed something
1176 (dispatch): rename sl to oldTopSlice, remove moving use the new
1177 NoUpdate func attrib instead. Make sure that needsUpdate is set
1178 for function that have NoUpdate, but where depm might have changed
1181 * text2.C (cursorLeft): make us return true if depm changed
1183 (cursorRight): ditto
1184 (cursorUpParagraph): ditto
1185 (curosrDownParagraph): ditto
1186 (cursorUp, cursorDown): ditto, make sure to read comments in code
1187 (deleteEmptyParagraphMechanism): remove an assert, also return
1188 true if just a single char was deleted.
1190 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1191 cursor that we modify, to avoid modifying an active cursor before
1192 we call setCursor. This allows depm to run. Also return true if
1193 depm deleted something.
1195 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1196 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1197 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1198 something was changed in the buffer because of them (ie. depm run)
1200 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1201 debug messages. Make update by default be false. Make sure that
1202 the result of update is retained throught several calls down to
1205 * LyXAction.h: add a new func_attrib: NoUpdate
1207 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1208 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1209 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1211 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1213 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1215 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1216 bv_->owner(), bv_->buffer() by direct references to the private
1218 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1219 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1220 (fitCursor): center() is in BufferView::Pimpl.
1221 (getStatus, trackChanges, dispatch): no need for a temporary buf
1223 (fitCursor, workAreaDispatch): use workarea().workheight()
1225 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1227 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1229 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1231 * buffer.C: format up to 241.
1232 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1233 break if pasting into ERT
1234 * lyxfunc.C (getStatus): suppress mathpanel and
1235 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1237 2005-02-01 Angus Leeming <leeming@lyx.org>
1239 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1241 2005-02-01 Angus Leeming <leeming@lyx.org>
1243 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1244 calling fs::is_directory().
1246 2005-01-31 Angus Leeming <leeming@lyx.org>
1248 * lyx_main.C (priv_exec): specify explicitly the relative location
1249 of the top level build directory when run in-place.
1251 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1253 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1254 LyXText containing the cursor, not the top-level one.
1256 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1258 (insertStringAsLines): rename par to pit; use temporary variable
1259 par to hold a Paragraph; do not store par.layout() in a variable,
1260 since the pointer may die when breaking paragraphs; pass pars to
1261 breakParagraph() instead of Buffer::paragraphs().
1263 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1265 * lyxlex_pimpl.h: #include <fstream>.
1267 * BufferView.[Ch] (getLyXText): add a const version.
1269 * BufferView_pimpl.C: add debug aids.
1274 * paragraph_funcs.h: add commentary explaining what the class does.
1277 * coordcache.[Ch]: add lots of commentary.
1278 (startUpdating, doneUpdating): debug aids.
1279 (arrays, insets, parPos, getParPos): accessors to private data.
1281 * cursor_slice.[Ch] (text): add a const version.
1282 * dociterator.[Ch] (text, innerText): add const versions.
1284 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1287 * paragraph.C (getRow, pos2ros): add asserts.
1289 * paragraph.h: add commentary. Lots of.
1291 * paragraph.[Ch] (metrucs, draw): removed.
1294 * rowpainter.[Ch]: const-correct changes.
1296 * text.C: various obvious clean-ups. Removal of ancient cruft.
1299 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1301 * vc-backend.C (find_file): rewrite to use boost.filesystem
1304 * main.C (main): set default name check for boost.filesystem to
1307 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1310 (actOnUpdatedPrefs): ditto
1312 * lyx_main.C (init): rewrite to use boost.filesystem
1313 (queryUserLyXDir): ditto
1315 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1316 (getContentsOfAsciiFile): ditto
1318 * lastfiles.C (readFile): rewrite to use boost.filesystem
1320 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1322 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1323 (loadLyXFile): ditto
1325 * buffer.C (Buffer): adjust for destroydir
1326 (getLogName): rewrite to use boost.filesystem
1327 (setFileName): ditto
1328 (save): use fs::copy_file (from fs_extras)
1330 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1332 * LaTeX.C (run): rewrite to use boost.filesystem
1333 (scanAuxFiles): ditto
1334 (handleFoundFile): ditto
1336 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1338 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1340 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1342 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1344 * lyxlayout.[Ch]: change some vars from float to double
1346 * buffer.C (readFile): make a local var const
1348 * Several files: use convert<> instead of atoi,strToXXX and friends
1350 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1352 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1353 holds the contents of packages.lst. New functions getAvailable
1354 and isAvailable to parse and check that list, resp.
1358 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1360 * bufferparams.[Ch]: new param output_changes.
1362 * Buffer.C: increase file format to 240.
1363 Use output_changes and isVailable.
1367 * paragraph_pimpl.C: Use output_changes and isVailable.
1369 2005-01-23 Angus Leeming <leeming@lyx.org>
1371 * output_latex.C: #include "insetbibitem.h", rather than
1372 forward declare function bibitemWidest.
1374 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1376 * lyx_main.C (init): make it compile on the Mac.
1378 2005-01-20 Angus Leeming <leeming@lyx.org>
1380 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1381 (setLyXMisc): (char string literal) != (char string literal) is
1382 performing a comparison on the addresses. Convert one operand
1383 explicitly to string to guarantee expected behaviour.
1386 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1389 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1391 * output_plaintext.C: remove unneeded #include gzstream.h.
1393 2005-01-20 Angus Leeming <leeming@lyx.org>
1395 * SpellBase.h: rename some of the elements of the Result enum.
1402 * pspell.C (check): ditto
1404 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1406 * buffer.C: add #include <fstream>.
1408 * lyx_main.C (init): Compile fix.
1410 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1412 2005-01-20 Angus Leeming <leeming@lyx.org>
1414 * mover.h: change commentary to reflect the changed meaning of
1415 the $$s placeholder.
1417 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1419 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1421 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1423 2005-01-20 Angus Leeming <leeming@lyx.org>
1425 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1426 printing diagnostic data by not dereferecing an iterator past the
1429 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1431 * buffer.C (readHeader): use "&&" rather than "and".
1433 * lyxserver.h (inPipeName, outPipeName): make these const.
1435 2005-01-19 Angus Leeming <leeming@lyx.org>
1437 * lyx_main.C (error_handler, init): protect SIGHUP with
1438 #ifdef SIGHUP guards.
1440 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1442 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1444 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1446 * text.C (setHeightOfRow): add a margin at the top and bottom of
1447 the document (bug 1761)
1449 2005-01-17 Angus Leeming <leeming@lyx.org>
1451 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1452 with "python ". Workaround for a brain-dead Windows.
1454 2005-01-16 Angus Leeming <leeming@lyx.org>
1456 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1457 for MacOSX and Windows to use prependEnvPath.
1458 Strip out the hard-coded block to add elements to the PATH for
1459 MacOSX and replace it with a call to prependEnvPath using the
1460 contents of LyXRC::path_prefix.
1461 (queryUserLyXDir): strip out the code to run reconfigure, instead
1462 returning a boolean indicating the necessity to do so.
1463 (reconfigureUserLyXDir): contains the code to reconfigure the
1464 user support directory. Is now called after the various LyXRC data
1465 files have been read.
1467 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1469 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1471 * converter.[Ch] (convert): take a new parameter try_default. Use
1472 a default converter (imagemagick) if try_default is true.
1474 2005-01-13 Angus Leeming <leeming@lyx.org>
1476 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1477 os::cygwin_path_fix.
1478 (write): output LyXRC::cygwin_path_fix as necessary.
1480 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1483 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1485 2005-01-12 Angus Leeming <leeming@lyx.org>
1487 * lyx_main.C (init): set the PATH variable to include the
1488 directory containing the LyX binary when running on Mac or Windows.
1490 2005-01-12 Angus Leeming <leeming@lyx.org>
1492 * lyx_main.C (init): remove cruft that purports to set the locale
1493 dir. It doesn't and is not needed anyway.
1495 2005-01-10 Angus Leeming <leeming@lyx.org>
1497 * Makefile.am: remove the lyx_main.C special casing.
1499 * BufferView_pimpl.C:
1505 * messages.C: use support/package.h to provide the paths to the
1506 various directories used by LyX.
1508 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1510 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1511 layout if pasting into an empty paragraph)
1513 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1515 * tex-accent.C: add <string>
1517 2005-01-06 José Matos <jamatos@lyx.org>
1519 * ParagraphParameters.C (write): put every parameter in its own line.
1520 * paragraph.C (write): reduce number of consecutive empty lines exported.
1521 * buffer.C (LYX_FORMAT): increase file format to 239.
1523 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1525 * everywhere: change support/tostr.h -> support/convert.h
1527 * tabular.C: make all write_attributes templates, tostr -> convert
1529 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1530 (emptyTag): and -> &&, and fix type for ret from getChar
1531 (getFirstWord): fix type for ret from getChar
1532 (onlyText): and -> &&
1533 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1536 * toc.C (goTo, action):
1537 * text3.C (dispatch):
1538 * text.C (currentState):
1539 * tex-accent.C (DoAccent):
1542 * lyxfunc.C (menuNew):
1543 * lyxfinc.C (replace):
1544 * counters.C (laberItem):
1545 * bufferview_funcs.C (font2string):
1546 * bufferparams.C (writeFile):
1547 * buffer.C (readFile):
1549 * MenuBackend.C: tostr -> convert
1551 * LaTeX.C (runMessage): fix format
1552 (scanAuxFiles): tostr -> convert
1554 * BufferView_pimpl.C (savePosition): fix format
1555 (restorePosition): ditto
1558 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1560 * Spacing.[Ch]: New method getValueAsString().
1564 * ParagraphParameters.C:
1567 * text3.C: store/read spacing value as string.
1569 * rowpainter.C: change float value (spacing_val) to double.
1571 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1572 broken custom document spacing).
1574 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1576 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1577 namespace, also more use of temp references and const
1579 * cursor.[Ch] (getStatus): move to lyxfunc.C
1581 * bufferparams.C: reformat slightly
1583 * bufferview_funcs.C (font2string): constify arg
1589 * buffer_funcs.C: (many funcs): constify arg on function
1590 definitions, also make more local vars const, also add ASSERTS on
1593 * buffer.C (LYX_FORMAT): put const in correct place
1594 (many funcs): constify arg on function definitions, also make
1595 more local vars const
1597 * aspell_local.h: remove "struct" from typdef setup
1599 * aspell.C (check): make word_ok const
1600 (nextMiss): simplify slightly
1603 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1605 * lyxrc.[Ch]: store all float values as strings.
1606 use int (not float) for lyxrc.dpi.
1608 2005-01-04 Angus Leeming <leeming@lyx.org>
1610 * lyx_cb.C (Reconfigure):
1611 * lyx_main.C (queryUserLyXDir):
1612 to run the <system_lyxdir>/configure correctly on Windows, prefix
1613 the path to the script with "sh " when generating the string that
1614 is passed to system().
1616 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1618 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1620 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1622 * lyxlength.C (asLatexString): get rid of setprecision
1624 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1626 * text2.C (setLayout): remove unused variable endpit.
1627 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1629 * paragraph.C (onlyText): remove unused variable style.
1631 * cursor.C (bruteFind): remove unused variables beg and end.
1633 * Makefile.am (dist_noinset_DATA): not needed anymore
1635 * cheaders/*: remove.
1637 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1639 * text3.C: fix LFUN_MATH_MODE.
1641 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1643 * buffer_funcs.C (countWords): new function. Counts words between
1646 * BufferView_pimpl.C (getStatus, dispatch): handle
1649 * LyXAction.C (init):
1650 * lfuns.h: add LFUN_WORDS_COUNT.
1652 2004-12-19 Angus Leeming <leeming@lyx.org>
1654 * buffer.C (save): s/slashify_path/internal_path/.
1656 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1658 * lyxfind.C (findChange): do not search for end of pars, because
1659 the change tracker cannot handle this (fixes bug 1719).
1661 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1663 * paragraph.[Ch] (autoBreakRows): remove
1665 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1667 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1668 avoid using the paragraph one
1670 * text2.C (LyXText, insertStringAsLines): adjust
1672 2004-12-16 Angus Leeming <leeming@lyx.org>
1676 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1678 2004-12-14 Angus Leeming <leeming@lyx.org>
1680 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1682 * bufferlist.C (emergencyWrite):
1683 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1686 2004-12-14 Angus Leeming <leeming@lyx.org>
1688 * main.C: (main): no longer pass pointers to os::init.
1690 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1692 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1693 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1695 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1698 * text3.C: remove selection_possible global flag
1700 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1702 * text2.C (getSelectionSpan): remove
1703 (changeDepth, changeDepthAllowed): adjust
1705 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1707 * Makefile.am (BOOST_LIBS): use boost variables
1709 2004-12-03 José Matos <jamatos@lyx.org>
1711 * buffer.C: format up to 238.
1713 2004-12-03 José Matos <jamatos@lyx.org>
1715 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1717 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * cursor.C (goUpDown): remove call to idxUpDown2
1721 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1723 * tabular.[Ch]: use size_t-like types for cell, row and column
1726 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1728 * lyxfunc.C (getStatus): do not lose previous information when
1729 calling BufferView::getStatus; do not set a default "Command
1730 disabled" message at the beginning, but just before returning.
1732 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1734 * cursor.h (getStatus): add better comment from src/cursor.C
1736 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1738 * text3.C (getStatus): return false when the lfun is not handled
1740 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1742 * broken_headers.h: remove
1744 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1746 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1748 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1749 offset_ref accessors
1751 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1752 top_y_, merge fitcursor with update
1753 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1755 (metrics): introduce
1756 (workAreaDispatch): adapt to new coord scheme
1757 (redoCurrentBuffer): remove
1759 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1761 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1764 * coordcache.[Ch]: add paragraph cache and helpers
1766 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1769 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1770 (targetX, setTargetX): introduce
1772 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1773 baseline -> ascent, as the rest of lyx
1775 * lyxtext.h: remove redoParagraphs, updateParPositions,
1776 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1777 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1778 have ascent/descent (ascent is ascent of first par)
1780 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1783 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1785 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1787 * pariterator.C: fix infinite loop introduced in par->pit renaming
1789 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1790 in insets and LyXText, draw two off-screen paragraphs using
1791 NullPainter, and adapt to new coord scheme
1795 * text3.C: adapt lfun handlers to the new coord scheme, which
1796 means: there's only guaranteed coord information for onscreen pars
1797 plus one above and one below. This implies that one can do search
1798 from y coordinates in the range [-1,workHeight]
1800 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1802 * rename a lot of InsetOld to InsetBase
1804 2004-11-25 Angus Leeming <leeming@lyx.org>
1806 * BufferView_pimpl.C:
1808 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1810 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1812 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1813 call BufferView::getStatus if LCursor::getStatus did nothing
1814 (setStatusMessage, getStatusMessage): removed.
1816 * FuncStatus.C (message): new methods. Used to provide an error
1817 message indicating why a command is disabled.
1818 (clear, |=, FuncStatus): update for message.
1820 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1822 * lyxfunc.C (dispatch): always call sendDispatchMessage
1824 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1827 * BufferView_pimpl.C:
1832 * cursor_slice.[Ch]:
1835 * paragraph_funcs.C:
1841 * undo.C: par->pit renaming
1843 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1845 * tabular.C (cellstruct): use initialization, store a shared_ptr
1846 to insettext instead of the insettext directly, adjust to fit.
1847 (operator=): new function
1848 (swap): new function
1849 (rowstruct): use initialization
1850 (columnstruct): use initialization
1851 (ltType): use initialization
1854 * lyxlength.h (swap): new function
1856 * LColor.[Ch] (operator=): use the common semantics
1858 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1860 * lyxfind.C (findNextChange): update the bufferview after setting
1863 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1865 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1866 number of InsetOptArgs has already been inserted.
1868 * output_latex.C (latexOptArgInsets): new method. This outputs all
1869 the optarg insets, up to the limit defined in the layout file.
1870 (optArgInset): removed
1871 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1873 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1875 * paragraph.C (isLetter): remove special spellchecker-related
1876 code; return true also for digits
1877 (isWord, isKomma): remove
1879 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1880 * lyxfind.C (MatchString()): use isLetter instead of isWord
1882 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1884 * pariterator.h (operatir=): comment out un-implemented member
1887 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1890 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1892 * lyxfont.h: include LColor.h to satisfy concept checks.
1894 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1896 * pariterator.h: add typdefs for value_type, difference_type,
1897 pointer and reference to satisfy concept checks. Also add default
1898 constructor for same reason.
1900 * pariterator.C (operator++): add post-increment operator to
1901 satisfy concept checks.
1903 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1906 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1908 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1909 checks. Also rename base_type to BaseType to follow naming
1912 * FloatList.h: include Floating.h to satisfy concept checks.
1914 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1916 * lyxfunc.C (getStatus): when the origin of the request is menu or
1917 toolbar, and the LyXView does not have focus, do as if there was
1918 no buffer (bug 1720)
1920 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1921 FuncRequest to individual entries of LFUN_SEQUENCE
1923 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1925 * output_latex.C (TeXOnePar): override runparams.moving_arg
1926 according to the needprotect value of the current paragraph (bug
1929 * paragraph.C (simpleTeXOnePar): no need to override
1930 runparams.moving_args here
1932 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1934 * vspace.C: fix off-by-one-error, related to fix #1682
1936 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1938 * lengthcommon.C: a more general fix for bug 1682
1940 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1942 * text.C (backspace): fix crash
1944 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1946 * format.[Ch] (getFormatFromFile): new method
1947 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1949 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1951 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1953 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1955 * lyxfunc.C (dispatch): remove the verbose argument
1956 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1959 * kbmap.C (defkey): set the origin of func to KEYBOARD
1961 * MenuBackend.C (MenuItem):
1962 * ToolbarBackend.C (add): set the origin of func to UI
1964 * funcrequest.[Ch]: add origin member, which indicates which part
1965 of LyX requests an action
1967 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1969 * converter.C (move): don't lie in the error message
1970 * converter.h (isReachable, move): document
1972 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1974 * buffer.C: remove unused using lyx::support::atoi
1975 * paragraph_funcs.C: ditto
1977 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1979 * bufferlist.C (exists): use bind and equal_to instead of
1982 * lyxtextclasslist.C (NumberOfClass): ditto
1984 * cursor.C (insert): use for_each instead of explicit for loop
1986 * bufferlist.C (getFileNames): use std::transform and
1987 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1989 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1992 * buffer.C (changeLanguage): use for_each instead of explicit for
1994 (hasParWithID): implement using getParFromID
1996 * LaTeXFeatures.C: ws change only
1998 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2001 * BufferView_pimpl.C (trackChanges): use for_each instead of
2004 2004-11-04 André Pönitz <poenitz@gmx.net>
2007 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2009 * dociterator.C (asDocIterator): use hard assert again.
2011 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2013 * lyxlength.C (asLatexString): rewrite so that it does not use
2016 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2018 * text3.C (specialChar, dispatch): make sure cursor moves to the
2019 right after inserting an inset
2021 2004-11-02 José Matos <jamatos@lyx.org>
2023 * output_docbook.C (docbook):
2024 * paragraph.C (getID):
2025 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2026 garantee that the output is always legal.
2028 * tabular.C (docbook):
2029 * outputprams.[Ch]: remove mixed contents.
2031 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2033 * text2.C (setCounter): prevent endless loop
2035 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2037 * exporter.C (copyFile): use the mover instead of support::copy()
2038 * exporter.C (Export): pass format and latex name to copyFile()
2039 * exporter.h (addExternalFile): document
2040 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2042 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2044 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2046 2004-10-30 José Matos <jamatos@lyx.org>
2048 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2049 text and no inset or font change. This allows to use CDATA
2050 sections just for the whole paragraph.
2052 2004-10-30 José Matos <jamatos@lyx.org>
2054 * paragraph.C (getFirstWord): remove unused variable.
2056 2004-10-30 José Matos <jamatos@lyx.org>
2058 * paragraph.C (getFirstWord): the content should always be escaped
2060 (simpleDocBookOnePar):
2061 * output_docbook.C (makeEnvironment): replace reference to CDATA
2064 2004-10-30 José Matos <jamatos@lyx.org>
2066 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2068 2004-10-30 José Matos <jamatos@lyx.org>
2070 * output_docbook.C (makeParagraphs):
2071 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2072 standard paragraph has only a given type of content drop the wrapper.
2074 2004-10-29 José Matos <jamatos@lyx.org>
2076 * output_docbook.C (makeEnvironment):
2078 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2080 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2082 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2083 (cleanID): sanitize any id.
2085 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2087 * buffer.C, lyxlex_pimpl.C:
2088 * lyxlex_pimpl.C (setFile):
2089 s/getExtFromContents/getFormatFromContents/
2091 2004-10-28 José Matos <jamatos@lyx.org>
2093 * output_docbook.C (makeEnvironment): move id to broadest possible
2096 * sgml.C (openTag): apply substitution of <> for all attributes.
2098 2004-10-28 José Matos <jamatos@lyx.org>
2100 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2101 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2102 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2104 * sgml.[Ch]: new version for open and closeTag for paragraph and
2105 for strings. Now they handle the ids of paragraphs.
2107 2004-10-26 Angus Leeming <leeming@lyx.org>
2109 * Makefile.am: add mover.[Ch].
2111 * converter.C (convert, move): use the new Movers to move external
2112 files to the temp directory.
2114 * lyx_main.C (init): ensure that the global system_movers data
2117 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2120 * mover.[Ch]: new files, defining a Mover as a utility to move an
2121 external file between directories and, if necessary, manipulate this
2122 file using a helper script.
2124 2004-10-25 José Matos <jamatos@lyx.org>
2126 * output_docbook.C (makeCommand): merge two if's that tested the
2129 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2131 * sgml.C (escapeString): fix warning in a better way
2133 2004-10-25 José Matos <jamatos@lyx.org>
2135 * sgml.C (escapeString): import the require boosts header file for
2136 tie, and avoid a signed unsigned comparison.
2138 2004-10-25 José Matos <jamatos@lyx.org>
2140 * sgml.h: add #include <string>
2142 2004-10-25 José Matos <jamatos@lyx.org>
2144 * sgml.[Ch] (escapeString): new function to escape all the string.
2146 2004-10-24 José Matos <jamatos@lyx.org>
2148 * paragraph.[Ch] (getFirstWord): new function to get the first
2149 word. Useful for description.
2150 (simpleDocBookOnePar): remove depth argument, add another that
2151 says where to start the paragraph.
2153 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2154 use the new functions to fix cleanly the support for descriptions.
2156 2004-10-24 José Matos <jamatos@lyx.org>
2158 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2159 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2160 * output_linuxdoc.C (linuxdocParagraphs):
2161 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2162 add buffer as argument.
2164 2004-10-24 José Matos <jamatos@lyx.org>
2166 * output_docbook.C (makeEnvironment, searchEnvironment): place
2167 CDATA inside paragraphs and fix scope for listitems.
2169 2004-10-24 José Matos <jamatos@lyx.org>
2171 * output_docbook.C: remove using statement for stack.
2173 2004-10-23 José Matos <jamatos@lyx.org>
2175 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2176 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2177 docbook. The new scheme is recursive and makes use of iterators, the
2178 same as latex export works.
2179 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2180 directly with the paragraph contents. This code was moved up to
2181 output_docbook.C (docbookParagraphs).
2182 * sgml.C (openTag, closeTag): removed unneeded newlines.
2183 (closeEnvTags) removed.
2185 2004-10-23 André Pönitz <poenitz@gmx.net>
2187 * undo.C (textUndoOrRedo):
2188 * dociterator.C (asDocIterator): work around crash
2190 * cursor.C (getStatus): replace ASSERT by more verbose error message
2191 and manual correction of the problem. Should increase stability
2192 while providing more sensible information.
2194 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2196 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2198 * bufferlist.C (previous, next): new methods
2201 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2203 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2205 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2206 entities to preamble.
2208 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2210 * messages.C (Pimpl): strip off translation context information
2212 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2214 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2215 the cursor is correct (bug 1694)
2217 2004-10-13 José Matos <jamatos@lyx.org>
2219 * output_docbook.C (docbookParagraphs): fix closing tags in the
2220 end of the document.
2222 2004-10-09 José Matos <jamatos@lyx.org>
2224 * buffer.C: format up to 237.
2225 * bufferparams.C (write): use tostr to convert booleans to strings.
2227 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2229 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2231 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2233 * LaTeX.C: implement use of babel language in xindy.
2235 2004-10-05 José Matos <jamatos@lyx.org>
2237 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2238 Add new translators to help reading and writing the lyx file.
2240 2004-10-05 José Matos <jamatos@lyx.org>
2242 * ParagraphParameters.C (read):
2243 * text.C (readParToken): replace nexToken by more appropriate lex
2246 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2248 * LaTeX.C (runMakeIndex):
2249 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2250 (usually 'makeindex') configurable.
2252 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2253 with a variable rather than with a number.
2255 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2257 * output_latex.C (TeXOnePar): make sure font setting is the first
2258 thing that gets output (and the last at the end). Should fix bug
2261 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2263 * pch.h: use proper signal include
2265 * LaTeX.h: Use preferred calling of Boost.Signal
2268 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * pch.h: dont include <boost/function/function0.hpp>
2272 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2274 * paragraph_pimpl.h: remove usage of ShareContainer
2276 * paragraph_pimpl.C: remove initialization of ShareContainer.
2278 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2282 * BufferView.C (putSelectionAt): change the semantics when
2283 backwards == true: now, this just swaps cursor and anchor wrt the
2286 * BufferView.h (putSelectionAt): add some documentation
2288 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2289 make sure backwardChar is done at least once (to avoid getting
2291 (findNextChange): use putSelectionAt in the forward direction
2292 (operator()): use Paragraph::isWord
2294 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2296 * Spacing.C (set): c_str fix
2298 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2300 * lyx_cb.C (Reconfigure): quote the name of configure script in
2301 case it contains spaces
2303 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2307 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2308 (BOOST_LIBS): use top_buildir when looking for the file
2310 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * pch.h: do not use include boost/format.hpp, multiple symbols
2313 will result (gcc bug)
2316 2004-08-23 José Matos <jamatos@lyx.org>
2318 * bufferparams.C (readToken): fix reading of the author field.
2320 2004-08-20 José Matos <jamatos@lyx.org>
2322 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2324 2004-08-20 José Matos <jamatos@lyx.org>
2326 * lyxlex.[Ch] (findToken): remove function.
2328 * ParagraphParameters.C (findToken):
2329 * bufferparams.C (findToken): replace call for previous function
2330 with local copy. This local function has one more argument, the
2331 read string argument.
2333 2004-08-16 José Matos <jamatos@lyx.org>
2335 * ParagraphParameters.C (write):
2336 * Spacing.C (writeFile):
2337 * bufferparams.C (writeLaTeX):
2338 * lyx_cb.C (Reconfigure):
2339 * paragraph.C (write):
2340 * tabular.C (write): remove unnecessary space at end of line.
2343 2004-08-16 José Matos <jamatos@lyx.org>
2345 * text.C (readParagraph): remove debug message.
2347 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2349 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2352 * output_plaintext.C (asciiParagraph): set depth correctly
2354 * outputparams.h: add member depth
2356 * paragraph_funcs.C (ownerPar): remove.
2358 * text2.C (setCounter): remove first_pit; comment out some
2359 non-working code that uses ownerPar
2361 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2364 2004-08-16 José Matos <jamatos@lyx.org>
2366 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2367 For the same level of importance use the same chanel to report problems.
2368 (read): add code to deal with \begin_body and \end_body.
2371 2004-08-15 José Matos <jamatos@lyx.org>
2373 * lyxlex.C (getString): fix comment, buffer::readBody is now
2374 buffer:readDocument.
2376 * tex-strings.C (string_papersize): Default -> default,
2377 Custom -> custom, for consistency with other options.
2379 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2383 * Makefile.am: support pch
2385 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2387 * text.C (readParToken): remove the static LyXFont variable and
2388 pass it as a parameter instead. This fixes a nasty bug where an
2389 inset will be inserted with a bad font in some situations
2390 (readParagraph): adapt
2392 * text2.C (setCounter): reduce number of calls to pars_[pit]
2394 * text.C (singleWidth): add an assert, fix a test
2396 * rowpainter.C (paintText): reduce number of calls to singleWidth
2398 * paragraph.C (isHfill):
2399 (isNewline): ws only
2401 2004-08-14 André Pönitz <poenitz@gmx.net>
2406 * lyxtext.h (several functions): use a Paragraph & argument
2409 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2411 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2413 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2415 * text.C (singleWidth): remove useless test
2417 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2419 * tabular.h: remove bogus comments
2421 * tabular.C (getDescentOfRow):
2422 (isPartOfMultiColumn): add assertions
2424 * lyxlength.C (inPixels): remove #warning
2426 2004-08-14 André Pönitz <poenitz@gmx.net>
2428 * paragraph.h: inline getChar()
2430 * BufferView.h: remove unused declarations
2432 2004-08-14 José Matos <jamatos@lyx.org>
2434 * Buffer.[Ch] (readDocument): new name for old readBody.
2435 * Buffer.C: new file format, new keywords: \begin_document,
2436 \begin_header, \begin_body, \end_body.
2438 * bufferparams.C (readToken): replace all calls to lex.nextToken
2439 by lex.next(). Do the same to eatLine except where really needed.
2441 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2442 line when writing to the lyx file.
2444 * output_plaintext.C (asciiParagraph): fix Bibliography style
2447 * text.C (read): fix end of file handling.
2449 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2451 * MenuBackend.C (Menu::operator[]): new method to access
2452 individual menu items
2453 (Menu::hasFunc): new method. search for an item that corresponds
2455 (MenuBackend::specialMenu): new method
2456 (MenuBackend::expand): if a special menu has been set, skip
2457 entries whose func() appears in this menu
2459 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2461 * text3.C: use Debug::DEBUG a bit more
2463 * text.C (leftMargin): try to simplify a tiny bit change var x to
2464 l_margin. Dont output the wide margins always.
2465 (rightMargin): no margin in inner texts
2467 * rowpainter.h (nestMargin): new func
2468 (changebarMargin): new func
2469 (rightMargin): new func
2471 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2475 * factory.C (createInset): modify setDrawFrame
2477 * cursor.C: use Debug::DEBUG a bit more
2479 2004-08-14 André Pönitz <poenitz@gmx.net>
2482 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2483 cache for all insets in (at least partially) visible (top-level)
2486 * BufferView_pimpl.C: reset external coord cache before every update.
2487 This means the coord cache only contains valid entries.
2489 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2492 * BufferView_pimpl.C (getInsetByCode): move function out of class
2493 and change in to a template in anon namespace. Also fix to do what
2496 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2499 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2501 (breakParagraph): rename par to par_offset and use a local
2502 reference. Add code to keep the language over a rebreak.
2503 (breakParagraphConservative): rename par to par_offset, use a
2505 (mergeParagraph): ditto
2507 (isFirstInSequence): ditto
2508 (outerFont): rename pit to par_offset
2510 * paragraph.C: ws change
2511 * paragraph.h: ditto
2515 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2517 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2520 * paragraph.C (simpleTeXOnePar): when we have a \item with
2521 optional argument, enclose the argument with curly brackets (in
2522 case it contains a closing square bracket)
2526 * text3.C (checkInsetHit): constify
2528 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2530 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2531 documents (bug 1629)
2533 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2535 Fix toggling of collapsable insets with the mouse (bug 1558)
2537 * lyxfunc.C (dispatch): adapt to LCursor changes
2539 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2540 make sure that dispatch is not invoked twice
2542 * cursor.C (needsUpdate): new method
2543 (dispatch): return void
2544 (result): new method, to access the DispatchResult of the cursor.
2546 2004-08-13 José Matos <jamatos@lyx.org>
2548 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2550 2004-08-13 André Pönitz <poenitz@gmx.net>
2552 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2554 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2557 2004-08-12 André Pönitz <poenitz@gmx.net>
2559 * text3.C: take out the 'cursor right' form insertInset and only
2560 do it in those places when it is really needed. Fixes crash on
2563 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2565 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2567 * BufferView_pimpl.C (setBuffer): initialize the current font of
2568 the underlying LyXText
2570 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2572 * kbsequence.C (print): use UI native formatting for menu
2575 * text.C (insertChar): call Paragraph::insertChar with a font
2578 * paragraph.C (insertInset, insertChar): the version that takes a
2579 LyXFont argument is now a wrapper around the other one (the
2580 opposite used to be true).
2582 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2583 argument. Font setting is done in Paragraph now.
2585 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2587 * outputparams.h: add new members intitle and lang.
2589 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2590 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2592 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2594 * text3.C (dispatch): remove special handling of button 4 and 5,
2595 it is now taken care of in the frontend code.
2597 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2599 * Spacing.h: add <string> (STLPort compile fix)
2601 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2603 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2605 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2607 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2610 * converter.C (showMessage): inherit from unary_function, make
2613 * buffer.C (writeFile): initialize retval
2615 * InsetList.h: rename private variable list to list_
2616 * InsetList.[Ch]: adjust accordingly.
2618 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2620 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2621 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2622 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2623 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2624 * ParagraphParameters.C, LaTeXFeatures.C: replace
2625 "support/std_sstream.h" with <sstream>
2627 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2630 * lyxsocket.C (LyXServerSocket): ditto
2631 (serverCallback): ditto
2633 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2635 * LaTeXFeatures.C: check release date when loading jurabib.
2637 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * lyxserver.C (startPipe): call register_socket_callback
2640 (endPipe): call unregister_socket_callback
2642 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2644 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2645 (LyXServerSocket): register the callback
2646 (LyXServerSocket): unregister the callback
2647 (fd): delete function
2648 (serverCallback): improve error checking and setup the callbacks.
2649 (dataCallback): change arg to fd.
2650 (writeln): new func (copied fro the client socket) used for server
2652 (LyXDataSocket): simplify
2653 (~LyXDataSocket): close ann unregiser callback
2654 (server): delete function
2655 (fd): delete function
2656 (readln): small changes, improve some std::string usage
2657 (writeln): constify a bit
2659 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2661 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2664 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2666 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2667 after it has been populated
2669 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2671 * text2.C (insertInset): move cursor when inserting inset.
2673 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2675 * kbmap.C (findbindings): a couple of new methods. returns a
2676 container of kb_sequence objects. The real work is done by the
2677 private recursive version
2678 (printbindings): uses findbindings to print out a bracketed list
2679 of bindings (renamed from findbinding).
2681 * MenuBackend.C (binding): use kb_keymap::findbindings
2683 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2685 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2687 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2689 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2691 * paragraph.C (isWord): return true on insets that report
2694 * text.C (getWord): use Paragraph::isWord to decide what is in a
2695 word and what is not; fix bug 1609.
2697 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2699 * tex-strings.C: add "none" to string_paperpackages[], fixes
2700 off-by-one-error in the paperpackage selection.
2703 * tex-strings.[Ch]: char const * string[n]
2704 -> char const * const string[]
2706 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2708 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2709 command, return early.
2711 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * debug.h: add DEBUG to enum and fix size of ANY.
2715 * debug.C: add support for Debug::DEBUG
2716 (showTags): cast errorTags.level to unsigned int
2718 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2719 (redoCurrentBuffer): ditto
2720 (updateScrollbar): ditto
2721 * cursor.C (dispatch): ditto
2722 * text2.C (setLayout): ditto
2724 (updateCounters): ditto
2726 (deleteEmptyParagraphMechanism): ditto
2728 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2730 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2731 annotations to cleanup the Makefile slightly.
2733 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2735 * lyxrc.C: do not set user_email to a default value but use empty
2736 instead. The entry used to be translated, which does not work
2737 since at the point where lyxrc is constructed there is no
2738 translation service available
2740 * messages.C (getLocaleDir): remove and use directly
2741 lyx_localedir() instead
2743 2004-06-02 Angus Leeming <leeming@lyx.org>
2745 Fix crash caused by dereferencing null pointer 'exportdata' in
2746 OutputParams by creating a new ExportData variable on the heap,
2747 storing it in a boost::shared_ptr.
2748 The crash was triggered when generating an Instant Preview
2749 of an external inset.
2751 * Makefile.am: add outputparams.C
2753 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2754 (c-tor): allocate memory to it.
2756 * exporter.C (c-tor): associated changes.
2758 2004-06-01 Angus Leeming <leeming@lyx.org>
2760 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2761 contains data before calling isInset(0). (Bug 1513.)
2763 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2765 * exporter.C (checkOverwrite): new method
2766 * exporter.C (copyFile): new method
2767 * exporter.C (Export): copy referenced files to the document dir
2768 * exporter.[Ch]: new class ExportedFile
2769 * exporter.[Ch]: new class ExportData. Contains currently the
2770 names of referenced external files
2771 * outputparams.h: add exportdata member.
2773 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2775 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2778 2004-05-19 Angus Leeming <leeming@lyx.org>
2783 * lyxfunc.C: small changes due to the introduction of namespace
2784 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2786 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2788 * text3.C (dispatch): supress update when only moving the cursor
2789 * cursor.C (selHandle): remove commented code
2791 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2793 * paragraph.C (startTeXParParams): correct column count
2794 * CutAndPaste.C (pasteSelection): remove const_cast
2795 * output_docbook.C (docbookParagraphs): remove const_cast
2796 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2797 const_cast and return ParagraphList::const_iterator
2798 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2799 * output_plaintext.C (writeFileAscii): remove const_cast
2800 * paragraph.[Ch] (simpleTeXOnePar): make const
2801 * paragraph_funcs.C (outerPar): use const iterators
2802 * paragraph_pimpl.C (validate): use const iterators
2803 * text.C (setHeightOfRow): use const iterators
2805 2004-05-17 Angus Leeming <leeming@lyx.org>
2808 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2810 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2811 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2812 if the citation engine has changed.
2814 2004-05-14 José Matos <jamatos@lyx.org>
2816 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2817 if the textclass does not provide it. Have it different for sgml and
2819 support the language of document.
2820 * output_docbook.C (docbookParagraphs):
2821 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2822 first anchor as the id of the paragraph, remove special case code.
2823 * sgml.C (escapeChar): escape only < & >.
2825 2004-05-14 Angus Leeming <leeming@lyx.org>
2827 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2828 dependencies on src/frontends/controllers/biblio.h. Define a
2829 CiteEngine_enum wrapper class to enable the enum to be forward
2832 2004-05-12 Angus Leeming <leeming@lyx.org>
2834 * buffer.C: up LYX_FORMAT to 234.
2835 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2836 use_numerical_citations with a single biblio::CiteEngine cite_engine
2838 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2840 2004-05-13 José Matos <jamatos@lyx.org>
2843 * converter.C (Converter, readFlags): add xml member.
2844 * outputparams.h: add XML flavor.
2845 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2847 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2849 * lyxfunc.C (dispatch):
2850 (getStatus): fix handling of LFUN_SEQUENCE
2852 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2854 * debug.C (showLevel): do not forget the end-of-line marker
2856 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2858 * kbmap.C (read): do not stop parsing a bind file when an error
2861 2004-04-29 Angus Leeming <leeming@lyx.org>
2866 * text2.C: wrap a bunch of #warning statements
2867 inside #ifdef WITH_WARNINGS blocks.
2869 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2871 * buffer.C: increment format to 233.
2873 2004-04-28 Angus Leeming <leeming@lyx.org>
2875 * BufferView_pimpl.C:
2878 s/updateToolbar()/updateToolbars()/
2879 s/Toolbar.h/Toolbars.h/
2881 2004-04-28 Angus Leeming <leeming@lyx.org>
2883 * BufferView.[Ch] (c-tor):
2884 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2885 No longer passes these data to the WorkArea generator.
2887 2004-04-28 Angus Leeming <leeming@lyx.org>
2889 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2891 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2893 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2895 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2897 * output_latex.C (TeXEnvironment): make sure that there is a line
2898 break before \end{foo} for the last paragraph of a document
2899 (TeXOnePar): if the paragraph is at the end of the document (or
2900 inset) and the language has to be reset, then make sure that the
2901 line break is _before_ the language command, not after (fixes bug
2902 1225); also make sure that the language reset command is the first
2903 thing after the paragraph (to ensure proper nesting of
2904 environments and thus fix bug 1404)
2906 2004-04-21 John Levon <levon@movementarian.org>
2909 * ToolbarBackend.C: make "name" be a programmatic name
2910 and a gui_name field.
2912 * lyxfunc.C: display the minibuffer on M-x
2914 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2916 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2919 2004-04-19 Angus Leeming <leeming@lyx.org>
2921 * BufferView_pimpl.C (setBuffer): changed preview interface.
2923 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2926 2004-04-19 John Levon <levon@movementarian.org>
2928 * BufferView_pimpl.C:
2929 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2931 2004-04-05 Angus Leeming <leeming@lyx.org>
2933 * text.C (redoParagraphs): add call to updateCounters(), thereby
2934 fixing the missing "Figure #:" label from the caption of a
2937 2004-04-13 Angus Leeming <leeming@lyx.org>
2939 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2940 cursor is clicked out of an inset.
2942 2004-04-13 Angus Leeming <leeming@lyx.org>
2944 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2945 than an InsetOld one.
2947 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2949 * format.[Ch]: add editor to Format
2950 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2951 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2953 2004-04-08 André Pönitz <poenitz@gmx.net>
2955 * metricsinfo.h: remove PainterInfo::width member
2957 2004-04-08 Angus Leeming <leeming@lyx.org>
2959 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2960 "\providecommand" rather than "\newcommand", thereby preventing
2961 clashes with packages that define "\boldsymbol" themselves.
2964 2004-04-08 Angus Leeming <leeming@lyx.org>
2966 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2967 thereby squashing an unnecessary warning.
2969 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2971 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2974 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2976 * BufferView.C (setCursor): call redoParagraph (some insets could
2978 (putSelectionAt): remove the 'double update' trick
2980 * BufferView_pimpl.C (fitCursor): call refreshPar
2981 (workAreaDispatch): remove an uneeded update call
2982 (dispatch): remove some manual update calls
2984 * cursor.[Ch]: remove cached_y_, updatePos
2985 (selHandle): set noUpdate when appropriate
2987 * lyxfunc.C (dispatch): track if we need an update
2989 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2991 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2992 (paintSelection): cheap optimization, do not call cursorX when not
2994 (paintPars): change signature
2997 (paintTextInset): adjust
3001 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3003 * lengthcommon.C: compilation fix: remove explicit array size from
3004 unit_name[] and friends
3006 2004-04-05 Angus Leeming <leeming@lyx.org>
3008 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3010 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3011 present only for the preferences dialog.
3012 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3014 2004-04-05 Angus Leeming <leeming@lyx.org>
3016 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3017 to enable the frontends to export changes to lyxrc correctly.
3019 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3021 2004-04-07 André Pönitz <poenitz@gmx.net>
3023 * cursor.[Ch] (selClear, adjust): remove math
3025 * cursor_slice.C: more agressive assert
3028 * BufferView_pimpl.C: rework mouse event dispatch
3035 2004-04-05 André Pönitz <poenitz@gmx.net>
3037 * cursor.[Ch] (valign, halign...): remove unneeded functions
3039 2004-04-05 Angus Leeming <leeming@lyx.org>
3041 * lyxlength.[Ch] (unit_name et al.): const-correct.
3043 2004-04-05 Angus Leeming <leeming@lyx.org>
3045 * BufferView_pimpl.C:
3054 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3056 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3058 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3060 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3062 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3063 * BufferView_pimpl.[Ch] (getStatus)
3064 * BufferView.[Ch] (getStatus): add
3065 * lyxfunc.C (getStatus): move lfuns handled in
3066 BufferView::dispatch to te function above
3067 * Cursor.C (setSelection): set selection() = true
3069 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3071 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3073 2004-03-31 Angus Leeming <leeming@lyx.org>
3075 * lyxfunc.C (dispatch): Fall through to the generic
3076 Dialogs::show("preamble").
3078 2004-03-31 Angus Leeming <leeming@lyx.org>
3080 * lyxfunc.C (dispatch): Fall through to the generic
3081 Dialogs::show("spellchecker").
3083 2004-03-31 Angus Leeming <leeming@lyx.org>
3085 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3088 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3093 * insetiterator.[Ch]:
3098 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3100 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3102 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3103 insets where we are putting the cursor.
3105 2004-03-31 Angus Leeming <leeming@lyx.org>
3108 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3110 * lyxrc.[Ch] (read, write): overloaded member functions taking
3111 a std::[io]stream arguments.
3113 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3115 2004-03-31 Angus Leeming <leeming@lyx.org>
3117 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3118 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3120 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3121 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3123 2004-03-31 Angus Leeming <leeming@lyx.org>
3125 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3126 the LFUN_ALL_INSETS_TOGGLE code.
3128 2004-03-30 Angus Leeming <leeming@lyx.org>
3130 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3131 has died. Fall through to the generic Dialogs::show("document").
3133 2004-03-30 Angus Leeming <leeming@lyx.org>
3136 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3137 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3139 * lyxfunc.C (getStatus, dispatch): define the actions for these
3140 lfuns. Little more than a cut and pste job from ControlDocument.C
3142 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3144 2004-03-30 Angus Leeming <leeming@lyx.org>
3147 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3148 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3150 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3151 open/closed state of ollapsable insets. Usage:
3153 all-inset-toggle <state> <name>, where
3154 <state> == "open" || "closed" || "toggle" and
3155 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3157 * lyxtext.h, text2.C (toggleInset): removed.
3159 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3160 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3161 now passes LFUN_INSET_TOGGLE to the found inset.
3163 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3164 is now invoked as "all-insets-toggle toggle branch".
3166 2004-03-30 Angus Leeming <leeming@lyx.org>
3170 * pariterator.[Ch]: added/corrected header blurb.
3172 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3174 * dociterator.[Ch]: add an inset_ member
3175 (backwardPos): implemented
3176 (backwardPos, forwardPos): use inset_ when the stack is empty.
3177 (doc_iterator_begin, doc_iterator_end): implemented
3178 * pariterator.[Ch]: adjust, add begin, end
3179 * insetiterator.[Ch]: adjust, add begin, end
3183 * BufferView_pimpl.C:
3184 * CutAndPaste.C: adjust
3186 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3188 * buffer.C: increment file format to 232.
3189 * LaTeXFeatures.C: add bibtopic package.
3190 * bufferparams.[Ch]: param \use_bibtopic.
3192 * lyxrc.[Ch]: add lyxrc bibtex_command
3193 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3195 * buffer.C: increment file format to 231.
3197 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3199 * dociterator.C: implement forwardPar
3200 * iterators.[Ch]: remove, replaced by
3201 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3203 * BufferView_pimpl.C:
3206 * bufferview_funcs.C:
3212 * Makefile.am: adjust
3214 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3216 * CutAndPaste.C (pasteSelection): fix 2 crashes
3217 (eraseSelection): fix a crash
3218 * paragraph_funcs.C: remove a warning
3220 2004-03-28 Angus Leeming <leeming@lyx.org>
3223 * LyXAction.C (init): new LFUN_PRINT.
3225 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3227 2004-03-27 Angus Leeming <leeming@lyx.org>
3230 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3232 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3234 2004-03-27 Angus Leeming <leeming@lyx.org>
3236 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3237 insetlist always contains non-null pointers to insets.
3239 2004-03-26 Angus Leeming <leeming@lyx.org>
3241 * src/BufferView_pimpl.C:
3242 * src/CutAndPaste.C:
3245 * src/output_plaintext.C:
3246 * src/outputparams.h:
3247 * src/paragraph_funcs.C:
3251 * src/frontends/controllers/ControlErrorList.C:
3252 * src/frontends/gtk/FileDialogPrivate.C:
3253 * src/frontends/gtk/GPainter.C:
3254 * src/frontends/gtk/GToolbar.C:
3255 * src/frontends/qt2/QRef.C:
3256 * src/mathed/math_scriptinset.C: squash compiler warnings.
3258 2004-03-26 Angus Leeming <leeming@lyx.org>
3260 * ispell.C (LaunchIspell::start):
3261 * lyx_cb.C (AutoSaveBuffer::start):
3262 invoke run(DontWait) rather than runNonBlocking().
3264 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3266 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3268 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3270 * kbsequence.C (print): adjust
3272 * kbmap.C (printKeySym): rename and change signature
3273 (printKey): use LyXKeySym::print()
3275 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3277 * undo.C: add using std::advance to compile for stlport
3279 2004-03-24 Angus Leeming <leeming@lyx.org>
3281 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3282 it leads to a crash when no buffer is present.
3284 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3285 Martin Vermeer <martin.vermeer@hut.fi>
3287 * lyxfunc.C (dispatch):
3288 * bufferparams.C (readToken): use the new LColor::setColor
3290 * LColor.[Ch] (setColor): new version that takes two strings as
3291 argument and creates a new color entry if necessary
3293 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3295 * buffer.C (makeLaTeXFile): if the main latex file that is
3296 processed is usually a subdocument of some master, then pretend
3297 for a while that it is actually the master
3299 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3301 * buffer.C (getLabelList):
3302 (getBibkeyList): use getMasterBuffer()
3303 (getMasterBuffer): new method. Returns the main document in the
3304 case where one is using included documents.
3306 2004-03-25 André Pönitz <poenitz@gmx.net>
3310 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3312 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3314 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3315 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3317 * ParameterStruct.h: merge with ParagraphParameters
3319 * lyxtext.h: remove LyXText::parOffset() and getPar()
3321 * text3.C: Remove all 'manual' update calls. We do now one per user
3322 interaction which is completely sufficient.
3326 * BufferView_pimpl.C:
3327 * FontIterator.[Ch]:
3329 * ParagraphParameters.[Ch]:
3334 * cursor_slice.[Ch]:
3341 * output_docbook.[Ch]:
3342 * output_latex.[Ch]:
3343 * output_linuxdoc.[Ch]:
3344 * output_plaintext.[Ch]:
3346 * paragraph_funcs.[Ch]:
3347 * paragraph_pimpl.[Ch]:
3355 * frontends/controllers/ControlDocument.C:
3356 * frontends/controllers/ControlErrorList.C:
3357 * frontends/controllers/ControlSpellchecker.C:
3360 * insets/insetbase.h:
3361 * insets/insetbibitem.C:
3362 * insets/insetbox.C:
3363 * insets/insetbranch.C:
3364 * insets/insetcaption.C:
3365 * insets/insetcharstyle.C:
3366 * insets/insetcharstyle.h:
3367 * insets/insetcollapsable.C:
3368 * insets/insetcollapsable.h:
3369 * insets/insetert.C:
3370 * insets/insetfloat.C:
3371 * insets/insetfoot.C:
3372 * insets/insetmarginal.C:
3373 * insets/insetnote.C:
3374 * insets/insetoptarg.C:
3375 * insets/insettabular.C:
3376 * insets/insettext.C:
3377 * insets/insettext.h:
3378 * insets/insetwrap.C:
3379 * mathed/math_mboxinset.C:
3380 * mathed/math_nestinset.C:
3381 * mathed/math_scriptinset.C:
3382 * mathed/math_scriptinset.h:
3385 2004-03-24 Angus Leeming <leeming@lyx.org>
3387 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3388 deal with any child processes that have finished but are waiting to
3389 communicate this fact to the rest of LyX.
3391 2004-03-24 Angus Leeming <leeming@lyx.org>
3393 64-bit compile fixes.
3395 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3396 (c-tor): pass lyx::pos_types rather than ints.
3398 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3401 * text.C (Delete): compile fix.
3402 (getPar): ensure that function declaration is the same as that in
3405 2004-03-23 Angus Leeming <leeming@lyx.org>
3407 * ispell.C (LaunchIspell):
3408 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3409 a boost::shred_ptr rather than a std::auto_ptr.
3411 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3413 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3414 handle LFUN_FILE_INSERT_*
3416 * lyxrc.C (setDefaults, getDescription, output, read):
3417 * lyxrc.h: remove ps_command
3419 2004-03-22 Angus Leeming <leeming@lyx.org>
3421 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3422 Ensure that error_handler is processed once only and that all data
3423 is saved before attempting to output any warning messages.
3425 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3427 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3429 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3431 2004-03-19 André Pönitz <poenitz@gmx.net>
3433 * cursor.[Ch] (reset): take main text inset as argument
3435 * BufferView: adjust
3436 * BufferView_pimpl.C: adjust
3438 * paragraph.[Ch]: fix completely broken operator=()
3440 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3442 * LColor.C (getFromLyXName): make sure that the color name is used
3445 2004-03-17 Angus Leeming <leeming@lyx.org>
3448 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3450 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3451 dialog and to kill a forked process.
3453 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3455 * text2.C (setCursorFromCoordinates): fix font problem
3457 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3459 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3460 bogus "rebuild cursor" code
3462 2004-03-11 André Pönitz <poenitz@gmx.net>
3464 * buffer.[Ch]: use InsetText instead of LyXText as container for
3467 * dociterator.[Ch]: drop the BufferView * member which is not needed
3468 anymore after the change to buffer.C
3470 * paragraph_funcs.C:
3474 * BufferView_pimpl.[Ch]:
3476 * cursor_slice.[Ch]: adjust
3478 * text3.C: fix bug in mathDispatch
3480 2004-03-08 André Pönitz <poenitz@gmx.net>
3482 * undo.[Ch]: use 'StableDocumentIterator' as base for
3485 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3488 * bufferparams.[Ch]: add jurabib support and param.
3490 * LaTeX.C: add FIXME/comment.
3492 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3494 * buffer.C: increment file format to 230.
3496 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3498 * cursor.C (dispatch): avoid infinite loops
3500 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3502 * rowpainter.C (paintSelection): fix x coordinates
3504 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3506 * text.C (rowBreakPoint): fix breaking before displayed insets
3508 2004-03-01 André Pönitz <poenitz@gmx.net>
3510 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3512 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3516 * BufferView_pimpl.C:
3524 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3530 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3531 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3533 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3535 * Bidi.[Ch] (computeTables): const correctness
3536 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3537 fill_hfill, fill_label_hfill and x from Row
3538 * lyxtext.h: prepareToPrint returns a RowMetrics
3539 * rowPainter.C: adjust
3540 * text.C (prepareToPrint): use width, not textWidth. adjust
3541 (redoParagraphInternal, cursorX): adjust
3542 * text2.C (getColumnNearX): adjust
3543 (init): put a default value to the top LyXText::width
3545 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3547 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3549 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3551 * lyxtext.h: add FontIterator class
3553 * text.C (FontIterator, operator*, operator->, operator++): add
3554 (rowBreakPoint, setRowWidth): adjust (fixing a
3557 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3559 * BufferView_pimpl.C (workAreaDispatch): allow also
3560 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3562 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3564 * text.C (rowBreakPoint): fix a bug showing with very large insets
3566 2004-02-25 André Pönitz <poenitz@gmx.net>
3569 * cursor.[Ch]: move some mathed specific code to mathed
3571 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3573 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3574 use_tempdir in preferences
3575 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3577 * lyx_main.C: ensure that tempdir is valid
3578 * lyxlex.h: correct typo
3579 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3580 * paragraph.[Ch] (isMultiLingual): make const
3581 * cursor.[Ch] (openable): make const
3583 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3585 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3587 2004-02-20 André Pönitz <poenitz@gmx.net>
3589 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3591 * cursor.[Ch]: prepare for localized getStatus()
3597 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3599 2004-02-20 André Pönitz <poenitz@gmx.net>
3601 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3603 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3605 * text2.C (setCursorFromCoordinates): switch to absolute coords
3607 (cursorDown): adjust
3608 * text3.C (dispatch): adjust
3610 2004-02-16 André Pönitz <poenitz@gmx.net>
3612 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3615 * cursor_slice.[Ch]: remove unneeded acessor function
3617 * lyxtext.h: rename rtl() to isRTL()
3625 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3627 * rowpainter.C (paintSelection): coord fix
3629 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3631 * Spacing.C: compile fix
3633 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3635 * cursor.C (dispatch): restore current_ before returning
3637 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3639 * text2.C (cursorUp, cursorDown): fix coords
3642 2004-02-12 André Pönitz <poenitz@gmx.net>
3647 * text3.C: add LCursor & parameter to most cursor movement functions
3648 remove usage of LyXText::cursorRow() and cursorPar()
3650 * cursor.[Ch]: add textRow() needed members
3653 * BufferView_pimpl.C:
3656 * BufferView_pimpl.C: adjust
3658 2004-02-11 André Pönitz <poenitz@gmx.net>
3662 * BufferView_pimpl.C: shift undo/redo handling
3664 * cursor.[Ch]: fix mathed crash
3667 * lyxtext.h: move selectionAsText to LCursor
3675 * rowpainter.C: fix excessive drawing
3677 2004-02-06 André Pönitz <poenitz@gmx.net>
3680 * BufferView_pimpl.[Ch]:
3681 * text3.C: move some text specific LFUN handling
3683 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3685 * text3.C (checkInsetHit): adjust coords
3686 * text2.C (getColumnNearX): adjust coords
3687 (edit): adjust coords
3688 * text.C (getRowNearY): add two asserts
3690 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3693 * format.C: add using std::distance to compile on gcc 2.95/stlport
3695 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3697 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3699 2004-02-04 André Pönitz <poenitz@gmx.net>
3701 * BufferView.[Ch] (insertInset):
3702 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3707 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3709 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3710 on the default clause of the switch
3711 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3712 wasn't catched by LCursor::dispatch
3714 2004-02-03 André Pönitz <poenitz@gmx.net>
3717 * cursor.[Ch]: some additional asserts
3719 * undo.[Ch]: remove LyXText dependency in interface
3723 * lyxtext.h (firstPar, lastPar): remove dead functions
3728 * paragraph.[Ch]: adjust
3730 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3732 * lyxfind.C (find): fix argument order in call to ::find
3734 2004-02-02 André Pönitz <poenitz@gmx.net>
3736 * cursor.[Ch]: remove direct access to anchor
3738 * text.C: remove findText() hack
3740 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3742 * iterators.[Ch] (lockPath): remove in favour of...
3743 * BufferView.[Ch] (setCursor): this addition
3744 * BufferView.C (putSelectionAt): adjust
3745 * undo.C (performUndoOrRedo): adjust
3746 * lyxfunc.C (dispatch): adjust
3748 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3750 * iterators.C (lockPath): add a missing slice
3751 * undo.C (performUndoOrRedo): remove redundant positioning code
3753 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3755 * vc-backend.C (scanMaster): ";" -> ';'
3757 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3759 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3760 std::binary_function
3762 * lyxtextclass.C (compare_name): rename to...
3763 (LayoutNamesEqual): ...this
3765 * lyxlex_pimpl.C (compare_tags): inherit from
3766 std::binary_function, put back into anon namespace
3768 * lyxfind.C (MatchString): inherig from std::binary_function
3769 (findChange): use empty() istead of !size()
3771 * format.C (FormatNamesEqual): new functor
3778 * converter.C (compare_Converter): rename to...
3779 (ConverterEqual): ...this, and fixup a bit.
3780 (getConverter): use it, and make function const
3781 (getNumber): use it, and make function const
3785 * bufferlist.C: add using boost::bind
3787 * MenuBackend.C (MenuNamesEqual): new functor
3788 (hasMenu): use it, and make function const
3789 (hasSubmenu): use nested bind to get rid of compare_memfun.
3791 2004-01-30 André Pönitz <poenitz@gmx.net>
3793 * BufferView_pimpl.C:
3796 * cursor_slice.[Ch]:
3799 * paragraph_funcs.C:
3800 * paragraph_funcs.h:
3804 * text3.C: move some of the edit(x,y) handling to the insets
3805 some coordinate changes.
3807 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3809 * text.C: add using statements for std::advance and std::distance
3811 * paragraph.C: add using statement for std::distance
3813 * lyxfind.C: add using statement for std::advance
3815 * cursor.C (region): remove std:: from swap
3816 (openable): use nucleus in stead of operator->
3818 * BufferView.C: add using statements for std::distance and std::swap
3820 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * iterators.C: Remove the pimple, move the needed structures to
3823 the header file. Create accessor for the positions stack.
3824 (asPosIterator): remove function
3826 * PosIterator.C (PosIterator): move constructors to top of file
3827 (PosIterator): reimplement the constructor taking a ParIterator in
3829 (setFrom): new function
3830 (operator!=): inline it
3832 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3834 * lyxfind.C (replaceAll): use std::advance
3836 * iterators.h: inherit from std::iterator.
3838 * PosIterator.C (advance, distance): remove
3839 * PosIterator.h: interit from std::iterator.
3841 2004-01-26 André Pönitz <poenitz@gmx.net>
3844 * BufferView_pimpl.[Ch]:
3848 * bufferview_funcs.C:
3858 * output_linuxdoc.C:
3859 * output_plaintext.C:
3861 * paragraph_funcs.[Ch]:
3862 * paragraph_pimpl.[Ch]:
3868 * text3.C: more IU: dumps most of the rest of the mathcursor
3869 implementation into cursor.[Ch]; "globalize" a bit of it.
3871 2004-01-25 Angus Leeming <leeming@lyx.org>
3873 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3875 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3877 * LaTeXFeatures.h: add nice_ and nice() const
3878 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3880 2004-01-20 André Pönitz <poenitz@gmx.net>
3883 * BufferView_pimpl.C:
3885 * bufferview_funcs.C:
3887 * cursor_slice.[Ch]:
3898 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3899 LCursor and mathcursor parts to LCursor and InsetBase.
3901 2004-01-15 André Pönitz <poenitz@gmx.net>
3903 * cursor_slice.[Ch]: add a few covienience functions
3905 * funcrequest.[Ch]: remove BufferView * member
3907 * BufferView_pimpl.C:
3914 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3916 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3918 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3919 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3921 2004-01-13 André Pönitz <poenitz@gmx.net>
3924 * lyxtext.h: hide cursor and selection anchor behind accessor function
3927 * BufferView_pimpl.[Ch]:
3929 * bufferview_funcs.C:
3939 * cursor_slice.[Ch]: some integer type changes for inset unification
3941 * lyxcursor.[hC]: remove, it's CursorSlice now.
3944 * BufferView_pimpl.[Ch]:
3945 * bufferview_funcs.C:
3951 * textcursor.[Ch]: adjust
3953 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3955 * text2.C (undoSpan): add and use
3956 * text.C (breakParagraph): use undoSpan (fix bug 578)
3959 2004-01-08 Angus Leeming <leeming@lyx.org>
3961 * BufferView_pimpl.C (MenuInsertLyXFile):
3962 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3963 * lyxfunc.C (menuNew, open, doImport):
3964 FileFilterList change to the FileDialog open and save functions.
3966 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3968 * ShareContainer.h: make isEqual and isUnique adaptable
3970 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3972 2004-01-07 Angus Leeming <leeming@lyx.org>
3975 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3977 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3979 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3980 functions replacing find, replace and replaceAll.
3982 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3983 LFUN_WORDFIND(FORWARD|BACKWARD).
3985 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3987 * text.C (breakParagraph): remove an outdated #warning
3989 2004-01-07 André Pönitz <poenitz@gmx.net>
3991 * lyxfind.C: somewhat clearer logic
3993 * text.C: prevent crash in cursorX on unitialized row cache
3995 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3997 * lyxcursor.[Ch] (operator>): add
3998 * textcursor.C (selStart, selEnd): use std::min and std::max
4000 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * Chktex.C: include boost/format.hpp
4004 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * InsetList.C: replace functor MathcIt with adaptable functor
4008 (insetIterator): modify accordingly
4010 * BranchList.h: move the BranchNamesEqual functor here from...
4011 * BranchList.C: ... to here
4013 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4015 (add): replace a finding loop with std::find_if.
4017 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4019 * output_docbook.C: moving LatexParam functionality into
4022 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4024 * buffer.C: increment format to 229.
4026 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4029 * lyx_sty.[Ch]: remove minipageindent_def
4035 * text3.C: remove LFUN_INSET_MINIPAGE
4037 2003-12-28 Angus Leeming <leeming@lyx.org>
4039 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4041 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4043 * text2.C (setParagraph): fix off-by-one crash
4045 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4047 * output_docbook.C: header stuff for AGU
4049 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4051 * text2.C (redoCursor): remove
4054 * BufferView_pimpl.C: remove calls to redoCursor and
4055 setCursor(cursor.par(), cursor.pos()) all around
4057 2003-12-15 Angus Leeming <leeming@lyx.org>
4059 * buffer.C: up the format to 228.
4061 2003-12-15 André Pönitz <poenitz@gmx.net>
4063 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4068 * BufferView_pimpl.C:
4077 2003-12-15 Angus Leeming <leeming@lyx.org>
4079 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4080 than getFromGUIName to manipulate the color.
4082 2003-12-14 Angus Leeming <leeming@lyx.org>
4084 * BranchList.[Ch]: minimize the API.
4085 (Branch::getBranch, getColor): now return a 'const &'.
4086 (Branch::setSelected) now returns a bool set to true if the
4087 selection status changes.
4088 (BranchList::clear, size, getColor, setColor, setSelected,
4089 allBranches, allSelected, separator): removed.
4090 (BranchList::find): new functions, returning the Branch with
4092 (BranchList::add, remove): return a bool indicating that
4093 the operation was successful.
4095 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4096 new InsetBranch::isBranchSlected member function.
4098 * LColor.[Ch]: mimimize the API.
4099 (fill): renamed as addColor and made private.
4100 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4101 versions of these functions taking a string arg have been removed.
4103 * bufferparams.C (readToken):
4104 * lyxfunc.C (dispatch):
4105 * lyxrc.C (read): changes due to the altered BranchList and
4108 * factory.C (createInset, readInset): changes due to altered
4111 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4114 * lyxfunc.C: remove insetminipage. "minipage-insert"
4115 now produces a frameless minipage box inset.
4117 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4119 * textcursor.[Ch] (selStart,selEnd): add new methods
4120 remove selection::start, end, use LyXCursor::operator<
4121 * lyxcursor.[Ch] (operator<): add
4122 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4123 * BufferView.[Ch] (unsetXSel): add
4124 * text2.C (clearSelection): use unsetXSel,adjust
4127 * rowpainter.C: adjust
4128 * bufferview_funcs.C (put_selection_at): adjust
4130 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4132 * BufferView_pimpl.C: small coord. correction
4134 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4136 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4137 dragging over the splash screen.
4139 2003-12-11 Angus Leeming <leeming@lyx.org>
4141 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4142 as it is now handled in LyXText::dispatch.
4144 * text3.C (doInsertInset): remove a level of nesting.
4146 2003-12-11 Angus Leeming <leeming@lyx.org>
4148 * factory.C (createInset): changes due to the changed interface to
4149 InsetCommandMailer::string2params.
4151 2003-12-10 Angus Leeming <leeming@lyx.org>
4153 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4154 'dialog-show-new-inset <inset name>'
4156 2003-12-10 Angus Leeming <leeming@lyx.org>
4158 * buffer.C: up the format to 227.
4160 * factory.C: the box inset is now identified simply by 'Box'.
4162 2003-12-10 Angus Leeming <leeming@lyx.org>
4164 * buffer.C: up the format to 226.
4166 * factory.C: the note inset is now identified simply by 'Note'.
4168 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4170 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4171 when a pit is enough. Standarize a couple of loops.
4173 2003-12-05 Angus Leeming <leeming@lyx.org>
4175 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4176 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4177 data to the re-worked "log" dialog.
4179 2003-12-03 André Pönitz <poenitz@gmx.net>
4185 * paragraph_funcs.C:
4187 * text2.C: use Inset::getText instead of Inset::getParagraph
4189 2003-12-03 André Pönitz <poenitz@gmx.net>
4193 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4194 InsetText::read() as LyXText::read()
4196 2003-12-02 Angus Leeming <leeming@lyx.org>
4198 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4199 type. Add a comment in the implementation that the function uses
4200 the stream's bad() function rather than fail() as the std::streams
4203 2003-12-02 André Pönitz <poenitz@gmx.net>
4205 * lyxlex.[Ch]: make interface more similar to std::stream
4207 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4209 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4211 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4213 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4215 * vspace.[Ch]: remove VSpace::NONE
4217 2003-12-01 André Pönitz <poenitz@gmx.net>
4220 * lyxtext.h: move ParagraphList member to LyXText
4221 rename LyXText::ownerParagraphs to LyXText::paragraph
4224 * bufferview_funcs.C:
4234 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4236 * undo.C: fix cursor positioning
4238 2003-12-01 John Levon <levon@movementarian.org>
4240 * BufferView_pimpl.C: fix a crash on exit with
4243 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4245 * BranchList.C: fix setSelected() method.
4247 2003-11-28 André Pönitz <poenitz@gmx.net>
4249 * ParagraphParameters.[Ch]:
4250 * ParameterStruct.h: remove space above/below from Paragraph to
4253 * BufferView_pimpl.C:
4259 * paragraph_funcs.C:
4265 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4267 * factory.C: Syntax change for CharStyles
4269 2003-11-28 André Pönitz <poenitz@gmx.net>
4274 * buffer.[Ch]: move LyXText member
4276 2003-11-28 André Pönitz <poenitz@gmx.net>
4278 * BufferView.[Ch]: make LyXText * text a private member
4280 * BufferView_pimpl.C:
4291 * output_plaintext.C: cleanup
4293 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4296 * lyxtextclass.[Ch]: parametrize SGML document header
4298 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4301 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4304 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4306 * text2.C (setFont): rework using PosIterator (no more recursive)
4307 (setCharFont): no more needed
4308 (setLayout): no more selection cursors fiddling (done by redoCursor)
4309 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4310 destroy remaining ones)
4312 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4314 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4316 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4319 * text3.C: adjust + re-allow multi par depth changes
4320 * textcursor.C: simplify a bit
4322 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4328 * src/output_docbook.C:
4329 * src/output_latex.C:
4334 * src/text2.C: Introducing a number of tags parametrizing various
4335 XML formats that we may want to support
4337 2003-11-25 André Pönitz <poenitz@gmx.net>
4339 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4341 * lyxtext.h (leftMargin/rightMargin): simplify interface
4348 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4350 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4351 master file to any child files. Fixes bug 546.
4353 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4355 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4357 2003-11-24 André Pönitz <poenitz@gmx.net>
4359 * rowpainter.C: simplification
4361 * text2.C (updateCounters): remove call to redoParagraph on
4362 changed labels as this is far too expensive.
4364 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4366 * converter.C (convert): fix a crash: this function gets
4367 called with buffer == 0 from importer code.
4369 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * text3.C (cursorPrevious): make sure that we do not compare
4372 iterators form different containers.
4375 * rowpainter.C (paintSelection): make sure that we do not compare
4376 iterators from different containers.
4378 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4379 iterators from different ParagraphList containers.
4382 * text2.C (LyXText): change order of initialization slightly
4383 (operator=): new function. copy all variables except cache_par_
4384 (moveUp): make sure that we do not compare iterators from
4385 different ParagraphList constainers.
4388 * text.C (firstPar): new function
4389 (lastPar): new function
4390 (endPar): new function
4392 * lyxtext.h: move things around and group public functions, public
4393 variables, private functions, private variables
4395 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4397 * factory.C: change call to InsetERT constructor to avoid
4398 additional invocation of method status
4399 * text2.C (toggleInset): remove redundant update() call
4400 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4401 instead of a Bufferview pointer
4403 2003-11-21 André Pönitz <poenitz@gmx.net>
4405 * rowpainter.C: simplification
4407 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4409 * text3.C (dispatch): make possible to extend a word/row selection
4412 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4414 * lyxtext.h: x0_,y0_ -> xo_,yo_
4415 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4416 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4417 * rowpainter.C (paintRows): paint full paragraphs
4419 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4421 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4424 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4426 * lyxtext.h: add x0_, y0_
4427 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4428 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4430 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4432 * text2.C (setCursorIntern): move the x_target update here *
4433 * text3.C: change some bv() to true/false in calls to
4434 cursorUp/Down/Right/Left
4435 * cursor.C: use helper function.
4437 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4439 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4440 * paragraph_funcs.[Ch]: correct comment
4441 * rowpainter.C: do not paint selections away from bv->cursor()
4442 Fix a long standing selection painting bug.
4443 * text3.C: generalize mouse-selection code to LyXTexts other that
4445 * textcursor.C: do not use y coords if we can use par offsets
4447 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4449 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4450 cursor position after e.g. inset insert)
4452 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4454 * lyxfind.C (replace): adjust to locking removal + some
4457 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4459 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4462 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4465 * output_docbook.C: XML sanitation: new layout
4466 parameters InnerTag and CommandDepth
4468 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4470 * BufferView_pimpl.C:
4472 * text3.C: Fix the insertion and modification of button-style
4475 2003-11-13 André Pönitz <poenitz@gmx.net>
4477 * InsetList.[Ch]: remove deleteLyXText
4479 * paragraph.[Ch]: cache beginOfBody position
4484 * text3.C: remove superfluous update() calls
4488 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4490 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4491 * BufferView.C (fitLockedInsetCursor): remove
4492 * cursor.[Ch] (getDim): add
4493 * text.C (getRowNearY): add faster version
4494 * text3.C: remove some update calls
4496 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4508 * text3.C: The Character Style /XML short element patch.
4510 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4513 * factory.C: Small step to solving 'unable to insert some insets'
4516 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4518 * cursor.[Ch] (updatePos): new function for updating the y
4519 position of the tip inset
4520 * bufferview_funcs.C (put_selection_at):
4521 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4523 2003-11-11 André Pönitz <poenitz@gmx.net>
4525 * text.C: remove big comment on invalid Paragraph pointers as it is
4528 2003-11-11 André Pönitz <poenitz@gmx.net>
4530 * text_funcs.[Ch]: merge with ...
4538 * Makefile.am: remove text_funcs.[Ch]
4540 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4542 * cursor.C (getPos): return absolute cached y coord
4544 * BufferView_pimpl.C (fitCursor): new simplistic code
4545 (workAreaDispatch): add a fitCursor call
4547 2003-11-10 André Pönitz <poenitz@gmx.net>
4550 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4552 2003-11-10 André Pönitz <poenitz@gmx.net>
4554 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4555 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4556 indicate that the cursor needs to leave an inset
4558 * lyxtext.h: remove inset locking
4560 * cursor.[Ch]: re-implement functionality provided by inset locking
4563 * BufferView_pimpl.[Ch]:
4565 * bufferview_funcs.[Ch]:
4577 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4579 * PosIterator.[Ch]: replace the stack with a vector, add inset
4581 * iterators.[C]: adjust
4583 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4585 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4587 * paragraph_funcs.C (readParToken): put the correct id in the
4588 error item, not the id of the top paragraph
4590 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4592 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4593 * bufferview_funcs.C (put_selection_at): use the above
4595 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4597 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4599 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4601 * output_linuxdoc.h:
4602 * output_plaintext.h:
4604 * output_docbook.h: add #include statements
4606 2003-11-05 José Matos <jamatos@lyx.org>
4608 * output_docbook.[Ch]:
4609 * output_latex.[Ch]:
4610 * output_linuxdoc.[Ch]:
4611 * output_plaintext.[Ch]: New files for output formats.
4612 * output.[Ch]: New file for helper functions.
4615 * paragraph_funcs.[Ch]: output functions moved to new files.
4617 * outputparams.h: rename of latexrunparams.h
4625 * paragraph_funcs.[Ch]:
4626 * paragraph_pimpl.[Ch]:
4627 * tabular.[Ch]: rename ascii to plaintext
4628 and LatexRunParams to OutputParams.
4630 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4632 * iterators.[Ch] (text): require bv argument
4633 * undo.C (recordUndo):
4634 * lyxfunc.C (dispatch):
4635 * bufferview_funcs.C (put_selection_at): adjust
4637 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4639 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4641 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4643 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4646 2003-11-04 André Pönitz <poenitz@gmx.net>
4648 * cursor.[Ch]: restructure
4651 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4653 * iterators.[Ch] (asCursor): remove
4655 * lfuns.h: remove LFUN_INSET_EDIT
4661 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4663 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4665 * lyxfind.[Ch]: complete overhaul
4666 * BufferView_pimpl.C:
4668 * paragraph.[Ch] (insert): add
4670 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4674 * text.C: remove dead spellcheck code
4676 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * dispatchresult.h: add a val setter
4680 * cursor.C (dispatch): use a tempvar for data_[i]
4682 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4684 * PosIterator.[Ch]: compile fix
4686 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4688 * text.C (cursorPar): deactivate the cursor cache
4690 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4692 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4694 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4696 * text3.C (dispatch): adjust for new DisptchResult semantics.
4698 * lyxfunc.C (dispatch): handle update when return from
4699 Cursor::dispatch, adjust for new DispatchResult semantics.
4701 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4702 DispatchResult(true) mean to not update. Add class functions for
4703 setting dispatched and update, as well as reading.
4705 * cursor.C (dispatch): don't handle update here
4707 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4709 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4710 * trans_mgr.C: adjust
4712 * paragraph_funcs.C (readParToken): exception safety
4714 * lyxvc.h: store the vcs pointer in a scoped_ptr
4717 * lyxsocket.C (serverCallback): exception safety
4719 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4721 * ispell.C (clone): make it return a auto_ptr
4723 * factory.C (createInset): exception safety
4724 (readInset): exception safety
4726 * bufferlist.C (newBuffer): exception safety
4728 * Thesaurus.C (Thesaurus): use initialization for aik_
4730 * MenuBackend.C (expandToc): exception safety.
4732 2003-11-03 André Pönitz <poenitz@gmx.net>
4736 * bufferview_funcs.C: remove getInsetFromId()
4739 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4745 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4747 * PosIterator.C (distance, advance): new
4748 * bufferview_funcs.[Ch] (put_selection_at): new
4749 * iterators.[Ch] (lockPath): new
4751 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4753 * iterators.[Ch] (asPosIterator): added
4754 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4755 * PosIterator.[Ch]: added
4757 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4761 * cursor.C (dispatch):
4762 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4764 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4765 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4766 contructor, add a class function dispatched. Remove operator>=
4768 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * debug.C: only use the default constructor for debugstream
4773 * main.C (main): include debug.h and setup the lyxerr streambuf
4776 2003-10-31 José Matos <jamatos@lyx.org>
4778 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4780 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4781 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4782 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4783 * paragraph_pimpl.C (simpleTeXSpecialC):
4784 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4785 add LatexRunParams argument.
4787 * exporter.C (Export): change call accordingly.
4789 * latexrunparams.h: add new member to take care of the other backends.
4790 2003-10-30 José Matos <jamatos@lyx.org>
4792 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4793 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4794 factorise code for paragraph output.
4796 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4799 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * text3.C (dispatch):
4802 * lyxfunc.C (dispatch):
4803 * cursor.C (dispatch):
4804 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4806 * dispatchresult.h: make the dispatch_result_t ctor explicit
4808 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4811 * buffer.C: small refactoring of docbook stuff
4813 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4818 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4820 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4821 operator dispatch_result_t, and operators for == != and >=
4823 * cursor.C (dispatch): adjust for operator dispatch_result_t
4824 removal. comment out call to update
4826 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4828 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4839 * dispatchresult.h: new file, DispatchResult broken out of
4842 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4844 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4846 * text.C (rowBreakPoint): put a hack inside #if 0
4848 2003-10-28 André Pönitz <poenitz@gmx.net>
4852 * paragraph_funcs.C:
4855 * text2.C: general cleanup (lots of small stuff)
4857 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4859 * text2.C (cursorEnd): simple fix to the "end key goes to one
4860 before the end on last row" bug
4862 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4864 * text.C (backspace): fix the "zombie characters"
4866 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4868 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4870 2003-10-27 André Pönitz <poenitz@gmx.net>
4872 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4874 * factory.C: handle new InsetPagebreak, InsetLine
4876 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4877 and move handling into new InsetPagebreak, InsetLine
4879 * BufferView_pimpl.C:
4881 * ParagraphParameters.C:
4882 * ParameterStruct.h:
4887 * paragraph_funcs.C:
4888 * paragraph_pimpl.C:
4894 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4897 * lyxrow_funcs.[Ch]:
4903 * text3.C: remove lastPos uses in favour of Row::endpos
4905 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4907 * undo.C (performUndoOrRedo): fix two crashes by setting a
4908 cursor by hand and reordering some calls. Use bv->lockInset instead
4909 of inset->edit because the latter loses cursor information
4911 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4913 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4915 (rowBreakPoint): fix width. change point to point + 1.
4916 Add a missing check.
4918 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4921 * lyxfunc.C: fix (at least partly) the problems
4922 with the Nav menu and headers inside branch insets
4925 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4927 * paragraph.C (getChar): add strong asserts
4929 * lyxrow_funcs.C (lastPos): remove hideous hack
4931 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4932 (fill): adjust to that (avoid an infinite loop)
4934 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4936 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4938 2003-10-23 André Pönitz <poenitz@gmx.net>
4940 * RowList_fwd.h: change list<> to vector<> to gain speed
4941 after suggestion from Alfredo
4943 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4945 * lyxtext.h: move the bidi stuff from here...
4948 * Bidi.[Ch]: ... to here
4950 2003-10-23 André Pönitz <poenitz@gmx.net>
4953 * text.C (isLastRow, isFirstRow): new functions
4955 * paragraph.h: new width cache member
4957 * rowpainter.C: replace RowList::iterator with Row & where possible
4959 * lyxfunc.C: replace several view()->text with a single call
4961 * toc.C: fix 'unused' warning
4963 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4966 when woring with stream::pos_type
4967 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4969 2003-10-22 André Pönitz <poenitz@gmx.net>
4972 * text.C: use Row & instead of RowList::iterator
4974 * lyxrow.h: rename end() to endpos()
4980 2003-10-22 Angus Leeming <leeming@lyx.org>
4982 * buffer.[Ch] (fully_loaded): new member function, returning true
4983 only when the file has been loaded fully.
4984 Used to prevent the premature generation of previews and by the
4985 citation inset to prevent computation of the natbib-style label.
4987 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4988 templates are all set up.
4990 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4992 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4994 * text.C: fixed an "oops" in the "is a bit silly"
4997 2003-10-21 André Pönitz <poenitz@gmx.net>
4999 * FuncStatus.[Ch]: small stuff, whitespace
5001 * lyxfont.[Ch]: operator<<() for debug reasons
5005 * lyxtext.h: whitespace, spelling
5007 * paragraph.C: naming of variables
5010 * text2.C: small stuff
5013 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5015 * text.C: (1) finish off the inset display() work;
5016 (2) fix the "is a bit silly" bug (accessing char
5019 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5021 * text.C: re-introduce display() for insets, fixing the
5022 various bugs (stretch of line above, math inset
5025 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5027 * text.C (rightMargin): remove spurious semicolon
5029 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5032 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5034 * text3.C: fix one crash due to wrong cursor def
5036 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * vc-backend.C (scanMaster): make the regex static
5040 * LaTeX.C (scanAuxFile): make the regexs static
5042 * text3.C (doInsertInset, dispatch, dispatch):
5043 * text2.C (cursorUp, cursorDown):
5044 * text.C (selectNextWordToSpellcheck):
5045 * BufferView_pimpl.C (dispatch):
5046 * lyxfunc.C (dispatch): localDispatch -> dispatch
5048 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5050 * lyxsocket.C: include <cerrno>
5052 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5054 * lyxfunc.C (dispatch): remove textcache stuff
5056 * bufferlist.C (release): remove textcache stuff
5059 * TextCache.C: delete file
5060 * TextCache.h: delete file
5062 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5064 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5065 delete of the bv_->text.
5066 (resizeCurrentBuffer): remove texcache stuff
5067 (workAreaResize): ditto
5069 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5071 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5074 2003-10-16 André Pönitz <poenitz@gmx.net>
5081 * text3.C: speed up by storing y positions per paragraph plus per-row
5082 offset instead of having a 'full' y position in the row.
5084 2003-10-15 André Pönitz <poenitz@gmx.net>
5088 * undo.[Ch]: make undo aware of inner insets
5090 2003-10-14 Angus Leeming <leeming@lyx.org>
5092 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5093 static member functions LyX::ref() and LyX::cref.
5094 (lastfiles): new accessor functions for the new lastfiles_ member var.
5095 (addLyXView, views_): add a new LyXView to the list of views_.
5096 (updateInset): loop over all LyXViews to call their own updateInset
5097 member function, returning a pointer to the Buffer owning the inset.
5099 * BufferView_pimpl.C (loadLyXFile):
5100 * MenuBackend.C (expandLastfiles):
5101 * bufferlist.C (MenuWrite, QuitLyX):
5102 lastfiles is no longer a global variable.
5103 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5105 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5106 static function. Access through LyX::cref().emergencyCleanup().
5108 2003-10-14 André Pönitz <poenitz@gmx.net>
5110 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5112 * undo.[Ch]: restoring part of 'undo in insets'
5115 * undo_funcs.[Ch]: merge with undo.[Ch]
5117 * tabular.C: small cleansing stuff
5119 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5121 * paragraph_funcs.C (readParToken): report unknown insets as error
5122 boxes. Use the outer paragraph as location (also for unknown
5125 * factory.C (readInset): do not abort on reading an unknown inset.
5126 Eat it and return 0.
5128 2003-10-13 Angus Leeming <leeming@lyx.org>
5130 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5132 * lyxrc.C: displayTranslator is now a function,
5133 declared in GraphicsTypes.h.
5135 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5137 * format.C: new placeholder $$a to pass the socket address.
5139 * bufferlist.[Ch]: new function getBufferFromTmp.
5141 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5142 files in the temporary dir.
5144 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5146 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5148 * Makefile.am: add lyxsocket.[Ch].
5150 * lyx_main.C (error_handler): handle SIGPIPE.
5152 2003-10-13 André Pönitz <poenitz@gmx.net>
5154 * BufferView_pimpl.C:
5159 * undo_funcs.[Ch]: use paroffset_type instead of
5160 ParagraphList::iterators to prevent multiple conversion
5161 (and get a more robust interface)
5163 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5167 * text3.C (dispatch): ditto
5169 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5172 move the onlyfile, use onlyfile instead of foundfile in a couple
5175 * DepTable.C (update): flush the error stream a bit more
5177 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5179 * lyxserver.C (callback): adjust
5181 * lyxfunc.C (getStatus): add a missing brace in commented code
5182 (ensureBufferClean): reindent
5183 (dispatch): delete version taking a string
5185 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5187 * LaTeX.C (deplog): move found file handlig from here...
5188 (handleFoundFile): .. to new function here.
5189 (deplog): make sure to discover several files mentioned on the
5192 2003-10-10 André Pönitz <poenitz@gmx.net>
5199 * text3.C: fix some of the tabular crashes
5201 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5203 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5205 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5207 2003-10-09 André Pönitz <poenitz@gmx.net>
5209 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5212 * BufferView_pimpl.C:
5213 * bufferview_funcs.C:
5224 * undo_funcs.C: adjust
5226 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5228 * text2.C (incrementItemDepth): new function, use a backtracking
5229 algorithm to discover the correct item depth.
5230 (resetEnumCounterIfNeeded): new function, use a backtracking
5231 algorithm to discover if counter reset is needed.
5232 (setCounter): use them. Simplify a bit. Add different labels for
5233 different item depths for itemize.
5235 * paragraph.C (Paragraph): remove initialization of enumdepth
5238 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5239 enumerate and itemize. Change the type of itemdepth to signed char.
5241 2003-10-08 André Pönitz <poenitz@gmx.net>
5243 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5248 * tabular.[Ch]: fix crash after 'row-insert'
5250 2003-10-08 Angus Leeming <leeming@lyx.org>
5252 Fix doxygen warnings.
5254 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5255 Remove CutAndPaste:: prefix from header file declaration.
5257 * LColor.h (fill): remove LColor:: prefix from declaration.
5259 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5260 use lyx::depth_type rather than Paragraph::depth_type so that
5261 header file and .C file match.
5263 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5265 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5266 * aspell.C: \file aspell_local.C -> \file aspell.C
5267 * gettext.C: \file gettext.C -> \file src/gettext.C
5268 * gettext.h: \file gettext.h -> \file src/gettext.h
5269 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5270 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5271 * text.C: \file text.C -> \file src/text.C
5273 * toc.C: move comment so that doxygen is not confused.
5275 2003-10-07 Angus Leeming <leeming@lyx.org>
5277 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5279 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5282 * aspell_local.h: add forgotten std::string's.
5284 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5291 * text3.C: The Box patch. Fancybox support, minipage, parbox
5293 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5299 * ParagraphParameters.h:
5309 * lyxtextclasslist.h:
5312 * paragraph_pimpl.C:
5313 * textcursor.h: add <string> and other small fixes to make Lars'
5314 std::string patch compile with STLport.
5316 2003-10-06 Angus Leeming <leeming@lyx.org>
5318 * LColor.h: Add missing #include <string>.
5320 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * All most all file in all subdirs: Make <string> be the prefered
5323 way of getting to std::string, add using declarations.
5325 2003-10-06 André Pönitz <poenitz@gmx.net>
5327 * metricsinfo.C: initialize LyXFont before changing attribute.
5328 (fixes the 'math in \emph is upright' bug)
5330 2003-10-06 André Pönitz <poenitz@gmx.net>
5332 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5334 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5337 * paragraph_pimpl.C: Small fixes to build using STLport
5339 2003-10-02 André Pönitz <poenitz@gmx.net>
5342 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5344 2003-10-01 André Pönitz <poenitz@gmx.net>
5346 * factory.C: assert early
5348 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5350 * lyx_main.C: remove the global debug object
5352 * debug.h: adjust for new debugstream
5354 * debug.C: adjust for new debugstream and keep the global debug
5357 2003-09-22 Angus Leeming <leeming@lyx.org>
5359 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5360 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5361 an incomplete class LyXFont.
5363 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5365 * factory.C: bug fix in branches
5367 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5369 * lyxfunc.C (processKeySym): adjust
5371 (dispatch): change arg name from ev to func, adjust
5372 (sendDispatchMessage): ditto
5374 * lyx_main.C (defaultKeyBindings): adjust keybindings
5375 (deadKeyBindings): ditto
5377 * kbsequence.C (addkey): return a FuncRequest
5379 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5381 * kbmap.C (bind): take a FuncRequest as arg, adjust
5384 (defkey): change to take a FuncRequest as arg, adjust
5385 (findbinding): take a FuncRequest as arg, adjust.
5387 * funcrequest.h (operator=): added
5389 * funcrequest.C (FuncRequest): default kb_action changed from
5390 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5392 * buffer.C (dispatch): simplify
5393 (dispatch): adjust to take a FuncRequest as arg, adjust
5395 * boost.C (assertion_failed): change assertion message slightly
5397 * ToolbarBackend.C (read): simplify
5399 * MenuBackend.C (binding): adjust call to findbinding, add a
5400 message if no binding is found.
5402 (expandToc): correct by adding a empty FuncRequest
5404 * LyXAction.C: include <boost/assert.hpp>
5405 (isPseudoAction): delete function
5406 (LookupFunc): change name to...
5407 (lookupFunc): this. change return type to FuncRequest.
5408 (getActionName): take kb_action as arg, simplify
5409 (funcHasFlag): add an assert, simplify.
5411 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * toc.C (action): return a FuncRequest, simplify
5415 * lyxfunc.C (processKeySym): adjust
5416 (getStatus): delete version that takes an int.
5418 (dispatch): delete version that takes action as int
5420 (sendDispatchMessage): simplify and adjust
5422 * funcrequest.C (getArg): take unsigned int as arg
5424 * ToolbarBackend.C (read): adjust
5425 (add): delete version that takes func as a string.
5426 (getIton): take a FuncRequest as arg
5428 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5431 * MenuBackend.C (MenuItem): add a new construct that only takes a
5432 Kind, simplify the constructor use for submenus.
5434 (expandLastfiles): adjust
5435 (expandDocuments): adjust
5436 (expandFormats): adjust
5437 (expandFloatListInsert): adjust
5438 (expandFloatInsert): adjust
5439 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5441 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5442 Remove class variables lyx_pseudo_map and lyx_arg_map
5444 * LyXAction.C (searchActionArg): delete function
5445 (getPseudoAction): delete function
5446 (retrieveActionArg): delete function
5447 (LookupFunc): make it return kb_action, simplify.
5448 (getActionName): simplify
5450 * factory.C (createInset): fix new bug
5452 2003-09-19 Angus Leeming <leeming@lyx.org>
5454 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5455 masterFilename_ parameter in the include inset.
5457 * factory.C (createInset): changes due to the changes to InsetInclude.
5459 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5461 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5463 2003-09-18 Angus Leeming <leeming@lyx.org>
5466 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5467 Inset::fillWithBibKeys.
5468 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5470 2003-09-18 Angus Leeming <leeming@lyx.org>
5472 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5474 (ctor): pass and store a 'Buffer const &'
5475 (buffer): new member function.
5477 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5478 '*this' to the LaTeXFeatures ctor.
5480 2003-09-18 Angus Leeming <leeming@lyx.org>
5486 * text.C: rename EnumLColor as LColor_color.
5488 2003-09-18 Angus Leeming <leeming@lyx.org>
5490 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5491 remove #include "insets/insetbase.h" from cursor.h.
5493 2003-09-18 Angus Leeming <leeming@lyx.org>
5495 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5496 InsetOld_code to remove #include "inset.h".
5498 * iterators.C: add #include "insets/inset.h"
5500 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5502 * BufferView.C: remove more locking stuff that apparently doesn't
5503 do anything sensible.
5505 2003-09-16 André Pönitz <poenitz@gmx.net>
5508 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5511 2003-09-16 Angus Leeming <leeming@lyx.org>
5513 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5515 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5518 * paragraph.h: remove #include "lyxfont.h". Forward declare
5521 2003-09-16 Angus Leeming <leeming@lyx.org>
5523 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5524 of support/textutils.h.
5525 (isWord): move the contents of support/textutils.h's IsWordChar here.
5531 * text2.C: add #include "paragraph.h".
5534 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5536 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5542 * LaTeX.C: use namespace alias for lyx::support::os
5544 2003-09-16 Angus Leeming <leeming@lyx.org>
5547 * bufferview_funcs.C:
5550 * paragraph_pimpl.C:
5552 * text.C: add #include "LColor.h".
5554 2003-09-16 Angus Leeming <leeming@lyx.org>
5556 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5557 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5559 Store the FontBits::color variable as an int rather than as an
5560 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5563 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5564 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5565 string calls together.
5567 * lyxrc.C: add #include "LColor.h".
5569 2003-09-15 Angus Leeming <leeming@lyx.org>
5571 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5574 2003-09-15 Angus Leeming <leeming@lyx.org>
5576 * LColor.h: add an EnumLColor wrapper for LColor::color.
5578 * lyxfont.[Ch] (color, setColor, realColor):
5579 * lyxtext.h, text.C (backgroundColor):
5580 pass EnumLColor args to/from the functions, rather than LColor::color
5584 * lyxtext.h: forward declare EnumLColor.
5586 * lyx_main.C: add #include "LColor.h".
5588 2003-09-15 Angus Leeming <leeming@lyx.org>
5590 * .cvsignore: add lyx-gtk.
5592 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5597 * ParagraphParameters.C
5601 * bufferview_funcs.C
5611 * vc-backend.C: remove usage of STRCONV
5613 2003-09-15 Angus Leeming <leeming@lyx.org>
5615 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5616 explicitly define the color passed to the painter.
5618 2003-09-15 Angus Leeming <leeming@lyx.org>
5620 * bufferparams.C (BufferParams): reorder member initializers to avoid
5623 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5625 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5626 * text.C (updateRowPositions): remove an unusual nop
5628 2003-09-12 André Pönitz <poenitz@gmx.net>
5630 * BufferView_pimpl.C:
5639 * Counters.[Ch]: finish the 'automatic counters' job
5641 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5643 * aspell.C: include <boost/assert.cpp> (compile fix)
5645 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5647 * boost.C (assertion_failed): use lyx::support::abort instead of
5650 2003-09-10 Angus Leeming <leeming@lyx.org>
5652 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5653 with their _fwd progeny.
5655 2003-09-09 Angus Leeming <leeming@lyx.org>
5657 134 files throughtout the source tree: replace 'using namespace abc;'
5658 directives with the appropriate 'using abc::xyz;' declarations.
5660 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5662 * boost.C (emergencyCleanup): moved here from LAssert.c
5663 (assertion_failed): new function, called by BOOST_ASSERT
5665 * several files: change Assert to BOOST_ASSERT
5667 2003-09-09 Angus Leeming <leeming@lyx.org>
5669 * buffer.[Ch]: Add an Impl class and move Buffer's member
5670 variables into it. As a result move several header files out of
5673 Add header files to lots of .C files all over the tree as a result.
5675 2003-09-09 Angus Leeming <leeming@lyx.org>
5677 * buffer.[Ch]: make Buffer's member variables private. Add
5680 Lots of changes all over the tree as a result.
5682 2003-09-08 Angus Leeming <leeming@lyx.org>
5684 * graph.C: #include <config.h>.
5686 2003-09-08 Angus Leeming <leeming@lyx.org>
5690 * BufferView_pimpl.C:
5719 * toc.C: remove redundant using directives.
5721 2003-09-07 Angus Leeming <leeming@lyx.org>
5723 * LaTeXFeatures.h: remove #include "support/types.h".
5724 * ToolbarBackend.h: remove #include <algorithm>.
5725 * changes.h: remove #include <ctime>.
5726 * debug.h: remove #include <iosfwd>.
5727 * graph.h: remove #include "support/std_string.h".
5728 * lyx_main.h: remove #include <csignal>.
5729 * lyxlex_pimpl.h: remove #include <fstream>.
5730 * sgml.h: remove #include <algorithm>, <utility>.
5731 * toc.h: remove #include "support/std_ostream.h".
5732 Add #include <iosfwd>.
5734 2003-09-07 Angus Leeming <leeming@lyx.org>
5736 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5738 * converter.h: forward declare LatexRunParams.
5739 * encoding.h: remove #include "lyxrc.h".
5740 * lyxtext.h: remove #include "LColor.h".
5741 * lyxtextclass.h: remove #include "support/types.h".
5742 * trans.h: remove #include "tex-accent.h".
5743 * trans_mgr.h: remove #include "tex-accent.h".
5744 * insets/inset.h: remove #include "support/types.h", <vector>.
5745 * insets/insetcollapsable.h: remove #include "LColor.h".
5746 * insets/insetinclude.h: remove #include "dimension.h".
5747 * insets/insetlatexaccent.h: remove #include "dimension.h".
5748 * insets/insetoptarg.h:: remove #include "insettext.h".
5749 * insets/insettext.h: remove #include "dimension.h",
5750 <boost/shared_ptr.hpp>
5752 * insets/renderers.h: add #include "dimension.h".
5753 * insets/updatableinset.h: add #include "support/types.h".
5755 * many .C files: Associated changes.
5757 2003-09-06 Angus Leeming <leeming@lyx.org>
5759 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5760 one, inside testInvariant.
5762 * PrinterParams.C: new file.
5763 * PrinterParams.[Ch]: move the function bodies out of line.
5765 2003-09-06 Angus Leeming <leeming@lyx.org>
5767 * ParagraphParameters.h: forward declare ParameterStruct rather than
5768 including its header file.
5769 (depth): moved out-of-line.
5771 2003-09-06 Angus Leeming <leeming@lyx.org>
5773 * BufferView_pimpl.h:
5776 * lyxfunc.h: forward declare LyXKeySym rather than
5777 #include "frontends/LyXKeySym.h".
5779 * BufferView_pimpl.C:
5782 * lyxfunc.C: associated changes.
5784 2003-09-06 Angus Leeming <leeming@lyx.org>
5786 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5787 As a result, can remove the #include "insets/inset.h" from BufferView.h
5789 2003-09-06 Angus Leeming <leeming@lyx.org>
5791 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5792 As a result, can remove the #include "insets/inset.h" from BufferView.h
5794 2003-09-06 Angus Leeming <leeming@lyx.org>
5800 * bufferview_funcs.C:
5801 * BufferView_pimpl.C:
5806 * ParagraphParameters.C:
5811 * frontends/controllers/ControlDocument.C:
5812 * insets/insetcaption.C: rearrange the #includes into some sort of
5815 * buffer.h: remove #includes ErrorList.h, undo.h
5817 2003-09-06 Angus Leeming <leeming@lyx.org>
5819 * support/types.h: add a 'depth_type' typedef, used to store the
5820 nesting depth of a paragraph.
5823 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5824 defining explicitly.
5827 * paragraph_funcs.h:
5828 * ParagraphParameters.h:
5829 * sgml.h: use lyx::depth_type rather than Paragraph or
5830 ParameterStruct's depth_type.
5833 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5836 * BufferView_pimpl.C:
5838 * ParagraphParameters.C:
5841 * bufferview_funcs.C:
5848 * frontends/LyXView.C:
5849 * frontends/controllers/ControlDocument.C:
5850 * frontends/controllers/ControlErrorList.C:
5851 * insets/insetbibitem.C:
5852 * insets/insetbranch.C:
5853 * insets/insetcaption.C:
5854 * insets/insetcollapsable.C:
5855 * insets/insetenv.C:
5856 * insets/insetert.C:
5857 * insets/insetfloat.C:
5858 * insets/insetfoot.C:
5859 * insets/insetfootlike.C:
5860 * insets/insetnewline.C:
5861 * insets/insetquotes.C:
5862 * insets/insettabular.C:
5863 * insets/insettext.C:
5864 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5866 * frontends/controllers/ControlChanges.C: #include "changes.h".
5868 2003-09-06 Angus Leeming <leeming@lyx.org>
5870 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5871 than #including paragraph.h.
5874 * RowList.h: deleted. Superfluous.
5884 * insets/insettext.h: use ParagraphList_fwd.h rather than
5887 * paragraph.h: don't forward declare ParagraphList.
5890 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5891 rather than ParagraphList.h. paragraph.h is still needed for the
5892 Paragraph::depth_type parameters.
5894 * textcursor.h: enable it to compile stand-alone in light of the
5897 * bufferview_funcs.C:
5909 * frontends/controllers/ControlParagraph.C:
5910 * frontends/controllers/ControlTabular.C:
5911 * insets/insetmarginal.C:
5912 * insets/insetminipage.C:
5913 * insets/insetnote.C:
5914 * insets/insetoptarg.C: add header files needed to compile again.
5916 2003-09-06 Angus Leeming <leeming@lyx.org>
5918 * RowList_fwd.h: new file, forward-declaring Row rather than
5919 #including lyxrow.h.
5924 * insets/insettext.h: use it instead of RowList.h
5926 * bufferview_funcs.C:
5933 * text3.C: #include "RowList.h".
5935 2003-09-05 Angus Leeming <leeming@lyx.org>
5937 * factory.C (createInset):
5938 * vspace.C (c-tor): replace sscanf call with an istringstream.
5939 * ispell.C: re-add missing HP/UX headers.
5940 * lyxserver.C: re-add missing os2 headers.
5942 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5951 * text3.C: re-add missing system headers, needed for 2.95.2.
5953 2003-09-05 Angus Leeming <leeming@lyx.org>
5955 Changes most place everywhere due to the removal of using directives
5956 from support/std_sstream.h.
5958 2003-09-05 Angus Leeming <leeming@lyx.org>
5960 Replace LString.h with support/std_string.h,
5961 Lsstream.h with support/std_sstream.h,
5962 support/LIstream.h with support/std_istream.h,
5963 support/LOstream.h with support/std_ostream.h.
5965 Changes resulting throughout the tree.
5967 2003-09-05 Angus Leeming <leeming@lyx.org>
5969 * sgml.h: ensure that the header file can be compiled stand-alone.
5970 * *.C: strip out redundant #includes. (320 in total.)
5972 2003-09-04 Angus Leeming <leeming@lyx.org>
5974 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5975 here (from getPackages).
5977 * debug.[Ch]: add a new EXTERNAL tag.
5979 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5981 * text2.C (cursorEnd): simplify
5983 (getColumnNearX): adjust
5985 * text.C (computeBidiTables): adjust
5988 * rowpainter.C (paintChars): adjust
5989 (paintSelection): adjust
5990 (paintChangeBar): adjust
5993 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5995 (numberOfSeparators): adjust
5997 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6003 * text3.C: Restricts the mouse click functionality
6004 of insets like bibtex, include, toc and floatlist to the visible
6005 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6006 up the dialogs. Cursor has to be in front of the inset (i.e.
6007 start of row) for this to function.
6009 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6011 * bufferview_funcs.C (currentState): output row information
6013 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6015 * bufferview_funcs.C (currentState): output paragraph position
6017 2003-09-04 Angus Leeming <leeming@lyx.org>
6019 * FloatList.h: move out #include "Floating.h".
6020 * LaTeX.h: move out #include "DepTable.h".
6021 * LyXAction.h: move out #include "funcrequest.h".
6022 * buffer.h: move out #include "author.h", "iterators.h".
6023 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6024 * lyx_main.h: move out #include "errorlist.h".
6025 * lyxfunc.h: move out #include "FuncStatus.h".
6026 * lyxtext: move out #include "lyxcursor.h".
6027 * paragraph_pimpl.h: move out #include "counters.h".
6029 2003-09-03 Angus Leeming <leeming@lyx.org>
6031 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6032 preamble_snippets list, enabling us to add snippets to the preamble
6033 only if the snippet was not there already.
6035 2003-09-04 Angus Leeming <leeming@lyx.org>
6037 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6039 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6044 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6046 * BranchList.C: point fix, earlier forgotten
6048 2003-09-02 Angus Leeming <leeming@lyx.org>
6050 * box.C (contains): renamed from 'contained' after a fantastic
6053 2003-09-02 John Levon <levon@movementarian.org>
6059 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6061 2003-09-02 John Levon <levon@movementarian.org>
6063 * text2.C: simplification of cursorEnd(), including partial
6066 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6068 * buffer.C (readFile): add a space
6070 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6072 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6074 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6076 * buffer.C (readFile): new function, take a filename and a
6077 ParagraphList::iterator
6079 (readFile): adjust, make it private. don't use setStream, make
6080 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6081 always contain the filename.
6083 * BufferView.C (insertLyXFile): simplify and make it work for
6086 2003-08-30 John Levon <levon@movementarian.org>
6088 * Makefile.am: fix dist (from Kayvan)
6090 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6092 * most files: change to use const Buffer refs
6094 2003-08-27 André Pönitz <poenitz@gmx.net>
6096 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6097 on top of ownerPar().
6099 2003-08-27 John Levon <levon@movementarian.org>
6101 * funcrequest.C: properly initialise POD members
6103 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6105 * lyxtext.h (top_y): move top_y from here
6110 * BufferView_pimpl.[Ch]: to here
6111 * frontends/screen.C:
6112 * insets/insettabular.C:
6113 * insets/insettext.C: adjust
6114 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6116 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6119 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6121 2003-08-26 André Pönitz <poenitz@gmx.net>
6123 * paragraph_func.[Ch] (outerPar): new function
6126 * paragraph_funcs.C:
6127 * paragraph_funcs.h:
6128 * paragraph_pimpl.C:
6129 * text2.C: remove Inset::par_owner
6131 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6136 * text2.C: eliminates the needFullRow/display() stuff
6137 altogether, putting the logic in metrics/draw in the insets.
6139 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6141 * text2.C (redoParagraphInternal, redoParagraphs):
6142 * text.C (redoParagraph): add a call to updateRowPositions at the
6143 end of each 'metrics-like' call. Remove all others.
6144 (getRow): remove the 'y-computing' version.
6145 (getRowNearY): do not compute nor return the real y. Solve the
6146 'y < 0' problem and simplify.
6148 2003-08-22 Angus Leeming <leeming@lyx.org>
6150 * *.[Ch]: clean-up of licence and author blurbs.
6151 Also move config.h out of a few .h files and into a few .C files.
6153 2003-08-22 André Pönitz <poenitz@gmx.net>
6155 * lyxrow.[Ch]: add x_ and *fill_ members
6160 * text2.C: adjust/remove prepareToPrint() calls
6162 2003-08-22 André Pönitz <poenitz@gmx.net>
6164 * lyxrow.[Ch]: add end_ member
6166 * lyxrow_funcs.C: use LyXRow::end_
6168 * lyxtext.h (singleWidth): add LyXFont parameter
6171 * text2.C: adjust LyXText::singleWidth() calls
6173 * text.C (redoParagraph): simplify row breaking logic
6176 2003-08-19 André Pönitz <poenitz@gmx.net>
6178 * funcrequest.C: initialize button_ member
6181 * rowpainter.[Ch]: interface consolidation
6183 2003-08-18 André Pönitz <poenitz@gmx.net>
6186 * BufferView_pimpl.C:
6188 * paragraph_funcs.C:
6190 * text3.C: remove LyXScreen::draw() and fitCursor calls
6192 * BranchList.h: remove spurious semicolons
6194 * MenuBackend.C: fix branchlist related crash
6196 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6204 * bufferparams.[Ch]:
6208 * text3.C: implements the 'branch inset'
6209 idea. This allows the output of various versions of a document
6210 from a single source version, selectively outputing or suppressing
6211 output of parts of the text.
6212 This implementation contains a 'branch list editor' in a separate
6213 tab of the document settings dialog. Branches are user definable
6214 and have a "display colour" to distinguish them on-screen.
6216 ColorHandler was somewhat cleaned up.
6217 (1) make possible a dynamically growing LColor list by allowing
6218 the graphic context cache to grow along (vector);
6219 (2) eliminate an IMHO unnecessary step in colour allocation.
6221 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6223 * BufferView_pimpl.C: compile fix
6225 2003-08-15 André Pönitz <poenitz@gmx.net>
6227 * rowpainter.C: remove extra metrics calls
6229 * lyxtext.h: merge the two constructors into a single one,
6230 pass reference to owner's par list
6232 * BufferView_pimpl.C:
6236 2003-08-15 André Pönitz <poenitz@gmx.net>
6238 * lyxrow_funcs.[Ch]:
6241 * paragraph_funcs.C:
6246 * text_funcs.C: split LyXText::rowlist_ into individual
6247 Paragraph::rows_ chunks
6250 * BufferView_pimpl.[Ch]:
6253 * text3.C: remove toggleSelection()
6255 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6257 * bufferlist.C: beautify two alerts (shorter text of buttons)
6258 * buffer.C: Remove redundant ' ' from message
6260 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6261 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6262 rename VALIGN_CENTER to VALIGN_MIDDLE
6264 2003-08-11 André Pönitz <poenitz@gmx.net>
6266 * lyxtext.h (getPar):
6267 * text.C: new function
6269 2003-08-11 André Pönitz <poenitz@gmx.net>
6272 * tracer.[Ch]: remove unneeded files
6274 * InsetList.[Ch]: remove resizeInsetsLyXText()
6279 * text3.C: merge insertParagraphs() and appendParagraph()
6280 remove breakAgain(), update()
6282 * BufferView_pimpl.[Ch]:
6283 * bufferview_funcs.[Ch]:
6287 * tabular.C: adjust after text & InsetList changes.
6289 2003-08-08 André Pönitz <poenitz@gmx.net>
6291 * text.C (insertChar, backspace): replace rowlist fiddling
6292 with rebreak of full par
6295 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6296 checkParagraph, updateInset): removed
6298 2003-08-07 André Pönitz <poenitz@gmx.net>
6301 * text3.C: merge some LFUN handlers, remove dead code
6303 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6305 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6307 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6309 * text2.C (DEPM): fix part of bug 1255 and 1256
6311 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6313 * BufferView_pimpl.C (workAreaDispatch): change to use
6314 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6315 that are no mouse related.
6317 2003-08-05 André Pönitz <poenitz@gmx.net>
6320 * BufferView_pimpl.[Ch]:
6321 * bufferview_funcs.C:
6323 * text3.C: rip out "deep update"
6325 * textcursor.[Ch] (last_sel_cursor): remove unused member
6327 2003-08-04 André Pönitz <poenitz@gmx.net>
6330 * BufferView_pimpl.[Ch]:
6331 * ParagraphParameters.C:
6332 * bufferview_funcs.C:
6338 * text3.C: replace "complicated" BufferView::update(...) calls with
6341 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6343 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6345 * Makefile.am (lyx_SOURCES): add paper.h
6347 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6349 * Makefile.am: move things around so that both lyx-qt and
6350 lyx-xforms can be built (according to --with-frontend). Then lyx
6351 is a symbolic link to lyx-[firstfrontend]
6353 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6355 * Always use std::endl with lyxerr
6357 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6359 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6361 2003-08-01 André Pönitz <poenitz@gmx.net>
6364 * BufferView_pimpl.[Ch]:
6366 * text3.C: merge BufferView::repaint() and BufferView::update()
6368 2003-08-01 José Matos <jamatos@lyx.org>
6370 * buffer.[Ch]: file_format is no longer a buffer data element.
6372 2003-08-01 André Pönitz <poenitz@gmx.net>
6377 * text2.C: make redoParagraph more independent of current cursor
6379 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6381 * text2.C: remove unneeded members
6383 2003-07-30 André Pönitz <poenitz@gmx.net>
6385 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6387 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6388 create a single function...
6390 * paragraph_funcs.C (moveItem): ... here.
6393 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6395 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6397 * LColor.[Ch]: Add comment and greyedout logical colors.
6399 2003-07-30 André Pönitz <poenitz@gmx.net>
6401 * tabular.C: don't use Assert too heavily. This crashes where it
6404 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6406 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6407 is disabled (bug 1232)
6409 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6411 * factory.C: limited 'arg' scope
6413 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6415 * factory.C: fixed Note submenu issues
6417 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6419 * factory.C: submenu for Note/Comment/Greyedout
6421 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6424 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6426 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6429 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6430 greyedout. Patch provided by Jürgen Spitzmüller.
6432 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6434 * kbmap.C (read): fix error message when reading bind files
6436 2003-07-29 Angus Leeming <leeming@lyx.org>
6438 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6439 certainly does not do what it purports to do. I am doing it, and
6440 us, a favour by killing it.
6442 2003-07-28 José Matos <jamatos@lyx.org>
6444 * buffer.C (readBody, do_writeFile):
6445 * paragraph.C(readParagraph): \end_document replaces \the_end.
6447 2003-07-29 André Pönitz <poenitz@gmx.net>
6450 * BufferView_pimpl.[Ch]:
6454 * textcursor.[Ch]: remove toggleToggle & Co
6456 2003-07-28 José Matos <jamatos@fep.up.pt>
6458 * buffer.C (readParagraph):
6459 * params_func (readParToken, readParagraph):
6460 * paragraph.C (write): \layout -> \begin_layout.
6462 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6464 * lyxlex_pimpl.C (setFile): clean up slightly.
6466 * bufferparams.h: add compressed var
6468 * buffer_funcs.C (readFile): adjust for LyXLex change
6469 (newFile): ditto + simplify
6471 * buffer.C (writeFile): handle writing of compressed files
6473 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6474 Check if the file is compressed and set a bufferparm if so.
6476 * Makefile.am (lyx_LDADD): remove explicit -lz
6478 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6480 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6481 makeDocBookFile): put the real LyX version in the first line of
6485 * version.C.in: remove lyx_docversion
6487 * tabular.C (write_attribute): add a template-based version to
6488 write enums properly
6490 2003-07-28 André Pönitz <poenitz@gmx.net>
6495 * text3.C: use doubles again for x-coordinates. They are needed.
6497 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6499 * messages.C (getLocaleDir): use lyx_localedir()
6501 * lyxlex_pimpl.C (setFile): compress stuff
6503 * buffer.C (writeFile): add some compression stuff
6504 (do_writeFile): new func, dont call expliti close... will this
6507 * Makefile.am (lyx_LDADD): add -lz
6509 2003-07-28 José Matos <jamatos@fep.up.pt>
6511 * buffer.C: increment file format.
6512 * paragraph_funcs (readParagraph, readParToken):
6513 * paragraph.C (readParagraph): add \end_layout.
6515 2003-07-27 Angus Leeming <leeming@lyx.org>
6517 * Makefile.am: remove special casing for configure-time setting of
6518 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6520 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6521 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6523 2003-07-26 André Pönitz <poenitz@gmx.net>
6525 * paragraph_func.[Ch]:
6526 * paragraph.C (realizeFont): inline it whereever it is used
6531 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6534 2003-07-26 André Pönitz <poenitz@gmx.net>
6538 * text2.C: get rid of LyXText::need_break_row
6540 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6542 * toc.[Ch]: put namespace toc inside namespace lyx
6544 * MenuBackend.C (expandToc2): adjust for lyx::toc
6547 * lyxfunc.C (dispatch): adjust for lyx::find
6549 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6550 lyx::find instead. Reorganize a bit.
6551 (LyXReplace): rename to replace
6552 (LyXFind): rename to find
6554 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6557 2003-07-26 André Pönitz <poenitz@gmx.net>
6559 * text.C (setHeightOfRow): restrict scope of temporary variable
6561 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6562 code (never has been used?)
6564 2003-07-27 Asger Alstrup <alstrup@local>
6566 * text.C (fill): Optimise algorithm to exploit that we can reuse
6567 the LyXFont for many characters.
6568 (setHeightOfRow): Same thing.
6569 (rowBreakPoint): Same thing.
6571 2003-07-26 Asger Alstrup <alstrup@local>
6573 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6575 * text.C (singleWidth): Spurious font copying in hot-spot
6576 singleWidth avoided. Reorder tests for arabic for efficiency.
6578 * text.C (fill): handle empty paragraphs better.
6580 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6583 * encoding.h: add includes
6585 * lyxrc.C: remove reading of bind files
6587 * lyx_main.C (init): setup bindings and menus only if we have a
6590 * kbmap.C (read): new method. Do the actual reading of bind
6593 * converter.C (dvipdfm_options):
6596 (output): adapt PAPER_* enums.
6598 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6600 * bufferparams.h: remove paper-related enums from there
6602 * paper.h: New file. A trivial header file to hold paper-related
6603 enums. It should later expand to contain many paper-related
6606 * lyxrc.C: declare extern displayTranslator
6608 2003-07-27 José Matos <jamatos@fep.up.pt>
6610 * tabular.[Ch] (linuxdoc): add support for tables and figures
6613 2003-07-27 José Matos <jamatos@fep.up.pt>
6615 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6616 consistency in both functions.
6617 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6619 2003-07-26 Asger Alstrup <alstrup@local>
6621 * rowpainter.C (paintRows): Change algorithm to work directly on
6622 the insets rather than asking every character in the document
6623 whether its an inset.
6625 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6627 * buffer.C (openFileWrite): factorize some code
6629 2003-07-26 Angus Leeming <leeming@lyx.org>
6632 * lyx_main.[Ch]: replace occurances of system_tempdir with
6635 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6637 * rename Inset to InsetOld
6639 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6641 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6642 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6643 which I think is a bit clearer. EDIT is gone, since it was
6644 premature optimisation, and broken for mathed anyway.
6645 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6646 with cursor positioning in insets as well (math insets still do not
6647 work, but that's a different story anyway.) It mysteriously
6648 crashes sometimes with undo in the first paragraph, but I'm fairly
6649 confident that this is a compiler bug.
6651 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6653 * paragraph.C (Paragraph): adjust for new clone return type
6655 (copyIntoMinibuffer): ditto
6657 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6659 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6660 by not having a special case, and always doing a full rebreak of
6661 the document after undo.
6663 2003-07-23 Angus Leeming <leeming@lyx.org>
6665 * factory.C (createInset): InsetExternal::setParams now takes a
6668 2003-07-23 Angus Leeming <leeming@lyx.org>
6670 * factory.C (createInset): changed interface to the external and
6671 graphics mailers' string2params functions.
6673 2003-07-23 Angus Leeming <leeming@lyx.org>
6675 * factory.C (createInset): pass a
6676 Buffer const * parameter to InsetExternalMailer's string2params.
6678 2003-07-22 John Levon <levon@movementarian.org>
6680 * Thesaurus.h: include the right aiksaurus header
6682 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6684 * MenuBackend.C (expand): check menu shortcuts unconditionally
6686 2003-07-21 Angus Leeming <leeming@lyx.org>
6688 * factory.C (createInset): pass a
6689 buffer_path parameter to InsetGraphicsMailer's string2params.
6691 2003-07-21 Angus Leeming <leeming@lyx.org>
6693 * BufferView_pimpl.C (buffer):
6696 * lyxfunc.C (dispatch):
6697 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6698 rather than the grfx shortcut.
6700 2003-07-21 André Pönitz <poenitz@gmx.net>
6702 * rowpainter.C: remove unused variables
6705 * tabular_funcs.h: move to tabular.C
6706 * Makefile.am: adjust
6708 * tabular.[Ch]: basic optical cleaning
6710 * author.h: pass references, not values
6712 2003-07-18 André Pönitz <poenitz@gmx.net>
6720 * text3.C: two-phase drawing for InsetText and InsetTabular
6721 some float -> int changes.
6723 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6725 * lyx_main.C: fix the fix
6727 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6729 * lyx_main.C: fix a crash in batch mode if no files specified
6732 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6734 * format.[Ch] (papersize): moved to BufferParams
6735 * converter.[Ch] (dvips_options): moved to BufferParams
6736 (dvipdfm_options): moved to anon namespace
6737 * bufferparams.[Ch]: added above functions.
6739 2003-07-17 André Pönitz <poenitz@gmx.net>
6743 * text2.C: don't call inset->update() anymore
6745 * metricsinfo.[Ch]: add convenience constructor
6747 2003-07-16 André Pönitz <poenitz@gmx.net>
6752 * text2.C: replace the LyXCursor::irow_ member with
6753 on-demand computation of the value
6755 2003-07-16 John Levon <levon@movementarian.org>
6757 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6759 2003-07-15 André Pönitz <poenitz@gmx.net>
6762 * text2.C: remove no more needed refresh_row
6764 2003-07-15 André Pönitz <poenitz@gmx.net>
6769 * text3.C: refresh_status tristate -> need_update bool
6771 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6773 * lyxtext.h (init): remove reinit argument (act as if always true)
6774 * text2.C: adjust to that
6776 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6778 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6779 * text3.C: use it to delete selections in some cases
6780 (bugs 441, 673, 702, 954).
6782 2003-07-14 André Pönitz <poenitz@gmx.net>
6784 * rowpainter.[Ch]: reduce interface
6786 2003-07-14 André Pönitz <poenitz@gmx.net>
6788 * BufferView_pimpl.C:
6789 * text2.C: adjust after removing unused BufferView * argument
6791 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6793 * text2.C (init): fix a crash fired on resize
6795 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6797 * buffer.[Ch]: added new closing signal
6798 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6799 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6800 BufferView::Pimpl via the closing the signal
6802 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6804 * buffer.[Ch]: take out all bv-related from buffer
6806 * BufferView_pimpl.[Ch]: connect to new signals
6807 * CutAndPaste.C: removed useless asserts
6808 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6811 * lyxfunc.C: moved view-related funciontality from vc here
6812 * paragraph.C: removed outdated comments
6815 2003-07-10 André Pönitz <poenitz@gmx.net>
6817 * BufferView_pimpl.C:
6821 * text2.C: remove InsetText::InnerCache, clean up consequences
6823 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6825 * ispell.C: fix two typos in error messages
6827 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6829 * Extend Note inset to other forms of annotation like Comment
6830 and Greyedout. Right button click gives dialog.
6832 Files modified or added (+):
6836 * ControlNote.[Ch] +
6838 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6839 frontends/controllers
6843 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6845 * aspell.C: add missing namespace lyx::support
6847 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6849 * BufferView.[Ch] (newFile): Add
6850 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6851 * LaTeX.[Ch] (message): added this signal and use it
6852 * buffer.[Ch] (busy, message): added these signals and use them
6853 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6857 * importer.C: use buffer signals instead of direct bv calling
6858 * lyx_cb.[Ch] (ShowMessage): removed
6861 * paragraph_funcs.C:
6862 * text2.C: use buffer signals
6864 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * introduce namespace lyx::graphics
6868 2003-07-02 André Pönitz <poenitz@gmx.net>
6870 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6872 2003-07-01 André Pönitz <poenitz@gmx.net>
6879 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6880 text*.C to text_func.C
6882 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6884 * introduce namespace lyx::support
6886 2003-06-30 André Pönitz <poenitz@gmx.net>
6891 * text.C: re-enable --with-included-string
6893 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6895 * textcursor.C: add <config.h>
6897 * text.C (getWord): remove const from word_location arg
6899 * lyxvc.C (getLogFile): fix const type order
6901 * lyxtext.h: remove const from word_location arg, add arg name
6903 * lyxlayout.h: currect type on labeltype.
6905 * importer.C: correct \file
6907 * converter.C (intToFormat): use std:: on ret val, ws changes
6909 * bufferlist.h: correct \file
6911 * buffer.C (makeLinuxDocFile): fix const type order
6912 (makeDocBookFile): ditto
6913 (fillWithBibKeys): use std:: on stdlib args.
6915 * CutAndPaste.C: fix authors.
6916 (availableSelections): use std:: on return vector
6918 2003-06-27 André Pönitz <poenitz@gmx.net>
6920 * BufferView_pimpl.C:
6921 * bufferview_funcs.C:
6929 * text3.C: remove LyXCursor::row_ member
6932 * text.C: rename fullRebreak() to partialRebreak() and implement
6933 a fullRebreak() that really bereks fully
6935 * textcursor.h: new struct for cursor-related data
6937 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6939 * lyx_main.C (LyX): get full path of document loaded on the
6942 2003-06-26 André Pönitz <poenitz@gmx.net>
6944 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6945 remove unused/broken operator>,<,>=.
6947 * text.C: remove only use of broken operator<= in an Assert().
6949 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6951 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6952 moved errorlist_.clear to showErrorList
6954 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6956 * converter.C (scanLog, runLaTeX):
6957 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6958 move the bv->showErrorList call to the callers
6959 * lyxfunc.C: i.e. here...
6961 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6962 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6963 namespace, the second to...
6964 * buffer_funcs (BufferFormat, parseErrors): added
6965 * errorlist.C (ErrorList(TeXErrors const &)): removed
6967 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6969 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6971 2003-06-24 "Garst R. Reese" <reese@isn.net>
6975 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6977 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6979 * version.C.in: change docversion to 1.4
6981 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6983 * buffer.C: fix a bug just introduced
6985 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6987 * buffer.[Ch]: added the parseError signal and use it, removed
6989 * BufferView.[Ch] (addError): moved to ...
6990 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6991 to the Buffer::parseError signal to catch (guess what) parse errors
6992 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6994 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6996 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6997 ability to create a buffer and to return an existing one from
6998 the list. Moved these functions to...
6999 * buffer_funcs.[Ch]: added
7000 * BufferView.[Ch] (loadLyXFile): added
7001 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7002 job removed from bufferlist::loadLyXFile.
7003 * buffer.C (setReadOnly): make it work without view
7004 (i.e added an if (users))
7006 2003-06-19 Angus Leeming <leeming@lyx.org>
7009 * LyXAction.C (init):
7010 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7011 with LFUN_DIALOG_SHOW <name> <data>.
7013 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7015 * CutAndPaste.C (availableSelections): small compilation fix for
7016 ancient (gcc 2.9x) compilers
7018 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7020 * text3.C (cursorNext): add tmp var
7022 * text2.C (updateCounters): for function calling out of for clause
7023 (replaceSelectionWithString): ditto
7024 (insertStringAsParagraphs): ditto
7025 (getColumnNearX): add tmp var
7026 (setCursorFromCoordinates): add tmp var
7027 (cursorDownParagraph): add tmp var
7028 (deleteEmptyParagraphMechanism): add tmp var
7030 * text.C (insertChar): add tmp var
7032 * rowpainter.C (paintDepthBar): add tmp var
7034 * CutAndPaste.C (availableSelections): potentially check all
7035 paragraphs in a cut to fill the shown strings.
7037 2003-06-18 André Pönitz <poenitz@gmx.net>
7039 * kbmap.[Ch]: use vector<> instead of list<>
7041 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7043 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7044 pasteSelection with index
7046 * text2.C (pasteSelection): modify, call pasteSelection with index
7048 * paragraph.C (asString): reimplement version with no interval to
7049 call the one with interval.
7051 * lyxtext.h: add index arg to pasteSelection
7053 * MenuBackend.C (MenuItem): handle PasteRecent
7054 (Menu::read::Menutags): add md_pasterecent
7056 (expandPasteRecent): new function
7059 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7061 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7063 (availableSelections): new function
7065 2003-06-17 Angus Leeming <leeming@lyx.org>
7067 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7069 2003-06-17 Angus Leeming <leeming@lyx.org>
7072 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7074 * lyxfunc.C (dispatch): invoke it.
7076 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7078 * iterators.C (operator++, ParPosition): reintroduce some
7079 const_cast for the benefit of older compilers.
7081 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7083 * text3.C (dispatch): do not modify clipboard when doing
7084 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7085 LFUN_DELETE_SKIP on a selection selection
7087 2003-06-16 André Pönitz <poenitz@gmx.net>
7093 * tabular.[Ch]: IU of clone() and getLabelList();
7095 2003-06-13 André Pönitz <poenitz@gmx.net>
7097 * tabular.h: compactification
7099 2003-06-12 André Pönitz <poenitz@gmx.net>
7103 * tabular_funcs.h: some renaming plus whitespace
7105 2003-06-12 André Pönitz <poenitz@gmx.net>
7108 * BufferView_pimpl.C:
7114 * toc.C: Return a Paragraph & for ParIterator::operator*()
7116 2003-06-11 John Levon <levon@movementarian.org>
7120 * ToolbarBackend.C: add "Toolbars" section and
7123 2003-06-10 Angus Leeming <leeming@lyx.org>
7126 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7128 * lyxfunc.C (dispatch): invoke it.
7130 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7132 * main.C: protect <ios> with HAVE_IOS
7133 (main): protect sync_with_stdio with HAVE_IOS
7135 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7137 * text2.C (cutSelection): adjust
7138 (pasteSelection): adjust
7140 * messages.C: handle get of empty string
7142 * main.C (main): use sync_with_stdio(false)
7144 * lyxfunc.C (dispatch): adjust
7146 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7147 (WriteAs): remove unneeded BufferView arg.
7149 * bufferparams.h: use correct types on papersize, papersize2 and
7152 * bufferparams.C (readToken): adjust for type
7153 (writeLaTeX): add missing cases to switch.
7155 * bufferlist.C (quitWriteBuffer): adjust
7158 * buffer.C (asciiParagraph): remove some commented code.
7160 * CutAndPaste.C: remove current_view extern variable.
7161 (cutSelection): add BufferParams arg.
7162 (eraseSelection): add BufferParams arg.
7163 (pasteSelection): add Buffer const & arg
7165 2003-06-07 John Levon <levon@movementarian.org>
7168 * paragraph_funcs.C:
7169 * paragraph_pimpl.C:
7173 * paragraph.C: allow InsetERT to freely space lines,
7174 and some consolidation of code
7176 2003-06-06 José Matos <jamatos@fep.up.pt>
7178 * buffer.C (makeDocBookFile): fix bug #821
7180 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7182 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7184 2003-06-04 Angus Leeming <leeming@lyx.org>
7186 * buffer.C: bump format to 224.
7188 2003-06-05 André Pönitz <poenitz@gmx.net>
7190 * text2.C (redoParagraphs): remove two const_cast<>
7192 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7194 * ParagraphList.h: remove last remnants of NO_STD_LIST
7196 2003-06-03 Angus Leeming <leeming@lyx.org>
7198 * factory.C (createInset): small change to the way InsetExternal's params
7201 2003-06-04 André Pönitz <poenitz@gmx.net>
7203 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7205 * paragraph_pimpl.h:
7206 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7208 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7210 * undo_funcs.C: make some simple cases of undo work again
7212 2003-06-03 John Levon <levon@movementarian.org>
7214 * ispell.C: HPUX doesn't have sys/select.h
7217 2003-06-03 John Levon <levon@movementarian.org>
7219 * CutAndPaste.C: update tabular and include inset
7224 * paragraph.C: remove owningBuffer(), don't pass Buffer
7227 * factory.C: insetGraphicsParams changed
7229 2003-06-02 John Levon <levon@movementarian.org>
7235 * text3.C: remove insetparent
7237 2003-06-02 John Levon <levon@movementarian.org>
7240 * buffer.C: fix inset_iterator.end(), move out of line
7243 2003-06-01 John Levon <levon@movementarian.org>
7245 * text3.C: use a proper cut/paste when doing inset
7246 insert (from Jürgen Spitzmüller)
7248 2003-06-01 John Levon <levon@movementarian.org>
7250 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7252 2003-05-30 André Pönitz <poenitz@gmx.net>
7254 * rowpainter.C: unify second drawing phase
7256 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7258 * trans_mgr.C: remove one case of current_view
7260 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7262 * paragraph_funcs.h: remove paragraph.h include
7264 * paragraph.h: delete NO_STD_LIST stuff
7266 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7268 * buffer.h: remove paragraph.h include
7270 * ParagraphList.C: delete file
7272 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7274 * toc.C (getTocList): adjust
7276 * paragraph_pimpl.C (validate): adjust
7278 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7280 * paragraph.C (Paragraph): adjust
7281 (getPositionOfInset): use const_iterator, adjust
7282 (bibitem): use const_iterator, adjust
7283 (setInsetOwner): adjust
7285 * iterators.C (operator++): adjust
7287 * InsetList.[Ch]: Replace selfmade iterator with standard
7288 vector::iterator also introduce const_iterator. Remove getPos,
7289 getInset and setInset from InsetTable. Adjust accordingly.
7291 * BufferView.C (lockInset): adjust
7292 (ChangeInsets): adjust
7294 * tabular.[Ch]: delete commented same_id functions
7296 2003-05-28 John Levon <levon@movementarian.org>
7298 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7300 2003-05-28 André Pönitz <poenitz@gmx.net>
7302 * metricsinfo.[Ch]: remove 'fullredraw' member
7304 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7306 * lyxtextclass.C (operator): remove caching.
7308 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7312 * text2.C (cursorBottom): adjust
7313 (setCounter): use ParagraphList::find, adjust
7315 * text.C (workWidth): use ParagraphList::find, adjust
7317 * lyxcursor.C (LyXCursor): adjust
7319 * buffer.C (inset_iterator): adjust
7321 * ParagraphList.h: make iterator(value_type) private, make
7322 ParagraphList a friend of iterator.
7324 * ParagraphList.C (find): new function
7326 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7328 2003-05-27 André Pönitz <poenitz@gmx.net>
7330 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7332 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7334 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7336 2003-05-26 John Levon <levon@movementarian.org>
7338 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7340 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7342 * remove same_id from function signatures, adjust.
7344 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7346 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7348 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7350 * paragraph.C (Paragraph): get rid of same_ids parameter
7352 * ParagraphList.C (insert): adjust
7355 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7357 * paragraph_funcs.C (breakParagraph): adjust
7358 (breakParagraphConservative): adjust
7360 * buffer.C (readParagraph): adjust
7362 * ParagraphList.C (insert): take a reference instead of a pointer
7365 * paragraph.[Ch] (id): new function
7367 * bufferlist.C (newFile): adjust
7369 * ParagraphList.C (ParagraphList): adjust
7371 (push_back): take a reference instead of a pointer.
7373 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7375 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7378 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7379 set else use old code.
7381 * ParagraphList.C: remove all NO_NEXT code and only compile this
7382 code of NO_STD_LIST is set.
7384 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7386 * BufferView_pimpl.C:
7396 * graphics/GraphicsConverter.C:
7397 * graphics/PreviewLoader.C: header adjustment
7399 2003-05-23 Angus Leeming <leeming@lyx.org>
7401 * LaTeXFeatures.[Ch] (useBabel): new method.
7402 * bufferparams.C (writeLaTeX): use it.
7404 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7406 * ParagraphList.h (set): remove unused function.
7408 2003-05-23 André Pönitz <poenitz@gmx.net>
7411 * BufferView_pimpl.C:
7415 * undo_funcs.C: setUndo reworked
7417 * iterators.[Ch]: add access to topmost ParagraphList
7419 * lyxtext.[Ch] (workWidth): add a const
7421 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7423 * texrow.[Ch] (increasePos): remove function
7424 * exporter.C (export): removed unused var and outdated comment
7426 2003-05-23 Angus Leeming <leeming@lyx.org>
7428 * latexrunparams.h: rename fragile as moving_arg.
7429 * paragraph.C (simpleTeXOnePar): ditto.
7430 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7432 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7434 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7436 (textUndoOrRedo): comment out a currently unused var.
7438 * paragraph.h (NO_NEXT): enable NO_NEXT
7440 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7442 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7444 * exporter.C (Export): adjust for removeAutoInsets removal.
7446 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7448 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7450 * BufferView.[Ch] (removeAutoInsets): delete function
7452 2003-05-22 Angus Leeming <leeming@lyx.org>
7454 * latexrunparams.h: add a free_spacing variable.
7456 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7457 to pass moving_arg, as the data is stored in runparams.fragile.
7459 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7460 to Inset::latexOptional or to simpleTeXOnePar.
7462 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7463 free_spacing arg to Inset::latexOptional.
7465 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7468 2003-05-22 Angus Leeming <leeming@lyx.org>
7470 * latexrunparams.h: add fragile and use_babel variables.
7472 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7473 * buffer.C (makeLaTeXFile): store this returned value in
7474 runparams.use_babel, thus passing it to the inset::latex methods.
7476 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7477 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7479 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7480 longer has a fragile arg, as it is stored in runparams.fragile.
7482 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7483 moving_arg parameter as the data is stored in runparams.fragile.
7485 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7486 a fragile parameter as the data is stored in runparams.fragile.
7488 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7490 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7492 2003-05-22 Angus Leeming <leeming@lyx.org>
7494 * latexrunparams.h: add a 'bool nice' which defaults to false.
7496 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7497 now encapsulated within runparams.
7499 * bufferlist.C (updateIncludedTeXfiles):
7500 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7502 2003-05-22 Angus Leeming <leeming@lyx.org>
7504 * latexrunparams.h: new file containing struct LatexRunParams.
7505 * Makefile.am: add new file.
7507 * LaTeX.[Ch] (c-tor, run):
7508 * buffer.[Ch] (makeLaTeXFile):
7509 * bufferlist.[Ch] (updateIncludedTeXfiles):
7510 * converter.C (convert, scanLog):
7511 * converter.[Ch] (runLaTeX):
7512 * exporter.C (Export):
7513 * paragraph.[Ch] (simpleTeXOnePar):
7514 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7515 * paragraph_funcs.[Ch] (latexParagraphs):
7516 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7517 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7518 pass around a LatexRunParams parameter.
7520 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * paragraph.[Ch]: remove unused constructor
7524 * ParagraphList.C (erase): new function, taking two iterators
7526 2003-05-22 André Pönitz <poenitz@gmx.net>
7528 * undo_funcs.C: remove duplicated code
7530 * iterator.[Ch]: operator=
7532 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7534 * tabular.C (SetMultiColumn): ws changes
7536 * rowpainter.C (paintFirst): get rid of a ->previous
7538 * lyx_cb.C (getPossibleLabel): parlist simplification
7540 * BufferView.C (ChangeInsets): simplify slightly.
7542 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7544 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7545 * lfuns.h: new LFUN_SPACE
7546 * lyxfunc.C: protected space has a new lfun
7547 * paragraph_funcs.C: read new space insets
7549 * factory.C: handle new space insets
7551 2003-05-22 André Pönitz <poenitz@gmx.net>
7554 * BufferView_pimpl.C:
7557 * undo_funcs.C: return a ParIterator from getParFromID.
7559 * iterators.[Ch]: add two const's
7561 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7563 * toc.C (getTocList): adjust
7565 * iterators.[Ch]: rework for parlist
7567 * buffer.C (par_iterator_begin): adjust
7568 (par_iterator_end): adjust
7570 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7572 * BufferView.C (removeAutoInsets): adjust
7573 (ChangeInsets): adjust
7575 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7577 * text.C (top_y): fix bug 1110
7579 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7581 * errorlist.[Ch]: added
7584 * BufferView_pimpl.C:
7585 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7588 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7590 * Makefile.am: ensure that lyx is relinked upon changes to the
7591 various "convenience" libs.
7593 2003-05-20 Angus Leeming <leeming@lyx.org>
7595 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7596 files are compiled in alphabetical order again.
7598 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7600 2003-05-19 Angus Leeming <leeming@lyx.org>
7602 * gettext.[Ch]: remove "char const * _(char const *)".
7604 2003-05-19 André Pönitz <poenitz@gmx.net>
7606 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7615 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7617 2003-05-19 André Pönitz <poenitz@gmx.net>
7621 * lyxtextclass.[Ch]:
7623 * paragraph_funcs.[Ch]:
7625 * text3.C: more insetenv work
7627 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7629 * ParagraphParameters.C (params2string): small bug fixed
7631 2003-05-16 André Pönitz <poenitz@gmx.net>
7634 * bufferview_funcs.C: patch from Kornel Benko to prevent
7635 crash when _(...) is called twice in a statement
7637 2003-05-16 André Pönitz <poenitz@gmx.net>
7644 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7646 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7648 * lyx_main.C (init): remove spurious static_cast
7650 2003-05-14 André Pönitz <poenitz@gmx.net>
7652 * BufferView.C: fix format string
7654 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7656 * BufferView.[Ch] (insertErrors): removed
7657 * BufferView.[Ch] (showErrorList): added
7658 * buffer.C (runChkTeX):
7659 * converter.C (scanLog): call showErrorList instead of inserterrors
7661 2003-05-13 André Pönitz <poenitz@gmx.net>
7663 * BufferView_pimpl.C:
7665 * bufferview_func.C:
7672 * tabular_funcs.h: tostr() from its own header
7674 * ParagraphParameters.C:
7679 * text3.C: STRCONV()
7681 2003-05-12 André Pönitz <poenitz@gmx.net>
7684 * BufferView_pimpl.C:
7688 * ParagraphParameters.C:
7692 * bufferview_funcs.C:
7705 * paragraph_funcs.C:
7709 * text3.C: boost::format -> bformat all over the place
7712 2003-05-09 André Pönitz <poenitz@gmx.net>
7714 * LColor.[Ch]: Pimpl the #include <map> away
7716 2003-05-09 John Levon <levon@movementarian.org>
7718 * bufferlist.C: never remove emergency saves
7720 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7722 * Makefile.am: better lib building
7724 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7726 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7728 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7729 (simpleTeXSpecialChars): adjust
7730 (simpleTeXSpecialChars): adjust
7731 * paragraph.C (simpleTeXOnePar): adjust
7732 * buffer.C (makeLaTeXFile): adjust
7734 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7736 * text2.C (changeDepth): parlist cleanup
7737 (getColumnNearX): ditto
7739 * rowpainter.C (getLabelFont): parlist cleanup
7741 * bufferlist.C (newFile): parlist cleanup
7743 * CutAndPaste.C (eraseSelection): parlist cleanup
7745 * BufferView_pimpl.C (trackChanges): parlist cleanup
7748 * BufferView.C (lockInset): parlist cleanup.
7749 (ChangeInsets): ditto
7751 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7753 * CutAndPaste.h: Update file header.
7755 * CutAndPaste.C: Update file header.
7756 Store the parts cut out of the Document in a limited_stack.
7757 (copySelection): adjust
7758 (pasteSelection): new function, takes the index in the limited stack.
7759 (nrOfParagraphs): adjust
7760 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7761 simplify error inset insertion.
7762 (checkPastePossible): adjust
7764 2003-05-06 John Levon <levon@movementarian.org>
7766 * text2.C: don't cast wrap inset to float
7768 2003-05-05 André Pönitz <poenitz@gmx.net>
7771 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7773 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7774 few naked Paragraph *.
7776 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7778 * bufferparams.C: Output warning if a document with missing
7779 TeX document class is loaded
7780 * exporter.C: Disable TeX exports if the document class is missing
7783 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7784 isTeXClassAvailable()
7786 2003-05-03 John Levon <levon@movementarian.org>
7789 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7790 explicit cursor show/hide
7792 * BufferView_pimpl.h:
7793 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7794 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7796 * lyxfunc.C: hide cursor before dispatching.
7801 * text3.C: remove explicit cursor hides
7803 2003-05-02 André Pönitz <poenitz@gmx.net>
7805 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7808 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7811 * text2.C: tiny whitespace
7813 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7815 * undo_funcs.C: almost only ws changes.
7817 * ParagraphList.C (splice): just return if pl is empty.
7819 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7821 * ParagraphList.C (splice): new function.
7823 * CutAndPaste.C (pasteSelection): use it
7825 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * CutAndPaste.C (pasteSelection): remove the last next and
7828 previous from this file.
7830 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7832 * CutAndPaste.C (pasteSelection): more clean up, user proper
7833 ParagraphList functions for pasteing.
7835 * ParagraphList.C (insert): new function, three arg insert
7837 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * ParagraphList.C (insert): new function, three arg insert
7841 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7844 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7846 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7848 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7850 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7852 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7854 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7855 (copySelection): clean up a bit.
7856 (pasteSelection): use make_pair
7858 * ParagraphList.C (ParagraphList): implement copy constructor
7859 (operator=): implement, base on copy constructor.
7862 * paragraph.C (erase): return a bool
7864 * paragraph_pimpl.C (erasePos): remove function, move contents...
7865 (erase): ... here. Return a bool.
7866 (erase): call erase instead of erasePos.
7868 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7870 * ParagraphList.h: define PitPosPair
7871 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7872 ParagraphList, fix a bug on pasting multiple pars
7873 * text2.C: change interface to C&P
7875 2003-04-30 André Pönitz <poenitz@gmx.net>
7877 * undo_func.C: revert part of yesterday's patch 2
7879 2003-04-30 John Levon <levon@movementarian.org>
7881 * LColor.C: s/tabular/table/
7883 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7885 * text3.C (dispatch): do not convert iterator -> pointer
7886 * undo_funcs.C (setCursorParUndo): ditto
7887 * text_funcs.C (transposeChars): ditto
7889 * text2.C (setLayout): ws changes only
7891 * text.C (breakParagraph): do not convert iterator -> pointer
7893 (acceptChange): ditto
7894 (rejectChange): ditto
7899 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7902 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7904 * text3.C (gotoInset): YABG (yet another bad getChar)
7906 2003-04-29 André Pönitz <poenitz@gmx.net>
7908 * paragraph.h: make operator= private unimplemented as long as
7911 * ParagraphList.C: whitespace
7914 * paragraph_pimpl.[Ch]:
7915 * paragraph_funcs.C:
7917 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7920 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7922 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7924 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7925 * paragraph.[Ch] (erase):
7926 * paragraph_pimpl.[Ch] (erase): change return type and value
7927 * text2.C (cutSelection): some rework
7929 2003-04-28 John Levon <levon@movementarian.org>
7931 * bufferlist.C: changes for unsaved changes dialog
7933 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7935 * bufferlist.C (newFile): set language (messages_) for new
7938 * buffer.C (readFile): ws changes only.
7940 2003-04-28 André Pönitz <poenitz@gmx.net>
7945 * BufferView_pimpl.C:
7946 * BufferView.C: getParFromID related ParagraphList::iterator changes
7948 2003-04-28 André Pönitz <poenitz@gmx.net>
7950 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7953 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7955 * messages.C: remove one more localedir class variable.
7957 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7959 * messages.C (getLocaleDir): singleton generation function
7961 (Messages): add a default constructor.
7963 * main.C (main): do not setup localedir here, do not call
7966 * gettext.C (_): use it.
7967 (gettext_init): delete funciton
7969 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7971 * gettext.C (getLyXMessages): new singleton generating function.
7973 * buffer.C (updateDocLang): adjust
7975 * Makefile.am (messages.o): add target
7976 (main.o): remove target
7978 2003-04-27 John Levon <levon@movementarian.org>
7983 * lyxvc.C: specify cancel button in Alert::prompt
7985 2003-04-26 John Levon <levon@movementarian.org>
7990 * LyXAction.C: add LFUN_INSET_SETTINGS
7992 * lyxfunc.C: don't enable tabular-feature when there's
7993 just any locking inset
7995 2003-04-26 John Levon <levon@movementarian.org>
7997 * bufferlist.C: re-add Cancel to buffer close question
7999 * lyxfunc.C: fix import UI a bit
8001 2003-04-25 John Levon <levon@movementarian.org>
8003 * gettext.C: remove the broken asserts for now
8005 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8007 * messages.C: make case where setlocale cannot comply work better.
8009 * buffer.C (updateDocLang): new function
8010 (changeLanguage): use it
8013 * text2.C (setCounter): use B_ a bit.
8015 * lyxlayout.C (Read): be sure to trim the label strings.
8017 * messages.C (Messages): fix typo in comment
8019 * buffer.C (readFile): set message_ after file is loaded.
8020 (makeDocBookFile): remove double return
8021 (changeLanguage): reset message_ upon language change.
8022 (B_): new func, use this to get translated buffer strings.
8024 * main.C: add myself and Jean Marc as authors.
8026 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8028 * messages.[hC]: pimplify Messages, and three different pimpls to be
8029 used in different circumstances.
8031 * gettext.[Ch]: change for use with new message code.
8033 2003-04-24 André Pönitz <poenitz@gmx.net>
8035 * factory.C: support for eqref
8037 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8039 * messages.[Ch]: add missing char
8041 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8043 * messages.[Ch]: New files
8045 2003-04-18 John Levon <levon@movementarian.org>
8049 * BufferView_pimpl.C:
8053 * text2.C: remove layout-copy/paste (bug 778)
8055 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8057 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8059 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8061 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8062 if they succeed. Act accordingly.
8064 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8066 * text2.C (setCharFont): adjust
8067 (setCounter): adjust
8068 (insertStringAsLines): adjust
8070 * text.C (leftMargin): adjust
8071 (setHeightOfRow): adjust
8073 * rowpainter.C (paintFirst): adjust
8076 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8078 (isFirstInSequence): ditto
8079 (getEndLabel): ditto
8082 * paragraph.C (getParLanguage): comment out some hard stuff.
8084 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8086 (simpleDocBookOnePar): ditto
8087 (makeDocBookFile): use ParagraphList::iterator
8089 * CutAndPaste.C (pasteSelection): adjust
8091 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8093 * text2.C (getFont): adjust
8094 (getLayoutFont): adjust
8095 (getLabelFont): adjust
8097 * paragraph_funcs.C (TeXOnePar): adjust
8099 * buffer.C (simpleLinuxDocOnePar): adjust
8100 (simpleDocBookOnePar): adjust
8102 * CutAndPaste.C (pasteSelection): adjust
8104 * BufferView.C (getEncoding): adjust
8106 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8108 2003-04-16 John Levon <levon@movementarian.org>
8110 * lyxfind.C: use parlist stuff for search/changes
8112 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8114 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8116 * text2.C (deleteEmptyParagraphMechanism): adjust
8118 * text2.[Ch] (ownerParagraph): delete func (both of them
8120 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8122 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8124 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8126 * ParagraphList.C: prepare for NO_NEXT
8128 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8130 * text2.C (getFont): adjust
8131 (getLayoutFont): adjust
8132 (getLabelFont): adjust
8134 * paragraph.C (getFont): adjust
8135 (getLabelFont): adjust
8136 (getLayoutFont): adjust
8138 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8140 2003-04-15 John Levon <levon@movementarian.org>
8144 * lyx_main.C: handle Include in .ui files
8146 2003-04-15 John Levon <levon@movementarian.org>
8148 * MenuBackend.C: make the doc files length shorter
8151 * ToolbarBackend.C: handle toolbar placement flags,
8154 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8159 * paragraph_funcs.C (TeXOnePar): adjust
8161 * paragraph.C (getLabelFont): add outerfont arg, adjust
8162 (getLayoutFont): ditto
8163 (simpleTeXOnePar): adjust
8165 * paragraph_pimpl.C (realizeFont): delete func
8167 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8169 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8170 row argument, constify cur argument.
8172 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8174 * text2.C (getFont): adjust
8175 (getLayoutFont): adjust
8176 (getLabelFont): adjust
8178 * paragraph_funcs.C (TeXOnePar): adjust
8179 (outerFont): new func...
8180 (realizeFont): ...moved out from here, changed this to facilitate
8183 * paragraph.C (getFont): take outerfont as arg, adjust
8184 (simpleTeXOnePar): add outerfont arg, adjust
8186 * buffer.C (simpleLinuxDocOnePar): adjust
8187 (simpleDocBookOnePar): adjust
8189 * CutAndPaste.C (pasteSelection): adjust
8191 * BufferView.C (getEncoding): adjust
8193 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8195 * text2.C (setCharFont): adjust
8196 (setCounter): adjust
8198 * text.C (leftMargin): adjust
8199 (setHeightOfRow): adjust
8201 * rowpainter.C (paintFirst): adjust
8204 * paragraph_pimpl.C (realizeFont): adjust
8206 * paragraph.C (isFirstInSequence): move from here...
8207 * paragraph_funcs.C (isFirstInSequence): ...to here
8209 * paragraph.C (outerHook): move from here...
8210 * paragraph_funcs.C (outerHook): ...to here
8212 * paragraph.C (depthHook): move from here...
8213 * paragraph_funcs.C (depthHook): ...to here
8215 * paragraph.C (getEndLabel): move from here...
8216 * paragraph_funcs.C (getEndLabel): ...to here
8218 * text2.C (realizeFont): move from here...
8219 * paragraph_funcs.C (realizeFont): ...to here
8221 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8223 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8225 2003-04-14 Angus Leeming <leeming@lyx.org>
8227 * LColor.[Ch]: scrap LColor mathcursor.
8229 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8231 * lyxlex.[Ch] (text): delete function
8232 * trans.C (Load): adjust
8233 * paragraph_funcs.C (readParToken): adjust
8235 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8237 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8238 vector<char> instead of a char[].
8240 * lyxlex_pimpl.C (getString): adjust
8242 (lex): use getString
8246 * lyxlex.C (text): use pimpl_->getString()
8250 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8253 (makeFontEntriesLayoutSpecific): temp var for par.size()
8254 (setLayout): temp var for ownerParagraphs().end()
8255 (fullRebreak): temp var for rows().end()
8256 (selectionAsString): temp var for boost::next(startpit), realize
8257 that the while really is a regular for loop.
8258 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8259 setCursor in one place.
8260 (setParagraph): temp vr for ownerParagraphs().end()
8261 (updateCounters): make the while loop a for loop
8262 (cutSelection): temp var for ownerParagraphs().end()
8263 (updateInset): make the do {} while() a regular for loop
8264 (getCursorX): use temp vars
8265 (setCurrentFont): use temp vars
8266 (getColumnNearX): use temp vars
8268 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8270 * text.C (transformChar): use temp var for getChar
8271 (computeBidiTables): use temp var for row->par()
8272 (fill): move temp vars for row->par() and pit->layout() earlier in
8274 (labelFill): use temp var for row->par()
8275 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8276 asc and desc, realize that pit never changes and that firstpit is
8277 just a duplicate and not needed. Exchange rit->par() with pit in a
8279 (breakAgain): use a temp var for boost::next(rit)
8280 (breakAgainOneRow): ditto
8281 (breakParagraph): use a temp var for rows().begin()
8282 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8283 (cursorRightOneWord): use temp var for cursor.par() and
8284 cursor.pos(), remove usage of tmpcursor.
8285 (cursorLeftOneWord): use temp var for cursor.par() and
8286 cursor.pos() only set cur at end of function.
8288 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * text.C, text2.C: exchange all usage of Paragraph::next with
8291 boost::next(ParagraphList::iterator)
8293 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8295 * text2.C (cursorTop): simplify implementation
8296 (cursorBottom): ditto
8297 (setParagraph): use ParagraphList::iterator
8298 (setCurrentFont): adjust
8299 (getColumnNearX): adjust
8300 (cursorRight): adjust
8301 (cursorLeft): remove usage of Paragraph::previous
8302 (cursorUpParagraph): ditto
8303 (deleteEmptyParagraphMechanism): slight cleanup
8305 * text.C (isBoundary): take a Paragraph const & instead of a
8307 (addressBreakPoint): ditto
8308 (leftMargin): remove usage of Paragraph::previous.
8309 (setHeightOfRow): ditto
8310 (cursorLeftOneWord): ditto
8311 (selectNextWordToSpellcheck): ditto
8314 (breakParagraph): remove one usage of Paragraph::next
8315 (redoParagraph): ditto
8316 (acceptChange): ditto
8317 (insertChar): adjust
8318 (rowBreakPoint): adjust
8320 * bufferview_funcs.C (toggleAndShow): adjust
8322 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8324 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8325 methods to access it.
8327 * text.C: Added updateRowPositions to compute all row positions.
8328 Make top_y and getRowNearY() to use the cached y position
8330 2003-04-11 John Levon <levon@movementarian.org>
8332 * text.C (rowBreakPoint): reintroduce the labelEnd
8333 checks, code copied from the row fill stuff. Deep voodoo.
8335 * text.C (fill): add a comment and debugging for the
8338 2003-04-11 John Levon <levon@movementarian.org>
8340 * text.C: make sure fullrow insets get wrapped to the next line,
8341 even when they're in a manual label
8343 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8345 * text2.C (insertParagraph): make it take ParagraphList::iterator
8347 (setLayout): make it return ParagraphList::iterator
8348 (redoParagraphs): ditto
8350 (checkParagraph): ditto
8352 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8354 * text2.C: adjust several funcs.
8355 (realizeFont): take a ParagraphList::iterator as arg.
8356 (getLayoutFont): ditto
8357 (getLabelFont): ditto
8358 (setCharFont): ditto
8360 * text.C: adjust several funcs.
8362 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8364 * text.C (selectNextWordToSpellcheck): don't accidentally
8367 2003-04-10 John Levon <levon@movementarian.org>
8369 * ToolbarBackend.C (getIcon): special handling for
8372 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8374 * text2.C (cursorRight): a getChar assert fixed
8376 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8378 * text2.C (getFont): change to take a ParagraphList::iterator
8379 instead of Paragraph*
8380 Adjust several functions.
8382 * text.C (transformChar): change to take a ParagraphList::iterator
8383 instead of Paragraph*
8384 (singleWidth): ditto
8385 Adjust several functions.
8387 * rowpainter.C: adjust several functions
8388 * rowpainter.h:store a ParagraphList::iterator and not a
8392 2003-04-09 John Levon <levon@movementarian.org>
8397 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8398 and the "help" bits as well
8400 2003-04-09 John Levon <levon@movementarian.org>
8403 * ToolbarBackend.C: allow multiple toolbars
8405 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8407 * undo_funcs.C (setCursorParUndo): adjust
8409 * text_funcs.C (transposeChars): adjust
8411 * text3.C (gotoNextInset): adjust
8414 * text2.C (setLayout): adjust
8415 (changeDepth): adjust
8417 (redoParagraphs): adjust
8418 (selectionAsString): adjust
8419 (setParagraph): adjust
8420 (insertInset): adjust
8421 (cutSelection): adjust
8422 (copySelection): adjust
8423 (pasteSelection): adjust
8424 (insertStringAsLines): adjust
8425 (updateInset): adjust
8426 (setCursor): change to take a ParagraphList::iterator parameter
8427 (setCursorIntern): change to take a ParagraphList::iterator parameter
8428 (setCurrentFont): adjust
8429 (cursorLeft): adjust
8430 (cursorRight): adjust
8431 (deleteEmptyParagraphMechanism): adjust
8433 * text.C (breakParagraph): adjust
8434 (insertChar): adjust
8435 (acceptChange): adjust
8436 (rejectChange): adjust
8437 (selectNextWordToSpellcheck): adjust
8438 (changeCase): adjust
8442 * lyxfind.C (SearchForward): adjust
8443 (SearchBackward): adjust
8444 (nextChange): adjust
8446 * lyxcursor.C (par): adjust
8448 * lyxcursor.h: store a ParagraphList::iterator instead of a
8451 * lyx_cb.C (getPossibleLabel): adjust
8453 * bufferview_funcs.C (toggleAndShow): adjust
8455 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8458 * BufferView.C (removeAutoInsets): adjust
8459 (lockedInsetStoreUndo): adjust
8461 2003-04-09 John Levon <levon@movementarian.org>
8463 * ToolbarBackend.C: try icon without argument
8464 if with argument fails
8466 2003-04-08 John Levon <levon@movementarian.org>
8469 * ToolbarBackend.C: add getIcon(), handle tooltip,
8470 and change from "Icon" to "Item".
8472 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8474 * BufferView.C (lockInset): another bad getchar crunched
8476 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8478 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8481 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8483 * lyxfind.C (searchForward, searchBackwards): bug 782
8485 2003-04-07 John Levon <levon@movementarian.org>
8487 * paragraph.C: remove dead comment
8489 * text.C: remove troublesome depth-fiddling code
8490 in leftMargin() and rightMargin() (bug 1017)
8492 * text.C: fix breaking of rows in nested lists
8495 * text2.C (updateCounters): fix up depth values
8498 2003-04-07 John Levon <levon@movementarian.org>
8500 * BufferView_pimpl.C: clear message when doc finishes resizing,
8501 and after a mouse event
8503 * lyxfunc.C: clear message after exiting inset
8505 2003-04-07 John Levon <levon@movementarian.org>
8507 * bufferview_funcs.C: show math status not outside
8508 status in the statusbar
8510 2003-04-07 John Levon <levon@movementarian.org>
8512 * lyxfunc.C: note status changed after a depth change
8514 2003-04-04 Angus Leeming <leeming@lyx.org>
8516 * LaTeX.h: move AuxInfo operator==, != out of line.
8517 Remove LaTeX virtual destructor; nothing derives from it.
8518 Move operator()() out of public area and rename it startscript().
8519 Change protected for private.
8521 2003-04-04 Angus Leeming <leeming@lyx.org>
8524 * text2.C: remove unneeded #includes.
8526 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8528 * text2.C (dEPM): fix the heigth of the next row
8530 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8532 * text.C: squashed an invalid getChar requester + some ws changes
8534 2003-04-03 John Levon <levon@movementarian.org>
8536 * bufferview_funcs.h:
8537 * bufferview_funcs.C:
8540 * text2.C: make getStatus work for the env depth lfuns
8542 2003-04-03 John Levon <levon@movementarian.org>
8544 * bufferview_funcs.h:
8545 * bufferview_funcs.C:
8548 * text2.C: parlistize decDepth(), by merging it with incDepth()
8550 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8552 * lyxrow.h: store a ParagraphList::iterator instead of a
8553 Paragraph* and adjust other class functions to suit.
8555 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8558 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8560 * text2.C (setCursor): do not anchor to cursor row for the time being
8562 2003-04-02 John Levon <levon@movementarian.org>
8569 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8571 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8573 * paragraph.h: make ParagraphList and ParagraphList::iterator
8574 friends of Paragraph.
8576 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8578 * ParagraphList.C: Use the private next_ and previous_ from
8581 2003-04-01 John Levon <levon@movementarian.org>
8585 * Makefile.am: rename, remove defaults gunk
8588 * MenuBackend.C: remove defaults gunk
8591 * Languages.C: remove defaults gunk
8594 * lyx_main.C: error out if files couldn't be found.
8596 2003-04-02 John Levon <levon@movementarian.org>
8598 * text2.C: make incDepth() use parlist
8600 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8602 * undo_funcs.C (firstUndoParagraph): adjust
8604 * text3.C (gotoInset): adjust
8605 (dispatch): adjust, and rewrite loop.
8607 * text2.C (init): adjust, and rewrite loop.
8608 (redoParagraphs): adjust
8609 (updateInset): adjust, and rewrite loop.
8610 (deleteEmptyParagraphMechanism): adjust
8612 * tabular.C (LyXTabular): adjust
8613 (SetMultiColumn): adjust
8616 * lyxtext.[Ch] (ownerParagraph): delete function
8617 (ownerParagraphs): new function returns a ParagraphList.
8619 * BufferView.C (removeAutoInsets): adjust
8620 (insertErrors): adjust
8621 (setCursorFromRow): adjust
8623 2003-04-01 Angus Leeming <leeming@lyx.org>
8625 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8628 2003-04-02 John Levon <levon@movementarian.org>
8634 * text_funcs.C: make transposeChars a free function
8636 * lyxrow_funcs.C: remove wrong comment
8638 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8641 * rowpainter.C: adjust
8646 * lyxrow_funcs. [Ch]: new files
8648 * lyxrow.[Ch]: remove next and previous pointers
8649 (next,previous): remove accessor functions
8650 (isParEnd): move to lyxrow_funcs
8651 (lastPos): move to lyxrow_funcs
8652 (nextRowIsAllInset): move to lyxrow_funcs
8653 (lastPrintablePos): move to lyxrow_funcs
8654 (numberOfSeparators): move to lyxrow_funcs
8655 (numberOfHfills): move to lyxrow_funcs
8656 (numberOfLabelHfills): move to lyxrow_funcs
8657 (hfillExpansion): move to lyxrow_funcs
8661 * bufferview_funcs.C (toggleAndShow): adjust
8663 * RowList.h: Remove class RowList from file leave just a
8666 * RowList.C: delete file
8668 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8671 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8673 * text3.C (cursorPrevious): adjust
8674 (cursorNext): adjust
8677 * text2.C (redoHeightOfParagraph): adjust
8678 (redoDrawingOfParagraph): adjust
8681 * text.C (breakParagraph): adjust
8682 (insertChar): adjust
8685 * rowpainter.C (RowPainter): adjust
8686 (leftMargin): simplify and adjust
8687 (most rowpainter functions): adjust.
8689 * rowpainter.h: store the row as RowList::iterator not as Row*
8691 * lyxcursor.C (row): taka RowList::iterator as arg
8694 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8697 2003-04-01 Angus Leeming <leeming@lyx.org>
8699 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8700 stuff like bool Bool.
8702 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8704 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8707 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8709 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8712 * lyxtext.h (rows): drop one version and leve a const variant that
8713 returns a RowList::iterator.
8715 2003-03-31 Angus Leeming <leeming@lyx.org>
8717 * text.C (fill): ensure that the signature is the same as that in the
8720 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8722 * text2.C (redoParagraphs): adjust
8723 (updateCounters): adjust
8724 (checkParagraph): adjust
8725 (getColumnNearX): adjust and reformat a bit.
8727 * text.C (top_y): adjust
8729 (leftMargin): adjust
8730 (prepareToPrint): adjust
8732 (getRowNearY): adjust
8734 * lyxtext.h: make rowlist_ mutable.
8736 * RowList.h: add const_iterator
8737 * RowList.C: adjust for RowList::const_iterator.
8739 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8742 2003-03-31 John Levon <levon@movementarian.org>
8745 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8747 * lyx_main.C: set default fonts from using lyx_gui funcs
8749 * exporter.C: pdf_mode moved from lyxrc
8752 * lyxfunc.C: changes from above
8754 2003-03-31 John Levon <levon@movementarian.org>
8756 * lyx_main.C: fix to the last fix
8758 2003-03-31 John Levon <levon@movementarian.org>
8760 * bufferlist.C: "Load original" -> "Load Original"
8766 * format.C: more Alert cleanups
8768 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8770 * text2.C (removeParagraph): make it take a RowList::iterator as
8772 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8773 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8775 * text.C (anchor_row): make it take a RowList::iterator as arg,
8777 (computeBidiTables): make it take a const reference to Row instead
8778 of Row pointer, adjust.
8779 (leftMargin): make it take a RowList::iterator as arg, adjust.
8780 (rowBreakPoint): adjust
8781 (breakAgainOneRow): make it take a RowList::iterator as arg,
8783 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8785 * bufferview_funcs.C (toggleAndShow): adjust
8787 2003-03-30 John Levon <levon@movementarian.org>
8791 * boost-inst.C: moved to support
8793 * several files: changes as a result
8795 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8797 * text2.C (LyXText): adjust.
8799 (removeRow): make it take a RowList::iterator as arg, adjust.
8800 (fullRebreak): adjust
8801 (deleteEmptyParagraphMechanism): adjust
8802 (clearPaint): adjust
8805 * text.C (top_y): adjust
8806 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8807 (breakAgain): make it take a RowList::iterator as arg, adjust.
8808 (breakParagraph): adjust
8809 (insertChar): adjust
8812 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8813 need_break_row, and refresh_row.
8815 * text3.C (dispatch): adjust
8817 * text2.C (checkParagraph): adjust
8819 (setCursorFromCoordinates): adjust
8821 * text.C (top_y): adjust
8823 (getRow): make it return a RowList::iterator, adjust
8824 (getRowNearY): make it return a RowList::iterator, adjust
8826 * text2.C (init): adjust
8827 (insertRow): remove function
8828 (insertParagraph): adjust
8829 (redoParagraphs): adjust
8830 (fullRebreak): adjust
8831 (updateCounters): adjust
8833 * text.C (top_y): rewrite to use RowList iterators.
8835 (setHeightOfRow): rewrite to sue RowList iterators.
8836 (appendParagraph): adjust
8837 (breakAgain): adjust
8838 (breakAgainOneRow): adjust
8839 (breakParagraph): adjust
8841 (getRowNearY): adjust, and remove commented code.
8843 * lyxtext.h (firstRow): delete function
8844 (lastRow): delete function
8845 (rows): new function (const and non-const versions.)
8846 (insertRow): delete function
8848 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8850 2003-03-29 John Levon <levon@movementarian.org>
8852 * BufferView_pimpl.C: always update scrollbar top
8853 because pasting text when we're anchored could mean we
8854 miss an update altogether
8856 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8858 * text2.C (init): use rowlist_.end() and not 0.
8859 (insertRow): change to take a RowList::iterator as arg, adjust
8861 (insertParagraph): change to take a RowList::iterator as arg,
8863 (redoParagraphs): remove some debug msgs.
8865 * text.C (appendParagraph): change to take a RowList::iterator
8866 arg, adjust for this.
8867 (breakAgain): add an assert
8868 (breakAgainOneRow): ditto
8870 2003-03-29 John Levon <levon@movementarian.org>
8872 * text2.C: do not clear selection after inc/decDepth
8875 2003-03-29 John Levon <levon@movementarian.org>
8878 * buffer.C: fix broken strerrors according to Lars
8880 2003-03-29 John Levon <levon@movementarian.org>
8882 * converters.C: more Alert cleanups
8884 2003-03-29 John Levon <levon@movementarian.org>
8886 * bufferview_funcs.C: remove pointless Alert
8888 * buffer.C: fix confusing error message when
8889 a template is chmoded 000
8891 2003-03-29 John Levon <levon@movementarian.org>
8895 * BufferView_pimpl.C: Alert fixes
8899 * tabular-old.C: remove unused table compat reading
8901 2003-03-29 John Levon <levon@movementarian.org>
8906 * lyx_cb.C: more Alert cleanups
8908 * lyxfunc.C: don't allow chktex if not latex document
8910 2003-03-29 John Levon <levon@movementarian.org>
8914 * buffer.C: warnings pushed down from support/,
8917 2003-03-29 John Levon <levon@movementarian.org>
8919 * lyxfunc.C: safety check for C-r (revert)
8921 2003-03-29 John Levon <levon@movementarian.org>
8924 * bufferlist.C: several UI fixes using Alert::prompt.
8925 Fix the pointless looping quit code. Fix stupid revert
8930 * lyx_cb.C: use Alert::prompt
8932 * lyx_main.C: remove a silly question
8934 * lyxfunc.C: remove a couple of silly questions,
8937 2003-03-28 John Levon <levon@movementarian.org>
8939 * text2.C: fix bug 974 (End on empty par)
8941 2003-03-28 John Levon <levon@movementarian.org>
8943 * BufferView_pimpl.C:
8945 * lfuns.h: remove do-nothing math greek lfuns
8947 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8949 * lyxgluelength.h (isValidGlueLength): add default arg on
8950 parameter 2. Remove default arg from friend in class.
8952 * lyxlength.h (isValidLength): add default arg on parameter 2.
8953 Remove default arg from friend in class.
8955 * text2.C (LyXText): adjust, initialize refresh_row.
8959 (insertParagraph): adjst
8960 (redoParagraphs): adjust
8961 (fullRebreak): adjust
8962 (updateCounters): adjust
8963 (deleteEmptyParagraphMechanism): first attempt at fixing a
8966 * text.C (top_y): adjust
8967 (setHeightOfRow): adjust
8969 (getRowNearY): adjust
8971 * lyxtext.h: include RowList.h
8972 (~LyXText): not needed anymore, deleted.
8973 (firstRow): modify for RowList
8974 (lastRow): new function
8975 Delete firstrow and lastrow class variables, add a Rowlist
8976 rowlist_ class variable.
8978 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8981 * RowList.C (insert): fix case where it == begin().
8983 2003-03-26 Angus Leeming <leeming@lyx.org>
8985 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8986 the thesaurus dialog.
8988 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8990 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8992 * RowList.[Ch]: new files
8994 * ParagraphList.C (erase): handle the case where it == begin
8997 2003-03-25 John Levon <levon@movementarian.org>
9001 * aspell.C: add new aspell support
9004 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9007 2003-03-25 Angus Leeming <leeming@lyx.org>
9010 * LyXAction.C (init): new LFUN_INSET_INSERT.
9012 * BufferView_pimpl.C (dispatch): split out part of the
9013 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9015 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9018 2003-03-25 Angus Leeming <leeming@lyx.org>
9020 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9022 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9025 * text3.C: remove useless row->height(0)
9027 2003-03-25 John Levon <levon@movementarian.org>
9031 * text3.C: rename the refreshing stuff to better names
9033 2003-03-24 John Levon <levon@movementarian.org>
9035 * BufferView_pimpl.h:
9036 * BufferView_pimpl.C: update layout choice on a mouse
9039 2003-03-23 John Levon <levon@movementarian.org>
9041 * Makefile.am: fix commandtags.h reference
9043 2003-03-22 John Levon <levon@movementarian.org>
9045 * BufferView_pimpl.C:
9050 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9052 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9055 * text.C: take the rtl methods out of line
9057 2003-03-21 André Pönitz <poenitz@gmx.net>
9059 * metricsinfo.[Ch]: new files containing structures to be passed around
9060 during the two-phase-drawing...
9062 2003-03-21 André Pönitz <poenitz@gmx.net>
9064 * lyxtextclass.C: read 'environment' tag.
9066 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9068 * text2.C (removeRow): fix bug 964
9070 2003-03-20 John Levon <levon@movementarian.org>
9074 * text2.C: paint cleanups. Inset::update() dropped font
9077 2003-03-19 John Levon <levon@movementarian.org>
9079 * lyxfunc.C: only fitcursor/markDirty if available()
9081 2003-03-19 John Levon <levon@movementarian.org>
9083 * commandtags.h: rename to ...
9085 * lfuns.h: ... this, and renumber / cleanup
9087 2003-03-19 John Levon <levon@movementarian.org>
9089 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9090 fit the cursor after an lfun
9094 * BufferView_pimpl.h:
9095 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9097 * LyXAction.C: layout-character should have ReadOnly
9099 * ParagraphParameters.C:
9101 * bufferview_funcs.C:
9108 * undo_funcs.C: changes from above
9110 2003-03-18 John Levon <levon@movementarian.org>
9112 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9113 remove it from update()
9115 * lyxfunc.C: update layout choice after an lfun
9117 * text3.C: remove extra updateLayoutChoice()s
9119 2003-03-18 John Levon <levon@movementarian.org>
9121 * text.C: top_y change means full repaint, fix
9122 a drawing bug with cursor movement
9124 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9128 * text2.C: anchor row on setCursor
9130 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9132 * lyxtext.h: remove almost all mutable keywords
9135 * text3.C: remove const keywords accordingly
9137 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9139 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9141 (TeXEnvironment): ditto
9144 2003-03-17 John Levon <levon@movementarian.org>
9146 * text.C (rowBreakPoint): remove attempt to fix displayed
9147 math insets inside a manual label
9149 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9151 * lyxtext.h: remove BufferView* as first arg from almost all class
9153 * other files: adjust.
9155 2003-03-17 John Levon <levon@movementarian.org>
9159 * text2.C: more paint cleanups
9161 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9164 * rowpainter.C: remove "smart" background painting code
9166 2003-03-16 John Levon <levon@movementarian.org>
9171 * text3.C: add helper functions for setting refresh_row/y
9173 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9175 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9176 newline inset which *can* get inserted in the pass_thru layouts.
9177 This is primarily for literate documents.
9179 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9181 * buffer.C: increment LYX_FORMAT to 223
9183 2003-03-14 André Pönitz <poenitz@gmx.net>
9185 * textclass.h: prepare for environment handling, ws changes
9186 * lyxlayout.C: read latexheader and latexfooter tags
9188 2003-03-14 John Levon <levon@movementarian.org>
9190 * text2.C: rewrite ::status() a bit
9192 2003-03-13 John Levon <levon@movementarian.org>
9194 * lyxtext.h: add some docs
9196 2003-03-13 John Levon <levon@movementarian.org>
9201 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9203 2003-03-13 John Levon <levon@movementarian.org>
9205 * text3.C: fix appendix redrawing
9207 2003-03-13 John Levon <levon@movementarian.org>
9209 * text.C (setHeightOfRow):
9211 * rowpainter.C: make appendix mark have the text
9212 "Appendix" so the user knows what it is
9215 * LColor.C: s/appendixline/appendix/ from above
9217 2003-03-13 John Levon <levon@movementarian.org>
9219 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9221 * text.C: fix a getChar(pos) bug properly
9223 2003-03-13 Angus Leeming <leeming@lyx.org>
9226 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9227 Probably only temporary. Let's see how things pan out.
9229 * BufferView.C (unlockInset):
9230 * BufferView_pimpl.C (fitCursor):
9231 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9233 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9234 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9236 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9237 new functions that convert ParagraphParameters to and from a string.
9239 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9240 BufferView::Pimpl's dispatch.
9241 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9243 2003-03-13 André Pönitz <poenitz@gmx.net>
9247 * factory.C: make it aware of InsetEnv
9249 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9251 * text2.C (setCursor): never ask for one past last
9252 (setCursor): add some debugging messages.
9254 * text.C (singleWidth): never ask for one past last
9255 (singleWidth): ditto
9257 (rightMargin): ditto
9258 (rowBreakPoint): ditto
9259 (setHeightOfRow): ditto
9260 (prepareToPrint): ditto
9262 * rowpainter.C (paintBackground): never ask for one past last
9263 (paintText): never ask for one past last
9265 * paragraph_pimpl.C (getChar): make the assert stricter, never
9266 allow the one past last pos to be taken
9268 * paragraph.C (getChar): ws changes only
9270 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9271 (numberOfSeparators): ditto
9272 (numberOfHfills): ditto
9274 2003-03-12 John Levon <levon@movementarian.org>
9280 * paragraph_funcs.C: fix per-buffer authorlists
9282 2003-03-12 John Levon <levon@movementarian.org>
9284 * text.C: fix newline in right address
9286 2003-03-12 Angus Leeming <leeming@lyx.org>
9288 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9289 duplicate those in LyXFunc::dispatch.
9293 * ToolbarDefaults.C:
9294 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9295 Add LFUN_FONTFREE_UPDATE.
9297 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9298 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9300 * bufferview_func.[Ch]: several new functions to facilliate
9301 transfer of data to and from the character dialog.
9303 2003-03-12 John Levon <levon@movementarian.org>
9308 * paragraph_funcs.C:
9309 * paragraph_pimpl.C:
9313 * text3.C: remove META_NEWLINE in favour of an inset
9316 * rowpainter.C: remove paintNewline (done by inset)
9318 2003-03-12 John Levon <levon@movementarian.org>
9320 * paragraph_pimpl.C: complain about bad getChar()s
9321 for a while at least
9323 2003-03-12 John Levon <levon@movementarian.org>
9326 * buffer.C: move paragraph read into a separate function,
9327 a little renaming to reflect that.
9330 * bufferparams.C: remove the author_ids map, not necessary now
9333 * factory.C: moved Buffer::readInset to here
9335 * paragraph_funcs.h:
9336 * paragraph_funcs.C: readParagraph free function moved from
9339 * tabular.C: name change
9341 2003-03-12 John Levon <levon@movementarian.org>
9344 * ParagraphParameters.C: move par params input to
9347 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9348 behave like a normal read from the stream wrt reading
9349 a line vs. a \\token
9351 2003-03-12 John Levon <levon@movementarian.org>
9354 * ParagraphParameters.h:
9355 * ParagraphParameters.C: move output code to a
9358 2003-03-12 John Levon <levon@movementarian.org>
9360 * BufferView.C (insertLyXFile):
9363 * tabular.C: use a parlist iterator for creating the
9366 2003-03-12 John Levon <levon@movementarian.org>
9368 * buffer.C: make current_change static local not
9371 2003-03-12 John Levon <levon@movementarian.org>
9373 * buffer.C: fix insertStringAsLines for change tracking
9375 2003-03-12 John Levon <levon@movementarian.org>
9382 * bufferparams.C: move author list into params. Rename some
9383 functions. Move the header reading into a separate token
9384 loop. Move the header token reading into BufferParams.
9386 2003-03-12 John Levon <levon@movementarian.org>
9388 * changes.C: put debug inside lyxerr.debugging() checks
9390 2003-03-11 André Pönitz <poenitz@gmx.net>
9392 * factory.C: make it aware of InsetHFill
9394 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9396 * buffer.C (latexParagraphs): move function from here...
9397 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9400 2003-03-10 Angus Leeming <leeming@lyx.org>
9402 * LyXAction.C (init): fix bug in poplating array with multiple entries
9403 with the same LFUN (spotted by JMarc).
9405 2003-03-10 John Levon <levon@movementarian.org>
9408 * text2.C: move getColumnNearX() near its
9411 2003-03-10 John Levon <levon@movementarian.org>
9413 * text.C: fix break before a minipage
9415 2003-03-10 John Levon <levon@movementarian.org>
9417 * text.C: fix the last commit
9419 2003-03-09 John Levon <levon@movementarian.org>
9423 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9424 bug 365 (don't break before insets unless needed). Don't
9425 return a value > last under any circumstances.
9427 2003-03-09 Angus Leeming <leeming@lyx.org>
9429 * BufferView_pimpl.C (trackChanges, dispatch): call
9430 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9432 2003-03-09 Angus Leeming <leeming@lyx.org>
9434 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9435 than Dialogs::showAboutlyx().
9437 2003-03-09 Angus Leeming <leeming@lyx.org>
9439 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9440 than Dialogs::showTabularCreate().
9442 2003-03-09 John Levon <levon@movementarian.org>
9446 * text2.C: 3rd arg to nextBreakPoint was always the same.
9449 2003-03-08 John Levon <levon@movementarian.org>
9456 * text2.C: Remove the "main" bit from the "main body"
9459 2003-03-08 John Levon <levon@movementarian.org>
9461 * text.C (leftMargin): The left margin of an empty
9462 manual label paragraph should not include the label width
9465 * text.C (prepareToPrint): don't attempt to measure hfills
9466 for empty manual label paragraphs - the answer should be 0
9468 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9470 * CutAndPaste.C: remove commented code and reindent.
9472 2003-03-08 John Levon <levon@movementarian.org>
9475 * lyxfunc.C: move reloadBuffer()
9478 * BufferView.C: to here
9480 * lyxvc.C: add comment
9483 * vc-backend.C: call bv->reload() to avoid
9484 getStatus() check on MENURELOAD
9486 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9488 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9489 to an old format .dep file.
9491 2003-03-07 Angus Leeming <leeming@lyx.org>
9493 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9494 when the LFUN_MOUSE_RELEASE should have been handled by
9495 inset->localDispatch.
9497 2003-03-07 Angus Leeming <leeming@lyx.org>
9499 * BufferView_pimpl.C (dispatch):
9500 * LyXAction.C (init):
9501 * ToolbarDefaults.C (init):
9503 * lyxfunc.C (getStatus):
9504 remove LFUN_INSET_GRAPHICS.
9506 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9508 2003-03-07 Angus Leeming <leeming@lyx.org>
9511 * LyXAction.C (init):
9512 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9514 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9517 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9519 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9520 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9522 2003-03-07 Angus Leeming <leeming@lyx.org>
9524 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9527 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9529 * ParagraphList.C (front): new function
9532 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9534 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9535 and top_row_offset_. removed var first_y.
9537 * text2.C (LyXText, removeRow):
9539 * BufferView_pimpl.C:
9540 use these methods instead of using first_y
9542 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9544 * text2.C (pasteSelection): adjust for checkPastePossible
9546 * CutAndPaste.C: remove Paragraph * buf and replace with
9547 ParagraphList paragraphs.
9548 (DeleteBuffer): delete
9549 (cutSelection): change the tc type to textclass_type
9550 (copySelection): change the tc type to textclass_type
9551 (copySelection): adjust for ParagraphList
9552 (pasteSelection): change the tc type to textclass_type
9553 (pasteSelection): adjust for Paragraphlist
9554 (nrOfParagraphs): simplify for ParagraphList
9555 (checkPastePossible): simplify for ParagraphList
9556 (checkPastePossible): remove unused arg
9558 * ParagraphList.C (insert): handle the case where there are no
9561 * CutAndPaste.h: make CutAndPaste a namespace.
9563 * text3.C (dispatch): adjust
9565 * text.C (breakParagraph): add a ParagraphList as arg
9567 * paragraph_funcs.C (breakParagraph): change to take a
9568 BufferParams and a ParagraphList as args.
9569 (breakParagraphConservative): ditto
9570 (mergeParagraph): ditto
9571 (TeXDeeper): add a ParagraphList arg
9572 (TeXEnvironment): ditto
9575 * buffer.C (readLyXformat2): adjust
9576 (insertStringAsLines): adjust
9577 (latexParagraphs): adjust
9579 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9580 (cutSelection): adjust
9581 (pasteSelection): adjust
9583 * BufferView_pimpl.C (insertInset): adjust
9585 2003-03-05 Angus Leeming <leeming@lyx.org>
9588 * LyXAction.C (init):
9589 * BufferView_pimpl.C (dispatch):
9590 * lyxfunc.C (getStatus):
9591 remove LFUN_CHILD_INSERT.
9593 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9595 2003-03-05 Angus Leeming <leeming@lyx.org>
9598 * LyXAction.C (init):
9599 * src/factory.C (createInset):
9600 * lyxfunc.C (getStatus):
9601 * text3.C (dispatch):
9602 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9604 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9606 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9608 * ParagraphList.C (insert): handle insert right before end()
9609 (erase): fix cases where it can be first or last paragraph.
9611 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9613 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9614 Paragraph::next and Paragraph::previous
9617 * text.C (breakParagraph): adjust
9619 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9620 BufferParams& as arg.
9621 (breakParagraph): use ParagraphList::insert
9622 (breakParagraphConservative): take a Buffer* instead of a
9623 BufferParams& as arg.
9624 (breakParagraphConservative): use ParagraphList::insert.
9626 * buffer.C (insertStringAsLines): un-const it
9627 (insertStringAsLines): adjust
9629 * ParagraphList.C (insert): new function
9631 * CutAndPaste.C (pasteSelection): adjust
9633 * text.C (backspace): adjust
9635 * tabular.C (SetMultiColumn): adjust
9637 * CutAndPaste.C (cutSelection): adjust
9638 (pasteSelection): adjust
9640 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9641 Buffer const * as arg
9643 * ParagraphList.C (erase): new function
9644 * paragraph_funcs.C (mergeParagraph): use it
9645 (mergeParagraph): make it take a Buffer* instead of a
9646 BufferParams* as arg
9648 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9650 (breakParagraphConservative): ditto
9652 * paragraph.h: remove the breakParagraph friend
9654 * paragraph.C (eraseIntern): new function
9655 (setChange): new function
9657 * paragraph_funcs.C (mergeParagraph): make it take a
9658 ParagraphList::iterator instead of a Paragraph *, adjust
9661 * paragraph.h: move an #endif so that the change tracking stuff
9662 also works in the NO_NEXT case.
9664 2003-03-04 Angus Leeming <leeming@lyx.org>
9667 * LyXAction.C: new LFUN_INSET_MODIFY.
9669 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9670 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9672 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9674 * several files: ws changes only
9676 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9677 (TeXEnvironment): ditto
9680 * buffer.C (makeLaTeXFile): adjust
9681 (latexParagraphs): make it take ParagraphList::iterator as args
9683 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9685 * buffer.C (latexParagraphs): adjust
9687 * paragraph.C (TeXOnePar): move function...
9688 (optArgInset): move function...
9689 (TeXEnvironment): move function...
9690 * paragraph_pimpl.C (TeXDeeper): move function...
9691 * paragraph_funcs.C: ...here
9693 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9695 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9697 * buffer.C (readInset): remove compability code for old Figure and
9700 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9702 * buffer.C: ws changes
9705 * BufferView_pimpl.C: ditto
9708 * bufferlist.h: ditto
9712 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9714 * converter.[Ch]: split into itself +
9717 * Makefile.am: += graph.[Ch] + format.[Ch]
9724 * lyxrc.C: added #include "format.h"
9726 2003-02-27 Angus Leeming <leeming@lyx.org>
9728 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9731 * factory.C (createInset): add "label" to the factory.
9733 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9734 string and do no more.
9736 2003-02-27 Angus Leeming <leeming@lyx.org>
9739 * LyXAction.C (init):
9740 * factory.C (createInset):
9741 * BufferView_pimpl.C (dispatch):
9742 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9744 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9746 * lyxfunc.C (dispatch):
9747 * text3.C (dispatch): pass name to params2string.
9749 2003-02-26 Angus Leeming <leeming@lyx.org>
9751 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9753 Rearrange the ~includes. Strip out the unnecessary ones.
9755 * factory.C (createInset): reformat.
9756 create new insets for the various LFUN_XYZ_APPLY lfuns.
9758 2003-02-26 John Levon <levon@movementarian.org>
9761 * lyxrow.C: add isParStart,isParEnd helpers
9763 * paragraph.h: make isInserted/DeletedText take refs
9765 * paragraph_funcs.h:
9766 * paragraph_funcs.C: remove #if 0'd code
9771 * text.C: use lyxrow helpers above.
9772 Move draw and paint routines to RowPainter.
9773 Make several methods use refs not pointers.
9774 Make backgroundColor() const.
9775 Add markChangeInDraw(), isInInset().
9776 Merge changeRegionCase into changeCase.
9777 Make workWidth() shouldn't-happen code into an Assert.
9780 * rowpainter.C: new class for painting a row.
9783 * vspace.C: make inPixels take a ref
9785 2003-02-26 Angus Leeming <leeming@lyx.org>
9787 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9790 2003-02-25 John Levon <levon@movementarian.org>
9792 * ispell.C: give the forked command a more accurate name
9794 2003-02-22 John Levon <levon@movementarian.org>
9797 * toc.C: make TocItem store an id not a Paragraph *
9800 2003-02-21 Angus Leeming <leeming@lyx.org>
9802 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9803 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9804 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9805 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9806 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9807 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9809 * BufferView_pimpl.C (dispatch):
9810 * LyXAction.C (init):
9811 * factory.C (createInset):
9812 * lyxfunc.C (getStatus, dispatch):
9813 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9815 2003-02-21 Angus Leeming <leeming@lyx.org>
9817 * BufferView_pimpl.C (MenuInsertLyXFile):
9818 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9819 * lyxfunc.C (menuNew, open, doImport):
9820 no longer pass a LyXView & to fileDlg.
9822 2003-02-21 Angus Leeming <leeming@lyx.org>
9824 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9825 * LyXAction.C: change, BIBKEY to BIBITEM.
9826 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9827 Change InsetBibKey to InsetBibitem.
9828 Change BIBKEY_CODE to BIBITEM_CODE.
9829 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9830 * factory.C: replace insetbib.h with insetbibitem.h.
9831 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9832 * paragraph.C: replace insetbib.h with insetbibitem.h.
9833 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9834 Change bibkey() to bibitem().
9835 * text.C: remove insetbib.h.
9836 * text2.C: replace insetbib.h with insetbibitem.h.
9837 change bibkey() to bibitem().
9838 * text3.C: remove insetbib.h.
9839 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9841 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9843 * lyxrc.C (output): enclose user email in quotes (in case there are
9846 2003-02-18 John Levon <levon@movementarian.org>
9848 * buffer.h: add std::
9850 2003-02-17 John Levon <levon@movementarian.org>
9856 * pspell.C: reworking. Especially in ispell, a large
9857 number of clean ups and bug fixes.
9859 * lyxfunc.C: fix revert to behave sensibly
9861 2003-02-17 André Pönitz <poenitz@gmx.net>
9864 * commandtags.h: new LFUN_INSERT_BIBKEY
9874 * paragraph_func.C: remove special bibkey handling
9876 2003-02-17 John Levon <levon@movementarian.org>
9878 * text.C (Delete): fix case where delete at the end of
9879 the very first paragraph would not merge the pars
9881 2003-02-17 John Levon <levon@movementarian.org>
9883 * lyxrow.C: fix lastPrintablePos()
9885 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9887 * bufferparams.C (writeLaTeX): add a std:here
9889 * buffer.C: and remove a using directive there
9891 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9893 * buffer.C (makeLaTeXFile): move the code that generates the
9896 * bufferparams.C (writeLaTeX): ... in this new method
9898 * LaTeXFeatures.C (getEncodingSet): make const
9899 (getLanguages): make const
9901 * MenuBackend.C (binding): returns the binding associated to this
9903 (add): sets the status of each item by calling getStatus. Adds
9905 (read): add support for OptSubMenu
9906 (expand): remove extra separator at the end of expanded menu
9908 2003-02-15 John Levon <levon@movementarian.org>
9911 * BufferView_pimpl.C:
9913 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9914 inset code that had no actual effect. Remove unneeded status
9917 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9919 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9922 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9924 * text.C (drawLengthMarker): also draw an arrow marker for
9925 symbolic lengths (medskip...)
9927 2003-02-14 John Levon <levon@movementarian.org>
9930 * tabular.C: better method names
9932 2003-02-14 John Levon <levon@movementarian.org>
9934 * BufferView_pimpl.C:
9939 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9940 it's a more accurate name. Remove some pointless uses.
9942 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9944 * text2.C (LyXText): change order of initilizers to shut off
9947 2003-02-14 John Levon <levon@movementarian.org>
9949 * buffer.C: use ParIterator for getParFromID()
9953 * paragraph_pimpl.h:
9954 * paragraph_pimpl.C: remove unused getParFromID()
9956 2003-02-14 John Levon <levon@movementarian.org>
9958 * buffer.C: remove some very old #if 0'd parse code
9960 2003-02-13 John Levon <levon@movementarian.org>
9964 * text2.C: move hfillExpansion(), numberOfSeparators(),
9965 rowLast(), rowLastPrintable(), numberofHfills(),
9966 numberOfLabelHfills() ...
9969 * lyxrow.C: ... to member functions here.
9974 * text.C: remove LyXText::beginningOfMainBody(), and call
9975 p->beginningOfMainBody() directly. Move the check for
9976 LABEL_MANUAL into the latter.
9983 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9989 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9990 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9992 2003-02-13 John Levon <levon@movementarian.org>
9994 * CutAndPaste.C: remove debug
9996 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9998 * paragraph.C (asString): remove two unused variables
10000 * lyxtextclass.C (readTitleType):
10002 (LyXTextClass): handle new members titletype_ and titlename_
10004 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10006 2003-02-09 John Levon <levon@movementarian.org>
10009 * buffer.C: replace hand-coded list with a map for the dep clean
10011 2003-02-08 John Levon <levon@movementarian.org>
10013 * LaTeX.C: consolidate code into showRunMessage() helper
10015 2003-02-08 John Levon <levon@movementarian.org>
10020 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10021 and pass the size in explicitly
10023 * BufferView_pimpl.h:
10024 * BufferView_pimpl.C:
10026 * BufferView.C: add getCurrentChange()
10028 * BufferView_pimpl.h:
10029 * BufferView_pimpl.C: handle change lfuns
10031 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10032 for changes. Mark pasted paragraphs as new.
10034 * support/lyxtime.h:
10035 * support/lyxtime.C:
10036 * DepTable.C: abstract time_t as lyx::time_type
10039 * LColor.C: add colours for new text, deleted text, changebars
10041 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10042 package use "usenames" option.
10046 * LyXAction.C: add change lfuns
10050 * author.C: author handling
10053 * buffer.C: add a per-buffer author list, with first entry as
10054 current author. Handle new .lyx tokens for change tracking. Output
10055 author list to .lyx file. Output dvipost stuff to .tex preamble.
10056 Bump lyx format to 222.
10059 * bufferlist.C: add setCurrentAuthor() to reset current author details
10063 * bufferparams.C: add param for tracking
10065 * bufferview_funcs.C: output change info in minibuffer
10069 * changes.C: add change-tracking structure
10072 * debug.C: add CHANGES debug flag
10075 * lyxfind.C: add code for finding the next change piece
10078 * lyxrc.C: add user_name and user_email
10081 * lyxrow.C: add a metric for the top of the text line
10084 * text.C: implement accept/rejectChange()
10087 * text.C: paint changebars. Paint new/deleted text in the chosen
10088 colours. Strike through deleted text.
10092 * paragraph_pimpl.h:
10093 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10094 in the current change to the insert functions. Rework erase to
10095 mark text as deleted, adding an eraseIntern() and a range-based
10096 erase(). Implement per-paragraph change lookup and
10099 * paragraph_funcs.C: Fixup paste for change tracking.
10101 * tabular.C: mark added row/columns as new.
10103 * text.C: fix rowLast() to never return -1. Don't allow
10104 spellchecking of deleted text. Track transpose changes. Don't
10105 allow paragraph break or merge where appropriate.
10107 * text2.C: leave cursor at end of selection after a cut.
10109 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10111 * text.C (getLengthMarkerHeight):
10112 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10113 visible on screen too.
10115 2003-02-07 John Levon <levon@movementarian.org>
10117 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10119 2003-02-05 Angus Leeming <leeming@lyx.org>
10121 * lyxserver.C (read_ready): revert my patch of 11 September last year
10122 as it sends PC cpu through the roof. Presumably this means that
10123 the lyxserver will no longer run on an Alpha...
10125 2003-01-30 Angus Leeming <leeming@lyx.org>
10127 * factory.C (createInset): create an InsetCommandParam of type "index"
10128 and use it to 'do the right thing'.
10130 * text2.C (getStringToIndex): ensure that cursor position is always
10131 reset to the reset_cursor position.
10133 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10135 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10138 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10142 * lyxfunc.C: Output messages with identical spelling, punctuation,
10145 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10147 * MenuBackend.C (expandFormats): List only viewable export formats
10150 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10153 * lyxfunc.C (getStatus): Make sure that formats other than
10154 "fax" can also be disabled
10156 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10158 * text3.C (dispatch): put the lfuns that insert insets in 3
10159 groups, and call doInsertInset with appropriate arguments.
10160 (doInsertInset): new function, that creates an inset and inserts
10161 it according to some boolean parameters.
10163 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10165 * buffer.C (readFile): remember to pass on 'par' when calling
10166 readFile recursively.
10168 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10170 * MenuBackend.C (expandFormats): add "..." to import formats.
10172 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10174 * paragraph.C (asString): Remove XForms RTL hacks.
10176 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10177 * buffer.C: fix typo
10179 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10181 * Makefile.am (LIBS): delete var
10182 (lyx_LDADD): add @LIBS@ here instead.
10184 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10186 * Clarify the meaning of "wheel mouse jump"
10188 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10190 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10193 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10195 * importer.C (Loaders): do not preallocate 3 elements in the
10196 vector, since one ends up with 6 elements otherwise
10198 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10200 * DepTable.C (write): write the file name as last element of the
10201 .dep file (because it may contain spaces)
10202 (read): read info in the right order
10204 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10206 * paragraph_pimpl.C (simpleTeXBlanks):
10207 (simpleTeXSpecialChars):
10208 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10210 * tabular.C (latex): add some missing case statements. Reindent.
10212 * MenuBackend.C (expandToc): remove unused variable.
10214 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10223 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10226 2003-01-05 John Levon <levon@movementarian.org>
10229 * BufferView.C: add getEncoding()
10232 * kbsequence.C: do not store last keypress
10235 * lyxfunc.C: store last keypress here instead. Pass encoding
10238 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10240 * lyx_main.C (init): remove annoying error message when following
10241 symbolic links (bug #780)
10243 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10245 * text.C (insertChar):
10246 * lyxrc.C (getDescription): remove extra spaces
10248 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10250 * lyxrc.C (getDescription): remove extra spaces
10252 2002-12-20 John Levon <levon@movementarian.org>
10254 * text3.C: hack fix for page up/down across tall rows
10256 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10258 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10261 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10263 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10264 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10265 thesaurus is not compiled in
10267 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10269 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10271 2002-12-16 Angus Leeming <leeming@lyx.org>
10274 * lyx_main.C (init): remove override_x_deadkeys stuff.
10276 2002-12-12 John Levon <levon@movementarian.org>
10278 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10279 insert. Only remove shift modifier under strict
10282 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10284 * MenuBackend.C (expandToc): fix crash.
10286 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10288 * MenuBackend.C (expandToc): gettext on float names.
10290 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10292 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10293 implement bool empty() [bug 490]
10295 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10297 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10299 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10301 * several files: ws changes
10303 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10305 * text2.C (setCounter): clean up a bit, use boost.format.
10306 (updateCounters): initialize par upon declaration.
10308 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10309 if the layout exists. We do not just store the layout any more.
10310 (SwitchLayoutsBetweenClasses): use boost.format
10312 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10314 * converter.C (convert): if from and to files are the same, use a
10315 temporary files as intermediary
10317 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10320 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10322 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10324 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10326 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10328 * tabular.C (asciiPrintCell): use string(size, char) instead of
10331 * sgml.C (openTag): fix order of arguments to string constructor
10334 * lyxfunc.C (dispatch): use boost.format
10336 * lots of files: change "c" -> 'c'
10338 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10340 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10342 2002-11-25 Angus Leeming <leeming@lyx.org>
10344 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10346 * lyx_main.C (init): compile fix.
10348 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10350 * lyx_cb.C (start): boost.formatify
10351 do not include <iostream>
10353 * lengthcommon.C: ws only
10355 * boost-inst.C,BoostFormat.h: add more explict instantations
10357 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10359 * lots of files: handle USE_BOOST_FORMAT
10361 2002-11-21 John Levon <levon@movementarian.org>
10363 * pspell.C: fix compile
10365 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10367 * lyxfunc.C (dispatch): use boost::format
10371 * lyxfont.C (stateText): use boost::format
10373 * lyx_main.C (LyX): use boost::format
10375 (queryUserLyXDir): ditto
10376 (readRcFile): ditto
10378 (typedef boost::function): use the recommened syntax.
10380 * importer.C (Import): use boost::format
10382 * debug.C (showLevel): use boost::format
10384 * converter.C (view): use boost::format
10389 * bufferview_funcs.C (currentState): use boost::format
10391 * bufferlist.C (emergencyWrite): use boost::format
10393 * buffer.C (readLyXformat2): use boost::format
10394 (parseSingleLyXformat2Token): ditto
10396 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10398 * LaTeX.C (run): use boost::format
10400 * Chktex.C (scanLogFile): use boost::format
10402 * BufferView_pimpl.C (savePosition): use boost::format
10403 (restorePosition): ditto
10404 (MenuInsertLyXFile): ditto
10406 * BoostFormat.h: help file for explicit instation.
10408 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10410 * tabular.C (latex): Support for block alignment in fixed width
10413 2002-11-17 John Levon <levon@movementarian.org>
10415 * BufferView_pimpl.C:
10417 * lyxfunc.C: split filedialog into open/save
10419 2002-11-08 Juergen Vigna <jug@sad.it>
10421 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10422 by my last patch (hopefully).
10424 2002-11-08 John Levon <levon@movementarian.org>
10433 * toc.C: ParConstIterator, and use it (from Lars)
10435 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10437 * lyxtextclass.[Ch]: revise and add doxygen comments
10439 2002-11-07 John Levon <levon@movementarian.org>
10441 * text.C: fix progress value for spellchecker
10443 * toc.C: fix navigate menu for insetwrap inside minipage
10445 * paragraph_funcs.C: added FIXME for suspect code
10447 2002-11-07 John Levon <levon@movementarian.org>
10449 * BufferView_pimpl.C: fix redrawing of insets
10452 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10454 * text2.C (updateCounters): fix bug 668
10456 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10458 * text3.C (dispatch): Do not make the buffer dirty when moving the
10461 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10463 * vc-backend.C: STRCONV
10464 (scanMaster): ditto
10466 * text2.C (setCounter): STRCONV
10468 * paragraph.C (asString): STRCONV
10470 * lyxlength.C (asString): STRCONV
10471 (asLatexString): ditto
10473 * lyxgluelength.C (asString): STRCONV
10474 (asLatexString): ditto
10476 * lyxfunc.C (dispatch): STRCONV
10479 * lyxfont.C (stateText): STRCONV
10481 * importer.C (Import): STRCONV
10483 * counters.C (labelItem): STRCONV
10484 (numberLabel): ditto
10485 (numberLabel): remove unused ostringstream o
10490 * bufferview_funcs.C (currentState): STRCONV
10492 * buffer.C (readFile): STRCONV
10493 (asciiParagraph): ditto
10494 (makeLaTeXFile): ditto
10496 * Spacing.C (writeEnvirBegin): STRCONV
10498 * LaTeXFeatures.C (getLanguages): STRCONV
10499 (getPackages): ditto
10501 (getBabelOptions): ditto
10502 (getTClassPreamble): ditto
10503 (getLyXSGMLEntities): ditto
10504 (getIncludedFiles): ditto
10508 (scanAuxFile): ditto
10511 * LString.h: add the STRCONV macros
10513 * BufferView_pimpl.C (savePosition): STRCONV
10514 (restorePosition): ditto
10515 (MenuInsertLyXFile): ditto
10517 * vc-backend.C (scanMaster): change from submatch[...] to
10520 * funcrequest.C: include config.h
10522 * factory.C: include config.h
10524 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10526 * box.C: include config.h
10528 * LaTeX.C (scanAuxFile): change from submatch[...] to
10532 2002-10-25 Angus Leeming <leeming@lyx.org>
10534 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10536 * ispell.[Ch] (setError): new method.
10537 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10538 Use setError() insetead of goto END.
10540 * lyx_cb.C (AutoSave): move out child process into new class
10543 2002-10-30 John Levon <levon@movementarian.org>
10545 * text3.C: make start appendix undoable
10547 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10549 * lyxlength.C (inPixels): Fix returned value.
10551 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10554 2002-10-24 Angus Leeming <leeming@lyx.org>
10556 * lyxgluelength.h: no need to forward declare BufferParams
10557 or BufferView, so don't.
10559 2002-10-21 John Levon <levon@movementarian.org>
10561 * BufferView.C: menuUndo ->undo, redo
10563 * BufferView.h: document, remove dead, make some methods private
10565 * paragraph_funcs.h:
10566 * paragraph_funcs.C:
10567 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10572 * sgml.C: move sgml open/close tag into sgml.C
10574 * bufferview_funcs.h: unused prototype
10577 * lyxfunc.C: remove unused
10580 * text.C: remove unused
10582 2002-10-21 John Levon <levon@movementarian.org>
10586 * BufferView_pimpl.h:
10587 * BufferView_pimpl.C: fix mouse wheel handling based on
10588 patch from Darren Freeman
10590 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10592 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10594 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10596 * lyxlength.C (inPixels): Fix hanfling of negative length.
10597 Fix LyXLength::MU case.
10599 2002-10-16 John Levon <levon@movementarian.org>
10601 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10603 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * converter.C (view): add support for $$i (file name) and $$p
10606 (file path) for the viewer command. If $$i is not specified, then
10607 it is appended to the command (for compatibility with old syntax)
10609 2002-10-14 Juergen Vigna <jug@sad.it>
10611 * undo_funcs.C (textHandleUndo): alter the order in which the
10612 new undopar is added to the LyXText, as we have to set first
10613 the right prev/next and then add it as otherwise the rebuild of
10614 LyXText is not correct. Also reset the cursor to the right paragraph,
10615 with this IMO we could remove the hack in "redoParagraphs()".
10617 2002-10-09 Angus Leeming <leeming@lyx.org>
10619 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10620 to turn off an optimisation if a new inset is to be inserted.
10622 2002-10-11 André Pönitz <poenitz@gmx.net>
10624 * lyxtext.h: make some functions public to allow access
10625 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10627 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10629 * text3.C (dispatch): when changing layout, avoid an infinite loop
10632 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10634 * lyxrc.C (read): treat a viewer or converter command of "none" as
10637 * MenuBackend.C (expandFormats): for an update, also allow the
10638 formats that are not viewable
10640 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10641 script if it is newer than the lyxrc.defaults in user directory
10643 2002-10-07 André Pönitz <poenitz@gmx.net>
10645 * text.C: Vitaly Lipatov's small i18n fix
10647 2002-09-25 Angus Leeming <leeming@lyx.org>
10649 * ispell.h: doxygen fix.
10651 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10653 * buffer.h (readFile): Add a new argument to the method, to allow
10654 reading of old-format templates.
10656 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10658 * toc.C (getTocList): Get TOC from InsetWrap.
10660 2002-09-16 John Levon <levon@movementarian.org>
10662 * lyxfunc.C: check tabular for cut/copy too
10664 2002-09-12 John Levon <levon@movementarian.org>
10666 * LyXAction.C: tidy
10669 * factory.C: add header
10671 * paragraph_funcs.h:
10672 * paragraph_funcs.C: cleanup
10674 2002-09-11 John Levon <levon@movementarian.org>
10676 * PrinterParams.h: odd/even default to true
10678 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10680 * PrinterParams.h: update printer parameters for new xforms dialog
10682 2002-09-11 Angus Leeming <leeming@lyx.org>
10684 * lyxserver.C (read_ready): re-write to make it more transparent
10685 and to make it work in coherent fashion under Tru64 Unix.
10687 2002-09-11 André Pönitz <poenitz@gmx.net>
10691 * text3.C: implement LFUN_WORDSEL
10693 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10695 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10696 make floatlist_ a boost::shared_ptr<FloatList>
10698 * lyxtextclass.C: include FloatList.h
10699 (LyXTextClass): initialize floatlist_
10700 (TextClassTags): add TC_NOFLOAT
10701 (Read): match "nofloat" to TC_NOFLOAT and use it.
10702 (readFloat): modify call to floatlist_
10706 * FloatList.[Ch] (FloatList): remove commented out float
10708 (erase): new function
10710 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10712 * MenuBackend.C (expandToc): fix crash when there is no document
10715 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10717 * many files: Add insetwrap.
10719 2002-09-09 John Levon <levon@movementarian.org>
10721 * text2.C: remove confusing and awkward depth wraparound
10723 2002-09-09 John Levon <levon@movementarian.org>
10725 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10728 * buffer.C: remove getIncludeonlyList()
10731 * lyxfunc.C: remove headers
10733 2002-09-09 Juergen Vigna <jug@sad.it>
10735 * text.C (getColumnNearX): fix form Michael this is most
10736 probably a cut&paste bug.
10738 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10740 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10742 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10743 references, ws changes.
10745 * text2.C (init): update counters after init
10746 (insertParagraph): no need to set counter on idividual paragraphs.
10747 (setCounter): access the counters object in the textclass object
10748 on in the buffer object.
10749 (updateCounters): ditto
10751 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10752 shared_ptr<Counters> to avoid loading counters.h in all
10754 (LyXTextClass): initialize ctrs_
10755 (TextClassTags): add TC_COUNTER, and ...
10756 (Read): use it here.
10757 (CounterTags): new tags
10758 (readCounter): new function
10759 (counters): new funtion
10760 (defaultLayoutName): return a const reference
10762 * counters.C (Counters): remove contructor
10763 (newCounter): remove a couple of unneeded statements.
10764 (newCounter): simplify a bit.
10765 (numberLabel): some small formatting changes.
10767 * buffer.[Ch]: remove all traces of counters, move the Counters
10768 object to the LyXTextClass.
10770 2002-09-06 Alain Castera <castera@in2p3.fr>
10772 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10773 package to set the horizontal alignment on fixed width columns.
10776 * lyx_sty.h: added tabularnewline macro def.
10778 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10780 2002-09-06 John Levon <levon@movementarian.org>
10782 * LyXAction.C: tooltips for sub/superscript
10784 * MenuBackend.C: a bit more verbose
10786 * lyxfunc.C: tiny clean
10788 * undo_funcs.C: document undo_frozen
10790 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10792 * counters.C (Counters): add missing algorithm counter.
10794 * text2.C (setCounter): lookup the counter with layouts latexname
10795 instead of by section number.
10796 (setCounter): use a hackish way to lookup the correct enum
10798 a float name->type change
10799 reset enum couners with counter name directly instead of depth value.
10801 * counters.C (Counters): remove the push_backs, change to use the
10802 float type not the float name.
10803 (labelItem): remove unused string, float name->type change
10805 * counters.h: don't include vector, loose the enums and sects vectors
10807 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10809 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10810 (Read): add float->TC_FLOAT to textclassTags
10811 (Read): and handle it in the switch
10812 (readFloat): new function
10814 * FloatList.C (FloatList): comment out the hardcoded float
10817 * lyxlayout.h: ws change.
10819 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10821 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10823 2002-09-03 Angus Leeming <leeming@lyx.org>
10825 * BufferView_pimpl.h: qualified name is not allowed in member
10826 declaration: WorkArea & Pimpl::workarea() const;
10828 * factory.C: added using std::endl directive.
10830 * text3.C: added using std::find and std::vector directives.
10832 2002-08-29 André Pönitz <poenitz@gmx.net>
10835 * text2.C: remove unused member number_of_rows
10838 * BufferView2.C: remove file, move contents to...
10839 * BufferView.C: ... here
10841 * BufferView_pimpl.C:
10842 * factory.C: move more inset creation to factory
10844 * vspace.C: avoid direct usage of LyXText, ws changes
10847 don't provide direct access to WorkArea, use two simple
10848 acessors haveSelction() and workHeight() instead
10851 2002-08-29 John Levon <levon@movementarian.org>
10853 * BufferView_pimpl.C (dispatch): do not continue when
10856 2002-08-28 André Pönitz <poenitz@gmx.net>
10858 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10861 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10863 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10865 * buffer.C: increment LYX_FORMAT to 221
10867 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10868 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10870 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10872 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10874 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10876 * factory.C (createInset): use LyXTextClass::floats
10878 * MenuBackend.C (expandFloatListInsert):
10879 (expandFloatInsert):
10882 * text2.C (setCounter):
10884 * LaTeXFeatures.C (useFloat):
10885 (getFloatDefinitions):
10887 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10889 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10890 floatlist_, with accessor floats().
10892 * FloatList.h: remove global FloatList
10894 2002-08-26 André Pönitz <poenitz@gmx.net>
10896 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10900 * BufferView_pimpl.C:
10901 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10903 2002-08-25 John Levon <levon@movementarian.org>
10905 * LyXAction.C: fix margin note description
10907 2002-08-24 John Levon <levon@movementarian.org>
10911 * bufferview_funcs.C:
10913 * undo_funcs.C: cleanups
10915 * lyxfunc.C: disable CUT/COPY when no selection
10917 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10919 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10920 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10922 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10923 Add backward compatibility to "mono", "gray" and "no".
10925 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10927 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10928 (and file_format >= 200).
10930 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10932 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10934 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10936 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10938 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10940 * BufferView_pimpl.C:
10947 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10948 inset and code to make it work with the paragraph code. The inset
10949 can be anywhere in the paragraph, but will only do the expected
10950 thing in LaTeX if the layout file contains the parameter line
10952 (or more generally, a nonzero value) for that layout.
10954 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10956 * paragraph.h: remove the declaration of undefined counters class
10959 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10961 * text2.C (setCounter): fixed enumeration mis-count as reported by
10962 Dr. Richard Hawkins.
10964 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10966 * paragraph_funcs.h: remove some unneeded includes
10968 * text.C (backspace): pasteParagraph now in global scipe
10970 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10971 (pasteSelection): ditto
10973 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10974 * paragraph_funcs.C (pasteParagraph): ... here
10976 2002-08-20 André Pönitz <poenitz@gmx.net>
10978 * commandtags.h: new LFUNs for swapping/copying table row/colums
10981 * lyxfunc.C: support for new lfuns
10983 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10986 * buffer.[Ch]: remove NO_COMPABILITY stuff
10988 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10990 * boost.C (throw_exception): new file, with helper function for
10991 boost compiled without exceptions.
10996 * ParameterStruct.h:
10997 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10999 * bufferlist.C (emergencyWriteAll): use boost bind
11001 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11003 * text.C: include paragraph_funcs.h
11004 (breakParagraph): breakParagraph is now in global scope
11006 * paragraph_funcs.[Ch]: new files
11008 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11011 * buffer.C: include paragraph_funcs.h
11012 (insertStringAsLines): breakParagraph is now in global scope
11014 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11017 * CutAndPaste.C: include paragraph_funcs.h
11018 (cutSelection): breakParagraphConservative is now in global scope
11019 (pasteSelection): ditto
11021 * buffer.h: declare oprator== and operator!= for
11022 Buffer::inset_iterator
11024 * bufferlist.C (emergencyWrite): don't use fmt(...)
11026 * text3.C: add using std::endl
11028 * BufferView.C (moveCursorUpdate): remove default arg
11030 2002-08-20 André Pönitz <poenitz@gmx.net>
11032 * buffer.[Ch]: move inline functions to .C
11035 * BufferView_pimpl.C:
11037 * buffer.[Ch]: use improved inset_iterator
11040 * paragraph.[Ch]: write one paragraph at a time
11042 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11044 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11045 style if style is not specified.
11047 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11049 * text2.C (setCounter): when searching for right label for a
11050 caption, make sure to recurse to parent insets (so that a caption
11051 in a minipage in a figure float works) (bug #568)
11053 2002-08-20 André Pönitz <poenitz@gmx.net>
11055 * text3.C: new file for LyXText::dispatch() and helpers
11057 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11059 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11061 2002-08-19 André Pönitz <poenitz@gmx.net>
11064 * text.C: new LyXText::dispatch()
11066 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11068 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11070 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11072 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11075 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11077 * Makefile.am: use $(variables) instead of @substitutions@
11079 2002-08-15 André Pönitz <poenitz@gmx.net>
11082 * BufferView_pimpl.C: streamlining mathed <-> outer world
11086 * LyXAction.C: remove unused LFUN_MATH
11088 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11090 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11092 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11094 * paragraph.C (Paragraph): reformat a bit
11095 (cutIntoMinibuffer): use builtin InsetList function instad of
11099 * buffer.C: include boost/bind.hpp, add using std::for_each
11100 (writeFileAscii): use ParagraphList iterators
11101 (validate): use for_each for validate traversal of paragraphs
11102 (getBibkeyList): use ParagraphList iterators
11103 (resizeInsets): use for_each to resizeInsetsLyXText for all
11105 (getParFromID): use ParagraphList iterators
11107 * BufferView2.C (lockInset): use paragraph list and iterators
11109 2002-08-14 John Levon <levon@movementarian.org>
11111 * lyxserver.C: remove spurious xforms include
11113 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11115 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11117 2002-08-13 André Pönitz <poenitz@gmx.net>
11120 * lyxfunc.C: further cleaning
11122 2002-08-13 André Pönitz <poenitz@gmx.net>
11124 * funcrequest.h: new constructor
11126 * funcrequest.C: move stuff here from .h
11129 * BufferView_pimpl.C:
11132 * lyxfunc.C: subsequent changes
11134 * lyxfunc.h: new view() member function
11136 * lyxfunc.C: subsequent changes
11138 2002-08-13 Angus Leeming <leeming@lyx.org>
11141 * BufferView_pimpl.C:
11149 changes due to the changed LyXView interface that now returns references
11150 to member variables not pointers.
11152 2002-08-13 Angus Leeming <leeming@lyx.org>
11154 * WordLangTuple (word, lang_code): return references to strings,
11159 * lyxtext.h: forward-declare WordLangTuple.
11164 * text.C: #include "WordLangTuple.h".
11167 * text.C: (selectNextWordToSpellcheck): constify return type.
11169 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11175 * paragraph_pimpl.h:
11178 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11179 suggested by Angus.
11180 Made updateCounter always count from start of buffer, and removed
11181 second argument (par).
11182 Reverted floats number display to '#'. Perhaps I'll try again when the
11183 code base is sanitized a bit.
11185 2002-08-12 Angus Leeming <leeming@lyx.org>
11187 * buffer.[Ch] (getLabelList): constify.
11189 2002-08-07 André Pönitz <poenitz@gmx.net>
11191 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11193 * funcrequest.h: extension to keep mouse (x,y) position
11195 2002-08-12 Juergen Vigna <jug@sad.it>
11197 * BufferView2.C (insertErrors): forbid undo when inserting error
11200 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11202 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11204 * ParagraphList.[Ch]: new files
11206 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11208 * BufferView2.C (lockInset): ParagraphList changes
11211 * bufferlist.C: ditto
11215 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11217 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11218 unused class variable counter_,
11220 * paragraph.[Ch] (getFirstCounter): delete unused function
11222 * counters.C: include LAssert.h
11223 (reset): add a new function with no arg, change other version to
11224 not have def. arg and to not allow empty arg.
11226 * text2.C (setCounter): remove empty arg from call to Counters::reset
11228 2002-08-11 John Levon <levon@movementarian.org>
11230 * Makefile.am: add WordLangTuple.h
11232 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11234 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11235 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11237 * insets/insettext.C: InsetList changes
11239 * graphics/GraphicsSupport.C (operator()): InsetList changes
11241 * toc.C (getTocList): InsetList changes
11243 * paragraph_pimpl.[Ch]: InsetList changes
11245 * paragraph.[Ch]: InsetList changes
11247 * buffer.C (inset_iterator): InsetList changes
11248 (setParagraph): ditto
11249 * buffer.h (inset_iterator): ditto
11250 * iterators.C (operator++): ditto
11251 * iterators.h: ditto
11253 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11255 * InsetList.[Ch]: new files, most InsetList handling moved out of
11258 * BufferView2.C (removeAutoInsets): InsetList changes
11260 (ChangeInsets): ditto
11262 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11264 * paragraph_pimpl.h (empty): new function
11266 * paragraph.[Ch] (empty): new function
11268 * other files: use the new Paragraph::empty function
11270 2002-08-09 John Levon <levon@movementarian.org>
11272 * lyxtext.h: remove unused refresh_height
11274 2002-08-09 John Levon <levon@movementarian.org>
11281 * paragraph.C: move sgml char escaping out of paragraph
11284 * paragraph.C: remove id setter
11288 * paragraph_pimpl.C: remove dead tex_code_break_column
11290 * bufferview_funcs.C: small cleanup
11292 * lyxfunc.C: remove dead proto
11294 * lyxtext.h: make some stuff private. Remove some dead stuff.
11296 * lyxgluelength.C: make as[LyX]String() readable
11298 2002-08-08 John Levon <levon@movementarian.org>
11303 * ToolbarDefaults.C:
11306 * toc.C: lyxaction cleanup
11308 2002-08-08 John Levon <levon@movementarian.org>
11310 * BufferView2.C: small cleanup
11313 * lyxfind.C: move unnecessary header into the .C
11315 2002-08-08 John Levon <levon@movementarian.org>
11317 * funcrequest.h: just tedious nonsense
11320 * lyx_main.C: cleanups
11323 * vspace.C: remove dead header lyx_main.h
11325 2002-08-07 Angus Leeming <leeming@lyx.org>
11328 * paragraph_pimpl.h:
11329 Forward declare class Counters in paragraph.h by moving the ctrs member
11330 variable into Paragraph::Pimpl.
11331 (counters): new method, returning a reference to pimpl_->ctrs.
11333 * text2.C: ensuing changes.
11335 2002-08-07 John Levon <levon@movementarian.org>
11337 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11339 * BufferView_pimpl.C: announce X selection on double/triple
11342 * lyx_main.C: use correct bool in batch dispatch
11344 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11346 2002-08-07 André Pönitz <poenitz@gmx.net>
11348 * funcrequest.h: new class to wrap a kb_action and its argument
11351 * BufferView_pimpl[Ch]:
11355 * lyxrc.C: subsequent changes
11358 2002-08-07 John Levon <levon@movementarian.org>
11360 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11361 document options change.
11363 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11368 * makefile.am: move counters functionality over from
11369 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11371 2002-08-06 John Levon <levon@movementarian.org>
11373 * WordLangTuple.h: new file for word + language code tuple
11384 * BufferView2.C: use WordLangTuple
11387 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11389 2002-08-06 John Levon <levon@movementarian.org>
11391 * lyx_main.C: fix cmdline batch handling
11393 2002-08-06 André Pönitz <poenitz@gmx.net>
11395 * lyxrc.C: set default for show_banner to true
11397 2002-08-06 John Levon <levon@movementarian.org>
11399 * pspell.C: fix a crash, and allow new aspell to work
11401 2002-08-06 John Levon <levon@movementarian.org>
11404 * kbmap.C: small cleanup
11407 * vspace.C: add const
11409 2002-08-05 John Levon <levon@movementarian.org>
11411 * LyXAction.C: back to tabular-insert
11413 2002-08-04 John Levon <levon@movementarian.org>
11416 * BufferView.C: cosmetic change
11418 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11428 * BufferView2.C: purge all "Lyx" not "LyX" strings
11431 * lyxcursor.C: attempt to add some documentation
11436 * ToolbarDefaults.C:
11437 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11438 merge with LFUN_TABULAR_INSERT
11445 * pspell.C: split up i/pspell implementations into separate
11446 files, many cleanups
11448 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11450 * text2.C: some cleanup
11452 * lyxfunc.C: don't check for isp_command == "none" any more, it
11453 didn't make any sense
11455 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11460 * makefile.am: move counters functionality over
11461 from text2.C/paragraph.[Ch] to counters.[Ch], and
11463 2002-08-02 John Levon <levon@movementarian.org>
11465 * buffer.C: s/lyxconvert/lyx2lyx/
11467 2002-08-02 Angus Leeming <leeming@lyx.org>
11469 * lyxlex.C: revert John's change as it breaks reading of the user
11472 2002-08-02 Angus Leeming <leeming@lyx.org>
11474 * importer.C (Import):
11475 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11476 changes due to LyXView::view() now returning a boost::shared_ptr.
11478 2002-08-02 John Levon <levon@movementarian.org>
11480 * lyxlex.C: small cleanup
11482 2002-08-02 John Levon <levon@movementarian.org>
11484 * text2.C (status): small cleanup, no logic change
11486 2002-08-01 John Levon <levon@movementarian.org>
11489 * buffer.C (writeFile): don't output alerts, caller
11493 * lyx_cb.C: from above
11495 * lyxfunc.C: allow to open non-existent files
11497 2002-07-31 John Levon <levon@movementarian.org>
11499 * lyxserver.C: don't let incidental errors get
11502 2002-07-30 John Levon <levon@movementarian.org>
11504 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11506 2002-07-30 John Levon <levon@movementarian.org>
11509 * lyxserver.C: remove I/O callback too
11511 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11513 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11516 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11518 * many files: strip,frontStrip -> trim,ltrim,rtrim
11520 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11522 * PrinterParams.h: remove extern containsOnly, and include
11523 support/lstrings.h instead.
11525 * LaTeX.C (scanAuxFile): modify because of strip changes
11527 * buffer.C (makeLaTeXFile): ditto
11528 * bufferparams.C (writeFile): ditt
11529 * lyxfont.C (stateText): ditto
11530 * lyxserver.C (read_ready): ditto
11531 * vc-backend.C (scanMaster): ditto
11533 * BufferView_pimpl.h: ws changes
11535 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11537 2002-07-26 André Pönitz <poenitz@gmx.net>
11539 * kb_sequence.C: remove unnedred usings
11541 2002-07-26 Juergen Vigna <jug@sad.it>
11543 * lyxfind.C (LyXReplace): we have to check better if the returned
11544 text is not of theLockingInset()->getLockingInset().
11546 2002-07-25 Juergen Vigna <jug@sad.it>
11548 * lyxfind.C (LyXReplace): don't replace if we don't get the
11551 * undo_funcs.C (createUndo): remove debugging code.
11553 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11555 * buffer.C (parseSingleLyXformat2Token): Use default placement
11556 when reading old floats.
11558 * FloatList.C (FloatList): Change the default placement of figure
11559 and tables to "tbp".
11561 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11563 * MenuBackend.C: using std::max
11565 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11567 * MenuBackend.C (expandToc):
11568 (expandToc2): code moved from xforms menu frontend. It is now
11569 generic and TOCs are transparent to menu frontends.
11571 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11573 * toc.C (getTocList): protect against buf=0
11575 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11576 Menu as first parameter. Now, this calls itself recursively to
11577 expand a whole tree (this will be useful for TOC handling)
11578 (expandFloatInsert): remove 'wide' version of floats
11580 * MenuBackend.h (submenuname): returns the name of the submenu.
11581 (submenu): returns the submenu itself, provided it has been
11582 created by MenuBackend::expand
11584 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11586 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11587 insets which have noFontChange == true. (bug #172)
11589 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11591 * BufferView_pimpl.C: add connection objects and use them...
11594 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11596 * MenuBackend.C (expandLastfiles):
11599 (expandFloatListInsert):
11600 (expandFloatInsert):
11601 (expand): split expand in parts
11603 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11605 * lyx_gui.C: use lyx_gui::exit()
11607 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11609 * LyXAction.C: show the failing pseudo action
11611 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11613 * buffer.C (readFile): Run the lyxconvert script in order to read
11616 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11620 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11622 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11626 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11628 2002-07-22 Herbert Voss <voss@lyx.org>
11631 * lyxlength.[Ch]: add support for the vertical lengths
11633 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11635 * toc.[Ch]: std:: fixes
11637 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11639 * lyxrc.C: do not include lyx_main.h
11641 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11647 * BufferView2.C: include "lyxlex.h"
11650 * bufferparams.h: do not #include "lyxlex.h"
11652 * lyxtextclasslist.C (Add): remove method
11653 (classlist): renamed to classlist_
11655 * paragraph_pimpl.C:
11659 * bufferview_funcs.C:
11664 * toc.C (getTocList): use BufferParams::getLyXTextClass
11666 * toc.C (getTocList): use InsetFloat::addToToc
11668 * toc.[Ch]: new files, containing helper functions to handle table
11671 * lyxfunc.C (dispatch): no need to remove spaces around command
11673 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11674 first command of the sequence; it is not very clever, but I do not
11675 have a better idea, actually
11677 * LyXAction.C (LookupFunc): make sure to remove space at the
11678 beginning and end of the command
11680 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11682 * MenuBackend.C (getMenubar): new method: return the menubar of
11684 (read): treat differently reading of menu and menubar (in
11685 particular, the menubar has no name now)
11686 (Menu::menubar): remove
11688 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11691 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11693 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11694 a bibitem inset in a RTL paragraph.
11696 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11698 * paragraph_pimpl.C: constify
11700 * BufferView_pimpl.C:
11702 * lyxfunc.C: fix dispatch in a nicer way
11704 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11706 * lyxfunc.C (dispatch):
11707 * BufferView_pimpl.C:
11708 * BufferView_pimpl.h:
11710 * BufferView.h: rename Dispatch() to dispatch()
11712 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11714 * lyxlayout.C (Read): honor DependsOn tag
11716 * lyxlayout.[Ch] (depends_on): new method
11718 * version.C.in: update lyx_docversion
11720 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11722 * paragraph.C (validate): remove from here...
11723 * paragraph_pimpl.C (validate): ... and move here
11724 (isTextAt): make it const
11726 * buffer.C (getLists): ws cleanup
11728 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11730 * language.C (read): Use iso8859-1 encoding in latex_lang
11731 (this prevents LyX from crashing when using iso10646-1 encoding).
11733 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11735 * text2.C (toggleInset): if cursor is inside an inset, close the
11736 inset and leave cursor _after_ it
11738 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11740 * lyxfunc.C: move minibuffer completion handling out of here
11742 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11744 * BufferView_pimpl.C:
11745 * LaTeX.C: fix dispatch calls
11747 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11749 * text.C (drawChars): Fix Arabic text rendering.
11751 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11755 * lyxfunc.C: remove message-push/pop
11759 * lyxfunc.C: rationalise some code by removing verboseDispatch
11760 in favour of a bool argument to dispatch()
11762 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11764 * lyx_main.C (init): make sure to read symlinks as absolute paths
11766 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11769 * lyxfunc.C: no need for commandshortcut to be a member
11771 2002-07-15 André Pönitz <poenitz@gmx.net>
11773 * converter.C: add support for $$s (scripts from lib/scripts dir)
11774 * lyx_main.C: white space
11776 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11780 * lyxrc.C: remove second exit confirmation
11782 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11787 * BufferView_pimpl.h:
11788 * BufferView_pimpl.C:
11789 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11791 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11793 * MenuBackend.C (expand): add numeric shortcuts to document menu
11795 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11797 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11799 * lyxfont.C (setLyXFamily):
11806 * buffer.C (asciiParagraph): use ascii_lowercase
11808 2002-07-15 Mike Fabian <mfabian@suse.de>
11810 * lyxlex_pimpl.C (search_kw):
11811 * lyxlex.C (getLongString):
11812 * converter.h (operator<):
11813 * converter.C (operator<):
11814 * buffer.C (parseSingleLyXformat2Token):
11816 * ToolbarDefaults.C (read):
11817 * MenuBackend.C (checkShortcuts):
11819 * LColor.C (getFromGUIName):
11820 (getFromLyXName): use the compare_ascii_no_case instead of
11821 compare_no_case, because in turkish, 'i' is not the lowercase
11822 version of 'I', and thus turkish locale breaks parsing of tags.
11824 2002-07-16 Angus Leeming <leeming@lyx.org>
11826 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11827 now takes a Buffer const & argument.
11829 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11831 * BufferView.C (resize): check there's a buffer to resize
11833 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11835 * lyxfunc.C: remove dead code
11838 * lyxserver.C: use lyx_guii::set_read_callback
11840 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11842 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11843 an inset in a RTL paragraph.
11845 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11847 * lyxfunc.C: repaint after a font size update
11849 2002-07-15 André Pönitz <poenitz@gmx.net>
11851 * lyxlength.C: inBP should be able to return negative values
11853 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11855 * lyxfunc.C: use lyx_gui::update_fonts()
11857 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11859 * lyxfunc.C: use lyx_gui::update_color()
11861 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11867 * lyxrc.C: remove file->new asks for name option, and let
11868 buffer-new take an argument
11870 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11872 * BufferView_pimpl.C: remove unneeded extra repaint()
11874 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11876 * LyXAction.C: allow command-sequence with NoBuffer
11878 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11880 2002-07-10 Angus Leeming <leeming@lyx.org>
11882 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11884 2002-07-09 Angus Leeming <leeming@lyx.org>
11886 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11888 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11890 * lengthcommon.h: whitespace
11892 * lyxfunc.C: update scrollbar after goto paragraph
11894 * lyxtext.h: factor out page break drawing, and fix it so
11895 page break/added space paints as selected nicely
11897 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11899 * BufferView_pimpl.C: add FIXMEs, clean up a little
11901 2002-07-09 André Pönitz <poenitz@gmx.net>
11903 * lyxfont.[Ch]: support for wasy symbols
11905 2002-07-08 André Pönitz <poenitz@gmx.net>
11907 * BufferView_pimpl.C: apply John's patch for #93.
11909 2002-07-05 Angus Leeming <leeming@lyx.org>
11911 * BufferView_pimpl.C (buffer): generate previews if desired.
11913 * LColor.h: add "preview" to the color enum.
11915 * LColor.C (LColor): add a corresponding entry to the items array.
11917 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11920 2002-07-05 Angus Leeming <leeming@lyx.org>
11922 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11923 The body of the code is now in the method that is passed an ostream &
11924 rather than a file name.
11925 Pass an additional only_preamble parameter, useful for the forthcoming
11928 2002-07-03 André Pönitz <poenitz@gmx.net>
11930 * lyxfunc.C: simplify getStatus() a bit for math stuff
11932 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11934 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11936 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11938 * text.C (changeRegionCase): do not change case of all the
11939 document when region ends at paragraph end (bug #461)
11941 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11943 * paragraph.C (startTeXParParams):
11944 (endTeXParParams): add \protect when necessary
11946 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11948 * BufferView_pimpl.C (workAreaExpose): remove warning
11950 2002-06-27 Angus Leeming <leeming@lyx.org>
11952 * Makefile.am: add lyxlayout_ptr_fwd.h.
11954 2002-06-26 André Pönitz <poenitz@gmx.net>
11956 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11958 2002-06-25 Angus Leeming <leeming@lyx.org>
11960 * lyxfunc.C (dispatch): Comment out the call to
11961 grfx::GCache::changeDisplay. The method no longer exists now that the
11962 pixmap generation part of the graphics loader has been moved into
11965 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11967 * text2.C: layout as layout
11969 * text.C: layout as layout
11971 * tabular.C (OldFormatRead): layout as layout
11973 * paragraph_pimpl.C (TeXDeeper): layout as layout
11974 (realizeFont): layout as layout
11976 * paragraph.C (writeFile): layout as layout
11977 (validate): layout as layout
11978 (getFont): layout as layout
11979 (getLabelFont): layout as layout
11980 (getLayoutFont): layout as layout
11981 (breakParagraph): layout as layout
11982 (stripLeadingSpaces): layout as layout
11983 (getEndLabel): layout as layout
11984 (getMaxDepthAfter): layout as layout
11985 (applyLayout): layout as layout
11986 (TeXOnePar): layout as layout
11987 (simpleTeXOnePar): layout as layout
11988 (TeXEnvironment): layout as layout
11989 (layout): layout as layout
11990 (layout): layout as layout
11992 * lyxtextclass.C (compare_name): new functor to work with
11993 shared_ptr, layout as layout
11994 (Read): layout as layout
11995 (hasLayout): layout as layout
11996 (operator): layout as layout
11997 (delete_layout): layout as layout
11998 (defaultLayout): layout as layout
12000 * lyxlayout_ptr_fwd.h: new file
12002 * lyxlayout.C (Read): layout as layout
12004 * lyx_cb.C (MenuInsertLabel): layout as layout
12006 * bufferlist.C (newFile): layout as layout
12008 * buffer.C (readLyXformat2): layout as layout
12009 (parseSingleLyXformat2Token): layout as layout
12010 (insertStringAsLines): layout as layout
12011 (asciiParagraph): layout as layout
12012 (latexParagraphs): layout as layout
12013 (makeLinuxDocFile): layout as layout
12014 (simpleLinuxDocOnePar): layout as layout
12015 (makeDocBookFile): layout as layout
12016 (simpleDocBookOnePar): layout as layout
12017 (getLists): layout as layout
12019 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12021 * CutAndPaste.C (cutSelection): layout as layout
12022 (pasteSelection): layout as layout
12023 (SwitchLayoutsBetweenClasses): layout as layout
12025 * BufferView_pimpl.C (Dispatch): layout as layout
12026 (smartQuote): layout as layout
12028 * BufferView2.C (unlockInset): layout as layout
12030 2002-06-24 André Pönitz <poenitz@gmx.net>
12032 * lyxfunc.C: fix #487
12034 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12038 * lyxfunc.C: remove display_shortcuts, show_banner
12040 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12042 * Buffer_pimpl.C: oops, update on resize
12044 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12051 * BufferView.C: use repaint()
12053 * BufferView_pimpl.h:
12054 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12055 as it's a clearer description. Remove superfluous
12058 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12060 * text.C: fix bug 488. Not ideal, but getting
12061 getWord() to work properly for the insets that
12062 matter is more difficult ...
12064 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12066 * BufferView_pimpl.C:
12069 * lyxfunc.C: remove the six million index lyxfuncs to just
12070 one, and DTRT (bug 458)
12072 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12076 * BufferView_pimpl.h:
12077 * BufferView_pimpl.C: clean up resize() stuff,
12078 and unnecessary updateScreen()s
12080 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12084 * BufferView_pimpl.h:
12085 * BufferView_pimpl.C:
12088 * minibuffer.C: remove focus management of workarea,
12089 not needed. Use screen's greyOut()
12091 2002-06-17 Herbert Voss <voss@lyx.org>
12093 * converter.C: (convert) do not post a message, when converting
12094 fails, let the calling function decide what to do in this case
12096 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12098 * lyxfunc.C: tidy up a little
12100 2002-06-16 <alstrup@diku.dk>
12102 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12103 Got rid of FORMS_H_LOCATION include. Now we are
12106 2002-06-15 LyX Development team <lyx@rilke>
12108 * buffer.[Ch] (sgmlOpenTag):
12109 (sgmlCloseTag): Added support for avoiding pernicious mixed
12110 content. Return number of lines written.
12112 (makeLinuxDocFile):
12113 (makeDocBookFile): Fixed calls to sgml*Tag.
12114 Simple white space clean.
12116 (simpleDocBookOnePar): Simple white space clean.
12118 * tabular.[Ch] (docBook): Renamed to docbook and got another
12119 argument to related with the pernicious mixed content.
12121 (docbookRow): Fixed calls for docbook inset method.
12123 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12125 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12126 so it's X11 independent.
12130 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12132 2002-06-15 Lyx Development team <lyx@electronia>
12134 * intl.h: Renamed getTrans to getTransManager.
12136 2002-06-14 Angus Leeming <leeming@lyx.org>
12138 * Makefile.am: nuke forgotten stl_string_fwd.h.
12140 2002-06-12 Angus Leeming <leeming@lyx.org>
12142 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12144 2002-06-13 Angus Leeming <leeming@lyx.org>
12147 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12149 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12151 * kbmap.C (getiso): add support for cyrillic and greek
12153 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12157 * BufferView_pimpl.h:
12158 * BufferView_pimpl.C: move bogus scrolling logic
12161 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12164 * BufferView_pimpl.C: view->resize() change
12166 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12168 * BufferView_pimpl.C: topCursorVisible
12171 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12175 * lyx_gui.C: move to frontends/
12179 * lyx_main.C: changes from above
12181 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12188 * lyx_main.C: minor tidy
12190 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12192 * BufferView_pimpl.h:
12193 * BufferView_pimpl.C:
12195 * BufferView.C: make painter() const,
12198 * BufferView2.C: use screen() accessor
12201 * lyx_main.C: some minor cleanup
12203 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12205 * BufferView_pimpl.h:
12206 * BufferView_pimpl.C: remove enter/leaveView,
12209 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12214 * BufferView_pimpl.h:
12215 * BufferView_pimpl.C: only construct screen once,
12218 * lyxrc.C: remove pointless comment
12220 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12223 * BufferView.C: remove active() and belowMouse()
12225 * BufferView_pimpl.h:
12226 * BufferView_pimpl.C: use workarea() not workarea_,
12227 and make it use a scoped_ptr instead
12229 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12231 * lyx_gui.C: add debug message on BadWindow
12233 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12235 * sp_spell.C: fdopen is not part of the C++ standard.
12237 * paragraph.C (InsetIterator): use >= instead of ==
12239 2002-06-07 Angus Leeming <leeming@lyx.org>
12241 Fixes needed to compile with Compaq cxx 6.5.
12242 * BufferView_pimpl.C:
12249 * lyxtextclasslist.C:
12254 all c-library variables have been moved into namespace std. Wrap
12255 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12260 Add a using std::abs declaration.
12262 * kbmap.h (modifier_pair):
12263 * paragraph.h (InsetTable, InsetList):
12264 * lyxfont.h (FontBits):
12265 type definition made public.
12267 * bufferlist.C (emergencyWriteAll): the compiler complains that
12268 there is more than one possible lyx::class_fun template to choose from.
12269 I re-named the void specialisation as lyx::void_class_fun.
12271 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12273 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12274 the compiler is is unable to find tostr in write_attribute.
12276 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12278 * buffer.C (sgmlError): hide #warning
12280 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12282 * xtl/*: get rid of xtl, which is not in use anyway
12284 * LyXAction.C (init):
12285 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12286 were unimplemented xtl experimentation
12288 2002-06-04 André Pönitz <poenitz@gmx.net>
12290 * lyxfunc.C: disable array operation on simple formulae
12292 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12294 * converter.C: constify a bit
12296 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12298 * lyx_gui.C: check xforms version correctly
12300 2002-04-30 Herbert Voss <voss@lyx.org>
12302 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12305 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12307 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12308 attempt to register it with a VCS)
12310 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12312 * lyx_main.C (init): honor variables LYX_DIR_13x and
12315 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12319 * lyx_main.C: fix a crash on bad command line,
12320 and give a useful exit status on error
12322 * lyxfunc.C (doImport): allow -i lyx to work
12324 2002-03-30 André Pönitz <poenitz@gmx.net>
12326 * lyxfunc.C: mathed font changes
12328 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12343 * trans_mgr.h: srcdocs, and some minor cleanups
12345 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12347 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12348 call getFont all the time)
12350 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12352 * switch from SigC signals to boost::signals
12354 2002-05-29 André Pönitz <poenitz@gmx.net>
12356 * paragraph_pimpl.C (getChar): don't call size() too often...
12358 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12360 * paragraph_pimpl.C (insertChar): do not try to update tables when
12361 appending (pos == size())
12363 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12364 in order to reduce drastically the number of comparisons needed to
12365 parse a large document
12367 2002-05-29 André Pönitz <poenitz@gmx.net>
12373 * textclasslist.[Ch]:
12374 * sp_ispell.h: whitespace change
12376 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12378 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12379 lyxaction directly now.
12381 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12385 * lyxvc.C: remove unused headers
12387 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12394 * undo_funcs.C: some cleanups. Use shared_ptr
12395 and a template for the undo stacks.
12397 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12399 * BufferView_pimpl.h:
12400 * BufferView_pimpl.C:
12407 * text2.C: use key_state/mouse_state
12409 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12411 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12414 * chset.C: change include order
12415 (loadFile): use boost regex and get rid of LRegex and LSubstring
12417 * Makefile.am (BOOST_LIBS): new variable
12418 (lyx_LDADD): use it
12420 * LaTeX.C: change include order.
12421 (scanAuxFile): use boost regex and get rid of LRegex and
12425 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12430 * FontInfo.C: moved to frontends/xforms/
12433 * FontLoader.C: moved into frontends for GUIIzation
12438 * lyxfunc.C: changes from above
12440 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12442 * LColor.C: remove spurious X include
12444 * BufferView_pimpl.C:
12449 * text2.C: move font metrics to frontends/
12451 2002-05-24 Juergen Vigna <jug@sad.it>
12453 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12454 setting the undo_cursor.
12456 * ParagraphParameters.h: include local includes first.
12458 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12460 * BufferView_pimpl.C:
12461 * BufferView_pimpl.h:
12465 * screen.C: move WorkArea into frontends/
12471 * BufferView2.C: move LyXScreen into frontends/
12475 * lyx_gui.C: move lyxlookup into frontends/xforms/
12477 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12480 * BufferView_pimpl.C:
12490 * bufferview_funcs.C:
12503 * vc-backend.C: move LyX/XFormsView into frontends/
12505 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12517 * text2.C: move Painter to frontends/
12519 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12521 * buffer.C: comment out some some code that depend upon lyx_format
12524 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12525 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12527 * buffer.h (NO_COMPABILITY): turn off compability
12529 * ColorHandler.C: include scoped_array.hpp
12531 * font.C: Use more specific smart_ptr header.
12534 * ShareContainer.h: ditto
12535 * lyx_main.h: ditto
12537 * FontInfo.h: ditto
12538 * BufferView_pimpl.h: ditto
12539 * ColorHandler.h: ditto
12541 * kbmap.C (defkey): change call to shared_ptr::reset
12543 2002-05-21 Juergen Vigna <jug@sad.it>
12545 * buffer.C (insertErtContents): fix to insert ert asis if it is
12546 non empty. Skip it completely if it contains only whitespaces.
12548 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12550 * BufferView_pimpl.C:
12551 * BufferView2.C: clear selection on paste (bug 393)
12553 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12555 * DepTable.C: include ctime
12557 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12559 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12561 2002-05-14 Juergen Vigna <jug@sad.it>
12563 * text.C (breakParagraph): fixed function to honor the keepempty
12564 layout in the right maner and also to permit the right breaking
12565 algorithm on empty or non empyt keepempty paragraphs.
12567 * paragraph.C (breakParagraph): we have to check also if the par
12568 is really empty (!size()) for isempty otherwise we do the wrong
12571 2002-05-10 Juergen Vigna <jug@sad.it>
12573 * buffer.[Ch] : The following are only changes to the ert
12574 compatibility read reading old LaTeX layout and font stuff and
12575 convert it to ERTInsets.
12577 * buffer.h: added isErtInset().
12579 * buffer.C (struct ErtComp): add a fromlayout bool to check
12580 if we're inside a LaTeX layout.
12581 (isErtInset): new helper function.
12582 (insertErtContents): look for other ert insets before this one
12583 and insert the contents there, so that we don't have subsequent
12584 ERT insets with nothing between them. This way we create only one
12585 inset with multiple paragraphs. Also check if we don't insert only
12586 spaces ' ' as they are ignored anyway afterwards in the .tex file
12587 so if we have only spaces we will ignore this latex part in the
12589 (parseSingleLyXformat2Token \\layout): better compatibility when
12590 reading layout-latex stuff.
12591 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12593 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12594 stuff after reading the inset only get the information back from
12597 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12599 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12601 * LaTeXFeatures.C (getBabelOptions): New method.
12603 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * BufferView_pimpl.C (Dispatch): work around missing argument for
12608 2002-05-08 Juergen Vigna <jug@sad.it>
12610 * text.C (leftMargin): handle paragraph leftindent.
12612 * paragraph.C (writeFile): write the new \\leftindent tag.
12613 (validate): handle leftindent code.
12614 (TeXEnvironment): handle paragraphleftindent code again.
12616 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12618 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12619 for paragrap_extra indent code and new token \\leftindent.
12620 (latexParagraphs): handle the leftindent as environment.
12622 * ParameterStruct.h: added leftindent support.
12624 * ParagraphParameters.C (leftIndent): added support functions for
12625 the paragraph left indent.
12627 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12630 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12632 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12635 * text.C (computeBidiTables): No bidi in insetERT.
12637 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12640 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12642 * version.C.in: pre 5
12644 2002-05-02 José Matos <jamatos@fep.up.pt>
12645 * buffer.C (makeDocBookFile): white space changes, add newline to
12647 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12649 * tabular.C (docBook): fix typo.
12651 2002-05-03 Juergen Vigna <jug@sad.it>
12653 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12654 change in LyXText as we can not be sure it was not freed.
12655 (drawOneRow): remove unused code.
12657 * text.C (drawInset): redo the calculation of the need_break_row as
12658 it could have a row which was already freed.
12659 (draw): look at the return value of drawInset and return false if
12660 it also returned false.
12661 (paintRowText): look at the return value of draw and return false if
12662 it also returned false.
12664 * lyxtext.h: added bool return type to drawInset() and draw() so that
12665 if we have a change in the row so that the rowbreak has to be redone
12666 we abort drawing as it will be called again.
12668 2002-05-02 Juergen Vigna <jug@sad.it>
12670 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12671 a change in the maintext also if we're inside an inset.
12672 (Dispatch): set the cursor again after a break line and after the
12673 screen has been updated as it could be we're in a different row.
12675 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12676 to set the cursor behind the pargraph with > size().
12677 (setCursor): check also for the same paragraph when checking where
12678 to put the cursor if we have a NFR inset.
12680 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12681 parts of layout read further up as it still was in the wrong
12684 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * screen.C (drawFromTo): change sine fullRebreak always return
12689 * buffer.C (parseSingleLyXformat2Token): reindent some
12691 * BufferView_pimpl.C (update): change since fullRebreak always
12693 (Dispatch): git rid of the last hardcoded "Standard"s.
12695 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12697 * text2.[Ch] (fullRebreak): make it return void now that we always
12700 2002-04-30 Juergen Vigna <jug@sad.it>
12702 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12703 ert compatibility check for "latex" layout.
12705 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12707 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12708 minipages: use col% instead of p%, and also use the current font.
12709 (makeLaTeXFile): Fix use babel condition.
12710 (parseSingleLyXformat2Token): Correct font when reading old floats.
12712 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12714 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12715 inserting list of floats.
12717 2002-04-25 Herbert Voss <voss@lyx.org>
12719 * MenuBackend.C (expand): don't add the graphics extensions to the
12722 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12724 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12725 non-existing layout, do not complain if it was the default layout
12726 of the original class (bug #342)
12728 2002-04-24 Juergen Vigna <jug@sad.it>
12730 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12731 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12733 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12735 * buffer.C (getBibkeyList): If using \bibliography, return the
12736 option field with the reference itself. Enables us to provide natbib
12737 support when using \bibliography.
12739 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12741 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12743 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12744 natbib is provided by the LaTeX class.
12746 2002-04-23 Juergen Vigna <jug@sad.it>
12748 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12751 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12753 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12755 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12757 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12758 ensuremath around textordmasculine, textordfeminine and
12761 2002-04-19 Juergen Vigna <jug@sad.it>
12763 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12764 reinitializing the buffer otherwise row-dimensions may be wrong.
12765 (update): reset also the selection cursors if they do exits otherwise
12766 their x/y positions may be wrong.
12768 * text2.C (cursorDown): don't enter the inset if we came from a row
12769 above and are one row over the inset.
12771 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12772 really leaving an inset.
12774 2002-04-18 Juergen Vigna <jug@sad.it>
12776 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12777 of the selected paragraph does not have the selected layout also if
12780 * text2.C (setLayout): fixed bug which did not change last selected
12783 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12784 changed the read and substituted \\end_float with \\end_inset!
12786 * BufferView_pimpl.C (cursorPrevious):
12787 (cursorNext): fixed to make it work with rows heigher than the work
12788 area without moving the cursor only the draw of the row.
12789 (workAreaMotionNotify): fix jumping over high rows.
12791 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12793 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12796 2002-04-16 Juergen Vigna <jug@sad.it>
12798 * text2.C (setCursor): set also the irow().
12799 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12801 (cursorDown): support for locking an inset if the x_fix value goes
12802 inside it. That way I can transverse insets too with cursor up/down.
12804 * lyxrow.h: added irow helper function same as other (i) functions.
12806 * BufferView_pimpl.C (cursorPrevious):
12807 (cursorNext): fixed for insets!
12809 2002-04-15 Juergen Vigna <jug@sad.it>
12811 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12812 position otherwise it is wrong in some cases.
12814 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12815 inside the inset before the call.
12817 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12819 * buffer.[Ch] (getBibkeyList): make it const.
12821 2002-04-12 Juergen Vigna <jug@sad.it>
12823 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12825 * text2.C (getCursorX): new helper function
12826 (setCursor): compute also ix_
12827 (setCursorFromCoordinates): set also ix.
12829 * lyxcursor.h: added ix_ and helper functions.
12831 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12833 * buffer.C (insertStringAsLines): dont break paragraph if the this
12834 paragraph is inside an inset which does not permit it!
12836 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12837 also with no chars on this paragraph.
12838 (paintRowText): only paint stuff if it's inside the workarea!
12840 * paragraph.C (breakParagraph): honor keepempty flag and break the
12841 paragraph always below not above.
12843 * BufferView2.C (unlockInset): update the paragraph layout on inset
12844 unlock as we changed paragraph in such a case.
12846 * lyxfind.C (LyXFind): clear the former selection if not found!
12848 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12849 again called in insertChar().
12851 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12852 an inset which uses the whole row!
12853 (rightMargin): ditto.
12854 (insertChar): force a rebreak if we inserted an inset!
12856 2002-03-28 Herbert Voss <voss@lyx.org>
12858 * lyxlength.[Ch]: add inBP() to get the right PS-point
12859 units (BigPoint). With inPixels we have rounding errors
12861 2002-04-11 Juergen Vigna <jug@sad.it>
12863 * text2.C (setCursorFromCoordinates): set iy to the right value.
12864 (setCursor): add check if row->previous exists!
12866 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12867 an old float_type as this was the case in the old code!
12869 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12871 * BufferView2.C (showLockedInsetCursor): use iy
12872 (fitLockedInsetCursor): ditto
12874 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12875 locked insets as there we have the right value now.
12877 * lyxcursor.C: added iy_ variable and iy functions to set to the
12878 baseline of cursor-y of the locked inset.
12880 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12881 (setCursor): fixed for insets which need a full row.
12883 * text.C (rowLastPrintable): don't ignore the last space when before
12884 an inset which needs a full row.
12885 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12886 as last character of a row when before a inset which needs a full row.
12888 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * version.C.in: update date
12892 * text2.C (fullRebreak): try to always return true and see what
12895 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12897 * MenuBackend.C (expand): use Floating::listName
12899 * FloatList.C (FloatList): add listName argument to the built-in
12902 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12903 text associated with the float.
12905 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12907 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12909 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12911 * ShareContainer.h: add a couple of missing typenames.
12913 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12915 * lyxrc.C (getDescription): use _() correctly rather than N_().
12917 2002-03-28 Herbert Voss <voss@lyx.org>
12919 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12920 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12922 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12924 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12925 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12927 2002-03-29 Juergen Vigna <jug@sad.it>
12929 * lyxfunc.C (dispatch): add a missing fitCursor call.
12931 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12932 it was scrolled by a cursor move, so return the bool status.
12934 * BufferView.C (fitCursor): return the bool flag also to the outside
12935 world as this is needed.
12937 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12939 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12940 call the edit() as it is not needed (and wrong) IMO.
12941 (workAreaButtonPress): set the screen_first variable before evt.
12942 unlock the inset as this may change screen_first and then we have
12943 a wrong y position for the click!
12945 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12947 * MenuBackend.C (expand): another translation that I missed
12949 2002-03-28 Juergen Vigna <jug@sad.it>
12951 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12953 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12955 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12957 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12959 * MenuBackend.C (expand): fix export/view/update when there is no
12962 2002-03-27 Herbert Voss <voss@lyx.org>
12964 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12967 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12969 * bufferview_funcs.C (currentState): only show paragraph number
12970 for is DEVEL_VERSION is set.
12972 * lyxfunc.C (dispatch): put warning in INFO channel
12974 * MenuBackend.C (expand): translate the name of floats
12976 * FloatList.C (FloatList): mark the float names for translation
12978 * converter.C (convert): use LibScriptSearch
12980 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12982 * MenuBackend.C (defaults): fix default menu (we might as well get
12985 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12990 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12992 * lyxvc.C: reorder includes.
12994 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12996 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12999 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13001 * CutAndPaste.C: change layouts earlier on paste
13002 to avoid crashing when calling getFont()
13004 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13006 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13009 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13011 * WorkArea.C: remove 'Pending' debug message.
13013 * most files: ws cleanup
13015 * buffer.[Ch]: ws changes
13017 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13019 2002-03-21 Juergen Vigna <jug@sad.it>
13021 * tabular.C (SetMultiColumn): collapse also the contents of the
13022 cells and set the last border right. Added a Buffer const * param.
13024 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13026 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13029 2002-03-19 Juergen Vigna <jug@sad.it>
13031 * text2.C (clearSelection): reset also xsel_cache.
13033 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13034 where it needs to be called (John tells us to do so too :)
13035 (selectionLost): reset sel_cache.
13037 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13039 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13041 * text2.C (setCursorIntern): put debuging code in INSETS channel
13043 2002-03-19 André Pönitz <poenitz@gmx.net>
13045 * lyxfunc.C: tiny whitespace change
13047 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13049 * ToolbarDefaults.C (init):
13050 * LyXAction.C (init):
13052 * BufferView_pimpl.C (Dispatch):
13053 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13055 2002-03-19 Allan Rae <rae@lyx.org>
13057 * exporter.C (Export): removeAutoInsets before doing anything else.
13058 While I've just introduced a dependency on BufferView this really is
13059 the best place to clean the buffer otherwise you need to cleanup in
13060 a dozen places before calling export or cleanup in a dozen functions
13063 * converter.C (runLaTeX):
13064 (scanLog): Better handling of removeAutoInsets and screen updates.
13066 * lyxfunc.C (dispatch): small whitespace changes
13068 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * WorkArea.C (C_WorkAreaEvent): return a value.
13071 (event_cb): return 1 if we handled the event, 0 otherwise.
13073 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13075 2002-03-18 Juergen Vigna <jug@sad.it>
13077 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13078 (GetAdditionalWidth): ditto.
13079 (RightLine): ditto.
13082 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13083 inset if we're there actually (probably not used right now but this
13084 is the direction to go for unifying code).
13085 (paste): disable code to clear the selection.
13087 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13088 inside an InsetText and move the check further up as it is in the
13091 * text2.C (pasteSelection): set a selection over the pasted text.
13093 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13095 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13096 and libgraphics to build on Cygwin.
13098 2002-03-15 Juergen Vigna <jug@sad.it>
13100 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13101 inserting an Inset into the paragraph. I know this is not the best
13102 fix but we already use current_view in CutAndPaste so we will remove
13103 all of it's using at the same time.
13105 * buffer.C (sgmlError): deactivated function till it is rewritten in
13106 the right mode, now it can create problems.
13108 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13109 before accessing it.
13111 2002-03-14 Juergen Vigna <jug@sad.it>
13113 * undo_funcs.C (textHandleUndo): do the right thing when updating
13114 the inset after the undo/redo.
13116 * text2.C (setCursor): just some testcode for #44 not ready yet.
13118 * undo_funcs.C (textHandleUndo): set the next() and previous()
13119 pointers of the paragraph to 0 before deleting otherwise we have
13120 problems with the Paragraph::[destructor].
13122 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13123 on a paragraph insertion.
13125 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13127 * buffer.C (asciiParagraph): use += operator for char append to
13130 * paragraph.C (getFontSettings): compare >= not just >
13131 (highestFontInRange): ditto
13134 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13136 * paragraph.C: change several algorithm to be more appripriate for
13137 the problem domain. This is lookip in FontList and in the InsetList.
13139 2002-03-13 André Pönitz <poenitz@gmx.net>
13142 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13144 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13149 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13151 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13153 * Painter.C (display): anon helper function, adjust code for this
13155 (pixmap): remove function.
13157 * Painter.h: remove private display variable.
13159 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13161 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13163 * WorkArea.[Ch]: remove figinset_canvas cruft.
13165 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13167 * lyxtextclass.C (operator): add one item cache optimization.
13169 * bufferlist.h: doxy changes
13171 * bufferlist.C: ws changes
13173 * DepTable.[Ch] (ext_exist): place const in the right spot.
13175 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13177 (workAreaExpose): call resizeInsets when the with BufferView changes.
13178 (Dispatch): adjust for protectedBlank removal
13179 (specialChar): call updateInset if the insert went ok.
13181 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13182 specialChar instead.
13184 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13186 * BufferView.h: doxy change
13188 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13190 * lyxtextclass.C (operator[]): remove non-const version
13191 (defaultLayout): remove non-const version
13193 2002-03-12 Juergen Vigna <jug@sad.it>
13195 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13196 did resize the LyXText too.
13198 * buffer.C (readLyXformat2): set layout information on newly allocated
13201 * tabular.C (OldFormatRead): set layout information on the paragraph.
13203 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13205 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13207 2002-03-11 Juergen Vigna <jug@sad.it>
13209 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13211 (resizeCurrentBuffer): force also the insets to resize themselfes.
13212 (moveCursorUpdate): fixed up for InsetText.
13214 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13217 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13218 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13219 value of Dialogs::tooltipsEnabled().
13220 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13222 2002-03-08 Juergen Vigna <jug@sad.it>
13224 * BufferView_pimpl.C (updateInset): update inset inside inset also
13225 if it isn't inside theLockingInset().
13227 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13229 * buffer.C (asciiParagraph): redo some of the word and line length
13231 (getLists): look for Caption instead of caption.
13233 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13235 * buffer.C (Buffer): initialize niceFile to true
13237 (makeLinuxDocFile):
13238 (makeDocBookFile): make sure niceFile is true on exit
13240 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13242 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13244 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13246 * LyXSendto.C: remove.
13247 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13248 * lyx_gui.C: remove now-redundant comment.
13249 * ColorHandler.h: remove forward declaration of class WorkArea.
13250 * lyxfunc.C: remove #include "WorkArea.h".
13252 2002-03-07 Juergen Vigna <jug@sad.it>
13254 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13255 got moved away with the DEPM and also set the inset_owner always
13256 right which before could have been omitted.
13258 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13260 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13261 wanted layout is not found.
13263 2002-03-07 Juergen Vigna <jug@sad.it>
13265 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13267 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13269 * paragraph.C (breakParagraph): use default layout not layout of
13271 (Paragraph): clear ParagraphParameters.
13273 2002-03-06 Juergen Vigna <jug@sad.it>
13275 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13276 otherwise it would not be a valid lenght. Fixed a special case in
13277 the minipage compatibility read where we end the document with a
13280 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13281 was set as it could be 0 for InsetTexts first entry.
13283 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13285 * paragraph.C (writeFile): if layout is empty write out
13286 defaultLayoutName().
13288 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13289 file without named layout we set layout to defaultLayoutName().
13291 2002-03-06 Juergen Vigna <jug@sad.it>
13293 * CutAndPaste.C (copySelection): set layout for new paragraph.
13295 * text.C (prepareToPrint): leave ERT inset left aligned
13296 (leftMargin): don't indent paragraphs inside ERT insets
13298 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13300 * paragraph.C (breakParagraph): dont call clear do the work manually
13302 * paragraph.[Ch] (clear): remove function
13304 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13306 * paragraph.C (Paragraph): dont call clear, the work has already
13309 * lyxtextclass.C (operator): assert if n is empty
13311 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13312 work manually instead.
13314 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13316 * BufferView_pimpl.C: protect selectionLost against text == 0
13318 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13320 * text.C (breakParagraph): fix a setting layout to '0' problem.
13322 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13324 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13325 final location of file, for the included files, and graphics.
13327 2002-03-05 Juergen Vigna <jug@sad.it>
13329 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13331 2002-03-04 Juergen Vigna <jug@sad.it>
13333 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13335 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13336 last column of multicolumn cells.
13337 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13339 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13341 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13342 file if it doesn't go to a temporary file.
13344 * buffer.C (sgmlOpenTag):
13345 (sgmlCloseTag): remove extra newline insertion.
13347 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13349 * text.C (getRowNearY): comment out debug msg
13351 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13353 * text2.C: first -> first_y
13355 * text.C (getRowNearY): add some attemts at a possible
13356 optimization, not working.
13358 * tabular.[Ch]: add BufferParams to several function so that newly
13359 created paragraph can be initialized to he default layotu for the
13362 * tabular-old.C (ReadOld): add buf->params to call of Init
13364 * screen.C: rename text->first to text->first_y
13366 * paragraph.C (breakParagraph): always set layout in the broken
13369 * lyxtextclass.C (Read): remove lowercase
13372 (delete_layout): ditto
13374 * lyxtext.h: rename first -> first_y
13376 * lyxlayout.C (Read): remove lowercase
13379 (obsoleted_by): ditto
13381 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13383 * buffer.C (insertErtContents): add params are to InsetERT
13384 (parseSingleLyXformat2Token): add code to check if a paragraphs
13385 layout really exist.
13386 (parseSingleLyXformat2Token): add params to several inset
13388 (asciiParagraph): remove lowercase, do the layout comparisons with
13391 * BufferView_pimpl.C (cursorNext): first -> first_y
13392 (resizeCurrentBuffer): first -> first_y
13393 (updateScrollbar): first -> first_y
13394 (scrollCB): first -> first_y
13395 (workAreaMotionNotify): first -> first_y
13396 (workAreaButtonPress): first -> first_y
13397 (checkInsetHit): first -> first_y
13398 (cursorPrevious): first -> first_y
13399 (cursorNext): first -> first_y
13400 (Dispatch): add buffer_->params to severl inset contructors
13402 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13404 * lyxlayout.C (Read): remove some debug info that I forgot.
13406 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13407 clean up the code slightly.
13408 (makeLinuxDocFile): ditto
13409 (makeDocBookFile): ditto
13411 * text2.C: layout as string
13413 * text.C: layout as string
13415 * paragraph_pimpl.C: layout as string
13417 * paragraph.[Ch]: layout as string
13419 * lyxtextclasslist.[Ch]: layout as string
13421 * lyxtextclass.[Ch]: layout as string
13423 * lyxtext.h: layout as string
13425 * lyxlayout.[Ch]: layout as string
13427 * lyx_cb.C: layout as string
13429 * bufferview_funcs.C: layout as string
13431 * bufferparams.C: layout as string
13433 * buffer.C: layout as string
13435 * LyXView.[Ch]: layout as string
13437 * LaTeXFeatures.[Ch]: layout as string
13439 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13441 * BufferView_pimpl.C: change current_layout to string, remove
13446 (workAreaButtonRelease): layout as string
13448 * BufferView2.C (unlockInset): adjust
13450 * vspace.C (asLatexCommand): use an explict temp variable.
13452 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13454 * Makefile.am: use FRONTEND_*
13456 2002-03-01 Juergen Vigna <jug@sad.it>
13458 * tabular.C (SetWidthOfMulticolCell): changed to something better
13459 I hope but still work in progress.
13460 (recalculateMulticolumnsOfColumn): renamed function from
13461 recalculateMulticolCells as it is more appropriate now.
13462 (SetWidthOfCell): calculate multicols better.
13464 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13466 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13468 * lyxfunc.C (processKeySym): print sequence also if it is
13469 `deleted' (complete)
13471 * kbsequence.C (print): print sequence even if it is deleted
13472 (complete would be a better word, actually).
13474 * lyxfunc.C (dispatch): print complete options after a prefix key
13476 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13478 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13480 * text2.C (setCharFont): eliminate setCharFont code duplication.
13482 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13484 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13485 LFUN_TABULAR_FEATURE (bug #177)
13487 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13489 * Makefile.am: remove figure.h
13491 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13493 * Bufferview_pimpl.C:
13505 * text2.C: remove #include "lyx_gui_misc.h".
13507 * LaTeX.C: added #include <cstdio>
13509 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13511 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13512 that the paragraph following this one can have.
13514 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13516 * vspace.C (asLatexCommand): fix bogus gcc warning
13518 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13520 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13522 * text2.C (setLayout): get rid of redundant code
13524 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13526 * text2.C (incDepth): make sure depth cannot be increased beyond
13529 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13531 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13532 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13534 * PainterBase.h (image):
13535 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13536 a LyXImage const *.
13538 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13542 * BufferView_pimpl.C:
13543 * BufferView_pimpl.h:
13563 * sp_spell.C: remove fig inset, and the crap house of
13564 cards that follows it
13566 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13571 * os2_errortable.h:
13572 * nt_defines.h: move .h into support/
13574 * vms_defines.h: remove
13576 * WorkArea.C: add space in debug output
13580 * buffer.C: add WITH_WARNINGS
13584 * bufferlist.C: s/retrive/retrieve/, add docs
13593 * chset.C: add docs
13595 * lyxgui.C: add ID to X error handler
13597 * lyxtestclass.c: fix typo
13599 2002-02-26 Juergen Vigna <jug@sad.it>
13601 * tabular_funcs.C (write_attribute): changed so that some default
13602 attributes are not written at all.
13603 (getTokenValue): set default values before trying to read the
13604 value so we have the return value always set as default if we don't
13605 find the token we search for.
13607 * tabular.C (Write): write bools as bools not as strings!
13609 2002-02-22 Juergen Vigna <jug@sad.it>
13611 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13612 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13614 * text.C (leftMargin): don't add an indent for paragraphs inside
13615 tabular cells (fix #208).
13617 2002-02-21 José Matos <jamatos@fep.up.pt>
13619 * tabular.C (docBook): fixed support for long tables.
13621 2002-02-20 Juergen Vigna <jug@sad.it>
13623 * text2.C (getFont): get the drawing font of the Inset if this
13624 paragraph is inside an inset (only important for InsetERT for now).
13626 * buffer.C (insertErtContents): use new lanugage params in ERT
13629 * CutAndPaste.C: commenting out seemingly uneeded code.
13631 2002-02-19 Allan Rae <rae@lyx.org>
13633 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13634 Iterators might be simple to use but they also get invalidated.
13635 (removeAutoInsets): renamed saved cursor tracking variables and added
13636 some comments to clarify what everything does.
13638 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13645 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13646 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13649 * vc-backend.h: remove #include "support/syscall.h"
13653 * converter.C: rearrange #includes in Lars' approved fashion.
13655 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13656 forward declare class Timeout in the header file.
13658 * XFormsView.C: changes due to the above.
13660 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13661 similar to LyXView.
13663 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13664 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13666 2002-02-18 José Matos <jamatos@fep.up.pt>
13668 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13671 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13673 * a lot of small ws changes
13674 * add a lot of using std::XXX
13675 * use std construcs some places where approp.
13676 * use some exisint stuff from lyxfunctional where approp.
13677 * Make file changes to use partial linking (lets test this now...)
13679 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13683 remove #include "support/syscontr.h" as it's redundant. Always has been.
13691 change Systemcalls::System to Systemcalls::Wait and
13692 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13693 No change of functionality, just reflects the stripped down Systemcalls
13696 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13698 * debug.[Ch]: add a GRAPHICS type to the enum.
13700 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13702 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13704 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13707 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13709 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13710 match the changes below.
13712 * text2.C (toggleInset): if there is not editable inset at cursor
13713 position, try to see if cursor is _inside_ a collapsable inset
13716 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13718 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13719 document menu has a nice checkbox
13721 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13723 * lyxlength.C (asLatexString): change PW to output as percent of
13726 * lengthcommon.C: change '%' to 't%'
13728 * lyxfunc.C (dispatch): a few comments from Martin
13730 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13734 * BufferView_pimpl.h:
13735 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13738 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13740 * vspace.C (inPixels): fix compiler warning
13742 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13744 * lyxfunc.C (getStatus): fix status message for disabled commands.
13746 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13748 * BufferView_pimpl.C: fix crash on close buffer
13749 during selection (#227)
13751 2002-01-27 Herbert Voss <voss@lyx.org>
13753 * buffer.C: link old Figure to new graphic inset
13755 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13757 * FontLoader.C (getFontinfo): Change the latex font names in order
13758 to match the names of type1inst.
13760 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13762 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13764 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13765 (extchanged): ditto
13767 (remove_files_with_extension): ditto
13768 (remove_file): ditto
13771 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13772 document is smaller than the work area height. Do not initialize
13773 static variables to 0.
13775 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13777 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13779 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13780 LFUN_LAYOUT_PARAGRAPHS.
13782 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13783 tabular. It is possible to provide a possible cell, which will
13784 typically be the actcell from the corresponding insettabular
13786 * lyxfunc.C (getStatus): small cleanup; disable
13787 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13790 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13792 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13794 * paragraph.C (startTeXParParams):
13795 (endTeXParParams): new methods. The LaTeX code to
13796 start/end paragraph formatting
13797 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13798 empty (fixes bug #200)
13800 * vspace.C (inPixels): adapt to the change below
13801 (inPixels): [later] more cleanups (remove unused variables)
13803 * lyxlength.C (inPixels): change to use a width and a height as
13806 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13808 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13809 Replaced with \paperwidth
13811 * DepTable.C (insert): add std:: qualifier
13813 2002-01-18 Allan Rae <rae@lyx.org>
13815 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13818 * text.C (drawInset): Turned out I didn't know enough about how
13819 rebreaking worked. This fixes most of the redraw problems. I see
13820 an occasional cursor trail when a line is broken now and the cursor
13821 placement can seem out by a few pixels also after a rebreak.
13823 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13825 * buffer.C (parseSingleLyXformat2Token): update because minipage
13826 width is now a LyXLength
13828 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13830 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13833 2002-01-17 Juergen Vigna <jug@sad.it>
13835 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13837 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13838 is set correctly and the inset is updated correctly.
13840 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13842 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13843 the beginning of the loop.
13845 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13847 * lyxrc.C: improve help for use_scalable_fonts
13849 2002-01-17 Allan Rae <rae@lyx.org>
13851 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13853 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13855 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13856 make sure to set their inset_owner to the right value (bug #171)
13858 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13861 * DepTable.C: Implement mtime checking to reduce time spent doing
13864 2002-01-16 Juergen Vigna <jug@sad.it>
13866 * tabular.C (GetAdditionalHeight): one of error fixed.
13868 * lyxrc.C (output): small fix in writing use_pspell.
13870 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13872 * sp_base.h: #include LString.h
13874 2002-01-16 Allan Rae <rae@lyx.org>
13876 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13877 Can someone check this please?
13879 * text.C (drawInset): It was possible that p.row would be removed by
13880 breakAgainOneRow upsetting a few other settings. There may be another
13881 small tweak possible by setting need_break_row = 0 when p.row has been
13882 removed but I don't know enough about the logic here.
13884 2002-01-15 Allan Rae <rae@lyx.org>
13886 * text.C (insertChar): removed conditional truism.
13888 * BufferView2.C (removeAutoInsets): More tweaks.
13889 cur_par_prev could be a stray pointer. Check for trailing empty line
13890 in case last line was cur_par and only had an error inset on it.
13892 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13894 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13897 * vc-backend.C (most methods):
13898 * exporter.C (Export):
13899 * converter.C (convert):
13901 * LyXSendto.C (SendtoApplyCB):
13902 * lyxfunc.C (dispatch):
13906 * lyx_cb.C (AutoSave):
13908 * BufferView_pimpl.C (MenuInsertLyXFile):
13909 * buffer.C (runChktex): use Buffer::filePath().
13911 * buffer.h: rename filename to filename_; rename filepath to
13912 filepath_ and make it private
13913 (filePath): new method
13915 * buffer.C (writeFile): use fileName()
13918 * lyx_main.C (init): fix starting of LyX when the binary is a
13919 link from so,ewhere else.
13921 * minibuffer.C: include <cctype> for isprint
13923 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13925 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13926 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13927 name clash with InsetCollapsable's width function.
13929 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13931 * lastfiles.C: include <iterator>
13933 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13935 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13938 * buffer.C (makeLaTeXFile): ditto.
13939 Also make loop operation more transparent.
13941 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13943 * ToolbarDefaults.C: remove trailing comma closing namespace.
13945 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13947 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13950 * trans.C (Load): comment out unused variable, allowed.
13952 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13954 * minibuffer.[Ch] (append_char): new method to recieve input from the
13955 drop-down completion browser. If a key was pressed, then recieve this
13956 char and append it to the existing string.
13957 (peek_event): modify the positioning data passed to the completion
13958 browser so that it can be placed above the minibuffer rather than below.
13959 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13961 * LyXAction.C (init): alloe error-next for readonly documents.
13963 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13966 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13968 * bufferlist.C (readFile): create the buffer _after_ checking that
13971 * lyxfunc.C (verboseDispatch): fix handling of arguments
13973 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13975 * lyxrc.C: use string::erase() instead of initializing to "".
13978 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13980 * BufferView_pimpl.h:
13981 * BufferView_pimpl.C:
13984 * text2.C: tell X when we have made a selection for copying
13986 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13988 * BufferView_pimpl.C (MenuInsertLyXFile):
13989 * lyxfunc.C (menuNew):
13991 (doImport): add shortcuts to directory buttons
13993 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13996 * lyxfunc.C (setStatusMessage):
13997 (getStatusMessage): new methods
13998 (getStatus):use setStatusMessage instead of setErrorMessage
13999 (dispatch): when function is disabled, set error message here
14000 [instead of in getStatus previously]
14002 * BufferView_pimpl.C (workAreaButtonRelease): update
14003 toolbar/menubar here too.
14005 2002-01-13 Allan Rae <rae@lyx.org>
14007 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14008 Now seems indestructible. Remaining task is to audit all other
14009 code affected by deleteEmptyParagraphMechanism. One small quirk
14010 left is that an empty document with an error in the preamble can
14011 be made to report an error but no error box appears. I don't know
14013 (removeAutoInsets): Improved comments.
14015 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14018 * Thesaurus.C: update for Aiksaurus 0.14
14020 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14022 * text2.C (firstParagraph): removed member function, all uses
14023 replaces with ownerParagraph
14024 (redoParagraphs): here
14025 (updateInset): here
14026 (toggleAppendix): here
14027 * BufferView2.C (insertErrors): here
14028 (setCursorFromRow): here
14030 2002-01-13 Allan Rae <rae@lyx.org>
14032 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14033 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14034 There is still a way to segfault this although you may have to do this
14035 multiple times: Have an InsetERT with an unknown command in it.
14036 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14037 <down-arrow>, <Enter> again, View->DVI, BANG!
14039 * text2.C (setCursor):
14040 (deleteEmptyParagraphMechanism):
14041 * lyxtext.h (setCursor):
14042 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14043 Making use of the return value may help fix other bugs.
14045 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14047 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14049 * LyXView.C (updateMenubar): call MenuBar::update here
14050 (updateToolbar): but not here
14051 (showState): do not update toolbar/menubar
14053 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14054 should need to care about that.
14056 * lyxfunc.C (verboseDispatch): simplify a bit
14057 (getStatus): have a version which takes a pseudoaction, and
14058 another which requires a (kb_action,string).
14060 * LyXAction.C (retrieveActionArg): make it work also when action
14061 is not a pseudo-action.
14062 (getActionName): simplify a bit
14065 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14067 * lyxfunc.C (verboseDispatch): new families of methods with
14068 several ways to specify a command and a bool to indicate whether
14069 the command name and shortcut should be displayed in minibuffer
14070 (eventually, we could extend that to a finer bitmask like
14071 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14072 (dispatch): the pristine dispatch command which just, well,
14073 dispatchs! Note it still sets its result to minibuffer; I'm not
14076 * lyxfunc.h: remove setHintMessage
14078 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14080 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14082 * BufferView_pimpl.C (specialChar): delete new inset if we have
14083 not been able to insert it.
14085 * kbmap.C: revert to using int instead of kb_action, since all we
14086 are dealing with is pseudo-actions.
14088 * LyXAction.C (searchActionArg): change to return int instead of
14089 kb_action, since the result is a pseudoaction.
14091 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14093 * buffer.C (insertErtContents): Fix (partially) the font bug.
14095 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14097 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14098 as the other one is broken on my machine!
14100 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14103 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14105 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14107 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14108 reflect their actual use. Provide compatibility code for older lyxrc
14111 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14113 change names of popup font variables in line with the changes to lyxrc.C
14115 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14117 * buffer.C (asciiParagraph): avoid outputing a word twice after
14120 * lyxrc.C (getDescription): document that document_path and
14121 template_path can be empty.
14123 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14125 * LaTeXFeatures.C (getMacros):
14126 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14128 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14130 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14132 (getPackages): rename feature "floats" to "float". Use an array to
14133 iterate over 'simple' features (i.e. just a \usepackage). Add
14134 handling of "amsmath" (renamed from "amsstyle").
14136 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14138 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14141 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14143 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14144 FuncStaus::FuncStatus & FuncStaus::some_method().
14146 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14148 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14149 of the func_satus stuff. Edited and massaged in various ways by
14152 * lyxfunc.C (getStatus): use FuncStatus
14154 2002-01-08 Juergen Vigna <jug@sad.it>
14156 * text.C (nextBreakPoint): use function Inset::isChar().
14158 * paragraph.C (TeXOnePar): use function
14159 Inset::forceDefaultParagraphs.
14161 * buffer.C (latexParagraphs): use function
14162 Inset::forceDefaultParagraphs.
14164 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14166 * lyx_gui.C (init): set the style of the menu popups to
14167 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14169 2002-01-07 Juergen Vigna <jug@sad.it>
14171 * text.C (setHeightOfRow): small fix
14172 (prepareToPrint): don't look at alignment if we don't have the place
14175 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14177 * box.C: New file. Move the Box methods and functions out of box.h,
14178 following Lars' suggestion.
14180 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14182 * box.h: #include "support/LOstream.h", needed for inlined function.
14185 * lyxtextclasslist.C: added some using std declarations.
14187 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14189 * box.h: make signed dimensions to allow insets wider than
14190 the screen (bug #162)
14192 * BufferView_pimpl.C: add some insetHit debug
14194 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14196 * vc-backend.C: add FIXME
14198 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14200 * lyxfunc.C (getStatus): enable code for showing math font status
14203 2002-01-07 Juergen Vigna <jug@sad.it>
14205 * text.C (nextBreakPoint): removed debug output not needed anymore.
14207 2002-01-06 Juergen Vigna <jug@sad.it>
14209 * text.C (nextBreakPoint): fixed up this function we had this bug
14210 since ever but now hopefully we break row better.
14211 (insertChar): we have to check if an inset is the next char as it
14212 could now happen that a large inset is causing a break.
14214 2002-01-05 Juergen Vigna <jug@sad.it>
14216 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14217 if it doesn't like to be drawed.
14219 2002-01-04 Juergen Vigna <jug@sad.it>
14221 * BufferView2.C (lockInset): forgot to set a cursor.
14223 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14225 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14227 * FormMathsPanel.C:
14230 * form_maths_panel.C:
14231 * form_maths_panel.h:
14232 * form_maths_panel.fd: implemented sub- and super- buttons in math
14235 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14236 (or ^ space) to be used as in TeX (req'd by Andr�.
14238 * lyxfunc.C: Allow ^ and _ again to be used both as
14239 super/subscript (mathed) and as themselves (in text).
14241 2002-01-03 Allan Rae <rae@lyx.org>
14243 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14244 "LyX" or the filename of the current buffer if it has one. This is a
14245 modified form of John Levon's patch.
14247 * XFormsView.C (setWindowTitle): also set icon title.
14249 * LyXView.h (setWindowTitle): signature changed.
14250 * XFormsView.h (setWindowTitle): ditto.
14252 2002-01-02 Juergen Vigna <jug@sad.it>
14254 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14256 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14258 * screen.C (topCursorVisible): introduce a temp var for
14259 text->cursor.row(), handle the case where this row is null. (kindo
14262 * text2.C (setCursor): add a couple of asserts.
14264 * paragraph.h (inset_iterator): add -> operator
14266 * paragraph.[Ch] (autoDeleteInsets): remove member function
14268 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14269 cursor pos correctly and handle inset deletion by itself.
14270 (insertErrors): move iterator declaration out of for expression
14272 * lyxtextclass.C: add <algorithm>
14274 * Makefile.am: added the new files to sources, removed layout.C
14276 * layout.C: removed file
14278 * layout.h: remove LYX_DUMMY_LAYOUT
14280 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14284 * lyxtextclass.[Ch]:
14285 * lyxtextclasslist.[Ch]: new files
14287 * include order changes to a lot of files, also changes because of
14290 2001-12-27 Juergen Vigna <jug@sad.it>
14292 * buffer.C (asciiParagraph): more fixes.
14294 * tabular.C (ascii): make ascii export support export of only the
14295 data separated by a column-delimiter.
14296 (ascii): better support for ascii export.
14298 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14300 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14302 * tabular_funcs.C: use a "using std::getline" instead of the
14303 previous fix from Angus (necessary for cxx + lyxstring)
14305 2001-12-24 Juergen Vigna <jug@sad.it>
14307 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14309 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14310 problems. First check a minipage also if we have some ert-contents
14311 (not only on par->size(), second set the right depth of the paragraph
14312 on the relink to the root-paragraph-list!
14314 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14315 which then did not anymore update the main paragraphs on undo/redo!
14317 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14319 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14320 code. Support all font-changing funcs (even those which are not in
14321 menu currently). Support for reporting font settings in
14322 mathed (disabled until Andre provides a function on mathed's side).
14324 * func_status.h (toggle): small helper function to set toggle
14327 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14329 * tabular_funcs.C: getline -> std::getline
14331 2001-12-21 Juergen Vigna <jug@sad.it>
14333 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14334 accessed and could be 0 (I couldn't generate this but it seems
14337 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14339 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14340 * tabular_funcs.h: here and include iosfwd
14342 2001-12-20 Juergen Vigna <jug@sad.it>
14344 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14345 inside inset but undo_par was.
14347 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14349 * Thesaurus.C: always include <config.h> in sources.
14353 * box.h: do not include <config.h> in header files
14355 * text.C (paintLastRow): remove unused variable
14357 * text.C (transformChar):
14359 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14361 * Painter.C (text):
14362 * font.C (width): rewrite to use uppercase() instead of
14365 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14367 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14369 * lyxfind.C: clean up of find failure position change
14371 2001-12-20 Juergen Vigna <jug@sad.it>
14373 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14375 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14376 (TeXRow): added to LaTeX a single tabular row.
14377 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14378 (Latex): simplified and finally good LT-h/f support.
14379 (various_functions): just small adaptions for LT-h/f support.
14381 * tabular_funcs.[hC]: added and moved here all not classfunctions
14384 2001-12-19 Juergen Vigna <jug@sad.it>
14386 * tabular.[Ch]: better support for longtabular options (not finished
14389 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14391 * text.C (paintLastRow): use the label font instead of the font of
14392 the last character to compute the size of *_BOX. This makes more
14393 sense and avoids a crash with empty paragraphs.
14394 Use Painter::rectangle to draw EMPTY_BOX.
14396 2001-12-19 Juergen Vigna <jug@sad.it>
14398 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14399 the paragraphs if the replaced paragraph is not the first one!
14400 Tried to delete not used paragraphs but does not work yet so for
14401 now it's inside #ifdef's and by default off!
14403 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14405 * MenuBackend.C: include "lyx_main.h" instead of declaring
14406 lastfiles (actually was declared as LastFiles* instead of a
14409 2001-12-17 Juergen Vigna <jug@sad.it>
14411 * tabular.C (AppendColumn): applied John's fix
14413 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14417 * BufferView_pimpl.h:
14418 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14421 * box.h: new start of class for above
14423 * lyxfunc.C: ignore space-only minibuffer dispatches.
14424 Show the command name when it doesn't exist
14426 * minibuffer.C: don't add empty lines to the history
14428 * minibuffer.C: add a space on dropdown completion
14430 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14432 * text.C: fix line above/below drawing in insets
14434 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14436 * lyxlength.C (LyXLength): Initialize private variables.
14438 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14440 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14441 when inserting error insets.
14443 2001-12-13 Juergen Vigna <jug@sad.it>
14445 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14446 actually sometimes the before-paragraph.
14447 (setUndo): don't clear the redostack if we're not actually undoing!
14449 2001-12-06 Juergen Vigna <jug@sad.it>
14451 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14452 and fixed redoing of main paragraph, so we can use it now ;)
14454 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14456 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14458 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14461 2001-12-13 André Pönitz <poenitz@gmx.net>
14464 * undo_func.C: minor cleanup
14466 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14468 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14469 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14470 font in urw-fonts package which is marked as -urw-fontspecific and
14471 does not work (incidentally, changing the encoding in the
14472 fonts.dir of this package to -adobe-fontspecific fixes the
14475 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14476 is a crash when undoing first paragraph (Juergen, please take a
14477 look). THis does not mean the undo fix is wrong, just that it
14480 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14481 the (Paragraph*) version when needed instead of duplicating the
14484 * text.C (workWidth): use Inset::parOwner to find out where the
14485 inset has been inserted. This is a huge performance gain for large
14486 documents with lots of insets. If Inset::parOwner is not set, fall
14487 back on the brute force method
14489 * paragraph_pimpl.C (insertInset):
14490 * paragraph.C (Paragraph):
14491 (cutIntoMinibuffer): set parOwner of insets when
14492 inserting/removing them
14494 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14496 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14502 * mathed/formulabase.C:
14503 * mathed/math_cursor.[Ch]:
14504 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14507 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14509 * lyxlength.[Ch] (operator!=): new function
14511 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14513 * text.C (workWidth): use Inset::parOwner to find out where the
14514 inset has been inserted. This is a huge performance gain for large
14515 documents with lots of insets. If Inset::parOwner is not set, fall
14516 back on the brute force method
14518 * paragraph_pimpl.C (insertInset):
14519 * paragraph.C (Paragraph):
14520 (cutIntoMinibuffer): set parOwner of insets when
14521 inserting/removing them
14523 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14525 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14527 * tabular-old.C (getTokenValue):
14528 * tabular.C (getTokenValue):
14529 (write_attribute): new versions for LyXLength
14530 (everywhere): adjust the use of widths
14532 * tabular.h: change the type of widths from string to LyXLength
14534 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14536 * paragraph.C: fixed missing line number count when exporting
14537 Environments to LaTeX file
14539 * buffer.C: added informational message for checking line numbers.
14541 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14543 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14544 paragraph, do the 'double space' part, but not the 'empty
14547 * text.C (workWidth): small optimization
14548 (getLengthMarkerHeight): use minimal size for negative lengths.
14550 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14552 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14554 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14556 2001-12-11 André Pönitz <poenitz@gmx.net>
14559 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14561 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14563 * text2.C: keep selection on a setFont()
14565 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14567 * lyx_cb.C: another bv->text misuse, from insert label
14569 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14572 * kbsequence.C: re-instate nmodifier mask
14574 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14576 * lyx_main.h: make lyxGUI private.
14578 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14580 * lyxfind.C: place the cursor correctly on failed search
14582 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14584 * text.C (getLengthMarkerHeight): for small heights, the arrows
14585 are not always on top/bottom of the text
14586 (drawLengthMarker): smaller arrows; take the left margin in
14587 account; draw also vfills.
14589 (paintLastRow): remove special code for vfill and standard spaces,
14590 since everything is handled in drawLengthMarker now.
14592 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14594 * buffer.C (insertErtContents): try to handle font and language
14595 interaction a bit better.g
14597 * ColorHandler.C (updateColor): change the hash to cover the whole
14598 LColor enum, ws cleanup
14599 (getGCLinepars): ditto
14600 (getGCLinepars): only lookup in the linecache once.
14602 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14604 * iterators.C (operator++): Make the iterator more robust
14606 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14608 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14610 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14613 * text.C: better added space drawing
14615 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14618 * BufferView2.C: fix layout combo update on inset unlock
14620 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14622 * Makefile.am: don't compile unused files
14624 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14628 * LyXAction.C: remove old LFUN_LAYOUTNO
14630 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14632 * paragraph_pimpl.h:
14633 * paragraph_pimpl.C: isTextAt() doesn't need font param
14635 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14638 * lyxlex.C: little cleanup
14640 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14642 * BufferView_pimpl.C: fix insertAscii for insets
14644 2001-12-05 Juergen Vigna <jug@sad.it>
14646 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14647 set the right font on the "multi" paragraph paste!
14649 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14655 * lyxlength.C: remove out-commented code.
14657 * BufferView_pimpl:
14671 * vc-backend.C: change "while(" to "while ("
14673 * lyxlength.[Ch]: add zero function to check if length is zero or
14675 * lyxgluelength.C: use it
14677 2001-12-05 Allan Rae <rae@lyx.org>
14679 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14680 Works for 2.95.3, from what I understand of Garst's reports this should
14681 work for other g++ versions. We're screwed if the abs(int) definition
14682 changed between bugfix releases of gcc.
14684 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14686 * text.C: fix chapter label offset !
14688 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14691 * text.C: fix hfill at end of line, clean up
14693 2001-12-04 Juergen Vigna <jug@sad.it>
14695 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14696 that we force an update of the inset and it's owners if neccessary.
14698 2001-12-03 Juergen Vigna <jug@sad.it>
14700 * text.C (rowLast): simplified code
14702 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14704 * lyxfunc.C: fix show options on timeout
14706 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14708 * screen.C (topCursorVisible): scroll half a page when the cursor
14709 reached top of bottom of screen
14711 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14713 * minibuffer.C: deactivate on loss of focus
14715 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14717 * vspace.[Ch] (operator!=): add operator.
14719 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14721 * BufferView_pimpl.C: refuse to open an inset when
14722 there's a selection.
14724 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14726 * BufferView_pimpl.C: allow to click on RHS of full row insets
14728 2001-11-30 Juergen Vigna <jug@sad.it>
14730 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14731 insets for undo reasons.
14733 2001-11-28 André Pönitz <poenitz@gmx.net>
14735 * vspace.[Ch]: cosmetical changes
14737 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14747 * kbsequence.C: part re-write of old kb code
14750 * WorkArea.C: remove Lgb_bug_find_hack
14752 2001-11-30 José Matos <jamatos@fep.up.pt>
14754 * buffer.C (makeDocBookFile): add a comment to point a hack.
14755 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14756 Fixed a double write of labels.
14758 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14761 * LaTeX.h Fixed bug in LaTeX class where it would not
14762 re-run latex if no depfiles were changed, but the .dvi was removed.
14764 2001-11-28 André Pönitz <poenitz@gmx.net>
14766 * all the files from the change on 2001/11/26:
14767 use lyx::layout_type instead of LyXTextClass::size_type
14768 use lyx::textclass_type instead of LyXTextClassList::size_type
14770 2001-11-29 Juergen Vigna <jug@sad.it>
14772 * text.C: added support for paragraph::isFreeSpacing()
14774 * buffer.C: same as above
14776 * paragraph.h: inserted isFreeSpacing() function to enable
14777 FreeSpacing inside InsetERT.
14779 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14780 of the paragraph's in the cut/copy buffer to 0!
14782 * text2.C (removeRow): remove the assert as it can!
14784 * lyxtext.h: added helper function firstRow returning firstrow and
14785 made firstrow private again.
14787 * BufferView2.C (lockInset): don't relock if we're already locked!
14789 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14790 the only paragraph.
14791 (removeRow): added Assert::(firstrow)
14793 * debug.C: forgot to add INSETTEXT here.
14795 2001-11-28 Juergen Vigna <jug@sad.it>
14797 * sp_spell.C (initialize): changed error text to more general
14798 spellchecker command use (not only ispell!)
14800 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14802 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14804 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14806 * vspace.C: initialise lyxgluelength on failure
14808 2001-11-28 Allan Rae <rae@lyx.org>
14810 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14811 declaration & definition that looks like a function declaration.
14813 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14815 * BufferView2.C (copy):
14816 (copyEnvironment): do not clear the selection when doing a copy.
14818 * text.C (paintFirstRow): compilation fix
14820 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14822 * tabular.C (Latex): correct line count when writing latex.
14824 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14826 * paragraph_pimpl.h:
14827 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14830 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14834 * LColor.C: change vfillline->added_space
14836 * text.C: add markers and text for added space
14838 * vspace.C: fix comment
14840 2001-11-28 André Pönitz <poenitz@gmx.net>
14842 * paragraph.C: whitespace changes
14843 * all the other files from the change on 2001/11/26:
14844 change *::pos_type into lyx::pos_type
14846 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14848 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14849 language of the document when inserting error insets.
14851 2001-11-26 André Pönitz <poenitz@gmx.net>
14853 * BufferView_pimpl.[Ch]:
14861 * paragraph_pimpl.[Ch]:
14864 * text2.C: reduce header dependencies, introduce type for positions
14866 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14868 * <various>: change to use Alert.h
14870 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14872 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14873 when encountering an unknown token.
14874 (readLyXformat2): Show an error message if there were unknown tokens.
14876 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14879 * BufferView_pimpl.C:
14883 * text2.C: use par->isInset()
14885 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14887 * paragraph_pimpl.h:
14888 * paragraph_pimpl.C: cleanup
14890 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14892 * text2.C (removeRow):
14893 * text.C (setHeightOfRow): remove useless (and costly) call to
14896 2001-11-20 Allan Rae <rae@lyx.org>
14898 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14899 Now need Inset*::checkInsertChar() to return true for appropriate
14900 cases so that the characters in the minibuffer will actually be
14903 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14905 * text.C: change the order of the includes.
14906 (workWidth): initialize it at once.
14907 (workWidth): make maxw unsigned
14908 (setHeightOfRow): remove unused variable (inset)
14909 (selectSelectedWord): remove unused variable (inset)
14910 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14912 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14914 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14915 server is not running.
14917 (closeConnection): add debug info when server is disabled.
14919 * ColorHandler.C (getGCForeground): send debug message to GUI
14922 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14924 * kbmap.C (bind): modify because return conventions of
14925 kb_sequence::parse have changed.
14927 * kbsequence.C (parse): only ignore spaces and not any stupid
14928 control character. This avoids tests like s[i] <= ' ', which are
14929 guaranteed to fail with 8bit characters and signed chars.
14930 Change return code to string::npos when there have been no error
14931 (0 was a bad idea when error is at first character)
14933 2001-11-14 José Matos <jamatos@fep.up.pt>
14936 * buffer.C (simpleDocBookOnePar): removed unused argument.
14938 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14940 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14941 insets which are part of a word. Paragraph::isLetter takes care of
14942 that now. Use Paragraph::isInset to identify insets.
14943 (selectSelectedWord): do not test for hyphenation break.
14945 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14946 that protected spaces are considered as spaces.
14948 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14951 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14954 * lyxserver.C: fix it. and small cleanup.
14956 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14958 * BufferView_pimpl.C: use inline helpers
14961 * LaTeXFeatures.C: fix typos
14964 * Spacing.C: move spacing_string into class
14966 * ToolbarDefaults.C: move stuff into namespace anon
14968 * layout.h: update enum
14970 * lyxfunc.C: use better debug
14972 * minibuffer.h: fix typo
14976 * WorkArea.C: add and use Debug::WORKAREA
14980 * text2.C: code re-organisation, inline helpers
14982 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14984 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14985 std::vector.empty().
14987 2001-11-09 Allan Rae <rae@lyx.org>
14989 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14990 '\n's after tables. Tabular and ERT inset work now makes this no
14993 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14996 * minibuffer.C: fix crash, improve drop-down completion
14998 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15001 * lyxserver.C: invalidate fd's when doing endPipe()
15003 2001-11-08 José Matos <jamatos@fep.up.pt>
15005 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15006 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15009 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15011 2001-11-07 José Matos <jamatos@fep.up.pt>
15014 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15017 * buffer.C (sgmlOpenTag):
15018 * buffer.C (sgmlCloseTag): removed debug info.
15020 * buffer.h (sgmlOpenTag):
15021 * buffer.h (sgmlCloseTag): made public.
15023 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15025 * buffer.C (saveParamsAsDefaults):
15026 * lyx_cb.C (MenuLayoutSave): remove
15028 * LyXAction.C (init):
15030 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15032 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15034 * buffer.C (setPaperStuff): removed from here...
15036 * bufferparams.C (setPaperStuff): ... and moved there.
15038 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15042 * XFormsView.C: add support for drop-down completion
15044 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15046 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15049 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15051 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15054 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15056 * lyx_main.C: change ref to known bugs
15058 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15060 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15061 to work around older babel problems.
15063 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15065 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15067 2001-10-24 Juergen Vigna <jug@sad.it>
15069 * tabular-old.C (ReadOld): below variable changes reflected.
15071 * tabular.[Ch]: added ltType struct for longtable header/footer
15072 defines and changed all instances where they are used. Added
15073 future support for double top/bottom rows.
15075 2001-10-24 José Matos <jamatos@fep.up.pt>
15077 * buffer.h (docbookHandleCaption):
15078 * buffer.C (docbookHandleCaption): removed unused function.
15079 (makeDocBookFile): moved docbook supported version to v4.1.
15081 2001-10-24 José Matos <jamatos@fep.up.pt>
15084 * tabular.C (docbookRow): new function to export docbook code of a row.
15085 (DocBook): now honors the longtable flags.
15087 2001-10-23 José Matos <jamatos@fep.up.pt>
15090 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15091 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15093 * buffer.C (makeLinuxDocFile):
15094 (makeDocBookFile): reworked the preamble, more clean, and with
15095 support for lyx defined entities. Changed the document declaration
15096 to be more XML friendly.
15098 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15099 if we need to output XML that should be done with a filter.
15101 2001-10-22 Juergen Vigna <jug@sad.it>
15103 * sp_pspell.h (class PSpell): add alive function needed in the
15104 controller to see if the spellchecker could be started.
15106 2001-10-22 Juergen Vigna <jug@sad.it>
15108 * buffer.C (insertStringAsLines): modify the font for inserting
15109 chars in certain conditions by calling checkInsertChar(font).
15111 2001-10-19 Juergen Vigna <jug@sad.it>
15113 * text.C (workWidth): use getRow instead of wrong algorithm.
15114 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15116 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15121 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15123 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15125 * text.C (workWidth): do not search for the exact row when
15126 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15127 optimization for big documents.
15129 2001-10-18 Juergen Vigna <jug@sad.it>
15131 * text.C (workWidth): new function with added Inset * parameter.
15133 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15135 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15137 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15138 change return type of getColumnNearX.
15141 * text.C (changeRegionCase): use uppercase/lowercase instead of
15144 (rightMargin): simplify code by factoring out the uses of
15149 (appendParagraph): use Paragraph::size_type
15151 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15153 * vspace.C (asLatexString): add a missing break
15155 2001-10-15 Herbert Voss <voss@perce.de>
15157 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15159 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15161 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15164 2001-10-10 André Pönitz <poenitz@gmx.net>
15166 * lyxfunc.C: removed greek_kb_flag.
15168 2001-10-10 Herbert Voss <voss@perce.de>
15170 * lyx_main.C: delete global string help_lyxdir.
15172 2001-10-09 Herbert Voss <voss@perce.de>
15174 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15176 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15178 * lyx_main.C: added global string help_lyxdir.
15180 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15182 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15184 * lyxrc.C (set_font_norm_type): support iso8859-4
15186 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15188 * LaTeX.C (deplog): add another regex for MikTeX
15190 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15192 * lyxrc.C (set_font_norm_type): support iso8859-3
15194 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15196 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15198 * LaTeXFeatures.C: remove special case of french and index
15200 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15201 before \begin{document}). This solves several incompatibilities.
15203 2001-10-03 Garst Reese <reese@isn.net>
15205 * lyx_cb.C: change CheckTex error msg.
15207 2001-10-03 José Matos <jamatos@fep.up.pt>
15209 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15211 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15213 * .cvsignore: update
15215 * lyx_main.C (commandLineVersionInfo): use new style version info.
15217 * buffer.C (writeFile):
15219 (makeLinuxDocFile):
15220 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15222 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15224 * version.h: update to use stuff in version.C
15226 * version.C.in: new file. Contains version information determined
15227 at compile time. This is a merging of version.h and
15230 2001-10-03 Juergen Vigna <jug@sad.it>
15232 * BufferView_pimpl.C (update): don't change "dirty" status in
15235 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15237 * WorkArea.C (c-tor): re-position version string slightly.
15239 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15241 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15242 revert to previous code.
15244 WorkArea.[Ch]: (show, destroySplash): methods removed.
15246 WorkArea.C: rework code so that it's an amalgam of the codes before and
15247 after the splash screen was moved to WorkArea.
15249 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15252 * vspace.C (inPixels):
15255 * buffer.C (insertStringAsLines):
15256 (asciiParagraph): fix types to be large enough
15258 * lyxlex_pimpl.h: change member status from short to int
15260 * layout.h: fix type of endlabeltype
15263 * kbsequence.C (parse): change return type to string::size_type
15265 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15268 * Bullet.C (bulletSize):
15269 (bulletEntry): do not use short ints as parameters
15271 * BufferView2.C (insertLyXFile): change a char to an int.
15273 * WorkArea.C (WorkArea): remove unneeded floats in computation
15275 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15277 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15279 * paragraph.C (asString): Do not ignore newline/hfill chars when
15280 copying to the clipboard.
15282 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15284 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15285 after a multi-line inset.
15287 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15289 * paragraph.C (validate): Set NeedLyXFootnoteCode
15291 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15293 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15294 and decrease-error to decrease.
15296 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15298 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15299 it more readable (should be equivalent)
15301 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15303 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15305 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15307 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15308 of a cursor (row, etc.) after a character has been deleted
15309 (deleteEmptyParagraphMechanism): call the method above on _all_
15310 cursors held by the LyXText when a double space has been
15313 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15315 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15317 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15319 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15320 background. Use greyOut() and the new show() methods to toggle between
15321 the foreground and background. Add code to remove the splash after
15322 its initial showing.
15324 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15325 (create_forms): no longer call Dialogs::showSplash.
15327 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15329 * .cvsignore: add version_info.h
15331 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15333 * version_info.h.in: new file
15335 * Makefile.am: add version_info.h.in
15337 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15338 version_info.h instead of VERSION_INFO
15340 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15342 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15343 The ERT inset now returns string().
15345 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15347 * lyxtext.h, text.C (selectNextWord): renamed as
15348 selectNextWordToSpellcheck.
15350 * text.C (selectNextWordToSpellcheck): Modified to not select
15351 words inside an ERT inset.
15353 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15355 * lyx_cb.C (MenuLayoutSave): change a bit the question
15357 * sp_base.h: include <sys/types.h>
15359 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15361 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15363 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15365 * several files: fix typos in user-visible strings
15367 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15369 * text2.C (pasteSelection): do not set the selection, since it
15370 will be cleared later. Actually, the intent was to fix the way the
15371 selection was set, but I figured rmoving the code was just as good.
15373 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15375 * FontLoader.C (available): Check if font is available without
15378 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15380 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15382 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15384 * lyxrc.[Ch]: added display_graphics variable and associated code.
15386 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15388 * bufferparams.C (hasClassDefaults): new method. Returns true if
15389 the buffer parameters correspond to known class defaults
15391 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15393 * XFormsView.C (show): set minimum size to the main window.
15395 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15397 * text2.C (copySelection):
15399 * lyxfind.C (LyXReplace):
15400 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15401 LyXText::selectionAsString.
15403 * paragraph.C (asString): add "label" argument to the second form
15405 * text2.C (selectionAsString): add "label" argument and pass it to
15406 Paragraph::asString.
15408 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15410 * lyx_main.C (commandLineHelp): remove version information
15412 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15414 * lyx_main.C: add -version commandline option
15416 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15418 * paragraph.h: make the optional constructor arg required instead.
15419 some modifications to other files because of this.
15421 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15423 * lyxserver.C (C_LyXComm_callback): make it static
15425 * lyx_main.C (error_handler): make it static
15427 * lyx_gui.C (LyX_XErrHandler): make it static
15429 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15431 * WorkArea.C: make the extern "C" methods static.
15433 * Makefile.am (lyx_LDADD): simplify
15435 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15437 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15438 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15440 * LyXAction.C (init):
15441 * lyxfunc.C (dispatch): associated code removal.
15443 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15445 * lyxfont.h (isSymbolFont): shut off warning
15447 * text.C (setHeightOfRow):
15448 (getVisibleRow): fix crash with empty paragraphs which have a
15451 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15453 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15456 2001-09-04 José Matos <jamatos@fep.up.pt>
15459 * tabular.C (docbook): rename docBook method to docbook.
15461 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15463 * Makefile.am: add dependencies to main.o.
15465 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15467 * FontLoader.C (available): Return false if !lyxrc.use_gui
15469 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15471 * FontInfo.C (query):
15472 * converter.C (view):
15473 * importer.C (Import):
15474 * exporter.C (Export): Can not -> cannot.
15476 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15478 * BufferView_pimpl.C: allow to create index inset even if
15481 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15483 * buffer.C (getLists): replace boost::tie code with an explicit pair
15484 as boost::tie can break some compilers.
15486 * iterators.h: Added a std:: declaration to the return type of
15489 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15491 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15494 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15496 * iterators.[Ch]: New files. Provide paragraph iterators.
15498 * buffer.C (changeLanguage): Use paragraph iterators.
15499 (isMultiLingual): ditto
15501 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15503 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15505 * FontLoader.C: Support for cmr font.
15507 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15509 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15510 (available): New method.
15512 * FontInfo.C (getFontname): Use scalable fonts even when
15513 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15516 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15518 * converter.C (Formats::view): reverted! Incorrect fix.
15520 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15522 * converter.C (Formats::view): only output the -paper option
15523 if the dvi viewer is xdvi, thereby fixing bug #233429.
15525 2001-08-23 Herbert Voss <voss@perce>
15527 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15529 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15531 * Spacing.h (Spacing): Set space to Default on in the default
15534 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15536 * vc-backend.h (RCS::versionString): add RCS to version
15537 (CVS::versionString): add CVS to version
15539 * vc-backend.C (scanMaster): do not add CVS to version.
15540 (scanMaster): do not add RCS to version
15542 * lyxvc.C (versionString): new method
15544 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15546 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15548 * Spacing.C (set): initialize fval
15550 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15552 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15555 2001-08-16 Juergen Vigna <jug@sad.it>
15557 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15559 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15561 * BufferView_pimpl.C:
15564 * text2.C: setParagraph takes linespacing now
15566 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15568 * LyxAction.C: add internal LFUN_CITATION_INSERT
15570 * LyXView.C: actually apply fix
15572 * bufferlist.C: fix open non-existent file
15574 * lyxfind.C: fix indentation
15576 * lyxfunc.C: remove unneeded assert, fix typo
15578 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15580 * MenuBackend.C: use "Floatname List"
15582 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15584 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15585 when converting LaTeX layout to insetERT.
15586 Generate a non-collapsed float when reading old float
15588 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15590 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15593 2001-08-13 Juergen Vigna <jug@sad.it>
15595 * text.C (fill): return 0 instead of 20 as this seems to be the more
15598 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15600 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15603 2001-08-13 Juergen Vigna <jug@sad.it>
15605 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15607 (SearchBackward): comment out the unlocking of the inset_owner this
15608 should not be needed!
15610 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15612 * Many files: Remove inherit_language, and add latex_language
15614 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15615 collapsible insets.
15617 2001-08-10 Juergen Vigna <jug@sad.it>
15619 * text.C (prepareToPrint): fixed hfill-width in draw!
15621 * BufferView2.C (selectLastWord): save the selection cursor as this
15622 now is cleared in the function LyXText::clearSelection!
15624 2001-08-08 Juergen Vigna <jug@sad.it>
15626 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15627 BACKSPACE type functions.
15629 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15630 is only cutted from the document but not put in the cut-buffer, where
15631 still the old stuff should be.
15633 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15635 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15637 * tabular.C (SetWidthOfCell): fixed special case where the width
15639 (LeftLine): handle '|' in align_special.
15641 (LeftAlreadyDrawed): ditto
15642 (SetWidthOfCell): ditto
15644 2001-08-07 Juergen Vigna <jug@sad.it>
15646 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15648 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15650 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15651 * lyxlex.[hC]: ditto
15653 2001-08-06 Juergen Vigna <jug@sad.it>
15655 * text.C (getVisibleRow): fix up row clearing a bit.
15657 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15659 * minibuffer.C: make sure the X server sees the changes in the input.
15661 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15663 * paragraph.C (getFont): split into...
15664 (getLabelFont): this
15665 (getLayoutFont): and this
15666 * paragraph_pimpl.C (realizeFont): calling this
15668 * text2.C (getFont): split into...
15669 (getLayoutFont): this
15670 (getLabelFont): and this
15671 (realizeFont): all three calling this
15673 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15676 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15678 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15680 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15682 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15683 layouts from the Quote inset insertion.
15685 2001-08-03 Juergen Vigna <jug@sad.it>
15687 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15689 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15690 only if status not is already CHANGED_IN_DRAW (second level).
15692 * text.C (draw): don't set the need_break_row when inside an
15695 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15697 * buffer.C (parseSingleLyXformat2Token): handle more latex
15700 * bufferview_funcs.[hC]: change function names to
15701 begin with small char, adjust other files.
15703 2001-08-02 André Pönitz <poenitz@gmx.net>
15706 BufferView_pimpl.C: remove broken special code for math-greek
15708 2001-08-02 Juergen Vigna <jug@sad.it>
15710 * BufferView_pimpl.C (update): redone this function so that we
15711 update the text again if there was a CHANGE_IN_DRAW.
15713 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15714 (drawFromTo): added a new internal bool which is used by draw() and
15716 (general): some cursor drawing problems fixed.
15718 2001-08-01 Juergen Vigna <jug@sad.it>
15720 * lyxfind.C (LyXFind): fixed
15721 (SearchForward): ditto
15722 (SearchBackward): ditto
15724 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15725 spurius drawing of the cursor in the main area.
15727 * text2.C (status): small fix which could lead to a segfault!
15728 (clearSelection): remove unneeded BufferView param.
15730 2001-08-01 André Pönitz <poenitz@gmx.net>
15732 * lyxfunc.C: small change due to changed mathed interface
15734 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15736 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15738 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15740 * lyxfunc.c: fail gracefully if file doesn't exist
15745 * BufferView_pimpl.C: IsDirWriteable() proto changed
15747 * LyXView.C: fix updateWindowTitle() to store the last title
15749 2001-07-31 Juergen Vigna <jug@sad.it>
15751 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15752 the font (wrong since using of Paragraph::highestFontInRange).
15754 * paragraph.C (highestFontInRange): added a default_size parameter.
15756 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15757 (setHeightOfRow): reformat
15759 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15761 * converter.[hC] + affected files: move to (inital-char)lowercase
15764 * ParagraphParameters.C (ParagraphParameters): remove commented code
15766 * PainterBase.[Ch]: remove commented code
15768 * LaTeXFeatures.h: add "bool floats" for float.sty
15770 * LaTeXFeatures.C (LaTeXFeatures): init floats
15771 (require): handle float
15772 (getPackages): do it with floats
15774 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15776 * BufferView_pimpl.C (Dispatch): improve handling of
15777 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15779 * commandtags.h: #include lyxfont.h here temporarily to avoid
15782 * bufferlist.h: include LString.h here.
15784 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15786 * text2.C (getStringToIndex): new method.
15788 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15790 * *: Reduced header file dependencies all over.
15792 2001-07-30 Baruch Even <baruch@lyx.org>
15794 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15796 2001-07-29 Baruch Even <baruch@lyx.org>
15798 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15800 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15802 * ParameterStruct.h (endif): add a default constructor to make
15803 sure that all variables is initialized.
15805 * ParagraphParameters.C (ParagraphParameters): adjust
15807 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15809 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15810 index; also, check that there is something to index, and that it
15811 does not span over several paragraphs.
15812 (doubleClick): use WHOLE_WORD_STRICT for double click.
15814 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15816 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15819 2001-07-26 Baruch Even <baruch@lyx.org>
15821 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15822 an InsetFig figure, backwards compatible reading of old figure code.
15824 2001-07-27 Juergen Vigna <jug@sad.it>
15826 * text2.C: font.realize function adaption.
15828 * text.C (draw): add a warnings lyxerr text if needed.
15830 * layout.C: font.realize function adaption.
15832 * language.C: add inherit_language and implement it's handlings
15834 * bufferview_funcs.C (StyleReset): remove language parameter from
15835 font creation (should be language_inherit now).
15837 * bufferparams.C (writeFile): handle ignore_language.
15839 * paragraph.C (getFontSettings): the language has to be resolved
15840 otherwise we have problems in LyXFont!
15842 * lyxfont.C (lyxWriteChanges): added document_language parameter
15843 (update): removed unneeded language parameter
15845 * paragraph.C (validate): fixed wrong output of color-package when
15846 using interface colors for certain fonts in certain environments,
15847 which should not seen as that on the final output.
15849 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15851 * BufferView_pimpl.C:
15856 * LyXAction.C: add thesaurus support
15859 * lyxfind.C: add "once" parameter, for thesaurus, to not
15860 move to the next match
15862 2001-07-26 Juergen Vigna <jug@sad.it>
15864 * lyxfont.C (realize): honor ignore_language too!
15867 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15869 * text.C (draw): one place more for ignore_language to not draw
15872 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15874 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15876 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15878 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15879 the minipage conversion problem.
15881 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15883 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15886 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15888 * BufferView.h: don't forward declare WorkArea
15890 * BufferView.C: don't include WorkArea.h
15892 2001-07-25 André Pönitz <poenitz@gmx.net>
15896 * lyxfunc.C: new LFUN 'math-space'
15898 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15900 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15902 * text2.C (toggleInset): call open/close
15904 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15906 * lyxfunc.C (dispatch): add debug for the disabled case
15908 * font.C (buttonText): make similar to rectText
15910 * buffer.C (readInset): comment out parsing of insetlist and
15913 * PainterBase.C (rectText): small correction
15915 * BufferView_pimpl.C: comment out insettheorem and insetlist
15916 * LyXAction.C: ditto
15917 * commandtags.h: ditto
15919 2001-07-24 Juergen Vigna <jug@sad.it>
15921 * text.C (draw): honor the ignore_language.
15923 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15925 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15927 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15930 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15932 * lyxtext.h: remove unused (and unimplemented) methods
15934 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15936 * text.C (getVisibleRow): honor background color
15939 * Painter.h: remove default color argument for fillRectangle
15941 * text.C (backgroundColor): new method
15943 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15945 * text.C (getVisibleRow): adjust
15947 * font.[Ch] (rectText): new method, metrics
15948 (buttonText): new method, metrics
15950 * PainterBase.[hC]: make rectText and buttonText always draw and take
15953 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15955 * ToolbarDefaults.C (read):
15956 * MenuBackend.C (read): allow escaping in all strings
15958 * BufferView_pimpl.C (insertAndEditInset): new method.
15959 (Dispatch): use insertAndEditInset whenever appropriate.
15961 * BufferView_pimpl.C (insertNote): removed
15963 * BufferView_pimpl.C (smartQuote): new method, moved from
15964 BufferView; if an insetquote cannot be inserted, insert a '"'
15967 * BufferView2.C: remove insertCorrectQuote();
15969 * lyxfunc.C (getStatus): Add support for all remaingin
15970 inset-insert lfuns.
15972 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15974 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15975 command (necessary to pass " as parameter of self-insert.
15977 * text.C (selectWordWhenUnderCursor):
15978 (selectWord): add word_location parameter
15979 (selectWordWhenUnderCursor): same + remove special code for word
15981 (selectNextWord): use kind() to guess type of insetspecialchar,
15984 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15985 (insertErtContents): create ert insets as collapsed.
15986 (readInset): better compatibility code for Info inset.
15988 2001-07-20 Juergen Vigna <jug@sad.it>
15990 * lyxfunc.C (dispatch): use always LyXFind now!
15992 * text2.C (init): add a reinit flag so that the LyXText can be
15993 reinited instead of deleted and reallocated (used in InsetText).
15995 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16001 2001-07-18 Juergen Vigna <jug@sad.it>
16003 * text.C (selectNextWord): handle insets inside inset by calling
16004 always the bv->text functions so that we can go up the_locking_inset!
16006 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16007 in strange locations when inside an inset!
16009 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16010 handling to include insets.
16012 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16014 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16016 * LyXAction.C (init):
16018 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16019 LIGATURE_BREAK, since the name is so stupid.
16021 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16023 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16026 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16028 * sp_form.[Ch]: remove.
16030 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16032 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16035 * src/buffer.C (readInset): ditto.
16037 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16039 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16040 menuSeparator(), endOfSentenceDot(), ldots() and
16041 hyphenationPoint(), which are therefore removed.
16042 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16044 * LyXAction.C (init):
16045 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16047 * paragraph.C (getWord): removed.
16049 * BufferView_pimpl.C (Dispatch): use last word or selection for
16050 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16052 * lyx_main.C (queryUserLyXDir): do not ask before creating
16053 user_dir, except if it has been named explicitely.
16055 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16057 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16058 a document of zero size.
16060 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16062 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16063 approriately in the c-tor and in require().
16064 (getPackages): output the appropriate LaTeX for natbib support.
16066 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16067 variables "use_natbib" and "use_numerical_citations" when reading the
16069 (readInset): read the various natbib cite commands.
16070 (validate): white-space change.
16072 * bufferparams.[Ch]: new variables "bool use_natbib" and
16073 "bool use_numerical_citations".
16074 (writeFile): output them in the LyX file.
16076 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16078 * lyxfunc.C (getStatus): add support for all the inset insertion
16081 * text2.C (insertInset):
16082 * paragraph.C (insetAllowed):
16083 * BufferView_pimpl.C (insertInset): update to take in account the
16084 renaming of insertInsetAllowed
16086 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16088 * text2.C (getInset): new method. returns inset at cursor position.
16090 * BufferView_pimpl.C (Dispatch): changes because of this.
16092 * LyXAction.C (init): rename open-stuff to inset-toggle.
16094 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16096 * text2.C (toggleInset): renamed from openStuff; use
16099 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16101 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16103 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16105 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16107 * buffer.C (readLyXformat2): Add filename to the error dialog
16109 2001-07-18 Juergen Vigna <jug@sad.it>
16111 * tabular.C (GetCellNumber): put an assert here instead of the check!
16113 2001-07-17 Juergen Vigna <jug@sad.it>
16115 * BufferView_pimpl.C (toggleSelection): adapted too.
16117 * text.C (selectNextWord): adapted for use with insets.
16118 (selectSelectedWord): ditto
16120 2001-07-17 Juergen Vigna <jug@sad.it>
16122 * sp_spell.C (PSpell): fix initialitation order.
16124 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16126 * paragraph.C: spacing
16128 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16130 * sp_spell.C: repair language selection for pspell
16132 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16134 * lyxfunc.h: change more methods to begin with lower char.
16136 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16138 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16139 for unknown layouts.
16141 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16143 * buffer.C (readLyXformat2): Generate an error dialog if there are
16146 2001-07-16 Juergen Vigna <jug@sad.it>
16148 * sp_spell.C: always compile ISpell part.
16150 * lyxrc.C: added use_pspell entry and it's handling.
16152 2001-07-13 Juergen Vigna <jug@sad.it>
16154 * sp_spell.C: removed double includes.
16156 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16158 Consistent use of Lsstream.h:
16159 * Lsstream.h: added using std::stringstream for consistencies sake.
16161 * buffer.C: removed using std::stringstream
16163 * lyxfont.C (stateText):
16164 * paragraph.C (asString):
16165 * text.C (selectNextWord, selectSelectedWord):
16166 * text2.C (setCounter):
16167 * vspace.C (asString, asLatexString):
16168 std::ostringstream -> ostringstream.
16170 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16172 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16173 * commandtags.h: add LFUN_HELP_ABOUTLYX
16174 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16176 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16178 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16180 * lyx_gui_misc.C: remove spellchecker
16181 * lyxfunc.C: showSpellchecker
16183 * sp_ispell.h: added
16184 * sp_pspell.h: added
16185 * sp_spell.C: added
16186 * sp_form.[Ch]: removed
16187 * spellchecker.[Ch]: removed
16189 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16191 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16193 (simpleTeXSpecialChars): Simply print the input character without
16194 any special translation if pass_thru is set.
16196 * layout.h: Added bool pass_thru to layout class for being able to
16197 implement pass through of a paragraph for Literate Programming.
16199 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16200 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16201 * layout.C (Read): add "passthru" to list of layout tags and add
16202 code to set the pass_thru boolean when it is read.
16204 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16206 * trans_decl.h: remove allowed from KmodInfo
16208 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16209 remove allowed code
16212 * paragraph_pimpl.C (erase): use boost::prior
16214 * Painter.C (text): use data() instead of c_str() when length is
16216 * WorkArea.C (putClipboard): ditto
16217 * font.h (width): ditto
16219 * BufferView2.C: use it-> instead of (*it). for iterators
16221 * paragraph_pimpl.C: ditto
16222 * paragraph.C: ditto
16223 * minibuffer.C: ditto
16224 * language.C: ditto
16226 * encoding.C: ditto
16227 * counters.C: ditto
16228 * converter.C: ditto
16230 * Variables.C: ditto
16231 * TextCache.C: ditto
16232 * MenuBackend.C: ditto
16233 * LyXAction.C: ditto
16235 * FloatList.C: ditto
16236 * DepTable.C: ditto
16237 * ColorHandler.C (LyXColorHandler): ditto
16239 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16241 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16243 * text2.C (openStuff): reintroduce this method (which had been
16244 nuked in NEW_INSETS frenzy).
16246 * lyxfunc.C (Dispatch): when an action has not been handled, use
16247 its name in the error message, not its number.
16249 * paragraph.C (inInset): change method name to begin with lowercase.
16252 * text2.C: updates because of this.
16254 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16256 * ToolbarDefaults.C (add): add spaces in error message
16258 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16260 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16261 (readLyXformat2): rename return_par to first_par, use lyxlex's
16262 pushToken and remove the manual push handling.
16263 (parseSingleLyXformat2Token): add another ert comp. variable:
16264 in_tabular, rename return_par to first_par. handle newlines better
16266 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16268 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16270 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16272 * text2.C (getParFromID): removed
16274 * buffer.C (getParFromID): new method moved form lyxtext.
16275 * BufferView2.C (insertErrors): adjust
16276 (setCursorFromRow): adjust
16277 * BufferView_pimpl.C (restorePosition): adjust
16278 * lyxfunc.C (Dispatch): adjust
16279 * undo_funcs.C (textUndo): adjust
16281 (textHandleUndo): adjust
16282 (textHandleUndo): adjust
16284 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16286 * buffer.C: up' the LYX_FORMAT
16288 * lyxfont.h: turn NO_LATEX on as default
16290 * buffer.C (insertErtContents): new methods of tex style compability.
16291 (parseSingleLyXformat2Token): use it several places.
16292 * tabular.C (OldFormatRead): and here
16294 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16296 * text2.C: remove some commented code.
16299 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16300 * trans.C: changes because of the above.
16302 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16304 * text2.C (setCounter): Fix counters bug with bibliography layout.
16306 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16308 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16309 own member functions
16310 (simpleTeXSpecialChars): ditto
16312 2001-07-06 Juergen Vigna <jug@sad.it>
16314 * a lot of files: changed the access to LyXText::status and the
16315 call of undo-functions.
16317 * undo.[Ch]: added a inset_id to the undo informations.
16319 * undo_funcs.[Ch]: added and moved here all undo functions.
16321 * lyxtext.h: give the status enum a weight, made status_ a private
16322 variable and made accessor functions for it, removed the whole bunch
16323 of undo-functions as they are now in their own file, make some
16324 functions publically available. Added function ownerParagraph with
16327 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16328 made InInset() a const function, added getParFromID() function.
16330 * buffer.[Ch]: added const version for inset_iterator functions,
16331 added getInsetFromID() function.
16333 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16334 changed undo functions for new version.
16336 2001-07-05 Juergen Vigna <jug@sad.it>
16338 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16339 unknow mechanism does not call the proper constructor but only this
16340 one also if I request the other!?
16342 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16344 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16346 * text2.C (LyXText): use initialization lists.
16348 * lyxtext.h (Selection): initialize set_ and mark_
16349 (init): remove method
16351 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16353 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16355 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16357 * screen.[Ch]: change method names to begin with lowercase
16359 * BufferView_pimpl.C (updateScrollbar): simplify further and
16360 hopefully make it a bit faster.
16362 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16364 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16365 calling directly xforms functions.
16367 * Painter.C (Painter):
16368 * lyx_cb.C (MenuWrite):
16369 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16372 * lyx_gui.C: remove bogus guiruntime extern declaration.
16374 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16376 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16378 (redoDrawingOfParagraph): ditto
16379 (redoParagraphs): ditto
16380 (cutSelection): don't create a object for CutAndPaste use the
16381 static method directly
16382 (pasteSelection): ditto
16384 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16387 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16389 * modifications to some other files because of this.
16391 * Makefile.am (lyx_SOURCES): add XFormsView
16393 * XFormsView.[Ch]: new files
16395 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16396 the main window. Move the gui dependent stuff to XFormsView
16398 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16400 * tabular.C (GetCellInset): update cur_cell also in the row/col
16401 version of this function.
16403 * lyxfunc.C: no need to include figure_form.h here.
16409 * lyxvc.C: no need to include forms.h here.
16411 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16413 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16415 * lyxfunc.C (Dispatch):
16417 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16418 constructor argument.
16420 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16422 * paragraph.C (Paragraph): dont't clear, and just set layout.
16423 (makeSameLayout): use params's copy contructor.
16425 * ParagraphParameters.[Ch] (makeSame): delete method
16427 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16429 * Variables.[Ch]: fix indentation, rename set to isSet
16431 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16433 * lyxfunc.C (Dispatch): fix typo
16435 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16437 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16440 * bufferlist.C: include assert.h for emergencyWrite().
16442 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16444 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16445 give up at last (bug #425202) !
16447 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16453 * spellchecker.C: strip spellchecker options and bring up
16454 preferences tab instead
16456 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16458 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16459 the istringstream constructor
16461 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16463 * paragraph.C (getLayout): fix return value
16465 * paragraph.h: do not declare getLayout as inline.
16467 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16469 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16471 * lyxcursor.h (operator<): new func
16472 (operator>): new func
16473 (operator>=): new func
16474 (operator<=): new func
16476 * text.C (changeCase): use selection.start and selection.end
16477 (changeRegionCase): require from to be <= to. Require par to be a
16480 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16482 2001-06-27 Juergen Vigna <jug@sad.it>
16484 * text.C (cursorLeftOneWord): changed to return the cursor and added
16485 overlay with BufferView * parameter which calls this one.
16487 (selectWord): use new getWord function.
16488 (changeCase): renamed from changeWordCase as and extended to work
16489 also on selections.
16491 * lyxtext.h: added enum word_location
16493 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16494 changeCase as this operates now also on selections.
16496 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16498 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16500 * many files: send debug output to Debug::INFO instead of
16503 * converter.C (View):
16505 (Move): send debug output to Debug::FILES instead of console.
16507 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16509 * lyxfunc.C (getStatus): use func_status
16511 * func_status.h: new header, describing the results of
16512 LyXFunc::getStatus;
16514 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16517 2001-06-25 The LyX Project <jug@sad.it>
16519 * buffer.C (sgmlOpenTag):
16521 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16523 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16525 * text2.C: remove some dead code
16527 * tabular.C (GetCellInset): store the last cell checked (gotten)
16529 * tabular.h: add the helper for the speedup
16531 * lyxtext.h: remove some dead code
16533 2001-06-26 The LyX Project <Asger>
16535 * paragraph.C: Change export to LaTeX of alignment to
16536 \begin{center} and family for better roundtrip work with reLyX.
16538 * Tune the math drawing a bit.
16540 2001-06-25 The LyX Project <Asger>
16542 * LColor.C (LColor): New color for math background. New color
16545 2001-06-25 The LyX Project <jug@sad.it>
16547 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16549 * lyxfunc.C (Open):
16550 * bufferlist.C (newFile): do not restrict to files ending with
16553 * BufferView_pimpl.C (MenuInsertLyXFile):
16555 2001-06-24 The LyX Project <jug@sad.it>
16557 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16560 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16562 * lyxtext.h: rename most methods to begin with a small char.
16563 Lots of changes because of this.
16565 * paragraph.C (Paragraph): do not call fitToSize
16566 (erase): call Pimpl::erase
16567 (insertChar): call Pimpl::insertChar
16568 (insertInset): call Pipl::insertInset
16569 (breakParagraph): do not call fitToSize
16570 (breakParagraphConservative): do not call fitToSize
16571 (fitToSize): remove method
16573 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16575 2001-06-24 The LyX Project <Asger>
16577 * Fix Qt compilation^2
16579 2001-06-24 The LyX Project <jug@sad.it>
16581 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16582 depthHook(getDepth()-1).
16585 * ParagraphParameters.h:
16586 * ParameterStruct.h: change type of depth to unsigned int ==
16587 depth_type. Many adaptations to other files before of that.
16589 2001-06-24 The LyX Project <Asger>
16591 * Fix Qt compilation.
16593 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16595 * paragraph.h: renamed several methods to begin with small letter.
16596 several changes to many parts of the code because of this.
16598 2001-06-23 The LyX Project <jug@sad.it>
16600 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16601 rewritten to discard all double spaces when KeepEmpty is off
16602 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16603 to only handle newlines but not fiddle with spaces and friends.
16605 * lyxfunc.C (MenuNew): when doing 'new from template', use
16606 template_path as default directory
16608 2001-06-23 The LyX Project <Asger>
16610 * Clean-up of header file includes all over
16611 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16613 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16615 * paragraph.h: renamed from lyxparagraph.h
16617 2001-06-23 Asger <lyx@violet.home.sad.it>
16619 * Buffer.h: Removed Buffer::resize
16620 * BufferList.h: Removed BufferList::resize
16621 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16622 the document lazily when we change the width, or the font settings.
16624 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16626 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16628 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16630 * buffer.h: remove out of date comment
16632 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16635 * screen.C: fix "theoretical" GC leak
16637 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16639 * LaTeX.C (scanAuxFile):
16640 (deplog): remove trailing \r when reading stream (useful under
16643 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16645 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16646 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16647 and BufferView::theLockingInset(Inset*), so should use them and not
16648 access bv_->text->the_locking_inset directly.
16650 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16652 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16655 * tex-defs.h: remove old unused file
16657 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16659 * BufferView_pimpl.C: fix typo, remove minibuffer message
16660 when buffer has loaded
16662 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16664 * lyxfunc.C (Dispatch): use stringstream
16665 (MenuNew): use stringstream
16666 (Open): use stringstream
16668 * importer.C (Import): use stringstream
16670 * bufferview_funcs.C (CurrentState): use stringstream
16672 * LaTeX.C (run): use stringstream
16674 * BufferView_pimpl.C (savePosition): use stringstream
16675 (restorePosition): use stringstream
16676 (MenuInsertLyXFile): use stringstream
16678 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16691 * vspace.C: removed // -*- C++ -*- as first line.
16694 * version.h: added // -*- C++ -*- as first line.
16696 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16698 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16700 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16703 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16705 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16708 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16710 * gettext.C: include LString.h even when --disable-nls is on.
16712 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16714 * converter.h (Get): changed argument type from int to
16715 FormatList::size_type to avoid unnecessary conversion.
16717 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16720 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16722 * gettext.h: include LString.h even when --disable-nls is on.
16724 2001-06-07 Juergen Vigna <jug@sad.it>
16726 * text.C (BreakAgain): subst spaces with tabs.
16728 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16729 (resizeInsetsLyXText): set force on resizeLyXText.
16731 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16733 * gettext.h (gettext_init):
16734 (locale_init): use a real definition instead of a macro
16736 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16738 * Bufferview_pimpl.C:
16740 * LColor.C: further lcolor tidies
16742 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16744 * BufferView_pimpl.C (updateScrollbar): simplify.
16746 * BufferView2.C: don't include insets/insetinfo.h, change
16747 prototype for insertInset and call the Pimpl version. let
16748 updateInset call Pimpl version.
16750 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16751 gotoInset to BufferView::Pimpl
16753 2001-06-01 Juergen Vigna <jug@sad.it>
16755 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16756 inside a LockingInset (is the update needed at all?).
16758 2001-05-31 Juergen Vigna <jug@sad.it>
16760 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16761 here not the old one otherwise how should we compare it afterwards
16764 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16769 * FontInfo.C: bring C functions into global namespace when
16772 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16774 * LString.h: make sure config.h has been loaded before LString.h.
16776 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16777 (one for each char read by EatLine!).
16779 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16782 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16784 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16785 to the same as the par we break from
16787 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16789 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16791 * MenuBackend.C (expand): also create menu entries for wide
16792 versions of the floats.
16794 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16796 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16798 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16799 frontends/Makefile.am
16805 * tabular.C (getTokenValue): add std::
16807 * tabular-old.C (getTokenValue): add std::
16808 (getTokenValue): ditto
16809 (getTokenValue): ditto
16811 * screen.C (ToggleSelection): adjust
16813 * lyxtext.h: put selection cursors inside a Selection struct.
16815 * lyxfunc.C (moveCursorUpdate): adjust
16817 * lyxfont.C (latexWriteStartChanges): add std::
16819 * lyxfind.C: adjust
16821 * font.h: delete with(char const *, LyXFont const &)
16823 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16825 * FontInfo.C (getFontname): add std::
16827 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16828 (workAreaButtonPress): adjust
16829 (tripleClick): adjust
16831 (moveCursorUpdate): adjust
16834 * BufferView2.C (gotoInset): adjust
16836 2001-05-30 Juergen Vigna <jug@sad.it>
16838 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16839 to check pspell I add this as default as I now have new pspell
16840 libraries and they seem to use this.
16842 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16844 * text2.C (CutSelection): make the cursor valid before the call to
16847 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16849 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16850 relied on 0 terminated strings and other horrors. Bug found due to
16851 the new assert in lyxstring!
16853 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16856 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16858 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16861 * lyxfunc.C (processKeySym): change method of getting to the
16864 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16865 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16866 * BufferView_pimpl.[Ch]: here as private methods.
16868 2001-05-28 Juergen Vigna <jug@sad.it>
16870 * text.C (SetHeightOfRow): added the update() call again as it is
16871 needed to initialize inset dimensions!
16873 2001-05-16 Juergen Vigna <jug@sad.it>
16875 * text2.C (SetCharFont): Add new function with BufferView * and
16876 bool toggleall parameters for setting insets internal fonts.
16877 (SetFont): Freeze the undo as we may change fonts in Insets and
16878 all this change should be inside only one Undo!
16880 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16881 setting font's in insets as for them we have the SetFont function!
16883 2001-05-15 Juergen Vigna <jug@sad.it>
16885 * text2.C (ClearSelection): to be sure we REALLY don't have any
16888 * tabular.C (TeXCellPreamble): fixed the left border problem for
16891 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16893 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16896 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16898 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16899 LFUN_BREAKPARAGRAPH.
16901 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16902 help test to "internal only", similar for LFUN_INSERT_URL
16904 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16905 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16906 auto_region_delete and deadkeys.
16908 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16911 * LColor.C: remove some dead entries, tidy a little
16913 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16915 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16917 (Dispatch): implement LFUN_ESCAPE
16919 * commandtags.h: add LFUN_ESCAPE
16921 * LyXAction.C (init): add entry for LFUN_ESCAPE
16923 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16924 Remove commented code.
16925 (insertNote): moved here
16926 (open_new_inset): moved here
16928 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16931 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16933 * kbmap.C (findbinding): clean it up and make it work correctly.
16935 * lyx_main.C (init): do not pass argc and argv as parameters
16937 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16939 * buffer.C: fix path for OS/2 & Win32
16943 * lyx_main.C: Added os:: class.
16945 * os2_defines.h: update
16947 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16949 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16950 better by trying again with reduced state.
16952 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16954 * lyxrc.C (read): print error about invalid key sequence only when
16955 debugging (because not all latinX keysyms are known to some X
16958 * kbsequence.C (getiso): add a few std:: qualifiers
16959 (getiso): comment out extra return statement.
16961 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16963 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16965 (Dispatch): enhance the accent inset a bit. (not perfect)
16967 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16969 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16971 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16973 * bufferlist.C (emergencyWrite): fix assert() call
16975 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16977 * text.C (InsertChar): Added trivial patch to only send the "you
16978 can not do multiple spaces this way" message once during a
16981 2001-05-08 Baruch Even <baruch@lyx.org>
16983 * Makefile.am: Changed order of libraries to get LyX to link properly
16984 with the gnome frontend.
16986 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16988 * LaTeXFeatures.h: add a std:: qualifier
16990 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16992 * paragraph.C (String): use stringstream
16994 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16996 * paragraph.C (writeFile): remove footflag arg
16998 * buffer.C (makeLaTeXFile): use stringstream
16999 (latexParagraphs): remove footnot gurba
17001 * LaTeXFeatures.C (getPackages): use stringstream
17002 (getMacros): likewise
17003 (getTClassPreamble): likewise
17004 (getFloatDefinitions): new method
17006 * paragraph.C (writeFile): reindent
17009 * WorkArea.h: revert the xpos + etc changes.
17011 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17013 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17015 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17016 (pasteSelection): likewise
17017 * text2.C (CreateUndo): likewise
17019 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17021 * minibuffer.C (peek_event): temporarily reduce the functionality
17022 of the minibuffer (to allow args on lfuns)
17024 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17025 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17027 * buffer.C (readInset): add compability reading of old float
17028 lists, add reading of new style float list.
17029 (readInset): avoid reevaluation of inscmd.getCmdName()
17030 (getLists): reindent
17032 * MenuBackend.C (MenuItem): implement parsing of
17033 md_floatlistinsert and md_floatinsert.
17034 (expand::LastFiles): move initalizaton of iterators out of loop,
17035 avoid reevaluation.
17036 (expand::Documents): introduce typdedef vector<string> Strings,
17038 (expand::ExportFormats): introduce typedef vector<Format const *>
17039 Formats, and use it.
17040 (expand): implement FloatListInsert and FloatInsert.
17042 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17043 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17044 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17046 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17048 (Dispatch::LFUN_FLOAT_LIST): implement
17050 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17052 * LaTeX.C (run): Fix problem with --export code.
17054 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17056 * BufferView.[Ch] (workarea): removed.
17057 (getClipboard) new method; wrapper for workarea()->getClipboard()
17059 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17062 * WorkArea.h (width, height, xpos, ypos): These methods all
17063 returned the dimensions of the work_area sub-area of WorkArea,
17064 resulting in a position error if the WorkArea were resized. Now
17065 return the dimensions of the entire WorkArea.
17067 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17069 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17071 * LaTeX.C (deplog): correct the syntax of regex reg1
17073 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17075 * undo.C: remove !NEW_INSETS cruft
17077 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17079 * text2.C: remove !NEW_INSETS cruft
17081 * text.C: remove !NEW_INSETS cruft
17083 * tabular.C: remove !NEW_INSETS cruft
17085 * spellchecker.C: remove !NEW_INSETS cruft
17087 * lyxtext.h: remove !NEW_INSETS cruft
17089 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17091 * lyxfunc.C: remove !NEW_INSETS cruft
17093 * lyxfind.C: remove !NEW_INSETS cruft
17095 * lyx_cb.C: remove !NEW_INSETS cruft
17097 * figureForm.C: remove !NEW_INSETS cruft
17099 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17101 * buffer.[Ch]: remove !NEW_INSETS cruft
17103 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17105 * CutAndPaste.C: remove !NEW_INSETS cruft
17107 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17109 * BufferView2.C: remove !NEW_INSETS cruft
17111 * BufferView.h: remove !NEW_INSETS cruft
17113 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17115 * Lsstream.h: include LString.h before the sstream headers to
17116 fix problem with gcc 2.95.3 and lyxstring
17118 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17120 * lyx_main.C: add using directives when needed for C functions
17121 declared in std:: namespace.
17123 2001-04-27 Juergen Vigna <jug@sad.it>
17125 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17126 (SetHeightOfRow): comment out the update call should not be needed!
17128 2001-04-13 Juergen Vigna <jug@sad.it>
17130 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17131 (LyXTabular): tried to minimize operator= operations (and realized
17132 hopfully Lars wish).
17134 2001-04-27 Juergen Vigna <jug@sad.it>
17136 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17138 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17140 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17142 * buffer.C (readInset): hack to make listof algorithm work
17144 * BufferView_pimpl.C: hack to make listof algorithm work
17146 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17148 * LyXAction.C: removed all !NEW_INSETS cruft
17149 (init): moved lfun_item in method
17151 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17153 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17155 * BufferView2.C (theLockingInset): white space.
17157 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17159 * minibuffer.C: include <iostream>
17161 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17163 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17165 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17167 * text.[Ch] (TransposeChars): new method
17169 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17171 * call message directly through LyXView instead of through LyXFunc
17172 * BufferView2.C: adjust
17173 * BufferView_pimpl.C: adjust
17174 * FontLoader.C: adjust
17176 * bufferview_funcs.C: adjust
17177 * converter.C: adjust
17178 * figureForm.C: adjust
17179 * importer.C: adjust
17181 * lyx_gui_misc.C: adjust
17182 * lyxfunc.C: adjust
17185 + more files in subdirs
17187 * lyxparagraph.h (size): move up int file
17190 * adjust all uses of Assert to lyx::Assert.
17192 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17193 lyxfunctional in namespace lyx
17194 * layout.C (hasLayout): ditto
17197 (delete_layout): ditto
17198 (NumberOfClass): ditto
17199 * converter.C (GetFormat): ditto
17204 * bufferlist.C (getFileNames): ditto
17205 (emergencyWriteAll): ditto
17208 * MenuBackend.C (hasSubmenu): ditto
17211 * BufferView_pimpl.C (getInsetByCode): ditto
17213 2001-04-18 Juergen Vigna <jug@sad.it>
17215 * vspace.C (asLatexString): fixed the 100% problem.
17217 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17219 * lyxfunc.C (Dispatch):
17221 * minibuffer.h: add a few std:: qualifiers
17223 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17225 * minibuffer.[Ch]: reimplement so that commands is initiated and
17226 run from lyxfunc, simplified som handling, and made the completion
17227 and history code for complete. wip.
17229 * lyxfunc.C (processKeySym): call message
17230 (miniDispatch): new temporary method
17231 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17232 (LFUN_MESSAGE): implement
17233 (LFUN_MESSAGE_PUSH): implement
17234 (LFUN_MESSAGE_POP): implement
17235 (initMiniBuffer): the initial/defualt minibuffer message.
17237 * lyxfont.[Ch]: inline some more getters
17239 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17241 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17243 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17244 (AutoSave): use LFUN_MESSAGE
17245 (Reconfigure): ditto
17247 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17249 * figureForm.C: use LFUN_MESSAGE
17251 * converter.C (runLaTeX): use LFUN_MESSAGE
17253 * bufferview_funcs.C: use LFUN_MESSAGE
17255 (changeDepth): ditto
17257 * bufferparams.h: use boost::
17259 * bufferlist.h: inherit privately from noncopyable
17261 * bufferlist.C (loadLyXFile): remove some commented code.
17263 * buffer.C (runChktex): use LFUN_MESSAGE
17265 * ShareContainer.h: inherit privately from noncopyable
17267 * ParagraphParameters.[hC] (depth): inline it.
17269 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17271 (message): new method
17272 (messagePush): ditto
17273 (messagePop): ditto
17274 (show): init minibuffer
17275 (showState): direct call
17277 * LaTeX.[Ch]: inherit privately from noncopyable
17278 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17279 instead of WriteStatus.
17281 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17283 * BufferView_pimpl.C (buffer): don't init minibuffer
17284 (workAreaButtonPress): use LFUN_MESSAGE
17285 (workAreaButtonRelease): ditto
17286 (savePosition): ditto
17287 (restorePosition): ditto
17288 (MenuInsertLyXFile): ditto
17289 (workAreaExpose): don't init minibuffer
17290 (update): remove commented code, simplify
17292 * BufferView2.C (openStuff): use LFUN_MESSAGE
17293 (toggleFloat): ditto
17296 (copyEnvironment): ditto
17297 (pasteEnvironment): ditto
17302 (updateInset): remove some commented code
17304 * lastfiles.h: inherit privately from noncopyable
17307 * lyx_main.h: ditto
17309 * lyxlex_pimpl.h: ditto
17311 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17312 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17313 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17315 * LyXAction.h: inherit privately from noncopyable, add methods
17316 func_begin, func_end, returning iterators to the func map.
17318 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17319 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17320 (func_begin): new method
17321 (func_end): new method
17323 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17325 (copySelection): ditto
17326 (pasteSelection): ditto
17328 * BufferView.C: whitespace change
17329 * BufferView.h: inherit privately from noncopyable
17331 2001-04-16 Allan Rae <rae@lyx.org>
17333 * tabular-old.C (l_getline):
17334 * spellchecker.C (sc_check_word):
17335 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17336 an unrecognised preprocessor directive. So ensure they're wrapped.
17338 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17340 * src/exporter.C (Export): Give an error message when path to file
17343 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17345 * LaTeX.C (deplog): Always check that foundfile exists.
17347 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17350 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17352 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17354 * tabular.[Ch] (getLabelList): implement new method
17356 * minibuffer.h: comment ouf setTiimer
17358 * minibuffer.C (ExecutingCB): constify res
17359 (peek_event): constify s
17360 (Set): constify ntext
17361 (Init): constify nicename
17363 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17365 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17366 (savePosition): use two params to Minibuffer::Set
17367 (restorePosition): ditto
17369 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17371 * lyx_main.C: include language.h
17373 * Makefile.am (lyx_main.o): add language.h
17375 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17381 * CutAndPaste.C: include gettext.h
17383 * lyxfont.h: remove old hack with ON and OFF.
17386 * lyxfont.h: do not include language.h...
17391 * bufferview_funcs.C:
17397 * paragraph.C: ... but do it here instead
17399 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17401 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17403 * tabular.C: small reformat
17405 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17408 (BreakParagraph): ditto
17409 (SetOnlyLayout): ditto
17412 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17415 * lastfiles.C: removed most using decl, add std:: where needed
17417 * buffer.C: ws changes
17419 * MenuBackend.C (class compare_format): put into anon namespace
17420 (expand): constify label, names, action, action2
17423 * text.C (SingleWidth): constify font
17424 (IsBoundary): constify rtl2
17425 (GetVisibleRow): constify ww
17427 * LaTeX.C (deplog): constify logfile
17429 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17431 (workAreaExpose): constify widthChange, heightChange
17433 * lyxrow.C (par): moved
17436 * lyxrow.h: as inlines here
17438 * lyxfont.h (shape): moved from lyxfont.C
17439 (emph): moved from lyxfont.C
17441 * lyxfont.C (LyXFont): use initialization list for all
17443 (shape): move to lyxfont.h as inline
17444 (emph): move to lyxfont.h as inline
17447 2001-04-04 Juergen Vigna <jug@sad.it>
17449 * vspace.C: had to include stdio.h for use of sscanf
17451 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17454 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17455 independent of xforms.
17457 2001-04-02 Juergen Vigna <jug@sad.it>
17459 * spellchecker.C: fixed namespace placing!
17461 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17463 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17464 the LyXParagraph * is 0.
17466 2001-03-29 Juergen Vigna <jug@sad.it>
17468 * vspace.C: added support for %, c%, p%, l%.
17469 (stringFromUnit): added helper function.
17470 (asLatexString): changed to give right results for the %-values.
17472 * buffer.C: convert the widthp in a width%.
17474 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17476 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17479 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17480 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17482 * lyx_cb.[Ch]: see above.
17484 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17488 * lyx.[Ch]: replaced by figure_form.[Ch].
17492 * lyxfunc.C: changed headers associated with above changes.
17494 2001-03-27 Juergen Vigna <jug@sad.it>
17496 * BufferView_pimpl.C: set the temporary cursor right!
17498 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17500 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17502 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17504 * LString.h: removed "using std::getline"!
17506 * BufferView_pimpl.C (Dispatch): changes due to changes in
17507 InsetInclude::Params.
17509 * buffer.C (tag_name): removed redundant break statements as they were
17510 producing lots of warnings with my compiler.
17512 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17514 * LString.h: add "using std::getline" when using the real <string>.
17516 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17518 * buffer.C: removed bitset usage.
17519 PAR_TAG moved to an anonymous name space.
17520 (tag_name): new funtion, also in the anonymous namespace.
17521 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17522 (makeDocBookFile): clean code. Completed transition from string arrays
17524 (SimpleDocBookOnePar): code clean.
17526 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17528 * tabular.C: add some comments.
17530 2001-03-22 Juergen Vigna <jug@sad.it>
17532 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17533 compatibility read a bit and fixed bug with minipage in different
17536 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17538 * buffer.C (pop_tag): removed.
17539 (push_tag): removed.
17540 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17541 array replaced with vector. Added support for CDATA sections.
17542 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17544 (makeDocBookFile): XML conformant declaration of CDATA section,
17545 fixed bug related to <emphasis> in the first paragraph char.
17546 (sgmlOpenTag): exclude empty tags.
17547 (sgmlCloseTag): ditto.
17549 * buffer.h (pop_tag): removed.
17550 (push_tag): removed.
17552 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17554 * language.h (Languages): added size_type and size().
17556 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17558 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17559 response on compability reading of minipages. One probliem is that
17560 the old usage of minipages was flertydig
17562 * several files here and in subdirs: don't use static at file
17563 scope use anon namespaces instead.
17565 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17567 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17568 LaTeX output. This is necessary for Literate document
17571 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17573 * buffer.C: insert hfill when needed.
17575 * tabular.C (l_getline): use string::erase, small whitespace change.
17577 * BufferView_pimpl.C: try the anon namespace.
17578 * WorkArea.C: ditto
17580 2001-03-16 Juergen Vigna <jug@sad.it>
17582 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17583 otherwise it won't open options-dialogs.
17585 * buffer.C: honor pextraWidth(p) on converting minipages.
17587 * tabular.C (l_getline): changed the functions to strip trailing \r.
17589 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17591 * BufferView_pimpl.C:
17592 * minibuffer..C: added "using SigC::slot" declaration.
17594 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17596 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17602 * paragraph.C: ditto
17604 * lyxtext.h: NO_PEXTRA
17606 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17608 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17609 * ParameterStruct.h: ditto
17610 * ParagraphParameters.h: ditto
17611 * lyxparagraph.h: ditto
17613 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17615 * buffer.C: add compability for minipage alignment.
17616 (latexParagraphs): remove unwanted pextra check.
17618 * several files: remove CXX_WORKING_NAMESPACES
17620 * buffer.C (pop_tag): tie is in namespace boost
17622 * BufferView.h: noncopyable is in namespace boost
17624 * lyx_main.h: ditto
17627 * lastfiles.h: ditto
17628 * bufferlist.h: ditto
17629 * ShareContainer.h: ditto
17631 * LyXAction.h: ditto
17634 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17636 * Merging changes from BRANCH_MVC back into HEAD.
17638 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17640 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17642 * BufferView_pimpl.C: change from intl.C
17646 * Makefile.am: move combox.*
17652 * intl.C: remove dialog (covered by prefs)
17654 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17656 * lyxfunc.C (Dispatch): removed redundant break statement.
17658 2001-03-14 Juergen Vigna <jug@sad.it>
17660 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17662 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17664 * buffer.C: add hack to fix compability reading of minipages.
17666 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17668 * buffer.C (getLists): Cleanup.
17670 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17672 * lyxfont.C (update): don't honor toggleall on font size.
17674 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17678 * Makefile.am: moved to frontends/xforms/
17682 * BufferView_pimpl.C: changes for moved mathpanel
17684 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17686 * gettext.h: fix gettext_init() in --disable-nls
17688 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17690 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17692 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17695 * lyx.h: strip external form
17697 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17699 * BufferView_pimpl.C: add comment, destroySplash()
17701 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17703 * BufferView_pimpl.C:
17707 * lyxfunc.C: use re-worked insetinclude
17709 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17711 * buffer.C: add using std::stringstream.
17713 * lyx_cb.C: readd using std::ios.
17715 * buffer.C: add using std::map.
17717 * BufferView_pimpl.C: add using std::vector.
17719 * ShareContainer.h: add std:: to swap.
17721 * buffer.h: add some typedefs
17722 * buffer.C (getLists): use them
17723 (getLists): renamed from getTocList.
17724 add a counter for the different float types and use it in the
17726 (getLists): use the same counter for the NEW_INSETS and the "non"
17729 * lyx_cb.h: remove unused items, includes, using etc.
17731 * ShareContainer.h: remove some commented code, add more comments
17732 and "documentation".
17734 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17736 * buffer.C (getTocList): make the list also when NEW_INSETS is
17739 * buffer.h: remove TocType
17741 * buffer.C (getTocList): change to return a map<string,
17742 vector<TocItem> >, implement for dynamic number of list.
17744 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17745 * text2.C (PasteSelection): adjust
17746 * CutAndPaste.C (pasteSelection): adjust
17748 * FloatList.C (FloatList): update from the new_insets branch.
17749 * Floating.[Ch]: ditto
17750 * LaTeXFeatures.C: ditto
17752 * lyxlex_pimpl.C: ditto
17754 * paragraph.C (Last): remove when NEW_INSETS is defined.
17756 * other file: changes because of the above.
17758 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17760 * lyxparagraph.h: rename next to next_, previous to previous_,
17761 make them private for NEW_INSETS. Rename Next() to next(),
17762 Previous() to previous().
17764 * other files: changes because of the above.
17766 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17769 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17772 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17774 * main.C (main): pass lyx_localedir to gettext_init().
17776 * gettext.h: remove locale_init and gettext_init macros
17778 * gettext.C (locale_init): new function
17779 (gettext_init): new function
17781 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17784 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17786 * Moved credits to frontends:
17787 * credits.[Ch]: removed
17788 * credits_form.[Ch]: removed
17789 * lyx_gui_misc.C: remove credits stuff
17792 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17794 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17796 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17797 unneeded destructor.
17799 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17800 a standalone pointer again.
17802 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17804 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17810 * ToolbarDefaults.C:
17819 * BufferView_pimpl.C: use new file dialog in GUII
17822 * lyx_cb.C: remove LayoutsCB to Toolbar
17824 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17826 * ShareContainer.h (get): add std:: qualifier
17828 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17830 * ShareContainer.h: define a proper ShareContainer::value_type
17831 type (and use typename to please compaq cxx)
17833 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17835 * lyxparagraph.h: move serveral local vars to
17836 ParameterStruct/ParagraphParameters., use ShareContainer in
17837 FontTable., make vars in FontTable private and add getter and
17840 * paragraph.C: changes because of the above.
17842 * lyxfont.h: remove copy constructor and copy assignment. (the
17843 default ones is ok), move number inside FontBits. move inlines to
17846 * lyxfont.C: add number to initializaton of statics, move several
17847 inlines here. constify several local vars. some whitespace
17848 cleanup. Dont hide outerscope variables.
17850 * Spacing.h: add two new constructors to match the set methods.
17852 * ShareContainer.h: new file, will perhaps be moved to support
17854 * ParameterStruct.h: new file
17856 * ParagraphParameters.h: new file
17858 * ParagraphParameters.C: new file
17860 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17861 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17863 * BufferView_pimpl.C: ParagraphParameter changes.
17864 * buffer.C: Likewise.
17865 * bufferview_funcs.C: Likewise.
17866 * text.C: Likewise.
17867 * text2.C: Likewise.
17869 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17871 * lyxfind.C (LyXReplace): do not redefine default argument in
17873 (IsStringInText): ditto
17874 (SearchForward): ditto
17875 (SearchBackward): ditto
17877 2001-03-06 Juergen Vigna <jug@sad.it>
17879 * lyxfind.C (IsStringInText): put parentes around expressions.
17881 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17883 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17885 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17887 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17889 * stl_string_fwd.h: add comment
17891 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17894 * tabular.C: remove unused DocBook methods
17900 killed DO_USE_DEFAULT_LANGUAGE
17902 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17904 * lyx_gui.C: do not include language.h.
17906 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17907 arguments in function implementation.
17909 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17911 * BufferView_pimpl.C: add <ctime>
17913 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17915 * BufferView_pimpl.C: add using std::find_if
17917 2001-02-27 José Matos <jamatos@fep.up.pt>
17919 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17922 2001-02-11 José Matos <jamatos@fep.up.pt>
17924 * buffer.C (makeDocBookFile): command styles now have a parameter as
17925 "title" by default.
17927 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17929 * layout_forms.[Ch]: removed
17930 * lyx_cb.[Ch]: out character
17931 * lyx_gui.C: out character
17932 * lyx_gui_misc.C: out character
17933 * bufferview_funcs.C: : out character,
17934 added toggleall as parameter in ToggleAndShow
17936 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17938 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17940 * text2.C (SetCurrentFont): Disable number property at boundary.
17942 2001-02-26 Juergen Vigna <jug@sad.it>
17944 * lyxfunc.C (getStatus): added a string argument override function so
17945 that this is correctly called from LyXFunc::Dispatch if it contains a
17946 do_not_use_argument which is used!
17947 (Dispatch): added check for "custom" export and call appropriate func.
17949 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17951 * lyxrc.C: Add language_command_local, language_use_babel and
17952 language_global_options.
17954 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17956 * buffer.C (makeLaTeXFile): Use language_use_babel and
17957 language_global_options.
17959 2001-02-23 Juergen Vigna <jug@sad.it>
17961 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17962 which works with LyXText and putted it inside BufferView. Here now we
17963 only call for that part the BufferView::Dispatch() function.
17965 * BufferView.C (Dispatch): added.
17967 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17968 functions which needs to use a LyXText over from LyXFunc.
17969 (MenuInsertLyXFile): added
17970 (getInsetByCode): added
17971 (moveCursorUpdate): added
17972 (static TEXT): added
17974 2001-02-22 Juergen Vigna <jug@sad.it>
17976 * BufferView_pimpl.C (update): call a status update to see if LyXText
17979 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17981 * vc-backend.C (revert): implement for CVS
17982 (getLog): implement for CVS
17984 2001-02-20 Juergen Vigna <jug@sad.it>
17986 * text2.C (ClearSelection): added BufferView param for inset_owner call
17988 * lyxfunc.C (TEXT): added this function and use it instead of
17989 directly owner->view()-text of getLyXText().
17991 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17993 * src/layout_forms.C: out preamble
17994 * src/layout_forms.h: out preamble
17995 * src/lyx_cb.C: out preamble
17996 * src/lyx_cb.h: out preamble
17997 * src/lyx_gui.C: out preamble
17998 * src/lyx_gui_misc.C: out preamble
17999 * src/lyxfunc.C: connect with guii preamble
18001 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18003 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18005 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18007 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18008 whether to run bibtex.
18010 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18012 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18014 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18016 * Makefile.am (lyx_SOURCES): removed bibforms.h
18018 * vspace.h: doxygen
18020 * text.C (GetVisibleRow): make several local vars const
18022 * tabular.C: small cleanup.
18024 * lyxserver.C (callback): use compare instead of strncmp
18026 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18027 inlines to after class or to paragraph.C
18029 * lyxfont.h: remove friend operator!=
18031 * converter.h: move friend bool operator< to non friend and after
18034 * combox.h: small cleanup
18036 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18037 to inlines after class def.
18039 * buffer.C (pop_tag): use string operations instead of strcmp
18041 * bmtable.c: doxygen, small cleanup
18043 * LaTeX.h: remove friend operator==
18045 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18057 * BufferView_pimpl.C:
18058 * BufferView.[Ch]: remove cruft
18060 2001-02-14 Juergen Vigna <jug@sad.it>
18062 * lyxfunc.C: removed #if 0 unused code
18064 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18066 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18068 * text2.C (SetSelection): added a BufferView * parameter
18070 2001-02-13 Juergen Vigna <jug@sad.it>
18072 * lyxfunc.C (Dispatch): fixed protected blank problem.
18073 * BufferView2.C (protectedBlank): added LyxText * parameter.
18075 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18076 (AppendColumn): same as above for column_info.
18078 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18079 (moveCursorUpdate): use a LyXText param for support of InsetText.
18081 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18082 (tripleClick): ditto
18084 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18086 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18088 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18090 * text2.C (SetSelection): set correct update status if inset_owner
18091 (ToggleFree): ditto
18093 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18095 * tabular.C: remove some commented code.
18097 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18099 * BufferView_pimpl.C: call hideSplash()
18101 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18104 * bibforms.h: remove
18107 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18108 add LFUN_CHILD_CREATE
18110 * counters.h: fix tiny typo
18115 * lyx.C: move splash to frontends/xforms/
18117 * lyx_gui_misc.C: move Include and Bibform to frontends
18119 * lyxvc.h: clarify comment
18121 * vspace.C: tiny housekeeping
18123 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18125 * text.C (PrepareToPrint): RTL Fix.
18127 * paragraph.C (GetUChar): New method.
18128 (String): Use GetUChar.
18130 * buffer.C (asciiParagraph): Use GetUChar.
18132 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18134 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18136 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18139 * buffer.C: rename to getLogName(), handle
18140 build log / latex log nicely
18142 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18145 * MenuBackend.h: remove support for reference menuitem type.
18147 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18149 * BufferView_pimpl.C: housekeeping
18150 * BufferView_pimpl.h:
18155 * minibuffer.h: move Timeout GUI-I
18157 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18159 * lyxrc.C (read): Update converters data-structures.
18161 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18163 * LaTeX.h (operator!=): add operator != for Aux_Info
18165 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18167 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18169 * LaTeXLog.C: deleted, useful code moved to Buffer
18172 * buffer.C: new function getLatexLogName()
18178 * lyxfunc.C: use frontends for LaTeX and VC logs
18180 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18182 * LaTeX.h: yet another std:: that Allan forgot.
18184 * Variables.C (set): renamed from isset(), because this clashes
18185 with some HP-UX macros (grr).
18187 2001-02-06 Allan Rae <rae@lyx.org>
18189 * LaTeX.h: Another bug fix. Missing std:: this time.
18191 2001-02-04 Allan Rae <rae@lyx.org>
18193 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18194 floats problem. I've left it commented out because it's not quite
18195 correct. It should also test that the current object is a table or
18196 figure inset. But I haven't gotten around to figuring out how to do
18197 that. I *think* it'll be something like: "table" == inset.type()
18199 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18202 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18204 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18205 all the citation/databases/styles in the auxilary file.
18206 (run): Rerun latex if there was a babel language error.
18208 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18210 * text.C (Backspace): Preserve the font when changing newline char
18212 (BreakParagraph): If the cursor is before a space, delete the space.
18214 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18216 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18218 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18219 new argument (code).
18220 (ChangeCitationsIfUnique): New method.
18222 * paragraph.C (GetPositionOfInset): Handle bibkey.
18224 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18226 * BufferView_pimpl.h: change type of Position::par_pos to
18227 LyXParagraph::size_type.
18229 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18231 * BufferView_pimpl.C (savePosition, restorePosition): Write
18232 messages to minibuffer.
18234 2001-01-28 José Matos <jamatos@fep.up.pt>
18236 * buffer.C (makeDocBookFile): adds support for document language.
18237 A silly restriction on the name of LatexCommand types where removed.
18238 Added support for CDATA sections, allows to chars unescaped, used
18239 among others in code, to avoid escape < and >.
18241 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18243 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18244 saved positions instrad of a stack. Furthermore, a position is
18245 stored using paragraph id/paragraph position.
18247 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18248 Remove LFUN_REF_BACK.
18250 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18252 * converter.C (dvipdfm_options): New method.
18254 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18256 * vspace.C (isValidLength): Fix for empty input string.
18258 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18260 * LyXAction.C (init): change description of LFUN_FIGURE to
18263 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18265 * LaTeX.C: add using directive
18267 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18269 * MenuBackend.C (expand): Fix the sorting of the formats.
18271 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18273 * lyx_main.C: tiny error message fix
18275 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18277 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18278 calling fl_initialize(). This fixes the problem with ',' as
18279 decimal separator in text files.
18281 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18283 * trans.C (process): Fix the keymap bug.
18285 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18287 * LaTeX.C (scanAuxFiles): New method. Provides support for
18288 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18289 (scanLogFile) Scan for "run BibTeX" messages.
18291 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18292 OT1 font encoding. Also, load the aecompl package if the ae
18295 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18297 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18299 * texrow.C (increasePos): turn two error messages into debug
18302 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18304 * LaTeX.C (scanAux): Handle the \@input macro.
18305 (runBibTeX): Use scanAux().
18307 * language.C (latex_options_): New field.
18309 * LaTeXFeatures.C (getMacros): Add language macros.
18311 * buffer.C (makeLaTeXFile): Small fix.
18313 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18315 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18317 * text2.C: add a using directive.
18319 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18324 * lyxfunc.C: kill LyXBell.
18326 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18328 * text.C (IsBoundary): Remove the error message
18330 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18332 * lyxrc.C (setDefaults): Correct initialization value for
18335 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18337 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18340 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18341 and GotoNextNote().
18343 * src/LyXAction.C: Added reference-next.
18345 * text.C (InsertChar): Use contains instead of strchr.
18347 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18349 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18351 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18352 alignment commands (when needed).
18354 * text.C (InsertChar): Add ':' to number separator chars.